autoforge-ai 0.1.20 → 0.1.21
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.
- package/package.json +1 -1
- package/server/services/browser_view_service.py +280 -280
- package/ui/dist/assets/index-BB9FkE5a.js +96 -0
- package/ui/dist/assets/index-CaH_F11g.css +1 -0
- package/ui/dist/assets/{vendor-flow-CSXy01ye.js → vendor-flow-4rkFkfFX.js} +1 -1
- package/ui/dist/assets/vendor-radix-CXoPacKb.js +45 -0
- package/ui/dist/assets/vendor-utils-_RSkPk2f.js +2 -0
- package/ui/dist/index.html +5 -5
- package/ui/dist/assets/index-B5-x5jW8.js +0 -96
- package/ui/dist/assets/index-DkJ1zszK.css +0 -1
- package/ui/dist/assets/vendor-radix-DIVIznMB.js +0 -45
- package/ui/dist/assets/vendor-utils-CnTXttNm.js +0 -2
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import{a as Uo,r as c,j as v,g as Ho,R as Ft,b as ve}from"./vendor-query-CcgjkJlA.js";var wt={exports:{}},U={};var fn;function Go(){if(fn)return U;fn=1;var e=Uo();function t(u){var l="https://react.dev/errors/"+u;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var f=2;f<arguments.length;f++)l+="&args[]="+encodeURIComponent(arguments[f])}return"Minified React error #"+u+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(u,l,f){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:d==null?null:""+d,children:u,containerInfo:l,implementation:f}}var a=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(u,l){if(u==="font")return"";if(typeof l=="string")return l==="use-credentials"?l:""}return U.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,U.createPortal=function(u,l){var f=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)throw Error(t(299));return i(u,l,null,f)},U.flushSync=function(u){var l=a.T,f=r.p;try{if(a.T=null,r.p=2,u)return u()}finally{a.T=l,r.p=f,r.d.f()}},U.preconnect=function(u,l){typeof u=="string"&&(l?(l=l.crossOrigin,l=typeof l=="string"?l==="use-credentials"?l:"":void 0):l=null,r.d.C(u,l))},U.prefetchDNS=function(u){typeof u=="string"&&r.d.D(u)},U.preinit=function(u,l){if(typeof u=="string"&&l&&typeof l.as=="string"){var f=l.as,d=s(f,l.crossOrigin),p=typeof l.integrity=="string"?l.integrity:void 0,h=typeof l.fetchPriority=="string"?l.fetchPriority:void 0;f==="style"?r.d.S(u,typeof l.precedence=="string"?l.precedence:void 0,{crossOrigin:d,integrity:p,fetchPriority:h}):f==="script"&&r.d.X(u,{crossOrigin:d,integrity:p,fetchPriority:h,nonce:typeof l.nonce=="string"?l.nonce:void 0})}},U.preinitModule=function(u,l){if(typeof u=="string")if(typeof l=="object"&&l!==null){if(l.as==null||l.as==="script"){var f=s(l.as,l.crossOrigin);r.d.M(u,{crossOrigin:f,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0})}}else l==null&&r.d.M(u)},U.preload=function(u,l){if(typeof u=="string"&&typeof l=="object"&&l!==null&&typeof l.as=="string"){var f=l.as,d=s(f,l.crossOrigin);r.d.L(u,f,{crossOrigin:d,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0,type:typeof l.type=="string"?l.type:void 0,fetchPriority:typeof l.fetchPriority=="string"?l.fetchPriority:void 0,referrerPolicy:typeof l.referrerPolicy=="string"?l.referrerPolicy:void 0,imageSrcSet:typeof l.imageSrcSet=="string"?l.imageSrcSet:void 0,imageSizes:typeof l.imageSizes=="string"?l.imageSizes:void 0,media:typeof l.media=="string"?l.media:void 0})}},U.preloadModule=function(u,l){if(typeof u=="string")if(l){var f=s(l.as,l.crossOrigin);r.d.m(u,{as:typeof l.as=="string"&&l.as!=="script"?l.as:void 0,crossOrigin:f,integrity:typeof l.integrity=="string"?l.integrity:void 0})}else r.d.m(u)},U.requestFormReset=function(u){r.d.r(u)},U.unstable_batchedUpdates=function(u,l){return u(l)},U.useFormState=function(u,l,f){return a.H.useFormState(u,l,f)},U.useFormStatus=function(){return a.H.useHostTransitionStatus()},U.version="19.2.3",U}var dn;function Ko(){if(dn)return wt.exports;dn=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),wt.exports=Go(),wt.exports}function A(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function pn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function de(...e){return t=>{let n=!1;const r=e.map(o=>{const i=pn(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():pn(e[o],null)}}}}function $(...e){return c.useCallback(de(...e),e)}function zo(e,t){const n=c.createContext(t),r=i=>{const{children:a,...s}=i,u=c.useMemo(()=>s,Object.values(s));return v.jsx(n.Provider,{value:u,children:a})};r.displayName=e+"Provider";function o(i){const a=c.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function pe(e,t=[]){let n=[];function r(i,a){const s=c.createContext(a),u=n.length;n=[...n,a];const l=d=>{const{scope:p,children:h,...g}=d,m=p?.[e]?.[u]||s,y=c.useMemo(()=>g,Object.values(g));return v.jsx(m.Provider,{value:y,children:h})};l.displayName=i+"Provider";function f(d,p){const h=p?.[e]?.[u]||s,g=c.useContext(h);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,f]}const o=()=>{const i=n.map(a=>c.createContext(a));return function(s){const u=s?.[e]||i;return c.useMemo(()=>({[`__scope${e}`]:{...s,[e]:u}}),[s,u])}};return o.scopeName=e,[r,Yo(o,...t)]}function Yo(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:u,scopeName:l})=>{const d=u(i)[`__scope${l}`];return{...s,...d}},{});return c.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var jt=Ko();const Xo=Ho(jt);function qo(e){const t=Zo(e),n=c.forwardRef((r,o)=>{const{children:i,...a}=r,s=c.Children.toArray(i),u=s.find(Jo);if(u){const l=u.props.children,f=s.map(d=>d===u?c.Children.count(l)>1?c.Children.only(null):c.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:o,children:c.isValidElement(l)?c.cloneElement(l,void 0,f):null})}return v.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Zo(e){const t=c.forwardRef((n,r)=>{const{children:o,...i}=n;if(c.isValidElement(o)){const a=ti(o),s=ei(i,o.props);return o.type!==c.Fragment&&(s.ref=r?de(r,a):a),c.cloneElement(o,s)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Qo=Symbol("radix.slottable");function Jo(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Qo}function ei(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function ti(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ni=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],k=ni.reduce((e,t)=>{const n=qo(`Primitive.${t}`),r=c.forwardRef((o,i)=>{const{asChild:a,...s}=o,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(u,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Wn(e,t){e&&jt.flushSync(()=>e.dispatchEvent(t))}function re(e){const t=c.useRef(e);return c.useEffect(()=>{t.current=e}),c.useMemo(()=>(...n)=>t.current?.(...n),[])}function ri(e,t=globalThis?.document){const n=re(e);c.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var oi="DismissableLayer",Ot="dismissableLayer.update",ii="dismissableLayer.pointerDownOutside",si="dismissableLayer.focusOutside",mn,Bn=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),$t=c.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...u}=e,l=c.useContext(Bn),[f,d]=c.useState(null),p=f?.ownerDocument??globalThis?.document,[,h]=c.useState({}),g=$(t,S=>d(S)),m=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),w=m.indexOf(y),x=f?m.indexOf(f):-1,b=l.layersWithOutsidePointerEventsDisabled.size>0,C=x>=w,E=li(S=>{const _=S.target,T=[...l.branches].some(O=>O.contains(_));!C||T||(o?.(S),a?.(S),S.defaultPrevented||s?.())},p),P=ui(S=>{const _=S.target;[...l.branches].some(O=>O.contains(_))||(i?.(S),a?.(S),S.defaultPrevented||s?.())},p);return ri(S=>{x===l.layers.size-1&&(r?.(S),!S.defaultPrevented&&s&&(S.preventDefault(),s()))},p),c.useEffect(()=>{if(f)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(mn=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(f)),l.layers.add(f),hn(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=mn)}},[f,p,n,l]),c.useEffect(()=>()=>{f&&(l.layers.delete(f),l.layersWithOutsidePointerEventsDisabled.delete(f),hn())},[f,l]),c.useEffect(()=>{const S=()=>h({});return document.addEventListener(Ot,S),()=>document.removeEventListener(Ot,S)},[]),v.jsx(k.div,{...u,ref:g,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:A(e.onFocusCapture,P.onFocusCapture),onBlurCapture:A(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:A(e.onPointerDownCapture,E.onPointerDownCapture)})});$t.displayName=oi;var ci="DismissableLayerBranch",ai=c.forwardRef((e,t)=>{const n=c.useContext(Bn),r=c.useRef(null),o=$(t,r);return c.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),v.jsx(k.div,{...e,ref:o})});ai.displayName=ci;function li(e,t=globalThis?.document){const n=re(e),r=c.useRef(!1),o=c.useRef(()=>{});return c.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let u=function(){Vn(ii,n,l,{discrete:!0})};const l={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=u,t.addEventListener("click",o.current,{once:!0})):u()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function ui(e,t=globalThis?.document){const n=re(e),r=c.useRef(!1);return c.useEffect(()=>{const o=i=>{i.target&&!r.current&&Vn(si,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function hn(){const e=new CustomEvent(Ot);document.dispatchEvent(e)}function Vn(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?Wn(o,i):o.dispatchEvent(i)}var le=globalThis?.document?c.useLayoutEffect:()=>{},fi=Ft[" useId ".trim().toString()]||(()=>{}),di=0;function Se(e){const[t,n]=c.useState(fi());return le(()=>{n(r=>r??String(di++))},[e]),t?`radix-${t}`:""}const pi=["top","right","bottom","left"],ue=Math.min,G=Math.max,et=Math.round,Ge=Math.floor,ee=e=>({x:e,y:e}),mi={left:"right",right:"left",bottom:"top",top:"bottom"},hi={start:"end",end:"start"};function Dt(e,t,n){return G(e,ue(t,n))}function oe(e,t){return typeof e=="function"?e(t):e}function ie(e){return e.split("-")[0]}function _e(e){return e.split("-")[1]}function Wt(e){return e==="x"?"y":"x"}function Bt(e){return e==="y"?"height":"width"}const vi=new Set(["top","bottom"]);function J(e){return vi.has(ie(e))?"y":"x"}function Vt(e){return Wt(J(e))}function gi(e,t,n){n===void 0&&(n=!1);const r=_e(e),o=Vt(e),i=Bt(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=tt(a)),[a,tt(a)]}function yi(e){const t=tt(e);return[Tt(e),t,Tt(t)]}function Tt(e){return e.replace(/start|end/g,t=>hi[t])}const vn=["left","right"],gn=["right","left"],wi=["top","bottom"],xi=["bottom","top"];function bi(e,t,n){switch(e){case"top":case"bottom":return n?t?gn:vn:t?vn:gn;case"left":case"right":return t?wi:xi;default:return[]}}function Ci(e,t,n,r){const o=_e(e);let i=bi(ie(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Tt)))),i}function tt(e){return e.replace(/left|right|bottom|top/g,t=>mi[t])}function Ei(e){return{top:0,right:0,bottom:0,left:0,...e}}function Un(e){return typeof e!="number"?Ei(e):{top:e,right:e,bottom:e,left:e}}function nt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function yn(e,t,n){let{reference:r,floating:o}=e;const i=J(t),a=Vt(t),s=Bt(a),u=ie(t),l=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let h;switch(u){case"top":h={x:f,y:r.y-o.height};break;case"bottom":h={x:f,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(_e(t)){case"start":h[a]-=p*(n&&l?-1:1);break;case"end":h[a]+=p*(n&&l?-1:1);break}return h}const Si=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),u=await(a.isRTL==null?void 0:a.isRTL(t));let l=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=yn(l,r,u),p=r,h={},g=0;for(let m=0;m<s.length;m++){const{name:y,fn:w}=s[m],{x,y:b,data:C,reset:E}=await w({x:f,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:l,platform:a,elements:{reference:e,floating:t}});f=x??f,d=b??d,h={...h,[y]:{...h[y],...C}},E&&g<=50&&(g++,typeof E=="object"&&(E.placement&&(p=E.placement),E.rects&&(l=E.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:f,y:d}=yn(l,p,u)),m=-1)}return{x:f,y:d,placement:p,strategy:o,middlewareData:h}};async function Ne(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=oe(t,e),g=Un(h),y=s[p?d==="floating"?"reference":"floating":d],w=nt(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:l,rootBoundary:f,strategy:u})),x=d==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),C=await(i.isElement==null?void 0:i.isElement(b))?await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1}:{x:1,y:1},E=nt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:x,offsetParent:b,strategy:u}):x);return{top:(w.top-E.top+g.top)/C.y,bottom:(E.bottom-w.bottom+g.bottom)/C.y,left:(w.left-E.left+g.left)/C.x,right:(E.right-w.right+g.right)/C.x}}const Ri=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:u}=t,{element:l,padding:f=0}=oe(e,t)||{};if(l==null)return{};const d=Un(f),p={x:n,y:r},h=Vt(o),g=Bt(h),m=await a.getDimensions(l),y=h==="y",w=y?"top":"left",x=y?"bottom":"right",b=y?"clientHeight":"clientWidth",C=i.reference[g]+i.reference[h]-p[h]-i.floating[g],E=p[h]-i.reference[h],P=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l));let S=P?P[b]:0;(!S||!await(a.isElement==null?void 0:a.isElement(P)))&&(S=s.floating[b]||i.floating[g]);const _=C/2-E/2,T=S/2-m[g]/2-1,O=ue(d[w],T),I=ue(d[x],T),L=O,F=S-m[g]-I,N=S/2-m[g]/2+_,B=Dt(L,N,F),D=!u.arrow&&_e(o)!=null&&N!==B&&i.reference[g]/2-(N<L?O:I)-m[g]/2<0,j=D?N<L?N-L:N-F:0;return{[h]:p[h]+j,data:{[h]:B,centerOffset:N-B-j,...D&&{alignmentOffset:j}},reset:D}}}),Pi=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:u,elements:l}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...y}=oe(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=ie(o),x=J(s),b=ie(s)===s,C=await(u.isRTL==null?void 0:u.isRTL(l.floating)),E=p||(b||!m?[tt(s)]:yi(s)),P=g!=="none";!p&&P&&E.push(...Ci(s,m,g,C));const S=[s,...E],_=await Ne(t,y),T=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&T.push(_[w]),d){const N=gi(o,a,C);T.push(_[N[0]],_[N[1]])}if(O=[...O,{placement:o,overflows:T}],!T.every(N=>N<=0)){var I,L;const N=(((I=i.flip)==null?void 0:I.index)||0)+1,B=S[N];if(B&&(!(d==="alignment"?x!==J(B):!1)||O.every(M=>J(M.placement)===x?M.overflows[0]>0:!0)))return{data:{index:N,overflows:O},reset:{placement:B}};let D=(L=O.filter(j=>j.overflows[0]<=0).sort((j,M)=>j.overflows[1]-M.overflows[1])[0])==null?void 0:L.placement;if(!D)switch(h){case"bestFit":{var F;const j=(F=O.filter(M=>{if(P){const R=J(M.placement);return R===x||R==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(R=>R>0).reduce((R,V)=>R+V,0)]).sort((M,R)=>M[1]-R[1])[0])==null?void 0:F[0];j&&(D=j);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function wn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xn(e){return pi.some(t=>e[t]>=0)}const Ai=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=oe(e,t);switch(r){case"referenceHidden":{const i=await Ne(t,{...o,elementContext:"reference"}),a=wn(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:xn(a)}}}case"escaped":{const i=await Ne(t,{...o,altBoundary:!0}),a=wn(i,n.floating);return{data:{escapedOffsets:a,escaped:xn(a)}}}default:return{}}}}},Hn=new Set(["left","top"]);async function _i(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ie(n),s=_e(n),u=J(n)==="y",l=Hn.has(a)?-1:1,f=i&&u?-1:1,d=oe(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),u?{x:h*f,y:p*l}:{x:p*l,y:h*f}}const Mi=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,u=await _i(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:a}}}}},Oi=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:y=>{let{x:w,y:x}=y;return{x:w,y:x}}},...u}=oe(e,t),l={x:n,y:r},f=await Ne(t,u),d=J(ie(o)),p=Wt(d);let h=l[p],g=l[d];if(i){const y=p==="y"?"top":"left",w=p==="y"?"bottom":"right",x=h+f[y],b=h-f[w];h=Dt(x,h,b)}if(a){const y=d==="y"?"top":"left",w=d==="y"?"bottom":"right",x=g+f[y],b=g-f[w];g=Dt(x,g,b)}const m=s.fn({...t,[p]:h,[d]:g});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[p]:i,[d]:a}}}}}},Di=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:u=!0,crossAxis:l=!0}=oe(e,t),f={x:n,y:r},d=J(o),p=Wt(d);let h=f[p],g=f[d];const m=oe(s,t),y=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const b=p==="y"?"height":"width",C=i.reference[p]-i.floating[b]+y.mainAxis,E=i.reference[p]+i.reference[b]-y.mainAxis;h<C?h=C:h>E&&(h=E)}if(l){var w,x;const b=p==="y"?"width":"height",C=Hn.has(ie(o)),E=i.reference[d]-i.floating[b]+(C&&((w=a.offset)==null?void 0:w[d])||0)+(C?0:y.crossAxis),P=i.reference[d]+i.reference[b]+(C?0:((x=a.offset)==null?void 0:x[d])||0)-(C?y.crossAxis:0);g<E?g=E:g>P&&(g=P)}return{[p]:h,[d]:g}}}},Ti=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:u=()=>{},...l}=oe(e,t),f=await Ne(t,l),d=ie(o),p=_e(o),h=J(o)==="y",{width:g,height:m}=i.floating;let y,w;d==="top"||d==="bottom"?(y=d,w=p===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(w=d,y=p==="end"?"top":"bottom");const x=m-f.top-f.bottom,b=g-f.left-f.right,C=ue(m-f[y],x),E=ue(g-f[w],b),P=!t.middlewareData.shift;let S=C,_=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=b),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(S=x),P&&!p){const O=G(f.left,0),I=G(f.right,0),L=G(f.top,0),F=G(f.bottom,0);h?_=g-2*(O!==0||I!==0?O+I:G(f.left,f.right)):S=m-2*(L!==0||F!==0?L+F:G(f.top,f.bottom))}await u({...t,availableWidth:_,availableHeight:S});const T=await a.getDimensions(s.floating);return g!==T.width||m!==T.height?{reset:{rects:!0}}:{}}}};function at(){return typeof window<"u"}function Me(e){return Gn(e)?(e.nodeName||"").toLowerCase():"#document"}function K(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ne(e){var t;return(t=(Gn(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Gn(e){return at()?e instanceof Node||e instanceof K(e).Node:!1}function Y(e){return at()?e instanceof Element||e instanceof K(e).Element:!1}function te(e){return at()?e instanceof HTMLElement||e instanceof K(e).HTMLElement:!1}function bn(e){return!at()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof K(e).ShadowRoot}const Ii=new Set(["inline","contents"]);function je(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=X(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Ii.has(o)}const Ni=new Set(["table","td","th"]);function ki(e){return Ni.has(Me(e))}const Li=[":popover-open",":modal"];function lt(e){return Li.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fi=["transform","translate","scale","rotate","perspective"],ji=["transform","translate","scale","rotate","perspective","filter"],$i=["paint","layout","strict","content"];function Ut(e){const t=Ht(),n=Y(e)?X(e):e;return Fi.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||ji.some(r=>(n.willChange||"").includes(r))||$i.some(r=>(n.contain||"").includes(r))}function Wi(e){let t=fe(e);for(;te(t)&&!Ae(t);){if(Ut(t))return t;if(lt(t))return null;t=fe(t)}return null}function Ht(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Bi=new Set(["html","body","#document"]);function Ae(e){return Bi.has(Me(e))}function X(e){return K(e).getComputedStyle(e)}function ut(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function fe(e){if(Me(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bn(e)&&e.host||ne(e);return bn(t)?t.host:t}function Kn(e){const t=fe(e);return Ae(t)?e.ownerDocument?e.ownerDocument.body:e.body:te(t)&&je(t)?t:Kn(t)}function ke(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Kn(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=K(o);if(i){const s=It(a);return t.concat(a,a.visualViewport||[],je(o)?o:[],s&&n?ke(s):[])}return t.concat(o,ke(o,[],n))}function It(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zn(e){const t=X(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=te(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=et(n)!==i||et(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Gt(e){return Y(e)?e:e.contextElement}function Re(e){const t=Gt(e);if(!te(t))return ee(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=zn(t);let a=(i?et(n.width):n.width)/r,s=(i?et(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Vi=ee(0);function Yn(e){const t=K(e);return!Ht()||!t.visualViewport?Vi:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ui(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==K(e)?!1:t}function ge(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Gt(e);let a=ee(1);t&&(r?Y(r)&&(a=Re(r)):a=Re(e));const s=Ui(i,n,r)?Yn(i):ee(0);let u=(o.left+s.x)/a.x,l=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(i){const p=K(i),h=r&&Y(r)?K(r):r;let g=p,m=It(g);for(;m&&r&&h!==g;){const y=Re(m),w=m.getBoundingClientRect(),x=X(m),b=w.left+(m.clientLeft+parseFloat(x.paddingLeft))*y.x,C=w.top+(m.clientTop+parseFloat(x.paddingTop))*y.y;u*=y.x,l*=y.y,f*=y.x,d*=y.y,u+=b,l+=C,g=K(m),m=It(g)}}return nt({width:f,height:d,x:u,y:l})}function ft(e,t){const n=ut(e).scrollLeft;return t?t.left+n:ge(ne(e)).left+n}function Xn(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ft(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Hi(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=ne(r),s=t?lt(t.floating):!1;if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},l=ee(1);const f=ee(0),d=te(r);if((d||!d&&!i)&&((Me(r)!=="body"||je(a))&&(u=ut(r)),te(r))){const h=ge(r);l=Re(r),f.x=h.x+r.clientLeft,f.y=h.y+r.clientTop}const p=a&&!d&&!i?Xn(a,u):ee(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-u.scrollLeft*l.x+f.x+p.x,y:n.y*l.y-u.scrollTop*l.y+f.y+p.y}}function Gi(e){return Array.from(e.getClientRects())}function Ki(e){const t=ne(e),n=ut(e),r=e.ownerDocument.body,o=G(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=G(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+ft(e);const s=-n.scrollTop;return X(r).direction==="rtl"&&(a+=G(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}const Cn=25;function zi(e,t){const n=K(e),r=ne(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,u=0;if(o){i=o.width,a=o.height;const f=Ht();(!f||f&&t==="fixed")&&(s=o.offsetLeft,u=o.offsetTop)}const l=ft(r);if(l<=0){const f=r.ownerDocument,d=f.body,p=getComputedStyle(d),h=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,g=Math.abs(r.clientWidth-d.clientWidth-h);g<=Cn&&(i-=g)}else l<=Cn&&(i+=l);return{width:i,height:a,x:s,y:u}}const Yi=new Set(["absolute","fixed"]);function Xi(e,t){const n=ge(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=te(e)?Re(e):ee(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,u=o*i.x,l=r*i.y;return{width:a,height:s,x:u,y:l}}function En(e,t,n){let r;if(t==="viewport")r=zi(e,n);else if(t==="document")r=Ki(ne(e));else if(Y(t))r=Xi(t,n);else{const o=Yn(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return nt(r)}function qn(e,t){const n=fe(e);return n===t||!Y(n)||Ae(n)?!1:X(n).position==="fixed"||qn(n,t)}function qi(e,t){const n=t.get(e);if(n)return n;let r=ke(e,[],!1).filter(s=>Y(s)&&Me(s)!=="body"),o=null;const i=X(e).position==="fixed";let a=i?fe(e):e;for(;Y(a)&&!Ae(a);){const s=X(a),u=Ut(a);!u&&s.position==="fixed"&&(o=null),(i?!u&&!o:!u&&s.position==="static"&&!!o&&Yi.has(o.position)||je(a)&&!u&&qn(e,a))?r=r.filter(f=>f!==a):o=s,a=fe(a)}return t.set(e,r),r}function Zi(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?lt(t)?[]:qi(t,this._c):[].concat(n),r],s=a[0],u=a.reduce((l,f)=>{const d=En(t,f,o);return l.top=G(d.top,l.top),l.right=ue(d.right,l.right),l.bottom=ue(d.bottom,l.bottom),l.left=G(d.left,l.left),l},En(t,s,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Qi(e){const{width:t,height:n}=zn(e);return{width:t,height:n}}function Ji(e,t,n){const r=te(t),o=ne(t),i=n==="fixed",a=ge(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const u=ee(0);function l(){u.x=ft(o)}if(r||!r&&!i)if((Me(t)!=="body"||je(o))&&(s=ut(t)),r){const h=ge(t,!0,i,t);u.x=h.x+t.clientLeft,u.y=h.y+t.clientTop}else o&&l();i&&!r&&o&&l();const f=o&&!r&&!i?Xn(o,s):ee(0),d=a.left+s.scrollLeft-u.x-f.x,p=a.top+s.scrollTop-u.y-f.y;return{x:d,y:p,width:a.width,height:a.height}}function xt(e){return X(e).position==="static"}function Sn(e,t){if(!te(e)||X(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ne(e)===n&&(n=n.ownerDocument.body),n}function Zn(e,t){const n=K(e);if(lt(e))return n;if(!te(e)){let o=fe(e);for(;o&&!Ae(o);){if(Y(o)&&!xt(o))return o;o=fe(o)}return n}let r=Sn(e,t);for(;r&&ki(r)&&xt(r);)r=Sn(r,t);return r&&Ae(r)&&xt(r)&&!Ut(r)?n:r||Wi(e)||n}const es=async function(e){const t=this.getOffsetParent||Zn,n=this.getDimensions,r=await n(e.floating);return{reference:Ji(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function ts(e){return X(e).direction==="rtl"}const ns={convertOffsetParentRelativeRectToViewportRelativeRect:Hi,getDocumentElement:ne,getClippingRect:Zi,getOffsetParent:Zn,getElementRects:es,getClientRects:Gi,getDimensions:Qi,getScale:Re,isElement:Y,isRTL:ts};function Qn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function rs(e,t){let n=null,r;const o=ne(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),i();const l=e.getBoundingClientRect(),{left:f,top:d,width:p,height:h}=l;if(s||t(),!p||!h)return;const g=Ge(d),m=Ge(o.clientWidth-(f+p)),y=Ge(o.clientHeight-(d+h)),w=Ge(f),b={rootMargin:-g+"px "+-m+"px "+-y+"px "+-w+"px",threshold:G(0,ue(1,u))||1};let C=!0;function E(P){const S=P[0].intersectionRatio;if(S!==u){if(!C)return a();S?a(!1,S):r=setTimeout(()=>{a(!1,1e-7)},1e3)}S===1&&!Qn(l,e.getBoundingClientRect())&&a(),C=!1}try{n=new IntersectionObserver(E,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,b)}n.observe(e)}return a(!0),i}function os(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,l=Gt(e),f=o||i?[...l?ke(l):[],...ke(t)]:[];f.forEach(w=>{o&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const d=l&&s?rs(l,n):null;let p=-1,h=null;a&&(h=new ResizeObserver(w=>{let[x]=w;x&&x.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var b;(b=h)==null||b.observe(t)})),n()}),l&&!u&&h.observe(l),h.observe(t));let g,m=u?ge(e):null;u&&y();function y(){const w=ge(e);m&&!Qn(m,w)&&n(),m=w,g=requestAnimationFrame(y)}return n(),()=>{var w;f.forEach(x=>{o&&x.removeEventListener("scroll",n),i&&x.removeEventListener("resize",n)}),d?.(),(w=h)==null||w.disconnect(),h=null,u&&cancelAnimationFrame(g)}}const is=Mi,ss=Oi,cs=Pi,as=Ti,ls=Ai,Rn=Ri,us=Di,fs=(e,t,n)=>{const r=new Map,o={platform:ns,...n},i={...o.platform,_c:r};return Si(e,t,{...o,platform:i})};var ds=typeof document<"u",ps=function(){},Ze=ds?c.useLayoutEffect:ps;function rt(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!rt(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!rt(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Jn(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Pn(e,t){const n=Jn(e);return Math.round(t*n)/n}function bt(e){const t=c.useRef(e);return Ze(()=>{t.current=e}),t}function ms(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:u,open:l}=e,[f,d]=c.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=c.useState(r);rt(p,r)||h(r);const[g,m]=c.useState(null),[y,w]=c.useState(null),x=c.useCallback(M=>{M!==P.current&&(P.current=M,m(M))},[]),b=c.useCallback(M=>{M!==S.current&&(S.current=M,w(M))},[]),C=i||g,E=a||y,P=c.useRef(null),S=c.useRef(null),_=c.useRef(f),T=u!=null,O=bt(u),I=bt(o),L=bt(l),F=c.useCallback(()=>{if(!P.current||!S.current)return;const M={placement:t,strategy:n,middleware:p};I.current&&(M.platform=I.current),fs(P.current,S.current,M).then(R=>{const V={...R,isPositioned:L.current!==!1};N.current&&!rt(_.current,V)&&(_.current=V,jt.flushSync(()=>{d(V)}))})},[p,t,n,I,L]);Ze(()=>{l===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,d(M=>({...M,isPositioned:!1})))},[l]);const N=c.useRef(!1);Ze(()=>(N.current=!0,()=>{N.current=!1}),[]),Ze(()=>{if(C&&(P.current=C),E&&(S.current=E),C&&E){if(O.current)return O.current(C,E,F);F()}},[C,E,F,O,T]);const B=c.useMemo(()=>({reference:P,floating:S,setReference:x,setFloating:b}),[x,b]),D=c.useMemo(()=>({reference:C,floating:E}),[C,E]),j=c.useMemo(()=>{const M={position:n,left:0,top:0};if(!D.floating)return M;const R=Pn(D.floating,f.x),V=Pn(D.floating,f.y);return s?{...M,transform:"translate("+R+"px, "+V+"px)",...Jn(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:V}},[n,s,D.floating,f.x,f.y]);return c.useMemo(()=>({...f,update:F,refs:B,elements:D,floatingStyles:j}),[f,F,B,D,j])}const hs=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Rn({element:r.current,padding:o}).fn(n):{}:r?Rn({element:r,padding:o}).fn(n):{}}}},vs=(e,t)=>({...is(e),options:[e,t]}),gs=(e,t)=>({...ss(e),options:[e,t]}),ys=(e,t)=>({...us(e),options:[e,t]}),ws=(e,t)=>({...cs(e),options:[e,t]}),xs=(e,t)=>({...as(e),options:[e,t]}),bs=(e,t)=>({...ls(e),options:[e,t]}),Cs=(e,t)=>({...hs(e),options:[e,t]});var Es="Arrow",er=c.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return v.jsx(k.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:v.jsx("polygon",{points:"0,0 30,0 15,10"})})});er.displayName=Es;var Ss=er;function Kt(e){const[t,n]=c.useState(void 0);return le(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const u=i.borderBoxSize,l=Array.isArray(u)?u[0]:u;a=l.inlineSize,s=l.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var zt="Popper",[tr,nr]=pe(zt),[Rs,rr]=tr(zt),or=e=>{const{__scopePopper:t,children:n}=e,[r,o]=c.useState(null);return v.jsx(Rs,{scope:t,anchor:r,onAnchorChange:o,children:n})};or.displayName=zt;var ir="PopperAnchor",sr=c.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=rr(ir,n),a=c.useRef(null),s=$(t,a),u=c.useRef(null);return c.useEffect(()=>{const l=u.current;u.current=r?.current||a.current,l!==u.current&&i.onAnchorChange(u.current)}),r?null:v.jsx(k.div,{...o,ref:s})});sr.displayName=ir;var Yt="PopperContent",[Ps,As]=tr(Yt),cr=c.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:u=!0,collisionBoundary:l=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:h="optimized",onPlaced:g,...m}=e,y=rr(Yt,n),[w,x]=c.useState(null),b=$(t,W=>x(W)),[C,E]=c.useState(null),P=Kt(C),S=P?.width??0,_=P?.height??0,T=r+(i!=="center"?"-"+i:""),O=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},I=Array.isArray(l)?l:[l],L=I.length>0,F={padding:O,boundary:I.filter(Ms),altBoundary:L},{refs:N,floatingStyles:B,placement:D,isPositioned:j,middlewareData:M}=ms({strategy:"fixed",placement:T,whileElementsMounted:(...W)=>os(...W,{animationFrame:h==="always"}),elements:{reference:y.anchor},middleware:[vs({mainAxis:o+_,alignmentAxis:a}),u&&gs({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?ys():void 0,...F}),u&&ws({...F}),xs({...F,apply:({elements:W,rects:Te,availableWidth:$o,availableHeight:Wo})=>{const{width:Bo,height:Vo}=Te.reference,He=W.floating.style;He.setProperty("--radix-popper-available-width",`${$o}px`),He.setProperty("--radix-popper-available-height",`${Wo}px`),He.setProperty("--radix-popper-anchor-width",`${Bo}px`),He.setProperty("--radix-popper-anchor-height",`${Vo}px`)}}),C&&Cs({element:C,padding:s}),Os({arrowWidth:S,arrowHeight:_}),p&&bs({strategy:"referenceHidden",...F})]}),[R,V]=ur(D),Z=re(g);le(()=>{j&&Z?.()},[j,Z]);const me=M.arrow?.x,Oe=M.arrow?.y,De=M.arrow?.centerOffset!==0,[Ue,he]=c.useState();return le(()=>{w&&he(window.getComputedStyle(w).zIndex)},[w]),v.jsx("div",{ref:N.setFloating,"data-radix-popper-content-wrapper":"",style:{...B,transform:j?B.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Ue,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:v.jsx(Ps,{scope:n,placedSide:R,onArrowChange:E,arrowX:me,arrowY:Oe,shouldHideArrow:De,children:v.jsx(k.div,{"data-side":R,"data-align":V,...m,ref:b,style:{...m.style,animation:j?void 0:"none"}})})})});cr.displayName=Yt;var ar="PopperArrow",_s={top:"bottom",right:"left",bottom:"top",left:"right"},lr=c.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=As(ar,r),a=_s[i.placedSide];return v.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:v.jsx(Ss,{...o,ref:n,style:{...o.style,display:"block"}})})});lr.displayName=ar;function Ms(e){return e!==null}var Os=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,s=a?0:e.arrowWidth,u=a?0:e.arrowHeight,[l,f]=ur(n),d={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+s/2,h=(o.arrow?.y??0)+u/2;let g="",m="";return l==="bottom"?(g=a?d:`${p}px`,m=`${-u}px`):l==="top"?(g=a?d:`${p}px`,m=`${r.floating.height+u}px`):l==="right"?(g=`${-u}px`,m=a?d:`${h}px`):l==="left"&&(g=`${r.floating.width+u}px`,m=a?d:`${h}px`),{data:{x:g,y:m}}}});function ur(e){const[t,n="center"]=e.split("-");return[t,n]}var Ds=or,Ts=sr,Is=cr,Ns=lr,ks="Portal",Xt=c.forwardRef((e,t)=>{const{container:n,...r}=e,[o,i]=c.useState(!1);le(()=>i(!0),[]);const a=n||o&&globalThis?.document?.body;return a?Xo.createPortal(v.jsx(k.div,{...r,ref:t}),a):null});Xt.displayName=ks;function Ls(e,t){return c.useReducer((n,r)=>t[n][r]??n,e)}var se=e=>{const{present:t,children:n}=e,r=Fs(t),o=typeof n=="function"?n({present:r.isPresent}):c.Children.only(n),i=$(r.ref,js(o));return typeof n=="function"||r.isPresent?c.cloneElement(o,{ref:i}):null};se.displayName="Presence";function Fs(e){const[t,n]=c.useState(),r=c.useRef(null),o=c.useRef(e),i=c.useRef("none"),a=e?"mounted":"unmounted",[s,u]=Ls(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const l=Ke(r.current);i.current=s==="mounted"?l:"none"},[s]),le(()=>{const l=r.current,f=o.current;if(f!==e){const p=i.current,h=Ke(l);e?u("MOUNT"):h==="none"||l?.display==="none"?u("UNMOUNT"):u(f&&p!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,u]),le(()=>{if(t){let l;const f=t.ownerDocument.defaultView??window,d=h=>{const m=Ke(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&m&&(u("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},p=h=>{h.target===t&&(i.current=Ke(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(l),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:c.useCallback(l=>{r.current=l?getComputedStyle(l):null,n(l)},[])}}function Ke(e){return e?.animationName||"none"}function js(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var $s=Ft[" useInsertionEffect ".trim().toString()]||le;function $e({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=Ws({defaultProp:t,onChange:n}),s=e!==void 0,u=s?e:o;{const f=c.useRef(e!==void 0);c.useEffect(()=>{const d=f.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=s},[s,r])}const l=c.useCallback(f=>{if(s){const d=Bs(f)?f(e):f;d!==e&&a.current?.(d)}else i(f)},[s,e,i,a]);return[u,l]}function Ws({defaultProp:e,onChange:t}){const[n,r]=c.useState(e),o=c.useRef(n),i=c.useRef(t);return $s(()=>{i.current=t},[t]),c.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function Bs(e){return typeof e=="function"}var Vs=Symbol.for("react.lazy"),ot=Ft[" use ".trim().toString()];function Us(e){return typeof e=="object"&&e!==null&&"then"in e}function fr(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Vs&&"_payload"in e&&Us(e._payload)}function qt(e){const t=Hs(e),n=c.forwardRef((r,o)=>{let{children:i,...a}=r;fr(i)&&typeof ot=="function"&&(i=ot(i._payload));const s=c.Children.toArray(i),u=s.find(Ks);if(u){const l=u.props.children,f=s.map(d=>d===u?c.Children.count(l)>1?c.Children.only(null):c.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:o,children:c.isValidElement(l)?c.cloneElement(l,void 0,f):null})}return v.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var ou=qt("Slot");function Hs(e){const t=c.forwardRef((n,r)=>{let{children:o,...i}=n;if(fr(o)&&typeof ot=="function"&&(o=ot(o._payload)),c.isValidElement(o)){const a=Ys(o),s=zs(i,o.props);return o.type!==c.Fragment&&(s.ref=r?de(r,a):a),c.cloneElement(o,s)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Gs=Symbol("radix.slottable");function Ks(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Gs}function zs(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Ys(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Ct="focusScope.autoFocusOnMount",Et="focusScope.autoFocusOnUnmount",An={bubbles:!1,cancelable:!0},Xs="FocusScope",Zt=c.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,u]=c.useState(null),l=re(o),f=re(i),d=c.useRef(null),p=$(t,m=>u(m)),h=c.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;c.useEffect(()=>{if(r){let m=function(b){if(h.paused||!s)return;const C=b.target;s.contains(C)?d.current=C:ce(d.current,{select:!0})},y=function(b){if(h.paused||!s)return;const C=b.relatedTarget;C!==null&&(s.contains(C)||ce(d.current,{select:!0}))},w=function(b){if(document.activeElement===document.body)for(const E of b)E.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",m),document.addEventListener("focusout",y);const x=new MutationObserver(w);return s&&x.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",y),x.disconnect()}}},[r,s,h.paused]),c.useEffect(()=>{if(s){Mn.add(h);const m=document.activeElement;if(!s.contains(m)){const w=new CustomEvent(Ct,An);s.addEventListener(Ct,l),s.dispatchEvent(w),w.defaultPrevented||(qs(tc(dr(s)),{select:!0}),document.activeElement===m&&ce(s))}return()=>{s.removeEventListener(Ct,l),setTimeout(()=>{const w=new CustomEvent(Et,An);s.addEventListener(Et,f),s.dispatchEvent(w),w.defaultPrevented||ce(m??document.body,{select:!0}),s.removeEventListener(Et,f),Mn.remove(h)},0)}}},[s,l,f,h]);const g=c.useCallback(m=>{if(!n&&!r||h.paused)return;const y=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,w=document.activeElement;if(y&&w){const x=m.currentTarget,[b,C]=Zs(x);b&&C?!m.shiftKey&&w===C?(m.preventDefault(),n&&ce(b,{select:!0})):m.shiftKey&&w===b&&(m.preventDefault(),n&&ce(C,{select:!0})):w===x&&m.preventDefault()}},[n,r,h.paused]);return v.jsx(k.div,{tabIndex:-1,...a,ref:p,onKeyDown:g})});Zt.displayName=Xs;function qs(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ce(r,{select:t}),document.activeElement!==n)return}function Zs(e){const t=dr(e),n=_n(t,e),r=_n(t.reverse(),e);return[n,r]}function dr(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function _n(e,t){for(const n of e)if(!Qs(n,{upTo:t}))return n}function Qs(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Js(e){return e instanceof HTMLInputElement&&"select"in e}function ce(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Js(e)&&t&&e.select()}}var Mn=ec();function ec(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=On(e,t),e.unshift(t)},remove(t){e=On(e,t),e[0]?.resume()}}}function On(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function tc(e){return e.filter(t=>t.tagName!=="A")}var St=0;function pr(){c.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Dn()),document.body.insertAdjacentElement("beforeend",e[1]??Dn()),St++,()=>{St===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),St--}},[])}function Dn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Q=function(){return Q=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Q.apply(this,arguments)};function mr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function nc(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Qe="right-scroll-bar-position",Je="width-before-scroll-bar",rc="with-scroll-bars-hidden",oc="--removed-body-scroll-bar-size";function Rt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ic(e,t){var n=c.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var sc=typeof window<"u"?c.useLayoutEffect:c.useEffect,Tn=new WeakMap;function cc(e,t){var n=ic(null,function(r){return e.forEach(function(o){return Rt(o,r)})});return sc(function(){var r=Tn.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(s){i.has(s)||Rt(s,null)}),i.forEach(function(s){o.has(s)||Rt(s,a)})}Tn.set(n,e)},[e]),n}function ac(e){return e}function lc(e,t){t===void 0&&(t=ac);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var u=function(){var f=a;a=[],f.forEach(i)},l=function(){return Promise.resolve().then(u)};l(),n={push:function(f){a.push(f),l()},filter:function(f){return a=a.filter(f),n}}}};return o}function uc(e){e===void 0&&(e={});var t=lc(null);return t.options=Q({async:!0,ssr:!1},e),t}var hr=function(e){var t=e.sideCar,n=mr(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return c.createElement(r,Q({},n))};hr.isSideCarExport=!0;function fc(e,t){return e.useMedium(t),hr}var vr=uc(),Pt=function(){},dt=c.forwardRef(function(e,t){var n=c.useRef(null),r=c.useState({onScrollCapture:Pt,onWheelCapture:Pt,onTouchMoveCapture:Pt}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,u=e.className,l=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noRelative,g=e.noIsolation,m=e.inert,y=e.allowPinchZoom,w=e.as,x=w===void 0?"div":w,b=e.gapMode,C=mr(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=p,P=cc([n,t]),S=Q(Q({},C),o);return c.createElement(c.Fragment,null,f&&c.createElement(E,{sideCar:vr,removeScrollBar:l,shards:d,noRelative:h,noIsolation:g,inert:m,setCallbacks:i,allowPinchZoom:!!y,lockRef:n,gapMode:b}),a?c.cloneElement(c.Children.only(s),Q(Q({},S),{ref:P})):c.createElement(x,Q({},S,{className:u,ref:P}),s))});dt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};dt.classNames={fullWidth:Je,zeroRight:Qe};var dc=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function pc(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=dc();return t&&e.setAttribute("nonce",t),e}function mc(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function hc(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vc=function(){var e=0,t=null;return{add:function(n){e==0&&(t=pc())&&(mc(t,n),hc(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},gc=function(){var e=vc();return function(t,n){c.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},gr=function(){var e=gc(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},yc={left:0,top:0,right:0,gap:0},At=function(e){return parseInt(e||"",10)||0},wc=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[At(n),At(r),At(o)]},xc=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return yc;var t=wc(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},bc=gr(),Pe="data-scroll-locked",Cc=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
2
|
+
.`.concat(rc,` {
|
|
3
|
+
overflow: hidden `).concat(r,`;
|
|
4
|
+
padding-right: `).concat(s,"px ").concat(r,`;
|
|
5
|
+
}
|
|
6
|
+
body[`).concat(Pe,`] {
|
|
7
|
+
overflow: hidden `).concat(r,`;
|
|
8
|
+
overscroll-behavior: contain;
|
|
9
|
+
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
10
|
+
padding-left: `.concat(o,`px;
|
|
11
|
+
padding-top: `).concat(i,`px;
|
|
12
|
+
padding-right: `).concat(a,`px;
|
|
13
|
+
margin-left:0;
|
|
14
|
+
margin-top:0;
|
|
15
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
16
|
+
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.`).concat(Qe,` {
|
|
20
|
+
right: `).concat(s,"px ").concat(r,`;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.`).concat(Je,` {
|
|
24
|
+
margin-right: `).concat(s,"px ").concat(r,`;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.`).concat(Qe," .").concat(Qe,` {
|
|
28
|
+
right: 0 `).concat(r,`;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.`).concat(Je," .").concat(Je,` {
|
|
32
|
+
margin-right: 0 `).concat(r,`;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body[`).concat(Pe,`] {
|
|
36
|
+
`).concat(oc,": ").concat(s,`px;
|
|
37
|
+
}
|
|
38
|
+
`)},In=function(){var e=parseInt(document.body.getAttribute(Pe)||"0",10);return isFinite(e)?e:0},Ec=function(){c.useEffect(function(){return document.body.setAttribute(Pe,(In()+1).toString()),function(){var e=In()-1;e<=0?document.body.removeAttribute(Pe):document.body.setAttribute(Pe,e.toString())}},[])},Sc=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Ec();var i=c.useMemo(function(){return xc(o)},[o]);return c.createElement(bc,{styles:Cc(i,!t,o,n?"":"!important")})},Nt=!1;if(typeof window<"u")try{var ze=Object.defineProperty({},"passive",{get:function(){return Nt=!0,!0}});window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch{Nt=!1}var be=Nt?{passive:!1}:!1,Rc=function(e){return e.tagName==="TEXTAREA"},yr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Rc(e)&&n[t]==="visible")},Pc=function(e){return yr(e,"overflowY")},Ac=function(e){return yr(e,"overflowX")},Nn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=wr(e,r);if(o){var i=xr(e,r),a=i[1],s=i[2];if(a>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},_c=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Mc=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},wr=function(e,t){return e==="v"?Pc(t):Ac(t)},xr=function(e,t){return e==="v"?_c(t):Mc(t)},Oc=function(e,t){return e==="h"&&t==="rtl"?-1:1},Dc=function(e,t,n,r,o){var i=Oc(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,u=t.contains(s),l=!1,f=a>0,d=0,p=0;do{if(!s)break;var h=xr(e,s),g=h[0],m=h[1],y=h[2],w=m-y-i*g;(g||w)&&wr(e,s)&&(d+=w,p+=g);var x=s.parentNode;s=x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE?x.host:x}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(f&&Math.abs(d)<1||!f&&Math.abs(p)<1)&&(l=!0),l},Ye=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},kn=function(e){return[e.deltaX,e.deltaY]},Ln=function(e){return e&&"current"in e?e.current:e},Tc=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ic=function(e){return`
|
|
39
|
+
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
+
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
+
`)},Nc=0,Ce=[];function kc(e){var t=c.useRef([]),n=c.useRef([0,0]),r=c.useRef(),o=c.useState(Nc++)[0],i=c.useState(gr)[0],a=c.useRef(e);c.useEffect(function(){a.current=e},[e]),c.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=nc([e.lockRef.current],(e.shards||[]).map(Ln),!0).filter(Boolean);return m.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=c.useCallback(function(m,y){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!a.current.allowPinchZoom;var w=Ye(m),x=n.current,b="deltaX"in m?m.deltaX:x[0]-w[0],C="deltaY"in m?m.deltaY:x[1]-w[1],E,P=m.target,S=Math.abs(b)>Math.abs(C)?"h":"v";if("touches"in m&&S==="h"&&P.type==="range")return!1;var _=window.getSelection(),T=_&&_.anchorNode,O=T?T===P||T.contains(P):!1;if(O)return!1;var I=Nn(S,P);if(!I)return!0;if(I?E=S:(E=S==="v"?"h":"v",I=Nn(S,P)),!I)return!1;if(!r.current&&"changedTouches"in m&&(b||C)&&(r.current=E),!E)return!0;var L=r.current||E;return Dc(L,y,m,L==="h"?b:C)},[]),u=c.useCallback(function(m){var y=m;if(!(!Ce.length||Ce[Ce.length-1]!==i)){var w="deltaY"in y?kn(y):Ye(y),x=t.current.filter(function(E){return E.name===y.type&&(E.target===y.target||y.target===E.shadowParent)&&Tc(E.delta,w)})[0];if(x&&x.should){y.cancelable&&y.preventDefault();return}if(!x){var b=(a.current.shards||[]).map(Ln).filter(Boolean).filter(function(E){return E.contains(y.target)}),C=b.length>0?s(y,b[0]):!a.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),l=c.useCallback(function(m,y,w,x){var b={name:m,delta:y,target:w,should:x,shadowParent:Lc(w)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(C){return C!==b})},1)},[]),f=c.useCallback(function(m){n.current=Ye(m),r.current=void 0},[]),d=c.useCallback(function(m){l(m.type,kn(m),m.target,s(m,e.lockRef.current))},[]),p=c.useCallback(function(m){l(m.type,Ye(m),m.target,s(m,e.lockRef.current))},[]);c.useEffect(function(){return Ce.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,be),document.addEventListener("touchmove",u,be),document.addEventListener("touchstart",f,be),function(){Ce=Ce.filter(function(m){return m!==i}),document.removeEventListener("wheel",u,be),document.removeEventListener("touchmove",u,be),document.removeEventListener("touchstart",f,be)}},[]);var h=e.removeScrollBar,g=e.inert;return c.createElement(c.Fragment,null,g?c.createElement(i,{styles:Ic(o)}):null,h?c.createElement(Sc,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Lc(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Fc=fc(vr,kc);var Qt=c.forwardRef(function(e,t){return c.createElement(dt,Q({},e,{ref:t,sideCar:Fc}))});Qt.classNames=dt.classNames;var jc=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ee=new WeakMap,Xe=new WeakMap,qe={},_t=0,br=function(e){return e&&(e.host||br(e.parentNode))},$c=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=br(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Wc=function(e,t,n,r){var o=$c(t,Array.isArray(e)?e:[e]);qe[n]||(qe[n]=new WeakMap);var i=qe[n],a=[],s=new Set,u=new Set(o),l=function(d){!d||s.has(d)||(s.add(d),l(d.parentNode))};o.forEach(l);var f=function(d){!d||u.has(d)||Array.prototype.forEach.call(d.children,function(p){if(s.has(p))f(p);else try{var h=p.getAttribute(r),g=h!==null&&h!=="false",m=(Ee.get(p)||0)+1,y=(i.get(p)||0)+1;Ee.set(p,m),i.set(p,y),a.push(p),m===1&&g&&Xe.set(p,!0),y===1&&p.setAttribute(n,"true"),g||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})};return f(t),s.clear(),_t++,function(){a.forEach(function(d){var p=Ee.get(d)-1,h=i.get(d)-1;Ee.set(d,p),i.set(d,h),p||(Xe.has(d)||d.removeAttribute(r),Xe.delete(d)),h||d.removeAttribute(n)}),_t--,_t||(Ee=new WeakMap,Ee=new WeakMap,Xe=new WeakMap,qe={})}},Cr=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=jc(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Wc(r,o,n,"aria-hidden")):function(){return null}};function Bc(e){const t=Vc(e),n=c.forwardRef((r,o)=>{const{children:i,...a}=r,s=c.Children.toArray(i),u=s.find(Hc);if(u){const l=u.props.children,f=s.map(d=>d===u?c.Children.count(l)>1?c.Children.only(null):c.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:o,children:c.isValidElement(l)?c.cloneElement(l,void 0,f):null})}return v.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Vc(e){const t=c.forwardRef((n,r)=>{const{children:o,...i}=n;if(c.isValidElement(o)){const a=Kc(o),s=Gc(i,o.props);return o.type!==c.Fragment&&(s.ref=r?de(r,a):a),c.cloneElement(o,s)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Uc=Symbol("radix.slottable");function Hc(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Uc}function Gc(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Kc(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pt="Dialog",[Er]=pe(pt),[zc,q]=Er(pt),Sr=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,s=c.useRef(null),u=c.useRef(null),[l,f]=$e({prop:r,defaultProp:o??!1,onChange:i,caller:pt});return v.jsx(zc,{scope:t,triggerRef:s,contentRef:u,contentId:Se(),titleId:Se(),descriptionId:Se(),open:l,onOpenChange:f,onOpenToggle:c.useCallback(()=>f(d=>!d),[f]),modal:a,children:n})};Sr.displayName=pt;var Rr="DialogTrigger",Yc=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(Rr,n),i=$(t,o.triggerRef);return v.jsx(k.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":tn(o.open),...r,ref:i,onClick:A(e.onClick,o.onOpenToggle)})});Yc.displayName=Rr;var Jt="DialogPortal",[Xc,Pr]=Er(Jt,{forceMount:void 0}),Ar=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=q(Jt,t);return v.jsx(Xc,{scope:t,forceMount:n,children:c.Children.map(r,a=>v.jsx(se,{present:n||i.open,children:v.jsx(Xt,{asChild:!0,container:o,children:a})}))})};Ar.displayName=Jt;var it="DialogOverlay",_r=c.forwardRef((e,t)=>{const n=Pr(it,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=q(it,e.__scopeDialog);return i.modal?v.jsx(se,{present:r||i.open,children:v.jsx(Zc,{...o,ref:t})}):null});_r.displayName=it;var qc=Bc("DialogOverlay.RemoveScroll"),Zc=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(it,n);return v.jsx(Qt,{as:qc,allowPinchZoom:!0,shards:[o.contentRef],children:v.jsx(k.div,{"data-state":tn(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ye="DialogContent",Mr=c.forwardRef((e,t)=>{const n=Pr(ye,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=q(ye,e.__scopeDialog);return v.jsx(se,{present:r||i.open,children:i.modal?v.jsx(Qc,{...o,ref:t}):v.jsx(Jc,{...o,ref:t})})});Mr.displayName=ye;var Qc=c.forwardRef((e,t)=>{const n=q(ye,e.__scopeDialog),r=c.useRef(null),o=$(t,n.contentRef,r);return c.useEffect(()=>{const i=r.current;if(i)return Cr(i)},[]),v.jsx(Or,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:A(e.onCloseAutoFocus,i=>{i.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:A(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,s=a.button===0&&a.ctrlKey===!0;(a.button===2||s)&&i.preventDefault()}),onFocusOutside:A(e.onFocusOutside,i=>i.preventDefault())})}),Jc=c.forwardRef((e,t)=>{const n=q(ye,e.__scopeDialog),r=c.useRef(!1),o=c.useRef(!1);return v.jsx(Or,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{e.onCloseAutoFocus?.(i),i.defaultPrevented||(r.current||n.triggerRef.current?.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{e.onInteractOutside?.(i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;n.triggerRef.current?.contains(a)&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),Or=c.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,s=q(ye,n),u=c.useRef(null),l=$(t,u);return pr(),v.jsxs(v.Fragment,{children:[v.jsx(Zt,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:v.jsx($t,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":tn(s.open),...a,ref:l,onDismiss:()=>s.onOpenChange(!1)})}),v.jsxs(v.Fragment,{children:[v.jsx(ea,{titleId:s.titleId}),v.jsx(na,{contentRef:u,descriptionId:s.descriptionId})]})]})}),en="DialogTitle",Dr=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(en,n);return v.jsx(k.h2,{id:o.titleId,...r,ref:t})});Dr.displayName=en;var Tr="DialogDescription",Ir=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(Tr,n);return v.jsx(k.p,{id:o.descriptionId,...r,ref:t})});Ir.displayName=Tr;var Nr="DialogClose",kr=c.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=q(Nr,n);return v.jsx(k.button,{type:"button",...r,ref:t,onClick:A(e.onClick,()=>o.onOpenChange(!1))})});kr.displayName=Nr;function tn(e){return e?"open":"closed"}var Lr="DialogTitleWarning",[iu,Fr]=zo(Lr,{contentName:ye,titleName:en,docsSlug:"dialog"}),ea=({titleId:e})=>{const t=Fr(Lr),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
42
|
+
|
|
43
|
+
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
44
|
+
|
|
45
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return c.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},ta="DialogDescriptionWarning",na=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Fr(ta).contentName}}.`;return c.useEffect(()=>{const o=e.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},su=Sr,cu=Ar,au=_r,lu=Mr,uu=Dr,fu=Ir,du=kr,ra=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],oa=ra.reduce((e,t)=>{const n=qt(`Primitive.${t}`),r=c.forwardRef((o,i)=>{const{asChild:a,...s}=o,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(u,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ia="Label",jr=c.forwardRef((e,t)=>v.jsx(oa.label,{...e,ref:t,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(e.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));jr.displayName=ia;var pu=jr;function Fn(e){const t=sa(e),n=c.forwardRef((r,o)=>{const{children:i,...a}=r,s=c.Children.toArray(i),u=s.find(aa);if(u){const l=u.props.children,f=s.map(d=>d===u?c.Children.count(l)>1?c.Children.only(null):c.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:o,children:c.isValidElement(l)?c.cloneElement(l,void 0,f):null})}return v.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function sa(e){const t=c.forwardRef((n,r)=>{const{children:o,...i}=n;if(c.isValidElement(o)){const a=ua(o),s=la(i,o.props);return o.type!==c.Fragment&&(s.ref=r?de(r,a):a),c.cloneElement(o,s)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ca=Symbol("radix.slottable");function aa(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ca}function la(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function ua(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function $r(e){const t=e+"CollectionProvider",[n,r]=pe(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=m=>{const{scope:y,children:w}=m,x=ve.useRef(null),b=ve.useRef(new Map).current;return v.jsx(o,{scope:y,itemMap:b,collectionRef:x,children:w})};a.displayName=t;const s=e+"CollectionSlot",u=Fn(s),l=ve.forwardRef((m,y)=>{const{scope:w,children:x}=m,b=i(s,w),C=$(y,b.collectionRef);return v.jsx(u,{ref:C,children:x})});l.displayName=s;const f=e+"CollectionItemSlot",d="data-radix-collection-item",p=Fn(f),h=ve.forwardRef((m,y)=>{const{scope:w,children:x,...b}=m,C=ve.useRef(null),E=$(y,C),P=i(f,w);return ve.useEffect(()=>(P.itemMap.set(C,{ref:C,...b}),()=>{P.itemMap.delete(C)})),v.jsx(p,{[d]:"",ref:E,children:x})});h.displayName=f;function g(m){const y=i(e+"CollectionConsumer",m);return ve.useCallback(()=>{const x=y.collectionRef.current;if(!x)return[];const b=Array.from(x.querySelectorAll(`[${d}]`));return Array.from(y.itemMap.values()).sort((P,S)=>b.indexOf(P.ref.current)-b.indexOf(S.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:a,Slot:l,ItemSlot:h},g,r]}var fa=c.createContext(void 0);function Wr(e){const t=c.useContext(fa);return e||t||"ltr"}var Mt="rovingFocusGroup.onEntryFocus",da={bubbles:!1,cancelable:!0},We="RovingFocusGroup",[kt,Br,pa]=$r(We),[ma,Vr]=pe(We,[pa]),[ha,va]=ma(We),Ur=c.forwardRef((e,t)=>v.jsx(kt.Provider,{scope:e.__scopeRovingFocusGroup,children:v.jsx(kt.Slot,{scope:e.__scopeRovingFocusGroup,children:v.jsx(ga,{...e,ref:t})})}));Ur.displayName=We;var ga=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:a,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:u,onEntryFocus:l,preventScrollOnEntryFocus:f=!1,...d}=e,p=c.useRef(null),h=$(t,p),g=Wr(i),[m,y]=$e({prop:a,defaultProp:s??null,onChange:u,caller:We}),[w,x]=c.useState(!1),b=re(l),C=Br(n),E=c.useRef(!1),[P,S]=c.useState(0);return c.useEffect(()=>{const _=p.current;if(_)return _.addEventListener(Mt,b),()=>_.removeEventListener(Mt,b)},[b]),v.jsx(ha,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:m,onItemFocus:c.useCallback(_=>y(_),[y]),onItemShiftTab:c.useCallback(()=>x(!0),[]),onFocusableItemAdd:c.useCallback(()=>S(_=>_+1),[]),onFocusableItemRemove:c.useCallback(()=>S(_=>_-1),[]),children:v.jsx(k.div,{tabIndex:w||P===0?-1:0,"data-orientation":r,...d,ref:h,style:{outline:"none",...e.style},onMouseDown:A(e.onMouseDown,()=>{E.current=!0}),onFocus:A(e.onFocus,_=>{const T=!E.current;if(_.target===_.currentTarget&&T&&!w){const O=new CustomEvent(Mt,da);if(_.currentTarget.dispatchEvent(O),!O.defaultPrevented){const I=C().filter(D=>D.focusable),L=I.find(D=>D.active),F=I.find(D=>D.id===m),B=[L,F,...I].filter(Boolean).map(D=>D.ref.current);Kr(B,f)}}E.current=!1}),onBlur:A(e.onBlur,()=>x(!1))})})}),Hr="RovingFocusGroupItem",Gr=c.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:a,...s}=e,u=Se(),l=i||u,f=va(Hr,n),d=f.currentTabStopId===l,p=Br(n),{onFocusableItemAdd:h,onFocusableItemRemove:g,currentTabStopId:m}=f;return c.useEffect(()=>{if(r)return h(),()=>g()},[r,h,g]),v.jsx(kt.ItemSlot,{scope:n,id:l,focusable:r,active:o,children:v.jsx(k.span,{tabIndex:d?0:-1,"data-orientation":f.orientation,...s,ref:t,onMouseDown:A(e.onMouseDown,y=>{r?f.onItemFocus(l):y.preventDefault()}),onFocus:A(e.onFocus,()=>f.onItemFocus(l)),onKeyDown:A(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){f.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const w=xa(y,f.orientation,f.dir);if(w!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let b=p().filter(C=>C.focusable).map(C=>C.ref.current);if(w==="last")b.reverse();else if(w==="prev"||w==="next"){w==="prev"&&b.reverse();const C=b.indexOf(y.currentTarget);b=f.loop?ba(b,C+1):b.slice(C+1)}setTimeout(()=>Kr(b))}}),children:typeof a=="function"?a({isCurrentTabStop:d,hasTabStop:m!=null}):a})})});Gr.displayName=Hr;var ya={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function wa(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function xa(e,t,n){const r=wa(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ya[r]}function Kr(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function ba(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var Ca=Ur,Ea=Gr;function Sa(e){const t=Ra(e),n=c.forwardRef((r,o)=>{const{children:i,...a}=r,s=c.Children.toArray(i),u=s.find(Aa);if(u){const l=u.props.children,f=s.map(d=>d===u?c.Children.count(l)>1?c.Children.only(null):c.isValidElement(l)?l.props.children:null:d);return v.jsx(t,{...a,ref:o,children:c.isValidElement(l)?c.cloneElement(l,void 0,f):null})}return v.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Ra(e){const t=c.forwardRef((n,r)=>{const{children:o,...i}=n;if(c.isValidElement(o)){const a=Ma(o),s=_a(i,o.props);return o.type!==c.Fragment&&(s.ref=r?de(r,a):a),c.cloneElement(o,s)}return c.Children.count(o)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Pa=Symbol("radix.slottable");function Aa(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Pa}function _a(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const u=i(...s);return o(...s),u}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Ma(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var Lt=["Enter"," "],Oa=["ArrowDown","PageUp","Home"],zr=["ArrowUp","PageDown","End"],Da=[...Oa,...zr],Ta={ltr:[...Lt,"ArrowRight"],rtl:[...Lt,"ArrowLeft"]},Ia={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Be="Menu",[Le,Na,ka]=$r(Be),[we,Yr]=pe(Be,[ka,nr,Vr]),mt=nr(),Xr=Vr(),[La,xe]=we(Be),[Fa,Ve]=we(Be),qr=e=>{const{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:a=!0}=e,s=mt(t),[u,l]=c.useState(null),f=c.useRef(!1),d=re(i),p=Wr(o);return c.useEffect(()=>{const h=()=>{f.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>f.current=!1;return document.addEventListener("keydown",h,{capture:!0}),()=>{document.removeEventListener("keydown",h,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),v.jsx(Ds,{...s,children:v.jsx(La,{scope:t,open:n,onOpenChange:d,content:u,onContentChange:l,children:v.jsx(Fa,{scope:t,onClose:c.useCallback(()=>d(!1),[d]),isUsingKeyboardRef:f,dir:p,modal:a,children:r})})})};qr.displayName=Be;var ja="MenuAnchor",nn=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mt(n);return v.jsx(Ts,{...o,...r,ref:t})});nn.displayName=ja;var rn="MenuPortal",[$a,Zr]=we(rn,{forceMount:void 0}),Qr=e=>{const{__scopeMenu:t,forceMount:n,children:r,container:o}=e,i=xe(rn,t);return v.jsx($a,{scope:t,forceMount:n,children:v.jsx(se,{present:n||i.open,children:v.jsx(Xt,{asChild:!0,container:o,children:r})})})};Qr.displayName=rn;var z="MenuContent",[Wa,on]=we(z),Jr=c.forwardRef((e,t)=>{const n=Zr(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=xe(z,e.__scopeMenu),a=Ve(z,e.__scopeMenu);return v.jsx(Le.Provider,{scope:e.__scopeMenu,children:v.jsx(se,{present:r||i.open,children:v.jsx(Le.Slot,{scope:e.__scopeMenu,children:a.modal?v.jsx(Ba,{...o,ref:t}):v.jsx(Va,{...o,ref:t})})})})}),Ba=c.forwardRef((e,t)=>{const n=xe(z,e.__scopeMenu),r=c.useRef(null),o=$(t,r);return c.useEffect(()=>{const i=r.current;if(i)return Cr(i)},[]),v.jsx(sn,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:A(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),Va=c.forwardRef((e,t)=>{const n=xe(z,e.__scopeMenu);return v.jsx(sn,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),Ua=Sa("MenuContent.ScrollLock"),sn=c.forwardRef((e,t)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEntryFocus:u,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:h,disableOutsideScroll:g,...m}=e,y=xe(z,n),w=Ve(z,n),x=mt(n),b=Xr(n),C=Na(n),[E,P]=c.useState(null),S=c.useRef(null),_=$(t,S,y.onContentChange),T=c.useRef(0),O=c.useRef(""),I=c.useRef(0),L=c.useRef(null),F=c.useRef("right"),N=c.useRef(0),B=g?Qt:c.Fragment,D=g?{as:Ua,allowPinchZoom:!0}:void 0,j=R=>{const V=O.current+R,Z=C().filter(W=>!W.disabled),me=document.activeElement,Oe=Z.find(W=>W.ref.current===me)?.textValue,De=Z.map(W=>W.textValue),Ue=tl(De,V,Oe),he=Z.find(W=>W.textValue===Ue)?.ref.current;(function W(Te){O.current=Te,window.clearTimeout(T.current),Te!==""&&(T.current=window.setTimeout(()=>W(""),1e3))})(V),he&&setTimeout(()=>he.focus())};c.useEffect(()=>()=>window.clearTimeout(T.current),[]),pr();const M=c.useCallback(R=>F.current===L.current?.side&&rl(R,L.current?.area),[]);return v.jsx(Wa,{scope:n,searchRef:O,onItemEnter:c.useCallback(R=>{M(R)&&R.preventDefault()},[M]),onItemLeave:c.useCallback(R=>{M(R)||(S.current?.focus(),P(null))},[M]),onTriggerLeave:c.useCallback(R=>{M(R)&&R.preventDefault()},[M]),pointerGraceTimerRef:I,onPointerGraceIntentChange:c.useCallback(R=>{L.current=R},[]),children:v.jsx(B,{...D,children:v.jsx(Zt,{asChild:!0,trapped:o,onMountAutoFocus:A(i,R=>{R.preventDefault(),S.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:a,children:v.jsx($t,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:f,onFocusOutside:d,onInteractOutside:p,onDismiss:h,children:v.jsx(Ca,{asChild:!0,...b,dir:w.dir,orientation:"vertical",loop:r,currentTabStopId:E,onCurrentTabStopIdChange:P,onEntryFocus:A(u,R=>{w.isUsingKeyboardRef.current||R.preventDefault()}),preventScrollOnEntryFocus:!0,children:v.jsx(Is,{role:"menu","aria-orientation":"vertical","data-state":vo(y.open),"data-radix-menu-content":"",dir:w.dir,...x,...m,ref:_,style:{outline:"none",...m.style},onKeyDown:A(m.onKeyDown,R=>{const Z=R.target.closest("[data-radix-menu-content]")===R.currentTarget,me=R.ctrlKey||R.altKey||R.metaKey,Oe=R.key.length===1;Z&&(R.key==="Tab"&&R.preventDefault(),!me&&Oe&&j(R.key));const De=S.current;if(R.target!==De||!Da.includes(R.key))return;R.preventDefault();const he=C().filter(W=>!W.disabled).map(W=>W.ref.current);zr.includes(R.key)&&he.reverse(),Ja(he)}),onBlur:A(e.onBlur,R=>{R.currentTarget.contains(R.target)||(window.clearTimeout(T.current),O.current="")}),onPointerMove:A(e.onPointerMove,Fe(R=>{const V=R.target,Z=N.current!==R.clientX;if(R.currentTarget.contains(V)&&Z){const me=R.clientX>N.current?"right":"left";F.current=me,N.current=R.clientX}}))})})})})})})});Jr.displayName=z;var Ha="MenuGroup",cn=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return v.jsx(k.div,{role:"group",...r,ref:t})});cn.displayName=Ha;var Ga="MenuLabel",eo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return v.jsx(k.div,{...r,ref:t})});eo.displayName=Ga;var st="MenuItem",jn="menu.itemSelect",ht=c.forwardRef((e,t)=>{const{disabled:n=!1,onSelect:r,...o}=e,i=c.useRef(null),a=Ve(st,e.__scopeMenu),s=on(st,e.__scopeMenu),u=$(t,i),l=c.useRef(!1),f=()=>{const d=i.current;if(!n&&d){const p=new CustomEvent(jn,{bubbles:!0,cancelable:!0});d.addEventListener(jn,h=>r?.(h),{once:!0}),Wn(d,p),p.defaultPrevented?l.current=!1:a.onClose()}};return v.jsx(to,{...o,ref:u,disabled:n,onClick:A(e.onClick,f),onPointerDown:d=>{e.onPointerDown?.(d),l.current=!0},onPointerUp:A(e.onPointerUp,d=>{l.current||d.currentTarget?.click()}),onKeyDown:A(e.onKeyDown,d=>{const p=s.searchRef.current!=="";n||p&&d.key===" "||Lt.includes(d.key)&&(d.currentTarget.click(),d.preventDefault())})})});ht.displayName=st;var to=c.forwardRef((e,t)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,a=on(st,n),s=Xr(n),u=c.useRef(null),l=$(t,u),[f,d]=c.useState(!1),[p,h]=c.useState("");return c.useEffect(()=>{const g=u.current;g&&h((g.textContent??"").trim())},[i.children]),v.jsx(Le.ItemSlot,{scope:n,disabled:r,textValue:o??p,children:v.jsx(Ea,{asChild:!0,...s,focusable:!r,children:v.jsx(k.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:l,onPointerMove:A(e.onPointerMove,Fe(g=>{r?a.onItemLeave(g):(a.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:A(e.onPointerLeave,Fe(g=>a.onItemLeave(g))),onFocus:A(e.onFocus,()=>d(!0)),onBlur:A(e.onBlur,()=>d(!1))})})})}),Ka="MenuCheckboxItem",no=c.forwardRef((e,t)=>{const{checked:n=!1,onCheckedChange:r,...o}=e;return v.jsx(co,{scope:e.__scopeMenu,checked:n,children:v.jsx(ht,{role:"menuitemcheckbox","aria-checked":ct(n)?"mixed":n,...o,ref:t,"data-state":ln(n),onSelect:A(o.onSelect,()=>r?.(ct(n)?!0:!n),{checkForDefaultPrevented:!1})})})});no.displayName=Ka;var ro="MenuRadioGroup",[za,Ya]=we(ro,{value:void 0,onValueChange:()=>{}}),oo=c.forwardRef((e,t)=>{const{value:n,onValueChange:r,...o}=e,i=re(r);return v.jsx(za,{scope:e.__scopeMenu,value:n,onValueChange:i,children:v.jsx(cn,{...o,ref:t})})});oo.displayName=ro;var io="MenuRadioItem",so=c.forwardRef((e,t)=>{const{value:n,...r}=e,o=Ya(io,e.__scopeMenu),i=n===o.value;return v.jsx(co,{scope:e.__scopeMenu,checked:i,children:v.jsx(ht,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":ln(i),onSelect:A(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});so.displayName=io;var an="MenuItemIndicator",[co,Xa]=we(an,{checked:!1}),ao=c.forwardRef((e,t)=>{const{__scopeMenu:n,forceMount:r,...o}=e,i=Xa(an,n);return v.jsx(se,{present:r||ct(i.checked)||i.checked===!0,children:v.jsx(k.span,{...o,ref:t,"data-state":ln(i.checked)})})});ao.displayName=an;var qa="MenuSeparator",lo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e;return v.jsx(k.div,{role:"separator","aria-orientation":"horizontal",...r,ref:t})});lo.displayName=qa;var Za="MenuArrow",uo=c.forwardRef((e,t)=>{const{__scopeMenu:n,...r}=e,o=mt(n);return v.jsx(Ns,{...o,...r,ref:t})});uo.displayName=Za;var Qa="MenuSub",[mu,fo]=we(Qa),Ie="MenuSubTrigger",po=c.forwardRef((e,t)=>{const n=xe(Ie,e.__scopeMenu),r=Ve(Ie,e.__scopeMenu),o=fo(Ie,e.__scopeMenu),i=on(Ie,e.__scopeMenu),a=c.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:u}=i,l={__scopeMenu:e.__scopeMenu},f=c.useCallback(()=>{a.current&&window.clearTimeout(a.current),a.current=null},[]);return c.useEffect(()=>f,[f]),c.useEffect(()=>{const d=s.current;return()=>{window.clearTimeout(d),u(null)}},[s,u]),v.jsx(nn,{asChild:!0,...l,children:v.jsx(to,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":vo(n.open),...e,ref:de(t,o.onTriggerChange),onClick:d=>{e.onClick?.(d),!(e.disabled||d.defaultPrevented)&&(d.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:A(e.onPointerMove,Fe(d=>{i.onItemEnter(d),!d.defaultPrevented&&!e.disabled&&!n.open&&!a.current&&(i.onPointerGraceIntentChange(null),a.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:A(e.onPointerLeave,Fe(d=>{f();const p=n.content?.getBoundingClientRect();if(p){const h=n.content?.dataset.side,g=h==="right",m=g?-5:5,y=p[g?"left":"right"],w=p[g?"right":"left"];i.onPointerGraceIntentChange({area:[{x:d.clientX+m,y:d.clientY},{x:y,y:p.top},{x:w,y:p.top},{x:w,y:p.bottom},{x:y,y:p.bottom}],side:h}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(d),d.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:A(e.onKeyDown,d=>{const p=i.searchRef.current!=="";e.disabled||p&&d.key===" "||Ta[r.dir].includes(d.key)&&(n.onOpenChange(!0),n.content?.focus(),d.preventDefault())})})})});po.displayName=Ie;var mo="MenuSubContent",ho=c.forwardRef((e,t)=>{const n=Zr(z,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=xe(z,e.__scopeMenu),a=Ve(z,e.__scopeMenu),s=fo(mo,e.__scopeMenu),u=c.useRef(null),l=$(t,u);return v.jsx(Le.Provider,{scope:e.__scopeMenu,children:v.jsx(se,{present:r||i.open,children:v.jsx(Le.Slot,{scope:e.__scopeMenu,children:v.jsx(sn,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:l,align:"start",side:a.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{a.isUsingKeyboardRef.current&&u.current?.focus(),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:A(e.onFocusOutside,f=>{f.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:A(e.onEscapeKeyDown,f=>{a.onClose(),f.preventDefault()}),onKeyDown:A(e.onKeyDown,f=>{const d=f.currentTarget.contains(f.target),p=Ia[a.dir].includes(f.key);d&&p&&(i.onOpenChange(!1),s.trigger?.focus(),f.preventDefault())})})})})})});ho.displayName=mo;function vo(e){return e?"open":"closed"}function ct(e){return e==="indeterminate"}function ln(e){return ct(e)?"indeterminate":e?"checked":"unchecked"}function Ja(e){const t=document.activeElement;for(const n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function el(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function tl(e,t,n){const o=t.length>1&&Array.from(t).every(l=>l===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=el(e,Math.max(i,0));o.length===1&&(a=a.filter(l=>l!==n));const u=a.find(l=>l.toLowerCase().startsWith(o.toLowerCase()));return u!==n?u:void 0}function nl(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],u=t[a],l=s.x,f=s.y,d=u.x,p=u.y;f>r!=p>r&&n<(d-l)*(r-f)/(p-f)+l&&(o=!o)}return o}function rl(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return nl(n,t)}function Fe(e){return t=>t.pointerType==="mouse"?e(t):void 0}var ol=qr,il=nn,sl=Qr,cl=Jr,al=cn,ll=eo,ul=ht,fl=no,dl=oo,pl=so,ml=ao,hl=lo,vl=uo,gl=po,yl=ho,vt="DropdownMenu",[wl]=pe(vt,[Yr]),H=Yr(),[xl,go]=wl(vt),yo=e=>{const{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:a,modal:s=!0}=e,u=H(t),l=c.useRef(null),[f,d]=$e({prop:o,defaultProp:i??!1,onChange:a,caller:vt});return v.jsx(xl,{scope:t,triggerId:Se(),triggerRef:l,contentId:Se(),open:f,onOpenChange:d,onOpenToggle:c.useCallback(()=>d(p=>!p),[d]),modal:s,children:v.jsx(ol,{...u,open:f,onOpenChange:d,dir:r,modal:s,children:n})})};yo.displayName=vt;var wo="DropdownMenuTrigger",xo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=go(wo,n),a=H(n);return v.jsx(il,{asChild:!0,...a,children:v.jsx(k.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:de(t,i.triggerRef),onPointerDown:A(e.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(i.onOpenToggle(),i.open||s.preventDefault())}),onKeyDown:A(e.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&i.onOpenToggle(),s.key==="ArrowDown"&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});xo.displayName=wo;var bl="DropdownMenuPortal",bo=e=>{const{__scopeDropdownMenu:t,...n}=e,r=H(t);return v.jsx(sl,{...r,...n})};bo.displayName=bl;var Co="DropdownMenuContent",Eo=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=go(Co,n),i=H(n),a=c.useRef(!1);return v.jsx(cl,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:A(e.onCloseAutoFocus,s=>{a.current||o.triggerRef.current?.focus(),a.current=!1,s.preventDefault()}),onInteractOutside:A(e.onInteractOutside,s=>{const u=s.detail.originalEvent,l=u.button===0&&u.ctrlKey===!0,f=u.button===2||l;(!o.modal||f)&&(a.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Eo.displayName=Co;var Cl="DropdownMenuGroup",El=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(al,{...o,...r,ref:t})});El.displayName=Cl;var Sl="DropdownMenuLabel",Rl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(ll,{...o,...r,ref:t})});Rl.displayName=Sl;var Pl="DropdownMenuItem",So=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(ul,{...o,...r,ref:t})});So.displayName=Pl;var Al="DropdownMenuCheckboxItem",_l=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(fl,{...o,...r,ref:t})});_l.displayName=Al;var Ml="DropdownMenuRadioGroup",Ol=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(dl,{...o,...r,ref:t})});Ol.displayName=Ml;var Dl="DropdownMenuRadioItem",Tl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(pl,{...o,...r,ref:t})});Tl.displayName=Dl;var Il="DropdownMenuItemIndicator",Nl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(ml,{...o,...r,ref:t})});Nl.displayName=Il;var kl="DropdownMenuSeparator",Ro=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(hl,{...o,...r,ref:t})});Ro.displayName=kl;var Ll="DropdownMenuArrow",Fl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(vl,{...o,...r,ref:t})});Fl.displayName=Ll;var jl="DropdownMenuSubTrigger",$l=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(gl,{...o,...r,ref:t})});$l.displayName=jl;var Wl="DropdownMenuSubContent",Bl=c.forwardRef((e,t)=>{const{__scopeDropdownMenu:n,...r}=e,o=H(n);return v.jsx(yl,{...o,...r,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});Bl.displayName=Wl;var hu=yo,vu=xo,gu=bo,yu=Eo,wu=So,xu=Ro;function Po(e){const t=c.useRef({value:e,previous:e});return c.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var gt="Checkbox",[Vl]=pe(gt),[Ul,un]=Vl(gt);function Hl(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:i,form:a,name:s,onCheckedChange:u,required:l,value:f="on",internal_do_not_use_render:d}=e,[p,h]=$e({prop:n,defaultProp:o??!1,onChange:u,caller:gt}),[g,m]=c.useState(null),[y,w]=c.useState(null),x=c.useRef(!1),b=g?!!a||!!g.closest("form"):!0,C={checked:p,disabled:i,setChecked:h,control:g,setControl:m,name:s,form:a,value:f,hasConsumerStoppedPropagationRef:x,required:l,defaultChecked:ae(o)?!1:o,isFormControl:b,bubbleInput:y,setBubbleInput:w};return v.jsx(Ul,{scope:t,...C,children:zl(d)?d(C):r})}var Ao="CheckboxTrigger",_o=c.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:i,value:a,disabled:s,checked:u,required:l,setControl:f,setChecked:d,hasConsumerStoppedPropagationRef:p,isFormControl:h,bubbleInput:g}=un(Ao,e),m=$(o,f),y=c.useRef(u);return c.useEffect(()=>{const w=i?.form;if(w){const x=()=>d(y.current);return w.addEventListener("reset",x),()=>w.removeEventListener("reset",x)}},[i,d]),v.jsx(k.button,{type:"button",role:"checkbox","aria-checked":ae(u)?"mixed":u,"aria-required":l,"data-state":To(u),"data-disabled":s?"":void 0,disabled:s,value:a,...r,ref:m,onKeyDown:A(t,w=>{w.key==="Enter"&&w.preventDefault()}),onClick:A(n,w=>{d(x=>ae(x)?!0:!x),g&&h&&(p.current=w.isPropagationStopped(),p.current||w.stopPropagation())})})});_o.displayName=Ao;var Gl=c.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:u,onCheckedChange:l,form:f,...d}=e;return v.jsx(Hl,{__scopeCheckbox:n,checked:o,defaultChecked:i,disabled:s,required:a,onCheckedChange:l,name:r,form:f,value:u,internal_do_not_use_render:({isFormControl:p})=>v.jsxs(v.Fragment,{children:[v.jsx(_o,{...d,ref:t,__scopeCheckbox:n}),p&&v.jsx(Do,{__scopeCheckbox:n})]})})});Gl.displayName=gt;var Mo="CheckboxIndicator",Kl=c.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=un(Mo,n);return v.jsx(se,{present:r||ae(i.checked)||i.checked===!0,children:v.jsx(k.span,{"data-state":To(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Kl.displayName=Mo;var Oo="CheckboxBubbleInput",Do=c.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:a,required:s,disabled:u,name:l,value:f,form:d,bubbleInput:p,setBubbleInput:h}=un(Oo,e),g=$(n,h),m=Po(i),y=Kt(r);c.useEffect(()=>{const x=p;if(!x)return;const b=window.HTMLInputElement.prototype,E=Object.getOwnPropertyDescriptor(b,"checked").set,P=!o.current;if(m!==i&&E){const S=new Event("click",{bubbles:P});x.indeterminate=ae(i),E.call(x,ae(i)?!1:i),x.dispatchEvent(S)}},[p,m,i,o]);const w=c.useRef(ae(i)?!1:i);return v.jsx(k.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??w.current,required:s,disabled:u,name:l,value:f,form:d,...t,tabIndex:-1,ref:g,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Do.displayName=Oo;function zl(e){return typeof e=="function"}function ae(e){return e==="indeterminate"}function To(e){return ae(e)?"indeterminate":e?"checked":"unchecked"}var Yl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Xl=Yl.reduce((e,t)=>{const n=qt(`Primitive.${t}`),r=c.forwardRef((o,i)=>{const{asChild:a,...s}=o,u=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),v.jsx(u,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),ql="Separator",$n="horizontal",Zl=["horizontal","vertical"],Io=c.forwardRef((e,t)=>{const{decorative:n,orientation:r=$n,...o}=e,i=Ql(r)?r:$n,s=n?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return v.jsx(Xl.div,{"data-orientation":i,...s,...o,ref:t})});Io.displayName=ql;function Ql(e){return Zl.includes(e)}var bu=Io,yt="Switch",[Jl]=pe(yt),[eu,tu]=Jl(yt),No=c.forwardRef((e,t)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:i,required:a,disabled:s,value:u="on",onCheckedChange:l,form:f,...d}=e,[p,h]=c.useState(null),g=$(t,b=>h(b)),m=c.useRef(!1),y=p?f||!!p.closest("form"):!0,[w,x]=$e({prop:o,defaultProp:i??!1,onChange:l,caller:yt});return v.jsxs(eu,{scope:n,checked:w,disabled:s,children:[v.jsx(k.button,{type:"button",role:"switch","aria-checked":w,"aria-required":a,"data-state":jo(w),"data-disabled":s?"":void 0,disabled:s,value:u,...d,ref:g,onClick:A(e.onClick,b=>{x(C=>!C),y&&(m.current=b.isPropagationStopped(),m.current||b.stopPropagation())})}),y&&v.jsx(Fo,{control:p,bubbles:!m.current,name:r,value:u,checked:w,required:a,disabled:s,form:f,style:{transform:"translateX(-100%)"}})]})});No.displayName=yt;var ko="SwitchThumb",Lo=c.forwardRef((e,t)=>{const{__scopeSwitch:n,...r}=e,o=tu(ko,n);return v.jsx(k.span,{"data-state":jo(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:t})});Lo.displayName=ko;var nu="SwitchBubbleInput",Fo=c.forwardRef(({__scopeSwitch:e,control:t,checked:n,bubbles:r=!0,...o},i)=>{const a=c.useRef(null),s=$(a,i),u=Po(n),l=Kt(t);return c.useEffect(()=>{const f=a.current;if(!f)return;const d=window.HTMLInputElement.prototype,h=Object.getOwnPropertyDescriptor(d,"checked").set;if(u!==n&&h){const g=new Event("click",{bubbles:r});h.call(f,n),f.dispatchEvent(g)}},[u,n,r]),v.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:s,style:{...o.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Fo.displayName=nu;function jo(e){return e?"checked":"unchecked"}var Cu=No,Eu=Lo;export{Ts as A,Eu as B,Is as C,$t as D,wu as I,au as O,k as P,Ds as R,ou as S,uu as T,$e as a,$ as b,A as c,se as d,Xt as e,Ns as f,pe as g,nr as h,su as i,lu as j,du as k,fu as l,cu as m,pu as n,jt as o,hu as p,vu as q,Ko as r,gu as s,yu as t,Se as u,xu as v,Gl as w,Kl as x,bu as y,Cu as z};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as he}from"./vendor-query-CcgjkJlA.js";var Me={};(function e(a,r,n,l){var m=!!(a.Worker&&a.Blob&&a.Promise&&a.OffscreenCanvas&&a.OffscreenCanvasRenderingContext2D&&a.HTMLCanvasElement&&a.HTMLCanvasElement.prototype.transferControlToOffscreen&&a.URL&&a.URL.createObjectURL),p=typeof Path2D=="function"&&typeof DOMMatrix=="function",x=(function(){if(!a.OffscreenCanvas)return!1;try{var o=new OffscreenCanvas(1,1),t=o.getContext("2d");t.fillRect(0,0,1,1);var u=o.transferToImageBitmap();t.createPattern(u,"no-repeat")}catch{return!1}return!0})();function f(){}function b(o){var t=r.exports.Promise,u=t!==void 0?t:a.Promise;return typeof u=="function"?new u(o):(o(f,f),null)}var A=(function(o,t){return{transform:function(u){if(o)return u;if(t.has(u))return t.get(u);var h=new OffscreenCanvas(u.width,u.height),y=h.getContext("2d");return y.drawImage(u,0,0),t.set(u,h),h},clear:function(){t.clear()}}})(x,new Map),T=(function(){var o=Math.floor(16.666666666666668),t,u,h={},y=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(t=function(v){var w=Math.random();return h[w]=requestAnimationFrame(function i(M){y===M||y+o-1<M?(y=M,delete h[w],v()):h[w]=requestAnimationFrame(i)}),w},u=function(v){h[v]&&cancelAnimationFrame(h[v])}):(t=function(v){return setTimeout(v,o)},u=function(v){return clearTimeout(v)}),{frame:t,cancel:u}})(),I=(function(){var o,t,u={};function h(y){function v(w,i){y.postMessage({options:w||{},callback:i})}y.init=function(i){var M=i.transferControlToOffscreen();y.postMessage({canvas:M},[M])},y.fire=function(i,M,N){if(t)return v(i,null),t;var P=Math.random().toString(36).slice(2);return t=b(function(S){function $(L){L.data.callback===P&&(delete u[P],y.removeEventListener("message",$),t=null,A.clear(),N(),S())}y.addEventListener("message",$),v(i,P),u[P]=$.bind(null,{data:{callback:P}})}),t},y.reset=function(){y.postMessage({reset:!0});for(var i in u)u[i](),delete u[i]}}return function(){if(o)return o;if(!n&&m){var y=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join(`
|
|
2
|
+
`);try{o=new Worker(URL.createObjectURL(new Blob([y])))}catch(v){return typeof console<"u"&&typeof console.warn=="function"&&console.warn("🎊 Could not load worker",v),null}h(o)}return o}})(),E={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function j(o,t){return t?t(o):o}function q(o){return o!=null}function C(o,t,u){return j(o&&q(o[t])?o[t]:E[t],u)}function U(o){return o<0?0:Math.floor(o)}function ae(o,t){return Math.floor(Math.random()*(t-o))+o}function D(o){return parseInt(o,16)}function J(o){return o.map(Q)}function Q(o){var t=String(o).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:D(t.substring(0,2)),g:D(t.substring(2,4)),b:D(t.substring(4,6))}}function Z(o){var t=C(o,"origin",Object);return t.x=C(t,"x",Number),t.y=C(t,"y",Number),t}function te(o){o.width=document.documentElement.clientWidth,o.height=document.documentElement.clientHeight}function k(o){var t=o.getBoundingClientRect();o.width=t.width,o.height=t.height}function V(o){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=o,t}function pe(o,t,u,h,y,v,w,i,M){o.save(),o.translate(t,u),o.rotate(v),o.scale(h,y),o.arc(0,0,1,w,i,M),o.restore()}function me(o){var t=o.angle*(Math.PI/180),u=o.spread*(Math.PI/180);return{x:o.x,y:o.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:o.startVelocity*.5+Math.random()*o.startVelocity,angle2D:-t+(.5*u-Math.random()*u),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:o.color,shape:o.shape,tick:0,totalTicks:o.ticks,decay:o.decay,drift:o.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:o.gravity*3,ovalScalar:.6,scalar:o.scalar,flat:o.flat}}function ne(o,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var u=t.tick++/t.totalTicks,h=t.x+t.random*t.tiltCos,y=t.y+t.random*t.tiltSin,v=t.wobbleX+t.random*t.tiltCos,w=t.wobbleY+t.random*t.tiltSin;if(o.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-u)+")",o.beginPath(),p&&t.shape.type==="path"&&typeof t.shape.path=="string"&&Array.isArray(t.shape.matrix))o.fill(K(t.shape.path,t.shape.matrix,t.x,t.y,Math.abs(v-h)*.1,Math.abs(w-y)*.1,Math.PI/10*t.wobble));else if(t.shape.type==="bitmap"){var i=Math.PI/10*t.wobble,M=Math.abs(v-h)*.1,N=Math.abs(w-y)*.1,P=t.shape.bitmap.width*t.scalar,S=t.shape.bitmap.height*t.scalar,$=new DOMMatrix([Math.cos(i)*M,Math.sin(i)*M,-Math.sin(i)*N,Math.cos(i)*N,t.x,t.y]);$.multiplySelf(new DOMMatrix(t.shape.matrix));var L=o.createPattern(A.transform(t.shape.bitmap),"no-repeat");L.setTransform($),o.globalAlpha=1-u,o.fillStyle=L,o.fillRect(t.x-P/2,t.y-S/2,P,S),o.globalAlpha=1}else if(t.shape==="circle")o.ellipse?o.ellipse(t.x,t.y,Math.abs(v-h)*t.ovalScalar,Math.abs(w-y)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):pe(o,t.x,t.y,Math.abs(v-h)*t.ovalScalar,Math.abs(w-y)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if(t.shape==="star")for(var z=Math.PI/2*3,F=4*t.scalar,B=8*t.scalar,H=t.x,X=t.y,oe=5,W=Math.PI/oe;oe--;)H=t.x+Math.cos(z)*B,X=t.y+Math.sin(z)*B,o.lineTo(H,X),z+=W,H=t.x+Math.cos(z)*F,X=t.y+Math.sin(z)*F,o.lineTo(H,X),z+=W;else o.moveTo(Math.floor(t.x),Math.floor(t.y)),o.lineTo(Math.floor(t.wobbleX),Math.floor(y)),o.lineTo(Math.floor(v),Math.floor(w)),o.lineTo(Math.floor(h),Math.floor(t.wobbleY));return o.closePath(),o.fill(),t.tick<t.totalTicks}function ue(o,t,u,h,y){var v=t.slice(),w=o.getContext("2d"),i,M,N=b(function(P){function S(){i=M=null,w.clearRect(0,0,h.width,h.height),A.clear(),y(),P()}function $(){n&&!(h.width===l.width&&h.height===l.height)&&(h.width=o.width=l.width,h.height=o.height=l.height),!h.width&&!h.height&&(u(o),h.width=o.width,h.height=o.height),w.clearRect(0,0,h.width,h.height),v=v.filter(function(L){return ne(w,L)}),v.length?i=T.frame($):S()}i=T.frame($),M=S});return{addFettis:function(P){return v=v.concat(P),N},canvas:o,promise:N,reset:function(){i&&T.cancel(i),M&&M()}}}function se(o,t){var u=!o,h=!!C(t||{},"resize"),y=!1,v=C(t,"disableForReducedMotion",Boolean),w=m&&!!C(t||{},"useWorker"),i=w?I():null,M=u?te:k,N=o&&i?!!o.__confetti_initialized:!1,P=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,S;function $(z,F,B){for(var H=C(z,"particleCount",U),X=C(z,"angle",Number),oe=C(z,"spread",Number),W=C(z,"startVelocity",Number),Xe=C(z,"decay",Number),Ye=C(z,"gravity",Number),Je=C(z,"drift",Number),Ce=C(z,"colors",J),Qe=C(z,"ticks",Number),ze=C(z,"shapes"),et=C(z,"scalar"),tt=!!C(z,"flat"),Ne=Z(z),Ae=H,be=[],ot=o.width*Ne.x,rt=o.height*Ne.y;Ae--;)be.push(me({x:ot,y:rt,angle:X,spread:oe,startVelocity:W,color:Ce[Ae%Ce.length],shape:ze[ae(0,ze.length)],ticks:Qe,decay:Xe,gravity:Ye,drift:Je,scalar:et,flat:tt}));return S?S.addFettis(be):(S=ue(o,be,M,F,B),S.promise)}function L(z){var F=v||C(z,"disableForReducedMotion",Boolean),B=C(z,"zIndex",Number);if(F&&P)return b(function(W){W()});u&&S?o=S.canvas:u&&!o&&(o=V(B),document.body.appendChild(o)),h&&!N&&M(o);var H={width:o.width,height:o.height};i&&!N&&i.init(o),N=!0,i&&(o.__confetti_initialized=!0);function X(){if(i){var W={getBoundingClientRect:function(){if(!u)return o.getBoundingClientRect()}};M(W),i.postMessage({resize:{width:W.width,height:W.height}});return}H.width=H.height=null}function oe(){S=null,h&&(y=!1,a.removeEventListener("resize",X)),u&&o&&(document.body.contains(o)&&document.body.removeChild(o),o=null,N=!1)}return h&&!y&&(y=!0,a.addEventListener("resize",X,!1)),i?i.fire(z,H,oe):$(z,H,oe)}return L.reset=function(){i&&i.reset(),S&&S.reset()},L}var G;function O(){return G||(G=se(null,{useWorker:!0,resize:!0})),G}function K(o,t,u,h,y,v,w){var i=new Path2D(o),M=new Path2D;M.addPath(i,new DOMMatrix(t));var N=new Path2D;return N.addPath(M,new DOMMatrix([Math.cos(w)*y,Math.sin(w)*y,-Math.sin(w)*v,Math.cos(w)*v,u,h])),N}function g(o){if(!p)throw new Error("path confetti are not supported in this browser");var t,u;typeof o=="string"?t=o:(t=o.path,u=o.matrix);var h=new Path2D(t),y=document.createElement("canvas"),v=y.getContext("2d");if(!u){for(var w=1e3,i=w,M=w,N=0,P=0,S,$,L=0;L<w;L+=2)for(var z=0;z<w;z+=2)v.isPointInPath(h,L,z,"nonzero")&&(i=Math.min(i,L),M=Math.min(M,z),N=Math.max(N,L),P=Math.max(P,z));S=N-i,$=P-M;var F=10,B=Math.min(F/S,F/$);u=[B,0,0,B,-Math.round(S/2+i)*B,-Math.round($/2+M)*B]}return{type:"path",path:t,matrix:u}}function ye(o){var t,u=1,h="#000000",y='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';typeof o=="string"?t=o:(t=o.text,u="scalar"in o?o.scalar:u,y="fontFamily"in o?o.fontFamily:y,h="color"in o?o.color:h);var v=10*u,w=""+v+"px "+y,i=new OffscreenCanvas(v,v),M=i.getContext("2d");M.font=w;var N=M.measureText(t),P=Math.ceil(N.actualBoundingBoxRight+N.actualBoundingBoxLeft),S=Math.ceil(N.actualBoundingBoxAscent+N.actualBoundingBoxDescent),$=2,L=N.actualBoundingBoxLeft+$,z=N.actualBoundingBoxAscent+$;P+=$+$,S+=$+$,i=new OffscreenCanvas(P,S),M=i.getContext("2d"),M.font=w,M.fillStyle=h,M.fillText(t,L,z);var F=1/u;return{type:"bitmap",bitmap:i.transferToImageBitmap(),matrix:[F,0,0,F,-P*F/2,-S*F/2]}}r.exports=function(){return O().apply(this,arguments)},r.exports.reset=function(){O().reset()},r.exports.create=se,r.exports.shapeFromPath=g,r.exports.shapeFromText=ye})((function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}})(),Me,!1);const vr=Me.exports;Me.exports.create;function qe(e){var a,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(a=0;a<l;a++)e[a]&&(r=qe(e[a]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function at(){for(var e,a,r=0,n="",l=arguments.length;r<l;r++)(e=arguments[r])&&(a=qe(e))&&(n&&(n+=" "),n+=a);return n}const nt=(e,a)=>{const r=new Array(e.length+a.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<a.length;n++)r[e.length+n]=a[n];return r},st=(e,a)=>({classGroupId:e,validator:a}),Fe=(e=new Map,a=null,r)=>({nextPart:e,validators:a,classGroupId:r}),ke="-",Se=[],it="arbitrary..",lt=e=>{const a=dt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:p=>{if(p.startsWith("[")&&p.endsWith("]"))return ct(p);const x=p.split(ke),f=x[0]===""&&x.length>1?1:0;return Oe(x,f,a)},getConflictingClassGroupIds:(p,x)=>{if(x){const f=n[p],b=r[p];return f?b?nt(b,f):f:b||Se}return r[p]||Se}}},Oe=(e,a,r)=>{if(e.length-a===0)return r.classGroupId;const l=e[a],m=r.nextPart.get(l);if(m){const b=Oe(e,a+1,m);if(b)return b}const p=r.validators;if(p===null)return;const x=a===0?e.join(ke):e.slice(a).join(ke),f=p.length;for(let b=0;b<f;b++){const A=p[b];if(A.validator(x))return A.classGroupId}},ct=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const a=e.slice(1,-1),r=a.indexOf(":"),n=a.slice(0,r);return n?it+n:void 0})(),dt=e=>{const{theme:a,classGroups:r}=e;return ht(r,a)},ht=(e,a)=>{const r=Fe();for(const n in e){const l=e[n];_e(l,r,n,a)}return r},_e=(e,a,r,n)=>{const l=e.length;for(let m=0;m<l;m++){const p=e[m];pt(p,a,r,n)}},pt=(e,a,r,n)=>{if(typeof e=="string"){mt(e,a,r);return}if(typeof e=="function"){ut(e,a,r,n);return}yt(e,a,r,n)},mt=(e,a,r)=>{const n=e===""?a:Ee(a,e);n.classGroupId=r},ut=(e,a,r,n)=>{if(ft(e)){_e(e(n),a,r,n);return}a.validators===null&&(a.validators=[]),a.validators.push(st(r,e))},yt=(e,a,r,n)=>{const l=Object.entries(e),m=l.length;for(let p=0;p<m;p++){const[x,f]=l[p];_e(f,Ee(a,x),r,n)}},Ee=(e,a)=>{let r=e;const n=a.split(ke),l=n.length;for(let m=0;m<l;m++){const p=n[m];let x=r.nextPart.get(p);x||(x=Fe(),r.nextPart.set(p,x)),r=x}return r},ft=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,gt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let a=0,r=Object.create(null),n=Object.create(null);const l=(m,p)=>{r[m]=p,a++,a>e&&(a=0,n=r,r=Object.create(null))};return{get(m){let p=r[m];if(p!==void 0)return p;if((p=n[m])!==void 0)return l(m,p),p},set(m,p){m in r?r[m]=p:l(m,p)}}},we="!",Pe=":",kt=[],$e=(e,a,r,n,l)=>({modifiers:e,hasImportantModifier:a,baseClassName:r,maybePostfixModifierPosition:n,isExternal:l}),bt=e=>{const{prefix:a,experimentalParseClassName:r}=e;let n=l=>{const m=[];let p=0,x=0,f=0,b;const A=l.length;for(let q=0;q<A;q++){const C=l[q];if(p===0&&x===0){if(C===Pe){m.push(l.slice(f,q)),f=q+1;continue}if(C==="/"){b=q;continue}}C==="["?p++:C==="]"?p--:C==="("?x++:C===")"&&x--}const T=m.length===0?l:l.slice(f);let I=T,E=!1;T.endsWith(we)?(I=T.slice(0,-1),E=!0):T.startsWith(we)&&(I=T.slice(1),E=!0);const j=b&&b>f?b-f:void 0;return $e(m,E,I,j)};if(a){const l=a+Pe,m=n;n=p=>p.startsWith(l)?m(p.slice(l.length)):$e(kt,!1,p,void 0,!0)}if(r){const l=n;n=m=>r({className:m,parseClassName:l})}return n},vt=e=>{const a=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{a.set(r,1e6+n)}),r=>{const n=[];let l=[];for(let m=0;m<r.length;m++){const p=r[m],x=p[0]==="[",f=a.has(p);x||f?(l.length>0&&(l.sort(),n.push(...l),l=[]),n.push(p)):l.push(p)}return l.length>0&&(l.sort(),n.push(...l)),n}},xt=e=>({cache:gt(e.cacheSize),parseClassName:bt(e),sortModifiers:vt(e),...lt(e)}),wt=/\s+/,Mt=(e,a)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:l,sortModifiers:m}=a,p=[],x=e.trim().split(wt);let f="";for(let b=x.length-1;b>=0;b-=1){const A=x[b],{isExternal:T,modifiers:I,hasImportantModifier:E,baseClassName:j,maybePostfixModifierPosition:q}=r(A);if(T){f=A+(f.length>0?" "+f:f);continue}let C=!!q,U=n(C?j.substring(0,q):j);if(!U){if(!C){f=A+(f.length>0?" "+f:f);continue}if(U=n(j),!U){f=A+(f.length>0?" "+f:f);continue}C=!1}const ae=I.length===0?"":I.length===1?I[0]:m(I).join(":"),D=E?ae+we:ae,J=D+U;if(p.indexOf(J)>-1)continue;p.push(J);const Q=l(U,C);for(let Z=0;Z<Q.length;++Z){const te=Q[Z];p.push(D+te)}f=A+(f.length>0?" "+f:f)}return f},_t=(...e)=>{let a=0,r,n,l="";for(;a<e.length;)(r=e[a++])&&(n=je(r))&&(l&&(l+=" "),l+=n);return l},je=e=>{if(typeof e=="string")return e;let a,r="";for(let n=0;n<e.length;n++)e[n]&&(a=je(e[n]))&&(r&&(r+=" "),r+=a);return r},Ct=(e,...a)=>{let r,n,l,m;const p=f=>{const b=a.reduce((A,T)=>T(A),e());return r=xt(b),n=r.cache.get,l=r.cache.set,m=x,x(f)},x=f=>{const b=n(f);if(b)return b;const A=Mt(f,r);return l(f,A),A};return m=p,(...f)=>m(_t(...f))},zt=[],R=e=>{const a=r=>r[e]||zt;return a.isThemeGetter=!0,a},Ve=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Be=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Nt=/^\d+\/\d+$/,At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,St=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Pt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>Nt.test(e),_=e=>!!e&&!Number.isNaN(Number(e)),ee=e=>!!e&&Number.isInteger(Number(e)),ve=e=>e.endsWith("%")&&_(e.slice(0,-1)),Y=e=>At.test(e),It=()=>!0,Rt=e=>St.test(e)&&!Pt.test(e),He=()=>!1,Lt=e=>$t.test(e),qt=e=>Tt.test(e),Ft=e=>!c(e)&&!d(e),Ot=e=>le(e,Ue,He),c=e=>Ve.test(e),re=e=>le(e,De,Rt),xe=e=>le(e,Ht,_),Te=e=>le(e,Ge,He),Et=e=>le(e,We,qt),fe=e=>le(e,Ze,Lt),d=e=>Be.test(e),de=e=>ce(e,De),jt=e=>ce(e,Gt),Ie=e=>ce(e,Ge),Vt=e=>ce(e,Ue),Bt=e=>ce(e,We),ge=e=>ce(e,Ze,!0),le=(e,a,r)=>{const n=Ve.exec(e);return n?n[1]?a(n[1]):r(n[2]):!1},ce=(e,a,r=!1)=>{const n=Be.exec(e);return n?n[1]?a(n[1]):r:!1},Ge=e=>e==="position"||e==="percentage",We=e=>e==="image"||e==="url",Ue=e=>e==="length"||e==="size"||e==="bg-size",De=e=>e==="length",Ht=e=>e==="number",Gt=e=>e==="family-name",Ze=e=>e==="shadow",Wt=()=>{const e=R("color"),a=R("font"),r=R("text"),n=R("font-weight"),l=R("tracking"),m=R("leading"),p=R("breakpoint"),x=R("container"),f=R("spacing"),b=R("radius"),A=R("shadow"),T=R("inset-shadow"),I=R("text-shadow"),E=R("drop-shadow"),j=R("blur"),q=R("perspective"),C=R("aspect"),U=R("ease"),ae=R("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],J=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],Q=()=>[...J(),d,c],Z=()=>["auto","hidden","clip","visible","scroll"],te=()=>["auto","contain","none"],k=()=>[d,c,f],V=()=>[ie,"full","auto",...k()],pe=()=>[ee,"none","subgrid",d,c],me=()=>["auto",{span:["full",ee,d,c]},ee,d,c],ne=()=>[ee,"auto",d,c],ue=()=>["auto","min","max","fr",d,c],se=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],G=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...k()],K=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],g=()=>[e,d,c],ye=()=>[...J(),Ie,Te,{position:[d,c]}],o=()=>["no-repeat",{repeat:["","x","y","space","round"]}],t=()=>["auto","cover","contain",Vt,Ot,{size:[d,c]}],u=()=>[ve,de,re],h=()=>["","none","full",b,d,c],y=()=>["",_,de,re],v=()=>["solid","dashed","dotted","double"],w=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],i=()=>[_,ve,Ie,Te],M=()=>["","none",j,d,c],N=()=>["none",_,d,c],P=()=>["none",_,d,c],S=()=>[_,d,c],$=()=>[ie,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Y],breakpoint:[Y],color:[It],container:[Y],"drop-shadow":[Y],ease:["in","out","in-out"],font:[Ft],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Y],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Y],shadow:[Y],spacing:["px",_],text:[Y],"text-shadow":[Y],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,c,d,C]}],container:["container"],columns:[{columns:[_,c,d,x]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:Q()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:te()}],"overscroll-x":[{"overscroll-x":te()}],"overscroll-y":[{"overscroll-y":te()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[ee,"auto",d,c]}],basis:[{basis:[ie,"full","auto",x,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[_,ie,"auto","initial","none",c]}],grow:[{grow:["",_,d,c]}],shrink:[{shrink:["",_,d,c]}],order:[{order:[ee,"first","last","none",d,c]}],"grid-cols":[{"grid-cols":pe()}],"col-start-end":[{col:me()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":pe()}],"row-start-end":[{row:me()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...se(),"normal"]}],"justify-items":[{"justify-items":[...G(),"normal"]}],"justify-self":[{"justify-self":["auto",...G()]}],"align-content":[{content:["normal",...se()]}],"align-items":[{items:[...G(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...G(),{baseline:["","last"]}]}],"place-content":[{"place-content":se()}],"place-items":[{"place-items":[...G(),"baseline"]}],"place-self":[{"place-self":["auto",...G()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:K()}],w:[{w:[x,"screen",...K()]}],"min-w":[{"min-w":[x,"screen","none",...K()]}],"max-w":[{"max-w":[x,"screen","none","prose",{screen:[p]},...K()]}],h:[{h:["screen","lh",...K()]}],"min-h":[{"min-h":["screen","lh","none",...K()]}],"max-h":[{"max-h":["screen","lh",...K()]}],"font-size":[{text:["base",r,de,re]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,d,xe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ve,c]}],"font-family":[{font:[jt,c,a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,d,c]}],"line-clamp":[{"line-clamp":[_,"none",d,xe]}],leading:[{leading:[m,...k()]}],"list-image":[{"list-image":["none",d,c]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",d,c]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:g()}],"text-color":[{text:g()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...v(),"wavy"]}],"text-decoration-thickness":[{decoration:[_,"from-font","auto",d,re]}],"text-decoration-color":[{decoration:g()}],"underline-offset":[{"underline-offset":[_,"auto",d,c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d,c]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",d,c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ye()}],"bg-repeat":[{bg:o()}],"bg-size":[{bg:t()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ee,d,c],radial:["",d,c],conic:[ee,d,c]},Bt,Et]}],"bg-color":[{bg:g()}],"gradient-from-pos":[{from:u()}],"gradient-via-pos":[{via:u()}],"gradient-to-pos":[{to:u()}],"gradient-from":[{from:g()}],"gradient-via":[{via:g()}],"gradient-to":[{to:g()}],rounded:[{rounded:h()}],"rounded-s":[{"rounded-s":h()}],"rounded-e":[{"rounded-e":h()}],"rounded-t":[{"rounded-t":h()}],"rounded-r":[{"rounded-r":h()}],"rounded-b":[{"rounded-b":h()}],"rounded-l":[{"rounded-l":h()}],"rounded-ss":[{"rounded-ss":h()}],"rounded-se":[{"rounded-se":h()}],"rounded-ee":[{"rounded-ee":h()}],"rounded-es":[{"rounded-es":h()}],"rounded-tl":[{"rounded-tl":h()}],"rounded-tr":[{"rounded-tr":h()}],"rounded-br":[{"rounded-br":h()}],"rounded-bl":[{"rounded-bl":h()}],"border-w":[{border:y()}],"border-w-x":[{"border-x":y()}],"border-w-y":[{"border-y":y()}],"border-w-s":[{"border-s":y()}],"border-w-e":[{"border-e":y()}],"border-w-t":[{"border-t":y()}],"border-w-r":[{"border-r":y()}],"border-w-b":[{"border-b":y()}],"border-w-l":[{"border-l":y()}],"divide-x":[{"divide-x":y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...v(),"hidden","none"]}],"divide-style":[{divide:[...v(),"hidden","none"]}],"border-color":[{border:g()}],"border-color-x":[{"border-x":g()}],"border-color-y":[{"border-y":g()}],"border-color-s":[{"border-s":g()}],"border-color-e":[{"border-e":g()}],"border-color-t":[{"border-t":g()}],"border-color-r":[{"border-r":g()}],"border-color-b":[{"border-b":g()}],"border-color-l":[{"border-l":g()}],"divide-color":[{divide:g()}],"outline-style":[{outline:[...v(),"none","hidden"]}],"outline-offset":[{"outline-offset":[_,d,c]}],"outline-w":[{outline:["",_,de,re]}],"outline-color":[{outline:g()}],shadow:[{shadow:["","none",A,ge,fe]}],"shadow-color":[{shadow:g()}],"inset-shadow":[{"inset-shadow":["none",T,ge,fe]}],"inset-shadow-color":[{"inset-shadow":g()}],"ring-w":[{ring:y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:g()}],"ring-offset-w":[{"ring-offset":[_,re]}],"ring-offset-color":[{"ring-offset":g()}],"inset-ring-w":[{"inset-ring":y()}],"inset-ring-color":[{"inset-ring":g()}],"text-shadow":[{"text-shadow":["none",I,ge,fe]}],"text-shadow-color":[{"text-shadow":g()}],opacity:[{opacity:[_,d,c]}],"mix-blend":[{"mix-blend":[...w(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":w()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[_]}],"mask-image-linear-from-pos":[{"mask-linear-from":i()}],"mask-image-linear-to-pos":[{"mask-linear-to":i()}],"mask-image-linear-from-color":[{"mask-linear-from":g()}],"mask-image-linear-to-color":[{"mask-linear-to":g()}],"mask-image-t-from-pos":[{"mask-t-from":i()}],"mask-image-t-to-pos":[{"mask-t-to":i()}],"mask-image-t-from-color":[{"mask-t-from":g()}],"mask-image-t-to-color":[{"mask-t-to":g()}],"mask-image-r-from-pos":[{"mask-r-from":i()}],"mask-image-r-to-pos":[{"mask-r-to":i()}],"mask-image-r-from-color":[{"mask-r-from":g()}],"mask-image-r-to-color":[{"mask-r-to":g()}],"mask-image-b-from-pos":[{"mask-b-from":i()}],"mask-image-b-to-pos":[{"mask-b-to":i()}],"mask-image-b-from-color":[{"mask-b-from":g()}],"mask-image-b-to-color":[{"mask-b-to":g()}],"mask-image-l-from-pos":[{"mask-l-from":i()}],"mask-image-l-to-pos":[{"mask-l-to":i()}],"mask-image-l-from-color":[{"mask-l-from":g()}],"mask-image-l-to-color":[{"mask-l-to":g()}],"mask-image-x-from-pos":[{"mask-x-from":i()}],"mask-image-x-to-pos":[{"mask-x-to":i()}],"mask-image-x-from-color":[{"mask-x-from":g()}],"mask-image-x-to-color":[{"mask-x-to":g()}],"mask-image-y-from-pos":[{"mask-y-from":i()}],"mask-image-y-to-pos":[{"mask-y-to":i()}],"mask-image-y-from-color":[{"mask-y-from":g()}],"mask-image-y-to-color":[{"mask-y-to":g()}],"mask-image-radial":[{"mask-radial":[d,c]}],"mask-image-radial-from-pos":[{"mask-radial-from":i()}],"mask-image-radial-to-pos":[{"mask-radial-to":i()}],"mask-image-radial-from-color":[{"mask-radial-from":g()}],"mask-image-radial-to-color":[{"mask-radial-to":g()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":J()}],"mask-image-conic-pos":[{"mask-conic":[_]}],"mask-image-conic-from-pos":[{"mask-conic-from":i()}],"mask-image-conic-to-pos":[{"mask-conic-to":i()}],"mask-image-conic-from-color":[{"mask-conic-from":g()}],"mask-image-conic-to-color":[{"mask-conic-to":g()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ye()}],"mask-repeat":[{mask:o()}],"mask-size":[{mask:t()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",d,c]}],filter:[{filter:["","none",d,c]}],blur:[{blur:M()}],brightness:[{brightness:[_,d,c]}],contrast:[{contrast:[_,d,c]}],"drop-shadow":[{"drop-shadow":["","none",E,ge,fe]}],"drop-shadow-color":[{"drop-shadow":g()}],grayscale:[{grayscale:["",_,d,c]}],"hue-rotate":[{"hue-rotate":[_,d,c]}],invert:[{invert:["",_,d,c]}],saturate:[{saturate:[_,d,c]}],sepia:[{sepia:["",_,d,c]}],"backdrop-filter":[{"backdrop-filter":["","none",d,c]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[_,d,c]}],"backdrop-contrast":[{"backdrop-contrast":[_,d,c]}],"backdrop-grayscale":[{"backdrop-grayscale":["",_,d,c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[_,d,c]}],"backdrop-invert":[{"backdrop-invert":["",_,d,c]}],"backdrop-opacity":[{"backdrop-opacity":[_,d,c]}],"backdrop-saturate":[{"backdrop-saturate":[_,d,c]}],"backdrop-sepia":[{"backdrop-sepia":["",_,d,c]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",d,c]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[_,"initial",d,c]}],ease:[{ease:["linear","initial",U,d,c]}],delay:[{delay:[_,d,c]}],animate:[{animate:["none",ae,d,c]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[q,d,c]}],"perspective-origin":[{"perspective-origin":Q()}],rotate:[{rotate:N()}],"rotate-x":[{"rotate-x":N()}],"rotate-y":[{"rotate-y":N()}],"rotate-z":[{"rotate-z":N()}],scale:[{scale:P()}],"scale-x":[{"scale-x":P()}],"scale-y":[{"scale-y":P()}],"scale-z":[{"scale-z":P()}],"scale-3d":["scale-3d"],skew:[{skew:S()}],"skew-x":[{"skew-x":S()}],"skew-y":[{"skew-y":S()}],transform:[{transform:[d,c,"","none","gpu","cpu"]}],"transform-origin":[{origin:Q()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:$()}],"translate-x":[{"translate-x":$()}],"translate-y":[{"translate-y":$()}],"translate-z":[{"translate-z":$()}],"translate-none":["translate-none"],accent:[{accent:g()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:g()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",d,c]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",d,c]}],fill:[{fill:["none",...g()]}],"stroke-w":[{stroke:[_,de,re,xe]}],stroke:[{stroke:["none",...g()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},xr=Ct(Wt),Re=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Le=at,wr=(e,a)=>r=>{var n;if(a?.variants==null)return Le(e,r?.class,r?.className);const{variants:l,defaultVariants:m}=a,p=Object.keys(l).map(b=>{const A=r?.[b],T=m?.[b];if(A===null)return null;const I=Re(A)||Re(T);return l[b][I]}),x=r&&Object.entries(r).reduce((b,A)=>{let[T,I]=A;return I===void 0||(b[T]=I),b},{}),f=a==null||(n=a.compoundVariants)===null||n===void 0?void 0:n.reduce((b,A)=>{let{class:T,className:I,...E}=A;return Object.entries(E).every(j=>{let[q,C]=j;return Array.isArray(C)?C.includes({...m,...x}[q]):{...m,...x}[q]===C})?[...b,T,I]:b},[]);return Le(e,p,f,r?.class,r?.className)};const Ut=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Ke=(...e)=>e.filter((a,r,n)=>!!a&&a.trim()!==""&&n.indexOf(a)===r).join(" ").trim();var Dt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Zt=he.forwardRef(({color:e="currentColor",size:a=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:l="",children:m,iconNode:p,...x},f)=>he.createElement("svg",{ref:f,...Dt,width:a,height:a,stroke:e,strokeWidth:n?Number(r)*24/Number(a):r,className:Ke("lucide",l),...x},[...p.map(([b,A])=>he.createElement(b,A)),...Array.isArray(m)?m:[m]]));const s=(e,a)=>{const r=he.forwardRef(({className:n,...l},m)=>he.createElement(Zt,{ref:m,iconNode:a,className:Ke(`lucide-${Ut(e)}`,n),...l}));return r.displayName=`${e}`,r};const Kt=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Mr=s("Activity",Kt);const Xt=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],_r=s("ArrowLeft",Xt);const Yt=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Cr=s("ArrowRight",Yt);const Jt=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],zr=s("BookOpen",Jt);const Qt=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Nr=s("Bot",Qt);const eo=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],Ar=s("Brain",eo);const to=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sr=s("Check",to);const oo=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Pr=s("ChevronDown",oo);const ro=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],$r=s("ChevronRight",ro);const ao=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Tr=s("ChevronUp",ao);const no=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Ir=s("CircleAlert",no);const so=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Rr=s("CircleCheck",so);const io=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polygon",{points:"10 8 16 12 10 16 10 8",key:"1cimsy"}]],Lr=s("CirclePlay",io);const lo=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],qr=s("CircleUser",lo);const co=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Fr=s("CircleX",co);const ho=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Or=s("Circle",ho);const po=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],Er=s("Clock",po);const mo=[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]],jr=s("Code",mo);const uo=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],Vr=s("Columns3",uo);const yo=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Br=s("Copy",yo);const fo=[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]],Hr=s("Cpu",fo);const go=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Gr=s("ExternalLink",go);const ko=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Wr=s("EyeOff",ko);const bo=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Ur=s("Eye",bo);const vo=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m5 12-3 3 3 3",key:"oke12k"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Dr=s("FileCode2",vo);const xo=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],Zr=s("FilePen",xo);const wo=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Kr=s("FileText",wo);const Mo=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],Xr=s("FlaskConical",Mo);const _o=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Yr=s("FolderOpen",_o);const Co=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Jr=s("FolderPlus",Co);const zo=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Qr=s("Folder",zo);const No=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],ea=s("GitBranch",No);const Ao=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],ta=s("Globe",Ao);const So=[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]],oa=s("HardDrive",So);const Po=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],ra=s("History",Po);const $o=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],aa=s("Info",$o);const To=[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]],na=s("Keyboard",To);const Io=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],sa=s("LayoutDashboard",Io);const Ro=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],ia=s("Link2",Ro);const Lo=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],la=s("LoaderCircle",Lo);const qo=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],ca=s("Lock",qo);const Fo=[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]],da=s("Maximize2",Fo);const Oo=[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]],ha=s("MessageCircle",Oo);const Eo=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],pa=s("MessageSquare",Eo);const jo=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],ma=s("Monitor",jo);const Vo=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],ua=s("Moon",Vo);const Bo=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],ya=s("PanelLeftClose",Bo);const Ho=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],fa=s("PanelLeftOpen",Ho);const Go=[["path",{d:"M13.234 20.252 21 12.3",key:"1cbrk9"}],["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 0 2.828 2 2 0 0 0 2.828 0l8.414-8.586a4 4 0 0 0 0-5.656 4 4 0 0 0-5.656 0l-8.415 8.585a6 6 0 1 0 8.486 8.486",key:"1pkts6"}]],ga=s("Paperclip",Go);const Wo=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],ka=s("PartyPopper",Wo);const Uo=[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]],ba=s("Pause",Uo);const Do=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],va=s("Pencil",Do);const Zo=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],xa=s("Play",Zo);const Ko=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],wa=s("Plus",Ko);const Xo=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ma=s("RefreshCw",Xo);const Yo=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],_a=s("Rocket",Yo);const Jo=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Ca=s("RotateCcw",Jo);const Qo=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],za=s("Save",Qo);const er=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],Na=s("ScrollText",er);const tr=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Aa=s("Send",tr);const or=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],Sa=s("Server",or);const rr=[["path",{d:"M20 7h-9",key:"3s1dr2"}],["path",{d:"M14 17H5",key:"gfn3mx"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Pa=s("Settings2",rr);const ar=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],$a=s("Settings",ar);const nr=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Ta=s("ShieldCheck",nr);const sr=[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]],Ia=s("SkipForward",sr);const ir=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Ra=s("Sparkles",ir);const lr=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],La=s("Square",lr);const cr=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],qa=s("Sun",cr);const dr=[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]],Fa=s("Terminal",dr);const hr=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],Oa=s("Trash2",hr);const pr=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Ea=s("TriangleAlert",pr);const mr=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],ja=s("User",mr);const ur=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],Va=s("WandSparkles",ur);const yr=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ba=s("WifiOff",yr);const fr=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]],Ha=s("Wifi",fr);const gr=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ga=s("X",gr);const kr=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Wa=s("Zap",kr);export{Ra as $,Cr as A,Nr as B,Sr as C,ya as D,Gr as E,Kr as F,ea as G,oa as H,aa as I,Er as J,xa as K,la as L,ma as M,Lr as N,ba as O,ga as P,La as Q,Ca as R,Aa as S,Ea as T,ja as U,ta as V,Ba as W,Ga as X,Pa as Y,Wa as Z,Fr as _,at as a,Ar as a0,da as a1,ha as a2,Br as a3,Xr as a4,jr as a5,Mr as a6,ca as a7,Tr as a8,_a as a9,qr as aa,Or as ab,Va as ac,Ma as ad,Hr as ae,Sa as af,pa as ag,ra as ah,Ta as ai,Wr as aj,Ur as ak,za as al,ia as am,va as an,Ia as ao,na as ap,ka as aq,wr as b,vr as c,Rr as d,Ir as e,Ha as f,Qr as g,_r as h,$r as i,Yr as j,Jr as k,Dr as l,Zr as m,Pr as n,Oa as o,wa as p,sa as q,Vr as r,Fa as s,xr as t,Na as u,$a as v,qa as w,ua as x,zr as y,fa as z};
|
package/ui/dist/index.html
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
9
9
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
10
10
|
<link href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Work+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=DM+Sans:wght@400;500;700&family=Space+Mono:wght@400;700&family=Outfit:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-BB9FkE5a.js"></script>
|
|
12
12
|
<link rel="modulepreload" crossorigin href="/assets/vendor-query-CcgjkJlA.js">
|
|
13
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-radix-
|
|
14
|
-
<link rel="modulepreload" crossorigin href="/assets/vendor-utils-
|
|
13
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-radix-CXoPacKb.js">
|
|
14
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-utils-_RSkPk2f.js">
|
|
15
15
|
<link rel="modulepreload" crossorigin href="/assets/vendor-markdown-BxiGvyag.js">
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/vendor-flow-4rkFkfFX.js">
|
|
16
17
|
<link rel="modulepreload" crossorigin href="/assets/vendor-xterm-DP_gxef0.js">
|
|
17
|
-
<link rel="
|
|
18
|
-
<link rel="stylesheet" crossorigin href="/assets/index-DkJ1zszK.css">
|
|
18
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CaH_F11g.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="root"></div>
|