pangea-lib 2.11.24 → 2.11.25
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(H){return H instanceof this?H:new this(H)}static concat(H,...k){const P=new this(H);return k.forEach(B=>P.set(B)),P}static accessor(H){const k=(this[b6]=this[b6]={accessors:{}}).accessors,P=this.prototype;function B(q){const W=$3(q);k[W]||(function(v1,b1){const p1=A.toCamelCase(" "+b1);["get","set","has"].forEach(c1=>{Object.defineProperty(v1,c1+p1,{value:function(N1,x1,E1){return this[c1].call(this,b1,N1,x1,E1)},configurable:!0})})}(P,q),k[W]=!0)}return A.isArray(H)?H.forEach(B):B(H),this}}F.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),A.reduceDescriptors(F.prototype,({value:p},H)=>{let k=H[0].toUpperCase()+H.slice(1);return{get:()=>p,set(P){this[k]=P}}}),A.freezeMethods(F);var r1=F;function X(p,H){const k=this||W4,P=H||k,B=r1.from(P.headers);let q=P.data;return A.forEach(p,function(W){q=W.call(k,q,B.normalize(),H?H.status:void 0)}),B.normalize(),q}function o1(p){return!(!p||!p.__CANCEL__)}function d1(p,H,k){x.call(this,p??"canceled",x.ERR_CANCELED,H,k),this.name="CanceledError"}A.inherits(d1,x,{__CANCEL__:!0});var S2=_2.hasStandardBrowserEnv?{write(p,H,k,P,B,q){const W=[p+"="+encodeURIComponent(H)];A.isNumber(k)&&W.push("expires="+new Date(k).toGMTString()),A.isString(P)&&W.push("path="+P),A.isString(B)&&W.push("domain="+B),q===!0&&W.push("secure"),document.cookie=W.join("; ")},read(p){const H=document.cookie.match(new RegExp("(^|;\\s*)("+p+")=([^;]*)"));return H?decodeURIComponent(H[3]):null},remove(p){this.write(p,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function D2(p,H){return p&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(H)?function(k,P){return P?k.replace(/\/?\/$/,"")+"/"+P.replace(/^\/+/,""):k}(p,H):H}var I3=_2.hasStandardBrowserEnv?function(){const p=/(msie|trident)/i.test(navigator.userAgent),H=document.createElement("a");let k;function P(B){let q=B;return p&&(H.setAttribute("href",q),q=H.href),H.setAttribute("href",q),{href:H.href,protocol:H.protocol?H.protocol.replace(/:$/,""):"",host:H.host,search:H.search?H.search.replace(/^\?/,""):"",hash:H.hash?H.hash.replace(/^#/,""):"",hostname:H.hostname,port:H.port,pathname:H.pathname.charAt(0)==="/"?H.pathname:"/"+H.pathname}}return k=P(window.location.href),function(B){const q=A.isString(B)?P(B):B;return q.protocol===k.protocol&&q.host===k.host}}():function(){return!0};function j4(p,H){let k=0;const P=function(B,q){B=B||10;const W=new Array(B),v1=new Array(B);let b1,p1=0,c1=0;return q=q!==void 0?q:1e3,function(N1){const x1=Date.now(),E1=v1[c1];b1||(b1=x1),W[p1]=N1,v1[p1]=x1;let y1=c1,U1=0;for(;y1!==p1;)U1+=W[y1++],y1%=B;if(p1=(p1+1)%B,p1===c1&&(c1=(c1+1)%B),x1-b1<q)return;const m2=E1&&x1-E1;return m2?Math.round(1e3*U1/m2):void 0}}(50,250);return B=>{const q=B.loaded,W=B.lengthComputable?B.total:void 0,v1=q-k,b1=P(v1);k=q;const p1={loaded:q,total:W,progress:W?q/W:void 0,bytes:v1,rate:b1||void 0,estimated:b1&&W&&q<=W?(W-q)/b1:void 0,event:B};p1[H?"download":"upload"]=!0,p(p1)}}const d4={http:null,xhr:typeof XMLHttpRequest<"u"&&function(p){return new Promise(function(H,k){let P=p.data;const B=r1.from(p.headers).normalize();let q,W,{responseType:v1,withXSRFToken:b1}=p;function p1(){p.cancelToken&&p.cancelToken.unsubscribe(q),p.signal&&p.signal.removeEventListener("abort",q)}if(A.isFormData(P)){if(_2.hasStandardBrowserEnv||_2.hasStandardBrowserWebWorkerEnv)B.setContentType(!1);else if((W=B.getContentType())!==!1){const[y1,...U1]=W?W.split(";").map(m2=>m2.trim()).filter(Boolean):[];B.setContentType([y1||"multipart/form-data",...U1].join("; "))}}let c1=new XMLHttpRequest;if(p.auth){const y1=p.auth.username||"",U1=p.auth.password?unescape(encodeURIComponent(p.auth.password)):"";B.set("Authorization","Basic "+btoa(y1+":"+U1))}const N1=D2(p.baseURL,p.url);function x1(){if(!c1)return;const y1=r1.from("getAllResponseHeaders"in c1&&c1.getAllResponseHeaders());(function(U1,m2,n3){const Na=n3.config.validateStatus;n3.status&&Na&&!Na(n3.status)?m2(new x("Request failed with status code "+n3.status,[x.ERR_BAD_REQUEST,x.ERR_BAD_RESPONSE][Math.floor(n3.status/100)-4],n3.config,n3.request,n3)):U1(n3)})(function(U1){H(U1),p1()},function(U1){k(U1),p1()},{data:v1&&v1!=="text"&&v1!=="json"?c1.response:c1.responseText,status:c1.status,statusText:c1.statusText,headers:y1,config:p,request:c1}),c1=null}if(c1.open(p.method.toUpperCase(),O1(N1,p.params,p.paramsSerializer),!0),c1.timeout=p.timeout,"onloadend"in c1?c1.onloadend=x1:c1.onreadystatechange=function(){c1&&c1.readyState===4&&(c1.status!==0||c1.responseURL&&c1.responseURL.indexOf("file:")===0)&&setTimeout(x1)},c1.onabort=function(){c1&&(k(new x("Request aborted",x.ECONNABORTED,p,c1)),c1=null)},c1.onerror=function(){k(new x("Network Error",x.ERR_NETWORK,p,c1)),c1=null},c1.ontimeout=function(){let y1=p.timeout?"timeout of "+p.timeout+"ms exceeded":"timeout exceeded";const U1=p.transitional||k2;p.timeoutErrorMessage&&(y1=p.timeoutErrorMessage),k(new x(y1,U1.clarifyTimeoutError?x.ETIMEDOUT:x.ECONNABORTED,p,c1)),c1=null},_2.hasStandardBrowserEnv&&(b1&&A.isFunction(b1)&&(b1=b1(p)),b1||b1!==!1&&I3(N1))){const y1=p.xsrfHeaderName&&p.xsrfCookieName&&S2.read(p.xsrfCookieName);y1&&B.set(p.xsrfHeaderName,y1)}P===void 0&&B.setContentType(null),"setRequestHeader"in c1&&A.forEach(B.toJSON(),function(y1,U1){c1.setRequestHeader(U1,y1)}),A.isUndefined(p.withCredentials)||(c1.withCredentials=!!p.withCredentials),v1&&v1!=="json"&&(c1.responseType=p.responseType),typeof p.onDownloadProgress=="function"&&c1.addEventListener("progress",j4(p.onDownloadProgress,!0)),typeof p.onUploadProgress=="function"&&c1.upload&&c1.upload.addEventListener("progress",j4(p.onUploadProgress)),(p.cancelToken||p.signal)&&(q=y1=>{c1&&(k(!y1||y1.type?new d1(null,p,c1):y1),c1.abort(),c1=null)},p.cancelToken&&p.cancelToken.subscribe(q),p.signal&&(p.signal.aborted?q():p.signal.addEventListener("abort",q)));const E1=function(y1){const U1=/^([-+\w]{1,25})(:?\/\/|:)/.exec(y1);return U1&&U1[1]||""}(N1);E1&&_2.protocols.indexOf(E1)===-1?k(new x("Unsupported protocol "+E1+":",x.ERR_BAD_REQUEST,p)):c1.send(P||null)})}};A.forEach(d4,(p,H)=>{if(p){try{Object.defineProperty(p,"name",{value:H})}catch{}Object.defineProperty(p,"adapterName",{value:H})}});const t3=p=>`- ${p}`,r0=p=>A.isFunction(p)||p===null||p===!1;var V8=p=>{p=A.isArray(p)?p:[p];const{length:H}=p;let k,P;const B={};for(let q=0;q<H;q++){let W;if(k=p[q],P=k,!r0(k)&&(P=d4[(W=String(k)).toLowerCase()],P===void 0))throw new x(`Unknown adapter '${W}'`);if(P)break;B[W||"#"+q]=P}if(!P){const q=Object.entries(B).map(([W,v1])=>`adapter ${W} `+(v1===!1?"is not supported by the environment":"is not available in the build"));throw new x("There is no suitable adapter to dispatch the request "+(H?q.length>1?`since :
|
|
4
4
|
`+q.map(t3).join(`
|
|
5
5
|
`):" "+t3(q[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return P};function P7(p){if(p.cancelToken&&p.cancelToken.throwIfRequested(),p.signal&&p.signal.aborted)throw new d1(null,p)}function ka(p){return P7(p),p.headers=r1.from(p.headers),p.data=X.call(p,p.transformRequest),["post","put","patch"].indexOf(p.method)!==-1&&p.headers.setContentType("application/x-www-form-urlencoded",!1),V8(p.adapter||W4.adapter)(p).then(function(H){return P7(p),H.data=X.call(p,p.transformResponse,H),H.headers=r1.from(H.headers),H},function(H){return o1(H)||(P7(p),H&&H.response&&(H.response.data=X.call(p,p.transformResponse,H.response),H.response.headers=r1.from(H.response.headers))),Promise.reject(H)})}const Sa=p=>p instanceof r1?{...p}:p;function y6(p,H){H=H||{};const k={};function P(p1,c1,N1){return A.isPlainObject(p1)&&A.isPlainObject(c1)?A.merge.call({caseless:N1},p1,c1):A.isPlainObject(c1)?A.merge({},c1):A.isArray(c1)?c1.slice():c1}function B(p1,c1,N1){return A.isUndefined(c1)?A.isUndefined(p1)?void 0:P(void 0,p1,N1):P(p1,c1,N1)}function q(p1,c1){if(!A.isUndefined(c1))return P(void 0,c1)}function W(p1,c1){return A.isUndefined(c1)?A.isUndefined(p1)?void 0:P(void 0,p1):P(void 0,c1)}function v1(p1,c1,N1){return N1 in H?P(p1,c1):N1 in p?P(void 0,p1):void 0}const b1={url:q,method:q,data:q,baseURL:W,transformRequest:W,transformResponse:W,paramsSerializer:W,timeout:W,timeoutMessage:W,withCredentials:W,withXSRFToken:W,adapter:W,responseType:W,xsrfCookieName:W,xsrfHeaderName:W,onUploadProgress:W,onDownloadProgress:W,decompress:W,maxContentLength:W,maxBodyLength:W,beforeRedirect:W,transport:W,httpAgent:W,httpsAgent:W,cancelToken:W,socketPath:W,responseEncoding:W,validateStatus:v1,headers:(p1,c1)=>B(Sa(p1),Sa(c1),!0)};return A.forEach(Object.keys(Object.assign({},p,H)),function(p1){const c1=b1[p1]||B,N1=c1(p[p1],H[p1],p1);A.isUndefined(N1)&&c1!==v1||(k[p1]=N1)}),k}const T7={};["object","boolean","number","function","string","symbol"].forEach((p,H)=>{T7[p]=function(k){return typeof k===p||"a"+(H<1?"n ":" ")+p}});const _a={};T7.transitional=function(p,H,k){function P(B,q){return"[Axios v1.6.8] Transitional option '"+B+"'"+q+(k?". "+k:"")}return(B,q,W)=>{if(p===!1)throw new x(P(q," has been removed"+(H?" in "+H:"")),x.ERR_DEPRECATED);return H&&!_a[q]&&(_a[q]=!0,console.warn(P(q," has been deprecated since v"+H+" and will be removed in the near future"))),!p||p(B,q,W)}};var D7={assertOptions:function(p,H,k){if(typeof p!="object")throw new x("options must be an object",x.ERR_BAD_OPTION_VALUE);const P=Object.keys(p);let B=P.length;for(;B-- >0;){const q=P[B],W=H[q];if(W){const v1=p[q],b1=v1===void 0||W(v1,q,p);if(b1!==!0)throw new x("option "+q+" must be "+b1,x.ERR_BAD_OPTION_VALUE)}else if(k!==!0)throw new x("Unknown option "+q,x.ERR_BAD_OPTION)}},validators:T7};const h4=D7.validators;class b8{constructor(H){this.defaults=H,this.interceptors={request:new k1,response:new k1}}async request(H,k){try{return await this._request(H,k)}catch(P){if(P instanceof Error){let B;Error.captureStackTrace?Error.captureStackTrace(B={}):B=new Error;const q=B.stack?B.stack.replace(/^.+\n/,""):"";P.stack?q&&!String(P.stack).endsWith(q.replace(/^.+\n.+\n/,""))&&(P.stack+=`
|
|
6
|
-
`+q):P.stack=q}throw P}}_request(H,k){typeof H=="string"?(k=k||{}).url=H:k=H||{},k=y6(this.defaults,k);const{transitional:P,paramsSerializer:B,headers:q}=k;P!==void 0&&D7.assertOptions(P,{silentJSONParsing:h4.transitional(h4.boolean),forcedJSONParsing:h4.transitional(h4.boolean),clarifyTimeoutError:h4.transitional(h4.boolean)},!1),B!=null&&(A.isFunction(B)?k.paramsSerializer={serialize:B}:D7.assertOptions(B,{encode:h4.function,serialize:h4.function},!0)),k.method=(k.method||this.defaults.method||"get").toLowerCase();let W=q&&A.merge(q.common,q[k.method]);q&&A.forEach(["delete","get","head","post","put","patch","common"],y1=>{delete q[y1]}),k.headers=r1.concat(W,q);const v1=[];let b1=!0;this.interceptors.request.forEach(function(y1){typeof y1.runWhen=="function"&&y1.runWhen(k)===!1||(b1=b1&&y1.synchronous,v1.unshift(y1.fulfilled,y1.rejected))});const p1=[];let c1;this.interceptors.response.forEach(function(y1){p1.push(y1.fulfilled,y1.rejected)});let N1,x1=0;if(!b1){const y1=[ka.bind(this),void 0];for(y1.unshift.apply(y1,v1),y1.push.apply(y1,p1),N1=y1.length,c1=Promise.resolve(k);x1<N1;)c1=c1.then(y1[x1++],y1[x1++]);return c1}N1=v1.length;let E1=k;for(x1=0;x1<N1;){const y1=v1[x1++],U1=v1[x1++];try{E1=y1(E1)}catch(m2){U1.call(this,m2);break}}try{c1=ka.call(this,E1)}catch(y1){return Promise.reject(y1)}for(x1=0,N1=p1.length;x1<N1;)c1=c1.then(p1[x1++],p1[x1++]);return c1}getUri(H){return O1(D2((H=y6(this.defaults,H)).baseURL,H.url),H.params,H.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(p){b8.prototype[p]=function(H,k){return this.request(y6(k||{},{method:p,url:H,data:(k||{}).data}))}}),A.forEach(["post","put","patch"],function(p){function H(k){return function(P,B,q){return this.request(y6(q||{},{method:p,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:B}))}}b8.prototype[p]=H(),b8.prototype[p+"Form"]=H(!0)});var y8=b8;class B7{constructor(H){if(typeof H!="function")throw new TypeError("executor must be a function.");let k;this.promise=new Promise(function(B){k=B});const P=this;this.promise.then(B=>{if(!P._listeners)return;let q=P._listeners.length;for(;q-- >0;)P._listeners[q](B);P._listeners=null}),this.promise.then=B=>{let q;const W=new Promise(v1=>{P.subscribe(v1),q=v1}).then(B);return W.cancel=function(){P.unsubscribe(q)},W},H(function(B,q,W){P.reason||(P.reason=new d1(B,q,W),k(P.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(H){this.reason?H(this.reason):this._listeners?this._listeners.push(H):this._listeners=[H]}unsubscribe(H){if(!this._listeners)return;const k=this._listeners.indexOf(H);k!==-1&&this._listeners.splice(k,1)}static source(){let H;return{token:new B7(function(k){H=k}),cancel:H}}}var Hg=B7;const O7={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(O7).forEach(([p,H])=>{O7[H]=p});var Cg=O7;const C2=function p(H){const k=new y8(H),P=l(y8.prototype.request,k);return A.extend(P,y8.prototype,k,{allOwnKeys:!0}),A.extend(P,k,null,{allOwnKeys:!0}),P.create=function(B){return p(y6(H,B))},P}(W4);C2.Axios=y8,C2.CanceledError=d1,C2.CancelToken=Hg,C2.isCancel=o1,C2.VERSION="1.6.8",C2.toFormData=H1,C2.AxiosError=x,C2.Cancel=C2.CanceledError,C2.all=function(p){return Promise.all(p)},C2.spread=function(p){return function(H){return p.apply(null,H)}},C2.isAxiosError=function(p){return A.isObject(p)&&p.isAxiosError===!0},C2.mergeConfig=y6,C2.AxiosHeaders=r1,C2.formToJSON=p=>V6(A.isHTMLForm(p)?new FormData(p):p),C2.getAdapter=V8,C2.HttpStatusCode=Cg,C2.default=C2,r.exports=C2}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(fr);var u5=fr.exports;const xg={textFirst:{light:"#000000",dark:"#ffffff"},textSecond:{light:"#333333",dark:"#cccccc"},textThird:{light:"#666666",dark:"#999999"},backgroundFirst:{light:"#ffffff",dark:"#121212"},backgroundSecond:{light:"#f5f5f5",dark:"#1e1e1e"},backgroundThird:{light:"#e0e0e0",dark:"#2e2e2e"}},wg={primary:{main:"#218c5a",contrast:"#ffffff"},secondary:{main:"#218c5a",contrast:"#ffffff"},success:{main:"#95cd41",contrast:"#ffffff"},warning:{main:"#ffbd35",contrast:"#ffffff"},danger:{main:"#ff5959",contrast:"#ffffff"},grey:{main:"#6c757d",contrast:"#ffffff"},red:{main:"#de4795",contrast:"#ffffff"},purple:{main:"#7746db",contrast:"#ffffff"},sky:{main:"#1ab8c3",contrast:"#ffffff"},aqua:{main:"#00dbcf",contrast:"#ffffff"},beige:{main:"#fdf5e6",contrast:"#ffffff"}},kg={info:"#54b4d3",link:"#0064ff",error:"#e11515"},ur={...xg,...wg,...kg},dr={notifications:{timeoutTime:4e3,preventRemove:!0},button:{type:"filled"},form:{input:{fontSize:"inherit",height:"2.4em",color:"var(--pga-color-text-first)",backgroundColor:"var(--pga-color-background-first)",backgroundColorDisabled:"var(--pga-color-background-second)",borderColor:"rgba(var(--pga-color-text-first-rgb), 0.2)",borderColorFocus:"var(--pga-color-primary)",borderRadius:"0.25em"}}},Sg={colors:ur,...dr};var hr={exports:{}};(function(e,c){(function(a,t){e.exports=t()})(yg,function(){var a="__v-click-outside",t=typeof window<"u",n=typeof navigator<"u",r=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],s=function(u){var d=u.event,h=u.handler;(0,u.middleware)(d)&&h(d)},o=function(u,d){var h=function(C){var b=typeof C=="function";if(!b&&typeof C!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:b?C:C.handler,middleware:C.middleware||function(y){return y},events:C.events||r,isActive:C.isActive!==!1,detectIframe:C.detectIframe!==!1,capture:!!C.capture}}(d.value),m=h.handler,z=h.middleware,v=h.detectIframe,g=h.capture;if(h.isActive){if(u[a]=h.events.map(function(C){return{event:C,srcTarget:document.documentElement,handler:function(b){return function(y){var _=y.el,R=y.event,N=y.handler,E=y.middleware,T=R.path||R.composedPath&&R.composedPath();(T?T.indexOf(_)<0:!_.contains(R.target))&&s({event:R,handler:N,middleware:E})}({el:u,event:b,handler:m,middleware:z})},capture:g}}),v){var M={event:"blur",srcTarget:window,handler:function(C){return function(b){var y=b.el,_=b.event,R=b.handler,N=b.middleware;setTimeout(function(){var E=document.activeElement;E&&E.tagName==="IFRAME"&&!y.contains(E)&&s({event:_,handler:R,middleware:N})},0)}({el:u,event:C,handler:m,middleware:z})},capture:g};u[a]=[].concat(u[a],[M])}u[a].forEach(function(C){var b=C.event,y=C.srcTarget,_=C.handler;return setTimeout(function(){u[a]&&y.addEventListener(b,_,g)},0)})}},l=function(u){(u[a]||[]).forEach(function(d){return d.srcTarget.removeEventListener(d.event,d.handler,d.capture)}),delete u[a]},f=t?{beforeMount:o,updated:function(u,d){var h=d.value,m=d.oldValue;JSON.stringify(h)!==JSON.stringify(m)&&(l(u),o(u,{value:h}))},unmounted:l}:{};return{install:function(u){u.directive("click-outside",f)},directive:f}})})(hr);var _g=hr.exports;const s9=Lg(_g),Ng=["top","right","bottom","left"],Aa=["start","end"],Pa=Ng.reduce((e,c)=>e.concat(c,c+"-"+Aa[0],c+"-"+Aa[1]),[]),n6=Math.min,e6=Math.max,Ag={left:"right",right:"left",bottom:"top",top:"bottom"},Pg={start:"end",end:"start"};function Ce(e,c,a){return e6(e,n6(c,a))}function z6(e,c){return typeof e=="function"?e(c):e}function B3(e){return e.split("-")[0]}function h3(e){return e.split("-")[1]}function mr(e){return e==="x"?"y":"x"}function o9(e){return e==="y"?"height":"width"}function t8(e){return["top","bottom"].includes(B3(e))?"y":"x"}function l9(e){return mr(t8(e))}function pr(e,c,a){a===void 0&&(a=!1);const t=h3(e),n=l9(e),r=o9(n);let s=n==="x"?t===(a?"end":"start")?"right":"left":t==="start"?"bottom":"top";return c.reference[r]>c.floating[r]&&(s=h5(s)),[s,h5(s)]}function Tg(e){const c=h5(e);return[d5(e),c,d5(c)]}function d5(e){return e.replace(/start|end/g,c=>Pg[c])}function Dg(e,c,a){const t=["left","right"],n=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return a?c?n:t:c?t:n;case"left":case"right":return c?r:s;default:return[]}}function Bg(e,c,a,t){const n=h3(e);let r=Dg(B3(e),a==="start",t);return n&&(r=r.map(s=>s+"-"+n),c&&(r=r.concat(r.map(d5)))),r}function h5(e){return e.replace(/left|right|bottom|top/g,c=>Ag[c])}function Og(e){return{top:0,right:0,bottom:0,left:0,...e}}function vr(e){return typeof e!="number"?Og(e):{top:e,right:e,bottom:e,left:e}}function H0(e){const{x:c,y:a,width:t,height:n}=e;return{width:t,height:n,top:a,left:c,right:c+t,bottom:a+n,x:c,y:a}}function Ta(e,c,a){let{reference:t,floating:n}=e;const r=t8(c),s=l9(c),o=o9(s),l=B3(c),f=r==="y",u=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,h=t[o]/2-n[o]/2;let m;switch(l){case"top":m={x:u,y:t.y-n.height};break;case"bottom":m={x:u,y:t.y+t.height};break;case"right":m={x:t.x+t.width,y:d};break;case"left":m={x:t.x-n.width,y:d};break;default:m={x:t.x,y:t.y}}switch(h3(c)){case"start":m[s]-=h*(a&&f?-1:1);break;case"end":m[s]+=h*(a&&f?-1:1);break}return m}const Rg=async(e,c,a)=>{const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s}=a,o=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(c));let f=await s.getElementRects({reference:e,floating:c,strategy:n}),{x:u,y:d}=Ta(f,t,l),h=t,m={},z=0;for(let v=0;v<o.length;v++){const{name:g,fn:M}=o[v],{x:C,y:b,data:y,reset:_}=await M({x:u,y:d,initialPlacement:t,placement:h,strategy:n,middlewareData:m,rects:f,platform:s,elements:{reference:e,floating:c}});u=C??u,d=b??d,m={...m,[g]:{...m[g],...y}},_&&z<=50&&(z++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(f=_.rects===!0?await s.getElementRects({reference:e,floating:c,strategy:n}):_.rects),{x:u,y:d}=Ta(f,h,l)),v=-1)}return{x:u,y:d,placement:h,strategy:n,middlewareData:m}};async function E5(e,c){var a;c===void 0&&(c={});const{x:t,y:n,platform:r,rects:s,elements:o,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=z6(c,e),z=vr(m),g=o[h?d==="floating"?"reference":"floating":d],M=H0(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(g)))==null||a?g:g.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(o.floating)),boundary:f,rootBoundary:u,strategy:l})),C=d==="floating"?{x:t,y:n,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(o.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},_=H0(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:C,offsetParent:b,strategy:l}):C);return{top:(M.top-_.top+z.top)/y.y,bottom:(_.bottom-M.bottom+z.bottom)/y.y,left:(M.left-_.left+z.left)/y.x,right:(_.right-M.right+z.right)/y.x}}const Fg=e=>({name:"arrow",options:e,async fn(c){const{x:a,y:t,placement:n,rects:r,platform:s,elements:o,middlewareData:l}=c,{element:f,padding:u=0}=z6(e,c)||{};if(f==null)return{};const d=vr(u),h={x:a,y:t},m=l9(n),z=o9(m),v=await s.getDimensions(f),g=m==="y",M=g?"top":"left",C=g?"bottom":"right",b=g?"clientHeight":"clientWidth",y=r.reference[z]+r.reference[m]-h[m]-r.floating[z],_=h[m]-r.reference[m],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let N=R?R[b]:0;(!N||!await(s.isElement==null?void 0:s.isElement(R)))&&(N=o.floating[b]||r.floating[z]);const E=y/2-_/2,T=N/2-v[z]/2-1,U=n6(d[M],T),t1=n6(d[C],T),O=U,Z=N-v[z]-t1,a1=N/2-v[z]/2+E,L=Ce(O,a1,Z),S=!l.arrow&&h3(n)!=null&&a1!==L&&r.reference[z]/2-(a1<O?U:t1)-v[z]/2<0,D=S?a1<O?a1-O:a1-Z:0;return{[m]:h[m]+D,data:{[m]:L,centerOffset:a1-L-D,...S&&{alignmentOffset:D}},reset:S}}});function Eg(e,c,a){return(e?[...a.filter(n=>h3(n)===e),...a.filter(n=>h3(n)!==e)]:a.filter(n=>B3(n)===n)).filter(n=>e?h3(n)===e||(c?d5(n)!==n:!1):!0)}const $g=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(c){var a,t,n;const{rects:r,middlewareData:s,placement:o,platform:l,elements:f}=c,{crossAxis:u=!1,alignment:d,allowedPlacements:h=Pa,autoAlignment:m=!0,...z}=z6(e,c),v=d!==void 0||h===Pa?Eg(d||null,m,h):h,g=await E5(c,z),M=((a=s.autoPlacement)==null?void 0:a.index)||0,C=v[M];if(C==null)return{};const b=pr(C,r,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(o!==C)return{reset:{placement:v[0]}};const y=[g[B3(C)],g[b[0]],g[b[1]]],_=[...((t=s.autoPlacement)==null?void 0:t.overflows)||[],{placement:C,overflows:y}],R=v[M+1];if(R)return{data:{index:M+1,overflows:_},reset:{placement:R}};const N=_.map(U=>{const t1=h3(U.placement);return[U.placement,t1&&u?U.overflows.slice(0,2).reduce((O,Z)=>O+Z,0):U.overflows[0],U.overflows]}).sort((U,t1)=>U[1]-t1[1]),T=((n=N.filter(U=>U[2].slice(0,h3(U[0])?2:3).every(t1=>t1<=0))[0])==null?void 0:n[0])||N[0][0];return T!==o?{data:{index:M+1,overflows:_},reset:{placement:T}}:{}}}},Ig=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(c){var a,t;const{placement:n,middlewareData:r,rects:s,initialPlacement:o,platform:l,elements:f}=c,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:v=!0,...g}=z6(e,c);if((a=r.arrow)!=null&&a.alignmentOffset)return{};const M=B3(n),C=B3(o)===o,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=h||(C||!v?[h5(o)]:Tg(o));!h&&z!=="none"&&y.push(...Bg(o,v,z,b));const _=[o,...y],R=await E5(c,g),N=[];let E=((t=r.flip)==null?void 0:t.overflows)||[];if(u&&N.push(R[M]),d){const O=pr(n,s,b);N.push(R[O[0]],R[O[1]])}if(E=[...E,{placement:n,overflows:N}],!N.every(O=>O<=0)){var T,U;const O=(((T=r.flip)==null?void 0:T.index)||0)+1,Z=_[O];if(Z)return{data:{index:O,overflows:E},reset:{placement:Z}};let a1=(U=E.filter(L=>L.overflows[0]<=0).sort((L,S)=>L.overflows[1]-S.overflows[1])[0])==null?void 0:U.placement;if(!a1)switch(m){case"bestFit":{var t1;const L=(t1=E.map(S=>[S.placement,S.overflows.filter(D=>D>0).reduce((D,J)=>D+J,0)]).sort((S,D)=>S[1]-D[1])[0])==null?void 0:t1[0];L&&(a1=L);break}case"initialPlacement":a1=o;break}if(n!==a1)return{reset:{placement:a1}}}return{}}}};async function qg(e,c){const{placement:a,platform:t,elements:n}=e,r=await(t.isRTL==null?void 0:t.isRTL(n.floating)),s=B3(a),o=h3(a),l=t8(a)==="y",f=["left","top"].includes(s)?-1:1,u=r&&l?-1:1,d=z6(c,e);let{mainAxis:h,crossAxis:m,alignmentAxis:z}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return o&&typeof z=="number"&&(m=o==="end"?z*-1:z),l?{x:m*u,y:h*f}:{x:h*f,y:m*u}}const Yg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(c){var a,t;const{x:n,y:r,placement:s,middlewareData:o}=c,l=await qg(c,e);return s===((a=o.offset)==null?void 0:a.placement)&&(t=o.arrow)!=null&&t.alignmentOffset?{}:{x:n+l.x,y:r+l.y,data:{...l,placement:s}}}}},Wg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(c){const{x:a,y:t,placement:n}=c,{mainAxis:r=!0,crossAxis:s=!1,limiter:o={fn:g=>{let{x:M,y:C}=g;return{x:M,y:C}}},...l}=z6(e,c),f={x:a,y:t},u=await E5(c,l),d=t8(B3(n)),h=mr(d);let m=f[h],z=f[d];if(r){const g=h==="y"?"top":"left",M=h==="y"?"bottom":"right",C=m+u[g],b=m-u[M];m=Ce(C,m,b)}if(s){const g=d==="y"?"top":"left",M=d==="y"?"bottom":"right",C=z+u[g],b=z-u[M];z=Ce(C,z,b)}const v=o.fn({...c,[h]:m,[d]:z});return{...v,data:{x:v.x-a,y:v.y-t}}}}},Ug=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(c){const{placement:a,rects:t,platform:n,elements:r}=c,{apply:s=()=>{},...o}=z6(e,c),l=await E5(c,o),f=B3(a),u=h3(a),d=t8(a)==="y",{width:h,height:m}=t.floating;let z,v;f==="top"||f==="bottom"?(z=f,v=u===(await(n.isRTL==null?void 0:n.isRTL(r.floating))?"start":"end")?"left":"right"):(v=f,z=u==="end"?"top":"bottom");const g=m-l.top-l.bottom,M=h-l.left-l.right,C=n6(m-l[z],g),b=n6(h-l[v],M),y=!c.middlewareData.shift;let _=C,R=b;if(d?R=u||y?n6(b,M):M:_=u||y?n6(C,g):g,y&&!u){const E=e6(l.left,0),T=e6(l.right,0),U=e6(l.top,0),t1=e6(l.bottom,0);d?R=h-2*(E!==0||T!==0?E+T:e6(l.left,l.right)):_=m-2*(U!==0||t1!==0?U+t1:e6(l.top,l.bottom))}await s({...c,availableWidth:R,availableHeight:_});const N=await n.getDimensions(r.floating);return h!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function J2(e){var c;return((c=e.ownerDocument)==null?void 0:c.defaultView)||window}function N3(e){return J2(e).getComputedStyle(e)}const Da=Math.min,C0=Math.max,m5=Math.round;function zr(e){const c=N3(e);let a=parseFloat(c.width),t=parseFloat(c.height);const n=e.offsetWidth,r=e.offsetHeight,s=m5(a)!==n||m5(t)!==r;return s&&(a=n,t=r),{width:a,height:t,fallback:s}}function B4(e){return Mr(e)?(e.nodeName||"").toLowerCase():""}let L8;function gr(){if(L8)return L8;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(L8=e.brands.map(c=>c.brand+"/"+c.version).join(" "),L8):navigator.userAgent}function A3(e){return e instanceof J2(e).HTMLElement}function k4(e){return e instanceof J2(e).Element}function Mr(e){return e instanceof J2(e).Node}function Ba(e){return typeof ShadowRoot>"u"?!1:e instanceof J2(e).ShadowRoot||e instanceof ShadowRoot}function $5(e){const{overflow:c,overflowX:a,overflowY:t,display:n}=N3(e);return/auto|scroll|overlay|hidden|clip/.test(c+t+a)&&!["inline","contents"].includes(n)}function jg(e){return["table","td","th"].includes(B4(e))}function Ve(e){const c=/firefox/i.test(gr()),a=N3(e),t=a.backdropFilter||a.WebkitBackdropFilter;return a.transform!=="none"||a.perspective!=="none"||!!t&&t!=="none"||c&&a.willChange==="filter"||c&&!!a.filter&&a.filter!=="none"||["transform","perspective"].some(n=>a.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const r=a.contain;return r!=null&&r.includes(n)})}function Hr(){return!/^((?!chrome|android).)*safari/i.test(gr())}function f9(e){return["html","body","#document"].includes(B4(e))}function Cr(e){return k4(e)?e:e.contextElement}const Vr={x:1,y:1};function O6(e){const c=Cr(e);if(!A3(c))return Vr;const a=c.getBoundingClientRect(),{width:t,height:n,fallback:r}=zr(c);let s=(r?m5(a.width):a.width)/t,o=(r?m5(a.height):a.height)/n;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function D0(e,c,a,t){var n,r;c===void 0&&(c=!1),a===void 0&&(a=!1);const s=e.getBoundingClientRect(),o=Cr(e);let l=Vr;c&&(t?k4(t)&&(l=O6(t)):l=O6(e));const f=o?J2(o):window,u=!Hr()&&a;let d=(s.left+(u&&((n=f.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(s.top+(u&&((r=f.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,m=s.width/l.x,z=s.height/l.y;if(o){const v=J2(o),g=t&&k4(t)?J2(t):t;let M=v.frameElement;for(;M&&t&&g!==v;){const C=O6(M),b=M.getBoundingClientRect(),y=getComputedStyle(M);b.x+=(M.clientLeft+parseFloat(y.paddingLeft))*C.x,b.y+=(M.clientTop+parseFloat(y.paddingTop))*C.y,d*=C.x,h*=C.y,m*=C.x,z*=C.y,d+=b.x,h+=b.y,M=J2(M).frameElement}}return{width:m,height:z,top:h,right:d+m,bottom:h+z,left:d,x:d,y:h}}function S4(e){return((Mr(e)?e.ownerDocument:e.document)||window.document).documentElement}function I5(e){return k4(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function br(e){return D0(S4(e)).left+I5(e).scrollLeft}function B0(e){if(B4(e)==="html")return e;const c=e.assignedSlot||e.parentNode||Ba(e)&&e.host||S4(e);return Ba(c)?c.host:c}function yr(e){const c=B0(e);return f9(c)?c.ownerDocument.body:A3(c)&&$5(c)?c:yr(c)}function p5(e,c){var a;c===void 0&&(c=[]);const t=yr(e),n=t===((a=e.ownerDocument)==null?void 0:a.body),r=J2(t);return n?c.concat(r,r.visualViewport||[],$5(t)?t:[]):c.concat(t,p5(t))}function Oa(e,c,a){return c==="viewport"?H0(function(t,n){const r=J2(t),s=S4(t),o=r.visualViewport;let l=s.clientWidth,f=s.clientHeight,u=0,d=0;if(o){l=o.width,f=o.height;const h=Hr();(h||!h&&n==="fixed")&&(u=o.offsetLeft,d=o.offsetTop)}return{width:l,height:f,x:u,y:d}}(e,a)):k4(c)?H0(function(t,n){const r=D0(t,!0,n==="fixed"),s=r.top+t.clientTop,o=r.left+t.clientLeft,l=A3(t)?O6(t):{x:1,y:1};return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:o*l.x,y:s*l.y}}(c,a)):H0(function(t){const n=S4(t),r=I5(t),s=t.ownerDocument.body,o=C0(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),l=C0(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let f=-r.scrollLeft+br(t);const u=-r.scrollTop;return N3(s).direction==="rtl"&&(f+=C0(n.clientWidth,s.clientWidth)-o),{width:o,height:l,x:f,y:u}}(S4(e)))}function Ra(e){return A3(e)&&N3(e).position!=="fixed"?e.offsetParent:null}function Fa(e){const c=J2(e);let a=Ra(e);for(;a&&jg(a)&&N3(a).position==="static";)a=Ra(a);return a&&(B4(a)==="html"||B4(a)==="body"&&N3(a).position==="static"&&!Ve(a))?c:a||function(t){let n=B0(t);for(;A3(n)&&!f9(n);){if(Ve(n))return n;n=B0(n)}return null}(e)||c}function Gg(e,c,a){const t=A3(c),n=S4(c),r=D0(e,!0,a==="fixed",c);let s={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(t||!t&&a!=="fixed")if((B4(c)!=="body"||$5(n))&&(s=I5(c)),A3(c)){const l=D0(c,!0);o.x=l.x+c.clientLeft,o.y=l.y+c.clientTop}else n&&(o.x=br(n));return{x:r.left+s.scrollLeft-o.x,y:r.top+s.scrollTop-o.y,width:r.width,height:r.height}}const Zg={getClippingRect:function(e){let{element:c,boundary:a,rootBoundary:t,strategy:n}=e;const r=a==="clippingAncestors"?function(f,u){const d=u.get(f);if(d)return d;let h=p5(f).filter(g=>k4(g)&&B4(g)!=="body"),m=null;const z=N3(f).position==="fixed";let v=z?B0(f):f;for(;k4(v)&&!f9(v);){const g=N3(v),M=Ve(v);(z?M||m:M||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:h=h.filter(C=>C!==v),v=B0(v)}return u.set(f,h),h}(c,this._c):[].concat(a),s=[...r,t],o=s[0],l=s.reduce((f,u)=>{const d=Oa(c,u,n);return f.top=C0(d.top,f.top),f.right=Da(d.right,f.right),f.bottom=Da(d.bottom,f.bottom),f.left=C0(d.left,f.left),f},Oa(c,o,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:c,offsetParent:a,strategy:t}=e;const n=A3(a),r=S4(a);if(a===r)return c;let s={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((n||!n&&t!=="fixed")&&((B4(a)!=="body"||$5(r))&&(s=I5(a)),A3(a))){const f=D0(a);o=O6(a),l.x=f.x+a.clientLeft,l.y=f.y+a.clientTop}return{width:c.width*o.x,height:c.height*o.y,x:c.x*o.x-s.scrollLeft*o.x+l.x,y:c.y*o.y-s.scrollTop*o.y+l.y}},isElement:k4,getDimensions:function(e){return A3(e)?zr(e):e.getBoundingClientRect()},getOffsetParent:Fa,getDocumentElement:S4,getScale:O6,async getElementRects(e){let{reference:c,floating:a,strategy:t}=e;const n=this.getOffsetParent||Fa,r=this.getDimensions;return{reference:Gg(c,await n(a),t),floating:{x:0,y:0,...await r(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>N3(e).direction==="rtl"},Xg=(e,c,a)=>{const t=new Map,n={platform:Zg,...a},r={...n.platform,_c:t};return Rg(e,c,{...n,platform:r})};function Lr(e,c){for(const a in c)Object.prototype.hasOwnProperty.call(c,a)&&(typeof c[a]=="object"&&e[a]?Lr(e[a],c[a]):e[a]=c[a])}const m3={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 O0(e,c){let a=m3.themes[e]||{},t;do t=a[c],typeof t>"u"?a.$extend?a=m3.themes[a.$extend]||{}:(a=null,t=m3[c]):a=null;while(a);return t}function Kg(e){const c=[e];let a=m3.themes[e]||{};do a.$extend&&!a.$resetCss?(c.push(a.$extend),a=m3.themes[a.$extend]||{}):a=null;while(a);return c.map(t=>`v-popper--theme-${t}`)}function Ea(e){const c=[e];let a=m3.themes[e]||{};do a.$extend?(c.push(a.$extend),a=m3.themes[a.$extend]||{}):a=null;while(a);return c}let q6=!1;if(typeof window<"u"){q6=!1;try{const e=Object.defineProperty({},"passive",{get(){q6=!0}});window.addEventListener("test",null,e)}catch{}}let xr=!1;typeof window<"u"&&typeof navigator<"u"&&(xr=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const wr=["auto","top","bottom","left","right"].reduce((e,c)=>e.concat([c,`${c}-start`,`${c}-end`]),[]),$a={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ia={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function qa(e,c){const a=e.indexOf(c);a!==-1&&e.splice(a,1)}function R7(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const i3=[];let G4=null;const Ya={};function Wa(e){let c=Ya[e];return c||(c=Ya[e]=[]),c}let be=function(){};typeof window<"u"&&(be=window.Element);function R1(e){return function(c){return O0(c.theme,e)}}const F7="__floating-vue__popper",kr=()=>i.defineComponent({name:"VPopper",provide(){return{[F7]:{parentPopper:this}}},inject:{[F7]:{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:R1("disabled")},positioningDisabled:{type:Boolean,default:R1("positioningDisabled")},placement:{type:String,default:R1("placement"),validator:e=>wr.includes(e)},delay:{type:[String,Number,Object],default:R1("delay")},distance:{type:[Number,String],default:R1("distance")},skidding:{type:[Number,String],default:R1("skidding")},triggers:{type:Array,default:R1("triggers")},showTriggers:{type:[Array,Function],default:R1("showTriggers")},hideTriggers:{type:[Array,Function],default:R1("hideTriggers")},popperTriggers:{type:Array,default:R1("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:R1("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:R1("popperHideTriggers")},container:{type:[String,Object,be,Boolean],default:R1("container")},boundary:{type:[String,be],default:R1("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:R1("strategy")},autoHide:{type:[Boolean,Function],default:R1("autoHide")},handleResize:{type:Boolean,default:R1("handleResize")},instantMove:{type:Boolean,default:R1("instantMove")},eagerMount:{type:Boolean,default:R1("eagerMount")},popperClass:{type:[String,Array,Object],default:R1("popperClass")},computeTransformOrigin:{type:Boolean,default:R1("computeTransformOrigin")},autoMinSize:{type:Boolean,default:R1("autoMinSize")},autoSize:{type:[Boolean,String],default:R1("autoSize")},autoMaxSize:{type:Boolean,default:R1("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:R1("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:R1("preventOverflow")},overflowPadding:{type:[Number,String],default:R1("overflowPadding")},arrowPadding:{type:[Number,String],default:R1("arrowPadding")},arrowOverflow:{type:Boolean,default:R1("arrowOverflow")},flip:{type:Boolean,default:R1("flip")},shift:{type:Boolean,default:R1("shift")},shiftCrossAxis:{type:Boolean,default:R1("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:R1("noAutoFocus")},disposeTimeout:{type:Number,default:R1("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[F7])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,c;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((c=this.popperShowTriggers)==null?void 0:c.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,c)=>(e[c]="$_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:c=!1,force:a=!1}={}){var t,n;(t=this.parentPopper)!=null&&t.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(a||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,c),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:c=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:c}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,c),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(c=>c.nodeType===c.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(Yg({mainAxis:this.distance,crossAxis:this.skidding}));const c=this.placement.startsWith("auto");if(c?e.middleware.push($g({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Wg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!c&&this.flip&&e.middleware.push(Ig({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Fg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:n,middlewareData:r})=>{let s;const{centerOffset:o}=r.arrow;return t.startsWith("top")||t.startsWith("bottom")?s=Math.abs(o)>n.reference.width/2:s=Math.abs(o)>n.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const t=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:r,middlewareData:s})=>{var o;if((o=s.autoSize)!=null&&o.skip)return{};let l,f;return r.startsWith("top")||r.startsWith("bottom")?l=n.reference.width:f=n.reference.height,this.$_innerNode.style[t==="min"?"minWidth":t==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[t==="min"?"minHeight":t==="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(Ug({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:t,availableHeight:n})=>{this.$_innerNode.style.maxWidth=t!=null?`${t}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const a=await Xg(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:{...a.middlewareData.arrow,...a.middlewareData.arrowOverflow}})},$_scheduleShow(e,c=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),G4&&this.instantMove&&G4.instantMove&&G4!==this.parentPopper){G4.$_applyHide(!0),this.$_applyShow(!0);return}c?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,c=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(G4=this),c?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const c=this.delay;return parseInt(c&&c[e]||c||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await R7(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...p5(this.$_referenceNode),...p5(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const c=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),t=a.parentNode.getBoundingClientRect(),n=c.x+c.width/2-(t.left+a.offsetLeft),r=c.y+c.height/2-(t.top+a.offsetTop);this.result.transformOrigin=`${n}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let c;for(let a=0;a<i3.length;a++)c=i3[a],c.showGroup!==e&&(c.hide(),c.$emit("close-group"))}i3.push(this),document.body.classList.add("v-popper--some-open");for(const c of Ea(this.theme))Wa(c).push(this),document.body.classList.add(`v-popper--some-open--${c}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await R7(),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,qa(i3,this),i3.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Ea(this.theme)){const t=Wa(a);qa(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}G4===this&&(G4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const c=this.disposeTimeout;c!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},c)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await R7(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,$a,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],$a,this.popperTriggers,this.popperShowTriggers,e);const c=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Ia,this.triggers,this.hideTriggers,c),this.$_registerTriggerListeners([this.$_popperNode],Ia,this.popperTriggers,this.popperHideTriggers,c)},$_registerEventListeners(e,c,a){this.$_events.push({targetNodes:e,eventType:c,handler:a}),e.forEach(t=>t.addEventListener(c,a,q6?{passive:!0}:void 0))},$_registerTriggerListeners(e,c,a,t,n){let r=a;t!=null&&(r=typeof t=="function"?t(r):t),r.forEach(s=>{const o=c[s];o&&this.$_registerEventListeners(e,o,n)})},$_removeEventListeners(e){const c=[];this.$_events.forEach(a=>{const{targetNodes:t,eventType:n,handler:r}=a;!e||e===n?t.forEach(s=>s.removeEventListener(n,r)):c.push(a)}),this.$_events=c},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,c=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),c&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,c){for(const a of this.$_targetNodes){const t=a.getAttribute(e);t&&(a.removeAttribute(e),a.setAttribute(c,t))}},$_applyAttrsToTarget(e){for(const c of this.$_targetNodes)for(const a in e){const t=e[a];t==null?c.removeAttribute(a):c.setAttribute(a,t)}},$_updateParentShownChildren(e){let c=this.parentPopper;for(;c;)e?c.shownChildren.add(this.randomId):(c.shownChildren.delete(this.randomId),c.pendingHide&&c.hide()),c=c.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(V0>=e.left&&V0<=e.right&&b0>=e.top&&b0<=e.bottom){const c=this.$_popperNode.getBoundingClientRect(),a=V0-g4,t=b0-M4,n=c.left+c.width/2-g4+(c.top+c.height/2)-M4+c.width+c.height,r=g4+a*n,s=M4+t*n;return x8(g4,M4,r,s,c.left,c.top,c.left,c.bottom)||x8(g4,M4,r,s,c.left,c.top,c.right,c.top)||x8(g4,M4,r,s,c.right,c.top,c.right,c.bottom)||x8(g4,M4,r,s,c.left,c.bottom,c.right,c.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(xr){const e=q6?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",c=>Ua(c,!0),e),document.addEventListener("touchend",c=>ja(c,!0),e)}else window.addEventListener("mousedown",e=>Ua(e,!1),!0),window.addEventListener("click",e=>ja(e,!1),!0);window.addEventListener("resize",Jg)}function Ua(e,c){if(m3.autoHideOnMousedown)Sr(e,c);else for(let a=0;a<i3.length;a++){const t=i3[a];try{t.mouseDownContains=t.popperNode().contains(e.target)}catch{}}}function ja(e,c){m3.autoHideOnMousedown||Sr(e,c)}function Sr(e,c){const a={};for(let t=i3.length-1;t>=0;t--){const n=i3[t];try{const r=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!a[n.randomId]&&Ga(n,r,e)){if(n.$_handleGlobalClose(e,c),!e.closeAllPopover&&e.closePopover&&r){let o=n.parentPopper;for(;o;)a[o.randomId]=!0,o=o.parentPopper;return}let s=n.parentPopper;for(;s&&Ga(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,c),s=s.parentPopper}})}catch{}}}function Ga(e,c,a){return a.closeAllPopover||a.closePopover&&c||Qg(e,a)&&!c}function Qg(e,c){if(typeof e.autoHide=="function"){const a=e.autoHide(c);return e.lastAutoHide=a,a}return e.autoHide}function Jg(){for(let e=0;e<i3.length;e++)i3[e].$_computePosition()}let g4=0,M4=0,V0=0,b0=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{g4=V0,M4=b0,V0=e.clientX,b0=e.clientY},q6?{passive:!0}:void 0);function x8(e,c,a,t,n,r,s,o){const l=((s-n)*(c-r)-(o-r)*(e-n))/((o-r)*(a-e)-(s-n)*(t-c)),f=((a-e)*(c-r)-(t-c)*(e-n))/((o-r)*(a-e)-(s-n)*(t-c));return l>=0&&l<=1&&f>=0&&f<=1}const eM={extends:kr()},q5=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a};function cM(e,c,a,t,n,r){return i.openBlock(),i.createElementBlock("div",{ref:"reference",class:i.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[i.renderSlot(e.$slots,"default",i.normalizeProps(i.guardReactiveProps(e.slotData)))],2)}const aM=q5(eM,[["render",cM]]);function tM(){var e=window.navigator.userAgent,c=e.indexOf("MSIE ");if(c>0)return parseInt(e.substring(c+5,e.indexOf(".",c)),10);var a=e.indexOf("Trident/");if(a>0){var t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let e5;function ye(){ye.init||(ye.init=!0,e5=tM()!==-1)}var Y5={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ye(),i.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",e5&&this.$el.appendChild(e),e.data="about:blank",e5||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&&(!e5&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const nM=i.withScopeId("data-v-b329ee4c");i.pushScopeId("data-v-b329ee4c");const rM={class:"resize-observer",tabindex:"-1"};i.popScopeId();const iM=nM((e,c,a,t,n,r)=>(i.openBlock(),i.createBlock("div",rM)));Y5.render=iM;Y5.__scopeId="data-v-b329ee4c";Y5.__file="src/components/ResizeObserver.vue";const _r=(e="theme")=>({computed:{themeClass(){return Kg(this[e])}}}),sM=i.defineComponent({name:"VPopperContent",components:{ResizeObserver:Y5},mixins:[_r()],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}}}),oM=["id","aria-hidden","tabindex","data-popper-placement"],lM={ref:"inner",class:"v-popper__inner"},fM=i.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),uM=i.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),dM=[fM,uM];function hM(e,c,a,t,n,r){const s=i.resolveComponent("ResizeObserver");return i.openBlock(),i.createElementBlock("div",{id:e.popperId,ref:"popover",class:i.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:i.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:c[2]||(c[2]=i.withKeys(o=>e.autoHide&&e.$emit("hide"),["esc"]))},[i.createElementVNode("div",{class:"v-popper__backdrop",onClick:c[0]||(c[0]=o=>e.autoHide&&e.$emit("hide"))}),i.createElementVNode("div",{class:"v-popper__wrapper",style:i.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[i.createElementVNode("div",lM,[e.mounted?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",null,[i.renderSlot(e.$slots,"default")]),e.handleResize?(i.openBlock(),i.createBlock(s,{key:0,onNotify:c[1]||(c[1]=o=>e.$emit("resize",o))})):i.createCommentVNode("",!0)],64)):i.createCommentVNode("",!0)],512),i.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:i.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},dM,4)],4)],46,oM)}const Nr=q5(sM,[["render",hM]]),Ar={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 Le=function(){};typeof window<"u"&&(Le=window.Element);const mM=i.defineComponent({name:"VPopperWrapper",components:{Popper:aM,PopperContent:Nr},mixins:[Ar,_r("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,Le,Boolean],default:void 0},boundary:{type:[String,Le],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 pM(e,c,a,t,n,r){const s=i.resolveComponent("PopperContent"),o=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(o,i.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:c[0]||(c[0]=()=>e.$emit("show")),onHide:c[1]||(c[1]=()=>e.$emit("hide")),"onUpdate:shown":c[2]||(c[2]=l=>e.$emit("update:shown",l)),onApplyShow:c[3]||(c[3]=()=>e.$emit("apply-show")),onApplyHide:c[4]||(c[4]=()=>e.$emit("apply-hide")),onCloseGroup:c[5]||(c[5]=()=>e.$emit("close-group")),onCloseDirective:c[6]||(c[6]=()=>e.$emit("close-directive")),onAutoHide:c[7]||(c[7]=()=>e.$emit("auto-hide")),onResize:c[8]||(c[8]=()=>e.$emit("resize"))}),{default:i.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,show:m,hide:z,handleResize:v,onResize:g,classes:M,result:C})=>[i.renderSlot(e.$slots,"default",{shown:f,show:m,hide:z}),i.createVNode(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":v,classes:M,result:C,onHide:z,onResize:g},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"popper",{shown:f,hide:z})]),_: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 u9=q5(mM,[["render",pM]]),vM={...u9,name:"VDropdown",vPopperTheme:"dropdown"},zM={...u9,name:"VMenu",vPopperTheme:"menu"},gM={...u9,name:"VTooltip",vPopperTheme:"tooltip"},MM=i.defineComponent({name:"VTooltipDirective",components:{Popper:kr(),PopperContent:Nr},mixins:[Ar],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>O0(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>O0(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 c=++this.$_fetchId,a=this.content(this);a.then?a.then(t=>this.onResult(c,t)):this.onResult(c,a)}},onResult(e,c){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=c)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),HM=["innerHTML"],CM=["textContent"];function VM(e,c,a,t,n,r){const s=i.resolveComponent("PopperContent"),o=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(o,i.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:i.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,hide:m,handleResize:z,onResize:v,classes:g,result:M})=>[i.createVNode(s,{ref:"popperContent",class:i.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":z,classes:g,result:M,onHide:m,onResize:v},{default:i.withCtx(()=>[e.html?(i.openBlock(),i.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,HM)):(i.openBlock(),i.createElementBlock("div",{key:1,textContent:i.toDisplayString(e.finalContent)},null,8,CM))]),_: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 bM=q5(MM,[["render",VM]]),Pr="v-popper--has-tooltip";function yM(e,c){let a=e.placement;if(!a&&c)for(const t of wr)c[t]&&(a=t);return a||(a=O0(e.theme||"tooltip","placement")),a}function Tr(e,c,a){let t;const n=typeof c;return n==="string"?t={content:c}:c&&n==="object"?t=c:t={content:!1},t.placement=yM(t,a),t.targetNodes=()=>[e],t.referenceNode=()=>e,t}let E7,R0,LM=0;function xM(){if(E7)return;R0=i.ref([]),E7=i.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:R0}},render(){return this.directives.map(c=>i.h(bM,{...c.options,shown:c.shown||c.options.shown,key:c.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),E7.mount(e)}function wM(e,c,a){xM();const t=i.ref(Tr(e,c,a)),n=i.ref(!1),r={id:LM++,options:t,shown:n};return R0.value.push(r),e.classList&&e.classList.add(Pr),e.$_popper={options:t,item:r,show(){n.value=!0},hide(){n.value=!1}}}function Dr(e){if(e.$_popper){const c=R0.value.indexOf(e.$_popper.item);c!==-1&&R0.value.splice(c,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Pr)}function Za(e,{value:c,modifiers:a}){const t=Tr(e,c,a);if(!t.content||O0(t.theme||"tooltip","disabled"))Dr(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=t):n=wM(e,c,a),typeof c.shown<"u"&&c.shown!==e.$_popperOldShown&&(e.$_popperOldShown=c.shown,c.shown?n.show():n.hide())}}const kM={beforeMount:Za,updated:Za,beforeUnmount(e){Dr(e)}};function Xa(e){e.addEventListener("mousedown",v5),e.addEventListener("click",v5),e.addEventListener("touchstart",Br,q6?{passive:!0}:!1)}function Ka(e){e.removeEventListener("mousedown",v5),e.removeEventListener("click",v5),e.removeEventListener("touchstart",Br),e.removeEventListener("touchend",Or),e.removeEventListener("touchcancel",Rr)}function v5(e){const c=e.currentTarget;e.closePopover=!c.$_vclosepopover_touch,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}function Br(e){if(e.changedTouches.length===1){const c=e.currentTarget;c.$_vclosepopover_touch=!0;const a=e.changedTouches[0];c.$_vclosepopover_touchPoint=a,c.addEventListener("touchend",Or),c.addEventListener("touchcancel",Rr)}}function Or(e){const c=e.currentTarget;if(c.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],t=c.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-t.screenY)<20&&Math.abs(a.screenX-t.screenX)<20,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}}function Rr(e){const c=e.currentTarget;c.$_vclosepopover_touch=!1}const SM={beforeMount(e,{value:c,modifiers:a}){e.$_closePopoverModifiers=a,(typeof c>"u"||c)&&Xa(e)},updated(e,{value:c,oldValue:a,modifiers:t}){e.$_closePopoverModifiers=t,c!==a&&(typeof c>"u"||c?Xa(e):Ka(e))},beforeUnmount(e){Ka(e)}};function _M(e,c={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Lr(m3,c),e.directive("tooltip",kM),e.directive("close-popper",SM),e.component("VTooltip",gM),e.component("VDropdown",vM),e.component("VMenu",zM))}const NM={version:"5.2.2",install:_M,options:m3},I4=v3.defineStore("pga-options",()=>{const e=i.ref(dr),c=i.computed(()=>e.value.notifications),a=i.computed(()=>e.value.button),t=i.computed(()=>e.value.form);return{options:e,notificationsOptions:c,buttonOptions:a,formOptions:t}});function $7(e){if(typeof e=="string")return"informative";if("light"in e&&"dark"in e)return"theme";if("main"in e&&"contrast"in e)return"prop"}function AM(e){const c=e.replace(/^#/,""),a=parseInt(c.substring(0,2),16),t=parseInt(c.substring(2,4),16),n=parseInt(c.substring(4,6),16);return`${a}, ${t}, ${n}`}function Qa(e,c){document.querySelector(":root").style.setProperty(e,c)}function I7(e,c){const a="--pga-color-";Qa(`${a}${u5.camelToSnakeCase(e)}`,c),Qa(`${a}${u5.camelToSnakeCase(e)}-rgb`,AM(c))}const Fr=v3.defineStore("pga-theme",()=>({theme:i.ref("light")}),{persist:!0});function xe(){return Fr().theme}function PM(e){Fr().theme=e}const Er=v3.defineStore("pga-colors",()=>{const e=i.ref(ur);return i.watch([e,()=>xe()],()=>{const c=e.value;for(const a in c){const t=c[a];if($7(t)==="theme"&&I7(a,t[xe()]),$7(t)==="prop")for(const n in t)I7(n==="contrast"?`${a}Contrast`:a,t[n]);$7(t)==="informative"&&I7(a,t)}}),{colors:e}});function TM(e,c){Er().colors[e]=c}function $r(e){Er().colors=e}function Ja(e,c){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);c&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,t)}return a}function z1(e){for(var c=1;c<arguments.length;c++){var a=arguments[c]!=null?arguments[c]:{};c%2?Ja(Object(a),!0).forEach(function(t){y2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ja(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function z5(e){"@babel/helpers - typeof";return z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},z5(e)}function DM(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function et(e,c){for(var a=0;a<c.length;a++){var t=c[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function BM(e,c,a){return c&&et(e.prototype,c),a&&et(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function y2(e,c,a){return c in e?Object.defineProperty(e,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[c]=a,e}function d9(e,c){return RM(e)||EM(e,c)||Ir(e,c)||IM()}function n8(e){return OM(e)||FM(e)||Ir(e)||$M()}function OM(e){if(Array.isArray(e))return we(e)}function RM(e){if(Array.isArray(e))return e}function FM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EM(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,s,o;try{for(a=a.call(e);!(n=(s=a.next()).done)&&(t.push(s.value),!(c&&t.length===c));n=!0);}catch(l){r=!0,o=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(r)throw o}}return t}}function Ir(e,c){if(e){if(typeof e=="string")return we(e,c);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return we(e,c)}}function we(e,c){(c==null||c>e.length)&&(c=e.length);for(var a=0,t=new Array(c);a<c;a++)t[a]=e[a];return t}function $M(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
|
+
`+q):P.stack=q}throw P}}_request(H,k){typeof H=="string"?(k=k||{}).url=H:k=H||{},k=y6(this.defaults,k);const{transitional:P,paramsSerializer:B,headers:q}=k;P!==void 0&&D7.assertOptions(P,{silentJSONParsing:h4.transitional(h4.boolean),forcedJSONParsing:h4.transitional(h4.boolean),clarifyTimeoutError:h4.transitional(h4.boolean)},!1),B!=null&&(A.isFunction(B)?k.paramsSerializer={serialize:B}:D7.assertOptions(B,{encode:h4.function,serialize:h4.function},!0)),k.method=(k.method||this.defaults.method||"get").toLowerCase();let W=q&&A.merge(q.common,q[k.method]);q&&A.forEach(["delete","get","head","post","put","patch","common"],y1=>{delete q[y1]}),k.headers=r1.concat(W,q);const v1=[];let b1=!0;this.interceptors.request.forEach(function(y1){typeof y1.runWhen=="function"&&y1.runWhen(k)===!1||(b1=b1&&y1.synchronous,v1.unshift(y1.fulfilled,y1.rejected))});const p1=[];let c1;this.interceptors.response.forEach(function(y1){p1.push(y1.fulfilled,y1.rejected)});let N1,x1=0;if(!b1){const y1=[ka.bind(this),void 0];for(y1.unshift.apply(y1,v1),y1.push.apply(y1,p1),N1=y1.length,c1=Promise.resolve(k);x1<N1;)c1=c1.then(y1[x1++],y1[x1++]);return c1}N1=v1.length;let E1=k;for(x1=0;x1<N1;){const y1=v1[x1++],U1=v1[x1++];try{E1=y1(E1)}catch(m2){U1.call(this,m2);break}}try{c1=ka.call(this,E1)}catch(y1){return Promise.reject(y1)}for(x1=0,N1=p1.length;x1<N1;)c1=c1.then(p1[x1++],p1[x1++]);return c1}getUri(H){return O1(D2((H=y6(this.defaults,H)).baseURL,H.url),H.params,H.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(p){b8.prototype[p]=function(H,k){return this.request(y6(k||{},{method:p,url:H,data:(k||{}).data}))}}),A.forEach(["post","put","patch"],function(p){function H(k){return function(P,B,q){return this.request(y6(q||{},{method:p,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:B}))}}b8.prototype[p]=H(),b8.prototype[p+"Form"]=H(!0)});var y8=b8;class B7{constructor(H){if(typeof H!="function")throw new TypeError("executor must be a function.");let k;this.promise=new Promise(function(B){k=B});const P=this;this.promise.then(B=>{if(!P._listeners)return;let q=P._listeners.length;for(;q-- >0;)P._listeners[q](B);P._listeners=null}),this.promise.then=B=>{let q;const W=new Promise(v1=>{P.subscribe(v1),q=v1}).then(B);return W.cancel=function(){P.unsubscribe(q)},W},H(function(B,q,W){P.reason||(P.reason=new d1(B,q,W),k(P.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(H){this.reason?H(this.reason):this._listeners?this._listeners.push(H):this._listeners=[H]}unsubscribe(H){if(!this._listeners)return;const k=this._listeners.indexOf(H);k!==-1&&this._listeners.splice(k,1)}static source(){let H;return{token:new B7(function(k){H=k}),cancel:H}}}var Hg=B7;const O7={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(O7).forEach(([p,H])=>{O7[H]=p});var Cg=O7;const C2=function p(H){const k=new y8(H),P=l(y8.prototype.request,k);return A.extend(P,y8.prototype,k,{allOwnKeys:!0}),A.extend(P,k,null,{allOwnKeys:!0}),P.create=function(B){return p(y6(H,B))},P}(W4);C2.Axios=y8,C2.CanceledError=d1,C2.CancelToken=Hg,C2.isCancel=o1,C2.VERSION="1.6.8",C2.toFormData=H1,C2.AxiosError=x,C2.Cancel=C2.CanceledError,C2.all=function(p){return Promise.all(p)},C2.spread=function(p){return function(H){return p.apply(null,H)}},C2.isAxiosError=function(p){return A.isObject(p)&&p.isAxiosError===!0},C2.mergeConfig=y6,C2.AxiosHeaders=r1,C2.formToJSON=p=>V6(A.isHTMLForm(p)?new FormData(p):p),C2.getAdapter=V8,C2.HttpStatusCode=Cg,C2.default=C2,r.exports=C2}},t={};function n(r){var s=t[r];if(s!==void 0)return s.exports;var o=t[r]={exports:{}};return a[r].call(o.exports,o,o.exports,n),o.exports}return n.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),n(927)})())})(fr);var u5=fr.exports;const xg={textFirst:{light:"#000000",dark:"#ffffff"},textSecond:{light:"#333333",dark:"#cccccc"},textThird:{light:"#666666",dark:"#999999"},backgroundFirst:{light:"#ffffff",dark:"#121212"},backgroundSecond:{light:"#f5f5f5",dark:"#1e1e1e"},backgroundThird:{light:"#e0e0e0",dark:"#2e2e2e"}},wg={primary:{main:"#218c5a",contrast:"#ffffff"},secondary:{main:"#218c5a",contrast:"#ffffff"},success:{main:"#95cd41",contrast:"#ffffff"},warning:{main:"#ffbd35",contrast:"#ffffff"},danger:{main:"#ff5959",contrast:"#ffffff"},grey:{main:"#808080",contrast:"#ffffff"},red:{main:"#de4795",contrast:"#ffffff"},purple:{main:"#7746db",contrast:"#ffffff"},sky:{main:"#1ab8c3",contrast:"#ffffff"},aqua:{main:"#00dbcf",contrast:"#ffffff"},beige:{main:"#fdf5e6",contrast:"#ffffff"}},kg={info:"#54b4d3",link:"#0064ff",error:"#e11515"},ur={...xg,...wg,...kg},dr={notifications:{timeoutTime:4e3,preventRemove:!0},button:{type:"filled"},form:{input:{fontSize:"inherit",height:"2.4em",color:"var(--pga-color-text-first)",backgroundColor:"var(--pga-color-background-first)",backgroundColorDisabled:"var(--pga-color-background-second)",borderColor:"rgba(var(--pga-color-text-first-rgb), 0.2)",borderColorFocus:"var(--pga-color-primary)",borderRadius:"0.25em"}}},Sg={colors:ur,...dr};var hr={exports:{}};(function(e,c){(function(a,t){e.exports=t()})(yg,function(){var a="__v-click-outside",t=typeof window<"u",n=typeof navigator<"u",r=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],s=function(u){var d=u.event,h=u.handler;(0,u.middleware)(d)&&h(d)},o=function(u,d){var h=function(C){var b=typeof C=="function";if(!b&&typeof C!="object")throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:b?C:C.handler,middleware:C.middleware||function(y){return y},events:C.events||r,isActive:C.isActive!==!1,detectIframe:C.detectIframe!==!1,capture:!!C.capture}}(d.value),m=h.handler,z=h.middleware,v=h.detectIframe,g=h.capture;if(h.isActive){if(u[a]=h.events.map(function(C){return{event:C,srcTarget:document.documentElement,handler:function(b){return function(y){var _=y.el,R=y.event,N=y.handler,E=y.middleware,T=R.path||R.composedPath&&R.composedPath();(T?T.indexOf(_)<0:!_.contains(R.target))&&s({event:R,handler:N,middleware:E})}({el:u,event:b,handler:m,middleware:z})},capture:g}}),v){var M={event:"blur",srcTarget:window,handler:function(C){return function(b){var y=b.el,_=b.event,R=b.handler,N=b.middleware;setTimeout(function(){var E=document.activeElement;E&&E.tagName==="IFRAME"&&!y.contains(E)&&s({event:_,handler:R,middleware:N})},0)}({el:u,event:C,handler:m,middleware:z})},capture:g};u[a]=[].concat(u[a],[M])}u[a].forEach(function(C){var b=C.event,y=C.srcTarget,_=C.handler;return setTimeout(function(){u[a]&&y.addEventListener(b,_,g)},0)})}},l=function(u){(u[a]||[]).forEach(function(d){return d.srcTarget.removeEventListener(d.event,d.handler,d.capture)}),delete u[a]},f=t?{beforeMount:o,updated:function(u,d){var h=d.value,m=d.oldValue;JSON.stringify(h)!==JSON.stringify(m)&&(l(u),o(u,{value:h}))},unmounted:l}:{};return{install:function(u){u.directive("click-outside",f)},directive:f}})})(hr);var _g=hr.exports;const s9=Lg(_g),Ng=["top","right","bottom","left"],Aa=["start","end"],Pa=Ng.reduce((e,c)=>e.concat(c,c+"-"+Aa[0],c+"-"+Aa[1]),[]),n6=Math.min,e6=Math.max,Ag={left:"right",right:"left",bottom:"top",top:"bottom"},Pg={start:"end",end:"start"};function Ce(e,c,a){return e6(e,n6(c,a))}function z6(e,c){return typeof e=="function"?e(c):e}function B3(e){return e.split("-")[0]}function h3(e){return e.split("-")[1]}function mr(e){return e==="x"?"y":"x"}function o9(e){return e==="y"?"height":"width"}function t8(e){return["top","bottom"].includes(B3(e))?"y":"x"}function l9(e){return mr(t8(e))}function pr(e,c,a){a===void 0&&(a=!1);const t=h3(e),n=l9(e),r=o9(n);let s=n==="x"?t===(a?"end":"start")?"right":"left":t==="start"?"bottom":"top";return c.reference[r]>c.floating[r]&&(s=h5(s)),[s,h5(s)]}function Tg(e){const c=h5(e);return[d5(e),c,d5(c)]}function d5(e){return e.replace(/start|end/g,c=>Pg[c])}function Dg(e,c,a){const t=["left","right"],n=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return a?c?n:t:c?t:n;case"left":case"right":return c?r:s;default:return[]}}function Bg(e,c,a,t){const n=h3(e);let r=Dg(B3(e),a==="start",t);return n&&(r=r.map(s=>s+"-"+n),c&&(r=r.concat(r.map(d5)))),r}function h5(e){return e.replace(/left|right|bottom|top/g,c=>Ag[c])}function Og(e){return{top:0,right:0,bottom:0,left:0,...e}}function vr(e){return typeof e!="number"?Og(e):{top:e,right:e,bottom:e,left:e}}function H0(e){const{x:c,y:a,width:t,height:n}=e;return{width:t,height:n,top:a,left:c,right:c+t,bottom:a+n,x:c,y:a}}function Ta(e,c,a){let{reference:t,floating:n}=e;const r=t8(c),s=l9(c),o=o9(s),l=B3(c),f=r==="y",u=t.x+t.width/2-n.width/2,d=t.y+t.height/2-n.height/2,h=t[o]/2-n[o]/2;let m;switch(l){case"top":m={x:u,y:t.y-n.height};break;case"bottom":m={x:u,y:t.y+t.height};break;case"right":m={x:t.x+t.width,y:d};break;case"left":m={x:t.x-n.width,y:d};break;default:m={x:t.x,y:t.y}}switch(h3(c)){case"start":m[s]-=h*(a&&f?-1:1);break;case"end":m[s]+=h*(a&&f?-1:1);break}return m}const Rg=async(e,c,a)=>{const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s}=a,o=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(c));let f=await s.getElementRects({reference:e,floating:c,strategy:n}),{x:u,y:d}=Ta(f,t,l),h=t,m={},z=0;for(let v=0;v<o.length;v++){const{name:g,fn:M}=o[v],{x:C,y:b,data:y,reset:_}=await M({x:u,y:d,initialPlacement:t,placement:h,strategy:n,middlewareData:m,rects:f,platform:s,elements:{reference:e,floating:c}});u=C??u,d=b??d,m={...m,[g]:{...m[g],...y}},_&&z<=50&&(z++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(f=_.rects===!0?await s.getElementRects({reference:e,floating:c,strategy:n}):_.rects),{x:u,y:d}=Ta(f,h,l)),v=-1)}return{x:u,y:d,placement:h,strategy:n,middlewareData:m}};async function E5(e,c){var a;c===void 0&&(c={});const{x:t,y:n,platform:r,rects:s,elements:o,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=z6(c,e),z=vr(m),g=o[h?d==="floating"?"reference":"floating":d],M=H0(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(g)))==null||a?g:g.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(o.floating)),boundary:f,rootBoundary:u,strategy:l})),C=d==="floating"?{x:t,y:n,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(o.floating)),y=await(r.isElement==null?void 0:r.isElement(b))?await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1}:{x:1,y:1},_=H0(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:C,offsetParent:b,strategy:l}):C);return{top:(M.top-_.top+z.top)/y.y,bottom:(_.bottom-M.bottom+z.bottom)/y.y,left:(M.left-_.left+z.left)/y.x,right:(_.right-M.right+z.right)/y.x}}const Fg=e=>({name:"arrow",options:e,async fn(c){const{x:a,y:t,placement:n,rects:r,platform:s,elements:o,middlewareData:l}=c,{element:f,padding:u=0}=z6(e,c)||{};if(f==null)return{};const d=vr(u),h={x:a,y:t},m=l9(n),z=o9(m),v=await s.getDimensions(f),g=m==="y",M=g?"top":"left",C=g?"bottom":"right",b=g?"clientHeight":"clientWidth",y=r.reference[z]+r.reference[m]-h[m]-r.floating[z],_=h[m]-r.reference[m],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let N=R?R[b]:0;(!N||!await(s.isElement==null?void 0:s.isElement(R)))&&(N=o.floating[b]||r.floating[z]);const E=y/2-_/2,T=N/2-v[z]/2-1,U=n6(d[M],T),t1=n6(d[C],T),O=U,Z=N-v[z]-t1,a1=N/2-v[z]/2+E,L=Ce(O,a1,Z),S=!l.arrow&&h3(n)!=null&&a1!==L&&r.reference[z]/2-(a1<O?U:t1)-v[z]/2<0,D=S?a1<O?a1-O:a1-Z:0;return{[m]:h[m]+D,data:{[m]:L,centerOffset:a1-L-D,...S&&{alignmentOffset:D}},reset:S}}});function Eg(e,c,a){return(e?[...a.filter(n=>h3(n)===e),...a.filter(n=>h3(n)!==e)]:a.filter(n=>B3(n)===n)).filter(n=>e?h3(n)===e||(c?d5(n)!==n:!1):!0)}const $g=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(c){var a,t,n;const{rects:r,middlewareData:s,placement:o,platform:l,elements:f}=c,{crossAxis:u=!1,alignment:d,allowedPlacements:h=Pa,autoAlignment:m=!0,...z}=z6(e,c),v=d!==void 0||h===Pa?Eg(d||null,m,h):h,g=await E5(c,z),M=((a=s.autoPlacement)==null?void 0:a.index)||0,C=v[M];if(C==null)return{};const b=pr(C,r,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(o!==C)return{reset:{placement:v[0]}};const y=[g[B3(C)],g[b[0]],g[b[1]]],_=[...((t=s.autoPlacement)==null?void 0:t.overflows)||[],{placement:C,overflows:y}],R=v[M+1];if(R)return{data:{index:M+1,overflows:_},reset:{placement:R}};const N=_.map(U=>{const t1=h3(U.placement);return[U.placement,t1&&u?U.overflows.slice(0,2).reduce((O,Z)=>O+Z,0):U.overflows[0],U.overflows]}).sort((U,t1)=>U[1]-t1[1]),T=((n=N.filter(U=>U[2].slice(0,h3(U[0])?2:3).every(t1=>t1<=0))[0])==null?void 0:n[0])||N[0][0];return T!==o?{data:{index:M+1,overflows:_},reset:{placement:T}}:{}}}},Ig=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(c){var a,t;const{placement:n,middlewareData:r,rects:s,initialPlacement:o,platform:l,elements:f}=c,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:v=!0,...g}=z6(e,c);if((a=r.arrow)!=null&&a.alignmentOffset)return{};const M=B3(n),C=B3(o)===o,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=h||(C||!v?[h5(o)]:Tg(o));!h&&z!=="none"&&y.push(...Bg(o,v,z,b));const _=[o,...y],R=await E5(c,g),N=[];let E=((t=r.flip)==null?void 0:t.overflows)||[];if(u&&N.push(R[M]),d){const O=pr(n,s,b);N.push(R[O[0]],R[O[1]])}if(E=[...E,{placement:n,overflows:N}],!N.every(O=>O<=0)){var T,U;const O=(((T=r.flip)==null?void 0:T.index)||0)+1,Z=_[O];if(Z)return{data:{index:O,overflows:E},reset:{placement:Z}};let a1=(U=E.filter(L=>L.overflows[0]<=0).sort((L,S)=>L.overflows[1]-S.overflows[1])[0])==null?void 0:U.placement;if(!a1)switch(m){case"bestFit":{var t1;const L=(t1=E.map(S=>[S.placement,S.overflows.filter(D=>D>0).reduce((D,J)=>D+J,0)]).sort((S,D)=>S[1]-D[1])[0])==null?void 0:t1[0];L&&(a1=L);break}case"initialPlacement":a1=o;break}if(n!==a1)return{reset:{placement:a1}}}return{}}}};async function qg(e,c){const{placement:a,platform:t,elements:n}=e,r=await(t.isRTL==null?void 0:t.isRTL(n.floating)),s=B3(a),o=h3(a),l=t8(a)==="y",f=["left","top"].includes(s)?-1:1,u=r&&l?-1:1,d=z6(c,e);let{mainAxis:h,crossAxis:m,alignmentAxis:z}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return o&&typeof z=="number"&&(m=o==="end"?z*-1:z),l?{x:m*u,y:h*f}:{x:h*f,y:m*u}}const Yg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(c){var a,t;const{x:n,y:r,placement:s,middlewareData:o}=c,l=await qg(c,e);return s===((a=o.offset)==null?void 0:a.placement)&&(t=o.arrow)!=null&&t.alignmentOffset?{}:{x:n+l.x,y:r+l.y,data:{...l,placement:s}}}}},Wg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(c){const{x:a,y:t,placement:n}=c,{mainAxis:r=!0,crossAxis:s=!1,limiter:o={fn:g=>{let{x:M,y:C}=g;return{x:M,y:C}}},...l}=z6(e,c),f={x:a,y:t},u=await E5(c,l),d=t8(B3(n)),h=mr(d);let m=f[h],z=f[d];if(r){const g=h==="y"?"top":"left",M=h==="y"?"bottom":"right",C=m+u[g],b=m-u[M];m=Ce(C,m,b)}if(s){const g=d==="y"?"top":"left",M=d==="y"?"bottom":"right",C=z+u[g],b=z-u[M];z=Ce(C,z,b)}const v=o.fn({...c,[h]:m,[d]:z});return{...v,data:{x:v.x-a,y:v.y-t}}}}},Ug=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(c){const{placement:a,rects:t,platform:n,elements:r}=c,{apply:s=()=>{},...o}=z6(e,c),l=await E5(c,o),f=B3(a),u=h3(a),d=t8(a)==="y",{width:h,height:m}=t.floating;let z,v;f==="top"||f==="bottom"?(z=f,v=u===(await(n.isRTL==null?void 0:n.isRTL(r.floating))?"start":"end")?"left":"right"):(v=f,z=u==="end"?"top":"bottom");const g=m-l.top-l.bottom,M=h-l.left-l.right,C=n6(m-l[z],g),b=n6(h-l[v],M),y=!c.middlewareData.shift;let _=C,R=b;if(d?R=u||y?n6(b,M):M:_=u||y?n6(C,g):g,y&&!u){const E=e6(l.left,0),T=e6(l.right,0),U=e6(l.top,0),t1=e6(l.bottom,0);d?R=h-2*(E!==0||T!==0?E+T:e6(l.left,l.right)):_=m-2*(U!==0||t1!==0?U+t1:e6(l.top,l.bottom))}await s({...c,availableWidth:R,availableHeight:_});const N=await n.getDimensions(r.floating);return h!==N.width||m!==N.height?{reset:{rects:!0}}:{}}}};function J2(e){var c;return((c=e.ownerDocument)==null?void 0:c.defaultView)||window}function N3(e){return J2(e).getComputedStyle(e)}const Da=Math.min,C0=Math.max,m5=Math.round;function zr(e){const c=N3(e);let a=parseFloat(c.width),t=parseFloat(c.height);const n=e.offsetWidth,r=e.offsetHeight,s=m5(a)!==n||m5(t)!==r;return s&&(a=n,t=r),{width:a,height:t,fallback:s}}function B4(e){return Mr(e)?(e.nodeName||"").toLowerCase():""}let L8;function gr(){if(L8)return L8;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(L8=e.brands.map(c=>c.brand+"/"+c.version).join(" "),L8):navigator.userAgent}function A3(e){return e instanceof J2(e).HTMLElement}function k4(e){return e instanceof J2(e).Element}function Mr(e){return e instanceof J2(e).Node}function Ba(e){return typeof ShadowRoot>"u"?!1:e instanceof J2(e).ShadowRoot||e instanceof ShadowRoot}function $5(e){const{overflow:c,overflowX:a,overflowY:t,display:n}=N3(e);return/auto|scroll|overlay|hidden|clip/.test(c+t+a)&&!["inline","contents"].includes(n)}function jg(e){return["table","td","th"].includes(B4(e))}function Ve(e){const c=/firefox/i.test(gr()),a=N3(e),t=a.backdropFilter||a.WebkitBackdropFilter;return a.transform!=="none"||a.perspective!=="none"||!!t&&t!=="none"||c&&a.willChange==="filter"||c&&!!a.filter&&a.filter!=="none"||["transform","perspective"].some(n=>a.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const r=a.contain;return r!=null&&r.includes(n)})}function Hr(){return!/^((?!chrome|android).)*safari/i.test(gr())}function f9(e){return["html","body","#document"].includes(B4(e))}function Cr(e){return k4(e)?e:e.contextElement}const Vr={x:1,y:1};function O6(e){const c=Cr(e);if(!A3(c))return Vr;const a=c.getBoundingClientRect(),{width:t,height:n,fallback:r}=zr(c);let s=(r?m5(a.width):a.width)/t,o=(r?m5(a.height):a.height)/n;return s&&Number.isFinite(s)||(s=1),o&&Number.isFinite(o)||(o=1),{x:s,y:o}}function D0(e,c,a,t){var n,r;c===void 0&&(c=!1),a===void 0&&(a=!1);const s=e.getBoundingClientRect(),o=Cr(e);let l=Vr;c&&(t?k4(t)&&(l=O6(t)):l=O6(e));const f=o?J2(o):window,u=!Hr()&&a;let d=(s.left+(u&&((n=f.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(s.top+(u&&((r=f.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,m=s.width/l.x,z=s.height/l.y;if(o){const v=J2(o),g=t&&k4(t)?J2(t):t;let M=v.frameElement;for(;M&&t&&g!==v;){const C=O6(M),b=M.getBoundingClientRect(),y=getComputedStyle(M);b.x+=(M.clientLeft+parseFloat(y.paddingLeft))*C.x,b.y+=(M.clientTop+parseFloat(y.paddingTop))*C.y,d*=C.x,h*=C.y,m*=C.x,z*=C.y,d+=b.x,h+=b.y,M=J2(M).frameElement}}return{width:m,height:z,top:h,right:d+m,bottom:h+z,left:d,x:d,y:h}}function S4(e){return((Mr(e)?e.ownerDocument:e.document)||window.document).documentElement}function I5(e){return k4(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function br(e){return D0(S4(e)).left+I5(e).scrollLeft}function B0(e){if(B4(e)==="html")return e;const c=e.assignedSlot||e.parentNode||Ba(e)&&e.host||S4(e);return Ba(c)?c.host:c}function yr(e){const c=B0(e);return f9(c)?c.ownerDocument.body:A3(c)&&$5(c)?c:yr(c)}function p5(e,c){var a;c===void 0&&(c=[]);const t=yr(e),n=t===((a=e.ownerDocument)==null?void 0:a.body),r=J2(t);return n?c.concat(r,r.visualViewport||[],$5(t)?t:[]):c.concat(t,p5(t))}function Oa(e,c,a){return c==="viewport"?H0(function(t,n){const r=J2(t),s=S4(t),o=r.visualViewport;let l=s.clientWidth,f=s.clientHeight,u=0,d=0;if(o){l=o.width,f=o.height;const h=Hr();(h||!h&&n==="fixed")&&(u=o.offsetLeft,d=o.offsetTop)}return{width:l,height:f,x:u,y:d}}(e,a)):k4(c)?H0(function(t,n){const r=D0(t,!0,n==="fixed"),s=r.top+t.clientTop,o=r.left+t.clientLeft,l=A3(t)?O6(t):{x:1,y:1};return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:o*l.x,y:s*l.y}}(c,a)):H0(function(t){const n=S4(t),r=I5(t),s=t.ownerDocument.body,o=C0(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),l=C0(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let f=-r.scrollLeft+br(t);const u=-r.scrollTop;return N3(s).direction==="rtl"&&(f+=C0(n.clientWidth,s.clientWidth)-o),{width:o,height:l,x:f,y:u}}(S4(e)))}function Ra(e){return A3(e)&&N3(e).position!=="fixed"?e.offsetParent:null}function Fa(e){const c=J2(e);let a=Ra(e);for(;a&&jg(a)&&N3(a).position==="static";)a=Ra(a);return a&&(B4(a)==="html"||B4(a)==="body"&&N3(a).position==="static"&&!Ve(a))?c:a||function(t){let n=B0(t);for(;A3(n)&&!f9(n);){if(Ve(n))return n;n=B0(n)}return null}(e)||c}function Gg(e,c,a){const t=A3(c),n=S4(c),r=D0(e,!0,a==="fixed",c);let s={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(t||!t&&a!=="fixed")if((B4(c)!=="body"||$5(n))&&(s=I5(c)),A3(c)){const l=D0(c,!0);o.x=l.x+c.clientLeft,o.y=l.y+c.clientTop}else n&&(o.x=br(n));return{x:r.left+s.scrollLeft-o.x,y:r.top+s.scrollTop-o.y,width:r.width,height:r.height}}const Zg={getClippingRect:function(e){let{element:c,boundary:a,rootBoundary:t,strategy:n}=e;const r=a==="clippingAncestors"?function(f,u){const d=u.get(f);if(d)return d;let h=p5(f).filter(g=>k4(g)&&B4(g)!=="body"),m=null;const z=N3(f).position==="fixed";let v=z?B0(f):f;for(;k4(v)&&!f9(v);){const g=N3(v),M=Ve(v);(z?M||m:M||g.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=g:h=h.filter(C=>C!==v),v=B0(v)}return u.set(f,h),h}(c,this._c):[].concat(a),s=[...r,t],o=s[0],l=s.reduce((f,u)=>{const d=Oa(c,u,n);return f.top=C0(d.top,f.top),f.right=Da(d.right,f.right),f.bottom=Da(d.bottom,f.bottom),f.left=C0(d.left,f.left),f},Oa(c,o,n));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:c,offsetParent:a,strategy:t}=e;const n=A3(a),r=S4(a);if(a===r)return c;let s={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((n||!n&&t!=="fixed")&&((B4(a)!=="body"||$5(r))&&(s=I5(a)),A3(a))){const f=D0(a);o=O6(a),l.x=f.x+a.clientLeft,l.y=f.y+a.clientTop}return{width:c.width*o.x,height:c.height*o.y,x:c.x*o.x-s.scrollLeft*o.x+l.x,y:c.y*o.y-s.scrollTop*o.y+l.y}},isElement:k4,getDimensions:function(e){return A3(e)?zr(e):e.getBoundingClientRect()},getOffsetParent:Fa,getDocumentElement:S4,getScale:O6,async getElementRects(e){let{reference:c,floating:a,strategy:t}=e;const n=this.getOffsetParent||Fa,r=this.getDimensions;return{reference:Gg(c,await n(a),t),floating:{x:0,y:0,...await r(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>N3(e).direction==="rtl"},Xg=(e,c,a)=>{const t=new Map,n={platform:Zg,...a},r={...n.platform,_c:t};return Rg(e,c,{...n,platform:r})};function Lr(e,c){for(const a in c)Object.prototype.hasOwnProperty.call(c,a)&&(typeof c[a]=="object"&&e[a]?Lr(e[a],c[a]):e[a]=c[a])}const m3={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 O0(e,c){let a=m3.themes[e]||{},t;do t=a[c],typeof t>"u"?a.$extend?a=m3.themes[a.$extend]||{}:(a=null,t=m3[c]):a=null;while(a);return t}function Kg(e){const c=[e];let a=m3.themes[e]||{};do a.$extend&&!a.$resetCss?(c.push(a.$extend),a=m3.themes[a.$extend]||{}):a=null;while(a);return c.map(t=>`v-popper--theme-${t}`)}function Ea(e){const c=[e];let a=m3.themes[e]||{};do a.$extend?(c.push(a.$extend),a=m3.themes[a.$extend]||{}):a=null;while(a);return c}let q6=!1;if(typeof window<"u"){q6=!1;try{const e=Object.defineProperty({},"passive",{get(){q6=!0}});window.addEventListener("test",null,e)}catch{}}let xr=!1;typeof window<"u"&&typeof navigator<"u"&&(xr=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const wr=["auto","top","bottom","left","right"].reduce((e,c)=>e.concat([c,`${c}-start`,`${c}-end`]),[]),$a={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Ia={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function qa(e,c){const a=e.indexOf(c);a!==-1&&e.splice(a,1)}function R7(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const i3=[];let G4=null;const Ya={};function Wa(e){let c=Ya[e];return c||(c=Ya[e]=[]),c}let be=function(){};typeof window<"u"&&(be=window.Element);function R1(e){return function(c){return O0(c.theme,e)}}const F7="__floating-vue__popper",kr=()=>i.defineComponent({name:"VPopper",provide(){return{[F7]:{parentPopper:this}}},inject:{[F7]:{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:R1("disabled")},positioningDisabled:{type:Boolean,default:R1("positioningDisabled")},placement:{type:String,default:R1("placement"),validator:e=>wr.includes(e)},delay:{type:[String,Number,Object],default:R1("delay")},distance:{type:[Number,String],default:R1("distance")},skidding:{type:[Number,String],default:R1("skidding")},triggers:{type:Array,default:R1("triggers")},showTriggers:{type:[Array,Function],default:R1("showTriggers")},hideTriggers:{type:[Array,Function],default:R1("hideTriggers")},popperTriggers:{type:Array,default:R1("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:R1("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:R1("popperHideTriggers")},container:{type:[String,Object,be,Boolean],default:R1("container")},boundary:{type:[String,be],default:R1("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:R1("strategy")},autoHide:{type:[Boolean,Function],default:R1("autoHide")},handleResize:{type:Boolean,default:R1("handleResize")},instantMove:{type:Boolean,default:R1("instantMove")},eagerMount:{type:Boolean,default:R1("eagerMount")},popperClass:{type:[String,Array,Object],default:R1("popperClass")},computeTransformOrigin:{type:Boolean,default:R1("computeTransformOrigin")},autoMinSize:{type:Boolean,default:R1("autoMinSize")},autoSize:{type:[Boolean,String],default:R1("autoSize")},autoMaxSize:{type:Boolean,default:R1("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:R1("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:R1("preventOverflow")},overflowPadding:{type:[Number,String],default:R1("overflowPadding")},arrowPadding:{type:[Number,String],default:R1("arrowPadding")},arrowOverflow:{type:Boolean,default:R1("arrowOverflow")},flip:{type:Boolean,default:R1("flip")},shift:{type:Boolean,default:R1("shift")},shiftCrossAxis:{type:Boolean,default:R1("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:R1("noAutoFocus")},disposeTimeout:{type:Number,default:R1("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[F7])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,c;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((c=this.popperShowTriggers)==null?void 0:c.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,c)=>(e[c]="$_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:c=!1,force:a=!1}={}){var t,n;(t=this.parentPopper)!=null&&t.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(a||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,c),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:c=!1}={}){var a;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:c}),this.parentPopper.lockedChild=null)},1e3));return}((a=this.parentPopper)==null?void 0:a.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,c),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(c=>c.nodeType===c.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(Yg({mainAxis:this.distance,crossAxis:this.skidding}));const c=this.placement.startsWith("auto");if(c?e.middleware.push($g({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Wg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!c&&this.flip&&e.middleware.push(Ig({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Fg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:n,middlewareData:r})=>{let s;const{centerOffset:o}=r.arrow;return t.startsWith("top")||t.startsWith("bottom")?s=Math.abs(o)>n.reference.width/2:s=Math.abs(o)>n.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const t=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:n,placement:r,middlewareData:s})=>{var o;if((o=s.autoSize)!=null&&o.skip)return{};let l,f;return r.startsWith("top")||r.startsWith("bottom")?l=n.reference.width:f=n.reference.height,this.$_innerNode.style[t==="min"?"minWidth":t==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[t==="min"?"minHeight":t==="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(Ug({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:t,availableHeight:n})=>{this.$_innerNode.style.maxWidth=t!=null?`${t}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const a=await Xg(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:a.x,y:a.y,placement:a.placement,strategy:a.strategy,arrow:{...a.middlewareData.arrow,...a.middlewareData.arrowOverflow}})},$_scheduleShow(e,c=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),G4&&this.instantMove&&G4.instantMove&&G4!==this.parentPopper){G4.$_applyHide(!0),this.$_applyShow(!0);return}c?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,c=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(G4=this),c?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const c=this.delay;return parseInt(c&&c[e]||c||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await R7(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...p5(this.$_referenceNode),...p5(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const c=this.$_referenceNode.getBoundingClientRect(),a=this.$_popperNode.querySelector(".v-popper__wrapper"),t=a.parentNode.getBoundingClientRect(),n=c.x+c.width/2-(t.left+a.offsetLeft),r=c.y+c.height/2-(t.top+a.offsetTop);this.result.transformOrigin=`${n}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let c;for(let a=0;a<i3.length;a++)c=i3[a],c.showGroup!==e&&(c.hide(),c.$emit("close-group"))}i3.push(this),document.body.classList.add("v-popper--some-open");for(const c of Ea(this.theme))Wa(c).push(this),document.body.classList.add(`v-popper--some-open--${c}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await R7(),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,qa(i3,this),i3.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Ea(this.theme)){const t=Wa(a);qa(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}G4===this&&(G4=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const c=this.disposeTimeout;c!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},c)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await R7(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=a=>{this.isShown&&!this.$_hideInProgress||(a.usedByTooltip=!0,!this.$_preventShow&&this.show({event:a}))};this.$_registerTriggerListeners(this.$_targetNodes,$a,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],$a,this.popperTriggers,this.popperShowTriggers,e);const c=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Ia,this.triggers,this.hideTriggers,c),this.$_registerTriggerListeners([this.$_popperNode],Ia,this.popperTriggers,this.popperHideTriggers,c)},$_registerEventListeners(e,c,a){this.$_events.push({targetNodes:e,eventType:c,handler:a}),e.forEach(t=>t.addEventListener(c,a,q6?{passive:!0}:void 0))},$_registerTriggerListeners(e,c,a,t,n){let r=a;t!=null&&(r=typeof t=="function"?t(r):t),r.forEach(s=>{const o=c[s];o&&this.$_registerEventListeners(e,o,n)})},$_removeEventListeners(e){const c=[];this.$_events.forEach(a=>{const{targetNodes:t,eventType:n,handler:r}=a;!e||e===n?t.forEach(s=>s.removeEventListener(n,r)):c.push(a)}),this.$_events=c},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,c=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),c&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,c){for(const a of this.$_targetNodes){const t=a.getAttribute(e);t&&(a.removeAttribute(e),a.setAttribute(c,t))}},$_applyAttrsToTarget(e){for(const c of this.$_targetNodes)for(const a in e){const t=e[a];t==null?c.removeAttribute(a):c.setAttribute(a,t)}},$_updateParentShownChildren(e){let c=this.parentPopper;for(;c;)e?c.shownChildren.add(this.randomId):(c.shownChildren.delete(this.randomId),c.pendingHide&&c.hide()),c=c.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(V0>=e.left&&V0<=e.right&&b0>=e.top&&b0<=e.bottom){const c=this.$_popperNode.getBoundingClientRect(),a=V0-g4,t=b0-M4,n=c.left+c.width/2-g4+(c.top+c.height/2)-M4+c.width+c.height,r=g4+a*n,s=M4+t*n;return x8(g4,M4,r,s,c.left,c.top,c.left,c.bottom)||x8(g4,M4,r,s,c.left,c.top,c.right,c.top)||x8(g4,M4,r,s,c.right,c.top,c.right,c.bottom)||x8(g4,M4,r,s,c.left,c.bottom,c.right,c.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(xr){const e=q6?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",c=>Ua(c,!0),e),document.addEventListener("touchend",c=>ja(c,!0),e)}else window.addEventListener("mousedown",e=>Ua(e,!1),!0),window.addEventListener("click",e=>ja(e,!1),!0);window.addEventListener("resize",Jg)}function Ua(e,c){if(m3.autoHideOnMousedown)Sr(e,c);else for(let a=0;a<i3.length;a++){const t=i3[a];try{t.mouseDownContains=t.popperNode().contains(e.target)}catch{}}}function ja(e,c){m3.autoHideOnMousedown||Sr(e,c)}function Sr(e,c){const a={};for(let t=i3.length-1;t>=0;t--){const n=i3[t];try{const r=n.containsGlobalTarget=n.mouseDownContains||n.popperNode().contains(e.target);n.pendingHide=!1,requestAnimationFrame(()=>{if(n.pendingHide=!1,!a[n.randomId]&&Ga(n,r,e)){if(n.$_handleGlobalClose(e,c),!e.closeAllPopover&&e.closePopover&&r){let o=n.parentPopper;for(;o;)a[o.randomId]=!0,o=o.parentPopper;return}let s=n.parentPopper;for(;s&&Ga(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,c),s=s.parentPopper}})}catch{}}}function Ga(e,c,a){return a.closeAllPopover||a.closePopover&&c||Qg(e,a)&&!c}function Qg(e,c){if(typeof e.autoHide=="function"){const a=e.autoHide(c);return e.lastAutoHide=a,a}return e.autoHide}function Jg(){for(let e=0;e<i3.length;e++)i3[e].$_computePosition()}let g4=0,M4=0,V0=0,b0=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{g4=V0,M4=b0,V0=e.clientX,b0=e.clientY},q6?{passive:!0}:void 0);function x8(e,c,a,t,n,r,s,o){const l=((s-n)*(c-r)-(o-r)*(e-n))/((o-r)*(a-e)-(s-n)*(t-c)),f=((a-e)*(c-r)-(t-c)*(e-n))/((o-r)*(a-e)-(s-n)*(t-c));return l>=0&&l<=1&&f>=0&&f<=1}const eM={extends:kr()},q5=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a};function cM(e,c,a,t,n,r){return i.openBlock(),i.createElementBlock("div",{ref:"reference",class:i.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[i.renderSlot(e.$slots,"default",i.normalizeProps(i.guardReactiveProps(e.slotData)))],2)}const aM=q5(eM,[["render",cM]]);function tM(){var e=window.navigator.userAgent,c=e.indexOf("MSIE ");if(c>0)return parseInt(e.substring(c+5,e.indexOf(".",c)),10);var a=e.indexOf("Trident/");if(a>0){var t=e.indexOf("rv:");return parseInt(e.substring(t+3,e.indexOf(".",t)),10)}var n=e.indexOf("Edge/");return n>0?parseInt(e.substring(n+5,e.indexOf(".",n)),10):-1}let e5;function ye(){ye.init||(ye.init=!0,e5=tM()!==-1)}var Y5={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ye(),i.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",e5&&this.$el.appendChild(e),e.data="about:blank",e5||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&&(!e5&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const nM=i.withScopeId("data-v-b329ee4c");i.pushScopeId("data-v-b329ee4c");const rM={class:"resize-observer",tabindex:"-1"};i.popScopeId();const iM=nM((e,c,a,t,n,r)=>(i.openBlock(),i.createBlock("div",rM)));Y5.render=iM;Y5.__scopeId="data-v-b329ee4c";Y5.__file="src/components/ResizeObserver.vue";const _r=(e="theme")=>({computed:{themeClass(){return Kg(this[e])}}}),sM=i.defineComponent({name:"VPopperContent",components:{ResizeObserver:Y5},mixins:[_r()],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}}}),oM=["id","aria-hidden","tabindex","data-popper-placement"],lM={ref:"inner",class:"v-popper__inner"},fM=i.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),uM=i.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),dM=[fM,uM];function hM(e,c,a,t,n,r){const s=i.resolveComponent("ResizeObserver");return i.openBlock(),i.createElementBlock("div",{id:e.popperId,ref:"popover",class:i.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:i.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:c[2]||(c[2]=i.withKeys(o=>e.autoHide&&e.$emit("hide"),["esc"]))},[i.createElementVNode("div",{class:"v-popper__backdrop",onClick:c[0]||(c[0]=o=>e.autoHide&&e.$emit("hide"))}),i.createElementVNode("div",{class:"v-popper__wrapper",style:i.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[i.createElementVNode("div",lM,[e.mounted?(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.createElementVNode("div",null,[i.renderSlot(e.$slots,"default")]),e.handleResize?(i.openBlock(),i.createBlock(s,{key:0,onNotify:c[1]||(c[1]=o=>e.$emit("resize",o))})):i.createCommentVNode("",!0)],64)):i.createCommentVNode("",!0)],512),i.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:i.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},dM,4)],4)],46,oM)}const Nr=q5(sM,[["render",hM]]),Ar={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 Le=function(){};typeof window<"u"&&(Le=window.Element);const mM=i.defineComponent({name:"VPopperWrapper",components:{Popper:aM,PopperContent:Nr},mixins:[Ar,_r("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,Le,Boolean],default:void 0},boundary:{type:[String,Le],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 pM(e,c,a,t,n,r){const s=i.resolveComponent("PopperContent"),o=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(o,i.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:c[0]||(c[0]=()=>e.$emit("show")),onHide:c[1]||(c[1]=()=>e.$emit("hide")),"onUpdate:shown":c[2]||(c[2]=l=>e.$emit("update:shown",l)),onApplyShow:c[3]||(c[3]=()=>e.$emit("apply-show")),onApplyHide:c[4]||(c[4]=()=>e.$emit("apply-hide")),onCloseGroup:c[5]||(c[5]=()=>e.$emit("close-group")),onCloseDirective:c[6]||(c[6]=()=>e.$emit("close-directive")),onAutoHide:c[7]||(c[7]=()=>e.$emit("auto-hide")),onResize:c[8]||(c[8]=()=>e.$emit("resize"))}),{default:i.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,show:m,hide:z,handleResize:v,onResize:g,classes:M,result:C})=>[i.renderSlot(e.$slots,"default",{shown:f,show:m,hide:z}),i.createVNode(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":v,classes:M,result:C,onHide:z,onResize:g},{default:i.withCtx(()=>[i.renderSlot(e.$slots,"popper",{shown:f,hide:z})]),_: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 u9=q5(mM,[["render",pM]]),vM={...u9,name:"VDropdown",vPopperTheme:"dropdown"},zM={...u9,name:"VMenu",vPopperTheme:"menu"},gM={...u9,name:"VTooltip",vPopperTheme:"tooltip"},MM=i.defineComponent({name:"VTooltipDirective",components:{Popper:kr(),PopperContent:Nr},mixins:[Ar],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>O0(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>O0(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 c=++this.$_fetchId,a=this.content(this);a.then?a.then(t=>this.onResult(c,t)):this.onResult(c,a)}},onResult(e,c){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=c)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),HM=["innerHTML"],CM=["textContent"];function VM(e,c,a,t,n,r){const s=i.resolveComponent("PopperContent"),o=i.resolveComponent("Popper");return i.openBlock(),i.createBlock(o,i.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:i.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,hide:m,handleResize:z,onResize:v,classes:g,result:M})=>[i.createVNode(s,{ref:"popperContent",class:i.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":z,classes:g,result:M,onHide:m,onResize:v},{default:i.withCtx(()=>[e.html?(i.openBlock(),i.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,HM)):(i.openBlock(),i.createElementBlock("div",{key:1,textContent:i.toDisplayString(e.finalContent)},null,8,CM))]),_: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 bM=q5(MM,[["render",VM]]),Pr="v-popper--has-tooltip";function yM(e,c){let a=e.placement;if(!a&&c)for(const t of wr)c[t]&&(a=t);return a||(a=O0(e.theme||"tooltip","placement")),a}function Tr(e,c,a){let t;const n=typeof c;return n==="string"?t={content:c}:c&&n==="object"?t=c:t={content:!1},t.placement=yM(t,a),t.targetNodes=()=>[e],t.referenceNode=()=>e,t}let E7,R0,LM=0;function xM(){if(E7)return;R0=i.ref([]),E7=i.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:R0}},render(){return this.directives.map(c=>i.h(bM,{...c.options,shown:c.shown||c.options.shown,key:c.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),E7.mount(e)}function wM(e,c,a){xM();const t=i.ref(Tr(e,c,a)),n=i.ref(!1),r={id:LM++,options:t,shown:n};return R0.value.push(r),e.classList&&e.classList.add(Pr),e.$_popper={options:t,item:r,show(){n.value=!0},hide(){n.value=!1}}}function Dr(e){if(e.$_popper){const c=R0.value.indexOf(e.$_popper.item);c!==-1&&R0.value.splice(c,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Pr)}function Za(e,{value:c,modifiers:a}){const t=Tr(e,c,a);if(!t.content||O0(t.theme||"tooltip","disabled"))Dr(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=t):n=wM(e,c,a),typeof c.shown<"u"&&c.shown!==e.$_popperOldShown&&(e.$_popperOldShown=c.shown,c.shown?n.show():n.hide())}}const kM={beforeMount:Za,updated:Za,beforeUnmount(e){Dr(e)}};function Xa(e){e.addEventListener("mousedown",v5),e.addEventListener("click",v5),e.addEventListener("touchstart",Br,q6?{passive:!0}:!1)}function Ka(e){e.removeEventListener("mousedown",v5),e.removeEventListener("click",v5),e.removeEventListener("touchstart",Br),e.removeEventListener("touchend",Or),e.removeEventListener("touchcancel",Rr)}function v5(e){const c=e.currentTarget;e.closePopover=!c.$_vclosepopover_touch,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}function Br(e){if(e.changedTouches.length===1){const c=e.currentTarget;c.$_vclosepopover_touch=!0;const a=e.changedTouches[0];c.$_vclosepopover_touchPoint=a,c.addEventListener("touchend",Or),c.addEventListener("touchcancel",Rr)}}function Or(e){const c=e.currentTarget;if(c.$_vclosepopover_touch=!1,e.changedTouches.length===1){const a=e.changedTouches[0],t=c.$_vclosepopover_touchPoint;e.closePopover=Math.abs(a.screenY-t.screenY)<20&&Math.abs(a.screenX-t.screenX)<20,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}}function Rr(e){const c=e.currentTarget;c.$_vclosepopover_touch=!1}const SM={beforeMount(e,{value:c,modifiers:a}){e.$_closePopoverModifiers=a,(typeof c>"u"||c)&&Xa(e)},updated(e,{value:c,oldValue:a,modifiers:t}){e.$_closePopoverModifiers=t,c!==a&&(typeof c>"u"||c?Xa(e):Ka(e))},beforeUnmount(e){Ka(e)}};function _M(e,c={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Lr(m3,c),e.directive("tooltip",kM),e.directive("close-popper",SM),e.component("VTooltip",gM),e.component("VDropdown",vM),e.component("VMenu",zM))}const NM={version:"5.2.2",install:_M,options:m3},I4=v3.defineStore("pga-options",()=>{const e=i.ref(dr),c=i.computed(()=>e.value.notifications),a=i.computed(()=>e.value.button),t=i.computed(()=>e.value.form);return{options:e,notificationsOptions:c,buttonOptions:a,formOptions:t}});function $7(e){if(typeof e=="string")return"informative";if("light"in e&&"dark"in e)return"theme";if("main"in e&&"contrast"in e)return"prop"}function AM(e){const c=e.replace(/^#/,""),a=parseInt(c.substring(0,2),16),t=parseInt(c.substring(2,4),16),n=parseInt(c.substring(4,6),16);return`${a}, ${t}, ${n}`}function Qa(e,c){document.querySelector(":root").style.setProperty(e,c)}function I7(e,c){const a="--pga-color-";Qa(`${a}${u5.camelToSnakeCase(e)}`,c),Qa(`${a}${u5.camelToSnakeCase(e)}-rgb`,AM(c))}const Fr=v3.defineStore("pga-theme",()=>({theme:i.ref("light")}),{persist:!0});function xe(){return Fr().theme}function PM(e){Fr().theme=e}const Er=v3.defineStore("pga-colors",()=>{const e=i.ref(ur);return i.watch([e,()=>xe()],()=>{const c=e.value;for(const a in c){const t=c[a];if($7(t)==="theme"&&I7(a,t[xe()]),$7(t)==="prop")for(const n in t)I7(n==="contrast"?`${a}Contrast`:a,t[n]);$7(t)==="informative"&&I7(a,t)}}),{colors:e}});function TM(e,c){Er().colors[e]=c}function $r(e){Er().colors=e}function Ja(e,c){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);c&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),a.push.apply(a,t)}return a}function z1(e){for(var c=1;c<arguments.length;c++){var a=arguments[c]!=null?arguments[c]:{};c%2?Ja(Object(a),!0).forEach(function(t){y2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ja(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function z5(e){"@babel/helpers - typeof";return z5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},z5(e)}function DM(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function et(e,c){for(var a=0;a<c.length;a++){var t=c[a];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(e,t.key,t)}}function BM(e,c,a){return c&&et(e.prototype,c),a&&et(e,a),Object.defineProperty(e,"prototype",{writable:!1}),e}function y2(e,c,a){return c in e?Object.defineProperty(e,c,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[c]=a,e}function d9(e,c){return RM(e)||EM(e,c)||Ir(e,c)||IM()}function n8(e){return OM(e)||FM(e)||Ir(e)||$M()}function OM(e){if(Array.isArray(e))return we(e)}function RM(e){if(Array.isArray(e))return e}function FM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EM(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,s,o;try{for(a=a.call(e);!(n=(s=a.next()).done)&&(t.push(s.value),!(c&&t.length===c));n=!0);}catch(l){r=!0,o=l}finally{try{!n&&a.return!=null&&a.return()}finally{if(r)throw o}}return t}}function Ir(e,c){if(e){if(typeof e=="string")return we(e,c);var a=Object.prototype.toString.call(e).slice(8,-1);if(a==="Object"&&e.constructor&&(a=e.constructor.name),a==="Map"||a==="Set")return Array.from(e);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return we(e,c)}}function we(e,c){(c==null||c>e.length)&&(c=e.length);for(var a=0,t=new Array(c);a<c;a++)t[a]=e[a];return t}function $M(){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 IM(){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 ct=function(){},h9={},qr={},Yr=null,Wr={mark:ct,measure:ct};try{typeof window<"u"&&(h9=window),typeof document<"u"&&(qr=document),typeof MutationObserver<"u"&&(Yr=MutationObserver),typeof performance<"u"&&(Wr=performance)}catch{}var qM=h9.navigator||{},at=qM.userAgent,tt=at===void 0?"":at,O4=h9,e2=qr,nt=Yr,w8=Wr;O4.document;var i4=!!e2.documentElement&&!!e2.head&&typeof e2.addEventListener=="function"&&typeof e2.createElement=="function",Ur=~tt.indexOf("MSIE")||~tt.indexOf("Trident/"),k8,S8,_8,N8,A8,c4="___FONT_AWESOME___",ke=16,jr="fa",Gr="svg-inline--fa",h6="data-fa-i2svg",Se="data-fa-pseudo-element",YM="data-fa-pseudo-element-pending",m9="data-prefix",p9="data-icon",rt="fontawesome-i2svg",WM="async",UM=["HTML","HEAD","STYLE","SCRIPT"],Zr=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),J1="classic",u2="sharp",v9=[J1,u2];function r8(e){return new Proxy(e,{get:function(a,t){return t in a?a[t]:a[J1]}})}var F0=r8((k8={},y2(k8,J1,{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"}),y2(k8,u2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),k8)),E0=r8((S8={},y2(S8,J1,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),y2(S8,u2,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),S8)),$0=r8((_8={},y2(_8,J1,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),y2(_8,u2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),_8)),jM=r8((N8={},y2(N8,J1,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),y2(N8,u2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),N8)),GM=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Xr="fa-layers-text",ZM=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,XM=r8((A8={},y2(A8,J1,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),y2(A8,u2,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),A8)),Kr=[1,2,3,4,5,6,7,8,9,10],KM=Kr.concat([11,12,13,14,15,16,17,18,19,20]),QM=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],r6={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},I0=new Set;Object.keys(E0[J1]).map(I0.add.bind(I0));Object.keys(E0[u2]).map(I0.add.bind(I0));var JM=[].concat(v9,n8(I0),["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",r6.GROUP,r6.SWAP_OPACITY,r6.PRIMARY,r6.SECONDARY]).concat(Kr.map(function(e){return"".concat(e,"x")})).concat(KM.map(function(e){return"w-".concat(e)})),y0=O4.FontAwesomeConfig||{};function eH(e){var c=e2.querySelector("script["+e+"]");if(c)return c.getAttribute(e)}function cH(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(e2&&typeof e2.querySelector=="function"){var aH=[["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"]];aH.forEach(function(e){var c=d9(e,2),a=c[0],t=c[1],n=cH(eH(a));n!=null&&(y0[t]=n)})}var Qr={styleDefault:"solid",familyDefault:"classic",cssPrefix:jr,replacementClass:Gr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};y0.familyPrefix&&(y0.cssPrefix=y0.familyPrefix);var Y6=z1(z1({},Qr),y0);Y6.autoReplaceSvg||(Y6.observeMutations=!1);var C1={};Object.keys(Qr).forEach(function(e){Object.defineProperty(C1,e,{enumerable:!0,set:function(a){Y6[e]=a,L0.forEach(function(t){return t(C1)})},get:function(){return Y6[e]}})});Object.defineProperty(C1,"familyPrefix",{enumerable:!0,set:function(c){Y6.cssPrefix=c,L0.forEach(function(a){return a(C1)})},get:function(){return Y6.cssPrefix}});O4.FontAwesomeConfig=C1;var L0=[];function tH(e){return L0.push(e),function(){L0.splice(L0.indexOf(e),1)}}var m4=ke,S3={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function nH(e){if(!(!e||!i4)){var c=e2.createElement("style");c.setAttribute("type","text/css"),c.innerHTML=e;for(var a=e2.head.childNodes,t=null,n=a.length-1;n>-1;n--){var r=a[n],s=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(t=r)}return e2.head.insertBefore(c,t),e}}var rH="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function q0(){for(var e=12,c="";e-- >0;)c+=rH[Math.random()*62|0];return c}function J6(e){for(var c=[],a=(e||[]).length>>>0;a--;)c[a]=e[a];return c}function z9(e){return e.classList?J6(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(c){return c})}function Jr(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function iH(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,'="').concat(Jr(e[a]),'" ')},"").trim()}function W5(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,": ").concat(e[a].trim(),";")},"")}function g9(e){return e.size!==S3.size||e.x!==S3.x||e.y!==S3.y||e.rotate!==S3.rotate||e.flipX||e.flipY}function sH(e){var c=e.transform,a=e.containerWidth,t=e.iconWidth,n={transform:"translate(".concat(a/2," 256)")},r="translate(".concat(c.x*32,", ").concat(c.y*32,") "),s="scale(".concat(c.size/16*(c.flipX?-1:1),", ").concat(c.size/16*(c.flipY?-1:1),") "),o="rotate(".concat(c.rotate," 0 0)"),l={transform:"".concat(r," ").concat(s," ").concat(o)},f={transform:"translate(".concat(t/2*-1," -256)")};return{outer:n,inner:l,path:f}}function oH(e){var c=e.transform,a=e.width,t=a===void 0?ke:a,n=e.height,r=n===void 0?ke:n,s=e.startCentered,o=s===void 0?!1:s,l="";return o&&Ur?l+="translate(".concat(c.x/m4-t/2,"em, ").concat(c.y/m4-r/2,"em) "):o?l+="translate(calc(-50% + ".concat(c.x/m4,"em), calc(-50% + ").concat(c.y/m4,"em)) "):l+="translate(".concat(c.x/m4,"em, ").concat(c.y/m4,"em) "),l+="scale(".concat(c.size/m4*(c.flipX?-1:1),", ").concat(c.size/m4*(c.flipY?-1:1),") "),l+="rotate(".concat(c.rotate,"deg) "),l}var lH=`:root, :host {
|
|
9
9
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
package/dist/main.es.js
CHANGED