vendor: 4,503 bytes, line 1
1import{o as e}from"./rolldown-runtime-C0FnF6B9.js";import{t}from"./react-C21x__mS.js";import{t as n}from"./react-dom-BddMPX6d.js";function r(){return typeof window<`u`}function i(e){return s(e)?(e.nodeName||``).toLowerCase():`#document`}function a(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function o(e){return((s(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function s(e){return r()?e instanceof Node||e instanceof a(e).Node:!1}function c(e){return r()?e instanceof Element||e instanceof a(e).Element:!1}function l(e){return r()?e instanceof HTMLElement||e instanceof a(e).HTMLElement:!1}function u(e){return!r()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof a(e).ShadowRoot}function d(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=S(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function f(e){return/^(table|td|th)$/.test(i(e))}function p(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var m=/transform|translate|scale|rotate|perspective|filter/,h=/paint|layout|strict|content/,g=e=>!!e&&e!==`none`,_;function v(e){let t=c(e)?S(e):e;return g(t.transform)||g(t.translate)||g(t.scale)||g(t.rotate)||g(t.perspective)||!b()&&(g(t.backdropFilter)||g(t.filter))||m.test(t.willChange||``)||h.test(t.contain||``)}function y(e){let t=w(e);for(;l(t)&&!x(t);){if(v(t))return t;if(p(t))return null;t=w(t)}return null}function b(){return _??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),_}function x(e){return/^(html|body|#document)$/.test(i(e))}function S(e){return a(e).getComputedStyle(e)}function C(e){return c(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function w(e){if(i(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||o(e);return u(t)?t.host:t}function T(e){let t=w(e);return x(t)?(e.ownerDocument||e).body:l(t)&&d(t)?t:T(t)}function E(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=T(e),i=r===e.ownerDocument?.body,o=a(r);if(i){let e=D(o);return t.concat(o,o.visualViewport||[],d(r)?r:[],e&&n?E(e):[])}return t.concat(r,E(r,[],n))}function D(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}var O=[`top`,`right`,`bottom`,`left`],k=Math.min,A=Math.max,j=Math.round,M=Math.floor,N=e=>({x:e,y:e}),ee={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function P(e,t,n){return A(e,k(t,n))}function F(e,t){return typeof e==`function`?e(t):e}function I(e){return e.split(`-`)[0]}function L(e){return e.split(`-`)[1]}function R(e){return e===`x`?`y`:`x`}function z(e){return e===`y`?`height`:`width`}function B(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function V(e){return R(B(e))}function te(e,t,n){n===void 0&&(n=!1);let r=L(e),i=V(e),a=z(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=U(o)),[o,U(o)]}function ne(e){let t=U(e);return[H(e),t,H(t)]}function H(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var re=[`left`,`right`],ie=[`right`,`left`],ae=[`top`,`bottom`],oe=[`bottom`,`top`];function se(e,t,n){switch(e){case`top`:case`bottom`:return n?t?ie:re:t?re:ie;case`left`:case`right`:return t?ae:oe;default:return[]}}function ce(e,t,n,r){let i=L(e),a=se(I(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(H)))),a}function U(e){let t=I(e);return ee[t]+e.slice(t.length)}function le(e){return{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}}function W(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:le(e)}function G(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function ue(e,t,n){let{reference:r,floating:i}=e,a=B(t),o=V(t),s=z(o),c=I(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}let m=L(t);return m&&(p[o]+=f*(m===`end`?1:-1)*(n&&l?-1:1)),p}async function de(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=F(t,e),p=W(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=G(await i.getClippingRect
vendor: 1,027 bytes, line 1
1({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=G(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var fe=50,pe=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:de},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}
1),{x:u,y:d}=ue(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<fe&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=ue(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},me=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=F(e,t)||{};if(l==null)return{};let d=W(u),f={x:n,y:r},p=V(i),m=z(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=k(d[_],T),D=k(d[v],T),O=C-h[m]-D,A=C/2-h[m]/2+w,j=P(E,A,O),M=!c.arrow&&L(i)!=null&&A!==j&&a.reference[m]/2-(A<E?E:D)-h[m]/2<0,N=M?A<E?A-E:A-O:0;return{[p]:f[p]+N,data:{[p]:j,centerOffset:A-j-N,...M&&{alignmentOffset:N}},reset:M}}}),he=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=F(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=I(r),_=B(o),v=I(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[U(o)]:ne(o)),x=p!==`none`;!d&&x&&b.push(...ce(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=te(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(u!==`alignment`||_===B(t)||T.every(e=>B(e.placement)!==_||e.overflows[0]>0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=B(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o}if(r!==n)return{reset:{placement:n}}}return{}}}};function ge(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function _e(e){return O.some(t=>e[t]>=0)}var ve=function(e){return e===void 0&&(e={}),{name:`hide`,options:e,async fn(t){let{rects:n,platform:r}=t,{strategy:i=`referenceHidden`,...a}=F(e,t);switch(i){case`referenceHidden`:{let e=ge(await r.detectOverflow(t,{...a,elementContext:`reference`}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:_e(e)}}}case`escaped`:{let e=ge(await r.detectOverflow(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:_e(e)}}}default:return{}}}}};function ye(e){let t=k(...e.map(e=>e.left)),n=k(...e.map(e=>e.top)),r=A(...e.map(e=>e.right)),i=A(...e.map(e=>e.bottom));return{x:t,y:n,width:r-t,height:i-n}}function be(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],r=null;for(let e=0;e<t.length;e++){let i=t[e];!r||i.y-r.y>r.height/2?n.push([i]):n[n.length-1].push(i),r=i}return n.map(e=>G(ye(e)))}var xe=function(e){return e===void 0&&(e={}),{name:`inline`,options:e,async fn(t){let{placement:n,elements:r,rects:i,platform:a,strategy:o}=t,{padding:s=2,x:c,y:l}=F(e,t),u=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(r.reference))||[]);if(!u.length)return{};let d=be(u),f=G(ye(u)),p=W(s);function m(){if(d.length===2&&(d[0].left>d[1].right||d[1].left>d[0].right)&&c!=null&&l!=null)return d.find(e=>c>e.left-p.left&&c<e.right+p.right&&l>e.top-p.top&&l<e.bottom+p.bottom)||f;if(d.length>=2){if(B(n)===`y`){let e=d[0],t=d[d.length-1],r=I(n)===`top`,i=e.top,a=t.bottom,o=r?e.left:t.left;return G({x:o,y:i,width:(r?e.right:t.right)-o,height:a-i})}let e=I(n)===`left`,t=A(...d.map(e=>e.right)),r=k(...d.map(e=>e.left)),i=d.filter(n=>e?n.left===r:n.right===t),a=i[0].top,o=i[i.length-1].bottom;return G({x:r,y:a,width:t-r,height:o-a})}return f}let h=await a.getElementRects({reference:{getBoundingClientRect:m},floating:r.floating,strategy:o});return i.reference.x!==h.reference.x||i.reference.y!==h.reference.y||i.reference.width!==h.reference.width||i.reference.height!==h.reference.height?{reset:{rects:h}}:{}}}},Se=new Set([`left`,`top`]);async function Ce(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=I(n),s=L(n),c=B(n)===`y`,l=Se.has(o)?-1:1,u=a&&c?-1:1,d=F(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}
1:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var we=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Ce(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Te=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=F(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=B(i),p=R(f),m=u[p],h=u[f],g=(e,t)=>P(t+d[e===`y`?`top`:`left`],t,t-d[e===`y`?`bottom`:`right`]);o&&(m=g(p,m)),s&&(h=g(f,h));let _=c.fn({...t,[p]:m,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:o,[f]:s}}}}}},Ee=function(e){return e===void 0&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:a,middlewareData:o}=t,{offset:s=0,mainAxis:c=!0,crossAxis:l=!0}=F(e,t),u={x:n,y:r},d=B(i),f=R(d),p=u[f],m=u[d],h=F(s,t),g=typeof h==`number`?{mainAxis:h,crossAxis:0}:{mainAxis:h.mainAxis??0,crossAxis:h.crossAxis??0};if(c){let e=f===`y`?`height`:`width`,t=a.reference[f]-a.floating[e]+g.mainAxis,n=a.reference[f]+a.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(l){let e=f===`y`?`width`:`height`,t=Se.has(I(i)),n=a.reference[d]-a.floating[e]+(t&&o.offset?.[d]||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:o.offset?.[d]||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[f]:p,[d]:m}}}},De=function(e){return e===void 0&&(e={}),{name:`size`,options:e,async fn(t){let{placement:n,rects:r,platform:i,elements:a}=t,{apply:o=()=>{},...s}=F(e,t),c=await i.detectOverflow(t,s),l=I(n),u=L(n),d=B(n)===`y`,{width:f,height:p}=r.floating,m,h;l===`top`||l===`bottom`?(m=l,h=u===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?`start`:`end`)?`left`:`right`):(h=l,m=u===`end`?`top`:`bottom`);let g=p-c.top-c.bottom,_=f-c.left-c.right,v=k(p-c[m],g),y=k(f-c[h],_),b=t.middlewareData.shift,x=!b,S=v,C=y;b!=null&&b.enabled.x&&(C=_),b!=null&&b.enabled.y&&(S=g),x&&!u&&(d?C=f-2*A(c.left,c.right):S=p-2*A(c.top,c.bottom)),await o({...t,availableWidth:C,availableHeight:S});let w=await i.getDimensions(a.floating);return f!==w.width||p!==w.height?{reset:{rects:!0}}:{}}}};function Oe(e){let t=S(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=l(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=j(n)!==a||j(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function K(e){return c(e)?e:e.contextElement}function q(e){let t=K(e);if(!l(t))return N(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=Oe(t),o=(a?j(n.width):n.width)/r,s=(a?j(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var ke=N(0);function Ae(e){let t=a(e);return!b()||!t.visualViewport?ke:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function je(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===a(e)}function J(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),o=K(e),s=N(1);t&&(r?c(r)&&(s=q(r)):s=q(e));let l=je(o,n,r)?Ae(o):N(0),u=(i.left+l.x)/s.x,d=(i.top+l.y)/s.y,f=i.width/s.x,p=i.height/s.y;if(o&&r){let e=a(o),t=c(r)?a(r):r,n=e,i=D(n);for(;i&&t!==n;){let e=q(i),t=i.getBoundingClientRect(),r=S(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,d*=e.y,f*=e.x,p*=e.y,u+=o,d+=s,n=a(i),i=D(n)}}return G({width:f,height:p,x:u,y:d})}function Y(e,t){let n=C(e).scrollLeft;return t?t.left+n:J(o(e)).left+n}function Me(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-Y(e,n),y:n.top+t.scrollTop}}function Ne(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e,s=a===`fixed`,c=o(r),u=t?p(t.floating):!1;if(r===c||u&&s)return n;let f={scrollLeft:0,scrollTop:0},m=N(1),h=N(0),g=l(r);if((g||!s)&&((i(r)!==`body`||d(c))&&(f=C(r)),g)){let e=J(r);m=q(r),h.x=e.x+r.clientLeft,h.y=e.y+r.clientTop}let _=c&&!g&&!s?Me(c,f):N(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-f.scrollLeft*m.x+h.x+_.x,y:n.y*m.y-f.scrollTop*m.y+h.y+_.y}}function Pe(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function Fe(e){let t=C(e),n=e.ownerDocument.body,r=A(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),i=A(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),a=-t.scrollLeft+Y(e),o=-t.scrollTop;
vendor: 4,134 bytes, line 1
1return S(n).direction===`rtl`&&(a+=A(e.clientWidth,n.clientWidth)-r),{width:r,height:i,x:a,y:o}}var Ie=25;function Le(e,t,n){n===void 0&&(n=`viewport`);let r=n===`layoutViewport`,i=a(e),s=o(e),c=i.visualViewport,l=s.clientWidth,u=s.clientHeight,d=0,f=0;if(c){let e=!b()||t===`fixed`;r?e||(d=-c.offsetLeft,f=-c.offsetTop):(l=c.width,u=c.height,e&&(d=c.offsetLeft,f=c.offsetTop))}if(Y(s)<=0){let e=s.ownerDocument,t=e.body,n=getComputedStyle(t),r=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,i=Math.abs(s.clientWidth-t.clientWidth-r),a=getComputedStyle(s).scrollbarGutter===`stable both-edges`?i/2:i;a<=Ie&&(l-=a)}return{width:l,height:u,x:d,y:f}}function Re(e,t){let n=J(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=q(e);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function ze(e,t,n){let r;if(t===`viewport`||t===`layoutViewport`)r=Le(e,n,t);else if(t===`document`)r=Fe(o(e));else if(c(t))r=Re(t,n);else{let n=Ae(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return G(r)}function Be(e,t){let n=t.get(e);if(n)return n;let r=E(e,[],!1).filter(e=>c(e)&&i(e)!==`body`),a=null,o=S(e).position===`fixed`,s=o?w(e):e;for(;c(s)&&!x(s);){let e=S(s),t=v(s),n=a?a.position:o?`fixed`:``;!t&&(n===`fixed`||n===`absolute`&&e.position===`static`)?r=r.filter(e=>e!==s):a=e,s=w(s)}return t.set(e,r),r}function Ve(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?p(t)?[]:Be(t,this._c):[].concat(n),r],o=ze(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=ze(t,a[e],i);s=A(n.top,s),c=k(n.right,c),l=k(n.bottom,l),u=A(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function He(e){let{width:t,height:n}=Oe(e);return{width:t,height:n}}function Ue(e,t,n){let r=l(t),a=o(t),s=n===`fixed`,c=J(e,!0,s,t),u={scrollLeft:0,scrollTop:0},f=N(0);if((r||!s)&&((i(t)!==`body`||d(a))&&(u=C(t)),r)){let e=J(t,!0,s,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}!r&&a&&(f.x=Y(a));let p=a&&!r&&!s?Me(a,u):N(0);return{x:c.left+u.scrollLeft-f.x-p.x,y:c.top+u.scrollTop-f.y-p.y,width:c.width,height:c.height}}function X(e){return S(e).position===`static`}function We(e,t){if(!l(e)||S(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return o(e)===n&&(n=n.ownerDocument.body),n}function Ge(e,t){let n=a(e);if(p(e))return n;if(!l(e)){let t=w(e);for(;t&&!x(t);){if(c(t)&&!X(t))return t;t=w(t)}return n}let r=We(e,t);for(;r&&f(r)&&X(r);)r=We(r,t);return r&&x(r)&&X(r)&&!v(r)?n:r||y(e)||n}var Ke=async function(e){let t=this.getOffsetParent||Ge,n=this.getDimensions,r=await n(e.floating);return{reference:Ue(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qe(e){return S(e).direction===`rtl`}var Je={convertOffsetParentRelativeRectToViewportRelativeRect:Ne,getDocumentElement:o,getClippingRect:Ve,getOffsetParent:Ge,getElementRects:Ke,getClientRects:Pe,getDimensions:He,getScale:q,isElement:c,isRTL:qe};function Ye(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Xe(e,t,n){let r=null,i,s=o(e);function c(){var e;clearTimeout(i),(e=r)==null||e.disconnect(),r=null}function l(n,a){n===void 0&&(n=!1),a===void 0&&(a=1),c();let o=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=o;if(n||t(),!f||!p)return;let m=M(d),h=M(s.clientWidth-(u+f)),g=M(s.clientHeight-(d+p)),_=M(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:A(0,k(1,a))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(!Ye(o,e.getBoundingClientRect()))return l();if(n!==a){if(!y)return l();n?l(!1,n):i=setTimeout(()=>{l(!1,1e-7)},1e3)}y=!1}try{r=new IntersectionObserver(b,{...v,root:s.ownerDocument})}catch{r=new IntersectionObserver(b,v)}r.observe(e)}let u=a(e),d=()=>l(n);return u.addEventListener(`resize`,d),l(!0),()=>{u.removeEventListener(`resize`,d),c()}}function Ze(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=K(e),u=i||a?[...l?E(l):[],...t?E(t):[]]:[];
vendor: 4,203 bytes, line 1
1u.forEach(e=>{i&&e.addEventListener(`scroll`,n),a&&e.addEventListener(`resize`,n)});let d=l&&s?Xe(l,n,a):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?J(e):null;c&&g();function g(){let t=J(e);h&&!Ye(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Qe=we,$e=Te,et=he,tt=De,nt=ve,rt=me,it=xe,at=Ee,ot=(e,t,n)=>{let r=new Map,i=n??{},a={...Je,...i.platform,_c:r};return pe(e,t,{...i,platform:a})},Z=e(t(),1),st=e(n(),1),Q=typeof document<`u`?Z.useLayoutEffect:function(){};function $(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,r,i;if(e&&t&&typeof e==`object`){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!$(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){let n=i[r];if(!(n===`_owner`&&e.$$typeof)&&!$(e[n],t[n]))return!1}return!0}return e!==e&&t!==t}function ct(e){return typeof window>`u`?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function lt(e,t){let n=ct(e);return Math.round(t*n)/n}function ut(e){let t=Z.useRef(e);return Q(()=>{t.current=e}),t}function dt(e){e===void 0&&(e={});let{placement:t=`bottom`,strategy:n=`absolute`,middleware:r=[],platform:i,elements:{reference:a,floating:o}={},transform:s=!0,whileElementsMounted:c,open:l}=e,[u,d]=Z.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=Z.useState(r);$(f,r)||p(r);let[m,h]=Z.useState(null),[g,_]=Z.useState(null),v=Z.useCallback(e=>{e!==S.current&&(S.current=e,h(e))},[]),y=Z.useCallback(e=>{e!==C.current&&(C.current=e,_(e))},[]),b=a||m,x=o||g,S=Z.useRef(null),C=Z.useRef(null),w=Z.useRef(u),T=c!=null,E=ut(c),D=ut(i),O=ut(l),k=Z.useCallback(()=>{if(!S.current||!C.current)return;let e={placement:t,strategy:n,middleware:f};D.current&&(e.platform=D.current),ot(S.current,C.current,e).then(e=>{let t={...e,isPositioned:O.current!==!1};A.current&&!$(w.current,t)&&(w.current=t,st.flushSync(()=>{d(t)}))})},[f,t,n,D,O]);Q(()=>{l===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[l]);let A=Z.useRef(!1);Q(()=>(A.current=!0,()=>{A.current=!1}),[]),Q(()=>{if(b&&(S.current=b),x&&(C.current=x),b&&x){if(E.current)return E.current(b,x,k);k()}},[b,x,k,E,T]);let j=Z.useMemo(()=>({reference:S,floating:C,setReference:v,setFloating:y}),[v,y]),M=Z.useMemo(()=>({reference:b,floating:x}),[b,x]),N=Z.useMemo(()=>{let e={position:n,left:0,top:0};if(!M.floating)return e;let t=lt(M.floating,u.x),r=lt(M.floating,u.y);return s?{...e,transform:`translate(`+t+`px, `+r+`px)`,...ct(M.floating)>=1.5&&{willChange:`transform`}}:{position:n,left:t,top:r}},[n,s,M.floating,u.x,u.y]);return Z.useMemo(()=>({...u,update:k,refs:j,elements:M,floatingStyles:N}),[u,k,j,M,N])}var ft=e=>{function t(e){return{}.hasOwnProperty.call(e,`current`)}return{name:`arrow`,options:e,fn(n){let{element:r,padding:i}=typeof e==`function`?e(n):e;return r&&t(r)?r.current==null?{}:rt({element:r.current,padding:i}).fn(n):r?rt({element:r,padding:i}).fn(n):{}}}},pt=(e,t)=>{let n=Qe(e);return{name:n.name,fn:n.fn,options:[e,t]}},mt=(e,t)=>{let n=$e(e);return{name:n.name,fn:n.fn,options:[e,t]}},ht=(e,t)=>({fn:at(e).fn,options:[e,t]}),gt=(e,t)=>{let n=et(e);return{name:n.name,fn:n.fn,options:[e,t]}},_t=(e,t)=>{let n=tt(e);return{name:n.name,fn:n.fn,options:[e,t]}},vt=(e,t)=>{let n=nt(e);return{name:n.name,fn:n.fn,options:[e,t]}},yt=(e,t)=>{let n=it(e);return{name:n.name,fn:n.fn,options:[e,t]}},bt=(e,t)=>{let n=ft(e);return{name:n.name,fn:n.fn,options:[e,t]}};export{b as A,a as C,s as D,x as E,d as O,w as S,l as T,I as _,ht as a,i as b,_t as c,P as d,F as f,W as g,z as h,yt as i,u as k,dt as l,V as m,gt as n,pt as o,L as p,vt as r,mt as s,bt as t,Ze as u,B as v,c as w,E as x,S as y};
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.