From 75e71050b22d5bf59e0cfad3ce43406884239512 Mon Sep 17 00:00:00 2001 From: containerman17 Date: Sun, 30 Jun 2024 04:29:54 +0000 Subject: [PATCH] git commit built website --- docs/404.html | 13 ++ docs/_astro/Footer.DrYlVKcM.js | 1 + docs/_astro/HeaderMenu.Bq3pTnfr.js | 1 + docs/_astro/IntegrationCode.CXPCcqH7.js | 16 ++ docs/_astro/ProblemFlipper.82faKhBt.js | 1 + docs/_astro/alchemy-logo.CHvgF18i_Z2hEPRQ.svg | 12 ++ docs/_astro/allnodes.DLyRi6Ml_Z1NObuA.svg | 14 ++ docs/_astro/chainstack.CRUsIDRG_Z27lJgJ.svg | 15 ++ docs/_astro/client.BwJgOd9v.js | 1 + docs/_astro/index.B3EJ4pTi.css | 1 + docs/_astro/index.Be6mOCo7.js | 24 +++ docs/_astro/index.DoDIQzXB.js | 9 ++ docs/_astro/infura.CDyTDpqh_1Gkk8m.svg | 1 + docs/_astro/jsx-runtime.Yf6r0-8m.js | 9 ++ docs/_astro/quicknode.CeDQFJr7_18DNGs.svg | 60 ++++++++ docs/_astro/use-is-mounted.LPfvORp8.js | 4 + docs/favicon.svg | 9 ++ docs/index.html | 144 ++++++++++++++++++ package.json | 60 ++++---- 19 files changed, 365 insertions(+), 30 deletions(-) create mode 100644 docs/404.html create mode 100644 docs/_astro/Footer.DrYlVKcM.js create mode 100644 docs/_astro/HeaderMenu.Bq3pTnfr.js create mode 100644 docs/_astro/IntegrationCode.CXPCcqH7.js create mode 100644 docs/_astro/ProblemFlipper.82faKhBt.js create mode 100644 docs/_astro/alchemy-logo.CHvgF18i_Z2hEPRQ.svg create mode 100644 docs/_astro/allnodes.DLyRi6Ml_Z1NObuA.svg create mode 100644 docs/_astro/chainstack.CRUsIDRG_Z27lJgJ.svg create mode 100644 docs/_astro/client.BwJgOd9v.js create mode 100644 docs/_astro/index.B3EJ4pTi.css create mode 100644 docs/_astro/index.Be6mOCo7.js create mode 100644 docs/_astro/index.DoDIQzXB.js create mode 100644 docs/_astro/infura.CDyTDpqh_1Gkk8m.svg create mode 100644 docs/_astro/jsx-runtime.Yf6r0-8m.js create mode 100644 docs/_astro/quicknode.CeDQFJr7_18DNGs.svg create mode 100644 docs/_astro/use-is-mounted.LPfvORp8.js create mode 100644 docs/favicon.svg create mode 100644 docs/index.html diff --git a/docs/404.html b/docs/404.html new file mode 100644 index 0000000..74e4552 --- /dev/null +++ b/docs/404.html @@ -0,0 +1,13 @@ + 404

404 error

We can’t find that page

Sorry, the page you are looking for doesn't exist or has been moved.

\ No newline at end of file diff --git a/docs/_astro/Footer.DrYlVKcM.js b/docs/_astro/Footer.DrYlVKcM.js new file mode 100644 index 0000000..247fab6 --- /dev/null +++ b/docs/_astro/Footer.DrYlVKcM.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime.Yf6r0-8m.js";import"./index.DoDIQzXB.js";function a(){return e.jsx("footer",{className:"bg-gray-50 border-t",children:e.jsx("div",{className:"mx-auto max-w-7xl overflow-hidden px-6 py-6 sm:py-6 lg:px-8",children:e.jsxs("p",{className:" text-center text-xs leading-5 text-gray-500",children:["© 2023-",new Date().getFullYear()," Made by ",e.jsx("a",{href:"https://containerman.me/",className:"text-primary-600 underline",children:"ContainerMan"})]})})})}export{a as default}; diff --git a/docs/_astro/HeaderMenu.Bq3pTnfr.js b/docs/_astro/HeaderMenu.Bq3pTnfr.js new file mode 100644 index 0000000..9bafd5b --- /dev/null +++ b/docs/_astro/HeaderMenu.Bq3pTnfr.js @@ -0,0 +1 @@ +import{j as A}from"./jsx-runtime.Yf6r0-8m.js";import{r as c,G as $,t as nt}from"./index.DoDIQzXB.js";import{n as Y,s as ae,o as Fe,A as It,h as Dt,u as Ht,p as ut,a as O,t as bn,b as Pe,W as K,y as J,T as Bt,H as ee,c as Se,d as Te,M as $e,O as me,m as wn,e as En,f as Rn,g as ne,i as ct,$ as Cn,j as Pn,w as Sn,k as Tn,D as rt,I as $n,P as pe,F as ie,l as de,q as ot}from"./use-is-mounted.LPfvORp8.js";import{r as ye}from"./index.Be6mOCo7.js";function jt(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=t?.getAttribute("disabled")==="";return r&&Mn(n)?!1:r}function Mn(e){if(!e)return!1;let t=e.previousElementSibling;for(;t!==null;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let Fn=c.createContext(()=>{});function On({value:e,children:t}){return $.createElement(Fn.Provider,{value:e},t)}function An(e){if(e===null)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}function Ln(e,t=!1){let n=e===null?null:"current"in e?e.current:e,[r,o]=c.useReducer(()=>({}),{}),l=c.useMemo(()=>An(n),[n,r]);return Y(()=>{if(!n)return;let a=new ResizeObserver(o);return a.observe(n),()=>{a.disconnect()}},[n]),t?{width:`${l.width}px`,height:`${l.height}px`}:l}let kn=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};function Wt(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let a=t[o].call(n,...l);a&&(n=a,r.forEach(s=>s()))}}}function _t(e){return c.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}let Nn=new kn(()=>Wt(()=>[],{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(t===-1)return this;let n=this.slice();return n.splice(t,1),n}}));function Vt(e,t){let n=Nn.get(t),r=c.useId(),o=_t(n);if(Y(()=>{if(e)return n.dispatch("ADD",r),()=>n.dispatch("REMOVE",r)},[n,e]),!e)return!1;let l=o.indexOf(r),a=o.length;return l===-1&&(l=a,a+=1),l===a-1}function Yt(e,t,n){let r=ae(o=>{let l=o.getBoundingClientRect();l.x===0&&l.y===0&&l.width===0&&l.height===0&&n()});c.useEffect(()=>{if(!e)return;let o=t===null?null:t instanceof HTMLElement?t:t.current;if(!o)return;let l=Fe();if(typeof ResizeObserver<"u"){let a=new ResizeObserver(()=>r.current(o));a.observe(o),l.add(()=>a.disconnect())}if(typeof IntersectionObserver<"u"){let a=new IntersectionObserver(()=>r.current(o));a.observe(o),l.add(()=>a.disconnect())}return()=>l.dispose()},[t,r,e])}function zt(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function In(){return/Android/gi.test(window.navigator.userAgent)}function Dn(){return zt()||In()}function Ce(e,t,n,r){let o=ae(n);c.useEffect(()=>{if(!e)return;function l(a){o.current(a)}return document.addEventListener(t,l,r),()=>document.removeEventListener(t,l,r)},[e,t,r])}function Gt(e,t,n,r){let o=ae(n);c.useEffect(()=>{if(!e)return;function l(a){o.current(a)}return window.addEventListener(t,l,r),()=>window.removeEventListener(t,l,r)},[e,t,r])}const wt=30;function Hn(e,t,n){let r=Vt(e,"outside-click"),o=ae(n),l=c.useCallback(function(i,f){if(i.defaultPrevented)return;let u=f(i);if(u===null||!u.getRootNode().contains(u)||!u.isConnected)return;let m=function v(d){return typeof d=="function"?v(d()):Array.isArray(d)||d instanceof Set?d:[d]}(t);for(let v of m){if(v===null)continue;let d=v instanceof HTMLElement?v:v.current;if(d!=null&&d.contains(u)||i.composed&&i.composedPath().includes(d))return}return!It(u,Dt.Loose)&&u.tabIndex!==-1&&i.preventDefault(),o.current(i,u)},[o]),a=c.useRef(null);Ce(r,"pointerdown",i=>{var f,u;a.current=((u=(f=i.composedPath)==null?void 0:f.call(i))==null?void 0:u[0])||i.target},!0),Ce(r,"mousedown",i=>{var f,u;a.current=((u=(f=i.composedPath)==null?void 0:f.call(i))==null?void 0:u[0])||i.target},!0),Ce(r,"click",i=>{Dn()||a.current&&(l(i,()=>a.current),a.current=null)},!0);let s=c.useRef({x:0,y:0});Ce(r,"touchstart",i=>{s.current.x=i.touches[0].clientX,s.current.y=i.touches[0].clientY},!0),Ce(r,"touchend",i=>{let f={x:i.changedTouches[0].clientX,y:i.changedTouches[0].clientY};if(!(Math.abs(f.x-s.current.x)>=wt||Math.abs(f.y-s.current.y)>=wt))return l(i,()=>i.target instanceof HTMLElement?i.target:null)},!0),Gt(r,"blur",i=>l(i,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function we(...e){return c.useMemo(()=>Ht(...e),[...e])}function Bn(e,t,n,r){let o=ae(n);c.useEffect(()=>{e=e??window;function l(a){o.current(a)}return e.addEventListener(t,l,r),()=>e.removeEventListener(t,l,r)},[e,t,r])}function jn(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=(n=t.defaultView)!=null?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),l=Math.max(0,e-o);n.style(r,"paddingRight",`${l}px`)}}}function Wn(){return zt()?{before({doc:e,d:t,meta:n}){function r(o){return n.containers.flatMap(l=>l()).some(l=>l.contains(o))}t.microTask(()=>{var o;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let s=Fe();s.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>s.dispose()))}let l=(o=window.scrollY)!=null?o:window.pageYOffset,a=null;t.addEventListener(e,"click",s=>{if(s.target instanceof HTMLElement)try{let i=s.target.closest("a");if(!i)return;let{hash:f}=new URL(i.href),u=e.querySelector(f);u&&!r(u)&&(a=u)}catch{}},!0),t.addEventListener(e,"touchstart",s=>{if(s.target instanceof HTMLElement)if(r(s.target)){let i=s.target;for(;i.parentElement&&r(i.parentElement);)i=i.parentElement;t.style(i,"overscrollBehavior","contain")}else t.style(s.target,"touchAction","none")}),t.addEventListener(e,"touchmove",s=>{if(s.target instanceof HTMLElement){if(s.target.tagName==="INPUT")return;if(r(s.target)){let i=s.target;for(;i.parentElement&&i.dataset.headlessuiPortal!==""&&!(i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth);)i=i.parentElement;i.dataset.headlessuiPortal===""&&s.preventDefault()}else s.preventDefault()}},{passive:!1}),t.add(()=>{var s;let i=(s=window.scrollY)!=null?s:window.pageYOffset;l!==i&&window.scrollTo(0,l),a&&a.isConnected&&(a.scrollIntoView({block:"nearest"}),a=null)})})}}:{}}function _n(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function Vn(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ge=Wt(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:Fe(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Vn(n)},o=[Wn(),jn(),_n()];o.forEach(({before:l})=>l?.(r)),o.forEach(({after:l})=>l?.(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});ge.subscribe(()=>{let e=ge.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&ge.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&ge.dispatch("TEARDOWN",n)}});function Yn(e,t,n=()=>({containers:[]})){let r=_t(ge),o=t?r.get(t):void 0,l=o?o.count>0:!1;return Y(()=>{if(!(!t||!e))return ge.dispatch("PUSH",t,n),()=>ge.dispatch("POP",t,n)},[e,t]),l}function zn(e,t,n=()=>[document.body]){let r=Vt(e,"scroll-lock");Yn(r,t,o=>{var l;return{containers:[...(l=o.containers)!=null?l:[],n]}})}function Gn(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function Un(e=0){let[t,n]=c.useState(e),r=c.useCallback(i=>n(i),[t]),o=c.useCallback(i=>n(f=>f|i),[t]),l=c.useCallback(i=>(t&i)===i,[t]),a=c.useCallback(i=>n(f=>f&~i),[n]),s=c.useCallback(i=>n(f=>f^i),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:l,removeFlag:a,toggleFlag:s}}var qn=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(qn||{});function ft(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function dt(e,t,n,r){let[o,l]=c.useState(n),{hasFlag:a,addFlag:s,removeFlag:i}=Un(e&&o?3:0),f=c.useRef(!1),u=c.useRef(!1),m=ut();return Y(function v(){var d;if(!e)return;n&&l(!0);let p=t.current;return p?((d=r?.start)==null||d.call(r,n),Xn(p,{inFlight:f,prepare(){u.current?u.current=!1:u.current=f.current,f.current=!0,!u.current&&(n?(s(3),i(4)):(s(4),i(2)))},run(){u.current?n?(i(3),s(4)):(i(4),s(3)):n?i(1):s(1)},done(){var h;u.current&&typeof p.getAnimations=="function"&&p.getAnimations().length>0||(f.current=!1,i(7),n||l(!1),(h=r?.end)==null||h.call(r,n))}})):n?(s(3),m.nextFrame(()=>v())):void 0},[e,n,t,m]),e?[o,{closed:a(1),enter:a(2),leave:a(4),transition:a(2)||a(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function Xn(e,{prepare:t,run:n,done:r,inFlight:o}){let l=Fe();return Jn(e,{prepare:t,inFlight:o}),l.nextFrame(()=>{l.add(Kn(e,r)),n()}),l.dispose}function Kn(e,t){let n=Gn(t),r=Fe();if(!e)return r.dispose;let{transitionDuration:o,transitionDelay:l}=getComputedStyle(e),[a,s]=[o,l].map(f=>{let[u=0]=f.split(",").filter(Boolean).map(m=>m.includes("ms")?parseFloat(m):parseFloat(m)*1e3).sort((m,v)=>v-m);return u}),i=a+s;if(i!==0){let f=r.group(u=>{let m=u.setTimeout(()=>{n(),u.dispose()},i);u.addEventListener(e,"transitionrun",v=>{v.target===v.currentTarget&&(m(),u.addEventListener(e,"transitioncancel",d=>{d.target===d.currentTarget&&(n(),f())}))})});r.addEventListener(e,"transitionend",u=>{u.target===u.currentTarget&&(n(),r.dispose())})}else n();return r.dispose}function Jn(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}function Ee(e){return Ut(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function re(e){var t;return(t=(Ut(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ut(e){return e instanceof Node||e instanceof X(e).Node}function G(e){return e instanceof Element||e instanceof X(e).Element}function Z(e){return e instanceof HTMLElement||e instanceof X(e).HTMLElement}function Et(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function Oe(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Qn(e){return["table","td","th"].includes(Ee(e))}function We(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function mt(e){const t=pt(),n=Q(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Zn(e){let t=ue(e);for(;Z(t)&&!be(t);){if(We(t))return null;if(mt(t))return t;t=ue(t)}return null}function pt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function be(e){return["html","body","#document"].includes(Ee(e))}function Q(e){return X(e).getComputedStyle(e)}function _e(e){return G(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ue(e){if(Ee(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Et(e)&&e.host||re(e);return Et(t)?t.host:t}function qt(e){const t=ue(e);return be(t)?e.ownerDocument?e.ownerDocument.body:e.body:Z(t)&&Oe(t)?t:qt(t)}function Me(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=qt(e),l=o===((r=e.ownerDocument)==null?void 0:r.body),a=X(o);return l?t.concat(a,a.visualViewport||[],Oe(o)?o:[],a.frameElement&&n?Me(a.frameElement):[]):t.concat(o,Me(o,[],n))}function er(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(t=>{let{brand:n,version:r}=t;return n+"/"+r}).join(" "):navigator.userAgent}const se=Math.min,U=Math.max,De=Math.round,ke=Math.floor,ce=e=>({x:e,y:e}),tr={left:"right",right:"left",bottom:"top",top:"bottom"},nr={start:"end",end:"start"};function Rt(e,t,n){return U(e,se(t,n))}function Re(e,t){return typeof e=="function"?e(t):e}function fe(e){return e.split("-")[0]}function Ae(e){return e.split("-")[1]}function Xt(e){return e==="x"?"y":"x"}function Kt(e){return e==="y"?"height":"width"}function he(e){return["top","bottom"].includes(fe(e))?"y":"x"}function Jt(e){return Xt(he(e))}function rr(e,t,n){n===void 0&&(n=!1);const r=Ae(e),o=Jt(e),l=Kt(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(a=He(a)),[a,He(a)]}function or(e){const t=He(e);return[lt(e),t,lt(t)]}function lt(e){return e.replace(/start|end/g,t=>nr[t])}function lr(e,t,n){const r=["left","right"],o=["right","left"],l=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?l:a;default:return[]}}function ir(e,t,n,r){const o=Ae(e);let l=lr(fe(e),n==="start",r);return o&&(l=l.map(a=>a+"-"+o),t&&(l=l.concat(l.map(lt)))),l}function He(e){return e.replace(/left|right|bottom|top/g,t=>tr[t])}function sr(e){return{top:0,right:0,bottom:0,left:0,...e}}function ar(e){return typeof e!="number"?sr(e):{top:e,right:e,bottom:e,left:e}}function Be(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Ct(e,t,n){let{reference:r,floating:o}=e;const l=he(t),a=Jt(t),s=Kt(a),i=fe(t),f=l==="y",u=r.x+r.width/2-o.width/2,m=r.y+r.height/2-o.height/2,v=r[s]/2-o[s]/2;let d;switch(i){case"top":d={x:u,y:r.y-o.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:m};break;case"left":d={x:r.x-o.width,y:m};break;default:d={x:r.x,y:r.y}}switch(Ae(t)){case"start":d[a]-=v*(n&&f?-1:1);break;case"end":d[a]+=v*(n&&f?-1:1);break}return d}const ur=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:a}=n,s=l.filter(Boolean),i=await(a.isRTL==null?void 0:a.isRTL(t));let f=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:m}=Ct(f,r,i),v=r,d={},p=0;for(let h=0;hB<=0)){var k,D;const B=(((k=l.flip)==null?void 0:k.index)||0)+1,j=L[B];if(j)return{data:{index:B,overflows:H},reset:{placement:j}};let W=(D=H.filter(E=>E.overflows[0]<=0).sort((E,P)=>E.overflows[1]-P.overflows[1])[0])==null?void 0:D.placement;if(!W)switch(d){case"bestFit":{var N;const E=(N=H.filter(P=>{if(M){const w=he(P.placement);return w===y||w==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(w=>w>0).reduce((w,S)=>w+S,0)]).sort((P,w)=>P[1]-w[1])[0])==null?void 0:N[0];E&&(W=E);break}case"initialPlacement":W=s;break}if(o!==W)return{reset:{placement:W}}}return{}}}};async function fr(e,t){const{placement:n,platform:r,elements:o}=e,l=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=fe(n),s=Ae(n),i=he(n)==="y",f=["left","top"].includes(a)?-1:1,u=l&&i?-1:1,m=Re(t,e);let{mainAxis:v,crossAxis:d,alignmentAxis:p}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return s&&typeof p=="number"&&(d=s==="end"?p*-1:p),i?{x:d*u,y:v*f}:{x:v*f,y:d*u}}const dr=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:l,placement:a,middlewareData:s}=t,i=await fr(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+i.x,y:l+i.y,data:{...i,placement:a}}}}},mr=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:l=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x,y}=g;return{x,y}}},...i}=Re(e,t),f={x:n,y:r},u=await Ve(t,i),m=he(fe(o)),v=Xt(m);let d=f[v],p=f[m];if(l){const g=v==="y"?"top":"left",x=v==="y"?"bottom":"right",y=d+u[g],b=d-u[x];d=Rt(y,d,b)}if(a){const g=m==="y"?"top":"left",x=m==="y"?"bottom":"right",y=p+u[g],b=p-u[x];p=Rt(y,p,b)}const h=s.fn({...t,[v]:d,[m]:p});return{...h,data:{x:h.x-n,y:h.y-r}}}}},pr=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:l}=t,{apply:a=()=>{},...s}=Re(e,t),i=await Ve(t,s),f=fe(n),u=Ae(n),m=he(n)==="y",{width:v,height:d}=r.floating;let p,h;f==="top"||f==="bottom"?(p=f,h=u===(await(o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(h=f,p=u==="end"?"top":"bottom");const g=d-i.top-i.bottom,x=v-i.left-i.right,y=se(d-i[p],g),b=se(v-i[h],x),R=!t.middlewareData.shift;let C=y,M=b;if(m?M=u||R?se(b,x):x:C=u||R?se(y,g):g,R&&!u){const F=U(i.left,0),I=U(i.right,0),H=U(i.top,0),k=U(i.bottom,0);m?M=v-2*(F!==0||I!==0?F+I:U(i.left,i.right)):C=d-2*(H!==0||k!==0?H+k:U(i.top,i.bottom))}await a({...t,availableWidth:M,availableHeight:C});const L=await o.getDimensions(l.floating);return v!==L.width||d!==L.height?{reset:{rects:!0}}:{}}}};function Qt(e){const t=Q(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Z(e),l=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=De(n)!==l||De(r)!==a;return s&&(n=l,r=a),{width:n,height:r,$:s}}function gt(e){return G(e)?e:e.contextElement}function xe(e){const t=gt(e);if(!Z(t))return ce(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:l}=Qt(t);let a=(l?De(n.width):n.width)/r,s=(l?De(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const gr=ce(0);function Zt(e){const t=X(e);return!pt()||!t.visualViewport?gr:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function hr(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==X(e)?!1:t}function ve(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),l=gt(e);let a=ce(1);t&&(r?G(r)&&(a=xe(r)):a=xe(e));const s=hr(l,n,r)?Zt(l):ce(0);let i=(o.left+s.x)/a.x,f=(o.top+s.y)/a.y,u=o.width/a.x,m=o.height/a.y;if(l){const v=X(l),d=r&&G(r)?X(r):r;let p=v,h=p.frameElement;for(;h&&r&&d!==p;){const g=xe(h),x=h.getBoundingClientRect(),y=Q(h),b=x.left+(h.clientLeft+parseFloat(y.paddingLeft))*g.x,R=x.top+(h.clientTop+parseFloat(y.paddingTop))*g.y;i*=g.x,f*=g.y,u*=g.x,m*=g.y,i+=b,f+=R,p=X(h),h=p.frameElement}}return Be({width:u,height:m,x:i,y:f})}function vr(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const l=o==="fixed",a=re(r),s=t?We(t.floating):!1;if(r===a||s&&l)return n;let i={scrollLeft:0,scrollTop:0},f=ce(1);const u=ce(0),m=Z(r);if((m||!m&&!l)&&((Ee(r)!=="body"||Oe(a))&&(i=_e(r)),Z(r))){const v=ve(r);f=xe(r),u.x=v.x+r.clientLeft,u.y=v.y+r.clientTop}return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-i.scrollLeft*f.x+u.x,y:n.y*f.y-i.scrollTop*f.y+u.y}}function xr(e){return Array.from(e.getClientRects())}function en(e){return ve(re(e)).left+_e(e).scrollLeft}function yr(e){const t=re(e),n=_e(e),r=e.ownerDocument.body,o=U(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=U(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+en(e);const s=-n.scrollTop;return Q(r).direction==="rtl"&&(a+=U(t.clientWidth,r.clientWidth)-o),{width:o,height:l,x:a,y:s}}function br(e,t){const n=X(e),r=re(e),o=n.visualViewport;let l=r.clientWidth,a=r.clientHeight,s=0,i=0;if(o){l=o.width,a=o.height;const f=pt();(!f||f&&t==="fixed")&&(s=o.offsetLeft,i=o.offsetTop)}return{width:l,height:a,x:s,y:i}}function wr(e,t){const n=ve(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,l=Z(e)?xe(e):ce(1),a=e.clientWidth*l.x,s=e.clientHeight*l.y,i=o*l.x,f=r*l.y;return{width:a,height:s,x:i,y:f}}function Pt(e,t,n){let r;if(t==="viewport")r=br(e,n);else if(t==="document")r=yr(re(e));else if(G(t))r=wr(t,n);else{const o=Zt(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Be(r)}function tn(e,t){const n=ue(e);return n===t||!G(n)||be(n)?!1:Q(n).position==="fixed"||tn(n,t)}function Er(e,t){const n=t.get(e);if(n)return n;let r=Me(e,[],!1).filter(s=>G(s)&&Ee(s)!=="body"),o=null;const l=Q(e).position==="fixed";let a=l?ue(e):e;for(;G(a)&&!be(a);){const s=Q(a),i=mt(a);!i&&s.position==="fixed"&&(o=null),(l?!i&&!o:!i&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Oe(a)&&!i&&tn(e,a))?r=r.filter(u=>u!==a):o=s,a=ue(a)}return t.set(e,r),r}function Rr(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?We(t)?[]:Er(t,this._c):[].concat(n),r],s=a[0],i=a.reduce((f,u)=>{const m=Pt(t,u,o);return f.top=U(m.top,f.top),f.right=se(m.right,f.right),f.bottom=se(m.bottom,f.bottom),f.left=U(m.left,f.left),f},Pt(t,s,o));return{width:i.right-i.left,height:i.bottom-i.top,x:i.left,y:i.top}}function Cr(e){const{width:t,height:n}=Qt(e);return{width:t,height:n}}function Pr(e,t,n){const r=Z(t),o=re(t),l=n==="fixed",a=ve(e,!0,l,t);let s={scrollLeft:0,scrollTop:0};const i=ce(0);if(r||!r&&!l)if((Ee(t)!=="body"||Oe(o))&&(s=_e(t)),r){const m=ve(t,!0,l,t);i.x=m.x+t.clientLeft,i.y=m.y+t.clientTop}else o&&(i.x=en(o));const f=a.left+s.scrollLeft-i.x,u=a.top+s.scrollTop-i.y;return{x:f,y:u,width:a.width,height:a.height}}function Qe(e){return Q(e).position==="static"}function St(e,t){return!Z(e)||Q(e).position==="fixed"?null:t?t(e):e.offsetParent}function nn(e,t){const n=X(e);if(We(e))return n;if(!Z(e)){let o=ue(e);for(;o&&!be(o);){if(G(o)&&!Qe(o))return o;o=ue(o)}return n}let r=St(e,t);for(;r&&Qn(r)&&Qe(r);)r=St(r,t);return r&&be(r)&&Qe(r)&&!mt(r)?n:r||Zn(e)||n}const Sr=async function(e){const t=this.getOffsetParent||nn,n=this.getDimensions,r=await n(e.floating);return{reference:Pr(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Tr(e){return Q(e).direction==="rtl"}const $r={convertOffsetParentRelativeRectToViewportRelativeRect:vr,getDocumentElement:re,getClippingRect:Rr,getOffsetParent:nn,getElementRects:Sr,getClientRects:xr,getDimensions:Cr,getScale:xe,isElement:G,isRTL:Tr};function Mr(e,t){let n=null,r;const o=re(e);function l(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,i){s===void 0&&(s=!1),i===void 0&&(i=1),l();const{left:f,top:u,width:m,height:v}=e.getBoundingClientRect();if(s||t(),!m||!v)return;const d=ke(u),p=ke(o.clientWidth-(f+m)),h=ke(o.clientHeight-(u+v)),g=ke(f),y={rootMargin:-d+"px "+-p+"px "+-h+"px "+-g+"px",threshold:U(0,se(1,i))||1};let b=!0;function R(C){const M=C[0].intersectionRatio;if(M!==i){if(!b)return a();M?a(!1,M):r=setTimeout(()=>{a(!1,1e-7)},1e3)}b=!1}try{n=new IntersectionObserver(R,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(R,y)}n.observe(e)}return a(!0),l}function Fr(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:i=!1}=r,f=gt(e),u=o||l?[...f?Me(f):[],...Me(t)]:[];u.forEach(x=>{o&&x.addEventListener("scroll",n,{passive:!0}),l&&x.addEventListener("resize",n)});const m=f&&s?Mr(f,n):null;let v=-1,d=null;a&&(d=new ResizeObserver(x=>{let[y]=x;y&&y.target===f&&d&&(d.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var b;(b=d)==null||b.observe(t)})),n()}),f&&!i&&d.observe(f),d.observe(t));let p,h=i?ve(e):null;i&&g();function g(){const x=ve(e);h&&(x.x!==h.x||x.y!==h.y||x.width!==h.width||x.height!==h.height)&&n(),h=x,p=requestAnimationFrame(g)}return n(),()=>{var x;u.forEach(y=>{o&&y.removeEventListener("scroll",n),l&&y.removeEventListener("resize",n)}),m?.(),(x=d)==null||x.disconnect(),d=null,i&&cancelAnimationFrame(p)}}const Ze=Ve,Or=dr,Ar=mr,Lr=cr,kr=pr,Nr=(e,t,n)=>{const r=new Map,o={platform:$r,...n},l={...o.platform,_c:r};return ur(e,t,{...o,platform:l})};var Ie=typeof document<"u"?c.useLayoutEffect:c.useEffect;function je(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!je(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const l=o[r];if(!(l==="_owner"&&e.$$typeof)&&!je(e[l],t[l]))return!1}return!0}return e!==e&&t!==t}function rn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tt(e,t){const n=rn(e);return Math.round(t*n)/n}function $t(e){const t=c.useRef(e);return Ie(()=>{t.current=e}),t}function Ir(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:i,open:f}=e,[u,m]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,d]=c.useState(r);je(v,r)||d(r);const[p,h]=c.useState(null),[g,x]=c.useState(null),y=c.useCallback(E=>{E!==M.current&&(M.current=E,h(E))},[]),b=c.useCallback(E=>{E!==L.current&&(L.current=E,x(E))},[]),R=l||p,C=a||g,M=c.useRef(null),L=c.useRef(null),F=c.useRef(u),I=i!=null,H=$t(i),k=$t(o),D=c.useCallback(()=>{if(!M.current||!L.current)return;const E={placement:t,strategy:n,middleware:v};k.current&&(E.platform=k.current),Nr(M.current,L.current,E).then(P=>{const w={...P,isPositioned:!0};N.current&&!je(F.current,w)&&(F.current=w,ye.flushSync(()=>{m(w)}))})},[v,t,n,k]);Ie(()=>{f===!1&&F.current.isPositioned&&(F.current.isPositioned=!1,m(E=>({...E,isPositioned:!1})))},[f]);const N=c.useRef(!1);Ie(()=>(N.current=!0,()=>{N.current=!1}),[]),Ie(()=>{if(R&&(M.current=R),C&&(L.current=C),R&&C){if(H.current)return H.current(R,C,D);D()}},[R,C,D,H,I]);const B=c.useMemo(()=>({reference:M,floating:L,setReference:y,setFloating:b}),[y,b]),j=c.useMemo(()=>({reference:R,floating:C}),[R,C]),W=c.useMemo(()=>{const E={position:n,left:0,top:0};if(!j.floating)return E;const P=Tt(j.floating,u.x),w=Tt(j.floating,u.y);return s?{...E,transform:"translate("+P+"px, "+w+"px)",...rn(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:w}},[n,s,j.floating,u.x,u.y]);return c.useMemo(()=>({...u,update:D,refs:B,elements:j,floatingStyles:W}),[u,D,B,j,W])}const on=(e,t)=>({...Or(e),options:[e,t]}),Dr=(e,t)=>({...Ar(e),options:[e,t]}),Hr=(e,t)=>({...Lr(e),options:[e,t]}),Br=(e,t)=>({...kr(e),options:[e,t]}),ln={...nt},jr=ln.useInsertionEffect,Wr=jr||(e=>e());function sn(e){const t=c.useRef(()=>{});return Wr(()=>{t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),o=0;o"floating-ui-"+Math.random().toString(36).slice(2,6)+_r++;function Vr(){const[e,t]=c.useState(()=>Mt?Ft():void 0);return it(()=>{e==null&&t(Ft())},[]),c.useEffect(()=>{Mt=!0},[]),e}const Yr=ln.useId,zr=Yr||Vr;function Gr(){const e=new Map;return{emit(t,n){var r;(r=e.get(t))==null||r.forEach(o=>o(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,((r=e.get(t))==null?void 0:r.filter(o=>o!==n))||[])}}}const Ur=c.createContext(null),qr=c.createContext(null),Xr=()=>{var e;return((e=c.useContext(Ur))==null?void 0:e.id)||null},Kr=()=>c.useContext(qr);function Jr(e){const{open:t=!1,onOpenChange:n,elements:r}=e,o=zr(),l=c.useRef({}),[a]=c.useState(()=>Gr()),s=Xr()!=null,[i,f]=c.useState(r.reference),u=sn((d,p,h)=>{l.current.openEvent=d?p:void 0,a.emit("openchange",{open:d,event:p,reason:h,nested:s}),n?.(d,p,h)}),m=c.useMemo(()=>({setPositionReference:f}),[]),v=c.useMemo(()=>({reference:i||r.reference||null,floating:r.floating||null,domReference:r.reference}),[i,r.reference,r.floating]);return c.useMemo(()=>({dataRef:l,open:t,onOpenChange:u,elements:v,events:a,floatingId:o,refs:m}),[t,u,v,a,o,m])}function Qr(e){e===void 0&&(e={});const{nodeId:t}=e,n=Jr({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[l,a]=c.useState(null),[s,i]=c.useState(null),u=o?.reference||l,m=c.useRef(null),v=Kr();it(()=>{u&&(m.current=u)},[u]);const d=Ir({...e,elements:{...o,...s&&{reference:s}}}),p=c.useCallback(b=>{const R=G(b)?{getBoundingClientRect:()=>b.getBoundingClientRect(),contextElement:b}:b;i(R),d.refs.setReference(R)},[d.refs]),h=c.useCallback(b=>{(G(b)||b===null)&&(m.current=b,a(b)),(G(d.refs.reference.current)||d.refs.reference.current===null||b!==null&&!G(b))&&d.refs.setReference(b)},[d.refs]),g=c.useMemo(()=>({...d.refs,setReference:h,setPositionReference:p,domReference:m}),[d.refs,h,p]),x=c.useMemo(()=>({...d.elements,domReference:u}),[d.elements,u]),y=c.useMemo(()=>({...d,...r,refs:g,elements:x,nodeId:t}),[d,g,x,t,r]);return it(()=>{r.dataRef.current.floatingContext=y;const b=v?.nodesRef.current.find(R=>R.id===t);b&&(b.context=y)}),c.useMemo(()=>({...d,context:y,refs:g,elements:x}),[d,g,x,y])}const Ot="active",At="selected";function et(e,t,n){const r=new Map,o=n==="item";let l=e;if(o&&e){const{[Ot]:a,[At]:s,...i}=e;l=i}return{...n==="floating"&&{tabIndex:-1},...l,...t.map(a=>{const s=a?a[n]:null;return typeof s=="function"?e?s(e):null:s}).concat(e).reduce((a,s)=>(s&&Object.entries(s).forEach(i=>{let[f,u]=i;if(!(o&&[Ot,At].includes(f)))if(f.indexOf("on")===0){if(r.has(f)||r.set(f,[]),typeof u=="function"){var m;(m=r.get(f))==null||m.push(u),a[f]=function(){for(var v,d=arguments.length,p=new Array(d),h=0;hg(...p)).find(g=>g!==void 0)}}}else a[f]=u}),a),{})}}function Zr(e){e===void 0&&(e=[]);const t=e.map(s=>s?.reference),n=e.map(s=>s?.floating),r=e.map(s=>s?.item),o=c.useCallback(s=>et(s,e,"reference"),t),l=c.useCallback(s=>et(s,e,"floating"),n),a=c.useCallback(s=>et(s,e,"item"),r);return c.useMemo(()=>({getReferenceProps:o,getFloatingProps:l,getItemProps:a}),[o,l,a])}function Lt(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}const eo=e=>({name:"inner",options:e,async fn(t){const{listRef:n,overflowRef:r,onFallbackChange:o,offset:l=0,index:a=0,minItemsVisible:s=4,referenceOverflowThreshold:i=0,scrollRef:f,...u}=Re(e,t),{rects:m,elements:{floating:v}}=t,d=n.current[a];if(!d)return{};const p={...t,...await on(-d.offsetTop-v.clientTop-m.reference.height/2-d.offsetHeight/2-l).fn(t)},h=f?.current||v,g=await Ze(Lt(p,h.scrollHeight),u),x=await Ze(p,{...u,elementContext:"reference"}),y=Math.max(0,g.top),b=p.y+y,R=Math.max(0,h.scrollHeight-y-Math.max(0,g.bottom));return h.style.maxHeight=R+"px",h.scrollTop=y,o&&(h.offsetHeight=-i||x.bottom>=-i?ye.flushSync(()=>o(!0)):ye.flushSync(()=>o(!1))),r&&(r.current=await Ze(Lt({...p,y:b},h.offsetHeight),u)),{y:b}}});function to(e,t){const{open:n,elements:r}=e,{enabled:o=!0,overflowRef:l,scrollRef:a,onChange:s}=t,i=sn(s),f=c.useRef(!1),u=c.useRef(null),m=c.useRef(null);c.useEffect(()=>{if(!o)return;function d(h){if(h.ctrlKey||!p||l.current==null)return;const g=h.deltaY,x=l.current.top>=-.5,y=l.current.bottom>=-.5,b=p.scrollHeight-p.clientHeight,R=g<0?-1:1,C=g<0?"max":"min";p.scrollHeight<=p.clientHeight||(!x&&g>0||!y&&g<0?(h.preventDefault(),ye.flushSync(()=>{i(M=>M+Math[C](g,b*R))})):/firefox/i.test(er())&&(p.scrollTop+=g))}const p=a?.current||r.floating;if(n&&p)return p.addEventListener("wheel",d),requestAnimationFrame(()=>{u.current=p.scrollTop,l.current!=null&&(m.current={...l.current})}),()=>{u.current=null,m.current=null,p.removeEventListener("wheel",d)}},[o,n,r.floating,l,a,i]);const v=c.useMemo(()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){const d=a?.current||r.floating;if(!(!l.current||!d||!f.current)){if(u.current!==null){const p=d.scrollTop-u.current;(l.current.bottom<-.5&&p<-1||l.current.top<-.5&&p>1)&&ye.flushSync(()=>i(h=>h+p))}requestAnimationFrame(()=>{u.current=d.scrollTop})}}}),[r.floating,i,l,a]);return c.useMemo(()=>o?{floating:v}:{},[o,v])}let Le=c.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});Le.displayName="FloatingContext";let ht=c.createContext(null);ht.displayName="PlacementContext";function no(e){return c.useMemo(()=>e?typeof e=="string"?{to:e}:e:null,[e])}function ro(){return c.useContext(Le).setReference}function oo(){let{getFloatingProps:e,slot:t}=c.useContext(Le);return c.useCallback((...n)=>Object.assign({},e(...n),{"data-anchor":t.anchor}),[e,t])}function lo(e=null){e===!1&&(e=null),typeof e=="string"&&(e={to:e});let t=c.useContext(ht),n=c.useMemo(()=>e,[JSON.stringify(e,typeof HTMLElement<"u"?(o,l)=>l instanceof HTMLElement?l.outerHTML:l:void 0)]);Y(()=>{t?.(n??null)},[t,n]);let r=c.useContext(Le);return c.useMemo(()=>[r.setFloating,e?r.styles:{}],[r.setFloating,e,r.styles])}let kt=4;function io({children:e,enabled:t=!0}){let[n,r]=c.useState(null),[o,l]=c.useState(0),a=c.useRef(null),[s,i]=c.useState(null);so(s);let f=t&&n!==null&&s!==null,{to:u="bottom",gap:m=0,offset:v=0,padding:d=0,inner:p}=ao(n,s),[h,g="center"]=u.split(" ");Y(()=>{f&&l(0)},[f]);let{refs:x,floatingStyles:y,context:b}=Qr({open:f,placement:h==="selection"?g==="center"?"bottom":`bottom-${g}`:g==="center"?`${h}`:`${h}-${g}`,strategy:"absolute",transform:!1,middleware:[on({mainAxis:h==="selection"?0:m,crossAxis:v}),Dr({padding:d}),h!=="selection"&&Hr({padding:d}),h==="selection"&&p?eo({...p,padding:d,overflowRef:a,offset:o,minItemsVisible:kt,referenceOverflowThreshold:d,onFallbackChange(k){var D,N;if(!k)return;let B=b.elements.floating;if(!B)return;let j=parseFloat(getComputedStyle(B).scrollPaddingBottom)||0,W=Math.min(kt,B.childElementCount),E=0,P=0;for(let w of(N=(D=b.elements.floating)==null?void 0:D.childNodes)!=null?N:[])if(w instanceof HTMLElement){let S=w.offsetTop,T=S+w.clientHeight+j,_=B.scrollTop,V=_+B.clientHeight;if(S>=_&&T<=V)W--;else{P=Math.max(0,Math.min(T,V)-Math.max(S,_)),E=w.clientHeight;break}}W>=1&&l(w=>{let S=E*W-P+j;return w>=S?w:S})}}):null,Br({padding:d,apply({availableWidth:k,availableHeight:D,elements:N}){Object.assign(N.floating.style,{overflow:"auto",maxWidth:`${k}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${D}px)`})}})].filter(Boolean),whileElementsMounted:Fr}),[R=h,C=g]=b.placement.split("-");h==="selection"&&(R="selection");let M=c.useMemo(()=>({anchor:[R,C].filter(Boolean).join(" ")}),[R,C]),L=to(b,{overflowRef:a,onChange:l}),{getReferenceProps:F,getFloatingProps:I}=Zr([L]),H=O(k=>{i(k),x.setFloating(k)});return c.createElement(ht.Provider,{value:r},c.createElement(Le.Provider,{value:{setFloating:H,setReference:x.setReference,styles:y,getReferenceProps:F,getFloatingProps:I,slot:M}},e))}function so(e){Y(()=>{if(!e)return;let t=new MutationObserver(()=>{let n=e.style.maxHeight;parseFloat(n)!==parseInt(n)&&(e.style.maxHeight=`${Math.ceil(parseFloat(n))}px`)});return t.observe(e,{attributes:!0,attributeFilter:["style"]}),()=>{t.disconnect()}},[e])}function ao(e,t){var n,r,o;let l=tt((n=e?.gap)!=null?n:"var(--anchor-gap, 0)",t),a=tt((r=e?.offset)!=null?r:"var(--anchor-offset, 0)",t),s=tt((o=e?.padding)!=null?o:"var(--anchor-padding, 0)",t);return{...e,gap:l,offset:a,padding:s}}function tt(e,t,n=void 0){let r=ut(),o=O((i,f)=>{if(i==null)return[n,null];if(typeof i=="number")return[i,null];if(typeof i=="string"){if(!f)return[n,null];let u=Nt(i,f);return[u,m=>{let v=an(i);{let d=v.map(p=>window.getComputedStyle(f).getPropertyValue(p));r.requestAnimationFrame(function p(){r.nextFrame(p);let h=!1;for(let[x,y]of v.entries()){let b=window.getComputedStyle(f).getPropertyValue(y);if(d[x]!==b){d[x]=b,h=!0;break}}if(!h)return;let g=Nt(i,f);u!==g&&(m(g),u=g)})}return r.dispose}]}return[n,null]}),l=c.useMemo(()=>o(e,t)[0],[e,t]),[a=l,s]=c.useState();return Y(()=>{let[i,f]=o(e,t);if(s(i),!!f)return f(s)},[e,t]),a}function an(e){let t=/var\((.*)\)/.exec(e);if(t){let n=t[1].indexOf(",");if(n===-1)return[t[1]];let r=t[1].slice(0,n).trim(),o=t[1].slice(n+1).trim();return o?[r,...an(o)]:[r]}return[]}function Nt(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}let Ye=c.createContext(null);Ye.displayName="OpenClosedContext";var q=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(q||{});function ze(){return c.useContext(Ye)}function un({value:e,children:t}){return $.createElement(Ye.Provider,{value:e},t)}function uo({children:e}){return $.createElement(Ye.Provider,{value:null},e)}function co(e){let t=O(e),n=c.useRef(!1);c.useEffect(()=>(n.current=!1,()=>{n.current=!0,bn(()=>{n.current&&t()})}),[t])}function fo(){let e=typeof document>"u";return"useSyncExternalStore"in nt?(t=>t.useSyncExternalStore)(nt)(()=>()=>{},()=>!1,()=>!e):!1}function vt(){let e=fo(),[t,n]=c.useState(Pe.isHandoffComplete);return t&&Pe.isHandoffComplete===!1&&n(!1),c.useEffect(()=>{t!==!0&&n(!0)},[t]),c.useEffect(()=>Pe.handoff(),[]),e?!1:t}let mo=c.createContext(!1);function po(){return c.useContext(mo)}function go(e){let t=po(),n=c.useContext(fn),r=we(e),[o,l]=c.useState(()=>{var a;if(!t&&n!==null)return(a=n.current)!=null?a:null;if(Pe.isServer)return null;let s=r?.getElementById("headlessui-portal-root");if(s)return s;if(r===null)return null;let i=r.createElement("div");return i.setAttribute("id","headlessui-portal-root"),r.body.appendChild(i)});return c.useEffect(()=>{o!==null&&(r!=null&&r.body.contains(o)||r==null||r.body.appendChild(o))},[o,r]),c.useEffect(()=>{t||n!==null&&l(n.current)},[n,l,t]),o}let cn=c.Fragment,ho=K(function(e,t){let n=e,r=c.useRef(null),o=J(Bt(u=>{r.current=u}),t),l=we(r),a=go(r),[s]=c.useState(()=>{var u;return Pe.isServer?null:(u=l?.createElement("div"))!=null?u:null}),i=c.useContext(st),f=vt();return Y(()=>{!a||!s||a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s))},[a,s]),Y(()=>{if(s&&i)return i.register(s)},[i,s]),co(()=>{var u;!a||!s||(s instanceof Node&&a.contains(s)&&a.removeChild(s),a.childNodes.length<=0&&((u=a.parentElement)==null||u.removeChild(a)))}),f?!a||!s?null:ye.createPortal(ee({ourProps:{ref:o},theirProps:n,slot:{},defaultTag:cn,name:"Portal"}),s):null});function vo(e,t){let n=J(t),{enabled:r=!0,...o}=e;return r?$.createElement(ho,{...o,ref:n}):ee({ourProps:{ref:n},theirProps:o,slot:{},defaultTag:cn,name:"Portal"})}let xo=c.Fragment,fn=c.createContext(null);function yo(e,t){let{target:n,...r}=e,o={ref:J(t)};return $.createElement(fn.Provider,{value:n},ee({ourProps:o,theirProps:r,defaultTag:xo,name:"Popover.Group"}))}let st=c.createContext(null);function bo(){let e=c.useContext(st),t=c.useRef([]),n=O(l=>(t.current.push(l),e&&e.register(l),()=>r(l))),r=O(l=>{let a=t.current.indexOf(l);a!==-1&&t.current.splice(a,1),e&&e.unregister(l)}),o=c.useMemo(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,c.useMemo(()=>function({children:l}){return $.createElement(st.Provider,{value:o},l)},[o])]}let wo=K(vo),Eo=K(yo),Ro=Object.assign(wo,{Group:Eo});function Co({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){var r;let o=c.useRef((r=n?.current)!=null?r:null),l=we(o),a=O(()=>{var s,i,f;let u=[];for(let m of e)m!==null&&(m instanceof HTMLElement?u.push(m):"current"in m&&m.current instanceof HTMLElement&&u.push(m.current));if(t!=null&&t.current)for(let m of t.current)u.push(m);for(let m of(s=l?.querySelectorAll("html > *, body > *"))!=null?s:[])m!==document.body&&m!==document.head&&m instanceof HTMLElement&&m.id!=="headlessui-portal-root"&&(m.contains(o.current)||m.contains((f=(i=o.current)==null?void 0:i.getRootNode())==null?void 0:f.host)||u.some(v=>m.contains(v))||u.push(m));return u});return{resolveContainers:a,contains:O(s=>a().some(i=>i.contains(s))),mainTreeNodeRef:o,MainTreeNode:c.useMemo(()=>function(){return n!=null?null:$.createElement(Se,{features:Te.Hidden,ref:o})},[o,n])}}function Po(){let e=c.useRef(null);return{mainTreeNodeRef:e,MainTreeNode:c.useMemo(()=>function(){return $.createElement(Se,{features:Te.Hidden,ref:e})},[e])}}var te=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(te||{});function dn(){let e=c.useRef(0);return Gt(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function mn(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:gn)!==c.Fragment||$.Children.count(e.children)===1}let Ge=c.createContext(null);Ge.displayName="TransitionContext";var So=(e=>(e.Visible="visible",e.Hidden="hidden",e))(So||{});function To(){let e=c.useContext(Ge);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}function $o(){let e=c.useContext(Ue);if(e===null)throw new Error("A is used but it is missing a parent or .");return e}let Ue=c.createContext(null);Ue.displayName="NestingContext";function qe(e){return"children"in e?qe(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function pn(e,t){let n=ae(e),r=c.useRef([]),o=Rn(),l=ut(),a=O((d,p=me.Hidden)=>{let h=r.current.findIndex(({el:g})=>g===d);h!==-1&&(ne(p,{[me.Unmount](){r.current.splice(h,1)},[me.Hidden](){r.current[h].state="hidden"}}),l.microTask(()=>{var g;!qe(r)&&o.current&&((g=n.current)==null||g.call(n))}))}),s=O(d=>{let p=r.current.find(({el:h})=>h===d);return p?p.state!=="visible"&&(p.state="visible"):r.current.push({el:d,state:"visible"}),()=>a(d,me.Unmount)}),i=c.useRef([]),f=c.useRef(Promise.resolve()),u=c.useRef({enter:[],leave:[]}),m=O((d,p,h)=>{i.current.splice(0),t&&(t.chains.current[p]=t.chains.current[p].filter(([g])=>g!==d)),t?.chains.current[p].push([d,new Promise(g=>{i.current.push(g)})]),t?.chains.current[p].push([d,new Promise(g=>{Promise.all(u.current[p].map(([x,y])=>y)).then(()=>g())})]),p==="enter"?f.current=f.current.then(()=>t?.wait.current).then(()=>h(p)):h(p)}),v=O((d,p,h)=>{Promise.all(u.current[p].splice(0).map(([g,x])=>x)).then(()=>{var g;(g=i.current.shift())==null||g()}).then(()=>h(p))});return c.useMemo(()=>({children:r,register:s,unregister:a,onStart:m,onStop:v,wait:f,chains:u}),[s,a,r,m,v,u,f])}let gn=c.Fragment,hn=$e.RenderStrategy;function Mo(e,t){var n,r;let{transition:o=!0,beforeEnter:l,afterEnter:a,beforeLeave:s,afterLeave:i,enter:f,enterFrom:u,enterTo:m,entered:v,leave:d,leaveFrom:p,leaveTo:h,...g}=e,x=c.useRef(null),y=mn(e),b=J(...y?[x,t]:t===null?[]:[t]),R=(n=g.unmount)==null||n?me.Unmount:me.Hidden,{show:C,appear:M,initial:L}=To(),[F,I]=c.useState(C?"visible":"hidden"),H=$o(),{register:k,unregister:D}=H;Y(()=>k(x),[k,x]),Y(()=>{if(R===me.Hidden&&x.current){if(C&&F!=="visible"){I("visible");return}return ne(F,{hidden:()=>D(x),visible:()=>k(x)})}},[F,x,k,D,C,R]);let N=vt();Y(()=>{if(y&&N&&F==="visible"&&x.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[x,F,N,y]);let B=L&&!M,j=M&&C&&L,W=c.useRef(!1),E=pn(()=>{W.current||(I("hidden"),D(x))},H),P=O(z=>{W.current=!0;let oe=z?"enter":"leave";E.onStart(x,oe,le=>{le==="enter"?l?.():le==="leave"&&s?.()})}),w=O(z=>{let oe=z?"enter":"leave";W.current=!1,E.onStop(x,oe,le=>{le==="enter"?a?.():le==="leave"&&i?.()}),oe==="leave"&&!qe(E)&&(I("hidden"),D(x))});c.useEffect(()=>{y&&o||(P(C),w(C))},[C,y,o]);let S=!(!o||!y||!N||B),[,T]=dt(S,x,C,{start:P,end:w}),_=wn({ref:b,className:((r=En(g.className,j&&f,j&&u,T.enter&&f,T.enter&&T.closed&&u,T.enter&&!T.closed&&m,T.leave&&d,T.leave&&!T.closed&&p,T.leave&&T.closed&&h,!T.transition&&C&&v))==null?void 0:r.trim())||void 0,...ft(T)}),V=0;return F==="visible"&&(V|=q.Open),F==="hidden"&&(V|=q.Closed),T.enter&&(V|=q.Opening),T.leave&&(V|=q.Closing),$.createElement(Ue.Provider,{value:E},$.createElement(un,{value:V},ee({ourProps:_,theirProps:g,defaultTag:gn,features:hn,visible:F==="visible",name:"Transition.Child"})))}function Fo(e,t){let{show:n,appear:r=!1,unmount:o=!0,...l}=e,a=c.useRef(null),s=mn(e),i=J(...s?[a,t]:t===null?[]:[t]);vt();let f=ze();if(n===void 0&&f!==null&&(n=(f&q.Open)===q.Open),n===void 0)throw new Error("A is used but it is missing a `show={true | false}` prop.");let[u,m]=c.useState(n?"visible":"hidden"),v=pn(()=>{n||m("hidden")}),[d,p]=c.useState(!0),h=c.useRef([n]);Y(()=>{d!==!1&&h.current[h.current.length-1]!==n&&(h.current.push(n),p(!1))},[h,n]);let g=c.useMemo(()=>({show:n,appear:r,initial:d}),[n,r,d]);Yt(n,a,()=>m("hidden")),Y(()=>{n?m("visible"):!qe(v)&&a.current!==null&&m("hidden")},[n,v]);let x={unmount:o},y=O(()=>{var R;d&&p(!1),(R=e.beforeEnter)==null||R.call(e)}),b=O(()=>{var R;d&&p(!1),(R=e.beforeLeave)==null||R.call(e)});return $.createElement(Ue.Provider,{value:v},$.createElement(Ge.Provider,{value:g},ee({ourProps:{...x,as:c.Fragment,children:$.createElement(vn,{ref:i,...x,...l,beforeEnter:y,beforeLeave:b})},theirProps:{},defaultTag:c.Fragment,features:hn,visible:u==="visible",name:"Transition"})))}function Oo(e,t){let n=c.useContext(Ge)!==null,r=ze()!==null;return $.createElement($.Fragment,null,!n&&r?$.createElement(at,{ref:t,...e}):$.createElement(vn,{ref:t,...e}))}let at=K(Fo),vn=K(Mo),Ao=K(Oo),Lo=Object.assign(at,{Child:Ao,Root:at});var ko=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ko||{}),No=(e=>(e[e.TogglePopover=0]="TogglePopover",e[e.ClosePopover=1]="ClosePopover",e[e.SetButton=2]="SetButton",e[e.SetButtonId=3]="SetButtonId",e[e.SetPanel=4]="SetPanel",e[e.SetPanelId=5]="SetPanelId",e))(No||{});let Io={0:e=>({...e,popoverState:ne(e.popoverState,{0:1,1:0}),__demoMode:!1}),1(e){return e.popoverState===1?e:{...e,popoverState:1,__demoMode:!1}},2(e,t){return e.button===t.button?e:{...e,button:t.button}},3(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},4(e,t){return e.panel===t.panel?e:{...e,panel:t.panel}},5(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},xt=c.createContext(null);xt.displayName="PopoverContext";function Xe(e){let t=c.useContext(xt);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Xe),n}return t}let Ke=c.createContext(null);Ke.displayName="PopoverAPIContext";function yt(e){let t=c.useContext(Ke);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,yt),n}return t}let bt=c.createContext(null);bt.displayName="PopoverGroupContext";function xn(){return c.useContext(bt)}let Je=c.createContext(null);Je.displayName="PopoverPanelContext";function Do(){return c.useContext(Je)}function Ho(e,t){return ne(t.type,Io,e,t)}let Bo="div";function jo(e,t){var n;let{__demoMode:r=!1,...o}=e,l=c.useRef(null),a=J(t,Bt(E=>{l.current=E})),s=c.useRef([]),i=c.useReducer(Ho,{__demoMode:r,popoverState:r?0:1,buttons:s,button:null,buttonId:null,panel:null,panelId:null,beforePanelSentinel:c.createRef(),afterPanelSentinel:c.createRef(),afterButtonSentinel:c.createRef()}),[{popoverState:f,button:u,buttonId:m,panel:v,panelId:d,beforePanelSentinel:p,afterPanelSentinel:h,afterButtonSentinel:g},x]=i,y=we((n=l.current)!=null?n:u),b=c.useMemo(()=>{if(!u||!v)return!1;for(let V of document.querySelectorAll("body > *"))if(Number(V?.contains(u))^Number(V?.contains(v)))return!0;let E=ct(),P=E.indexOf(u),w=(P+E.length-1)%E.length,S=(P+1)%E.length,T=E[w],_=E[S];return!v.contains(T)&&!v.contains(_)},[u,v]),R=ae(m),C=ae(d),M=c.useMemo(()=>({buttonId:R,panelId:C,close:()=>x({type:1})}),[R,C,x]),L=xn(),F=L?.registerPopover,I=O(()=>{var E;return(E=L?.isFocusWithinPopoverGroup())!=null?E:y?.activeElement&&(u?.contains(y.activeElement)||v?.contains(y.activeElement))});c.useEffect(()=>F?.(M),[F,M]);let[H,k]=bo(),D=Co({mainTreeNodeRef:L?.mainTreeNodeRef,portals:H,defaultContainers:[u,v]});Bn(y?.defaultView,"focus",E=>{var P,w,S,T,_,V;E.target!==window&&E.target instanceof HTMLElement&&f===0&&(I()||u&&v&&(D.contains(E.target)||(w=(P=p.current)==null?void 0:P.contains)!=null&&w.call(P,E.target)||(T=(S=h.current)==null?void 0:S.contains)!=null&&T.call(S,E.target)||(V=(_=g.current)==null?void 0:_.contains)!=null&&V.call(_,E.target)||x({type:1})))},!0),Hn(f===0,D.resolveContainers,(E,P)=>{x({type:1}),It(P,Dt.Loose)||(E.preventDefault(),u?.focus())});let N=O(E=>{x({type:1});let P=E?E instanceof HTMLElement?E:"current"in E&&E.current instanceof HTMLElement?E.current:u:u;P?.focus()}),B=c.useMemo(()=>({close:N,isPortalled:b}),[N,b]),j=c.useMemo(()=>({open:f===0,close:N}),[f,N]),W={ref:a};return $.createElement(io,null,$.createElement(Je.Provider,{value:null},$.createElement(xt.Provider,{value:i},$.createElement(Ke.Provider,{value:B},$.createElement(On,{value:N},$.createElement(un,{value:ne(f,{0:q.Open,1:q.Closed})},$.createElement(k,null,ee({ourProps:W,theirProps:o,slot:j,defaultTag:Bo,name:"Popover"}),$.createElement(D.MainTreeNode,null))))))))}let Wo="button";function _o(e,t){let n=c.useId(),{id:r=`headlessui-popover-button-${n}`,disabled:o=!1,autoFocus:l=!1,...a}=e,[s,i]=Xe("Popover.Button"),{isPortalled:f}=yt("Popover.Button"),u=c.useRef(null),m=`headlessui-focus-sentinel-${c.useId()}`,v=xn(),d=v?.closeOthers,p=Do()!==null;c.useEffect(()=>{if(!p)return i({type:3,buttonId:r}),()=>{i({type:3,buttonId:null})}},[p,r,i]);let[h]=c.useState(()=>Symbol()),g=J(u,t,ro(),p?null:w=>{if(w)s.buttons.current.push(h);else{let S=s.buttons.current.indexOf(h);S!==-1&&s.buttons.current.splice(S,1)}s.buttons.current.length>1&&console.warn("You are already using a but only 1 is supported."),w&&i({type:2,button:w})}),x=J(u,t),y=we(u),b=O(w=>{var S,T,_;if(p){if(s.popoverState===1)return;switch(w.key){case de.Space:case de.Enter:w.preventDefault(),(T=(S=w.target).click)==null||T.call(S),i({type:1}),(_=s.button)==null||_.focus();break}}else switch(w.key){case de.Space:case de.Enter:w.preventDefault(),w.stopPropagation(),s.popoverState===1&&d?.(s.buttonId),i({type:0});break;case de.Escape:if(s.popoverState!==0)return d?.(s.buttonId);if(!u.current||y!=null&&y.activeElement&&!u.current.contains(y.activeElement))return;w.preventDefault(),w.stopPropagation(),i({type:1});break}}),R=O(w=>{p||w.key===de.Space&&w.preventDefault()}),C=O(w=>{var S,T;jt(w.currentTarget)||o||(p?(i({type:1}),(S=s.button)==null||S.focus()):(w.preventDefault(),w.stopPropagation(),s.popoverState===1&&d?.(s.buttonId),i({type:0}),(T=s.button)==null||T.focus()))}),M=O(w=>{w.preventDefault(),w.stopPropagation()}),{isFocusVisible:L,focusProps:F}=Cn({autoFocus:l}),{isHovered:I,hoverProps:H}=Pn({isDisabled:o}),{pressed:k,pressProps:D}=Sn({disabled:o}),N=s.popoverState===0,B=c.useMemo(()=>({open:N,active:k||N,disabled:o,hover:I,focus:L,autofocus:l}),[N,I,L,k,o,l]),j=Tn(e,u),W=p?rt({ref:x,type:j,onKeyDown:b,onClick:C,disabled:o||void 0,autoFocus:l},F,H,D):rt({ref:g,id:s.buttonId,type:j,"aria-expanded":s.popoverState===0,"aria-controls":s.panel?s.panelId:void 0,disabled:o||void 0,autoFocus:l,onKeyDown:b,onKeyUp:R,onClick:C,onMouseDown:M},F,H,D),E=dn(),P=O(()=>{let w=s.panel;if(!w)return;function S(){ne(E.current,{[te.Forwards]:()=>pe(w,ie.First),[te.Backwards]:()=>pe(w,ie.Last)})===ot.Error&&pe(ct().filter(T=>T.dataset.headlessuiFocusGuard!=="true"),ne(E.current,{[te.Forwards]:ie.Next,[te.Backwards]:ie.Previous}),{relativeTo:s.button})}S()});return $.createElement($.Fragment,null,ee({ourProps:W,theirProps:a,slot:B,defaultTag:Wo,name:"Popover.Button"}),N&&!p&&f&&$.createElement(Se,{id:m,ref:s.afterButtonSentinel,features:Te.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:P}))}let Vo="div",Yo=$e.RenderStrategy|$e.Static;function yn(e,t){let n=c.useId(),{id:r=`headlessui-popover-backdrop-${n}`,transition:o=!1,...l}=e,[{popoverState:a},s]=Xe("Popover.Backdrop"),i=c.useRef(null),f=J(t,i),u=ze(),[m,v]=dt(o,i,u!==null?(u&q.Open)===q.Open:a===0),d=O(g=>{if(jt(g.currentTarget))return g.preventDefault();s({type:1})}),p=c.useMemo(()=>({open:a===0}),[a]),h={ref:f,id:r,"aria-hidden":!0,onClick:d,...ft(v)};return ee({ourProps:h,theirProps:l,slot:p,defaultTag:Vo,features:Yo,visible:m,name:"Popover.Backdrop"})}let zo="div",Go=$e.RenderStrategy|$e.Static;function Uo(e,t){let n=c.useId(),{id:r=`headlessui-popover-panel-${n}`,focus:o=!1,anchor:l,portal:a=!1,modal:s=!1,transition:i=!1,...f}=e,[u,m]=Xe("Popover.Panel"),{close:v,isPortalled:d}=yt("Popover.Panel"),p=`headlessui-focus-sentinel-before-${n}`,h=`headlessui-focus-sentinel-after-${n}`,g=c.useRef(null),x=no(l),[y,b]=lo(x),R=oo();x&&(a=!0);let C=J(g,t,x?y:null,P=>{m({type:4,panel:P})}),M=we(g),L=$n();Y(()=>(m({type:5,panelId:r}),()=>{m({type:5,panelId:null})}),[r,m]);let F=ze(),[I,H]=dt(i,g,F!==null?(F&q.Open)===q.Open:u.popoverState===0);Yt(I,u.button,()=>{m({type:1})});let k=u.__demoMode?!1:s&&I;zn(k,M);let D=O(P=>{var w;switch(P.key){case de.Escape:if(u.popoverState!==0||!g.current||M!=null&&M.activeElement&&!g.current.contains(M.activeElement))return;P.preventDefault(),P.stopPropagation(),m({type:1}),(w=u.button)==null||w.focus();break}});c.useEffect(()=>{var P;e.static||u.popoverState===1&&((P=e.unmount)==null||P)&&m({type:4,panel:null})},[u.popoverState,e.unmount,e.static,m]),c.useEffect(()=>{if(u.__demoMode||!o||u.popoverState!==0||!g.current)return;let P=M?.activeElement;g.current.contains(P)||pe(g.current,ie.First)},[u.__demoMode,o,g,u.popoverState]);let N=c.useMemo(()=>({open:u.popoverState===0,close:v}),[u.popoverState,v]),B=rt(x?R():{},{ref:C,id:r,onKeyDown:D,onBlur:o&&u.popoverState===0?P=>{var w,S,T,_,V;let z=P.relatedTarget;z&&g.current&&((w=g.current)!=null&&w.contains(z)||(m({type:1}),((T=(S=u.beforePanelSentinel.current)==null?void 0:S.contains)!=null&&T.call(S,z)||(V=(_=u.afterPanelSentinel.current)==null?void 0:_.contains)!=null&&V.call(_,z))&&z.focus({preventScroll:!0})))}:void 0,tabIndex:-1,style:{...f.style,...b,"--button-width":Ln(u.button,!0).width},...ft(H)}),j=dn(),W=O(()=>{let P=g.current;if(!P)return;function w(){ne(j.current,{[te.Forwards]:()=>{var S;pe(P,ie.First)===ot.Error&&((S=u.afterPanelSentinel.current)==null||S.focus())},[te.Backwards]:()=>{var S;(S=u.button)==null||S.focus({preventScroll:!0})}})}w()}),E=O(()=>{let P=g.current;if(!P)return;function w(){ne(j.current,{[te.Forwards]:()=>{var S;if(!u.button)return;let T=ct(),_=T.indexOf(u.button),V=T.slice(0,_+1),z=[...T.slice(_+1),...V];for(let oe of z.slice())if(oe.dataset.headlessuiFocusGuard==="true"||(S=u.panel)!=null&&S.contains(oe)){let le=z.indexOf(oe);le!==-1&&z.splice(le,1)}pe(z,ie.First,{sorted:!1})},[te.Backwards]:()=>{var S;pe(P,ie.Previous)===ot.Error&&((S=u.button)==null||S.focus())}})}w()});return $.createElement(uo,null,$.createElement(Je.Provider,{value:r},$.createElement(Ke.Provider,{value:{close:v,isPortalled:d}},$.createElement(Ro,{enabled:a?e.static||I:!1},I&&d&&$.createElement(Se,{id:p,ref:u.beforePanelSentinel,features:Te.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:W}),ee({mergeRefs:L,ourProps:B,theirProps:f,slot:N,defaultTag:zo,features:Go,visible:I,name:"Popover.Panel"}),I&&d&&$.createElement(Se,{id:h,ref:u.afterPanelSentinel,features:Te.Focusable,"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:E})))))}let qo="div";function Xo(e,t){let n=c.useRef(null),r=J(n,t),[o,l]=c.useState([]),a=Po(),s=O(h=>{l(g=>{let x=g.indexOf(h);if(x!==-1){let y=g.slice();return y.splice(x,1),y}return g})}),i=O(h=>(l(g=>[...g,h]),()=>s(h))),f=O(()=>{var h;let g=Ht(n);if(!g)return!1;let x=g.activeElement;return(h=n.current)!=null&&h.contains(x)?!0:o.some(y=>{var b,R;return((b=g.getElementById(y.buttonId.current))==null?void 0:b.contains(x))||((R=g.getElementById(y.panelId.current))==null?void 0:R.contains(x))})}),u=O(h=>{for(let g of o)g.buttonId.current!==h&&g.close()}),m=c.useMemo(()=>({registerPopover:i,unregisterPopover:s,isFocusWithinPopoverGroup:f,closeOthers:u,mainTreeNodeRef:a.mainTreeNodeRef}),[i,s,f,u,a.mainTreeNodeRef]),v=c.useMemo(()=>({}),[]),d=e,p={ref:r};return $.createElement(bt.Provider,{value:m},ee({ourProps:p,theirProps:d,slot:v,defaultTag:qo,name:"Popover.Group"}),$.createElement(a.MainTreeNode,null))}let Ko=K(jo),Jo=K(_o),Qo=K(yn),Zo=K(yn),el=K(Uo),tl=K(Xo),Ne=Object.assign(Ko,{Button:Jo,Backdrop:Zo,Overlay:Qo,Panel:el,Group:tl});function nl({title:e,titleId:t,...n},r){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?c.createElement("title",{id:t},e):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))}const rl=c.forwardRef(nl);function ol({title:e,titleId:t,...n},r){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},n),e?c.createElement("title",{id:t},e):null,c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}const ll=c.forwardRef(ol);function fl({extraMobileLinks:e,links:t}){return A.jsxs(Ne,{children:[A.jsx("div",{className:"mx-auto max-w-7xl px-4 sm:px-6",children:A.jsxs("nav",{className:"relative flex items-center justify-between sm:h-10 md:justify-center","aria-label":"Global",children:[A.jsx("div",{className:"flex flex-1 items-center md:absolute md:inset-y-0 md:left-0",children:A.jsxs("div",{className:"flex w-full items-center justify-between md:w-auto",children:[A.jsxs("a",{href:"/",children:[A.jsx("span",{className:"sr-only",children:"RPCRouter"}),A.jsx("img",{className:"h-8 w-auto sm:h-10",src:"/favicon.svg",alt:""})]}),A.jsx("div",{className:"-mr-2 flex items-center md:hidden",children:A.jsxs(Ne.Button,{className:"relative inline-flex items-center justify-center rounded-md bg-gray-50 p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary-500",children:[A.jsx("span",{className:"absolute -inset-0.5"}),A.jsx("span",{className:"sr-only",children:"Open main menu"}),A.jsx(rl,{className:"h-6 w-6","aria-hidden":"true"})]})})]})}),A.jsx("div",{className:"hidden md:flex md:space-x-10",children:t.map(n=>A.jsx("a",{href:n.href,className:"font-medium text-gray-500 hover:text-gray-900",children:n.name},n.name))})]})}),A.jsx(Lo,{as:c.Fragment,enter:"duration-150 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-100 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:A.jsx(Ne.Panel,{focus:!0,className:"absolute inset-x-0 top-0 z-10 origin-top-right transform p-2 transition md:hidden",children:A.jsxs("div",{className:"overflow-hidden rounded-lg bg-white shadow-md ring-1 ring-black ring-opacity-5",children:[A.jsxs("div",{className:"flex items-center justify-between px-5 pt-4",children:[A.jsx("div",{children:A.jsx("img",{className:"h-8 w-auto",src:"/favicon.svg",alt:""})}),A.jsx("div",{className:"-mr-2",children:A.jsxs(Ne.Button,{className:"relative inline-flex items-center justify-center rounded-md bg-white p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-primary-500",children:[A.jsx("span",{className:"absolute -inset-0.5"}),A.jsx("span",{className:"sr-only",children:"Close menu"}),A.jsx(ll,{className:"h-6 w-6","aria-hidden":"true"})]})})]}),A.jsx("div",{className:"px-2 pb-3 pt-2",children:[...t,...e||[]].map(n=>A.jsx("a",{href:n.href,className:"block rounded-md px-3 py-2 text-base font-medium text-gray-700 hover:bg-gray-50 hover:text-gray-900",children:n.name},n.name))}),A.jsx("a",{href:"/panel/",className:"block w-full bg-gray-50 px-5 py-3 text-center font-medium text-primary-600 hover:bg-gray-100",children:"Dashboard"})]})})})]})}export{fl as default}; diff --git a/docs/_astro/IntegrationCode.CXPCcqH7.js b/docs/_astro/IntegrationCode.CXPCcqH7.js new file mode 100644 index 0000000..bdd23a1 --- /dev/null +++ b/docs/_astro/IntegrationCode.CXPCcqH7.js @@ -0,0 +1,16 @@ +import{j as k}from"./jsx-runtime.Yf6r0-8m.js";import{f as pe,c as te,d as fe,M as ee,W as L,s as q,y as G,a as C,n as K,H,$ as re,j as be,w as xe,D as ne,k as me,g as W,_ as U,q as B,u as ge,l as v,P as M,F as T,t as he}from"./use-is-mounted.LPfvORp8.js";import{r as s,G as R}from"./index.DoDIQzXB.js";function ve({onFocus:e}){let[t,n]=s.useState(!0),r=pe();return t?R.createElement(te,{as:"button",type:"button",features:fe.Focusable,onFocus:l=>{l.preventDefault();let a,o=50;function p(){if(o--<=0){a&&cancelAnimationFrame(a);return}if(e()){if(cancelAnimationFrame(a),!r.current)return;n(!1);return}a=requestAnimationFrame(p)}a=requestAnimationFrame(p)}}):null}const ae=s.createContext(null);function Te(){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 l=(n=r.get(t))!=null?n:0;r.set(t,l+1);let a=Array.from(r.keys()).indexOf(t);function o(){let p=r.get(t);p>1?r.set(t,p-1):r.delete(t)}return[a,o]}}}function Pe({children:e}){let t=s.useRef(Te());return s.createElement(ae.Provider,{value:t},e)}function se(e){let t=s.useContext(ae);if(!t)throw new Error("You must wrap your component in a ");let n=s.useId(),[r,l]=t.current.get(e,n);return s.useEffect(()=>l,[]),r}var we=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(we||{}),Ie=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(Ie||{}),ye=(e=>(e[e.SetSelectedIndex=0]="SetSelectedIndex",e[e.RegisterTab=1]="RegisterTab",e[e.UnregisterTab=2]="UnregisterTab",e[e.RegisterPanel=3]="RegisterPanel",e[e.UnregisterPanel=4]="UnregisterPanel",e))(ye||{});let Ee={0(e,t){var n;let r=U(e.tabs,i=>i.current),l=U(e.panels,i=>i.current),a=r.filter(i=>{var x;return!((x=i.current)!=null&&x.hasAttribute("disabled"))}),o={...e,tabs:r,panels:l};if(t.index<0||t.index>r.length-1){let i=W(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>W(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(a.length===0)return o;let x=W(i,{0:()=>r.indexOf(a[0]),1:()=>r.indexOf(a[a.length-1])});return{...o,selectedIndex:x===-1?e.selectedIndex:x}}let p=r.slice(0,t.index),P=[...r.slice(t.index),...p].find(i=>a.includes(i));if(!P)return o;let b=(n=r.indexOf(P))!=null?n:e.selectedIndex;return b===-1&&(b=e.selectedIndex),{...o,selectedIndex:b}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=U([...e.tabs,t.tab],a=>a.current),l=e.selectedIndex;return e.info.current.isControlled||(l=r.indexOf(n),l===-1&&(l=e.selectedIndex)),{...e,tabs:r,selectedIndex:l}},2(e,t){return{...e,tabs:e.tabs.filter(n=>n!==t.tab)}},3(e,t){return e.panels.includes(t.panel)?e:{...e,panels:U([...e.panels,t.panel],n=>n.current)}},4(e,t){return{...e,panels:e.panels.filter(n=>n!==t.panel)}}},z=s.createContext(null);z.displayName="TabsDataContext";function N(e){let t=s.useContext(z);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,N),n}return t}let V=s.createContext(null);V.displayName="TabsActionsContext";function X(e){let t=s.useContext(V);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,X),n}return t}function $e(e,t){return W(t.type,Ee,e,t)}let Fe="div";function ke(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:l=!1,onChange:a,selectedIndex:o=null,...p}=e;const P=r?"vertical":"horizontal",b=l?"manual":"auto";let i=o!==null,x=q({isControlled:i}),A=G(t),[f,c]=s.useReducer($e,{info:x,selectedIndex:o??n,tabs:[],panels:[]}),O=s.useMemo(()=>({selectedIndex:f.selectedIndex}),[f.selectedIndex]),m=q(a||(()=>{})),y=q(f.tabs),h=s.useMemo(()=>({orientation:P,activation:b,...f}),[P,b,f]),g=C(d=>(c({type:1,tab:d}),()=>c({type:2,tab:d}))),E=C(d=>(c({type:3,panel:d}),()=>c({type:4,panel:d}))),$=C(d=>{F.current!==d&&m.current(d),i||c({type:0,index:d})}),F=q(i?e.selectedIndex:f.selectedIndex),j=s.useMemo(()=>({registerTab:g,registerPanel:E,change:$}),[]);K(()=>{c({type:0,index:o??n})},[o]),K(()=>{if(F.current===void 0||f.tabs.length<=0)return;let d=U(f.tabs,w=>w.current);d.some((w,S)=>f.tabs[S]!==w)&&$(d.indexOf(f.tabs[F.current]))});let J={ref:A};return R.createElement(Pe,null,R.createElement(V.Provider,{value:j},R.createElement(z.Provider,{value:h},h.tabs.length<=0&&R.createElement(ve,{onFocus:()=>{var d,w;for(let S of y.current)if(((d=S.current)==null?void 0:d.tabIndex)===0)return(w=S.current)==null||w.focus(),!0;return!1}}),H({ourProps:J,theirProps:p,slot:O,defaultTag:Fe,name:"Tabs"}))))}let Ce="div";function Ae(e,t){let{orientation:n,selectedIndex:r}=N("Tab.List"),l=G(t),a=s.useMemo(()=>({selectedIndex:r}),[r]);return H({ourProps:{ref:l,role:"tablist","aria-orientation":n},theirProps:e,slot:a,defaultTag:Ce,name:"Tabs.List"})}let Se="button";function Me(e,t){var n,r;let l=s.useId(),{id:a=`headlessui-tabs-tab-${l}`,disabled:o=!1,autoFocus:p=!1,...P}=e,{orientation:b,activation:i,selectedIndex:x,tabs:A,panels:f}=N("Tab"),c=X("Tab"),O=N("Tab"),m=s.useRef(null),y=G(m,t);K(()=>c.registerTab(m),[c,m]);let h=se("tabs"),g=A.indexOf(m);g===-1&&(g=h);let E=g===x,$=C(u=>{var I;let _=u();if(_===B.Success&&i==="auto"){let ce=(I=ge(m))==null?void 0:I.activeElement,Z=O.tabs.findIndex(de=>de.current===ce);Z!==-1&&c.change(Z)}return _}),F=C(u=>{let I=A.map(_=>_.current).filter(Boolean);if(u.key===v.Space||u.key===v.Enter){u.preventDefault(),u.stopPropagation(),c.change(g);return}switch(u.key){case v.Home:case v.PageUp:return u.preventDefault(),u.stopPropagation(),$(()=>M(I,T.First));case v.End:case v.PageDown:return u.preventDefault(),u.stopPropagation(),$(()=>M(I,T.Last))}if($(()=>W(b,{vertical(){return u.key===v.ArrowUp?M(I,T.Previous|T.WrapAround):u.key===v.ArrowDown?M(I,T.Next|T.WrapAround):B.Error},horizontal(){return u.key===v.ArrowLeft?M(I,T.Previous|T.WrapAround):u.key===v.ArrowRight?M(I,T.Next|T.WrapAround):B.Error}}))===B.Success)return u.preventDefault()}),j=s.useRef(!1),J=C(()=>{var u;j.current||(j.current=!0,(u=m.current)==null||u.focus({preventScroll:!0}),c.change(g),he(()=>{j.current=!1}))}),d=C(u=>{u.preventDefault()}),{isFocusVisible:w,focusProps:S}=re({autoFocus:p}),{isHovered:Y,hoverProps:le}=be({isDisabled:o}),{pressed:Q,pressProps:oe}=xe({disabled:o}),ue=s.useMemo(()=>({selected:E,hover:Y,active:Q,focus:w,autofocus:p,disabled:o}),[E,Y,w,Q,p,o]),ie=ne({ref:y,onKeyDown:F,onMouseDown:d,onClick:J,id:a,role:"tab",type:me(e,m),"aria-controls":(r=(n=f[g])==null?void 0:n.current)==null?void 0:r.id,"aria-selected":E,tabIndex:E?0:-1,disabled:o||void 0,autoFocus:p},S,le,oe);return H({ourProps:ie,theirProps:P,slot:ue,defaultTag:Se,name:"Tabs.Tab"})}let Re="div";function Ne(e,t){let{selectedIndex:n}=N("Tab.Panels"),r=G(t),l=s.useMemo(()=>({selectedIndex:n}),[n]);return H({ourProps:{ref:r},theirProps:e,slot:l,defaultTag:Re,name:"Tabs.Panels"})}let Oe="div",je=ee.RenderStrategy|ee.Static;function De(e,t){var n,r,l,a;let o=s.useId(),{id:p=`headlessui-tabs-panel-${o}`,tabIndex:P=0,...b}=e,{selectedIndex:i,tabs:x,panels:A}=N("Tab.Panel"),f=X("Tab.Panel"),c=s.useRef(null),O=G(c,t);K(()=>f.registerPanel(c),[f,c]);let m=se("panels"),y=A.indexOf(c);y===-1&&(y=m);let h=y===i,{isFocusVisible:g,focusProps:E}=re(),$=s.useMemo(()=>({selected:h,focus:g}),[h,g]),F=ne({ref:O,id:p,role:"tabpanel","aria-labelledby":(r=(n=x[y])==null?void 0:n.current)==null?void 0:r.id,tabIndex:h?P:-1},E);return!h&&((l=b.unmount)==null||l)&&!((a=b.static)!=null&&a)?R.createElement(te,{as:"span","aria-hidden":"true",...F}):H({ourProps:F,theirProps:b,slot:$,defaultTag:Oe,features:je,visible:h,name:"Tabs.Panel"})}let Ue=L(Me),We=L(ke),Le=L(Ae),Ge=L(Ne),He=L(De),D=Object.assign(Ue,{Group:We,List:Le,Panels:Ge,Panel:He});const _e=`import Web3 from 'web3'; +const routerUrl = "http://127.0.0.1:3034/r/TOKEN" +const web3 = new Web3( + new Web3.providers.HttpProvider(routerUrl), +); +`,qe=`import { ethers } from "ethers"; +const routerUrl = "http://127.0.0.1:3034/r/TOKEN" +const provider = new ethers.providers.JsonRpcProvider(routerUrl); +`,Be=`curl http://127.0.0.1:3034/r/TOKEN \\ + -X POST \\ + -H "Content-Type: application/json" \\ + --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}' +`,Ke=`from web3 import Web3 +routerUrl = "http://127.0.0.1:3034/r/TOKEN" +web3 = Web3(Web3.HTTPProvider(routerUrl)) +`;function Xe(){return k.jsx(D.Group,{children:k.jsx("div",{className:"px-4 sm:px-0 mx-auto max-w-2xl sm:mx-0 sm:max-w-none",children:k.jsxs("div",{className:"sm:mt-4 overflow-hidden rounded-xl bg-gray-900 ring-1 ring-white/10",children:[k.jsx("div",{className:"flex bg-gray-800 ring-1 ring-white/5",children:k.jsx(D.List,{className:"-mb-px flex text-sm font-medium leading-6 text-gray-400",children:["web3.ts","ethers.ts","curl.sh","web3.py"].map(e=>k.jsx(D,{className:" border-r border-gray-600/10 px-4 py-2 outline-none ui-selected:bg-gray-900 ui-selected:text-white",children:e},e))})}),k.jsx(D.Panels,{children:[_e,qe,Be,Ke].map((e,t)=>k.jsx(D.Panel,{as:"pre",className:"text-xs px-6 pb-14 pt-6 text-white whitespace-prewrap",children:e},t))})]})})})}export{Xe as default}; diff --git a/docs/_astro/ProblemFlipper.82faKhBt.js b/docs/_astro/ProblemFlipper.82faKhBt.js new file mode 100644 index 0000000..67f5b28 --- /dev/null +++ b/docs/_astro/ProblemFlipper.82faKhBt.js @@ -0,0 +1 @@ +import{j as u}from"./jsx-runtime.Yf6r0-8m.js";import{r as s}from"./index.DoDIQzXB.js";const l=["down","lagging","timing out","giving errors","unreachable"];function f(){const[e,o]=s.useState(l[0]),[n,a]=s.useState(!1),[r,m]=s.useState(0);return s.useEffect(()=>{let t;return n?e.length>0?t=setTimeout(()=>{o(i=>i.slice(0,-1))},20):(a(!1),m(i=>(i+1)%l.length)):e!==l[r]?t=setTimeout(()=>{o(l[r].slice(0,e.length+1))},40):t=setTimeout(()=>{a(!0)},2e3),()=>clearTimeout(t)},[e,n,r]),u.jsx("span",{children:e||" "})}export{f as default}; diff --git a/docs/_astro/alchemy-logo.CHvgF18i_Z2hEPRQ.svg b/docs/_astro/alchemy-logo.CHvgF18i_Z2hEPRQ.svg new file mode 100644 index 0000000..a351de3 --- /dev/null +++ b/docs/_astro/alchemy-logo.CHvgF18i_Z2hEPRQ.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/docs/_astro/allnodes.DLyRi6Ml_Z1NObuA.svg b/docs/_astro/allnodes.DLyRi6Ml_Z1NObuA.svg new file mode 100644 index 0000000..6baf2a3 --- /dev/null +++ b/docs/_astro/allnodes.DLyRi6Ml_Z1NObuA.svg @@ -0,0 +1,14 @@ + + + + allnodes_logo + Created with Sketch. + + + + + + \ No newline at end of file diff --git a/docs/_astro/chainstack.CRUsIDRG_Z27lJgJ.svg b/docs/_astro/chainstack.CRUsIDRG_Z27lJgJ.svg new file mode 100644 index 0000000..cb3d3fd --- /dev/null +++ b/docs/_astro/chainstack.CRUsIDRG_Z27lJgJ.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/_astro/client.BwJgOd9v.js b/docs/_astro/client.BwJgOd9v.js new file mode 100644 index 0000000..e76cd67 --- /dev/null +++ b/docs/_astro/client.BwJgOd9v.js @@ -0,0 +1 @@ +import{r as o}from"./index.DoDIQzXB.js";import{r as v}from"./index.Be6mOCo7.js";var h,N,m=v;N=m.createRoot,h=m.hydrateRoot;const c=({value:t,name:e,hydrate:r=!0})=>{if(!t)return null;const a=r?"astro-slot":"astro-static-slot";return o.createElement(a,{name:e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}})};c.shouldComponentUpdate=()=>!1;function O(t){for(const e in t)if(e.startsWith("__reactContainer"))return e}function A(t){let e={};for(const r of t.attributes)e[r.name]=r.value;return t.firstChild===null?o.createElement(t.localName,e):o.createElement(t.localName,e,Array.from(t.childNodes).map(r=>r.nodeType===Node.TEXT_NODE?r.data:r.nodeType===Node.ELEMENT_NODE?A(r):void 0).filter(r=>!!r))}function R(t,e){if(e&&t){let r=[],a=document.createElement("template");a.innerHTML=t;for(let i of a.content.children)r.push(A(i));return r}else return t?o.createElement(c,{value:t}):void 0}let p=new WeakMap;const y=(t,e)=>{let r=p.get(t);return r||(r=e(),p.set(t,r)),r},x=t=>(e,r,{default:a,...i},{client:T})=>{if(!t.hasAttribute("ssr"))return;const d=t.getAttribute("data-action-key"),f=t.getAttribute("data-action-name"),l=t.getAttribute("data-action-result"),b=d&&f&&l?[JSON.parse(l),d,f]:void 0,g={identifierPrefix:t.getAttribute("prefix"),formState:b};for(const[s,n]of Object.entries(i))r[s]=o.createElement(c,{value:n,name:s});const u=o.createElement(e,r,R(a,t.hasAttribute("data-react-children"))),E=O(t);if(E&&delete t[E],T==="only")return o.startTransition(()=>{y(t,()=>{const n=N(t);return t.addEventListener("astro:unmount",()=>n.unmount(),{once:!0}),n}).render(u)});o.startTransition(()=>{y(t,()=>{const n=h(t,u,g);return t.addEventListener("astro:unmount",()=>n.unmount(),{once:!0}),n}).render(u)})};export{x as default}; diff --git a/docs/_astro/index.B3EJ4pTi.css b/docs/_astro/index.B3EJ4pTi.css new file mode 100644 index 0000000..f33d259 --- /dev/null +++ b/docs/_astro/index.B3EJ4pTi.css @@ -0,0 +1 @@ +*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}[type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-width:1px;border-radius:0;padding:.5rem .75rem;font-size:1rem;line-height:1.5rem;--tw-shadow: 0 0 #0000}[type=text]:focus,input:where(:not([type])):focus,[type=email]:focus,[type=url]:focus,[type=password]:focus,[type=number]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=month]:focus,[type=search]:focus,[type=tel]:focus,[type=time]:focus,[type=week]:focus,[multiple]:focus,textarea:focus,select:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);border-color:#2563eb}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{padding-top:0;padding-bottom:0}select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact;print-color-adjust:exact}[multiple],[size]:where(select:not([size="1"])){background-image:initial;background-position:initial;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset;print-color-adjust:unset}[type=checkbox],[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;-webkit-print-color-adjust:exact;print-color-adjust:exact;display:inline-block;vertical-align:middle;background-origin:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0;height:1rem;width:1rem;color:#2563eb;background-color:#fff;border-color:#6b7280;border-width:1px;--tw-shadow: 0 0 #0000}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 2px;--tw-ring-offset-color: #fff;--tw-ring-color: #2563eb;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}[type=checkbox]:checked,[type=radio]:checked{border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}[type=checkbox]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=checkbox]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e")}@media (forced-colors: active){[type=radio]:checked{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:checked:hover,[type=checkbox]:checked:focus,[type=radio]:checked:hover,[type=radio]:checked:focus{border-color:transparent;background-color:currentColor}[type=checkbox]:indeterminate{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");border-color:transparent;background-color:currentColor;background-size:100% 100%;background-position:center;background-repeat:no-repeat}@media (forced-colors: active){[type=checkbox]:indeterminate{-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{border-color:transparent;background-color:currentColor}[type=file]{background:unset;border-color:inherit;border-width:0;border-radius:0;padding:0;font-size:unset;line-height:inherit}[type=file]:focus{outline:1px solid ButtonText;outline:1px auto -webkit-focus-ring-color}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:48px;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111;text-align:center}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:32px;margin-top:2em;margin-bottom:1em;line-height:1.3333333;text-align:center}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:24px;margin-top:1.6em;margin-bottom:.6em;line-height:1.6;text-align:center}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;text-align:start;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.absolute{position:absolute}.relative{position:relative}.-inset-0{inset:-0px}.-inset-0\.5{inset:-.125rem}.inset-x-0{left:0;right:0}.left-1{left:.25rem}.left-full{left:100%}.right-full{right:100%}.top-0{top:0}.top-1{top:.25rem}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.col-start-2{grid-column-start:2}.mx-auto{margin-left:auto;margin-right:auto}.-mb-6{margin-bottom:-1.5rem}.-mb-px{margin-bottom:-1px}.-mr-2{margin-right:-.5rem}.-mt-6{margin-top:-1.5rem}.mb-4{margin-bottom:1rem}.ml-3{margin-left:.75rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.h-3{height:.75rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.max-h-12{max-height:3rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-3{width:.75rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:42rem}.max-w-7xl{max-width:80rem}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-prose{max-width:65ch}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-shrink-0,.shrink-0{flex-shrink:0}.origin-top-right{transform-origin:top right}.-translate-x-1\/4{--tw-translate-x: -25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-3\/4{--tw-translate-y: -75%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\/4{--tw-translate-x: 25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1\/4{--tw-translate-y: 25%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes ping{75%,to{transform:scale(2);opacity:0}}.animate-ping-slow{animation:ping 2s cubic-bezier(0,0,.2,1) infinite}.cursor-pointer{cursor:pointer}.columns-2{-moz-columns:2;columns:2}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-12{gap:3rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-8{-moz-column-gap:2rem;column-gap:2rem}.gap-y-10{row-gap:2.5rem}.gap-y-16{row-gap:4rem}.space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2.5rem * var(--tw-space-x-reverse));margin-left:calc(2.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-gray-600\/10{border-color:#4b55631a}.border-transparent{border-color:transparent}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.object-contain{-o-object-fit:contain;object-fit:contain}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-24{padding-top:6rem;padding-bottom:6rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-14{padding-bottom:3.5rem}.pb-16{padding-bottom:4rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-9{padding-left:2.25rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-primary-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-75{opacity:.75}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-white\/10{--tw-ring-color: rgb(255 255 255 / .1)}.ring-white\/5{--tw-ring-color: rgb(255 255 255 / .05)}.ring-opacity-5{--tw-ring-opacity: .05}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\:bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:shadow-lg:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-primary-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-primary-600:focus-visible{outline-color:#2563eb}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.ui-selected\:bg-gray-900[data-headlessui-state~=selected]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.ui-selected\:text-white[data-headlessui-state~=selected]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where([data-headlessui-state~=selected]) .ui-selected\:bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:where([data-headlessui-state~=selected]) .ui-selected\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:absolute{position:absolute}.sm\:inset-y-0{top:0;bottom:0}.sm\:col-start-2{grid-column-start:2}.sm\:col-start-auto{grid-column-start:auto}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:mt-24{margin-top:6rem}.sm\:mt-4{margin-top:1rem}.sm\:block{display:block}.sm\:flex{display:flex}.sm\:h-10{height:2.5rem}.sm\:h-full{height:100%}.sm\:w-auto{width:auto}.sm\:w-full{width:100%}.sm\:max-w-3xl{max-width:48rem}.sm\:max-w-none{max-width:none}.sm\:max-w-xl{max-width:36rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:justify-center{justify-content:center}.sm\:gap-x-10{-moz-column-gap:2.5rem;column-gap:2.5rem}.sm\:gap-y-20{row-gap:5rem}.sm\:space-x-12>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(3rem * var(--tw-space-x-reverse));margin-left:calc(3rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-md{border-radius:.375rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\:py-32{padding-top:8rem;padding-bottom:8rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:pb-24{padding-bottom:6rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\:shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:inset-y-0{top:0;bottom:0}.md\:left-0{left:0}.md\:right-0{right:0}.md\:mt-5{margin-top:1.25rem}.md\:mt-8{margin-top:2rem}.md\:flex{display:flex}.md\:hidden{display:none}.md\:w-auto{width:auto}.md\:max-w-3xl{max-width:48rem}.md\:-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:items-center{align-items:center}.md\:justify-end{justify-content:flex-end}.md\:justify-center{justify-content:center}.md\:space-x-10>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2.5rem * var(--tw-space-x-reverse));margin-left:calc(2.5rem * calc(1 - var(--tw-space-x-reverse)))}.md\:px-0{padding-left:0;padding-right:0}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:py-2{padding-top:.5rem;padding-bottom:.5rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-6xl{font-size:3.75rem;line-height:1}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:col-span-1{grid-column:span 1 / span 1}.lg\:mx-0{margin-left:0;margin-right:0}.lg\:max-w-7xl{max-width:80rem}.lg\:max-w-lg{max-width:32rem}.lg\:max-w-none{max-width:none}.lg\:-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:translate-x-1\/2{--tw-translate-x: 50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:items-start{align-items:flex-start}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-32{padding-top:8rem;padding-bottom:8rem}.lg\:pr-4{padding-right:1rem}.lg\:pt-4{padding-top:1rem}}@media (min-width: 1280px){.xl\:inline{display:inline}}.rtl\:rotate-180:where([dir=rtl],[dir=rtl] *){--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (prefers-color-scheme: dark){.dark\:border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.dark\:bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.dark\:text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.dark\:text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-primary-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.dark\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.dark\:hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}}@keyframes astroFadeInOut{0%{opacity:1}to{opacity:0}}@keyframes astroFadeIn{0%{opacity:0}}@keyframes astroFadeOut{to{opacity:0}}@keyframes astroSlideFromRight{0%{transform:translate(100%)}}@keyframes astroSlideFromLeft{0%{transform:translate(-100%)}}@keyframes astroSlideToRight{to{transform:translate(100%)}}@keyframes astroSlideToLeft{to{transform:translate(-100%)}}@media (prefers-reduced-motion){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}[data-astro-transition-scope]{animation:none!important}} diff --git a/docs/_astro/index.Be6mOCo7.js b/docs/_astro/index.Be6mOCo7.js new file mode 100644 index 0000000..e86eced --- /dev/null +++ b/docs/_astro/index.Be6mOCo7.js @@ -0,0 +1,24 @@ +import{r as _a}from"./index.DoDIQzXB.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[H];if(0>>1;Hl(sl,P))mnl(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mnl(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,F=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ul(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(N),N=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ul(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var Na=xo.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var za=_a,me=Na;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ol=Object.prototype.hasOwnProperty,Pa=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yu={},gu={};function Ta(e){return Ol.call(gu,e)?!0:Ol.call(yu,e)?!1:Pa.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function La(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ma(e,n,t,r){if(n===null||typeof n>"u"||La(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[u]!==i[o]){var s=` +`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Da(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Fl:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Po:return(e.displayName||"Context")+".Consumer";case zo:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Ra(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Ti?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Lo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oa(e){var n=Lo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Oa(e))}function Mo(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Do(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Do(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Fa=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){Fa.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function Io(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function jo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Io(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ia=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(Ia[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Uo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Vo(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Ya(e)/Xa|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function qa(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Ou=!1;function is(e,n){switch(e){case"keyup":return Nc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function us(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Pc(e,n){switch(e){case"compositionend":return us(n);case"keypress":return n.which!==32?null:(Ou=!0,Ru);case"textInput":return e=n.data,e===Ru&&Ou?null:e;default:return null}}function Tc(e,n){if(Dn)return e==="compositionend"||!Ai&&is(e,n)?(e=rs(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function cs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?cs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function fs(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Uc(e){var n=fs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){O(se),O(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function ks(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Ra(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ks(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,O(se),O(te),D(te,e)):O(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Ss(e){je===null?je=[e]:je.push(e)}function Zc(e){Zr=!0,Ss(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function F(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&Ju(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,F(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return F}var Jn=_s(!0),Ns=_s(!1),Or=fn(null),Fr=null,Vn=null,$i=null;function Ki(){$i=Vn=Fr=null}function Yi(e){var n=Or.current;O(Or),e._currentValue=n}function ai(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){Fr=e,$i=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if($i!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Fr===null)throw Error(y(308));Vn=e,Fr.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var gn=null;function Xi(e){gn===null?gn=[e]:gn.push(e)}function zs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Xi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ps(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ae(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Xi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function mr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Oi(e,t)}}function qu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ir(e,n,t,r){var l=e.updateQueue;Xe=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function bu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function $s(){return Ee().memoizedState}function ef(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ks(e))Ys(n,t);else if(t=zs(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Xs(t,n,r)}}function nf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ks(e))Ys(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=zs(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Xs(t,n,r))}}function Ks(e){var n=e.alternate;return e===U||n!==null&&n===U}function Ys(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Oi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},tf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:no,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,As.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=ef.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:eo,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=eo(!1),n=e[0];return e=bc.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Ds(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,no(Os.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Rs.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,la(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function ff(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),O(se),O(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(O(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return O(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,df=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function pf(e,n){if(ni=Nr,e=fs(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Xc],delete n[Gc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new df),n.forEach(function(r){var l=Ef.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*vf(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Sf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Ef(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,af(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=qr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=xf(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(na(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ps(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ts(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ea(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return ta(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Or,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function Cf(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new Cf(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function xf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Fl:return e=we(12,t,n,l|2),e.elementType=Fl,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case To:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:u=10;break e;case Po:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=To,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function _f(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new _f(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Nf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Df=Co.exports;export{Df as r}; diff --git a/docs/_astro/index.DoDIQzXB.js b/docs/_astro/index.DoDIQzXB.js new file mode 100644 index 0000000..cf4cdb0 --- /dev/null +++ b/docs/_astro/index.DoDIQzXB.js @@ -0,0 +1,9 @@ +function T(e,t){for(var n=0;nu[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function V(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var R={exports:{}},r={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y=Symbol.for("react.element"),F=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),N=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),H=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),k=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=k&&e[k]||e["@@iterator"],typeof e=="function"?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,C={};function p(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||g}p.prototype.isReactComponent={};p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function O(){}O.prototype=p.prototype;function m(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||g}var S=m.prototype=new O;S.constructor=m;j(S,p.prototype);S.isPureReactComponent=!0;var w=Array.isArray,P=Object.prototype.hasOwnProperty,b={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var u,o={},c=null,s=null;if(t!=null)for(u in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)P.call(t,u)&&!x.hasOwnProperty(u)&&(o[u]=t[u]);var f=arguments.length-2;if(f===1)o.children=n;else if(1 \ No newline at end of file diff --git a/docs/_astro/jsx-runtime.Yf6r0-8m.js b/docs/_astro/jsx-runtime.Yf6r0-8m.js new file mode 100644 index 0000000..19d72df --- /dev/null +++ b/docs/_astro/jsx-runtime.Yf6r0-8m.js @@ -0,0 +1,9 @@ +import{r as l}from"./index.DoDIQzXB.js";var f={exports:{}},n={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var u=l,m=Symbol.for("react.element"),x=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function i(t,r,p){var e,o={},s=null,_=null;p!==void 0&&(s=""+p),r.key!==void 0&&(s=""+r.key),r.ref!==void 0&&(_=r.ref);for(e in r)y.call(r,e)&&!v.hasOwnProperty(e)&&(o[e]=r[e]);if(t&&t.defaultProps)for(e in r=t.defaultProps,r)o[e]===void 0&&(o[e]=r[e]);return{$$typeof:m,type:t,key:s,ref:_,props:o,_owner:a.current}}n.Fragment=x;n.jsx=i;n.jsxs=i;f.exports=n;var d=f.exports;export{d as j}; diff --git a/docs/_astro/quicknode.CeDQFJr7_18DNGs.svg b/docs/_astro/quicknode.CeDQFJr7_18DNGs.svg new file mode 100644 index 0000000..85150d7 --- /dev/null +++ b/docs/_astro/quicknode.CeDQFJr7_18DNGs.svg @@ -0,0 +1,60 @@ + + + + +Created by potrace 1.16, written by Peter Selinger 2001-2019 + + + + + + + + + + + + + + + diff --git a/docs/_astro/use-is-mounted.LPfvORp8.js b/docs/_astro/use-is-mounted.LPfvORp8.js new file mode 100644 index 0000000..60be3f5 --- /dev/null +++ b/docs/_astro/use-is-mounted.LPfvORp8.js @@ -0,0 +1,4 @@ +import{G as U,r as c}from"./index.DoDIQzXB.js";const V=typeof document<"u"?U.useLayoutEffect:()=>{};function re(e){const n=c.useRef(null);return V(()=>{n.current=e},[e]),c.useCallback((...t)=>{const r=n.current;return r?.(...t)},[])}const w=e=>{var n;return(n=e?.ownerDocument)!==null&&n!==void 0?n:document},g=e=>e&&"window"in e&&e.window===e?e:w(e).defaultView||window;function oe(e){var n;return typeof window>"u"||window.navigator==null?!1:((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function ie(e){var n;return typeof window<"u"&&window.navigator!=null?e.test(((n=window.navigator.userAgentData)===null||n===void 0?void 0:n.platform)||window.navigator.platform):!1}function ue(){return ie(/^Mac/i)}function ae(){return oe(/Android/i)}function se(e){return e.mozInputSource===0&&e.isTrusted?!0:ae()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}class le{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(n,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=n}}function G(e){let n=c.useRef({isFocused:!1,observer:null});V(()=>{const r=n.current;return()=>{r.observer&&(r.observer.disconnect(),r.observer=null)}},[]);let t=re(r=>{e?.(r)});return c.useCallback(r=>{if(r.target instanceof HTMLButtonElement||r.target instanceof HTMLInputElement||r.target instanceof HTMLTextAreaElement||r.target instanceof HTMLSelectElement){n.current.isFocused=!0;let o=r.target,i=u=>{n.current.isFocused=!1,o.disabled&&t(new le("blur",u)),n.current.observer&&(n.current.observer.disconnect(),n.current.observer=null)};o.addEventListener("focusout",i,{once:!0}),n.current.observer=new MutationObserver(()=>{if(n.current.isFocused&&o.disabled){var u;(u=n.current.observer)===null||u===void 0||u.disconnect();let s=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:s})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:s}))}}),n.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[t])}function ce(e){let{isDisabled:n,onFocus:t,onBlur:r,onFocusChange:o}=e;const i=c.useCallback(a=>{if(a.target===a.currentTarget)return r&&r(a),o&&o(!1),!0},[r,o]),u=G(i),s=c.useCallback(a=>{const d=w(a.target);a.target===a.currentTarget&&d.activeElement===a.target&&(t&&t(a),o&&o(!0),u(a))},[o,t,u]);return{focusProps:{onFocus:!n&&(t||o||r)?s:void 0,onBlur:!n&&(r||o)?i:void 0}}}let T=null,O=new Set,y=new Map,$=!1,N=!1;const de={Tab:!0,Escape:!0};function W(e,n){for(let t of O)t(e,n)}function fe(e){return!(e.metaKey||!ue()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function S(e){$=!0,fe(e)&&(T="keyboard",W("keyboard",e))}function m(e){T="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&($=!0,W("pointer",e))}function q(e){se(e)&&($=!0,T="virtual")}function X(e){e.target===window||e.target===document||(!$&&!N&&(T="virtual",W("virtual",e)),$=!1,N=!1)}function Y(){$=!1,N=!0}function D(e){if(typeof window>"u"||y.get(g(e)))return;const n=g(e),t=w(e);let r=n.HTMLElement.prototype.focus;n.HTMLElement.prototype.focus=function(){$=!0,r.apply(this,arguments)},t.addEventListener("keydown",S,!0),t.addEventListener("keyup",S,!0),t.addEventListener("click",q,!0),n.addEventListener("focus",X,!0),n.addEventListener("blur",Y,!1),typeof PointerEvent<"u"?(t.addEventListener("pointerdown",m,!0),t.addEventListener("pointermove",m,!0),t.addEventListener("pointerup",m,!0)):(t.addEventListener("mousedown",m,!0),t.addEventListener("mousemove",m,!0),t.addEventListener("mouseup",m,!0)),n.addEventListener("beforeunload",()=>{z(e)},{once:!0}),y.set(n,{focus:r})}const z=(e,n)=>{const t=g(e),r=w(e);n&&r.removeEventListener("DOMContentLoaded",n),y.has(t)&&(t.HTMLElement.prototype.focus=y.get(t).focus,r.removeEventListener("keydown",S,!0),r.removeEventListener("keyup",S,!0),r.removeEventListener("click",q,!0),t.removeEventListener("focus",X,!0),t.removeEventListener("blur",Y,!1),typeof PointerEvent<"u"?(r.removeEventListener("pointerdown",m,!0),r.removeEventListener("pointermove",m,!0),r.removeEventListener("pointerup",m,!0)):(r.removeEventListener("mousedown",m,!0),r.removeEventListener("mousemove",m,!0),r.removeEventListener("mouseup",m,!0)),y.delete(t))};function ve(e){const n=w(e);let t;return n.readyState!=="loading"?D(e):(t=()=>{D(e)},n.addEventListener("DOMContentLoaded",t)),()=>z(e,t)}typeof document<"u"&&ve();function Z(){return T!=="pointer"}const pe=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function be(e,n,t){var r;const o=typeof window<"u"?g(t?.target).HTMLInputElement:HTMLInputElement,i=typeof window<"u"?g(t?.target).HTMLTextAreaElement:HTMLTextAreaElement,u=typeof window<"u"?g(t?.target).HTMLElement:HTMLElement,s=typeof window<"u"?g(t?.target).KeyboardEvent:KeyboardEvent;return e=e||t?.target instanceof o&&!pe.has(t==null||(r=t.target)===null||r===void 0?void 0:r.type)||t?.target instanceof i||t?.target instanceof u&&t?.target.isContentEditable,!(e&&n==="keyboard"&&t instanceof s&&!de[t.key])}function me(e,n,t){D(),c.useEffect(()=>{let r=(o,i)=>{be(!!t?.isTextInput,o,i)&&e(Z())};return O.add(r),()=>{O.delete(r)}},n)}function he(e){let{isDisabled:n,onBlurWithin:t,onFocusWithin:r,onFocusWithinChange:o}=e,i=c.useRef({isFocusWithin:!1}),u=c.useCallback(d=>{i.current.isFocusWithin&&!d.currentTarget.contains(d.relatedTarget)&&(i.current.isFocusWithin=!1,t&&t(d),o&&o(!1))},[t,o,i]),s=G(u),a=c.useCallback(d=>{!i.current.isFocusWithin&&document.activeElement===d.target&&(r&&r(d),o&&o(!0),i.current.isFocusWithin=!0,s(d))},[r,o,s]);return n?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:a,onBlur:u}}}let M=!1,x=0;function C(){M=!0,setTimeout(()=>{M=!1},50)}function _(e){e.pointerType==="touch"&&C()}function ge(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",_):document.addEventListener("touchend",C),x++,()=>{x--,!(x>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",_):document.removeEventListener("touchend",C))}}function Xe(e){let{onHoverStart:n,onHoverChange:t,onHoverEnd:r,isDisabled:o}=e,[i,u]=c.useState(!1),s=c.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;c.useEffect(ge,[]);let{hoverProps:a,triggerHoverEnd:d}=c.useMemo(()=>{let f=(l,b)=>{if(s.pointerType=b,o||b==="touch"||s.isHovered||!l.currentTarget.contains(l.target))return;s.isHovered=!0;let h=l.currentTarget;s.target=h,n&&n({type:"hoverstart",target:h,pointerType:b}),t&&t(!0),u(!0)},p=(l,b)=>{if(s.pointerType="",s.target=null,b==="touch"||!s.isHovered)return;s.isHovered=!1;let h=l.currentTarget;r&&r({type:"hoverend",target:h,pointerType:b}),t&&t(!1),u(!1)},v={};return typeof PointerEvent<"u"?(v.onPointerEnter=l=>{M&&l.pointerType==="mouse"||f(l,l.pointerType)},v.onPointerLeave=l=>{!o&&l.currentTarget.contains(l.target)&&p(l,l.pointerType)}):(v.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},v.onMouseEnter=l=>{!s.ignoreEmulatedMouseEvents&&!M&&f(l,"mouse"),s.ignoreEmulatedMouseEvents=!1},v.onMouseLeave=l=>{!o&&l.currentTarget.contains(l.target)&&p(l,"mouse")}),{hoverProps:v,triggerHoverEnd:p}},[n,t,r,o,s]);return c.useEffect(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:a,isHovered:i}}function Ye(e={}){let{autoFocus:n=!1,isTextInput:t,within:r}=e,o=c.useRef({isFocused:!1,isFocusVisible:n||Z()}),[i,u]=c.useState(!1),[s,a]=c.useState(()=>o.current.isFocused&&o.current.isFocusVisible),d=c.useCallback(()=>a(o.current.isFocused&&o.current.isFocusVisible),[]),f=c.useCallback(l=>{o.current.isFocused=l,u(l),d()},[d]);me(l=>{o.current.isFocusVisible=l,d()},[],{isTextInput:t});let{focusProps:p}=ce({isDisabled:r,onFocusChange:f}),{focusWithinProps:v}=he({isDisabled:!r,onFocusWithinChange:f});return{isFocused:i,isFocusVisible:s,focusProps:r?v:p}}var $e=Object.defineProperty,Ee=(e,n,t)=>n in e?$e(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,H=(e,n,t)=>(Ee(e,typeof n!="symbol"?n+"":n,t),t);let ye=class{constructor(){H(this,"current",this.detect()),H(this,"handoffState","pending"),H(this,"currentId",0)}set(n){this.current!==n&&(this.handoffState="pending",this.currentId=0,this.current=n)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},J=new ye;function Q(e){return J.isServer?null:e instanceof Node?e.ownerDocument:e!=null&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function we(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(n=>setTimeout(()=>{throw n}))}function ee(){let e=[],n={addEventListener(t,r,o,i){return t.addEventListener(r,o,i),n.add(()=>t.removeEventListener(r,o,i))},requestAnimationFrame(...t){let r=requestAnimationFrame(...t);return n.add(()=>cancelAnimationFrame(r))},nextFrame(...t){return n.requestAnimationFrame(()=>n.requestAnimationFrame(...t))},setTimeout(...t){let r=setTimeout(...t);return n.add(()=>clearTimeout(r))},microTask(...t){let r={current:!0};return we(()=>{r.current&&t[0]()}),n.add(()=>{r.current=!1})},style(t,r,o){let i=t.style.getPropertyValue(r);return Object.assign(t.style,{[r]:o}),this.add(()=>{Object.assign(t.style,{[r]:i})})},group(t){let r=ee();return t(r),this.add(()=>r.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let o of e.splice(r,1))o()}},dispose(){for(let t of e.splice(0))t()}};return n}function Te(){let[e]=c.useState(ee);return c.useEffect(()=>()=>e.dispose(),[e]),e}let A=(e,n)=>{J.isServer?c.useEffect(e,n):c.useLayoutEffect(e,n)};function Fe(e){let n=c.useRef(e);return A(()=>{n.current=e},[e]),n}let I=function(e){let n=Fe(e);return U.useCallback((...t)=>n.current(...t),[n])};function Le(e){let n=e.width/2,t=e.height/2;return{top:e.clientY-t,right:e.clientX+n,bottom:e.clientY+t,left:e.clientX-n}}function Pe(e,n){return!(!e||!n||e.rightn.right||e.bottomn.bottom)}function Ze({disabled:e=!1}={}){let n=c.useRef(null),[t,r]=c.useState(!1),o=Te(),i=I(()=>{n.current=null,r(!1),o.dispose()}),u=I(s=>{if(o.dispose(),n.current===null){n.current=s.currentTarget,r(!0);{let a=Q(s.currentTarget);o.addEventListener(a,"pointerup",i,!1),o.addEventListener(a,"pointermove",d=>{if(n.current){let f=Le(d);r(Pe(f,n.current.getBoundingClientRect()))}},!1),o.addEventListener(a,"pointercancel",i,!1)}}});return{pressed:t,pressProps:e?{}:{onPointerDown:u,onPointerUp:i,onClick:i}}}function B(...e){return Array.from(new Set(e.flatMap(n=>typeof n=="string"?n.split(" "):[]))).filter(Boolean).join(" ")}function R(e,n,...t){if(e in n){let o=n[e];return typeof o=="function"?o(...t):o}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(o=>`"${o}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,R),r}var Se=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Se||{}),Me=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Me||{});function Ae({ourProps:e,theirProps:n,slot:t,defaultTag:r,features:o,visible:i=!0,name:u,mergeRefs:s}){s=s??xe;let a=te(n,e);if(i)return P(a,t,r,u,s);let d=o??0;if(d&2){let{static:f=!1,...p}=a;if(f)return P(p,t,r,u,s)}if(d&1){let{unmount:f=!0,...p}=a;return R(f?0:1,{0(){return null},1(){return P({...p,hidden:!0,style:{display:"none"}},t,r,u,s)}})}return P(a,t,r,u,s)}function P(e,n={},t,r,o){let{as:i=t,children:u,refName:s="ref",...a}=k(e,["unmount","static"]),d=e.ref!==void 0?{[s]:e.ref}:{},f=typeof u=="function"?u(n):u;"className"in a&&a.className&&typeof a.className=="function"&&(a.className=a.className(n)),a["aria-labelledby"]&&a["aria-labelledby"]===a.id&&(a["aria-labelledby"]=void 0);let p={};if(n){let v=!1,l=[];for(let[b,h]of Object.entries(n))typeof h=="boolean"&&(v=!0),h===!0&&l.push(b.replace(/([A-Z])/g,F=>`-${F.toLowerCase()}`));if(v){p["data-headlessui-state"]=l.join(" ");for(let b of l)p[`data-${b}`]=""}}if(i===c.Fragment&&(Object.keys(E(a)).length>0||Object.keys(E(p)).length>0))if(!c.isValidElement(f)||Array.isArray(f)&&f.length>1){if(Object.keys(E(a)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(E(a)).concat(Object.keys(E(p))).map(v=>` - ${v}`).join(` +`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(v=>` - ${v}`).join(` +`)].join(` +`))}else{let v=f.props,l=v?.className,b=typeof l=="function"?(...L)=>B(l(...L),a.className):B(l,a.className),h=b?{className:b}:{},F=te(f.props,E(k(a,["ref"])));for(let L in p)L in F&&delete p[L];return c.cloneElement(f,Object.assign({},F,p,d,{ref:o(f.ref,d.ref)},h))}return c.createElement(i,Object.assign({},k(a,["ref"]),i!==c.Fragment&&d,i!==c.Fragment&&p),f)}function Je(){let e=c.useRef([]),n=c.useCallback(t=>{for(let r of e.current)r!=null&&(typeof r=="function"?r(t):r.current=t)},[]);return(...t)=>{if(!t.every(r=>r==null))return e.current=t,n}}function xe(...e){return e.every(n=>n==null)?void 0:n=>{for(let t of e)t!=null&&(typeof t=="function"?t(n):t.current=n)}}function te(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(t[o]!=null||(t[o]=[]),t[o].push(r[o])):n[o]=r[o];if(n.disabled||n["aria-disabled"])for(let r in t)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(r)&&(t[r]=[o=>{var i;return(i=o?.preventDefault)==null?void 0:i.call(o)}]);for(let r in t)Object.assign(n,{[r](o,...i){let u=t[r];for(let s of u){if((o instanceof Event||o?.nativeEvent instanceof Event)&&o.defaultPrevented)return;s(o,...i)}}});return n}function Qe(...e){if(e.length===0)return{};if(e.length===1)return e[0];let n={},t={};for(let r of e)for(let o in r)o.startsWith("on")&&typeof r[o]=="function"?(t[o]!=null||(t[o]=[]),t[o].push(r[o])):n[o]=r[o];for(let r in t)Object.assign(n,{[r](...o){let i=t[r];for(let u of i)u?.(...o)}});return n}function He(e){var n;return Object.assign(c.forwardRef(e),{displayName:(n=e.displayName)!=null?n:e.name})}function E(e){let n=Object.assign({},e);for(let t in n)n[t]===void 0&&delete n[t];return n}function k(e,n=[]){let t=Object.assign({},e);for(let r of n)r in t&&delete t[r];return t}let ke="div";var Oe=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Oe||{});function Ne(e,n){var t;let{features:r=1,...o}=e,i={ref:n,"aria-hidden":(r&2)===2?!0:(t=o["aria-hidden"])!=null?t:void 0,hidden:(r&4)===4?!0: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",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ae({ourProps:i,theirProps:o,slot:{},defaultTag:ke,name:"Hidden"})}let et=He(Ne),ne=Symbol();function tt(e,n=!0){return Object.assign(e,{[ne]:n})}function nt(...e){let n=c.useRef(e);c.useEffect(()=>{n.current=e},[e]);let t=I(r=>{for(let o of n.current)o!=null&&(typeof o=="function"?o(r):o.current=r)});return e.every(r=>r==null||r?.[ne])?void 0:t}var De=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(De||{});let j=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Ce=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(Ie||{}),je=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(je||{}),We=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(We||{});function Re(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(j)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}function _e(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Ce)).sort((n,t)=>Math.sign((n.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Be=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Be||{});function rt(e,n=0){var t;return e===((t=Q(e))==null?void 0:t.body)?!1:R(n,{0(){return e.matches(j)},1(){let r=e;for(;r!==null;){if(r.matches(j))return!0;r=r.parentElement}return!1}})}var Ke=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ke||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let Ue=["textarea","input"].join(",");function Ve(e){var n,t;return(t=(n=e?.matches)==null?void 0:n.call(e,Ue))!=null?t:!1}function Ge(e,n=t=>t){return e.slice().sort((t,r)=>{let o=n(t),i=n(r);if(o===null||i===null)return 0;let u=o.compareDocumentPosition(i);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ot(e,n,{sorted:t=!0,relativeTo:r=null,skipElements:o=[]}={}){let i=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,u=Array.isArray(e)?t?Ge(e):e:n&64?_e(e):Re(e);o.length>0&&u.length>1&&(u=u.filter(l=>!o.some(b=>b!=null&&"current"in b?b?.current===l:b===l))),r=r??i.activeElement;let s=(()=>{if(n&5)return 1;if(n&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),a=(()=>{if(n&1)return 0;if(n&2)return Math.max(0,u.indexOf(r))-1;if(n&4)return Math.max(0,u.indexOf(r))+1;if(n&8)return u.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=n&32?{preventScroll:!0}:{},f=0,p=u.length,v;do{if(f>=p||f+p<=0)return 0;let l=a+f;if(n&16)l=(l+p)%p;else{if(l<0)return 3;if(l>=p)return 1}v=u[l],v?.focus(d),f+=s}while(v!==i.activeElement);return n&6&&Ve(v)&&v.select(),2}function K(e){var n;if(e.type)return e.type;let t=(n=e.as)!=null?n:"button";if(typeof t=="string"&&t.toLowerCase()==="button")return"button"}function it(e,n){let[t,r]=c.useState(()=>K(e));return A(()=>{r(K(e))},[e.type,e.as]),A(()=>{t||n.current&&n.current instanceof HTMLButtonElement&&!n.current.hasAttribute("type")&&r("button")},[t,n]),t}function ut(){let e=c.useRef(!1);return A(()=>(e.current=!0,()=>{e.current=!1}),[]),e}export{Ye as $,rt as A,Qe as D,Ie as F,Ae as H,Je as I,Se as M,Me as O,ot as P,tt as T,He as W,Ge as _,I as a,J as b,et as c,Oe as d,B as e,ut as f,R as g,Be as h,Re as i,Xe as j,it as k,De as l,E as m,A as n,ee as o,Te as p,je as q,Fe as s,we as t,Q as u,Ze as w,nt as y}; diff --git a/docs/favicon.svg b/docs/favicon.svg new file mode 100644 index 0000000..f157bd1 --- /dev/null +++ b/docs/favicon.svg @@ -0,0 +1,9 @@ + + + + diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..e16b124 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,144 @@ + RPCRouter - RPC reliability solition for blockchain

Blockchain RPC down +again? +

+Tired of inconsistent blockchain RPC availability? RPCRouter seamlessly consolidates multiple RPC endpoints into a singular, high-speed, and dependable super-endpoint. +

Unify Your RPC Endpoints

RPCRouter is an open-source high-availability, low-latency, and failover-protected endpoint designed to optimize your RPC requests' latency and reliability.

Seamless Failover

Automatically reroutes failed requests, maintaining uninterrupted service for your users.

Predictive Routing

Utilizes real-time stats on latency and failure rates to dynamically select the optimal endpoint.

Front-Runners Mitigation

Intelligently broadcasts transactions to effectively shield against potential front-running attacks.

Enhanced De-Fi Security

Optionally performs multiple parallel RPC response verifications to ensure node integrity and prevent deception.

Self-Hosted

Deploy RPCRouter within your own infrastructure for critical services like bridges, enhancing control and security.

Commercial support

Get commercial support for RPCRouter from the team behind RPCRouter.

Compatible with all leading RPC providers

Alchemy Chainstack Infura QuickNode AllNodes

Plug & Play

Already compatible with your Web3 App

RPCRouter works with all popular Web3 libraries. Just switch the endpoint—no code changes needed.

import Web3 from 'web3';
+const routerUrl = "http://127.0.0.1:3034/r/TOKEN"
+const web3 = new Web3(
+    new Web3.providers.HttpProvider(routerUrl),
+);
+

RPCRouter is an open-source project that consolidates multiple blockchain RPC endpoints into a single, high-availability, low-latency endpoint, ensuring optimal and reliable RPC services for your applications.

+

Get started with RPCRouter

+

Save this file as docker-compose.yml, cd to the directory and run docker compose pull && docker-compose up -d to start the router.

+
services:
+  rpcrouter:
+    container_name: rpcrouter
+    image: "containerman17/rpcrouter:v1.0.0" # make sure to run docker-compose pull to get the latest version
+    restart: always
+    ports:
+      - "3024:3024" # or "127.0.0.1:3024:3024" if you want to bind to localhost only
+    environment:
+      - "RPCROUTER_CROSS_CHECKS=0" # 0 - disable, 1 - double check (1 extra), 2 - triple check (2 extra)
+      # the format is "RPCROUTER_URL_<network>_<index>=<url>"
+      - "RPCROUTER_URL_fuji_1=https://ava-testnet.public.blastapi.io/ext/bc/C/rpc"
+      - "RPCROUTER_URL_fuji_2=https://rpc.ankr.com/avalanche_fuji"
+      - "RPCROUTER_URL_fuji_3=https://avalanche-fuji.blockpi.network/v1/rpc/public"
+      # another network
+      - "RPCROUTER_URL_fantom_1=https://rpc.ankr.com/fantom"
+      - "RPCROUTER_URL_fantom_2=https://rpc.fantom.network"
+      - "RPCROUTER_URL_fantom_3=https://fantom.blockpi.network/v1/rpc/public"
+
+

We recommend co-locating your router with your code. For frontend applications, you should deploy RPCRouter on fly.io in multiple regions.

+

Configuration

+

The configuration for RPCRouter is done through environment variables. Below is a description of the configuration options used in the example above:

+
    +
  • +

    RPCROUTER_CROSS_CHECKS: This variable controls the cross-checking mechanism. It can be set to:

    +
      +
    • 0: Disable cross-checks.
    • +
    • 1: Enable double-checking (one extra check).
    • +
    • 2: Enable triple-checking (two extra checks).
    • +
    +
  • +
  • +

    RPCROUTER_URL_<network>_<index>: These variables define the RPC endpoints for different networks. The format is RPCROUTER_URL_<network>_<index>=<url>, where:

    +
      +
    • <network> is a string representing the name of the blockchain network (e.g., network1, network2).
    • +
    • <index> is a unique index for each endpoint of the network.
    • +
    • <url> is the URL of the RPC endpoint.
    • +
    +
  • +
+

In the example provided, the following endpoints are configured:

+
    +
  • +

    For the network1:

    +
      +
    • RPCROUTER_URL_network1_1=https://example1.com/rpc
    • +
    • RPCROUTER_URL_network1_2=https://example2.com/rpc
    • +
    • RPCROUTER_URL_network1_3=https://example3.com/rpc
    • +
    +
  • +
  • +

    For the network2:

    +
      +
    • RPCROUTER_URL_network2_1=https://example4.com/rpc
    • +
    • RPCROUTER_URL_network2_2=https://example5.com/rpc
    • +
    • RPCROUTER_URL_network2_3=https://example6.com/rpc
    • +
    +
  • +
+

These environment variables should be set in the docker-compose.yml file to configure RPCRouter with the desired endpoints and cross-checking behavior.

+

Replace Your Current Endpoints

+

RPCRouter endpoints seamlessly integrate with your web3 application as standard endpoints. No modifications are necessary to amalgamate multiple RPC endpoints into a singular, reliable, and low-latency endpoint.

+

JS/TS web3.js

+
import Web3 from 'web3';
+const routerUrl = "http://127.0.0.1:3034/r/fuji"
+const web3 = new Web3(
+    new Web3.providers.HttpProvider(routerUrl),
+);
+
+

JS/TS ethers.js

+
import { ethers } from "ethers";
+const routerUrl = "http://127.0.0.1:3034/r/fuji"
+const provider = new ethers.providers.JsonRpcProvider(routerUrl);
+
+

Bash + curl

+
curl http://127.0.0.1:3034/r/TOKEN \
+  -X POST \
+  -H "Content-Type: application/json" \
+  --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}'
+
+

Python web3.py

+
from web3 import Web3
+routerUrl = "http://127.0.0.1:3034/r/TOKEN"
+web3 = Web3(Web3.HTTPProvider(routerUrl))
+
+

Websocket Support

+

Regular requests

+

RPCRouter works in HTTP->WebSocket, WebSocket->HTTP, HTTP->HTTP, and WebSocket->WebSocket modes.

+

Protocol concerns are eliminated, as RPCRouter establishes dual HTTP/WS connections to each node, optimizing through a latency prediction model.

+

Quick tip: Opt for WS endpoints when available — they reduce latency by milliseconds effortlessly.

+

eth_subscribe and eth_unsubscribe

+

Subscribe and unsubscribe methods are not available yet.

+

Latency prediction

+

RPCRouter keeps track of the last 10 requests to each endpoint, measuring success and response time. For every request, an endpoint with the lowest latency is chosen. Retries are treated as long-running requests. To prevent the router from getting stuck in a local optimum, stats are discarded after 5 minutes.

+

Response Cross-Check (Advanced)

+

Fine-grained control for DeFi, bridges, and scenarios where data integrity is critical. RPCRouter mitigates stale or malicious RPC responses via consensus validation against multiple endpoints.

+

Configuration Options:

+
    +
  • No Cross-Check: (Default) RPCRouter returns the first valid response received. RPCROUTER_CROSS_CHECKS=0
  • +
  • Double-Check: RPCRouter returns the first response corroborated by a second matching response. RPCROUTER_CROSS_CHECKS=1
  • +
  • Triple-Check: RPCRouter returns the first response confirmed by two additional matching responses. RPCROUTER_CROSS_CHECKS=2
  • +
+

Important Note: Cross-checking introduces additional request overhead and may increase response times. This feature is primarily intended for use cases where data reliability outweighs speed concerns.

+

HTTP or WS

+

Most blockchain RPC providers offer two types of endpoints: HTTP and WS.

+

Connecting to Your RPCRouter

+

Always include both the HTTP and WS endpoints when connecting to your RPCRouter. While WS generally offers faster performance due to its persistent connection and the lightweight nature of the WebSocket protocol, HTTP can provide greater stability in some cases.

+

Recommendations for Your Code

+

Prioritize WS endpoints for optimal performance. Only use HTTP in situations where WebSocket support is unavailable, such as in cloud functions or environments that don’t support the protocol (e.g., when making requests with curl).

\ No newline at end of file diff --git a/package.json b/package.json index a99cf0c..caed0ab 100644 --- a/package.json +++ b/package.json @@ -1,32 +1,32 @@ { - "name": "", - "type": "module", - "version": "0.0.1", - "scripts": { - "dev": "astro dev", - "start": "astro dev", - "build": "astro check && astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "@astrojs/check": "^0.7.0", - "@astrojs/mdx": "^3.1.2", - "@astrojs/react": "^3.6.0", - "@astrojs/tailwind": "^5.1.0", - "@headlessui/react": "^2.1.1", - "@headlessui/tailwindcss": "^0.2.1", - "@heroicons/react": "^2.1.4", - "@tailwindcss/forms": "^0.5.7", - "@tailwindcss/typography": "^0.5.13", - "@types/react": "^18.3.3", - "@types/react-dom": "^18.3.0", - "astro": "^4.11.3", - "react": "^18.3.1", - "react-dom": "^18.3.1", - "sharp": "^0.33.4", - "tailwind-merge": "^2.3.0", - "tailwindcss": "^3.4.4", - "typescript": "^5.5.2" - } + "name": "", + "type": "module", + "version": "0.0.1", + "scripts": { + "dev": "astro dev", + "start": "astro dev", + "build": "astro check && astro build && rm -rf docs && cp -r ./dist/ ./docs/", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/check": "^0.7.0", + "@astrojs/mdx": "^3.1.2", + "@astrojs/react": "^3.6.0", + "@astrojs/tailwind": "^5.1.0", + "@headlessui/react": "^2.1.1", + "@headlessui/tailwindcss": "^0.2.1", + "@heroicons/react": "^2.1.4", + "@tailwindcss/forms": "^0.5.7", + "@tailwindcss/typography": "^0.5.13", + "@types/react": "^18.3.3", + "@types/react-dom": "^18.3.0", + "astro": "^4.11.3", + "react": "^18.3.1", + "react-dom": "^18.3.1", + "sharp": "^0.33.4", + "tailwind-merge": "^2.3.0", + "tailwindcss": "^3.4.4", + "typescript": "^5.5.2" + } } \ No newline at end of file