1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="5ad7275d-49df-df55-564e-fe6870f1be9b")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,305072,e=>{"use strict";var r=e.i(843476),t=e.i(271645),n=e.i(614221),o=e.i(511064),i=e.i(690591),a=e.i(530964),l=e.i(848764);e.i(50902);var s=e.i(822948),d=e.i(259758),c=e.i(953084),u=e.i(716026),p=Symbol("radix.slottable");function f(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var o,i;let a,s,d,c=(i=o=`Primitive.${n}`,(a=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var i,a,s;let e,d,c=(d=(e=null==(a=Object.getOwnPropertyDescriptor((i=n).props,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,l.c)(r,c):c),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,s=a,(d=t.forwardRef((e,n)=>{let{children:o,...i}=e,a=t.Children.toArray(o),l=a.find(f);if(l){let e=l.props.children,o=a.map(r=>r===l?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:r);return(0,r.jsx)(s,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,r.jsx)(s,{...i,ref:n,children:o})})).displayName=`${o}.Slot`,d),u=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?c:n,{...i,ref:t})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),m=Symbol("radix.slottable");function v(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var _=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var o,i;let a,s,d,c=(i=o=`Primitive.${n}`,(a=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var i,a,s;let e,d,c=(d=(e=null==(a=Object.getOwnPropertyDescriptor((i=n).props,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,l.c)(r,c):c),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${i}.SlotClone`,s=a,(d=t.forwardRef((e,n)=>{let{children:o,...i}=e,a=t.Children.toArray(o),l=a.find(v);if(l){let e=l.props.children,o=a.map(r=>r===l?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:r);return(0,r.jsx)(s,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,r.jsx)(s,{...i,ref:n,children:o})})).displayName=`${o}.Slot`,d),u=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?c:n,{...i,ref:t})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),b="Collapsible",[y,g]=(0,i.c)(b),[x,w]=y(b),C=t.forwardRef((e,n)=>{let{__scopeCollapsible:o,open:a,defaultOpen:l,disabled:s,onOpenChange:d,...u}=e,[p,f]=(0,i.u)({prop:a,defaultProp:l??!1,onChange:d,caller:b});return(0,r.jsx)(x,{scope:o,disabled:s,contentId:(0,c.u)(),open:p,onOpenToggle:t.useCallback(()=>f(e=>!e),[f]),children:(0,r.jsx)(_.div,{"data-state":P(p),"data-disabled":s?"":void 0,...u,ref:n})})});C.displayName=b;var j="CollapsibleTrigger",R=t.forwardRef((e,t)=>
2{let{__scopeCollapsible:n,...o}=e,a=w(j,n);return(0,r.jsx)(_.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":P(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...o,ref:t,onClick:(0,i.a)(e.onClick,a.onOpenToggle)})});R.displayName=j;var E="CollapsibleContent",N=t.forwardRef((e,t)=>{let{forceMount:n,...o}=e,i=w(E,e.__scopeCollapsible);return(0,r.jsx)(d.P,{present:n||i.open,children:({present:e})=>(0,r.jsx)(T,{...o,ref:t,present:e})})});N.displayName=E;var T=t.forwardRef((e,n)=>{let{__scopeCollapsible:o,present:i,children:a,...d}=e,c=w(E,o),[u,p]=t.useState(i),f=t.useRef(null),h=(0,l.u)(n,f),m=t.useRef(0),v=m.current,b=t.useRef(0),y=b.current,g=c.open||u,x=t.useRef(g),C=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.u)(()=>{let e=f.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();m.current=r.height,b.current=r.width,x.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(i)}},[c.open,i]),(0,r.jsx)(_.div,{"data-state":P(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!g,...d,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:g&&a})});function P(e){return e?"open":"closed"}var I="Accordion",D=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[O,A,S]=(0,a.c)(I),[k]=(0,i.c)(I,[S,g]),F=g(),V=t.default.forwardRef((e,t)=>{let{type:n,...o}=e;return(0,r.jsx)(O.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,r.jsx)(H,{...o,ref:t}):(0,r.jsx)(B,{...o,ref:t})})});V.displayName=I;var[L,M]=k(I),[$,W]=k(I,{collapsible:!1}),B=t.default.forwardRef((e,n)=>{let{value:o,defaultValue:a,onValueChange:l=()=>{},collapsible:s=!1,...d}=e,[c,u]=(0,i.u)({prop:o,defaultProp:a??"",onChange:l,caller:I});return(0,r.jsx)(L,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:t.default.useCallback(()=>s&&u(""),[s,u]),children:(0,r.jsx)($,{scope:e.__scopeAccordion,collapsible:s,children:(0,r.jsx)(q,{...d,ref:n})})})}),H=t.default.forwardRef((e,n)=>{let{value:o,defaultValue:a,onValueChange:l=()=>{},...s}=e,[d,c]=(0,i.u)({prop:o,defaultProp:a??[],onChange:l,caller:I}),u=t.default.useCallback(e=>c((r=[])=>[...r,e]),[c]),p=t.default.useCallback(e=>c((r=[])=>r.filter(r=>r!==e)),[c]);return(0,r.jsx)(L,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:p,children:(0,r.jsx)($,{scope:e.__scopeAccordion,collapsible:!0,children:(0,r.jsx)(q,{...s,ref:n})})})}),[G,K]=k(I),q=t.default.forwardRef((e,n)=>{let{__scopeAccordion:o,disabled:a,dir:s,orientation:d="vertical",...c}=e,p=t.default.useRef(null),f=(0,l.u)(p,n),m=A(o),v="ltr"===(0,u.u)(s),_=(0,i.a)(e.onKeyDown,e=>{var r;if(!D.includes(e.key))return;let t=e.target,n=m().filter(e=>{var r;return!(null!=(r=e.ref.current)&&r.disabled)}),o=n.findIndex(e=>e.ref.current===t),i=n.length;if(-1===o)return;e.preventDefault();let a=o,l=i-1,s=()=>{(a=o+1)>l&&(a=0)},c=()=>{(a=o-1)<0&&(a=l)};switch(e.key){case"Home":a=0;break;case"End":a=l;break;case"ArrowRight":"horizontal"===d&&(v?s():c());break;case"ArrowDown":"vertical"===d&&s();break;case"ArrowLeft":"horizontal"===d&&(v?c():s());break;case"ArrowUp":"vertical"===d&&c()}null==(r=n[a%i].ref.current)||r.focus()});return(0,r.jsx)(G,{scope:o,disabled:a,direction:s,orientation:d,children:(0,r.jsx)(O.Slot,{scope:o,children:(0,r.jsx)(h.div,{...c,"data-orientation":d,ref:f,onKeyDown:a?void 0:_})})})}),U="AccordionItem",[z,Z]=k(U),Y=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,value:o,...i}=e,a=K(U,n),l=M(U,n),s=F(n),d=(0,c.u)(),u=o&&l.value.includes(o)||!1,p=a.disabled||e.disabled;return(0,r.jsx)(z,{scope:n,open:u,disabled:p,triggerId:d,children:(0,r.jsx)(C,{"data-orientation":a.orientation,"data-state":en(u),...s,...i,ref:t,disabled:p,open:u,onOpenChange:e=>{e?l.onItemOpen(o):l.onItemClose(o)}})})});Y.displayName=U;var X="AccordionHeader",J=t.default.forwardRef((e,t)=>
2{let{__scopeAccordion:n,...o}=e,i=K(I,n),a=Z(X,n);return(0,r.jsx)(h.h3,{"data-orientation":i.orientation,"data-state":en(a.open),"data-disabled":a.disabled?"":void 0,...o,ref:t})});J.displayName=X;var Q="AccordionTrigger",ee=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...o}=e,i=K(I,n),a=Z(Q,n),l=W(Q,n),s=F(n);return(0,r.jsx)(O.ItemSlot,{scope:n,children:(0,r.jsx)(R,{"aria-disabled":a.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:a.triggerId,...s,...o,ref:t})})});ee.displayName=Q;var er="AccordionContent",et=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...o}=e,i=K(I,n),a=Z(er,n),l=F(n);return(0,r.jsx)(N,{role:"region","aria-labelledby":a.triggerId,"data-orientation":i.orientation,...l,...o,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function en(e){return e?"open":"closed"}et.displayName=er,e.s(["A",0,e=>{let[o,i]=t.useState(e.id);return"single"!==e.type||Array.isArray(o)?"multiple"===e.type&&Array.isArray(o)?(0,r.jsx)(V,{type:e.type,value:o,className:(0,n.c)("accordion",e.className),onValueChange:i,children:e.children}):void 0:(0,r.jsx)(V,{type:e.type,value:o,className:(0,n.c)("accordion",e.className),collapsible:!0,onValueChange:i,children:e.children})},"a",0,({children:e,id:t})=>(0,r.jsx)(Y,{value:t,className:"accordion__item",children:e}),"b",0,({children:e})=>(0,r.jsx)(J,{asChild:!0,children:(0,r.jsx)(ee,{className:"accordion__trigger",asChild:!0,children:(0,r.jsx)("div",{children:e})})}),"c",0,({children:e})=>(0,r.jsx)(o.S,{className:"accordion__button",children:e}),"d",0,({children:e})=>(0,r.jsx)(et,{className:"accordion__content",children:e})])},372505,e=>{"use strict";var r=e.i(843476),t=e.i(614221),n=e.i(271645),o=e.i(221542);let i=n.forwardRef(function({children:e,variant:n="accent",className:i,...a},l){return(0,r.jsx)(o.T,{className:(0,t.c)("badge",`badge--${n}`,i),variant:"caption-medium",asChild:!0,children:(0,r.jsx)("span",{ref:l,...a,children:e})})});e.s(["B",0,i])},460172,e=>{"use strict";var r=e.i(271645),t=e.i(843476),n=e.i(687661),o=e.i(614221);let i={"bottom-sheet":"_bottom-sheet_rd06r_1","bottom-sheet__overlay":"_bottom-sheet__overlay_rd06r_8","bottom-sheet__content":"_bottom-sheet__content_rd06r_16","bottom-sheet__content--dragging":"_bottom-sheet__content--dragging_rd06r_33","bottom-sheet__content--open":"_bottom-sheet__content--open_rd06r_36","bottom-sheet__content--fade":"_bottom-sheet__content--fade_rd06r_39","fade-in":"_fade-in_rd06r_1","bottom-sheet__content--none":"_bottom-sheet__content--none_rd06r_43","bottom-sheet__content--auto":"_bottom-sheet__content--auto_rd06r_46","bottom-sheet__content--sm":"_bottom-sheet__content--sm_rd06r_49","bottom-sheet__content--md":"_bottom-sheet__content--md_rd06r_52","bottom-sheet__content--lg":"_bottom-sheet__content--lg_rd06r_55","bottom-sheet__content--xl":"_bottom-sheet__content--xl_rd06r_58","bottom-sheet__content--full":"_bottom-sheet__content--full_rd06r_61","bottom-sheet__handle-container":"_bottom-sheet__handle-container_rd06r_65","bottom-sheet__handle":"_bottom-sheet__handle_rd06r_65","bottom-sheet__header":"_bottom-sheet__header_rd06r_86","bottom-sheet__body":"_bottom-sheet__body_rd06r_95","bottom-sheet__footer":"_bottom-sheet__footer_rd06r_101"};e.s(["B",0,function({isOpen:e,onClose:a,children:l,className:s,preventClose:d,height:c="auto",closeOnBackdropClick:u=!0}){let p=(0,r.useRef)(null),f=(0,r.useRef)(null),h=(0,r.useRef)(!1),m=(0,r.useRef)(0),v=(0,r.useRef)(0),_=(0,r.useRef)(null);(0,r.useEffect)(()=>(e&&(h.current=!1,m.current=0,v.current=0,f.current&&(f.current.style.transition="",f.current.style.transform="")),()=>{null!==_.current&&(cancelAnimationFrame(_.current),_.current=null)}),[e]),(0,r.useEffect)(()=>{if(!e)return;let r=async e=>{"Escape"===e.key&&(!d||await d())&&a()};return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[e,a,d]);let b=async()=>{u&&(!d||await d())&&a()},y=async()=>{if(!h.current||!f.current)return;null!==_.current&&(cancelAnimationFrame(_.current),_.current=null),f.current.style.transition="transform 0.3s cubic-bezier(0.19, 1, 0.22, 1)",h.current=!1;let e=.15*f.current.clientHeight;v.current>e&&(!d||await d())?(f.current.style.transform="translateY(100%)",setTimeout(()=>{a(),f.current&&(f.current.style.transform="")},300)):f.current.style.transform="",v.current=0};return e?(0,t.jsx)(n.R,{asChild:!0,children:(0,t.jsxs)("div",{ref:p,className:i["bottom-sheet"],children:[(0,t.jsx)("div",{className:i["bottom-sheet__overlay"],onClick:b}),(0,t.jsxs)("div",{ref:f,className:(0,o.c)(i["bottom-sheet__content"],i["bottom-sheet__content--slide"],i[`bottom-sheet__content--${c}`],{[i["bottom-sheet__content--open"]]:e,[i["bottom-sheet__content--dragging"]]:h.current},s),role:"dialog","aria-modal":"true",onTouchStart:e=>{if(!f.current)return;let r=f.current.querySelector(`.${i["bottom-sheet__handle-container"]}`),t=f.current.querySelector(`.${i["bottom-sheet__header"]}`),n=e.touches[0],o=e.target,a=r&&(r===o||r.contains(o)),l=t&&(t===o||t.contains(o));(a||l)&&(f.current.style.transition="none",h.current=!0,m.current=n.clientY,v.current=0)},onTouchMove:e=>{if(!h.current||!f.current||f.current.scrollTop>0)return;let r=Math.max(0,e.touches[0].clientY-m.current);null!==_.current&&cancelAnimationFrame(_.current),_.current=requestAnimationFrame(()=>{f.current&&(f.current.style.transform=`translateY(${r}px)`,v.current=r),_.current=null})},onTouchEnd:y,onTouchCancel:()=>{f.current&&(f.current.style.transition="transform 0.3s cubic-bezier(0.19, 1, 0.22, 1)",f.current.style.transform=""),h.current=!1,v.current=0,null!==_.current&&(cancelAnimationFrame(_.current),_.current=null)},children:[(0,t.jsx)("div",{className:i["bottom-sheet__handle-container"],children:(0,t.jsx)("div",{className:i["bottom-sheet__handle"]})}),l]})]})}):null},"a",0,({children:e,className:r})=>(0,t.jsx)("div",{className:(0,o.c)(i["bottom-sheet__header"],r),children:e}),"b",0,({children:e,className:r})=>(0,t.jsx)("div",{className:(0,o.c)(i["bottom-sheet__body"],r),children:e}),"c",0,({children:e,className:r})=>(0,t.jsx)("div",{className:(0,o.c)(i["bottom-sheet__footer"],r),children:e}),"u",0,function(){let[e,t]=(0,r.useState)(!1),[n,o]=(0,r.useState)(null);return{isOpen:e,openModal:()=>{document.body.style.overflow="hidden",o(document.activeElement),t(!0)},closeModal:()=>{null==n||n.focus(),document.body.style.overflow="",t(!1)}}}])},393518,667935,e=>{"use strict";var r=e.i(460172);e.s(["BottomSheet",()=>r.B],393518),e.s(["BottomSheetBody",()=>r.b],667935)},77692,e=>{"use strict";var r=e.i(460172);e.s(["BottomSheetHeader",()=>r.a])},386049,e=>{"use strict";var r=e.i(460172);e.s(["BottomSheetFooter",()=>r.c])},444576,e=>{"use strict";var r=e.i(843476),t=e.i(271645),n=e.i(690591),o=e.i(848764),i=e.i(854160),a=e.i(687661),l=e.i(259758);e.i(50902);var s=e.i(968780),d=e.i(614221),c=Symbol("radix.slottable");function u(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===c}var p,f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var i,a;let l,s,d,c=(a=i=`Primitive.${n}`,(l=t.forwardRef((e,r)=>{let{children:n,...i}=e;if(t.isValidElement(n)){var a,l,s;let e,d,c=(d=(e=null==(l=Object.getOwnPropertyDescriptor((a=n).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.
2isReactWarning)?a.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(a,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(i,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,o.c)(r,c):c),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${a}.SlotClone`,s=l,(d=t.forwardRef((e,n)=>{let{children:o,...i}=e,a=t.Children.toArray(o),l=a.find(u);if(l){let e=l.props.children,o=a.map(r=>r===l?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:r);return(0,r.jsx)(s,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,r.jsx)(s,{...i,ref:n,children:o})})).displayName=`${i}.Slot`,d),p=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?c:n,{...i,ref:t})});return p.displayName=`Primitive.${n}`,{...e,[n]:p}},{}),h="HoverCard",[m]=(0,n.c)(h,[i.c]),v=(0,i.c)(),[_,b]=m(h),y=e=>{let{__scopeHoverCard:o,children:a,open:l,defaultOpen:s,onOpenChange:d,openDelay:c=700,closeDelay:u=300}=e,p=v(o),f=t.useRef(0),m=t.useRef(0),b=t.useRef(!1),y=t.useRef(!1),[g,x]=(0,n.u)({prop:l,defaultProp:s??!1,onChange:d,caller:h}),w=t.useCallback(()=>{clearTimeout(m.current),f.current=window.setTimeout(()=>x(!0),c)},[c,x]),C=t.useCallback(()=>{clearTimeout(f.current),b.current||y.current||(m.current=window.setTimeout(()=>x(!1),u))},[u,x]),j=t.useCallback(()=>x(!1),[x]);return t.useEffect(()=>()=>{clearTimeout(f.current),clearTimeout(m.current)},[]),(0,r.jsx)(_,{scope:o,open:g,onOpenChange:x,onOpen:w,onClose:C,onDismiss:j,hasSelectionRef:b,isPointerDownOnContentRef:y,children:(0,r.jsx)(i.R,{...p,children:a})})};y.displayName=h;var g="HoverCardTrigger",x=t.forwardRef((e,t)=>{let{__scopeHoverCard:o,...a}=e,l=b(g,o),s=v(o);return(0,r.jsx)(i.a,{asChild:!0,...s,children:(0,r.jsx)(f.a,{"data-state":l.open?"open":"closed",...a,ref:t,onPointerEnter:(0,n.a)(e.onPointerEnter,I(l.onOpen)),onPointerLeave:(0,n.a)(e.onPointerLeave,I(l.onClose)),onFocus:(0,n.a)(e.onFocus,l.onOpen),onBlur:(0,n.a)(e.onBlur,l.onClose),onTouchStart:(0,n.a)(e.onTouchStart,e=>e.preventDefault())})})});x.displayName=g;var w="HoverCardPortal",[C,j]=m(w,{forceMount:void 0}),R=e=>{let{__scopeHoverCard:t,forceMount:n,children:o,container:i}=e,s=b(w,t);return(0,r.jsx)(C,{scope:t,forceMount:n,children:(0,r.jsx)(l.P,{present:n||s.open,children:(0,r.jsx)(a.P,{asChild:!0,container:i,children:o})})})};R.displayName=w;var E="HoverCardContent",N=t.forwardRef((e,t)=>{let o=j(E,e.__scopeHoverCard),{forceMount:i=o.forceMount,...a}=e,s=b(E,e.__scopeHoverCard);return(0,r.jsx)(l.P,{present:i||s.open,children:(0,r.jsx)(T,{"data-state":s.open?"open":"closed",...a,onPointerEnter:(0,n.a)(e.onPointerEnter,I(s.onOpen)),onPointerLeave:(0,n.a)(e.onPointerLeave,I(s.onClose)),ref:t})})});N.displayName=E;var T=t.forwardRef((e,a)=>{let{__scopeHoverCard:l,onEscapeKeyDown:d,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:f,...h}=e,m=b(E,l),_=v(l),y=t.useRef(null),g=(0,o.u)(a,y),[x,w]=t.useState(!1);return t.useEffect(()=>{if(x){let e=document.body;return p=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect="none",e.style.webkitUserSelect="none",()=>{e.style.userSelect=p,e.style.webkitUserSelect=p}}},[x]),t.useEffect(()=>{if(y.current){let e=()=>{w(!1),m.isPointerDownOnContentRef.current=!1,setTimeout(()=>{var e;
2(null==(e=document.getSelection())?void 0:e.toString())!==""&&(m.hasSelectionRef.current=!0)})};return document.addEventListener("pointerup",e),()=>{document.removeEventListener("pointerup",e),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!1}}},[m.isPointerDownOnContentRef,m.hasSelectionRef]),t.useEffect(()=>{y.current&&(function(e){let r=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;t.nextNode();)r.push(t.currentNode);return r})(y.current).forEach(e=>e.setAttribute("tabindex","-1"))}),(0,r.jsx)(s.D,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:f,onEscapeKeyDown:d,onPointerDownOutside:c,onFocusOutside:(0,n.a)(u,e=>{e.preventDefault()}),onDismiss:m.onDismiss,children:(0,r.jsx)(i.C,{..._,...h,onPointerDown:(0,n.a)(h.onPointerDown,e=>{e.currentTarget.contains(e.target)&&w(!0),m.hasSelectionRef.current=!1,m.isPointerDownOnContentRef.current=!0}),ref:g,style:{...h.style,userSelect:x?"text":void 0,WebkitUserSelect:x?"text":void 0,"--radix-hover-card-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-hover-card-content-available-width":"var(--radix-popper-available-width)","--radix-hover-card-content-available-height":"var(--radix-popper-available-height)","--radix-hover-card-trigger-width":"var(--radix-popper-anchor-width)","--radix-hover-card-trigger-height":"var(--radix-popper-anchor-height)"}})})}),P=t.forwardRef((e,t)=>{let{__scopeHoverCard:n,...o}=e,a=v(n);return(0,r.jsx)(i.A,{...a,...o,ref:t})});function I(e){return r=>"touch"===r.pointerType?void 0:e()}P.displayName="HoverCardArrow";let D=({children:e,...t})=>(0,r.jsx)(y,{...t,children:e}),O=t.default.forwardRef(({children:e,asChild:t=!1,...n},o)=>(0,r.jsx)(x,{ref:o,asChild:t,...n,children:e}));O.displayName=x.displayName;let A=t.default.forwardRef(({className:e,side:t="bottom",sideOffset:n=5,align:o="center",alignOffset:i=0,avoidCollisions:a=!0,collisionPadding:l=0,arrowPadding:s=0,sticky:c="partial",hideWhenDetached:u=!1,paddingOff:p=!1,animated:f=!0,children:h,...m},v)=>(0,r.jsx)(R,{children:(0,r.jsx)(N,{ref:v,className:(0,d.c)("_hoverCardContent_1kug4_1",e,{_noAnimation_1kug4_46:!f}),side:t,sideOffset:n,align:o,alignOffset:i,avoidCollisions:a,collisionPadding:l,arrowPadding:s,sticky:c,hideWhenDetached:u,"data-padding-off":p,...m,children:h})}));A.displayName=N.displayName;let S=t.default.forwardRef(({className:e,width:t=10,height:n=5,...o},i)=>(0,r.jsx)(P,{ref:i,className:(0,d.c)("_hoverCardArrow_1kug4_37",e),width:t,height:n,...o}));S.displayName=P.displayName,e.s(["H",0,({trigger:e,content:t,contentProps:n,triggerAsChild:o=!1,showArrow:i=!0,openDelay:a=700,closeDelay:l=300,animated:s=!0,...d})=>(0,r.jsxs)(D,{openDelay:a,closeDelay:l,...d,children:[(0,r.jsx)(O,{asChild:o,children:e}),(0,r.jsxs)(A,{animated:s,...n,children:[i&&(0,r.jsx)(S,{}),t]})]}),"a",0,D,"b",0,O,"c",0,A,"d",0,S])},8597,e=>{"use strict";var r=e.i(843476),t=e.i(271645),n=e.i(614221),o=e.i(752951),i=e.i(221542),a=e.i(690591),l=e.i(848764);e.i(50902);var s=e.i(567776),d=e.i(716026),c=e.i(246167),u=e.i(391724),p=e.i(259758),f=e.i(849261),h=Symbol("radix.slottable");function m(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===h}var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var o,i;let a,s,d,c=(i=o=`Primitive.${n}`,(a=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var i,a,s;let e,d,c=(d=(e=null==(a=Object.getOwnPropertyDescriptor((i=n).props,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(o,n.props);return n.type!==t.Fragment&&(u.ref=r?(0,l.c)(r,c):c),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${i}
2.SlotClone`,s=a,(d=t.forwardRef((e,n)=>{let{children:o,...i}=e,a=t.Children.toArray(o),l=a.find(m);if(l){let e=l.props.children,o=a.map(r=>r===l?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:r);return(0,r.jsx)(s,{...i,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,o):null})}return(0,r.jsx)(s,{...i,ref:n,children:o})})).displayName=`${o}.Slot`,d),u=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?c:n,{...i,ref:t})});return u.displayName=`Primitive.${n}`,{...e,[n]:u}},{}),_="Radio",[b,y]=(0,a.c)(_),[g,x]=b(_),w=t.forwardRef((e,n)=>{let{__scopeRadio:o,name:i,checked:s=!1,required:d,disabled:c,value:u="on",onCheck:p,form:f,...h}=e,[m,_]=t.useState(null),b=(0,l.u)(n,e=>_(e)),y=t.useRef(!1),x=!m||f||!!m.closest("form");return(0,r.jsxs)(g,{scope:o,checked:s,disabled:c,children:[(0,r.jsx)(v.button,{type:"button",role:"radio","aria-checked":s,"data-state":E(s),"data-disabled":c?"":void 0,disabled:c,value:u,...h,ref:b,onClick:(0,a.a)(e.onClick,e=>{s||null==p||p(),x&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())})}),x&&(0,r.jsx)(R,{control:m,bubbles:!y.current,name:i,value:u,checked:s,required:d,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});w.displayName=_;var C="RadioIndicator",j=t.forwardRef((e,t)=>{let{__scopeRadio:n,forceMount:o,...i}=e,a=x(C,n);return(0,r.jsx)(p.P,{present:o||a.checked,children:(0,r.jsx)(v.span,{"data-state":E(a.checked),"data-disabled":a.disabled?"":void 0,...i,ref:t})})});j.displayName=C;var R=t.forwardRef(({__scopeRadio:e,control:n,checked:o,bubbles:i=!0,...a},s)=>{let d=t.useRef(null),p=(0,l.u)(d,s),f=(0,u.u)(o),h=(0,c.u)(n);return t.useEffect(()=>{let e=d.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==o&&r){let t=new Event("click",{bubbles:i});r.call(e,o),e.dispatchEvent(t)}},[f,o,i]),(0,r.jsx)(v.input,{type:"radio","aria-hidden":!0,defaultChecked:o,...a,tabIndex:-1,ref:p,style:{...a.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function E(e){return e?"checked":"unchecked"}R.displayName="RadioBubbleInput";var N=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],T="RadioGroup",[P]=(0,a.c)(T,[s.c,y]),I=(0,s.c)(),D=y(),[O,A]=P(T),S=t.forwardRef((e,t)=>{let{__scopeRadioGroup:n,name:o,defaultValue:i,value:l,required:c=!1,disabled:u=!1,orientation:p,dir:f,loop:h=!0,onValueChange:m,..._}=e,b=I(n),y=(0,d.u)(f),[g,x]=(0,a.u)({prop:l,defaultProp:i??null,onChange:m,caller:T});return(0,r.jsx)(O,{scope:n,name:o,required:c,disabled:u,value:g,onValueChange:x,children:(0,r.jsx)(s.R,{asChild:!0,...b,orientation:p,dir:y,loop:h,children:(0,r.jsx)(v.div,{role:"radiogroup","aria-required":c,"aria-orientation":p,"data-disabled":u?"":void 0,dir:y,..._,ref:t})})})});S.displayName=T;var k="RadioGroupItem",F=t.forwardRef((e,n)=>{let{__scopeRadioGroup:o,disabled:i,...d}=e,c=A(k,o),u=c.disabled||i,p=I(o),f=D(o),h=t.useRef(null),m=(0,l.u)(n,h),v=c.value===d.value,_=t.useRef(!1);return t.useEffect(()=>{let e=e=>{N.includes(e.key)&&(_.current=!0)},r=()=>_.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,r.jsx)(s.I,{asChild:!0,...p,focusable:!u,active:v,children:(0,r.jsx)(w,{disabled:u,required:c.required,checked:v,...f,...d,name:c.name,ref:m,onCheck:()=>c.onValueChange(d.value),onKeyDown:(0,a.a)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,a.a)(d.onFocus,()=>{var e;_.current&&(null==(e=h.current)||e.click())})})})});F.displayName=k;var V=t.forwardRef((e,t)=>{let{__scopeRadioGroup:n,...o}=e,i=D(n);return(0,r.jsx)(j,{...i,...o,ref:t})});V.displayName="RadioGroupIndicator";let L={radioContainer:"_radioContainer_l58nj_1",radioGroup:"_radioGroup_l58nj_7","radioGroup--horizontal":"_radioGroup--horizontal_l58nj_11","radioGroup--vertical":"_radioGroup--vertical_l58nj_14",radioItem:"_radioItem_l58nj_21",radioItemContainer:"_radioItemContainer_l58nj_25",radioItem__label:"_radioItem__label_l58nj_45",radioItem__indicator:"_radioItem__indicator_l58nj_62",errorMessage:"_errorMessage_l58nj_80"},M=(0,t.forwardRef)(function({id:e,children:t,label:a,orientation:l="vertical",required:s,disabled:d,errorMessage:c,onValueChange:u,...p},f){return(0,r.jsxs)("div",{className:(0,n.c)(L.radioContainer,p.className),children:[a&&(0,r.jsx)(o.L,{htmlFor:e,required:s,children:a}),(0,r.jsx)(S,{id:e,name:e,ref:f,orientation:l,required:s,disabled:d,"data-error":!!c,onValueChange:u,...p,className:(0,n.c)(L.radioGroup,p.className,L[`radioGroup--${l}`]),children:t}),c&&(0,r.jsx)(i.T,{variant:"caption",className:L.errorMessage,children:c})]})});e.s(["R",0,M,"a",0,({id:e,value:n,children:o,customOption:a,disabled:l,onValueChange:s,...d})=>{let[c,u]=(0,t.useState)(n);return(0,t.useEffect)(()=>{a&&c&&(null==s||s(c))},[c,a,s]),(0,r.jsxs)("div",{className:L.radioItemContainer,"data-disabled":l,children:[(0,r.jsx)(F,{id:e,value:c,disabled:l,...d,className:L.radioItem,children:(0,r.jsx)(V,{className:L.radioItem__indicator})}),a&&(0,r.jsx)(f.I,{id:e,placeholder:"Otro",value:c,onChange:e=>{u(e.target.value),null==s||s(e.target.value)},onClick:()=>{a&&(null==s||s(c))}}),!a&&(0,r.jsx)(i.T,{variant:"body-2",className:L.radioItem__label,asChild:!0,children:(0,r.jsx)("label",{htmlFor:e,children:o})})]})}])},854288,e=>{"use strict";var r=e.i(843476),t=e.i(614221),n=e.i(794965),o=e.i(271645),i=e.i(690591),a=e.i(567776),l=e.i(259758);e.i(50902);var s=e.i(848764),d=e.i(716026),c=e.i(953084),u=Symbol("radix.slottable");function p(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}var f=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
2{var n,i;let a,l,d,c=(i=n=`Primitive.${t}`,(a=o.forwardRef((e,r)=>{let{children:t,...n}=e;if(o.isValidElement(t)){var i,a,l;let e,d,c=(d=(e=null==(a=Object.getOwnPropertyDescriptor((i=t).props,"ref"))?void 0:a.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(d=(e=null==(l=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props);return t.type!==o.Fragment&&(u.ref=r?(0,s.c)(r,c):c),o.cloneElement(t,u)}return o.Children.count(t)>1?o.Children.only(null):null})).displayName=`${i}.SlotClone`,l=a,(d=o.forwardRef((e,t)=>{let{children:n,...i}=e,a=o.Children.toArray(n),s=a.find(p);if(s){let e=s.props.children,n=a.map(r=>r===s?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:r);return(0,r.jsx)(l,{...i,ref:t,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,r.jsx)(l,{...i,ref:t,children:n})})).displayName=`${n}.Slot`,d),u=o.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(o?c:t,{...i,ref:n})});return u.displayName=`Primitive.${t}`,{...e,[t]:u}},{}),h="Tabs",[m]=(0,i.c)(h,[a.c]),v=(0,a.c)(),[_,b]=m(h),y=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,onValueChange:a,defaultValue:l,orientation:s="horizontal",dir:u,activationMode:p="automatic",...m}=e,v=(0,d.u)(u),[b,y]=(0,i.u)({prop:o,onChange:a,defaultProp:l??"",caller:h});return(0,r.jsx)(_,{scope:n,baseId:(0,c.u)(),value:b,onValueChange:y,orientation:s,dir:v,activationMode:p,children:(0,r.jsx)(f.div,{dir:v,"data-orientation":s,...m,ref:t})})});y.displayName=h;var g="TabsList",x=o.forwardRef((e,t)=>{let{__scopeTabs:n,loop:o=!0,...i}=e,l=b(g,n),s=v(n);return(0,r.jsx)(a.R,{asChild:!0,...s,orientation:l.orientation,dir:l.dir,loop:o,children:(0,r.jsx)(f.div,{role:"tablist","aria-orientation":l.orientation,...i,ref:t})})});x.displayName=g;var w="TabsTrigger",C=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,disabled:l=!1,...s}=e,d=b(w,n),c=v(n),u=E(d.baseId,o),p=N(d.baseId,o),h=o===d.value;return(0,r.jsx)(a.I,{asChild:!0,...c,focusable:!l,active:h,children:(0,r.jsx)(f.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":p,"data-state":h?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:u,...s,ref:t,onMouseDown:(0,i.a)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(o)}),onKeyDown:(0,i.a)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(o)}),onFocus:(0,i.a)(e.onFocus,()=>{let e="manual"!==d.activationMode;h||l||!e||d.onValueChange(o)})})})});C.displayName=w;var j="TabsContent",R=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:i,forceMount:a,children:s,...d}=e,c=b(j,n),u=E(c.baseId,i),p=N(c.baseId,i),h=i===c.value,m=o.useRef(h);return o.useEffect(()=>{let e=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,r.jsx)(l.P,{present:a||h,children:({present:n})=>(0,r.jsx)(f.div,{"data-state":h?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:p,tabIndex:0,...d,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:n&&s})})});function E(e,r){return`${e}-trigger-${r}`}function N(e,r){return`${e}-content-${r}`}R.displayName=j;e.s(["T",0,function({children:e,value:t,defaultValue:n,onValueChange:o,orientation:i="horizontal",activationMode:a="automatic",dir:l,activeColor:s,...d}){let c={...s&&{"--primary-color":s},...d.style};return(0,r.jsx)(y,{value:t,defaultValue:n,onValueChange:o,orientation:i,activationMode:a,dir:l,...d,style:c,children:e})},"a",0,({children:e,className:n,...o})=>(0,r.jsx)(x,{className:(0,t.c)("_tabsList_dsiiy_1",n),...o,children:e}),"b",0,({children:e,className:o,asChild:i,...a})=>(0,r.jsx)(C,{className:(0,t.c)("_tab_dsiiy_1",o),asChild:i,...a,children:i?e:(0,r.jsx)(n.H,{as:"p",variant:"subhead",children:e})}),"c",0,({children:e,className:n,...o})=>(0,r.jsx)(R,{className:(0,t.c)("_tabsContent_dsiiy_56",n),...o,children:e})])},940994,e=>{"use strict";let r;var t=e.i(843476),n=e.i(614221),o=e.i(271645),i=e.i(690591),a=e.i(848764),l=e.i(968780),s=e.i(953084),d=e.i(854160),c=e.i(259758);e.i(50902);var u=e.i(544e3),p=Symbol("radix.slottable");function f(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var n,i;let l,s,d,c=(i=n=`Primitive.${r}`,(l=o.forwardRef((e,r)=>{let{children:t,...n}=e;if(o.isValidElement(t)){var i,l,s;let e,d,c=(d=(e=null==(l=Object.getOwnPropertyDescriptor((i=t).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.
2isReactWarning)?i.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(n,t.props);return t.type!==o.Fragment&&(u.ref=r?(0,a.c)(r,c):c),o.cloneElement(t,u)}return o.Children.count(t)>1?o.Children.only(null):null})).displayName=`${i}.SlotClone`,s=l,(d=o.forwardRef((e,r)=>{let{children:n,...i}=e,a=o.Children.toArray(n),l=a.find(f);if(l){let e=l.props.children,n=a.map(r=>r===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:r);return(0,t.jsx)(s,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,t.jsx)(s,{...i,ref:r,children:n})})).displayName=`${n}.Slot`,d),u=o.forwardRef((e,n)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?c:r,{...i,ref:n})});return u.displayName=`Primitive.${r}`,{...e,[r]:u}},{}),[m]=(0,i.c)("Tooltip",[d.c]),v=(0,d.c)(),_="TooltipProvider",b="tooltip.open",[y,g]=m(_),x=e=>{let{__scopeTooltip:r,delayDuration:n=700,skipDelayDuration:i=300,disableHoverableContent:a=!1,children:l}=e,s=o.useRef(!0),d=o.useRef(!1),c=o.useRef(0);return o.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(y,{scope:r,isOpenDelayedRef:s,delayDuration:n,onOpen:o.useCallback(()=>{window.clearTimeout(c.current),s.current=!1},[]),onClose:o.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:o.useCallback(e=>{d.current=e},[]),disableHoverableContent:a,children:l})};x.displayName=_;var w="Tooltip",[C,j]=m(w),R=e=>{let{__scopeTooltip:r,children:n,open:a,defaultOpen:l,onOpenChange:c,disableHoverableContent:u,delayDuration:p}=e,f=g(w,e.__scopeTooltip),h=v(r),[m,_]=o.useState(null),y=(0,s.u)(),x=o.useRef(0),j=u??f.disableHoverableContent,R=p??f.delayDuration,E=o.useRef(!1),[N,T]=(0,i.u)({prop:a,defaultProp:l??!1,onChange:e=>{e?(f.onOpen(),document.dispatchEvent(new CustomEvent(b))):f.onClose(),null==c||c(e)},caller:w}),P=o.useMemo(()=>N?E.current?"delayed-open":"instant-open":"closed",[N]),I=o.useCallback(()=>{window.clearTimeout(x.current),x.current=0,E.current=!1,T(!0)},[T]),D=o.useCallback(()=>{window.clearTimeout(x.current),x.current=0,T(!1)},[T]),O=o.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>{E.current=!0,T(!0),x.current=0},R)},[R,T]);return o.useEffect(()=>()=>{x.current&&(window.clearTimeout(x.current),x.current=0)},[]),(0,t.jsx)(d.R,{...h,children:(0,t.jsx)(C,{scope:r,contentId:y,open:N,stateAttribute:P,trigger:m,onTriggerChange:_,onTriggerEnter:o.useCallback(()=>{f.isOpenDelayedRef.current?O():I()},[f.isOpenDelayedRef,O,I]),onTriggerLeave:o.useCallback(()=>{j?D():(window.clearTimeout(x.current),x.current=0)},[D,j]),onOpen:I,onClose:D,disableHoverableContent:j,children:n})})};R.displayName=w;var E="TooltipTrigger",N=o.forwardRef((e,r)=>{let{__scopeTooltip:n,...l}=e,s=j(E,n),c=g(E,n),u=v(n),p=o.useRef(null),f=(0,a.u)(r,p,s.onTriggerChange),m=o.useRef(!1),_=o.useRef(!1),b=o.useCallback(()=>m.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",b),[b]),(0,t.jsx)(d.a,{asChild:!0,...u,children:(0,t.jsx)(h.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...l,ref:f,onPointerMove:(0,i.a)(e.onPointerMove,e=>{"touch"===e.pointerType||_.current||c.isPointerInTransitRef.current||(s.onTriggerEnter(),_.current=!0)}),onPointerLeave:(0,i.a)(e.onPointerLeave,()=>{s.onTriggerLeave(),_.current=!1}),onPointerDown:(0,i.a)(e.onPointerDown,()=>{s.open&&s.onClose(),m.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:(0,i.a)(e.onFocus,()=>{m.current||s.onOpen()}),onBlur:(0,i.a)(e.onBlur,s.onClose),onClick:(0,i.a)(e.onClick,s.onClose)})})});N.displayName=E;var[T,P]=m("TooltipPortal",{forceMount:void 0}),I="TooltipContent",D=o.forwardRef((e,r)=>{let n=P(I,e.__scopeTooltip),{forceMount:o=n.forceMount,side:i="top",...a}=e,l=j(I,e.__scopeTooltip);return(0,t.jsx)(c.P,{present:o||l.open,children:l.disableHoverableContent?(0,t.jsx)(F,{side:i,...a,ref:r}):(0,t.jsx)(O,{side:i,...a,ref:r})})}),O=o.forwardRef((e,r)=>{let n=j(I,e.__scopeTooltip),i=g(I,e.__scopeTooltip),l=o.useRef(null),s=(0,a.u)(r,l),[d,c]=o.useState(null),{trigger:u,onClose:p}=n,f=l.current,{onPointerInTransitChange:h}=i,m=o.useCallback(()=>{c(null),h(!1)}
2,[h]),v=o.useCallback((e,r)=>{let t,n=e.currentTarget,o={x:e.clientX,y:e.clientY},i=function(e,r){let t=Math.abs(r.top-e.y),n=Math.abs(r.bottom-e.y),o=Math.abs(r.right-e.x),i=Math.abs(r.left-e.x);switch(Math.min(t,n,o,i)){case i:return"left";case o:return"right";case t:return"top";case n:return"bottom";default:throw Error("unreachable")}}(o,n.getBoundingClientRect());c(((t=[...function(e,r,t=5){let n=[];switch(r){case"top":n.push({x:e.x-t,y:e.y+t},{x:e.x+t,y:e.y+t});break;case"bottom":n.push({x:e.x-t,y:e.y-t},{x:e.x+t,y:e.y-t});break;case"left":n.push({x:e.x+t,y:e.y-t},{x:e.x+t,y:e.y+t});break;case"right":n.push({x:e.x-t,y:e.y-t},{x:e.x-t,y:e.y+t})}return n}(o,i),...function(e){let{top:r,right:t,bottom:n,left:o}=e;return[{x:o,y:r},{x:t,y:r},{x:t,y:n},{x:o,y:n}]}(r.getBoundingClientRect())].slice()).sort((e,r)=>e.x<r.x?-1:e.x>r.x?1:e.y<r.y?-1:+(e.y>r.y)),function(e){if(e.length<=1)return e.slice();let r=[];for(let t=0;t<e.length;t++){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}r.pop();let t=[];for(let r=e.length-1;r>=0;r--){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}return t.pop(),1===r.length&&1===t.length&&r[0].x===t[0].x&&r[0].y===t[0].y?r:r.concat(t)}(t))),h(!0)},[h]);return o.useEffect(()=>()=>m(),[m]),o.useEffect(()=>{if(u&&f){let e=e=>v(e,f),r=e=>v(e,u);return u.addEventListener("pointerleave",e),f.addEventListener("pointerleave",r),()=>{u.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",r)}}},[u,f,v,m]),o.useEffect(()=>{if(d){let e=e=>{let r=e.target,t={x:e.clientX,y:e.clientY},n=(null==u?void 0:u.contains(r))||(null==f?void 0:f.contains(r)),o=!function(e,r){let{x:t,y:n}=e,o=!1;for(let e=0,i=r.length-1;e<r.length;i=e++){let a=r[e],l=r[i],s=a.x,d=a.y,c=l.x,u=l.y;d>n!=u>n&&t<(c-s)*(n-d)/(u-d)+s&&(o=!o)}return o}(t,d);n?m():o&&(m(),p())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,f,d,p,m]),(0,t.jsx)(F,{...e,ref:s})}),[A,S]=m(w,{isInside:!1}),k=((r=({children:e})=>(0,t.jsx)(t.Fragment,{children:e})).displayName="TooltipContent.Slottable",r.__radixId=p,r),F=o.forwardRef((e,r)=>{let{__scopeTooltip:n,children:i,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:c,...p}=e,f=j(I,n),h=v(n),{onClose:m}=f;return o.useEffect(()=>(document.addEventListener(b,m),()=>document.removeEventListener(b,m)),[m]),o.useEffect(()=>{if(f.trigger){let e=e=>{let r=e.target;null!=r&&r.contains(f.trigger)&&m()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[f.trigger,m]),(0,t.jsx)(l.D,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:m,children:(0,t.jsxs)(d.C,{"data-state":f.stateAttribute,...h,...p,ref:r,style:{...p.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(k,{children:i}),(0,t.jsx)(A,{scope:n,isInside:!0,children:(0,t.jsx)(u.R,{id:f.contentId,role:"tooltip",children:a||i})})]})})});D.displayName=I;var V="TooltipArrow",L=o.forwardRef((e,r)=>{let{__scopeTooltip:n,...o}=e,i=v(n);return S(V,n).isInside?null:(0,t.jsx)(d.A,{...i,...o,ref:r})});L.displayName=V;let M=o.forwardRef(({className:e="",sideOffset:r=4,...o},i)=>(0,t.jsx)(D,{ref:i,sideOffset:r,className:(0,n.c)("_tooltipContent_1frzu_1",e),...o})),$=o.forwardRef(({className:e,...r},o)=>(0,t.jsx)(L,{ref:o,className:(0,n.c)("_tooltipArrow_1frzu_37",e),...r}));$.displayName=L.displayName,e.s(["T",0,({children:e,content:r,providerProps:n,contentProps:o,showArrow:i=!0,asChild:a=!1,...l})=>(0,t.jsx)(x,{...n,children:(0,t.jsxs)(R,{...l,children:[(0,t.jsx)(N,{asChild:a,children:e}),(0,t.jsxs)(M,{...o,children:[i&&(0,t.jsx)($,{}),r]})]})}),"a",0,M,"b",0,$])},567776,e=>{"use strict";var r=e.i(271645),t=e.i(690591),n=e.i(530964),o=e.i(848764),i=e.i(953084);e.i(50902);var a=e.i(843476),l=e.i(120494),s=e.i(716026),d=Symbol("radix.slottable");function c(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
2{var n,i;let l,s,d,u=(i=n=`Primitive.${t}`,(l=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var a,l,s;let e,d,c=(d=(e=null==(l=Object.getOwnPropertyDescriptor((a=n).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(d=(e=null==(s=Object.getOwnPropertyDescriptor(a,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref,u=function(e,r){let t={...r};for(let n in r){let o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...e)=>{let r=i(...e);return o(...e),r}:o&&(t[n]=o):"style"===n?t[n]={...o,...i}:"className"===n&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,o.c)(t,c):c),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${i}.SlotClone`,s=l,(d=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),l=i.find(c);if(l){let e=l.props.children,n=i.map(t=>t===l?r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null:t);return(0,a.jsx)(s,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,a.jsx)(s,{...o,ref:t,children:n})})).displayName=`${n}.Slot`,d),p=r.forwardRef((e,r)=>{let{asChild:n,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(n?u:t,{...o,ref:r})});return p.displayName=`Primitive.${t}`,{...e,[t]:p}},{}),p="rovingFocusGroup.onEntryFocus",f={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[m,v,_]=(0,n.c)(h),[b,y]=(0,t.c)(h,[_]),[g,x]=b(h),w=r.forwardRef((e,r)=>(0,a.jsx)(m.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(m.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,a.jsx)(C,{...e,ref:r})})}));w.displayName=h;var C=r.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,orientation:d,loop:c=!1,dir:m,currentTabStopId:_,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:y,onEntryFocus:x,preventScrollOnEntryFocus:w=!1,...C}=e,j=r.useRef(null),R=(0,o.u)(n,j),E=(0,s.u)(m),[T,P]=(0,t.u)({prop:_,defaultProp:b??null,onChange:y,caller:h}),[I,D]=r.useState(!1),O=(0,l.u)(x),A=v(i),S=r.useRef(!1),[k,F]=r.useState(0);return r.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(p,O),()=>e.removeEventListener(p,O)},[O]),(0,a.jsx)(g,{scope:i,orientation:d,dir:E,loop:c,currentTabStopId:T,onItemFocus:r.useCallback(e=>P(e),[P]),onItemShiftTab:r.useCallback(()=>D(!0),[]),onFocusableItemAdd:r.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>F(e=>e-1),[]),children:(0,a.jsx)(u.div,{tabIndex:I||0===k?-1:0,"data-orientation":d,...C,ref:R,style:{outline:"none",...e.style},onMouseDown:(0,t.a)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,t.a)(e.onFocus,e=>{let r=!S.current;if(e.target===e.currentTarget&&r&&!I){let r=new CustomEvent(p,f);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=A().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===T),...e].filter(Boolean).map(e=>e.ref.current),w)}}S.current=!1}),onBlur:(0,t.a)(e.onBlur,()=>D(!1))})})}),j="RovingFocusGroupItem",R=r.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,focusable:l=!0,active:s=!1,tabStopId:d,children:c,...p}=e,f=(0,i.u)(),h=d||f,_=x(j,o),b=_.currentTabStopId===h,y=v(o),{onFocusableItemAdd:g,onFocusableItemRemove:w,currentTabStopId:C}=_;return r.useEffect(()=>{if(l)return g(),()=>w()},[l,g,w]),(0,a.jsx)(m.ItemSlot,{scope:o,id:h,focusable:l,active:s,children:(0,a.jsx)(u.span,{tabIndex:b?0:-1,"data-orientation":_.orientation,...p,ref:n,onMouseDown:(0,t.a)(e.onMouseDown,e=>{l?_.onItemFocus(h):e.preventDefault()}),onFocus:(0,t.a)(e.onFocus,()=>_.onItemFocus(h)),onKeyDown:(0,t.a)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void _.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return E[o]}(e,_.orientation,_.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=y().filter(e=>
2e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var t,n;"prev"===r&&o.reverse();let i=o.indexOf(e.currentTarget);o=_.loop?(t=o,n=i+1,t.map((e,r)=>t[(n+r)%t.length])):o.slice(i+1)}setTimeout(()=>N(o))}}),children:"function"==typeof c?c({isCurrentTabStop:b,hasTabStop:null!=C}):c})})});R.displayName=j;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function N(e,r=!1){let t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}e.s(["I",0,R,"R",0,w,"c",0,y])}]); 3 4//# debugId=5ad7275d-49df-df55-564e-fe6870f1be9b
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.