pangea-lib 2.11.705 → 2.11.707
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.
- package/dist/main.cjs.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.es.js +1 -1
- package/package.json +2 -2
package/dist/main.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var _S=Object.defineProperty;var kS=(e,t,a)=>t in e?_S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var o1=(e,t,a)=>(kS(e,typeof t!="symbol"?t+"":t,a),a);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),h3=require("pinia"),b7="__vue_click_outside__";function mm(){return"click"}function pm(e,t,a){vm(e);let c=a.context,r=t.value,n=!1;setTimeout(()=>{n=!0},0),e[b7]=i=>{if((!e||!e.contains(i.target))&&r&&n&&typeof r=="function")return i.stopPropagation(),r.call(c,i)},document.addEventListener(mm(),e[b7],!1)}function LS(e,t,a){t.value!==t.oldValue&&pm(e,t,a)}function vm(e){document.removeEventListener(mm(),e[b7],!1),delete e[b7]}const wl={mounted:pm,updated:LS,unmounted:vm},gm={install:e=>{e.directive("click-outside",wl)},directive:wl},SS=["top","right","bottom","left"],_l=["start","end"],kl=SS.reduce((e,t)=>e.concat(t,t+"-"+_l[0],t+"-"+_l[1]),[]),Jt=Math.min,o6=Math.max,AS={left:"right",right:"left",bottom:"top",top:"bottom"},TS={start:"end",end:"start"};function On(e,t,a){return o6(e,Jt(t,a))}function I6(e,t){return typeof e=="function"?e(t):e}function Me(e){return e.split("-")[0]}function W4(e){return e.split("-")[1]}function xm(e){return e==="x"?"y":"x"}function rs(e){return e==="y"?"height":"width"}function L6(e){return["top","bottom"].includes(Me(e))?"y":"x"}function ns(e){return xm(L6(e))}function Cm(e,t,a){a===void 0&&(a=!1);const c=W4(e),r=ns(e),n=rs(r);let i=r==="x"?c===(a?"end":"start")?"right":"left":c==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=V7(i)),[i,V7(i)]}function NS(e){const t=V7(e);return[H7(e),t,H7(t)]}function H7(e){return e.replace(/start|end/g,t=>TS[t])}function ES(e,t,a){const c=["left","right"],r=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return a?t?r:c:t?c:r;case"left":case"right":return t?n:i;default:return[]}}function PS(e,t,a,c){const r=W4(e);let n=ES(Me(e),a==="start",c);return r&&(n=n.map(i=>i+"-"+r),t&&(n=n.concat(n.map(H7)))),n}function V7(e){return e.replace(/left|right|bottom|top/g,t=>AS[t])}function FS(e){return{top:0,right:0,bottom:0,left:0,...e}}function zm(e){return typeof e!="number"?FS(e):{top:e,right:e,bottom:e,left:e}}function kt(e){const{x:t,y:a,width:c,height:r}=e;return{width:c,height:r,top:a,left:t,right:t+c,bottom:a+r,x:t,y:a}}function Ll(e,t,a){let{reference:c,floating:r}=e;const n=L6(t),i=ns(t),s=rs(i),l=Me(t),f=n==="y",u=c.x+c.width/2-r.width/2,h=c.y+c.height/2-r.height/2,d=c[s]/2-r[s]/2;let m;switch(l){case"top":m={x:u,y:c.y-r.height};break;case"bottom":m={x:u,y:c.y+c.height};break;case"right":m={x:c.x+c.width,y:h};break;case"left":m={x:c.x-r.width,y:h};break;default:m={x:c.x,y:c.y}}switch(W4(t)){case"start":m[i]-=d*(a&&f?-1:1);break;case"end":m[i]+=d*(a&&f?-1:1);break}return m}const DS=async(e,t,a)=>{const{placement:c="bottom",strategy:r="absolute",middleware:n=[],platform:i}=a,s=n.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let f=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:h}=Ll(f,c,l),d=c,m={},p=0;for(let v=0;v<s.length;v++){const{name:g,fn:x}=s[v],{x:z,y:C,data:b,reset:H}=await x({x:u,y:h,initialPlacement:c,placement:d,strategy:r,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:t}});u=z??u,h=C??h,m={...m,[g]:{...m[g],...b}},H&&p<=50&&(p++,typeof H=="object"&&(H.placement&&(d=H.placement),H.rects&&(f=H.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):H.rects),{x:u,y:h}=Ll(f,d,l)),v=-1)}return{x:u,y:h,placement:d,strategy:r,middlewareData:m}};async function bc(e,t){var a;t===void 0&&(t={});const{x:c,y:r,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:m=0}=I6(t,e),p=zm(m),g=s[d?h==="floating"?"reference":"floating":h],x=kt(await n.getClippingRect({element:(a=await(n.isElement==null?void 0:n.isElement(g)))==null||a?g:g.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:l})),z=h==="floating"?{x:c,y:r,width:i.floating.width,height:i.floating.height}:i.reference,C=await(n.getOffsetParent==null?void 0:n.getOffsetParent(s.floating)),b=await(n.isElement==null?void 0:n.isElement(C))?await(n.getScale==null?void 0:n.getScale(C))||{x:1,y:1}:{x:1,y:1},H=kt(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:z,offsetParent:C,strategy:l}):z);return{top:(x.top-H.top+p.top)/b.y,bottom:(H.bottom-x.bottom+p.bottom)/b.y,left:(x.left-H.left+p.left)/b.x,right:(H.right-x.right+p.right)/b.x}}const BS=e=>({name:"arrow",options:e,async fn(t){const{x:a,y:c,placement:r,rects:n,platform:i,elements:s,middlewareData:l}=t,{element:f,padding:u=0}=I6(e,t)||{};if(f==null)return{};const h=zm(u),d={x:a,y:c},m=ns(r),p=rs(m),v=await i.getDimensions(f),g=m==="y",x=g?"top":"left",z=g?"bottom":"right",C=g?"clientHeight":"clientWidth",b=n.reference[p]+n.reference[m]-d[m]-n.floating[p],H=d[m]-n.reference[m],V=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let y=V?V[C]:0;(!y||!await(i.isElement==null?void 0:i.isElement(V)))&&(y=s.floating[C]||n.floating[p]);const A=b/2-H/2,E=y/2-v[p]/2-1,Y=Jt(h[x],E),F=Jt(h[z],E),L=Y,j=y-v[p]-F,c1=y/2-v[p]/2+A,P=On(L,c1,j),O=!l.arrow&&W4(r)!=null&&c1!==P&&n.reference[p]/2-(c1<L?Y:F)-v[p]/2<0,X=O?c1<L?c1-L:c1-j:0;return{[m]:d[m]+X,data:{[m]:P,centerOffset:c1-P-X,...O&&{alignmentOffset:X}},reset:O}}});function OS(e,t,a){return(e?[...a.filter(r=>W4(r)===e),...a.filter(r=>W4(r)!==e)]:a.filter(r=>Me(r)===r)).filter(r=>e?W4(r)===e||(t?H7(r)!==r:!1):!0)}const RS=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var a,c,r;const{rects:n,middlewareData:i,placement:s,platform:l,elements:f}=t,{crossAxis:u=!1,alignment:h,allowedPlacements:d=kl,autoAlignment:m=!0,...p}=I6(e,t),v=h!==void 0||d===kl?OS(h||null,m,d):d,g=await bc(t,p),x=((a=i.autoPlacement)==null?void 0:a.index)||0,z=v[x];if(z==null)return{};const C=Cm(z,n,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(s!==z)return{reset:{placement:v[0]}};const b=[g[Me(z)],g[C[0]],g[C[1]]],H=[...((c=i.autoPlacement)==null?void 0:c.overflows)||[],{placement:z,overflows:b}],V=v[x+1];if(V)return{data:{index:x+1,overflows:H},reset:{placement:V}};const y=H.map(Y=>{const F=W4(Y.placement);return[Y.placement,F&&u?Y.overflows.slice(0,2).reduce((L,j)=>L+j,0):Y.overflows[0],Y.overflows]}).sort((Y,F)=>Y[1]-F[1]),E=((r=y.filter(Y=>Y[2].slice(0,W4(Y[0])?2:3).every(F=>F<=0))[0])==null?void 0:r[0])||y[0][0];return E!==s?{data:{index:x+1,overflows:H},reset:{placement:E}}:{}}}},IS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,c;const{placement:r,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:f}=t,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...g}=I6(e,t);if((a=n.arrow)!=null&&a.alignmentOffset)return{};const x=Me(r),z=L6(s),C=Me(s)===s,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),H=d||(C||!v?[V7(s)]:NS(s)),V=p!=="none";!d&&V&&H.push(...PS(s,v,p,b));const y=[s,...H],A=await bc(t,g),E=[];let Y=((c=n.flip)==null?void 0:c.overflows)||[];if(u&&E.push(A[x]),h){const c1=Cm(r,i,b);E.push(A[c1[0]],A[c1[1]])}if(Y=[...Y,{placement:r,overflows:E}],!E.every(c1=>c1<=0)){var F,L;const c1=(((F=n.flip)==null?void 0:F.index)||0)+1,P=y[c1];if(P)return{data:{index:c1,overflows:Y},reset:{placement:P}};let O=(L=Y.filter(X=>X.overflows[0]<=0).sort((X,f1)=>X.overflows[1]-f1.overflows[1])[0])==null?void 0:L.placement;if(!O)switch(m){case"bestFit":{var j;const X=(j=Y.filter(f1=>{if(V){const K=L6(f1.placement);return K===z||K==="y"}return!0}).map(f1=>[f1.placement,f1.overflows.filter(K=>K>0).reduce((K,v1)=>K+v1,0)]).sort((f1,K)=>f1[1]-K[1])[0])==null?void 0:j[0];X&&(O=X);break}case"initialPlacement":O=s;break}if(r!==O)return{reset:{placement:O}}}return{}}}};async function $S(e,t){const{placement:a,platform:c,elements:r}=e,n=await(c.isRTL==null?void 0:c.isRTL(r.floating)),i=Me(a),s=W4(a),l=L6(a)==="y",f=["left","top"].includes(i)?-1:1,u=n&&l?-1:1,h=I6(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:p}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof p=="number"&&(m=s==="end"?p*-1:p),l?{x:m*u,y:d*f}:{x:d*f,y:m*u}}const US=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,c;const{x:r,y:n,placement:i,middlewareData:s}=t,l=await $S(t,e);return i===((a=s.offset)==null?void 0:a.placement)&&(c=s.arrow)!=null&&c.alignmentOffset?{}:{x:r+l.x,y:n+l.y,data:{...l,placement:i}}}}},WS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:c,placement:r}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:g=>{let{x,y:z}=g;return{x,y:z}}},...l}=I6(e,t),f={x:a,y:c},u=await bc(t,l),h=L6(Me(r)),d=xm(h);let m=f[d],p=f[h];if(n){const g=d==="y"?"top":"left",x=d==="y"?"bottom":"right",z=m+u[g],C=m-u[x];m=On(z,m,C)}if(i){const g=h==="y"?"top":"left",x=h==="y"?"bottom":"right",z=p+u[g],C=p-u[x];p=On(z,p,C)}const v=s.fn({...t,[d]:m,[h]:p});return{...v,data:{x:v.x-a,y:v.y-c,enabled:{[d]:n,[h]:i}}}}}},YS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,c;const{placement:r,rects:n,platform:i,elements:s}=t,{apply:l=()=>{},...f}=I6(e,t),u=await bc(t,f),h=Me(r),d=W4(r),m=L6(r)==="y",{width:p,height:v}=n.floating;let g,x;h==="top"||h==="bottom"?(g=h,x=d===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(x=h,g=d==="end"?"top":"bottom");const z=v-u.top-u.bottom,C=p-u.left-u.right,b=Jt(v-u[g],z),H=Jt(p-u[x],C),V=!t.middlewareData.shift;let y=b,A=H;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&(A=C),(c=t.middlewareData.shift)!=null&&c.enabled.y&&(y=z),V&&!d){const Y=o6(u.left,0),F=o6(u.right,0),L=o6(u.top,0),j=o6(u.bottom,0);m?A=p-2*(Y!==0||F!==0?Y+F:o6(u.left,u.right)):y=v-2*(L!==0||j!==0?L+j:o6(u.top,u.bottom))}await l({...t,availableWidth:A,availableHeight:y});const E=await i.getDimensions(s.floating);return p!==E.width||v!==E.height?{reset:{rects:!0}}:{}}}};function w4(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ve(e){return w4(e).getComputedStyle(e)}const Sl=Math.min,Lt=Math.max,w7=Math.round;function Mm(e){const t=ve(e);let a=parseFloat(t.width),c=parseFloat(t.height);const r=e.offsetWidth,n=e.offsetHeight,i=w7(a)!==r||w7(c)!==n;return i&&(a=r,c=n),{width:a,height:c,fallback:i}}function B0(e){return bm(e)?(e.nodeName||"").toLowerCase():""}let pa;function ym(){if(pa)return pa;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(pa=e.brands.map(t=>t.brand+"/"+t.version).join(" "),pa):navigator.userAgent}function ge(e){return e instanceof w4(e).HTMLElement}function k0(e){return e instanceof w4(e).Element}function bm(e){return e instanceof w4(e).Node}function Al(e){return typeof ShadowRoot>"u"?!1:e instanceof w4(e).ShadowRoot||e instanceof ShadowRoot}function Hc(e){const{overflow:t,overflowX:a,overflowY:c,display:r}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+c+a)&&!["inline","contents"].includes(r)}function jS(e){return["table","td","th"].includes(B0(e))}function Rn(e){const t=/firefox/i.test(ym()),a=ve(e),c=a.backdropFilter||a.WebkitBackdropFilter;return a.transform!=="none"||a.perspective!=="none"||!!c&&c!=="none"||t&&a.willChange==="filter"||t&&!!a.filter&&a.filter!=="none"||["transform","perspective"].some(r=>a.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const n=a.contain;return n!=null&&n.includes(r)})}function Hm(){return!/^((?!chrome|android).)*safari/i.test(ym())}function is(e){return["html","body","#document"].includes(B0(e))}function Vm(e){return k0(e)?e:e.contextElement}const wm={x:1,y:1};function g8(e){const t=Vm(e);if(!ge(t))return wm;const a=t.getBoundingClientRect(),{width:c,height:r,fallback:n}=Mm(t);let i=(n?w7(a.width):a.width)/c,s=(n?w7(a.height):a.height)/r;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function e5(e,t,a,c){var r,n;t===void 0&&(t=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),s=Vm(e);let l=wm;t&&(c?k0(c)&&(l=g8(c)):l=g8(e));const f=s?w4(s):window,u=!Hm()&&a;let h=(i.left+(u&&((r=f.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,d=(i.top+(u&&((n=f.visualViewport)==null?void 0:n.offsetTop)||0))/l.y,m=i.width/l.x,p=i.height/l.y;if(s){const v=w4(s),g=c&&k0(c)?w4(c):c;let x=v.frameElement;for(;x&&c&&g!==v;){const z=g8(x),C=x.getBoundingClientRect(),b=getComputedStyle(x);C.x+=(x.clientLeft+parseFloat(b.paddingLeft))*z.x,C.y+=(x.clientTop+parseFloat(b.paddingTop))*z.y,h*=z.x,d*=z.y,m*=z.x,p*=z.y,h+=C.x,d+=C.y,x=w4(x).frameElement}}return{width:m,height:p,top:d,right:h+m,bottom:d+p,left:h,x:h,y:d}}function L0(e){return((bm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vc(e){return k0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _m(e){return e5(L0(e)).left+Vc(e).scrollLeft}function t5(e){if(B0(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Al(e)&&e.host||L0(e);return Al(t)?t.host:t}function km(e){const t=t5(e);return is(t)?t.ownerDocument.body:ge(t)&&Hc(t)?t:km(t)}function _7(e,t){var a;t===void 0&&(t=[]);const c=km(e),r=c===((a=e.ownerDocument)==null?void 0:a.body),n=w4(c);return r?t.concat(n,n.visualViewport||[],Hc(c)?c:[]):t.concat(c,_7(c))}function Tl(e,t,a){return t==="viewport"?kt(function(c,r){const n=w4(c),i=L0(c),s=n.visualViewport;let l=i.clientWidth,f=i.clientHeight,u=0,h=0;if(s){l=s.width,f=s.height;const d=Hm();(d||!d&&r==="fixed")&&(u=s.offsetLeft,h=s.offsetTop)}return{width:l,height:f,x:u,y:h}}(e,a)):k0(t)?kt(function(c,r){const n=e5(c,!0,r==="fixed"),i=n.top+c.clientTop,s=n.left+c.clientLeft,l=ge(c)?g8(c):{x:1,y:1};return{width:c.clientWidth*l.x,height:c.clientHeight*l.y,x:s*l.x,y:i*l.y}}(t,a)):kt(function(c){const r=L0(c),n=Vc(c),i=c.ownerDocument.body,s=Lt(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),l=Lt(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let f=-n.scrollLeft+_m(c);const u=-n.scrollTop;return ve(i).direction==="rtl"&&(f+=Lt(r.clientWidth,i.clientWidth)-s),{width:s,height:l,x:f,y:u}}(L0(e)))}function Nl(e){return ge(e)&&ve(e).position!=="fixed"?e.offsetParent:null}function El(e){const t=w4(e);let a=Nl(e);for(;a&&jS(a)&&ve(a).position==="static";)a=Nl(a);return a&&(B0(a)==="html"||B0(a)==="body"&&ve(a).position==="static"&&!Rn(a))?t:a||function(c){let r=t5(c);for(;ge(r)&&!is(r);){if(Rn(r))return r;r=t5(r)}return null}(e)||t}function GS(e,t,a){const c=ge(t),r=L0(t),n=e5(e,!0,a==="fixed",t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(c||!c&&a!=="fixed")if((B0(t)!=="body"||Hc(r))&&(i=Vc(t)),ge(t)){const l=e5(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else r&&(s.x=_m(r));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const qS={getClippingRect:function(e){let{element:t,boundary:a,rootBoundary:c,strategy:r}=e;const n=a==="clippingAncestors"?function(f,u){const h=u.get(f);if(h)return h;let d=_7(f).filter(g=>k0(g)&&B0(g)!=="body"),m=null;const p=ve(f).position==="fixed";let v=p?t5(f):f;for(;k0(v)&&!is(v);){const g=ve(v),x=Rn(v);(p?x||m:x||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:d=d.filter(z=>z!==v),v=t5(v)}return u.set(f,d),d}(t,this._c):[].concat(a),i=[...n,c],s=i[0],l=i.reduce((f,u)=>{const h=Tl(t,u,r);return f.top=Lt(h.top,f.top),f.right=Sl(h.right,f.right),f.bottom=Sl(h.bottom,f.bottom),f.left=Lt(h.left,f.left),f},Tl(t,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:a,strategy:c}=e;const r=ge(a),n=L0(a);if(a===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((r||!r&&c!=="fixed")&&((B0(a)!=="body"||Hc(n))&&(i=Vc(a)),ge(a))){const f=e5(a);s=g8(a),l.x=f.x+a.clientLeft,l.y=f.y+a.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:k0,getDimensions:function(e){return ge(e)?Mm(e):e.getBoundingClientRect()},getOffsetParent:El,getDocumentElement:L0,getScale:g8,async getElementRects(e){let{reference:t,floating:a,strategy:c}=e;const r=this.getOffsetParent||El,n=this.getDimensions;return{reference:GS(t,await r(a),c),floating:{x:0,y:0,...await n(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ve(e).direction==="rtl"},XS=(e,t,a)=>{const c=new Map,r={platform:qS,...a},n={...r.platform,_c:c};return DS(e,t,{...r,platform:n})};function Lm(e,t){for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(typeof t[a]=="object"&&e[a]?Lm(e[a],t[a]):e[a]=t[a])}const Y4={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function a5(e,t){let a=Y4.themes[e]||{},c;do c=a[t],typeof c>"u"?a.$extend?a=Y4.themes[a.$extend]||{}:(a=null,c=Y4[t]):a=null;while(a);return c}function ZS(e){const t=[e];let a=Y4.themes[e]||{};do a.$extend&&!a.$resetCss?(t.push(a.$extend),a=Y4.themes[a.$extend]||{}):a=null;while(a);return t.map(c=>`v-popper--theme-${c}`)}function Pl(e){const t=[e];let a=Y4.themes[e]||{};do a.$extend?(t.push(a.$extend),a=Y4.themes[a.$extend]||{}):a=null;while(a);return t}let w8=!1;if(typeof window<"u"){w8=!1;try{const e=Object.defineProperty({},"passive",{get(){w8=!0}});window.addEventListener("test",null,e)}catch{}}let Sm=!1;typeof window<"u"&&typeof navigator<"u"&&(Sm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Am=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Fl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Dl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Bl(e,t){const a=e.indexOf(t);a!==-1&&e.splice(a,1)}function Er(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const E4=[];let a6=null;const Ol={};function Rl(e){let t=Ol[e];return t||(t=Ol[e]=[]),t}let In=function(){};typeof window<"u"&&(In=window.Element);function i2(e){return function(t){return a5(t.theme,e)}}const Pr="__floating-vue__popper",Tm=()=>o.defineComponent({name:"VPopper",provide(){return{[Pr]:{parentPopper:this}}},inject:{[Pr]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:i2("disabled")},positioningDisabled:{type:Boolean,default:i2("positioningDisabled")},placement:{type:String,default:i2("placement"),validator:e=>Am.includes(e)},delay:{type:[String,Number,Object],default:i2("delay")},distance:{type:[Number,String],default:i2("distance")},skidding:{type:[Number,String],default:i2("skidding")},triggers:{type:Array,default:i2("triggers")},showTriggers:{type:[Array,Function],default:i2("showTriggers")},hideTriggers:{type:[Array,Function],default:i2("hideTriggers")},popperTriggers:{type:Array,default:i2("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:i2("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:i2("popperHideTriggers")},container:{type:[String,Object,In,Boolean],default:i2("container")},boundary:{type:[String,In],default:i2("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:i2("strategy")},autoHide:{type:[Boolean,Function],default:i2("autoHide")},handleResize:{type:Boolean,default:i2("handleResize")},instantMove:{type:Boolean,default:i2("instantMove")},eagerMount:{type:Boolean,default:i2("eagerMount")},popperClass:{type:[String,Array,Object],default:i2("popperClass")},computeTransformOrigin:{type:Boolean,default:i2("computeTransformOrigin")},autoMinSize:{type:Boolean,default:i2("autoMinSize")},autoSize:{type:[Boolean,String],default:i2("autoSize")},autoMaxSize:{type:Boolean,default:i2("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:i2("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:i2("preventOverflow")},overflowPadding:{type:[Number,String],default:i2("overflowPadding")},arrowPadding:{type:[Number,String],default:i2("arrowPadding")},arrowOverflow:{type:Boolean,default:i2("arrowOverflow")},flip:{type:Boolean,default:i2("flip")},shift:{type:Boolean,default:i2("shift")},shiftCrossAxis:{type:Boolean,default:i2("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:i2("noAutoFocus")},disposeTimeout:{type:Number,default:i2("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Pr])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:a=!1}={}){var c,r;(c=this.parentPopper)!=null&&c.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(a||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(US({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(RS({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(WS({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(IS({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(BS({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:c,rects:r,middlewareData:n})=>{let i;const{centerOffset:s}=n.arrow;return c.startsWith("top")||c.startsWith("bottom")?i=Math.abs(s)>r.reference.width/2:i=Math.abs(s)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const c=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:n,middlewareData:i})=>{var s;if((s=i.autoSize)!=null&&s.skip)return{};let l,f;return n.startsWith("top")||n.startsWith("bottom")?l=r.reference.width:f=r.reference.height,this.$_innerNode.style[c==="min"?"minWidth":c==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[c==="min"?"minHeight":c==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(YS({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:c,availableHeight:r})=>{this.$_innerNode.style.maxWidth=c!=null?`${c}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const a=await XS(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:{...a.middlewareData.arrow,...a.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),a6&&this.instantMove&&a6.instantMove&&a6!==this.parentPopper){a6.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(a6=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Er(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._7(this.$_referenceNode),..._7(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),c=a.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(c.left+a.offsetLeft),n=t.y+t.height/2-(c.top+a.offsetTop);this.result.transformOrigin=`${r}px ${n}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let a=0;a<E4.length;a++)t=E4[a],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}E4.push(this),document.body.classList.add("v-popper--some-open");for(const t of Pl(this.theme))Rl(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Er(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Bl(E4,this),E4.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Pl(this.theme)){const c=Rl(a);Bl(c,this),c.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}a6===this&&(a6=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Er(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,Fl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Fl,this.popperTriggers,this.popperShowTriggers,e);const t=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Dl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Dl,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,a){this.$_events.push({targetNodes:e,eventType:t,handler:a}),e.forEach(c=>c.addEventListener(t,a,w8?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,a,c,r){let n=a;c!=null&&(n=typeof c=="function"?c(n):c),n.forEach(i=>{const s=t[i];s&&this.$_registerEventListeners(e,s,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(a=>{const{targetNodes:c,eventType:r,handler:n}=a;!e||e===r?c.forEach(i=>i.removeEventListener(r,n)):t.push(a)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const a of this.$_targetNodes){const c=a.getAttribute(e);c&&(a.removeAttribute(e),a.setAttribute(t,c))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const a in e){const c=e[a];c==null?t.removeAttribute(a):t.setAttribute(a,c)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(St>=e.left&&St<=e.right&&At>=e.top&&At<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),a=St-m0,c=At-p0,r=t.left+t.width/2-m0+(t.top+t.height/2)-p0+t.width+t.height,n=m0+a*r,i=p0+c*r;return va(m0,p0,n,i,t.left,t.top,t.left,t.bottom)||va(m0,p0,n,i,t.left,t.top,t.right,t.top)||va(m0,p0,n,i,t.right,t.top,t.right,t.bottom)||va(m0,p0,n,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Sm){const e=w8?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Il(t,!0),e),document.addEventListener("touchend",t=>$l(t,!0),e)}else window.addEventListener("mousedown",e=>Il(e,!1),!0),window.addEventListener("click",e=>$l(e,!1),!0);window.addEventListener("resize",KS)}function Il(e,t){if(Y4.autoHideOnMousedown)Nm(e,t);else for(let a=0;a<E4.length;a++){const c=E4[a];try{c.mouseDownContains=c.popperNode().contains(e.target)}catch{}}}function $l(e,t){Y4.autoHideOnMousedown||Nm(e,t)}function Nm(e,t){const a={};for(let c=E4.length-1;c>=0;c--){const r=E4[c];try{const n=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!a[r.randomId]&&Ul(r,n,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&n){let s=r.parentPopper;for(;s;)a[s.randomId]=!0,s=s.parentPopper;return}let i=r.parentPopper;for(;i&&Ul(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Ul(e,t,a){return a.closeAllPopover||a.closePopover&&t||QS(e,a)&&!t}function QS(e,t){if(typeof e.autoHide=="function"){const a=e.autoHide(t);return e.lastAutoHide=a,a}return e.autoHide}function KS(){for(let e=0;e<E4.length;e++)E4[e].$_computePosition()}let m0=0,p0=0,St=0,At=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{m0=St,p0=At,St=e.clientX,At=e.clientY},w8?{passive:!0}:void 0);function va(e,t,a,c,r,n,i,s){const l=((i-r)*(t-n)-(s-n)*(e-r))/((s-n)*(a-e)-(i-r)*(c-t)),f=((a-e)*(t-n)-(c-t)*(e-r))/((s-n)*(a-e)-(i-r)*(c-t));return l>=0&&l<=1&&f>=0&&f<=1}const JS={extends:Tm()},wc=(e,t)=>{const a=e.__vccOpts||e;for(const[c,r]of t)a[c]=r;return a};function eA(e,t,a,c,r,n){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const tA=wc(JS,[["render",eA]]);function aA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var a=e.indexOf("Trident/");if(a>0){var c=e.indexOf("rv:");return parseInt(e.substring(c+3,e.indexOf(".",c)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let a7;function $n(){$n.init||($n.init=!0,a7=aA()!==-1)}var _c={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$n(),o.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",a7&&this.$el.appendChild(e),e.data="about:blank",a7||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!a7&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const cA=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const rA={class:"resize-observer",tabindex:"-1"};o.popScopeId();const nA=cA((e,t,a,c,r,n)=>(o.openBlock(),o.createBlock("div",rA)));_c.render=nA;_c.__scopeId="data-v-b329ee4c";_c.__file="src/components/ResizeObserver.vue";const Em=(e="theme")=>({computed:{themeClass(){return ZS(this[e])}}}),iA=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:_c},mixins:[Em()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),sA=["id","aria-hidden","tabindex","data-popper-placement"],oA={ref:"inner",class:"v-popper__inner"},lA=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),fA=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),uA=[lA,fA];function hA(e,t,a,c,r,n){const i=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:o.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=o.withKeys(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=s=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",oA,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(i,{key:0,onNotify:t[1]||(t[1]=s=>e.$emit("resize",s))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},uA,4)],4)],46,sA)}const Pm=wc(iA,[["render",hA]]),Fm={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Un=function(){};typeof window<"u"&&(Un=window.Element);const dA=o.defineComponent({name:"VPopperWrapper",components:{Popper:tA,PopperContent:Pm},mixins:[Fm,Em("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Un,Boolean],default:void 0},boundary:{type:[String,Un],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function mA(e,t,a,c,r,n){const i=o.resolveComponent("PopperContent"),s=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(s,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:h,autoHide:d,show:m,hide:p,handleResize:v,onResize:g,classes:x,result:z})=>[o.renderSlot(e.$slots,"default",{shown:f,show:m,hide:p}),o.createVNode(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:x,result:z,onHide:p,onResize:g},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:f,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ss=wc(dA,[["render",mA]]),pA={...ss,name:"VDropdown",vPopperTheme:"dropdown"},vA={...ss,name:"VMenu",vPopperTheme:"menu"},gA={...ss,name:"VTooltip",vPopperTheme:"tooltip"},xA=o.defineComponent({name:"VTooltipDirective",components:{Popper:Tm(),PopperContent:Pm},mixins:[Fm],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>a5(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>a5(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,a=this.content(this);a.then?a.then(c=>this.onResult(t,c)):this.onResult(t,a)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),CA=["innerHTML"],zA=["textContent"];function MA(e,t,a,c,r,n){const i=o.resolveComponent("PopperContent"),s=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(s,o.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:o.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:h,autoHide:d,hide:m,handleResize:p,onResize:v,classes:g,result:x})=>[o.createVNode(i,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:f,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":p,classes:g,result:x,onHide:m,onResize:v},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,CA)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,zA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const yA=wc(xA,[["render",MA]]),Dm="v-popper--has-tooltip";function bA(e,t){let a=e.placement;if(!a&&t)for(const c of Am)t[c]&&(a=c);return a||(a=a5(e.theme||"tooltip","placement")),a}function Bm(e,t,a){let c;const r=typeof t;return r==="string"?c={content:t}:t&&r==="object"?c=t:c={content:!1},c.placement=bA(c,a),c.targetNodes=()=>[e],c.referenceNode=()=>e,c}let Fr,c5,HA=0;function VA(){if(Fr)return;c5=o.ref([]),Fr=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:c5}},render(){return this.directives.map(t=>o.h(yA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Fr.mount(e)}function wA(e,t,a){VA();const c=o.ref(Bm(e,t,a)),r=o.ref(!1),n={id:HA++,options:c,shown:r};return c5.value.push(n),e.classList&&e.classList.add(Dm),e.$_popper={options:c,item:n,show(){r.value=!0},hide(){r.value=!1}}}function Om(e){if(e.$_popper){const t=c5.value.indexOf(e.$_popper.item);t!==-1&&c5.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Dm)}function Wl(e,{value:t,modifiers:a}){const c=Bm(e,t,a);if(!c.content||a5(c.theme||"tooltip","disabled"))Om(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=c):r=wA(e,t,a),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const _A={beforeMount:Wl,updated:Wl,beforeUnmount(e){Om(e)}};function Yl(e){e.addEventListener("mousedown",k7),e.addEventListener("click",k7),e.addEventListener("touchstart",Rm,w8?{passive:!0}:!1)}function jl(e){e.removeEventListener("mousedown",k7),e.removeEventListener("click",k7),e.removeEventListener("touchstart",Rm),e.removeEventListener("touchend",Im),e.removeEventListener("touchcancel",$m)}function k7(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Rm(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const a=e.changedTouches[0];t.$_vclosepopover_touchPoint=a,t.addEventListener("touchend",Im),t.addEventListener("touchcancel",$m)}}function Im(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],c=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-c.screenY)<20&&Math.abs(a.screenX-c.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function $m(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const kA={beforeMount(e,{value:t,modifiers:a}){e.$_closePopoverModifiers=a,(typeof t>"u"||t)&&Yl(e)},updated(e,{value:t,oldValue:a,modifiers:c}){e.$_closePopoverModifiers=c,t!==a&&(typeof t>"u"||t?Yl(e):jl(e))},beforeUnmount(e){jl(e)}};function LA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Lm(Y4,t),e.directive("tooltip",_A),e.directive("close-popper",kA),e.component("VTooltip",gA),e.component("VDropdown",pA),e.component("VMenu",vA))}const SA={version:"5.2.2",install:LA,options:Y4},AA={themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:e=>[...e]}}};var Um={exports:{}};(function(e,t){(function(a,c){e.exports=c()})(self,()=>(()=>{var a={423:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.removeDuplicateItems=void 0,i.removeDuplicateItems=function(s,l="id"){return s.filter((f,u,h)=>u===h.findIndex(d=>d[l]===f[l]))}},621:function(n,i,s){var l=this&&this.__awaiter||function(h,d,m,p){return new(m||(m=Promise))(function(v,g){function x(b){try{C(p.next(b))}catch(H){g(H)}}function z(b){try{C(p.throw(b))}catch(H){g(H)}}function C(b){var H;b.done?v(b.value):(H=b.value,H instanceof m?H:new m(function(V){V(H)})).then(x,z)}C((p=p.apply(h,d||[])).next())})},f=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(i,"__esModule",{value:!0}),i.getCoinValueInUsd=void 0;const u=f(s(425));i.getCoinValueInUsd=function(h){return l(this,void 0,void 0,function*(){try{return h==="ARS"?1/(yield u.default.get("https://dolarapi.com/v1/dolares/blue")).data.venta:["BTC","ETH","LTC","USDT"].includes(h)?(yield u.default.get("https://api.coincap.io/v2/assets")).data.data.find(d=>d.symbol===h).priceUsd:1/(yield u.default.get("https://v6.exchangerate-api.com/v6/65057543fdcbb1629e21c3a2/latest/USD")).data.conversion_rates[h]}catch{throw new Error(`Unable to get the value of ${h} at this time. Try again later.`)}})}},985:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.getNextDayStartDate=i.getPreviousDayStartDate=i.getCurrentDayStartDate=i.getNextMonthStartDate=i.getPreviousMonthStartDate=i.getCurrentMonthStartDate=i.getNextYearStartDate=i.getPreviousYearStartDate=i.getCurrentYearStartDate=void 0,i.getCurrentYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),0,1)},i.getPreviousYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear()-1,0,1)},i.getNextYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear()+1,0,1)},i.getCurrentMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),1)},i.getPreviousMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth()-1,1)},i.getNextMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth()+1,1)},i.getCurrentDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate())},i.getPreviousDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate()-1)},i.getNextDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate()+1)}},905:(n,i)=>{function s(l,f,u="round"){return Math[u](l/f)*f}Object.defineProperty(i,"__esModule",{value:!0}),i.roundDecimals=i.roundNumber=i.sumWithUnits=void 0,i.sumWithUnits=function(l,...f){var u;const h=((u=l.match(/[a-zA-Z%]+/))===null||u===void 0?void 0:u[0])||"";return`${[l,...f].reduce((d,m)=>d+parseFloat(m),0)}${h}`},i.roundNumber=s,i.roundDecimals=function(l,f=0,u="round"){return s(l,1/Math.pow(10,f),u)}},563:(n,i)=>{function s(u){return JSON.parse(JSON.stringify(u))}function l(u){return!(!u||typeof u!="object"||Array.isArray(u))}function f(u,h){for(const d in h)l(h[d])?(u[d]||(u[d]={}),f(u[d],h[d])):u[d]=h[d]}Object.defineProperty(i,"__esModule",{value:!0}),i.filterKeysDeep=i.filterKeys=i.mergeDeep=i.merge=i.isObject=i.removeProps=i.copyAvailableFields=i.cloneObjectProperties=void 0,i.cloneObjectProperties=s,i.copyAvailableFields=function u(h,d){if(h&&d)for(const m in d)d.hasOwnProperty(m)&&h.hasOwnProperty(m)&&(typeof d[m]=="object"&&d[m]!==null?u(h[m],d[m]):h[m]=d[m])},i.removeProps=function(u,h){const d=s(u);return(Array.isArray(h)?h:[h]).forEach(m=>delete d[m]),d},i.isObject=l,i.merge=f,i.mergeDeep=function(u,h){const d={};return f(d,u),f(d,h),d},i.filterKeys=function(u,h){const d={},m=Object.keys(u);for(const p of m)d[p]=h[p];return d},i.filterKeysDeep=function u(h,d){const m={},p=Object.keys(h);for(const v of p)l(h[v])&&l(d[v])?m[v]=u(h[v],d[v]):m[v]=d[v];return m}},849:(n,i)=>{function s(l){return l.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}Object.defineProperty(i,"__esModule",{value:!0}),i.accentMap=i.generateCode=i.normalizeText=i.camelToKebab=i.camelToUpperSnake=i.camelToSnake=i.getFirstChartInUppercase=i.getFirstChartInLowercase=void 0,i.getFirstChartInLowercase=function(l){return`${l.charAt(0).toLowerCase()}${l.slice(1)}`},i.getFirstChartInUppercase=function(l){return`${l.charAt(0).toUpperCase()}${l.slice(1)}`},i.camelToSnake=s,i.camelToUpperSnake=function(l){return s(l).toUpperCase()},i.camelToKebab=function(l){return l.replace(/([A-Z])(?!$)/g,"$1-").toLowerCase()},i.normalizeText=function(l){return l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()},i.generateCode=function(l){const f=Math.pow(10,l-1),u=Math.pow(10,l)-1;return Math.floor(f+Math.random()*(u-f)).toString()},i.accentMap={a:"[aáàäâãå]",á:"[aáàäâãå]",à:"[aáàäâãå]",ä:"[aáàäâãå]",â:"[aáàäâãå]",ã:"[aáàäâãå]",å:"[aáàäâãå]",e:"[eéèëê]",é:"[eéèëê]",è:"[eéèëê]",ë:"[eéèëê]",ê:"[eéèëê]",i:"[iíìïî]",í:"[iíìïî]",ì:"[iíìïî]",ï:"[iíìïî]",î:"[iíìïî]",o:"[oóòöôõ]",ó:"[oóòöôõ]",ò:"[oóòöôõ]",ö:"[oóòöôõ]",ô:"[oóòöôõ]",õ:"[oóòöôõ]",u:"[uúùüû]",ú:"[uúùüû]",ù:"[uúùüû]",ü:"[uúùüû]",û:"[uúùüû]",n:"[nñ]",ñ:"[nñ]",c:"[cç]",ç:"[cç]"}},927:function(n,i,s){var l=this&&this.__createBinding||(Object.create?function(u,h,d,m){m===void 0&&(m=d);var p=Object.getOwnPropertyDescriptor(h,d);p&&!("get"in p?!h.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return h[d]}}),Object.defineProperty(u,m,p)}:function(u,h,d,m){m===void 0&&(m=d),u[m]=h[d]}),f=this&&this.__exportStar||function(u,h){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(h,d)||l(h,u,d)};Object.defineProperty(i,"__esModule",{value:!0}),f(s(423),i),f(s(621),i),f(s(985),i),f(s(905),i),f(s(563),i),f(s(849),i),f(s(574),i)},574:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0})},425:(n,i,s)=>{function l(M,_){return function(){return M.apply(_,arguments)}}const{toString:f}=Object.prototype,{getPrototypeOf:u}=Object,h=(d=Object.create(null),M=>{const _=f.call(M);return d[_]||(d[_]=_.slice(8,-1).toLowerCase())});var d;const m=M=>(M=M.toLowerCase(),_=>h(_)===M),p=M=>_=>typeof _===M,{isArray:v}=Array,g=p("undefined"),x=m("ArrayBuffer"),z=p("string"),C=p("function"),b=p("number"),H=M=>M!==null&&typeof M=="object",V=M=>{if(h(M)!=="object")return!1;const _=u(M);return!(_!==null&&_!==Object.prototype&&Object.getPrototypeOf(_)!==null||Symbol.toStringTag in M||Symbol.iterator in M)},y=m("Date"),A=m("File"),E=m("Blob"),Y=m("FileList"),F=m("URLSearchParams");function L(M,_,{allOwnKeys:N=!1}={}){if(M==null)return;let W,J;if(typeof M!="object"&&(M=[M]),v(M))for(W=0,J=M.length;W<J;W++)_.call(null,M[W],W,M);else{const a1=N?Object.getOwnPropertyNames(M):Object.keys(M),e1=a1.length;let m1;for(W=0;W<e1;W++)m1=a1[W],_.call(null,M[m1],m1,M)}}function j(M,_){_=_.toLowerCase();const N=Object.keys(M);let W,J=N.length;for(;J-- >0;)if(W=N[J],_===W.toLowerCase())return W;return null}const c1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:s.g,P=M=>!g(M)&&M!==c1,O=(X=typeof Uint8Array<"u"&&u(Uint8Array),M=>X&&M instanceof X);var X;const f1=m("HTMLFormElement"),K=(({hasOwnProperty:M})=>(_,N)=>M.call(_,N))(Object.prototype),v1=m("RegExp"),r1=(M,_)=>{const N=Object.getOwnPropertyDescriptors(M),W={};L(N,(J,a1)=>{let e1;(e1=_(J,a1,M))!==!1&&(W[a1]=e1||J)}),Object.defineProperties(M,W)},S="abcdefghijklmnopqrstuvwxyz",k="0123456789",D={DIGIT:k,ALPHA:S,ALPHA_DIGIT:S+S.toUpperCase()+k},G=m("AsyncFunction");var B={isArray:v,isArrayBuffer:x,isBuffer:function(M){return M!==null&&!g(M)&&M.constructor!==null&&!g(M.constructor)&&C(M.constructor.isBuffer)&&M.constructor.isBuffer(M)},isFormData:M=>{let _;return M&&(typeof FormData=="function"&&M instanceof FormData||C(M.append)&&((_=h(M))==="formdata"||_==="object"&&C(M.toString)&&M.toString()==="[object FormData]"))},isArrayBufferView:function(M){let _;return _=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(M):M&&M.buffer&&x(M.buffer),_},isString:z,isNumber:b,isBoolean:M=>M===!0||M===!1,isObject:H,isPlainObject:V,isUndefined:g,isDate:y,isFile:A,isBlob:E,isRegExp:v1,isFunction:C,isStream:M=>H(M)&&C(M.pipe),isURLSearchParams:F,isTypedArray:O,isFileList:Y,forEach:L,merge:function M(){const{caseless:_}=P(this)&&this||{},N={},W=(J,a1)=>{const e1=_&&j(N,a1)||a1;V(N[e1])&&V(J)?N[e1]=M(N[e1],J):V(J)?N[e1]=M({},J):v(J)?N[e1]=J.slice():N[e1]=J};for(let J=0,a1=arguments.length;J<a1;J++)arguments[J]&&L(arguments[J],W);return N},extend:(M,_,N,{allOwnKeys:W}={})=>(L(_,(J,a1)=>{N&&C(J)?M[a1]=l(J,N):M[a1]=J},{allOwnKeys:W}),M),trim:M=>M.trim?M.trim():M.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:M=>(M.charCodeAt(0)===65279&&(M=M.slice(1)),M),inherits:(M,_,N,W)=>{M.prototype=Object.create(_.prototype,W),M.prototype.constructor=M,Object.defineProperty(M,"super",{value:_.prototype}),N&&Object.assign(M.prototype,N)},toFlatObject:(M,_,N,W)=>{let J,a1,e1;const m1={};if(_=_||{},M==null)return _;do{for(J=Object.getOwnPropertyNames(M),a1=J.length;a1-- >0;)e1=J[a1],W&&!W(e1,M,_)||m1[e1]||(_[e1]=M[e1],m1[e1]=!0);M=N!==!1&&u(M)}while(M&&(!N||N(M,_))&&M!==Object.prototype);return _},kindOf:h,kindOfTest:m,endsWith:(M,_,N)=>{M=String(M),(N===void 0||N>M.length)&&(N=M.length),N-=_.length;const W=M.indexOf(_,N);return W!==-1&&W===N},toArray:M=>{if(!M)return null;if(v(M))return M;let _=M.length;if(!b(_))return null;const N=new Array(_);for(;_-- >0;)N[_]=M[_];return N},forEachEntry:(M,_)=>{const N=(M&&M[Symbol.iterator]).call(M);let W;for(;(W=N.next())&&!W.done;){const J=W.value;_.call(M,J[0],J[1])}},matchAll:(M,_)=>{let N;const W=[];for(;(N=M.exec(_))!==null;)W.push(N);return W},isHTMLForm:f1,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:r1,freezeMethods:M=>{r1(M,(_,N)=>{if(C(M)&&["arguments","caller","callee"].indexOf(N)!==-1)return!1;const W=M[N];C(W)&&(_.enumerable=!1,"writable"in _?_.writable=!1:_.set||(_.set=()=>{throw Error("Can not rewrite read-only method '"+N+"'")}))})},toObjectSet:(M,_)=>{const N={},W=J=>{J.forEach(a1=>{N[a1]=!0})};return v(M)?W(M):W(String(M).split(_)),N},toCamelCase:M=>M.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(_,N,W){return N.toUpperCase()+W}),noop:()=>{},toFiniteNumber:(M,_)=>(M=+M,Number.isFinite(M)?M:_),findKey:j,global:c1,isContextDefined:P,ALPHABET:D,generateString:(M=16,_=D.ALPHA_DIGIT)=>{let N="";const{length:W}=_;for(;M--;)N+=_[Math.random()*W|0];return N},isSpecCompliantForm:function(M){return!!(M&&C(M.append)&&M[Symbol.toStringTag]==="FormData"&&M[Symbol.iterator])},toJSONObject:M=>{const _=new Array(10),N=(W,J)=>{if(H(W)){if(_.indexOf(W)>=0)return;if(!("toJSON"in W)){_[J]=W;const a1=v(W)?[]:{};return L(W,(e1,m1)=>{const b1=N(e1,J+1);!g(b1)&&(a1[m1]=b1)}),_[J]=void 0,a1}}return W};return N(M,0)},isAsyncFn:G,isThenable:M=>M&&(H(M)||C(M))&&C(M.then)&&C(M.catch)};function I(M,_,N,W,J){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=M,this.name="AxiosError",_&&(this.code=_),N&&(this.config=N),W&&(this.request=W),J&&(this.response=J)}B.inherits(I,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const p1=I.prototype,M1={};function n1(M){return B.isPlainObject(M)||B.isArray(M)}function C1(M){return B.endsWith(M,"[]")?M.slice(0,-2):M}function w(M,_,N){return M?M.concat(_).map(function(W,J){return W=C1(W),!N&&J?"["+W+"]":W}).join(N?".":""):_}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(M=>{M1[M]={value:M}}),Object.defineProperties(I,M1),Object.defineProperty(p1,"isAxiosError",{value:!0}),I.from=(M,_,N,W,J,a1)=>{const e1=Object.create(p1);return B.toFlatObject(M,e1,function(m1){return m1!==Error.prototype},m1=>m1!=="isAxiosError"),I.call(e1,M.message,_,N,W,J),e1.cause=M,e1.name=M.name,a1&&Object.assign(e1,a1),e1};const z1=B.toFlatObject(B,{},null,function(M){return/^is[A-Z]/.test(M)});function V1(M,_,N){if(!B.isObject(M))throw new TypeError("target must be an object");_=_||new FormData;const W=(N=B.toFlatObject(N,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P1,K1){return!B.isUndefined(K1[P1])})).metaTokens,J=N.visitor||w1,a1=N.dots,e1=N.indexes,m1=(N.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(_);if(!B.isFunction(J))throw new TypeError("visitor must be a function");function b1(P1){if(P1===null)return"";if(B.isDate(P1))return P1.toISOString();if(!m1&&B.isBlob(P1))throw new I("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(P1)||B.isTypedArray(P1)?m1&&typeof Blob=="function"?new Blob([P1]):Buffer.from(P1):P1}function w1(P1,K1,E1){let e2=P1;if(P1&&!E1&&typeof P1=="object"){if(B.endsWith(K1,"{}"))K1=W?K1:K1.slice(0,-2),P1=JSON.stringify(P1);else if(B.isArray(P1)&&function(w2){return B.isArray(w2)&&!w2.some(n1)}(P1)||(B.isFileList(P1)||B.endsWith(K1,"[]"))&&(e2=B.toArray(P1)))return K1=C1(K1),e2.forEach(function(w2,J2){!B.isUndefined(w2)&&w2!==null&&_.append(e1===!0?w([K1],J2,a1):e1===null?K1:K1+"[]",b1(w2))}),!1}return!!n1(P1)||(_.append(w(E1,K1,a1),b1(P1)),!1)}const x1=[],F1=Object.assign(z1,{defaultVisitor:w1,convertValue:b1,isVisitable:n1});if(!B.isObject(M))throw new TypeError("data must be an object");return function P1(K1,E1){if(!B.isUndefined(K1)){if(x1.indexOf(K1)!==-1)throw Error("Circular reference detected in "+E1.join("."));x1.push(K1),B.forEach(K1,function(e2,w2){(!(B.isUndefined(e2)||e2===null)&&J.call(_,e2,B.isString(w2)?w2.trim():w2,E1,F1))===!0&&P1(e2,E1?E1.concat(w2):[w2])}),x1.pop()}}(M),_}function h1(M){const _={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(M).replace(/[!'()~]|%20|%00/g,function(N){return _[N]})}function t1(M,_){this._pairs=[],M&&V1(M,this,_)}const i1=t1.prototype;function A1(M){return encodeURIComponent(M).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function W1(M,_,N){if(!_)return M;const W=N&&N.encode||A1,J=N&&N.serialize;let a1;if(a1=J?J(_,N):B.isURLSearchParams(_)?_.toString():new t1(_,N).toString(W),a1){const e1=M.indexOf("#");e1!==-1&&(M=M.slice(0,e1)),M+=(M.indexOf("?")===-1?"?":"&")+a1}return M}i1.append=function(M,_){this._pairs.push([M,_])},i1.toString=function(M){const _=M?function(N){return M.call(this,N,h1)}:h1;return this._pairs.map(function(N){return _(N[0])+"="+_(N[1])},"").join("&")};var $1=class{constructor(){this.handlers=[]}use(M,_,N){return this.handlers.push({fulfilled:M,rejected:_,synchronous:!!N&&N.synchronous,runWhen:N?N.runWhen:null}),this.handlers.length-1}eject(M){this.handlers[M]&&(this.handlers[M]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(M){B.forEach(this.handlers,function(_){_!==null&&M(_)})}},L1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},H3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:t1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]};const R2=typeof window<"u"&&typeof document<"u",d3=(V3=typeof navigator<"u"&&navigator.product,R2&&["ReactNative","NativeScript","NS"].indexOf(V3)<0);var V3;const F2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var W2={...Object.freeze({__proto__:null,hasBrowserEnv:R2,hasStandardBrowserWebWorkerEnv:F2,hasStandardBrowserEnv:d3}),...H3};function Y2(M){function _(N,W,J,a1){let e1=N[a1++];if(e1==="__proto__")return!0;const m1=Number.isFinite(+e1),b1=a1>=N.length;return e1=!e1&&B.isArray(J)?J.length:e1,b1?(B.hasOwnProp(J,e1)?J[e1]=[J[e1],W]:J[e1]=W,!m1):(J[e1]&&B.isObject(J[e1])||(J[e1]=[]),_(N,W,J[e1],a1)&&B.isArray(J[e1])&&(J[e1]=function(w1){const x1={},F1=Object.keys(w1);let P1;const K1=F1.length;let E1;for(P1=0;P1<K1;P1++)E1=F1[P1],x1[E1]=w1[E1];return x1}(J[e1])),!m1)}if(B.isFormData(M)&&B.isFunction(M.entries)){const N={};return B.forEachEntry(M,(W,J)=>{_(function(a1){return B.matchAll(/\w+|\[(\w*)]/g,a1).map(e1=>e1[0]==="[]"?"":e1[1]||e1[0])}(W),J,N,0)}),N}return null}const m3={transitional:L1,adapter:["xhr","http"],transformRequest:[function(M,_){const N=_.getContentType()||"",W=N.indexOf("application/json")>-1,J=B.isObject(M);if(J&&B.isHTMLForm(M)&&(M=new FormData(M)),B.isFormData(M))return W?JSON.stringify(Y2(M)):M;if(B.isArrayBuffer(M)||B.isBuffer(M)||B.isStream(M)||B.isFile(M)||B.isBlob(M))return M;if(B.isArrayBufferView(M))return M.buffer;if(B.isURLSearchParams(M))return _.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),M.toString();let a1;if(J){if(N.indexOf("application/x-www-form-urlencoded")>-1)return function(e1,m1){return V1(e1,new W2.classes.URLSearchParams,Object.assign({visitor:function(b1,w1,x1,F1){return W2.isNode&&B.isBuffer(b1)?(this.append(w1,b1.toString("base64")),!1):F1.defaultVisitor.apply(this,arguments)}},m1))}(M,this.formSerializer).toString();if((a1=B.isFileList(M))||N.indexOf("multipart/form-data")>-1){const e1=this.env&&this.env.FormData;return V1(a1?{"files[]":M}:M,e1&&new e1,this.formSerializer)}}return J||W?(_.setContentType("application/json",!1),function(e1,m1,b1){if(B.isString(e1))try{return(0,JSON.parse)(e1),B.trim(e1)}catch(w1){if(w1.name!=="SyntaxError")throw w1}return(0,JSON.stringify)(e1)}(M)):M}],transformResponse:[function(M){const _=this.transitional||m3.transitional,N=_&&_.forcedJSONParsing,W=this.responseType==="json";if(M&&B.isString(M)&&(N&&!this.responseType||W)){const J=!(_&&_.silentJSONParsing)&&W;try{return JSON.parse(M)}catch(a1){if(J)throw a1.name==="SyntaxError"?I.from(a1,I.ERR_BAD_RESPONSE,this,null,this.response):a1}}return M}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:W2.classes.FormData,Blob:W2.classes.Blob},validateStatus:function(M){return M>=200&&M<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],M=>{m3.headers[M]={}});var U1=m3;const z2=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),p3=Symbol("internals");function v2(M){return M&&String(M).trim().toLowerCase()}function N3(M){return M===!1||M==null?M:B.isArray(M)?M.map(N3):String(M)}function ce(M,_,N,W,J){return B.isFunction(W)?W.call(this,_,N):(J&&(_=N),B.isString(_)?B.isString(W)?_.indexOf(W)!==-1:B.isRegExp(W)?W.test(_):void 0:void 0)}class l1{constructor(_){_&&this.set(_)}set(_,N,W){const J=this;function a1(m1,b1,w1){const x1=v2(b1);if(!x1)throw new Error("header name must be a non-empty string");const F1=B.findKey(J,x1);(!F1||J[F1]===void 0||w1===!0||w1===void 0&&J[F1]!==!1)&&(J[F1||b1]=N3(m1))}const e1=(m1,b1)=>B.forEach(m1,(w1,x1)=>a1(w1,x1,b1));return B.isPlainObject(_)||_ instanceof this.constructor?e1(_,N):B.isString(_)&&(_=_.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(_.trim())?e1((m1=>{const b1={};let w1,x1,F1;return m1&&m1.split(`
|
|
1
|
+
"use strict";var _S=Object.defineProperty;var kS=(e,t,a)=>t in e?_S(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a;var o1=(e,t,a)=>(kS(e,typeof t!="symbol"?t+"":t,a),a);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("vue"),h3=require("pinia"),b7="__vue_click_outside__";function mm(){return"click"}function pm(e,t,a){vm(e);let c=a.context,r=t.value,n=!1;setTimeout(()=>{n=!0},0),e[b7]=i=>{if((!e||!e.contains(i.target))&&r&&n&&typeof r=="function")return i.stopPropagation(),r.call(c,i)},document.addEventListener(mm(),e[b7],!1)}function LS(e,t,a){t.value!==t.oldValue&&pm(e,t,a)}function vm(e){document.removeEventListener(mm(),e[b7],!1),delete e[b7]}const wl={mounted:pm,updated:LS,unmounted:vm},gm={install:e=>{e.directive("click-outside",wl)},directive:wl},SS=["top","right","bottom","left"],_l=["start","end"],kl=SS.reduce((e,t)=>e.concat(t,t+"-"+_l[0],t+"-"+_l[1]),[]),Jt=Math.min,o6=Math.max,AS={left:"right",right:"left",bottom:"top",top:"bottom"},TS={start:"end",end:"start"};function On(e,t,a){return o6(e,Jt(t,a))}function I6(e,t){return typeof e=="function"?e(t):e}function Me(e){return e.split("-")[0]}function W4(e){return e.split("-")[1]}function xm(e){return e==="x"?"y":"x"}function rs(e){return e==="y"?"height":"width"}function L6(e){return["top","bottom"].includes(Me(e))?"y":"x"}function ns(e){return xm(L6(e))}function Cm(e,t,a){a===void 0&&(a=!1);const c=W4(e),r=ns(e),n=rs(r);let i=r==="x"?c===(a?"end":"start")?"right":"left":c==="start"?"bottom":"top";return t.reference[n]>t.floating[n]&&(i=V7(i)),[i,V7(i)]}function NS(e){const t=V7(e);return[H7(e),t,H7(t)]}function H7(e){return e.replace(/start|end/g,t=>TS[t])}function ES(e,t,a){const c=["left","right"],r=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return a?t?r:c:t?c:r;case"left":case"right":return t?n:i;default:return[]}}function PS(e,t,a,c){const r=W4(e);let n=ES(Me(e),a==="start",c);return r&&(n=n.map(i=>i+"-"+r),t&&(n=n.concat(n.map(H7)))),n}function V7(e){return e.replace(/left|right|bottom|top/g,t=>AS[t])}function FS(e){return{top:0,right:0,bottom:0,left:0,...e}}function zm(e){return typeof e!="number"?FS(e):{top:e,right:e,bottom:e,left:e}}function kt(e){const{x:t,y:a,width:c,height:r}=e;return{width:c,height:r,top:a,left:t,right:t+c,bottom:a+r,x:t,y:a}}function Ll(e,t,a){let{reference:c,floating:r}=e;const n=L6(t),i=ns(t),s=rs(i),l=Me(t),f=n==="y",u=c.x+c.width/2-r.width/2,h=c.y+c.height/2-r.height/2,d=c[s]/2-r[s]/2;let m;switch(l){case"top":m={x:u,y:c.y-r.height};break;case"bottom":m={x:u,y:c.y+c.height};break;case"right":m={x:c.x+c.width,y:h};break;case"left":m={x:c.x-r.width,y:h};break;default:m={x:c.x,y:c.y}}switch(W4(t)){case"start":m[i]-=d*(a&&f?-1:1);break;case"end":m[i]+=d*(a&&f?-1:1);break}return m}const DS=async(e,t,a)=>{const{placement:c="bottom",strategy:r="absolute",middleware:n=[],platform:i}=a,s=n.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let f=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:h}=Ll(f,c,l),d=c,m={},p=0;for(let v=0;v<s.length;v++){const{name:g,fn:x}=s[v],{x:z,y:C,data:b,reset:H}=await x({x:u,y:h,initialPlacement:c,placement:d,strategy:r,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:t}});u=z??u,h=C??h,m={...m,[g]:{...m[g],...b}},H&&p<=50&&(p++,typeof H=="object"&&(H.placement&&(d=H.placement),H.rects&&(f=H.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):H.rects),{x:u,y:h}=Ll(f,d,l)),v=-1)}return{x:u,y:h,placement:d,strategy:r,middlewareData:m}};async function bc(e,t){var a;t===void 0&&(t={});const{x:c,y:r,platform:n,rects:i,elements:s,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:m=0}=I6(t,e),p=zm(m),g=s[d?h==="floating"?"reference":"floating":h],x=kt(await n.getClippingRect({element:(a=await(n.isElement==null?void 0:n.isElement(g)))==null||a?g:g.contextElement||await(n.getDocumentElement==null?void 0:n.getDocumentElement(s.floating)),boundary:f,rootBoundary:u,strategy:l})),z=h==="floating"?{x:c,y:r,width:i.floating.width,height:i.floating.height}:i.reference,C=await(n.getOffsetParent==null?void 0:n.getOffsetParent(s.floating)),b=await(n.isElement==null?void 0:n.isElement(C))?await(n.getScale==null?void 0:n.getScale(C))||{x:1,y:1}:{x:1,y:1},H=kt(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:z,offsetParent:C,strategy:l}):z);return{top:(x.top-H.top+p.top)/b.y,bottom:(H.bottom-x.bottom+p.bottom)/b.y,left:(x.left-H.left+p.left)/b.x,right:(H.right-x.right+p.right)/b.x}}const BS=e=>({name:"arrow",options:e,async fn(t){const{x:a,y:c,placement:r,rects:n,platform:i,elements:s,middlewareData:l}=t,{element:f,padding:u=0}=I6(e,t)||{};if(f==null)return{};const h=zm(u),d={x:a,y:c},m=ns(r),p=rs(m),v=await i.getDimensions(f),g=m==="y",x=g?"top":"left",z=g?"bottom":"right",C=g?"clientHeight":"clientWidth",b=n.reference[p]+n.reference[m]-d[m]-n.floating[p],H=d[m]-n.reference[m],V=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let y=V?V[C]:0;(!y||!await(i.isElement==null?void 0:i.isElement(V)))&&(y=s.floating[C]||n.floating[p]);const A=b/2-H/2,E=y/2-v[p]/2-1,Y=Jt(h[x],E),F=Jt(h[z],E),L=Y,j=y-v[p]-F,c1=y/2-v[p]/2+A,P=On(L,c1,j),O=!l.arrow&&W4(r)!=null&&c1!==P&&n.reference[p]/2-(c1<L?Y:F)-v[p]/2<0,X=O?c1<L?c1-L:c1-j:0;return{[m]:d[m]+X,data:{[m]:P,centerOffset:c1-P-X,...O&&{alignmentOffset:X}},reset:O}}});function OS(e,t,a){return(e?[...a.filter(r=>W4(r)===e),...a.filter(r=>W4(r)!==e)]:a.filter(r=>Me(r)===r)).filter(r=>e?W4(r)===e||(t?H7(r)!==r:!1):!0)}const RS=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var a,c,r;const{rects:n,middlewareData:i,placement:s,platform:l,elements:f}=t,{crossAxis:u=!1,alignment:h,allowedPlacements:d=kl,autoAlignment:m=!0,...p}=I6(e,t),v=h!==void 0||d===kl?OS(h||null,m,d):d,g=await bc(t,p),x=((a=i.autoPlacement)==null?void 0:a.index)||0,z=v[x];if(z==null)return{};const C=Cm(z,n,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(s!==z)return{reset:{placement:v[0]}};const b=[g[Me(z)],g[C[0]],g[C[1]]],H=[...((c=i.autoPlacement)==null?void 0:c.overflows)||[],{placement:z,overflows:b}],V=v[x+1];if(V)return{data:{index:x+1,overflows:H},reset:{placement:V}};const y=H.map(Y=>{const F=W4(Y.placement);return[Y.placement,F&&u?Y.overflows.slice(0,2).reduce((L,j)=>L+j,0):Y.overflows[0],Y.overflows]}).sort((Y,F)=>Y[1]-F[1]),E=((r=y.filter(Y=>Y[2].slice(0,W4(Y[0])?2:3).every(F=>F<=0))[0])==null?void 0:r[0])||y[0][0];return E!==s?{data:{index:x+1,overflows:H},reset:{placement:E}}:{}}}},IS=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var a,c;const{placement:r,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:f}=t,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...g}=I6(e,t);if((a=n.arrow)!=null&&a.alignmentOffset)return{};const x=Me(r),z=L6(s),C=Me(s)===s,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),H=d||(C||!v?[V7(s)]:NS(s)),V=p!=="none";!d&&V&&H.push(...PS(s,v,p,b));const y=[s,...H],A=await bc(t,g),E=[];let Y=((c=n.flip)==null?void 0:c.overflows)||[];if(u&&E.push(A[x]),h){const c1=Cm(r,i,b);E.push(A[c1[0]],A[c1[1]])}if(Y=[...Y,{placement:r,overflows:E}],!E.every(c1=>c1<=0)){var F,L;const c1=(((F=n.flip)==null?void 0:F.index)||0)+1,P=y[c1];if(P)return{data:{index:c1,overflows:Y},reset:{placement:P}};let O=(L=Y.filter(X=>X.overflows[0]<=0).sort((X,f1)=>X.overflows[1]-f1.overflows[1])[0])==null?void 0:L.placement;if(!O)switch(m){case"bestFit":{var j;const X=(j=Y.filter(f1=>{if(V){const K=L6(f1.placement);return K===z||K==="y"}return!0}).map(f1=>[f1.placement,f1.overflows.filter(K=>K>0).reduce((K,v1)=>K+v1,0)]).sort((f1,K)=>f1[1]-K[1])[0])==null?void 0:j[0];X&&(O=X);break}case"initialPlacement":O=s;break}if(r!==O)return{reset:{placement:O}}}return{}}}};async function $S(e,t){const{placement:a,platform:c,elements:r}=e,n=await(c.isRTL==null?void 0:c.isRTL(r.floating)),i=Me(a),s=W4(a),l=L6(a)==="y",f=["left","top"].includes(i)?-1:1,u=n&&l?-1:1,h=I6(t,e);let{mainAxis:d,crossAxis:m,alignmentAxis:p}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return s&&typeof p=="number"&&(m=s==="end"?p*-1:p),l?{x:m*u,y:d*f}:{x:d*f,y:m*u}}const US=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var a,c;const{x:r,y:n,placement:i,middlewareData:s}=t,l=await $S(t,e);return i===((a=s.offset)==null?void 0:a.placement)&&(c=s.arrow)!=null&&c.alignmentOffset?{}:{x:r+l.x,y:n+l.y,data:{...l,placement:i}}}}},WS=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:a,y:c,placement:r}=t,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:g=>{let{x,y:z}=g;return{x,y:z}}},...l}=I6(e,t),f={x:a,y:c},u=await bc(t,l),h=L6(Me(r)),d=xm(h);let m=f[d],p=f[h];if(n){const g=d==="y"?"top":"left",x=d==="y"?"bottom":"right",z=m+u[g],C=m-u[x];m=On(z,m,C)}if(i){const g=h==="y"?"top":"left",x=h==="y"?"bottom":"right",z=p+u[g],C=p-u[x];p=On(z,p,C)}const v=s.fn({...t,[d]:m,[h]:p});return{...v,data:{x:v.x-a,y:v.y-c,enabled:{[d]:n,[h]:i}}}}}},YS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var a,c;const{placement:r,rects:n,platform:i,elements:s}=t,{apply:l=()=>{},...f}=I6(e,t),u=await bc(t,f),h=Me(r),d=W4(r),m=L6(r)==="y",{width:p,height:v}=n.floating;let g,x;h==="top"||h==="bottom"?(g=h,x=d===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(x=h,g=d==="end"?"top":"bottom");const z=v-u.top-u.bottom,C=p-u.left-u.right,b=Jt(v-u[g],z),H=Jt(p-u[x],C),V=!t.middlewareData.shift;let y=b,A=H;if((a=t.middlewareData.shift)!=null&&a.enabled.x&&(A=C),(c=t.middlewareData.shift)!=null&&c.enabled.y&&(y=z),V&&!d){const Y=o6(u.left,0),F=o6(u.right,0),L=o6(u.top,0),j=o6(u.bottom,0);m?A=p-2*(Y!==0||F!==0?Y+F:o6(u.left,u.right)):y=v-2*(L!==0||j!==0?L+j:o6(u.top,u.bottom))}await l({...t,availableWidth:A,availableHeight:y});const E=await i.getDimensions(s.floating);return p!==E.width||v!==E.height?{reset:{rects:!0}}:{}}}};function w4(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ve(e){return w4(e).getComputedStyle(e)}const Sl=Math.min,Lt=Math.max,w7=Math.round;function Mm(e){const t=ve(e);let a=parseFloat(t.width),c=parseFloat(t.height);const r=e.offsetWidth,n=e.offsetHeight,i=w7(a)!==r||w7(c)!==n;return i&&(a=r,c=n),{width:a,height:c,fallback:i}}function B0(e){return bm(e)?(e.nodeName||"").toLowerCase():""}let pa;function ym(){if(pa)return pa;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(pa=e.brands.map(t=>t.brand+"/"+t.version).join(" "),pa):navigator.userAgent}function ge(e){return e instanceof w4(e).HTMLElement}function k0(e){return e instanceof w4(e).Element}function bm(e){return e instanceof w4(e).Node}function Al(e){return typeof ShadowRoot>"u"?!1:e instanceof w4(e).ShadowRoot||e instanceof ShadowRoot}function Hc(e){const{overflow:t,overflowX:a,overflowY:c,display:r}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+c+a)&&!["inline","contents"].includes(r)}function jS(e){return["table","td","th"].includes(B0(e))}function Rn(e){const t=/firefox/i.test(ym()),a=ve(e),c=a.backdropFilter||a.WebkitBackdropFilter;return a.transform!=="none"||a.perspective!=="none"||!!c&&c!=="none"||t&&a.willChange==="filter"||t&&!!a.filter&&a.filter!=="none"||["transform","perspective"].some(r=>a.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const n=a.contain;return n!=null&&n.includes(r)})}function Hm(){return!/^((?!chrome|android).)*safari/i.test(ym())}function is(e){return["html","body","#document"].includes(B0(e))}function Vm(e){return k0(e)?e:e.contextElement}const wm={x:1,y:1};function g8(e){const t=Vm(e);if(!ge(t))return wm;const a=t.getBoundingClientRect(),{width:c,height:r,fallback:n}=Mm(t);let i=(n?w7(a.width):a.width)/c,s=(n?w7(a.height):a.height)/r;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function e5(e,t,a,c){var r,n;t===void 0&&(t=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),s=Vm(e);let l=wm;t&&(c?k0(c)&&(l=g8(c)):l=g8(e));const f=s?w4(s):window,u=!Hm()&&a;let h=(i.left+(u&&((r=f.visualViewport)==null?void 0:r.offsetLeft)||0))/l.x,d=(i.top+(u&&((n=f.visualViewport)==null?void 0:n.offsetTop)||0))/l.y,m=i.width/l.x,p=i.height/l.y;if(s){const v=w4(s),g=c&&k0(c)?w4(c):c;let x=v.frameElement;for(;x&&c&&g!==v;){const z=g8(x),C=x.getBoundingClientRect(),b=getComputedStyle(x);C.x+=(x.clientLeft+parseFloat(b.paddingLeft))*z.x,C.y+=(x.clientTop+parseFloat(b.paddingTop))*z.y,h*=z.x,d*=z.y,m*=z.x,p*=z.y,h+=C.x,d+=C.y,x=w4(x).frameElement}}return{width:m,height:p,top:d,right:h+m,bottom:d+p,left:h,x:h,y:d}}function L0(e){return((bm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Vc(e){return k0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _m(e){return e5(L0(e)).left+Vc(e).scrollLeft}function t5(e){if(B0(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Al(e)&&e.host||L0(e);return Al(t)?t.host:t}function km(e){const t=t5(e);return is(t)?t.ownerDocument.body:ge(t)&&Hc(t)?t:km(t)}function _7(e,t){var a;t===void 0&&(t=[]);const c=km(e),r=c===((a=e.ownerDocument)==null?void 0:a.body),n=w4(c);return r?t.concat(n,n.visualViewport||[],Hc(c)?c:[]):t.concat(c,_7(c))}function Tl(e,t,a){return t==="viewport"?kt(function(c,r){const n=w4(c),i=L0(c),s=n.visualViewport;let l=i.clientWidth,f=i.clientHeight,u=0,h=0;if(s){l=s.width,f=s.height;const d=Hm();(d||!d&&r==="fixed")&&(u=s.offsetLeft,h=s.offsetTop)}return{width:l,height:f,x:u,y:h}}(e,a)):k0(t)?kt(function(c,r){const n=e5(c,!0,r==="fixed"),i=n.top+c.clientTop,s=n.left+c.clientLeft,l=ge(c)?g8(c):{x:1,y:1};return{width:c.clientWidth*l.x,height:c.clientHeight*l.y,x:s*l.x,y:i*l.y}}(t,a)):kt(function(c){const r=L0(c),n=Vc(c),i=c.ownerDocument.body,s=Lt(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),l=Lt(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let f=-n.scrollLeft+_m(c);const u=-n.scrollTop;return ve(i).direction==="rtl"&&(f+=Lt(r.clientWidth,i.clientWidth)-s),{width:s,height:l,x:f,y:u}}(L0(e)))}function Nl(e){return ge(e)&&ve(e).position!=="fixed"?e.offsetParent:null}function El(e){const t=w4(e);let a=Nl(e);for(;a&&jS(a)&&ve(a).position==="static";)a=Nl(a);return a&&(B0(a)==="html"||B0(a)==="body"&&ve(a).position==="static"&&!Rn(a))?t:a||function(c){let r=t5(c);for(;ge(r)&&!is(r);){if(Rn(r))return r;r=t5(r)}return null}(e)||t}function GS(e,t,a){const c=ge(t),r=L0(t),n=e5(e,!0,a==="fixed",t);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(c||!c&&a!=="fixed")if((B0(t)!=="body"||Hc(r))&&(i=Vc(t)),ge(t)){const l=e5(t,!0);s.x=l.x+t.clientLeft,s.y=l.y+t.clientTop}else r&&(s.x=_m(r));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const qS={getClippingRect:function(e){let{element:t,boundary:a,rootBoundary:c,strategy:r}=e;const n=a==="clippingAncestors"?function(f,u){const h=u.get(f);if(h)return h;let d=_7(f).filter(g=>k0(g)&&B0(g)!=="body"),m=null;const p=ve(f).position==="fixed";let v=p?t5(f):f;for(;k0(v)&&!is(v);){const g=ve(v),x=Rn(v);(p?x||m:x||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:d=d.filter(z=>z!==v),v=t5(v)}return u.set(f,d),d}(t,this._c):[].concat(a),i=[...n,c],s=i[0],l=i.reduce((f,u)=>{const h=Tl(t,u,r);return f.top=Lt(h.top,f.top),f.right=Sl(h.right,f.right),f.bottom=Sl(h.bottom,f.bottom),f.left=Lt(h.left,f.left),f},Tl(t,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:a,strategy:c}=e;const r=ge(a),n=L0(a);if(a===n)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((r||!r&&c!=="fixed")&&((B0(a)!=="body"||Hc(n))&&(i=Vc(a)),ge(a))){const f=e5(a);s=g8(a),l.x=f.x+a.clientLeft,l.y=f.y+a.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:k0,getDimensions:function(e){return ge(e)?Mm(e):e.getBoundingClientRect()},getOffsetParent:El,getDocumentElement:L0,getScale:g8,async getElementRects(e){let{reference:t,floating:a,strategy:c}=e;const r=this.getOffsetParent||El,n=this.getDimensions;return{reference:GS(t,await r(a),c),floating:{x:0,y:0,...await n(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ve(e).direction==="rtl"},XS=(e,t,a)=>{const c=new Map,r={platform:qS,...a},n={...r.platform,_c:c};return DS(e,t,{...r,platform:n})};function Lm(e,t){for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(typeof t[a]=="object"&&e[a]?Lm(e[a],t[a]):e[a]=t[a])}const Y4={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function a5(e,t){let a=Y4.themes[e]||{},c;do c=a[t],typeof c>"u"?a.$extend?a=Y4.themes[a.$extend]||{}:(a=null,c=Y4[t]):a=null;while(a);return c}function ZS(e){const t=[e];let a=Y4.themes[e]||{};do a.$extend&&!a.$resetCss?(t.push(a.$extend),a=Y4.themes[a.$extend]||{}):a=null;while(a);return t.map(c=>`v-popper--theme-${c}`)}function Pl(e){const t=[e];let a=Y4.themes[e]||{};do a.$extend?(t.push(a.$extend),a=Y4.themes[a.$extend]||{}):a=null;while(a);return t}let w8=!1;if(typeof window<"u"){w8=!1;try{const e=Object.defineProperty({},"passive",{get(){w8=!0}});window.addEventListener("test",null,e)}catch{}}let Sm=!1;typeof window<"u"&&typeof navigator<"u"&&(Sm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Am=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Fl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Dl={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Bl(e,t){const a=e.indexOf(t);a!==-1&&e.splice(a,1)}function Er(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const E4=[];let a6=null;const Ol={};function Rl(e){let t=Ol[e];return t||(t=Ol[e]=[]),t}let In=function(){};typeof window<"u"&&(In=window.Element);function i2(e){return function(t){return a5(t.theme,e)}}const Pr="__floating-vue__popper",Tm=()=>o.defineComponent({name:"VPopper",provide(){return{[Pr]:{parentPopper:this}}},inject:{[Pr]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:i2("disabled")},positioningDisabled:{type:Boolean,default:i2("positioningDisabled")},placement:{type:String,default:i2("placement"),validator:e=>Am.includes(e)},delay:{type:[String,Number,Object],default:i2("delay")},distance:{type:[Number,String],default:i2("distance")},skidding:{type:[Number,String],default:i2("skidding")},triggers:{type:Array,default:i2("triggers")},showTriggers:{type:[Array,Function],default:i2("showTriggers")},hideTriggers:{type:[Array,Function],default:i2("hideTriggers")},popperTriggers:{type:Array,default:i2("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:i2("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:i2("popperHideTriggers")},container:{type:[String,Object,In,Boolean],default:i2("container")},boundary:{type:[String,In],default:i2("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:i2("strategy")},autoHide:{type:[Boolean,Function],default:i2("autoHide")},handleResize:{type:Boolean,default:i2("handleResize")},instantMove:{type:Boolean,default:i2("instantMove")},eagerMount:{type:Boolean,default:i2("eagerMount")},popperClass:{type:[String,Array,Object],default:i2("popperClass")},computeTransformOrigin:{type:Boolean,default:i2("computeTransformOrigin")},autoMinSize:{type:Boolean,default:i2("autoMinSize")},autoSize:{type:[Boolean,String],default:i2("autoSize")},autoMaxSize:{type:Boolean,default:i2("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:i2("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:i2("preventOverflow")},overflowPadding:{type:[Number,String],default:i2("overflowPadding")},arrowPadding:{type:[Number,String],default:i2("arrowPadding")},arrowOverflow:{type:Boolean,default:i2("arrowOverflow")},flip:{type:Boolean,default:i2("flip")},shift:{type:Boolean,default:i2("shift")},shiftCrossAxis:{type:Boolean,default:i2("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:i2("noAutoFocus")},disposeTimeout:{type:Number,default:i2("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Pr])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:a=!1}={}){var c,r;(c=this.parentPopper)!=null&&c.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(a||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(US({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(RS({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(WS({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(IS({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(BS({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:c,rects:r,middlewareData:n})=>{let i;const{centerOffset:s}=n.arrow;return c.startsWith("top")||c.startsWith("bottom")?i=Math.abs(s)>r.reference.width/2:i=Math.abs(s)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const c=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:n,middlewareData:i})=>{var s;if((s=i.autoSize)!=null&&s.skip)return{};let l,f;return n.startsWith("top")||n.startsWith("bottom")?l=r.reference.width:f=r.reference.height,this.$_innerNode.style[c==="min"?"minWidth":c==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[c==="min"?"minHeight":c==="max"?"maxHeight":"height"]=f!=null?`${f}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(YS({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:c,availableHeight:r})=>{this.$_innerNode.style.maxWidth=c!=null?`${c}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const a=await XS(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:{...a.middlewareData.arrow,...a.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),a6&&this.instantMove&&a6.instantMove&&a6!==this.parentPopper){a6.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(a6=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Er(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([..._7(this.$_referenceNode),..._7(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),c=a.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(c.left+a.offsetLeft),n=t.y+t.height/2-(c.top+a.offsetTop);this.result.transformOrigin=`${r}px ${n}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let a=0;a<E4.length;a++)t=E4[a],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}E4.push(this),document.body.classList.add("v-popper--some-open");for(const t of Pl(this.theme))Rl(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Er(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Bl(E4,this),E4.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Pl(this.theme)){const c=Rl(a);Bl(c,this),c.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}a6===this&&(a6=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Er(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,Fl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Fl,this.popperTriggers,this.popperShowTriggers,e);const t=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Dl,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Dl,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,a){this.$_events.push({targetNodes:e,eventType:t,handler:a}),e.forEach(c=>c.addEventListener(t,a,w8?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,a,c,r){let n=a;c!=null&&(n=typeof c=="function"?c(n):c),n.forEach(i=>{const s=t[i];s&&this.$_registerEventListeners(e,s,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(a=>{const{targetNodes:c,eventType:r,handler:n}=a;!e||e===r?c.forEach(i=>i.removeEventListener(r,n)):t.push(a)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const a of this.$_targetNodes){const c=a.getAttribute(e);c&&(a.removeAttribute(e),a.setAttribute(t,c))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const a in e){const c=e[a];c==null?t.removeAttribute(a):t.setAttribute(a,c)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(St>=e.left&&St<=e.right&&At>=e.top&&At<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),a=St-m0,c=At-p0,r=t.left+t.width/2-m0+(t.top+t.height/2)-p0+t.width+t.height,n=m0+a*r,i=p0+c*r;return va(m0,p0,n,i,t.left,t.top,t.left,t.bottom)||va(m0,p0,n,i,t.left,t.top,t.right,t.top)||va(m0,p0,n,i,t.right,t.top,t.right,t.bottom)||va(m0,p0,n,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Sm){const e=w8?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Il(t,!0),e),document.addEventListener("touchend",t=>$l(t,!0),e)}else window.addEventListener("mousedown",e=>Il(e,!1),!0),window.addEventListener("click",e=>$l(e,!1),!0);window.addEventListener("resize",KS)}function Il(e,t){if(Y4.autoHideOnMousedown)Nm(e,t);else for(let a=0;a<E4.length;a++){const c=E4[a];try{c.mouseDownContains=c.popperNode().contains(e.target)}catch{}}}function $l(e,t){Y4.autoHideOnMousedown||Nm(e,t)}function Nm(e,t){const a={};for(let c=E4.length-1;c>=0;c--){const r=E4[c];try{const n=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!a[r.randomId]&&Ul(r,n,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&n){let s=r.parentPopper;for(;s;)a[s.randomId]=!0,s=s.parentPopper;return}let i=r.parentPopper;for(;i&&Ul(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Ul(e,t,a){return a.closeAllPopover||a.closePopover&&t||QS(e,a)&&!t}function QS(e,t){if(typeof e.autoHide=="function"){const a=e.autoHide(t);return e.lastAutoHide=a,a}return e.autoHide}function KS(){for(let e=0;e<E4.length;e++)E4[e].$_computePosition()}let m0=0,p0=0,St=0,At=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{m0=St,p0=At,St=e.clientX,At=e.clientY},w8?{passive:!0}:void 0);function va(e,t,a,c,r,n,i,s){const l=((i-r)*(t-n)-(s-n)*(e-r))/((s-n)*(a-e)-(i-r)*(c-t)),f=((a-e)*(t-n)-(c-t)*(e-r))/((s-n)*(a-e)-(i-r)*(c-t));return l>=0&&l<=1&&f>=0&&f<=1}const JS={extends:Tm()},wc=(e,t)=>{const a=e.__vccOpts||e;for(const[c,r]of t)a[c]=r;return a};function eA(e,t,a,c,r,n){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const tA=wc(JS,[["render",eA]]);function aA(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var a=e.indexOf("Trident/");if(a>0){var c=e.indexOf("rv:");return parseInt(e.substring(c+3,e.indexOf(".",c)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let a7;function $n(){$n.init||($n.init=!0,a7=aA()!==-1)}var _c={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){$n(),o.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",a7&&this.$el.appendChild(e),e.data="about:blank",a7||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!a7&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const cA=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const rA={class:"resize-observer",tabindex:"-1"};o.popScopeId();const nA=cA((e,t,a,c,r,n)=>(o.openBlock(),o.createBlock("div",rA)));_c.render=nA;_c.__scopeId="data-v-b329ee4c";_c.__file="src/components/ResizeObserver.vue";const Em=(e="theme")=>({computed:{themeClass(){return ZS(this[e])}}}),iA=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:_c},mixins:[Em()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),sA=["id","aria-hidden","tabindex","data-popper-placement"],oA={ref:"inner",class:"v-popper__inner"},lA=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),fA=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),uA=[lA,fA];function hA(e,t,a,c,r,n){const i=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:o.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=o.withKeys(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=s=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",oA,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(i,{key:0,onNotify:t[1]||(t[1]=s=>e.$emit("resize",s))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},uA,4)],4)],46,sA)}const Pm=wc(iA,[["render",hA]]),Fm={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Un=function(){};typeof window<"u"&&(Un=window.Element);const dA=o.defineComponent({name:"VPopperWrapper",components:{Popper:tA,PopperContent:Pm},mixins:[Fm,Em("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Un,Boolean],default:void 0},boundary:{type:[String,Un],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function mA(e,t,a,c,r,n){const i=o.resolveComponent("PopperContent"),s=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(s,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:h,autoHide:d,show:m,hide:p,handleResize:v,onResize:g,classes:x,result:z})=>[o.renderSlot(e.$slots,"default",{shown:f,show:m,hide:p}),o.createVNode(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":v,classes:x,result:z,onHide:p,onResize:g},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:f,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ss=wc(dA,[["render",mA]]),pA={...ss,name:"VDropdown",vPopperTheme:"dropdown"},vA={...ss,name:"VMenu",vPopperTheme:"menu"},gA={...ss,name:"VTooltip",vPopperTheme:"tooltip"},xA=o.defineComponent({name:"VTooltipDirective",components:{Popper:Tm(),PopperContent:Pm},mixins:[Fm],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>a5(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>a5(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,a=this.content(this);a.then?a.then(c=>this.onResult(t,c)):this.onResult(t,a)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),CA=["innerHTML"],zA=["textContent"];function MA(e,t,a,c,r,n){const i=o.resolveComponent("PopperContent"),s=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(s,o.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:o.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:h,autoHide:d,hide:m,handleResize:p,onResize:v,classes:g,result:x})=>[o.createVNode(i,{ref:"popperContent",class:o.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:f,mounted:u,"skip-transition":h,"auto-hide":d,"handle-resize":p,classes:g,result:x,onHide:m,onResize:v},{default:o.withCtx(()=>[e.html?(o.openBlock(),o.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,CA)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,zA))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const yA=wc(xA,[["render",MA]]),Dm="v-popper--has-tooltip";function bA(e,t){let a=e.placement;if(!a&&t)for(const c of Am)t[c]&&(a=c);return a||(a=a5(e.theme||"tooltip","placement")),a}function Bm(e,t,a){let c;const r=typeof t;return r==="string"?c={content:t}:t&&r==="object"?c=t:c={content:!1},c.placement=bA(c,a),c.targetNodes=()=>[e],c.referenceNode=()=>e,c}let Fr,c5,HA=0;function VA(){if(Fr)return;c5=o.ref([]),Fr=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:c5}},render(){return this.directives.map(t=>o.h(yA,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Fr.mount(e)}function wA(e,t,a){VA();const c=o.ref(Bm(e,t,a)),r=o.ref(!1),n={id:HA++,options:c,shown:r};return c5.value.push(n),e.classList&&e.classList.add(Dm),e.$_popper={options:c,item:n,show(){r.value=!0},hide(){r.value=!1}}}function Om(e){if(e.$_popper){const t=c5.value.indexOf(e.$_popper.item);t!==-1&&c5.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Dm)}function Wl(e,{value:t,modifiers:a}){const c=Bm(e,t,a);if(!c.content||a5(c.theme||"tooltip","disabled"))Om(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=c):r=wA(e,t,a),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const _A={beforeMount:Wl,updated:Wl,beforeUnmount(e){Om(e)}};function Yl(e){e.addEventListener("mousedown",k7),e.addEventListener("click",k7),e.addEventListener("touchstart",Rm,w8?{passive:!0}:!1)}function jl(e){e.removeEventListener("mousedown",k7),e.removeEventListener("click",k7),e.removeEventListener("touchstart",Rm),e.removeEventListener("touchend",Im),e.removeEventListener("touchcancel",$m)}function k7(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Rm(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const a=e.changedTouches[0];t.$_vclosepopover_touchPoint=a,t.addEventListener("touchend",Im),t.addEventListener("touchcancel",$m)}}function Im(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],c=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-c.screenY)<20&&Math.abs(a.screenX-c.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function $m(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const kA={beforeMount(e,{value:t,modifiers:a}){e.$_closePopoverModifiers=a,(typeof t>"u"||t)&&Yl(e)},updated(e,{value:t,oldValue:a,modifiers:c}){e.$_closePopoverModifiers=c,t!==a&&(typeof t>"u"||t?Yl(e):jl(e))},beforeUnmount(e){jl(e)}};function LA(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Lm(Y4,t),e.directive("tooltip",_A),e.directive("close-popper",kA),e.component("VTooltip",gA),e.component("VDropdown",pA),e.component("VMenu",vA))}const SA={version:"5.2.2",install:LA,options:Y4},AA={themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:e=>[...e]}}};var Um={exports:{}};(function(e,t){(function(a,c){e.exports=c()})(self,()=>(()=>{var a={423:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.removeDuplicateItems=void 0,i.removeDuplicateItems=function(s,l="id"){return s.filter((f,u,h)=>u===h.findIndex(d=>d[l]===f[l]))}},621:function(n,i,s){var l=this&&this.__awaiter||function(h,d,m,p){return new(m||(m=Promise))(function(v,g){function x(b){try{C(p.next(b))}catch(H){g(H)}}function z(b){try{C(p.throw(b))}catch(H){g(H)}}function C(b){var H;b.done?v(b.value):(H=b.value,H instanceof m?H:new m(function(V){V(H)})).then(x,z)}C((p=p.apply(h,d||[])).next())})},f=this&&this.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(i,"__esModule",{value:!0}),i.getCoinValueInUsd=void 0;const u=f(s(425));i.getCoinValueInUsd=function(h){return l(this,void 0,void 0,function*(){try{return h==="ARS"?1/(yield u.default.get("https://dolarapi.com/v1/dolares/blue")).data.venta:["BTC","ETH","LTC","USDT"].includes(h)?(yield u.default.get("https://api.coincap.io/v2/assets")).data.data.find(d=>d.symbol===h).priceUsd:1/(yield u.default.get("https://v6.exchangerate-api.com/v6/65057543fdcbb1629e21c3a2/latest/USD")).data.conversion_rates[h]}catch{throw new Error(`Unable to get the value of ${h} at this time. Try again later.`)}})}},985:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0}),i.getNextDayStartDate=i.getPreviousDayStartDate=i.getCurrentDayStartDate=i.getNextMonthStartDate=i.getPreviousMonthStartDate=i.getCurrentMonthStartDate=i.getNextYearStartDate=i.getPreviousYearStartDate=i.getCurrentYearStartDate=void 0,i.getCurrentYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),0,1)},i.getPreviousYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear()-1,0,1)},i.getNextYearStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear()+1,0,1)},i.getCurrentMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),1)},i.getPreviousMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth()-1,1)},i.getNextMonthStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth()+1,1)},i.getCurrentDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate())},i.getPreviousDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate()-1)},i.getNextDayStartDate=function(s){const l=s||new Date;return new Date(l.getFullYear(),l.getMonth(),l.getDate()+1)}},905:(n,i)=>{function s(l,f,u="round"){return Math[u](l/f)*f}Object.defineProperty(i,"__esModule",{value:!0}),i.roundDecimals=i.roundNumber=i.sumWithUnits=void 0,i.sumWithUnits=function(l,...f){var u;const h=((u=l.match(/[a-zA-Z%]+/))===null||u===void 0?void 0:u[0])||"";return`${[l,...f].reduce((d,m)=>d+parseFloat(m),0)}${h}`},i.roundNumber=s,i.roundDecimals=function(l,f=0,u="round"){return s(l,1/Math.pow(10,f),u)}},563:(n,i)=>{function s(u){return JSON.parse(JSON.stringify(u))}function l(u){return!(!u||typeof u!="object"||Array.isArray(u))}function f(u,h){for(const d in h)l(h[d])?(u[d]||(u[d]={}),f(u[d],h[d])):u[d]=h[d]}Object.defineProperty(i,"__esModule",{value:!0}),i.filterKeysDeep=i.filterKeys=i.mergeDeep=i.merge=i.isObject=i.removeProps=i.copyAvailableFields=i.cloneObjectProperties=void 0,i.cloneObjectProperties=s,i.copyAvailableFields=function u(h,d){if(h&&d)for(const m in d)d.hasOwnProperty(m)&&h.hasOwnProperty(m)&&(typeof d[m]=="object"&&d[m]!==null?u(h[m],d[m]):h[m]=d[m])},i.removeProps=function(u,h){const d=s(u);return(Array.isArray(h)?h:[h]).forEach(m=>delete d[m]),d},i.isObject=l,i.merge=f,i.mergeDeep=function(u,h){const d={};return f(d,u),f(d,h),d},i.filterKeys=function(u,h){const d={},m=Object.keys(u);for(const p of m)d[p]=h[p];return d},i.filterKeysDeep=function u(h,d){const m={},p=Object.keys(h);for(const v of p)l(h[v])&&l(d[v])?m[v]=u(h[v],d[v]):m[v]=d[v];return m}},849:(n,i)=>{function s(l){return l.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}Object.defineProperty(i,"__esModule",{value:!0}),i.accentMap=i.generateCode=i.normalizeText=i.camelToKebab=i.camelToUpperSnake=i.camelToSnake=i.getFirstChartInUppercase=i.getFirstChartInLowercase=void 0,i.getFirstChartInLowercase=function(l){return`${l.charAt(0).toLowerCase()}${l.slice(1)}`},i.getFirstChartInUppercase=function(l){return`${l.charAt(0).toUpperCase()}${l.slice(1)}`},i.camelToSnake=s,i.camelToUpperSnake=function(l){return s(l).toUpperCase()},i.camelToKebab=function(l){return l.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/([A-Z])([A-Z][a-z])/g,"$1-$2").replace(/([A-Z])/g,"-$1").replace(/^-/,"").replace(/-+/g,"-").toLowerCase()},i.normalizeText=function(l){return l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase()},i.generateCode=function(l){const f=Math.pow(10,l-1),u=Math.pow(10,l)-1;return Math.floor(f+Math.random()*(u-f)).toString()},i.accentMap={a:"[aáàäâãå]",á:"[aáàäâãå]",à:"[aáàäâãå]",ä:"[aáàäâãå]",â:"[aáàäâãå]",ã:"[aáàäâãå]",å:"[aáàäâãå]",e:"[eéèëê]",é:"[eéèëê]",è:"[eéèëê]",ë:"[eéèëê]",ê:"[eéèëê]",i:"[iíìïî]",í:"[iíìïî]",ì:"[iíìïî]",ï:"[iíìïî]",î:"[iíìïî]",o:"[oóòöôõ]",ó:"[oóòöôõ]",ò:"[oóòöôõ]",ö:"[oóòöôõ]",ô:"[oóòöôõ]",õ:"[oóòöôõ]",u:"[uúùüû]",ú:"[uúùüû]",ù:"[uúùüû]",ü:"[uúùüû]",û:"[uúùüû]",n:"[nñ]",ñ:"[nñ]",c:"[cç]",ç:"[cç]"}},927:function(n,i,s){var l=this&&this.__createBinding||(Object.create?function(u,h,d,m){m===void 0&&(m=d);var p=Object.getOwnPropertyDescriptor(h,d);p&&!("get"in p?!h.__esModule:p.writable||p.configurable)||(p={enumerable:!0,get:function(){return h[d]}}),Object.defineProperty(u,m,p)}:function(u,h,d,m){m===void 0&&(m=d),u[m]=h[d]}),f=this&&this.__exportStar||function(u,h){for(var d in u)d==="default"||Object.prototype.hasOwnProperty.call(h,d)||l(h,u,d)};Object.defineProperty(i,"__esModule",{value:!0}),f(s(423),i),f(s(621),i),f(s(985),i),f(s(905),i),f(s(563),i),f(s(849),i),f(s(574),i)},574:(n,i)=>{Object.defineProperty(i,"__esModule",{value:!0})},425:(n,i,s)=>{function l(M,_){return function(){return M.apply(_,arguments)}}const{toString:f}=Object.prototype,{getPrototypeOf:u}=Object,h=(d=Object.create(null),M=>{const _=f.call(M);return d[_]||(d[_]=_.slice(8,-1).toLowerCase())});var d;const m=M=>(M=M.toLowerCase(),_=>h(_)===M),p=M=>_=>typeof _===M,{isArray:v}=Array,g=p("undefined"),x=m("ArrayBuffer"),z=p("string"),C=p("function"),b=p("number"),H=M=>M!==null&&typeof M=="object",V=M=>{if(h(M)!=="object")return!1;const _=u(M);return!(_!==null&&_!==Object.prototype&&Object.getPrototypeOf(_)!==null||Symbol.toStringTag in M||Symbol.iterator in M)},y=m("Date"),A=m("File"),E=m("Blob"),Y=m("FileList"),F=m("URLSearchParams");function L(M,_,{allOwnKeys:N=!1}={}){if(M==null)return;let W,J;if(typeof M!="object"&&(M=[M]),v(M))for(W=0,J=M.length;W<J;W++)_.call(null,M[W],W,M);else{const a1=N?Object.getOwnPropertyNames(M):Object.keys(M),e1=a1.length;let m1;for(W=0;W<e1;W++)m1=a1[W],_.call(null,M[m1],m1,M)}}function j(M,_){_=_.toLowerCase();const N=Object.keys(M);let W,J=N.length;for(;J-- >0;)if(W=N[J],_===W.toLowerCase())return W;return null}const c1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:s.g,P=M=>!g(M)&&M!==c1,O=(X=typeof Uint8Array<"u"&&u(Uint8Array),M=>X&&M instanceof X);var X;const f1=m("HTMLFormElement"),K=(({hasOwnProperty:M})=>(_,N)=>M.call(_,N))(Object.prototype),v1=m("RegExp"),r1=(M,_)=>{const N=Object.getOwnPropertyDescriptors(M),W={};L(N,(J,a1)=>{let e1;(e1=_(J,a1,M))!==!1&&(W[a1]=e1||J)}),Object.defineProperties(M,W)},S="abcdefghijklmnopqrstuvwxyz",k="0123456789",D={DIGIT:k,ALPHA:S,ALPHA_DIGIT:S+S.toUpperCase()+k},G=m("AsyncFunction");var B={isArray:v,isArrayBuffer:x,isBuffer:function(M){return M!==null&&!g(M)&&M.constructor!==null&&!g(M.constructor)&&C(M.constructor.isBuffer)&&M.constructor.isBuffer(M)},isFormData:M=>{let _;return M&&(typeof FormData=="function"&&M instanceof FormData||C(M.append)&&((_=h(M))==="formdata"||_==="object"&&C(M.toString)&&M.toString()==="[object FormData]"))},isArrayBufferView:function(M){let _;return _=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(M):M&&M.buffer&&x(M.buffer),_},isString:z,isNumber:b,isBoolean:M=>M===!0||M===!1,isObject:H,isPlainObject:V,isUndefined:g,isDate:y,isFile:A,isBlob:E,isRegExp:v1,isFunction:C,isStream:M=>H(M)&&C(M.pipe),isURLSearchParams:F,isTypedArray:O,isFileList:Y,forEach:L,merge:function M(){const{caseless:_}=P(this)&&this||{},N={},W=(J,a1)=>{const e1=_&&j(N,a1)||a1;V(N[e1])&&V(J)?N[e1]=M(N[e1],J):V(J)?N[e1]=M({},J):v(J)?N[e1]=J.slice():N[e1]=J};for(let J=0,a1=arguments.length;J<a1;J++)arguments[J]&&L(arguments[J],W);return N},extend:(M,_,N,{allOwnKeys:W}={})=>(L(_,(J,a1)=>{N&&C(J)?M[a1]=l(J,N):M[a1]=J},{allOwnKeys:W}),M),trim:M=>M.trim?M.trim():M.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:M=>(M.charCodeAt(0)===65279&&(M=M.slice(1)),M),inherits:(M,_,N,W)=>{M.prototype=Object.create(_.prototype,W),M.prototype.constructor=M,Object.defineProperty(M,"super",{value:_.prototype}),N&&Object.assign(M.prototype,N)},toFlatObject:(M,_,N,W)=>{let J,a1,e1;const m1={};if(_=_||{},M==null)return _;do{for(J=Object.getOwnPropertyNames(M),a1=J.length;a1-- >0;)e1=J[a1],W&&!W(e1,M,_)||m1[e1]||(_[e1]=M[e1],m1[e1]=!0);M=N!==!1&&u(M)}while(M&&(!N||N(M,_))&&M!==Object.prototype);return _},kindOf:h,kindOfTest:m,endsWith:(M,_,N)=>{M=String(M),(N===void 0||N>M.length)&&(N=M.length),N-=_.length;const W=M.indexOf(_,N);return W!==-1&&W===N},toArray:M=>{if(!M)return null;if(v(M))return M;let _=M.length;if(!b(_))return null;const N=new Array(_);for(;_-- >0;)N[_]=M[_];return N},forEachEntry:(M,_)=>{const N=(M&&M[Symbol.iterator]).call(M);let W;for(;(W=N.next())&&!W.done;){const J=W.value;_.call(M,J[0],J[1])}},matchAll:(M,_)=>{let N;const W=[];for(;(N=M.exec(_))!==null;)W.push(N);return W},isHTMLForm:f1,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:r1,freezeMethods:M=>{r1(M,(_,N)=>{if(C(M)&&["arguments","caller","callee"].indexOf(N)!==-1)return!1;const W=M[N];C(W)&&(_.enumerable=!1,"writable"in _?_.writable=!1:_.set||(_.set=()=>{throw Error("Can not rewrite read-only method '"+N+"'")}))})},toObjectSet:(M,_)=>{const N={},W=J=>{J.forEach(a1=>{N[a1]=!0})};return v(M)?W(M):W(String(M).split(_)),N},toCamelCase:M=>M.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(_,N,W){return N.toUpperCase()+W}),noop:()=>{},toFiniteNumber:(M,_)=>(M=+M,Number.isFinite(M)?M:_),findKey:j,global:c1,isContextDefined:P,ALPHABET:D,generateString:(M=16,_=D.ALPHA_DIGIT)=>{let N="";const{length:W}=_;for(;M--;)N+=_[Math.random()*W|0];return N},isSpecCompliantForm:function(M){return!!(M&&C(M.append)&&M[Symbol.toStringTag]==="FormData"&&M[Symbol.iterator])},toJSONObject:M=>{const _=new Array(10),N=(W,J)=>{if(H(W)){if(_.indexOf(W)>=0)return;if(!("toJSON"in W)){_[J]=W;const a1=v(W)?[]:{};return L(W,(e1,m1)=>{const b1=N(e1,J+1);!g(b1)&&(a1[m1]=b1)}),_[J]=void 0,a1}}return W};return N(M,0)},isAsyncFn:G,isThenable:M=>M&&(H(M)||C(M))&&C(M.then)&&C(M.catch)};function I(M,_,N,W,J){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=M,this.name="AxiosError",_&&(this.code=_),N&&(this.config=N),W&&(this.request=W),J&&(this.response=J)}B.inherits(I,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const p1=I.prototype,M1={};function n1(M){return B.isPlainObject(M)||B.isArray(M)}function C1(M){return B.endsWith(M,"[]")?M.slice(0,-2):M}function w(M,_,N){return M?M.concat(_).map(function(W,J){return W=C1(W),!N&&J?"["+W+"]":W}).join(N?".":""):_}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(M=>{M1[M]={value:M}}),Object.defineProperties(I,M1),Object.defineProperty(p1,"isAxiosError",{value:!0}),I.from=(M,_,N,W,J,a1)=>{const e1=Object.create(p1);return B.toFlatObject(M,e1,function(m1){return m1!==Error.prototype},m1=>m1!=="isAxiosError"),I.call(e1,M.message,_,N,W,J),e1.cause=M,e1.name=M.name,a1&&Object.assign(e1,a1),e1};const z1=B.toFlatObject(B,{},null,function(M){return/^is[A-Z]/.test(M)});function V1(M,_,N){if(!B.isObject(M))throw new TypeError("target must be an object");_=_||new FormData;const W=(N=B.toFlatObject(N,{metaTokens:!0,dots:!1,indexes:!1},!1,function(P1,K1){return!B.isUndefined(K1[P1])})).metaTokens,J=N.visitor||w1,a1=N.dots,e1=N.indexes,m1=(N.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(_);if(!B.isFunction(J))throw new TypeError("visitor must be a function");function b1(P1){if(P1===null)return"";if(B.isDate(P1))return P1.toISOString();if(!m1&&B.isBlob(P1))throw new I("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(P1)||B.isTypedArray(P1)?m1&&typeof Blob=="function"?new Blob([P1]):Buffer.from(P1):P1}function w1(P1,K1,E1){let e2=P1;if(P1&&!E1&&typeof P1=="object"){if(B.endsWith(K1,"{}"))K1=W?K1:K1.slice(0,-2),P1=JSON.stringify(P1);else if(B.isArray(P1)&&function(w2){return B.isArray(w2)&&!w2.some(n1)}(P1)||(B.isFileList(P1)||B.endsWith(K1,"[]"))&&(e2=B.toArray(P1)))return K1=C1(K1),e2.forEach(function(w2,J2){!B.isUndefined(w2)&&w2!==null&&_.append(e1===!0?w([K1],J2,a1):e1===null?K1:K1+"[]",b1(w2))}),!1}return!!n1(P1)||(_.append(w(E1,K1,a1),b1(P1)),!1)}const x1=[],F1=Object.assign(z1,{defaultVisitor:w1,convertValue:b1,isVisitable:n1});if(!B.isObject(M))throw new TypeError("data must be an object");return function P1(K1,E1){if(!B.isUndefined(K1)){if(x1.indexOf(K1)!==-1)throw Error("Circular reference detected in "+E1.join("."));x1.push(K1),B.forEach(K1,function(e2,w2){(!(B.isUndefined(e2)||e2===null)&&J.call(_,e2,B.isString(w2)?w2.trim():w2,E1,F1))===!0&&P1(e2,E1?E1.concat(w2):[w2])}),x1.pop()}}(M),_}function h1(M){const _={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(M).replace(/[!'()~]|%20|%00/g,function(N){return _[N]})}function t1(M,_){this._pairs=[],M&&V1(M,this,_)}const i1=t1.prototype;function A1(M){return encodeURIComponent(M).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function W1(M,_,N){if(!_)return M;const W=N&&N.encode||A1,J=N&&N.serialize;let a1;if(a1=J?J(_,N):B.isURLSearchParams(_)?_.toString():new t1(_,N).toString(W),a1){const e1=M.indexOf("#");e1!==-1&&(M=M.slice(0,e1)),M+=(M.indexOf("?")===-1?"?":"&")+a1}return M}i1.append=function(M,_){this._pairs.push([M,_])},i1.toString=function(M){const _=M?function(N){return M.call(this,N,h1)}:h1;return this._pairs.map(function(N){return _(N[0])+"="+_(N[1])},"").join("&")};var $1=class{constructor(){this.handlers=[]}use(M,_,N){return this.handlers.push({fulfilled:M,rejected:_,synchronous:!!N&&N.synchronous,runWhen:N?N.runWhen:null}),this.handlers.length-1}eject(M){this.handlers[M]&&(this.handlers[M]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(M){B.forEach(this.handlers,function(_){_!==null&&M(_)})}},L1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},H3={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:t1,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]};const R2=typeof window<"u"&&typeof document<"u",d3=(V3=typeof navigator<"u"&&navigator.product,R2&&["ReactNative","NativeScript","NS"].indexOf(V3)<0);var V3;const F2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var W2={...Object.freeze({__proto__:null,hasBrowserEnv:R2,hasStandardBrowserWebWorkerEnv:F2,hasStandardBrowserEnv:d3}),...H3};function Y2(M){function _(N,W,J,a1){let e1=N[a1++];if(e1==="__proto__")return!0;const m1=Number.isFinite(+e1),b1=a1>=N.length;return e1=!e1&&B.isArray(J)?J.length:e1,b1?(B.hasOwnProp(J,e1)?J[e1]=[J[e1],W]:J[e1]=W,!m1):(J[e1]&&B.isObject(J[e1])||(J[e1]=[]),_(N,W,J[e1],a1)&&B.isArray(J[e1])&&(J[e1]=function(w1){const x1={},F1=Object.keys(w1);let P1;const K1=F1.length;let E1;for(P1=0;P1<K1;P1++)E1=F1[P1],x1[E1]=w1[E1];return x1}(J[e1])),!m1)}if(B.isFormData(M)&&B.isFunction(M.entries)){const N={};return B.forEachEntry(M,(W,J)=>{_(function(a1){return B.matchAll(/\w+|\[(\w*)]/g,a1).map(e1=>e1[0]==="[]"?"":e1[1]||e1[0])}(W),J,N,0)}),N}return null}const m3={transitional:L1,adapter:["xhr","http"],transformRequest:[function(M,_){const N=_.getContentType()||"",W=N.indexOf("application/json")>-1,J=B.isObject(M);if(J&&B.isHTMLForm(M)&&(M=new FormData(M)),B.isFormData(M))return W?JSON.stringify(Y2(M)):M;if(B.isArrayBuffer(M)||B.isBuffer(M)||B.isStream(M)||B.isFile(M)||B.isBlob(M))return M;if(B.isArrayBufferView(M))return M.buffer;if(B.isURLSearchParams(M))return _.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),M.toString();let a1;if(J){if(N.indexOf("application/x-www-form-urlencoded")>-1)return function(e1,m1){return V1(e1,new W2.classes.URLSearchParams,Object.assign({visitor:function(b1,w1,x1,F1){return W2.isNode&&B.isBuffer(b1)?(this.append(w1,b1.toString("base64")),!1):F1.defaultVisitor.apply(this,arguments)}},m1))}(M,this.formSerializer).toString();if((a1=B.isFileList(M))||N.indexOf("multipart/form-data")>-1){const e1=this.env&&this.env.FormData;return V1(a1?{"files[]":M}:M,e1&&new e1,this.formSerializer)}}return J||W?(_.setContentType("application/json",!1),function(e1,m1,b1){if(B.isString(e1))try{return(0,JSON.parse)(e1),B.trim(e1)}catch(w1){if(w1.name!=="SyntaxError")throw w1}return(0,JSON.stringify)(e1)}(M)):M}],transformResponse:[function(M){const _=this.transitional||m3.transitional,N=_&&_.forcedJSONParsing,W=this.responseType==="json";if(M&&B.isString(M)&&(N&&!this.responseType||W)){const J=!(_&&_.silentJSONParsing)&&W;try{return JSON.parse(M)}catch(a1){if(J)throw a1.name==="SyntaxError"?I.from(a1,I.ERR_BAD_RESPONSE,this,null,this.response):a1}}return M}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:W2.classes.FormData,Blob:W2.classes.Blob},validateStatus:function(M){return M>=200&&M<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],M=>{m3.headers[M]={}});var U1=m3;const z2=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),p3=Symbol("internals");function v2(M){return M&&String(M).trim().toLowerCase()}function N3(M){return M===!1||M==null?M:B.isArray(M)?M.map(N3):String(M)}function ce(M,_,N,W,J){return B.isFunction(W)?W.call(this,_,N):(J&&(_=N),B.isString(_)?B.isString(W)?_.indexOf(W)!==-1:B.isRegExp(W)?W.test(_):void 0:void 0)}class l1{constructor(_){_&&this.set(_)}set(_,N,W){const J=this;function a1(m1,b1,w1){const x1=v2(b1);if(!x1)throw new Error("header name must be a non-empty string");const F1=B.findKey(J,x1);(!F1||J[F1]===void 0||w1===!0||w1===void 0&&J[F1]!==!1)&&(J[F1||b1]=N3(m1))}const e1=(m1,b1)=>B.forEach(m1,(w1,x1)=>a1(w1,x1,b1));return B.isPlainObject(_)||_ instanceof this.constructor?e1(_,N):B.isString(_)&&(_=_.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(_.trim())?e1((m1=>{const b1={};let w1,x1,F1;return m1&&m1.split(`
|
|
2
2
|
`).forEach(function(P1){F1=P1.indexOf(":"),w1=P1.substring(0,F1).trim().toLowerCase(),x1=P1.substring(F1+1).trim(),!w1||b1[w1]&&z2[w1]||(w1==="set-cookie"?b1[w1]?b1[w1].push(x1):b1[w1]=[x1]:b1[w1]=b1[w1]?b1[w1]+", "+x1:x1)}),b1})(_),N):_!=null&&a1(N,_,W),this}get(_,N){if(_=v2(_)){const W=B.findKey(this,_);if(W){const J=this[W];if(!N)return J;if(N===!0)return function(a1){const e1=Object.create(null),m1=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let b1;for(;b1=m1.exec(a1);)e1[b1[1]]=b1[2];return e1}(J);if(B.isFunction(N))return N.call(this,J,W);if(B.isRegExp(N))return N.exec(J);throw new TypeError("parser must be boolean|regexp|function")}}}has(_,N){if(_=v2(_)){const W=B.findKey(this,_);return!(!W||this[W]===void 0||N&&!ce(0,this[W],W,N))}return!1}delete(_,N){const W=this;let J=!1;function a1(e1){if(e1=v2(e1)){const m1=B.findKey(W,e1);!m1||N&&!ce(0,W[m1],m1,N)||(delete W[m1],J=!0)}}return B.isArray(_)?_.forEach(a1):a1(_),J}clear(_){const N=Object.keys(this);let W=N.length,J=!1;for(;W--;){const a1=N[W];_&&!ce(0,this[a1],a1,_,!0)||(delete this[a1],J=!0)}return J}normalize(_){const N=this,W={};return B.forEach(this,(J,a1)=>{const e1=B.findKey(W,a1);if(e1)return N[e1]=N3(J),void delete N[a1];const m1=_?function(b1){return b1.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(w1,x1,F1)=>x1.toUpperCase()+F1)}(a1):String(a1).trim();m1!==a1&&delete N[a1],N[m1]=N3(J),W[m1]=!0}),this}concat(..._){return this.constructor.concat(this,..._)}toJSON(_){const N=Object.create(null);return B.forEach(this,(W,J)=>{W!=null&&W!==!1&&(N[J]=_&&B.isArray(W)?W.join(", "):W)}),N}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([_,N])=>_+": "+N).join(`
|
|
3
3
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(_){return _ instanceof this?_:new this(_)}static concat(_,...N){const W=new this(_);return N.forEach(J=>W.set(J)),W}static accessor(_){const N=(this[p3]=this[p3]={accessors:{}}).accessors,W=this.prototype;function J(a1){const e1=v2(a1);N[e1]||(function(m1,b1){const w1=B.toCamelCase(" "+b1);["get","set","has"].forEach(x1=>{Object.defineProperty(m1,x1+w1,{value:function(F1,P1,K1){return this[x1].call(this,b1,F1,P1,K1)},configurable:!0})})}(W,a1),N[e1]=!0)}return B.isArray(_)?_.forEach(J):J(_),this}}l1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(l1.prototype,({value:M},_)=>{let N=_[0].toUpperCase()+_.slice(1);return{get:()=>M,set(W){this[N]=W}}}),B.freezeMethods(l1);var s1=l1;function y1(M,_){const N=this||U1,W=_||N,J=s1.from(W.headers);let a1=W.data;return B.forEach(M,function(e1){a1=e1.call(N,a1,J.normalize(),_?_.status:void 0)}),J.normalize(),a1}function k1(M){return!(!M||!M.__CANCEL__)}function J1(M,_,N){I.call(this,M??"canceled",I.ERR_CANCELED,_,N),this.name="CanceledError"}B.inherits(J1,I,{__CANCEL__:!0});var K2=W2.hasStandardBrowserEnv?{write(M,_,N,W,J,a1){const e1=[M+"="+encodeURIComponent(_)];B.isNumber(N)&&e1.push("expires="+new Date(N).toGMTString()),B.isString(W)&&e1.push("path="+W),B.isString(J)&&e1.push("domain="+J),a1===!0&&e1.push("secure"),document.cookie=e1.join("; ")},read(M){const _=document.cookie.match(new RegExp("(^|;\\s*)("+M+")=([^;]*)"));return _?decodeURIComponent(_[3]):null},remove(M){this.write(M,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function s4(M,_){return M&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(_)?function(N,W){return W?N.replace(/\/?\/$/,"")+"/"+W.replace(/^\/+/,""):N}(M,_):_}var z4=W2.hasStandardBrowserEnv?function(){const M=/(msie|trident)/i.test(navigator.userAgent),_=document.createElement("a");let N;function W(J){let a1=J;return M&&(_.setAttribute("href",a1),a1=_.href),_.setAttribute("href",a1),{href:_.href,protocol:_.protocol?_.protocol.replace(/:$/,""):"",host:_.host,search:_.search?_.search.replace(/^\?/,""):"",hash:_.hash?_.hash.replace(/^#/,""):"",hostname:_.hostname,port:_.port,pathname:_.pathname.charAt(0)==="/"?_.pathname:"/"+_.pathname}}return N=W(window.location.href),function(J){const a1=B.isString(J)?W(J):J;return a1.protocol===N.protocol&&a1.host===N.host}}():function(){return!0};function Se(M,_){let N=0;const W=function(J,a1){J=J||10;const e1=new Array(J),m1=new Array(J);let b1,w1=0,x1=0;return a1=a1!==void 0?a1:1e3,function(F1){const P1=Date.now(),K1=m1[x1];b1||(b1=P1),e1[w1]=F1,m1[w1]=P1;let E1=x1,e2=0;for(;E1!==w1;)e2+=e1[E1++],E1%=J;if(w1=(w1+1)%J,w1===x1&&(x1=(x1+1)%J),P1-b1<a1)return;const w2=K1&&P1-K1;return w2?Math.round(1e3*e2/w2):void 0}}(50,250);return J=>{const a1=J.loaded,e1=J.lengthComputable?J.total:void 0,m1=a1-N,b1=W(m1);N=a1;const w1={loaded:a1,total:e1,progress:e1?a1/e1:void 0,bytes:m1,rate:b1||void 0,estimated:b1&&e1&&a1<=e1?(e1-a1)/b1:void 0,event:J};w1[_?"download":"upload"]=!0,M(w1)}}const re={http:null,xhr:typeof XMLHttpRequest<"u"&&function(M){return new Promise(function(_,N){let W=M.data;const J=s1.from(M.headers).normalize();let a1,e1,{responseType:m1,withXSRFToken:b1}=M;function w1(){M.cancelToken&&M.cancelToken.unsubscribe(a1),M.signal&&M.signal.removeEventListener("abort",a1)}if(B.isFormData(W)){if(W2.hasStandardBrowserEnv||W2.hasStandardBrowserWebWorkerEnv)J.setContentType(!1);else if((e1=J.getContentType())!==!1){const[E1,...e2]=e1?e1.split(";").map(w2=>w2.trim()).filter(Boolean):[];J.setContentType([E1||"multipart/form-data",...e2].join("; "))}}let x1=new XMLHttpRequest;if(M.auth){const E1=M.auth.username||"",e2=M.auth.password?unescape(encodeURIComponent(M.auth.password)):"";J.set("Authorization","Basic "+btoa(E1+":"+e2))}const F1=s4(M.baseURL,M.url);function P1(){if(!x1)return;const E1=s1.from("getAllResponseHeaders"in x1&&x1.getAllResponseHeaders());(function(e2,w2,J2){const Vl=J2.config.validateStatus;J2.status&&Vl&&!Vl(J2.status)?w2(new I("Request failed with status code "+J2.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(J2.status/100)-4],J2.config,J2.request,J2)):e2(J2)})(function(e2){_(e2),w1()},function(e2){N(e2),w1()},{data:m1&&m1!=="text"&&m1!=="json"?x1.response:x1.responseText,status:x1.status,statusText:x1.statusText,headers:E1,config:M,request:x1}),x1=null}if(x1.open(M.method.toUpperCase(),W1(F1,M.params,M.paramsSerializer),!0),x1.timeout=M.timeout,"onloadend"in x1?x1.onloadend=P1:x1.onreadystatechange=function(){x1&&x1.readyState===4&&(x1.status!==0||x1.responseURL&&x1.responseURL.indexOf("file:")===0)&&setTimeout(P1)},x1.onabort=function(){x1&&(N(new I("Request aborted",I.ECONNABORTED,M,x1)),x1=null)},x1.onerror=function(){N(new I("Network Error",I.ERR_NETWORK,M,x1)),x1=null},x1.ontimeout=function(){let E1=M.timeout?"timeout of "+M.timeout+"ms exceeded":"timeout exceeded";const e2=M.transitional||L1;M.timeoutErrorMessage&&(E1=M.timeoutErrorMessage),N(new I(E1,e2.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,M,x1)),x1=null},W2.hasStandardBrowserEnv&&(b1&&B.isFunction(b1)&&(b1=b1(M)),b1||b1!==!1&&z4(F1))){const E1=M.xsrfHeaderName&&M.xsrfCookieName&&K2.read(M.xsrfCookieName);E1&&J.set(M.xsrfHeaderName,E1)}W===void 0&&J.setContentType(null),"setRequestHeader"in x1&&B.forEach(J.toJSON(),function(E1,e2){x1.setRequestHeader(e2,E1)}),B.isUndefined(M.withCredentials)||(x1.withCredentials=!!M.withCredentials),m1&&m1!=="json"&&(x1.responseType=M.responseType),typeof M.onDownloadProgress=="function"&&x1.addEventListener("progress",Se(M.onDownloadProgress,!0)),typeof M.onUploadProgress=="function"&&x1.upload&&x1.upload.addEventListener("progress",Se(M.onUploadProgress)),(M.cancelToken||M.signal)&&(a1=E1=>{x1&&(N(!E1||E1.type?new J1(null,M,x1):E1),x1.abort(),x1=null)},M.cancelToken&&M.cancelToken.subscribe(a1),M.signal&&(M.signal.aborted?a1():M.signal.addEventListener("abort",a1)));const K1=function(E1){const e2=/^([-+\w]{1,25})(:?\/\/|:)/.exec(E1);return e2&&e2[1]||""}(F1);K1&&W2.protocols.indexOf(K1)===-1?N(new I("Unsupported protocol "+K1+":",I.ERR_BAD_REQUEST,M)):x1.send(W||null)})}};B.forEach(re,(M,_)=>{if(M){try{Object.defineProperty(M,"name",{value:_})}catch{}Object.defineProperty(M,"adapterName",{value:_})}});const o4=M=>`- ${M}`,t6=M=>B.isFunction(M)||M===null||M===!1;var t8=M=>{M=B.isArray(M)?M:[M];const{length:_}=M;let N,W;const J={};for(let a1=0;a1<_;a1++){let e1;if(N=M[a1],W=N,!t6(N)&&(W=re[(e1=String(N)).toLowerCase()],W===void 0))throw new I(`Unknown adapter '${e1}'`);if(W)break;J[e1||"#"+a1]=W}if(!W){const a1=Object.entries(J).map(([e1,m1])=>`adapter ${e1} `+(m1===!1?"is not supported by the environment":"is not available in the build"));throw new I("There is no suitable adapter to dispatch the request "+(_?a1.length>1?`since :
|
|
4
4
|
`+a1.map(o4).join(`
|