1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[147],{861:(e,t,r)=>{r.d(t,{Qg:()=>o,bL:()=>s});var n=r(12115),l=r(88142),i=r(95155),o=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=n.forwardRef((e,t)=>(0,i.jsx)(l.sG.span,{...e,ref:t,style:{...o,...e.style}}));a.displayName="VisuallyHidden";var s=a},10489:(e,t,r)=>{r.d(t,{J:()=>o});var n=r(12115),l=r(88142),i=r(95155),o=n.forwardRef((e,t)=>(0,i.jsx)(l.sG.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));o.displayName="Label"},76651:(e,t,r)=>{r.d(t,{UC:()=>t5,In:()=>t1,q7:()=>t6,p4:()=>t8,ZL:()=>t2,bL:()=>tQ,wn:()=>t3,PP:()=>t9,l9:()=>tJ,WT:()=>t0,LM:()=>t4});var n,l=r(12115),i=r(47650);function o(e,[t,r]){return Math.min(r,Math.max(t,e))}var a=r(92556);function s(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function u(e,t){var r=s(e,t,"get");return r.get?r.get.call(e):r.value}function c(e,t,r){var n=s(e,t,"set");if(n.set)n.set.call(e,r);else{if(!n.writable)throw TypeError("attempted to set read only private field");n.value=r}return r}var f=r(3468),d=r(94446),p=r(95155);function h(e){let t=function(e){let t=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){var i;let e,o,a=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let l=e[n],i=t[n];/^on[A-Z]/.test(n)?l&&i?r[n]=(...e)=>{let t=i(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...i}:"className"===n&&(r[n]=[l,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==l.Fragment&&(s.ref=t?(0,d.t)(t,a):a),l.cloneElement(r,s)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=l.forwardRef((e,r)=>{let{children:n,...i}=e,o=l.Children.toArray(n),a=o.find(g);
1if(a){let e=a.props.children,n=o.map(t=>t!==a?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,p.jsx)(t,{...i,ref:r,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,p.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var m=Symbol("radix.slottable");function g(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var v=new WeakMap;function y(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=w(t),l=n>=0?n:r+n;return l<0||l>=r?-1:l}(e,t);return -1===r?void 0:e[r]}function w(e){return e!=e||0===e?0:Math.trunc(e)}n=new WeakMap,class e extends Map{set(e,t){return v.get(this)&&(this.has(e)?u(this,n)[u(this,n).indexOf(e)]=e:u(this,n).push(e)),super.set(e,t),this}insert(e,t,r){let l,i=this.has(t),o=u(this,n).length,a=w(e),s=a>=0?a:o+a,c=s<0||s>=o?-1:s;if(c===this.size||i&&c===this.size-1||-1===c)return this.set(t,r),this;let f=this.size+ +!i;a<0&&s++;let d=[...u(this,n)],p=!1;for(let e=s;e<f;e++)if(s===e){let n=d[e];d[e]===t&&(n=d[e+1]),i&&this.delete(t),l=this.get(n),this.set(t,r)}else{p||d[e-1]!==t||(p=!0);let r=d[p?e:e-1],n=l;l=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let l=new e(this);return l.insert(t,r,n),l}before(e){let t=u(this,n).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let l=u(this,n).indexOf(e);return -1===l?this:this.insert(l,t,r)}after(e){let t=u(this,n).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let l=u(this,n).indexOf(e);return -1===l?this:this.insert(l+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return c(this,n,[]),super.clear()}delete(e){let t=super.delete(e);return t&&u(this,n).splice(u(this,n).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=y(u(this,n),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=y(u(this,n),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return u(this,n).indexOf(e)}keyAt(e){return y(u(this,n),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&n.push(e),l++;return new e(n)}map(t,r){let n=[],l=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,i=0,o=null!=l?l:this.at(0);for(let e of this)o=0===i&&1===t.length?e:Reflect.apply(n,this,[o,e,i,this]),i++;return o}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,l]=t,i=null!=l?l:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);i=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[i,r,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let l=[...this.entries()];return l.splice(...r),new e(l)}slice(t,r){let n=new e,l=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,n,{writable:!0,value:void 0}),c(this,n,[...super.keys()]),v.set(this,!0)}};var x=l.createContext(void 0),b=r(44831),R=r(19526),S=r(69666),C=r(68946);let A=["top","right","bottom","left"],E=Math.min,T=Math.max,j=Math.round,P=Math.floor,k=e=>({x:e,y:e}
1),N={left:"right",right:"left",bottom:"top",top:"bottom"},L={start:"end",end:"start"};function O(e,t){return"function"==typeof e?e(t):e}function D(e){return e.split("-")[0]}function M(e){return e.split("-")[1]}function I(e){return"x"===e?"y":"x"}function H(e){return"y"===e?"height":"width"}function W(e){return["top","bottom"].includes(D(e))?"y":"x"}function z(e){return e.replace(/start|end/g,e=>L[e])}function B(e){return e.replace(/left|right|bottom|top/g,e=>N[e])}function V(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:r,width:n,height:l}=e;return{width:n,height:l,top:r,left:t,right:t+n,bottom:r+l,x:t,y:r}}function F(e,t,r){let n,{reference:l,floating:i}=e,o=W(t),a=I(W(t)),s=H(a),u=D(t),c="y"===o,f=l.x+l.width/2-i.width/2,d=l.y+l.height/2-i.height/2,p=l[s]/2-i[s]/2;switch(u){case"top":n={x:f,y:l.y-i.height};break;case"bottom":n={x:f,y:l.y+l.height};break;case"right":n={x:l.x+l.width,y:d};break;case"left":n={x:l.x-i.width,y:d};break;default:n={x:l.x,y:l.y}}switch(M(t)){case"start":n[a]-=p*(r&&c?-1:1);break;case"end":n[a]+=p*(r&&c?-1:1)}return n}let G=async(e,t,r)=>{let{placement:n="bottom",strategy:l="absolute",middleware:i=[],platform:o}=r,a=i.filter(Boolean),s=await (null==o.isRTL?void 0:o.isRTL(t)),u=await o.getElementRects({reference:e,floating:t,strategy:l}),{x:c,y:f}=F(u,n,s),d=n,p={},h=0;for(let r=0;r<a.length;r++){let{name:i,fn:m}=a[r],{x:g,y:v,data:y,reset:w}=await m({x:c,y:f,initialPlacement:n,placement:d,strategy:l,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=v?v:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await o.getElementRects({reference:e,floating:t,strategy:l}):w.rects),{x:c,y:f}=F(u,d,s)),r=-1)}return{x:c,y:f,placement:d,strategy:l,middlewareData:p}};async function K(e,t){var r;void 0===t&&(t={});let{x:n,y:l,platform:i,rects:o,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=O(t,e),h=V(p),m=a[d?"floating"===f?"reference":"floating":f],g=_(await i.getClippingRect({element:null==(r=await (null==i.isElement?void 0:i.isElement(m)))||r?m:m.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===f?{x:n,y:l,width:o.floating.width,height:o.floating.height}:o.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},x=_(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-x.top+h.top)/w.y,bottom:(x.bottom-g.bottom+h.bottom)/w.y,left:(g.left-x.left+h.left)/w.x,right:(x.right-g.right+h.right)/w.x}}function q(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function U(e){return A.some(t=>e[t]>=0)}async function Y(e,t){let{placement:r,platform:n,elements:l}=e,i=await (null==n.isRTL?void 0:n.isRTL(l.floating)),o=D(r),a=M(r),s="y"===W(r),u=["left","top"].includes(o)?-1:1,c=i&&s?-1:1,f=O(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function $(){return"undefined"!=typeof window}function X(e){return J(e)?(e.nodeName||"").toLowerCase():"#document"}function Z(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Q(e){var t;return null==(t=(J(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function J(e){return!!$()&&(e instanceof Node||e instanceof Z(e).Node)}function ee(e){return!!$()&&(e instanceof Element||e instanceof Z(e).Element)}function et(e){return!!$()&&(e instanceof HTMLElement||e instanceof Z(e).HTMLElement)}function er(e){return!!$()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Z(e).ShadowRoot)}function en(e){let{overflow:t,overflowX:r,overflowY:n,display:l}=es(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(l)}function el(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function ei(e){let t=eo(),r=ee(e)?es(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(r.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(r.contain||"").includes(e))}function eo(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function ea(e){return["html","body","#document"].includes(X(e))}function es(e){return Z(e).getComputedStyle(e)}function eu(e){return ee(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ec(e){if("html"===X(e))return e;let t=e.assignedSlot||e.parentNode||er(e)&&e.host||Q(e);return er(t)?t.host:t}function ef(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let l=function e(t){let r=ec(t);return ea(r)?t.ownerDocument?t.ownerDocument.body:t.body:et(r)&&en(r)?r:e(r)}(e),i=l===(null==(n=e.ownerDocument)?void 0:n.body),o=Z(l);if(i){let e=ed(o);
1return t.concat(o,o.visualViewport||[],en(l)?l:[],e&&r?ef(e):[])}return t.concat(l,ef(l,[],r))}function ed(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ep(e){let t=es(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,l=et(e),i=l?e.offsetWidth:r,o=l?e.offsetHeight:n,a=j(r)!==i||j(n)!==o;return a&&(r=i,n=o),{width:r,height:n,$:a}}function eh(e){return ee(e)?e:e.contextElement}function em(e){let t=eh(e);if(!et(t))return k(1);let r=t.getBoundingClientRect(),{width:n,height:l,$:i}=ep(t),o=(i?j(r.width):r.width)/n,a=(i?j(r.height):r.height)/l;return o&&Number.isFinite(o)||(o=1),a&&Number.isFinite(a)||(a=1),{x:o,y:a}}let eg=k(0);function ev(e){let t=Z(e);return eo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eg}function ey(e,t,r,n){var l;void 0===t&&(t=!1),void 0===r&&(r=!1);let i=e.getBoundingClientRect(),o=eh(e),a=k(1);t&&(n?ee(n)&&(a=em(n)):a=em(e));let s=(void 0===(l=r)&&(l=!1),n&&(!l||n===Z(o))&&l)?ev(o):k(0),u=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(o){let e=Z(o),t=n&&ee(n)?Z(n):n,r=e,l=ed(r);for(;l&&n&&t!==r;){let e=em(l),t=l.getBoundingClientRect(),n=es(l),i=t.left+(l.clientLeft+parseFloat(n.paddingLeft))*e.x,o=t.top+(l.clientTop+parseFloat(n.paddingTop))*e.y;u*=e.x,c*=e.y,f*=e.x,d*=e.y,u+=i,c+=o,l=ed(r=Z(l))}}return _({width:f,height:d,x:u,y:c})}function ew(e,t){let r=eu(e).scrollLeft;return t?t.left+r:ey(Q(e)).left+r}function ex(e,t,r){void 0===r&&(r=!1);let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:ew(e,n)),y:n.top+t.scrollTop}}function eb(e,t,r){let n;if("viewport"===t)n=function(e,t){let r=Z(e),n=Q(e),l=r.visualViewport,i=n.clientWidth,o=n.clientHeight,a=0,s=0;if(l){i=l.width,o=l.height;let e=eo();(!e||e&&"fixed"===t)&&(a=l.offsetLeft,s=l.offsetTop)}return{width:i,height:o,x:a,y:s}}(e,r);else if("document"===t)n=function(e){let t=Q(e),r=eu(e),n=e.ownerDocument.body,l=T(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),i=T(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),o=-r.scrollLeft+ew(e),a=-r.scrollTop;return"rtl"===es(n).direction&&(o+=T(t.clientWidth,n.clientWidth)-l),{width:l,height:i,x:o,y:a}}(Q(e));else if(ee(t))n=function(e,t){let r=ey(e,!0,"fixed"===t),n=r.top+e.clientTop,l=r.left+e.clientLeft,i=et(e)?em(e):k(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y;return{width:o,height:a,x:l*i.x,y:n*i.y}}(t,r);else{let r=ev(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return _(n)}function eR(e){return"static"===es(e).position}function eS(e,t){if(!et(e)||"fixed"===es(e).position)return null;if(t)return t(e);let r=e.offsetParent;return Q(e)===r&&(r=r.ownerDocument.body),r}function eC(e,t){let r=Z(e);if(el(e))return r;if(!et(e)){let t=ec(e);for(;t&&!ea(t);){if(ee(t)&&!eR(t))return t;t=ec(t)}return r}let n=eS(e,t);for(;n&&["table","td","th"].includes(X(n))&&eR(n);)n=eS(n,t);return n&&ea(n)&&eR(n)&&!ei(n)?r:n||function(e){let t=ec(e);for(;et(t)&&!ea(t);){if(ei(t))return t;if(el(t))break;t=ec(t)}return null}(e)||r}let eA=async function(e){let t=this.getOffsetParent||eC,r=this.getDimensions,n=await r(e.floating);return{reference:function(e,t,r){let n=et(t),l=Q(t),i="fixed"===r,o=ey(e,!0,i,t),a={scrollLeft:0,scrollTop:0},s=k(0);if(n||!n&&!i)if(("body"!==X(t)||en(l))&&(a=eu(t)),n){let e=ey(t,!0,i,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else l&&(s.x=ew(l));i&&!n&&l&&(s.x=ew(l));let u=!l||n||i?k(0):ex(l,a);return{x:o.left+a.scrollLeft-s.x-u.x,y:o.top+a.scrollTop-s.y-u.y,width:o.width,height:o.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},eE={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:l}=e,i="fixed"===l,o=Q(n),a=!!t&&el(t.floating);if(n===o||a&&i)return r;let s={scrollLeft:0,scrollTop:0},u=k(1),c=k(0),f=et(n);if((f||!f&&!i)&&(("body"!==X(n)||en(o))&&(s=eu(n)),et(n))){let e=ey(n);u=em(n),c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}let d=!o||f||i?k(0):ex(o,s,!0);return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:r.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:Q,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:l}=e,i=[..."clippingAncestors"===r?el(t)?[]:function(e,t){let r=t.get(e);if(r)return r;let n=ef(e,[],!1).filter(e=>ee(e)&&"body"!==X(e)),l=null,i="fixed"===es(e).position,o=i?ec(e):e;for(;ee(o)&&!ea(o);){let t=es(o),r=ei(o);r||"fixed"!==t.position||(l=null),(i?!r&&!l:!r&&"static"===t.position&&!!l&&["absolute","fixed"].includes(l.position)||en(o)&&!r&&function e(t,r){let n=ec(t);return!(n===r||!ee(n)||ea(n))&&("fixed"===es(n).position||e(n,r))}(e,o))?n=n.filter(e=>e!==o):l=t,o=ec(o)}return t.set(e,n),n}(t,this._c):[].concat(r),n],o=i[0],a=i.reduce((e,r)=>{let n=eb(t,r,l);return e.top=T(n.top,e.top),e.right=E(n.right,e.right),e.bottom=E(n.bottom,e.bottom),e.left=T(n.left,e.left),e},eb(t,o,l));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eC,getElementRects:eA,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:r}=ep(e);return{width:t,height:r}},getScale:em,isElement:ee,isRTL:function(e){return"rtl"===es(e).direction}};function eT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ej=e=>({name:"arrow",options:e,async fn(t){let{x:r,y:n,placement:l,rects:i,platform:o,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=O(e,t)||{};if(null==u)return{};let f=V(c),d={x:r,y:n},p=I(W(l)),h=H(p),m=await o.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",y=i.reference[h]+i.reference[p]-d[p]-i.floating[h],w=d[p]-i.reference[p],x=await (null==o.getOffsetParent?void 0:o.getOffsetParent(u)),b=x?x[v]:0;b&&await (null==o.isElement?void 0:o.isElement(x))||(b=a.floating[v]||i.floating[h]);let R=b/2-m[h]/2-1,S=E(f[g?"top":"left"],R),C=E(f[g?"bottom":"right"],R),A=b-m[h]-C,j=b/2-m[h]/2+(y/2-w/2),P=T(S,E(j,A)),k=!s.arrow&&null!=M(l)&&j!==P&&i.reference[h]/2-(j<S?S:C)-m[h]/2<0,N=k?j<S?j-S:j-A:0;return{[p]:d[p]+N,data:{[p]:P,centerOffset:j-P-N,...k&&{alignmentOffset:N}},reset:k}}});var eP="undefined"!=typeof document?l.useLayoutEffect:function(){};function ek(e,t){let r,n,l;if(e===t)return!0;
1if(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((r=e.length)!==t.length)return!1;for(n=r;0!=n--;)if(!ek(e[n],t[n]))return!1;return!0}if((r=(l=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(n=r;0!=n--;)if(!({}).hasOwnProperty.call(t,l[n]))return!1;for(n=r;0!=n--;){let r=l[n];if(("_owner"!==r||!e.$$typeof)&&!ek(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function eN(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eL(e,t){let r=eN(e);return Math.round(t*r)/r}function eO(e){let t=l.useRef(e);return eP(()=>{t.current=e}),t}var eD=r(88142),eM=l.forwardRef((e,t)=>{let{children:r,width:n=10,height:l=5,...i}=e;return(0,p.jsx)(eD.sG.svg,{...i,ref:t,width:n,height:l,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,p.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eM.displayName="Arrow";var eI=r(70222),eH=r(4129),eW="Popper",[ez,eB]=(0,f.A)(eW),[eV,e_]=ez(eW),eF=e=>{let{__scopePopper:t,children:r}=e,[n,i]=l.useState(null);return(0,p.jsx)(eV,{scope:t,anchor:n,onAnchorChange:i,children:r})};eF.displayName=eW;var eG="PopperAnchor",eK=l.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...i}=e,o=e_(eG,r),a=l.useRef(null),s=(0,d.s)(t,a);return l.useEffect(()=>{o.onAnchorChange((null==n?void 0:n.current)||a.current)}),n?null:(0,p.jsx)(eD.sG.div,{...i,ref:s})});eK.displayName=eG;var eq="PopperContent",[eU,eY]=ez(eq),e$=l.forwardRef((e,t)=>{var r,n,o,a,s,u,c,f;let{__scopePopper:h,side:m="bottom",sideOffset:g=0,align:v="center",alignOffset:y=0,arrowPadding:w=0,avoidCollisions:x=!0,collisionBoundary:b=[],collisionPadding:R=0,sticky:S="partial",hideWhenDetached:C=!1,updatePositionStrategy:A="optimized",onPlaced:j,...k}=e,N=e_(eq,h),[L,V]=l.useState(null),_=(0,d.s)(t,e=>V(e)),[F,$]=l.useState(null),X=function(e){let[t,r]=l.useState(void 0);return(0,eH.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,l;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,l=t.blockSize}else n=e.offsetWidth,l=e.offsetHeight;r({width:n,height:l})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(F),Z=null!=(c=null==X?void 0:X.width)?c:0,J=null!=(f=null==X?void 0:X.height)?f:0,ee="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},et=Array.isArray(b)?b:[b],er=et.length>0,en={padding:ee,boundary:et.filter(eJ),altBoundary:er},{refs:el,floatingStyles:ei,placement:eo,isPositioned:ea,middlewareData:es}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:a,floating:s}={},transform:u=!0,whileElementsMounted:c,open:f}=e,[d,p]=l.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,m]=l.useState(n);ek(h,n)||m(n);let[g,v]=l.useState(null),[y,w]=l.useState(null),x=l.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=l.useCallback(e=>{e!==A.current&&(A.current=e,w(e))},[]),R=a||g,S=s||y,C=l.useRef(null),A=l.useRef(null),E=l.useRef(d),T=null!=c,j=eO(c),P=eO(o),k=eO(f),N=l.useCallback(()=>{if(!C.current||!A.current)return;let e={placement:t,strategy:r,middleware:h};P.current&&(e.platform=P.current),((e,t,r)=>{let n=new Map,l={platform:eE,...r},i={...l.platform,_c:n};return G(e,t,{...l,platform:i})})(C.current,A.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};L.current&&!ek(E.current,t)&&(E.current=t,i.flushSync(()=>{p(t)}))})},[h,t,r,P,k]);eP(()=>{!1===f&&E.current.isPositioned&&(E.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[f]);let L=l.useRef(!1);eP(()=>(L.current=!0,()=>{L.current=!1}),[]),eP(()=>{if(R&&(C.current=R),S&&(A.current=S),R&&S){if(j.current)return j.current(R,S,N);N()}},[R,S,N,j,T]);let O=l.useMemo(()=>({reference:C,floating:A,setReference:x,setFloating:b}),[x,b]),D=l.useMemo(()=>({reference:R,floating:S}),[R,S]),M=l.useMemo(()=>{let e={position:r,left:0,top:0};if(!D.floating)return e;let t=eL(D.floating,d.x),n=eL(D.floating,d.y);return u?{...e,transform:"translate("+t+"px, "+n+"px)",...eN(D.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,u,D.floating,d.x,d.y]);return l.useMemo(()=>({...d,update:N,refs:O,elements:D,floatingStyles:M}),[d,N,O,D,M])}({strategy:"fixed",placement:m+("center"!==v?"-"+v:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,t,r,n){let l;void 0===n&&(n={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=n,c=eh(e),f=i||o?[...c?ef(c):[],...ef(t)]:[];
1f.forEach(e=>{i&&e.addEventListener("scroll",r,{passive:!0}),o&&e.addEventListener("resize",r)});let d=c&&s?function(e,t){let r,n=null,l=Q(e);function i(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return!function o(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),i();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let h=P(f),m=P(l.clientWidth-(c+d)),g={rootMargin:-h+"px "+-m+"px "+-P(l.clientHeight-(f+p))+"px "+-P(c)+"px",threshold:T(0,E(1,s))||1},v=!0;function y(t){let n=t[0].intersectionRatio;if(n!==s){if(!v)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}1!==n||eT(u,e.getBoundingClientRect())||o(),v=!1}try{n=new IntersectionObserver(y,{...g,root:l.ownerDocument})}catch(e){n=new IntersectionObserver(y,g)}n.observe(e)}(!0),i}(c,r):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),r()}),c&&!u&&h.observe(c),h.observe(t));let m=u?ey(e):null;return u&&function t(){let n=ey(e);m&&!eT(m,n)&&r(),m=n,l=requestAnimationFrame(t)}(),r(),()=>{var e;f.forEach(e=>{i&&e.removeEventListener("scroll",r),o&&e.removeEventListener("resize",r)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(l)}}(...t,{animationFrame:"always"===A})},elements:{reference:N.anchor},middleware:[((e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;let{x:l,y:i,placement:o,middlewareData:a}=t,s=await Y(t,e);return o===(null==(r=a.offset)?void 0:r.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:l+s.x,y:i+s.y,data:{...s,placement:o}}}}}(e),options:[e,t]}))({mainAxis:g+J,alignmentAxis:y}),x&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:r,y:n,placement:l}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...s}=O(e,t),u={x:r,y:n},c=await K(t,s),f=W(D(l)),d=I(f),p=u[d],h=u[f];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",r=p+c[e],n=p-c[t];p=T(r,E(p,n))}if(o){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",r=h+c[e],n=h-c[t];h=T(r,E(h,n))}let m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-r,y:m.y-n,enabled:{[d]:i,[f]:o}}}}}}(e),options:[e,t]}))({mainAxis:!0,crossAxis:!1,limiter:"partial"===S?((e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:r,y:n,placement:l,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=O(e,t),c={x:r,y:n},f=W(l),d=I(f),p=c[d],h=c[f],m=O(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+g.mainAxis,r=i.reference[d]+i.reference[e]-g.mainAxis;p<t?p=t:p>r&&(p=r)}if(u){var v,y;let e="y"===d?"width":"height",t=["top","left"].includes(D(l)),r=i.reference[f]-i.floating[e]+(t&&(null==(v=o.offset)?void 0:v[f])||0)+(t?0:g.crossAxis),n=i.reference[f]+i.reference[e]+(t?0:(null==(y=o.offset)?void 0:y[f])||0)-(t?g.crossAxis:0);h<r?h=r:h>n&&(h=n)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}))():void 0,...en}),x&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n,l,i,o;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=O(e,t);if(null!=(r=s.arrow)&&r.alignmentOffset)return{};let x=D(a),b=W(c),R=D(c)===c,S=await (null==f.isRTL?void 0:f.isRTL(d.floating)),C=m||(R||!y?[B(c)]:function(e){let t=B(e);return[z(e),t,z(t)]}(c)),A="none"!==v;!m&&A&&C.push(...function(e,t,r,n){let l=M(e),i=function(e,t,r){let n=["left","right"],l=["right","left"];switch(e){case"top":case"bottom":if(r)return t?l:n;return t?n:l;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(D(e),"start"===r,n);return l&&(i=i.map(e=>e+"-"+l),t&&(i=i.concat(i.map(z)))),i}(c,y,v,S));let E=[c,...C],T=await K(t,w),j=[],P=(null==(n=s.flip)?void 0:n.overflows)||[];if(p&&j.push(T[x]),h){let e=function(e,t,r){void 0===r&&(r=!1);let n=M(e),l=I(W(e)),i=H(l),o="x"===l?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=B(o)),[o,B(o)]}(a,u,S);j.push(T[e[0]],T[e[1]])}if(P=[...P,{placement:a,overflows:j}],!j.every(e=>e<=0)){let e=((null==(l=s.flip)?void 0:l.index)||0)+1,t=E[e];if(t&&("alignment"!==h||b===W(t)||P.every(e=>e.overflows[0]>0&&W(e.placement)===b)))return{data:{index:e,overflows:P},reset:{placement:t}};let r=null==(i=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!r)switch(g){case"bestFit":{let e=null==(o=P.filter(e=>{if(A){let t=W(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:o[0];e&&(r=e);break}case"initialPlacement":r=c}if(a!==r)return{reset:{placement:r}}}return{}}}}(e),options:[e,t]}))({...en}),((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;let l,i,{placement:o,rects:a,platform:s,elements:u}=t,{apply:c=()=>{},...f}=O(e,t),d=await K(t,f),p=D(o),h=M(o),m="y"===W(o),{width:g,height:v}=a.floating;"top"===p||"bottom"===p?(l=p,i=h===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(i=p,l="end"===h?"top":"bottom");let y=v-d.top-d.bottom,w=g-d.left-d.right,x=E(v-d[l],y),b=E(g-d[i],w),R=!t.middlewareData.shift,S=x,C=b;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(C=w),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(S=y),R&&!h){let e=T(d.left,0),t=T(d.right,0),r=T(d.top,0),n=T(d.bottom,0);m?C=g-2*(0!==e||0!==t?e+t:T(d.left,d.right)):S=v-2*(0!==r||0!==n?r+n:T(d.top,d.bottom))}await c({...t,availableWidth:C,availableHeight:S});let A=await s.getDimensions(u.floating);return g!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}))({...en,apply:e=>{let{elements:t,rects:r,availableWidth:n,availableHeight:l}=e,{width:i,height:o}=r.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(n,"px")),a.setProperty("--radix-popper-available-height","".concat(l,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(o,"px"))}}),F&&((e,t)=>({...(e=>({name:"arrow",options:e,fn(t){let{element:r,padding:n}="function"==typeof e?e(t):e;return r&&({}).hasOwnProperty.call(r,"current")?null!=r.current?ej({element:r.current,padding:n}).fn(t):{}:r?ej({element:r,padding:n}).fn(t):{}}}))(e),options:[e,t]}))({element:F,padding:w}),e0({arrowWidth:Z,arrowHeight:J}),C&&((e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:r}=t,{strategy:n="referenceHidden",...l}=O(e,t);switch(n){case"referenceHidden":{let e=q(await K(t,{...l,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:U(e)}}}case"escaped":{let e=q(await K(t,{...l,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:U(e)}}}default:return{}}}}}(e),options:[e,t]}))({strategy:"referenceHidden",...en})]}),[eu,ec]=e1(eo),ed=(0,eI.c)(j);(0,eH.N)(()=>{ea&&(null==ed||ed())},[ea,ed]);let ep=null==(r=es.arrow)?void 0:r.x,em=null==(n=es.arrow)?void 0:n.y,eg=(null==(o=es.arrow)?void 0:o.centerOffset)!==0,[ev,ew]=l.useState();return(0,eH.N)(()=>{L&&ew(window.getComputedStyle(L).zIndex)},[L]),(0,p.jsx)("div",{ref:el.setFloating,"data-radix-popper-content-wrapper":"",style:{...ei,transform:ea?ei.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ev,"--radix-popper-transform-origin":[null==(a=es.transformOrigin)?void 0:a.x,null==(s=es.transformOrigin)?void 0:s.y].join(" "),...(null==(u=es.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,p.jsx)(eU,{scope:h,placedSide:eu,onArrowChange:$,arrowX:ep,arrowY:em,shouldHideArrow:eg,children:(0,p.jsx)(eD.sG.div,{"data-side":eu,"data-align":ec,...k,ref:_,style:{...k.style,animation:ea?void 0:"none"}})})})});e$.displayName=eq;var eX="PopperArrow",eZ={top:"bottom",right:"left",bottom:"top",left:"right"},eQ=l.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,l=eY(eX,r),i=eZ[l.placedSide];return(0,p.jsx)("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:(0,p.jsx)(eM,{...n,ref:t,style:{...n.style,display:"block"}})})});function eJ(e){return null!==e}eQ.displayName=eX;var e0=e=>({name:"transformOrigin",options:e,fn(t){var r,n,l,i,o;let{placement:a,rects:s,middlewareData:u}=t,c=(null==(r=u.arrow)?void 0:r.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e1(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!=(i=null==(n=u.arrow)?void 0:n.x)?i:0)+f/2,v=(null!=(o=null==(l=u.arrow)?void 0:l.y)?o:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(g,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(v,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(v,"px")),{data:{x:y,y:w}}}});function e1(e){let[t,r="center"]=e.split("-");return[t,r]}var e2=r(75433),e5=Symbol("radix.slottable");function e4(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===e5}var e6=r(23558),e8=r(861),e9=r(97745),e3=r(14432),e7=[" ","Enter","ArrowUp","ArrowDown"],te=[" ","Enter"],tt="Select",[tr,tn,tl]=function(e){let t=e+"CollectionProvider",[r,n]=(0,f.A)(t),[i,o]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=l.useRef(null),o=l.useRef(new Map).current;return(0,p.jsx)(i,{scope:t,itemMap:o,collectionRef:n,children:r})};a.displayName=t;let s=e+"CollectionSlot",u=h(s),c=l.forwardRef((e,t)=>
1{let{scope:r,children:n}=e,l=o(s,r),i=(0,d.s)(t,l.collectionRef);return(0,p.jsx)(u,{ref:i,children:n})});c.displayName=s;let m=e+"CollectionItemSlot",g="data-radix-collection-item",v=h(m),y=l.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,a=l.useRef(null),s=(0,d.s)(t,a),u=o(m,r);return l.useEffect(()=>(u.itemMap.set(a,{ref:a,...i}),()=>void u.itemMap.delete(a))),(0,p.jsx)(v,{...{[g]:""},ref:s,children:n})});return y.displayName=m,[{Provider:a,Slot:c,ItemSlot:y},function(t){let r=o(e+"CollectionConsumer",t);return l.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(g,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(tt),[ti,to]=(0,f.A)(tt,[tl,eB]),ta=eB(),[ts,tu]=ti(tt),[tc,tf]=ti(tt),td=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:i,onOpenChange:o,value:a,defaultValue:s,onValueChange:u,dir:c,name:f,autoComplete:d,disabled:h,required:m,form:g}=e,v=ta(t),[y,w]=l.useState(null),[b,R]=l.useState(null),[S,A]=l.useState(!1),E=function(e){let t=l.useContext(x);return e||t||"ltr"}(c),[T,j]=(0,e6.i)({prop:n,defaultProp:null!=i&&i,onChange:o,caller:tt}),[P,k]=(0,e6.i)({prop:a,defaultProp:s,onChange:u,caller:tt}),N=l.useRef(null),L=!y||g||!!y.closest("form"),[O,D]=l.useState(new Set),M=Array.from(O).map(e=>e.props.value).join(";");return(0,p.jsx)(eF,{...v,children:(0,p.jsxs)(ts,{required:m,scope:t,trigger:y,onTriggerChange:w,valueNode:b,onValueNodeChange:R,valueNodeHasChildren:S,onValueNodeHasChildrenChange:A,contentId:(0,C.B)(),value:P,onValueChange:k,open:T,onOpenChange:j,dir:E,triggerPointerDownPosRef:N,disabled:h,children:[(0,p.jsx)(tr.Provider,{scope:t,children:(0,p.jsx)(tc,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(e=>{D(t=>new Set(t).add(e))},[]),onNativeOptionRemove:l.useCallback(e=>{D(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),L?(0,p.jsxs)(tY,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:d,value:P,onChange:e=>k(e.target.value),disabled:h,form:g,children:[void 0===P?(0,p.jsx)("option",{value:""}):null,Array.from(O)]},M):null]})})};td.displayName=tt;var tp="SelectTrigger",th=l.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...i}=e,o=ta(r),s=tu(tp,r),u=s.disabled||n,c=(0,d.s)(t,s.onTriggerChange),f=tn(r),h=l.useRef("touch"),[m,g,v]=tX(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===s.value),n=tZ(t,e,r);void 0!==n&&s.onValueChange(n.value)}),y=e=>{u||(s.onOpenChange(!0),v()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,p.jsx)(eK,{asChild:!0,...o,children:(0,p.jsx)(eD.sG.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":t$(s.value)?"":void 0,...i,ref:c,onClick:(0,a.m)(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&y(e)}),onPointerDown:(0,a.m)(i.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&&(y(e),e.preventDefault())}),onKeyDown:(0,a.m)(i.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),(!t||" "!==e.key)&&e7.includes(e.key)&&(y(),e.preventDefault())})})})});th.displayName=tp;var tm="SelectValue",tg=l.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:l,children:i,placeholder:o="",...a}=e,s=tu(tm,r),{onValueNodeHasChildrenChange:u}=s,c=void 0!==i,f=(0,d.s)(t,s.onValueNodeChange);return(0,eH.N)(()=>{u(c)},[u,c]),(0,p.jsx)(eD.sG.span,{...a,ref:f,style:{pointerEvents:"none"},children:t$(s.value)?(0,p.jsx)(p.Fragment,{children:o}):i})});tg.displayName=tm;var tv=l.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...l}=e;return(0,p.jsx)(eD.sG.span,{"aria-hidden":!0,...l,ref:t,children:n||"â¼"})});tv.displayName="SelectIcon";var ty=e=>(0,p.jsx)(e2.Z,{asChild:!0,...e});ty.displayName="SelectPortal";var tw="SelectContent",tx=l.forwardRef((e,t)=>
1{let r=tu(tw,e.__scopeSelect),[n,o]=l.useState();return((0,eH.N)(()=>{o(new DocumentFragment)},[]),r.open)?(0,p.jsx)(tC,{...e,ref:t}):n?i.createPortal((0,p.jsx)(tb,{scope:e.__scopeSelect,children:(0,p.jsx)(tr.Slot,{scope:e.__scopeSelect,children:(0,p.jsx)("div",{children:e.children})})}),n):null});tx.displayName=tw;var[tb,tR]=ti(tw),tS=function(e){let t=function(e){let t=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){var i;let e,o,a=(i=r,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),s=function(e,t){let r={...t};for(let n in t){let l=e[n],i=t[n];/^on[A-Z]/.test(n)?l&&i?r[n]=(...e)=>{let t=i(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...i}:"className"===n&&(r[n]=[l,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==l.Fragment&&(s.ref=t?(0,d.t)(t,a):a),l.cloneElement(r,s)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=l.forwardRef((e,r)=>{let{children:n,...i}=e,o=l.Children.toArray(n),a=o.find(e4);if(a){let e=a.props.children,n=o.map(t=>t!==a?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,p.jsx)(t,{...i,ref:r,children:l.isValidElement(e)?l.cloneElement(e,void 0,n):null})}return(0,p.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}("SelectContent.RemoveScroll"),tC=l.forwardRef((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:o,onPointerDownOutside:s,side:u,sideOffset:c,align:f,alignOffset:h,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:y,hideWhenDetached:w,avoidCollisions:x,...C}=e,A=tu(tw,r),[E,T]=l.useState(null),[j,P]=l.useState(null),k=(0,d.s)(t,e=>T(e)),[N,L]=l.useState(null),[O,D]=l.useState(null),M=tn(r),[I,H]=l.useState(!1),W=l.useRef(!1);l.useEffect(()=>{if(E)return(0,e9.Eq)(E)},[E]),(0,R.Oh)();let z=l.useCallback(e=>{let[t,...r]=M().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(null==r||r.scrollIntoView({block:"nearest"}),r===t&&j&&(j.scrollTop=0),r===n&&j&&(j.scrollTop=j.scrollHeight),null==r||r.focus(),document.activeElement!==l))return},[M,j]),B=l.useCallback(()=>z([N,E]),[z,N,E]);l.useEffect(()=>{I&&B()},[I,B]);let{onOpenChange:V,triggerPointerDownPosRef:_}=A;l.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{var r,n,l,i;e={x:Math.abs(Math.round(t.pageX)-(null!=(l=null==(r=_.current)?void 0:r.x)?l:0)),y:Math.abs(Math.round(t.pageY)-(null!=(i=null==(n=_.current)?void 0:n.y)?i:0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():E.contains(r.target)||V(!1),document.removeEventListener("pointermove",t),_.current=null};return null!==_.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[E,V,_]),l.useEffect(()=>{let e=()=>V(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[V]);let[F,G]=tX(e=>{let t=M().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=tZ(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),K=l.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==A.value&&A.value===t||n)&&(L(e),n&&(W.current=!0))},[A.value]),q=l.useCallback(()=>null==E?void 0:E.focus(),[E]),U=l.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==A.value&&A.value===t||n)&&D(e)},[A.value]),Y="popper"===n?tE:tA,$=Y===tE?{side:u,sideOffset:c,align:f,alignOffset:h,arrowPadding:m,collisionBoundary:g,collisionPadding:v,sticky:y,hideWhenDetached:w,avoidCollisions:x}:{};return(0,p.jsx)(tb,{scope:r,content:E,viewport:j,onViewportChange:P,itemRefCallback:K,selectedItem:N,onItemLeave:q,itemTextRefCallback:U,focusSelectedItem:B,selectedItemText:O,position:n,isPositioned:I,searchRef:F,children:(0,p.jsx)(e3.A,{as:tS,allowPinchZoom:!0,children:(0,p.jsx)(S.n,{asChild:!0,trapped:A.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.m)(i,e=>{var t;
1null==(t=A.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,p.jsx)(b.qW,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>A.onOpenChange(!1),children:(0,p.jsx)(Y,{role:"listbox",id:A.contentId,"data-state":A.open?"open":"closed",dir:A.dir,onContextMenu:e=>e.preventDefault(),...C,...$,onPlaced:()=>H(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,a.m)(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||G(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=M().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 r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>z(t)),e.preventDefault()}})})})})})})});tC.displayName="SelectContentImpl";var tA=l.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...i}=e,a=tu(tw,r),s=tR(tw,r),[u,c]=l.useState(null),[f,h]=l.useState(null),m=(0,d.s)(t,e=>h(e)),g=tn(r),v=l.useRef(!1),y=l.useRef(!0),{viewport:w,selectedItem:x,selectedItemText:b,focusSelectedItem:R}=s,S=l.useCallback(()=>{if(a.trigger&&a.valueNode&&u&&f&&w&&x&&b){let e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),r=a.valueNode.getBoundingClientRect(),l=b.getBoundingClientRect();if("rtl"!==a.dir){let n=l.left-t.left,i=r.left-n,a=e.left-i,s=e.width+a,c=Math.max(s,t.width),f=o(i,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.left=f+"px"}else{let n=t.right-l.right,i=window.innerWidth-r.right-n,a=window.innerWidth-e.right-i,s=e.width+a,c=Math.max(s,t.width),f=o(i,[10,Math.max(10,window.innerWidth-10-c)]);u.style.minWidth=s+"px",u.style.right=f+"px"}let i=g(),s=window.innerHeight-20,c=w.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),m=parseInt(d.borderBottomWidth,10),y=p+h+c+parseInt(d.paddingBottom,10)+m,R=Math.min(5*x.offsetHeight,y),S=window.getComputedStyle(w),C=parseInt(S.paddingTop,10),A=parseInt(S.paddingBottom,10),E=e.top+e.height/2-10,T=x.offsetHeight/2,j=p+h+(x.offsetTop+T);if(j<=E){let e=i.length>0&&x===i[i.length-1].ref.current;u.style.bottom="0px";let t=Math.max(s-E,T+(e?A:0)+(f.clientHeight-w.offsetTop-w.offsetHeight)+m);u.style.height=j+t+"px"}else{let e=i.length>0&&x===i[0].ref.current;u.style.top="0px";let t=Math.max(E,p+w.offsetTop+(e?C:0)+T);u.style.height=t+(y-j)+"px",w.scrollTop=j-E+w.offsetTop}u.style.margin="".concat(10,"px 0"),u.style.minHeight=R+"px",u.style.maxHeight=s+"px",null==n||n(),requestAnimationFrame(()=>v.current=!0)}},[g,a.trigger,a.valueNode,u,f,w,x,b,a.dir,n]);(0,eH.N)(()=>S(),[S]);let[C,A]=l.useState();(0,eH.N)(()=>{f&&A(window.getComputedStyle(f).zIndex)},[f]);let E=l.useCallback(e=>{e&&!0===y.current&&(S(),null==R||R(),y.current=!1)},[S,R]);return(0,p.jsx)(tT,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:v,onScrollButtonChange:E,children:(0,p.jsx)("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,p.jsx)(eD.sG.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});tA.displayName="SelectItemAlignedPosition";var tE=l.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:l=10,...i}=e,o=ta(r);return(0,p.jsx)(e$,{...o,...i,ref:t,align:n,collisionPadding:l,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)"}})});tE.displayName="SelectPopperPosition";var[tT,tj]=ti(tw,{}),tP="SelectViewport",tk=l.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...i}=e,o=tR(tP,r),s=tj(tP,r),u=(0,d.s)(t,o.onViewportChange),c=l.useRef(0);return(0,p.jsxs)(p.Fragment,{children:[(0,p.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:n}),(0,p.jsx)(tr.Slot,{scope:r,children:(0,p.jsx)(eD.sG.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,a.m)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=s;if((null==n?void 0:n.current)&&r){let e=Math.abs(c.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l<n){let i=l+e,o=Math.min(n,i),a=i-o;r.style.height=o+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});tk.displayName=tP;var tN="SelectGroup",[tL,tO]=ti(tN);l.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,l=(0,C.B)();return(0,p.jsx)(tL,{scope:r,id:l,children:(0,p.jsx)(eD.sG.div,{role:"group","aria-labelledby":l,...n,ref:t})})}).displayName=tN;var tD="SelectLabel";l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=tO(tD,r);return(0,p.jsx)(eD.sG.div,{id:l.id,...n,ref:t})}).displayName=tD;var tM="SelectItem",[tI,tH]=ti(tM),tW=l.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:i=!1,textValue:o,...s}=e,u=tu(tM,r),c=tR(tM,r),f=u.value===n,[h,m]=l.useState(null!=o?o:""),[g,v]=l.useState(!1),y=(0,d.s)(t,e=>{var t;return null==(t=c.itemRefCallback)?void 0:t.call(c,e,n,i)}),w=(0,C.B)(),x=l.useRef("touch"),b=()=>{i||(u.onValueChange(n),u.onOpenChange(!1))};if(""===n)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,p.jsx)(tI,{scope:r,value:n,disabled:i,textId:w,isSelected:f,onItemTextChange:l.useCallback(e=>{m(t=>{var r;return t||(null!=(r=null==e?void 0:e.textContent)?r:"").trim()})},[]),children:(0,p.jsx)(tr.ItemSlot,{scope:r,value:n,disabled:i,textValue:h,children:(0,p.jsx)(eD.sG.div,{role:"option","aria-labelledby":w,"data-highlighted":g?"":void 0,"aria-selected":f&&g,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:y,onFocus:(0,a.m)(s.onFocus,()=>v(!0)),onBlur:(0,a.m)(s.onBlur,()=>v(!1)),onClick:(0,a.m)(s.onClick,()=>{"mouse"!==x.current&&b()}),onPointerUp:(0,a.m)(s.onPointerUp,()=>{"mouse"===x.current&&b()}),onPointerDown:(0,a.m)(s.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,a.m)(s.onPointerMove,e=>{if(x.current=e.pointerType,i){var t;null==(t=c.onItemLeave)||t.call(c)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.m)(s.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null==(t=c.onItemLeave)||t.call(c)}}),onKeyDown:(0,a.m)(s.onKeyDown,e=>{var t;((null==(t=c.searchRef)?void 0:t.current)===""||" "!==e.key)&&(te.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});tW.displayName=tM;var tz="SelectItemText",tB=l.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,...a}=e,s=tu(tz,r),u=tR(tz,r),c=tH(tz,r),f=tf(tz,r),[h,m]=l.useState(null),g=(0,d.s)(t,e=>m(e),c.onItemTextChange,e=>{var t;return null==(t=u.itemTextRefCallback)?void 0:t.call(u,e,c.value,c.disabled)}),v=null==h?void 0:h.textContent,y=l.useMemo(()=>(0,p.jsx)("option",{value:c.value,disabled:c.disabled,children:v},c.value),[c.disabled,c.value,v]),{onNativeOptionAdd:w,onNativeOptionRemove:x}=f;return(0,eH.N)(()=>(w(y),()=>x(y)),[w,x,y]),(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(eD.sG.span,{id:c.textId,...a,ref:g}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?i.createPortal(a.children,s.valueNode):null]})});tB.displayName=tz;var tV="SelectItemIndicator";l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return tH(tV,r).isSelected?(0,p.jsx)(eD.sG.span,{"aria-hidden":!0,...n,ref:t}):null}).displayName=tV;var t_="SelectScrollUpButton",tF=l.forwardRef((e,t)=>{let r=tR(t_,e.__scopeSelect),n=tj(t_,e.__scopeSelect),[i,o]=l.useState(!1),a=(0,d.s)(t,n.onScrollButtonChange);return(0,eH.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){o(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,p.jsx)(tq,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});tF.displayName=t_;var tG="SelectScrollDownButton",tK=l.forwardRef((e,t)=>{let r=tR(tG,e.__scopeSelect),n=tj(tG,e.__scopeSelect),[i,o]=l.useState(!1),a=(0,d.s)(t,n.onScrollButtonChange);return(0,eH.N)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;o(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,p.jsx)(tq,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});tK.displayName=tG;var tq=l.forwardRef((e,t)=>
1{let{__scopeSelect:r,onAutoScroll:n,...i}=e,o=tR("SelectScrollButton",r),s=l.useRef(null),u=tn(r),c=l.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return l.useEffect(()=>()=>c(),[c]),(0,eH.N)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null==(e=t.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),(0,p.jsx)(eD.sG.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,a.m)(i.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(n,50))}),onPointerMove:(0,a.m)(i.onPointerMove,()=>{var e;null==(e=o.onItemLeave)||e.call(o),null===s.current&&(s.current=window.setInterval(n,50))}),onPointerLeave:(0,a.m)(i.onPointerLeave,()=>{c()})})});l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,p.jsx)(eD.sG.div,{"aria-hidden":!0,...n,ref:t})}).displayName="SelectSeparator";var tU="SelectArrow";l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,l=ta(r),i=tu(tU,r),o=tR(tU,r);return i.open&&"popper"===o.position?(0,p.jsx)(eQ,{...l,...n,ref:t}):null}).displayName=tU;var tY=l.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,...i}=e,o=l.useRef(null),a=(0,d.s)(t,o),s=function(e){let t=l.useRef({value:e,previous:e});return l.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(n);return l.useEffect(()=>{let e=o.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[s,n]),(0,p.jsx)(eD.sG.select,{...i,style:{...e8.Qg,...i.style},ref:a,defaultValue:n})});function t$(e){return""===e||void 0===e}function tX(e){let t=(0,eI.c)(e),r=l.useRef(""),n=l.useRef(0),i=l.useCallback(e=>{let l=r.current+e;t(l),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),o=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,i,o]}function tZ(e,t,r){var n,l;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1,a=(n=e,l=Math.max(o,0),n.map((e,t)=>n[(l+t)%n.length]));1===i.length&&(a=a.filter(e=>e!==r));let s=a.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==r?s:void 0}tY.displayName="SelectBubbleInput";var tQ=td,tJ=th,t0=tg,t1=tv,t2=ty,t5=tx,t4=tk,t6=tW,t8=tB,t9=tF,t3=tK}}]);
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.