vendor: 7,398 bytes, line 1
1import{g as Ao,G as ye,r as p}from"./app-DP13319Q.js";const He=Math.min,Ce=Math.max,bt=Math.round,yt=Math.floor,ue=e=>({x:e,y:e}),Ro={left:"right",right:"left",bottom:"top",top:"bottom"};function Dt(e,t,n){return Ce(e,He(t,n))}function st(e,t){return typeof e=="function"?e(t):e}function Te(e){return e.split("-")[0]}function it(e){return e.split("-")[1]}function uo(e){return e==="x"?"y":"x"}function $t(e){return e==="y"?"height":"width"}function we(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Mt(e){return uo(we(e))}function Oo(e,t,n){n===void 0&&(n=!1);const o=it(e),l=Mt(e),r=$t(l);let s=l==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(s=xt(s)),[s,xt(s)]}function Co(e){const t=xt(e);return[Pt(e),t,Pt(t)]}function Pt(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Xt=["left","right"],Yt=["right","left"],To=["top","bottom"],Lo=["bottom","top"];function ko(e,t,n){switch(e){case"top":case"bottom":return n?t?Yt:Xt:t?Xt:Yt;case"left":case"right":return t?To:Lo;default:return[]}}function No(e,t,n,o){const l=it(e);let r=ko(Te(e),n==="start",o);return l&&(r=r.map(s=>s+"-"+l),t&&(r=r.concat(r.map(Pt)))),r}function xt(e){const t=Te(e);return Ro[t]+e.slice(t.length)}function Do(e){return{top:0,right:0,bottom:0,left:0,...e}}function fo(e){return typeof e!="number"?Do(e):{top:e,right:e,bottom:e,left:e}}function _t(e){const{x:t,y:n,width:o,height:l}=e;return{width:o,height:l,top:n,left:t,right:t+o,bottom:n+l,x:t,y:n}}function Ut(e,t,n){let{reference:o,floating:l}=e;const r=we(t),s=Mt(t),i=$t(s),c=Te(t),f=r==="y",m=o.x+o.width/2-l.width/2,d=o.y+o.height/2-l.height/2,h=o[i]/2-l[i]/2;let u;switch(c){case"top":u={x:m,y:o.y-l.height};break;case"bottom":u={x:m,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:d};break;case"left":u={x:o.x-l.width,y:d};break;default:u={x:o.x,y:o.y}}switch(it(t)){case"start":u[s]-=h*(n&&f?-1:1);break;case"end":u[s]+=h*(n&&f?-1:1);break}return u}async function Po(e,t){var n;t===void 0&&(t={});const{x:o,y:l,platform:r,rects:s,elements:i,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:m="viewport",elementContext:d="floating",altBoundary:h=!1,padding:u=0}=st(t,e),v=fo(u),_=i[h?d==="floating"?"reference":"floating":d],x=_t(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(_)))==null||n?_:_.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(i.floating)),boundary:f,rootBoundary:m,strategy:c})),S=d==="floating"?{x:o,y:l,width:s.floating.width,height:s.floating.height}:s.reference,E=await(r.getOffsetParent==null?void 0:r.getOffsetParent(i.floating)),R=await(r.isElement==null?void 0:r.isElement(E))?await(r.getScale==null?void 0:r.getScale(E))||{x:1,y:1}:{x:1,y:1},z=_t(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:S,offsetParent:E,strategy:c}):S);return{top:(x.top-z.top+v.top)/R.y,bottom:(z.bottom-x.bottom+v.bottom)/R.y,left:(x.left-z.left+v.left)/R.x,right:(z.right-x.right+v.right)/R.x}}const Bo=50,zo=async(e,t,n)=>{const{placement:o="bottom",strategy:l="absolute",middleware:r=[],platform:s}=n,i=s.detectOverflow?s:{...s,detectOverflow:Po},c=await(s.isRTL==null?void 0:s.isRTL(t));let f=await s.getElementRects({reference:e,floating:t,strategy:l}),{x:m,y:d}=Ut(f,o,c),h=o,u=0;const v={};for(let b=0;b<r.length;b++){const _=r[b];if(!_)continue;const{name:x,fn:S}=_,{x:E,y:R,data:z,reset:L}=await S({x:m,y:d,initialPlacement:o,placement:h,strategy:l,middlewareData:v,rects:f,platform:i,elements:{reference:e,floating:t}});m=E??m,d=R??d,v[x]={...v[x],...z},L&&u<Bo&&(u++,typeof L=="object"&&(L.placement&&(h=L.placement),L.rects&&(f=L.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:l}):L.rects),{x:m,y:d}=Ut(f,h,c)),b=-1)}return{x:m,y:d,placement:h,strategy:l,middlewareData:v}},$o=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:l,rects:r,platform:s,elements:i,middlewareData:c}=t,{element:f,padding:m=0}=st(e,t)||{};if(f==null)return{};const d=fo(m),h={x:n,y:o},u=Mt(l),v=$t(u),b=await s.getDimensions(f),_=u==="y",x=_?"top":"left",S=_?"bottom":"right",E=_?"clientHeight":"clientWidth",R=r.reference[v]+r.reference[u]-h[u]-r.floating[v],z=h[u]-r.reference[u],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let k=L?L[E]:0;(!k||!await(s.isElement==null?void 0:s.isElement(L)))&&(k=i.floating[E]||r.floating[v]);const Z=R/2-z/2,U=k/2-b[v]/2-1,J=He(d[x],U),se=He(d[S],U),ee=J,ie=k-b[v]-se,T=k/2-b[v]/2+Z,H=Dt(ee,T,ie),W=!c.arrow&&it(l)!=null&&T!==H&&r.reference[v]/2-(T<ee?J:se)-b[v]/2<0,M=W?T<ee?T-ee:T-ie:0;return{[u]:h[u]+M,data:{[u]:H,centerOffset:T-H-M,...W&&{alignmentOffset:M}},reset:W}}}),Mo=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:l,middlewareData:r,rects:s,initialPlacement:i,platform:c,elements:f}=t,{mainAxis:m=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:b=!0,..._}=st(e,t);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const x=Te(l),S=we(i),E=Te(i)===i,R=await(c.isRTL==null?void 0:c.isRTL(f.floating)),z=h||(E||!b?[xt(i)]:Co(i)),L=v!=="none";!h&&L&&z.push(...No(i,b,v,R));const k=[i,...z],Z=await c.detectOverflow(t,_),U=[];let J=((o=r.flip)==null?void 0:o.overflows)||[];if(m&&U.push(Z[x]),d){const T=Oo(l,s,R);U.push(Z[T[0]],Z[T[1]])}if(J=[...J,{placement:l,overflows:U}],!U.every(T=>T<=0)){var se,ee;const T=(((se=r.flip)==null?void 0:se.index)||0)+1,H=k[T];if(H&&(!(d==="alignment"?S!==we(H):!1)||J.every(P=>we(P.placement)===S?P.overflows[0]>0:!0)))return{data:{index:T,overflows:J},reset:{placement:H}};let W=(ee=J.filter(M=>M.overflows[0]<=0).sort((M,P)=>M.overflows[1]-P.overflows[1])[0])==null?void 0:ee.placement;if(!W)switch(u){case"bestFit":{var ie;const M=(ie=J.filter(P=>{if(L){const F=we(P.placement);return F===S||F==="y"}return!0}).map(P=>[P.placement,P.overflows.filter(F=>F>0).reduce((F,de)=>F+de,0)]).sort((P,F)=>P[1]-F[1])[0])==null?void 0:ie[0];M&&(W=M);break}case"initialPlacement":W=i;break}if(l!==W)return{reset:{placement:W}}}return{}}}},jo=new Set(["left","top"]);async function Io(e,t){const{placement:n,platform:o,elements:l}=e,r=await(o.isRTL==null?void 0:o.isRTL(l.floating)),s=Te(n),i=it(n),c=we(n)==="y",f=jo.has(s)?-1:1,m=r&&c?-1:1,d=st(t,e);let{mainAxis:h,crossAxis:u,alignmentAxis:v}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return i&&typeof v=="number"&&(u=i==="end"?v*-1:v),c?{x:u*m,y:h*f}:{x:h*f,y:u*m}}const Wo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:l,y:r,placement:s,middlewareData:i}=t,c=await Io(t,e);return s===((n=i.offset)==null?void 0:n.placement)&&(o=i.arrow)!=null&&o.alignmentOffset?{}:{x:l+c.x,y:r+c.y,data:{...c,placement:s}}}}},Fo=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:l,platform:r}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:c={fn:x=>{let{x:S,y:E}=x;return{x:S,y:E}}},...f}=st(e,t),m={x:n,y:o},d=await r.detectOverflow(t,f),h=we(Te(l)),u=uo(h);let v=m[u],b=m[h];if(s){const x=u==="y"?"top":"left",S=u==="y"?"bottom":"right",E=v+d[x],R=v-d[S];v=Dt(E,v,R)}if(i){const x=h==="y"?"top":"left",S=h==="y"?"bottom":"right",E=b+
vendor: 4,131 bytes, line 1
1d[x],R=b-d[S];b=Dt(E,b,R)}const _=c.fn({...t,[u]:v,[h]:b});return{..._,data:{x:_.x-n,y:_.y-o,enabled:{[u]:s,[h]:i}}}}}};function St(){return typeof window<"u"}function Xe(e){return po(e)?(e.nodeName||"").toLowerCase():"#document"}function Q(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fe(e){var t;return(t=(po(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function po(e){return St()?e instanceof Node||e instanceof Q(e).Node:!1}function re(e){return St()?e instanceof Element||e instanceof Q(e).Element:!1}function me(e){return St()?e instanceof HTMLElement||e instanceof Q(e).HTMLElement:!1}function Jt(e){return!St()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Q(e).ShadowRoot}function ct(e){const{overflow:t,overflowX:n,overflowY:o,display:l}=le(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&l!=="inline"&&l!=="contents"}function Vo(e){return/^(table|td|th)$/.test(Xe(e))}function Et(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qo=/transform|translate|scale|rotate|perspective|filter/,Ho=/paint|layout|strict|content/,Re=e=>!!e&&e!=="none";let Lt;function jt(e){const t=re(e)?le(e):e;return Re(t.transform)||Re(t.translate)||Re(t.scale)||Re(t.rotate)||Re(t.perspective)||!It()&&(Re(t.backdropFilter)||Re(t.filter))||qo.test(t.willChange||"")||Ho.test(t.contain||"")}function Ko(e){let t=ge(e);for(;me(t)&&!Ke(t);){if(jt(t))return t;if(Et(t))return null;t=ge(t)}return null}function It(){return Lt==null&&(Lt=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Lt}function Ke(e){return/^(html|body|#document)$/.test(Xe(e))}function le(e){return Q(e).getComputedStyle(e)}function At(e){return re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ge(e){if(Xe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Jt(e)&&e.host||fe(e);return Jt(t)?t.host:t}function mo(e){const t=ge(e);return Ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:me(t)&&ct(t)?t:mo(t)}function lt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const l=mo(e),r=l===((o=e.ownerDocument)==null?void 0:o.body),s=Q(l);if(r){const i=Bt(s);return t.concat(s,s.visualViewport||[],ct(l)?l:[],i&&n?lt(i):[])}else return t.concat(l,lt(l,[],n))}function Bt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ho(e){const t=le(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const l=me(e),r=l?e.offsetWidth:n,s=l?e.offsetHeight:o,i=bt(n)!==r||bt(o)!==s;return i&&(n=r,o=s),{width:n,height:o,$:i}}function Wt(e){return re(e)?e:e.contextElement}function qe(e){const t=Wt(e);if(!me(t))return ue(1);const n=t.getBoundingClientRect(),{width:o,height:l,$:r}=ho(t);let s=(r?bt(n.width):n.width)/o,i=(r?bt(n.height):n.height)/l;return(!s||!Number.isFinite(s))&&(s=1),(!i||!Number.isFinite(i))&&(i=1),{x:s,y:i}}const Xo=ue(0);function vo(e){const t=Q(e);return!It()||!t.visualViewport?Xo:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Yo(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Q(e)?!1:t}function Le(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),r=Wt(e);let s=ue(1);t&&(o?re(o)&&(s=qe(o)):s=qe(e));const i=Yo(r,n,o)?vo(r):ue(0);let c=(l.left+i.x)/s.x,f=(l.top+i.y)/s.y,m=l.width/s.x,d=l.height/s.y;if(r){const h=Q(r),u=o&&re(o)?Q(o):o;let v=h,b=Bt(v);for(;b&&o&&u!==v;){const _=qe(b),x=b.getBoundingClientRect(),S=le(b),E=x.left+(b.clientLeft+parseFloat(S.paddingLeft))*_.x,R=x.top+(b.clientTop+parseFloat(S.paddingTop))*_.y;c*=_.x,f*=_.y,m*=_.x,d*=_.y,c+=E,f+=R,v=Q(b),b=Bt(v)}}return _t({width:m,height:d,x:c,y:f})}function Rt(e,t){const n=At(e).scrollLeft;return t?t.left+n:Le(fe(e)).left+n}function yo(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Rt(e,n),l=n.top+t.scrollTop;return{x:o,y:l}}function Uo(e){let{elements:t,rect:n,offsetParent:o,strategy:l}=e;const r=l==="fixed",s=fe(o),i=t?Et(t.floating):!1;if(o===s||i&&r)return n;let c={scrollLeft:0,scrollTop:0},f=ue(1);const m=ue(0),d=me(o);
vendor: 6,331 bytes, lines 1-5
1if((d||!d&&!r)&&((Xe(o)!=="body"||ct(s))&&(c=At(o)),d)){const u=Le(o);f=qe(o),m.x=u.x+o.clientLeft,m.y=u.y+o.clientTop}const h=s&&!d&&!r?yo(s,c):ue(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+m.x+h.x,y:n.y*f.y-c.scrollTop*f.y+m.y+h.y}}function Jo(e){return Array.from(e.getClientRects())}function Go(e){const t=fe(e),n=At(e),o=e.ownerDocument.body,l=Ce(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),r=Ce(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Rt(e);const i=-n.scrollTop;return le(o).direction==="rtl"&&(s+=Ce(t.clientWidth,o.clientWidth)-l),{width:l,height:r,x:s,y:i}}const Gt=25;function Qo(e,t){const n=Q(e),o=fe(e),l=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,i=0,c=0;if(l){r=l.width,s=l.height;const m=It();(!m||m&&t==="fixed")&&(i=l.offsetLeft,c=l.offsetTop)}const f=Rt(o);if(f<=0){const m=o.ownerDocument,d=m.body,h=getComputedStyle(d),u=m.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,v=Math.abs(o.clientWidth-d.clientWidth-u);v<=Gt&&(r-=v)}else f<=Gt&&(r+=f);return{width:r,height:s,x:i,y:c}}function Zo(e,t){const n=Le(e,!0,t==="fixed"),o=n.top+e.clientTop,l=n.left+e.clientLeft,r=me(e)?qe(e):ue(1),s=e.clientWidth*r.x,i=e.clientHeight*r.y,c=l*r.x,f=o*r.y;return{width:s,height:i,x:c,y:f}}function Qt(e,t,n){let o;if(t==="viewport")o=Qo(e,n);else if(t==="document")o=Go(fe(e));else if(re(t))o=Zo(t,n);else{const l=vo(e);o={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return _t(o)}function wo(e,t){const n=ge(e);return n===t||!re(n)||Ke(n)?!1:le(n).position==="fixed"||wo(n,t)}function en(e,t){const n=t.get(e);if(n)return n;let o=lt(e,[],!1).filter(i=>re(i)&&Xe(i)!=="body"),l=null;const r=le(e).position==="fixed";let s=r?ge(e):e;for(;re(s)&&!Ke(s);){const i=le(s),c=jt(s);!c&&i.position==="fixed"&&(l=null),(r?!c&&!l:!c&&i.position==="static"&&!!l&&(l.position==="absolute"||l.position==="fixed")||ct(s)&&!c&&wo(e,s))?o=o.filter(m=>m!==s):l=i,s=ge(s)}return t.set(e,o),o}function tn(e){let{element:t,boundary:n,rootBoundary:o,strategy:l}=e;const s=[...n==="clippingAncestors"?Et(t)?[]:en(t,this._c):[].concat(n),o],i=Qt(t,s[0],l);let c=i.top,f=i.right,m=i.bottom,d=i.left;for(let h=1;h<s.length;h++){const u=Qt(t,s[h],l);c=Ce(u.top,c),f=He(u.right,f),m=He(u.bottom,m),d=Ce(u.left,d)}return{width:f-d,height:m-c,x:d,y:c}}function on(e){const{width:t,height:n}=ho(e);return{width:t,height:n}}function nn(e,t,n){const o=me(t),l=fe(t),r=n==="fixed",s=Le(e,!0,r,t);let i={scrollLeft:0,scrollTop:0};const c=ue(0);function f(){c.x=Rt(l)}if(o||!o&&!r)if((Xe(t)!=="body"||ct(l))&&(i=At(t)),o){const u=Le(t,!0,r,t);c.x=u.x+t.clientLeft,c.y=u.y+t.clientTop}else l&&f();r&&!o&&l&&f();const m=l&&!o&&!r?yo(l,i):ue(0),d=s.left+i.scrollLeft-c.x-m.x,h=s.top+i.scrollTop-c.y-m.y;return{x:d,y:h,width:s.width,height:s.height}}function kt(e){return le(e).position==="static"}function Zt(e,t){if(!me(e)||le(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return fe(e)===n&&(n=n.ownerDocument.body),n}function go(e,t){const n=Q(e);if(Et(e))return n;if(!me(e)){let l=ge(e);for(;l&&!Ke(l);){if(re(l)&&!kt(l))return l;l=ge(l)}return n}let o=Zt(e,t);for(;o&&Vo(o)&&kt(o);)o=Zt(o,t);return o&&Ke(o)&&kt(o)&&!jt(o)?n:o||Ko(e)||n}const rn=async function(e){const t=this.getOffsetParent||go,n=this.getDimensions,o=await n(e.floating);return{reference:nn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ln(e){return le(e).direction==="rtl"}const sn={convertOffsetParentRelativeRectToViewportRelativeRect:Uo,getDocumentElement:fe,getClippingRect:tn,getOffsetParent:go,getElementRects:rn,getClientRects:Jo,getDimensions:on,getScale:qe,isElement:re,isRTL:ln};function bo(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function cn(e,t){let n=null,o;const l=fe(e);function r(){var i;clearTimeout(o),(i=n)==null||i.disconnect(),n=null}function s(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),r();const f=e.getBoundingClientRect(),{left:m,top:d,width:h,height:u}=f;if(i||t(),!h||!u)return;const v=yt(d),b=yt(l.clientWidth-(m+h)),_=yt(l.clientHeight-(d+u)),x=yt(m),E={rootMargin:-v+"px "+-b+"px "+-_+"px "+-x+"px",threshold:Ce(0,He(1,c))||1};let R=!0;function z(L){const k=L[0].intersectionRatio;if(k!==c){if(!R)return s();k?s(!1,k):o=setTimeout(()=>{s(!1,1e-7)},1e3)}k===1&&!bo(f,e.getBoundingClientRect())&&s(),R=!1}try{n=new IntersectionObserver(z,{...E,root:l.ownerDocument})}catch{n=new IntersectionObserver(z,E)}n.observe(e)}return s(!0),r}function an(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:l=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=o,f=Wt(e),m=l||r?[...f?lt(f):[],...t?lt(t):[]]:[];m.forEach(x=>{l&&x.addEventListener("scroll",n,{passive:!0}),r&&x.addEventListener("resize",n)});const d=f&&i?cn(f,n):null;let h=-1,u=null;s&&(u=new ResizeObserver(x=>{let[S]=x;S&&S.target===f&&u&&t&&(u.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var E;(E=u)==null||E.observe(t)})),n()}),f&&!c&&u.observe(f),t&&u.observe(t));let v,b=c?Le(e):null;c&&_();function _(){const x=Le(e);b&&!bo(b,x)&&n(),b=x,v=requestAnimationFrame(_)}return n(),()=>{var x;m.forEach(S=>{l&&S.removeEventListener("scroll",n),r&&S.removeEventListener("resize",n)}),d==null||d(),(x=u)==null||x.disconnect(),u=null,c&&cancelAnimationFrame(v)}}const un=Wo,fn=Fo,dn=Mo,pn=$o,eo=(e,t,n)=>{const o=new Map,l={platform:sn,...n},r={...l.platform,_c:o};return zo(e,t,{...l,platform:r})};var Nt={exports:{}};/*! 2 Copyright (c) 2018 Jed Watson. 3 Licensed under the MIT License (MIT), see 4 http://jedwatson.github.io/classnames 5*/var to;function mn(){return to||(to=1,(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r="",s=0;s<arguments.length;s++){var i=arguments[s];i&&(r=l(r,o(i)))}return r}function o(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var s="";for(var i in r)t.call(r,i)&&r[i]&&(s=l(s,i));return s}function l(r,s){return s?r?r+" "+s:r+s:r}e.exports?(n.default=n,e.exports=n):window.classNames=n}
5)()})(Nt)),Nt.exports}var hn=mn();const gt=Ao(hn);var oo={};const vn="react-tooltip-core-styles",yn="react-tooltip-base-styles",no={core:!1,base:!1};function ro({css:e,id:t=yn,type:n="base",ref:o}){var l,r;if(!e||typeof document>"u"||no[n]||n==="core"&&typeof process<"u"&&(!((l=process==null?void 0:oo)===null||l===void 0)&&l.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((r=process==null?void 0:oo)===null||r===void 0)&&r.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=vn),o||(o={});const{insertAt:s}=o;if(document.getElementById(t))return;const i=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css",s==="top"&&i.firstChild?i.insertBefore(c,i.firstChild):i.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),no[n]=!0}const lo=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:o="top",offset:l=10,strategy:r="absolute",middlewares:s=[un(Number(l)),dn({fallbackAxisSideDirection:"start"}),fn({padding:5})],border:i,arrowSize:c=8})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:o};const f=s;return n?(f.push(pn({element:n,padding:5})),eo(e,t,{placement:o,strategy:r,middleware:f}).then((({x:m,y:d,placement:h,middlewareData:u})=>{var v,b;const _={left:`${m}px`,top:`${d}px`,border:i},{x,y:S}=(v=u.arrow)!==null&&v!==void 0?v:{x:0,y:0},E=(b={top:"bottom",right:"left",bottom:"top",left:"right"}[h.split("-")[0]])!==null&&b!==void 0?b:"bottom",R=i&&{borderBottom:i,borderRight:i};let z=0;if(i){const L=`${i}`.match(/(\d+)px/);z=L!=null&&L[1]?Number(L[1]):1}return{tooltipStyles:_,tooltipArrowStyles:{left:x!=null?`${x}px`:"",top:S!=null?`${S}px`:"",right:"",bottom:"",...R,[E]:`-${c/2+z-1}px`},place:h}}))):eo(e,t,{placement:"bottom",strategy:r,middleware:f}).then((({x:m,y:d,placement:h})=>({tooltipStyles:{left:`${m}px`,top:`${d}px`},tooltipArrowStyles:{},place:h})))},so=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),io=(e,t,n)=>{let o=null;const l=function(...r){const s=()=>{o=null};!o&&(e.apply(this,r),o=setTimeout(s,t))};return l.cancel=()=>{o&&(clearTimeout(o),o=null)},l},co=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",zt=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every(((l,r)=>zt(l,t[r])));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!co(e)||!co(t))return e===t;const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every((l=>zt(e[l],t[l])))},wn=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some((n=>{const o=t.getPropertyValue(n);return o==="auto"||o==="scroll"}))},ao=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(wn(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},gn=typeof window<"u"?p.useLayoutEffect:p.useEffect,oe=e=>{e.current&&(clearTimeout(e.current),e.current=null)},bn="DEFAULT_TOOLTIP_ID",xn={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},_n=p.createContext({getTooltipData:()=>xn});function xo(e=bn){return p.useContext(_n).getTooltipData(e)}var Oe={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},wt={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Sn=({forwardRef:e,id:t,className:n,classNameArrow:o,variant:l="dark",anchorId:r,anchorSelect:s,place:i="top",offset:c=10,events:f=["hover"],openOnClick:m=!1,positionStrategy:d="absolute",middlewares:h,wrapper:u,delayShow:v=0,delayHide:b=0,float:_=!1,hidden:x=!1,noArrow:S=!1,clickable:E=!1,closeOnEsc:R=!1,closeOnScroll:z=!1,closeOnResize:L=!1,openEvents:k,closeEvents:Z,globalCloseEvents:U,imperativeModeOnly:J,style:se,position:ee,afterShow:ie,afterHide:T,disableTooltip:H,content:W,contentWrapperRef:M,isOpen:P,defaultIsOpen:F=!1,setIsOpen:de,previousActiveAnchor:Ye,activeAnchor:N,setActiveAnchor:ke,border:at,opacity:ut,arrowColor:ft,arrowSize:Ne=8,role:Ot="tooltip"})=>{var be;const K=p.useRef(null),De=p.useRef(null),ne=p.useRef(null),xe=p.useRef(null),Pe=p.useRef(null),[_e,dt]=p.useState({tooltipStyles:{},tooltipArrowStyles:{},place:i}),[X,Ue]=p.useState(!1),[Be,he]=p.useState(!1),[B,ze]=p.useState(null),pt=p.useRef(!1),$e=p.useRef(null),{anch
5orRefs:mt,setActiveAnchor:Je}=xo(t),Ge=p.useRef(!1),[ve,Qe]=p.useState([]),Se=p.useRef(!1),Me=m||f.includes("click"),ht=Me||(k==null?void 0:k.click)||(k==null?void 0:k.dblclick)||(k==null?void 0:k.mousedown),Ze=k?{...k}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!k&&Me&&Object.assign(Ze,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Ee=Z?{...Z}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!Z&&Me&&Object.assign(Ee,{mouseleave:!1,blur:!1,mouseout:!1});const I=U?{...U}:{escape:R||!1,scroll:z||!1,resize:L||!1,clickOutsideAnchor:ht||!1};J&&(Object.assign(Ze,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Ee,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(I,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),gn((()=>(Se.current=!0,()=>{Se.current=!1})),[]);const Y=a=>{Se.current&&(a&&he(!0),setTimeout((()=>{Se.current&&(de==null||de(a),P===void 0&&Ue(a))}),10))};p.useEffect((()=>{if(t){if(X){w(Ye);const y=a(N),C=[...new Set([...y,t])].filter(Boolean).join(" ");N==null||N.setAttribute("aria-describedby",C)}else w(N);return()=>{w(N),w(Ye)}}function a(y){var C;return((C=y==null?void 0:y.getAttribute("aria-describedby"))===null||C===void 0?void 0:C.split(" "))||[]}function w(y){const C=a(y).filter((j=>j!==t));C.length?y==null||y.setAttribute("aria-describedby",C.join(" ")):y==null||y.removeAttribute("aria-describedby")}}),[N,X,t,Ye]),p.useEffect((()=>{if(P===void 0)return()=>null;P&&he(!0);const a=setTimeout((()=>{Ue(P)}),10);return()=>{clearTimeout(a)}}),[P]),p.useEffect((()=>{if(X!==pt.current)if(oe(Pe),pt.current=X,X)ie==null||ie();else{const a=(w=>{const y=w.match(/^([\d.]+)(ms|s)$/);if(!y)return 0;const[,C,j]=y;return Number(C)*(j==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));Pe.current=setTimeout((()=>{he(!1),ze(null),T==null||T()}),a+25)}}),[X]);const et=a=>{dt((w=>zt(w,a)?w:a))},tt=(a=v)=>{oe(ne),Be?Y(!0):ne.current=setTimeout((()=>{Y(!0)}),a)},je=(a=b)=>{oe(xe),xe.current=setTimeout((()=>{Ge.current||Y(!1)}),a)},ot=a=>{var w;if(!a)return;const y=(w=a.currentTarget)!==null&&w!==void 0?w:a.target;if(!(y!=null&&y.isConnected))return ke(null),void Je({current:null});v?tt():Y(!0),ke(y),Je({current:y}),oe(xe)},Ie=()=>{E?je(b||100):b?je():Y(!1),oe(ne)},We=({x:a,y:w})=>{var y;const C={getBoundingClientRect:()=>({x:a,y:w,width:0,height:0,top:w,left:a,right:a,bottom:w})};lo({place:(y=B==null?void 0:B.place)!==null&&y!==void 0?y:i,offset:c,elementReference:C,tooltipReference:K.current,tooltipArrowReference:De.current,strategy:d,middlewares:h,border:at,arrowSize:Ne}).then((j=>{et(j)}))},Fe=a=>{if(!a)return;const w=a,y={x:w.clientX,y:w.clientY};We(y),$e.current=y},nt=a=>{var w;if(!X)return;const y=a.target;y.isConnected&&(!((w=K.current)===null||w===void 0)&&w.contains(y)||[document.querySelector(`[id='${r}']`),...ve].some((C=>C==null?void 0:C.contains(y)))||(Y(!1),oe(ne)))},vt=io(ot,50),$=io(Ie,50),V=a=>{$.cancel(),vt(a)},g=()=>{vt.cancel(),$()},A=p.useCallback((()=>{var a,w;const y=(a=B==null?void 0:B.position)!==null&&a!==void 0?a:ee;y?We(y):_?$e.current&&We($e.current):N!=null&&N.isConnected&&lo({place:(w=B==null?void 0:B.place)!==null&&w!==void 0?w:i,offset:c,elementReference:N,tooltipReference:K.current,tooltipArrowReference:De.current,strategy:d,middlewares:h,border:at,arrowSize:Ne}).then((C=>{Se.current&&et(C)}))}),[X,N,W,se,i,B==null?void 0:B.place,c,d,ee,B==null?void 0:B.position,_,Ne]);p.useEffect((()=>{var a,w;const y=new Set(mt);ve.forEach((O=>{H!=null&&H(O)||y.add({current:O})}));const C=document.querySelector(`[id='${r}']`);C&&!(H!=null&&H(C))&&y.add({current:C});const j=()=>{Y(!1)},ce=ao(N),ae=ao(K.current);I.scroll&&(window.addEventListener("scroll",j),ce==null||ce.addEventListener("scroll",j),ae==null||ae.addEventListener("scroll",j));let q=null;I.resize?window.addEventListener("resize",j):N&&K.current&&(q=an(N,K.current,A,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const te=O=>{O.key==="Escape"&&Y(!1)};I.escape&&window.addEventListener("keydown",te),I.clickOutsideAnchor&&window.addEventListener("click",nt);const D=[],Ve=O=>!!(O!=null&&O.target&&(N!=null&&N.contains(O.target))),_o=O=>{X&&Ve(O)||ot(O)},So=O=>{X&&Ve(O)&&Ie()},Ft=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Vt=["click","dblclick","mousedown","mouseup"];Object.entries(Ze).forEach((([O,pe])=>{pe&&(Ft.includes(O)?D.push({event:O,listener:V}
5):Vt.includes(O)&&D.push({event:O,listener:_o}))})),Object.entries(Ee).forEach((([O,pe])=>{pe&&(Ft.includes(O)?D.push({event:O,listener:g}):Vt.includes(O)&&D.push({event:O,listener:So}))})),_&&D.push({event:"pointermove",listener:Fe});const qt=()=>{Ge.current=!0},Ht=()=>{Ge.current=!1,Ie()},Kt=E&&(Ee.mouseout||Ee.mouseleave);return Kt&&((a=K.current)===null||a===void 0||a.addEventListener("mouseover",qt),(w=K.current)===null||w===void 0||w.addEventListener("mouseout",Ht)),D.forEach((({event:O,listener:pe})=>{y.forEach((Ct=>{var rt;(rt=Ct.current)===null||rt===void 0||rt.addEventListener(O,pe)}))})),()=>{var O,pe;I.scroll&&(window.removeEventListener("scroll",j),ce==null||ce.removeEventListener("scroll",j),ae==null||ae.removeEventListener("scroll",j)),I.resize?window.removeEventListener("resize",j):q==null||q(),I.clickOutsideAnchor&&window.removeEventListener("click",nt),I.escape&&window.removeEventListener("keydown",te),Kt&&((O=K.current)===null||O===void 0||O.removeEventListener("mouseover",qt),(pe=K.current)===null||pe===void 0||pe.removeEventListener("mouseout",Ht)),D.forEach((({event:Ct,listener:rt})=>{y.forEach((Eo=>{var Tt;(Tt=Eo.current)===null||Tt===void 0||Tt.removeEventListener(Ct,rt)}))}))}}),[N,A,Be,mt,ve,k,Z,U,Me,v,b]),p.useEffect((()=>{var a,w;let y=(w=(a=B==null?void 0:B.anchorSelect)!==null&&a!==void 0?a:s)!==null&&w!==void 0?w:"";!y&&t&&(y=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const C=new MutationObserver((j=>{const ce=[],ae=[];j.forEach((q=>{if(q.type==="attributes"&&q.attributeName==="data-tooltip-id"&&(q.target.getAttribute("data-tooltip-id")===t?ce.push(q.target):q.oldValue===t&&ae.push(q.target)),q.type==="childList"){if(N){const te=[...q.removedNodes].filter((D=>D.nodeType===1));if(y)try{ae.push(...te.filter((D=>D.matches(y)))),ae.push(...te.flatMap((D=>[...D.querySelectorAll(y)])))}catch{}te.some((D=>{var Ve;return!!(!((Ve=D==null?void 0:D.contains)===null||Ve===void 0)&&Ve.call(D,N))&&(he(!1),Y(!1),ke(null),oe(ne),oe(xe),!0)}))}if(y)try{const te=[...q.addedNodes].filter((D=>D.nodeType===1));ce.push(...te.filter((D=>D.matches(y)))),ce.push(...te.flatMap((D=>[...D.querySelectorAll(y)])))}catch{}}})),(ce.length||ae.length)&&Qe((q=>[...q.filter((te=>!ae.includes(te))),...ce]))}));return C.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{C.disconnect()}}),[t,s,B==null?void 0:B.anchorSelect,N]),p.useEffect((()=>{A()}),[A]),p.useEffect((()=>{if(!(M!=null&&M.current))return()=>null;const a=new ResizeObserver((()=>{setTimeout((()=>A()))}));return a.observe(M.current),()=>{a.disconnect()}}),[W,M==null?void 0:M.current]),p.useEffect((()=>{var a;const w=document.querySelector(`[id='${r}']`),y=[...ve,w];N&&y.includes(N)||ke((a=ve[0])!==null&&a!==void 0?a:w)}),[r,ve,N]),p.useEffect((()=>(F&&Y(!0),()=>{oe(ne),oe(xe)})),[]),p.useEffect((()=>{var a;let w=(a=B==null?void 0:B.anchorSelect)!==null&&a!==void 0?a:s;if(!w&&t&&(w=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),w)try{const y=Array.from(document.querySelectorAll(w));Qe(y)}catch{Qe([])}}),[t,s,B==null?void 0:B.anchorSelect]),p.useEffect((()=>{ne.current&&(oe(ne),tt(v))}),[v]);const G=(be=B==null?void 0:B.content)!==null&&be!==void 0?be:W,Ae=X&&Object.keys(_e.tooltipStyles).length>0;return p.useImperativeHandle(e,(()=>({open:a=>{if(a!=null&&a.anchorSelect)try{document.querySelector(a.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${a.anchorSelect}" is not a valid CSS selector`)}ze(a??null),a!=null&&a.delay?tt(a.delay):Y(!0)},close:a=>{a!=null&&a.delay?je(a.delay):Y(!1)},activeAnchor:N,place:_e.place,isOpen:!!(Be&&!x&&G&&Ae)}))),Be&&!x&&G?ye.createElement(u,{id:t,role:Ot,className:gt("react-tooltip",Oe.tooltip,wt.tooltip,wt[l],n,`react-tooltip__place-${_e.place}`,Oe[Ae?"show":"closing"],Ae?"react-tooltip__show":"react-tooltip__closing",d==="fixed"&&Oe.fixed,E&&Oe.clickable),onTransitionEnd:a=>{oe(Pe),X||a.propertyName!=="opacity"||(he(!1),ze(null),T==null||T())},style:{...se,..._e.tooltipStyles,opacity:ut!==void 0&&Ae?ut:void 0},ref:K},ye.createElement(u,{className:gt("react-tooltip-content-wrapper",Oe.content,wt.content)},G),ye.createElement(u,{className:gt("react-tooltip-arrow",Oe.arrow,wt.arrow,o,S&&Oe.noArrow),style:{..._e.tooltipArrowStyles,background:ft?`linear-gradient(to right bottom, transparent 50%, ${ft} 50%)`:void 0,"--rt-arrow-size":`${Ne}px`},ref:De})):null},En=({content:e})=>ye.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Rn=ye.forwardRef((({id:e,anchorId:t,anchorSelect:n,content:o,html:l,render:r,className:s,classNameArrow:i,variant:c="dark",place:f="top",offset:m=10,wrapper:d="div",children:h=null,events:u=["hover"],openOnClick:v=!1,positionStrategy:b="absolute",middlewares:_,delayShow:x=0,delayHide:S=0,float:E=!1,hidden:R=!1,noArrow:z=!1,
5clickable:L=!1,closeOnEsc:k=!1,closeOnScroll:Z=!1,closeOnResize:U=!1,openEvents:J,closeEvents:se,globalCloseEvents:ee,imperativeModeOnly:ie=!1,style:T,position:H,isOpen:W,defaultIsOpen:M=!1,disableStyleInjection:P=!1,border:F,opacity:de,arrowColor:Ye,arrowSize:N,setIsOpen:ke,afterShow:at,afterHide:ut,disableTooltip:ft,role:Ne="tooltip"},Ot)=>{const[be,K]=p.useState(o),[De,ne]=p.useState(l),[xe,Pe]=p.useState(f),[_e,dt]=p.useState(c),[X,Ue]=p.useState(m),[Be,he]=p.useState(x),[B,ze]=p.useState(S),[pt,$e]=p.useState(E),[mt,Je]=p.useState(R),[Ge,ve]=p.useState(d),[Qe,Se]=p.useState(u),[Me,ht]=p.useState(b),[Ze,Ee]=p.useState(null),[I,Y]=p.useState(null),et=p.useRef(null),tt=p.useRef(P),{anchorRefs:je,activeAnchor:ot}=xo(e),Ie=$=>$==null?void 0:$.getAttributeNames().reduce(((V,g)=>{var A;return g.startsWith("data-tooltip-")&&(V[g.replace(/^data-tooltip-/,"")]=(A=$==null?void 0:$.getAttribute(g))!==null&&A!==void 0?A:null),V}),{}),We=$=>{const V={place:g=>{var A;Pe((A=g)!==null&&A!==void 0?A:f)},content:g=>{K(g??o)},html:g=>{ne(g??l)},variant:g=>{var A;dt((A=g)!==null&&A!==void 0?A:c)},offset:g=>{Ue(g===null?m:Number(g))},wrapper:g=>{var A;ve((A=g)!==null&&A!==void 0?A:d)},events:g=>{const A=g==null?void 0:g.split(" ");Se(A??u)},"position-strategy":g=>{var A;ht((A=g)!==null&&A!==void 0?A:b)},"delay-show":g=>{he(g===null?x:Number(g))},"delay-hide":g=>{ze(g===null?S:Number(g))},float:g=>{$e(g===null?E:g==="true")},hidden:g=>{Je(g===null?R:g==="true")},"class-name":g=>{Ee(g)}};Object.values(V).forEach((g=>g(null))),Object.entries($).forEach((([g,A])=>{var G;(G=V[g])===null||G===void 0||G.call(V,A)}))};p.useEffect((()=>{K(o)}),[o]),p.useEffect((()=>{ne(l)}),[l]),p.useEffect((()=>{Pe(f)}),[f]),p.useEffect((()=>{dt(c)}),[c]),p.useEffect((()=>{Ue(m)}),[m]),p.useEffect((()=>{he(x)}),[x]),p.useEffect((()=>{ze(S)}),[S]),p.useEffect((()=>{$e(E)}),[E]),p.useEffect((()=>{Je(R)}),[R]),p.useEffect((()=>{ht(b)}),[b]),p.useEffect((()=>{tt.current!==P&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[P]),p.useEffect((()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:P==="core",disableBase:P}}))}),[]),p.useEffect((()=>{var $;const V=new Set(je);let g=n;if(!g&&e&&(g=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),g)try{document.querySelectorAll(g).forEach((w=>{V.add({current:w})}
5))}catch{console.warn(`[react-tooltip] "${g}" is not a valid CSS selector`)}const A=document.querySelector(`[id='${t}']`);if(A&&V.add({current:A}),!V.size)return()=>null;const G=($=I??A)!==null&&$!==void 0?$:ot.current,Ae=new MutationObserver((w=>{w.forEach((y=>{var C;if(!G||y.type!=="attributes"||!(!((C=y.attributeName)===null||C===void 0)&&C.startsWith("data-tooltip-")))return;const j=Ie(G);We(j)}))})),a={attributes:!0,childList:!1,subtree:!1};if(G){const w=Ie(G);We(w),Ae.observe(G,a)}return()=>{Ae.disconnect()}}),[je,ot,I,t,n]),p.useEffect((()=>{T!=null&&T.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),F&&!so("border",`${F}`)&&console.warn(`[react-tooltip] "${F}" is not a valid \`border\`.`),T!=null&&T.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),de&&!so("opacity",`${de}`)&&console.warn(`[react-tooltip] "${de}" is not a valid \`opacity\`.`)}),[]);let Fe=h;const nt=p.useRef(null);if(r){const $=r({content:(I==null?void 0:I.getAttribute("data-tooltip-content"))||be||null,activeAnchor:I});Fe=$?ye.createElement("div",{ref:nt,className:"react-tooltip-content-wrapper"},$):null}else be&&(Fe=be);De&&(Fe=ye.createElement(En,{content:De}));const vt={forwardRef:Ot,id:e,anchorId:t,anchorSelect:n,className:gt(s,Ze),classNameArrow:i,content:Fe,contentWrapperRef:nt,place:xe,variant:_e,offset:X,wrapper:Ge,events:Qe,openOnClick:v,positionStrategy:Me,middlewares:_,delayShow:Be,delayHide:B,float:pt,hidden:mt,noArrow:z,clickable:L,closeOnEsc:k,closeOnScroll:Z,closeOnResize:U,openEvents:J,closeEvents:se,globalCloseEvents:ee,imperativeModeOnly:ie,style:T,position:H,isOpen:W,defaultIsOpen:M,border:F,opacity:de,arrowColor:Ye,arrowSize:N,setIsOpen:ke,afterShow:at,afterHide:ut,disableTooltip:ft,activeAnchor:I,previousActiveAnchor:et.current,setActiveAnchor:$=>{Y((V=>($!=null&&$.isSameNode(V)||(et.current=V),$)))},role:Ne};return ye.createElement(Sn,{...vt})}));typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",(e=>{e.detail.disableCore||ro({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||ro({css:` 6.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})}));export{Rn as M};
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.