pangea-lib 2.11.626 → 2.11.627
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.es.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(w){return w instanceof this?w:new this(w)}static concat(w,...T){const Y=new this(w);return T.forEach(K=>Y.set(K)),Y}static accessor(w){const T=(this[l3]=this[l3]={accessors:{}}).accessors,Y=this.prototype;function K(t1){const e1=d2(t1);T[e1]||(function(h1,M1){const V1=B.toCamelCase(" "+M1);["get","set","has"].forEach(x1=>{Object.defineProperty(h1,x1+V1,{value:function(P1,D1,Z1){return this[x1].call(this,M1,P1,D1,Z1)},configurable:!0})})}(Y,t1),T[e1]=!0)}return B.isArray(w)?w.forEach(K):K(w),this}}s1.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.reduceDescriptors(s1.prototype,({value:M},w)=>{let T=w[0].toUpperCase()+w.slice(1);return{get:()=>M,set(Y){this[T]=Y}}}),B.freezeMethods(s1);var H1=s1;function p1(M,w){const T=this||U1,Y=w||T,K=H1.from(Y.headers);let t1=Y.data;return B.forEach(M,function(e1){t1=e1.call(T,t1,K.normalize(),w?w.status:void 0)}),K.normalize(),t1}function w1(M){return!(!M||!M.__CANCEL__)}function k1(M,w,T){I.call(this,M??"canceled",I.ERR_CANCELED,w,T),this.name="CanceledError"}B.inherits(k1,I,{__CANCEL__:!0});var f3=I2.hasStandardBrowserEnv?{write(M,w,T,Y,K,t1){const e1=[M+"="+encodeURIComponent(w)];B.isNumber(T)&&e1.push("expires="+new Date(T).toGMTString()),B.isString(Y)&&e1.push("path="+Y),B.isString(K)&&e1.push("domain="+K),t1===!0&&e1.push("secure"),document.cookie=e1.join("; ")},read(M){const w=document.cookie.match(new RegExp("(^|;\\s*)("+M+")=([^;]*)"));return w?decodeURIComponent(w[3]):null},remove(M){this.write(M,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function w3(M,w){return M&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(w)?function(T,Y){return Y?T.replace(/\/?\/$/,"")+"/"+Y.replace(/^\/+/,""):T}(M,w):w}var K3=I2.hasStandardBrowserEnv?function(){const M=/(msie|trident)/i.test(navigator.userAgent),w=document.createElement("a");let T;function Y(K){let t1=K;return M&&(w.setAttribute("href",t1),t1=w.href),w.setAttribute("href",t1),{href:w.href,protocol:w.protocol?w.protocol.replace(/:$/,""):"",host:w.host,search:w.search?w.search.replace(/^\?/,""):"",hash:w.hash?w.hash.replace(/^#/,""):"",hostname:w.hostname,port:w.port,pathname:w.pathname.charAt(0)==="/"?w.pathname:"/"+w.pathname}}return T=Y(window.location.href),function(K){const t1=B.isString(K)?Y(K):K;return t1.protocol===T.protocol&&t1.host===T.host}}():function(){return!0};function He(M,w){let T=0;const Y=function(K,t1){K=K||10;const e1=new Array(K),h1=new Array(K);let M1,V1=0,x1=0;return t1=t1!==void 0?t1:1e3,function(P1){const D1=Date.now(),Z1=h1[x1];M1||(M1=D1),e1[V1]=P1,h1[V1]=D1;let E1=x1,Q1=0;for(;E1!==V1;)Q1+=e1[E1++],E1%=K;if(V1=(V1+1)%K,V1===x1&&(x1=(x1+1)%K),D1-M1<t1)return;const b2=Z1&&D1-Z1;return b2?Math.round(1e3*Q1/b2):void 0}}(50,250);return K=>{const t1=K.loaded,e1=K.lengthComputable?K.total:void 0,h1=t1-T,M1=Y(h1);T=t1;const V1={loaded:t1,total:e1,progress:e1?t1/e1:void 0,bytes:h1,rate:M1||void 0,estimated:M1&&e1&&t1<=e1?(e1-t1)/M1:void 0,event:K};V1[w?"download":"upload"]=!0,M(V1)}}const Q4={http:null,xhr:typeof XMLHttpRequest<"u"&&function(M){return new Promise(function(w,T){let Y=M.data;const K=H1.from(M.headers).normalize();let t1,e1,{responseType:h1,withXSRFToken:M1}=M;function V1(){M.cancelToken&&M.cancelToken.unsubscribe(t1),M.signal&&M.signal.removeEventListener("abort",t1)}if(B.isFormData(Y)){if(I2.hasStandardBrowserEnv||I2.hasStandardBrowserWebWorkerEnv)K.setContentType(!1);else if((e1=K.getContentType())!==!1){const[E1,...Q1]=e1?e1.split(";").map(b2=>b2.trim()).filter(Boolean):[];K.setContentType([E1||"multipart/form-data",...Q1].join("; "))}}let x1=new XMLHttpRequest;if(M.auth){const E1=M.auth.username||"",Q1=M.auth.password?unescape(encodeURIComponent(M.auth.password)):"";K.set("Authorization","Basic "+btoa(E1+":"+Q1))}const P1=w3(M.baseURL,M.url);function D1(){if(!x1)return;const E1=H1.from("getAllResponseHeaders"in x1&&x1.getAllResponseHeaders());(function(Q1,b2,X2){const po=X2.config.validateStatus;X2.status&&po&&!po(X2.status)?b2(new I("Request failed with status code "+X2.status,[I.ERR_BAD_REQUEST,I.ERR_BAD_RESPONSE][Math.floor(X2.status/100)-4],X2.config,X2.request,X2)):Q1(X2)})(function(Q1){w(Q1),V1()},function(Q1){T(Q1),V1()},{data:h1&&h1!=="text"&&h1!=="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(),I1(P1,M.params,M.paramsSerializer),!0),x1.timeout=M.timeout,"onloadend"in x1?x1.onloadend=D1:x1.onreadystatechange=function(){x1&&x1.readyState===4&&(x1.status!==0||x1.responseURL&&x1.responseURL.indexOf("file:")===0)&&setTimeout(D1)},x1.onabort=function(){x1&&(T(new I("Request aborted",I.ECONNABORTED,M,x1)),x1=null)},x1.onerror=function(){T(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 Q1=M.transitional||g2;M.timeoutErrorMessage&&(E1=M.timeoutErrorMessage),T(new I(E1,Q1.clarifyTimeoutError?I.ETIMEDOUT:I.ECONNABORTED,M,x1)),x1=null},I2.hasStandardBrowserEnv&&(M1&&B.isFunction(M1)&&(M1=M1(M)),M1||M1!==!1&&K3(P1))){const E1=M.xsrfHeaderName&&M.xsrfCookieName&&f3.read(M.xsrfCookieName);E1&&K.set(M.xsrfHeaderName,E1)}Y===void 0&&K.setContentType(null),"setRequestHeader"in x1&&B.forEach(K.toJSON(),function(E1,Q1){x1.setRequestHeader(Q1,E1)}),B.isUndefined(M.withCredentials)||(x1.withCredentials=!!M.withCredentials),h1&&h1!=="json"&&(x1.responseType=M.responseType),typeof M.onDownloadProgress=="function"&&x1.addEventListener("progress",He(M.onDownloadProgress,!0)),typeof M.onUploadProgress=="function"&&x1.upload&&x1.upload.addEventListener("progress",He(M.onUploadProgress)),(M.cancelToken||M.signal)&&(t1=E1=>{x1&&(T(!E1||E1.type?new k1(null,M,x1):E1),x1.abort(),x1=null)},M.cancelToken&&M.cancelToken.subscribe(t1),M.signal&&(M.signal.aborted?t1():M.signal.addEventListener("abort",t1)));const Z1=function(E1){const Q1=/^([-+\w]{1,25})(:?\/\/|:)/.exec(E1);return Q1&&Q1[1]||""}(P1);Z1&&I2.protocols.indexOf(Z1)===-1?T(new I("Unsupported protocol "+Z1+":",I.ERR_BAD_REQUEST,M)):x1.send(Y||null)})}};B.forEach(Q4,(M,w)=>{if(M){try{Object.defineProperty(M,"name",{value:w})}catch{}Object.defineProperty(M,"adapterName",{value:w})}});const i4=M=>`- ${M}`,Y0=M=>B.isFunction(M)||M===null||M===!1;var I6=M=>{M=B.isArray(M)?M:[M];const{length:w}=M;let T,Y;const K={};for(let t1=0;t1<w;t1++){let e1;if(T=M[t1],Y=T,!Y0(T)&&(Y=Q4[(e1=String(T)).toLowerCase()],Y===void 0))throw new I(`Unknown adapter '${e1}'`);if(Y)break;K[e1||"#"+t1]=Y}if(!Y){const t1=Object.entries(K).map(([e1,h1])=>`adapter ${e1} `+(h1===!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 "+(w?t1.length>1?`since :
|
|
4
4
|
`+t1.map(i4).join(`
|
|
5
5
|
`):" "+i4(t1[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return Y};function F8(M){if(M.cancelToken&&M.cancelToken.throwIfRequested(),M.signal&&M.signal.aborted)throw new k1(null,M)}function Wa(M){return F8(M),M.headers=H1.from(M.headers),M.data=p1.call(M,M.transformRequest),["post","put","patch"].indexOf(M.method)!==-1&&M.headers.setContentType("application/x-www-form-urlencoded",!1),I6(M.adapter||U1.adapter)(M).then(function(w){return F8(M),w.data=p1.call(M,M.transformResponse,w),w.headers=H1.from(w.headers),w},function(w){return w1(w)||(F8(M),w&&w.response&&(w.response.data=p1.call(M,M.transformResponse,w.response),w.response.headers=H1.from(w.response.headers))),Promise.reject(w)})}const Ya=M=>M instanceof H1?{...M}:M;function K4(M,w){w=w||{};const T={};function Y(V1,x1,P1){return B.isPlainObject(V1)&&B.isPlainObject(x1)?B.merge.call({caseless:P1},V1,x1):B.isPlainObject(x1)?B.merge({},x1):B.isArray(x1)?x1.slice():x1}function K(V1,x1,P1){return B.isUndefined(x1)?B.isUndefined(V1)?void 0:Y(void 0,V1,P1):Y(V1,x1,P1)}function t1(V1,x1){if(!B.isUndefined(x1))return Y(void 0,x1)}function e1(V1,x1){return B.isUndefined(x1)?B.isUndefined(V1)?void 0:Y(void 0,V1):Y(void 0,x1)}function h1(V1,x1,P1){return P1 in w?Y(V1,x1):P1 in M?Y(void 0,V1):void 0}const M1={url:t1,method:t1,data:t1,baseURL:e1,transformRequest:e1,transformResponse:e1,paramsSerializer:e1,timeout:e1,timeoutMessage:e1,withCredentials:e1,withXSRFToken:e1,adapter:e1,responseType:e1,xsrfCookieName:e1,xsrfHeaderName:e1,onUploadProgress:e1,onDownloadProgress:e1,decompress:e1,maxContentLength:e1,maxBodyLength:e1,beforeRedirect:e1,transport:e1,httpAgent:e1,httpsAgent:e1,cancelToken:e1,socketPath:e1,responseEncoding:e1,validateStatus:h1,headers:(V1,x1)=>K(Ya(V1),Ya(x1),!0)};return B.forEach(Object.keys(Object.assign({},M,w)),function(V1){const x1=M1[V1]||K,P1=x1(M[V1],w[V1],V1);B.isUndefined(P1)&&x1!==h1||(T[V1]=P1)}),T}const D8={};["object","boolean","number","function","string","symbol"].forEach((M,w)=>{D8[M]=function(T){return typeof T===M||"a"+(w<1?"n ":" ")+M}});const ja={};D8.transitional=function(M,w,T){function Y(K,t1){return"[Axios v1.6.8] Transitional option '"+K+"'"+t1+(T?". "+T:"")}return(K,t1,e1)=>{if(M===!1)throw new I(Y(t1," has been removed"+(w?" in "+w:"")),I.ERR_DEPRECATED);return w&&!ja[t1]&&(ja[t1]=!0,console.warn(Y(t1," has been deprecated since v"+w+" and will be removed in the near future"))),!M||M(K,t1,e1)}};var P8={assertOptions:function(M,w,T){if(typeof M!="object")throw new I("options must be an object",I.ERR_BAD_OPTION_VALUE);const Y=Object.keys(M);let K=Y.length;for(;K-- >0;){const t1=Y[K],e1=w[t1];if(e1){const h1=M[t1],M1=h1===void 0||e1(h1,t1,M);if(M1!==!0)throw new I("option "+t1+" must be "+M1,I.ERR_BAD_OPTION_VALUE)}else if(T!==!0)throw new I("Unknown option "+t1,I.ERR_BAD_OPTION)}},validators:D8};const N=P8.validators;class G{constructor(w){this.defaults=w,this.interceptors={request:new T1,response:new T1}}async request(w,T){try{return await this._request(w,T)}catch(Y){if(Y instanceof Error){let K;Error.captureStackTrace?Error.captureStackTrace(K={}):K=new Error;const t1=K.stack?K.stack.replace(/^.+\n/,""):"";Y.stack?t1&&!String(Y.stack).endsWith(t1.replace(/^.+\n.+\n/,""))&&(Y.stack+=`
|
|
6
|
-
`+t1):Y.stack=t1}throw Y}}_request(w,T){typeof w=="string"?(T=T||{}).url=w:T=w||{},T=K4(this.defaults,T);const{transitional:Y,paramsSerializer:K,headers:t1}=T;Y!==void 0&&P8.assertOptions(Y,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),K!=null&&(B.isFunction(K)?T.paramsSerializer={serialize:K}:P8.assertOptions(K,{encode:N.function,serialize:N.function},!0)),T.method=(T.method||this.defaults.method||"get").toLowerCase();let e1=t1&&B.merge(t1.common,t1[T.method]);t1&&B.forEach(["delete","get","head","post","put","patch","common"],E1=>{delete t1[E1]}),T.headers=H1.concat(e1,t1);const h1=[];let M1=!0;this.interceptors.request.forEach(function(E1){typeof E1.runWhen=="function"&&E1.runWhen(T)===!1||(M1=M1&&E1.synchronous,h1.unshift(E1.fulfilled,E1.rejected))});const V1=[];let x1;this.interceptors.response.forEach(function(E1){V1.push(E1.fulfilled,E1.rejected)});let P1,D1=0;if(!M1){const E1=[Wa.bind(this),void 0];for(E1.unshift.apply(E1,h1),E1.push.apply(E1,V1),P1=E1.length,x1=Promise.resolve(T);D1<P1;)x1=x1.then(E1[D1++],E1[D1++]);return x1}P1=h1.length;let Z1=T;for(D1=0;D1<P1;){const E1=h1[D1++],Q1=h1[D1++];try{Z1=E1(Z1)}catch(b2){Q1.call(this,b2);break}}try{x1=Wa.call(this,Z1)}catch(E1){return Promise.reject(E1)}for(D1=0,P1=V1.length;D1<P1;)x1=x1.then(V1[D1++],V1[D1++]);return x1}getUri(w){return I1(w3((w=K4(this.defaults,w)).baseURL,w.url),w.params,w.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(M){G.prototype[M]=function(w,T){return this.request(K4(T||{},{method:M,url:w,data:(T||{}).data}))}}),B.forEach(["post","put","patch"],function(M){function w(T){return function(Y,K,t1){return this.request(K4(t1||{},{method:M,headers:T?{"Content-Type":"multipart/form-data"}:{},url:Y,data:K}))}}G.prototype[M]=w(),G.prototype[M+"Form"]=w(!0)});var R=G;class W{constructor(w){if(typeof w!="function")throw new TypeError("executor must be a function.");let T;this.promise=new Promise(function(K){T=K});const Y=this;this.promise.then(K=>{if(!Y._listeners)return;let t1=Y._listeners.length;for(;t1-- >0;)Y._listeners[t1](K);Y._listeners=null}),this.promise.then=K=>{let t1;const e1=new Promise(h1=>{Y.subscribe(h1),t1=h1}).then(K);return e1.cancel=function(){Y.unsubscribe(t1)},e1},w(function(K,t1,e1){Y.reason||(Y.reason=new k1(K,t1,e1),T(Y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(w){this.reason?w(this.reason):this._listeners?this._listeners.push(w):this._listeners=[w]}unsubscribe(w){if(!this._listeners)return;const T=this._listeners.indexOf(w);T!==-1&&this._listeners.splice(T,1)}static source(){let w;return{token:new W(function(T){w=T}),cancel:w}}}var Z=W;const Q={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Q).forEach(([M,w])=>{Q[w]=M});var o1=Q;const u1=function M(w){const T=new R(w),Y=l(R.prototype.request,T);return B.extend(Y,R.prototype,T,{allOwnKeys:!0}),B.extend(Y,T,null,{allOwnKeys:!0}),Y.create=function(K){return M(K4(w,K))},Y}(U1);u1.Axios=R,u1.CanceledError=k1,u1.CancelToken=Z,u1.isCancel=w1,u1.VERSION="1.6.8",u1.toFormData=b1,u1.AxiosError=I,u1.Cancel=u1.CanceledError,u1.all=function(M){return Promise.all(M)},u1.spread=function(M){return function(w){return M.apply(null,w)}},u1.isAxiosError=function(M){return B.isObject(M)&&M.isAxiosError===!0},u1.mergeConfig=K4,u1.AxiosHeaders=H1,u1.formToJSON=M=>$2(B.isHTMLForm(M)?new FormData(M):M),u1.getAdapter=I6,u1.HttpStatusCode=o1,u1.default=u1,n.exports=u1}},c={};function r(n){var i=c[n];if(i!==void 0)return i.exports;var s=c[n]={exports:{}};return t[n].call(s.exports,s,s.exports,r),s.exports}return r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r(927)})())})(Uh);var L4=Uh.exports;const EL={themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:e=>[...e]}}},Kt="__vue_click_outside__";function Wh(){return"click"}function Yh(e,a,t){jh(e);let c=t.context,r=a.value,n=!1;setTimeout(()=>{n=!0},0),e[Kt]=i=>{if((!e||!e.contains(i.target))&&r&&n&&typeof r=="function")return r.call(c,i)},document.addEventListener(Wh(),e[Kt],!1)}function FL(e,a,t){a.value!==a.oldValue&&Yh(e,a,t)}function jh(e){document.removeEventListener(Wh(),e[Kt],!1),delete e[Kt]}const vo={mounted:Yh,updated:FL,unmounted:jh},qh={install:e=>{e.directive("click-outside",vo)},directive:vo},DL=["top","right","bottom","left"],go=["start","end"],xo=DL.reduce((e,a)=>e.concat(a,a+"-"+go[0],a+"-"+go[1]),[]),n6=Math.min,K0=Math.max,PL={left:"right",right:"left",bottom:"top",top:"bottom"},BL={start:"end",end:"start"};function Yr(e,a,t){return K0(e,n6(a,t))}function L6(e,a){return typeof e=="function"?e(a):e}function de(e){return e.split("-")[0]}function O4(e){return e.split("-")[1]}function Gh(e){return e==="x"?"y":"x"}function n9(e){return e==="y"?"height":"width"}function pa(e){return["top","bottom"].includes(de(e))?"y":"x"}function i9(e){return Gh(pa(e))}function Xh(e,a,t){t===void 0&&(t=!1);const c=O4(e),r=i9(e),n=n9(r);let i=r==="x"?c===(t?"end":"start")?"right":"left":c==="start"?"bottom":"top";return a.reference[n]>a.floating[n]&&(i=e7(i)),[i,e7(i)]}function OL(e){const a=e7(e);return[Jt(e),a,Jt(a)]}function Jt(e){return e.replace(/start|end/g,a=>BL[a])}function RL(e,a,t){const c=["left","right"],r=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return t?a?r:c:a?c:r;case"left":case"right":return a?n:i;default:return[]}}function IL(e,a,t,c){const r=O4(e);let n=RL(de(e),t==="start",c);return r&&(n=n.map(i=>i+"-"+r),a&&(n=n.concat(n.map(Jt)))),n}function e7(e){return e.replace(/left|right|bottom|top/g,a=>PL[a])}function $L(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zh(e){return typeof e!="number"?$L(e):{top:e,right:e,bottom:e,left:e}}function o5(e){const{x:a,y:t,width:c,height:r}=e;return{width:c,height:r,top:t,left:a,right:a+c,bottom:t+r,x:a,y:t}}function Co(e,a,t){let{reference:c,floating:r}=e;const n=pa(a),i=i9(a),s=n9(i),l=de(a),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(O4(a)){case"start":m[i]-=d*(t&&f?-1:1);break;case"end":m[i]+=d*(t&&f?-1:1);break}return m}const UL=async(e,a,t)=>{const{placement:c="bottom",strategy:r="absolute",middleware:n=[],platform:i}=t,s=n.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(a));let f=await i.getElementRects({reference:e,floating:a,strategy:r}),{x:u,y:h}=Co(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:y,reset:b}=await x({x:u,y:h,initialPlacement:c,placement:d,strategy:r,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:a}});u=z??u,h=C??h,m={...m,[g]:{...m[g],...y}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(d=b.placement),b.rects&&(f=b.rects===!0?await i.getElementRects({reference:e,floating:a,strategy:r}):b.rects),{x:u,y:h}=Co(f,d,l)),v=-1)}return{x:u,y:h,placement:d,strategy:r,middlewareData:m}};async function Y7(e,a){var t;a===void 0&&(a={});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}=L6(a,e),p=Zh(m),g=s[d?h==="floating"?"reference":"floating":h],x=o5(await n.getClippingRect({element:(t=await(n.isElement==null?void 0:n.isElement(g)))==null||t?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)),y=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},b=o5(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:z,offsetParent:C,strategy:l}):z);return{top:(x.top-b.top+p.top)/y.y,bottom:(b.bottom-x.bottom+p.bottom)/y.y,left:(x.left-b.left+p.left)/y.x,right:(b.right-x.right+p.right)/y.x}}const WL=e=>({name:"arrow",options:e,async fn(a){const{x:t,y:c,placement:r,rects:n,platform:i,elements:s,middlewareData:l}=a,{element:f,padding:u=0}=L6(e,a)||{};if(f==null)return{};const h=Zh(u),d={x:t,y:c},m=i9(r),p=n9(m),v=await i.getDimensions(f),g=m==="y",x=g?"top":"left",z=g?"bottom":"right",C=g?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[m]-d[m]-n.floating[p],b=d[m]-n.reference[m],_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let H=_?_[C]:0;(!H||!await(i.isElement==null?void 0:i.isElement(_)))&&(H=s.floating[C]||n.floating[p]);const E=y/2-b/2,S=H/2-v[p]/2-1,U=n6(h[x],S),D=n6(h[z],S),k=U,j=H-v[p]-D,c1=H/2-v[p]/2+E,F=Yr(k,c1,j),O=!l.arrow&&O4(r)!=null&&c1!==F&&n.reference[p]/2-(c1<k?U:D)-v[p]/2<0,X=O?c1<k?c1-k:c1-j:0;return{[m]:d[m]+X,data:{[m]:F,centerOffset:c1-F-X,...O&&{alignmentOffset:X}},reset:O}}});function YL(e,a,t){return(e?[...t.filter(r=>O4(r)===e),...t.filter(r=>O4(r)!==e)]:t.filter(r=>de(r)===r)).filter(r=>e?O4(r)===e||(a?Jt(r)!==r:!1):!0)}const jL=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(a){var t,c,r;const{rects:n,middlewareData:i,placement:s,platform:l,elements:f}=a,{crossAxis:u=!1,alignment:h,allowedPlacements:d=xo,autoAlignment:m=!0,...p}=L6(e,a),v=h!==void 0||d===xo?YL(h||null,m,d):d,g=await Y7(a,p),x=((t=i.autoPlacement)==null?void 0:t.index)||0,z=v[x];if(z==null)return{};const C=Xh(z,n,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(s!==z)return{reset:{placement:v[0]}};const y=[g[de(z)],g[C[0]],g[C[1]]],b=[...((c=i.autoPlacement)==null?void 0:c.overflows)||[],{placement:z,overflows:y}],_=v[x+1];if(_)return{data:{index:x+1,overflows:b},reset:{placement:_}};const H=b.map(U=>{const D=O4(U.placement);return[U.placement,D&&u?U.overflows.slice(0,2).reduce((k,j)=>k+j,0):U.overflows[0],U.overflows]}).sort((U,D)=>U[1]-D[1]),S=((r=H.filter(U=>U[2].slice(0,O4(U[0])?2:3).every(D=>D<=0))[0])==null?void 0:r[0])||H[0][0];return S!==s?{data:{index:x+1,overflows:b},reset:{placement:S}}:{}}}},qL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(a){var t,c;const{placement:r,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:f}=a,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...g}=L6(e,a);if((t=n.arrow)!=null&&t.alignmentOffset)return{};const x=de(r),z=de(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=d||(z||!v?[e7(s)]:OL(s));!d&&p!=="none"&&y.push(...IL(s,v,p,C));const b=[s,...y],_=await Y7(a,g),H=[];let E=((c=n.flip)==null?void 0:c.overflows)||[];if(u&&H.push(_[x]),h){const k=Xh(r,i,C);H.push(_[k[0]],_[k[1]])}if(E=[...E,{placement:r,overflows:H}],!H.every(k=>k<=0)){var S,U;const k=(((S=n.flip)==null?void 0:S.index)||0)+1,j=b[k];if(j)return{data:{index:k,overflows:E},reset:{placement:j}};let c1=(U=E.filter(F=>F.overflows[0]<=0).sort((F,O)=>F.overflows[1]-O.overflows[1])[0])==null?void 0:U.placement;if(!c1)switch(m){case"bestFit":{var D;const F=(D=E.map(O=>[O.placement,O.overflows.filter(X=>X>0).reduce((X,f1)=>X+f1,0)]).sort((O,X)=>O[1]-X[1])[0])==null?void 0:D[0];F&&(c1=F);break}case"initialPlacement":c1=s;break}if(r!==c1)return{reset:{placement:c1}}}return{}}}};async function GL(e,a){const{placement:t,platform:c,elements:r}=e,n=await(c.isRTL==null?void 0:c.isRTL(r.floating)),i=de(t),s=O4(t),l=pa(t)==="y",f=["left","top"].includes(i)?-1:1,u=n&&l?-1:1,h=L6(a,e);let{mainAxis:d,crossAxis:m,alignmentAxis:p}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};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 XL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(a){var t,c;const{x:r,y:n,placement:i,middlewareData:s}=a,l=await GL(a,e);return i===((t=s.offset)==null?void 0:t.placement)&&(c=s.arrow)!=null&&c.alignmentOffset?{}:{x:r+l.x,y:n+l.y,data:{...l,placement:i}}}}},ZL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(a){const{x:t,y:c,placement:r}=a,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:g=>{let{x,y:z}=g;return{x,y:z}}},...l}=L6(e,a),f={x:t,y:c},u=await Y7(a,l),h=pa(de(r)),d=Gh(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=Yr(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=Yr(z,p,C)}const v=s.fn({...a,[d]:m,[h]:p});return{...v,data:{x:v.x-t,y:v.y-c}}}}},QL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(a){const{placement:t,rects:c,platform:r,elements:n}=a,{apply:i=()=>{},...s}=L6(e,a),l=await Y7(a,s),f=de(t),u=O4(t),h=pa(t)==="y",{width:d,height:m}=c.floating;let p,v;f==="top"||f==="bottom"?(p=f,v=u===(await(r.isRTL==null?void 0:r.isRTL(n.floating))?"start":"end")?"left":"right"):(v=f,p=u==="end"?"top":"bottom");const g=m-l.top-l.bottom,x=d-l.left-l.right,z=n6(m-l[p],g),C=n6(d-l[v],x),y=!a.middlewareData.shift;let b=z,_=C;if(h?_=u||y?n6(C,x):x:b=u||y?n6(z,g):g,y&&!u){const E=K0(l.left,0),S=K0(l.right,0),U=K0(l.top,0),D=K0(l.bottom,0);h?_=d-2*(E!==0||S!==0?E+S:K0(l.left,l.right)):b=m-2*(U!==0||D!==0?U+D:K0(l.top,l.bottom))}await i({...a,availableWidth:_,availableHeight:b});const H=await r.getDimensions(n.floating);return d!==H.width||m!==H.height?{reset:{rects:!0}}:{}}}};function z4(e){var a;return((a=e.ownerDocument)==null?void 0:a.defaultView)||window}function oe(e){return z4(e).getComputedStyle(e)}const zo=Math.min,l5=Math.max,a7=Math.round;function Qh(e){const a=oe(e);let t=parseFloat(a.width),c=parseFloat(a.height);const r=e.offsetWidth,n=e.offsetHeight,i=a7(t)!==r||a7(c)!==n;return i&&(t=r,c=n),{width:t,height:c,fallback:i}}function L0(e){return Jh(e)?(e.nodeName||"").toLowerCase():""}let qa;function Kh(){if(qa)return qa;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(qa=e.brands.map(a=>a.brand+"/"+a.version).join(" "),qa):navigator.userAgent}function le(e){return e instanceof z4(e).HTMLElement}function C0(e){return e instanceof z4(e).Element}function Jh(e){return e instanceof z4(e).Node}function Mo(e){return typeof ShadowRoot>"u"?!1:e instanceof z4(e).ShadowRoot||e instanceof ShadowRoot}function j7(e){const{overflow:a,overflowX:t,overflowY:c,display:r}=oe(e);return/auto|scroll|overlay|hidden|clip/.test(a+c+t)&&!["inline","contents"].includes(r)}function KL(e){return["table","td","th"].includes(L0(e))}function jr(e){const a=/firefox/i.test(Kh()),t=oe(e),c=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!c&&c!=="none"||a&&t.willChange==="filter"||a&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(r=>t.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const n=t.contain;return n!=null&&n.includes(r)})}function ed(){return!/^((?!chrome|android).)*safari/i.test(Kh())}function s9(e){return["html","body","#document"].includes(L0(e))}function ad(e){return C0(e)?e:e.contextElement}const td={x:1,y:1};function t8(e){const a=ad(e);if(!le(a))return td;const t=a.getBoundingClientRect(),{width:c,height:r,fallback:n}=Qh(a);let i=(n?a7(t.width):t.width)/c,s=(n?a7(t.height):t.height)/r;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function E5(e,a,t,c){var r,n;a===void 0&&(a=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),s=ad(e);let l=td;a&&(c?C0(c)&&(l=t8(c)):l=t8(e));const f=s?z4(s):window,u=!ed()&&t;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=z4(s),g=c&&C0(c)?z4(c):c;let x=v.frameElement;for(;x&&c&&g!==v;){const z=t8(x),C=x.getBoundingClientRect(),y=getComputedStyle(x);C.x+=(x.clientLeft+parseFloat(y.paddingLeft))*z.x,C.y+=(x.clientTop+parseFloat(y.paddingTop))*z.y,h*=z.x,d*=z.y,m*=z.x,p*=z.y,h+=C.x,d+=C.y,x=z4(x).frameElement}}return{width:m,height:p,top:d,right:h+m,bottom:d+p,left:h,x:h,y:d}}function z0(e){return((Jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function q7(e){return C0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function cd(e){return E5(z0(e)).left+q7(e).scrollLeft}function F5(e){if(L0(e)==="html")return e;const a=e.assignedSlot||e.parentNode||Mo(e)&&e.host||z0(e);return Mo(a)?a.host:a}function rd(e){const a=F5(e);return s9(a)?a.ownerDocument.body:le(a)&&j7(a)?a:rd(a)}function t7(e,a){var t;a===void 0&&(a=[]);const c=rd(e),r=c===((t=e.ownerDocument)==null?void 0:t.body),n=z4(c);return r?a.concat(n,n.visualViewport||[],j7(c)?c:[]):a.concat(c,t7(c))}function Ho(e,a,t){return a==="viewport"?o5(function(c,r){const n=z4(c),i=z0(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=ed();(d||!d&&r==="fixed")&&(u=s.offsetLeft,h=s.offsetTop)}return{width:l,height:f,x:u,y:h}}(e,t)):C0(a)?o5(function(c,r){const n=E5(c,!0,r==="fixed"),i=n.top+c.clientTop,s=n.left+c.clientLeft,l=le(c)?t8(c):{x:1,y:1};return{width:c.clientWidth*l.x,height:c.clientHeight*l.y,x:s*l.x,y:i*l.y}}(a,t)):o5(function(c){const r=z0(c),n=q7(c),i=c.ownerDocument.body,s=l5(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),l=l5(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let f=-n.scrollLeft+cd(c);const u=-n.scrollTop;return oe(i).direction==="rtl"&&(f+=l5(r.clientWidth,i.clientWidth)-s),{width:s,height:l,x:f,y:u}}(z0(e)))}function yo(e){return le(e)&&oe(e).position!=="fixed"?e.offsetParent:null}function bo(e){const a=z4(e);let t=yo(e);for(;t&&KL(t)&&oe(t).position==="static";)t=yo(t);return t&&(L0(t)==="html"||L0(t)==="body"&&oe(t).position==="static"&&!jr(t))?a:t||function(c){let r=F5(c);for(;le(r)&&!s9(r);){if(jr(r))return r;r=F5(r)}return null}(e)||a}function JL(e,a,t){const c=le(a),r=z0(a),n=E5(e,!0,t==="fixed",a);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(c||!c&&t!=="fixed")if((L0(a)!=="body"||j7(r))&&(i=q7(a)),le(a)){const l=E5(a,!0);s.x=l.x+a.clientLeft,s.y=l.y+a.clientTop}else r&&(s.x=cd(r));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const ek={getClippingRect:function(e){let{element:a,boundary:t,rootBoundary:c,strategy:r}=e;const n=t==="clippingAncestors"?function(f,u){const h=u.get(f);if(h)return h;let d=t7(f).filter(g=>C0(g)&&L0(g)!=="body"),m=null;const p=oe(f).position==="fixed";let v=p?F5(f):f;for(;C0(v)&&!s9(v);){const g=oe(v),x=jr(v);(p?x||m:x||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:d=d.filter(z=>z!==v),v=F5(v)}return u.set(f,d),d}(a,this._c):[].concat(t),i=[...n,c],s=i[0],l=i.reduce((f,u)=>{const h=Ho(a,u,r);return f.top=l5(h.top,f.top),f.right=zo(h.right,f.right),f.bottom=zo(h.bottom,f.bottom),f.left=l5(h.left,f.left),f},Ho(a,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:a,offsetParent:t,strategy:c}=e;const r=le(t),n=z0(t);if(t===n)return a;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((r||!r&&c!=="fixed")&&((L0(t)!=="body"||j7(n))&&(i=q7(t)),le(t))){const f=E5(t);s=t8(t),l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}return{width:a.width*s.x,height:a.height*s.y,x:a.x*s.x-i.scrollLeft*s.x+l.x,y:a.y*s.y-i.scrollTop*s.y+l.y}},isElement:C0,getDimensions:function(e){return le(e)?Qh(e):e.getBoundingClientRect()},getOffsetParent:bo,getDocumentElement:z0,getScale:t8,async getElementRects(e){let{reference:a,floating:t,strategy:c}=e;const r=this.getOffsetParent||bo,n=this.getDimensions;return{reference:JL(a,await r(t),c),floating:{x:0,y:0,...await n(t)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>oe(e).direction==="rtl"},ak=(e,a,t)=>{const c=new Map,r={platform:ek,...t},n={...r.platform,_c:c};return UL(e,a,{...r,platform:n})};function nd(e,a){for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&(typeof a[t]=="object"&&e[t]?nd(e[t],a[t]):e[t]=a[t])}const R4={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 D5(e,a){let t=R4.themes[e]||{},c;do c=t[a],typeof c>"u"?t.$extend?t=R4.themes[t.$extend]||{}:(t=null,c=R4[a]):t=null;while(t);return c}function tk(e){const a=[e];let t=R4.themes[e]||{};do t.$extend&&!t.$resetCss?(a.push(t.$extend),t=R4.themes[t.$extend]||{}):t=null;while(t);return a.map(c=>`v-popper--theme-${c}`)}function Vo(e){const a=[e];let t=R4.themes[e]||{};do t.$extend?(a.push(t.$extend),t=R4.themes[t.$extend]||{}):t=null;while(t);return a}let u8=!1;if(typeof window<"u"){u8=!1;try{const e=Object.defineProperty({},"passive",{get(){u8=!0}});window.addEventListener("test",null,e)}catch{}}let id=!1;typeof window<"u"&&typeof navigator<"u"&&(id=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const sd=["auto","top","bottom","left","right"].reduce((e,a)=>e.concat([a,`${a}-start`,`${a}-end`]),[]),wo={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},_o={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Lo(e,a){const t=e.indexOf(a);t!==-1&&e.splice(t,1)}function qc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const k4=[];let j0=null;const ko={};function So(e){let a=ko[e];return a||(a=ko[e]=[]),a}let qr=function(){};typeof window<"u"&&(qr=window.Element);function c2(e){return function(a){return D5(a.theme,e)}}const Gc="__floating-vue__popper",od=()=>o.defineComponent({name:"VPopper",provide(){return{[Gc]:{parentPopper:this}}},inject:{[Gc]:{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:c2("disabled")},positioningDisabled:{type:Boolean,default:c2("positioningDisabled")},placement:{type:String,default:c2("placement"),validator:e=>sd.includes(e)},delay:{type:[String,Number,Object],default:c2("delay")},distance:{type:[Number,String],default:c2("distance")},skidding:{type:[Number,String],default:c2("skidding")},triggers:{type:Array,default:c2("triggers")},showTriggers:{type:[Array,Function],default:c2("showTriggers")},hideTriggers:{type:[Array,Function],default:c2("hideTriggers")},popperTriggers:{type:Array,default:c2("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:c2("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:c2("popperHideTriggers")},container:{type:[String,Object,qr,Boolean],default:c2("container")},boundary:{type:[String,qr],default:c2("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:c2("strategy")},autoHide:{type:[Boolean,Function],default:c2("autoHide")},handleResize:{type:Boolean,default:c2("handleResize")},instantMove:{type:Boolean,default:c2("instantMove")},eagerMount:{type:Boolean,default:c2("eagerMount")},popperClass:{type:[String,Array,Object],default:c2("popperClass")},computeTransformOrigin:{type:Boolean,default:c2("computeTransformOrigin")},autoMinSize:{type:Boolean,default:c2("autoMinSize")},autoSize:{type:[Boolean,String],default:c2("autoSize")},autoMaxSize:{type:Boolean,default:c2("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:c2("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:c2("preventOverflow")},overflowPadding:{type:[Number,String],default:c2("overflowPadding")},arrowPadding:{type:[Number,String],default:c2("arrowPadding")},arrowOverflow:{type:Boolean,default:c2("arrowOverflow")},flip:{type:Boolean,default:c2("flip")},shift:{type:Boolean,default:c2("shift")},shiftCrossAxis:{type:Boolean,default:c2("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:c2("noAutoFocus")},disposeTimeout:{type:Number,default:c2("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[Gc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,a;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((a=this.popperShowTriggers)==null?void 0:a.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,a)=>(e[a]="$_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:a=!1,force:t=!1}={}){var c,r;(c=this.parentPopper)!=null&&c.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(t||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,a),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:a=!1}={}){var t;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:a}),this.parentPopper.lockedChild=null)},1e3));return}((t=this.parentPopper)==null?void 0:t.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,a),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(a=>a.nodeType===a.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(XL({mainAxis:this.distance,crossAxis:this.skidding}));const a=this.placement.startsWith("auto");if(a?e.middleware.push(jL({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(ZL({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!a&&this.flip&&e.middleware.push(qL({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(WL({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(QL({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 t=await ak(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:t.x,y:t.y,placement:t.placement,strategy:t.strategy,arrow:{...t.middlewareData.arrow,...t.middlewareData.arrowOverflow}})},$_scheduleShow(e,a=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),j0&&this.instantMove&&j0.instantMove&&j0!==this.parentPopper){j0.$_applyHide(!0),this.$_applyShow(!0);return}a?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,a=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(j0=this),a?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const a=this.delay;return parseInt(a&&a[e]||a||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await qc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...t7(this.$_referenceNode),...t7(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const a=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),c=t.parentNode.getBoundingClientRect(),r=a.x+a.width/2-(c.left+t.offsetLeft),n=a.y+a.height/2-(c.top+t.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 a;for(let t=0;t<k4.length;t++)a=k4[t],a.showGroup!==e&&(a.hide(),a.$emit("close-group"))}k4.push(this),document.body.classList.add("v-popper--some-open");for(const a of Vo(this.theme))So(a).push(this),document.body.classList.add(`v-popper--some-open--${a}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await qc(),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,Lo(k4,this),k4.length===0&&document.body.classList.remove("v-popper--some-open");for(const t of Vo(this.theme)){const c=So(t);Lo(c,this),c.length===0&&document.body.classList.remove(`v-popper--some-open--${t}`)}j0===this&&(j0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const a=this.disposeTimeout;a!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},a)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await qc(),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=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,wo,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],wo,this.popperTriggers,this.popperShowTriggers,e);const a=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,_o,this.triggers,this.hideTriggers,a),this.$_registerTriggerListeners([this.$_popperNode],_o,this.popperTriggers,this.popperHideTriggers,a)},$_registerEventListeners(e,a,t){this.$_events.push({targetNodes:e,eventType:a,handler:t}),e.forEach(c=>c.addEventListener(a,t,u8?{passive:!0}:void 0))},$_registerTriggerListeners(e,a,t,c,r){let n=t;c!=null&&(n=typeof c=="function"?c(n):c),n.forEach(i=>{const s=a[i];s&&this.$_registerEventListeners(e,s,r)})},$_removeEventListeners(e){const a=[];this.$_events.forEach(t=>{const{targetNodes:c,eventType:r,handler:n}=t;!e||e===r?c.forEach(i=>i.removeEventListener(r,n)):a.push(t)}),this.$_events=a},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,a=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),a&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,a){for(const t of this.$_targetNodes){const c=t.getAttribute(e);c&&(t.removeAttribute(e),t.setAttribute(a,c))}},$_applyAttrsToTarget(e){for(const a of this.$_targetNodes)for(const t in e){const c=e[t];c==null?a.removeAttribute(t):a.setAttribute(t,c)}},$_updateParentShownChildren(e){let a=this.parentPopper;for(;a;)e?a.shownChildren.add(this.randomId):(a.shownChildren.delete(this.randomId),a.pendingHide&&a.hide()),a=a.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(f5>=e.left&&f5<=e.right&&u5>=e.top&&u5<=e.bottom){const a=this.$_popperNode.getBoundingClientRect(),t=f5-n0,c=u5-i0,r=a.left+a.width/2-n0+(a.top+a.height/2)-i0+a.width+a.height,n=n0+t*r,i=i0+c*r;return Ga(n0,i0,n,i,a.left,a.top,a.left,a.bottom)||Ga(n0,i0,n,i,a.left,a.top,a.right,a.top)||Ga(n0,i0,n,i,a.right,a.top,a.right,a.bottom)||Ga(n0,i0,n,i,a.left,a.bottom,a.right,a.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(id){const e=u8?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",a=>Ao(a,!0),e),document.addEventListener("touchend",a=>No(a,!0),e)}else window.addEventListener("mousedown",e=>Ao(e,!1),!0),window.addEventListener("click",e=>No(e,!1),!0);window.addEventListener("resize",rk)}function Ao(e,a){if(R4.autoHideOnMousedown)ld(e,a);else for(let t=0;t<k4.length;t++){const c=k4[t];try{c.mouseDownContains=c.popperNode().contains(e.target)}catch{}}}function No(e,a){R4.autoHideOnMousedown||ld(e,a)}function ld(e,a){const t={};for(let c=k4.length-1;c>=0;c--){const r=k4[c];try{const n=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!t[r.randomId]&&To(r,n,e)){if(r.$_handleGlobalClose(e,a),!e.closeAllPopover&&e.closePopover&&n){let s=r.parentPopper;for(;s;)t[s.randomId]=!0,s=s.parentPopper;return}let i=r.parentPopper;for(;i&&To(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,a),i=i.parentPopper}})}catch{}}}function To(e,a,t){return t.closeAllPopover||t.closePopover&&a||ck(e,t)&&!a}function ck(e,a){if(typeof e.autoHide=="function"){const t=e.autoHide(a);return e.lastAutoHide=t,t}return e.autoHide}function rk(){for(let e=0;e<k4.length;e++)k4[e].$_computePosition()}let n0=0,i0=0,f5=0,u5=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{n0=f5,i0=u5,f5=e.clientX,u5=e.clientY},u8?{passive:!0}:void 0);function Ga(e,a,t,c,r,n,i,s){const l=((i-r)*(a-n)-(s-n)*(e-r))/((s-n)*(t-e)-(i-r)*(c-a)),f=((t-e)*(a-n)-(c-a)*(e-r))/((s-n)*(t-e)-(i-r)*(c-a));return l>=0&&l<=1&&f>=0&&f<=1}const nk={extends:od()},G7=(e,a)=>{const t=e.__vccOpts||e;for(const[c,r]of a)t[c]=r;return t};function ik(e,a,t,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 sk=G7(nk,[["render",ik]]);function ok(){var e=window.navigator.userAgent,a=e.indexOf("MSIE ");if(a>0)return parseInt(e.substring(a+5,e.indexOf(".",a)),10);var t=e.indexOf("Trident/");if(t>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 Et;function Gr(){Gr.init||(Gr.init=!0,Et=ok()!==-1)}var X7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Gr(),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",Et&&this.$el.appendChild(e),e.data="about:blank",Et||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&&(!Et&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lk=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const fk={class:"resize-observer",tabindex:"-1"};o.popScopeId();const uk=lk((e,a,t,c,r,n)=>(o.openBlock(),o.createBlock("div",fk)));X7.render=uk;X7.__scopeId="data-v-b329ee4c";X7.__file="src/components/ResizeObserver.vue";const fd=(e="theme")=>({computed:{themeClass(){return tk(this[e])}}}),hk=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:X7},mixins:[fd()],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}}}),dk=["id","aria-hidden","tabindex","data-popper-placement"],mk={ref:"inner",class:"v-popper__inner"},pk=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),vk=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),gk=[pk,vk];function xk(e,a,t,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:a[2]||(a[2]=o.withKeys(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:a[0]||(a[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",mk,[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:a[1]||(a[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)},gk,4)],4)],46,dk)}const ud=G7(hk,[["render",xk]]),hd={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 Xr=function(){};typeof window<"u"&&(Xr=window.Element);const Ck=o.defineComponent({name:"VPopperWrapper",components:{Popper:sk,PopperContent:ud},mixins:[hd,fd("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,Xr,Boolean],default:void 0},boundary:{type:[String,Xr],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 zk(e,a,t,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:a[0]||(a[0]=()=>e.$emit("show")),onHide:a[1]||(a[1]=()=>e.$emit("hide")),"onUpdate:shown":a[2]||(a[2]=l=>e.$emit("update:shown",l)),onApplyShow:a[3]||(a[3]=()=>e.$emit("apply-show")),onApplyHide:a[4]||(a[4]=()=>e.$emit("apply-hide")),onCloseGroup:a[5]||(a[5]=()=>e.$emit("close-group")),onCloseDirective:a[6]||(a[6]=()=>e.$emit("close-directive")),onAutoHide:a[7]||(a[7]=()=>e.$emit("auto-hide")),onResize:a[8]||(a[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 o9=G7(Ck,[["render",zk]]),Mk={...o9,name:"VDropdown",vPopperTheme:"dropdown"},Hk={...o9,name:"VMenu",vPopperTheme:"menu"},yk={...o9,name:"VTooltip",vPopperTheme:"tooltip"},bk=o.defineComponent({name:"VTooltipDirective",components:{Popper:od(),PopperContent:ud},mixins:[hd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>D5(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>D5(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 a=++this.$_fetchId,t=this.content(this);t.then?t.then(c=>this.onResult(a,c)):this.onResult(a,t)}},onResult(e,a){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=a)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Vk=["innerHTML"],wk=["textContent"];function _k(e,a,t,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,Vk)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,wk))]),_: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 Lk=G7(bk,[["render",_k]]),dd="v-popper--has-tooltip";function kk(e,a){let t=e.placement;if(!t&&a)for(const c of sd)a[c]&&(t=c);return t||(t=D5(e.theme||"tooltip","placement")),t}function md(e,a,t){let c;const r=typeof a;return r==="string"?c={content:a}:a&&r==="object"?c=a:c={content:!1},c.placement=kk(c,t),c.targetNodes=()=>[e],c.referenceNode=()=>e,c}let Xc,P5,Sk=0;function Ak(){if(Xc)return;P5=o.ref([]),Xc=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:P5}},render(){return this.directives.map(a=>o.h(Lk,{...a.options,shown:a.shown||a.options.shown,key:a.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Xc.mount(e)}function Nk(e,a,t){Ak();const c=o.ref(md(e,a,t)),r=o.ref(!1),n={id:Sk++,options:c,shown:r};return P5.value.push(n),e.classList&&e.classList.add(dd),e.$_popper={options:c,item:n,show(){r.value=!0},hide(){r.value=!1}}}function pd(e){if(e.$_popper){const a=P5.value.indexOf(e.$_popper.item);a!==-1&&P5.value.splice(a,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(dd)}function Eo(e,{value:a,modifiers:t}){const c=md(e,a,t);if(!c.content||D5(c.theme||"tooltip","disabled"))pd(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=c):r=Nk(e,a,t),typeof a.shown<"u"&&a.shown!==e.$_popperOldShown&&(e.$_popperOldShown=a.shown,a.shown?r.show():r.hide())}}const Tk={beforeMount:Eo,updated:Eo,beforeUnmount(e){pd(e)}};function Fo(e){e.addEventListener("mousedown",c7),e.addEventListener("click",c7),e.addEventListener("touchstart",vd,u8?{passive:!0}:!1)}function Do(e){e.removeEventListener("mousedown",c7),e.removeEventListener("click",c7),e.removeEventListener("touchstart",vd),e.removeEventListener("touchend",gd),e.removeEventListener("touchcancel",xd)}function c7(e){const a=e.currentTarget;e.closePopover=!a.$_vclosepopover_touch,e.closeAllPopover=a.$_closePopoverModifiers&&!!a.$_closePopoverModifiers.all}function vd(e){if(e.changedTouches.length===1){const a=e.currentTarget;a.$_vclosepopover_touch=!0;const t=e.changedTouches[0];a.$_vclosepopover_touchPoint=t,a.addEventListener("touchend",gd),a.addEventListener("touchcancel",xd)}}function gd(e){const a=e.currentTarget;if(a.$_vclosepopover_touch=!1,e.changedTouches.length===1){const t=e.changedTouches[0],c=a.$_vclosepopover_touchPoint;e.closePopover=Math.abs(t.screenY-c.screenY)<20&&Math.abs(t.screenX-c.screenX)<20,e.closeAllPopover=a.$_closePopoverModifiers&&!!a.$_closePopoverModifiers.all}}function xd(e){const a=e.currentTarget;a.$_vclosepopover_touch=!1}const Ek={beforeMount(e,{value:a,modifiers:t}){e.$_closePopoverModifiers=t,(typeof a>"u"||a)&&Fo(e)},updated(e,{value:a,oldValue:t,modifiers:c}){e.$_closePopoverModifiers=c,a!==t&&(typeof a>"u"||a?Fo(e):Do(e))},beforeUnmount(e){Do(e)}};function Fk(e,a={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,nd(R4,a),e.directive("tooltip",Tk),e.directive("close-popper",Ek),e.component("VTooltip",yk),e.component("VDropdown",Mk),e.component("VMenu",Hk))}const Dk={version:"5.2.2",install:Fk,options:R4};function Po(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);a&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,c)}return t}function A1(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?Po(Object(t),!0).forEach(function(c){g3(e,c,t[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Po(Object(t)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(t,c))})}return e}function r7(e){"@babel/helpers - typeof";return r7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},r7(e)}function Pk(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function Bo(e,a){for(var t=0;t<a.length;t++){var c=a[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function Bk(e,a,t){return a&&Bo(e.prototype,a),t&&Bo(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function g3(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function l9(e,a){return Rk(e)||$k(e,a)||Cd(e,a)||Wk()}function va(e){return Ok(e)||Ik(e)||Cd(e)||Uk()}function Ok(e){if(Array.isArray(e))return Zr(e)}function Rk(e){if(Array.isArray(e))return e}function Ik(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $k(e,a){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var c=[],r=!0,n=!1,i,s;try{for(t=t.call(e);!(r=(i=t.next()).done)&&(c.push(i.value),!(a&&c.length===a));r=!0);}catch(l){n=!0,s=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(n)throw s}}return c}}function Cd(e,a){if(e){if(typeof e=="string")return Zr(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Zr(e,a)}}function Zr(e,a){(a==null||a>e.length)&&(a=e.length);for(var t=0,c=new Array(a);t<a;t++)c[t]=e[t];return c}function Uk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
+
`+t1):Y.stack=t1}throw Y}}_request(w,T){typeof w=="string"?(T=T||{}).url=w:T=w||{},T=K4(this.defaults,T);const{transitional:Y,paramsSerializer:K,headers:t1}=T;Y!==void 0&&P8.assertOptions(Y,{silentJSONParsing:N.transitional(N.boolean),forcedJSONParsing:N.transitional(N.boolean),clarifyTimeoutError:N.transitional(N.boolean)},!1),K!=null&&(B.isFunction(K)?T.paramsSerializer={serialize:K}:P8.assertOptions(K,{encode:N.function,serialize:N.function},!0)),T.method=(T.method||this.defaults.method||"get").toLowerCase();let e1=t1&&B.merge(t1.common,t1[T.method]);t1&&B.forEach(["delete","get","head","post","put","patch","common"],E1=>{delete t1[E1]}),T.headers=H1.concat(e1,t1);const h1=[];let M1=!0;this.interceptors.request.forEach(function(E1){typeof E1.runWhen=="function"&&E1.runWhen(T)===!1||(M1=M1&&E1.synchronous,h1.unshift(E1.fulfilled,E1.rejected))});const V1=[];let x1;this.interceptors.response.forEach(function(E1){V1.push(E1.fulfilled,E1.rejected)});let P1,D1=0;if(!M1){const E1=[Wa.bind(this),void 0];for(E1.unshift.apply(E1,h1),E1.push.apply(E1,V1),P1=E1.length,x1=Promise.resolve(T);D1<P1;)x1=x1.then(E1[D1++],E1[D1++]);return x1}P1=h1.length;let Z1=T;for(D1=0;D1<P1;){const E1=h1[D1++],Q1=h1[D1++];try{Z1=E1(Z1)}catch(b2){Q1.call(this,b2);break}}try{x1=Wa.call(this,Z1)}catch(E1){return Promise.reject(E1)}for(D1=0,P1=V1.length;D1<P1;)x1=x1.then(V1[D1++],V1[D1++]);return x1}getUri(w){return I1(w3((w=K4(this.defaults,w)).baseURL,w.url),w.params,w.paramsSerializer)}}B.forEach(["delete","get","head","options"],function(M){G.prototype[M]=function(w,T){return this.request(K4(T||{},{method:M,url:w,data:(T||{}).data}))}}),B.forEach(["post","put","patch"],function(M){function w(T){return function(Y,K,t1){return this.request(K4(t1||{},{method:M,headers:T?{"Content-Type":"multipart/form-data"}:{},url:Y,data:K}))}}G.prototype[M]=w(),G.prototype[M+"Form"]=w(!0)});var R=G;class W{constructor(w){if(typeof w!="function")throw new TypeError("executor must be a function.");let T;this.promise=new Promise(function(K){T=K});const Y=this;this.promise.then(K=>{if(!Y._listeners)return;let t1=Y._listeners.length;for(;t1-- >0;)Y._listeners[t1](K);Y._listeners=null}),this.promise.then=K=>{let t1;const e1=new Promise(h1=>{Y.subscribe(h1),t1=h1}).then(K);return e1.cancel=function(){Y.unsubscribe(t1)},e1},w(function(K,t1,e1){Y.reason||(Y.reason=new k1(K,t1,e1),T(Y.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(w){this.reason?w(this.reason):this._listeners?this._listeners.push(w):this._listeners=[w]}unsubscribe(w){if(!this._listeners)return;const T=this._listeners.indexOf(w);T!==-1&&this._listeners.splice(T,1)}static source(){let w;return{token:new W(function(T){w=T}),cancel:w}}}var Z=W;const Q={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Q).forEach(([M,w])=>{Q[w]=M});var o1=Q;const u1=function M(w){const T=new R(w),Y=l(R.prototype.request,T);return B.extend(Y,R.prototype,T,{allOwnKeys:!0}),B.extend(Y,T,null,{allOwnKeys:!0}),Y.create=function(K){return M(K4(w,K))},Y}(U1);u1.Axios=R,u1.CanceledError=k1,u1.CancelToken=Z,u1.isCancel=w1,u1.VERSION="1.6.8",u1.toFormData=b1,u1.AxiosError=I,u1.Cancel=u1.CanceledError,u1.all=function(M){return Promise.all(M)},u1.spread=function(M){return function(w){return M.apply(null,w)}},u1.isAxiosError=function(M){return B.isObject(M)&&M.isAxiosError===!0},u1.mergeConfig=K4,u1.AxiosHeaders=H1,u1.formToJSON=M=>$2(B.isHTMLForm(M)?new FormData(M):M),u1.getAdapter=I6,u1.HttpStatusCode=o1,u1.default=u1,n.exports=u1}},c={};function r(n){var i=c[n];if(i!==void 0)return i.exports;var s=c[n]={exports:{}};return t[n].call(s.exports,s,s.exports,r),s.exports}return r.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),r(927)})())})(Uh);var L4=Uh.exports;const EL={themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:e=>[...e]}}},Kt="__vue_click_outside__";function Wh(){return"click"}function Yh(e,a,t){jh(e);let c=t.context,r=a.value,n=!1;setTimeout(()=>{n=!0},0),e[Kt]=i=>{if((!e||!e.contains(i.target))&&r&&n&&typeof r=="function")return i.stopPropagation(),r.call(c,i)},document.addEventListener(Wh(),e[Kt],!1)}function FL(e,a,t){a.value!==a.oldValue&&Yh(e,a,t)}function jh(e){document.removeEventListener(Wh(),e[Kt],!1),delete e[Kt]}const vo={mounted:Yh,updated:FL,unmounted:jh},qh={install:e=>{e.directive("click-outside",vo)},directive:vo},DL=["top","right","bottom","left"],go=["start","end"],xo=DL.reduce((e,a)=>e.concat(a,a+"-"+go[0],a+"-"+go[1]),[]),n6=Math.min,K0=Math.max,PL={left:"right",right:"left",bottom:"top",top:"bottom"},BL={start:"end",end:"start"};function Yr(e,a,t){return K0(e,n6(a,t))}function L6(e,a){return typeof e=="function"?e(a):e}function de(e){return e.split("-")[0]}function O4(e){return e.split("-")[1]}function Gh(e){return e==="x"?"y":"x"}function n9(e){return e==="y"?"height":"width"}function pa(e){return["top","bottom"].includes(de(e))?"y":"x"}function i9(e){return Gh(pa(e))}function Xh(e,a,t){t===void 0&&(t=!1);const c=O4(e),r=i9(e),n=n9(r);let i=r==="x"?c===(t?"end":"start")?"right":"left":c==="start"?"bottom":"top";return a.reference[n]>a.floating[n]&&(i=e7(i)),[i,e7(i)]}function OL(e){const a=e7(e);return[Jt(e),a,Jt(a)]}function Jt(e){return e.replace(/start|end/g,a=>BL[a])}function RL(e,a,t){const c=["left","right"],r=["right","left"],n=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return t?a?r:c:a?c:r;case"left":case"right":return a?n:i;default:return[]}}function IL(e,a,t,c){const r=O4(e);let n=RL(de(e),t==="start",c);return r&&(n=n.map(i=>i+"-"+r),a&&(n=n.concat(n.map(Jt)))),n}function e7(e){return e.replace(/left|right|bottom|top/g,a=>PL[a])}function $L(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zh(e){return typeof e!="number"?$L(e):{top:e,right:e,bottom:e,left:e}}function o5(e){const{x:a,y:t,width:c,height:r}=e;return{width:c,height:r,top:t,left:a,right:a+c,bottom:t+r,x:a,y:t}}function Co(e,a,t){let{reference:c,floating:r}=e;const n=pa(a),i=i9(a),s=n9(i),l=de(a),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(O4(a)){case"start":m[i]-=d*(t&&f?-1:1);break;case"end":m[i]+=d*(t&&f?-1:1);break}return m}const UL=async(e,a,t)=>{const{placement:c="bottom",strategy:r="absolute",middleware:n=[],platform:i}=t,s=n.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(a));let f=await i.getElementRects({reference:e,floating:a,strategy:r}),{x:u,y:h}=Co(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:y,reset:b}=await x({x:u,y:h,initialPlacement:c,placement:d,strategy:r,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:a}});u=z??u,h=C??h,m={...m,[g]:{...m[g],...y}},b&&p<=50&&(p++,typeof b=="object"&&(b.placement&&(d=b.placement),b.rects&&(f=b.rects===!0?await i.getElementRects({reference:e,floating:a,strategy:r}):b.rects),{x:u,y:h}=Co(f,d,l)),v=-1)}return{x:u,y:h,placement:d,strategy:r,middlewareData:m}};async function Y7(e,a){var t;a===void 0&&(a={});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}=L6(a,e),p=Zh(m),g=s[d?h==="floating"?"reference":"floating":h],x=o5(await n.getClippingRect({element:(t=await(n.isElement==null?void 0:n.isElement(g)))==null||t?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)),y=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},b=o5(n.convertOffsetParentRelativeRectToViewportRelativeRect?await n.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:z,offsetParent:C,strategy:l}):z);return{top:(x.top-b.top+p.top)/y.y,bottom:(b.bottom-x.bottom+p.bottom)/y.y,left:(x.left-b.left+p.left)/y.x,right:(b.right-x.right+p.right)/y.x}}const WL=e=>({name:"arrow",options:e,async fn(a){const{x:t,y:c,placement:r,rects:n,platform:i,elements:s,middlewareData:l}=a,{element:f,padding:u=0}=L6(e,a)||{};if(f==null)return{};const h=Zh(u),d={x:t,y:c},m=i9(r),p=n9(m),v=await i.getDimensions(f),g=m==="y",x=g?"top":"left",z=g?"bottom":"right",C=g?"clientHeight":"clientWidth",y=n.reference[p]+n.reference[m]-d[m]-n.floating[p],b=d[m]-n.reference[m],_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let H=_?_[C]:0;(!H||!await(i.isElement==null?void 0:i.isElement(_)))&&(H=s.floating[C]||n.floating[p]);const E=y/2-b/2,S=H/2-v[p]/2-1,U=n6(h[x],S),D=n6(h[z],S),k=U,j=H-v[p]-D,c1=H/2-v[p]/2+E,F=Yr(k,c1,j),O=!l.arrow&&O4(r)!=null&&c1!==F&&n.reference[p]/2-(c1<k?U:D)-v[p]/2<0,X=O?c1<k?c1-k:c1-j:0;return{[m]:d[m]+X,data:{[m]:F,centerOffset:c1-F-X,...O&&{alignmentOffset:X}},reset:O}}});function YL(e,a,t){return(e?[...t.filter(r=>O4(r)===e),...t.filter(r=>O4(r)!==e)]:t.filter(r=>de(r)===r)).filter(r=>e?O4(r)===e||(a?Jt(r)!==r:!1):!0)}const jL=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(a){var t,c,r;const{rects:n,middlewareData:i,placement:s,platform:l,elements:f}=a,{crossAxis:u=!1,alignment:h,allowedPlacements:d=xo,autoAlignment:m=!0,...p}=L6(e,a),v=h!==void 0||d===xo?YL(h||null,m,d):d,g=await Y7(a,p),x=((t=i.autoPlacement)==null?void 0:t.index)||0,z=v[x];if(z==null)return{};const C=Xh(z,n,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(s!==z)return{reset:{placement:v[0]}};const y=[g[de(z)],g[C[0]],g[C[1]]],b=[...((c=i.autoPlacement)==null?void 0:c.overflows)||[],{placement:z,overflows:y}],_=v[x+1];if(_)return{data:{index:x+1,overflows:b},reset:{placement:_}};const H=b.map(U=>{const D=O4(U.placement);return[U.placement,D&&u?U.overflows.slice(0,2).reduce((k,j)=>k+j,0):U.overflows[0],U.overflows]}).sort((U,D)=>U[1]-D[1]),S=((r=H.filter(U=>U[2].slice(0,O4(U[0])?2:3).every(D=>D<=0))[0])==null?void 0:r[0])||H[0][0];return S!==s?{data:{index:x+1,overflows:b},reset:{placement:S}}:{}}}},qL=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(a){var t,c;const{placement:r,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:f}=a,{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...g}=L6(e,a);if((t=n.arrow)!=null&&t.alignmentOffset)return{};const x=de(r),z=de(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=d||(z||!v?[e7(s)]:OL(s));!d&&p!=="none"&&y.push(...IL(s,v,p,C));const b=[s,...y],_=await Y7(a,g),H=[];let E=((c=n.flip)==null?void 0:c.overflows)||[];if(u&&H.push(_[x]),h){const k=Xh(r,i,C);H.push(_[k[0]],_[k[1]])}if(E=[...E,{placement:r,overflows:H}],!H.every(k=>k<=0)){var S,U;const k=(((S=n.flip)==null?void 0:S.index)||0)+1,j=b[k];if(j)return{data:{index:k,overflows:E},reset:{placement:j}};let c1=(U=E.filter(F=>F.overflows[0]<=0).sort((F,O)=>F.overflows[1]-O.overflows[1])[0])==null?void 0:U.placement;if(!c1)switch(m){case"bestFit":{var D;const F=(D=E.map(O=>[O.placement,O.overflows.filter(X=>X>0).reduce((X,f1)=>X+f1,0)]).sort((O,X)=>O[1]-X[1])[0])==null?void 0:D[0];F&&(c1=F);break}case"initialPlacement":c1=s;break}if(r!==c1)return{reset:{placement:c1}}}return{}}}};async function GL(e,a){const{placement:t,platform:c,elements:r}=e,n=await(c.isRTL==null?void 0:c.isRTL(r.floating)),i=de(t),s=O4(t),l=pa(t)==="y",f=["left","top"].includes(i)?-1:1,u=n&&l?-1:1,h=L6(a,e);let{mainAxis:d,crossAxis:m,alignmentAxis:p}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};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 XL=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(a){var t,c;const{x:r,y:n,placement:i,middlewareData:s}=a,l=await GL(a,e);return i===((t=s.offset)==null?void 0:t.placement)&&(c=s.arrow)!=null&&c.alignmentOffset?{}:{x:r+l.x,y:n+l.y,data:{...l,placement:i}}}}},ZL=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(a){const{x:t,y:c,placement:r}=a,{mainAxis:n=!0,crossAxis:i=!1,limiter:s={fn:g=>{let{x,y:z}=g;return{x,y:z}}},...l}=L6(e,a),f={x:t,y:c},u=await Y7(a,l),h=pa(de(r)),d=Gh(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=Yr(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=Yr(z,p,C)}const v=s.fn({...a,[d]:m,[h]:p});return{...v,data:{x:v.x-t,y:v.y-c}}}}},QL=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(a){const{placement:t,rects:c,platform:r,elements:n}=a,{apply:i=()=>{},...s}=L6(e,a),l=await Y7(a,s),f=de(t),u=O4(t),h=pa(t)==="y",{width:d,height:m}=c.floating;let p,v;f==="top"||f==="bottom"?(p=f,v=u===(await(r.isRTL==null?void 0:r.isRTL(n.floating))?"start":"end")?"left":"right"):(v=f,p=u==="end"?"top":"bottom");const g=m-l.top-l.bottom,x=d-l.left-l.right,z=n6(m-l[p],g),C=n6(d-l[v],x),y=!a.middlewareData.shift;let b=z,_=C;if(h?_=u||y?n6(C,x):x:b=u||y?n6(z,g):g,y&&!u){const E=K0(l.left,0),S=K0(l.right,0),U=K0(l.top,0),D=K0(l.bottom,0);h?_=d-2*(E!==0||S!==0?E+S:K0(l.left,l.right)):b=m-2*(U!==0||D!==0?U+D:K0(l.top,l.bottom))}await i({...a,availableWidth:_,availableHeight:b});const H=await r.getDimensions(n.floating);return d!==H.width||m!==H.height?{reset:{rects:!0}}:{}}}};function z4(e){var a;return((a=e.ownerDocument)==null?void 0:a.defaultView)||window}function oe(e){return z4(e).getComputedStyle(e)}const zo=Math.min,l5=Math.max,a7=Math.round;function Qh(e){const a=oe(e);let t=parseFloat(a.width),c=parseFloat(a.height);const r=e.offsetWidth,n=e.offsetHeight,i=a7(t)!==r||a7(c)!==n;return i&&(t=r,c=n),{width:t,height:c,fallback:i}}function L0(e){return Jh(e)?(e.nodeName||"").toLowerCase():""}let qa;function Kh(){if(qa)return qa;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(qa=e.brands.map(a=>a.brand+"/"+a.version).join(" "),qa):navigator.userAgent}function le(e){return e instanceof z4(e).HTMLElement}function C0(e){return e instanceof z4(e).Element}function Jh(e){return e instanceof z4(e).Node}function Mo(e){return typeof ShadowRoot>"u"?!1:e instanceof z4(e).ShadowRoot||e instanceof ShadowRoot}function j7(e){const{overflow:a,overflowX:t,overflowY:c,display:r}=oe(e);return/auto|scroll|overlay|hidden|clip/.test(a+c+t)&&!["inline","contents"].includes(r)}function KL(e){return["table","td","th"].includes(L0(e))}function jr(e){const a=/firefox/i.test(Kh()),t=oe(e),c=t.backdropFilter||t.WebkitBackdropFilter;return t.transform!=="none"||t.perspective!=="none"||!!c&&c!=="none"||a&&t.willChange==="filter"||a&&!!t.filter&&t.filter!=="none"||["transform","perspective"].some(r=>t.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const n=t.contain;return n!=null&&n.includes(r)})}function ed(){return!/^((?!chrome|android).)*safari/i.test(Kh())}function s9(e){return["html","body","#document"].includes(L0(e))}function ad(e){return C0(e)?e:e.contextElement}const td={x:1,y:1};function t8(e){const a=ad(e);if(!le(a))return td;const t=a.getBoundingClientRect(),{width:c,height:r,fallback:n}=Qh(a);let i=(n?a7(t.width):t.width)/c,s=(n?a7(t.height):t.height)/r;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}function E5(e,a,t,c){var r,n;a===void 0&&(a=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),s=ad(e);let l=td;a&&(c?C0(c)&&(l=t8(c)):l=t8(e));const f=s?z4(s):window,u=!ed()&&t;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=z4(s),g=c&&C0(c)?z4(c):c;let x=v.frameElement;for(;x&&c&&g!==v;){const z=t8(x),C=x.getBoundingClientRect(),y=getComputedStyle(x);C.x+=(x.clientLeft+parseFloat(y.paddingLeft))*z.x,C.y+=(x.clientTop+parseFloat(y.paddingTop))*z.y,h*=z.x,d*=z.y,m*=z.x,p*=z.y,h+=C.x,d+=C.y,x=z4(x).frameElement}}return{width:m,height:p,top:d,right:h+m,bottom:d+p,left:h,x:h,y:d}}function z0(e){return((Jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function q7(e){return C0(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function cd(e){return E5(z0(e)).left+q7(e).scrollLeft}function F5(e){if(L0(e)==="html")return e;const a=e.assignedSlot||e.parentNode||Mo(e)&&e.host||z0(e);return Mo(a)?a.host:a}function rd(e){const a=F5(e);return s9(a)?a.ownerDocument.body:le(a)&&j7(a)?a:rd(a)}function t7(e,a){var t;a===void 0&&(a=[]);const c=rd(e),r=c===((t=e.ownerDocument)==null?void 0:t.body),n=z4(c);return r?a.concat(n,n.visualViewport||[],j7(c)?c:[]):a.concat(c,t7(c))}function Ho(e,a,t){return a==="viewport"?o5(function(c,r){const n=z4(c),i=z0(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=ed();(d||!d&&r==="fixed")&&(u=s.offsetLeft,h=s.offsetTop)}return{width:l,height:f,x:u,y:h}}(e,t)):C0(a)?o5(function(c,r){const n=E5(c,!0,r==="fixed"),i=n.top+c.clientTop,s=n.left+c.clientLeft,l=le(c)?t8(c):{x:1,y:1};return{width:c.clientWidth*l.x,height:c.clientHeight*l.y,x:s*l.x,y:i*l.y}}(a,t)):o5(function(c){const r=z0(c),n=q7(c),i=c.ownerDocument.body,s=l5(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),l=l5(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let f=-n.scrollLeft+cd(c);const u=-n.scrollTop;return oe(i).direction==="rtl"&&(f+=l5(r.clientWidth,i.clientWidth)-s),{width:s,height:l,x:f,y:u}}(z0(e)))}function yo(e){return le(e)&&oe(e).position!=="fixed"?e.offsetParent:null}function bo(e){const a=z4(e);let t=yo(e);for(;t&&KL(t)&&oe(t).position==="static";)t=yo(t);return t&&(L0(t)==="html"||L0(t)==="body"&&oe(t).position==="static"&&!jr(t))?a:t||function(c){let r=F5(c);for(;le(r)&&!s9(r);){if(jr(r))return r;r=F5(r)}return null}(e)||a}function JL(e,a,t){const c=le(a),r=z0(a),n=E5(e,!0,t==="fixed",a);let i={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(c||!c&&t!=="fixed")if((L0(a)!=="body"||j7(r))&&(i=q7(a)),le(a)){const l=E5(a,!0);s.x=l.x+a.clientLeft,s.y=l.y+a.clientTop}else r&&(s.x=cd(r));return{x:n.left+i.scrollLeft-s.x,y:n.top+i.scrollTop-s.y,width:n.width,height:n.height}}const ek={getClippingRect:function(e){let{element:a,boundary:t,rootBoundary:c,strategy:r}=e;const n=t==="clippingAncestors"?function(f,u){const h=u.get(f);if(h)return h;let d=t7(f).filter(g=>C0(g)&&L0(g)!=="body"),m=null;const p=oe(f).position==="fixed";let v=p?F5(f):f;for(;C0(v)&&!s9(v);){const g=oe(v),x=jr(v);(p?x||m:x||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:d=d.filter(z=>z!==v),v=F5(v)}return u.set(f,d),d}(a,this._c):[].concat(t),i=[...n,c],s=i[0],l=i.reduce((f,u)=>{const h=Ho(a,u,r);return f.top=l5(h.top,f.top),f.right=zo(h.right,f.right),f.bottom=zo(h.bottom,f.bottom),f.left=l5(h.left,f.left),f},Ho(a,s,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:a,offsetParent:t,strategy:c}=e;const r=le(t),n=z0(t);if(t===n)return a;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((r||!r&&c!=="fixed")&&((L0(t)!=="body"||j7(n))&&(i=q7(t)),le(t))){const f=E5(t);s=t8(t),l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}return{width:a.width*s.x,height:a.height*s.y,x:a.x*s.x-i.scrollLeft*s.x+l.x,y:a.y*s.y-i.scrollTop*s.y+l.y}},isElement:C0,getDimensions:function(e){return le(e)?Qh(e):e.getBoundingClientRect()},getOffsetParent:bo,getDocumentElement:z0,getScale:t8,async getElementRects(e){let{reference:a,floating:t,strategy:c}=e;const r=this.getOffsetParent||bo,n=this.getDimensions;return{reference:JL(a,await r(t),c),floating:{x:0,y:0,...await n(t)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>oe(e).direction==="rtl"},ak=(e,a,t)=>{const c=new Map,r={platform:ek,...t},n={...r.platform,_c:c};return UL(e,a,{...r,platform:n})};function nd(e,a){for(const t in a)Object.prototype.hasOwnProperty.call(a,t)&&(typeof a[t]=="object"&&e[t]?nd(e[t],a[t]):e[t]=a[t])}const R4={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 D5(e,a){let t=R4.themes[e]||{},c;do c=t[a],typeof c>"u"?t.$extend?t=R4.themes[t.$extend]||{}:(t=null,c=R4[a]):t=null;while(t);return c}function tk(e){const a=[e];let t=R4.themes[e]||{};do t.$extend&&!t.$resetCss?(a.push(t.$extend),t=R4.themes[t.$extend]||{}):t=null;while(t);return a.map(c=>`v-popper--theme-${c}`)}function Vo(e){const a=[e];let t=R4.themes[e]||{};do t.$extend?(a.push(t.$extend),t=R4.themes[t.$extend]||{}):t=null;while(t);return a}let u8=!1;if(typeof window<"u"){u8=!1;try{const e=Object.defineProperty({},"passive",{get(){u8=!0}});window.addEventListener("test",null,e)}catch{}}let id=!1;typeof window<"u"&&typeof navigator<"u"&&(id=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const sd=["auto","top","bottom","left","right"].reduce((e,a)=>e.concat([a,`${a}-start`,`${a}-end`]),[]),wo={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},_o={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Lo(e,a){const t=e.indexOf(a);t!==-1&&e.splice(t,1)}function qc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const k4=[];let j0=null;const ko={};function So(e){let a=ko[e];return a||(a=ko[e]=[]),a}let qr=function(){};typeof window<"u"&&(qr=window.Element);function c2(e){return function(a){return D5(a.theme,e)}}const Gc="__floating-vue__popper",od=()=>o.defineComponent({name:"VPopper",provide(){return{[Gc]:{parentPopper:this}}},inject:{[Gc]:{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:c2("disabled")},positioningDisabled:{type:Boolean,default:c2("positioningDisabled")},placement:{type:String,default:c2("placement"),validator:e=>sd.includes(e)},delay:{type:[String,Number,Object],default:c2("delay")},distance:{type:[Number,String],default:c2("distance")},skidding:{type:[Number,String],default:c2("skidding")},triggers:{type:Array,default:c2("triggers")},showTriggers:{type:[Array,Function],default:c2("showTriggers")},hideTriggers:{type:[Array,Function],default:c2("hideTriggers")},popperTriggers:{type:Array,default:c2("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:c2("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:c2("popperHideTriggers")},container:{type:[String,Object,qr,Boolean],default:c2("container")},boundary:{type:[String,qr],default:c2("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:c2("strategy")},autoHide:{type:[Boolean,Function],default:c2("autoHide")},handleResize:{type:Boolean,default:c2("handleResize")},instantMove:{type:Boolean,default:c2("instantMove")},eagerMount:{type:Boolean,default:c2("eagerMount")},popperClass:{type:[String,Array,Object],default:c2("popperClass")},computeTransformOrigin:{type:Boolean,default:c2("computeTransformOrigin")},autoMinSize:{type:Boolean,default:c2("autoMinSize")},autoSize:{type:[Boolean,String],default:c2("autoSize")},autoMaxSize:{type:Boolean,default:c2("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:c2("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:c2("preventOverflow")},overflowPadding:{type:[Number,String],default:c2("overflowPadding")},arrowPadding:{type:[Number,String],default:c2("arrowPadding")},arrowOverflow:{type:Boolean,default:c2("arrowOverflow")},flip:{type:Boolean,default:c2("flip")},shift:{type:Boolean,default:c2("shift")},shiftCrossAxis:{type:Boolean,default:c2("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:c2("noAutoFocus")},disposeTimeout:{type:Number,default:c2("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[Gc])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,a;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((a=this.popperShowTriggers)==null?void 0:a.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,a)=>(e[a]="$_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:a=!1,force:t=!1}={}){var c,r;(c=this.parentPopper)!=null&&c.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(t||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,a),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:a=!1}={}){var t;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:a}),this.parentPopper.lockedChild=null)},1e3));return}((t=this.parentPopper)==null?void 0:t.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,a),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(a=>a.nodeType===a.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(XL({mainAxis:this.distance,crossAxis:this.skidding}));const a=this.placement.startsWith("auto");if(a?e.middleware.push(jL({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(ZL({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!a&&this.flip&&e.middleware.push(qL({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(WL({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(QL({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 t=await ak(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:t.x,y:t.y,placement:t.placement,strategy:t.strategy,arrow:{...t.middlewareData.arrow,...t.middlewareData.arrowOverflow}})},$_scheduleShow(e,a=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),j0&&this.instantMove&&j0.instantMove&&j0!==this.parentPopper){j0.$_applyHide(!0),this.$_applyShow(!0);return}a?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,a=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(j0=this),a?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const a=this.delay;return parseInt(a&&a[e]||a||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await qc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...t7(this.$_referenceNode),...t7(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const a=this.$_referenceNode.getBoundingClientRect(),t=this.$_popperNode.querySelector(".v-popper__wrapper"),c=t.parentNode.getBoundingClientRect(),r=a.x+a.width/2-(c.left+t.offsetLeft),n=a.y+a.height/2-(c.top+t.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 a;for(let t=0;t<k4.length;t++)a=k4[t],a.showGroup!==e&&(a.hide(),a.$emit("close-group"))}k4.push(this),document.body.classList.add("v-popper--some-open");for(const a of Vo(this.theme))So(a).push(this),document.body.classList.add(`v-popper--some-open--${a}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await qc(),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,Lo(k4,this),k4.length===0&&document.body.classList.remove("v-popper--some-open");for(const t of Vo(this.theme)){const c=So(t);Lo(c,this),c.length===0&&document.body.classList.remove(`v-popper--some-open--${t}`)}j0===this&&(j0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const a=this.disposeTimeout;a!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},a)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await qc(),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=t=>{this.isShown&&!this.$_hideInProgress||(t.usedByTooltip=!0,!this.$_preventShow&&this.show({event:t}))};this.$_registerTriggerListeners(this.$_targetNodes,wo,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],wo,this.popperTriggers,this.popperShowTriggers,e);const a=t=>{t.usedByTooltip||this.hide({event:t})};this.$_registerTriggerListeners(this.$_targetNodes,_o,this.triggers,this.hideTriggers,a),this.$_registerTriggerListeners([this.$_popperNode],_o,this.popperTriggers,this.popperHideTriggers,a)},$_registerEventListeners(e,a,t){this.$_events.push({targetNodes:e,eventType:a,handler:t}),e.forEach(c=>c.addEventListener(a,t,u8?{passive:!0}:void 0))},$_registerTriggerListeners(e,a,t,c,r){let n=t;c!=null&&(n=typeof c=="function"?c(n):c),n.forEach(i=>{const s=a[i];s&&this.$_registerEventListeners(e,s,r)})},$_removeEventListeners(e){const a=[];this.$_events.forEach(t=>{const{targetNodes:c,eventType:r,handler:n}=t;!e||e===r?c.forEach(i=>i.removeEventListener(r,n)):a.push(t)}),this.$_events=a},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,a=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),a&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,a){for(const t of this.$_targetNodes){const c=t.getAttribute(e);c&&(t.removeAttribute(e),t.setAttribute(a,c))}},$_applyAttrsToTarget(e){for(const a of this.$_targetNodes)for(const t in e){const c=e[t];c==null?a.removeAttribute(t):a.setAttribute(t,c)}},$_updateParentShownChildren(e){let a=this.parentPopper;for(;a;)e?a.shownChildren.add(this.randomId):(a.shownChildren.delete(this.randomId),a.pendingHide&&a.hide()),a=a.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(f5>=e.left&&f5<=e.right&&u5>=e.top&&u5<=e.bottom){const a=this.$_popperNode.getBoundingClientRect(),t=f5-n0,c=u5-i0,r=a.left+a.width/2-n0+(a.top+a.height/2)-i0+a.width+a.height,n=n0+t*r,i=i0+c*r;return Ga(n0,i0,n,i,a.left,a.top,a.left,a.bottom)||Ga(n0,i0,n,i,a.left,a.top,a.right,a.top)||Ga(n0,i0,n,i,a.right,a.top,a.right,a.bottom)||Ga(n0,i0,n,i,a.left,a.bottom,a.right,a.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(id){const e=u8?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",a=>Ao(a,!0),e),document.addEventListener("touchend",a=>No(a,!0),e)}else window.addEventListener("mousedown",e=>Ao(e,!1),!0),window.addEventListener("click",e=>No(e,!1),!0);window.addEventListener("resize",rk)}function Ao(e,a){if(R4.autoHideOnMousedown)ld(e,a);else for(let t=0;t<k4.length;t++){const c=k4[t];try{c.mouseDownContains=c.popperNode().contains(e.target)}catch{}}}function No(e,a){R4.autoHideOnMousedown||ld(e,a)}function ld(e,a){const t={};for(let c=k4.length-1;c>=0;c--){const r=k4[c];try{const n=r.containsGlobalTarget=r.mouseDownContains||r.popperNode().contains(e.target);r.pendingHide=!1,requestAnimationFrame(()=>{if(r.pendingHide=!1,!t[r.randomId]&&To(r,n,e)){if(r.$_handleGlobalClose(e,a),!e.closeAllPopover&&e.closePopover&&n){let s=r.parentPopper;for(;s;)t[s.randomId]=!0,s=s.parentPopper;return}let i=r.parentPopper;for(;i&&To(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,a),i=i.parentPopper}})}catch{}}}function To(e,a,t){return t.closeAllPopover||t.closePopover&&a||ck(e,t)&&!a}function ck(e,a){if(typeof e.autoHide=="function"){const t=e.autoHide(a);return e.lastAutoHide=t,t}return e.autoHide}function rk(){for(let e=0;e<k4.length;e++)k4[e].$_computePosition()}let n0=0,i0=0,f5=0,u5=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{n0=f5,i0=u5,f5=e.clientX,u5=e.clientY},u8?{passive:!0}:void 0);function Ga(e,a,t,c,r,n,i,s){const l=((i-r)*(a-n)-(s-n)*(e-r))/((s-n)*(t-e)-(i-r)*(c-a)),f=((t-e)*(a-n)-(c-a)*(e-r))/((s-n)*(t-e)-(i-r)*(c-a));return l>=0&&l<=1&&f>=0&&f<=1}const nk={extends:od()},G7=(e,a)=>{const t=e.__vccOpts||e;for(const[c,r]of a)t[c]=r;return t};function ik(e,a,t,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 sk=G7(nk,[["render",ik]]);function ok(){var e=window.navigator.userAgent,a=e.indexOf("MSIE ");if(a>0)return parseInt(e.substring(a+5,e.indexOf(".",a)),10);var t=e.indexOf("Trident/");if(t>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 Et;function Gr(){Gr.init||(Gr.init=!0,Et=ok()!==-1)}var X7={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Gr(),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",Et&&this.$el.appendChild(e),e.data="about:blank",Et||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&&(!Et&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const lk=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const fk={class:"resize-observer",tabindex:"-1"};o.popScopeId();const uk=lk((e,a,t,c,r,n)=>(o.openBlock(),o.createBlock("div",fk)));X7.render=uk;X7.__scopeId="data-v-b329ee4c";X7.__file="src/components/ResizeObserver.vue";const fd=(e="theme")=>({computed:{themeClass(){return tk(this[e])}}}),hk=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:X7},mixins:[fd()],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}}}),dk=["id","aria-hidden","tabindex","data-popper-placement"],mk={ref:"inner",class:"v-popper__inner"},pk=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),vk=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),gk=[pk,vk];function xk(e,a,t,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:a[2]||(a[2]=o.withKeys(s=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:a[0]||(a[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",mk,[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:a[1]||(a[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)},gk,4)],4)],46,dk)}const ud=G7(hk,[["render",xk]]),hd={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 Xr=function(){};typeof window<"u"&&(Xr=window.Element);const Ck=o.defineComponent({name:"VPopperWrapper",components:{Popper:sk,PopperContent:ud},mixins:[hd,fd("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,Xr,Boolean],default:void 0},boundary:{type:[String,Xr],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 zk(e,a,t,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:a[0]||(a[0]=()=>e.$emit("show")),onHide:a[1]||(a[1]=()=>e.$emit("hide")),"onUpdate:shown":a[2]||(a[2]=l=>e.$emit("update:shown",l)),onApplyShow:a[3]||(a[3]=()=>e.$emit("apply-show")),onApplyHide:a[4]||(a[4]=()=>e.$emit("apply-hide")),onCloseGroup:a[5]||(a[5]=()=>e.$emit("close-group")),onCloseDirective:a[6]||(a[6]=()=>e.$emit("close-directive")),onAutoHide:a[7]||(a[7]=()=>e.$emit("auto-hide")),onResize:a[8]||(a[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 o9=G7(Ck,[["render",zk]]),Mk={...o9,name:"VDropdown",vPopperTheme:"dropdown"},Hk={...o9,name:"VMenu",vPopperTheme:"menu"},yk={...o9,name:"VTooltip",vPopperTheme:"tooltip"},bk=o.defineComponent({name:"VTooltipDirective",components:{Popper:od(),PopperContent:ud},mixins:[hd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>D5(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>D5(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 a=++this.$_fetchId,t=this.content(this);t.then?t.then(c=>this.onResult(a,c)):this.onResult(a,t)}},onResult(e,a){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=a)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Vk=["innerHTML"],wk=["textContent"];function _k(e,a,t,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,Vk)):(o.openBlock(),o.createElementBlock("div",{key:1,textContent:o.toDisplayString(e.finalContent)},null,8,wk))]),_: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 Lk=G7(bk,[["render",_k]]),dd="v-popper--has-tooltip";function kk(e,a){let t=e.placement;if(!t&&a)for(const c of sd)a[c]&&(t=c);return t||(t=D5(e.theme||"tooltip","placement")),t}function md(e,a,t){let c;const r=typeof a;return r==="string"?c={content:a}:a&&r==="object"?c=a:c={content:!1},c.placement=kk(c,t),c.targetNodes=()=>[e],c.referenceNode=()=>e,c}let Xc,P5,Sk=0;function Ak(){if(Xc)return;P5=o.ref([]),Xc=o.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:P5}},render(){return this.directives.map(a=>o.h(Lk,{...a.options,shown:a.shown||a.options.shown,key:a.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Xc.mount(e)}function Nk(e,a,t){Ak();const c=o.ref(md(e,a,t)),r=o.ref(!1),n={id:Sk++,options:c,shown:r};return P5.value.push(n),e.classList&&e.classList.add(dd),e.$_popper={options:c,item:n,show(){r.value=!0},hide(){r.value=!1}}}function pd(e){if(e.$_popper){const a=P5.value.indexOf(e.$_popper.item);a!==-1&&P5.value.splice(a,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(dd)}function Eo(e,{value:a,modifiers:t}){const c=md(e,a,t);if(!c.content||D5(c.theme||"tooltip","disabled"))pd(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=c):r=Nk(e,a,t),typeof a.shown<"u"&&a.shown!==e.$_popperOldShown&&(e.$_popperOldShown=a.shown,a.shown?r.show():r.hide())}}const Tk={beforeMount:Eo,updated:Eo,beforeUnmount(e){pd(e)}};function Fo(e){e.addEventListener("mousedown",c7),e.addEventListener("click",c7),e.addEventListener("touchstart",vd,u8?{passive:!0}:!1)}function Do(e){e.removeEventListener("mousedown",c7),e.removeEventListener("click",c7),e.removeEventListener("touchstart",vd),e.removeEventListener("touchend",gd),e.removeEventListener("touchcancel",xd)}function c7(e){const a=e.currentTarget;e.closePopover=!a.$_vclosepopover_touch,e.closeAllPopover=a.$_closePopoverModifiers&&!!a.$_closePopoverModifiers.all}function vd(e){if(e.changedTouches.length===1){const a=e.currentTarget;a.$_vclosepopover_touch=!0;const t=e.changedTouches[0];a.$_vclosepopover_touchPoint=t,a.addEventListener("touchend",gd),a.addEventListener("touchcancel",xd)}}function gd(e){const a=e.currentTarget;if(a.$_vclosepopover_touch=!1,e.changedTouches.length===1){const t=e.changedTouches[0],c=a.$_vclosepopover_touchPoint;e.closePopover=Math.abs(t.screenY-c.screenY)<20&&Math.abs(t.screenX-c.screenX)<20,e.closeAllPopover=a.$_closePopoverModifiers&&!!a.$_closePopoverModifiers.all}}function xd(e){const a=e.currentTarget;a.$_vclosepopover_touch=!1}const Ek={beforeMount(e,{value:a,modifiers:t}){e.$_closePopoverModifiers=t,(typeof a>"u"||a)&&Fo(e)},updated(e,{value:a,oldValue:t,modifiers:c}){e.$_closePopoverModifiers=c,a!==t&&(typeof a>"u"||a?Fo(e):Do(e))},beforeUnmount(e){Do(e)}};function Fk(e,a={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,nd(R4,a),e.directive("tooltip",Tk),e.directive("close-popper",Ek),e.component("VTooltip",yk),e.component("VDropdown",Mk),e.component("VMenu",Hk))}const Dk={version:"5.2.2",install:Fk,options:R4};function Po(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);a&&(c=c.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,c)}return t}function A1(e){for(var a=1;a<arguments.length;a++){var t=arguments[a]!=null?arguments[a]:{};a%2?Po(Object(t),!0).forEach(function(c){g3(e,c,t[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Po(Object(t)).forEach(function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(t,c))})}return e}function r7(e){"@babel/helpers - typeof";return r7=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},r7(e)}function Pk(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}function Bo(e,a){for(var t=0;t<a.length;t++){var c=a[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function Bk(e,a,t){return a&&Bo(e.prototype,a),t&&Bo(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function g3(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function l9(e,a){return Rk(e)||$k(e,a)||Cd(e,a)||Wk()}function va(e){return Ok(e)||Ik(e)||Cd(e)||Uk()}function Ok(e){if(Array.isArray(e))return Zr(e)}function Rk(e){if(Array.isArray(e))return e}function Ik(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $k(e,a){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var c=[],r=!0,n=!1,i,s;try{for(t=t.call(e);!(r=(i=t.next()).done)&&(c.push(i.value),!(a&&c.length===a));r=!0);}catch(l){n=!0,s=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(n)throw s}}return c}}function Cd(e,a){if(e){if(typeof e=="string")return Zr(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Zr(e,a)}}function Zr(e,a){(a==null||a>e.length)&&(a=e.length);for(var t=0,c=new Array(a);t<a;t++)c[t]=e[t];return c}function Uk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
7
7
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
8
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Oo=function(){},f9={},zd={},Md=null,Hd={mark:Oo,measure:Oo};try{typeof window<"u"&&(f9=window),typeof document<"u"&&(zd=document),typeof MutationObserver<"u"&&(Md=MutationObserver),typeof performance<"u"&&(Hd=performance)}catch{}var Yk=f9.navigator||{},Ro=Yk.userAgent,Io=Ro===void 0?"":Ro,k0=f9,k2=zd,$o=Md,Xa=Hd;k0.document;var Xe=!!k2.documentElement&&!!k2.head&&typeof k2.addEventListener=="function"&&typeof k2.createElement=="function",yd=~Io.indexOf("MSIE")||~Io.indexOf("Trident/"),Za,Qa,Ka,Ja,et,Ue="___FONT_AWESOME___",Qr=16,bd="fa",Vd="svg-inline--fa",C6="data-fa-i2svg",Kr="data-fa-pseudo-element",jk="data-fa-pseudo-element-pending",u9="data-prefix",h9="data-icon",Uo="fontawesome-i2svg",qk="async",Gk=["HTML","HEAD","STYLE","SCRIPT"],wd=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),_2="classic",Y2="sharp",d9=[_2,Y2];function ga(e){return new Proxy(e,{get:function(t,c){return c in t?t[c]:t[_2]}})}var B5=ga((Za={},g3(Za,_2,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),g3(Za,Y2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),Za)),O5=ga((Qa={},g3(Qa,_2,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),g3(Qa,Y2,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),Qa)),R5=ga((Ka={},g3(Ka,_2,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),g3(Ka,Y2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),Ka)),Xk=ga((Ja={},g3(Ja,_2,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),g3(Ja,Y2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),Ja)),Zk=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,_d="fa-layers-text",Qk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,Kk=ga((et={},g3(et,_2,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),g3(et,Y2,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),et)),Ld=[1,2,3,4,5,6,7,8,9,10],Jk=Ld.concat([11,12,13,14,15,16,17,18,19,20]),eS=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],i6={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},I5=new Set;Object.keys(O5[_2]).map(I5.add.bind(I5));Object.keys(O5[Y2]).map(I5.add.bind(I5));var aS=[].concat(d9,va(I5),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",i6.GROUP,i6.SWAP_OPACITY,i6.PRIMARY,i6.SECONDARY]).concat(Ld.map(function(e){return"".concat(e,"x")})).concat(Jk.map(function(e){return"w-".concat(e)})),h5=k0.FontAwesomeConfig||{};function tS(e){var a=k2.querySelector("script["+e+"]");if(a)return a.getAttribute(e)}function cS(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(k2&&typeof k2.querySelector=="function"){var rS=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]];rS.forEach(function(e){var a=l9(e,2),t=a[0],c=a[1],r=cS(tS(t));r!=null&&(h5[c]=r)})}var kd={styleDefault:"solid",familyDefault:"classic",cssPrefix:bd,replacementClass:Vd,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};h5.familyPrefix&&(h5.cssPrefix=h5.familyPrefix);var h8=A1(A1({},kd),h5);h8.autoReplaceSvg||(h8.observeMutations=!1);var B1={};Object.keys(kd).forEach(function(e){Object.defineProperty(B1,e,{enumerable:!0,set:function(t){h8[e]=t,d5.forEach(function(c){return c(B1)})},get:function(){return h8[e]}})});Object.defineProperty(B1,"familyPrefix",{enumerable:!0,set:function(a){h8.cssPrefix=a,d5.forEach(function(t){return t(B1)})},get:function(){return h8.cssPrefix}});k0.FontAwesomeConfig=B1;var d5=[];function nS(e){return d5.push(e),function(){d5.splice(d5.indexOf(e),1)}}var a0=Qr,ie={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function iS(e){if(!(!e||!Xe)){var a=k2.createElement("style");a.setAttribute("type","text/css"),a.innerHTML=e;for(var t=k2.head.childNodes,c=null,r=t.length-1;r>-1;r--){var n=t[r],i=(n.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(c=n)}return k2.head.insertBefore(a,c),e}}var sS="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $5(){for(var e=12,a="";e-- >0;)a+=sS[Math.random()*62|0];return a}function _8(e){for(var a=[],t=(e||[]).length>>>0;t--;)a[t]=e[t];return a}function m9(e){return e.classList?_8(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(a){return a})}function Sd(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function oS(e){return Object.keys(e||{}).reduce(function(a,t){return a+"".concat(t,'="').concat(Sd(e[t]),'" ')},"").trim()}function Z7(e){return Object.keys(e||{}).reduce(function(a,t){return a+"".concat(t,": ").concat(e[t].trim(),";")},"")}function p9(e){return e.size!==ie.size||e.x!==ie.x||e.y!==ie.y||e.rotate!==ie.rotate||e.flipX||e.flipY}function lS(e){var a=e.transform,t=e.containerWidth,c=e.iconWidth,r={transform:"translate(".concat(t/2," 256)")},n="translate(".concat(a.x*32,", ").concat(a.y*32,") "),i="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),s="rotate(".concat(a.rotate," 0 0)"),l={transform:"".concat(n," ").concat(i," ").concat(s)},f={transform:"translate(".concat(c/2*-1," -256)")};return{outer:r,inner:l,path:f}}function fS(e){var a=e.transform,t=e.width,c=t===void 0?Qr:t,r=e.height,n=r===void 0?Qr:r,i=e.startCentered,s=i===void 0?!1:i,l="";return s&&yd?l+="translate(".concat(a.x/a0-c/2,"em, ").concat(a.y/a0-n/2,"em) "):s?l+="translate(calc(-50% + ".concat(a.x/a0,"em), calc(-50% + ").concat(a.y/a0,"em)) "):l+="translate(".concat(a.x/a0,"em, ").concat(a.y/a0,"em) "),l+="scale(".concat(a.size/a0*(a.flipX?-1:1),", ").concat(a.size/a0*(a.flipY?-1:1),") "),l+="rotate(".concat(a.rotate,"deg) "),l}var uS=`:root, :host {
|
|
9
9
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
package/dist/main.es.js
CHANGED
|
@@ -1083,7 +1083,7 @@ function Bd(e, a, t) {
|
|
|
1083
1083
|
n = !0;
|
|
1084
1084
|
}, 0), e[D7] = (i) => {
|
|
1085
1085
|
if ((!e || !e.contains(i.target)) && r && n && typeof r == "function")
|
|
1086
|
-
return r.call(c, i);
|
|
1086
|
+
return i.stopPropagation(), r.call(c, i);
|
|
1087
1087
|
}, document.addEventListener(Rd(), e[D7], !1);
|
|
1088
1088
|
}
|
|
1089
1089
|
function Rk(e, a, t) {
|