vendor: 20,519 bytes, line 1
1import{r as C,j as _}from"./chunk-OE4NN4TA-DNeAcAAk.js";import{g as Me,b as je,c as he,e as De}from"./Box-Dyn6VZNw.js";import{u as Be}from"./index-DSHwJ5bV.js";import{u as or}from"./useTheme-CXXpFYg9.js";import{c as ke,u as Le,s as _t,m as pe}from"./Typography-CpYFJzr4.js";import{u as Xt}from"./useSlot-C-5AnxaN.js";import{u as ne,a as Yt,b as ge,d as nr,i as ye}from"./ButtonBase-DeDnghQo.js";import{a as ar}from"./Select-Bd6-UbrD.js";import{u as ir}from"./CircularProgress-Be-OZ0qY.js";import{P as sr,g as pr}from"./Modal-B5u24pLa.js";import{G as lr}from"./SelectFocusSourceContext-dlAlC8Jl.js";import{b as be}from"./getActiveElement-BXPsVGhl.js";import{u as we}from"./useEnhancedEffect-NvC4mTT2.js";import{u as cr}from"./useSlotProps-CRMOw4yA.js";var L="top",U="bottom",V="right",W="left",le="auto",Ht=[L,U,V,W],Pt="start",Nt="end",fr="clippingParents",We="viewport",Bt="popper",ur="reference",xe=Ht.reduce(function(e,t){return e.concat([t+"-"+Pt,t+"-"+Nt])},[]),Ne=[].concat(Ht,[le]).reduce(function(e,t){return e.concat([t,t+"-"+Pt,t+"-"+Nt])},[]),dr="beforeRead",vr="read",mr="afterRead",hr="beforeMain",gr="main",yr="afterMain",br="beforeWrite",wr="write",xr="afterWrite",Or=[dr,vr,mr,hr,gr,yr,br,wr,xr];function et(e){return e?(e.nodeName||"").toLowerCase():null}function N(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function dt(e){var t=N(e).Element;return e instanceof t||e instanceof Element}function I(e){var t=N(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ce(e){if(typeof ShadowRoot>"u")return!1;var t=N(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pr(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},n=t.attributes[r]||{},i=t.elements[r];!I(i)||!et(i)||(Object.assign(i.style,o),Object.keys(n).forEach(function(l){var a=n[l];a===!1?i.removeAttribute(l):i.setAttribute(l,a===!0?"":a)}))})}function Tr(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(o){var n=t.elements[o],i=t.attributes[o]||{},l=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),a=l.reduce(function(s,c){return s[c]="",s},{});!I(n)||!et(n)||(Object.assign(n.style,a),Object.keys(i).forEach(function(s){n.removeAttribute(s)}))})}}const Rr={name:"applyStyles",enabled:!0,phase:"write",fn:Pr,effect:Tr,requires:["computeStyles"]};function tt(e){return e.split("-")[0]}var ut=Math.max,Zt=Math.min,Tt=Math.round;function ae(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Fe(){return!/^((?!chrome|android).)*safari/i.test(ae())}function Rt(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),n=1,i=1;t&&I(e)&&(n=e.offsetWidth>0&&Tt(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Tt(o.height)/e.offsetHeight||1);var l=dt(e)?N(e):window,a=l.visualViewport,s=!Fe()&&r,c=(o.left+(s&&a?a.offsetLeft:0))/n,p=(o.top+(s&&a?a.offsetTop:0))/i,h=o.width/n,x=o.height/i;return{width:h,height:x,top:p,right:c+h,bottom:p+x,left:c,x:c,y:p}}function fe(e){var t=Rt(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function He(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ce(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function nt(e){return N(e).getComputedStyle(e)}function Er(e){return["table","td","th"].indexOf(et(e))>=0}function st(e){return((dt(e)?e.ownerDocument:e.document)||window.document).documentElement}function te(e){return et(e)==="html"?e:e.assignedSlot||e.parentNode||(ce(e)?e.host:null)||st(e)}function Oe(e){return!I(e)||nt(e).position==="fixed"?null:e.offsetParent}function Ar(e){var t=/firefox/i.test(ae()),r=/Trident/i.test(ae());if(r&&I(e)){var o=nt(e);if(o.position==="fixed")return null}var n=te(e);for(ce(n)&&(n=n.host);I(n)&&["html","body"].indexOf(et(n))<0;){var i=nt(n);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return n;n=n.parentNode}return null}function It(e){for(var t=N(e),r=Oe(e);r&&Er(r)&&nt(r).position==="static";)r=Oe(r);return r&&(et(r)==="html"||et(r)==="body"&&nt(r).position==="static")?t:r||Ar(e)||t}function ue(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Lt(e,t,r){return ut(e,Zt(t,r))}function $r(e,t,r){var o=Lt(e,t,r);return o>r?r:o}function Ie(){return{top:0,right:0,bottom:0,left:0}}function Ue(e){return Object.assign({},Ie(),e)}function Ve(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var Cr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,Ue(typeof t!="number"?t:Ve(t,Ht))};function Sr(e){var t,r=e.state,o=e.name,n=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,a=tt(r.placement),s=ue(a),c=[W,V].indexOf(a)>=0,p=c?"height":"width";if(!(!i||!l)){var h=Cr(n.padding,r),x=fe(i),f=s==="y"?L:W,O=s==="y"?U:V,d=r.rects.reference[p]+r.rects.reference[s]-l[s]-r.rects.popper[p],m=l[s]-r.rects.reference[s],b=It(i),T=b?s==="y"?b.clientHeight||0:b.clientWidth||0:0,w=d/2-m/2,u=h[f],g=T-x[p]-h[O],y=T/2-x[p]/2+w,R=Lt(u,y,g),S=s;r.modifiersData[o]=(t={},t[S]=R,t.centerOffset=R-y,t)}}function Mr(e){var t=e.state,r=e.options,o=r.element,n=o===void 0?"[data-popper-arrow]":o;n!=null&&(typeof n=="string"&&(n=t.elements.popper.querySelector(n),!n)||He(t.elements.popper,n)&&(t.elements.arrow=n))}const jr={name:"arrow",enabled:!0,phase:"main",fn:Sr,effect:Mr,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Et(e){return e.split("-")[1]}var Dr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Br(e,t){var r=e.x,o=e.y,n=t.devicePixelRatio||1;return{x:Tt(r*n)/n||0,y:Tt(o*n)/n||0}}function Pe(e){var t,r=e.popper,o=e.popperRect,n=e.placement,i=e.variation,l=e.offsets,a=e.position,s=e.gpuAcceleration,c=e.adaptive,p=e.roundOffsets,h=e.isFixed,x=l.x,f=x===void 0?0:x,O=l.y,d=O===void 0?0:O,m=typeof p=="function"?p({x:f,y:d}):{x:f,y:d};f=m.x,d=m.y;var b=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),w=W,u=L,g=window;if(c){var y=It(r),R="clientHeight",S="clientWidth";if(y===N(r)&&(y=st(r),nt(y).position!=="static"&&a==="absolute"&&(R="scrollHeight",S="scrollWidth")),y=y,n===L||(n===W||n===V)&&i===Nt){u=U;var A=h&&y===g&&g.visualViewport?g.visualViewport.height:y[R];d-=A-o.height,d*=s?1:-1}if(n===W||(n===L||n===U)&&i===Nt){w=V;var P=h&&y===g&&g.visualViewport?g.visualViewport.width:y[S];f-=P-o.width,f*=s?1:-1}}var E=Object.assign({position:a},c&&Dr),k=p===!0?Br({x:f,y:d},N(r)):{x:f,y:d};if(f=k.x,d=k.y,s){var $;return Object.assign({},E,($={},$[u]=T?"0":"",$[w]=b?"0":"",$.transform=(g.devicePixelRatio||1)<=1?"translate("+f+"px, "+d+"px)":"translate3d("+f+"px, "+d+"px, 0)",$))}return Object.assign({},E,(t={},t[u]=T?d+"px":"",t[w]=b?f+"px":"",t.transform="",t))}function kr(e){var t=e.state,r=e.options,o=r.gpuAcceleration,n=o===void 0?!0:o,i=r.adaptive,l=i===void 0?!0:i,a=r.roundOffsets,s=a===void 0?!0:a,c={placement:tt(t.placement),variation:Et(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Pe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Lr={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:kr,data:{}};var Gt={passive:!0};function Wr(e){var t=e.state,r=e.instance,o=e.options,n=o.scroll,i=n===void 0?!0:n,l=o.resize,a=l===void 0?!0:l,s=N(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(p){p.addEventListener("scroll",r.update,Gt)}),a&&s.addEventListener("resize",r.update,Gt),function(){i&&c.forEach(function(p){p.removeEventListener("scroll",r.update,Gt)}),a&&s.removeEventListener("resize",r.update,Gt)}}const Nr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Wr,data:{}};var Fr={left:"right",right:"left",bottom:"top",top:"bottom"};function Qt(e){return e.replace(/left|right|bottom|top/g,function(t){return Fr[t]})}var Hr={start:"end",end:"start"};function Te(e){return e.replace(/start|end/g,function(t){return Hr[t]})}function de(e){var t=N(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function ve(e){return Rt(st(e)).left+de(e).scrollLeft}function Ir(e,t){var r=N(e),o=st(e),n=r.visualViewport,i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(n){i=n.width,l=n.height;var c=Fe();(c||!c&&t==="fixed")&&(a=n.offsetLeft,s=n.offsetTop)}return{width:i,height:l,x:a+ve(e),y:s}}function Ur(e){var t,r=st(e),o=de(e),n=(t=e.ownerDocument)==null?void 0:t.body,i=ut(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),l=ut(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),a=-o.scrollLeft+ve(e),s=-o.scrollTop;return nt(n||r).direction==="rtl"&&(a+=ut(r.clientWidth,n?n.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}function me(e){var t=nt(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+o)}function ze(e){return["html","body","#document"].indexOf(et(e))>=0?e.ownerDocument.body:I(e)&&me(e)?e:ze(te(e))}function Wt(e,t){var r;t===void 0&&(t=[]);var o=ze(e),n=o===((r=e.ownerDocument)==null?void 0:r.body),i=N(o),l=n?[i].concat(i.visualViewport||[],me(o)?o:[]):o,a=t.concat(l);return n?a:a.concat(Wt(te(l)))}function ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Vr(e,t){var r=Rt(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Re(e,t,r){return t===We?ie(Ir(e,r)):dt(t)?Vr(t,r):ie(Ur(st(e)))}function zr(e){var t=Wt(te(e)),r=["absolute","fixed"].indexOf(nt(e).position)>=0,o=r&&I(e)?It(e):e;return dt(o)?t.filter(function(n){return dt(n)&&He(n,o)&&et(n)!=="body"}):[]}function qr(e,t,r,o){var n=t==="clippingParents"?zr(e):[].concat(t),i=[].concat(n,[r]),l=i[0],a=i.reduce(function(s,c){var p=Re(e,c,o);return s.top=ut(p.top,s.top),s.right=Zt(p.right,s.right),s.bottom=Zt(p.bottom,s.bottom),s.left=ut(p.left,s.left),s},Re(e,l,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function qe(e){var t=e.reference,r=e.element,o=e.placement,n=o?tt(o):null,i=o?Et(o):null,l=t.x+t.width/2-r.width/2,a=t.y+t.height/2-r.height/2,s;switch(n){case L:s={x:l,y:t.y-r.height};break;case U:s={x:l,y:t.y+t.height};break;case V:s={x:t.x+t.width,y:a};break;case W:s={x:t.x-r.width,y:a};break;default:s={x:t.x,y:t.y}}var c=n?ue(n):null;if(c!=null){var p=c==="y"?"height":"width";switch(i){case Pt:s[c]=s[c]-(t[p]/2-r[p]/2);break;case Nt:s[c]=s[c]+(t[p]/2-r[p]/2);break}}return s}function Ft(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=o===void 0?e.placement:o,i=r.strategy,l=i===void 0?e.strategy:i,a=r.boundary,s=a===void 0?fr:a,c=r.rootBoundary,p=c===void 0?We:c,h=r.elementContext,x=h===void 0?Bt:h,f=r.altBoundary,O=f===void 0?!1:f,d=r.padding,m=d===void 0?0:d,b=Ue(typeof m!="number"?m:Ve(m,Ht)),T=x===Bt?ur:Bt,w=e.rects.popper,u=e.elements[O?T:x],g=qr(dt(u)?u:u.contextElement||st(e.elements.popper),s,p,l),y=Rt(e.elements.reference),R=qe({reference:y,element:w,placement:n}),S=ie(Object.assign({},w,R)),A=x===Bt?S:y,P={top:g.top-A.top+b.top,bottom:A.bottom-g.bottom+b.bottom,left:g.left-A.left+b.left,right:A.right-g.right+b.right},E=e.modifiersData.offset;if(x===Bt&&E){var k=E[n];Object.keys(P).forEach(function($){var z=[V,U].indexOf($)>=0?1:-1,q=[L,U].indexOf($)>=0?"y":"x";P[$]+=k[q]*z})}return P}function Xr(e,t){t===void 0&&(t={});var r=t,o=r.placement,n=r.boundary,i=r.rootBoundary,l=r.padding,a=r.flipVariations,s=r.allowedAutoPlacements,c=s===void 0?Ne:s,p=Et(o),h=p?a?xe:xe.filter(function(O){return Et(O)===p}):Ht,x=h.filter(function(O){return c.indexOf(O)>=0});x.length===0&&(x=h);var f=x.reduce(function(O,d){return O[d]=Ft(e,{placement:d,boundary:n,rootBoundary:i,padding:l})[tt(d)],O},{});return Object.keys(f).sort(function(O,d){return f[O]-f[d]})}function Yr(e){if(tt(e)===le)return[];var t=Qt(e);return[Te(e),t,Te(t)]}function Gr(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var n=r.mainAxis,i=n===void 0?!0:n,l=r.altAxis,a=l===void 0?!0:l,s=r.fallbackPlacements,c=r.padding,p=r.boundary,h=r.rootBoundary,x=r.altBoundary,f=r.flipVariations,O=f===void 0?!0:f,d=r.allowedAutoPlacements,m=t.options.placement,b=tt(m),T=b===m,w=s||(T||!O?[Qt(m)]:Yr(m)),u=[m].concat(w).reduce(function(G,F){return G.concat(tt(F)===le?Xr(t,{placement:F,boundary:p,rootBoundary:h,padding:c,flipVariations:O,allowedAutoPlacements:d}):F)},[]),g=t.rects.reference,y=t.rects.popper,R=new Map,S=!0,A=u[0],P=0;P<u.length;P++){var E=u[P],k=tt(E),$=Et(E)===Pt,z=[L,U].indexOf(k)>=0,q=z?"width":"height",j=Ft(t,{placement:E,boundary:p,rootBoundary:h,altBoundary:x,padding:c}),M=z?$?V:W:$?U:L;g[q]>y[q]&&(M=Qt(M));var X=Qt(M),rt=[];if(i&&rt.push(j[k]<=0),a&&rt.push(j[M]<=0,j[X]<=0),rt.every(function(G){return G})){A=E,S=!1;break}R.set(E,rt)}if(S)for(var Y=O?3:1,vt=function(F){var at=u.find(function(it){var H=R.get(it);if(H)return H.slice(0,F).every(function(ht){return ht})});if(at)return A=at,"break"},ot=Y;ot>0;ot--){var mt=vt(ot);if(mt==="break")break}t.placement!==A&&(t.modifiersData[o]._skip=!0,t.placement=A,t.reset=!0)}}const Kr={name:"flip",enabled:!0,phase:"main",fn:Gr,requiresIfExists:["offset"],data:{_skip:!1}};function Ee(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ae(e){return[L,V,U,W].some(function(t){return e[t]>=0})}function Jr(e){var t=e.state,r=e.name,o=t.rects.reference,n=t.rects.popper,i=t.modifiersData.preventOverflow,l=Ft(t,{elementContext:"reference"}),a=Ft(t,{altBoundary:!0}),s=Ee(l,o),c=Ee(a,n,i),p=Ae(s),h=Ae(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const Qr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jr};function Zr(e,t,r){var o=tt(e),n=[W,L].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],a=i[1];return l=l||0,a=(a||0)*n,[W,V].indexOf(o)>=0?{x:a,y:l}:{x:l,y:a}}function _r(e){var t=e.state,r=e.options,o=e.name,n=r.offset,i=n===void 0?[0,0]:n,l=Ne.reduce(function(p,h){return p[h]=Zr(h,t.rects,i),p},{}),a=l[t.placement],s=a.x,c=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=l}const to={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:_r};function eo(e){var t=e.state,r=e.name;t.modifiersData[r]=qe({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const ro={name:"popperOffsets",enabled:!0,phase:"read",fn:eo,data:{}};function oo(e){return e==="x"?"y":"x"}function no(e){var t=e.state,r=e.options,o=e.name,n=r.mainAxis,i=n===void 0?!0:n,l=r.altAxis,a=l===void 0?!1:l,s=r.boundary,c=r.rootBoundary,p=r.altBoundary,h=r.padding,x=r.tether,f=x===void 0?!0:x,O=r.tetherOffset,d=O===void 0?0:O,m=Ft(t,{boundary:s,rootBoundary:c,padding:h,altBoundary:p}),b=tt(t.placement),T=Et(t.placement),w=!T,u=ue(b),g=oo(u),y=t.modifiersData.popperOffsets,R=t.rects.reference,S=t.rects.popper,A=typeof d=="function"?d(Object.assign({},t.rects,{placement:t.placement})):d,P=typeof A=="number"?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(y){if(i){var $,z=u==="y"?L:W,q=u==="y"?U:V,j=u==="y"?"height":"width",M=y[u],X=M+m[z],rt=M-m[q],Y=f?-S[j]/2:0,vt=T===Pt?R[j]:S[j],ot=T===Pt?-S[j]:-R[j],mt=t.elements.arrow,G=f&&mt?fe(mt):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ie(),at=F[z],it=F[q],H=Lt(0,R[j],G[j]),ht=w?R[j]/2-Y-H-at-P.mainAxis:vt-H-at-P.mainAxis,ee=w?-R[j]/2+Y+H+it+P.mainAxis:ot+H+it+P.mainAxis,gt=t.elements.arrow&&It(t.elements.arrow),K=gt?u==="y"?gt.clientTop||0:gt.clientLeft||0:0,yt=($=E==null?void 0:E[u])!=null?$:0,pt=M+ht-yt-K,bt=M+ee-yt,At=Lt(f?Zt(X,pt):X,M,f?ut(rt,bt):rt);y[u]=At,k[u]=At-M}if(a){var lt,wt=u==="x"?L:W,$t=u==="x"?U:V,Z=y[g],ct=g==="y"?"height":"width",Ct=Z+m[wt],St=Z-m[$t],Mt=[L,W].indexOf(b)!==-1,Ut=(lt=E==null?void 0:E[g])!=null?lt:0,Vt=Mt?Ct:Z-R[ct]-S[ct]-Ut+P.altAxis,xt=Mt?Z+R[ct]+S[ct]-Ut-P.altAxis:St,zt=f&&Mt?$r(Vt,Z,xt):Lt(f?Vt:Ct,Z,f?xt:St);y[g]=zt,k[g]=zt-Z}t.modifiersData[o]=k}}const ao={name:"preventOverflow",enabled:!0,phase:"main",fn:no,requiresIfExists:["offset"]};function io(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function so(e){return e===N(e)||!I(e)?de(e):io(e)}function po(e){var t=e.getBoundingClientRect(),r=Tt(t.width)/e.offsetWidth||1,o=Tt(t.height)/e.offsetHeight||1;return r!==1||o!==1}function lo(e,t,r){r===void 0&&(r=!1);var o=I(t),n=I(t)&&po(t),i=st(t),l=Rt(e,n,r),a={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!r)&&((et(t)!=="body"||me(i))&&(a=so(t)),I(t)?(s=Rt(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=ve(i))),{x:l.left+a.scrollLeft-s.x,y:l.top+a.scrollTop-s.y,width:l.width,height:l.height}}function co(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function n(i){r.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(a){if(!r.has(a)){var s=t.get(a);s&&n(s)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||n(i)}),o}function fo(e){var t=co(e);return Or.reduce(function(r,o){return r.concat(t.filter(function(n){return n.phase===o}))},[])}function uo(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function vo(e){var t=e.reduce(function(r,o){var n=r[o.name];return r[o.name]=n?Object.assign({},n,o,{options:Object.assign({},n.options,o.options),data:Object.assign({},n.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var $e={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function mo(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,n=t.defaultOptions,i=n===void 0?$e:n;return function(a,s,c){c===void 0&&(c=i);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},$e,i),modifiersData:{},elements:{reference:a,popper:s},attributes:{},styles:{}},h=[],x=!1,f={state:p,setOptions:function(b){var T=typeof b=="function"?b(p.options):b;d(),p.options=Object.assign({},i,p.options,T),p.scrollParents={reference:dt(a)?Wt(a):a.contextElement?Wt(a.contextElement):[],popper:Wt(s)};var w=fo(vo([].concat(o,p.options.modifiers)));return p.orderedModifiers=w.filter(function(u){return u.enabled}),O(),f.update()},forceUpdate:function(){if(!x){var b=p.elements,T=b.reference,w=b.popper;if(Ce(T,w)){p.rects={reference:lo(T,It(w),p.options.strategy==="fixed"),popper:fe(w)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function(P){return p.modifiersData[P.name]=Object.assign({},P.data)});for(var u=0;u<p.orderedModifiers.length;u++){if(p.reset===!0){p.reset=!1,u=-1;continue}var g=p.orderedModifiers[u],y=g.fn,R=g.options,S=R===void 0?{}:R,A=g.name;typeof y=="function"&&(p=y({state:p,options:S,name:A,instance:f})||p)}}}},update:uo(function(){return new Promise(function(m){f.forceUpdate(),m(p)})}),destroy:function(){d(),x=!0}};if(!Ce(a,s))return f;f.setOptions(c).then(function(m){!x&&c.onFirstUpdate&&c.onFirstUpdate(m)});
1function O(){p.orderedModifiers.forEach(function(m){var b=m.name,T=m.options,w=T===void 0?{}:T,u=m.effect;if(typeof u=="function"){var g=u({state:p,name:b,instance:f,options:w}),y=function(){};h.push(g||y)}})}function d(){h.forEach(function(m){return m()}),h=[]}return f}}var ho=[Nr,ro,Lr,Rr,to,Kr,ao,jr,Qr],go=mo({defaultModifiers:ho});function yo(e){return Me("MuiPopper",e)}je("MuiPopper",["root"]);function bo(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function se(e){return typeof e=="function"?e():e}function wo(e){return e.nodeType!==void 0}const xo=e=>{const{classes:t}=e;return ke({root:["root"]},yo,t)},Oo={},Po=C.forwardRef(function(t,r){const{anchorEl:o,children:n,direction:i,disablePortal:l,modifiers:a,open:s,placement:c,popperOptions:p,popperRef:h,slotProps:x={},slots:f={},TransitionProps:O,ownerState:d,...m}=t,b=C.useRef(null),T=ne(b,r),w=C.useRef(null),u=ne(w,h),g=C.useRef(u);we(()=>{g.current=u},[u]),C.useImperativeHandle(h,()=>w.current,[]);const y=bo(c,i),[R,S]=C.useState(y),[A,P]=C.useState(se(o));C.useEffect(()=>{w.current&&w.current.forceUpdate()}),C.useEffect(()=>{o&&P(se(o))},[o]),we(()=>{if(!A||!s)return;const q=X=>{S(X.placement)};let j=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:X})=>{q(X)}}];a!=null&&(j=j.concat(a)),p&&p.modifiers!=null&&(j=j.concat(p.modifiers));const M=go(A,b.current,{placement:y,...p,modifiers:j});return g.current(M),()=>{M.destroy(),g.current(null)}},[A,l,a,s,p,y]);const E={placement:R};O!==null&&(E.TransitionProps=O);const k=xo(t),$=f.root??"div",z=cr({elementType:$,externalSlotProps:x.root,externalForwardedProps:m,additionalProps:{role:"tooltip",ref:T},ownerState:t,className:k.root});return _.jsx($,{...z,children:typeof n=="function"?n(E):n})}),To=C.forwardRef(function(t,r){const{anchorEl:o,children:n,container:i,direction:l="ltr",disablePortal:a=!1,keepMounted:s=!1,modifiers:c,open:p,placement:h="bottom",popperOptions:x=Oo,popperRef:f,style:O,transition:d=!1,slotProps:m={},slots:b={},...T}=t,[w,u]=C.useState(!0),g=()=>{u(!1)},y=()=>{u(!0)};if(!s&&!p&&(!d||w))return null;let R;if(i)R=i;else if(o){const P=se(o);R=P&&wo(P)?be(P).body:be(null).body}const S=!p&&s&&(!d||w)?"none":void 0,A=d?{in:p,onEnter:g,onExited:y}:void 0;return _.jsx(sr,{disablePortal:a,container:R,children:_.jsx(Po,{anchorEl:o,direction:l,disablePortal:a,modifiers:c,ref:r,open:d?!w:p,placement:h,popperOptions:x,popperRef:f,slotProps:m,slots:b,...T,style:{position:"fixed",top:0,left:0,display:S,...O},TransitionProps:A,children:n})})}),Ro=_t(To,{name:"MuiPopper",slot:"Root"})({}),Xe=C.forwardRef(function(t,r){const o=Be(),n=Le({props:t,name:"MuiPopper"}),{anchorEl:i,component:l,components:a,componentsProps:s,container:c,disablePortal:p,keepMounted:h,modifiers:x,open:f,placement:O,popperOptions:d,popperRef:m,transition:b,slots:T,slotProps:w,...u}=n,g=(T==null?void 0:T.root)??(a==null?void 0:a.Root),y={anchorEl:i,container:c,disablePortal:p,keepMounted:h,modifiers:x,open:f,placement:O,popperOptions:d,popperRef:m,transition:b,...u};return _.jsx(Ro,{as:l,direction:o?"rtl":"ltr",slots:{root:g},slotProps:w??s,...y,ref:r})});function Eo(e){return Me("MuiTooltip",e)}const D=je("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Ao(e){return Math.round(e*1e5)/1e5}const $o=e=>{const{classes:t,disableInteractive:r,arrow:o,touch:n,placement:i}=e,l={popper:["popper",!r&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",n&&"touch",`tooltipPlacement${De(i.split("-")[0])}`],arrow:["arrow"]};return ke(l,Eo,t)},Co=_t(Xe,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(pe(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${D.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${D.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${D.arrow}
1`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${D.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${D.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${D.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${D.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${D.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),So=_t("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${De(r.placement.split("-")[0])}`]]}})(pe(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${D.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${D.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${D.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${D.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Ao(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${D.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${D.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${D.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${D.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${D.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${D.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${D.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${D.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${D.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${D.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Mo=_t("span",{name:"MuiTooltip",slot:"Arrow"})(pe(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:e.alpha(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let Kt=!1;const Se=new nr;let kt={x:0,y:0};function Jt(e,t){return(r,...o)=>{t&&t(r,...o),e(r,...o)}}const Xo=C.forwardRef(function(t,r){const o=Le({props:t,name:"MuiTooltip"}),{arrow:n=!1,children:i,classes:l,components:a={},componentsProps:s={},describeChild:c=!1,disableFocusListener:p=!1,disableHoverListener:h=!1,disableInteractive:x=!1,disableTouchListener:f=!1,enterDelay:O=100,enterNextDelay:d=0,enterTouchDelay:m=700,followCursor:b=!1,id:T,leaveDelay:w=0,leaveTouchDelay:u=1500,onClose:g,onOpen:y,open:R,placement:S="bottom",PopperComponent:A,PopperProps:P={},slotProps:E={},slots:k={},title:$,TransitionComponent:z,TransitionProps:q,...j}=o,M=C.isValidElement(i)?i:_.jsx("span",{children:i}),X=or(),rt=Be(),[Y,vt]=C.useState(),[ot,mt]=C.useState(null),G=C.useRef(!1),F=x||b,at=Yt(),it=Yt(),H=Yt(),ht=Yt(),[ee,gt]=ar({controlled:R,default:!1,name:"Tooltip",state:"open"});let K=ee;const yt=ir(T),pt=C.useRef(),bt=ge(()=>{pt.current!==void 0&&(document.body.style.WebkitUserSelect=pt.current,pt.current=void 0),ht.clear()});C.useEffect(()=>bt,[bt]);const At=v=>{Se.clear(),Kt=!0,gt(!0),y&&!K&&y(v)},lt=ge(v=>{Se.start(800+w,()=>{Kt=!1}),gt(!1),g&&K&&g(v),at.start(X.transitions.duration.shortest,()=>{G.current=!1})}),wt=v=>{G.current&&v.type!=="touchstart"||(Y&&Y.removeAttribute("title"),it.clear(),H.clear(),O||Kt&&d?it.start(Kt?d:O,()=>{At(v)}):At(v))},$t=v=>{it.clear(),H.start(w,()=>{lt(v)})},[,Z]=C.useState(!1),ct=v=>{const B=(v==null?void 0:v.target)??Y;if(!B||!ye(B)){Z(!1);const Ot=v??new Event("blur");!v&&B&&(Object.defineProperty(Ot,"target",{value:B}),Object.defineProperty(Ot,"currentTarget",{value:B})),$t(Ot)}},Ct=v=>{Y||vt(v.currentTarget),ye(v.target)&&(Z(!0),wt(v))},St=v=>{G.current=!0;const B=M.props;B.onTouchStart&&B.onTouchStart(v)},Mt=v=>{St(v),H.clear(),at.clear(),bt(),pt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ht.start(m,()=>{document.body.style.WebkitUserSelect=pt.current,wt(v)})},Ut=v=>{M.props.onTouchEnd&&M.props.onTouchEnd(v),bt(),H.start(u,()=>{lt(v)})};C.useEffect(()=>{if(!K)return;function v(B){B.key==="Escape"&<(B)}return document.addEventListener("keydown",v),()=>{document.removeEventListener("keydown",v)}},[lt,K]);const Vt=ne(pr(M),vt,r);!$&&$!==0&&(K=!1);const xt=C.useRef(),zt=v=>{const B=M.props;B.onMouseMove&&B.onMouseMove(v),kt={x:v.clientX,y:v.clientY}
1,xt.current&&xt.current.update()},jt={},re=typeof $=="string";c?(jt.title=!K&&re&&!h?$:null,jt["aria-describedby"]=K?yt:null):(jt["aria-label"]=re?$:null,jt["aria-labelledby"]=K&&!re?yt:null);const J={...jt,...j,...M.props,className:he(j.className,M.props.className),onTouchStart:St,ref:Vt,...b?{onMouseMove:zt}:{}},Dt={};f||(J.onTouchStart=Mt,J.onTouchEnd=Ut),h||(J.onMouseOver=Jt(wt,J.onMouseOver),J.onMouseLeave=Jt($t,J.onMouseLeave),F||(Dt.onMouseOver=wt,Dt.onMouseLeave=$t)),p||(J.onFocus=Jt(Ct,J.onFocus),J.onBlur=Jt(ct,J.onBlur),F||(Dt.onFocus=Ct,Dt.onBlur=ct));const ft={...o,isRtl:rt,arrow:n,disableInteractive:F,placement:S,PopperComponentProp:A,touch:G.current},Q=typeof E.popper=="function"?E.popper(ft):E.popper,Ye=C.useMemo(()=>{var B,Ot;let v=[{name:"arrow",enabled:!!ot,options:{element:ot,padding:4}}];return(B=P.popperOptions)!=null&&B.modifiers&&(v=v.concat(P.popperOptions.modifiers)),(Ot=Q==null?void 0:Q.popperOptions)!=null&&Ot.modifiers&&(v=v.concat(Q.popperOptions.modifiers)),{...P.popperOptions,...Q==null?void 0:Q.popperOptions,modifiers:v}},[ot,P.popperOptions,Q==null?void 0:Q.popperOptions]),oe=$o(ft),Ge=typeof E.transition=="function"?E.transition(ft):E.transition,qt={slots:{popper:a.Popper,transition:a.Transition??z,tooltip:a.Tooltip,arrow:a.Arrow,...k},slotProps:{arrow:E.arrow??s.arrow,popper:{...P,...Q??s.popper},tooltip:E.tooltip??s.tooltip,transition:{...q,...Ge??s.transition}}},[Ke,Je]=Xt("popper",{elementType:Co,externalForwardedProps:qt,ownerState:ft,className:he(oe.popper,P==null?void 0:P.className)}),[Qe,Ze]=Xt("transition",{elementType:lr,externalForwardedProps:qt,ownerState:ft}),[_e,tr]=Xt("tooltip",{elementType:So,className:oe.tooltip,externalForwardedProps:qt,ownerState:ft}),[er,rr]=Xt("arrow",{elementType:Mo,className:oe.arrow,externalForwardedProps:qt,ownerState:ft,ref:mt});return _.jsxs(C.Fragment,{children:[C.cloneElement(M,J),_.jsx(Ke,{as:A??Xe,placement:S,anchorEl:b?{getBoundingClientRect:()=>({top:kt.y,left:kt.x,right:kt.x,bottom:kt.y,width:0,height:0})}:Y,popperRef:xt,open:Y?K:!1,id:yt,transition:!0,...Dt,...Je,popperOptions:Ye,children:({TransitionProps:v})=>_.jsx(Qe,{timeout:X.transitions.duration.shorter,...v,...Ze,children:_.jsxs(_e,{...tr,children:[$,n?_.jsx(er,{...rr}):null]})})})]})});export{Xe as P,Xo as T};
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.