1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9467],{834:(e,t,n)=>{n.d(t,{m:()=>r});function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}},1052:(e,t,n)=>{n.d(t,{b:()=>u});var r=n(8914);n(5983);var o=n(333),l=n(8666),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:o,...i}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,l.jsx)(o?n:t,{...i,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{}),a=r.forwardRef((e,t)=>(0,l.jsx)(i.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var u=a},1172:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},1519:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(8914);function o(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},1764:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},2036:(e,t,n)=>{n.d(t,{X:()=>l});var r=n(8914),o=n(5222);function l(e){let[t,n]=r.useState(void 0);return(0,o.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},2183:(e,t,n)=>{n.d(t,{hO:()=>u,sG:()=>a});var r=n(8914),o=n(5983),l=n(7695),i=n(8666),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=r.forwardRef((e,n)=>{let{asChild:r,...o}=e,a=r?l.DX:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...o,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},3651:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("CircleAlert",[["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"}]])},4296:(e,t,n)=>{n.d(t,{i:()=>l});var r=n(8914),o=n(8199);function l({prop:e,defaultProp:t,onChange:n=()=>{}}){let[l,i]=function({defaultProp:e,onChange:t}){let n=r.useState(e),[l]=n,i=r.useRef(l),a=(0,o.c)(t);return r.useEffect(()=>{i.current!==l&&(a(l),i.current=l)},[l,i,a]),n}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:l,s=(0,o.c)(n);return[u,r.useCallback(t=>{if(a){let n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[a,e,i,s])]}},5222:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(8914),o=globalThis?.document?r.useLayoutEffect:()=>{}},7131:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},7695:(e,t,n)=>{n.d(t,{DX:()=>i});var r=n(8914),o=n(9879),l=n(8666),i=r.forwardRef((e,t)=>{let{children:n,...o}=e,i=r.Children.toArray(n),u=i.find(s);if(u){let e=u.props.children,n=i.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...o,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,l.jsx)(a,{...o,ref:t,children:n})});i.displayName="Slot";var a=r.forwardRef((e,t)=>{let{children:n,...l}=e;if(r.isValidElement(n)){let e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}(n);return r.cloneElement(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],l=t[r];/^on[A-Z]/.test(r)?o&&l?n[r]=(...e)=>{l(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...l}
1:"className"===r&&(n[r]=[o,l].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props),ref:t?(0,o.t)(t,e):e})}return r.Children.count(n)>1?r.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return r.isValidElement(e)&&e.type===u}},8047:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},8063:(e,t,n)=>{n.d(t,{UC:()=>nh,In:()=>np,q7:()=>ng,VF:()=>nw,p4:()=>ny,ZL:()=>nm,bL:()=>nc,wn:()=>nb,PP:()=>nx,l9:()=>nd,WT:()=>nf,LM:()=>nv});var r,o=n(8914),l=n.t(o,2),i=n(5983);function a(e,[t,n]){return Math.min(n,Math.max(t,e))}var u=n(834),s=n(9349),c=n(9879),d=n(7695),f=n(8666),p=o.createContext(void 0),m=n(2183),h=n(8199),v="dismissableLayer.update",g=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y=o.forwardRef((e,t)=>{var n,l;let{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:a,onPointerDownOutside:s,onFocusOutside:d,onInteractOutside:p,onDismiss:y,...b}=e,E=o.useContext(g),[S,C]=o.useState(null),R=null!=(l=null==S?void 0:S.ownerDocument)?l:null==(n=globalThis)?void 0:n.document,[,A]=o.useState({}),P=(0,c.s)(t,e=>C(e)),L=Array.from(E.layers),[T]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),N=L.indexOf(T),k=S?L.indexOf(S):-1,j=E.layersWithOutsidePointerEventsDisabled.size>0,D=k>=N,M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,h.c)(e),l=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!l.current){let t=function(){x("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=t,n.addEventListener("click",i.current,{once:!0})):t()}else n.removeEventListener("click",i.current);l.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>l.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));D&&!n&&(null==s||s(e),null==p||p(e),e.defaultPrevented||null==y||y())},R),O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null==(t=globalThis)?void 0:t.document,r=(0,h.c)(e),l=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!l.current&&x("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>l.current=!0,onBlurCapture:()=>l.current=!1}}(e=>{let t=e.target;![...E.branches].some(e=>e.contains(t))&&(null==d||d(e),null==p||p(e),e.defaultPrevented||null==y||y())},R);return!function(e,t=globalThis?.document){let n=(0,h.c)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{k===E.layers.size-1&&(null==a||a(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},R),o.useEffect(()=>{if(S)return i&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(S)),E.layers.add(S),w(),()=>{i&&1===E.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r)}},[S,R,i,E]),o.useEffect(()=>()=>{S&&(E.layers.delete(S),E.layersWithOutsidePointerEventsDisabled.delete(S),w())},[S,E]),o.useEffect(()=>{let e=()=>A({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,f.jsx)(m.sG.div,{...b,ref:P,style:{pointerEvents:j?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,u.m)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,u.m)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,u.m)(e.onPointerDownCapture,M.onPointerDownCapture)})});function w(){let e=new CustomEvent(v);document.dispatchEvent(e)}function x(e,t,n,r){let{discrete:o}=r,l=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&l.addEventListener(e,t,{once:!0}),o?(0,m.hO)(l,i):l.dispatchEvent(i)}y.displayName="DismissableLayer",o.forwardRef((e,t)=>
1{let n=o.useContext(g),r=o.useRef(null),l=(0,c.s)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,f.jsx)(m.sG.div,{...e,ref:l})}).displayName="DismissableLayerBranch";var b=0;function E(){let 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 S="focusScope.autoFocusOnMount",C="focusScope.autoFocusOnUnmount",R={bubbles:!1,cancelable:!0},A=o.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:l,onUnmountAutoFocus:i,...a}=e,[u,s]=o.useState(null),d=(0,h.c)(l),p=(0,h.c)(i),v=o.useRef(null),g=(0,c.s)(t,e=>s(e)),y=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(r){let e=function(e){if(y.paused||!u)return;let t=e.target;u.contains(t)?v.current=t:T(v.current,{select:!0})},t=function(e){if(y.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||T(v.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&T(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,y.paused]),o.useEffect(()=>{if(u){N.add(y);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(S,R);u.addEventListener(S,d),u.dispatchEvent(t),t.defaultPrevented||(function(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(T(r,{select:t}),document.activeElement!==n)return}(P(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&T(u))}return()=>{u.removeEventListener(S,d),setTimeout(()=>{let t=new CustomEvent(C,R);u.addEventListener(C,p),u.dispatchEvent(t),t.defaultPrevented||T(null!=e?e:document.body,{select:!0}),u.removeEventListener(C,p),N.remove(y)},0)}}},[u,d,p,y]);let w=o.useCallback(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,l]=function(e){let t=P(e);return[L(t,e),L(t.reverse(),e)]}(t);r&&l?e.shiftKey||o!==l?e.shiftKey&&o===r&&(e.preventDefault(),n&&T(l,{select:!0})):(e.preventDefault(),n&&T(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,f.jsx)(m.sG.div,{tabIndex:-1,...a,ref:g,onKeyDown:w})});function P(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function L(e,t){for(let n of e)if(!function(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function T(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}A.displayName="FocusScope";var N=function(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=k(e,t)).unshift(t)},remove(t){var n;null==(n=(e=k(e,t))[0])||n.resume()}}}();function k(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var j=n(5222),D=l["useId".toString()]||(()=>void 0),M=0;function O(e){let[t,n]=o.useState(D());return(0,j.N)(()=>{e||n(e=>e??String(M++))},[e]),e||(t?`radix-${t}`:"")}let I=["top","right","bottom","left"],F=Math.min,H=Math.max,W=Math.round,_=Math.floor,B=e=>({x:e,y:e}),V={left:"right",right:"left",bottom:"top",top:"bottom"},z={start:"end",end:"start"};function G(e,t){return"function"==typeof e?e(t):e}function K(e){return e.split("-")[0]}function U(e){return e.split("-")[1]}function X(e){return"x"===e?"y":"x"}function q(e){return"y"===e?"height":"width"}let $=new Set(["top","bottom"]);function Y(e){return $.has(K(e))?"y":"x"}function Z(e){return e.replace(/start|end/g,e=>z[e])}let J=["left","right"],Q=["right","left"],ee=["top","bottom"],et=["bottom","top"];function en(e){return e.replace(/left|right|bottom|top/g,e=>V[e])}function er(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function eo(e){let{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 el(e,t,n){let r,{reference:o,floating:l}=e,i=Y(t),a=X(Y(t)),u=q(a),s=K(t),c="y"===i,d=o.x+o.width/2-l.width/2,f=o.y+o.height/2-l.height/2,p=o[u]/2-l[u]/2;switch(s){case"top":r={x:d,y:o.y-l.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-l.width,y:f};break;default:r={x:o.x,y:o.y}}switch(U(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let ei=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:l=[],platform:i}=n,a=l.filter(Boolean),u=await (null==i.isRTL?void 0:i.isRTL(t)),s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=el(s,r,u),f=r,p={},m=0;for(let n=0;n<a.length;n++){let{name:l,fn:h}=a[n],{x:v,y:g,data:y,reset:w}=await h({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:s,platform:i,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=g?g:d,p={...p,[l]:{...p[l],...y}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(f=w.placement),w.rects&&(s=!0===w.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:d}=el(s,f,u)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function ea(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:l,rects:i,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=G(t,e),m=er(p),h=a[f?"floating"===d?"reference":"floating":d],v=eo(await l.getClippingRect
1({element:null==(n=await (null==l.isElement?void 0:l.isElement(h)))||n?h:h.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===d?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await (null==l.getOffsetParent?void 0:l.getOffsetParent(a.floating)),w=await (null==l.isElement?void 0:l.isElement(y))&&await (null==l.getScale?void 0:l.getScale(y))||{x:1,y:1},x=eo(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:u}):g);return{top:(v.top-x.top+m.top)/w.y,bottom:(x.bottom-v.bottom+m.bottom)/w.y,left:(v.left-x.left+m.left)/w.x,right:(x.right-v.right+m.right)/w.x}}function eu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function es(e){return I.some(t=>e[t]>=0)}let ec=new Set(["left","top"]);async function ed(e,t){let{placement:n,platform:r,elements:o}=e,l=await (null==r.isRTL?void 0:r.isRTL(o.floating)),i=K(n),a=U(n),u="y"===Y(n),s=ec.has(i)?-1:1,c=l&&u?-1:1,d=G(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),u?{x:p*c,y:f*s}:{x:f*s,y:p*c}}function ef(){return"undefined"!=typeof window}function ep(e){return ev(e)?(e.nodeName||"").toLowerCase():"#document"}function em(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eh(e){var t;return null==(t=(ev(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ev(e){return!!ef()&&(e instanceof Node||e instanceof em(e).Node)}function eg(e){return!!ef()&&(e instanceof Element||e instanceof em(e).Element)}function ey(e){return!!ef()&&(e instanceof HTMLElement||e instanceof em(e).HTMLElement)}function ew(e){return!!ef()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof em(e).ShadowRoot)}let ex=new Set(["inline","contents"]);function eb(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ej(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ex.has(o)}let eE=new Set(["table","td","th"]),eS=[":popover-open",":modal"];function eC(e){return eS.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let eR=["transform","translate","scale","rotate","perspective"],eA=["transform","translate","scale","rotate","perspective","filter"],eP=["paint","layout","strict","content"];function eL(e){let t=eT(),n=eg(e)?ej(e):e;return eR.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||eA.some(e=>(n.willChange||"").includes(e))||eP.some(e=>(n.contain||"").includes(e))}function eT(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let eN=new Set(["html","body","#document"]);function ek(e){return eN.has(ep(e))}function ej(e){return em(e).getComputedStyle(e)}function eD(e){return eg(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eM(e){if("html"===ep(e))return e;let t=e.assignedSlot||e.parentNode||ew(e)&&e.host||eh(e);return ew(t)?t.host:t}function eO(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eM(t);return ek(n)?t.ownerDocument?t.ownerDocument.body:t.body:ey(n)&&eb(n)?n:e(n)}(e),l=o===(null==(r=e.ownerDocument)?void 0:r.body),i=em(o);if(l){let e=eI(i);return t.concat(i,i.visualViewport||[],eb(o)?o:[],e&&n?eO(e):[])}return t.concat(o,eO(o,[],n))}function eI(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eF(e){let t=ej(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=ey(e),l=o?e.offsetWidth:n,i=o?e.offsetHeight:r,a=W(n)!==l||W(r)!==i;return a&&(n=l,r=i),{width:n,height:r,$:a}}function eH(e){return eg(e)?e:e.contextElement}function eW(e){let t=eH(e);if(!ey(t))return B(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:l}=eF(t),i=(l?W(n.width):n.width)/r,a=(l?W(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}let e_=B(0);function eB(e){let t=em(e);
1return eT()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:e_}function eV(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),i=eH(e),a=B(1);t&&(r?eg(r)&&(a=eW(r)):a=eW(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===em(i))&&o)?eB(i):B(0),s=(l.left+u.x)/a.x,c=(l.top+u.y)/a.y,d=l.width/a.x,f=l.height/a.y;if(i){let e=em(i),t=r&&eg(r)?em(r):r,n=e,o=eI(n);for(;o&&r&&t!==n;){let e=eW(o),t=o.getBoundingClientRect(),r=ej(o),l=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,d*=e.x,f*=e.y,s+=l,c+=i,o=eI(n=em(o))}}return eo({width:d,height:f,x:s,y:c})}function ez(e,t){let n=eD(e).scrollLeft;return t?t.left+n:eV(eh(e)).left+n}function eG(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ez(e,n),y:n.top+t.scrollTop}}let eK=new Set(["absolute","fixed"]);function eU(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=em(e),r=eh(e),o=n.visualViewport,l=r.clientWidth,i=r.clientHeight,a=0,u=0;if(o){l=o.width,i=o.height;let e=eT();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let s=ez(r);if(s<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(r.clientWidth-t.clientWidth-o);i<=25&&(l-=i)}else s<=25&&(l+=s);return{width:l,height:i,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=eh(e),n=eD(e),r=e.ownerDocument.body,o=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),l=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-n.scrollLeft+ez(e),a=-n.scrollTop;return"rtl"===ej(r).direction&&(i+=H(t.clientWidth,r.clientWidth)-o),{width:o,height:l,x:i,y:a}}(eh(e));else if(eg(t))r=function(e,t){let n=eV(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,l=ey(e)?eW(e):B(1),i=e.clientWidth*l.x,a=e.clientHeight*l.y;return{width:i,height:a,x:o*l.x,y:r*l.y}}(t,n);else{let n=eB(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return eo(r)}function eX(e){return"static"===ej(e).position}function eq(e,t){if(!ey(e)||"fixed"===ej(e).position)return null;if(t)return t(e);let n=e.offsetParent;return eh(e)===n&&(n=n.ownerDocument.body),n}function e$(e,t){var n;let r=em(e);if(eC(e))return r;if(!ey(e)){let t=eM(e);for(;t&&!ek(t);){if(eg(t)&&!eX(t))return t;t=eM(t)}return r}let o=eq(e,t);for(;o&&(n=o,eE.has(ep(n)))&&eX(o);)o=eq(o,t);return o&&ek(o)&&eX(o)&&!eL(o)?r:o||function(e){let t=eM(e);for(;ey(t)&&!ek(t);){if(eL(t))return t;if(eC(t))break;t=eM(t)}return null}(e)||r}let eY=async function(e){let t=this.getOffsetParent||e$,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=ey(t),o=eh(t),l="fixed"===n,i=eV(e,!0,l,t),a={scrollLeft:0,scrollTop:0},u=B(0);if(r||!r&&!l)if(("body"!==ep(t)||eb(o))&&(a=eD(t)),r){let e=eV(t,!0,l,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=ez(o));l&&!r&&o&&(u.x=ez(o));let s=!o||r||l?B(0):eG(o,a);return{x:i.left+a.scrollLeft-u.x-s.x,y:i.top+a.scrollTop-u.y-s.y,width:i.width,height:i.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eZ={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,l="fixed"===o,i=eh(r),a=!!t&&eC(t.floating);if(r===i||a&&l)return n;let u={scrollLeft:0,scrollTop:0},s=B(1),c=B(0),d=ey(r);if((d||!d&&!l)&&(("body"!==ep(r)||eb(i))&&(u=eD(r)),ey(r))){let e=eV(r);s=eW(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!i||d||l?B(0):eG(i,u);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+f.x,y:n.y*s.y-u.scrollTop*s.y+c.y+f.y}},getDocumentElement:eh,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,l=[..."clippingAncestors"===n?eC(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eO(e,[],!1).filter(e=>eg(e)&&"body"!==ep(e)),o=null,l="fixed"===ej(e).position,i=l?eM(e):e;for(;eg(i)&&!ek(i);){let t=ej(i),n=eL(i);n||"fixed"!==t.position||(o=null),(l?!n&&!o:!n&&"static"===t.position&&!!o&&eK.has(o.position)||eb(i)&&!n&&function e(t,n){let r=eM(t);return!(r===n||!eg(r)||ek(r))&&("fixed"===ej(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=eM(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=l[0],a=l.reduce((e,n)=>{let r=eU(t,n,o);return e.top=H(r.top,e.top),e.right=F(r.right,e.right),e.bottom=F(r.bottom,e.bottom),e.left=H(r.left,e.left),e},eU(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:e$,getElementRects:eY,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eF(e);return{width:t,height:n}},getScale:eW,isElement:eg,isRTL:function(e){return"rtl"===ej(e).direction}};function eJ(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eQ=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:l,platform:i,elements:a,middlewareData:u}=t,{element:s,padding:c=0}=G(e,t)||{};if(null==s)return{};let d=er(c),f={x:n,y:r},p=X(Y(o)),m=q(p),h=await i.getDimensions(s),v="y"===p,g=v?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[p]-f[p]-l.floating[m],w=f[p]-l.reference[p],x=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s)),b=x?x[g]:0;b&&await (null==i.isElement?void 0:i.isElement(x))||(b=a.floating[g]||l.floating[m]);let E=b/2-h[m]/2-1,S=F(d[v?"top":"left"],E),C=F(d[v?"bottom":"right"],E),R=b-h[m]-C,A=b/2-h[m]/2+(y/2-w/2),P=H(S,F(A,R)),L=!u.arrow&&null!=U(o)&&A!==P&&l.reference[m]/2-(A<S?S:C)-h[m]/2<0,T=L?A<S?A-S:A-R:0;return{[p]:f[p]+T,data:{[p]:P,centerOffset:A-P-T,...L&&{alignmentOffset:T}},reset:L}}});var e0="undefined"!=typeof document?o.useLayoutEffect:function(){};function e1(e,t){let n,r,o;
1if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!e1(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!e1(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function e2(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e9(e,t){let n=e2(e);return Math.round(t*n)/n}function e6(e){let t=o.useRef(e);return e0(()=>{t.current=e}),t}var e8=o.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...l}=e;return(0,f.jsx)(m.sG.svg,{...l,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,f.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e8.displayName="Arrow";var e5=n(2036),e4="Popper",[e3,e7]=(0,s.A)(e4),[te,tt]=e3(e4),tn=e=>{let{__scopePopper:t,children:n}=e,[r,l]=o.useState(null);return(0,f.jsx)(te,{scope:t,anchor:r,onAnchorChange:l,children:n})};tn.displayName=e4;var tr="PopperAnchor",to=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...l}=e,i=tt(tr,n),a=o.useRef(null),u=(0,c.s)(t,a);return o.useEffect(()=>{i.onAnchorChange((null==r?void 0:r.current)||a.current)}),r?null:(0,f.jsx)(m.sG.div,{...l,ref:u})});to.displayName=tr;var tl="PopperContent",[ti,ta]=e3(tl),tu=o.forwardRef((e,t)=>{var n,r,l,a,u,s,d,p;let{__scopePopper:v,side:g="bottom",sideOffset:y=0,align:w="center",alignOffset:x=0,arrowPadding:b=0,avoidCollisions:E=!0,collisionBoundary:S=[],collisionPadding:C=0,sticky:R="partial",hideWhenDetached:A=!1,updatePositionStrategy:P="optimized",onPlaced:L,...T}=e,N=tt(tl,v),[k,D]=o.useState(null),M=(0,c.s)(t,e=>D(e)),[O,I]=o.useState(null),W=(0,e5.X)(O),B=null!=(d=null==W?void 0:W.width)?d:0,V=null!=(p=null==W?void 0:W.height)?p:0,z="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},$=Array.isArray(S)?S:[S],er=$.length>0,eo={padding:z,boundary:$.filter(tf),altBoundary:er},{refs:el,floatingStyles:ef,placement:ep,isPositioned:em,middlewareData:ev}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:l,elements:{reference:a,floating:u}={},transform:s=!0,whileElementsMounted:c,open:d}=e,[f,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,h]=o.useState(r);e1(m,r)||h(r);let[v,g]=o.useState(null),[y,w]=o.useState(null),x=o.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),b=o.useCallback(e=>{e!==R.current&&(R.current=e,w(e))},[]),E=a||v,S=u||y,C=o.useRef(null),R=o.useRef(null),A=o.useRef(f),P=null!=c,L=e6(c),T=e6(l),N=e6(d),k=o.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:m};T.current&&(e.platform=T.current),((e,t,n)=>{let r=new Map,o={platform:eZ,...n},l={...o.platform,_c:r};return ei(e,t,{...o,platform:l})})(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};j.current&&!e1(A.current,t)&&(A.current=t,i.flushSync(()=>{p(t)}))})},[m,t,n,T,N]);e0(()=>{!1===d&&A.current.isPositioned&&(A.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[d]);let j=o.useRef(!1);e0(()=>(j.current=!0,()=>{j.current=!1}),[]),e0(()=>{if(E&&(C.current=E),S&&(R.current=S),E&&S){if(L.current)return L.current(E,S,k);k()}},[E,S,k,L,P]);let D=o.useMemo(()=>({reference:C,floating:R,setReference:x,setFloating:b}),[x,b]),M=o.useMemo(()=>({reference:E,floating:S}),[E,S]),O=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=e9(M.floating,f.x),r=e9(M.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...e2(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,M.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:k,refs:D,elements:M,floatingStyles:O}),[f,k,D,M,O])}({strategy:"fixed",placement:g+("center"!==w?"-"+w:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:l=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,c=eH(e),d=l||i?[...c?eO(c):[],...eO(t)]:[];
1d.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});let f=c&&u?function(e,t){let n,r=null,o=eh(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function i(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),l();let s=e.getBoundingClientRect(),{left:c,top:d,width:f,height:p}=s;if(a||t(),!f||!p)return;let m=_(d),h=_(o.clientWidth-(c+f)),v={rootMargin:-m+"px "+-h+"px "+-_(o.clientHeight-(d+p))+"px "+-_(c)+"px",threshold:H(0,F(1,u))||1},g=!0;function y(t){let r=t[0].intersectionRatio;if(r!==u){if(!g)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||eJ(s,e.getBoundingClientRect())||i(),g=!1}try{r=new IntersectionObserver(y,{...v,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,v)}r.observe(e)}(!0),l}(c,n):null,p=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!s&&m.observe(c),m.observe(t));let h=s?eV(e):null;return s&&function t(){let r=eV(e);h&&!eJ(h,r)&&n(),h=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;d.forEach(e=>{l&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===P})},elements:{reference:N.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:l,placement:i,middlewareData:a}=t,u=await ed(t,e);return i===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:l+u.y,data:{...u,placement:i}}}}}(e),options:[e,t]}))({mainAxis:y+V,alignmentAxis:x}),E&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:l=!0,crossAxis:i=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=G(e,t),s={x:n,y:r},c=await ea(t,u),d=Y(K(o)),f=X(d),p=s[f],m=s[d];if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+c[e],r=p-c[t];p=H(n,F(p,r))}if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=m+c[e],r=m-c[t];m=H(n,F(m,r))}let h=a.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:l,[d]:i}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:l,middlewareData:i}=t,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=G(e,t),c={x:n,y:r},d=Y(o),f=X(d),p=c[f],m=c[d],h=G(a,t),v="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){let e="y"===f?"height":"width",t=l.reference[f]-l.floating[e]+v.mainAxis,n=l.reference[f]+l.reference[e]-v.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var g,y;let e="y"===f?"width":"height",t=ec.has(K(o)),n=l.reference[d]-l.floating[e]+(t&&(null==(g=i.offset)?void 0:g[d])||0)+(t?0:v.crossAxis),r=l.reference[d]+l.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[d])||0)-(t?v.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}}(e),options:[e,t]}))():void 0,...eo}),E&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,l,i;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:h,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...w}=G(e,t);if(null!=(n=u.arrow)&&n.alignmentOffset)return{};let x=K(a),b=Y(c),E=K(c)===c,S=await (null==d.isRTL?void 0:d.isRTL(f.floating)),C=h||(E||!y?[en(c)]:function(e){let t=en(e);return[Z(e),t,Z(t)]}(c)),R="none"!==g;!h&&R&&C.push(...function(e,t,n,r){let o=U(e),l=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?Q:J;return t?J:Q;case"left":case"right":return t?ee:et;default:return[]}}(K(e),"start"===n,r);return o&&(l=l.map(e=>e+"-"+o),t&&(l=l.concat(l.map(Z)))),l}(c,y,g,S));let A=[c,...C],P=await ea(t,w),L=[],T=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&L.push(P[x]),m){let e=function(e,t,n){void 0===n&&(n=!1);let r=U(e),o=X(Y(e)),l=q(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[l]>t.floating[l]&&(i=en(i)),[i,en(i)]}(a,s,S);L.push(P[e[0]],P[e[1]])}if(T=[...T,{placement:a,overflows:L}],!L.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=A[e];if(t&&("alignment"!==m||b===Y(t)||T.every(e=>Y(e.placement)!==b||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=null==(l=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(v){case"bestFit":{let e=null==(i=T.filter(e=>{if(R){let t=Y(e.placement);return t===b||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:i[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}}(e),options:[e,t]}))({...eo}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let o,l,{placement:i,rects:a,platform:u,elements:s}=t,{apply:c=()=>{},...d}=G(e,t),f=await ea(t,d),p=K(i),m=U(i),h="y"===Y(i),{width:v,height:g}=a.floating;"top"===p||"bottom"===p?(o=p,l=m===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(l=p,o="end"===m?"top":"bottom");let y=g-f.top-f.bottom,w=v-f.left-f.right,x=F(g-f[o],y),b=F(v-f[l],w),E=!t.middlewareData.shift,S=x,C=b;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(C=w),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(S=y),E&&!m){let e=H(f.left,0),t=H(f.right,0),n=H(f.top,0),r=H(f.bottom,0);h?C=v-2*(0!==e||0!==t?e+t:H(f.left,f.right)):S=g-2*(0!==n||0!==r?n+r:H(f.top,f.bottom))}await c({...t,availableWidth:C,availableHeight:S});let R=await u.getDimensions(s.floating);return v!==R.width||g!==R.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...eo,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:l,height:i}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(l,"px")),a.setProperty("--radix-popper-anchor-height","".concat(i,"px"))}}),O&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eQ({element:n.current,padding:r}).fn(t):{}:n?eQ({element:n,padding:r}).fn(t):{}}}))(e),options:[e,t]}))({element:O,padding:b}),tp({arrowWidth:B,arrowHeight:V}),A&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=G(e,t);switch(r){case"referenceHidden":{let e=eu(await ea(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:es(e)}}}case"escaped":{let e=eu(await ea(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:es(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...eo})]}),[eg,ey]=tm(ep),ew=(0,h.c)(L);(0,j.N)(()=>{em&&(null==ew||ew())},[em,ew]);let ex=null==(n=ev.arrow)?void 0:n.x,eb=null==(r=ev.arrow)?void 0:r.y,eE=(null==(l=ev.arrow)?void 0:l.centerOffset)!==0,[eS,eC]=o.useState();return(0,j.N)(()=>{k&&eC(window.getComputedStyle(k).zIndex)},[k]),(0,f.jsx)("div",{ref:el.setFloating,"data-radix-popper-content-wrapper":"",style:{...ef,transform:em?ef.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eS,"--radix-popper-transform-origin":[null==(a=ev.transformOrigin)?void 0:a.x,null==(u=ev.transformOrigin)?void 0:u.y].join(" "),...(null==(s=ev.hide)?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,f.jsx)(ti,{scope:v,placedSide:eg,onArrowChange:I,arrowX:ex,arrowY:eb,shouldHideArrow:eE,children:(0,f.jsx)(m.sG.div,{"data-side":eg,"data-align":ey,...T,ref:M,style:{...T.style,animation:em?void 0:"none"}})})})});tu.displayName=tl;var ts="PopperArrow",tc={top:"bottom",right:"left",bottom:"top",left:"right"},td=o.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=ta(ts,n),l=tc[o.placedSide];return(0,f.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,f.jsx)(e8,{...r,ref:t,style:{...r.style,display:"block"}})})});function tf(e){return null!==e}td.displayName=ts;var tp=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,l,i;let{placement:a,rects:u,middlewareData:s}=t,c=(null==(n=s.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,m]=tm(a),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!=(l=null==(r=s.arrow)?void 0:r.x)?l:0)+d/2,g=(null!=(i=null==(o=s.arrow)?void 0:o.y)?i:0)+f/2,y="",w="";return"bottom"===p?(y=c?h:"".concat(v,"px"),w="".concat(-f,"px")):"top"===p?(y=c?h:"".concat(v,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=c?h:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+f,"px"),w=c?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function tm(e){let[t,n="center"]=e.split("-");return[t,n]}var th=o.forwardRef((e,t)=>
1{var n,r;let{container:l,...a}=e,[u,s]=o.useState(!1);(0,j.N)(()=>s(!0),[]);let c=l||u&&(null==(r=globalThis)||null==(n=r.document)?void 0:n.body);return c?i.createPortal((0,f.jsx)(m.sG.div,{...a,ref:t}),c):null});th.displayName="Portal";var tv=n(4296),tg=n(1519),ty=o.forwardRef((e,t)=>(0,f.jsx)(m.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));ty.displayName="VisuallyHidden";var tw=n(1100),tx=n(2839),tb=[" ","Enter","ArrowUp","ArrowDown"],tE=[" ","Enter"],tS="Select",[tC,tR,tA]=function(e){let t=e+"CollectionProvider",[n,r]=(0,s.A)(t),[l,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:n}=e,r=o.useRef(null),i=o.useRef(new Map).current;return(0,f.jsx)(l,{scope:t,itemMap:i,collectionRef:r,children:n})};a.displayName=t;let u=e+"CollectionSlot",p=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=i(u,n),l=(0,c.s)(t,o.collectionRef);return(0,f.jsx)(d.DX,{ref:l,children:r})});p.displayName=u;let m=e+"CollectionItemSlot",h="data-radix-collection-item",v=o.forwardRef((e,t)=>{let{scope:n,children:r,...l}=e,a=o.useRef(null),u=(0,c.s)(t,a),s=i(m,n);return o.useEffect(()=>(s.itemMap.set(a,{ref:a,...l}),()=>void s.itemMap.delete(a))),(0,f.jsx)(d.DX,{...{[h]:""},ref:u,children:r})});return v.displayName=m,[{Provider:a,Slot:p,ItemSlot:v},function(t){let n=i(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(h,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(tS),[tP,tL]=(0,s.A)(tS,[tA,e7]),tT=e7(),[tN,tk]=tP(tS),[tj,tD]=tP(tS),tM=e=>{let{__scopeSelect:t,children:n,open:r,defaultOpen:l,onOpenChange:i,value:a,defaultValue:u,onValueChange:s,dir:c,name:d,autoComplete:m,disabled:h,required:v,form:g}=e,y=tT(t),[w,x]=o.useState(null),[b,E]=o.useState(null),[S,C]=o.useState(!1),R=function(e){let t=o.useContext(p);return e||t||"ltr"}(c),[A=!1,P]=(0,tv.i)({prop:r,defaultProp:l,onChange:i}),[L,T]=(0,tv.i)({prop:a,defaultProp:u,onChange:s}),N=o.useRef(null),k=!w||g||!!w.closest("form"),[j,D]=o.useState(new Set),M=Array.from(j).map(e=>e.props.value).join(";");return(0,f.jsx)(tn,{...y,children:(0,f.jsxs)(tN,{required:v,scope:t,trigger:w,onTriggerChange:x,valueNode:b,onValueNodeChange:E,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:O(),value:L,onValueChange:T,open:A,onOpenChange:P,dir:R,triggerPointerDownPosRef:N,disabled:h,children:[(0,f.jsx)(tC.Provider,{scope:t,children:(0,f.jsx)(tj,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{D(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),k?(0,f.jsxs)(na,{"aria-hidden":!0,required:v,tabIndex:-1,name:d,autoComplete:m,value:L,onChange:e=>T(e.target.value),disabled:h,form:g,children:[void 0===L?(0,f.jsx)("option",{value:""}):null,Array.from(j)]},M):null]})})};tM.displayName=tS;var tO="SelectTrigger",tI=o.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...l}=e,i=tT(n),a=tk(tO,n),s=a.disabled||r,d=(0,c.s)(t,a.onTriggerChange),p=tR(n),h=o.useRef("touch"),[v,g,y]=nu(e=>{let t=p().filter(e=>!e.disabled),n=t.find(e=>e.value===a.value),r=ns(t,e,n);void 0!==r&&a.onValueChange(r.value)}),w=e=>{s||(a.onOpenChange(!0),y()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,f.jsx)(to,{asChild:!0,...i,children:(0,f.jsx)(m.sG.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:s,"data-disabled":s?"":void 0,"data-placeholder":ni(a.value)?"":void 0,...l,ref:d,onClick:(0,u.m)(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&w(e)}),onPointerDown:(0,u.m)(l.onPointerDown,e=>{h.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,u.m)(l.onKeyDown,e=>{let t=""!==v.current;
1e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&tb.includes(e.key)&&(w(),e.preventDefault())})})})});tI.displayName=tO;var tF="SelectValue",tH=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:l,placeholder:i="",...a}=e,u=tk(tF,n),{onValueNodeHasChildrenChange:s}=u,d=void 0!==l,p=(0,c.s)(t,u.onValueNodeChange);return(0,j.N)(()=>{s(d)},[s,d]),(0,f.jsx)(m.sG.span,{...a,ref:p,style:{pointerEvents:"none"},children:ni(u.value)?(0,f.jsx)(f.Fragment,{children:i}):l})});tH.displayName=tF;var tW=o.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,f.jsx)(m.sG.span,{"aria-hidden":!0,...o,ref:t,children:r||"â¼"})});tW.displayName="SelectIcon";var t_=e=>(0,f.jsx)(th,{asChild:!0,...e});t_.displayName="SelectPortal";var tB="SelectContent",tV=o.forwardRef((e,t)=>{let n=tk(tB,e.__scopeSelect),[r,l]=o.useState();return((0,j.N)(()=>{l(new DocumentFragment)},[]),n.open)?(0,f.jsx)(tK,{...e,ref:t}):r?i.createPortal((0,f.jsx)(tz,{scope:e.__scopeSelect,children:(0,f.jsx)(tC.Slot,{scope:e.__scopeSelect,children:(0,f.jsx)("div",{children:e.children})})}),r):null});tV.displayName=tB;var[tz,tG]=tP(tB),tK=o.forwardRef((e,t)=>{let{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:i,onPointerDownOutside:a,side:s,sideOffset:p,align:m,alignOffset:h,arrowPadding:v,collisionBoundary:g,collisionPadding:w,sticky:x,hideWhenDetached:S,avoidCollisions:C,...R}=e,P=tk(tB,n),[L,T]=o.useState(null),[N,k]=o.useState(null),j=(0,c.s)(t,e=>
1T(e)),[D,M]=o.useState(null),[O,I]=o.useState(null),F=tR(n),[H,W]=o.useState(!1),_=o.useRef(!1);o.useEffect(()=>{if(L)return(0,tw.Eq)(L)},[L]),o.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!=(e=n[0])?e:E()),document.body.insertAdjacentElement("beforeend",null!=(t=n[1])?t:E()),b++,()=>{1===b&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),b--}},[]);let B=o.useCallback(e=>{let[t,...n]=F().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&N&&(N.scrollTop=0),n===r&&N&&(N.scrollTop=N.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[F,N]),V=o.useCallback(()=>B([D,L]),[B,D,L]);o.useEffect(()=>{H&&V()},[H,V]);let{onOpenChange:z,triggerPointerDownPosRef:G}=P;o.useEffect(()=>{if(L){let e={x:0,y:0},t=t=>{var n,r,o,l;e={x:Math.abs(Math.round(t.pageX)-(null!=(o=null==(n=G.current)?void 0:n.x)?o:0)),y:Math.abs(Math.round(t.pageY)-(null!=(l=null==(r=G.current)?void 0:r.y)?l:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():L.contains(n.target)||z(!1),document.removeEventListener("pointermove",t),G.current=null};return null!==G.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[L,z,G]),o.useEffect(()=>{let e=()=>z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);let[K,U]=nu(e=>{let t=F().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=ns(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),X=o.useCallback((e,t,n)=>{let r=!_.current&&!n;(void 0!==P.value&&P.value===t||r)&&(M(e),r&&(_.current=!0))},[P.value]),q=o.useCallback(()=>null==L?void 0:L.focus(),[L]),$=o.useCallback((e,t,n)=>{let r=!_.current&&!n;(void 0!==P.value&&P.value===t||r)&&I(e)},[P.value]),Y="popper"===r?tX:tU,Z=Y===tX?{side:s,sideOffset:p,align:m,alignOffset:h,arrowPadding:v,collisionBoundary:g,collisionPadding:w,sticky:x,hideWhenDetached:S,avoidCollisions:C}:{};return(0,f.jsx)(tz,{scope:n,content:L,viewport:N,onViewportChange:k,itemRefCallback:X,selectedItem:D,onItemLeave:q,itemTextRefCallback:$,focusSelectedItem:V,selectedItemText:O,position:r,isPositioned:H,searchRef:K,children:(0,f.jsx)(tx.A,{as:d.DX,allowPinchZoom:!0,children:(0,f.jsx)(A,{asChild:!0,trapped:P.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,u.m)(l,e=>{var t;null==(t=P.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,f.jsx)(y,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>P.onOpenChange(!1),children:(0,f.jsx)(Y,{role:"listbox",id:P.contentId,"data-state":P.open?"open":"closed",dir:P.dir,onContextMenu:e=>e.preventDefault(),...R,...Z,onPlaced:()=>W(!0),ref:j,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:(0,u.m)(R.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||U(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=F().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>B(t)),e.preventDefault()}})})})})})})});tK.displayName="SelectContentImpl";var tU=o.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...l}=e,i=tk(tB,n),u=tG(tB,n),[s,d]=o.useState(null),[p,h]=o.useState(null),v=(0,c.s)(t,e=>h(e)),g=tR(n),y=o.useRef(!1),w=o.useRef(!0),{viewport:x,selectedItem:b,selectedItemText:E,focusSelectedItem:S}=u,C=o.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&p&&x&&b&&E){let e=i.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=E.getBoundingClientRect();if("rtl"!==i.dir){let r=o.left-t.left,l=n.left-r,i=e.left-l,u=e.width+i,c=Math.max(u,t.width),d=a(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.left=d+"px"}else{let r=t.right-o.right,l=window.innerWidth-n.right-r,i=window.innerWidth-e.right-l,u=e.width+i,c=Math.max(u,t.width),d=a(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=u+"px",s.style.right=d+"px"}let l=g(),u=window.innerHeight-20,c=x.scrollHeight,d=window.getComputedStyle(p),f=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),h=parseInt(d.borderBottomWidth,10),v=f+m+c+parseInt(d.paddingBottom,10)+h,w=Math.min(5*b.offsetHeight,v),S=window.getComputedStyle(x),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),A=e.top+e.height/2-10,P=b.offsetHeight/2,L=f+m+(b.offsetTop+P);if(L<=A){let e=l.length>0&&b===l[l.length-1].ref.current;s.style.bottom="0px";let t=Math.max(u-A,P+(e?R:0)+(p.clientHeight-x.offsetTop-x.offsetHeight)+h);s.style.height=L+t+"px"}else{let e=l.length>0&&b===l[0].ref.current;s.style.top="0px";let t=Math.max(A,f+x.offsetTop+(e?C:0)+P);s.style.height=t+(v-L)+"px",x.scrollTop=L-A+x.offsetTop}s.style.margin="".concat(10,"px 0"),s.style.minHeight=w+"px",s.style.maxHeight=u+"px",null==r||r(),requestAnimationFrame(()=>y.current=!0)}},[g,i.trigger,i.valueNode,s,p,x,b,E,i.dir,r]);(0,j.N)(()=>C(),[C]);let[R,A]=o.useState();(0,j.N)(()=>{p&&A(window.getComputedStyle(p).zIndex)},[p]);let P=o.useCallback(e=>{e&&!0===w.current&&(C(),null==S||S(),w.current=!1)},[C,S]);return(0,f.jsx)(tq,{scope:n,contentWrapper:s,shouldExpandOnScrollRef:y,onScrollButtonChange:P,children:(0,f.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:R},children:(0,f.jsx)(m.sG.div,{...l,ref:v,style:{boxSizing:"border-box",maxHeight:"100%",...l.style}})})})});tU.displayName="SelectItemAlignedPosition";var tX=o.forwardRef((e,t)=>
1{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...l}=e,i=tT(n);return(0,f.jsx)(tu,{...i,...l,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});tX.displayName="SelectPopperPosition";var[tq,t$]=tP(tB,{}),tY="SelectViewport",tZ=o.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...l}=e,i=tG(tY,n),a=t$(tY,n),s=(0,c.s)(t,i.onViewportChange),d=o.useRef(0);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),(0,f.jsx)(tC.Slot,{scope:n,children:(0,f.jsx)(m.sG.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:s,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,u.m)(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=a;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-20,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let l=o+e,i=Math.min(r,l),a=l-i;n.style.height=i+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});tZ.displayName=tY;var tJ="SelectGroup",[tQ,t0]=tP(tJ);o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=O();return(0,f.jsx)(tQ,{scope:n,id:o,children:(0,f.jsx)(m.sG.div,{role:"group","aria-labelledby":o,...r,ref:t})})}).displayName=tJ;var t1="SelectLabel";o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=t0(t1,n);return(0,f.jsx)(m.sG.div,{id:o.id,...r,ref:t})}).displayName=t1;var t2="SelectItem",[t9,t6]=tP(t2),t8=o.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:l=!1,textValue:i,...a}=e,s=tk(t2,n),d=tG(t2,n),p=s.value===r,[h,v]=o.useState(null!=i?i:""),[g,y]=o.useState(!1),w=(0,c.s)(t,e=>{var t;return null==(t=d.itemRefCallback)?void 0:t.call(d,e,r,l)}),x=O(),b=o.useRef("touch"),E=()=>{l||(s.onValueChange(r),s.onOpenChange(!1))};if(""===r)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,f.jsx)(t9,{scope:n,value:r,disabled:l,textId:x,isSelected:p,onItemTextChange:o.useCallback(e=>{v(t=>{var n;return t||(null!=(n=null==e?void 0:e.textContent)?n:"").trim()})},[]),children:(0,f.jsx)(tC.ItemSlot,{scope:n,value:r,disabled:l,textValue:h,children:(0,f.jsx)(m.sG.div,{role:"option","aria-labelledby":x,"data-highlighted":g?"":void 0,"aria-selected":p&&g,"data-state":p?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...a,ref:w,onFocus:(0,u.m)(a.onFocus,()=>y(!0)),onBlur:(0,u.m)(a.onBlur,()=>y(!1)),onClick:(0,u.m)(a.onClick,()=>{"mouse"!==b.current&&E()}),onPointerUp:(0,u.m)(a.onPointerUp,()=>{"mouse"===b.current&&E()}),onPointerDown:(0,u.m)(a.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:(0,u.m)(a.onPointerMove,e=>{if(b.current=e.pointerType,l){var t;null==(t=d.onItemLeave)||t.call(d)}else"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,u.m)(a.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=d.onItemLeave)||t.call(d)}}),onKeyDown:(0,u.m)(a.onKeyDown,e=>{var t;((null==(t=d.searchRef)?void 0:t.current)===""||" "!==e.key)&&(tE.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});t8.displayName=t2;var t5="SelectItemText",t4=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:l,...a}=e,u=tk(t5,n),s=tG(t5,n),d=t6(t5,n),p=tD(t5,n),[h,v]=o.useState(null),g=(0,c.s)(t,e=>v(e),d.onItemTextChange,e=>{var t;return null==(t=s.itemTextRefCallback)?void 0:t.call(s,e,d.value,d.disabled)}),y=null==h?void 0:h.textContent,w=o.useMemo(()=>(0,f.jsx)("option",{value:d.value,disabled:d.disabled,children:y},d.value),[d.disabled,d.value,y]),{onNativeOptionAdd:x,onNativeOptionRemove:b}=p;return(0,j.N)(()=>(x(w),()=>b(w)),[x,b,w]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(m.sG.span,{id:d.textId,...a,ref:g}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?i.createPortal(a.children,u.valueNode):null]})});t4.displayName=t5;var t3="SelectItemIndicator",t7=o.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e;return t6(t3,n).isSelected?(0,f.jsx)(m.sG.span,{"aria-hidden":!0,...r,ref:t}):null});t7.displayName=t3;var ne="SelectScrollUpButton",nt=o.forwardRef((e,t)=>{let n=tG(ne,e.__scopeSelect),r=t$(ne,e.__scopeSelect),[l,i]=o.useState(!1),a=(0,c.s)(t,r.onScrollButtonChange);return(0,j.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){i(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,f.jsx)(no,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});nt.displayName=ne;var nn="SelectScrollDownButton",nr=o.forwardRef((e,t)=>{let n=tG(nn,e.__scopeSelect),r=t$(nn,e.__scopeSelect),[l,i]=o.useState(!1),a=(0,c.s)(t,r.onScrollButtonChange);return(0,j.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?(0,f.jsx)(no,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});nr.displayName=nn;var no=o.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:r,...l}=e,i=tG("SelectScrollButton",n),a=o.useRef(null),s=tR(n),c=o.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return o.useEffect(()=>()=>c(),[c]),(0,j.N)(()=>{var e;let t=s().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[s]),(0,f.jsx)(m.sG.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:(0,u.m)(l.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(r,50))}),onPointerMove:(0,u.m)(l.onPointerMove,()=>{var e;null==(e=i.onItemLeave)||e.call(i),null===a.current&&(a.current=window.setInterval(r,50))}),onPointerLeave:(0,u.m)(l.onPointerLeave,()=>{c()})})});o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,f.jsx)(m.sG.div,{"aria-hidden":!0,...r,ref:t})}).displayName="SelectSeparator";var nl="SelectArrow";function ni(e){return""===e||void 0===e}o.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=tT(n),l=tk(nl,n),i=tG(nl,n);return l.open&&"popper"===i.position?(0,f.jsx)(td,{...o,...r,ref:t}):null}).displayName=nl;var na=o.forwardRef((e,t)=>{let{value:n,...r}=e,l=o.useRef(null),i=(0,c.s)(t,l),a=(0,tg.Z)(n);return o.useEffect(()=>{let e=l.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(a!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[a,n]),(0,f.jsx)(ty,{asChild:!0,children:(0,f.jsx)("select",{...r,ref:i,defaultValue:n})})});function nu(e){let t=(0,h.c)(e),n=o.useRef(""),r=o.useRef(0),l=o.useCallback(e=>{let o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),i=o.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,l,i]}function ns(e,t,n){var r,o;let l=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=(r=e,o=Math.max(i,0),r.map((e,t)=>r[(o+t)%r.length]));1===l.length&&(a=a.filter(e=>e!==n));let u=a.find(e=>e.textValue.toLowerCase().startsWith(l.toLowerCase()));return u!==n?u:void 0}na.displayName="BubbleSelect";var nc=tM,nd=tI,nf=tH,np=tW,nm=t_,nh=tV,nv=tZ,ng=t8,ny=t4,nw=t7,nx=nt,nb=nr},8199:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(8914);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},8766:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(4569).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},9349:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8914),o=n(8666);function l(e,t=[]){let n=[],i=()=>{let t=n.map(e=>r.createContext(e));return function(n){let o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,l){let i=r.createContext(l),a=n.length;n=[...n,l];let u=t=>{let{scope:n,children:l,...u}=t,s=n?.[e]?.[a]||i,c=r.useMemo(()=>u,Object.values(u));return(0,o.jsx)(s.Provider,{value:c,children:l})};return u.displayName=t+"Provider",[u,function(n,o){let u=o?.[e]?.[a]||i,s=r.useContext(u);if(s)return s;if(void 0!==l)return l;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(i,...t)]}},9879:(e,t,n)=>{n.d(t,{s:()=>i,t:()=>l});var r=n(8914);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function i(...e){return r.useCallback(l(...e),e)}}}]);
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.