xiaozhi-client 1.9.2 → 1.9.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +4 -4
  2. package/apps/frontend/dist/assets/form-utils-h64o2Nyg.js +2 -0
  3. package/apps/frontend/dist/assets/form-utils-h64o2Nyg.js.map +1 -0
  4. package/apps/frontend/dist/assets/index-88NfCOo9.js +50 -0
  5. package/apps/frontend/dist/assets/index-88NfCOo9.js.map +1 -0
  6. package/apps/frontend/dist/assets/index-P6Zq3MZF.css +1 -0
  7. package/apps/frontend/dist/assets/radix-ui-BA32w1ww.js.map +1 -1
  8. package/apps/frontend/dist/assets/react-vendor-DrjkXih1.js +319 -0
  9. package/apps/frontend/dist/assets/react-vendor-DrjkXih1.js.map +1 -0
  10. package/apps/frontend/dist/assets/utils-CiPelQLP.js +2 -0
  11. package/apps/frontend/dist/assets/utils-CiPelQLP.js.map +1 -0
  12. package/apps/frontend/dist/assets/{vendor-DvFnRBMT.js → vendor-DK9yaMt3.js} +2 -2
  13. package/apps/frontend/dist/assets/vendor-DK9yaMt3.js.map +1 -0
  14. package/apps/frontend/dist/index.html +6 -6
  15. package/dist/WebServerStandalone.js +16 -21
  16. package/dist/WebServerStandalone.js.map +1 -1
  17. package/dist/cli.js +17 -25
  18. package/dist/cli.js.map +1 -1
  19. package/dist/mcpServerProxy.d.ts +1 -1
  20. package/dist/mcpServerProxy.js +13 -13
  21. package/dist/mcpServerProxy.js.map +1 -1
  22. package/dist/package.json +25 -18
  23. package/docs/arch/{cache.md → cache.mdx} +62 -95
  24. package/docs/changelog.mdx +617 -0
  25. package/docs/development/docker-build.mdx +256 -0
  26. package/docs/development/todo__release-guide.md +5 -5
  27. package/docs/docs.json +6 -1
  28. package/docs/python-dependencies.md +2 -2
  29. package/docs/usage/docker.mdx +4 -4
  30. package/package.json +25 -18
  31. package/apps/frontend/dist/assets/form-utils-wyhL6gg0.js +0 -24
  32. package/apps/frontend/dist/assets/form-utils-wyhL6gg0.js.map +0 -1
  33. package/apps/frontend/dist/assets/index-COfJftUA.css +0 -1
  34. package/apps/frontend/dist/assets/index-ukaaLbQN.js +0 -50
  35. package/apps/frontend/dist/assets/index-ukaaLbQN.js.map +0 -1
  36. package/apps/frontend/dist/assets/react-vendor-B6Uf_8Kw.js +0 -319
  37. package/apps/frontend/dist/assets/react-vendor-B6Uf_8Kw.js.map +0 -1
  38. package/apps/frontend/dist/assets/utils-D0kRQKVW.js +0 -2
  39. package/apps/frontend/dist/assets/utils-D0kRQKVW.js.map +0 -1
  40. package/apps/frontend/dist/assets/vendor-DvFnRBMT.js.map +0 -1
  41. package/dist/templates/docker/mcpServers/calculator.js +0 -106
  42. package/dist/templates/docker/mcpServers/datetime.js +0 -390
  43. package/dist/templates/docker/package.json +0 -13
  44. package/dist/templates/docker/requirements.txt +0 -16
  45. package/dist/templates/docker/xiaozhi.config.json +0 -21
  46. package/templates/docker/mcpServers/calculator.js +0 -106
  47. package/templates/docker/mcpServers/datetime.js +0 -390
  48. package/templates/docker/package.json +0 -13
  49. package/templates/docker/requirements.txt +0 -16
  50. package/templates/docker/xiaozhi.config.json +0 -21
@@ -1,4 +1,4 @@
1
- import{g as ln}from"./react-vendor-B6Uf_8Kw.js";var Mt={exports:{}},Xt={};/**
1
+ import{g as ln}from"./react-vendor-DrjkXih1.js";var Mt={exports:{}},Xt={};/**
2
2
  * @license React
3
3
  * scheduler.production.min.js
4
4
  *
@@ -7,4 +7,4 @@ import{g as ln}from"./react-vendor-B6Uf_8Kw.js";var Mt={exports:{}},Xt={};/**
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */(function(e){function t(h,d){var $=h.length;h.push(d);e:for(;0<$;){var S=$-1>>>1,L=h[S];if(0<s(L,d))h[S]=d,h[$]=L,$=S;else break e}}function n(h){return h.length===0?null:h[0]}function r(h){if(h.length===0)return null;var d=h[0],$=h.pop();if($!==d){h[0]=$;e:for(var S=0,L=h.length,N=L>>>1;S<N;){var D=2*(S+1)-1,C=h[D],U=D+1,ge=h[U];if(0>s(C,$))U<L&&0>s(ge,C)?(h[S]=ge,h[U]=$,S=U):(h[S]=C,h[D]=$,S=D);else if(U<L&&0>s(ge,$))h[S]=ge,h[U]=$,S=U;else break e}}return d}function s(h,d){var $=h.sortIndex-d.sortIndex;return $!==0?$:h.id-d.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,u=l.now();e.unstable_now=function(){return l.now()-u}}var c=[],m=[],i=1,a=null,p=3,f=!1,w=!1,E=!1,I=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(h){for(var d=n(m);d!==null;){if(d.callback===null)r(m);else if(d.startTime<=h)r(m),d.sortIndex=d.expirationTime,t(c,d);else break;d=n(m)}}function b(h){if(E=!1,O(h),!w)if(n(c)!==null)w=!0,y(T);else{var d=n(m);d!==null&&R(b,d.startTime-h)}}function T(h,d){w=!1,E&&(E=!1,A(F),F=-1),f=!0;var $=p;try{for(O(d),a=n(c);a!==null&&(!(a.expirationTime>d)||h&&!X());){var S=a.callback;if(typeof S=="function"){a.callback=null,p=a.priorityLevel;var L=S(a.expirationTime<=d);d=e.unstable_now(),typeof L=="function"?a.callback=L:a===n(c)&&r(c),O(d)}else r(c);a=n(c)}if(a!==null)var N=!0;else{var D=n(m);D!==null&&R(b,D.startTime-d),N=!1}return N}finally{a=null,p=$,f=!1}}var _=!1,P=null,F=-1,V=5,k=-1;function X(){return!(e.unstable_now()-k<V)}function j(){if(P!==null){var h=e.unstable_now();k=h;var d=!0;try{d=P(!0,h)}finally{d?G():(_=!1,P=null)}}else _=!1}var G;if(typeof x=="function")G=function(){x(j)};else if(typeof MessageChannel<"u"){var v=new MessageChannel,g=v.port2;v.port1.onmessage=j,G=function(){g.postMessage(null)}}else G=function(){I(j,0)};function y(h){P=h,_||(_=!0,G())}function R(h,d){F=I(function(){h(e.unstable_now())},d)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(h){h.callback=null},e.unstable_continueExecution=function(){w||f||(w=!0,y(T))},e.unstable_forceFrameRate=function(h){0>h||125<h?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):V=0<h?Math.floor(1e3/h):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(h){switch(p){case 1:case 2:case 3:var d=3;break;default:d=p}var $=p;p=d;try{return h()}finally{p=$}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(h,d){switch(h){case 1:case 2:case 3:case 4:case 5:break;default:h=3}var $=p;p=h;try{return d()}finally{p=$}},e.unstable_scheduleCallback=function(h,d,$){var S=e.unstable_now();switch(typeof $=="object"&&$!==null?($=$.delay,$=typeof $=="number"&&0<$?S+$:S):$=S,h){case 1:var L=-1;break;case 2:L=250;break;case 5:L=1073741823;break;case 4:L=1e4;break;default:L=5e3}return L=$+L,h={id:i++,callback:d,priorityLevel:h,startTime:$,expirationTime:L,sortIndex:-1},$>S?(h.sortIndex=$,t(m,h),n(c)===null&&h===n(m)&&(E?(A(F),F=-1):E=!0,R(b,$-S))):(h.sortIndex=L,t(c,h),w||f||(w=!0,y(T))),h},e.unstable_shouldYield=X,e.unstable_wrapCallback=function(h){var d=p;return function(){var $=p;p=d;try{return h.apply(this,arguments)}finally{p=$}}}})(Xt);Mt.exports=Xt;var Ki=Mt.exports,ht=function(){return ht=Object.assign||function(t){for(var n,r=1,s=arguments.length;r<s;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},ht.apply(this,arguments)};function Zi(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}function Ji(e,t,n){if(n||arguments.length===2)for(var r=0,s=t.length,o;r<s;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Qi=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__},an=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},oe=new WeakMap,ve=new WeakMap,$e={},Ge=0,Ut=function(e){return e&&(e.host||Ut(e.parentNode))},fn=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ut(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},un=function(e,t,n,r){var s=fn(t,Array.isArray(e)?e:[e]);$e[n]||($e[n]=new WeakMap);var o=$e[n],l=[],u=new Set,c=new Set(s),m=function(a){!a||u.has(a)||(u.add(a),m(a.parentNode))};s.forEach(m);var i=function(a){!a||c.has(a)||Array.prototype.forEach.call(a.children,function(p){if(u.has(p))i(p);else try{var f=p.getAttribute(r),w=f!==null&&f!=="false",E=(oe.get(p)||0)+1,I=(o.get(p)||0)+1;oe.set(p,E),o.set(p,I),l.push(p),E===1&&w&&ve.set(p,!0),I===1&&p.setAttribute(n,"true"),w||p.setAttribute(r,"true")}catch(A){console.error("aria-hidden: cannot operate on ",p,A)}})};return i(t),u.clear(),Ge++,function(){l.forEach(function(a){var p=oe.get(a)-1,f=o.get(a)-1;oe.set(a,p),o.set(a,f),p||(ve.has(a)||a.removeAttribute(r),ve.delete(a)),f||a.removeAttribute(n)}),Ge--,Ge||(oe=new WeakMap,oe=new WeakMap,ve=new WeakMap,$e={})}},eo=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=an(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live], script"))),un(r,s,n,"aria-hidden")):function(){return null}};const hn=["top","right","bottom","left"],re=Math.min,H=Math.max,Se=Math.round,we=Math.floor,J=e=>({x:e,y:e}),mn={left:"right",right:"left",bottom:"top",top:"bottom"},pn={start:"end",end:"start"};function qe(e,t,n){return H(e,re(t,n))}function te(e,t){return typeof e=="function"?e(t):e}function ne(e){return e.split("-")[0]}function ae(e){return e.split("-")[1]}function Je(e){return e==="x"?"y":"x"}function Qe(e){return e==="y"?"height":"width"}const dn=new Set(["top","bottom"]);function Z(e){return dn.has(ne(e))?"y":"x"}function et(e){return Je(Z(e))}function En(e,t,n){n===void 0&&(n=!1);const r=ae(e),s=et(e),o=Qe(s);let l=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=xe(l)),[l,xe(l)]}function gn(e){const t=xe(e);return[Ye(e),t,Ye(t)]}function Ye(e){return e.replace(/start|end/g,t=>pn[t])}const mt=["left","right"],pt=["right","left"],vn=["top","bottom"],$n=["bottom","top"];function wn(e,t,n){switch(e){case"top":case"bottom":return n?t?pt:mt:t?mt:pt;case"left":case"right":return t?vn:$n;default:return[]}}function Rn(e,t,n,r){const s=ae(e);let o=wn(ne(e),n==="start",r);return s&&(o=o.map(l=>l+"-"+s),t&&(o=o.concat(o.map(Ye)))),o}function xe(e){return e.replace(/left|right|bottom|top/g,t=>mn[t])}function yn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ht(e){return typeof e!="number"?yn(e):{top:e,right:e,bottom:e,left:e}}function be(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function dt(e,t,n){let{reference:r,floating:s}=e;const o=Z(t),l=et(t),u=Qe(l),c=ne(t),m=o==="y",i=r.x+r.width/2-s.width/2,a=r.y+r.height/2-s.height/2,p=r[u]/2-s[u]/2;let f;switch(c){case"top":f={x:i,y:r.y-s.height};break;case"bottom":f={x:i,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:a};break;case"left":f={x:r.x-s.width,y:a};break;default:f={x:r.x,y:r.y}}switch(ae(t)){case"start":f[l]-=p*(n&&m?-1:1);break;case"end":f[l]+=p*(n&&m?-1:1);break}return f}const An=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:l}=n,u=o.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(t));let m=await l.getElementRects({reference:e,floating:t,strategy:s}),{x:i,y:a}=dt(m,r,c),p=r,f={},w=0;for(let E=0;E<u.length;E++){const{name:I,fn:A}=u[E],{x,y:O,data:b,reset:T}=await A({x:i,y:a,initialPlacement:r,placement:p,strategy:s,middlewareData:f,rects:m,platform:l,elements:{reference:e,floating:t}});i=x??i,a=O??a,f={...f,[I]:{...f[I],...b}},T&&w<=50&&(w++,typeof T=="object"&&(T.placement&&(p=T.placement),T.rects&&(m=T.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:s}):T.rects),{x:i,y:a}=dt(m,p,c)),E=-1)}return{x:i,y:a,placement:p,strategy:s,middlewareData:f}};async function me(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:l,elements:u,strategy:c}=e,{boundary:m="clippingAncestors",rootBoundary:i="viewport",elementContext:a="floating",altBoundary:p=!1,padding:f=0}=te(t,e),w=Ht(f),I=u[p?a==="floating"?"reference":"floating":a],A=be(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(I)))==null||n?I:I.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(u.floating)),boundary:m,rootBoundary:i,strategy:c})),x=a==="floating"?{x:r,y:s,width:l.floating.width,height:l.floating.height}:l.reference,O=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u.floating)),b=await(o.isElement==null?void 0:o.isElement(O))?await(o.getScale==null?void 0:o.getScale(O))||{x:1,y:1}:{x:1,y:1},T=be(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:x,offsetParent:O,strategy:c}):x);return{top:(A.top-T.top+w.top)/b.y,bottom:(T.bottom-A.bottom+w.bottom)/b.y,left:(A.left-T.left+w.left)/b.x,right:(T.right-A.right+w.right)/b.x}}const On=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:l,elements:u,middlewareData:c}=t,{element:m,padding:i=0}=te(e,t)||{};if(m==null)return{};const a=Ht(i),p={x:n,y:r},f=et(s),w=Qe(f),E=await l.getDimensions(m),I=f==="y",A=I?"top":"left",x=I?"bottom":"right",O=I?"clientHeight":"clientWidth",b=o.reference[w]+o.reference[f]-p[f]-o.floating[w],T=p[f]-o.reference[f],_=await(l.getOffsetParent==null?void 0:l.getOffsetParent(m));let P=_?_[O]:0;(!P||!await(l.isElement==null?void 0:l.isElement(_)))&&(P=u.floating[O]||o.floating[w]);const F=b/2-T/2,V=P/2-E[w]/2-1,k=re(a[A],V),X=re(a[x],V),j=k,G=P-E[w]-X,v=P/2-E[w]/2+F,g=qe(j,v,G),y=!c.arrow&&ae(s)!=null&&v!==g&&o.reference[w]/2-(v<j?k:X)-E[w]/2<0,R=y?v<j?v-j:v-G:0;return{[f]:p[f]+R,data:{[f]:g,centerOffset:v-g-R,...y&&{alignmentOffset:R}},reset:y}}}),Ln=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:l,initialPlacement:u,platform:c,elements:m}=t,{mainAxis:i=!0,crossAxis:a=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:E=!0,...I}=te(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const A=ne(s),x=Z(u),O=ne(u)===u,b=await(c.isRTL==null?void 0:c.isRTL(m.floating)),T=p||(O||!E?[xe(u)]:gn(u)),_=w!=="none";!p&&_&&T.push(...Rn(u,E,w,b));const P=[u,...T],F=await me(t,I),V=[];let k=((r=o.flip)==null?void 0:r.overflows)||[];if(i&&V.push(F[A]),a){const v=En(s,l,b);V.push(F[v[0]],F[v[1]])}if(k=[...k,{placement:s,overflows:V}],!V.every(v=>v<=0)){var X,j;const v=(((X=o.flip)==null?void 0:X.index)||0)+1,g=P[v];if(g&&(!(a==="alignment"?x!==Z(g):!1)||k.every(h=>Z(h.placement)===x?h.overflows[0]>0:!0)))return{data:{index:v,overflows:k},reset:{placement:g}};let y=(j=k.filter(R=>R.overflows[0]<=0).sort((R,h)=>R.overflows[1]-h.overflows[1])[0])==null?void 0:j.placement;if(!y)switch(f){case"bestFit":{var G;const R=(G=k.filter(h=>{if(_){const d=Z(h.placement);return d===x||d==="y"}return!0}).map(h=>[h.placement,h.overflows.filter(d=>d>0).reduce((d,$)=>d+$,0)]).sort((h,d)=>h[1]-d[1])[0])==null?void 0:G[0];R&&(y=R);break}case"initialPlacement":y=u;break}if(s!==y)return{reset:{placement:y}}}return{}}}};function Et(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gt(e){return hn.some(t=>e[t]>=0)}const In=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=te(e,t);switch(r){case"referenceHidden":{const o=await me(t,{...s,elementContext:"reference"}),l=Et(o,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:gt(l)}}}case"escaped":{const o=await me(t,{...s,altBoundary:!0}),l=Et(o,n.floating);return{data:{escapedOffsets:l,escaped:gt(l)}}}default:return{}}}}},Wt=new Set(["left","top"]);async function Sn(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),l=ne(n),u=ae(n),c=Z(n)==="y",m=Wt.has(l)?-1:1,i=o&&c?-1:1,a=te(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:w}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return u&&typeof w=="number"&&(f=u==="end"?w*-1:w),c?{x:f*i,y:p*m}:{x:p*m,y:f*i}}const xn=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:l,middlewareData:u}=t,c=await Sn(t,e);return l===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:o+c.y,data:{...c,placement:l}}}}},bn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:I=>{let{x:A,y:x}=I;return{x:A,y:x}}},...c}=te(e,t),m={x:n,y:r},i=await me(t,c),a=Z(ne(s)),p=Je(a);let f=m[p],w=m[a];if(o){const I=p==="y"?"top":"left",A=p==="y"?"bottom":"right",x=f+i[I],O=f-i[A];f=qe(x,f,O)}if(l){const I=a==="y"?"top":"left",A=a==="y"?"bottom":"right",x=w+i[I],O=w-i[A];w=qe(x,w,O)}const E=u.fn({...t,[p]:f,[a]:w});return{...E,data:{x:E.x-n,y:E.y-r,enabled:{[p]:o,[a]:l}}}}}},Tn=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:o,middlewareData:l}=t,{offset:u=0,mainAxis:c=!0,crossAxis:m=!0}=te(e,t),i={x:n,y:r},a=Z(s),p=Je(a);let f=i[p],w=i[a];const E=te(u,t),I=typeof E=="number"?{mainAxis:E,crossAxis:0}:{mainAxis:0,crossAxis:0,...E};if(c){const O=p==="y"?"height":"width",b=o.reference[p]-o.floating[O]+I.mainAxis,T=o.reference[p]+o.reference[O]-I.mainAxis;f<b?f=b:f>T&&(f=T)}if(m){var A,x;const O=p==="y"?"width":"height",b=Wt.has(ne(s)),T=o.reference[a]-o.floating[O]+(b&&((A=l.offset)==null?void 0:A[a])||0)+(b?0:I.crossAxis),_=o.reference[a]+o.reference[O]+(b?0:((x=l.offset)==null?void 0:x[a])||0)-(b?I.crossAxis:0);w<T?w=T:w>_&&(w=_)}return{[p]:f,[a]:w}}}},Nn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:l,elements:u}=t,{apply:c=()=>{},...m}=te(e,t),i=await me(t,m),a=ne(s),p=ae(s),f=Z(s)==="y",{width:w,height:E}=o.floating;let I,A;a==="top"||a==="bottom"?(I=a,A=p===(await(l.isRTL==null?void 0:l.isRTL(u.floating))?"start":"end")?"left":"right"):(A=a,I=p==="end"?"top":"bottom");const x=E-i.top-i.bottom,O=w-i.left-i.right,b=re(E-i[I],x),T=re(w-i[A],O),_=!t.middlewareData.shift;let P=b,F=T;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(F=O),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=x),_&&!p){const k=H(i.left,0),X=H(i.right,0),j=H(i.top,0),G=H(i.bottom,0);f?F=w-2*(k!==0||X!==0?k+X:H(i.left,i.right)):P=E-2*(j!==0||G!==0?j+G:H(i.top,i.bottom))}await c({...t,availableWidth:F,availableHeight:P});const V=await l.getDimensions(u.floating);return w!==V.width||E!==V.height?{reset:{rects:!0}}:{}}}};function Te(){return typeof window<"u"}function fe(e){return Bt(e)?(e.nodeName||"").toLowerCase():"#document"}function W(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ee(e){var t;return(t=(Bt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Bt(e){return Te()?e instanceof Node||e instanceof W(e).Node:!1}function B(e){return Te()?e instanceof Element||e instanceof W(e).Element:!1}function Q(e){return Te()?e instanceof HTMLElement||e instanceof W(e).HTMLElement:!1}function vt(e){return!Te()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof W(e).ShadowRoot}const Cn=new Set(["inline","contents"]);function de(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=z(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Cn.has(s)}const Pn=new Set(["table","td","th"]);function _n(e){return Pn.has(fe(e))}const Dn=[":popover-open",":modal"];function Ne(e){return Dn.some(t=>{try{return e.matches(t)}catch{return!1}})}const Fn=["transform","translate","scale","rotate","perspective"],kn=["transform","translate","scale","rotate","perspective","filter"],jn=["paint","layout","strict","content"];function tt(e){const t=nt(),n=B(e)?z(e):e;return Fn.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||kn.some(r=>(n.willChange||"").includes(r))||jn.some(r=>(n.contain||"").includes(r))}function Gn(e){let t=se(e);for(;Q(t)&&!le(t);){if(tt(t))return t;if(Ne(t))return null;t=se(t)}return null}function nt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Vn=new Set(["html","body","#document"]);function le(e){return Vn.has(fe(e))}function z(e){return W(e).getComputedStyle(e)}function Ce(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function se(e){if(fe(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vt(e)&&e.host||ee(e);return vt(t)?t.host:t}function zt(e){const t=se(e);return le(t)?e.ownerDocument?e.ownerDocument.body:e.body:Q(t)&&de(t)?t:zt(t)}function pe(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=zt(e),o=s===((r=e.ownerDocument)==null?void 0:r.body),l=W(s);if(o){const u=Ke(l);return t.concat(l,l.visualViewport||[],de(s)?s:[],u&&n?pe(u):[])}return t.concat(s,pe(s,[],n))}function Ke(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qt(e){const t=z(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=Q(e),o=s?e.offsetWidth:n,l=s?e.offsetHeight:r,u=Se(n)!==o||Se(r)!==l;return u&&(n=o,r=l),{width:n,height:r,$:u}}function rt(e){return B(e)?e:e.contextElement}function ce(e){const t=rt(e);if(!Q(t))return J(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:o}=qt(t);let l=(o?Se(n.width):n.width)/r,u=(o?Se(n.height):n.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!u||!Number.isFinite(u))&&(u=1),{x:l,y:u}}const Mn=J(0);function Yt(e){const t=W(e);return!nt()||!t.visualViewport?Mn:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xn(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==W(e)?!1:t}function ie(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),o=rt(e);let l=J(1);t&&(r?B(r)&&(l=ce(r)):l=ce(e));const u=Xn(o,n,r)?Yt(o):J(0);let c=(s.left+u.x)/l.x,m=(s.top+u.y)/l.y,i=s.width/l.x,a=s.height/l.y;if(o){const p=W(o),f=r&&B(r)?W(r):r;let w=p,E=Ke(w);for(;E&&r&&f!==w;){const I=ce(E),A=E.getBoundingClientRect(),x=z(E),O=A.left+(E.clientLeft+parseFloat(x.paddingLeft))*I.x,b=A.top+(E.clientTop+parseFloat(x.paddingTop))*I.y;c*=I.x,m*=I.y,i*=I.x,a*=I.y,c+=O,m+=b,w=W(E),E=Ke(w)}}return be({width:i,height:a,x:c,y:m})}function Pe(e,t){const n=Ce(e).scrollLeft;return t?t.left+n:ie(ee(e)).left+n}function Kt(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Pe(e,n),s=n.top+t.scrollTop;return{x:r,y:s}}function Un(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const o=s==="fixed",l=ee(r),u=t?Ne(t.floating):!1;if(r===l||u&&o)return n;let c={scrollLeft:0,scrollTop:0},m=J(1);const i=J(0),a=Q(r);if((a||!a&&!o)&&((fe(r)!=="body"||de(l))&&(c=Ce(r)),Q(r))){const f=ie(r);m=ce(r),i.x=f.x+r.clientLeft,i.y=f.y+r.clientTop}const p=l&&!a&&!o?Kt(l,c):J(0);return{width:n.width*m.x,height:n.height*m.y,x:n.x*m.x-c.scrollLeft*m.x+i.x+p.x,y:n.y*m.y-c.scrollTop*m.y+i.y+p.y}}function Hn(e){return Array.from(e.getClientRects())}function Wn(e){const t=ee(e),n=Ce(e),r=e.ownerDocument.body,s=H(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=H(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Pe(e);const u=-n.scrollTop;return z(r).direction==="rtl"&&(l+=H(t.clientWidth,r.clientWidth)-s),{width:s,height:o,x:l,y:u}}const $t=25;function Bn(e,t){const n=W(e),r=ee(e),s=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,u=0,c=0;if(s){o=s.width,l=s.height;const i=nt();(!i||i&&t==="fixed")&&(u=s.offsetLeft,c=s.offsetTop)}const m=Pe(r);if(m<=0){const i=r.ownerDocument,a=i.body,p=getComputedStyle(a),f=i.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,w=Math.abs(r.clientWidth-a.clientWidth-f);w<=$t&&(o-=w)}else m<=$t&&(o+=m);return{width:o,height:l,x:u,y:c}}const zn=new Set(["absolute","fixed"]);function qn(e,t){const n=ie(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,o=Q(e)?ce(e):J(1),l=e.clientWidth*o.x,u=e.clientHeight*o.y,c=s*o.x,m=r*o.y;return{width:l,height:u,x:c,y:m}}function wt(e,t,n){let r;if(t==="viewport")r=Bn(e,n);else if(t==="document")r=Wn(ee(e));else if(B(t))r=qn(t,n);else{const s=Yt(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return be(r)}function Zt(e,t){const n=se(e);return n===t||!B(n)||le(n)?!1:z(n).position==="fixed"||Zt(n,t)}function Yn(e,t){const n=t.get(e);if(n)return n;let r=pe(e,[],!1).filter(u=>B(u)&&fe(u)!=="body"),s=null;const o=z(e).position==="fixed";let l=o?se(e):e;for(;B(l)&&!le(l);){const u=z(l),c=tt(l);!c&&u.position==="fixed"&&(s=null),(o?!c&&!s:!c&&u.position==="static"&&!!s&&zn.has(s.position)||de(l)&&!c&&Zt(e,l))?r=r.filter(i=>i!==l):s=u,l=se(l)}return t.set(e,r),r}function Kn(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const l=[...n==="clippingAncestors"?Ne(t)?[]:Yn(t,this._c):[].concat(n),r],u=l[0],c=l.reduce((m,i)=>{const a=wt(t,i,s);return m.top=H(a.top,m.top),m.right=re(a.right,m.right),m.bottom=re(a.bottom,m.bottom),m.left=H(a.left,m.left),m},wt(t,u,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Zn(e){const{width:t,height:n}=qt(e);return{width:t,height:n}}function Jn(e,t,n){const r=Q(t),s=ee(t),o=n==="fixed",l=ie(e,!0,o,t);let u={scrollLeft:0,scrollTop:0};const c=J(0);function m(){c.x=Pe(s)}if(r||!r&&!o)if((fe(t)!=="body"||de(s))&&(u=Ce(t)),r){const f=ie(t,!0,o,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else s&&m();o&&!r&&s&&m();const i=s&&!r&&!o?Kt(s,u):J(0),a=l.left+u.scrollLeft-c.x-i.x,p=l.top+u.scrollTop-c.y-i.y;return{x:a,y:p,width:l.width,height:l.height}}function Ve(e){return z(e).position==="static"}function Rt(e,t){if(!Q(e)||z(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ee(e)===n&&(n=n.ownerDocument.body),n}function Jt(e,t){const n=W(e);if(Ne(e))return n;if(!Q(e)){let s=se(e);for(;s&&!le(s);){if(B(s)&&!Ve(s))return s;s=se(s)}return n}let r=Rt(e,t);for(;r&&_n(r)&&Ve(r);)r=Rt(r,t);return r&&le(r)&&Ve(r)&&!tt(r)?n:r||Gn(e)||n}const Qn=async function(e){const t=this.getOffsetParent||Jt,n=this.getDimensions,r=await n(e.floating);return{reference:Jn(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function er(e){return z(e).direction==="rtl"}const tr={convertOffsetParentRelativeRectToViewportRelativeRect:Un,getDocumentElement:ee,getClippingRect:Kn,getOffsetParent:Jt,getElementRects:Qn,getClientRects:Hn,getDimensions:Zn,getScale:ce,isElement:B,isRTL:er};function Qt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function nr(e,t){let n=null,r;const s=ee(e);function o(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function l(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),o();const m=e.getBoundingClientRect(),{left:i,top:a,width:p,height:f}=m;if(u||t(),!p||!f)return;const w=we(a),E=we(s.clientWidth-(i+p)),I=we(s.clientHeight-(a+f)),A=we(i),O={rootMargin:-w+"px "+-E+"px "+-I+"px "+-A+"px",threshold:H(0,re(1,c))||1};let b=!0;function T(_){const P=_[0].intersectionRatio;if(P!==c){if(!b)return l();P?l(!1,P):r=setTimeout(()=>{l(!1,1e-7)},1e3)}P===1&&!Qt(m,e.getBoundingClientRect())&&l(),b=!1}try{n=new IntersectionObserver(T,{...O,root:s.ownerDocument})}catch{n=new IntersectionObserver(T,O)}n.observe(e)}return l(!0),o}function to(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,m=rt(e),i=s||o?[...m?pe(m):[],...pe(t)]:[];i.forEach(A=>{s&&A.addEventListener("scroll",n,{passive:!0}),o&&A.addEventListener("resize",n)});const a=m&&u?nr(m,n):null;let p=-1,f=null;l&&(f=new ResizeObserver(A=>{let[x]=A;x&&x.target===m&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var O;(O=f)==null||O.observe(t)})),n()}),m&&!c&&f.observe(m),f.observe(t));let w,E=c?ie(e):null;c&&I();function I(){const A=ie(e);E&&!Qt(E,A)&&n(),E=A,w=requestAnimationFrame(I)}return n(),()=>{var A;i.forEach(x=>{s&&x.removeEventListener("scroll",n),o&&x.removeEventListener("resize",n)}),a==null||a(),(A=f)==null||A.disconnect(),f=null,c&&cancelAnimationFrame(w)}}const no=xn,ro=bn,so=Ln,io=Nn,oo=In,co=On,lo=Tn,ao=(e,t,n)=>{const r=new Map,s={platform:tr,...n},o={...s.platform,_c:r};return An(e,t,{...s,platform:o})};var Ze={exports:{}};const rr="2.0.0",en=256,sr=Number.MAX_SAFE_INTEGER||9007199254740991,ir=16,or=en-6,cr=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var _e={MAX_LENGTH:en,MAX_SAFE_COMPONENT_LENGTH:ir,MAX_SAFE_BUILD_LENGTH:or,MAX_SAFE_INTEGER:sr,RELEASE_TYPES:cr,SEMVER_SPEC_VERSION:rr,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Me={};const lr=typeof process=="object"&&Me&&Me.NODE_DEBUG&&/\bsemver\b/i.test(Me.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var De=lr;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:s}=_e,o=De;t=e.exports={};const l=t.re=[],u=t.safeRe=[],c=t.src=[],m=t.safeSrc=[],i=t.t={};let a=0;const p="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",s],[p,r]],w=I=>{for(const[A,x]of f)I=I.split(`${A}*`).join(`${A}{0,${x}}`).split(`${A}+`).join(`${A}{1,${x}}`);return I},E=(I,A,x)=>{const O=w(A),b=a++;o(I,b,A),i[I]=b,c[b]=A,m[b]=O,l[b]=new RegExp(A,x?"g":void 0),u[b]=new RegExp(O,x?"g":void 0)};E("NUMERICIDENTIFIER","0|[1-9]\\d*"),E("NUMERICIDENTIFIERLOOSE","\\d+"),E("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),E("MAINVERSION",`(${c[i.NUMERICIDENTIFIER]})\\.(${c[i.NUMERICIDENTIFIER]})\\.(${c[i.NUMERICIDENTIFIER]})`),E("MAINVERSIONLOOSE",`(${c[i.NUMERICIDENTIFIERLOOSE]})\\.(${c[i.NUMERICIDENTIFIERLOOSE]})\\.(${c[i.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASEIDENTIFIER",`(?:${c[i.NONNUMERICIDENTIFIER]}|${c[i.NUMERICIDENTIFIER]})`),E("PRERELEASEIDENTIFIERLOOSE",`(?:${c[i.NONNUMERICIDENTIFIER]}|${c[i.NUMERICIDENTIFIERLOOSE]})`),E("PRERELEASE",`(?:-(${c[i.PRERELEASEIDENTIFIER]}(?:\\.${c[i.PRERELEASEIDENTIFIER]})*))`),E("PRERELEASELOOSE",`(?:-?(${c[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[i.PRERELEASEIDENTIFIERLOOSE]})*))`),E("BUILDIDENTIFIER",`${p}+`),E("BUILD",`(?:\\+(${c[i.BUILDIDENTIFIER]}(?:\\.${c[i.BUILDIDENTIFIER]})*))`),E("FULLPLAIN",`v?${c[i.MAINVERSION]}${c[i.PRERELEASE]}?${c[i.BUILD]}?`),E("FULL",`^${c[i.FULLPLAIN]}$`),E("LOOSEPLAIN",`[v=\\s]*${c[i.MAINVERSIONLOOSE]}${c[i.PRERELEASELOOSE]}?${c[i.BUILD]}?`),E("LOOSE",`^${c[i.LOOSEPLAIN]}$`),E("GTLT","((?:<|>)?=?)"),E("XRANGEIDENTIFIERLOOSE",`${c[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),E("XRANGEIDENTIFIER",`${c[i.NUMERICIDENTIFIER]}|x|X|\\*`),E("XRANGEPLAIN",`[v=\\s]*(${c[i.XRANGEIDENTIFIER]})(?:\\.(${c[i.XRANGEIDENTIFIER]})(?:\\.(${c[i.XRANGEIDENTIFIER]})(?:${c[i.PRERELEASE]})?${c[i.BUILD]}?)?)?`),E("XRANGEPLAINLOOSE",`[v=\\s]*(${c[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[i.XRANGEIDENTIFIERLOOSE]})(?:${c[i.PRERELEASELOOSE]})?${c[i.BUILD]}?)?)?`),E("XRANGE",`^${c[i.GTLT]}\\s*${c[i.XRANGEPLAIN]}$`),E("XRANGELOOSE",`^${c[i.GTLT]}\\s*${c[i.XRANGEPLAINLOOSE]}$`),E("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),E("COERCE",`${c[i.COERCEPLAIN]}(?:$|[^\\d])`),E("COERCEFULL",c[i.COERCEPLAIN]+`(?:${c[i.PRERELEASE]})?(?:${c[i.BUILD]})?(?:$|[^\\d])`),E("COERCERTL",c[i.COERCE],!0),E("COERCERTLFULL",c[i.COERCEFULL],!0),E("LONETILDE","(?:~>?)"),E("TILDETRIM",`(\\s*)${c[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",E("TILDE",`^${c[i.LONETILDE]}${c[i.XRANGEPLAIN]}$`),E("TILDELOOSE",`^${c[i.LONETILDE]}${c[i.XRANGEPLAINLOOSE]}$`),E("LONECARET","(?:\\^)"),E("CARETTRIM",`(\\s*)${c[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",E("CARET",`^${c[i.LONECARET]}${c[i.XRANGEPLAIN]}$`),E("CARETLOOSE",`^${c[i.LONECARET]}${c[i.XRANGEPLAINLOOSE]}$`),E("COMPARATORLOOSE",`^${c[i.GTLT]}\\s*(${c[i.LOOSEPLAIN]})$|^$`),E("COMPARATOR",`^${c[i.GTLT]}\\s*(${c[i.FULLPLAIN]})$|^$`),E("COMPARATORTRIM",`(\\s*)${c[i.GTLT]}\\s*(${c[i.LOOSEPLAIN]}|${c[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",E("HYPHENRANGE",`^\\s*(${c[i.XRANGEPLAIN]})\\s+-\\s+(${c[i.XRANGEPLAIN]})\\s*$`),E("HYPHENRANGELOOSE",`^\\s*(${c[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[i.XRANGEPLAINLOOSE]})\\s*$`),E("STAR","(<|>)?=?\\s*\\*"),E("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),E("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Ze,Ze.exports);var Ee=Ze.exports;const ar=Object.freeze({loose:!0}),fr=Object.freeze({}),ur=e=>e?typeof e!="object"?ar:e:fr;var st=ur;const yt=/^[0-9]+$/,tn=(e,t)=>{if(typeof e=="number"&&typeof t=="number")return e===t?0:e<t?-1:1;const n=yt.test(e),r=yt.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},hr=(e,t)=>tn(t,e);var nn={compareIdentifiers:tn,rcompareIdentifiers:hr};const Re=De,{MAX_LENGTH:At,MAX_SAFE_INTEGER:ye}=_e,{safeRe:Ae,t:Oe}=Ee,mr=st,{compareIdentifiers:Xe}=nn;let pr=class K{constructor(t,n){if(n=mr(n),t instanceof K){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>At)throw new TypeError(`version is longer than ${At} characters`);Re("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Ae[Oe.LOOSE]:Ae[Oe.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>ye||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ye||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ye||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<ye)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Re("SemVer.compare",this.version,this.options,t),!(t instanceof K)){if(typeof t=="string"&&t===this.version)return 0;t=new K(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof K||(t=new K(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof K||(t=new K(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(Re("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Xe(r,s)}while(++n)}compareBuild(t){t instanceof K||(t=new K(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(Re("build compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return Xe(r,s)}while(++n)}inc(t,n,r){if(t.startsWith("pre")){if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(n){const s=`-${n}`.match(this.options.loose?Ae[Oe.PRERELEASELOOSE]:Ae[Oe.PRERELEASE]);if(!s||s[1]!==n)throw new Error(`invalid identifier: ${n}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),Xe(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var M=pr;const Ot=M,dr=(e,t,n=!1)=>{if(e instanceof Ot)return e;try{return new Ot(e,t)}catch(r){if(!n)return null;throw r}};var ue=dr;const Er=ue,gr=(e,t)=>{const n=Er(e,t);return n?n.version:null};var vr=gr;const $r=ue,wr=(e,t)=>{const n=$r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var Rr=wr;const Lt=M,yr=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new Lt(e instanceof Lt?e.version:e,n).inc(t,r,s).version}catch{return null}};var Ar=yr;const It=ue,Or=(e,t)=>{const n=It(e,null,!0),r=It(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,l=o?n:r,u=o?r:n,c=!!l.prerelease.length;if(!!u.prerelease.length&&!c){if(!u.patch&&!u.minor)return"major";if(u.compareMain(l)===0)return u.minor&&!u.patch?"minor":"patch"}const i=c?"pre":"";return n.major!==r.major?i+"major":n.minor!==r.minor?i+"minor":n.patch!==r.patch?i+"patch":"prerelease"};var Lr=Or;const Ir=M,Sr=(e,t)=>new Ir(e,t).major;var xr=Sr;const br=M,Tr=(e,t)=>new br(e,t).minor;var Nr=Tr;const Cr=M,Pr=(e,t)=>new Cr(e,t).patch;var _r=Pr;const Dr=ue,Fr=(e,t)=>{const n=Dr(e,t);return n&&n.prerelease.length?n.prerelease:null};var kr=Fr;const St=M,jr=(e,t,n)=>new St(e,n).compare(new St(t,n));var q=jr;const Gr=q,Vr=(e,t,n)=>Gr(t,e,n);var Mr=Vr;const Xr=q,Ur=(e,t)=>Xr(e,t,!0);var Hr=Ur;const xt=M,Wr=(e,t,n)=>{const r=new xt(e,n),s=new xt(t,n);return r.compare(s)||r.compareBuild(s)};var it=Wr;const Br=it,zr=(e,t)=>e.sort((n,r)=>Br(n,r,t));var qr=zr;const Yr=it,Kr=(e,t)=>e.sort((n,r)=>Yr(r,n,t));var Zr=Kr;const Jr=q,Qr=(e,t,n)=>Jr(e,t,n)>0;var Fe=Qr;const es=q,ts=(e,t,n)=>es(e,t,n)<0;var ot=ts;const ns=q,rs=(e,t,n)=>ns(e,t,n)===0;var rn=rs;const ss=q,is=(e,t,n)=>ss(e,t,n)!==0;var sn=is;const os=q,cs=(e,t,n)=>os(e,t,n)>=0;var ct=cs;const ls=q,as=(e,t,n)=>ls(e,t,n)<=0;var lt=as;const fs=rn,us=sn,hs=Fe,ms=ct,ps=ot,ds=lt,Es=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return fs(e,n,r);case"!=":return us(e,n,r);case">":return hs(e,n,r);case">=":return ms(e,n,r);case"<":return ps(e,n,r);case"<=":return ds(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var on=Es;const gs=M,vs=ue,{safeRe:Le,t:Ie}=Ee,$s=(e,t)=>{if(e instanceof gs)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(t.includePrerelease?Le[Ie.COERCEFULL]:Le[Ie.COERCE]);else{const c=t.includePrerelease?Le[Ie.COERCERTLFULL]:Le[Ie.COERCERTL];let m;for(;(m=c.exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||m.index+m[0].length!==n.index+n[0].length)&&(n=m),c.lastIndex=m.index+m[1].length+m[2].length;c.lastIndex=-1}if(n===null)return null;const r=n[2],s=n[3]||"0",o=n[4]||"0",l=t.includePrerelease&&n[5]?`-${n[5]}`:"",u=t.includePrerelease&&n[6]?`+${n[6]}`:"";return vs(`${r}.${s}.${o}${l}${u}`,t)};var ws=$s;class Rs{constructor(){this.max=1e3,this.map=new Map}get(t){const n=this.map.get(t);if(n!==void 0)return this.map.delete(t),this.map.set(t,n),n}delete(t){return this.map.delete(t)}set(t,n){if(!this.delete(t)&&n!==void 0){if(this.map.size>=this.max){const s=this.map.keys().next().value;this.delete(s)}this.map.set(t,n)}return this}}var ys=Rs,Ue,bt;function Y(){if(bt)return Ue;bt=1;const e=/\s+/g;class t{constructor(g,y){if(y=s(y),g instanceof t)return g.loose===!!y.loose&&g.includePrerelease===!!y.includePrerelease?g:new t(g.raw,y);if(g instanceof o)return this.raw=g.value,this.set=[[g]],this.formatted=void 0,this;if(this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease,this.raw=g.trim().replace(e," "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter(h=>!E(h[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const h of this.set)if(h.length===1&&I(h[0])){this.set=[h];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let g=0;g<this.set.length;g++){g>0&&(this.formatted+="||");const y=this.set[g];for(let R=0;R<y.length;R++)R>0&&(this.formatted+=" "),this.formatted+=y[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(g){const R=((this.options.includePrerelease&&f)|(this.options.loose&&w))+":"+g,h=r.get(R);if(h)return h;const d=this.options.loose,$=d?c[m.HYPHENRANGELOOSE]:c[m.HYPHENRANGE];g=g.replace($,j(this.options.includePrerelease)),l("hyphen replace",g),g=g.replace(c[m.COMPARATORTRIM],i),l("comparator trim",g),g=g.replace(c[m.TILDETRIM],a),l("tilde trim",g),g=g.replace(c[m.CARETTRIM],p),l("caret trim",g);let S=g.split(" ").map(C=>x(C,this.options)).join(" ").split(/\s+/).map(C=>X(C,this.options));d&&(S=S.filter(C=>(l("loose invalid filter",C,this.options),!!C.match(c[m.COMPARATORLOOSE])))),l("range list",S);const L=new Map,N=S.map(C=>new o(C,this.options));for(const C of N){if(E(C))return[C];L.set(C.value,C)}L.size>1&&L.has("")&&L.delete("");const D=[...L.values()];return r.set(R,D),D}intersects(g,y){if(!(g instanceof t))throw new TypeError("a Range is required");return this.set.some(R=>A(R,y)&&g.set.some(h=>A(h,y)&&R.every(d=>h.every($=>d.intersects($,y)))))}test(g){if(!g)return!1;if(typeof g=="string")try{g=new u(g,this.options)}catch{return!1}for(let y=0;y<this.set.length;y++)if(G(this.set[y],g,this.options))return!0;return!1}}Ue=t;const n=ys,r=new n,s=st,o=ke(),l=De,u=M,{safeRe:c,t:m,comparatorTrimReplace:i,tildeTrimReplace:a,caretTrimReplace:p}=Ee,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:w}=_e,E=v=>v.value==="<0.0.0-0",I=v=>v.value==="",A=(v,g)=>{let y=!0;const R=v.slice();let h=R.pop();for(;y&&R.length;)y=R.every(d=>h.intersects(d,g)),h=R.pop();return y},x=(v,g)=>(v=v.replace(c[m.BUILD],""),l("comp",v,g),v=_(v,g),l("caret",v),v=b(v,g),l("tildes",v),v=F(v,g),l("xrange",v),v=k(v,g),l("stars",v),v),O=v=>!v||v.toLowerCase()==="x"||v==="*",b=(v,g)=>v.trim().split(/\s+/).map(y=>T(y,g)).join(" "),T=(v,g)=>{const y=g.loose?c[m.TILDELOOSE]:c[m.TILDE];return v.replace(y,(R,h,d,$,S)=>{l("tilde",v,R,h,d,$,S);let L;return O(h)?L="":O(d)?L=`>=${h}.0.0 <${+h+1}.0.0-0`:O($)?L=`>=${h}.${d}.0 <${h}.${+d+1}.0-0`:S?(l("replaceTilde pr",S),L=`>=${h}.${d}.${$}-${S} <${h}.${+d+1}.0-0`):L=`>=${h}.${d}.${$} <${h}.${+d+1}.0-0`,l("tilde return",L),L})},_=(v,g)=>v.trim().split(/\s+/).map(y=>P(y,g)).join(" "),P=(v,g)=>{l("caret",v,g);const y=g.loose?c[m.CARETLOOSE]:c[m.CARET],R=g.includePrerelease?"-0":"";return v.replace(y,(h,d,$,S,L)=>{l("caret",v,h,d,$,S,L);let N;return O(d)?N="":O($)?N=`>=${d}.0.0${R} <${+d+1}.0.0-0`:O(S)?d==="0"?N=`>=${d}.${$}.0${R} <${d}.${+$+1}.0-0`:N=`>=${d}.${$}.0${R} <${+d+1}.0.0-0`:L?(l("replaceCaret pr",L),d==="0"?$==="0"?N=`>=${d}.${$}.${S}-${L} <${d}.${$}.${+S+1}-0`:N=`>=${d}.${$}.${S}-${L} <${d}.${+$+1}.0-0`:N=`>=${d}.${$}.${S}-${L} <${+d+1}.0.0-0`):(l("no pr"),d==="0"?$==="0"?N=`>=${d}.${$}.${S}${R} <${d}.${$}.${+S+1}-0`:N=`>=${d}.${$}.${S}${R} <${d}.${+$+1}.0-0`:N=`>=${d}.${$}.${S} <${+d+1}.0.0-0`),l("caret return",N),N})},F=(v,g)=>(l("replaceXRanges",v,g),v.split(/\s+/).map(y=>V(y,g)).join(" ")),V=(v,g)=>{v=v.trim();const y=g.loose?c[m.XRANGELOOSE]:c[m.XRANGE];return v.replace(y,(R,h,d,$,S,L)=>{l("xRange",v,R,h,d,$,S,L);const N=O(d),D=N||O($),C=D||O(S),U=C;return h==="="&&U&&(h=""),L=g.includePrerelease?"-0":"",N?h===">"||h==="<"?R="<0.0.0-0":R="*":h&&U?(D&&($=0),S=0,h===">"?(h=">=",D?(d=+d+1,$=0,S=0):($=+$+1,S=0)):h==="<="&&(h="<",D?d=+d+1:$=+$+1),h==="<"&&(L="-0"),R=`${h+d}.${$}.${S}${L}`):D?R=`>=${d}.0.0${L} <${+d+1}.0.0-0`:C&&(R=`>=${d}.${$}.0${L} <${d}.${+$+1}.0-0`),l("xRange return",R),R})},k=(v,g)=>(l("replaceStars",v,g),v.trim().replace(c[m.STAR],"")),X=(v,g)=>(l("replaceGTE0",v,g),v.trim().replace(c[g.includePrerelease?m.GTE0PRE:m.GTE0],"")),j=v=>(g,y,R,h,d,$,S,L,N,D,C,U)=>(O(R)?y="":O(h)?y=`>=${R}.0.0${v?"-0":""}`:O(d)?y=`>=${R}.${h}.0${v?"-0":""}`:$?y=`>=${y}`:y=`>=${y}${v?"-0":""}`,O(N)?L="":O(D)?L=`<${+N+1}.0.0-0`:O(C)?L=`<${N}.${+D+1}.0-0`:U?L=`<=${N}.${D}.${C}-${U}`:v?L=`<${N}.${D}.${+C+1}-0`:L=`<=${L}`,`${y} ${L}`.trim()),G=(v,g,y)=>{for(let R=0;R<v.length;R++)if(!v[R].test(g))return!1;if(g.prerelease.length&&!y.includePrerelease){for(let R=0;R<v.length;R++)if(l(v[R].semver),v[R].semver!==o.ANY&&v[R].semver.prerelease.length>0){const h=v[R].semver;if(h.major===g.major&&h.minor===g.minor&&h.patch===g.patch)return!0}return!1}return!0};return Ue}var He,Tt;function ke(){if(Tt)return He;Tt=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(i,a){if(a=n(a),i instanceof t){if(i.loose===!!a.loose)return i;i=i.value}i=i.trim().split(/\s+/).join(" "),l("comparator",i,a),this.options=a,this.loose=!!a.loose,this.parse(i),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(i){const a=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],p=i.match(a);if(!p)throw new TypeError(`Invalid comparator: ${i}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new u(p[2],this.options.loose):this.semver=e}toString(){return this.value}test(i){if(l("Comparator.test",i,this.options.loose),this.semver===e||i===e)return!0;if(typeof i=="string")try{i=new u(i,this.options)}catch{return!1}return o(i,this.operator,this.semver,this.options)}intersects(i,a){if(!(i instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new c(i.value,a).test(this.value):i.operator===""?i.value===""?!0:new c(this.value,a).test(i.semver):(a=n(a),a.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")||!a.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&i.operator.startsWith(">")||this.operator.startsWith("<")&&i.operator.startsWith("<")||this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")||o(this.semver,"<",i.semver,a)&&this.operator.startsWith(">")&&i.operator.startsWith("<")||o(this.semver,">",i.semver,a)&&this.operator.startsWith("<")&&i.operator.startsWith(">")))}}He=t;const n=st,{safeRe:r,t:s}=Ee,o=on,l=De,u=M,c=Y();return He}const As=Y(),Os=(e,t,n)=>{try{t=new As(t,n)}catch{return!1}return t.test(e)};var je=Os;const Ls=Y(),Is=(e,t)=>new Ls(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var Ss=Is;const xs=M,bs=Y(),Ts=(e,t,n)=>{let r=null,s=null,o=null;try{o=new bs(t,n)}catch{return null}return e.forEach(l=>{o.test(l)&&(!r||s.compare(l)===-1)&&(r=l,s=new xs(r,n))}),r};var Ns=Ts;const Cs=M,Ps=Y(),_s=(e,t,n)=>{let r=null,s=null,o=null;try{o=new Ps(t,n)}catch{return null}return e.forEach(l=>{o.test(l)&&(!r||s.compare(l)===1)&&(r=l,s=new Cs(r,n))}),r};var Ds=_s;const We=M,Fs=Y(),Nt=Fe,ks=(e,t)=>{e=new Fs(e,t);let n=new We("0.0.0");if(e.test(n)||(n=new We("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(l=>{const u=new We(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!o||Nt(u,o))&&(o=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),o&&(!n||Nt(n,o))&&(n=o)}return n&&e.test(n)?n:null};var js=ks;const Gs=Y(),Vs=(e,t)=>{try{return new Gs(e,t).range||"*"}catch{return null}};var Ms=Vs;const Xs=M,cn=ke(),{ANY:Us}=cn,Hs=Y(),Ws=je,Ct=Fe,Pt=ot,Bs=lt,zs=ct,qs=(e,t,n,r)=>{e=new Xs(e,r),t=new Hs(t,r);let s,o,l,u,c;switch(n){case">":s=Ct,o=Bs,l=Pt,u=">",c=">=";break;case"<":s=Pt,o=zs,l=Ct,u="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Ws(e,t,r))return!1;for(let m=0;m<t.set.length;++m){const i=t.set[m];let a=null,p=null;if(i.forEach(f=>{f.semver===Us&&(f=new cn(">=0.0.0")),a=a||f,p=p||f,s(f.semver,a.semver,r)?a=f:l(f.semver,p.semver,r)&&(p=f)}),a.operator===u||a.operator===c||(!p.operator||p.operator===u)&&o(e,p.semver))return!1;if(p.operator===c&&l(e,p.semver))return!1}return!0};var at=qs;const Ys=at,Ks=(e,t,n)=>Ys(e,t,">",n);var Zs=Ks;const Js=at,Qs=(e,t,n)=>Js(e,t,"<",n);var ei=Qs;const _t=Y(),ti=(e,t,n)=>(e=new _t(e,n),t=new _t(t,n),e.intersects(t,n));var ni=ti;const ri=je,si=q;var ii=(e,t,n)=>{const r=[];let s=null,o=null;const l=e.sort((i,a)=>si(i,a,n));for(const i of l)ri(i,t,n)?(o=i,s||(s=i)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const u=[];for(const[i,a]of r)i===a?u.push(i):!a&&i===l[0]?u.push("*"):a?i===l[0]?u.push(`<=${a}`):u.push(`${i} - ${a}`):u.push(`>=${i}`);const c=u.join(" || "),m=typeof t.raw=="string"?t.raw:String(t);return c.length<m.length?c:t};const Dt=Y(),ft=ke(),{ANY:Be}=ft,he=je,ut=q,oi=(e,t,n={})=>{if(e===t)return!0;e=new Dt(e,n),t=new Dt(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const l=li(s,o,n);if(r=r||l!==null,l)continue e}if(r)return!1}return!0},ci=[new ft(">=0.0.0-0")],Ft=[new ft(">=0.0.0")],li=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Be){if(t.length===1&&t[0].semver===Be)return!0;n.includePrerelease?e=ci:e=Ft}if(t.length===1&&t[0].semver===Be){if(n.includePrerelease)return!0;t=Ft}const r=new Set;let s,o;for(const f of e)f.operator===">"||f.operator===">="?s=kt(s,f,n):f.operator==="<"||f.operator==="<="?o=jt(o,f,n):r.add(f.semver);if(r.size>1)return null;let l;if(s&&o){if(l=ut(s.semver,o.semver,n),l>0)return null;if(l===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const f of r){if(s&&!he(f,String(s),n)||o&&!he(f,String(o),n))return null;for(const w of t)if(!he(f,String(w),n))return!1;return!0}let u,c,m,i,a=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;a&&a.prerelease.length===1&&o.operator==="<"&&a.prerelease[0]===0&&(a=!1);for(const f of t){if(i=i||f.operator===">"||f.operator===">=",m=m||f.operator==="<"||f.operator==="<=",s){if(p&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===p.major&&f.semver.minor===p.minor&&f.semver.patch===p.patch&&(p=!1),f.operator===">"||f.operator===">="){if(u=kt(s,f,n),u===f&&u!==s)return!1}else if(s.operator===">="&&!he(s.semver,String(f),n))return!1}if(o){if(a&&f.semver.prerelease&&f.semver.prerelease.length&&f.semver.major===a.major&&f.semver.minor===a.minor&&f.semver.patch===a.patch&&(a=!1),f.operator==="<"||f.operator==="<="){if(c=jt(o,f,n),c===f&&c!==o)return!1}else if(o.operator==="<="&&!he(o.semver,String(f),n))return!1}if(!f.operator&&(o||s)&&l!==0)return!1}return!(s&&m&&!o&&l!==0||o&&i&&!s&&l!==0||p||a)},kt=(e,t,n)=>{if(!e)return t;const r=ut(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},jt=(e,t,n)=>{if(!e)return t;const r=ut(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var ai=oi;const ze=Ee,Gt=_e,fi=M,Vt=nn,ui=ue,hi=vr,mi=Rr,pi=Ar,di=Lr,Ei=xr,gi=Nr,vi=_r,$i=kr,wi=q,Ri=Mr,yi=Hr,Ai=it,Oi=qr,Li=Zr,Ii=Fe,Si=ot,xi=rn,bi=sn,Ti=ct,Ni=lt,Ci=on,Pi=ws,_i=ke(),Di=Y(),Fi=je,ki=Ss,ji=Ns,Gi=Ds,Vi=js,Mi=Ms,Xi=at,Ui=Zs,Hi=ei,Wi=ni,Bi=ii,zi=ai;var qi={parse:ui,valid:hi,clean:mi,inc:pi,diff:di,major:Ei,minor:gi,patch:vi,prerelease:$i,compare:wi,rcompare:Ri,compareLoose:yi,compareBuild:Ai,sort:Oi,rsort:Li,gt:Ii,lt:Si,eq:xi,neq:bi,gte:Ti,lte:Ni,cmp:Ci,coerce:Pi,Comparator:_i,Range:Di,satisfies:Fi,toComparators:ki,maxSatisfying:ji,minSatisfying:Gi,minVersion:Vi,validRange:Mi,outside:Xi,gtr:Ui,ltr:Hi,intersects:Wi,simplifyRange:Bi,subset:zi,SemVer:fi,re:ze.re,src:ze.src,tokens:ze.t,SEMVER_SPEC_VERSION:Gt.SEMVER_SPEC_VERSION,RELEASE_TYPES:Gt.RELEASE_TYPES,compareIdentifiers:Vt.compareIdentifiers,rcompareIdentifiers:Vt.rcompareIdentifiers};const fo=ln(qi);export{ht as _,Zi as a,Ji as b,ao as c,ro as d,io as e,so as f,Qi as g,eo as h,oo as i,co as j,to as k,lo as l,fo as m,no as o,Ki as s};
10
- //# sourceMappingURL=vendor-DvFnRBMT.js.map
10
+ //# sourceMappingURL=vendor-DK9yaMt3.js.map