PageSourceSearch

https://www.sorteadordebingo.com.br/_next/static/chunks/2524-c09bd79e1a7ae250.js

js sorteadordebingo.com.br collected 2026-10-02 01:18:51 UTC 68,654 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2524],{34792:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(91910).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},14881:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(91910).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},38441:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(91910).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},37761:function(e,t,n){n.d(t,{gm:function(){return i}});var r=n(25529);n(44951);var o=r.createContext(void 0);function i(e){let t=r.useContext(o);return e||t||"ltr"}},84468:function(e,t,n){n.d(t,{I0:function(){return g},XB:function(){return f},fC:function(){return m}});var r,o=n(25529),i=n(27348),l=n(86180),a=n(26915),u=n(52143),c=n(44951),s="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=o.forwardRef((e,t)=>{var n,f;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:b,...x}=e,E=o.useContext(d),[S,C]=o.useState(null),R=null!==(f=null==S?void 0:S.ownerDocument)&&void 0!==f?f:null===(n=globalThis)||void 0===n?void 0:n.document,[,T]=o.useState({}),L=(0,a.e)(t,e=>C(e)),P=Array.from(E.layers),[M]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),j=P.indexOf(M),k=S?P.indexOf(S):-1,A=E.layersWithOutsidePointerEventsDisabled.size>0,N=k>=j,D=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){h("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!N||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==b||b())},R),O=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&h("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==b||b())},R);return!function(e,t=globalThis?.document){let n=(0,u.W)(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==m||m(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))},R),o.useEffect(()=>{if(S)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(S)),E.layers.add(S),v(),()=>{p&&(E.layersWithOutsidePointerEventsDisabled.delete(S),0===E.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=r))}},[S,R,p,E]),o.useEffect(()=>()=>{S&&(E.layers.delete(S),E.layersWithOutsidePointerEventsDisabled.delete(S),v())},[S,E]),o.useEffect(()=>{let e=()=>T({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,c.jsx)(l.WV.div,{...x,ref:L,style:{pointerEvents:A?N?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.Mj)(e.onFocusCapture,O.onFocusCapture),onBlurCapture:(0,i.Mj)(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:(0,i.Mj)(e.onPointerDownCapture,D.onPointerDownCapture)})});f.displayName="DismissableLayer";var p=o.forwardRef((e,t)=>
1{let n=o.useContext(d),r=o.useRef(null),i=(0,a.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(l.WV.div,{...e,ref:i})});function v(){let e=new CustomEvent(s);document.dispatchEvent(e)}function h(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.jH)(i,a):i.dispatchEvent(a)}p.displayName="DismissableLayerBranch";var m=f,g=p},96506:function(e,t,n){n.d(t,{M:function(){return u}});var r,o=n(25529),i=n(52029),l=(r||(r=n.t(o,2)))[" useId ".trim().toString()]||(()=>void 0),a=0;function u(e){let[t,n]=o.useState(l());return(0,i.b)(()=>{e||n(e=>e??String(a++))},[e]),e||(t?`radix-${t}`:"")}},5212:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(25529),o=n(98652),i=n(86180),l=n(52029),a=n(44951),u=r.forwardRef((e,t)=>{var n,u;let{container:c,...s}=e,[d,f]=r.useState(!1);(0,l.b)(()=>f(!0),[]);let p=c||d&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.WV.div,{...s,ref:t}),p):null});u.displayName="Portal"},20514:function(e,t,n){let r,o;n.d(t,{VY:function(){return nA},ZA:function(){return nU},JO:function(){return nT},ck:function(){return nQ},wU:function(){return n5},eT:function(){return n1},__:function(){return nq},h_:function(){return nj},fC:function(){return nx},$G:function(){return n8},u_:function(){return n4},Z0:function(){return n7},xz:function(){return nS},B4:function(){return nR},l_:function(){return nz}});var i,l,a,u,c,s,d,f=n(25529),p=n(98652);function v(e,[t,n]){return Math.min(n,Math.max(t,e))}var h=n(27348),m=n(47474),g=n(26915),y=n(29100),w=n(37761),b=n(84468),x=0,E=null;function S(){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 C=n(86180),R=n(52143),T=n(44951),L="focusScope.autoFocusOnMount",P="focusScope.autoFocusOnUnmount",M={bubbles:!1,cancelable:!0},j=f.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...l}=e,[a,u]=f.useState(null),c=(0,R.W)(o),s=(0,R.W)(i),d=f.useRef(null),p=(0,g.e)(t,e=>u(e)),v=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let e=function(e){if(v.paused||!a)return;let t=e.target;a.contains(t)?d.current=t:N(d.current,{select:!0})},t=function(e){if(v.paused||!a)return;let t=e.relatedTarget;null===t||a.contains(t)||N(d.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&&N(a)});return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,a,v.paused]),f.useEffect(()=>{if(a){D.add(v);let e=document.activeElement;if(!a.contains(e)){let t=new CustomEvent(L,M);a.addEventListener(L,c),a.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(N(r,{select:t}),document.activeElement!==n)return}(k(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&N(a))}return()=>{a.removeEventListener(L,c),setTimeout(()=>{let t=new CustomEvent(P,M);a.addEventListener(P,s),a.dispatchEvent(t),t.defaultPrevented||N(null!=e?e:document.body,{select:!0}),a.removeEventListener(P,s),D.remove(v)},0)}}},[a,c,s,v]);let h=f.useCallback(e=>{if(!n&&!r||v.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=k(e);return[A(t,e),A(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&N(i,{select:!0})):(e.preventDefault(),n&&N(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,v.paused]);return(0,T.jsx)(C.WV.div,{tabIndex:-1,...l,ref:p,onKeyDown:h})});function k(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 A(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 N(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()}}j.displayName="FocusScope";var D=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=O(o,e)).unshift(e)},remove(e){var t;null===(t=(o=O(o,e))[0])||void 0===t||t.resume()}});function O(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var W=n(96506);let I=["top","right","bottom","left"],F=Math.min,V=Math.max,H=Math.round,B=Math.floor,_=e=>({x:e,y:e}
1),z={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e,t){return"function"==typeof e?e(t):e}function X(e){return e.split("-")[0]}function Y(e){return e.split("-")[1]}function U(e){return"x"===e?"y":"x"}function Z(e){return"y"===e?"height":"width"}function q(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function $(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let G=["left","right"],J=["right","left"],Q=["top","bottom"],ee=["bottom","top"];function et(e){let t=X(e);return z[t]+e.slice(t.length)}function en(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function er(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 eo(e,t,n){let r,{reference:o,floating:i}=e,l=q(t),a=U(q(t)),u=Z(a),c=X(t),s="y"===l,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(c){case"top":r={x:d,y:o.y-i.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-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(Y(t)){case"start":r[a]-=p*(n&&s?-1:1);break;case"end":r[a]+=p*(n&&s?-1:1)}return r}async function ei(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=K(t,e),v=en(p),h=a[f?"floating"===d?"reference":"floating":d],m=er(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:s,strategy:u})),g="floating"===d?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),w=await (null==i.isElement?void 0:i.isElement(y))&&await (null==i.getScale?void 0:i.getScale(y))||{x:1,y:1},b=er(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:u}):g);return{top:(m.top-b.top+v.top)/w.y,bottom:(b.bottom-m.bottom+v.bottom)/w.y,left:(m.left-b.left+v.left)/w.x,right:(b.right-m.right+v.right)/w.x}}let el=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:ei},u=await (null==l.isRTL?void 0:l.isRTL(t)),c=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:s,y:d}=eo(c,r,u),f=r,p=0,v={};for(let n=0;n<i.length;n++){let h=i[n];if(!h)continue;let{name:m,fn:g}=h,{x:y,y:w,data:b,reset:x}=await g({x:s,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:v,rects:c,platform:a,elements:{reference:e,floating:t}});s=null!=y?y:s,d=null!=w?w:d,v[m]={...v[m],...b},x&&p<50&&(p++,"object"==typeof x&&(x.placement&&(f=x.placement),x.rects&&(c=!0===x.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:s,y:d}=eo(c,f,u)),n=-1)}return{x:s,y:d,placement:f,strategy:o,middlewareData:v}};function ea(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function eu(e){return I.some(t=>e[t]>=0)}let ec=new Set(["left","top"]);async function es(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=X(n),a=Y(n),u="y"===q(n),c=ec.has(l)?-1:1,s=i&&u?-1:1,d=K(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:v}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&"number"==typeof v&&(p="end"===a?-1*v:v),u?{x:p*s,y:f*c}:{x:f*c,y:p*s}}function ed(){return"undefined"!=typeof window}function ef(e){return eh(e)?(e.nodeName||"").toLowerCase():"#document"}function ep(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function ev(e){var t;return null==(t=(eh(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function eh(e){return!!ed()&&(e instanceof Node||e instanceof ep(e).Node)}function em(e){return!!ed()&&(e instanceof Element||e instanceof ep(e).Element)}function eg(e){return!!ed()&&(e instanceof HTMLElement||e instanceof ep(e).HTMLElement)}function ey(e){return!!ed()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ep(e).ShadowRoot)}function ew(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=eL(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==o&&"contents"!==o}function eb(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let ex=/transform|translate|scale|rotate|perspective|filter/,eE=/paint|layout|strict|content/,eS=e=>!!e&&"none"!==e;function eC(e){let t=em(e)?eL(e):e;return eS(t.transform)||eS(t.translate)||eS(t.scale)||eS(t.rotate)||eS(t.perspective)||!eR()&&(eS(t.backdropFilter)||eS(t.filter))||ex.test(t.willChange||"")||eE.test(t.contain||"")}function eR(){return null==r&&(r="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),r}function eT(e){return/^(html|body|#document)$/.test(ef(e))}function eL(e){return ep(e).getComputedStyle(e)}function eP(e){return em(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eM(e){if("html"===ef(e))return e;let t=e.assignedSlot||e.parentNode||ey(e)&&e.host||ev(e);return ey(t)?t.host:t}
1function ej(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=eM(t);return eT(n)?t.ownerDocument?t.ownerDocument.body:t.body:eg(n)&&ew(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=ep(o);if(!i)return t.concat(o,ej(o,[],n));{let e=ek(l);return t.concat(l,l.visualViewport||[],ew(o)?o:[],e&&n?ej(e):[])}}function ek(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eA(e){let t=eL(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=eg(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=H(n)!==i||H(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function eN(e){return em(e)?e:e.contextElement}function eD(e){let t=eN(e);if(!eg(t))return _(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=eA(t),l=(i?H(n.width):n.width)/r,a=(i?H(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let eO=_(0);function eW(e){let t=ep(e);return eR()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eO}function eI(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=eN(e),a=_(1);t&&(r?em(r)&&(a=eD(r)):a=eD(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===ep(l))&&o)?eW(l):_(0),c=(i.left+u.x)/a.x,s=(i.top+u.y)/a.y,d=i.width/a.x,f=i.height/a.y;if(l){let e=ep(l),t=r&&em(r)?ep(r):r,n=e,o=ek(n);for(;o&&r&&t!==n;){let e=eD(o),t=o.getBoundingClientRect(),r=eL(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,s*=e.y,d*=e.x,f*=e.y,c+=i,s+=l,o=ek(n=ep(o))}}return er({width:d,height:f,x:c,y:s})}function eF(e,t){let n=eP(e).scrollLeft;return t?t.left+n:eI(ev(e)).left+n}function eV(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-eF(e,n),y:n.top+t.scrollTop}}function eH(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=ep(e),r=ev(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=eR();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}let c=eF(r);if(c<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-o);l<=25&&(i-=l)}else c<=25&&(i+=c);return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=ev(e),n=eP(e),r=e.ownerDocument.body,o=V(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=V(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+eF(e),a=-n.scrollTop;return"rtl"===eL(r).direction&&(l+=V(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(ev(e));else if(em(t))r=function(e,t){let n=eI(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=eg(e)?eD(e):_(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=eW(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return er(r)}function eB(e){return"static"===eL(e).position}function e_(e,t){if(!eg(e)||"fixed"===eL(e).position)return null;if(t)return t(e);let n=e.offsetParent;return ev(e)===n&&(n=n.ownerDocument.body),n}function ez(e,t){var n;let r=ep(e);if(eb(e))return r;if(!eg(e)){let t=eM(e);for(;t&&!eT(t);){if(em(t)&&!eB(t))return t;t=eM(t)}return r}let o=e_(e,t);for(;o&&(n=o,/^(table|td|th)$/.test(ef(n)))&&eB(o);)o=e_(o,t);return o&&eT(o)&&eB(o)&&!eC(o)?r:o||function(e){let t=eM(e);for(;eg(t)&&!eT(t);){if(eC(t))return t;if(eb(t))break;t=eM(t)}return null}(e)||r}let eK=async function(e){let t=this.getOffsetParent||ez,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=eg(t),o=ev(t),i="fixed"===n,l=eI(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=_(0);if(r||!r&&!i){if(("body"!==ef(t)||ew(o))&&(a=eP(t)),r){let e=eI(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=eF(o))}i&&!r&&o&&(u.x=eF(o));let c=!o||r||i?_(0):eV(o,a);return{x:l.left+a.scrollLeft-u.x-c.x,y:l.top+a.scrollTop-u.y-c.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eX={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=ev(r),a=!!t&&eb(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},c=_(1),s=_(0),d=eg(r);
1if((d||!d&&!i)&&(("body"!==ef(r)||ew(l))&&(u=eP(r)),d)){let e=eI(r);c=eD(r),s.x=e.x+r.clientLeft,s.y=e.y+r.clientTop}let f=!l||d||i?_(0):eV(l,u);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+s.x+f.x,y:n.y*c.y-u.scrollTop*c.y+s.y+f.y}},getDocumentElement:ev,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?eb(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ej(e,[],!1).filter(e=>em(e)&&"body"!==ef(e)),o=null,i="fixed"===eL(e).position,l=i?eM(e):e;for(;em(l)&&!eT(l);){let t=eL(l),n=eC(l);n||"fixed"!==t.position||(o=null),(i?n||o:!(!n&&"static"===t.position&&o&&("absolute"===o.position||"fixed"===o.position)||ew(l)&&!n&&function e(t,n){let r=eM(t);return!(r===n||!em(r)||eT(r))&&("fixed"===eL(r).position||e(r,n))}(e,l)))?o=t:r=r.filter(e=>e!==l),l=eM(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=eH(t,i[0],o),a=l.top,u=l.right,c=l.bottom,s=l.left;for(let e=1;e<i.length;e++){let n=eH(t,i[e],o);a=V(n.top,a),u=F(n.right,u),c=F(n.bottom,c),s=V(n.left,s)}return{width:u-s,height:c-a,x:s,y:a}},getOffsetParent:ez,getElementRects:eK,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eA(e);return{width:t,height:n}},getScale:eD,isElement:em,isRTL:function(e){return"rtl"===eL(e).direction}};function eY(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eU=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:u}=t,{element:c,padding:s=0}=K(e,t)||{};if(null==c)return{};let d=en(s),f={x:n,y:r},p=U(q(o)),v=Z(p),h=await l.getDimensions(c),m="y"===p,g=m?"clientHeight":"clientWidth",y=i.reference[v]+i.reference[p]-f[p]-i.floating[v],w=f[p]-i.reference[p],b=await (null==l.getOffsetParent?void 0:l.getOffsetParent(c)),x=b?b[g]:0;x&&await (null==l.isElement?void 0:l.isElement(b))||(x=a.floating[g]||i.floating[v]);let E=x/2-h[v]/2-1,S=F(d[m?"top":"left"],E),C=F(d[m?"bottom":"right"],E),R=x-h[v]-C,T=x/2-h[v]/2+(y/2-w/2),L=V(S,F(T,R)),P=!u.arrow&&null!=Y(o)&&T!==L&&i.reference[v]/2-(T<S?S:C)-h[v]/2<0,M=P?T<S?T-S:T-R:0;return{[p]:f[p]+M,data:{[p]:L,centerOffset:T-L-M,...P&&{alignmentOffset:M}},reset:P}}}),eZ=(e,t,n)=>{let r=new Map,o={platform:eX,...n},i={...o.platform,_c:r};return el(e,t,{...o,platform:i})};var eq="undefined"!=typeof document?f.useLayoutEffect:function(){};function e$(e,t){let n,r,o;if(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(!e$(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)&&!e$(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eG(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eJ(e,t){let n=eG(e);return Math.round(t*n)/n}function eQ(e){let t=f.useRef(e);return eq(()=>{t.current=e}),t}let e0=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?eU({element:n.current,padding:r}).fn(t):{}:n?eU({element:n,padding:r}).fn(t):{}}}),e1=(e,t)=>{var n;let r=(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:l,middlewareData:a}=e,u=await es(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}});return{name:r.name,fn:r.fn,options:[e,t]}},e2=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o,platform:i}=e,{mainAxis:l=!0,crossAxis:a=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=K(n,e),s={x:t,y:r},d=await i.detectOverflow(e,c),f=q(X(o)),p=U(f),v=s[p],h=s[f];
1if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+d[e],r=v-d[t];v=V(n,F(v,r))}if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+d[e],r=h-d[t];h=V(n,F(h,r))}let m=u.fn({...e,[p]:v,[f]:h});return{...m,data:{x:m.x-t,y:m.y-r,enabled:{[p]:l,[f]:a}}}}});return{name:r.name,fn:r.fn,options:[e,t]}},e5=(e,t)=>{var n;return{fn:(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:u=!0,crossAxis:c=!0}=K(n,e),s={x:t,y:r},d=q(o),f=U(d),p=s[f],v=s[d],h=K(a,e),m="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(u){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+m.mainAxis,n=i.reference[f]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var g,y;let e="y"===f?"width":"height",t=ec.has(X(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(g=l.offset)?void 0:g[d])||0)+(t?0:m.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[d])||0)-(t?m.crossAxis:0);v<n?v=n:v>r&&(v=r)}return{[f]:p,[d]:v}}}).fn,options:[e,t]}},e9=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,l;let{placement:a,middlewareData:u,rects:c,initialPlacement:s,platform:d,elements:f}=e,{mainAxis:p=!0,crossAxis:v=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...w}=K(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let b=X(a),x=q(s),E=X(s)===s,S=await (null==d.isRTL?void 0:d.isRTL(f.floating)),C=h||(E||!y?[et(s)]:function(e){let t=et(e);return[$(e),t,$(t)]}(s)),R="none"!==g;!h&&R&&C.push(...function(e,t,n,r){let o=Y(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?J:G;return t?G:J;case"left":case"right":return t?Q:ee;default:return[]}}(X(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map($)))),i}(s,y,g,S));let T=[s,...C],L=await d.detectOverflow(e,w),P=[],M=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&P.push(L[b]),v){let e=function(e,t,n){void 0===n&&(n=!1);let r=Y(e),o=U(q(e)),i=Z(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=et(l)),[l,et(l)]}(a,c,S);P.push(L[e[0]],L[e[1]])}if(M=[...M,{placement:a,overflows:P}],!P.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=T[e];if(t&&(!("alignment"===v&&x!==q(t))||M.every(e=>q(e.placement)!==x||e.overflows[0]>0)))return{data:{index:e,overflows:M},reset:{placement:t}};let n=null==(i=M.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(m){case"bestFit":{let e=null==(l=M.filter(e=>{if(R){let t=q(e.placement);return t===x||"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:l[0];e&&(n=e);break}case"initialPlacement":n=s}if(a!==n)return{reset:{placement:n}}}return{}}});return{name:r.name,fn:r.fn,options:[e,t]}},e4=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let o,i;let{placement:l,rects:a,platform:u,elements:c}=e,{apply:s=()=>{},...d}=K(n,e),f=await u.detectOverflow(e,d),p=X(l),v=Y(l),h="y"===q(l),{width:m,height:g}=a.floating;"top"===p||"bottom"===p?(o=p,i=v===(await (null==u.isRTL?void 0:u.isRTL(c.floating))?"start":"end")?"left":"right"):(i=p,o="end"===v?"top":"bottom");let y=g-f.top-f.bottom,w=m-f.left-f.right,b=F(g-f[o],y),x=F(m-f[i],w),E=!e.middlewareData.shift,S=b,C=x;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(C=w),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(S=y),E&&!v){let e=V(f.left,0),t=V(f.right,0),n=V(f.top,0),r=V(f.bottom,0);h?C=m-2*(0!==e||0!==t?e+t:V(f.left,f.right)):S=g-2*(0!==n||0!==r?n+r:V(f.top,f.bottom))}await s({...e,availableWidth:C,availableHeight:S});let R=await u.getDimensions(c.floating);return m!==R.width||g!==R.height?{reset:{rects:!0}}:{}}});return{name:r.name,fn:r.fn,options:[e,t]}},e6=(e,t)=>{var n;let r=(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t,platform:r}=e,{strategy:o="referenceHidden",...i}=K(n,e);switch(o){case"referenceHidden":{let n=ea(await r.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:eu(n)}}}case"escaped":{let n=ea(await r.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:eu(n)}}}default:return{}}}});return{name:r.name,fn:r.fn,options:[e,t]}},e8=(e,t)=>
1{let n=e0(e);return{name:n.name,fn:n.fn,options:[e,t]}};var e3=f.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,T.jsx)(C.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,T.jsx)("polygon",{points:"0,0 30,0 15,10"})})});e3.displayName="Arrow";var e7=n(52029),te=n(13623),tt="Popper",[tn,tr]=(0,y.b)(tt),[to,ti]=tn(tt),tl=e=>{let{__scopePopper:t,children:n}=e,[r,o]=f.useState(null),[i,l]=f.useState(void 0);return(0,T.jsx)(to,{scope:t,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:l,children:n})};tl.displayName=tt;var ta="PopperAnchor",tu=f.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,i=ti(ta,n),l=f.useRef(null),a=i.onAnchorChange,u=f.useCallback(e=>{l.current=e,e&&a(e)},[a]),c=(0,g.e)(t,u),s=f.useRef(null);f.useEffect(()=>{if(!r)return;let e=s.current;s.current=r.current,e!==s.current&&a(s.current)});let d=i.placementState&&ty(i.placementState),p=null==d?void 0:d[0],v=null==d?void 0:d[1];return r?null:(0,T.jsx)(C.WV.div,{"data-radix-popper-side":p,"data-radix-popper-align":v,...o,ref:c})});tu.displayName=ta;var tc="PopperContent",[ts,td]=tn(tc),tf=f.forwardRef((e,t)=>{var n,r,o,i,l,a,u,c;let{__scopePopper:s,side:d="bottom",sideOffset:v=0,align:h="center",alignOffset:m=0,arrowPadding:y=0,avoidCollisions:w=!0,collisionBoundary:b,collisionPadding:x=0,sticky:E="partial",hideWhenDetached:S=!1,updatePositionStrategy:L="optimized",onPlaced:P,...M}=e,j=ti(tc,s),[k,A]=f.useState(null),N=(0,g.e)(t,e=>A(e)),[D,O]=f.useState(null),W=(0,te.t)(D),I=null!==(u=null==W?void 0:W.width)&&void 0!==u?u:0,H=null!==(c=null==W?void 0:W.height)&&void 0!==c?c:0,_="number"==typeof x?x:{top:0,right:0,bottom:0,left:0,...x},z=b?Array.isArray(b)?b:[b]:void 0,K=void 0!==z&&z.length>0,X={padding:_,boundary:null==z?void 0:z.filter(tm),altBoundary:K},{refs:Y,floatingStyles:U,placement:Z,isPositioned:q,middlewareData:$}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:l}={},transform:a=!0,whileElementsMounted:u,open:c}=e,[s,d]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[v,h]=f.useState(r);e$(v,r)||h(r);let[m,g]=f.useState(null),[y,w]=f.useState(null),b=f.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),x=f.useCallback(e=>{e!==R.current&&(R.current=e,w(e))},[]),E=i||m,S=l||y,C=f.useRef(null),R=f.useRef(null),T=f.useRef(s),L=null!=u,P=eQ(u),M=eQ(o),j=eQ(c),k=f.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:v};M.current&&(e.platform=M.current),eZ(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==j.current};A.current&&!e$(T.current,t)&&(T.current=t,p.flushSync(()=>{d(t)}))})},[v,t,n,M,j]);eq(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let A=f.useRef(!1);eq(()=>(A.current=!0,()=>{A.current=!1}),[]),eq(()=>{if(E&&(C.current=E),S&&(R.current=S),E&&S){if(P.current)return P.current(E,S,k);k()}},[E,S,k,P,L]);let N=f.useMemo(()=>({reference:C,floating:R,setReference:b,setFloating:x}),[b,x]),D=f.useMemo(()=>({reference:E,floating:S}),[E,S]),O=f.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=eJ(D.floating,s.x),r=eJ(D.floating,s.y);return a?{...e,transform:"translate("+t+"px, "+r+"px)",...eG(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,a,D.floating,s.x,s.y]);return f.useMemo(()=>({...s,update:k,refs:N,elements:D,floatingStyles:O}),[s,k,N,D,O])}({strategy:"fixed",placement:d+("center"!==h?"-"+h:""),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:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=r,s=eN(e),d=i||l?[...s?ej(s):[],...t?ej(t):[]]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let f=s&&u?function(e,t){let n,r=null,o=ev(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();let c=e.getBoundingClientRect(),{left:s,top:d,width:f,height:p}=c;if(a||t(),!f||!p)return;let v=B(d),h=B(o.clientWidth-(s+f)),m={rootMargin:-v+"px "+-h+"px "+-B(o.clientHeight-(d+p))+"px "+-B(s)+"px",threshold:V(0,F(1,u))||1},g=!0;function y(t){let r=t[0].intersectionRatio;if(r!==u){if(!g)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eY(c,e.getBoundingClientRect())||l(),g=!1}try{r=new IntersectionObserver(y,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(e)}(!0),i}(s,n):null,p=-1,v=null;a&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===s&&v&&t&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),s&&!c&&v.observe(s),t&&v.observe(t));let h=c?eI(e):null;return c&&function t(){let r=eI(e);h&&!eY(h,r)&&n(),h=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;
1d.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=v)||e.disconnect(),v=null,c&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===L})},elements:{reference:j.anchor},middleware:[e1({mainAxis:v+H,alignmentAxis:m}),w&&e2({mainAxis:!0,crossAxis:!1,limiter:"partial"===E?e5():void 0,...X}),w&&e9({...X}),e4({...X,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=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(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),D&&e8({element:D,padding:y}),tg({arrowWidth:I,arrowHeight:H}),S&&e6({strategy:"referenceHidden",...X})]}),G=j.setPlacementState;(0,e7.b)(()=>(G(Z),()=>{G(void 0)}),[Z,G]);let[J,Q]=ty(Z),ee=(0,R.W)(P);(0,e7.b)(()=>{q&&(null==ee||ee())},[q,ee]);let et=null===(n=$.arrow)||void 0===n?void 0:n.x,en=null===(r=$.arrow)||void 0===r?void 0:r.y,er=(null===(o=$.arrow)||void 0===o?void 0:o.centerOffset)!==0,[eo,ei]=f.useState();return(0,e7.b)(()=>{k&&ei(window.getComputedStyle(k).zIndex)},[k]),(0,T.jsx)("div",{ref:Y.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:q?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eo,"--radix-popper-transform-origin":[null===(i=$.transformOrigin)||void 0===i?void 0:i.x,null===(l=$.transformOrigin)||void 0===l?void 0:l.y].join(" "),...(null===(a=$.hide)||void 0===a?void 0:a.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,T.jsx)(ts,{scope:s,placedSide:J,placedAlign:Q,onArrowChange:O,arrowX:et,arrowY:en,shouldHideArrow:er,children:(0,T.jsx)(C.WV.div,{"data-side":J,"data-align":Q,...M,ref:N,style:{...M.style,animation:q?void 0:"none"}})})})});tf.displayName=tc;var tp="PopperArrow",tv={top:"bottom",right:"left",bottom:"top",left:"right"},th=f.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=td(tp,n),i=tv[o.placedSide];return(0,T.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]: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,T.jsx)(e3,{...r,ref:t,style:{...r.style,display:"block"}})})});function tm(e){return null!==e}th.displayName=tp;var tg=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:c}=t,s=(null===(n=c.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=s?0:e.arrowWidth,f=s?0:e.arrowHeight,[p,v]=ty(a),h={start:"0%",center:"50%",end:"100%"}[v],m=(null!==(i=null===(r=c.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,g=(null!==(l=null===(o=c.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+f/2,y="",w="";return"bottom"===p?(y=s?h:"".concat(m,"px"),w="".concat(-f,"px")):"top"===p?(y=s?h:"".concat(m,"px"),w="".concat(u.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),w=s?h:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+f,"px"),w=s?h:"".concat(g,"px")),{data:{x:y,y:w}}}});function ty(e){let[t,n="center"]=e.split("-");return[t,n]}var tw=n(5212),tb=n(69458),tx=n(46643),tE=n(3443),tS=n(26379),tC=n(5219),tR=new WeakMap,tT=new WeakMap,tL={},tP=0,tM=function(e){return e&&(e.host||tM(e.parentNode))},tj=function(e,t,n,r){var o=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=tM(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});tL[n]||(tL[n]=new WeakMap);var i=tL[n],l=[],a=new Set,u=new Set(o),c=function(e){!e||a.has(e)||(a.add(e),c(e.parentNode))};o.forEach(c);var s=function(e){!e||u.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))s(e);else try{var t=e.getAttribute(r),o=null!==t&&"false"!==t,u=(tR.get(e)||0)+1,c=(i.get(e)||0)+1;tR.set(e,u),i.set(e,c),l.push(e),1===u&&o&&tT.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return s(t),a.clear(),tP++,function(){l.forEach(function(e){var t=tR.get(e)-1,o=i.get(e)-1;tR.set(e,t),i.set(e,o),t||(tT.has(e)||e.removeAttribute(r),tT.delete(e)),o||e.removeAttribute(n)}
1),--tP||(tR=new WeakMap,tR=new WeakMap,tT=new WeakMap,tL={})}},tk=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),tj(r,o,n,"aria-hidden")):function(){return null}},tA=function(){return(tA=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function tN(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var tD="right-scroll-bar-position",tO="width-before-scroll-bar";function tW(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tI="undefined"!=typeof window?f.useLayoutEffect:f.useEffect,tF=new WeakMap,tV=(void 0===i&&(i={}),(void 0===l&&(l=function(e){return e}),a=[],u=!1,c={read:function(){if(u)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=l(e,u);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(u=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){u=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=tA({async:!0,ssr:!1},i),c),tH=function(){},tB=f.forwardRef(function(e,t){var n,r,o,i,l=f.useRef(null),a=f.useState({onScrollCapture:tH,onWheelCapture:tH,onTouchMoveCapture:tH}),u=a[0],c=a[1],s=e.forwardProps,d=e.children,p=e.className,v=e.removeScrollBar,h=e.enabled,m=e.shards,g=e.sideCar,y=e.noRelative,w=e.noIsolation,b=e.inert,x=e.allowPinchZoom,E=e.as,S=e.gapMode,C=tN(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[l,t],r=function(e){return n.forEach(function(t){return tW(t,e)})},(o=(0,f.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,i=o.facade,tI(function(){var e=tF.get(i);if(e){var t=new Set(e),r=new Set(n),o=i.current;t.forEach(function(e){r.has(e)||tW(e,null)}),r.forEach(function(e){t.has(e)||tW(e,o)})}tF.set(i,n)},[n]),i),T=tA(tA({},C),u);return f.createElement(f.Fragment,null,h&&f.createElement(g,{sideCar:tV,removeScrollBar:v,shards:m,noRelative:y,noIsolation:w,inert:b,setCallbacks:c,allowPinchZoom:!!x,lockRef:l,gapMode:S}),s?f.cloneElement(f.Children.only(d),tA(tA({},T),{ref:R})):f.createElement(void 0===E?"div":E,tA({},T,{className:p,ref:R}),d))});tB.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},tB.classNames={fullWidth:tO,zeroRight:tD};var t_=function(e){var t=e.sideCar,n=tN(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return f.createElement(r,tA({},n))};t_.isSideCarExport=!0;var tz=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=d||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,i;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},tK=function(){var e=tz();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},tX=function(){var e=tK();return function(t){return e(t.styles,t.dynamic),null}},tY={left:0,top:0,right:0,gap:0},tU=function(e){return parseInt(e||"",10)||0},tZ=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[tU(n),tU(r),tU(o)]},tq=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return tY;var t=tZ(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},t$=tX(),tG="data-scroll-locked",tJ=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(a,"px ").concat(r,";\n  }\n  body[").concat(tG,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(a,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";
1")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(tD," {\n    right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(tO," {\n    margin-right: ").concat(a,"px ").concat(r,";\n  }\n  \n  .").concat(tD," .").concat(tD," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(tO," .").concat(tO," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(tG,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n  }\n")},tQ=function(){var e=parseInt(document.body.getAttribute(tG)||"0",10);return isFinite(e)?e:0},t0=function(){f.useEffect(function(){return document.body.setAttribute(tG,(tQ()+1).toString()),function(){var e=tQ()-1;e<=0?document.body.removeAttribute(tG):document.body.setAttribute(tG,e.toString())}},[])},t1=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;t0();var i=f.useMemo(function(){return tq(o)},[o]);return f.createElement(t$,{styles:tJ(i,!t,o,n?"":"!important")})},t2=!1;if("undefined"!=typeof window)try{var t5=Object.defineProperty({},"passive",{get:function(){return t2=!0,!0}});window.addEventListener("test",t5,t5),window.removeEventListener("test",t5,t5)}catch(e){t2=!1}var t9=!!t2&&{passive:!1},t4=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},t6=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),t8(e,r)){var o=t3(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},t8=function(e,t){return"v"===e?t4(t,"overflowY"):t4(t,"overflowX")},t3=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},t7=function(e,t,n,r,o){var i,l=(i=window.getComputedStyle(t).direction,"h"===e&&"rtl"===i?-1:1),a=l*r,u=n.target,c=t.contains(u),s=!1,d=a>0,f=0,p=0;do{if(!u)break;var v=t3(e,u),h=v[0],m=v[1]-v[2]-l*h;(h||m)&&t8(e,u)&&(f+=m,p+=h);var g=u.parentNode;u=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return d&&(o&&1>Math.abs(f)||!o&&a>f)?s=!0:!d&&(o&&1>Math.abs(p)||!o&&-a>p)&&(s=!0),s},ne=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nt=function(e){return[e.deltaX,e.deltaY]},nn=function(e){return e&&"current"in e?e.current:e},nr=0,no=[],ni=(s=function(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(nr++)[0],i=f.useState(tX)[0],l=f.useRef(e);f.useEffect(function(){l.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(nn),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=f.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=ne(e),a=n.current,u="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],s=e.target,d=Math.abs(u)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===s.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===s||p.contains(s)))return!1;var v=t6(d,s);if(!v)return!0;if(v?o=d:(o="v"===d?"h":"v",v=t6(d,s)),!v)return!1;if(!r.current&&"changedTouches"in e&&(u||c)&&(r.current=o),!o)return!0;var h=r.current||o;return t7(h,t,e,"h"===h?u:c,!0)},[]),u=f.useCallback(function(e){if(no.length&&no[no.length-1]===i){var n="deltaY"in e?nt(e):ne(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}
1if(!r){var o=(l.current.shards||[]).map(nn).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?a(e,o[0]):!l.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),c=f.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),s=f.useCallback(function(e){n.current=ne(e),r.current=void 0},[]),d=f.useCallback(function(t){c(t.type,nt(t),t.target,a(t,e.lockRef.current))},[]),p=f.useCallback(function(t){c(t.type,ne(t),t.target,a(t,e.lockRef.current))},[]);f.useEffect(function(){return no.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",u,t9),document.addEventListener("touchmove",u,t9),document.addEventListener("touchstart",s,t9),function(){no=no.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,t9),document.removeEventListener("touchmove",u,t9),document.removeEventListener("touchstart",s,t9)}},[]);var v=e.removeScrollBar,h=e.inert;return f.createElement(f.Fragment,null,h?f.createElement(i,{styles:"\n  .block-interactivity-".concat(o," {pointer-events: none;}\n  .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,v?f.createElement(t1,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},tV.useMedium(s),t_),nl=f.forwardRef(function(e,t){return f.createElement(tB,tA({},e,{ref:t,sideCar:ni}))});nl.classNames=tB.classNames;var na=[" ","Enter","ArrowUp","ArrowDown"],nu=[" ","Enter"],nc="Select",[ns,nd,nf]=(0,m.B)(nc),[np,nv]=(0,y.b)(nc,[nf,tr]),nh=tr(),[nm,ng]=np(nc),[ny,nw]=np(nc);function nb(e){let{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:l,defaultValue:a,onValueChange:u,dir:c,name:s,autoComplete:d,disabled:p,required:v,form:h,internal_do_not_use_render:m}=e,g=nh(t),[y,b]=f.useState(null),[x,E]=f.useState(null),[S,C]=f.useState(!1),R=(0,w.gm)(c),[L,P]=(0,tE.T)({prop:r,defaultProp:null!=o&&o,onChange:i,caller:nc}),[M,j]=(0,tE.T)({prop:l,defaultProp:a,onChange:u,caller:nc}),k=f.useRef(null),A=!y||!!h||!!y.closest("form"),[N,D]=f.useState(new Set),O=(0,W.M)(),I=Array.from(N).map(e=>e.props.value).join(";"),F=f.useCallback(e=>{D(t=>new Set(t).add(e))},[]),V=f.useCallback(e=>{D(t=>{let n=new Set(t);return n.delete(e),n})},[]),H={required:v,trigger:y,onTriggerChange:b,valueNode:x,onValueNodeChange:E,valueNodeHasChildren:S,onValueNodeHasChildrenChange:C,contentId:O,value:M,onValueChange:j,open:L,onOpenChange:P,dir:R,triggerPointerDownPosRef:k,disabled:p,name:s,autoComplete:d,form:h,nativeOptions:N,nativeSelectKey:I,isFormControl:A};return(0,T.jsx)(tl,{...g,children:(0,T.jsx)(nm,{scope:t,...H,children:(0,T.jsx)(ns.Provider,{scope:t,children:(0,T.jsx)(ny,{scope:t,onNativeOptionAdd:F,onNativeOptionRemove:V,children:"function"==typeof m?m(H):n})})})})}nb.displayName="SelectProvider";var nx=e=>{let{__scopeSelect:t,children:n,...r}=e;return(0,T.jsx)(nb,{__scopeSelect:t,...r,internal_do_not_use_render:e=>{let{isFormControl:r}=e;return(0,T.jsxs)(T.Fragment,{children:[n,r?(0,T.jsx)(rn,{__scopeSelect:t}):null]})}})};nx.displayName=nc;var nE="SelectTrigger",nS=f.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:r=!1,...o}=e,i=nh(n),l=ng(nE,n),a=l.disabled||r,u=(0,g.e)(t,l.onTriggerChange),c=nd(n),s=f.useRef("touch"),[d,p,v]=ro(e=>{let t=c().filter(e=>!e.disabled),n=t.find(e=>e.value===l.value),r=ri(t,e,n);void 0!==r&&l.onValueChange(r.value)}),m=e=>{a||(l.onOpenChange(!0),v()),e&&(l.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,T.jsx)(tu,{asChild:!0,...i,children:(0,T.jsx)(C.WV.button,{type:"button",role:"combobox","aria-controls":l.open?l.contentId:void 0,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":rr(l.value)?"":void 0,...o,ref:u,onClick:(0,h.Mj)(o.onClick,e=>
1{e.currentTarget.focus(),"mouse"!==s.current&&m(e)}),onPointerDown:(0,h.Mj)(o.onPointerDown,e=>{s.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(m(e),e.preventDefault())}),onKeyDown:(0,h.Mj)(o.onKeyDown,e=>{let t=""!==d.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||p(e.key),(!t||" "!==e.key)&&na.includes(e.key)&&(m(),e.preventDefault())})})})});nS.displayName=nE;var nC="SelectValue",nR=f.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:i,placeholder:l="",...a}=e,u=ng(nC,n),{onValueNodeHasChildrenChange:c}=u,s=void 0!==i,d=(0,g.e)(t,u.onValueNodeChange);(0,e7.b)(()=>{c(s)},[c,s]);let p=rr(u.value);return(0,T.jsx)(C.WV.span,{...a,asChild:!p&&a.asChild,ref:d,style:{pointerEvents:"none"},children:(0,T.jsx)(f.Fragment,{children:p?l:i},p?"placeholder":"value")})});nR.displayName=nC;var nT=f.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,T.jsx)(C.WV.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});nT.displayName="SelectIcon";var nL="SelectPortal",[nP,nM]=np(nL,{forceMount:void 0}),nj=e=>{let{__scopeSelect:t,forceMount:n,...r}=e;return(0,T.jsx)(nP,{scope:e.__scopeSelect,forceMount:n,children:(0,T.jsx)(tw.h,{asChild:!0,...r})})};nj.displayName=nL;var nk="SelectContent",nA=f.forwardRef((e,t)=>{let n=nM(nk,e.__scopeSelect),{forceMount:r=n.forceMount,...o}=e,i=ng(nk,e.__scopeSelect),[l,a]=f.useState();return(0,e7.b)(()=>{a(new DocumentFragment)},[]),(0,T.jsx)(tb.z,{present:r||i.open,children:e=>{let{present:n}=e;return n?(0,T.jsx)(nI,{...o,ref:t}):(0,T.jsx)(nN,{...o,fragment:l})}})});nA.displayName=nk;var nN=f.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,fragment:o}=e;return o?p.createPortal((0,T.jsx)(nD,{scope:n,children:(0,T.jsx)(ns.Slot,{scope:n,children:(0,T.jsx)("div",{ref:t,children:r})})}),o):null});nN.displayName="SelectContentFragment";var[nD,nO]=np(nk),nW=(0,tx.Z8)("SelectContent.RemoveScroll"),nI=f.forwardRef((e,t)=>{let{__scopeSelect:n}=e,{position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:l,side:a,sideOffset:u,align:c,alignOffset:s,arrowPadding:d,collisionBoundary:p,collisionPadding:v,sticky:m,hideWhenDetached:y,avoidCollisions:w,...C}=e,R=ng(nk,n),[L,P]=f.useState(null),[M,k]=f.useState(null),A=(0,g.e)(t,e=>P(e)),[N,D]=f.useState(null),[O,W]=f.useState(null),I=nd(n),[F,V]=f.useState(!1),H=f.useRef(!1);f.useEffect(()=>{if(L)return tk(L)},[L]),f.useEffect(()=>{E||(E={start:S(),end:S()});let{start:e,end:t}=E;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),x++,()=>{1===x&&(null==E||E.start.remove(),null==E||E.end.remove(),E=null),x=Math.max(0,x-1)}},[]);let B=f.useCallback(e=>{let[t,...n]=I().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&&M&&(M.scrollTop=0),n===r&&M&&(M.scrollTop=M.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[I,M]),_=f.useCallback(()=>B([N,L]),[B,N,L]);f.useEffect(()=>{F&&_()},[F,_]);let{onOpenChange:z,triggerPointerDownPosRef:K}=R;f.useEffect(()=>{if(L){let e={x:0,y:0},t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(o=null===(n=K.current)||void 0===n?void 0:n.x)&&void 0!==o?o:0)),y:Math.abs(Math.round(t.pageY)-(null!==(i=null===(r=K.current)||void 0===r?void 0:r.y)&&void 0!==i?i:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():n.composedPath().includes(L)||z(!1),document.removeEventListener("pointermove",t),K.current=null};return null!==K.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,K]),f.useEffect(()=>{let e=()=>z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[z]);let[X,Y]=ro(e=>{let t=I().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=ri(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),U=f.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==R.value&&R.value===t||r)&&(D(e),r&&(H.current=!0))},[R.value]),Z=f.useCallback(()=>null==L?void 0:L.focus(),[L]),q=f.useCallback((e,t,n)=>{let r=!H.current&&!n;(void 0!==R.value&&R.value===t||r)&&W(e)},[R.value]),$="popper"===r?nV:nF,G=$===nV?{side:a,sideOffset:u,align:c,alignOffset:s,arrowPadding:d,collisionBoundary:p,collisionPadding:v,sticky:m,hideWhenDetached:y,avoidCollisions:w}:{};return(0,T.jsx)(nD,{scope:n,content:L,viewport:M,onViewportChange:k,itemRefCallback:U,selectedItem:N,onItemLeave:Z,itemTextRefCallback:q,focusSelectedItem:_,selectedItemText:O,position:r,isPositioned:F,searchRef:X,children:(0,T.jsx)(nl,{as:nW,allowPinchZoom:!0,children:(0,T.jsx)(j,{asChild:!0,trapped:R.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,h.Mj)(o,e=>{var t;null===(t=R.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(b.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:(0,T.jsx)($,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:e=>e.preventDefault(),...C,...G,onPlaced:()=>V(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,h.Mj)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Y(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=I().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()}})})})})})})});nI.displayName="SelectContentImpl";var nF=f.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:r,...o}=e,i=ng(nk,n),l=nO(nk,n),[a,u]=f.useState(null),[c,s]=f.useState(null),d=(0,g.e)(t,e=>s(e)),p=nd(n),h=f.useRef(!1),m=f.useRef(!0),{viewport:y,selectedItem:w,selectedItemText:b,focusSelectedItem:x}=l,E=f.useCallback(()=>{if(i.trigger&&i.valueNode&&a&&c&&y&&w&&b){let e=i.trigger.getBoundingClientRect(),t=c.getBoundingClientRect(),n=i.valueNode.getBoundingClientRect(),o=b.getBoundingClientRect();if("rtl"!==i.dir){let r=o.left-t.left,i=n.left-r,l=e.left-i,u=e.width+l,c=Math.max(u,t.width),s=v(i,[10,Math.max(10,window.innerWidth-10-c)]);a.style.minWidth=u+"px",a.style.left=s+"px"}else{let r=t.right-o.right,i=window.innerWidth-n.right-r,l=window.innerWidth-e.right-i,u=e.width+l,c=Math.max(u,t.width),s=v(i,[10,Math.max(10,window.innerWidth-10-c)]);a.style.minWidth=u+"px",a.style.right=s+"px"}let l=p(),u=window.innerHeight-20,s=y.scrollHeight,d=window.getComputedStyle(c),f=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),x=f+m+s+parseInt(d.paddingBottom,10)+g,E=Math.min(5*w.offsetHeight,x),S=window.getComputedStyle(y),C=parseInt(S.paddingTop,10),R=parseInt(S.paddingBottom,10),T=e.top+e.height/2-10,L=w.offsetHeight/2,P=f+m+(w.offsetTop+L);if(P<=T){let e=l.length>0&&w===l[l.length-1].ref.current;a.style.bottom="0px";let t=c.clientHeight-y.offsetTop-y.offsetHeight;a.style.height=P+Math.max(u-T,L+(e?R:0)+t+g)+"px"}else{let e=l.length>0&&w===l[0].ref.current;a.style.top="0px";let t=Math.max(T,f+y.offsetTop+(e?C:0)+L);a.style.height=t+(x-P)+"px",y.scrollTop=P-T+y.offsetTop}a.style.margin="".concat(10,"px 0"),a.style.minHeight=E+"px",a.style.maxHeight=u+"px",null==r||r(),requestAnimationFrame(()=>h.current=!0)}},[p,i.trigger,i.valueNode,a,c,y,w,b,i.dir,r]);(0,e7.b)(()=>E(),[E]);let[S,R]=f.useState();(0,e7.b)(()=>{c&&R(window.getComputedStyle(c).zIndex)},[c]);let L=f.useCallback(e=>{e&&!0===m.current&&(E(),null==x||x(),m.current=!1)},[E,x]);return(0,T.jsx)(nH,{scope:n,contentWrapper:a,shouldExpandOnScrollRef:h,onScrollButtonChange:L,children:(0,T.jsx)("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:S},children:(0,T.jsx)(C.WV.div,{...o,ref:d,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});nF.displayName="SelectItemAlignedPosition";var nV=f.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=10,...i}=e,l=nh(n);return(0,T.jsx)(tf,{...l,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.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)"}})});nV.displayName="SelectPopperPosition";var[nH,nB]=np(nk,{}),n_="SelectViewport",nz=f.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:r,...o}=e,i=nO(n_,n),l=nB(n_,n),a=(0,g.e)(t,i.onViewportChange),u=f.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.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,T.jsx)(ns.Slot,{scope:n,children:(0,T.jsx)(C.WV.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:(0,h.Mj)(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=l;if((null==r?void 0:r.current)&&n){let e=Math.abs(u.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 i=o+e,l=Math.min(r,i),a=i-l;n.style.height=l+"px","0px"===n.style.bottom&&(t.scrollTop=a>0?a:0,n.style.justifyContent="flex-end")}}}u.current=t.scrollTop})})})]})});nz.displayName=n_;var nK="SelectGroup",[nX,nY]=np(nK),nU=f.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,o=(0,W.M)();return(0,T.jsx)(nX,{scope:n,id:o,children:(0,T.jsx)(C.WV.div,{role:"group","aria-labelledby":o,...r,ref:t})})});nU.displayName=nK;var nZ="SelectLabel",nq=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=nY(nZ,n);return(0,T.jsx)(C.WV.div,{id:o.id,...r,ref:t})});nq.displayName=nZ;var n$="SelectItem",[nG,nJ]=np(n$),nQ=f.forwardRef((e,t)=>{let{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...l}=e,a=ng(n$,n),u=nO(n$,n),c=a.value===r,[s,d]=f.useState(null!=i?i:""),[p,v]=f.useState(!1),m=(0,g.e)(t,e=>{var t;return null===(t=u.itemRefCallback)||void 0===t?void 0:t.call(u,e,r,o)}),y=(0,W.M)(),w=f.useRef("touch"),b=()=>{o||(a.onValueChange(r),a.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,T.jsx)(nG,{scope:n,value:r,disabled:o,textId:y,isSelected:c,onItemTextChange:f.useCallback(e=>{d(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[]),children:(0,T.jsx)(ns.ItemSlot,{scope:n,value:r,disabled:o,textValue:s,children:(0,T.jsx)(C.WV.div,{role:"option","aria-labelledby":y,"data-highlighted":p?"":void 0,"aria-selected":c&&p,"data-state":c?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...l,ref:m,onFocus:(0,h.Mj)(l.onFocus,()=>v(!0)),onBlur:(0,h.Mj)(l.onBlur,()=>v(!1)),onClick:(0,h.Mj)(l.onClick,()=>{"mouse"!==w.current&&b()}),onPointerUp:(0,h.Mj)(l.onPointerUp,()=>{"mouse"===w.current&&b()}),onPointerDown:(0,h.Mj)(l.onPointerDown,e=>{w.current=e.pointerType}),onPointerMove:(0,h.Mj)(l.onPointerMove,e=>{if(w.current=e.pointerType,o){var t;null===(t=u.onItemLeave)||void 0===t||t.call(u)}else"mouse"===w.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,h.Mj)(l.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=u.onItemLeave)||void 0===t||t.call(u)}}),onKeyDown:(0,h.Mj)(l.onKeyDown,e=>{var t;(null===(t=u.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(nu.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});nQ.displayName=n$;var n0="SelectItemText",n1=f.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,...i}=e,l=ng(n0,n),a=nO(n0,n),u=nJ(n0,n),c=nw(n0,n),[s,d]=f.useState(null),v=(0,g.e)(t,e=>d(e),u.onItemTextChange,e=>{var t;return null===(t=a.itemTextRefCallback)||void 0===t?void 0:t.call(a,e,u.value,u.disabled)}),h=null==s?void 0:s.textContent,m=f.useMemo(()=>(0,T.jsx)("option",{value:u.value,disabled:u.disabled,children:h},u.value),[u.disabled,u.value,h]),{onNativeOptionAdd:y,onNativeOptionRemove:w}=c;return(0,e7.b)(()=>(y(m),()=>w(m)),[y,w,m]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(C.WV.span,{id:u.textId,...i,ref:v}),u.isSelected&&l.valueNode&&!l.valueNodeHasChildren?p.createPortal(i.children,l.valueNode):null]})});n1.displayName=n0;var n2="SelectItemIndicator",n5=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return nJ(n2,n).isSelected?(0,T.jsx)(C.WV.span,{"aria-hidden":!0,...r,ref:t}):null});n5.displayName=n2;var n9="SelectScrollUpButton",n4=f.forwardRef((e,t)=>{let n=nO(n9,e.__scopeSelect),r=nB(n9,e.__scopeSelect),[o,i]=f.useState(!1),l=(0,g.e)(t,r.onScrollButtonChange);return(0,e7.b)(()=>{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]),o?(0,T.jsx)(n3,{...e,ref:l,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});n4.displayName=n9;var n6="SelectScrollDownButton",n8=f.forwardRef((e,t)=>{let n=nO(n6,e.__scopeSelect),r=nB(n6,e.__scopeSelect),[o,i]=f.useState(!1),l=(0,g.e)(t,r.onScrollButtonChange);return(0,e7.b)(()=>{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]),o?(0,T.jsx)(n3,{...e,ref:l,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});n8.displayName=n6;var n3=f.forwardRef((e,t)=>
1{let{__scopeSelect:n,onAutoScroll:r,...o}=e,i=nO("SelectScrollButton",n),l=f.useRef(null),a=nd(n),u=f.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return f.useEffect(()=>()=>u(),[u]),(0,e7.b)(()=>{var e;let t=a().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[a]),(0,T.jsx)(C.WV.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:(0,h.Mj)(o.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(r,50))}),onPointerMove:(0,h.Mj)(o.onPointerMove,()=>{var e;null===(e=i.onItemLeave)||void 0===e||e.call(i),null===l.current&&(l.current=window.setInterval(r,50))}),onPointerLeave:(0,h.Mj)(o.onPointerLeave,()=>{u()})})}),n7=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,T.jsx)(C.WV.div,{"aria-hidden":!0,...r,ref:t})});n7.displayName="SelectSeparator";var re="SelectArrow";f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=nh(n);return"popper"===nO(re,n).position?(0,T.jsx)(th,{...o,...r,ref:t}):null}).displayName=re;var rt="SelectBubbleInput",rn=f.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=ng(rt,n),{value:i,onValueChange:l,required:a,disabled:u,name:c,autoComplete:s,form:d}=o,{nativeOptions:p,nativeSelectKey:v}=o,h=f.useRef(null),m=(0,g.e)(t,h),y=null!=i?i:"",w=(0,tS.D)(y);return f.useEffect(()=>{let e=h.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(w!==y&&t){let n=new Event("change",{bubbles:!0});t.call(e,y),e.dispatchEvent(n)}},[w,y]),(0,T.jsxs)(C.WV.select,{"aria-hidden":!0,required:a,tabIndex:-1,name:c,autoComplete:s,disabled:u,form:d,onChange:e=>l(e.target.value),...r,style:{...tC.C2,...r.style},ref:m,defaultValue:y,children:[rr(i)?(0,T.jsx)("option",{value:""}):null,Array.from(p)]},v)});function rr(e){return""===e||void 0===e}function ro(e){let t=(0,R.W)(e),n=f.useRef(""),r=f.useRef(0),o=f.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=f.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function ri(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let l=i.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}rn.displayName=rt},5219:function(e,t,n){n.d(t,{C2:function(){return l},TX:function(){return a}});var r=n(25529),o=n(86180),i=n(44951),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=r.forwardRef((e,t)=>(0,i.jsx)(o.WV.span,{...e,ref:t,style:{...l,...e.style}}));a.displayName="VisuallyHidden"}}]);

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.