@deslop/deploy 0.1.1246 → 0.1.1249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- import{n as e}from"./rolldown-runtime-WkwZ5CU-.js";import{$ as t,$n as n,At as r,B as i,Dt as a,Et as o,G as s,Gt as c,H as l,J as u,K as d,Kt as f,Mt as p,Ot as m,Q as h,Qn as g,T as _,U as v,V as y,W as b,X as x,Y as S,Z as C,_ as w,a as T,ar as E,at as D,b as O,dn as k,dt as A,er as j,et as M,fn as N,ft as P,g as F,gt as I,h as L,ht as R,i as z,ir as ee,it as te,jt as ne,kt as re,lt as ie,m as B,mt as ae,nt as V,o as oe,on as se,p as ce,q as le,qn as ue,qt as de,rr as fe,rt as H,s as pe,sr as me,tt as he,u as ge,un as _e,ut as ve,w as ye,x as be,xr as xe,y as Se,yn as Ce}from"./effect-DeBHLbB9.js";import{a as we,i as Te,o as Ee,r as De,t as Oe}from"./react-CDnnZf73.js";import{$ as U,A as ke,C as Ae,D as W,E as je,F as Me,G as Ne,H as G,K as Pe,O as K,R as Fe,T as Ie,U as Le,V as Re,W as ze,_ as Be,a as Ve,at as He,b as Ue,d as We,g as Ge,i as Ke,it as qe,j as Je,k as Ye,m as Xe,n as Ze,nt as Qe,r as $e,t as et,tt,v as q,w as nt,x as rt,y as it,z as at}from"./index-BZvffmqZ.js";var ot={name:`square-terminal`,size:24,node:[[`path`,{d:`m7 11 2-2-2-2`,key:`1lz0vl`}],[`path`,{d:`M11 13h4`,key:`1p7l4v`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}]],aliases:[`terminal-square`]};ot.node;var st=Qe(ot),ct={name:`box`,size:24,node:[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]};ct.node;var lt=Qe(ct),ut={name:`x`,size:24,node:[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]};ut.node;var dt=Qe(ut),J=e(Ee(),1),ft=e(Te(),1);function Y(e){return e?.ownerDocument||document}function pt(e){let t=ft.unstable_scheduleCallback(4,e);return()=>ft.unstable_cancelCallback(t)}var mt=J.createContext(O({scheduleTask:pt,defaultIdleTTL:400})),ht=new WeakMap,gt=0,_t=new Set;function vt(e){gt++;try{return e()}finally{gt--}}function yt(e){if(gt===0)return e();_t.size===0&&queueMicrotask(bt),_t.add(e)}function bt(){for(let e of _t)_t.delete(e),e()}function xt(e,t){let n=ht.get(e);n===void 0&&(n=new WeakMap,ht.set(e,n));let r=n.get(t);if(r!==void 0)return r;let i=0,a,o={subscribe(n){i++;let r=e.subscribe(t,()=>yt(n));return()=>{i--,_t.delete(n),r()}},snapshot(){return vt(()=>e.get(t))},getServerSnapshot(){return(i===0||a===void 0)&&(a={value:vt(()=>L(t,e))}),a.value}};return n.set(t,o),o}function St(e,t){let n=xt(e,t);return J.useEffect(bt),J.useSyncExternalStore(n.subscribe,n.snapshot,n.getServerSnapshot)}function Ct(e,t,n){let r=xt(e,t),i=J.useMemo(()=>{let e;return t=>(e!==void 0&&Object.is(e.source,t)||(e={source:t,value:n(t)}),e.value)},[n]);return J.useEffect(bt),J.useSyncExternalStore(r.subscribe,()=>i(r.snapshot()),()=>i(r.getServerSnapshot()))}var wt=(e,t)=>{let n=J.useContext(mt);return t?Ct(n,e,t):St(n,e)};function Tt(e,t){J.useEffect(()=>e.mount(t),[t,e])}function Et(e,t,n){return n?.mode===`promise`||n?.mode===`promiseExit`?J.useCallback(i=>{e.set(t,i);let a=r(Se(e,t,{suspendOnWaiting:!0}));return n.mode===`promise`?a.then(Dt):a},[e,t,n.mode]):J.useCallback(n=>{e.set(t,typeof n==`function`?n(e.get(t)):n)},[e,t])}var Dt=e=>{if(se(e))return e.value;throw _e(e.cause)},Ot=(e,t)=>{let n=J.useContext(mt);return Tt(n,e),Et(n,e,t)},kt=(e,t)=>{let n=J.useContext(mt);return[St(n,e),Et(n,e,t)]};function At(e){return Xe(e.defaultTagName??`div`,e,e)}var jt=J.createContext(void 0);function Mt(e){let t=J.useContext(jt);if(!e&&t===void 0)throw Error(Ie(27));return t}var Nt=`data-starting-style`,Pt=`data-ending-style`,Ft={[Nt]:``},It={[Pt]:``},Lt={transitionStatus(e){return e===`starting`?Ft:e===`ending`?It:null}},Rt=`data-open`,zt=`data-closed`,Bt=`data-anchor-hidden`,Vt=`data-popup-open`,Ht=`data-pressed`,Ut={[Vt]:``,[Ht]:``},Wt={[Rt]:``},Gt={[zt]:``},Kt={[Bt]:``},qt={open(e){return e?Ut:null}},Jt={open(e){return e?Wt:Gt},anchorHidden(e){return e?Kt:null}},Yt={...Jt,...Lt},Xt=J.forwardRef(function(e,t){let{render:n,className:r,style:i,forceRender:a=!1,...o}=e,s=Mt(),c=s.useState(`open`),l=s.useState(`nested`),u=s.useState(`mounted`),d={open:c,transitionStatus:s.useState(`transitionStatus`)};return Xe(`div`,e,{state:d,ref:[s.context.backdropRef,t],stateAttributesMapping:Yt,props:[{role:`presentation`,hidden:!u,style:{userSelect:`none`,WebkitUserSelect:`none`}},o],enabled:a||!l})});function Zt(e,t,n,r){let i=!1,a=!1,o=r??Be;return{reason:e,event:t??new Event(`base-ui`),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:n,...o}}function Qt(e,t,n){let r=n??Be;return{reason:e,event:t??new Event(`base-ui`),...r}}var $t=`none`,en=`trigger-press`,tn=`trigger-hover`,nn=`trigger-focus`,rn=`outside-press`,an=`item-press`,on=`close-press`,sn=`focus-out`,cn=`escape-key`,ln=`list-navigation`,un=`keyboard`,dn=`pointer`,fn=`cancel-open`,pn=`sibling-open`,mn=`disabled`,hn=`missing`,gn=`initial`,_n=`imperative-action`,vn=J.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,...s}=e,c=Mt(),l=c.useState(`open`),{getButtonProps:u,buttonRef:d}=rt({disabled:a,native:o}),f={disabled:a};function p(e){l&&c.setOpen(!1,Zt(on,e.nativeEvent))}return Xe(`button`,e,{state:f,ref:[t,d],props:[{onClick:p},s,u]})});function yn(){let[,e]=J.useState({});return J.useCallback(()=>{e({})},[])}var bn=0;function xn(e,t=`mui`){let n=J.useRef(void 0),r=yn(),i=e??n.current;return J.useEffect(()=>{n.current??(bn+=1,n.current=`${t}-${bn}`,e??r())},[e,t,r]),i}var Sn=ke.useId;function Cn(e,t){if(Sn!==void 0){let n=Sn();return e??(t?`${t}-${n}`:n)}return xn(e,t)}function wn(e){return Cn(e,`base-ui`)}var Tn=J.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=Mt(),c=wn(a);return s.useSyncedValueWithCleanup(`descriptionElementId`,c),Xe(`p`,e,{ref:t,props:[{id:c},o]})});function X(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function En(...e){return()=>{for(let t=0;t<e.length;t+=1){let n=e[t];n&&n()}}}function Dn(e){let t=Ye(On,e).current;return t.next=e,W(t.effect),t}function On(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}function kn(e){J.useEffect(e,Ge)}var An=0,jn=class e{static create(){return new e}currentId=An;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=An,t()},e)}isStarted(){return this.currentId!==An}clear=()=>{this.currentId!==An&&(clearTimeout(this.currentId),this.currentId=An)};disposeEffect=()=>this.clear};function Mn(){let e=Ye(jn.create).current;return kn(e.disposeEffect),e}function Nn(){return typeof navigator>`u`?{userAgent:``,platform:``,maxTouchPoints:0}:{userAgent:navigator.userAgent,platform:navigator.platform??``,maxTouchPoints:navigator.maxTouchPoints??0}}var{userAgent:Pn,platform:Fn,maxTouchPoints:In}=Nn(),Ln=Pn.toLowerCase(),Rn=Fn.toLowerCase(),zn=/^i(os$|p)/.test(Rn)||Rn===`macintel`&&In>1,Bn=`android`,Vn=Rn===Bn||Ln.includes(Bn),Hn=!zn&&Rn.startsWith(`mac`);Rn.startsWith(`win`),!Vn&&/^(linux|chrome os)/.test(Rn);var Un=Hn||zn,Wn=typeof CSS<`u`&&!!CSS.supports?.(`-webkit-backdrop-filter:none`);!Wn&&Ln.includes(`firefox`),!Wn&&Ln.includes(`chrom`);var Gn=Un,Kn=/jsdom|happydom/.test(Ln),qn=null;globalThis.requestAnimationFrame;var Jn=new class{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,n=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,n>0)for(let n=0;n<t.length;n+=1)t[n]?.(e)};request(e){let t=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,this.isScheduled||=(requestAnimationFrame(this.tick),!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||this.callbacks[t]!==null&&(this.callbacks[t]=null,--this.callbacksCount)}},Yn=class e{static create(){return new e}static request(e){return Jn.request(e)}static cancel(e){return Jn.cancel(e)}currentId=qn;request(e){this.cancel(),this.currentId=Jn.request(()=>{this.currentId=qn,e()})}cancel=()=>{this.currentId!==qn&&(Jn.cancel(this.currentId),this.currentId=qn)};disposeEffect=()=>this.cancel};function Xn(){let e=Ye(Yn.create).current;return kn(e.disposeEffect),e}var Zn={clipPath:`inset(50%)`,overflow:`hidden`,whiteSpace:`nowrap`,border:0,padding:0,width:1,height:1,margin:-1},Qn={...Zn,position:`fixed`,margin:0,top:0,left:0};({...Zn});var Z=we(),$n=J.forwardRef(function(e,t){let[n,r]=J.useState();W(()=>{Gn&&Wn&&r(`button`)},[]);let i={tabIndex:0,role:n};return(0,Z.jsx)(`span`,{...e,ref:t,style:Qn,"aria-hidden":!n||void 0,...i,"data-base-ui-focus-guard":``})});function er(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function Q(e,t){if(!e||!t)return!1;let n=t.getRootNode?.();if(e.contains(t))return!0;if(n&&Pe(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function tr(e,t){let n=e;for(;n;){if(Re(n)&&n.matches(t))return n;n=n.assignedSlot??n.parentNode??(Pe(n)?n.host:null)}return null}function nr(e){return`composedPath`in e?e.composedPath()[0]??e.target:e.target}var rr=`data-base-ui-focusable`,ir=`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`,ar=`ArrowLeft`,or=`ArrowRight`,sr=`ArrowUp`,cr=`ArrowDown`,lr=`data-trigger-disabled`;function ur(e,t){if(!Re(e))return!1;let n=e;if(t.hasElement(n))return!n.hasAttribute(lr);for(let[,e]of t.entries())if(Q(e,n))return!e.hasAttribute(lr);return!1}function dr(e,t){if(t==null)return!1;if(`composedPath`in e)return e.composedPath().includes(t);let n=e;return n.target!=null&&t.contains(n.target)}function fr(e){return e.matches(`html,body`)}function pr(e){return G(e)&&e.matches(`input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])`)}function mr(e){return tr(e,`button,a[href],[role="button"],select,[tabindex]:not([tabindex="-1"]),${ir}`)!=null}function hr(e){return e?e.getAttribute(`role`)===`combobox`&&pr(e):!1}function gr(e){if(!e||Kn)return!0;try{return e.matches(`:focus-visible`)}catch{return!0}}function _r(e){return e?e.hasAttribute(`data-base-ui-focusable`)?e:e.querySelector(`[data-base-ui-focusable]`)||e:null}function vr(e){e.preventDefault(),e.stopPropagation()}function yr(e){return`nativeEvent`in e}function br(e){return e.pointerType===``&&e.isTrusted?!0:Vn&&e.pointerType?e.type===`click`&&e.buttons===1:e.detail===0&&!e.pointerType}function xr(e){return Kn?!1:!Vn&&e.width===0&&e.height===0||e.type===`pointerdown`&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType===`mouse`&&(Vn||e.buttons===0)||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType===`touch`}function Sr(e,t){let n=[`mouse`,`pen`];return t||n.push(``,void 0),n.includes(e)}function Cr(e){let t=e.type;return t===`click`||t===`mousedown`||t===`keydown`||t===`keyup`}function wr(e,t){return t<0||t>=e.length}function Tr(e,t){return Or(e.current,{disabledIndices:t})}function Er(e,t){return Or(e.current,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function Dr(e,t,n){let{decrement:r,loopFocus:i,allowEscape:a,disabledIndices:o,minIndex:s,maxIndex:c}=n,l=()=>Or(e,{startingIndex:t,decrement:r,disabledIndices:o}),u,d=!1;if(!i)u=r?Math.max(s,l()):Math.min(c,l());else if(r?t<=s:t>=c){let n=r?-1:e.length;a&&t!==n?u=-1:(u=r?c:s,d=!0)}else u=l();return{index:wr(e,u)?-1:u,wrapped:d}}function Or(e,{startingIndex:t=-1,decrement:n=!1,disabledIndices:r,amount:i=1}={}){let a=t;do a+=n?-i:i;while(a>=0&&a<=e.length-1&&kr(e,a,r));return a}function kr(e,t,n){if(typeof n==`function`?n(t):n?.includes(t)??!1)return!0;let r=e[t];return r?!jr(r)||r.matches(`:disabled`)?!0:!n&&(r.hasAttribute(`disabled`)||r.getAttribute(`aria-disabled`)===`true`):!1}function Ar(e){return e.visibility===`hidden`||e.visibility===`collapse`}function jr(e,t=e?Je(e):null){return!e||!e.isConnected||!t||Ar(t)?!1:typeof e.checkVisibility==`function`?e.checkVisibility():t.display!==`none`&&t.display!==`contents`}var Mr=`a[href],button,input,select,textarea,summary,details,iframe,object,embed,[tabindex],[contenteditable]:not([contenteditable="false"]),audio[controls],video[controls]`;function Nr(e){let t=e.assignedSlot;if(t)return t;if(e.parentElement)return e.parentElement;let n=e.getRootNode();return Pe(n)?n.host:null}function Pr(e){for(let t of Array.from(e.children))if(Me(t)===`summary`)return t;return null}function Fr(e,t){let n=Pr(t);return!!n&&(e===n||Q(n,e))}function Ir(e){let t=e?Me(e):``;return e!=null&&e.matches(Mr)&&(t!==`summary`||e.parentElement!=null&&Me(e.parentElement)===`details`&&Pr(e.parentElement)===e)&&(t!==`details`||Pr(e)==null)&&(t!==`input`||e.type!==`hidden`)}function Lr(e){if(!Ir(e)||!e.isConnected||e.matches(`:disabled`))return!1;for(let t=e;t;t=Nr(t)){let n=t!==e,r=Me(t)===`slot`;if(t.hasAttribute(`inert`)||n&&Me(t)===`details`&&!t.open&&!Fr(e,t)||t.hasAttribute(`hidden`)||!r&&!Rr(t,n))return!1}return!0}function Rr(e,t){let n=Je(e);return t?n.display!==`none`:jr(e,n)}function zr(e){let t=e.tabIndex;if(t<0){let t=Me(e);if(t===`details`||t===`audio`||t===`video`||G(e)&&e.isContentEditable)return 0}return t}function Br(e){if(Me(e)!==`input`)return null;let t=e;return t.type===`radio`&&t.name!==``?t:null}function Vr(e,t){let n=Br(e);if(!n)return!0;let r=t.find(e=>{let t=Br(e);return t?.name===n.name&&t.form===n.form&&t.checked});return r?r===n:t.find(e=>{let t=Br(e);return t?.name===n.name&&t.form===n.form})===n}function Hr(e){if(G(e)&&Me(e)===`slot`){let t=e.assignedElements({flatten:!0});if(t.length>0)return t}return G(e)&&e.shadowRoot?Array.from(e.shadowRoot.children):Array.from(e.children)}function Ur(e,t){Hr(e).forEach(e=>{Ir(e)&&t.push(e),Ur(e,t)})}function Wr(e,t,n){Hr(e).forEach(e=>{G(e)&&e.matches(t)&&n.push(e),Wr(e,t,n)})}function Gr(e){return Lr(e)&&zr(e)>=0}function Kr(e){let t=[];return Ur(e,t),t.filter(Lr)}function qr(e){let t=Kr(e);return t.filter(e=>zr(e)>=0&&Vr(e,t))}function Jr(e,t){let n=qr(e),r=n.length;if(r===0)return;let i=er(Y(e)),a=n.indexOf(i);return n[a===-1?t===1?0:r-1:a+t]}function Yr(e){return Jr(Y(e).body,1)||e}function Xr(e){return Jr(Y(e).body,-1)||e}function Zr(e,t,n){if(!e)return null;let r=[];Ur(Y(e).body,r);let i=r.indexOf(e);if(i===-1)return null;let a=r.filter(Lr);for(let e=1;e<r.length;e+=1){let o=r[(i+t*e+r.length)%r.length];if(!Q(n,o)&&Gr(o)&&Vr(o,a))return o}return r[i]}function Qr(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!Q(n,r)}function $r(e){qr(e).forEach(e=>{e.dataset.tabindex=e.getAttribute(`tabindex`)||``,e.setAttribute(`tabindex`,`-1`)})}function ei(e){let t=[];Wr(e,`[data-tabindex]`,t),t.forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute(`tabindex`,t):e.removeAttribute(`tabindex`)})}function ti(e,t,n=!0){return e.filter(e=>e.parentId===t).flatMap(t=>[...!n||t.context?.open?[t]:[],...ti(e,t.id,n)])}function ni(e,t){let n=[],r=e.find(e=>e.id===t)?.parentId;for(;r;){let t=e.find(e=>e.id===r);r=t?.parentId,t&&(n=n.concat(t))}return n}function ri(e){return`data-base-ui-${e}`}var ii=0;function ai(e,t={}){let{preventScroll:n=!1,sync:r=!1,shouldFocus:i}=t;cancelAnimationFrame(ii);function a(){(!i||i())&&e?.focus({preventScroll:n})}if(r)return a(),q;let o=requestAnimationFrame(a);return ii=o,()=>{ii===o&&(cancelAnimationFrame(o),ii=0)}}var oi=`data-base-ui-inert`,si=new WeakMap,ci=new WeakSet,li=new WeakMap,ui=0;function di(e){return e?Pe(e)?e.host:di(e.parentNode):null}var fi=(e,t)=>t.map(t=>{if(e.contains(t))return t;let n=di(t);return e.contains(n)?n:null}).filter(e=>e!=null),pi=e=>{let t=new Set;return e.forEach(e=>{let n=e;for(;n&&!t.has(n);)t.add(n),n=n.parentNode}),t},mi=(e,t,n)=>{let r=[],i=e=>{e&&!n.has(e)&&Array.from(e.children).forEach(e=>{Me(e)!==`script`&&(t.has(e)?i(e):r.push(e))})};return i(e),r};function hi(e,t,n,{mark:r=!0}){let i=fi(t,e),a=r?mi(t,pi(i),new Set(i)):[],o=[],s=[];if(n){let e=fi(t,Array.from(t.querySelectorAll(`[aria-live]`))),n=i.concat(e);mi(t,pi(n),new Set(n)).forEach(e=>{let t=e.getAttribute(`aria-hidden`),n=t!==null&&t!==`false`,r=(si.get(e)||0)+1;si.set(e,r),o.push(e),r===1&&n&&ci.add(e),n||e.setAttribute(`aria-hidden`,`true`)})}return r&&a.forEach(e=>{let t=(li.get(e)||0)+1;li.set(e,t),s.push(e),t===1&&e.setAttribute(oi,``)}),ui+=1,()=>{o.forEach(e=>{let t=(si.get(e)||0)-1;si.set(e,t),t||(ci.has(e)||e.removeAttribute(`aria-hidden`),ci.delete(e))}),r&&s.forEach(e=>{let t=(li.get(e)||0)-1;li.set(e,t),t||e.removeAttribute(oi)}),--ui,ui||(si=new WeakMap,ci=new WeakSet,li=new WeakMap)}}function gi(e,t={}){let{ariaHidden:n=!1,mark:r=!0}=t,i=Y(e[0]).body;return hi(e,i,n,{mark:r})}var _i=e(De(),1),vi={style:{transition:`none`}},yi={fallbackAxisSide:`none`},bi={fallbackAxisSide:`end`},xi={clipPath:`inset(50%)`,position:`fixed`,top:0,left:0},Si=J.createContext(null),Ci=()=>J.useContext(Si),wi=ri(`portal`);function Ti(e={}){let{ref:t,container:n,componentProps:r=Be,elementProps:i}=e,a=Cn(),o=Ci()?.portalNode,[s,c]=J.useState(null),[l,u]=J.useState(null),d=K(e=>{e!==null&&u(e)}),f=J.useRef(null);W(()=>{if(n===null){f.current&&(f.current=null,u(null),c(null));return}let e=(n&&(ze(n)?n:n.current))??o??document.body;e==null?f.current&&(f.current=null,u(null),c(null)):f.current!==e&&(f.current=e,u(null),c(e))},[n,o]);let p=Xe(`div`,r,{ref:[t,d],props:[{id:a,[wi]:``},i]}),m=s&&p?_i.createPortal(p,s):null;return{node:l,nodeId:J.isValidElement(p)?p.props.id:void 0,subtree:m}}var Ei=J.forwardRef(function(e,t){let{render:n,className:r,style:i,children:a,container:o,portalOwnerRole:s,...c}=e,{node:l,nodeId:u,subtree:d}=Ti({container:o,ref:t,componentProps:e,elementProps:c}),f=J.useRef(null),p=J.useRef(null),m=J.useRef(null),h=J.useRef(null),[g,_]=J.useState(null),v=J.useRef(!1),y=g?.modal,b=g?.open,x=!!g&&!g.modal&&g.open&&!!l;J.useEffect(()=>{if(!l||y)return;function e(e){l&&e.relatedTarget&&Qr(e)&&(e.type===`focusin`?v.current&&=(ei(l),!1):($r(l),v.current=!0))}return En(X(l,`focusin`,e,!0),X(l,`focusout`,e,!0))},[l,y]),W(()=>{l&&b===!0&&v.current&&(ei(l),v.current=!1)},[b,l]);let S=J.useMemo(()=>({beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:m,afterInsideRef:h,portalNode:l,setFocusManagerState:_}),[l]);return(0,Z.jsxs)(J.Fragment,{children:[d,(0,Z.jsxs)(Si.Provider,{value:S,children:[x&&l&&(0,Z.jsx)($n,{"data-type":`outside`,ref:f,onFocus:e=>{Qr(e,l)?m.current?.focus():Xr(g?g.domReference:null)?.focus()}}),x&&l&&(0,Z.jsx)(`span`,{role:s,"aria-owns":u,style:xi}),l&&_i.createPortal(a,l),x&&l&&(0,Z.jsx)($n,{"data-type":`outside`,ref:p,onFocus:e=>{Qr(e,l)?h.current?.focus():(Yr(g?g.domReference:null)?.focus(),g?.closeOnFocusOut&&g?.onOpenChange(!1,Zt(`focus-out`,e.nativeEvent)))}})]})]})});function Di(){let e=new Map;return{emit(t,n){e.get(t)?.forEach(e=>e(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){e.get(t)?.delete(n)}}}var Oi=class{nodesRef={current:[]};events=Di();addNode(e){this.nodesRef.current.push(e)}removeNode(e){let t=this.nodesRef.current.findIndex(t=>t===e);t!==-1&&this.nodesRef.current.splice(t,1)}},ki=J.createContext(null),Ai=J.createContext(null),ji=()=>J.useContext(ki)?.id||null,Mi=e=>{let t=J.useContext(Ai);return e??t};function Ni(e){let t=Cn(),n=Mi(e),r=ji();return W(()=>{if(!t)return;let e={id:t,parentId:r};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,r]),t}function Pi(e){let{children:t,id:n}=e,r=ji();return(0,Z.jsx)(ki.Provider,{value:J.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function Fi(e){let{children:t,externalTree:n}=e,r=Ye(()=>n??new Oi).current;return(0,Z.jsx)(Ai.Provider,{value:r,children:t})}function Ii(e){return e==null?e:`current`in e?e.current:e}function Li(e,t){let n=at(nr(e));return e instanceof n.KeyboardEvent?`keyboard`:e instanceof n.FocusEvent?t||`keyboard`:`pointerType`in e?e.pointerType||(br(e)?`keyboard`:t||`mouse`):`touches`in e?`touch`:e instanceof n.MouseEvent?t||(e.detail===0?`keyboard`:`mouse`):``}var Ri=20,zi=[];function Bi(){zi=zi.filter(e=>e.deref()?.isConnected)}function Vi(e){Bi(),e&&Me(e)!==`body`&&(zi.push(new WeakRef(e)),zi.length>Ri&&(zi=zi.slice(-20)))}function Hi(){return Bi(),zi[zi.length-1]?.deref()}function Ui(e){return e?Gr(e)?e:qr(e)[0]||e:null}function Wi(e){if(e.hasAttribute(`tabindex`)&&!e.hasAttribute(`data-tabindex`)||!e.getAttribute(`role`)?.includes(`dialog`))return;let t=Kr(e).filter(e=>{let t=e.getAttribute(`data-tabindex`)||``;return Gr(e)||e.hasAttribute(`data-tabindex`)&&!t.startsWith(`-`)}),n=e.getAttribute(`tabindex`);t.length===0?n!==`0`&&(e.setAttribute(`tabindex`,`0`),e.setAttribute(`data-tabindex`,`0`)):(n!==`-1`||e.hasAttribute(`data-tabindex`)&&e.getAttribute(`data-tabindex`)!==`-1`)&&(e.setAttribute(`tabindex`,`-1`),e.setAttribute(`data-tabindex`,`-1`))}function Gi(e){let{context:t,children:n,disabled:r=!1,initialFocus:i=!0,returnFocus:a=!0,explicitReturnFocus:o,restoreFocus:s=!1,modal:c=!0,closeOnFocusOut:l=!0,openInteractionType:u=``,nextFocusableElement:d,previousFocusableElement:f,beforeContentFocusGuardRef:p,externalTree:m,getInsideElements:h}=e,g=t.useState(`open`),_=t.useState(`domReferenceElement`),v=t.useState(`floatingElement`),{events:y,dataRef:b}=t.context,x=K(()=>b.current.floatingContext?.nodeId),S=i===!1,C=hr(_)&&S,w=Dn(i),T=Dn(a),E=Dn(o),D=Dn(u),O=Dn(g),k=Mi(m),A=Ci(),j=J.useRef(!1),M=J.useRef(!1),N=J.useRef(!1),P=J.useRef(null),F=J.useRef(``),I=J.useRef(``),L=J.useRef(null),R=J.useRef(null),z=Ue(L,p,A?.beforeInsideRef),ee=Ue(R,A?.afterInsideRef),te=Mn(),ne=Mn(),re=Xn(),ie=A!=null,B=_r(v),ae=K((e=B)=>e?qr(e):[]),V=K(()=>h?.().filter(e=>e!=null)??[]);J.useEffect(()=>{if(r||!c)return;function e(e){e.key===`Tab`&&Q(B,er(Y(B)))&&ae().length===0&&!C&&vr(e)}return X(Y(B),`keydown`,e)},[r,B,c,C,ae]),J.useEffect(()=>{if(r||!g)return;let e=Y(B);function t(){N.current=!1}function n(e){let t=nr(e),n=V(),r=Q(v,t)||Q(_,t)||Q(A?.portalNode,t)||n.some(e=>e===t||Q(e,t));N.current=!r,I.current=e.pointerType||`keyboard`,tr(t,`[data-base-ui-click-trigger]`)&&(M.current=!0,ne.start(0,()=>{M.current=!1}))}function i(){I.current=`keyboard`}return En(X(e,`pointerdown`,n,!0),X(e,`pointerup`,t,!0),X(e,`pointercancel`,t,!0),X(e,`keydown`,i,!0),t)},[r,v,_,B,g,A,ne,V]),J.useEffect(()=>{if(r||!l)return;let e=Y(B);function n(){M.current=!0,ne.start(0,()=>{M.current=!1})}function i(e){let t=nr(e);Gr(t)&&(P.current=t)}function a(n){let r=n.relatedTarget,i=n.currentTarget,a=nr(n);c&&r==null&&a!=null&&Q(v,a)&&Vi(a),queueMicrotask(()=>{let o=x(),l=t.context.triggerElements,u=V(),p=r?.hasAttribute(ri(`focus-guard`))&&[L.current,R.current,A?.beforeInsideRef.current,A?.afterInsideRef.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,Ii(f),Ii(d)].includes(r),m=!(Q(_,r)||Q(v,r)||Q(r,v)||Q(A?.portalNode,r)||u.some(e=>e===r||Q(e,r))||l.hasMatchingElement(e=>Q(e,r))||p||k&&(ti(k.nodesRef.current,o).find(e=>Q(e.context?.elements.floating,r)||Q(e.context?.elements.domReference,r))||ni(k.nodesRef.current,o).find(e=>[e.context?.elements.floating,_r(e.context?.elements.floating)].includes(r)||e.context?.elements.domReference===r)));if(i===_&&B&&Wi(B),s&&i!==_&&!jr(a)&&er(e)===e.body){if(G(B)&&(B.focus(),s===`popup`)){re.request(()=>{B.focus()});return}let e=ae(),t=P.current,n=(t&&e.includes(t)?t:null)||e[e.length-1]||B;G(n)&&n.focus()}b.current.insideReactTree?b.current.insideReactTree=!1:(C||!c)&&r&&m&&!M.current&&(C||r!==Hi())&&(j.current=!0,t.setOpen(!1,Zt(sn,n)))})}function o(){N.current||(b.current.insideReactTree=!0,te.start(0,()=>{b.current.insideReactTree=!1}))}let u=G(_)?_:null;if(v||u)return En(u&&X(u,`focusout`,a),u&&X(u,`pointerdown`,n),v&&X(v,`focusin`,i),v&&X(v,`focusout`,a),v&&A&&X(v,`focusout`,o,!0))},[r,_,v,B,c,k,A,t,l,s,ae,C,x,b,te,ne,re,d,f,V]),J.useEffect(()=>{if(r||!v||!g)return;let e=Array.from(A?.portalNode?.querySelectorAll(`[${ri(`portal`)}]`)||[]),t=(k?ni(k.nodesRef.current,x()):[]).find(e=>hr(e.context?.elements.domReference||null))?.context?.elements.domReference,n=gi([v,...e,L.current,R.current,A?.beforeOutsideRef.current,A?.afterOutsideRef.current,...V(),t,Ii(f),Ii(d),C?_:null].filter(e=>e!=null),{ariaHidden:c||C,mark:!1}),i=gi([v,...e].filter(e=>e!=null));return()=>{i(),n()}},[g,r,_,v,c,A,C,k,x,d,f,V]),W(()=>{if(!g||r||!G(B))return;F.current=``,I.current=``;let e=Y(B),t=er(e);queueMicrotask(()=>{let n=w.current,r=typeof n==`function`?n(D.current||``):n;if(r===void 0||r===!1||Q(B,t))return;let i=null,a=()=>(i??=ae(B),i[0]||B),o;o=r===!0||r===null?a():Ii(r),o||=a();let s=Q(B,er(e)),c=b.current.openEvent,l=c?.type===`mousedown`&&br(c);ai(o,{sync:l,preventScroll:o===B,shouldFocus(){if(!O.current)return!1;if(s)return!0;let t=er(e);return!(t!==o&&Q(B,t))}})})},[r,g,B,ae,w,D,O,b]);let oe=J.useRef(null);W(()=>{if(r||!B){oe.current=null;return}oe.current&&=(oe.current.cancelled=!0,null);let e=Y(B),t=er(e),n=D.current==null;Vi(t);function i(e){if(e.open||(F.current=Li(e.nativeEvent,I.current)),(e.reason===`focus-out`&&e.triggerElement?.hasAttribute(ri(`focus-guard`))||e.reason===`trigger-hover`&&e.nativeEvent.type===`mouseleave`)&&(j.current=!0),e.reason===`outside-press`){if(e.nested)j.current=!1;else if(br(e.nativeEvent)||xr(e.nativeEvent))j.current=!1;else{let e=!1;Y(B).createElement(`div`).focus({get preventScroll(){return e=!0,!1}}),e?j.current=!1:j.current=!0}}}y.on(`openchange`,i);function a(e){let r=T.current,i=typeof r==`function`?r(e):r;if(i===void 0||i===!1)return null;i===null&&(i=!0);let a=_?.isConnected?_:null,o=t?.isConnected&&Me(t)!==`body`?t:null,s=n?o||a:a||o;return s||=Hi()||null,typeof i==`boolean`?s:Ii(i)||s||null}return()=>{y.off(`openchange`,i);let t=er(e),n=V(),r=Q(v,t)||n.some(e=>e===t||Q(e,t))||k&&ti(k.nodesRef.current,x(),!1).some(e=>Q(e.context?.elements.floating,t)),o=T.current,s=F.current,c=a(s),l={cancelled:!1};oe.current=l,queueMicrotask(()=>{oe.current===l&&(oe.current=null);let n=Ui(c),i=E.current??typeof o!=`boolean`;if(!l.cancelled&&o&&!j.current&&G(n)&&(i||n===t||t===e.body||r)){let e={preventScroll:!0};s===`keyboard`&&(e.focusVisible=!0),n.focus(e)}j.current=!1})}},[r,v,B,T,E,D,y,k,_,x,V]),W(()=>{if(!Wn||g||!v)return;let e=er(Y(v));G(e)&&pr(e)&&Q(v,e)&&e.blur()},[g,v]),W(()=>{if(!r&&A)return A.setFocusManagerState({modal:c,closeOnFocusOut:l,open:g,onOpenChange:t.setOpen,domReference:_}),()=>{A.setFocusManagerState(null)}},[r,A,c,g,t,l,_]),W(()=>{if(!r&&B)return Wi(B),()=>{queueMicrotask(Bi)}},[r,B]);let se=!r&&(!c||!C)&&(ie||c);return(0,Z.jsxs)(J.Fragment,{children:[se&&(0,Z.jsx)($n,{"data-type":`inside`,ref:z,onFocus:e=>{if(c){let e=ae();ai(e[e.length-1])}else A?.portalNode&&(j.current=!1,Qr(e,A.portalNode)?Yr(_)?.focus():Ii(f??A.beforeOutsideRef)?.focus())}}),n,se&&(0,Z.jsx)($n,{"data-type":`inside`,ref:ee,onFocus:e=>{c?ai(ae()[0]):A?.portalNode&&(l&&(j.current=!0),Qr(e,A.portalNode)?Xr(_)?.focus():Ii(d??A.afterOutsideRef)?.focus())}})]})}function Ki(){return!1}function qi(e){return{escapeKey:typeof e==`boolean`?e:e?.escapeKey??!1,outsidePress:typeof e==`boolean`?e:e?.outsidePress??!0}}function Ji(e,t={}){let{enabled:n=!0,escapeKey:r=!0,outsidePress:i=!0,outsidePressEvent:a=`sloppy`,referencePress:o=Ki,bubbles:s,externalTree:c}=t,l=e.useState(`open`),u=e.useState(`floatingElement`),{dataRef:d,events:f}=e.context,p=Mi(c),m=K(typeof i==`function`?i:()=>!1),h=typeof i==`function`?m:i,g=h!==!1,_=K(()=>a),{escapeKey:v,outsidePress:y}=qi(s),b=J.useRef(!1),x=J.useRef(!1),S=J.useRef(!1),C=J.useRef(!1),w=J.useRef(!1),T=J.useRef(``),E=J.useRef(null),D=Mn(),O=Mn(),k=Mn(),A=K(()=>{O.clear(),d.current.insideReactTree=!1}),j=K(e=>{let t=d.current.floatingContext?.nodeId;return(p?ti(p.nodesRef.current,t):[]).some(t=>t.context?.open&&!t.context.dataRef.current[e])}),M=K(t=>dr(t,e.select(`floatingElement`))||dr(t,e.select(`domReferenceElement`))),N=K(t=>{o()&&e.setOpen(!1,Zt(en,t.nativeEvent))}),P=K(t=>{if(!l||!n||!r||t.key!==`Escape`)return;let i=yr(t)?t.nativeEvent:t;if(w.current||i.isComposing||!v&&j(`__escapeKeyBubbles`))return;let a=Zt(cn,i);e.setOpen(!1,a),a.isCanceled||t.preventDefault(),!v&&!a.isPropagationAllowed&&t.stopPropagation()}),F=K(()=>{d.current.insideReactTree=!0,O.start(0,A)}),I=K(t=>{if(!l||!n||t.button!==0)return;let r=nr(t.nativeEvent);Q(e.select(`floatingElement`),r)&&(b.current||(b.current=!0,x.current=!1))}),L=K(e=>{l&&n&&(e.defaultPrevented||e.nativeEvent.defaultPrevented)&&b.current&&(x.current=!0)});J.useEffect(()=>{function e(e){e.open||(C.current=!1)}return f.on(`openchange`,e),()=>{f.off(`openchange`,e)}},[f]),J.useEffect(()=>A,[A]),J.useEffect(()=>{if(!l||!n)return l||(C.current=!1,w.current=!1,T.current=``,E.current=null),A;d.current.__escapeKeyBubbles=v,d.current.__outsidePressBubbles=y;let t=new jn,i=Y(u);function a(){k.clear(),w.current=!0}function o(){w.current=!0,k.start(Wn?5:0,()=>{w.current=!1})}function s(){S.current=!0,t.start(0,()=>{S.current=!1})}function c(){b.current=!1,x.current=!1}function f(){let e=T.current,t=e===`pen`||!e?`mouse`:e,n=_(),r=typeof n==`function`?n():n;return typeof r==`string`?r:r[t]}function m(e){let t=f();return t===`intentional`&&e.type!==`click`||t===`sloppy`&&e.type===`click`}function O(e){let t=d.current.floatingContext?.nodeId,n=p&&ti(p.nodesRef.current,t).some(t=>dr(e,t.context?.elements.floating));return M(e)||n}function N(n){if(m(n)){n.type!==`click`&&!M(n)&&(t.clear(),S.current=!1),A();return}if(d.current.insideReactTree){A();return}let r=nr(n),i=`[${ri(`inert`)}]`,a=Re(r)?r.getRootNode():null,o=Array.from((Pe(a)?a:Y(e.select(`floatingElement`))).querySelectorAll(i)),s=e.context.triggerElements;if(r&&(s.hasElement(r)||s.hasMatchingElement(e=>Q(e,r))))return;let c=Re(r)?r:null;for(;c&&!Le(c);){let e=Fe(c);if(Le(e)||!Re(e))break;c=e}if(!(o.length&&Re(r)&&!fr(r)&&!Q(r,e.select(`floatingElement`))&&o.every(e=>!Q(c,e)))){if(G(r)&&!(`touches`in n)){let e=Le(r),t=Je(r),i=/auto|scroll/,a=e||i.test(t.overflowX),o=e||i.test(t.overflowY),s=a&&r.clientWidth>0&&r.scrollWidth>r.clientWidth,c=o&&r.clientHeight>0&&r.scrollHeight>r.clientHeight,l=t.direction===`rtl`,u=c&&(l?n.offsetX<=r.offsetWidth-r.clientWidth:n.offsetX>r.clientWidth),d=s&&n.offsetY>r.clientHeight;if(u||d)return}if(!O(n)){if(f()===`intentional`){if(n.detail!==0&&!br(n)&&!C.current)return;if(S.current){t.clear(),S.current=!1;return}}typeof h==`function`&&!h(n)||j(`__outsidePressBubbles`)||(e.setOpen(!1,Zt(rn,n)),A())}}}function F(t){f()===`sloppy`&&t.pointerType!==`touch`&&e.select(`open`)&&n&&!M(t)&&N(t)}function I(t){if(f()!==`sloppy`||!e.select(`open`)||!n||M(t))return;let r=t.touches[0];r&&(E.current={startTime:Date.now(),startX:r.clientX,startY:r.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},D.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}function L(e,t){let n=nr(e);if(!n)return;let r=X(n,e.type,()=>{t(e),r()})}function R(e){T.current=`touch`,L(e,I)}function z(e){D.clear(),e.type===`pointerdown`&&(e.button===0&&(C.current=!0),T.current=e.pointerType),(e.type!==`mousedown`||!E.current||E.current.dismissOnMouseDown)&&L(e,e=>{e.type===`pointerdown`?F(e):N(e)})}function ee(e){if(e.type===`pointercancel`&&(C.current=!1),!b.current)return;let n=x.current;c(),f()===`intentional`&&(e.type===`pointercancel`?n&&s():O(e)||(n?s():(typeof h!=`function`||h(e))&&(t.clear(),S.current=!0,A())))}function te(e){if(f()!==`sloppy`||!E.current||M(e))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),r=Math.abs(t.clientY-E.current.startY),i=Math.sqrt(n*n+r*r);i>5&&(E.current.dismissOnTouchEnd=!0),i>10&&(N(e),D.clear(),E.current=null)}function ne(e){L(e,te)}function re(e){f()===`sloppy`&&E.current&&!M(e)&&(E.current.dismissOnTouchEnd&&N(e),D.clear(),E.current=null)}function ie(e){L(e,re)}let B=En(r&&En(X(i,`keydown`,P),X(i,`compositionstart`,a),X(i,`compositionend`,o)),g&&En(X(i,`click`,z,!0),X(i,`pointerdown`,z,!0),X(i,`pointerup`,ee,!0),X(i,`pointercancel`,ee,!0),X(i,`mousedown`,z,!0),X(i,`mouseup`,ee,!0),X(i,`touchstart`,R,{capture:!0,passive:!0}),X(i,`touchmove`,ne,{capture:!0,passive:!0}),X(i,`touchend`,ie,{capture:!0,passive:!0})));return()=>{B(),t.clear(),c(),S.current=!1}},[d,u,r,g,h,l,n,v,y,P,A,_,j,M,p,e,D,k]);let R=J.useMemo(()=>({onKeyDown:P,onPointerDown:N,onClick:N}),[P,N]),z=J.useMemo(()=>({onKeyDown:P,onPointerDown:L,onMouseDown:L,onClickCapture:F,onMouseDownCapture(e){F(),I(e)},onPointerDownCapture(e){F(),I(e)},onMouseUpCapture:F,onTouchEndCapture:F,onTouchMoveCapture:F}),[P,F,I,L]);return J.useMemo(()=>n?{reference:R,floating:z,trigger:R}:{},[n,R,z])}function Yi(e){let{popupStore:t,treatPopupAsFloatingElement:n=!1,floatingRootContext:r,floatingId:i,nested:a,onOpenChange:o}=e,s=t.useState(`open`),c=t.useState(`activeTriggerElement`),l=t.useState(n?`popupElement`:`positionerElement`),u=o;return t.useSyncedValue(`floatingId`,i),W(()=>{let e={open:s,floatingId:i,referenceElement:c,floatingElement:l};Re(c)&&(e.domReferenceElement=c),r.state.positionReference===r.state.referenceElement&&(e.positionReference=c),r.update(e)},[s,i,c,l,r]),r.context.onOpenChange=u,r.context.nested=a,r}var Xi=He(),Zi=qe(),Qi=J.createContext(void 0);function $i(){let e=J.useContext(Qi);if(e===void 0)throw Error(Ie(26));return e}function ea(e,t){return e.getAnimations(t).filter(e=>{let t=e.effect?.getTiming();return t?.duration!==1/0&&t?.iterations!==1/0})}var ta=null;function na(e){if(!ta){let e=[];ta=e,queueMicrotask(()=>{ta=null,_i.flushSync(()=>{for(let t of e)t()})})}ta.push(e)}function ra(e,t=!1,n=!1){let r=Xn();return K((i,a=null)=>{r.cancel();let o=Ii(e);if(o==null)return;let s=o,c=()=>{n?na(()=>{a?.aborted||i()}):_i.flushSync(i)};if(typeof s.getAnimations!=`function`||globalThis.BASE_UI_ANIMATIONS_DISABLED){i();return}function l(){Promise.all(ea(s).map(e=>e.finished.then(q))).then(()=>{a?.aborted||c()},()=>{a?.aborted||(ea(s).some(e=>e.pending||e.playState!==`finished`)?l():c())})}if(t){let e=Nt;if(!s.hasAttribute(e)){r.request(l);return}let t=new MutationObserver(()=>{s.hasAttribute(e)||(t.disconnect(),l())});t.observe(s,{attributes:!0,attributeFilter:[e]}),a?.addEventListener(`abort`,()=>t.disconnect(),{once:!0})}else r.request(l)})}function ia(e){let{enabled:t=!0,open:n,ref:r,batch:i=!1,onComplete:a}=e,o=K(a),s=ra(r,n,i);J.useEffect(()=>{if(!t)return;let e=new AbortController;return s(o,e.signal),()=>{e.abort()}},[t,n,o,s])}var aa=`ArrowUp`,oa=`ArrowDown`,sa=`ArrowLeft`,ca=`ArrowRight`,la=new Set([aa,oa,sa,ca,`Home`,`End`]),ua=[`Shift`,`Control`,`Alt`,`Meta`];function da(e){return G(e)&&e.tagName===`INPUT`}function fa(e){return!!(da(e)&&e.selectionStart!=null||G(e)&&e.tagName===`TEXTAREA`)}function pa(e,t,n,r){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&r!==`vertical`){let r=ma(e,t,`left`),a=ha(e),o=ha(t);n===`ltr`&&(r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=r-o.scrollMarginLeft-a.scrollPaddingLeft)),n===`rtl`&&(r-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft?i=r-o.scrollMarginLeft-a.scrollPaddingLeft:r+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=r+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&r!==`horizontal`){let n=ma(e,t,`top`),r=ha(e),i=ha(t);n-i.scrollMarginTop<e.scrollTop+r.scrollPaddingTop?a=n-i.scrollMarginTop-r.scrollPaddingTop:n+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-r.scrollPaddingBottom&&(a=n+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+r.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:`auto`})}function ma(e,t,n){let r=n===`left`?`offsetLeft`:`offsetTop`,i=0;for(;t.offsetParent&&(i+=t[r],t.offsetParent!==e);)t=t.offsetParent;return i}function ha(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}function ga(e,t=!1,n=!1,r=!1){let[i,a]=J.useState(e&&t?`idle`:void 0),[o,s]=J.useState(e&&!r);return e&&!o&&(s(!0),a(`starting`)),!e&&o&&i!==`ending`&&!n&&a(`ending`),!e&&!o&&i===`ending`&&a(void 0),W(()=>{if(!e&&o&&i!==`ending`&&n){let e=Yn.request(()=>{a(`ending`)});return()=>{Yn.cancel(e)}}},[e,o,i,n]),W(()=>{if(!e||t||i===void 0)return;let n=Yn.request(()=>{a(void 0)});return()=>{Yn.cancel(n)}},[t,e,i]),W(()=>{if(!e||!t)return;e&&o&&i!==`idle`&&a(`starting`);let n=Yn.request(()=>{a(`idle`)});return()=>{Yn.cancel(n)}},[t,e,o,i]),{mounted:o,setMounted:s,transitionStatus:i}}function _a(e){let{open:t,ref:n,preventUnmountOnClose:r,setPreventUnmountOnClose:i,onUnmount:a,animateInitialOpen:o}=e,s=K(i),{mounted:c,setMounted:l,transitionStatus:u}=ga(t,!1,!1,o),d=!t&&r;W(()=>{t&&s(!1)},[t,s]);let f=J.useRef(c),p=J.useRef(!1),m=yn(),h=()=>{f.current=!1,l(!1),a()};W(()=>{f.current=c,p.current&&(p.current=!1,!t&&c&&h())});let g=K(()=>{f.current&&(t?(p.current=!0,m()):h())});return ia({enabled:c&&!t&&!d,open:t,ref:n,onComplete(){t||g()}}),{mounted:c,transitionStatus:u,preventUnmountingOnClose:d,forceUnmount:g}}var va={tabIndex:-1,[rr]:``};function ya(e){return t=>t!==`touch`||e.current}function ba(e,t=!1){let n=Cn(),r=ji()!=null,i=Ye(()=>e(n,r)).current;return Yi({popupStore:i,treatPopupAsFloatingElement:t,floatingRootContext:i.state.floatingRootContext,floatingId:n,nested:r,onOpenChange:i.setOpen}),i}function xa({handle:e,store:t}){return W(()=>e.attachStore(t),[e,t]),null}function Sa(e){let t=e.context.triggerElements.size;e.select(`open`)&&e.state.triggerCount!==t&&e.set(`triggerCount`,t)}function Ca(e,t){let n=J.useRef(null);return K(r=>{let i=n.current;if(i!==null){if(i.element===r&&i.store===t&&i.id===e)return;n.current=null;let a=i.store;a.context.triggerElements.getById(i.id)===i.element&&(a.context.triggerElements.delete(i.id),Sa(a))}r!==null&&e!==void 0&&(n.current={store:t,id:e,element:r},t.context.triggerElements.add(e,r),Sa(t))})}function wa(e,t,n,r=!1){let i=e.preventUnmountingOnClose;t?i=!1:r&&(i=!0);let a=n?.id??null,o=e.activeTriggerId,s=e.activeTriggerElement;return(a||t)&&(o=a,s=n??null),{open:t,preventUnmountingOnClose:i,activeTriggerId:o,activeTriggerElement:s,openedWithoutTrigger:t?n==null:e.openedWithoutTrigger}}function Ta(e){let t=!1;return e.preventUnmountOnClose=()=>{t=!0},()=>t}function Ea(e,t,n,r){let i=n.useState(`isMountedByTrigger`,e),a=Ca(e,n),o=K(t=>{let i=n.select(`open`),a=n.select(`activeTriggerId`);if(a===e){let e={activeTriggerElement:t,...i?r:null};n.update(e)}else if(a==null&&i&&!n.state.openedWithoutTrigger){let i={activeTriggerId:e??null,activeTriggerElement:t,...r};n.update(i)}}),s=K(e=>{a(e),e&&o(e)});return W(()=>(s(t.current),()=>s(null)),[s,t,n,e]),W(()=>{if(i){let e={activeTriggerElement:t.current,...r};n.update(e)}},[i,n,t,...Object.values(r)]),{registerTrigger:s,isMountedByThisTrigger:i}}function Da(e,t={}){let{closeOnActiveTriggerUnmount:n=!1}=t,r=J.useRef(null),i=e.useState(`open`),a=e.useState(`triggerCount`),o=e.useState(`activeTriggerId`),s=e.useState(`activeTriggerElement`);W(()=>{if(!i){r.current=null,e.state.triggerCount!==0&&e.set(`triggerCount`,0),e.state.openedWithoutTrigger&&e.set(`openedWithoutTrigger`,!1);return}let t=e.context.triggerElements.size,a={};e.state.triggerCount!==t&&(a.triggerCount=t);let o=e.select(`activeTriggerId`),s=null;if(o){let t=e.context.triggerElements.getById(o);if(t)r.current=o,t!==e.state.activeTriggerElement&&(a.activeTriggerElement=t);else{for(let[t,n]of e.context.triggerElements.entries())if(n===e.state.activeTriggerElement){a.activeTriggerId=t,a.activeTriggerElement=n,r.current=t;break}a.activeTriggerId===void 0&&(r.current===o?s=o:r.current=null)}}else r.current=null;if(!s&&!o&&!e.state.openedWithoutTrigger&&t===1){let t=e.context.triggerElements.entries().next();if(!t.done){let[e,n]=t.value;a.activeTriggerId=e,a.activeTriggerElement=n,r.current=e}}(a.triggerCount!==void 0||a.activeTriggerId!==void 0||a.activeTriggerElement!==void 0)&&e.update(a),s&&n&&queueMicrotask(()=>{if(e.select(`open`)&&e.select(`activeTriggerId`)===s&&!e.context.triggerElements.getById(s)){let t=Zt($t);e.setOpen(!1,t),t.isCanceled||e.update({activeTriggerId:null,activeTriggerElement:null})}})},[i,e,a,o,s,n])}function Oa(e,t,n,r){let{mounted:i,transitionStatus:a,forceUnmount:o}=_a({open:e,ref:t.context.popupRef,preventUnmountOnClose:t.useState(`preventUnmountingOnClose`),setPreventUnmountOnClose:e=>t.set(`preventUnmountingOnClose`,e),animateInitialOpen:r,onUnmount(){t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1,preventUnmountingOnClose:!1}),n?.(),t.context.onOpenChangeComplete?.(!1)}});return Ye(()=>(t.set(`mounted`,i),null)),t.useSyncedValues({mounted:i,transitionStatus:a}),{forceUnmount:o,transitionStatus:a}}function ka(e,t){e.useSyncedValues(t),W(()=>()=>{e.update({activeTriggerProps:Be,inactiveTriggerProps:Be,popupProps:Be})},[e])}function Aa(e,t){W(()=>{!t&&e.state.openMethod!==null&&e.set(`openMethod`,null)},[t,e]),W(()=>()=>{e.state.openMethod!==null&&e.set(`openMethod`,null)},[e])}var ja=class{idMap=new Map;add(e,t){this.idMap.set(e,t)}delete(e){this.idMap.delete(e)}hasElement(e){for(let t of this.idMap.values())if(t===e)return!0;return!1}hasMatchingElement(e){for(let t of this.idMap.values())if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}elements(){return this.idMap.values()}get size(){return this.idMap.size}},Ma=[],Na=void 0;function Pa(){return Na}function Fa(e){Ma.push(e)}function Ia(e){let t=(t,n)=>{let r=Ye(Ra).current,i;try{Na=r;for(let e of Ma)e.before(r);i=e(t,n);for(let e of Ma)e.after(r);r.didInitialize=!0}finally{Na=void 0}return i};return t.displayName=e.displayName||e.name,t}function La(e){return J.forwardRef(Ia(e))}function Ra(){return{didInitialize:!1}}var za=it(19)?Ha:Ua;function Ba(e,t,n,r,i){return za(e,t,n,r,i)}function Va(e,t,n,r,i){let a=J.useCallback(()=>t(e.getSnapshot(),n,r,i),[e,t,n,r,i]);return(0,Xi.useSyncExternalStore)(e.subscribe,a,a)}Fa({before(e){e.syncIndex=0,e.didInitialize||(e.syncTick=1,e.syncHooks=[],e.didChangeStore=!0,e.getSnapshot=()=>{let t=!1;for(let n=0;n<e.syncHooks.length;n+=1){let r=e.syncHooks[n],i=r.selector(r.store.state,r.a1,r.a2,r.a3);Object.is(r.value,i)||(t=!0,r.value=i)}return t&&(e.syncTick+=1),e.syncTick})},after(e){e.syncHooks.length>0&&(e.didChangeStore&&(e.didChangeStore=!1,e.subscribe=t=>{let n=new Set;for(let t of e.syncHooks)n.add(t.store);let r=[];for(let e of n)r.push(e.subscribe(t));return()=>{for(let e of r)e()}}),(0,Xi.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot))}});function Ha(e,t,n,r,i){let a=Pa();if(!a)return Va(e,t,n,r,i);let o=a.syncIndex;a.syncIndex+=1;let s;return a.didInitialize?(s=a.syncHooks[o],s.store===e&&s.selector===t&&Object.is(s.a1,n)&&Object.is(s.a2,r)&&Object.is(s.a3,i)||(s.store!==e&&(a.didChangeStore=!0),s.store=e,s.selector=t,s.a1=n,s.a2=r,s.a3=i,s.value=t(e.getSnapshot(),n,r,i))):(s={store:e,selector:t,a1:n,a2:r,a3:i,value:t(e.getSnapshot(),n,r,i)},a.syncHooks.push(s)),s.value}function Ua(e,t,n,r,i){return(0,Zi.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,n,r,i))}var Wa=class{static create(e){return new this(e)}constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let n of this.listeners){if(t!==this.updateTick)return;n(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t])){this.setState({...this.state,...e});return}}set(e,t){Object.is(this.state[e],t)||this.setState({...this.state,[e]:t})}notifyAll(){let e={...this.state};this.setState(e)}use(e,t,n,r){return Ba(this,e,t,n,r)}},Ga=class extends Wa{constructor(e,t={},n){super(e),this.context=t,this.selectors=n}useSyncedValue(e,t){J.useDebugValue(e);let n=this;W(()=>{n.state[e]!==t&&n.set(e,t)},[n,e,t])}useSyncedValueWithCleanup(e,t){let n=this;W(()=>(n.state[e]!==t&&n.set(e,t),()=>{n.set(e,void 0)}),[n,e,t])}useSyncedValues(e){let t=this,n=Object.values(e);W(()=>{t.update(e)},[t,...n])}useControlledProp(e,t){J.useDebugValue(e);let n=this,r=t!==void 0;W(()=>{r&&!Object.is(n.state[e],t)&&n.setState({...n.state,[e]:t})},[n,e,t,r])}select(e,t,n,r){let i=this.selectors[e];return i(this.state,t,n,r)}useState(e,t,n,r){return J.useDebugValue(e),Ba(this,this.selectors[e],t,n,r)}useContextCallback(e,t){J.useDebugValue(e);let n=K(t??q);this.context[e]=n}useStateSetter(e){let t=J.useRef(void 0);return t.current===void 0&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let n;n=typeof e==`function`?e:this.selectors[e];let r=n(this.state);return t(r,r,this),this.subscribe(e=>{let i=n(e);if(!Object.is(r,i)){let e=r;r=i,t(i,e,this)}})}},Ka={open:e=>e.open,transitionStatus:e=>e.transitionStatus,domReferenceElement:e=>e.domReferenceElement,referenceElement:e=>e.positionReference??e.referenceElement,floatingElement:e=>e.floatingElement,floatingId:e=>e.floatingId},qa=class extends Ga{constructor(e){let{syncOnly:t,nested:n,onOpenChange:r,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:r,dataRef:{current:{}},events:Di(),nested:n,triggerElements:i},Ka),this.syncOnly=t}syncOpenEvent=(e,t)=>{(!e||!this.state.open||t!=null&&Cr(t))&&(this.context.dataRef.current.openEvent=e?t:void 0)};dispatchOpenChange=(e,t)=>{this.syncOpenEvent(e,t.event);let n={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit(`openchange`,n)};setOpen=(e,t)=>{this.syncOnly||this.dispatchOpenChange(e,t),this.context.onOpenChange?.(e,t)}};function Ja(e,t,n=!1){return{open:!1,openProp:void 0,mounted:!1,transitionStatus:void 0,floatingRootContext:new qa({open:!1,transitionStatus:void 0,floatingElement:null,referenceElement:null,triggerElements:e,floatingId:t,syncOnly:!0,nested:n,onOpenChange:void 0}),floatingId:t,triggerCount:0,preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,openedWithoutTrigger:!1,triggerIdProp:void 0,popupElement:null,positionerElement:null,activeTriggerProps:Be,inactiveTriggerProps:Be,popupProps:Be}}var Ya=e=>e.triggerIdProp??e.activeTriggerId,Xa=e=>e.openProp??e.open,Za=e=>(e.popupElement?.id??e.floatingId)||void 0;function Qa(e,t){return t!==void 0&&Xa(e)&&Ya(e)===t}function $a(e,t){return Qa(e,t)?!0:t!==void 0&&Xa(e)&&Ya(e)==null&&!e.openedWithoutTrigger&&e.triggerCount===1}var eo={open:Xa,mounted:e=>e.mounted,transitionStatus:e=>Xa(e)&&!e.mounted?`starting`:e.transitionStatus,floatingRootContext:e=>e.floatingRootContext,triggerCount:e=>e.triggerCount,preventUnmountingOnClose:e=>e.preventUnmountingOnClose,payload:e=>e.payload,activeTriggerId:Ya,activeTriggerElement:e=>e.mounted?e.activeTriggerElement:null,popupId:Za,isTriggerActive:(e,t)=>t!==void 0&&Ya(e)===t,isOpenedByTrigger:(e,t)=>Qa(e,t),isMountedByTrigger:(e,t)=>t!==void 0&&Ya(e)===t&&e.mounted,triggerProps:(e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps,triggerPopupId:(e,t)=>$a(e,t)?Za(e):void 0,popupProps:e=>e.popupProps,popupElement:e=>e.popupElement,positionerElement:e=>e.positionerElement},to=`--nested-dialogs`,no=`data-nested-dialog-open`,ro={...Jt,...Lt,nestedDialogOpen(e){return e?{[no]:``}:null}},io=J.forwardRef(function(e,t){let{render:n,className:r,style:i,finalFocus:a,initialFocus:o,...s}=e,c=Mt(),l=c.useState(`descriptionElementId`),u=c.useState(`disablePointerDismissal`),d=c.useState(`floatingRootContext`),f=c.useState(`popupProps`),p=c.useState(`modal`),m=c.useState(`mounted`),h=c.useState(`nested`),g=c.useState(`nestedOpenDialogCount`),_=c.useState(`open`),v=c.useState(`openMethod`),y=c.useState(`titleElementId`),b=c.useState(`transitionStatus`),x=c.useState(`role`),S=d.useState(`floatingId`);$i(),ia({open:_,ref:c.context.popupRef,onComplete(){_&&c.context.onOpenChangeComplete?.(!0)}});let C=o===void 0?ya(c.context.popupRef):o,w=g>0,T=c.useStateSetter(`popupElement`),E=Xe(`div`,e,{state:{open:_,nested:h,transitionStatus:b,nestedDialogOpen:w},props:[f,{id:S,"aria-labelledby":y,"aria-describedby":l,role:x,...va,hidden:!m,onKeyDown(e){la.has(e.key)&&e.stopPropagation()},style:{[to]:g}},s],ref:[t,c.context.popupRef,T],stateAttributesMapping:ro});return(0,Z.jsx)(Gi,{context:d,openInteractionType:v,disabled:!m,closeOnFocusOut:!u,initialFocus:C,returnFocus:a,modal:p!==!1,restoreFocus:`popup`,children:E})});function ao(e){return it(19)?e:e?`true`:void 0}var oo=J.forwardRef(function(e,t){let{cutout:n,...r}=e,i;if(n){let e=n.getBoundingClientRect();i=`polygon(0% 0%,100% 0%,100% 100%,0% 100%,0% 0%,${e.left}px ${e.top}px,${e.left}px ${e.bottom}px,${e.right}px ${e.bottom}px,${e.right}px ${e.top}px,${e.left}px ${e.top}px)`}return(0,Z.jsx)(`div`,{ref:t,role:`presentation`,"data-base-ui-inert":``,...r,style:{position:`fixed`,inset:0,userSelect:`none`,WebkitUserSelect:`none`,clipPath:i}})}),so=J.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e,i=Mt(),a=i.useState(`mounted`),o=i.useState(`modal`),s=i.useState(`open`);return a||n?(0,Z.jsx)(Qi.Provider,{value:n,children:(0,Z.jsxs)(Ei,{ref:t,...r,children:[a&&o===!0&&(0,Z.jsx)(oo,{ref:i.context.internalBackdropRef,inert:ao(!s)}),e.children]})}):null}),co={},lo={},uo=``;function fo(e,t){return Ne(e)?e:t}function po(e,t,n){return/hidden|clip/.test(e.getComputedStyle(fo(t,n)).overflowY)}function mo(e){if(typeof document>`u`)return!1;let t=Y(e);return at(t).innerWidth-t.documentElement.clientWidth>0}function ho(e){if(!(typeof CSS<`u`&&CSS.supports&&CSS.supports(`scrollbar-gutter`,`stable`))||typeof document>`u`)return!1;let t=Y(e),n=t.documentElement,r=t.body,i=fo(n,r),a=i.style.overflowY,o=n.style.scrollbarGutter;n.style.scrollbarGutter=`stable`,i.style.overflowY=`scroll`;let s=i.offsetWidth;i.style.overflowY=`hidden`;let c=i.offsetWidth;return i.style.overflowY=a,n.style.scrollbarGutter=o,s===c}function go(e){let t=Y(e),n=t.documentElement,r=t.body,i=fo(n,r),a={overflowY:i.style.overflowY,overflowX:i.style.overflowX};return Object.assign(i.style,{overflowY:`hidden`,overflowX:`hidden`}),()=>{Object.assign(i.style,a)}}function _o(e){let t=Y(e),n=t.documentElement,r=t.body,i=at(n),a=0,o=0,s=!1,c=Yn.create();if(Wn&&(i.visualViewport?.scale??1)!==1)return()=>{};function l(){let t=i.getComputedStyle(n),c=i.getComputedStyle(r),l=(t.scrollbarGutter||``).includes(`both-edges`)?`stable both-edges`:`stable`;a=n.scrollTop,o=n.scrollLeft,co={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},uo=n.style.scrollBehavior,lo={position:r.style.position,height:r.style.height,width:r.style.width,boxSizing:r.style.boxSizing,overflowY:r.style.overflowY,overflowX:r.style.overflowX,scrollBehavior:r.style.scrollBehavior};let u=n.scrollHeight>n.clientHeight,d=n.scrollWidth>n.clientWidth,f=t.overflowY===`scroll`||c.overflowY===`scroll`,p=t.overflowX===`scroll`||c.overflowX===`scroll`,m=Math.max(0,i.innerWidth-r.clientWidth),h=Math.max(0,i.innerHeight-r.clientHeight),g=parseFloat(c.marginTop)+parseFloat(c.marginBottom),_=parseFloat(c.marginLeft)+parseFloat(c.marginRight),v=fo(n,r);s=ho(e),s?(n.style.scrollbarGutter=l,v.style.overflowY=`hidden`,v.style.overflowX=`hidden`):(Object.assign(n.style,{scrollbarGutter:l,overflowY:`hidden`,overflowX:`hidden`}),(u||f)&&(n.style.overflowY=`scroll`),(d||p)&&(n.style.overflowX=`scroll`),Object.assign(r.style,{position:`relative`,height:g||h?`calc(100dvh - ${g+h}px)`:`100dvh`,width:_||m?`calc(100vw - ${_+m}px)`:`100vw`,boxSizing:`border-box`,overflowY:`hidden`,overflowX:`hidden`,scrollBehavior:`unset`}),r.scrollTop=a,r.scrollLeft=o,n.setAttribute(`data-base-ui-scroll-locked`,``),n.style.scrollBehavior=`unset`)}function u(){Object.assign(n.style,co),Object.assign(r.style,lo),s||(n.scrollTop=a,n.scrollLeft=o,n.removeAttribute(`data-base-ui-scroll-locked`),n.style.scrollBehavior=uo)}function d(){u(),c.request(l)}l();let f=X(i,`resize`,d);return()=>{c.cancel(),u(),typeof i.removeEventListener==`function`&&f()}}var vo=new class{lockCount=0;restore=null;timeoutLock=jn.create();timeoutUnlock=jn.create();acquire(e){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{--this.lockCount,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(this.lockCount===0||this.restore!==null)return;let t=Y(e),n=t.documentElement,r=t.body,i=at(n);if(po(i,n,r)){let t=new i.MutationObserver(()=>{po(i,n,r)||(t.disconnect(),this.restore=null,this.lock(e))}),a={attributes:!0};t.observe(n,a),t.observe(r,a),this.restore=()=>t.disconnect();return}let a=zn||!mo(e);this.restore=a?go(e):_o(e)}};function yo(e=!0,t=null){W(()=>{if(e)return vo.acquire(t)},[e,t])}function bo({store:e,parentContext:t,isDrawer:n}){let r=e.useState(`open`),i=e.useState(`mounted`),a=e.useState(`disablePointerDismissal`),o=e.useState(`modal`),s=e.useState(`popupElement`),c=e.useState(`floatingRootContext`),[l,u]=J.useState(0),[d,f]=J.useState(0),p=l===0,m=Ji(c,{outsidePressEvent(){return e.context.internalBackdropRef.current||e.context.backdropRef.current?`intentional`:{mouse:o===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}},outsidePress(t){if(!e.context.outsidePressEnabledRef.current||`button`in t&&t.button!==0)return!1;if(`touches`in t){if(t.type===`touchend`){if(t.changedTouches.length!==1||t.touches.length!==0)return!1}else if(t.touches.length!==1)return!1}let n=nr(t);if(p&&!a){if(o){let t=e.context.internalBackdropRef.current,r=e.context.backdropRef.current;return t||r?t===n||r===n||Q(n,s)&&!n?.hasAttribute(`data-base-ui-portal`):!0}return!0}return!1},escapeKey:p});return yo(r&&o===!0,s),e.useContextCallback(`onNestedDialogOpen`,(t,n)=>{(e.select(`open`)||e.select(`mounted`))&&(u(t),f(n))}),W(()=>{!r&&!i&&(u(0),f(0))},[r,i]),W(()=>(t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(l+1,d+ +!!n),()=>{t?.onNestedDialogOpen&&r&&t.onNestedDialogOpen(0,0)}),[n,r,l,d,t]),ka(e,{activeTriggerProps:m.reference,inactiveTriggerProps:m.trigger,popupProps:m.floating,nestedOpenDialogCount:l,nestedOpenDrawerCount:d}),null}var xo={...eo,modal:e=>e.modal,nested:e=>e.nested,nestedOpenDialogCount:e=>e.nestedOpenDialogCount,nestedOpenDrawerCount:e=>e.nestedOpenDrawerCount,disablePointerDismissal:e=>e.disablePointerDismissal,openMethod:e=>e.openMethod,descriptionElementId:e=>e.descriptionElementId,titleElementId:e=>e.titleElementId,viewportElement:e=>e.viewportElement,role:e=>e.role},So=class extends Ga{constructor(e,t,n){let r=new ja,i=Co(e,r,t,n);super(i,wo(r),xo)}setOpen=(e,t)=>{t.preventUnmountOnClose=()=>{this.set(`preventUnmountingOnClose`,!0)},!e&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),!t.isCanceled&&(this.state.floatingRootContext.dispatchOpenChange(e,t),this.update(wa(this.state,e,t.trigger)))}};function Co(e,t,n,r=!1){return{...Ja(t,n,r),modal:!0,disablePointerDismissal:!1,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,nestedOpenDrawerCount:0,role:`dialog`,...e}}function wo(e){return{popupRef:J.createRef(),backdropRef:J.createRef(),internalBackdropRef:J.createRef(),outsidePressEnabledRef:{current:!0},triggerElements:e,onOpenChange:void 0,onOpenChangeComplete:void 0}}function To(e,t){let{children:n,open:r,defaultOpen:i=!1,onOpenChange:a,onOpenChangeComplete:o,disablePointerDismissal:s=!1,modal:c=!0,actionsRef:l,handle:u,triggerId:d,defaultTriggerId:f=null}=t,p=e===`drawer`,m=e===`alert-dialog`,h=m?!0:c,g=m||s,_=m?`alertdialog`:`dialog`,v=Mt(!0),y={modal:h,disablePointerDismissal:g,nested:v!=null,role:_},b=ba((e,t)=>new So({open:i,openProp:r,activeTriggerId:f,triggerIdProp:d,...y},e,t),!0);b.useControlledProp(`openProp`,r),b.useControlledProp(`triggerIdProp`,d),b.useSyncedValues(y),b.useContextCallback(`onOpenChange`,a),b.useContextCallback(`onOpenChangeComplete`,o);let x=b.useState(`open`),S=b.useState(`mounted`),C=b.useState(`payload`);Aa(b,x),Da(b);let{forceUnmount:w}=Oa(x,b);J.useImperativeHandle(l,()=>({unmount:w,close:()=>b.setOpen(!1,Zt(_n))}),[w,b]);let T=x||S||u!=null;return(0,Z.jsxs)(jt.Provider,{value:b,children:[u&&(0,Z.jsx)(xa,{handle:u,store:b}),T&&(0,Z.jsx)(bo,{store:b,parentContext:v?.context,isDrawer:p}),typeof n==`function`?n({payload:C}):n]})}var Eo=Ia(function(e){return To(`dialog`,e)}),Do=J.forwardRef(function(e,t){let{render:n,className:r,style:i,id:a,...o}=e,s=Mt(),c=wn(a);return s.useSyncedValueWithCleanup(`titleElementId`,c),Xe(`h2`,e,{ref:t,props:[{id:c},o]})});function Oo(e,t){let n=J.useRef(e),r=K(t);W(()=>{n.current!==e&&r(n.current),n.current=e},[e,r])}var $=Oe();function ko(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Eo,{"data-slot":`dialog`,...n}),t[2]=n,t[3]=r),r}function Ao(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(so,{"data-slot":`dialog-portal`,...n}),t[2]=n,t[3]=r),r}function jo(e){let t=(0,$.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(vn,{"data-slot":`dialog-close`,...n}),t[2]=n,t[3]=r),r}function Mo(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`fixed inset-0 isolate z-50 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Xt,{"data-slot":`dialog-overlay`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function No(e){let t=(0,$.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,showCloseButton:a,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a===void 0||a,s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(Mo,{}),t[5]=s):s=t[5];let c;t[6]===r?c=t[7]:(c=U(`fixed top-1/2 left-1/2 z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl bg-popover p-4 text-xs/relaxed text-popover-foreground ring-1 ring-foreground/10 duration-100 outline-none sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,r),t[6]=r,t[7]=c);let l;t[8]===o?l=t[9]:(l=o&&(0,Z.jsxs)(vn,{"data-slot":`dialog-close`,render:(0,Z.jsx)(We,{variant:`ghost`,className:`absolute top-2 right-2`,size:`icon-sm`}),children:[(0,Z.jsx)(dt,{}),(0,Z.jsx)(`span`,{className:`sr-only`,children:`Close`})]}),t[8]=o,t[9]=l);let u;return t[10]!==n||t[11]!==i||t[12]!==c||t[13]!==l?(u=(0,Z.jsxs)(Ao,{children:[s,(0,Z.jsxs)(io,{"data-slot":`dialog-content`,className:c,...i,children:[n,l]})]}),t[10]=n,t[11]=i,t[12]=c,t[13]=l,t[14]=u):u=t[14],u}function Po(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`flex flex-col gap-1`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`div`,{"data-slot":`dialog-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Fo(e){let t=(0,$.c)(14),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,showCloseButton:a,children:n,...i}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o=a!==void 0&&a,s;t[5]===r?s=t[6]:(s=U(`flex flex-col-reverse gap-2 sm:flex-row sm:justify-end`,r),t[5]=r,t[6]=s);let c;t[7]===o?c=t[8]:(c=o&&(0,Z.jsx)(vn,{render:(0,Z.jsx)(We,{variant:`outline`}),children:`Close`}),t[7]=o,t[8]=c);let l;return t[9]!==n||t[10]!==i||t[11]!==s||t[12]!==c?(l=(0,Z.jsxs)(`div`,{"data-slot":`dialog-footer`,className:s,...i,children:[n,c]}),t[9]=n,t[10]=i,t[11]=s,t[12]=c,t[13]=l):l=t[13],l}function Io(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`text-sm font-medium`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Do,{"data-slot":`dialog-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Lo(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`text-xs/relaxed text-muted-foreground *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Tn,{"data-slot":`dialog-description`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Ro=`data-valid`,zo=`data-invalid`,Bo={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},Vo={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},Ho={valid(e){return e===null?null:e?{[Ro]:``}:{[zo]:``}}},Uo={invalid:void 0,name:void 0,validityData:{state:Bo,errors:[],error:``,value:``,initialValue:null},setValidityData:q,disabled:void 0,setTouched:q,setDirty:q,setFilled:q,setFocused:q,focusOwnerRef:{current:void 0},validationMode:`onSubmit`,shouldValidateOnChange:()=>!1,state:Vo,registerFieldControl:q,validation:{getValidationProps:(e,t=Be)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:q,getInputControl:()=>null,commit:async()=>{},change:q}},Wo=J.createContext(Uo);function Go(e=!0){let t=J.useContext(Wo);if(t.setValidityData===q&&!e)throw Error(Ie(28));return t}var Ko=J.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:q,validationMode:`onSubmit`,submitCountRef:{current:0}});function qo(){return J.useContext(Ko)}var Jo=J.createContext({controlId:void 0,registerControlId:q,resetControlId:q,labelId:void 0,setLabelId:q,messageIds:[],setMessageIds:q,getDescriptionProps:e=>e});function Yo(){return J.useContext(Jo)}function Xo(e,t,n){let{setFocused:r,focusOwnerRef:i}=Go(),a=K(t=>{(t?!e:i.current===a)&&(i.current=t&&a,n?.(t),r(t))});return W(()=>{let e=t.current;return e?.getRootNode()?.activeElement===e&&a(!0),()=>a(!1)},[e,t,a]),a}function Zo(e,t,n,r,i=!0,a){let{registerFieldControl:o}=Go(),s=Ye(()=>Symbol());W(()=>{let c=s.current;i?o(c,{controlRef:e,getValue:r,id:t,name:a,value:n}):o(c,void 0)},[e,i,r,t,a,o,s,n]),W(()=>{let e=s.current;return()=>{o(e,void 0)}},[o,s])}function Qo(e={}){let{id:t,enabled:n=!0}=e,{controlId:r,registerControlId:i,resetControlId:a}=Yo(),o=wn(),s=Ye(()=>Symbol()),c=J.useRef(!1),l=J.useRef(!1),u=K(()=>{c.current&&i!==q&&(c.current=!1,i(s.current,void 0))});return W(()=>{if(!n||i===q){u();return}let e;if(t!==void 0)l.current=!0,e=t;else if(l.current)e=o;else{a();return}e===void 0?u():(c.current=!0,i(s.current,e))},[t,n,i,a,o,s,u]),W(()=>u,[u]),(n?r:void 0)??t??o}var $o=J.forwardRef(function(e,t){let{render:n,className:r,id:i,name:a,value:o,disabled:s=!1,onValueChange:c,defaultValue:l,autoFocus:u=!1,style:d,...f}=e,{state:p,name:m,disabled:h,setTouched:g,setDirty:_,validityData:v,setFilled:y,validationMode:b,validation:x}=Go(),{clearErrors:S,elementRef:C,submitCountRef:w}=qo(),T=h||s,E=m??a,D={...p,disabled:T},{labelId:O}=Yo(),k=Qo({id:i}),A=o!==void 0,j=o==null?void 0:String(o),M=K(()=>x.inputRef.current?.value);Zo(x.inputRef,k,j,M,!T,a),W(()=>{let e=j??x.inputRef.current?.value;e!==void 0&&y(e!==``)},[j,l,x.inputRef,y]),Oo(j,()=>{j!==void 0&&(S(E),_(j!==(v.initialValue??``)),x.change(j))});let N=J.useRef(null),P=Xo(T,N),F=Mn();return Xe(`input`,e,{ref:[t,N],state:D,props:[{id:k,disabled:T,name:E,ref:x.inputRef,"aria-labelledby":O,autoFocus:u,...A?{value:o}:{defaultValue:l},onChange(e){let t=e.currentTarget.value,n=Zt($t,e.nativeEvent);c?.(t,n),!A&&(_(t!==(v.initialValue??``)),y(t!==``),!e.nativeEvent.defaultPrevented&&!n.isCanceled&&(S(E),x.change(t)))},onFocus(){P(!0)},onBlur(e){if(g(!0),P(!1),b===`onBlur`){let t=e.currentTarget.value;x.commit(t),A&&queueMicrotask(()=>{let e=x.inputRef.current?.value;e!==void 0&&e!==t&&e!==(v.initialValue??``)&&x.commit(e)})}},onKeyDown(e){if(e.currentTarget.tagName===`INPUT`&&e.key===`Enter`){g(!0);let t=e.currentTarget.value,n=e.currentTarget.form;if(n&&n===C.current&&!e.defaultPrevented){let t=e.currentTarget,n=w.current;F.start(0,()=>{w.current===n&&x.commit(t.value)})}else x.commit(t)}}},f,e=>x.getValidationProps(T,e)],stateAttributesMapping:Ho})}),es=J.forwardRef(function(e,t){return(0,Z.jsx)($o,{ref:t,...e})});function ts(e){let t=(0,$.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,type:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a;t[4]===n?a=t[5]:(a=U(`h-7 w-full min-w-0 rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-xs/relaxed file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 md:text-xs/relaxed dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40`,n),t[4]=n,t[5]=a);let o;return t[6]!==r||t[7]!==a||t[8]!==i?(o=(0,Z.jsx)(es,{type:i,"data-slot":`input`,className:a,...r}),t[6]=r,t[7]=a,t[8]=i,t[9]=o):o=t[9],o}function ns({controlled:e,default:t,name:n,state:r=`value`}){let{current:i}=J.useRef(e!==void 0),[a,o]=J.useState(()=>t);return[i&&e!==void 0?e:a,J.useCallback(e=>{i||o(e)},[])]}var rs=J.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});function is(){return J.useContext(rs)}function as(e={}){let{guess:t,label:n,metadata:r,textRef:i,index:a}=e,{register:o,unregister:s,subscribeMapChange:c,nextIndexRef:l}=is(),u=J.useRef(-1),[d,f]=J.useState(a==null&&t?()=>{if(u.current===-1){let e=l.current;l.current+=1,u.current=e}return u.current}:-1),p=a??d,m=J.useRef(null),h=J.useCallback(e=>{let t=m.current;t&&s(t),m.current=e,e&&o(e,{metadata:r??null,index:a??null,label:n,textRef:i})},[a,o,s,r,n,i]);return W(()=>{if(a==null)return c(e=>{let t=m.current?e.get(m.current)?.index:null;t!=null&&f(t)})},[a,c]),{ref:h,index:p}}var os=J.createContext(void 0);function ss(){return J.useContext(os)?.direction??`ltr`}function cs(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:i}=e,a=K(i),[,o]=J.useState(0),s=Ye(us).current,c=Ye(ls).current,l=J.useRef(0),u=J.useRef(!0),d=J.useRef(null),f=J.useRef(null),p=K(()=>{u.current||(u.current=!0,o(e=>e+1))}),m=K((e,t)=>{c.set(e,t),p()}),h=K(e=>{c.delete(e),p()}),g=K(e=>{let t=new Map;return n.current.length=0,r&&(r.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),n.current[e.index]=e.element,r&&(r.current[e.index]=e.registration.label===void 0?e.registration.textRef?.current?.textContent??e.element.textContent:e.registration.label)}),l.current=n.current.length,t});function _(e){if(f.current?.disconnect(),f.current=null,typeof MutationObserver!=`function`||e.length<2)return;let t=new MutationObserver(n=>{if(!ps(n))return;let r=null;for(let n of e)if(n.isConnected){if(r&&ms(r,n)>0){t.disconnect(),p();return}r=n}});f.current=t;let n=new Set;for(let t=1;t<e.length;t+=1){let r=fs(e[t-1],e[t]);r&&n.add(r)}n.forEach(e=>t.observe(e,{childList:!0}))}let v=K(()=>{let[e,t]=ds(c),n=g(e),r=d.current,i=!r||r.length!==e.length||e.some((e,t)=>{let n=r[t];return e.index!==n.index||e.element!==n.element||e.registration.index!==n.registration.index||e.registration.metadata!==n.registration.metadata});_(t),d.current=e,u.current=!1,i&&(s.forEach(e=>e(n)),a(n))});W(()=>(!u.current&&d.current&&g(d.current),()=>{n.current=[],r&&(r.current=[])}),[n,r,g]),W(()=>{u.current&&v()}),W(()=>()=>{f.current?.disconnect(),u.current=!0},[]);let y=K(e=>(s.add(e),()=>{s.delete(e)})),b=J.useMemo(()=>({register:m,unregister:h,subscribeMapChange:y,nextIndexRef:l}),[m,h,y,l]);return(0,Z.jsx)(rs.Provider,{value:b,children:t})}function ls(){return new Map}function us(){return new Set}function ds(e){let t=new Set,n=[],r=[];e.forEach((e,i)=>{if(!i.isConnected)return;let a=e.index,o={index:a??-1,element:i,registration:e};a===null?r.push(o):a>=0&&(t.add(a),n.push(o))});let i=0;return r.sort((e,t)=>ms(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]}function fs(e,t){let n=e.parentElement;for(;n&&!n.contains(t);)n=n.parentElement;return n}function ps(e){for(let t of e)for(let e=0;e<t.removedNodes.length;e+=1)if(t.removedNodes[e].isConnected)return!0;return!1}function ms(e,t){return e.nextElementSibling===t?-1:t.nextElementSibling===e?1:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}function hs(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=nt(),{ref:i,index:a}=as(e),o=n===a,s=J.useRef(null),c=Ue(i,s);return{compositeProps:{tabIndex:o?0:-1,onFocus(){r(a)},onMouseMove(){let e=s.current;if(!t||!e)return;let n=e.hasAttribute(`disabled`)||e.ariaDisabled===`true`;!o&&!n&&e.focus()}},compositeRef:c,index:a}}function gs(e){return e==null||e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}function _s(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`flex items-center gap-2 text-xs/relaxed leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`label`,{"data-slot":`label`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var vs=tt(`group/field flex w-full gap-2 data-[invalid=true]:text-destructive`,{variants:{orientation:{vertical:`flex-col *:w-full [&>.sr-only]:w-auto`,horizontal:`flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`,responsive:`flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px`}},defaultVariants:{orientation:`vertical`}});function ys(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`vertical`:i,o;t[4]!==n||t[5]!==a?(o=U(vs({orientation:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==a||t[8]!==r||t[9]!==o?(s=(0,Z.jsx)(`div`,{role:`group`,"data-slot":`field`,"data-orientation":a,className:o,...r}),t[7]=a,t[8]=r,t[9]=o,t[10]=s):s=t[10],s}function bs(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-input/40 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-2 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/30 *:data-[slot=field]:p-2 dark:has-data-checked:bg-primary/10`,`has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(_s,{"data-slot":`field-label`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function xs(e){let t=(0,$.c)(15),n,r,i,a;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4]):({className:r,children:n,errors:i,...a}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a);let o;bb0:{if(n){o=n;break bb0}if(!i?.length){o=null;break bb0}let e;t[5]===i?e=t[6]:(e=[...new Map(i.map(Cs)).values()],t[5]=i,t[6]=e);let r=e;if(r?.length==1){o=r[0]?.message;break bb0}let a;t[7]===r?a=t[8]:(a=(0,Z.jsx)(`ul`,{className:`ml-4 flex list-disc flex-col gap-1`,children:r.map(Ss)}),t[7]=r,t[8]=a),o=a}let s=o;if(!s)return null;let c;t[9]===r?c=t[10]:(c=U(`text-xs/relaxed font-normal text-destructive`,r),t[9]=r,t[10]=c);let l;return t[11]!==s||t[12]!==a||t[13]!==c?(l=(0,Z.jsx)(`div`,{role:`alert`,"data-slot":`field-error`,className:c,...a,children:s}),t[11]=s,t[12]=a,t[13]=c,t[14]=l):l=t[14],l}function Ss(e,t){return e?.message&&(0,Z.jsx)(`li`,{children:e.message},t)}function Cs(e){return[e?.message,e]}function ws(e){let t=(0,$.c)(5),r=e.className,i;t[0]===e.result?i=t[1]:(i=n(fe(be(e.result),Ts)),t[0]=e.result,t[1]=i);let a;return t[2]!==e.className||t[3]!==i?(a=(0,Z.jsx)(xs,{className:r,children:i}),t[2]=e.className,t[3]=i,t[4]=a):a=t[4],a}function Ts(e){return e.message}var Es=tt(`group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-md border border-transparent px-2 py-0.5 text-[0.625rem] font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-2.5!`,{variants:{variant:{default:`bg-primary text-primary-foreground [a]:hover:bg-primary/80`,secondary:`bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80`,destructive:`bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20`,outline:`border-border bg-input/20 text-foreground dark:bg-input/30 [a]:hover:bg-muted [a]:hover:text-muted-foreground`,ghost:`hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50`,link:`text-primary underline-offset-4 hover:underline`}},defaultVariants:{variant:`default`}});function Ds(e){let t=(0,$.c)(13),n,r,i,a,o;if(t[0]!==e){let{className:s,variant:c,render:l,...u}=e;n=l,o=c===void 0?`default`:c,a=At,r=`span`,i=je({className:U(Es({variant:o}),s)},u),t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o}else n=t[1],r=t[2],i=t[3],a=t[4],o=t[5];let s;t[6]===o?s=t[7]:(s={slot:`badge`,variant:o},t[6]=o,t[7]=s);let c;return t[8]!==n||t[9]!==r||t[10]!==i||t[11]!==s?(c={defaultTagName:r,props:i,render:n,state:s},t[8]=n,t[9]=r,t[10]=i,t[11]=s,t[12]=c):c=t[12],a(c)}var Os=l(v(y(`AUTH_URL`)),j);m(function*(){let e=i(V,`GITHUB_ADMINS`);return(yield*Os)?yield*b(e,[`0`]):yield*e});function ks(e){return`${new URL(e).origin}/auth/sign-in?${new URLSearchParams({next:e})}`}function As(e){return ie(Ve)(e)&&e.error!==`temporarily_unavailable`&&e.error!==`access_denied`}k()(`@deslop/runtime/auth/lib/utils/CurrentUser`);var js=class e extends z()(`@deslop/runtime/auth/lib/utils/RpcAuth`,{error:Ve}){static layerClient=t=>T(e,e=>m(function*(){return yield*e.next({...e.request,headers:I(e.request.headers,`authorization`,`Bearer ${yield*t}`)})}))},Ms=class extends te()(`DeployError`,{cause:ae(le()),message:V}){},Ns=H({command:R(s(V)),cpu:R(u),memory:u,name:V,parent:S,pid:S}),Ps=H({address:R(V),bindings:R(s(H({address:V,port:S,protocol:C([`tcp`,`udp`])}))),detail:V,failure:R(H({at:R(u),reason:V})),hostname:R(V),http:R(d),id:V,kind:C([`service`,`container`,`port`,`exposure`,`peer`]),links:R(s(V)),name:V,next:R(u),owned:R(d),port:R(S),process:R(V),processes:R(s(Ns)),protocol:R(C([`tcp`,`udp`])),publicAccess:R(d),scheduled:R(d),scope:R(C([`user`,`system`])),self:R(d),state:V,ui:R(d),unit:R(V),url:V,worker:V}),Fs=H({items:s(Ps),sources:s(H({error:V,name:V})),time:u,workers:R(s(V))});H({name:h,url:Ke}),V.check(P(/^[\w-]+=https?:\/\/[^,=\s]+(?:,[\w-]+=https?:\/\/[^,=\s]+)*$/u));var Is=H({DNSName:V,HostName:V,OS:V,Online:d,TailscaleIPs:s(V)});H({Peer:R(he(V,Is)),Self:R(Is)}),H({AllowFunnel:R(he(V,d)),TCP:R(he(V,x)),Web:R(he(V,H({Handlers:he(V,H({Proxy:R(V)}))})))});var Ls=H({hostname:V.check(A(253),P(/^(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)*[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/u)),kind:C([`tailnet`,`public`]),name:h.check(A(260)),port:S.check(ve({maximum:65535,minimum:1024})),publicAccess:d}),Rs=H({...Ls.fields,target:R(V)}),zs=H({name:V,target:R(V)}),Bs=H({name:V,scope:C([`system`,`user`]),target:R(V)});H({activates:t(V),next:t(u)}),H({active:V,description:V,sub:V,unit:V}),H({ID:V,Labels:R(V),Names:V,Ports:V,State:V,Status:V});var Vs=H({minutes:C([1,10,60,1440,10080])});H({cores:R(s(H({id:V,idle:u,total:u}))),cpuIdle:u,cpuTotal:u,diskRead:u,diskWrite:u,networkReceive:u,networkSend:u,time:u,uptime:u});var Hs=H({apps:R(s(H({cpu:R(u),id:V,memory:u}))),cores:R(s(H({id:V,usage:R(u)}))),cpu:R(u),diskRead:R(u),diskWrite:R(u),disks:s(H({mount:V,total:u,used:u})),load:R(s(u)),memoryAvailable:R(u),memoryBuffers:R(u),memoryCached:R(u),memoryTotal:u,memoryUsed:u,networkReceive:R(u),networkSend:R(u),since:R(u),storageUsed:R(u),swapTotal:u,swapUsed:u,time:u,uptime:R(u)}),Us=H({cpuModel:R(V),error:V,samples:s(Hs),stale:d,time:u,worker:V});H({cpuModel:R(V),current:R(Hs),error:V,intervalSeconds:u,recordedSince:R(u),series:H({cpu:s(M(u)),diskRead:s(M(u)),diskWrite:s(M(u)),memoryUsed:s(u),networkReceive:s(M(u)),networkSend:s(M(u)),storageUsed:s(u),swapUsed:s(u),time:s(u)}),stale:d,time:u,worker:V});var Ws=class extends oe(ge(`deploy.metrics`,{error:D([Ve,Ms]),payload:Vs,stream:!0,success:s(Us)}),ge(`deploy.history`,{error:D([Ve,Ms]),payload:Vs,success:Us}),ge(`deploy.inventory`,{error:D([Ve,Ms]),stream:!0,success:Fs}),ge(`deploy.snapshot`,{error:D([Ve,Ms]),success:Fs}),ge(`deploy.expose`,{error:D([Ve,Ms]),payload:Rs,success:V}),ge(`deploy.hide`,{error:D([Ve,Ms]),payload:zs}),ge(`deploy.run`,{error:D([Ve,Ms]),payload:Bs})).middleware(js){},Gs=class extends pe()(`@deslop/deploy/lib/utils/RpcClient`,{group:Ws,protocol:Ze(`@deslop/deploy`)}){},Ks=F(Gs.runtime.atom(xe(Gs,re(e=>e(`deploy.inventory`,void 0)),o,$e))),qs=w(E()),Js=Gs.runtime.fn((e,t)=>xe(a(Gs,t=>t(`deploy.expose`,e)),p(()=>ne(()=>t.set(qs,E()))))),Ys=B(e=>B(t=>Gs.runtime.fn(()=>a(Gs,n=>n(`deploy.hide`,{name:t,target:e}))))),Xs=B(e=>Gs.runtime.fn(e=>a(Gs,t=>t(`deploy.run`,e)))),Zs=B(e=>Gs.runtime.atom(xe(Gs,re(t=>t(`deploy.metrics`,{minutes:e})),o,$e))),Qs=J.createContext(void 0);function $s(){let e=J.useContext(Qs);if(e===void 0)throw Error(Ie(64));return e}var ec=`data-activation-direction`,tc={tabActivationDirection:e=>({[ec]:e})},nc=J.forwardRef(function(e,t){let{className:n,defaultValue:r=0,onValueChange:i,orientation:a=`horizontal`,render:o,value:s,style:c,...l}=e,u=e.defaultValue!==void 0,d=J.useRef([]),[f,p]=J.useState(()=>new Map),[m,h]=ns({controlled:s,default:r,name:`Tabs`,state:`value`}),g=s!==void 0,[_,v]=J.useState(()=>new Map),y=J.useRef(void 0),b=J.useCallback(e=>rc(_,e),[_]),[x,S]=J.useState(()=>({previousValue:m,tabActivationDirection:`none`})),{previousValue:C,tabActivationDirection:w}=x,T=w,E=!1;C!==m&&(T=ic(C,m,a,_),E=C!=null&&m!=null&&b(m)==null);let D=E?C:m,O=C!==D||w!==T;W(()=>{O&&S({previousValue:D,tabActivationDirection:T})},[D,O,T]);let k=K((e,t)=>{t.activationDirection=ic(m,e,a,_),i?.(e,t),!t.isCanceled&&h(()=>e)}),A=K((e,t)=>{i?.(e,Zt(t,void 0,void 0,{activationDirection:`none`}))}),j=K((e,t)=>(p(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{p(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),M=J.useCallback(e=>f.get(e),[f]),N=J.useCallback(e=>{for(let t of _.values())if(e===t.value)return t.id},[_]),P=J.useMemo(()=>({getTabElementBySelectedValue:b,getTabIdByPanelValue:N,getTabPanelIdByValue:M,onValueChange:k,orientation:a,registerMountedTabPanel:j,setTabMap:v,tabActivationDirection:T,value:m}),[b,N,M,k,a,j,v,T,m]),F=J.useMemo(()=>{for(let e of _.values())if(e.value===m)return e},[_,m]),I=J.useMemo(()=>{for(let e of _.values())if(!e.disabled)return e.value},[_]),L=J.useRef(!u),R=J.useRef(r),z=J.useRef(u),ee=J.useRef(!1);W(()=>{if(g)return;function e(e,t){h(()=>e),S({previousValue:e,tabActivationDirection:`none`}),A(e,t),L.current=!1}if(_.size===0){ee.current&&m!==null&&!y.current?.isConnected&&e(null,hn);return}ee.current=!0,y.current=_.keys().next().value;let t=F?.disabled,n=F==null&&m!==null;if(!t&&m===R.current&&(z.current=!1),z.current&&t&&m===R.current)return;let r=L.current;if(t||n){let n=I??null;if(m===n){L.current=!1;return}let i=hn;r?i=gn:t&&(i=mn),e(n,i)}else r&&F!=null&&(A(m,gn),L.current=!1)},[I,g,A,F,h,_,m]);let te=Xe(`div`,e,{state:{orientation:a,tabActivationDirection:T},ref:t,props:l,stateAttributesMapping:tc});return(0,Z.jsx)(Qs.Provider,{value:P,children:(0,Z.jsx)(cs,{elementsRef:d,children:te})})});function rc(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function ic(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=rc(r,e),c=rc(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var ac=`data-composite-item-active`,oc=J.createContext(void 0);function sc(){let e=J.useContext(oc);if(e===void 0)throw Error(Ie(65));return e}var cc=J.forwardRef(function(e,t){let{className:n,disabled:r=!1,render:i,value:a,id:o,nativeButton:s=!0,style:c,...l}=e,{value:u,getTabPanelIdByValue:d,onValueChange:f,orientation:p,tabActivationDirection:m}=$s(),{activateOnFocus:h,registerTabResizeObserverElement:g,tabsListElement:_}=sc(),{highlightedIndex:v,onHighlightedIndexChange:y}=nt(),b=wn(o),{compositeProps:x,compositeRef:S,index:C}=hs({metadata:J.useMemo(()=>({disabled:r,id:b,value:a}),[r,b,a])}),w=a===u,T=J.useRef(!1),E=J.useRef(null),D=K(e=>{E.current?.(),E.current=e?g(e):null});W(()=>{if(T.current){T.current=!1;return}if(!(w&&C>-1&&v!==C))return;let e=_;if(e!=null){let t=er(Y(e));if(t&&Q(e,t))return}r||y(C)},[w,C,v,y,r,_]);let{getButtonProps:O,buttonRef:k}=rt({disabled:r,native:s,focusableWhenDisabled:!0}),A=d(a),j=J.useRef(!1),M=J.useRef(!1);function N(e){f(a,Zt($t,e.nativeEvent,void 0,{activationDirection:`none`}))}function P(e){w||r||N(e)}function F(e){w||r||h&&(!j.current||M.current)&&N(e)}function I(e){if(w||r)return;j.current=!0,M.current=e.button===0;let t=Y(e.currentTarget);function n(){j.current=!1,M.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return Xe(`button`,e,{state:{disabled:r,active:w,orientation:p,tabActivationDirection:m},ref:[t,k,S,D],props:[x,{role:`tab`,"aria-controls":A,"aria-selected":w,id:b,onClick:P,onFocus:F,onPointerDown:I,[ac]:w?``:void 0,onKeyDownCapture(){T.current=!0}},l,O],stateAttributesMapping:tc})}),lc=`data-index`,uc={...tc,...Lt},dc=J.forwardRef(function(e,t){let{className:n,value:r,render:i,keepMounted:a=!1,style:o,...s}=e,{value:c,getTabIdByPanelValue:l,orientation:u,tabActivationDirection:d,registerMountedTabPanel:f}=$s(),p=wn(),{ref:m,index:h}=as(),g=r===c,{mounted:_,transitionStatus:v,setMounted:y}=ga(g),b=!_,x=l(r),S={hidden:b,orientation:u,tabActivationDirection:d,transitionStatus:v},C=J.useRef(null),w=Xe(`div`,e,{state:S,ref:[t,m,C],props:[{"aria-labelledby":x,hidden:b,id:p,role:`tabpanel`,tabIndex:g?0:-1,inert:ao(!g),[lc]:h},s],stateAttributesMapping:uc});return ia({open:g,ref:C,onComplete(){g||y(!1)}}),W(()=>{if(!(p==null||b&&!a))return f(r,p)},[b,a,r,p,f]),a||_?w:null});function fc(e){let{loopFocus:t=!0,orientation:n=`both`,grid:r,onLoop:i,direction:a,highlightedIndex:o,onHighlightedIndexChange:s,rootRef:c,enableHomeAndEndKeys:l=!1,stopEventPropagation:u,disabledIndices:d,modifierKeys:f=Ge}=e,[p,m]=J.useState(0),h=r!=null,g=J.useRef(null),_=Ue(g,c),v=J.useRef([]),y=J.useRef(!1),b=J.useRef(null),x=o??p,S=K((e,t=!1)=>{if(b.current=v.current[e]??null,(s??m)(e),t){let t=v.current[e];pa(g.current,t,a,n)}}),C=K(e=>{if(e.size===0)return;if(y.current){let e=v.current,t=e.indexOf(b.current);if(t===-1){let t=e[x];!t||kr(e,x,d)?S(pc(e,d)):b.current=t}else t!==x&&S(t);return}y.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(`data-composite-item-active`))??null,i=r?e.get(r)?.index??-1:-1;if(i!==-1)S(i);else if(kr(t,x,d)){let e=Or(t,{disabledIndices:d});wr(t,e)||S(e)}pa(g.current,r,a,n)});W(()=>{if(d==null||o!=null||!y.current)return;let e=v.current;if(kr(e,x,d)){let t=Or(e,{disabledIndices:d});wr(e,t)||S(t)}},[d,o,x,v,S]);let w=K((e,t,n)=>i?i(e,t,n,v):n),T=K(e=>{let o=e.key===`Home`||e.key===`End`;if(!la.has(e.key)||!l&&o||mc(e,f)||!g.current)return;let s=a===`rtl`,c=s?sa:ca,p=s?ca:sa,m=n===`vertical`?oa:c,_=n===`vertical`?aa:p,y=nr(e.nativeEvent);if(y!=null&&fa(y)&&!gs(y)){let t=y.selectionStart,n=y.selectionEnd,r=y.value;if(t==null||e.shiftKey||t!==n||e.key!==_&&t<r.length||e.key!==m&&t>0)return}let b=x,C=Tr(v,d),T=Er(v,d);r!=null&&(b=r({disabledIndices:d,elementsRef:v,event:e,highlightedIndex:x,loopFocus:t,maxIndex:T,minIndex:C,onLoop:w,orientation:n,rtl:s}));let E=n!==`vertical`&&e.key===c||n!==`horizontal`&&e.key===`ArrowDown`,D=n!==`vertical`&&e.key===p||n!==`horizontal`&&e.key===`ArrowUp`;l&&(e.key===`Home`?b=C:e.key===`End`&&(b=T)),b===x&&(E||D)&&(t&&b===T&&E?(b=C,i&&(b=i(e,x,b,v))):t&&b===C&&D?(b=T,i&&(b=i(e,x,b,v))):b=Or(v.current,{startingIndex:b,decrement:D,disabledIndices:d})),b!==x&&!wr(v.current,b)&&(u&&e.stopPropagation(),(h||o||E||D)&&e.preventDefault(),S(b,!0),queueMicrotask(()=>{v.current[b]?.focus()}))});return{props:{ref:_,onFocus(e){let t=g.current,n=nr(e.nativeEvent);t&&n!=null&&fa(n)&&n.setSelectionRange(0,n.value.length)},onKeyDown:T},highlightedIndex:x,onHighlightedIndexChange:S,elementsRef:v,onMapChange:C,relayKeyboardEvent:T}}function pc(e,t){let n=-1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i&&!kr(e,r,t)){if(i.hasAttribute(`data-composite-item-active`))return r;n===-1&&(n=r)}}return Math.max(n,0)}function mc(e,t){for(let n of ua)if(!t.includes(n)&&e.getModifierState(n))return!0;return!1}function hc(e){let{render:t,className:n,style:r,refs:i=Ge,props:a=Ge,state:o=Be,stateAttributesMapping:s,highlightedIndex:c,onHighlightedIndexChange:l,orientation:u,grid:d,loopFocus:f,onLoop:p,enableHomeAndEndKeys:m,onMapChange:h,stopEventPropagation:g=!0,rootRef:_,disabledIndices:v,modifierKeys:y,highlightItemOnHover:b=!1,tag:x=`div`,...S}=e,{props:C,highlightedIndex:w,onHighlightedIndexChange:T,elementsRef:E,onMapChange:D,relayKeyboardEvent:O}=fc({grid:d,loopFocus:f,onLoop:p,orientation:u,highlightedIndex:c,onHighlightedIndexChange:l,rootRef:_,stopEventPropagation:g,enableHomeAndEndKeys:m,direction:ss(),disabledIndices:v,modifierKeys:y}),k=Xe(x,e,{state:o,ref:i,props:[C,...a,S],stateAttributesMapping:s}),A=J.useMemo(()=>({highlightedIndex:w,onHighlightedIndexChange:T,highlightItemOnHover:b,relayKeyboardEvent:O}),[w,T,b,O]);return(0,Z.jsx)(Ae.Provider,{value:A,children:(0,Z.jsx)(cs,{elementsRef:E,onMapChange:e=>{h?.(e),D(e)},children:k})})}var gc=J.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:c,setTabMap:l,tabActivationDirection:u}=$s(),[d,f]=J.useState(0),[p,m]=J.useState(null),h=J.useRef(new Set),g=J.useRef(new Set),_=J.useRef(null);W(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{h.current.forEach(e=>{e()})});return _.current=e,p&&e.observe(p),g.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),_.current=null}},[p]);let v=K(e=>(h.current.add(e),()=>{h.current.delete(e)})),y=K(e=>(g.current.add(e),_.current?.observe(e),()=>{g.current.delete(e),_.current?.unobserve(e)})),b={orientation:c,tabActivationDirection:u},x={"aria-orientation":c===`vertical`?`vertical`:void 0,role:`tablist`},S=J.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:v,registerTabResizeObserverElement:y,tabsListElement:p}),[n,v,y,p]);return(0,Z.jsx)(oc.Provider,{value:S,children:(0,Z.jsx)(hc,{render:a,className:r,style:o,state:b,refs:[t,m],props:[x,s],stateAttributesMapping:tc,highlightedIndex:d,enableHomeAndEndKeys:!0,loopFocus:i,orientation:c,onHighlightedIndexChange:f,onMapChange:l,disabledIndices:Ge})})});function _c(e){let t=(0,$.c)(10),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,orientation:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`horizontal`:i,o;t[4]===n?o=t[5]:(o=U(`group/tabs flex gap-2 data-horizontal:flex-col`,n),t[4]=n,t[5]=o);let s;return t[6]!==a||t[7]!==r||t[8]!==o?(s=(0,Z.jsx)(nc,{"data-slot":`tabs`,"data-orientation":a,className:o,...r}),t[6]=a,t[7]=r,t[8]=o,t[9]=s):s=t[9],s}var vc=tt(`group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none`,{variants:{variant:{default:`bg-muted`,line:`gap-1 bg-transparent`}},defaultVariants:{variant:`default`}});function yc(e){let t=(0,$.c)(11),n,r,i;t[0]===e?(n=t[1],r=t[2],i=t[3]):({className:n,variant:i,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i);let a=i===void 0?`default`:i,o;t[4]!==n||t[5]!==a?(o=U(vc({variant:a}),n),t[4]=n,t[5]=a,t[6]=o):o=t[6];let s;return t[7]!==r||t[8]!==o||t[9]!==a?(s=(0,Z.jsx)(gc,{"data-slot":`tabs-list`,"data-variant":a,className:o,...r}),t[7]=r,t[8]=o,t[9]=a,t[10]=s):s=t[10],s}function bc(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-xs font-medium whitespace-nowrap text-foreground/60 transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start group-data-vertical/tabs:py-[calc(--spacing(1.25))] hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 has-data-[icon=inline-end]:pr-1 has-data-[icon=inline-start]:pl-1 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5`,`group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent`,`data-active:bg-background data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 dark:data-active:text-foreground`,`after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-right-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(cc,{"data-slot":`tabs-trigger`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function xc(e){let t=(0,$.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=U(`flex-1 text-xs/relaxed outline-none`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(dc,{"data-slot":`tabs-content`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Sc=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23da702c'%20d='M17%2021h1v22h-1zM18%2022h2v22h-2zM20%2023h2v22h-2zM22%2024h2v22h-2zM24%2025h2v22h-2zM26%2026h2v5h-2zM28%2027h2v5h-2zM30%2028h2v22h-2zM32%2029h2v22h-2zM34%2030h2v22h-2zM26%2031h1v17h-1zM36%2031h2v22h-2zM29%2032h1v17h-1zM38%2032h1v22h-1zM27%2041h1v7h-1zM28%2042h1v7h-1z'/%3e%3cpath%20fill='%23bc5215'%20d='M46%2028h1v22h-1zM44%2029h2v22h-2zM42%2030h2v22h-2zM40%2031h2v22h-2zM39%2032h1v22h-1z'/%3e%3cpath%20fill='%230a0a0a'%20d='M29%209h2v1h-2zM27%2010h2v1h-2zM31%2010h3v1h-3zM25%2011h2v1h-2zM34%2011h1v1h-1zM24%2012h1v1h-1zM35%2012h1v1h-1zM23%2013h1v2h-1zM36%2013h1v1h-1zM37%2014h1v1h-1zM22%2015h1v3h-1zM29%2015h1v1h-1zM38%2015h1v2h-1zM28%2016h1v3h-1zM30%2016h2v1h-2zM32%2017h1v1h-1zM39%2017h1v2h-1zM20%2018h2v1h-2zM29%2018h1v1h-1zM33%2018h1v1h-1zM18%2019h2v1h-2zM30%2019h2v1h-2zM34%2019h1v3h-1zM40%2019h1v2h-1zM17%2020h1v1h-1zM32%2020h2v1h-2zM16%2021h1v22h-1zM41%2021h1v4h-1zM42%2025h2v1h-2zM44%2026h2v1h-2zM46%2027h1v1h-1zM47%2028h1v22h-1zM17%2043h1v1h-1zM18%2044h2v1h-2zM20%2045h2v1h-2zM22%2046h2v1h-2zM24%2047h2v1h-2zM26%2048h2v1h-2zM28%2049h2v1h-2zM30%2050h2v1h-2zM46%2050h1v1h-1zM32%2051h2v1h-2zM44%2051h2v1h-2zM34%2052h2v1h-2zM42%2052h2v1h-2zM36%2053h2v1h-2zM40%2053h2v1h-2zM38%2054h2v1h-2z'/%3e%3cpath%20fill='%23ec8b49'%20d='M22%2018h1v5h-1zM20%2019h2v3h-2zM28%2019h2v7h-2zM18%2020h2v1h-2zM30%2020h2v7h-2zM23%2021h1v2h-1zM32%2021h2v7h-2zM24%2022h4v2h-4zM34%2022h2v7h-2zM26%2024h2v1h-2zM41%2025h1v5h-1zM42%2026h2v3h-2zM44%2027h2v1h-2zM36%2028h2v2h-2zM40%2028h1v2h-1zM38%2029h2v2h-2z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M27%2011h2v4h-2zM25%2012h2v5h-2zM29%2012h3v3h-3zM24%2013h1v9h-1zM32%2013h1v4h-1zM33%2014h1v4h-1zM23%2015h1v6h-1zM27%2015h1v1h-1zM30%2015h2v1h-2zM34%2015h1v4h-1zM35%2016h1v6h-1zM25%2017h1v5h-1zM36%2018h1v10h-1zM37%2020h1v8h-1zM38%2022h1v7h-1z'/%3e%3cpath%20fill='%23878580'%20d='M28%2015h1v1h-1zM27%2016h1v6h-1zM26%2017h1v5h-1zM37%2019h3v1h-3zM38%2020h2v2h-2zM40%2021h1v7h-1zM39%2022h1v7h-1z'/%3e%3cpath%20fill='%23f9ae77'%20d='M18%2021h2v1h-2zM20%2022h2v1h-2zM22%2023h2v1h-2zM24%2024h2v1h-2zM26%2025h2v1h-2zM28%2026h2v1h-2zM30%2027h2v1h-2zM32%2028h2v1h-2zM44%2028h2v1h-2zM34%2029h2v1h-2zM42%2029h2v1h-2zM36%2030h2v1h-2zM40%2030h2v1h-2zM38%2031h2v1h-2z'/%3e%3cpath%20fill='%23cecdc3'%20d='M29%2010h2v2h-2zM31%2011h3v1h-3zM32%2012h3v1h-3zM33%2013h3v1h-3zM34%2014h3v1h-3zM35%2015h3v1h-3zM36%2016h2v2h-2zM38%2017h1v2h-1zM37%2018h1v1h-1z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M19%2045h1v1h-1zM20%2046h2v1h-2zM22%2047h2v1h-2zM24%2048h2v1h-2zM26%2049h2v1h-2zM28%2050h2v1h-2zM30%2051h2v1h-2zM32%2052h2v1h-2zM44%2052h1v1h-1zM34%2053h2v1h-2zM42%2053h2v1h-2zM36%2054h2v1h-2zM40%2054h2v1h-2zM38%2055h2v1h-2z'/%3e%3cpath%20fill='%231c1b1a'%20d='M27%2031h1v10h-1zM28%2032h1v10h-1z'/%3e%3c/svg%3e`,Cc=`/assets/icon-B_7Zk4lP.svg`,wc=`/assets/icon-61pmFc-p.svg`,Tc=`/assets/icon-BGymHyAZ.svg`,Ec=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2018%2018'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23fd7357'%20d='M12%200h1v1h-1zM11%201h1v1h-1zM10%202h2v1h-2zM9%203h2v1h-2zM8%204h3v1h-3zM7%205h3v1h-3zM6%206h4v1h-4zM5%207h4v1h-4zM4%208h5v1h-5zM3%209h10v1h-10zM8%2010h4v1h-4zM7%2011h4v1h-4zM7%2012h3v1h-3zM6%2013h3v1h-3zM6%2014h2v1h-2zM5%2015h2v1h-2zM5%2016h1v1h-1zM4%2017h1v1h-1z'/%3e%3cpath%20fill='%23050505'%20d='M13%200h1v1h-1zM3%201h1v1h-1zM7%201h1v1h-1zM12%201h1v1h-1zM6%202h1v1h-1zM12%202h1v1h-1zM5%203h1v1h-1zM11%203h1v1h-1zM4%204h1v1h-1zM11%204h1v1h-1zM10%205h1v1h-1zM10%206h1v1h-1zM9%207h1v1h-1zM9%208h1v1h-1zM13%209h1v1h-1zM12%2010h1v1h-1zM11%2011h1v1h-1zM10%2012h1v1h-1zM9%2013h1v1h-1zM8%2014h1v1h-1zM12%2014h1v1h-1zM7%2015h1v1h-1zM11%2015h1v1h-1zM6%2016h1v1h-1zM10%2016h1v1h-1zM5%2017h1v1h-1zM13%2017h1v1h-1z'/%3e%3c/svg%3e`,Dc=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23403e3c'%20d='M16%2019h1v16h-1zM17%2022h2v14h-2zM19%2023h2v1h-2zM21%2024h2v1h-2zM23%2025h2v1h-2zM19%2026h2v11h-2zM25%2026h2v1h-2zM21%2027h2v11h-2zM27%2027h2v1h-2zM23%2028h2v1h-2zM28%2028h3v3h-3zM25%2029h2v1h-2zM31%2029h2v4h-2zM27%2030h1v1h-1zM33%2030h2v4h-2zM38%2030h1v16h-1zM23%2031h2v8h-2zM29%2031h2v1h-2zM35%2031h2v10h-2zM39%2031h1v16h-1zM25%2032h2v8h-2zM37%2032h1v14h-1zM27%2033h2v1h-2zM29%2034h2v1h-2zM34%2034h1v6h-1zM31%2035h2v1h-2zM27%2036h2v5h-2zM32%2036h2v3h-2zM29%2037h2v5h-2zM31%2038h1v1h-1zM33%2039h1v1h-1zM31%2041h2v2h-2zM33%2042h2v2h-2zM35%2043h2v2h-2z'/%3e%3cpath%20fill='%235abdac'%20d='M19%2013h2v5h-2zM17%2014h2v3h-2zM21%2014h2v5h-2zM15%2015h2v1h-2zM23%2015h2v5h-2zM29%2015h2v8h-2zM25%2016h4v5h-4zM31%2016h2v8h-2zM33%2017h2v8h-2zM35%2018h2v8h-2zM37%2019h2v8h-2zM39%2020h2v8h-2zM17%2021h2v1h-2zM27%2021h2v1h-2zM41%2021h2v8h-2zM19%2022h2v1h-2zM43%2022h2v6h-2zM21%2023h2v1h-2zM45%2023h2v4h-2zM23%2024h2v1h-2zM47%2024h2v1h-2zM19%2025h2v1h-2zM25%2025h2v1h-2zM21%2026h2v1h-2zM27%2026h2v1h-2zM23%2027h2v1h-2zM29%2027h2v1h-2zM25%2028h2v1h-2zM31%2028h2v1h-2zM27%2029h1v1h-1zM33%2029h2v1h-2zM23%2030h2v1h-2zM35%2030h2v1h-2zM25%2031h2v1h-2zM37%2031h1v1h-1zM27%2032h2v1h-2zM29%2033h2v1h-2zM31%2034h2v1h-2zM27%2035h2v1h-2zM33%2035h1v1h-1zM29%2036h2v1h-2zM31%2037h1v1h-1zM31%2040h2v1h-2zM33%2041h2v1h-2zM35%2042h2v1h-2z'/%3e%3cpath%20fill='%233aa99f'%20d='M14%2016h1v20h-1zM15%2017h2v2h-2zM17%2018h2v2h-2zM15%2019h1v18h-1zM19%2019h2v2h-2zM21%2020h2v2h-2zM23%2021h2v2h-2zM25%2022h2v2h-2zM27%2023h2v2h-2zM29%2024h2v2h-2zM31%2025h2v2h-2zM33%2026h2v2h-2zM35%2027h2v2h-2zM37%2028h2v2h-2zM39%2029h2v2h-2zM41%2030h1v20h-1zM40%2031h1v18h-1zM16%2035h1v2h-1zM17%2036h2v2h-2zM19%2037h2v2h-2zM21%2038h2v2h-2zM23%2039h2v2h-2zM25%2040h2v2h-2zM27%2041h2v2h-2zM29%2042h2v2h-2zM31%2043h2v2h-2zM33%2044h2v2h-2zM35%2045h2v2h-2zM37%2046h2v2h-2zM39%2047h1v2h-1z'/%3e%3cpath%20fill='%2324837b'%20d='M49%2025h1v14h-1zM47%2026h2v14h-2zM45%2028h2v20h-2zM43%2029h2v20h-2zM42%2030h1v20h-1zM47%2040h1v7h-1z'/%3e%3cpath%20fill='%230a0a0a'%20d='M19%2012h2v1h-2zM17%2013h2v1h-2zM21%2013h2v1h-2zM15%2014h2v1h-2zM23%2014h2v1h-2zM29%2014h2v1h-2zM14%2015h1v1h-1zM25%2015h4v1h-4zM31%2015h2v1h-2zM13%2016h1v20h-1zM33%2016h2v1h-2zM35%2017h2v1h-2zM37%2018h2v1h-2zM39%2019h2v1h-2zM41%2020h2v1h-2zM43%2021h2v1h-2zM45%2022h2v1h-2zM47%2023h2v1h-2zM49%2024h1v1h-1zM50%2025h1v14h-1zM14%2036h1v1h-1zM15%2037h2v1h-2zM17%2038h2v1h-2zM19%2039h2v1h-2zM49%2039h1v1h-1zM21%2040h2v1h-2zM48%2040h1v7h-1zM22%2041h1v1h-1zM21%2042h1v2h-1zM22%2044h1v1h-1zM23%2045h2v1h-2zM25%2046h2v1h-2zM27%2047h2v1h-2zM47%2047h1v1h-1zM29%2048h2v1h-2zM45%2048h2v1h-2zM31%2049h2v1h-2zM43%2049h2v1h-2zM33%2050h2v1h-2zM41%2050h2v1h-2zM35%2051h2v1h-2zM39%2051h2v1h-2zM37%2052h2v1h-2z'/%3e%3cpath%20fill='%2387d3c3'%20d='M15%2016h2v1h-2zM17%2017h2v1h-2zM19%2018h2v1h-2zM21%2019h2v1h-2zM17%2020h2v1h-2zM23%2020h2v1h-2zM19%2021h2v1h-2zM25%2021h2v1h-2zM21%2022h2v1h-2zM27%2022h2v1h-2zM23%2023h2v1h-2zM29%2023h2v1h-2zM19%2024h2v1h-2zM25%2024h2v1h-2zM31%2024h2v1h-2zM21%2025h2v1h-2zM27%2025h2v1h-2zM33%2025h2v1h-2zM47%2025h2v1h-2zM23%2026h2v1h-2zM29%2026h2v1h-2zM35%2026h2v1h-2zM25%2027h2v1h-2zM31%2027h2v1h-2zM37%2027h2v1h-2zM45%2027h2v1h-2zM27%2028h1v1h-1zM33%2028h2v1h-2zM39%2028h2v1h-2zM43%2028h2v1h-2zM23%2029h2v1h-2zM35%2029h2v1h-2zM41%2029h2v1h-2zM25%2030h2v1h-2zM37%2030h1v1h-1zM27%2031h2v1h-2zM29%2032h2v1h-2zM31%2033h2v1h-2zM27%2034h2v1h-2zM33%2034h1v1h-1zM29%2035h2v1h-2zM31%2036h1v1h-1zM31%2039h2v1h-2zM33%2040h2v1h-2zM35%2041h2v1h-2z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M22%2042h1v2h-1zM23%2043h2v2h-2zM25%2044h2v2h-2zM27%2045h2v2h-2zM29%2046h2v2h-2zM31%2047h2v2h-2zM33%2048h2v2h-2zM35%2049h2v2h-2zM37%2050h1v2h-1z'/%3e%3cpath%20fill='%23cecdc3'%20d='M23%2041h2v1h-2zM25%2042h2v1h-2zM27%2043h2v1h-2zM29%2044h2v1h-2zM31%2045h2v1h-2zM33%2046h2v1h-2zM35%2047h2v1h-2zM37%2048h2v1h-2z'/%3e%3cpath%20fill='%23e6e4d9'%20d='M23%2042h2v1h-2zM25%2043h2v1h-2zM27%2044h2v1h-2zM29%2045h2v1h-2zM31%2046h2v1h-2zM33%2047h2v1h-2zM35%2048h2v1h-2zM37%2049h2v1h-2z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M24%2046h1v1h-1zM25%2047h2v1h-2zM27%2048h2v1h-2zM29%2049h2v1h-2zM31%2050h2v1h-2zM33%2051h2v1h-2zM35%2052h2v1h-2zM37%2053h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M39%2049h2v2h-2zM38%2050h1v2h-1z'/%3e%3c/svg%3e`,Oc=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%23ce5d97'%20d='M9%2026h10v4h-10zM9%2030h1v6h-1zM12%2030h7v2h-7zM19%2031h10v4h-10zM12%2032h3v6h-3zM16%2032h3v1h-3zM17%2033h2v7h-2zM10%2034h2v3h-2zM19%2035h1v6h-1zM22%2035h7v2h-7zM15%2036h1v3h-1zM29%2036h10v4h-10zM16%2037h1v3h-1zM22%2037h3v6h-3zM26%2037h3v1h-3zM14%2038h1v1h-1zM27%2038h2v7h-2zM20%2039h2v3h-2zM18%2040h1v1h-1zM29%2040h1v6h-1zM32%2040h7v2h-7zM25%2041h1v3h-1zM26%2042h1v3h-1zM32%2042h3v6h-3zM36%2042h3v1h-3zM24%2043h1v1h-1zM37%2043h2v7h-2zM30%2044h2v3h-2zM28%2045h1v1h-1zM35%2046h1v3h-1zM36%2047h1v3h-1zM34%2048h1v1h-1zM38%2050h1v1h-1z'/%3e%3cpath%20fill='%23575653'%20d='M24%2017h10v1h-10zM22%2018h10v1h-10zM20%2019h10v1h-10zM18%2020h10v1h-10zM16%2021h10v1h-10zM14%2022h10v1h-10zM34%2022h8v2h-8zM12%2023h10v1h-10zM32%2023h2v5h-2zM10%2024h10v1h-10zM30%2024h2v5h-2zM34%2024h6v1h-6zM28%2025h2v5h-2zM34%2025h4v1h-4zM26%2026h2v4h-2zM34%2026h2v1h-2zM24%2027h2v3h-2zM50%2027h4v1h-4zM22%2028h2v2h-2zM49%2028h3v1h-3zM20%2029h2v1h-2zM40%2029h2v5h-2zM47%2029h3v1h-3zM38%2030h2v5h-2zM42%2030h6v1h-6zM36%2031h2v4h-2zM42%2031h4v1h-4zM34%2032h2v3h-2zM42%2032h2v1h-2zM32%2033h2v2h-2zM30%2034h2v1h-2z'/%3e%3cpath%20fill='%23403e3c'%20d='M34%2018h1v4h-1zM32%2019h2v1h-2zM30%2020h2v4h-2zM28%2021h2v1h-2zM26%2022h2v4h-2zM24%2023h2v1h-2zM22%2024h2v4h-2zM9%2025h10v1h-10zM20%2025h2v1h-2zM40%2025h2v4h-2zM19%2026h1v5h-1zM38%2026h2v1h-2zM36%2027h2v4h-2zM34%2028h2v1h-2zM54%2028h1v5h-1zM32%2029h2v4h-2zM52%2029h2v1h-2zM20%2030h9v1h-9zM30%2030h2v1h-2zM50%2030h2v5h-2zM29%2031h1v5h-1zM48%2031h2v1h-2zM46%2032h2v5h-2zM44%2033h2v1h-2zM52%2033h2v1h-2zM42%2034h2v5h-2zM30%2035h9v1h-9zM40%2035h2v1h-2zM48%2035h2v1h-2zM39%2036h1v5h-1zM44%2037h2v1h-2zM40%2039h2v1h-2z'/%3e%3cpath%20fill='%23a02f6f'%20d='M54%2033h1v10h-1zM52%2034h2v10h-2zM50%2035h2v10h-2zM48%2036h2v10h-2zM46%2037h2v10h-2zM44%2038h2v10h-2zM42%2039h2v10h-2zM40%2040h2v10h-2zM39%2041h1v10h-1z'/%3e%3cpath%20fill='%230a0a0a'%20d='M43%2013h6v1h-6zM42%2014h1v1h-1zM49%2014h1v1h-1zM41%2015h1v7h-1zM50%2015h1v12h-1zM24%2016h11v1h-11zM22%2017h2v1h-2zM35%2017h1v5h-1zM20%2018h2v1h-2zM18%2019h2v1h-2zM16%2020h2v1h-2zM14%2021h2v1h-2zM36%2021h5v1h-5zM12%2022h2v1h-2zM10%2023h2v1h-2zM9%2024h1v1h-1zM8%2025h1v11h-1zM51%2026h4v1h-4zM55%2027h1v16h-1zM9%2036h1v1h-1zM10%2037h2v1h-2zM12%2038h2v1h-2zM14%2039h2v1h-2zM16%2040h2v1h-2zM18%2041h2v1h-2zM20%2042h2v1h-2zM22%2043h2v1h-2zM54%2043h1v1h-1zM24%2044h2v1h-2zM52%2044h2v1h-2zM26%2045h2v1h-2zM50%2045h2v1h-2zM28%2046h2v1h-2zM48%2046h2v1h-2zM30%2047h2v1h-2zM46%2047h2v1h-2zM32%2048h2v1h-2zM44%2048h2v1h-2zM34%2049h2v1h-2zM42%2049h2v1h-2zM36%2050h2v1h-2zM40%2050h2v1h-2zM38%2051h2v1h-2z'/%3e%3cpath%20fill='%231c1b1a'%20d='M10%2030h2v4h-2zM15%2032h1v4h-1zM16%2033h1v4h-1zM20%2035h2v4h-2zM25%2037h1v4h-1zM26%2038h1v4h-1zM30%2040h2v4h-2zM35%2042h1v4h-1zM36%2043h1v4h-1z'/%3e%3cpath%20fill='%23343331'%20d='M34%2017h1v1h-1zM32%2018h2v1h-2zM30%2019h2v1h-2zM28%2020h2v1h-2zM26%2021h2v1h-2zM24%2022h2v1h-2zM22%2023h2v1h-2zM20%2024h2v1h-2zM40%2024h2v1h-2zM19%2025h1v1h-1zM38%2025h2v1h-2zM36%2026h2v1h-2zM34%2027h2v1h-2zM54%2027h1v1h-1zM32%2028h2v1h-2zM52%2028h2v1h-2zM30%2029h2v1h-2zM50%2029h2v1h-2zM29%2030h1v1h-1zM48%2030h2v1h-2zM46%2031h2v1h-2zM44%2032h2v1h-2zM42%2033h2v1h-2zM40%2034h2v1h-2zM39%2035h1v1h-1z'/%3e%3cpath%20fill='%23e47da8'%20d='M32%2021h2v2h-2zM28%2023h2v2h-2zM24%2025h2v2h-2zM20%2027h2v2h-2zM38%2028h2v2h-2zM34%2030h2v2h-2zM52%2031h2v2h-2zM30%2032h2v2h-2zM48%2033h2v2h-2zM44%2035h2v2h-2zM40%2037h2v2h-2z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M11%2038h1v1h-1zM12%2039h2v1h-2zM14%2040h2v1h-2zM16%2041h2v1h-2zM18%2042h2v1h-2zM20%2043h2v1h-2zM22%2044h2v1h-2zM24%2045h2v1h-2zM52%2045h1v1h-1zM26%2046h2v1h-2zM50%2046h2v1h-2zM28%2047h2v1h-2zM48%2047h2v1h-2zM30%2048h2v1h-2zM46%2048h2v1h-2zM32%2049h2v1h-2zM44%2049h2v1h-2zM34%2050h2v1h-2zM42%2050h2v1h-2zM36%2051h2v1h-2zM40%2051h2v1h-2zM38%2052h2v1h-2z'/%3e%3cpath%20fill='%23cecdc3'%20d='M43%2014h6v2h-6zM43%2016h2v14h-2z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M42%2016h1v14h-1zM45%2017h2v13h-2z'/%3e%3cpath%20fill='%23878580'%20d='M49%2016h1v12h-1zM47%2017h2v12h-2z'/%3e%3cpath%20fill='%23f4a4c2'%20d='M32%2020h2v1h-2zM28%2022h2v1h-2zM24%2024h2v1h-2zM20%2026h2v1h-2zM38%2027h2v1h-2zM34%2029h2v1h-2zM52%2030h2v1h-2zM30%2031h2v1h-2zM48%2032h2v1h-2zM44%2034h2v1h-2zM40%2036h2v1h-2z'/%3e%3cpath%20fill='%23e6e4d9'%20d='M42%2015h1v1h-1zM49%2015h1v1h-1zM45%2016h4v1h-4z'/%3e%3c/svg%3e`,kc=`/assets/icon-THdxja9j.svg`,Ac=`data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%20shape-rendering='crispEdges'%3e%3cpath%20fill='%234385be'%20d='M17%2017h1v25h-1zM18%2018h2v25h-2zM20%2019h2v2h-2zM22%2020h2v25h-2zM24%2021h2v25h-2zM26%2022h2v2h-2zM28%2023h2v25h-2zM30%2024h2v25h-2zM32%2025h2v2h-2zM34%2026h2v25h-2zM36%2027h1v25h-1z'/%3e%3cpath%20fill='%23205ea6'%20d='M21%2021h1v23h-1zM46%2022h1v25h-1zM44%2023h2v25h-2zM27%2024h1v23h-1zM42%2024h2v25h-2zM40%2025h2v25h-2zM38%2026h2v25h-2zM33%2027h1v23h-1zM37%2027h1v25h-1z'/%3e%3cpath%20fill='%2366a0c8'%20d='M24%2013h2v7h-2zM22%2014h2v5h-2zM20%2015h2v3h-2zM30%2015h2v8h-2zM18%2016h2v1h-2zM32%2016h2v8h-2zM26%2018h4v3h-4zM38%2018h2v7h-2zM40%2019h2v5h-2zM42%2020h2v3h-2zM20%2021h1v23h-1zM28%2021h2v1h-2zM44%2021h2v1h-2zM34%2022h4v3h-4zM26%2024h1v23h-1zM36%2025h2v1h-2zM32%2027h1v23h-1z'/%3e%3cpath%20fill='%230a0a0a'%20d='M26%209h4v1h-4zM25%2010h1v3h-1zM30%2010h2v1h-2zM32%2011h2v1h-2zM24%2012h1v1h-1zM34%2012h2v1h-2zM22%2013h2v1h-2zM36%2013h2v1h-2zM20%2014h2v1h-2zM38%2014h1v4h-1zM18%2015h2v1h-2zM17%2016h1v1h-1zM16%2017h1v25h-1zM39%2017h1v1h-1zM40%2018h2v1h-2zM42%2019h2v1h-2zM44%2020h2v1h-2zM46%2021h1v1h-1zM47%2022h1v25h-1zM17%2042h1v1h-1zM18%2043h1v3h-1zM19%2046h2v1h-2zM23%2046h3v1h-3zM21%2047h2v1h-2zM26%2047h2v1h-2zM46%2047h1v1h-1zM28%2048h2v1h-2zM45%2048h1v3h-1zM30%2049h2v1h-2zM32%2050h2v1h-2zM33%2051h1v2h-1zM40%2051h1v2h-1zM43%2051h2v1h-2zM41%2052h2v1h-2zM34%2053h1v1h-1zM39%2053h1v1h-1zM35%2054h4v1h-4z'/%3e%3cpath%20fill='%23b7b5ac'%20d='M26%2011h2v7h-2zM28%2012h2v2h-2zM30%2013h2v2h-2zM32%2014h2v2h-2zM34%2015h2v7h-2z'/%3e%3cpath%20fill='%2392bfdb'%20d='M18%2017h2v1h-2zM20%2018h2v1h-2zM22%2019h2v1h-2zM24%2020h2v1h-2zM26%2021h2v1h-2zM28%2022h2v1h-2zM44%2022h2v1h-2zM30%2023h2v1h-2zM42%2023h2v1h-2zM32%2024h2v1h-2zM40%2024h2v1h-2zM34%2025h2v1h-2zM38%2025h2v1h-2zM36%2026h2v1h-2z'/%3e%3cpath%20fill='%23878580'%20d='M28%2014h2v4h-2zM36%2015h2v7h-2z'/%3e%3cpath%20fill='%23cecdc3'%20d='M26%2010h4v1h-4zM28%2011h4v1h-4zM30%2012h4v1h-4zM32%2013h4v1h-4zM34%2014h4v1h-4z'/%3e%3cpath%20fill='%23403e3c'%20d='M19%2043h1v3h-1zM21%2044h1v3h-1zM22%2045h1v2h-1zM42%2049h1v3h-1zM41%2050h1v2h-1zM34%2051h1v2h-1zM36%2052h2v2h-2z'/%3e%3cpath%20fill='%23343331'%20d='M23%2045h1v1h-1zM44%2048h1v3h-1zM43%2049h1v2h-1zM38%2051h2v2h-2zM38%2053h1v1h-1z'/%3e%3cpath%20fill='%23000000'%20fill-opacity='0.353'%20d='M21%2048h1v1h-1zM41%2053h2v1h-2zM39%2054h1v1h-1zM36%2055h3v1h-3z'/%3e%3cpath%20fill='%23575653'%20d='M20%2044h1v2h-1zM40%2050h1v1h-1zM35%2051h1v3h-1z'/%3e%3c/svg%3e`;function jc(e){let t=(0,$.c)(14),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{d:`M71.09 20.74c-.16-.17-.33-.34-.5-.5s-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5-.33-.34-.5-.5A26.46 26.46 0 0 1 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05-11.58 0-21.94-4.23-28.83-10.86l.5.5.5.5.5.5.5.5.5.5.5.5.5.5C19.55 65.3 30.14 69.75 42 69.75c20.68 0 37.5-13.48 37.5-30 0-7.06-3.04-13.75-8.41-19.01Z`}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(`path`,{d:`M73 35.7c0 15.21-15.67 27.54-35 27.54S3 50.91 3 35.7C3 26.27 9 17.94 18.22 13S33.18 3 38 3s8.94 4.13 19.78 10C67 17.94 73 26.27 73 35.7Z`,style:{fill:`#fbf0df`}}),t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`path`,{d:`M73 35.7a21.67 21.67 0 0 0-.8-5.78c-2.73 33.3-43.35 34.9-59.32 24.94A40 40 0 0 0 38 63.24c19.3 0 35-12.35 35-27.54Z`,style:{fill:`#f6dece`}}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(`path`,{d:`M24.53 11.17C29 8.49 34.94 3.46 40.78 3.45A9.29 9.29 0 0 0 38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7v1.19c6.06-21.41 17.07-23.04 21.53-25.72Z`,style:{fill:`#fffefc`}}),t[3]=a):a=t[3];let o,s;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`path`,{d:`M35.12 5.53A16.41 16.41 0 0 1 29.49 18c-.28.25-.06.73.3.59 3.37-1.31 7.92-5.23 6-13.14-.08-.45-.67-.33-.67.08Zm2.27 0A16.24 16.24 0 0 1 39 19c-.12.35.31.65.55.36 2.19-2.8 4.1-8.36-1.62-14.36-.29-.26-.74.14-.54.49Zm2.76-.17A16.42 16.42 0 0 1 47 17.12a.33.33 0 0 0 .65.11c.92-3.49.4-9.44-7.17-12.53-.4-.16-.66.38-.33.62Zm-18.46 10.4a16.94 16.94 0 0 0 10.47-9c.18-.36.75-.22.66.18-1.73 8-7.52 9.67-11.12 9.45-.38.01-.37-.52-.01-.63Z`,style:{fill:`#ccbea7`,fillRule:`evenodd`}}),s=(0,Z.jsx)(`path`,{d:`M38 65.75C17.32 65.75.5 52.27.5 35.7c0-10 6.18-19.33 16.53-24.92 3-1.6 5.57-3.21 7.86-4.62 1.26-.78 2.45-1.51 3.6-2.19C32 1.89 35 .5 38 .5s5.62 1.2 8.9 3.14c1 .57 2 1.19 3.07 1.87 2.49 1.54 5.3 3.28 9 5.27C69.32 16.37 75.5 25.69 75.5 35.7c0 16.57-16.82 30.05-37.5 30.05ZM38 3c-2.42 0-5 1.25-8.25 3.13-1.13.66-2.3 1.39-3.54 2.15-2.33 1.44-5 3.07-8 4.7C8.69 18.13 3 26.62 3 35.7c0 15.19 15.7 27.55 35 27.55S73 50.89 73 35.7c0-9.08-5.69-17.57-15.22-22.7-3.78-2-6.73-3.88-9.12-5.36-1.09-.67-2.09-1.29-3-1.84C42.63 4 40.42 3 38 3Z`}),t[4]=o,t[5]=s):(o=t[4],s=t[5]);let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(`path`,{d:`M45.05 43a8.93 8.93 0 0 1-2.92 4.71 6.81 6.81 0 0 1-4 1.88A6.84 6.84 0 0 1 34 47.71 8.93 8.93 0 0 1 31.12 43a.72.72 0 0 1 .8-.81h12.34a.72.72 0 0 1 .79.81Z`,style:{fill:`#b71422`}}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsxs)(`g`,{children:[c,(0,Z.jsx)(`path`,{d:`M34 47.79a6.91 6.91 0 0 0 4.12 1.9 6.91 6.91 0 0 0 4.11-1.9 10.63 10.63 0 0 0 1-1.07 6.83 6.83 0 0 0-4.9-2.31 6.15 6.15 0 0 0-5 2.78c.23.21.43.41.67.6Z`,style:{fill:`#ff6164`}}),(0,Z.jsx)(`path`,{d:`M34.16 47a5.36 5.36 0 0 1 4.19-2.08 6 6 0 0 1 4 1.69c.23-.25.45-.51.66-.77a7 7 0 0 0-4.71-1.93 6.36 6.36 0 0 0-4.89 2.36 9.53 9.53 0 0 0 .75.73Z`}),(0,Z.jsx)(`path`,{d:`M38.09 50.19a7.42 7.42 0 0 1-4.45-2 9.52 9.52 0 0 1-3.11-5.05 1.2 1.2 0 0 1 .26-1 1.41 1.41 0 0 1 1.13-.51h12.34a1.44 1.44 0 0 1 1.13.51 1.19 1.19 0 0 1 .25 1 9.52 9.52 0 0 1-3.11 5.05 7.42 7.42 0 0 1-4.44 2Zm-6.17-7.4c-.16 0-.2.07-.21.09a8.29 8.29 0 0 0 2.73 4.37A6.23 6.23 0 0 0 38.09 49a6.28 6.28 0 0 0 3.65-1.73 8.3 8.3 0 0 0 2.72-4.37.21.21 0 0 0-.2-.09Z`})]}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Z.jsx)(`ellipse`,{cx:`53.22`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Z.jsx)(`ellipse`,{cx:`22.95`,cy:`40.18`,rx:`5.85`,ry:`3.44`,style:{fill:`#febbd0`}}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(`path`,{d:`M25.7 38.8a5.51 5.51 0 1 0-5.5-5.51 5.51 5.51 0 0 0 5.5 5.51Zm24.77 0A5.51 5.51 0 1 0 45 33.29a5.5 5.5 0 0 0 5.47 5.51Z`,style:{fillRule:`evenodd`}}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsxs)(`g`,{children:[u,d,f,(0,Z.jsx)(`path`,{d:`M24 33.64a2.07 2.07 0 1 0-2.06-2.07A2.07 2.07 0 0 0 24 33.64Zm24.77 0a2.07 2.07 0 1 0-2.06-2.07 2.07 2.07 0 0 0 2.04 2.07Z`,style:{fill:`#fff`,fillRule:`evenodd`}})]}),t[11]=p):p=t[11];let m;return t[12]===e?m=t[13]:(m=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 80 70`,children:[n,r,i,a,o,s,l,p]}),t[12]=e,t[13]=m),m}function Mc(e){let t=(0,$.c)(5),n,r,i;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fill:`#FFF`,d:`m202.357 49.394-5.311-2.124C172.085 103.434 72.786 69.289 66.81 85.997c-.996 11.286 54.227 2.146 93.706 4.059 12.039.583 18.076 9.671 12.964 24.484l10.069.031c11.615-36.209 48.683-17.73 50.232-29.68-2.545-7.857-42.601 0-31.425-35.497Z`}),r=(0,Z.jsx)(`path`,{fill:`#F4811F`,d:`M176.332 108.348c1.593-5.31 1.062-10.622-1.593-13.809-2.656-3.187-6.374-5.31-11.154-5.842L71.17 87.634c-.531 0-1.062-.53-1.593-.53-.531-.532-.531-1.063 0-1.594.531-1.062 1.062-1.594 2.124-1.594l92.946-1.062c11.154-.53 22.839-9.56 27.087-20.182l5.312-13.809c0-.532.531-1.063 0-1.594C191.203 20.182 166.772 0 138.091 0 111.535 0 88.697 16.995 80.73 40.896c-5.311-3.718-11.684-5.843-19.12-5.31-12.747 1.061-22.838 11.683-24.432 24.43-.531 3.187 0 6.374.532 9.56C16.996 70.107 0 87.103 0 108.348c0 2.124 0 3.718.531 5.842 0 1.063 1.062 1.594 1.594 1.594h170.489c1.062 0 2.125-.53 2.125-1.594l1.593-5.842Z`}),i=(0,Z.jsx)(`path`,{fill:`#FAAD3F`,d:`M205.544 48.863h-2.656c-.531 0-1.062.53-1.593 1.062l-3.718 12.747c-1.593 5.31-1.062 10.623 1.594 13.809 2.655 3.187 6.373 5.31 11.153 5.843l19.652 1.062c.53 0 1.062.53 1.593.53.53.532.53 1.063 0 1.594-.531 1.063-1.062 1.594-2.125 1.594l-20.182 1.062c-11.154.53-22.838 9.56-27.087 20.182l-1.063 4.78c-.531.532 0 1.594 1.063 1.594h70.108c1.062 0 1.593-.531 1.593-1.593 1.062-4.25 2.124-9.03 2.124-13.81 0-27.618-22.838-50.456-50.456-50.456`}),t[0]=n,t[1]=r,t[2]=i):(n=t[0],r=t[1],i=t[2]);let a;return t[3]===e?a=t[4]:(a=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 116`,preserveAspectRatio:`xMidYMid`,children:[n,r,i]}),t[3]=e,t[4]=a),a}function Nc(e){let t=(0,$.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{d:`M13.98 11.08h2.12a.19.19 0 0 0 .19-.19V9.01a.19.19 0 0 0-.19-.19h-2.12a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.95-5.43h2.12a.19.19 0 0 0 .18-.19V3.57a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m0 2.71h2.12a.19.19 0 0 0 .18-.18V6.29a.19.19 0 0 0-.18-.18h-2.12a.18.18 0 0 0-.19.18v1.89c0 .1.09.18.19.18m-2.93 0h2.12a.19.19 0 0 0 .18-.18V6.29a.18.18 0 0 0-.18-.18H8.1a.18.18 0 0 0-.18.18v1.89c0 .1.08.18.18.18m-2.96 0h2.11a.19.19 0 0 0 .19-.18V6.29a.18.18 0 0 0-.19-.18H5.14a.19.19 0 0 0-.19.18v1.89c0 .1.08.18.19.18m5.89 2.72h2.12a.19.19 0 0 0 .18-.19V9.01a.19.19 0 0 0-.18-.19h-2.12a.18.18 0 0 0-.19.18v1.9c0 .1.09.18.19.18m-2.93 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H8.1a.18.18 0 0 0-.18.18v1.9c0 .1.08.18.18.18m-2.96 0h2.11a.18.18 0 0 0 .19-.19V9.01a.18.18 0 0 0-.18-.19H5.14a.19.19 0 0 0-.19.19v1.88c0 .1.08.19.19.19m-2.92 0h2.12a.18.18 0 0 0 .18-.19V9.01a.18.18 0 0 0-.18-.19H2.22a.18.18 0 0 0-.19.18v1.9c0 .1.08.18.19.18m21.54-1.19c-.06-.05-.67-.51-1.95-.51-.34 0-.68.03-1.01.09a3.77 3.77 0 0 0-1.72-2.57l-.34-.2-.23.33a4.6 4.6 0 0 0-.6 1.43c-.24.97-.1 1.88.4 2.66a4.7 4.7 0 0 1-1.75.42H.76a.75.75 0 0 0-.76.75 11.38 11.38 0 0 0 .7 4.06 6.03 6.03 0 0 0 2.4 3.12c1.18.73 3.1 1.14 5.28 1.14.98 0 1.96-.08 2.93-.26a12.25 12.25 0 0 0 3.82-1.4 10.5 10.5 0 0 0 2.61-2.13c1.25-1.42 2-3 2.55-4.4h.23c1.37 0 2.21-.55 2.68-1 .3-.3.55-.66.7-1.06l.1-.28Z`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(`svg`,{...e,viewBox:`0 0 24 24`,fill:`#008fe2`,children:n}),t[1]=e,t[2]=r),r}function Pc(e){let t=(0,$.c)(4),n,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`circle`,{fill:`#FFCF00`,cx:`128`,cy:`128`,r:`128`}),r=(0,Z.jsx)(`path`,{d:`M69.285 58.715 138.571 128l-69.286 69.285-16.97-16.97L104.629 128 52.315 75.685l16.97-16.97Zm76.8 0L215.371 128l-69.286 69.285-16.97-16.97L181.429 128l-52.314-52.315 16.97-16.97Z`,fill:`#191919`}),t[0]=n,t[1]=r):(n=t[0],r=t[1]);let i;return t[2]===e?i=t[3]:(i=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 256`,preserveAspectRatio:`xMidYMid`,children:[n,r]}),t[2]=e,t[3]=i),i}function Fc(e){let t=(0,$.c)(55),n=(0,J.useId)(),r=`${n}-a`,i,a,o,s,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`stop`,{offset:`0%`,stopColor:`#41873F`}),a=(0,Z.jsx)(`stop`,{offset:`32.88%`,stopColor:`#418B3D`}),o=(0,Z.jsx)(`stop`,{offset:`63.52%`,stopColor:`#419637`}),s=(0,Z.jsx)(`stop`,{offset:`93.19%`,stopColor:`#3FA92D`}),c=(0,Z.jsx)(`stop`,{offset:`100%`,stopColor:`#3FAE2A`}),t[0]=i,t[1]=a,t[2]=o,t[3]=s,t[4]=c):(i=t[0],a=t[1],o=t[2],s=t[3],c=t[4]);let l;t[5]===r?l=t[6]:(l=(0,Z.jsxs)(`linearGradient`,{id:r,x1:`68.188%`,x2:`27.823%`,y1:`17.487%`,y2:`89.755%`,children:[i,a,o,s,c]}),t[5]=r,t[6]=l);let u=`${n}-c`,d,f,p,m;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(`stop`,{offset:`13.76%`,stopColor:`#41873F`}),m=(0,Z.jsx)(`stop`,{offset:`40.32%`,stopColor:`#54A044`}),d=(0,Z.jsx)(`stop`,{offset:`71.36%`,stopColor:`#66B848`}),f=(0,Z.jsx)(`stop`,{offset:`90.81%`,stopColor:`#6CC04A`}),t[7]=d,t[8]=f,t[9]=p,t[10]=m):(d=t[7],f=t[8],p=t[9],m=t[10]);let h;t[11]===u?h=t[12]:(h=(0,Z.jsxs)(`linearGradient`,{id:u,x1:`43.277%`,x2:`159.245%`,y1:`55.169%`,y2:`-18.306%`,children:[p,m,d,f]}),t[11]=u,t[12]=h);let g=`${n}-f`,_,v,y,b;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Z.jsx)(`stop`,{offset:`9.192%`,stopColor:`#6CC04A`}),v=(0,Z.jsx)(`stop`,{offset:`28.64%`,stopColor:`#66B848`}),y=(0,Z.jsx)(`stop`,{offset:`59.68%`,stopColor:`#54A044`}),b=(0,Z.jsx)(`stop`,{offset:`86.24%`,stopColor:`#41873F`}),t[13]=_,t[14]=v,t[15]=y,t[16]=b):(_=t[13],v=t[14],y=t[15],b=t[16]);let x;t[17]===g?x=t[18]:(x=(0,Z.jsxs)(`linearGradient`,{id:g,x1:`-4.389%`,x2:`101.499%`,y1:`49.997%`,y2:`49.997%`,children:[_,v,y,b]}),t[17]=g,t[18]=x);let S=`${n}-b`,C;t[19]===S?C=t[20]:(C=(0,Z.jsx)(`path`,{id:S,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[19]=S,t[20]=C);let w=`${n}-e`,T;t[21]===w?T=t[22]:(T=(0,Z.jsx)(`path`,{id:w,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[21]=w,t[22]=T);let E;t[23]!==h||t[24]!==x||t[25]!==C||t[26]!==T||t[27]!==l?(E=(0,Z.jsxs)(`defs`,{children:[l,h,x,C,T]}),t[23]=h,t[24]=x,t[25]=C,t[26]=T,t[27]=l,t[28]=E):E=t[28];let D=`url(#${n}-a)`,O;t[29]===D?O=t[30]:(O=(0,Z.jsx)(`path`,{fill:D,d:`M134.923 1.832c-4.344-2.443-9.502-2.443-13.846 0L6.787 67.801C2.443 70.244 0 74.859 0 79.745v132.208c0 4.887 2.715 9.502 6.787 11.945l114.29 65.968c4.344 2.444 9.502 2.444 13.846 0l114.29-65.968c4.344-2.443 6.787-7.058 6.787-11.945V79.745c0-4.886-2.715-9.501-6.787-11.944L134.923 1.832Z`}),t[29]=D,t[30]=O);let k=`${n}-d`,A=`#${n}-b`,j;t[31]===A?j=t[32]:(j=(0,Z.jsx)(`use`,{xlinkHref:A}),t[31]=A,t[32]=j);let M;t[33]!==k||t[34]!==j?(M=(0,Z.jsx)(`mask`,{id:k,fill:`#fff`,children:j}),t[33]=k,t[34]=j,t[35]=M):M=t[35];let N=`url(#${n}-c)`,P=`url(#${n}-d)`,F;t[36]!==N||t[37]!==P?(F=(0,Z.jsx)(`path`,{fill:N,d:`M249.485 67.8 134.65 1.833c-1.086-.542-2.443-1.085-3.529-1.357L2.443 220.912c1.086 1.357 2.444 2.443 3.8 3.258l114.834 65.968c3.258 1.9 7.059 2.443 10.588 1.357L252.47 70.515c-.815-1.086-1.9-1.9-2.986-2.714Z`,mask:P}),t[36]=N,t[37]=P,t[38]=F):F=t[38];let I=`${n}-g`,L=`#${n}-e`,R;t[39]===L?R=t[40]:(R=(0,Z.jsx)(`use`,{xlinkHref:L}),t[39]=L,t[40]=R);let z;t[41]!==I||t[42]!==R?(z=(0,Z.jsx)(`mask`,{id:I,fill:`#fff`,children:R}),t[41]=I,t[42]=R,t[43]=z):z=t[43];let ee=`url(#${n}-f)`,te=`url(#${n}-g)`,ne;t[44]!==ee||t[45]!==te?(ne=(0,Z.jsx)(`path`,{fill:ee,d:`M249.756 223.898c3.258-1.9 5.701-5.158 6.787-8.687L130.579.204c-3.258-.543-6.787-.272-9.773 1.628L6.786 67.53l122.979 224.238c1.628-.272 3.529-.815 5.158-1.63l114.833-66.239Z`,mask:te}),t[44]=ee,t[45]=te,t[46]=ne):ne=t[46];let re;return t[47]!==e||t[48]!==E||t[49]!==O||t[50]!==M||t[51]!==F||t[52]!==z||t[53]!==ne?(re=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 256 292`,xmlnsXlink:`http://www.w3.org/1999/xlink`,children:[E,O,M,F,z,ne]}),t[47]=e,t[48]=E,t[49]=O,t[50]=M,t[51]=F,t[52]=z,t[53]=ne,t[54]=re):re=t[54],re}function Ic(e){let t=(0,$.c)(11),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n={clipRule:`nonzero`,fill:`none`,fillRule:`nonzero`,stroke:`#fff`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeMiterlimit:`4`,strokeWidth:`12.4651`},t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(`path`,{d:`M323.205 324.227c2.833-23.601 1.984-27.062 19.563-23.239l4.463.392c13.517.615 31.199-2.174 41.587-7 22.362-10.376 35.622-27.7 13.572-23.148-50.297 10.376-53.755-6.655-53.755-6.655 53.111-78.803 75.313-178.836 56.149-203.322-52.27-66.789-142.748-35.206-144.262-34.386l-.482.089c-9.938-2.062-21.06-3.294-33.554-3.496-22.761-.374-40.032 5.967-53.133 15.904 0 0-161.408-66.498-153.899 83.628 1.597 31.936 45.777 241.655 98.47 178.31 19.259-23.163 37.871-42.748 37.871-42.748 9.242 6.14 20.307 9.272 31.912 8.147l.897-.765c-.281 2.876-.157 5.689.359 9.019-13.572 15.167-9.584 17.83-36.723 23.416-27.457 5.659-11.326 15.734-.797 18.367 12.768 3.193 42.305 7.716 62.268-20.224l-.795 3.188c5.325 4.26 4.965 30.619 5.72 49.452.756 18.834 2.017 36.409 5.856 46.771 3.839 10.36 8.369 37.05 44.036 29.406 29.809-6.388 52.6-15.582 54.677-101.107`,style:{fill:`#000`,stroke:`#000`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`37.3953`}}),t[1]=r):r=t[1];let i,a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`path`,{d:`M402.395 271.23c-50.302 10.376-53.76-6.655-53.76-6.655 53.111-78.808 75.313-178.843 56.153-203.326-52.27-66.785-142.752-35.2-144.262-34.38l-.486.087c-9.938-2.063-21.06-3.292-33.56-3.496-22.761-.373-40.026 5.967-53.127 15.902 0 0-161.411-66.495-153.904 83.63 1.597 31.938 45.776 241.657 98.471 178.312 19.26-23.163 37.869-42.748 37.869-42.748 9.243 6.14 20.308 9.272 31.908 8.147l.901-.765c-.28 2.876-.152 5.689.361 9.019-13.575 15.167-9.586 17.83-36.723 23.416-27.459 5.659-11.328 15.734-.796 18.367 12.768 3.193 42.307 7.716 62.266-20.224l-.796 3.188c5.319 4.26 9.054 27.711 8.428 48.969-.626 21.259-1.044 35.854 3.147 47.254 4.191 11.4 8.368 37.05 44.042 29.406 29.809-6.388 45.256-22.942 47.405-50.555 1.525-19.631 4.976-16.729 5.194-34.28l2.768-8.309c3.192-26.611.507-35.196 18.872-31.203l4.463.392c13.517.615 31.208-2.174 41.591-7 22.358-10.376 35.618-27.7 13.573-23.148z`,style:{fill:`#336791`,stroke:`none`},stroke:`none`}),a=(0,Z.jsx)(`path`,{d:`M215.866 286.484c-1.385 49.516.348 99.377 5.193 111.495 4.848 12.118 15.223 35.688 50.9 28.045 29.806-6.39 40.651-18.756 45.357-46.051 3.466-20.082 10.148-75.854 11.005-87.281M173.104 38.256S11.583-27.76 19.092 122.365c1.597 31.938 45.779 241.664 98.473 178.316 19.256-23.166 36.671-41.335 36.671-41.335M260.349 26.207c-5.591 1.753 89.848-34.889 144.087 34.417 19.159 24.484-3.043 124.519-56.153 203.329`}),t[2]=i,t[3]=a):(i=t[2],a=t[3]);let o,s,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`path`,{d:`M348.282 263.953s3.461 17.036 53.764 6.653c22.04-4.552 8.776 12.774-13.577 23.155-18.345 8.514-59.474 10.696-60.146-1.069-1.729-30.355 21.647-21.133 19.96-28.739-1.525-6.85-11.979-13.573-18.894-30.338-6.037-14.633-82.796-126.849 21.287-110.183 3.813-.789-27.146-99.002-124.553-100.599-97.385-1.597-94.19 119.762-94.19 119.762`,style:{strokeLinejoin:`bevel`}}),s=(0,Z.jsx)(`path`,{d:`M188.604 274.334c-13.577 15.166-9.584 17.829-36.723 23.417-27.459 5.66-11.326 15.733-.797 18.365 12.768 3.195 42.307 7.718 62.266-20.229 6.078-8.509-.036-22.086-8.385-25.547-4.034-1.671-9.428-3.765-16.361 3.994z`}),c=(0,Z.jsx)(`path`,{d:`M187.715 274.069c-1.368-8.917 2.93-19.528 7.536-31.942 6.922-18.626 22.893-37.255 10.117-96.339-9.523-44.029-73.396-9.163-73.436-3.193-.039 5.968 2.889 30.26-1.067 58.548-5.162 36.913 23.488 68.132 56.479 64.938`}),t[4]=o,t[5]=s,t[6]=c):(o=t[4],s=t[5],c=t[6]);let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(`path`,{d:`M172.517 141.7c-.288 2.039 3.733 7.48 8.976 8.207 5.234.73 9.714-3.522 9.998-5.559.284-2.039-3.732-4.285-8.977-5.015-5.237-.731-9.719.333-9.996 2.367z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`4.155`}}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Z.jsxs)(`g`,{style:n,children:[r,i,a,o,s,c,l,(0,Z.jsx)(`path`,{d:`M331.941 137.543c.284 2.039-3.732 7.48-8.976 8.207-5.238.73-9.718-3.522-10.005-5.559-.277-2.039 3.74-4.285 8.979-5.015 5.239-.73 9.718.333 10.002 2.368z`,style:{fill:`#fff`,strokeLinecap:`butt`,strokeLinejoin:`miter`,strokeWidth:`2.0775`}}),(0,Z.jsx)(`path`,{d:`M350.676 123.432c.863 15.994-3.445 26.888-3.988 43.914-.804 24.748 11.799 53.074-7.191 81.435`})]}),t[8]=u):u=t[8];let d;return t[9]===e?d=t[10]:(d=(0,Z.jsx)(`svg`,{...e,xmlSpace:`preserve`,viewBox:`0 0 432.071 445.383`,children:u}),t[9]=e,t[10]=d),d}function Lc(e){let t=(0,$.c)(11),n,r,i,a,o,s,c,l,u;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{d:`M246 169c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 209.4 24 179 10.3 172.5 3.6 169.3 0 166.5 0 164v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.3V160c0 2.5-3 5.3-10 9`,fill:`#912626`}),r=(0,Z.jsx)(`path`,{d:`M246 143.2c-13.7 7.1-84.5 36.2-99.5 44-15.1 8-23.5 7.9-35.4 2.2-11.9-5.7-87.2-36.1-100.8-42.6-13.5-6.5-13.8-11-.5-16.2 13.4-5.2 88.2-34.6 104-40.3 16-5.6 21.4-5.8 34.9-1 13.4 5 83.8 33 97.1 37.9 13.3 4.9 13.8 8.9.2 16`,fill:`#C6302B`}),i=(0,Z.jsx)(`path`,{d:`M246 127c-13.7 7.2-84.5 36.3-99.5 44.2-15.1 7.8-23.5 7.7-35.4 2-11.9-5.6-87.2-36-100.8-42.6-6.7-3.2-10.3-6-10.3-8.5V96.2s98-21.3 113.9-27c15.8-5.7 21.3-5.9 34.8-1 13.4 5 94 19.5 107.3 24.4V118c0 2.5-3 5.4-10 9`,fill:`#912626`}),a=(0,Z.jsx)(`path`,{d:`M246 101.4c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 141.8 24 111.4 10.3 105c-13.5-6.5-13.8-11-.5-16.1C23.2 83.5 98 54 113.8 48.5c16-5.7 21.4-6 34.9-1 13.4 5 83.8 33 97.1 37.8 13.3 5 13.8 9 .2 16`,fill:`#C6302B`}),o=(0,Z.jsx)(`path`,{d:`M246 83.7c-13.7 7-84.5 36.2-99.5 44-15.1 7.9-23.5 7.8-35.4 2.1C99.2 124.1 24 93.7 10.3 87.2 3.6 84 0 81.2 0 78.7v-26s98-21.3 113.9-27c15.8-5.6 21.3-5.8 34.8-.9 13.4 5 94 19.5 107.3 24.4v25.5c0 2.5-3 5.3-10 9`,fill:`#912626`}),s=(0,Z.jsx)(`path`,{d:`M246 58c-13.7 7-84.5 36.1-99.5 44-15.1 7.9-23.5 7.8-35.4 2C99.2 98.5 24 68 10.3 61.6c-13.5-6.5-13.8-11-.5-16.2C23.2 40.1 98 10.7 113.8 5c16-5.6 21.4-5.8 34.9-.9 13.4 5 83.8 33 97.1 37.8 13.3 4.9 13.8 9 .2 16`,fill:`#C6302B`}),c=(0,Z.jsx)(`path`,{d:`m159.3 32.8-22 2.2-5 11.9-8-13.2L99 31.4l19-6.9-5.8-10.5 17.8 7 16.7-5.5-4.5 10.9 17 6.4M131 90.3l-41-17 58.8-9.1-17.8 26M74 39.3c17.5 0 31.5 5.5 31.5 12.2 0 6.8-14 12.2-31.4 12.2s-31.5-5.4-31.5-12.2c0-6.7 14.1-12.2 31.5-12.2`,fill:`#FFF`}),l=(0,Z.jsx)(`path`,{d:`M185.3 36 220 49.8l-34.8 13.7V36`,fill:`#621B1C`}),u=(0,Z.jsx)(`path`,{d:`M146.8 51.2 185.3 36v27.5l-3.8 1.5-34.7-13.8`,fill:`#9A2928`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s,t[6]=c,t[7]=l,t[8]=u):(n=t[0],r=t[1],i=t[2],a=t[3],o=t[4],s=t[5],c=t[6],l=t[7],u=t[8]);let d;return t[9]===e?d=t[10]:(d=(0,Z.jsxs)(`svg`,{...e,preserveAspectRatio:`xMidYMid`,viewBox:`0 0 256 220`,children:[n,r,i,a,o,s,c,l,u]}),t[9]=e,t[10]=d),d}function Rc(e){let t=(0,$.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`black`}),r=(0,Z.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`black`}),i=(0,Z.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`black`}),a=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`black`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function zc(e){let t=(0,$.c)(6),n,r,i,a;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M165.735 25.0701L188.947 0.972412H0.465994V25.0701H165.735Z`,fill:`#e2e8f0`}),r=(0,Z.jsx)(`path`,{d:`M163.981 96.3239L254.022 3.68314L221.206 3.68295L145.617 80.7609L163.981 96.3239Z`,fill:`#e2e8f0`}),i=(0,Z.jsx)(`path`,{d:`M233.658 131.418C233.658 155.075 214.48 174.254 190.823 174.254C171.715 174.254 155.513 161.738 150 144.439L146.625 133.848L127.329 153.143L129.092 157.336C139.215 181.421 163.034 198.354 190.823 198.354C227.791 198.354 257.759 168.386 257.759 131.418C257.759 106.937 244.399 85.7396 224.956 74.0905L220.395 71.3582L202.727 89.2528L210.788 93.5083C224.403 100.696 233.658 114.981 233.658 131.418Z`,fill:`#e2e8f0`}),a=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M88.2625 192.669L88.2626 45.6459H64.1648L64.1648 192.669H88.2625Z`,fill:`#e2e8f0`}),t[0]=n,t[1]=r,t[2]=i,t[3]=a):(n=t[0],r=t[1],i=t[2],a=t[3]);let o;return t[4]===e?o=t[5]:(o=(0,Z.jsxs)(`svg`,{...e,viewBox:`0 0 258 199`,fill:`none`,children:[n,r,i,a]}),t[4]=e,t[5]=o),o}function Bc(e){let t=(0,$.c)(11),n=(0,J.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(`path`,{fill:`#fff`,d:`M49.542 17.322c-17.766 0-32.22 14.454-32.22 32.22s14.454 32.22 32.22 32.22 32.22-14.454 32.22-32.22-14.454-32.22-32.22-32.22Zm0 48.894c-9.21 0-16.674-7.464-16.674-16.674 0-9.21 7.464-16.674 16.674-16.674 9.21 0 16.674 7.464 16.674 16.674 0 9.21-7.464 16.674-16.674 16.674Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,Z.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.242 12.03V0c26.148 1.398 46.92 23.046 46.92 49.542 0 26.496-20.772 48.138-46.92 49.542v-12.03c19.488-1.392 34.92-17.676 34.92-37.512 0-19.836-15.432-36.12-34.92-37.512ZM21.126 74.142c-5.166-5.964-8.496-13.56-9.09-21.9H0c.624 11.67 5.292 22.26 12.606 30.414l8.514-8.514h.006Zm25.716 24.942v-12.03c-8.346-.594-15.942-3.918-21.906-9.09l-8.514 8.514c8.16 7.32 18.75 11.982 30.414 12.606h.006Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,Z.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,Z.jsx)(`defs`,{children:(0,Z.jsxs)(`linearGradient`,{id:n,x1:`54.186`,x2:`5.418`,y1:`6.967`,y2:`55.735`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,Z.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function Vc(e){let t=(0,$.c)(11),n=(0,J.useId)(),r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(`path`,{fill:`#000`,d:`M49.96 17.482C32.046 17.482 17.47 32.07 17.47 50S32.045 82.518 49.96 82.518c17.916 0 32.492-14.588 32.492-32.518S67.877 17.482 49.961 17.482Zm0 49.346c-9.287 0-16.814-7.533-16.814-16.828 0-9.295 7.527-16.828 16.815-16.828S66.776 40.705 66.776 50c0 9.295-7.527 16.828-16.815 16.828Z`}),t[0]=r):r=t[0];let i=`url(#${n})`,a;t[1]===i?a=t[2]:(a=(0,Z.jsx)(`path`,{fill:i,fillRule:`evenodd`,d:`M52.683 12.141V0C79.053 1.41 100 23.26 100 50s-20.948 48.583-47.317 50V87.859C72.336 86.454 87.898 70.019 87.898 50c0-20.02-15.562-36.454-35.215-37.859ZM21.305 74.827c-5.21-6.019-8.568-13.685-9.167-22.102H0C.63 64.503 5.337 75.19 12.713 83.42l8.586-8.593h.006ZM47.237 100V87.859c-8.417-.6-16.077-3.954-22.091-9.174l-8.586 8.593C24.79 94.665 35.469 99.37 47.23 100h.007Z`,clipRule:`evenodd`}),t[1]=i,t[2]=a);let o,s;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`stop`,{stopColor:`#0096FF`}),s=(0,Z.jsx)(`stop`,{offset:`1`,stopColor:`#FF1E56`}),t[3]=o,t[4]=s):(o=t[3],s=t[4]);let c;t[5]===n?c=t[6]:(c=(0,Z.jsx)(`defs`,{children:(0,Z.jsxs)(`linearGradient`,{id:n,x1:`54.644`,x2:`5.425`,y1:`7.031`,y2:`56.211`,gradientUnits:`userSpaceOnUse`,children:[o,s]})}),t[5]=n,t[6]=c);let l;return t[7]!==e||t[8]!==a||t[9]!==c?(l=(0,Z.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 100 100`,children:[r,a,c]}),t[7]=e,t[8]=a,t[9]=c,t[10]=l):l=t[10],l}function Hc(e){let t=(0,$.c)(35),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fill:`#863bff`,d:`M25.946 44.938c-.664.845-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.287c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.497 0-3.578-1.842-3.578H1.237c-.92 0-1.456-1.04-.92-1.788L10.013.474c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.579 1.842 3.579h11.377c.943 0 1.473 1.088.89 1.83L25.947 44.94z`,style:{fill:`color(display-p3 .5252 .23 1)`,fillOpacity:`1`}}),t[0]=n):n=t[0];let r;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(r={maskType:`alpha`},t[1]=r):r=t[1];let i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,Z.jsx)(`mask`,{id:`mask0_2002_17158`,width:`48`,height:`46`,x:`0`,y:`0`,maskUnits:`userSpaceOnUse`,style:r,children:(0,Z.jsx)(`path`,{fill:`#000`,d:`M25.842 44.938c-.664.844-2.021.375-2.021-.698V33.937a2.26 2.26 0 0 0-2.262-2.262H10.183c-.92 0-1.456-1.04-.92-1.788l7.48-10.471c1.07-1.498 0-3.579-1.842-3.579H1.133c-.92 0-1.456-1.04-.92-1.787L9.91.473c.214-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.471c-1.07 1.498 0 3.578 1.842 3.578h11.377c.943 0 1.473 1.088.89 1.832L25.843 44.94z`,style:{fill:`#000`,fillOpacity:`1`}})}),t[2]=i):i=t[2];let a;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,Z.jsx)(`g`,{filter:`url(#filter0_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`5.508`,cy:`14.704`,fill:`#ede6ff`,rx:`5.508`,ry:`14.704`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -4.47 31.516)`})}),t[3]=a):a=t[3];let o;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,Z.jsx)(`g`,{filter:`url(#filter1_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`10.399`,cy:`29.851`,fill:`#ede6ff`,rx:`10.399`,ry:`29.851`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`matrix(.00324 1 1 -.00324 -39.328 7.883)`})}),t[4]=o):o=t[4];let s;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,Z.jsx)(`g`,{filter:`url(#filter2_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`5.508`,cy:`30.487`,fill:`#7e14ff`,rx:`5.508`,ry:`30.487`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -25.913 -14.639)scale(1 -1)`})}),t[5]=s):s=t[5];let c;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,Z.jsx)(`g`,{filter:`url(#filter3_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.644 -3.334)scale(1 -1)`})}),t[6]=c):c=t[6];let l;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,Z.jsx)(`g`,{filter:`url(#filter4_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`5.508`,cy:`30.599`,fill:`#7e14ff`,rx:`5.508`,ry:`30.599`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.814 -32.454 -1.99)scale(1 -1)`})}),t[7]=l):l=t[7];let u;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,Z.jsx)(`g`,{filter:`url(#filter5_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`14.072`,cy:`22.078`,fill:`#ede6ff`,rx:`14.072`,ry:`22.078`,style:{fill:`color(display-p3 .9275 .9033 1)`,fillOpacity:`1`},transform:`rotate(93.35 24.506 48.493)scale(-1 1)`})}),t[8]=u):u=t[8];let d;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,Z.jsx)(`g`,{filter:`url(#filter6_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[9]=d):d=t[9];let f;t[10]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(`g`,{filter:`url(#filter7_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`3.47`,cy:`21.501`,fill:`#7e14ff`,rx:`3.47`,ry:`21.501`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(89.009 28.708 47.59)scale(-1 1)`})}),t[10]=f):f=t[10];let p;t[11]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Z.jsx)(`g`,{filter:`url(#filter8_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`.387`,cy:`8.972`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(39.51 .387 8.972)`})}),t[11]=p):p=t[11];let m;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Z.jsx)(`g`,{filter:`url(#filter9_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`47.523`,cy:`-6.092`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 47.523 -6.092)`})}),t[12]=m):m=t[12];let h;t[13]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,Z.jsx)(`g`,{filter:`url(#filter10_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`41.412`,cy:`6.333`,fill:`#47bfff`,rx:`5.971`,ry:`9.665`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 41.412 6.333)`})}),t[13]=h):h=t[13];let g;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,Z.jsx)(`g`,{filter:`url(#filter11_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[14]=g):g=t[14];let _;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(_=(0,Z.jsx)(`g`,{filter:`url(#filter12_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`-1.879`,cy:`38.332`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 -1.88 38.332)`})}),t[15]=_):_=t[15];let v;t[16]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,Z.jsx)(`g`,{filter:`url(#filter13_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`35.651`,cy:`29.907`,fill:`#7e14ff`,rx:`4.407`,ry:`29.108`,style:{fill:`color(display-p3 .4922 .0767 1)`,fillOpacity:`1`},transform:`rotate(37.892 35.651 29.907)`})}),t[16]=v):v=t[16];let y;t[17]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Z.jsxs)(`g`,{mask:`url(#mask0_2002_17158)`,children:[a,o,s,c,l,u,d,f,p,m,h,g,_,v,(0,Z.jsx)(`g`,{filter:`url(#filter14_f_2002_17158)`,children:(0,Z.jsx)(`ellipse`,{cx:`38.418`,cy:`32.4`,fill:`#47bfff`,rx:`5.971`,ry:`15.297`,style:{fill:`color(display-p3 .2799 .748 1)`,fillOpacity:`1`},transform:`rotate(37.892 38.418 32.4)`})})]}),t[17]=y):y=t[17];let b;t[18]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Z.jsxs)(`filter`,{id:`filter0_f_2002_17158`,width:`60.045`,height:`41.654`,x:`-19.77`,y:`16.149`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[18]=b):b=t[18];let x;t[19]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Z.jsxs)(`filter`,{id:`filter1_f_2002_17158`,width:`90.34`,height:`51.437`,x:`-54.613`,y:`-7.533`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[19]=x):x=t[19];let S;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,Z.jsxs)(`filter`,{id:`filter2_f_2002_17158`,width:`79.355`,height:`29.4`,x:`-49.64`,y:`2.03`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[20]=S):S=t[20];let C;t[21]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,Z.jsxs)(`filter`,{id:`filter3_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-45.045`,y:`20.029`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[21]=C):C=t[21];let w;t[22]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Z.jsxs)(`filter`,{id:`filter4_f_2002_17158`,width:`79.579`,height:`29.4`,x:`-43.513`,y:`21.178`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[22]=w):w=t[22];let T;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,Z.jsxs)(`filter`,{id:`filter5_f_2002_17158`,width:`74.749`,height:`58.852`,x:`15.756`,y:`-17.901`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`7.659`})]}),t[23]=T):T=t[23];let E;t[24]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,Z.jsxs)(`filter`,{id:`filter6_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[24]=E):E=t[24];let D;t[25]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,Z.jsxs)(`filter`,{id:`filter7_f_2002_17158`,width:`61.377`,height:`25.362`,x:`23.548`,y:`2.284`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[25]=D):D=t[25];let O;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(O=(0,Z.jsxs)(`filter`,{id:`filter8_f_2002_17158`,width:`56.045`,height:`63.649`,x:`-27.636`,y:`-22.853`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[26]=O):O=t[26];let k;t[27]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,Z.jsxs)(`filter`,{id:`filter9_f_2002_17158`,width:`54.814`,height:`64.646`,x:`20.116`,y:`-38.415`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[27]=k):k=t[27];let A;t[28]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,Z.jsxs)(`filter`,{id:`filter10_f_2002_17158`,width:`33.541`,height:`35.313`,x:`24.641`,y:`-11.323`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[28]=A):A=t[28];let j;t[29]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,Z.jsxs)(`filter`,{id:`filter11_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[29]=j):j=t[29];let M;t[30]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,Z.jsxs)(`filter`,{id:`filter12_f_2002_17158`,width:`54.814`,height:`64.646`,x:`-29.286`,y:`6.009`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[30]=M):M=t[30];let N;t[31]===Symbol.for(`react.memo_cache_sentinel`)?(N=(0,Z.jsxs)(`filter`,{id:`filter13_f_2002_17158`,width:`54.814`,height:`64.646`,x:`8.244`,y:`-2.416`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]}),t[31]=N):N=t[31];let P;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,Z.jsxs)(`defs`,{children:[b,x,S,C,w,T,E,D,O,k,A,j,M,N,(0,Z.jsxs)(`filter`,{id:`filter14_f_2002_17158`,width:`39.409`,height:`43.623`,x:`18.713`,y:`10.588`,colorInterpolationFilters:`sRGB`,filterUnits:`userSpaceOnUse`,children:[(0,Z.jsx)(`feFlood`,{floodOpacity:`0`,result:`BackgroundImageFix`}),(0,Z.jsx)(`feBlend`,{in:`SourceGraphic`,in2:`BackgroundImageFix`,result:`shape`}),(0,Z.jsx)(`feGaussianBlur`,{result:`effect1_foregroundBlur_2002_17158`,stdDeviation:`4.596`})]})]}),t[32]=P):P=t[32];let F;return t[33]===e?F=t[34]:(F=(0,Z.jsxs)(`svg`,{...e,fill:`none`,viewBox:`0 0 48 46`,children:[n,i,y,P]}),t[33]=e,t[34]=F),F}var Uc=`/assets/icon-B_7Zk4lP.svg`,Wc={...et(Object.assign({"../../../../auth/src/routes/icon.svg":Sc,"../icon.svg":Cc,"../../../../gateway/src/routes/icon.svg":wc,"../../../../opm/src/routes/icon.svg":Tc,"../../../../portfolio/src/routes/icon.svg":Ec,"../../../../scope/src/routes/icon.svg":Dc,"../../../../signal/src/routes/icon.svg":Oc,"../../../../stash/src/routes/icon.svg":kc,"../../../../trips/src/routes/icon.svg":Ac})),deploy:Uc},Gc=[{dark:zc,light:Rc,pattern:/\bt3code\b/u},{dark:Fc,light:Fc,pattern:/\b(?:node|nodejs)(?:-MainThread)?\b/iu},{dark:jc,light:jc,pattern:/\bbun(?:\.native)?\b/u},{dark:Ic,light:Ic,pattern:/\b(?:postgres|postgresql|postmaster)\b/u},{dark:Lc,light:Lc,pattern:/\bredis(?:-server)?\b/u},{dark:Nc,light:Nc,pattern:/\b(?:docker|dockerd|containerd)\b/u},{dark:Hc,light:Hc,pattern:/\b(?:vp|vite)\b/u},{dark:Bc,light:Vc,pattern:/\bturbo\b/u},{dark:Pc,light:Pc,pattern:/\besbuild\b/u},{dark:Mc,light:Mc,pattern:/\bcloudflared\b/u}];function Kc(e){let t=(0,$.c)(14),r=Wc[c(e.name,/[ -]/u)[0]],i;t[0]!==e.name||t[1]!==e.process?(i=n(Ce(Gc,t=>t.pattern.test(`${e.name} ${e.process??``}`))),t[0]=e.name,t[1]=e.process,t[2]=i):i=t[2];let a=i,o;t[3]!==a||t[4]!==r||t[5]!==e.container?(o=function(){return r===void 0?a===void 0?e.container===!0?(0,Z.jsx)(lt,{className:`size-full`}):(0,Z.jsx)(st,{className:`size-full`}):a.light===a.dark?(0,Z.jsx)(a.light,{className:`size-full`}):(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(a.light,{className:`size-full dark:hidden`}),(0,Z.jsx)(a.dark,{className:`hidden size-full dark:block`})]}):(0,Z.jsx)(`img`,{src:r,alt:``,className:`pixelated size-full object-contain`})},t[3]=a,t[4]=r,t[5]=e.container,t[6]=o):o=t[6];let s=o,l;t[7]===e.small?l=t[8]:(l=N(e.small===!0,{onFalse:Jc,onTrue:qc}),t[7]=e.small,t[8]=l);let u=`text-muted-foreground inline-flex shrink-0 items-center justify-center ${l}`,d;t[9]===s?d=t[10]:(d=s(),t[9]=s,t[10]=d);let f;return t[11]!==u||t[12]!==d?(f=(0,Z.jsx)(`span`,{className:u,"aria-hidden":`true`,children:d}),t[11]=u,t[12]=d,t[13]=f):f=t[13],f}function qc(){return`size-4`}function Jc(){return`size-5`}function Yc(){let e=(0,$.c)(3),t=Ot(qs),n=Ot(Js),r;return e[0]!==n||e[1]!==t?(r=e=>{n(ce),t(me(e))},e[0]=n,e[1]=t,e[2]=r):r=e[2],r}function Xc(e){let t=(0,$.c)(61),[n,r]=kt(Js),[i,a]=(0,J.useState)(`tailnet`),[o,s]=(0,J.useState)(``),c;if(t[0]!==e.items||t[1]!==e.port.worker){let n;t[3]===e.port.worker?n=t[4]:(n=t=>t.self===!0&&t.worker===e.port.worker,t[3]=e.port.worker,t[4]=n),c=g(fe(Ce(e.items,n),nl),tl),t[0]=e.items,t[1]=e.port.worker,t[2]=c}else c=t[2];let l=c,u;t[5]===n?u=t[6]:(u=ye(n),t[5]=n,t[6]=u);let d=u,p;t[7]!==r||t[8]!==o||t[9]!==i||t[10]!==e.port.id||t[11]!==e.port.port||t[12]!==e.port.worker||t[13]!==l?(p=t=>{t.preventDefault(),r({hostname:N(i===`public`,{onFalse:()=>l,onTrue:()=>o}),kind:i,name:N(i===`public`,{onFalse:()=>`tailnet:${e.port.port}`,onTrue:()=>`public:${o}`}),port:e.port.port??0,publicAccess:i===`public`,target:N(f(`remote:`)(e.port.id),{onFalse:el,onTrue:()=>e.port.worker})})},t[7]=r,t[8]=o,t[9]=i,t[10]=e.port.id,t[11]=e.port.port,t[12]=e.port.worker,t[13]=l,t[14]=p):p=t[14];let m=e.port.process??e.port.name,h;t[15]===m?h=t[16]:(h=(0,Z.jsx)(Kc,{name:m,small:!0}),t[15]=m,t[16]=h);let _;t[17]===e.port.port?_=t[18]:(_=(0,Z.jsxs)(Ds,{variant:`outline`,className:`font-mono`,children:[`:`,e.port.port]}),t[17]=e.port.port,t[18]=_);let v;t[19]!==e.port.process||t[20]!==h||t[21]!==_?(v=(0,Z.jsxs)(Io,{className:`flex items-center gap-2`,children:[h,`Expose `,e.port.process,_]}),t[19]=e.port.process,t[20]=h,t[21]=_,t[22]=v):v=t[22];let y;t[23]===Symbol.for(`react.memo_cache_sentinel`)?(y=e=>{(e===`public`||e===`tailnet`)&&a(e)},t[23]=y):y=t[23];let b;t[24]===d?b=t[25]:(b=(0,Z.jsxs)(yc,{className:`w-full`,children:[(0,Z.jsx)(bc,{value:`tailnet`,disabled:d,children:`Tailnet`}),(0,Z.jsx)(bc,{value:`public`,disabled:d,children:`Public`})]}),t[24]=d,t[25]=b);let x;t[26]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,Z.jsx)(bs,{htmlFor:`expose-tailnet`,children:`Address`}),t[26]=x):x=t[26];let S;t[27]!==e.port.port||t[28]!==l?(S=N(l===``,{onFalse:()=>`https://${l}:${e.port.port}`,onTrue:$c}),t[27]=e.port.port,t[28]=l,t[29]=S):S=t[29];let C;t[30]===S?C=t[31]:(C=(0,Z.jsx)(xc,{value:`tailnet`,children:(0,Z.jsxs)(ys,{children:[x,(0,Z.jsx)(ts,{id:`expose-tailnet`,readOnly:!0,className:`font-mono`,value:S})]})}),t[30]=S,t[31]=C);let w;t[32]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,Z.jsx)(bs,{htmlFor:`expose-public`,children:`Hostname`}),t[32]=w):w=t[32];let T=i===`public`,E;t[33]===Symbol.for(`react.memo_cache_sentinel`)?(E=e=>s(de(e.target.value)),t[33]=E):E=t[33];let D;t[34]!==o||t[35]!==d||t[36]!==T?(D=(0,Z.jsx)(xc,{value:`public`,children:(0,Z.jsxs)(ys,{children:[w,(0,Z.jsx)(ts,{id:`expose-public`,required:T,className:`font-mono`,placeholder:`app.example.com`,autoCapitalize:`none`,spellCheck:!1,value:o,disabled:d,onChange:E})]})}),t[34]=o,t[35]=d,t[36]=T,t[37]=D):D=t[37];let O;t[38]!==i||t[39]!==C||t[40]!==D||t[41]!==b?(O=(0,Z.jsxs)(_c,{value:i,onValueChange:y,children:[b,C,D]}),t[38]=i,t[39]=C,t[40]=D,t[41]=b,t[42]=O):O=t[42];let k;t[43]===n?k=t[44]:(k=(0,Z.jsx)(ws,{result:n}),t[43]=n,t[44]=k);let A;t[45]===d?A=t[46]:(A=(0,Z.jsx)(jo,{render:(0,Z.jsx)(We,{variant:`ghost`,type:`button`,disabled:d}),children:`Cancel`}),t[45]=d,t[46]=A);let j=d||i===`tailnet`&&l===``||i===`public`&&o===``,M;t[47]===d?M=t[48]:(M=N(d,{onFalse:Qc,onTrue:Zc}),t[47]=d,t[48]=M);let P;t[49]!==j||t[50]!==M?(P=(0,Z.jsx)(We,{type:`submit`,disabled:j,children:M}),t[49]=j,t[50]=M,t[51]=P):P=t[51];let F;t[52]!==A||t[53]!==P?(F=(0,Z.jsxs)(Fo,{children:[A,P]}),t[52]=A,t[53]=P,t[54]=F):F=t[54];let I;return t[55]!==O||t[56]!==k||t[57]!==p||t[58]!==F||t[59]!==v?(I=(0,Z.jsxs)(`form`,{className:`flex flex-col gap-4`,onSubmit:p,children:[v,O,k,F]}),t[55]=O,t[56]=k,t[57]=p,t[58]=F,t[59]=v,t[60]=I):I=t[60],I}function Zc(){return`Exposing…`}function Qc(){return`Expose`}function $c(){return``}function el(){return``}function tl(){return``}function nl(e){return e.hostname??``}function rl(){let e=(0,$.c)(2),[t,n]=kt(qs),r;return e[0]===n?r=e[1]:(r=e=>(0,Z.jsx)(ko,{open:!0,onOpenChange:e=>{e||n(E())},children:(0,Z.jsx)(No,{children:(0,Z.jsx)(Xc,{items:e.snapshot.items,port:e.port},e.port.id)})}),e[0]=n,e[1]=r),ee(ue({port:t,snapshot:_(wt(Ks))}),{onNone:il,onSome:r})}function il(){return null}export{Oi as $,an as $t,Ia as A,tr as At,Ea as B,Hn as Bt,Oo as C,pr as Ct,Ja as D,or as Dt,ao as E,ar as Et,Ta as F,Yn as Ft,Yi as G,En as Gt,la as H,Mn as Ht,wa as I,Xn as It,Pi as J,Cn as Jt,Ji as K,X as Kt,Da as L,Kn as Lt,ja as M,nr as Mt,va as N,$n as Nt,eo as O,sr as Ot,xa as P,Qn as Pt,Mi as Q,_n as Qt,Oa as R,Wn as Rt,Io as S,hr as St,oo as T,cr as Tt,ia as U,kn as Ut,ga as V,jn as Vt,ra as W,Dn as Wt,Ni as X,cn as Xt,Fi as Y,fn as Yt,ji as Z,sn as Zt,ns as _,kt as _n,xr as _t,Ys as a,pn as an,ri as at,Lo as b,mr as bt,Xs as c,en as cn,Qr as ct,Ds as d,Jt as dn,Dr as dt,un as en,Ei as et,ws as f,Yt as fn,jr as ft,as as g,Nt as gn,br as gt,ss as h,Pt as hn,Sr as ht,Uc as i,dn as in,ai as it,La as j,Q as jt,Ga as k,er as kt,As as l,Zt as ln,Er as lt,cs as m,Lt as mn,kr as mt,Yc as n,$t as nn,yi as nt,Ks as o,nn as on,ti as ot,hs as p,qt as pn,wr as pt,Gi as q,wn as qt,Kc as r,rn,bi as rt,Zs as s,tn as sn,Zr as st,rl as t,ln as tn,vi as tt,ks as u,Qt as un,Tr as ut,ko as v,wt as vn,vr as vt,yo as w,gr as wt,Po as x,ur as xt,No as y,Y as yn,_r as yt,ka as z,zn as zt};