PageSourceSearch

https://messtechnik-events.com/assets/select-CZhZxbf8.js

js messtechnik-events.com collected 2026-10-09 22:02:55 UTC 49,369 bytes, 1 lines download raw bytes

vendor: 7,551 bytes, line 1
1import{r as f,ao as it,j as x,aa as z,ae as Ot,af as q,am as Nt,a3 as ne,al as Bn,a9 as gt,ab as st,ac as $,ap as Vn,aq as Wn,ar as Fn,as as $n,at as zn,au as Un,ah as le,$ as Kn}from"./index-D9jIKKOn.js";import{u as Yn,c as Xn}from"./index-C6kUatHC.js";import{a as Gn,u as qn}from"./index-pcCAjn_P.js";import{C as It}from"./chevron-down-D7TYpaCT.js";import{C as Zn}from"./chevron-up-BpZEolNT.js";function xt(e,[t,n]){return Math.min(n,Math.max(t,e))}const Jn=["top","right","bottom","left"],ae=Math.min,Y=Math.max,Me=Math.round,Ie=Math.floor,te=e=>({x:e,y:e}),Qn={left:"right",right:"left",bottom:"top",top:"bottom"};function Ze(e,t,n){return Y(e,ae(t,n))}function re(e,t){return typeof e=="function"?e(t):e}function ie(e){return e.split("-")[0]}function be(e){return e.split("-")[1]}function ct(e){return e==="x"?"y":"x"}function lt(e){return e==="y"?"height":"width"}function ee(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function at(e){return ct(ee(e))}function eo(e,t,n){n===void 0&&(n=!1);const o=be(e),r=at(e),s=lt(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=De(i)),[i,De(i)]}function to(e){const t=De(e);return[Je(e),t,Je(t)]}function Je(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const wt=["left","right"],vt=["right","left"],no=["top","bottom"],oo=["bottom","top"];function ro(e,t,n){switch(e){case"top":case"bottom":return n?t?vt:wt:t?wt:vt;case"left":case"right":return t?no:oo;default:return[]}}function io(e,t,n,o){const r=be(e);let s=ro(ie(e),n==="start",o);return r&&(s=s.map(i=>i+"-"+r),t&&(s=s.concat(s.map(Je)))),s}function De(e){const t=ie(e);return Qn[t]+e.slice(t.length)}function so(e){return{top:0,right:0,bottom:0,left:0,...e}}function _t(e){return typeof e!="number"?so(e):{top:e,right:e,bottom:e,left:e}}function Le(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function yt(e,t,n){let{reference:o,floating:r}=e;const s=ee(t),i=at(t),c=lt(i),l=ie(t),a=s==="y",d=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,g=o[c]/2-r[c]/2;let m;switch(l){case"top":m={x:d,y:o.y-r.height};break;case"bottom":m={x:d,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:p};break;case"left":m={x:o.x-r.width,y:p};break;default:m={x:o.x,y:o.y}}switch(be(t)){case"start":m[i]-=g*(n&&a?-1:1);break;case"end":m[i]+=g*(n&&a?-1:1);break}return m}async function co(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:i,elements:c,strategy:l}=e,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:g=!1,padding:m=0}=re(t,e),h=_t(m),v=c[g?p==="floating"?"reference":"floating":p],y=Le(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(c.floating)),boundary:a,rootBoundary:d,strategy:l})),w=p==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,S=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c.floating)),C=await(s.isElement==null?void 0:s.isElement(S))?await(s.getScale==null?void 0:s.getScale(S))||{x:1,y:1}:{x:1,y:1},R=Le(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:S,strategy:l}):w);return{top:(y.top-R.top+h.top)/C.y,bottom:(R.bottom-y.bottom+h.bottom)/C.y,left:(y.left-R.left+h.left)/C.x,right:(R.right-y.right+h.right)/C.x}}const lo=50,ao=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:i}=n,c=i.detectOverflow?i:{...i,detectOverflow:co},l=await(i.isRTL==null?void 0:i.isRTL(t));let a=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:p}=yt(a,o,l),g=o,m=0;const h={};for(let u=0;u<s.length;u++){const v=s[u];if(!v)continue;const{name:y,fn:w}=v,{x:S,y:C,data:R,reset:E}=await w({x:d,y:p,initialPlacement:o,placement:g,strategy:r,middlewareData:h,rects:a,platform:c,elements:{reference:e,floating:t}});d=S??d,p=C??p,h[y]={...h[y],...R},E&&m<lo&&(m++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(a=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):E.rects),{x:d,y:p}=yt(a,g,l)),u=-1)}return{x:d,y:p,placement:g,strategy:r,middlewareData:h}},fo=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:i,elements:c,middlewareData:l}=t,{element:a,padding:d=0}=re(e,t)||{};if(a==null)return{};const p=_t(d),g={x:n,y:o},m=at(r),h=lt(m),u=await i.getDimensions(a),v=m==="y",y=v?"top":"left",w=v?"bottom":"right",S=v?"clientHeight":"clientWidth",C=s.reference[h]+s.reference[m]-g[m]-s.floating[h],R=g[m]-s.reference[m],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a));let A=E?E[S]:0;(!A||!await(i.isElement==null?void 0:i.isElement(E)))&&(A=c.floating[S]||s.floating[h]);const I=C/2-R/2,B=A/2-u[h]/2-1,M=ae(p[y],B),D=ae(p[w],B),L=M,_=A-u[h]-D,O=A/2-u[h]/2+I,V=Ze(L,O,_),T=!l.arrow&&be(r)!=null&&O!==V&&s.reference[h]/2-(O<L?M:D)-u[h]/2<0,N=T?O<L?O-L:O-_:0;return{[m]:g[m]+N,data:{[m]:V,centerOffset:O-V-N,...T&&{alignmentOffset:N}},reset:T}}}),uo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:i,initialPlacement:c,platform:l,elements:a}=t,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:g,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:u=!0,...v}=re(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=ie(r),w=ee(c),S=ie(c)===c,C=await(l.isRTL==null?void 0:l.isRTL(a.floating)),R=g||(S||!u?[De(c)]:to(c)),E=h!=="none";!g&&E&&R.push(...io(c,u,h,C));const A=[c,...R],I=await l.detectOverflow(t,v),B=[];let M=((o=s.flip)==null?void 0:o.overflows)||[];if(d&&B.push(I[y]),p){const O=eo(r,i,C);B.push(I[O[0]],I[O[1]])}if(M=[...M,{placement:r,overflows:B}],!B.every(O=>O<=0)){var D,L;const O=(((D=s.flip)==null?void 0:D.index)||0)+1,V=A[O];if(V&&(!(p==="alignment"?w!==ee(V):!1)||M.every(P=>ee(P.placement)===w?P.overflows[0]>0:!0)))return{data:{index:O,overflows:M},reset:{placement:V}};let T=(L=M.filter(N=>N.overflows[0]<=0).sort((N,P)=>N.overflows[1]-P.overflows[1])[0])==null?void 0:L.placement;if(!T)switch(m){case"bestFit":{var _;const N=(_=M.filter(P=>{if(E){const j=ee(P.placement);return j===w||j==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(j=>j>0).reduce((j,K)=>j+K,0)]).sort((P,j)=>P[1]-j[1])[0])==null?void 0:_[0];N&&(T=N);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function St(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ct(e){return Jn.some(t=>e[t]>=0)}const po=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:o}=t,{strategy:r="referenceHidden",...s}=re(e,t);switch(r){case"referenceHidden":{const i=await o.detectOverflow(t,{...s,elementContext:"reference"}),c=St(i,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Ct(c)}}}case"escaped":{const i=await o.detectOverflow(t,{...s,altBoundary:!0}),c=St(i,n.floating);return{data:{escapedOffsets:c,escaped:Ct(c)}}}default:return{}}}}},Mt=new Set(["left","top"]);async function mo(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=ie(n),c=be(n),l=ee(n)==="y",a=Mt.has(i)?-1:1,d=s&&l?-1:1,p=re(t,e);let{mainAxis:g,crossAxis:m,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}
1:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof h=="number"&&(m=c==="end"?h*-1:h),l?{x:m*d,y:g*a}:{x:g*a,y:m*d}}const ho=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:i,middlewareData:c}=t,l=await mo(t,e);return i===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:i}}}}},go=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r,platform:s}=t,{mainAxis:i=!0,crossAxis:c=!1,limiter:l={fn:y=>{let{x:w,y:S}=y;return{x:w,y:S}}},...a}=re(e,t),d={x:n,y:o},p=await s.detectOverflow(t,a),g=ee(ie(r)),m=ct(g);let h=d[m],u=d[g];if(i){const y=m==="y"?"top":"left",w=m==="y"?"bottom":"right",S=h+p[y],C=h-p[w];h=Ze(S,h,C)}if(c){const y=g==="y"?"top":"left",w=g==="y"?"bottom":"right",S=u+p[y],C=u-p[w];u=Ze(S,u,C)}const v=l.fn({...t,[m]:h,[g]:u});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[m]:i,[g]:c}}}}}},xo=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:i}=t,{offset:c=0,mainAxis:l=!0,crossAxis:a=!0}=re(e,t),d={x:n,y:o},p=ee(r),g=ct(p);let m=d[g],h=d[p];const u=re(c,t),v=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(l){const S=g==="y"?"height":"width",C=s.reference[g]-s.floating[S]+v.mainAxis,R=s.reference[g]+s.reference[S]-v.mainAxis;m<C?m=C:m>R&&(m=R)}if(a){var y,w;const S=g==="y"?"width":"height",C=Mt.has(ie(r)),R=s.reference[p]-s.floating[S]+(C&&((y=i.offset)==null?void 0:y[p])||0)+(C?0:v.crossAxis),E=s.reference[p]+s.reference[S]+(C?0:((w=i.offset)==null?void 0:w[p])||0)-(C?v.crossAxis:0);h<R?h=R:h>E&&(h=E)}return{[g]:m,[p]:h}}}},wo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:i,elements:c}=t,{apply:l=()=>{},...a}=re(e,t),d=await i.detectOverflow(t,a),p=ie(r),g=be(r),m=ee(r)==="y",{width:h,height:u}=s.floating;let v,y;p==="top"||p==="bottom"?(v=p,y=g===(await(i.isRTL==null?void 0:i.isRTL(c.floating))?"start":"end")?"left":"right"):(y=p,v=g==="end"?"top":"bottom");const w=u-d.top-d.bottom,S=h-d.left-d.right,C=ae(u-d[v],w),R=ae(h-d[y],S),E=!t.middlewareData.shift;let A=C,I=R;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(I=S),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(A=w),E&&!g){const M=Y(d.left,0),D=Y(d.right,0),L=Y(d.top,0),_=Y(d.bottom,0);m?I=h-2*(M!==0||D!==0?M+D:Y(d.left,d.right)):A=u-2*(L!==0||_!==0?L+_:Y(d.top,d.bottom))}await l({...t,availableWidth:I,availableHeight:A});const B=await i.getDimensions(c.floating);return h!==B.width||u!==B.height?{reset:{rects:!0}}:{}}}};function He(){return typeof window<"u"}function Re(e){return Dt(e)?(e.nodeName||"").toLowerCase():"#document"}function X(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function oe(e){var t;return(t=(Dt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Dt(e){return He()?e instanceof Node||e instanceof X(e).Node:!1}function J(e){return He()?e instanceof Element||e instanceof X(e).Element:!1}function se(e){return He()?e instanceof HTMLElement||e instanceof X(e).HTMLElement:!1}function bt(e){return!He()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof X(e).ShadowRoot}function Ne(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Q(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&r!=="inline"&&r!=="contents"}function vo(e){return/^(table|td|th)$/.test(Re(e))}function Be(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const yo=/transform|translate|scale|rotate|perspective|filter/,So=/paint|layout|strict|content/,ge=e=>!!e&&e!=="none";let Xe;function ft(e){const t=J(e)?Q(e):e;return ge(t.transform)||ge(t.translate)||ge(t.scale)||ge(t.rotate)||ge(t.perspective)||!dt()&&(ge(t.backdropFilter)||ge(t.filter))||yo.test(t.willChange||"")||So.test(t.contain||"")}function Co(e){let t=fe(e);for(;se(t)&&!Ce(t);){if(ft(t))return t;if(Be(t))return null;t=fe(t)}return null}function dt(){return Xe==null&&(Xe=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Xe}function Ce(e){return/^(html|body|#document)$/.test(Re(e))}function Q(e){return X(e).getComputedStyle(e)}function Ve(e){return J(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function fe(e){if(Re(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bt(e)&&e.host||oe(e);return bt(t)?t.host:t}function Lt(e){const t=fe(e);return Ce(t)?e.ownerDocument?e.ownerDocument.body:e.body:se(t)&&Ne(t)?t:Lt(t)}
vendor: 4,432 bytes, line 1
1function Oe(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Lt(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),i=X(r);if(s){const c=Qe(i);return t.concat(i,i.visualViewport||[],Ne(r)?r:[],c&&n?Oe(c):[])}else return t.concat(r,Oe(r,[],n))}function Qe(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jt(e){const t=Q(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=se(e),s=r?e.offsetWidth:n,i=r?e.offsetHeight:o,c=Me(n)!==s||Me(o)!==i;return c&&(n=s,o=i),{width:n,height:o,$:c}}function ut(e){return J(e)?e:e.contextElement}function Se(e){const t=ut(e);if(!se(t))return te(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=jt(t);let i=(s?Me(n.width):n.width)/o,c=(s?Me(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!c||!Number.isFinite(c))&&(c=1),{x:i,y:c}}const bo=te(0);function kt(e){const t=X(e);return!dt()||!t.visualViewport?bo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ro(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==X(e)?!1:t}function xe(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=ut(e);let i=te(1);t&&(o?J(o)&&(i=Se(o)):i=Se(e));const c=Ro(s,n,o)?kt(s):te(0);let l=(r.left+c.x)/i.x,a=(r.top+c.y)/i.y,d=r.width/i.x,p=r.height/i.y;if(s){const g=X(s),m=o&&J(o)?X(o):o;let h=g,u=Qe(h);for(;u&&o&&m!==h;){const v=Se(u),y=u.getBoundingClientRect(),w=Q(u),S=y.left+(u.clientLeft+parseFloat(w.paddingLeft))*v.x,C=y.top+(u.clientTop+parseFloat(w.paddingTop))*v.y;l*=v.x,a*=v.y,d*=v.x,p*=v.y,l+=S,a+=C,h=X(u),u=Qe(h)}}return Le({width:d,height:p,x:l,y:a})}function We(e,t){const n=Ve(e).scrollLeft;return t?t.left+n:xe(oe(e)).left+n}function Ht(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-We(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function Po(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",i=oe(o),c=t?Be(t.floating):!1;if(o===i||c&&s)return n;let l={scrollLeft:0,scrollTop:0},a=te(1);const d=te(0),p=se(o);if((p||!p&&!s)&&((Re(o)!=="body"||Ne(i))&&(l=Ve(o)),p)){const m=xe(o);a=Se(o),d.x=m.x+o.clientLeft,d.y=m.y+o.clientTop}const g=i&&!p&&!s?Ht(i,l):te(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-l.scrollLeft*a.x+d.x+g.x,y:n.y*a.y-l.scrollTop*a.y+d.y+g.y}}function Ao(e){return Array.from(e.getClientRects())}function Eo(e){const t=oe(e),n=Ve(e),o=e.ownerDocument.body,r=Y(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Y(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+We(e);const c=-n.scrollTop;return Q(o).direction==="rtl"&&(i+=Y(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:i,y:c}}const Rt=25;function To(e,t){const n=X(e),o=oe(e),r=n.visualViewport;let s=o.clientWidth,i=o.clientHeight,c=0,l=0;if(r){s=r.width,i=r.height;const d=dt();(!d||d&&t==="fixed")&&(c=r.offsetLeft,l=r.offsetTop)}const a=We(o);if(a<=0){const d=o.ownerDocument,p=d.body,g=getComputedStyle(p),m=d.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,h=Math.abs(o.clientWidth-p.clientWidth-m);h<=Rt&&(s-=h)}else a<=Rt&&(s+=a);return{width:s,height:i,x:c,y:l}}function Oo(e,t){const n=xe(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=se(e)?Se(e):te(1),i=e.clientWidth*s.x,c=e.clientHeight*s.y,l=r*s.x,a=o*s.y;return{width:i,height:c,x:l,y:a}}function Pt(e,t,n){let o;if(t==="viewport")o=To(e,n);else if(t==="document")o=Eo(oe(e));else if(J(t))o=Oo(t,n);else{const r=kt(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return Le(o)}function Bt(e,t){const n=fe(e);return n===t||!J(n)||Ce(n)?!1:Q(n).position==="fixed"||Bt(n,t)}function No(e,t){const n=t.get(e);if(n)return n;let o=Oe(e,[],!1).filter(c=>J(c)&&Re(c)!=="body"),r=null;const s=Q(e).position==="fixed";let i=s?fe(e):e;for(;J(i)&&!Ce(i);){const c=Q(i),l=ft(i);!l&&c.position==="fixed"&&(r=null),(s?!l&&!r:!l&&c.position==="static"&&!!r&&(r.position==="absolute"||r.position==="fixed")||Ne(i)&&!l&&Bt(e,i))?o=o.filter(d=>d!==i):r=c,i=fe(i)}return t.set(e,o),o}function Io(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?Be(t)?[]:No(t,this._c):[].concat(n),o],c=Pt(t,i[0],r);let l=c.top,a=c.right,d=c.bottom,p=c.left;for(let g=1;g<i.length;g++){const m=Pt(t,i[g],r);l=Y(m.top,l),a=ae(m.right,a),d=ae(m.bottom,d),p=Y(m.left,p)}return{width:a-p,height:d-l,x:p,y:l}}function _o(e){const{width:t,height:n}=jt(e);return{width:t,height:n}}
vendor: 9,279 bytes, line 1
1function Mo(e,t,n){const o=se(t),r=oe(t),s=n==="fixed",i=xe(e,!0,s,t);let c={scrollLeft:0,scrollTop:0};const l=te(0);function a(){l.x=We(r)}if(o||!o&&!s)if((Re(t)!=="body"||Ne(r))&&(c=Ve(t)),o){const m=xe(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else r&&a();s&&!o&&r&&a();const d=r&&!o&&!s?Ht(r,c):te(0),p=i.left+c.scrollLeft-l.x-d.x,g=i.top+c.scrollTop-l.y-d.y;return{x:p,y:g,width:i.width,height:i.height}}function Ge(e){return Q(e).position==="static"}function At(e,t){if(!se(e)||Q(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return oe(e)===n&&(n=n.ownerDocument.body),n}function Vt(e,t){const n=X(e);if(Be(e))return n;if(!se(e)){let r=fe(e);for(;r&&!Ce(r);){if(J(r)&&!Ge(r))return r;r=fe(r)}return n}let o=At(e,t);for(;o&&vo(o)&&Ge(o);)o=At(o,t);return o&&Ce(o)&&Ge(o)&&!ft(o)?n:o||Co(e)||n}const Do=async function(e){const t=this.getOffsetParent||Vt,n=this.getDimensions,o=await n(e.floating);return{reference:Mo(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Lo(e){return Q(e).direction==="rtl"}const jo={convertOffsetParentRelativeRectToViewportRelativeRect:Po,getDocumentElement:oe,getClippingRect:Io,getOffsetParent:Vt,getElementRects:Do,getClientRects:Ao,getDimensions:_o,getScale:Se,isElement:J,isRTL:Lo};function Wt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function ko(e,t){let n=null,o;const r=oe(e);function s(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function i(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),s();const a=e.getBoundingClientRect(),{left:d,top:p,width:g,height:m}=a;if(c||t(),!g||!m)return;const h=Ie(p),u=Ie(r.clientWidth-(d+g)),v=Ie(r.clientHeight-(p+m)),y=Ie(d),S={rootMargin:-h+"px "+-u+"px "+-v+"px "+-y+"px",threshold:Y(0,ae(1,l))||1};let C=!0;function R(E){const A=E[0].intersectionRatio;if(A!==l){if(!C)return i();A?i(!1,A):o=setTimeout(()=>{i(!1,1e-7)},1e3)}A===1&&!Wt(a,e.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(R,{...S,root:r.ownerDocument})}catch{n=new IntersectionObserver(R,S)}n.observe(e)}return i(!0),s}function Ho(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,a=ut(e),d=r||s?[...a?Oe(a):[],...t?Oe(t):[]]:[];d.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const p=a&&c?ko(a,n):null;let g=-1,m=null;i&&(m=new ResizeObserver(y=>{let[w]=y;w&&w.target===a&&m&&t&&(m.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var S;(S=m)==null||S.observe(t)})),n()}),a&&!l&&m.observe(a),t&&m.observe(t));let h,u=l?xe(e):null;l&&v();function v(){const y=xe(e);u&&!Wt(u,y)&&n(),u=y,h=requestAnimationFrame(v)}return n(),()=>{var y;d.forEach(w=>{r&&w.removeEventListener("scroll",n),s&&w.removeEventListener("resize",n)}),p?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(h)}}const Bo=ho,Vo=go,Wo=uo,Fo=wo,$o=po,Et=fo,zo=xo,Uo=(e,t,n)=>{const o=new Map,r={platform:jo,...n},s={...r.platform,_c:o};return ao(e,t,{...r,platform:s})};var Ko=typeof document<"u",Yo=function(){},_e=Ko?f.useLayoutEffect:Yo;function je(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,o,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!je(e[o],t[o]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!{}.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const s=r[o];if(!(s==="_owner"&&e.$$typeof)&&!je(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Ft(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Tt(e,t){const n=Ft(e);return Math.round(t*n)/n}function qe(e){const t=f.useRef(e);return _e(()=>{t.current=e}),t}function Xo(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:s,floating:i}={},transform:c=!0,whileElementsMounted:l,open:a}=e,[d,p]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[g,m]=f.useState(o);je(g,o)||m(o);const[h,u]=f.useState(null),[v,y]=f.useState(null),w=f.useCallback(P=>{P!==E.current&&(E.current=P,u(P))},[]),S=f.useCallback(P=>{P!==A.current&&(A.current=P,y(P))},[]),C=s||h,R=i||v,E=f.useRef(null),A=f.useRef(null),I=f.useRef(d),B=l!=null,M=qe(l),D=qe(r),L=qe(a),_=f.useCallback(()=>{if(!E.current||!A.current)return;const P={placement:t,strategy:n,middleware:g};D.current&&(P.platform=D.current),Uo(E.current,A.current,P).then(j=>{const K={...j,isPositioned:L.current!==!1};O.current&&!je(I.current,K)&&(I.current=K,it.flushSync(()=>{p(K)}))})},[g,t,n,D,L]);_e(()=>{a===!1&&I.current.isPositioned&&(I.current.isPositioned=!1,p(P=>({...P,isPositioned:!1})))},[a]);const O=f.useRef(!1);_e(()=>(O.current=!0,()=>{O.current=!1}),[]),_e(()=>{if(C&&(E.current=C),R&&(A.current=R),C&&R){if(M.current)return M.current(C,R,_);_()}},[C,R,_,M,B]);const V=f.useMemo(()=>({reference:E,floating:A,setReference:w,setFloating:S}),[w,S]),T=f.useMemo(()=>({reference:C,floating:R}),[C,R]),N=f.useMemo(()=>{const P={position:n,left:0,top:0};if(!T.floating)return P;const j=Tt(T.floating,d.x),K=Tt(T.floating,d.y);return c?{...P,transform:"translate("+j+"px, "+K+"px)",...Ft(T.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:K}},[n,c,T.floating,d.x,d.y]);return f.useMemo(()=>({...d,update:_,refs:V,elements:T,floatingStyles:N}),[d,_,V,T,N])}const Go=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=typeof e=="function"?e(n):e;return o&&t(o)?o.current!=null?Et({element:o.current,padding:r}).fn(n):{}:o?Et({element:o,padding:r}).fn(n):{}}}},qo=(e,t)=>{const n=Bo(e);return{name:n.name,fn:n.fn,options:[e,t]}},Zo=(e,t)=>{const n=Vo(e);return{name:n.name,fn:n.fn,options:[e,t]}},Jo=(e,t)=>({fn:zo(e).fn,options:[e,t]}),Qo=(e,t)=>{const n=Wo(e);return{name:n.name,fn:n.fn,options:[e,t]}},er=(e,t)=>{const n=Fo(e);return{name:n.name,fn:n.fn,options:[e,t]}},tr=(e,t)=>{const n=$o(e);return{name:n.name,fn:n.fn,options:[e,t]}},nr=(e,t)=>{const n=Go(e);return{name:n.name,fn:n.fn,options:[e,t]}};var or="Arrow",$t=f.forwardRef((e,t)=>{const{children:n,width:o=10,height:r=5,...s}=e;return x.jsx(z.svg,{...s,ref:t,width:o,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});$t.displayName=or;var rr=$t,pt="Popper",[zt,Ut]=Ot(pt),[ir,Kt]=zt(pt),Yt=e=>{const{__scopePopper:t,children:n}=e,[o,r]=f.useState(null);return x.jsx(ir,{scope:t,anchor:o,onAnchorChange:r,children:n})};Yt.displayName=pt;var Xt="PopperAnchor",Gt=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:o,...r}=e,s=Kt(Xt,n),i=f.useRef(null),c=q(t,i),l=f.useRef(null);return f.useEffect(()=>{const a=l.current;l.current=o?.current||i.current,a!==l.current&&s.onAnchorChange(l.current)}),o?null:x.jsx(z.div,{...r,ref:c})});Gt.displayName=Xt;var mt="PopperContent",[sr,cr]=zt(mt),qt=f.forwardRef((e,t)=>{const{__scopePopper:n,side:o="bottom",sideOffset:r=0,align:s="center",alignOffset:i=0,arrowPadding:c=0,avoidCollisions:l=!0,collisionBoundary:a=[],collisionPadding:d=0,sticky:p="partial",hideWhenDetached:g=!1,updatePositionStrategy:m="optimized",onPlaced:h,...u}=e,v=Kt(mt,n),[y,w]=f.useState(null),S=q(t,b=>w(b)),[C,R]=f.useState(null),E=Gn(C),A=E?.width??0,I=E?.height??0,B=o+(s!=="center"?"-"+s:""),M=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},D=Array.isArray(a)?a:[a],L=D.length>0,_={padding:M,boundary:D.filter(ar),altBoundary:L},{refs:O,floatingStyles:V,placement:T,isPositioned:N,middlewareData:P}=Xo({strategy:"fixed",placement:B,whileElementsMounted:(...b)=>Ho(...b,{animationFrame:m==="always"}),elements:{reference:v.anchor},middleware:[qo({mainAxis:r+I,alignmentAxis:i}),l&&Zo({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?Jo():void 0,..._}),l&&Qo({..._}),er({..._,apply:({elements:b,rects:W,availableWidth:U,availableHeight:k})=>{const{width:H,height:F}=W.reference,G=b.floating.style;G.setProperty("--radix-popper-available-width",`${U}px`),G.setProperty("--radix-popper-available-height",`${k}px`),G.setProperty("--radix-popper-anchor-width",`${H}px`),G.setProperty("--radix-popper-anchor-height",`${F}px`)}}),C&&nr({element:C,padding:c}),fr({arrowWidth:A,arrowHeight:I}),g&&tr({strategy:"referenceHidden",..._})]}),[j,K]=Qt(T),pe=Nt(h);ne(()=>{N&&pe?.()},[N,pe]);const Ae=P.arrow?.x,Ee=P.arrow?.y,ce=P.arrow?.centerOffset!==0,[ye,me]=f.useState();return ne(()=>{y&&me(window.getComputedStyle(y).zIndex)},[y]),x.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:N?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ye,"--radix-popper-transform-origin":[P.transformOrigin?.x,P.transformOrigin?.y].join(" "),...P.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(sr,{scope:n,placedSide:j,onArrowChange:R,arrowX:Ae,arrowY:Ee,shouldHideArrow:ce,children:x.jsx(z.div,{"data-side":j,"data-align":K,...u,ref:S,style:{...u.style,animation:N?void 0:"none"}})})})});
vendor: 4,406 bytes, line 1
1qt.displayName=mt;var Zt="PopperArrow",lr={top:"bottom",right:"left",bottom:"top",left:"right"},Jt=f.forwardRef(function(t,n){const{__scopePopper:o,...r}=t,s=cr(Zt,o),i=lr[s.placedSide];return x.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:x.jsx(rr,{...r,ref:n,style:{...r.style,display:"block"}})})});Jt.displayName=Zt;function ar(e){return e!==null}var fr=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,i=r.arrow?.centerOffset!==0,c=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[a,d]=Qt(n),p={start:"0%",center:"50%",end:"100%"}[d],g=(r.arrow?.x??0)+c/2,m=(r.arrow?.y??0)+l/2;let h="",u="";return a==="bottom"?(h=i?p:`${g}px`,u=`${-l}px`):a==="top"?(h=i?p:`${g}px`,u=`${o.floating.height+l}px`):a==="right"?(h=`${-l}px`,u=i?p:`${m}px`):a==="left"&&(h=`${o.floating.width+l}px`,u=i?p:`${m}px`),{data:{x:h,y:u}}}});function Qt(e){const[t,n="center"]=e.split("-");return[t,n]}var dr=Yt,ur=Gt,pr=qt,mr=Jt;function hr(e){const t=gr(e),n=f.forwardRef((o,r)=>{const{children:s,...i}=o,c=f.Children.toArray(s),l=c.find(wr);if(l){const a=l.props.children,d=c.map(p=>p===l?f.Children.count(a)>1?f.Children.only(null):f.isValidElement(a)?a.props.children:null:p);return x.jsx(t,{...i,ref:r,children:f.isValidElement(a)?f.cloneElement(a,void 0,d):null})}return x.jsx(t,{...i,ref:r,children:s})});return n.displayName=`${e}.Slot`,n}function gr(e){const t=f.forwardRef((n,o)=>{const{children:r,...s}=n;if(f.isValidElement(r)){const i=yr(r),c=vr(s,r.props);return r.type!==f.Fragment&&(c.ref=o?Bn(o,i):i),f.cloneElement(r,c)}return f.Children.count(r)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xr=Symbol("radix.slottable");function wr(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xr}function vr(e,t){const n={...t};for(const o in t){const r=e[o],s=t[o];/^on[A-Z]/.test(o)?r&&s?n[o]=(...c)=>{const l=s(...c);return r(...c),l}:r&&(n[o]=r):o==="style"?n[o]={...r,...s}:o==="className"&&(n[o]=[r,s].filter(Boolean).join(" "))}return{...e,...n}}function yr(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var en=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"}),Sr="VisuallyHidden",Cr=f.forwardRef((e,t)=>x.jsx(z.span,{...e,ref:t,style:{...en,...e.style}}));Cr.displayName=Sr;var br=[" ","Enter","ArrowUp","ArrowDown"],Rr=[" ","Enter"],we="Select",[Fe,$e,Pr]=Xn(we),[Pe]=Ot(we,[Pr,Ut]),ze=Ut(),[Ar,de]=Pe(we),[Er,Tr]=Pe(we),tn=e=>{const{__scopeSelect:t,children:n,open:o,defaultOpen:r,onOpenChange:s,value:i,defaultValue:c,onValueChange:l,dir:a,name:d,autoComplete:p,disabled:g,required:m,form:h}=e,u=ze(t),[v,y]=f.useState(null),[w,S]=f.useState(null),[C,R]=f.useState(!1),E=Yn(a),[A,I]=gt({prop:o,defaultProp:r??!1,onChange:s,caller:we}),[B,M]=gt({prop:i,defaultProp:c,onChange:l,caller:we}),D=f.useRef(null),L=v?h||!!v.closest("form"):!0,[_,O]=f.useState(new Set),V=Array.from(_).map(T=>T.props.value).join(";");return x.jsx(dr,{...u,children:x.jsxs(Ar,{required:m,scope:t,trigger:v,onTriggerChange:y,valueNode:w,onValueNodeChange:S,valueNodeHasChildren:C,onValueNodeHasChildrenChange:R,contentId:st(),value:B,onValueChange:M,open:A,onOpenChange:I,dir:E,triggerPointerDownPosRef:D,disabled:g,children:[x.jsx(Fe.Provider,{scope:t,children:x.jsx(Er,{scope:e.__scopeSelect,onNativeOptionAdd:f.useCallback(T=>{O(N=>new Set(N).add(T))},[]),onNativeOptionRemove:f.useCallback(T=>{O(N=>{const P=new Set(N);return P.delete(T),P})},[]),children:n})}),L?x.jsxs(An,{"aria-hidden":!0,required:m,tabIndex:-1,name:d,autoComplete:p,value:B,onChange:T=>M(T.target.value),disabled:g,form:h,children:[B===void 0?x.jsx("option",{value:""}):null,Array.from(_)]},V):null]})})};tn.displayName=we;var nn="SelectTrigger",on=f.forwardRef((e,t)=>
vendor: 17,647 bytes, line 1
1{const{__scopeSelect:n,disabled:o=!1,...r}=e,s=ze(n),i=de(nn,n),c=i.disabled||o,l=q(t,i.onTriggerChange),a=$e(n),d=f.useRef("touch"),[p,g,m]=Tn(u=>{const v=a().filter(S=>!S.disabled),y=v.find(S=>S.value===i.value),w=On(v,u,y);w!==void 0&&i.onValueChange(w.value)}),h=u=>{c||(i.onOpenChange(!0),m()),u&&(i.triggerPointerDownPosRef.current={x:Math.round(u.pageX),y:Math.round(u.pageY)})};return x.jsx(ur,{asChild:!0,...s,children:x.jsx(z.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":En(i.value)?"":void 0,...r,ref:l,onClick:$(r.onClick,u=>{u.currentTarget.focus(),d.current!=="mouse"&&h(u)}),onPointerDown:$(r.onPointerDown,u=>{d.current=u.pointerType;const v=u.target;v.hasPointerCapture(u.pointerId)&&v.releasePointerCapture(u.pointerId),u.button===0&&u.ctrlKey===!1&&u.pointerType==="mouse"&&(h(u),u.preventDefault())}),onKeyDown:$(r.onKeyDown,u=>{const v=p.current!=="";!(u.ctrlKey||u.altKey||u.metaKey)&&u.key.length===1&&g(u.key),!(v&&u.key===" ")&&br.includes(u.key)&&(h(),u.preventDefault())})})})});on.displayName=nn;var rn="SelectValue",sn=f.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,children:s,placeholder:i="",...c}=e,l=de(rn,n),{onValueNodeHasChildrenChange:a}=l,d=s!==void 0,p=q(t,l.onValueNodeChange);return ne(()=>{a(d)},[a,d]),x.jsx(z.span,{...c,ref:p,style:{pointerEvents:"none"},children:En(l.value)?x.jsx(x.Fragment,{children:i}):s})});sn.displayName=rn;var Or="SelectIcon",cn=f.forwardRef((e,t)=>{const{__scopeSelect:n,children:o,...r}=e;return x.jsx(z.span,{"aria-hidden":!0,...r,ref:t,children:o||"▼"})});cn.displayName=Or;var Nr="SelectPortal",ln=e=>x.jsx(Vn,{asChild:!0,...e});ln.displayName=Nr;var ve="SelectContent",an=f.forwardRef((e,t)=>{const n=de(ve,e.__scopeSelect),[o,r]=f.useState();if(ne(()=>{r(new DocumentFragment)},[]),!n.open){const s=o;return s?it.createPortal(x.jsx(fn,{scope:e.__scopeSelect,children:x.jsx(Fe.Slot,{scope:e.__scopeSelect,children:x.jsx("div",{children:e.children})})}),s):null}return x.jsx(dn,{...e,ref:t})});an.displayName=ve;var Z=10,[fn,ue]=Pe(ve),Ir="SelectContentImpl",_r=hr("SelectContent.RemoveScroll"),dn=f.forwardRef((e,t)=>{const{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:r,onEscapeKeyDown:s,onPointerDownOutside:i,side:c,sideOffset:l,align:a,alignOffset:d,arrowPadding:p,collisionBoundary:g,collisionPadding:m,sticky:h,hideWhenDetached:u,avoidCollisions:v,...y}=e,w=de(ve,n),[S,C]=f.useState(null),[R,E]=f.useState(null),A=q(t,b=>C(b)),[I,B]=f.useState(null),[M,D]=f.useState(null),L=$e(n),[_,O]=f.useState(!1),V=f.useRef(!1);f.useEffect(()=>{if(S)return Wn(S)},[S]),Fn();const T=f.useCallback(b=>{const[W,...U]=L().map(F=>F.ref.current),[k]=U.slice(-1),H=document.activeElement;for(const F of b)if(F===H||(F?.scrollIntoView({block:"nearest"}),F===W&&R&&(R.scrollTop=0),F===k&&R&&(R.scrollTop=R.scrollHeight),F?.focus(),document.activeElement!==H))return},[L,R]),N=f.useCallback(()=>T([I,S]),[T,I,S]);f.useEffect(()=>{_&&N()},[_,N]);const{onOpenChange:P,triggerPointerDownPosRef:j}=w;f.useEffect(()=>{if(S){let b={x:0,y:0};const W=k=>{b={x:Math.abs(Math.round(k.pageX)-(j.current?.x??0)),y:Math.abs(Math.round(k.pageY)-(j.current?.y??0))}},U=k=>{b.x<=10&&b.y<=10?k.preventDefault():S.contains(k.target)||P(!1),document.removeEventListener("pointermove",W),j.current=null};return j.current!==null&&(document.addEventListener("pointermove",W),document.addEventListener("pointerup",U,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",W),document.removeEventListener("pointerup",U,{capture:!0})}}},[S,P,j]),f.useEffect(()=>{const b=()=>P(!1);return window.addEventListener("blur",b),window.addEventListener("resize",b),()=>{window.removeEventListener("blur",b),window.removeEventListener("resize",b)}},[P]);const[K,pe]=Tn(b=>{const W=L().filter(H=>!H.disabled),U=W.find(H=>H.ref.current===document.activeElement),k=On(W,b,U);k&&setTimeout(()=>k.ref.current.focus())}),Ae=f.useCallback((b,W,U)=>{const k=!V.current&&!U;(w.value!==void 0&&w.value===W||k)&&(B(b),k&&(V.current=!0))},[w.value]),Ee=f.useCallback(()=>S?.focus(),[S]),ce=f.useCallback((b,W,U)=>{const k=!V.current&&!U;(w.value!==void 0&&w.value===W||k)&&D(b)},[w.value]),ye=o==="popper"?et:un,me=ye===et?{side:c,sideOffset:l,align:a,alignOffset:d,arrowPadding:p,collisionBoundary:g,collisionPadding:m,sticky:h,hideWhenDetached:u,avoidCollisions:v}:{};return x.jsx(fn,{scope:n,content:S,viewport:R,onViewportChange:E,itemRefCallback:Ae,selectedItem:I,onItemLeave:Ee,itemTextRefCallback:ce,focusSelectedItem:N,selectedItemText:M,position:o,isPositioned:_,searchRef:K,children:x.jsx($n,{as:_r,allowPinchZoom:!0,children:x.jsx(zn,{asChild:!0,trapped:w.open,onMountAutoFocus:b=>{b.preventDefault()},onUnmountAutoFocus:$(r,b=>{w.trigger?.focus({preventScroll:!0}),b.preventDefault()}),children:x.jsx(Un,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:b=>b.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:x.jsx(ye,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:b=>b.preventDefault(),...y,...me,onPlaced:()=>O(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:$(y.onKeyDown,b=>{const W=b.ctrlKey||b.altKey||b.metaKey;if(b.key==="Tab"&&b.preventDefault(),!W&&b.key.length===1&&pe(b.key),["ArrowUp","ArrowDown","Home","End"].includes(b.key)){let k=L().filter(H=>!H.disabled).map(H=>H.ref.current);if(["ArrowUp","End"].includes(b.key)&&(k=k.slice().reverse()),["ArrowUp","ArrowDown"].includes(b.key)){const H=b.target,F=k.indexOf(H);k=k.slice(F+1)}setTimeout(()=>T(k)),b.preventDefault()}})})})})})})});dn.displayName=Ir;var Mr="SelectItemAlignedPosition",un=f.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:o,...r}=e,s=de(ve,n),i=ue(ve,n),[c,l]=f.useState(null),[a,d]=f.useState(null),p=q(t,A=>d(A)),g=$e(n),m=f.useRef(!1),h=f.useRef(!0),{viewport:u,selectedItem:v,selectedItemText:y,focusSelectedItem:w}=i,S=f.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&a&&u&&v&&y){const A=s.trigger.getBoundingClientRect(),I=a.getBoundingClientRect(),B=s.valueNode.getBoundingClientRect(),M=y.getBoundingClientRect();if(s.dir!=="rtl"){const H=M.left-I.left,F=B.left-H,G=A.left-F,he=A.width+G,Ue=Math.max(he,I.width),Ke=window.innerWidth-Z,Ye=xt(F,[Z,Math.max(Z,Ke-Ue)]);c.style.minWidth=he+"px",c.style.left=Ye+"px"}else{const H=I.right-M.right,F=window.innerWidth-B.right-H,G=window.innerWidth-A.right-F,he=A.width+G,Ue=Math.max(he,I.width),Ke=window.innerWidth-Z,Ye=xt(F,[Z,Math.max(Z,Ke-Ue)]);c.style.minWidth=he+"px",c.style.right=Ye+"px"}const D=g(),L=window.innerHeight-Z*2,_=u.scrollHeight,O=window.getComputedStyle(a),V=parseInt(O.borderTopWidth,10),T=parseInt(O.paddingTop,10),N=parseInt(O.borderBottomWidth,10),P=parseInt(O.paddingBottom,10),j=V+T+_+P+N,K=Math.min(v.offsetHeight*5,j),pe=window.getComputedStyle(u),Ae=parseInt(pe.paddingTop,10),Ee=parseInt(pe.paddingBottom,10),ce=A.top+A.height/2-Z,ye=L-ce,me=v.offsetHeight/2,b=v.offsetTop+me,W=V+T+b,U=j-W;if(W<=ce){const H=D.length>0&&v===D[D.length-1].ref.current;c.style.bottom="0px";const F=a.clientHeight-u.offsetTop-u.offsetHeight,G=Math.max(ye,me+(H?Ee:0)+F+N),he=W+G;c.style.height=he+"px"}else{const H=D.length>0&&v===D[0].ref.current;c.style.top="0px";const G=Math.max(ce,V+u.offsetTop+(H?Ae:0)+me)+U;c.style.height=G+"px",u.scrollTop=W-ce+u.offsetTop}c.style.margin=`${Z}px 0`,c.style.minHeight=K+"px",c.style.maxHeight=L+"px",o?.(),requestAnimationFrame(()=>m.current=!0)}},[g,s.trigger,s.valueNode,c,a,u,v,y,s.dir,o]);ne(()=>S(),[S]);const[C,R]=f.useState();ne(()=>{a&&R(window.getComputedStyle(a).zIndex)},[a]);const E=f.useCallback(A=>{A&&h.current===!0&&(S(),w?.(),h.current=!1)},[S,w]);return x.jsx(Lr,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:m,onScrollButtonChange:E,children:x.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:x.jsx(z.div,{...r,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...r.style}})})})});un.displayName=Mr;var Dr="SelectPopperPosition",et=f.forwardRef((e,t)=>{const{__scopeSelect:n,align:o="start",collisionPadding:r=Z,...s}=e,i=ze(n);return x.jsx(pr,{...i,...s,ref:t,align:o,collisionPadding:r,style:{boxSizing:"border-box",...s.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)"}})});et.displayName=Dr;var[Lr,ht]=Pe(ve,{}),tt="SelectViewport",pn=f.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:o,...r}=e,s=ue(tt,n),i=ht(tt,n),c=q(t,s.onViewportChange),l=f.useRef(0);return x.jsxs(x.Fragment,{children:[x.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:o}),x.jsx(Fe.Slot,{scope:n,children:x.jsx(z.div,{"data-radix-select-viewport":"",role:"presentation",...r,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...r.style},onScroll:$(r.onScroll,a=>{const d=a.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:g}=i;if(g?.current&&p){const m=Math.abs(l.current-d.scrollTop);if(m>0){const h=window.innerHeight-Z*2,u=parseFloat(p.style.minHeight),v=parseFloat(p.style.height),y=Math.max(u,v);if(y<h){const w=y+m,S=Math.min(h,w),C=w-S;p.style.height=S+"px",p.style.bottom==="0px"&&(d.scrollTop=C>0?C:0,p.style.justifyContent="flex-end")}}}l.current=d.scrollTop})})})]})});pn.displayName=tt;var mn="SelectGroup",[jr,kr]=Pe(mn),Hr=f.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=st();return x.jsx(jr,{scope:n,id:r,children:x.jsx(z.div,{role:"group","aria-labelledby":r,...o,ref:t})})});Hr.displayName=mn;var hn="SelectLabel",gn=f.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=kr(hn,n);return x.jsx(z.div,{id:r.id,...o,ref:t})});gn.displayName=hn;var ke="SelectItem",[Br,xn]=Pe(ke),wn=f.forwardRef((e,t)=>{const{__scopeSelect:n,value:o,disabled:r=!1,textValue:s,...i}=e,c=de(ke,n),l=ue(ke,n),a=c.value===o,[d,p]=f.useState(s??""),[g,m]=f.useState(!1),h=q(t,w=>l.itemRefCallback?.(w,o,r)),u=st(),v=f.useRef("touch"),y=()=>{r||(c.onValueChange(o),c.onOpenChange(!1))};if(o==="")throw new 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 x.jsx(Br,{scope:n,value:o,disabled:r,textId:u,isSelected:a,onItemTextChange:f.useCallback(w=>{p(S=>S||(w?.textContent??"").trim())},[]),children:x.jsx(Fe.ItemSlot,{scope:n,value:o,disabled:r,textValue:d,children:x.jsx(z.div,{role:"option","aria-labelledby":u,"data-highlighted":g?"":void 0,"aria-selected":a&&g,"data-state":a?"checked":"unchecked","aria-disabled":r||void 0,"data-disabled":r?"":void 0,tabIndex:r?void 0:-1,...i,ref:h,onFocus:$(i.onFocus,()=>m(!0)),onBlur:$(i.onBlur,()=>m(!1)),onClick:$(i.onClick,()=>{v.current!=="mouse"&&y()}),onPointerUp:$(i.onPointerUp,()=>{v.current==="mouse"&&y()}),onPointerDown:$(i.onPointerDown,w=>{v.current=w.pointerType}),onPointerMove:$(i.onPointerMove,w=>{v.current=w.pointerType,r?l.onItemLeave?.():v.current==="mouse"&&w.currentTarget.focus({preventScroll:!0})}),onPointerLeave:$(i.onPointerLeave,w=>{w.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:$(i.onKeyDown,w=>{l.searchRef?.current!==""&&w.key===" "||(Rr.includes(w.key)&&y(),w.key===" "&&w.preventDefault())})})})})});wn.displayName=ke;var Te="SelectItemText",vn=f.forwardRef((e,t)=>{const{__scopeSelect:n,className:o,style:r,...s}=e,i=de(Te,n),c=ue(Te,n),l=xn(Te,n),a=Tr(Te,n),[d,p]=f.useState(null),g=q(t,y=>p(y),l.onItemTextChange,y=>c.itemTextRefCallback?.(y,l.value,l.disabled)),m=d?.textContent,h=f.useMemo(()=>x.jsx("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:u,onNativeOptionRemove:v}=a;return ne(()=>(u(h),()=>v(h)),[u,v,h]),x.jsxs(x.Fragment,{children:[x.jsx(z.span,{id:l.textId,...s,ref:g}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?it.createPortal(s.children,i.valueNode):null]})});vn.displayName=Te;var yn="SelectItemIndicator",Sn=f.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return xn(yn,n).isSelected?x.jsx(z.span,{"aria-hidden":!0,...o,ref:t}):null});Sn.displayName=yn;var nt="SelectScrollUpButton",Cn=f.forwardRef((e,t)=>{const n=ue(nt,e.__scopeSelect),o=ht(nt,e.__scopeSelect),[r,s]=f.useState(!1),i=q(t,o.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let c=function(){const a=l.scrollTop>0;s(a)};const l=n.viewport;return c(),l.addEventListener("scroll",c),()=>l.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?x.jsx(Rn,{...e,ref:i,onAutoScroll:()=>{const{viewport:c,selectedItem:l}=n;c&&l&&(c.scrollTop=c.scrollTop-l.offsetHeight)}}):null});Cn.displayName=nt;var ot="SelectScrollDownButton",bn=f.forwardRef((e,t)=>{const n=ue(ot,e.__scopeSelect),o=ht(ot,e.__scopeSelect),[r,s]=f.useState(!1),i=q(t,o.onScrollButtonChange);return ne(()=>{if(n.viewport&&n.isPositioned){let c=function(){const a=l.scrollHeight-l.clientHeight,d=Math.ceil(l.scrollTop)<a;s(d)};const l=n.viewport;return c(),l.addEventListener("scroll",c),()=>l.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),r?x.jsx(Rn,{...e,ref:i,onAutoScroll:()=>{const{viewport:c,selectedItem:l}=n;c&&l&&(c.scrollTop=c.scrollTop+l.offsetHeight)}}):null});bn.displayName=ot;var Rn=f.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:o,...r}=e,s=ue("SelectScrollButton",n),i=f.useRef(null),c=$e(n),l=f.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return f.useEffect(()=>()=>l(),[l]),ne(()=>{c().find(d=>d.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[c]),x.jsx(z.div,{"aria-hidden":!0,...r,ref:t,style:{flexShrink:0,...r.style},onPointerDown:$(r.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(o,50))}),onPointerMove:$(r.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(o,50))}),onPointerLeave:$(r.onPointerLeave,()=>{l()})})}),Vr="SelectSeparator",Pn=f.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e;return x.jsx(z.div,{"aria-hidden":!0,...o,ref:t})});Pn.displayName=Vr;var rt="SelectArrow",Wr=f.forwardRef((e,t)=>{const{__scopeSelect:n,...o}=e,r=ze(n),s=de(rt,n),i=ue(rt,n);return s.open&&i.position==="popper"?x.jsx(mr,{...r,...o,ref:t}):null});Wr.displayName=rt;var Fr="SelectBubbleInput",An=f.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{const r=f.useRef(null),s=q(o,r),i=qn(t);return f.useEffect(()=>{const c=r.current;if(!c)return;const l=window.HTMLSelectElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&d){const p=new Event("change",{bubbles:!0});d.call(c,t),c.dispatchEvent(p)}},[i,t]),x.jsx(z.select,{...n,style:{...en,...n.style},ref:s,defaultValue:t})});An.displayName=Fr;function En(e){return e===""||e===void 0}function Tn(e){const t=Nt(e),n=f.useRef(""),o=f.useRef(0),r=f.useCallback(i=>{const c=n.current+i;t(c),(function l(a){n.current=a,window.clearTimeout(o.current),a!==""&&(o.current=window.setTimeout(()=>l(""),1e3))})(c)},[t]),s=f.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,r,s]}function On(e,t,n){const r=t.length>1&&Array.from(t).every(a=>a===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let i=$r(e,Math.max(s,0));r.length===1&&(i=i.filter(a=>a!==n));const l=i.find(a=>a.textValue.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}function $r(e,t){return e.map((n,o)=>e[(t+o)%e.length])}var zr=tn,Nn=on,Ur=sn,Kr=cn,Yr=ln,In=an,Xr=pn,_n=gn,Mn=wn,Gr=vn,qr=Sn,Dn=Cn,Ln=bn,jn=Pn;const ci=zr,li=Ur,Zr=f.forwardRef(({className:e,children:t,...n},o)=>x.jsxs(Nn,{ref:o,className:le("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...n,children:[t,x.jsx(Kr,{asChild:!0,children:x.jsx(It,{className:"h-4 w-4 opacity-50"})})]}));Zr.displayName=Nn.displayName;const kn=f.forwardRef(({className:e,...t},n)=>x.jsx(Dn,{ref:n,className:le("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(Zn,{className:"h-4 w-4"})}));kn.displayName=Dn.displayName;const Hn=f.forwardRef(({className:e,...t},n)=>x.jsx(Ln,{ref:n,className:le("flex cursor-default items-center justify-center py-1",e),...t,children:x.jsx(It,{className:"h-4 w-4"})}));Hn.displayName=Ln.displayName;const Jr=f.forwardRef(({className:e,children:t,position:n="popper",...o},r)=>x.jsx(Yr,{children:x.jsxs(In,{ref:r,className:le("relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-select-content-transform-origin)",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...o,children:[x.jsx(kn,{}),x.jsx(Xr,{className:le("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),x.jsx(Hn,{})]})}));Jr.displayName=In.displayName;const Qr=f.forwardRef(({className:e,...t},n)=>x.jsx(_n,{ref:n,className:le("px-2 py-1.5 text-sm font-semibold",e),...t}));Qr.displayName=_n.displayName;const ei=f.forwardRef(({className:e,children:t,...n},o)=>x.jsxs(Mn,{ref:o,className:le("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...n,children:[x.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:x.jsx(qr,{children:x.jsx(Kn,{className:"h-4 w-4"})})}),x.jsx(Gr,{children:t})]}));ei.displayName=Mn.displayName;const ti=f.forwardRef(({className:e,...t},n)=>x.jsx(jn,{ref:n,className:le("-mx-1 my-1 h-px bg-muted",e),...t}));ti.displayName=jn.displayName;export{ci as S,Zr as a,li as b,Jr as c,ei as d};

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.