pangea-lib 2.10.93 → 2.10.94
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[g6]=this[g6]={accessors:{}}).accessors,P=this.prototype;function B(q){const W=R3(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||E4,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 F3=_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 I4(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 h2=E1&&x1-E1;return h2?Math.round(1e3*U1/h2):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 l4={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(h2=>h2.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,h2,n3){const Va=n3.config.validateStatus;n3.status&&Va&&!Va(n3.status)?h2(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&&F3(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",I4(p.onDownloadProgress,!0)),typeof p.onUploadProgress=="function"&&c1.upload&&c1.upload.addEventListener("progress",I4(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(l4,(p,H)=>{if(p){try{Object.defineProperty(p,"name",{value:H})}catch{}Object.defineProperty(p,"adapterName",{value:H})}});const t3=p=>`- ${p}`,e0=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,!e0(k)&&(P=l4[(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 x7(p){if(p.cancelToken&&p.cancelToken.throwIfRequested(),p.signal&&p.signal.aborted)throw new d1(null,p)}function Ma(p){return x7(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||E4.adapter)(p).then(function(H){return x7(p),H.data=X.call(p,p.transformResponse,H),H.headers=r1.from(H.headers),H},function(H){return o1(H)||(x7(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 Ha=p=>p instanceof r1?{...p}:p;function M6(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(Ha(p1),Ha(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 w7={};["object","boolean","number","function","string","symbol"].forEach((p,H)=>{w7[p]=function(k){return typeof k===p||"a"+(H<1?"n ":" ")+p}});const Ca={};w7.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&&!Ca[q]&&(Ca[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 k7={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:w7};const f4=k7.validators;class z8{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=M6(this.defaults,k);const{transitional:P,paramsSerializer:B,headers:q}=k;P!==void 0&&k7.assertOptions(P,{silentJSONParsing:f4.transitional(f4.boolean),forcedJSONParsing:f4.transitional(f4.boolean),clarifyTimeoutError:f4.transitional(f4.boolean)},!1),B!=null&&(A.isFunction(B)?k.paramsSerializer={serialize:B}:k7.assertOptions(B,{encode:f4.function,serialize:f4.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=[Ma.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(h2){U1.call(this,h2);break}}try{c1=Ma.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=M6(this.defaults,H)).baseURL,H.url),H.params,H.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(p){z8.prototype[p]=function(H,k){return this.request(M6(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(M6(q||{},{method:p,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:B}))}}z8.prototype[p]=H(),z8.prototype[p+"Form"]=H(!0)});var g8=z8;class S7{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 S7(function(k){H=k}),cancel:H}}}var og=S7;const _7={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(_7).forEach(([p,H])=>{_7[H]=p});var lg=_7;const H2=function p(H){const k=new g8(H),P=l(g8.prototype.request,k);return A.extend(P,g8.prototype,k,{allOwnKeys:!0}),A.extend(P,k,null,{allOwnKeys:!0}),P.create=function(B){return p(M6(H,B))},P}(E4);H2.Axios=g8,H2.CanceledError=d1,H2.CancelToken=og,H2.isCancel=o1,H2.VERSION="1.6.8",H2.toFormData=H1,H2.AxiosError=x,H2.Cancel=H2.CanceledError,H2.all=function(p){return Promise.all(p)},H2.spread=function(p){return function(H){return p.apply(null,H)}},H2.isAxiosError=function(p){return A.isObject(p)&&p.isAxiosError===!0},H2.mergeConfig=M6,H2.AxiosHeaders=r1,H2.formToJSON=p=>z6(A.isHTMLForm(p)?new FormData(p):p),H2.getAdapter=v8,H2.HttpStatusCode=lg,H2.default=H2,r.exports=H2}},t={};function n(r){var i=t[r];if(i!==void 0)return i.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)})())})(cr);var r5=cr.exports;const mg={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"}},pg={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"},dark:{main:"#1e1e1e",contrast:"#ffffff"},light:{main:"#f0f0f0",contrast:"#000000"},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"}},vg={info:"#54b4d3",link:"#0064ff",error:"#e11515"},ar={...mg,...pg,...vg},tr={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:"s('rgba(var(--pga-color-text-first-rgb), 0.2)')",borderColorFocus:"var(--pga-color-primary)",borderRadius:"0.25em"}}},zg={colors:ar,...tr};var nr={exports:{}};(function(e,c){(function(a,t){e.exports=t()})(dg,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"],i=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,M=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))&&i({event:R,handler:N,middleware:E})}({el:u,event:b,handler:m,middleware:z})},capture:M}}),v){var g={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)&&i({event:_,handler:R,middleware:N})},0)}({el:u,event:C,handler:m,middleware:z})},capture:M};u[a]=[].concat(u[a],[g])}u[a].forEach(function(C){var b=C.event,y=C.srcTarget,_=C.handler;return setTimeout(function(){u[a]&&y.addEventListener(b,_,M)},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}})})(nr);var gg=nr.exports;const Mg=hg(gg),Hg=["top","right","bottom","left"],ba=["start","end"],ya=Hg.reduce((e,c)=>e.concat(c,c+"-"+ba[0],c+"-"+ba[1]),[]),J4=Math.min,Z4=Math.max,Cg={left:"right",right:"left",bottom:"top",top:"bottom"},Vg={start:"end",end:"start"};function me(e,c,a){return Z4(e,J4(c,a))}function d6(e,c){return typeof e=="function"?e(c):e}function T3(e){return e.split("-")[0]}function h3(e){return e.split("-")[1]}function rr(e){return e==="x"?"y":"x"}function e9(e){return e==="y"?"height":"width"}function Q0(e){return["top","bottom"].includes(T3(e))?"y":"x"}function c9(e){return rr(Q0(e))}function ir(e,c,a){a===void 0&&(a=!1);const t=h3(e),n=c9(e),r=e9(n);let i=n==="x"?t===(a?"end":"start")?"right":"left":t==="start"?"bottom":"top";return c.reference[r]>c.floating[r]&&(i=s5(i)),[i,s5(i)]}function bg(e){const c=s5(e);return[i5(e),c,i5(c)]}function i5(e){return e.replace(/start|end/g,c=>Vg[c])}function yg(e,c,a){const t=["left","right"],n=["right","left"],r=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return a?c?n:t:c?t:n;case"left":case"right":return c?r:i;default:return[]}}function Lg(e,c,a,t){const n=h3(e);let r=yg(T3(e),a==="start",t);return n&&(r=r.map(i=>i+"-"+n),c&&(r=r.concat(r.map(i5)))),r}function s5(e){return e.replace(/left|right|bottom|top/g,c=>Cg[c])}function xg(e){return{top:0,right:0,bottom:0,left:0,...e}}function sr(e){return typeof e!="number"?xg(e):{top:e,right:e,bottom:e,left:e}}function p0(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 La(e,c,a){let{reference:t,floating:n}=e;const r=Q0(c),i=c9(c),o=e9(i),l=T3(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[i]-=h*(a&&f?-1:1);break;case"end":m[i]+=h*(a&&f?-1:1);break}return m}const wg=async(e,c,a)=>{const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i}=a,o=r.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(c));let f=await i.getElementRects({reference:e,floating:c,strategy:n}),{x:u,y:d}=La(f,t,l),h=t,m={},z=0;for(let v=0;v<o.length;v++){const{name:M,fn:g}=o[v],{x:C,y:b,data:y,reset:_}=await g({x:u,y:d,initialPlacement:t,placement:h,strategy:n,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:c}});u=C??u,d=b??d,m={...m,[M]:{...m[M],...y}},_&&z<=50&&(z++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(f=_.rects===!0?await i.getElementRects({reference:e,floating:c,strategy:n}):_.rects),{x:u,y:d}=La(f,h,l)),v=-1)}return{x:u,y:d,placement:h,strategy:n,middlewareData:m}};async function T5(e,c){var a;c===void 0&&(c={});const{x:t,y:n,platform:r,rects:i,elements:o,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=d6(c,e),z=sr(m),M=o[h?d==="floating"?"reference":"floating":d],g=p0(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(M)))==null||a?M:M.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:i.floating.width,height:i.floating.height}:i.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},_=p0(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:C,offsetParent:b,strategy:l}):C);return{top:(g.top-_.top+z.top)/y.y,bottom:(_.bottom-g.bottom+z.bottom)/y.y,left:(g.left-_.left+z.left)/y.x,right:(_.right-g.right+z.right)/y.x}}const kg=e=>({name:"arrow",options:e,async fn(c){const{x:a,y:t,placement:n,rects:r,platform:i,elements:o,middlewareData:l}=c,{element:f,padding:u=0}=d6(e,c)||{};if(f==null)return{};const d=sr(u),h={x:a,y:t},m=c9(n),z=e9(m),v=await i.getDimensions(f),M=m==="y",g=M?"top":"left",C=M?"bottom":"right",b=M?"clientHeight":"clientWidth",y=r.reference[z]+r.reference[m]-h[m]-r.floating[z],_=h[m]-r.reference[m],R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let N=R?R[b]:0;(!N||!await(i.isElement==null?void 0:i.isElement(R)))&&(N=o.floating[b]||r.floating[z]);const E=y/2-_/2,T=N/2-v[z]/2-1,U=J4(d[g],T),t1=J4(d[C],T),O=U,Z=N-v[z]-t1,a1=N/2-v[z]/2+E,L=me(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 Sg(e,c,a){return(e?[...a.filter(n=>h3(n)===e),...a.filter(n=>h3(n)!==e)]:a.filter(n=>T3(n)===n)).filter(n=>e?h3(n)===e||(c?i5(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:i,placement:o,platform:l,elements:f}=c,{crossAxis:u=!1,alignment:d,allowedPlacements:h=ya,autoAlignment:m=!0,...z}=d6(e,c),v=d!==void 0||h===ya?Sg(d||null,m,h):h,M=await T5(c,z),g=((a=i.autoPlacement)==null?void 0:a.index)||0,C=v[g];if(C==null)return{};const b=ir(C,r,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(o!==C)return{reset:{placement:v[0]}};const y=[M[T3(C)],M[b[0]],M[b[1]]],_=[...((t=i.autoPlacement)==null?void 0:t.overflows)||[],{placement:C,overflows:y}],R=v[g+1];if(R)return{data:{index:g+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:g+1,overflows:_},reset:{placement:T}}:{}}}},Ng=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(c){var a,t;const{placement:n,middlewareData:r,rects:i,initialPlacement:o,platform:l,elements:f}=c,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:v=!0,...M}=d6(e,c);if((a=r.arrow)!=null&&a.alignmentOffset)return{};const g=T3(n),C=T3(o)===o,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=h||(C||!v?[s5(o)]:bg(o));!h&&z!=="none"&&y.push(...Lg(o,v,z,b));const _=[o,...y],R=await T5(c,M),N=[];let E=((t=r.flip)==null?void 0:t.overflows)||[];if(u&&N.push(R[g]),d){const O=ir(n,i,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 Ag(e,c){const{placement:a,platform:t,elements:n}=e,r=await(t.isRTL==null?void 0:t.isRTL(n.floating)),i=T3(a),o=h3(a),l=Q0(a)==="y",f=["left","top"].includes(i)?-1:1,u=r&&l?-1:1,d=d6(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 Pg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(c){var a,t;const{x:n,y:r,placement:i,middlewareData:o}=c,l=await Ag(c,e);return i===((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:i}}}}},Tg=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:i=!1,limiter:o={fn:M=>{let{x:g,y:C}=M;return{x:g,y:C}}},...l}=d6(e,c),f={x:a,y:t},u=await T5(c,l),d=Q0(T3(n)),h=rr(d);let m=f[h],z=f[d];if(r){const M=h==="y"?"top":"left",g=h==="y"?"bottom":"right",C=m+u[M],b=m-u[g];m=me(C,m,b)}if(i){const M=d==="y"?"top":"left",g=d==="y"?"bottom":"right",C=z+u[M],b=z-u[g];z=me(C,z,b)}const v=o.fn({...c,[h]:m,[d]:z});return{...v,data:{x:v.x-a,y:v.y-t}}}}},Dg=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:i=()=>{},...o}=d6(e,c),l=await T5(c,o),f=T3(a),u=h3(a),d=Q0(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 M=m-l.top-l.bottom,g=h-l.left-l.right,C=J4(m-l[z],M),b=J4(h-l[v],g),y=!c.middlewareData.shift;let _=C,R=b;if(d?R=u||y?J4(b,g):g:_=u||y?J4(C,M):M,y&&!u){const E=Z4(l.left,0),T=Z4(l.right,0),U=Z4(l.top,0),t1=Z4(l.bottom,0);d?R=h-2*(E!==0||T!==0?E+T:Z4(l.left,l.right)):_=m-2*(U!==0||t1!==0?U+t1:Z4(l.top,l.bottom))}await i({...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 S3(e){return J2(e).getComputedStyle(e)}const xa=Math.min,v0=Math.max,o5=Math.round;function or(e){const c=S3(e);let a=parseFloat(c.width),t=parseFloat(c.height);const n=e.offsetWidth,r=e.offsetHeight,i=o5(a)!==n||o5(t)!==r;return i&&(a=n,t=r),{width:a,height:t,fallback:i}}function A4(e){return fr(e)?(e.nodeName||"").toLowerCase():""}let M8;function lr(){if(M8)return M8;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(M8=e.brands.map(c=>c.brand+"/"+c.version).join(" "),M8):navigator.userAgent}function _3(e){return e instanceof J2(e).HTMLElement}function L4(e){return e instanceof J2(e).Element}function fr(e){return e instanceof J2(e).Node}function wa(e){return typeof ShadowRoot>"u"?!1:e instanceof J2(e).ShadowRoot||e instanceof ShadowRoot}function D5(e){const{overflow:c,overflowX:a,overflowY:t,display:n}=S3(e);return/auto|scroll|overlay|hidden|clip/.test(c+t+a)&&!["inline","contents"].includes(n)}function Bg(e){return["table","td","th"].includes(A4(e))}function pe(e){const c=/firefox/i.test(lr()),a=S3(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 ur(){return!/^((?!chrome|android).)*safari/i.test(lr())}function a9(e){return["html","body","#document"].includes(A4(e))}function dr(e){return L4(e)?e:e.contextElement}const hr={x:1,y:1};function A6(e){const c=dr(e);if(!_3(c))return hr;const a=c.getBoundingClientRect(),{width:t,height:n,fallback:r}=or(c);let i=(r?o5(a.width):a.width)/t,o=(r?o5(a.height):a.height)/n;return i&&Number.isFinite(i)||(i=1),o&&Number.isFinite(o)||(o=1),{x:i,y:o}}function _0(e,c,a,t){var n,r;c===void 0&&(c=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),o=dr(e);let l=hr;c&&(t?L4(t)&&(l=A6(t)):l=A6(e));const f=o?J2(o):window,u=!ur()&&a;let d=(i.left+(u&&((n=f.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(i.top+(u&&((r=f.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,m=i.width/l.x,z=i.height/l.y;if(o){const v=J2(o),M=t&&L4(t)?J2(t):t;let g=v.frameElement;for(;g&&t&&M!==v;){const C=A6(g),b=g.getBoundingClientRect(),y=getComputedStyle(g);b.x+=(g.clientLeft+parseFloat(y.paddingLeft))*C.x,b.y+=(g.clientTop+parseFloat(y.paddingTop))*C.y,d*=C.x,h*=C.y,m*=C.x,z*=C.y,d+=b.x,h+=b.y,g=J2(g).frameElement}}return{width:m,height:z,top:h,right:d+m,bottom:h+z,left:d,x:d,y:h}}function x4(e){return((fr(e)?e.ownerDocument:e.document)||window.document).documentElement}function B5(e){return L4(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mr(e){return _0(x4(e)).left+B5(e).scrollLeft}function N0(e){if(A4(e)==="html")return e;const c=e.assignedSlot||e.parentNode||wa(e)&&e.host||x4(e);return wa(c)?c.host:c}function pr(e){const c=N0(e);return a9(c)?c.ownerDocument.body:_3(c)&&D5(c)?c:pr(c)}function l5(e,c){var a;c===void 0&&(c=[]);const t=pr(e),n=t===((a=e.ownerDocument)==null?void 0:a.body),r=J2(t);return n?c.concat(r,r.visualViewport||[],D5(t)?t:[]):c.concat(t,l5(t))}function ka(e,c,a){return c==="viewport"?p0(function(t,n){const r=J2(t),i=x4(t),o=r.visualViewport;let l=i.clientWidth,f=i.clientHeight,u=0,d=0;if(o){l=o.width,f=o.height;const h=ur();(h||!h&&n==="fixed")&&(u=o.offsetLeft,d=o.offsetTop)}return{width:l,height:f,x:u,y:d}}(e,a)):L4(c)?p0(function(t,n){const r=_0(t,!0,n==="fixed"),i=r.top+t.clientTop,o=r.left+t.clientLeft,l=_3(t)?A6(t):{x:1,y:1};return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:o*l.x,y:i*l.y}}(c,a)):p0(function(t){const n=x4(t),r=B5(t),i=t.ownerDocument.body,o=v0(n.scrollWidth,n.clientWidth,i.scrollWidth,i.clientWidth),l=v0(n.scrollHeight,n.clientHeight,i.scrollHeight,i.clientHeight);let f=-r.scrollLeft+mr(t);const u=-r.scrollTop;return S3(i).direction==="rtl"&&(f+=v0(n.clientWidth,i.clientWidth)-o),{width:o,height:l,x:f,y:u}}(x4(e)))}function Sa(e){return _3(e)&&S3(e).position!=="fixed"?e.offsetParent:null}function _a(e){const c=J2(e);let a=Sa(e);for(;a&&Bg(a)&&S3(a).position==="static";)a=Sa(a);return a&&(A4(a)==="html"||A4(a)==="body"&&S3(a).position==="static"&&!pe(a))?c:a||function(t){let n=N0(t);for(;_3(n)&&!a9(n);){if(pe(n))return n;n=N0(n)}return null}(e)||c}function Og(e,c,a){const t=_3(c),n=x4(c),r=_0(e,!0,a==="fixed",c);let i={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(t||!t&&a!=="fixed")if((A4(c)!=="body"||D5(n))&&(i=B5(c)),_3(c)){const l=_0(c,!0);o.x=l.x+c.clientLeft,o.y=l.y+c.clientTop}else n&&(o.x=mr(n));return{x:r.left+i.scrollLeft-o.x,y:r.top+i.scrollTop-o.y,width:r.width,height:r.height}}const Rg={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=l5(f).filter(M=>L4(M)&&A4(M)!=="body"),m=null;const z=S3(f).position==="fixed";let v=z?N0(f):f;for(;L4(v)&&!a9(v);){const M=S3(v),g=pe(v);(z?g||m:g||M.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=M:h=h.filter(C=>C!==v),v=N0(v)}return u.set(f,h),h}(c,this._c):[].concat(a),i=[...r,t],o=i[0],l=i.reduce((f,u)=>{const d=ka(c,u,n);return f.top=v0(d.top,f.top),f.right=xa(d.right,f.right),f.bottom=xa(d.bottom,f.bottom),f.left=v0(d.left,f.left),f},ka(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=_3(a),r=x4(a);if(a===r)return c;let i={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((n||!n&&t!=="fixed")&&((A4(a)!=="body"||D5(r))&&(i=B5(a)),_3(a))){const f=_0(a);o=A6(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-i.scrollLeft*o.x+l.x,y:c.y*o.y-i.scrollTop*o.y+l.y}},isElement:L4,getDimensions:function(e){return _3(e)?or(e):e.getBoundingClientRect()},getOffsetParent:_a,getDocumentElement:x4,getScale:A6,async getElementRects(e){let{reference:c,floating:a,strategy:t}=e;const n=this.getOffsetParent||_a,r=this.getDimensions;return{reference:Og(c,await n(a),t),floating:{x:0,y:0,...await r(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>S3(e).direction==="rtl"},Fg=(e,c,a)=>{const t=new Map,n={platform:Rg,...a},r={...n.platform,_c:t};return wg(e,c,{...n,platform:r})};function vr(e,c){for(const a in c)Object.prototype.hasOwnProperty.call(c,a)&&(typeof c[a]=="object"&&e[a]?vr(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 A0(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 Eg(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 Na(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 R6=!1;if(typeof window<"u"){R6=!1;try{const e=Object.defineProperty({},"passive",{get(){R6=!0}});window.addEventListener("test",null,e)}catch{}}let zr=!1;typeof window<"u"&&typeof navigator<"u"&&(zr=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const gr=["auto","top","bottom","left","right"].reduce((e,c)=>e.concat([c,`${c}-start`,`${c}-end`]),[]),Aa={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Pa={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ta(e,c){const a=e.indexOf(c);a!==-1&&e.splice(a,1)}function N7(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const i3=[];let q4=null;const Da={};function Ba(e){let c=Da[e];return c||(c=Da[e]=[]),c}let ve=function(){};typeof window<"u"&&(ve=window.Element);function R1(e){return function(c){return A0(c.theme,e)}}const A7="__floating-vue__popper",Mr=()=>s.defineComponent({name:"VPopper",provide(){return{[A7]:{parentPopper:this}}},inject:{[A7]:{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=>gr.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,ve,Boolean],default:R1("container")},boundary:{type:[String,ve],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[A7])==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(Pg({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(Tg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!c&&this.flip&&e.middleware.push(Ng({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(kg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:n,middlewareData:r})=>{let i;const{centerOffset:o}=r.arrow;return t.startsWith("top")||t.startsWith("bottom")?i=Math.abs(o)>n.reference.width/2:i=Math.abs(o)>n.reference.height/2,{data:{overflow:i}}}}),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:i})=>{var o;if((o=i.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(Dg({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 Fg(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),q4&&this.instantMove&&q4.instantMove&&q4!==this.parentPopper){q4.$_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&&(q4=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 N7(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...l5(this.$_referenceNode),...l5(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 Na(this.theme))Ba(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 N7(),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,Ta(i3,this),i3.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Na(this.theme)){const t=Ba(a);Ta(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}q4===this&&(q4=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 N7(),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,Aa,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Aa,this.popperTriggers,this.popperShowTriggers,e);const c=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Pa,this.triggers,this.hideTriggers,c),this.$_registerTriggerListeners([this.$_popperNode],Pa,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,R6?{passive:!0}:void 0))},$_registerTriggerListeners(e,c,a,t,n){let r=a;t!=null&&(r=typeof t=="function"?t(r):t),r.forEach(i=>{const o=c[i];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(i=>i.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(z0>=e.left&&z0<=e.right&&g0>=e.top&&g0<=e.bottom){const c=this.$_popperNode.getBoundingClientRect(),a=z0-p4,t=g0-v4,n=c.left+c.width/2-p4+(c.top+c.height/2)-v4+c.width+c.height,r=p4+a*n,i=v4+t*n;return H8(p4,v4,r,i,c.left,c.top,c.left,c.bottom)||H8(p4,v4,r,i,c.left,c.top,c.right,c.top)||H8(p4,v4,r,i,c.right,c.top,c.right,c.bottom)||H8(p4,v4,r,i,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(zr){const e=R6?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",c=>Oa(c,!0),e),document.addEventListener("touchend",c=>Ra(c,!0),e)}else window.addEventListener("mousedown",e=>Oa(e,!1),!0),window.addEventListener("click",e=>Ra(e,!1),!0);window.addEventListener("resize",Ig)}function Oa(e,c){if(m3.autoHideOnMousedown)Hr(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 Ra(e,c){m3.autoHideOnMousedown||Hr(e,c)}function Hr(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]&&Fa(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 i=n.parentPopper;for(;i&&Fa(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,c),i=i.parentPopper}})}catch{}}}function Fa(e,c,a){return a.closeAllPopover||a.closePopover&&c||$g(e,a)&&!c}function $g(e,c){if(typeof e.autoHide=="function"){const a=e.autoHide(c);return e.lastAutoHide=a,a}return e.autoHide}function Ig(){for(let e=0;e<i3.length;e++)i3[e].$_computePosition()}let p4=0,v4=0,z0=0,g0=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{p4=z0,v4=g0,z0=e.clientX,g0=e.clientY},R6?{passive:!0}:void 0);function H8(e,c,a,t,n,r,i,o){const l=((i-n)*(c-r)-(o-r)*(e-n))/((o-r)*(a-e)-(i-n)*(t-c)),f=((a-e)*(c-r)-(t-c)*(e-n))/((o-r)*(a-e)-(i-n)*(t-c));return l>=0&&l<=1&&f>=0&&f<=1}const qg={extends:Mr()},O5=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a};function Yg(e,c,a,t,n,r){return s.openBlock(),s.createElementBlock("div",{ref:"reference",class:s.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[s.renderSlot(e.$slots,"default",s.normalizeProps(s.guardReactiveProps(e.slotData)))],2)}const Wg=O5(qg,[["render",Yg]]);function Ug(){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 G8;function ze(){ze.init||(ze.init=!0,G8=Ug()!==-1)}var R5={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ze(),s.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",G8&&this.$el.appendChild(e),e.data="about:blank",G8||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&&(!G8&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const jg=s.withScopeId("data-v-b329ee4c");s.pushScopeId("data-v-b329ee4c");const Gg={class:"resize-observer",tabindex:"-1"};s.popScopeId();const Zg=jg((e,c,a,t,n,r)=>(s.openBlock(),s.createBlock("div",Gg)));R5.render=Zg;R5.__scopeId="data-v-b329ee4c";R5.__file="src/components/ResizeObserver.vue";const Cr=(e="theme")=>({computed:{themeClass(){return Eg(this[e])}}}),Xg=s.defineComponent({name:"VPopperContent",components:{ResizeObserver:R5},mixins:[Cr()],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}}}),Kg=["id","aria-hidden","tabindex","data-popper-placement"],Qg={ref:"inner",class:"v-popper__inner"},Jg=s.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),eM=s.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),cM=[Jg,eM];function aM(e,c,a,t,n,r){const i=s.resolveComponent("ResizeObserver");return s.openBlock(),s.createElementBlock("div",{id:e.popperId,ref:"popover",class:s.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:s.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]=s.withKeys(o=>e.autoHide&&e.$emit("hide"),["esc"]))},[s.createElementVNode("div",{class:"v-popper__backdrop",onClick:c[0]||(c[0]=o=>e.autoHide&&e.$emit("hide"))}),s.createElementVNode("div",{class:"v-popper__wrapper",style:s.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[s.createElementVNode("div",Qg,[e.mounted?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",null,[s.renderSlot(e.$slots,"default")]),e.handleResize?(s.openBlock(),s.createBlock(i,{key:0,onNotify:c[1]||(c[1]=o=>e.$emit("resize",o))})):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0)],512),s.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:s.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},cM,4)],4)],46,Kg)}const Vr=O5(Xg,[["render",aM]]),br={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 ge=function(){};typeof window<"u"&&(ge=window.Element);const tM=s.defineComponent({name:"VPopperWrapper",components:{Popper:Wg,PopperContent:Vr},mixins:[br,Cr("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,ge,Boolean],default:void 0},boundary:{type:[String,ge],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 nM(e,c,a,t,n,r){const i=s.resolveComponent("PopperContent"),o=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(o,s.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:s.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,show:m,hide:z,handleResize:v,onResize:M,classes:g,result:C})=>[s.renderSlot(e.$slots,"default",{shown:f,show:m,hide:z}),s.createVNode(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":v,classes:g,result:C,onHide:z,onResize:M},{default:s.withCtx(()=>[s.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 t9=O5(tM,[["render",nM]]),rM={...t9,name:"VDropdown",vPopperTheme:"dropdown"},iM={...t9,name:"VMenu",vPopperTheme:"menu"},sM={...t9,name:"VTooltip",vPopperTheme:"tooltip"},oM=s.defineComponent({name:"VTooltipDirective",components:{Popper:Mr(),PopperContent:Vr},mixins:[br],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>A0(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>A0(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}}}),lM=["innerHTML"],fM=["textContent"];function uM(e,c,a,t,n,r){const i=s.resolveComponent("PopperContent"),o=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(o,s.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:s.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,hide:m,handleResize:z,onResize:v,classes:M,result:g})=>[s.createVNode(i,{ref:"popperContent",class:s.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:M,result:g,onHide:m,onResize:v},{default:s.withCtx(()=>[e.html?(s.openBlock(),s.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,lM)):(s.openBlock(),s.createElementBlock("div",{key:1,textContent:s.toDisplayString(e.finalContent)},null,8,fM))]),_: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 dM=O5(oM,[["render",uM]]),yr="v-popper--has-tooltip";function hM(e,c){let a=e.placement;if(!a&&c)for(const t of gr)c[t]&&(a=t);return a||(a=A0(e.theme||"tooltip","placement")),a}function Lr(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=hM(t,a),t.targetNodes=()=>[e],t.referenceNode=()=>e,t}let P7,P0,mM=0;function pM(){if(P7)return;P0=s.ref([]),P7=s.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:P0}},render(){return this.directives.map(c=>s.h(dM,{...c.options,shown:c.shown||c.options.shown,key:c.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),P7.mount(e)}function vM(e,c,a){pM();const t=s.ref(Lr(e,c,a)),n=s.ref(!1),r={id:mM++,options:t,shown:n};return P0.value.push(r),e.classList&&e.classList.add(yr),e.$_popper={options:t,item:r,show(){n.value=!0},hide(){n.value=!1}}}function xr(e){if(e.$_popper){const c=P0.value.indexOf(e.$_popper.item);c!==-1&&P0.value.splice(c,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(yr)}function Ea(e,{value:c,modifiers:a}){const t=Lr(e,c,a);if(!t.content||A0(t.theme||"tooltip","disabled"))xr(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=t):n=vM(e,c,a),typeof c.shown<"u"&&c.shown!==e.$_popperOldShown&&(e.$_popperOldShown=c.shown,c.shown?n.show():n.hide())}}const zM={beforeMount:Ea,updated:Ea,beforeUnmount(e){xr(e)}};function $a(e){e.addEventListener("mousedown",f5),e.addEventListener("click",f5),e.addEventListener("touchstart",wr,R6?{passive:!0}:!1)}function Ia(e){e.removeEventListener("mousedown",f5),e.removeEventListener("click",f5),e.removeEventListener("touchstart",wr),e.removeEventListener("touchend",kr),e.removeEventListener("touchcancel",Sr)}function f5(e){const c=e.currentTarget;e.closePopover=!c.$_vclosepopover_touch,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}function wr(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",kr),c.addEventListener("touchcancel",Sr)}}function kr(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 Sr(e){const c=e.currentTarget;c.$_vclosepopover_touch=!1}const gM={beforeMount(e,{value:c,modifiers:a}){e.$_closePopoverModifiers=a,(typeof c>"u"||c)&&$a(e)},updated(e,{value:c,oldValue:a,modifiers:t}){e.$_closePopoverModifiers=t,c!==a&&(typeof c>"u"||c?$a(e):Ia(e))},beforeUnmount(e){Ia(e)}};function MM(e,c={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,vr(m3,c),e.directive("tooltip",zM),e.directive("close-popper",gM),e.component("VTooltip",sM),e.component("VDropdown",rM),e.component("VMenu",iM))}const HM={version:"5.2.2",install:MM,options:m3},n9=K0.defineStore("pga-options",()=>{const e=s.ref(tr),c=s.computed(()=>e.value.button),a=s.computed(()=>e.value.form);return{options:e,buttonOptions:c,formOptions:a}});function T7(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 CM(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 D7(e,c){const a="--pga-color-";qa(`${a}${r5.camelToSnakeCase(e)}`,c),qa(`${a}${r5.camelToSnakeCase(e)}-rgb`,CM(c))}const _r=K0.defineStore("pga-theme",()=>({theme:s.ref("light")}),{persist:!0});function Me(){return _r().theme}function VM(e){_r().theme=e}const Nr=K0.defineStore("pga-colors",()=>{const e=s.ref(ar);return s.watch([e,()=>Me()],()=>{const c=e.value;for(const a in c){const t=c[a];if(T7(t)==="theme"&&D7(a,t[Me()]),T7(t)==="prop")for(const n in t)D7(n==="contrast"?`${a}Contrast`:a,t[n]);T7(t)==="informative"&&D7(a,t)}}),{colors:e}});function bM(e,c){Nr().colors[e]=c}function Ar(e){Nr().colors=e}function Ya(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?Ya(Object(a),!0).forEach(function(t){y2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ya(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function u5(e){"@babel/helpers - typeof";return u5=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},u5(e)}function yM(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function Wa(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 LM(e,c,a){return c&&Wa(e.prototype,c),a&&Wa(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 r9(e,c){return wM(e)||SM(e,c)||Pr(e,c)||NM()}function J0(e){return xM(e)||kM(e)||Pr(e)||_M()}function xM(e){if(Array.isArray(e))return He(e)}function wM(e){if(Array.isArray(e))return e}function kM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SM(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,i,o;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(t.push(i.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 Pr(e,c){if(e){if(typeof e=="string")return He(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 He(e,c)}}function He(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=M6(this.defaults,k);const{transitional:P,paramsSerializer:B,headers:q}=k;P!==void 0&&k7.assertOptions(P,{silentJSONParsing:f4.transitional(f4.boolean),forcedJSONParsing:f4.transitional(f4.boolean),clarifyTimeoutError:f4.transitional(f4.boolean)},!1),B!=null&&(A.isFunction(B)?k.paramsSerializer={serialize:B}:k7.assertOptions(B,{encode:f4.function,serialize:f4.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=[Ma.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(h2){U1.call(this,h2);break}}try{c1=Ma.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=M6(this.defaults,H)).baseURL,H.url),H.params,H.paramsSerializer)}}A.forEach(["delete","get","head","options"],function(p){z8.prototype[p]=function(H,k){return this.request(M6(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(M6(q||{},{method:p,headers:k?{"Content-Type":"multipart/form-data"}:{},url:P,data:B}))}}z8.prototype[p]=H(),z8.prototype[p+"Form"]=H(!0)});var g8=z8;class S7{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 S7(function(k){H=k}),cancel:H}}}var og=S7;const _7={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(_7).forEach(([p,H])=>{_7[H]=p});var lg=_7;const H2=function p(H){const k=new g8(H),P=l(g8.prototype.request,k);return A.extend(P,g8.prototype,k,{allOwnKeys:!0}),A.extend(P,k,null,{allOwnKeys:!0}),P.create=function(B){return p(M6(H,B))},P}(E4);H2.Axios=g8,H2.CanceledError=d1,H2.CancelToken=og,H2.isCancel=o1,H2.VERSION="1.6.8",H2.toFormData=H1,H2.AxiosError=x,H2.Cancel=H2.CanceledError,H2.all=function(p){return Promise.all(p)},H2.spread=function(p){return function(H){return p.apply(null,H)}},H2.isAxiosError=function(p){return A.isObject(p)&&p.isAxiosError===!0},H2.mergeConfig=M6,H2.AxiosHeaders=r1,H2.formToJSON=p=>z6(A.isHTMLForm(p)?new FormData(p):p),H2.getAdapter=v8,H2.HttpStatusCode=lg,H2.default=H2,r.exports=H2}},t={};function n(r){var i=t[r];if(i!==void 0)return i.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)})())})(cr);var r5=cr.exports;const mg={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"}},pg={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"},dark:{main:"#1e1e1e",contrast:"#ffffff"},light:{main:"#f0f0f0",contrast:"#000000"},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"}},vg={info:"#54b4d3",link:"#0064ff",error:"#e11515"},ar={...mg,...pg,...vg},tr={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"}}},zg={colors:ar,...tr};var nr={exports:{}};(function(e,c){(function(a,t){e.exports=t()})(dg,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"],i=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,M=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))&&i({event:R,handler:N,middleware:E})}({el:u,event:b,handler:m,middleware:z})},capture:M}}),v){var g={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)&&i({event:_,handler:R,middleware:N})},0)}({el:u,event:C,handler:m,middleware:z})},capture:M};u[a]=[].concat(u[a],[g])}u[a].forEach(function(C){var b=C.event,y=C.srcTarget,_=C.handler;return setTimeout(function(){u[a]&&y.addEventListener(b,_,M)},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}})})(nr);var gg=nr.exports;const Mg=hg(gg),Hg=["top","right","bottom","left"],ba=["start","end"],ya=Hg.reduce((e,c)=>e.concat(c,c+"-"+ba[0],c+"-"+ba[1]),[]),J4=Math.min,Z4=Math.max,Cg={left:"right",right:"left",bottom:"top",top:"bottom"},Vg={start:"end",end:"start"};function me(e,c,a){return Z4(e,J4(c,a))}function d6(e,c){return typeof e=="function"?e(c):e}function T3(e){return e.split("-")[0]}function h3(e){return e.split("-")[1]}function rr(e){return e==="x"?"y":"x"}function e9(e){return e==="y"?"height":"width"}function Q0(e){return["top","bottom"].includes(T3(e))?"y":"x"}function c9(e){return rr(Q0(e))}function ir(e,c,a){a===void 0&&(a=!1);const t=h3(e),n=c9(e),r=e9(n);let i=n==="x"?t===(a?"end":"start")?"right":"left":t==="start"?"bottom":"top";return c.reference[r]>c.floating[r]&&(i=s5(i)),[i,s5(i)]}function bg(e){const c=s5(e);return[i5(e),c,i5(c)]}function i5(e){return e.replace(/start|end/g,c=>Vg[c])}function yg(e,c,a){const t=["left","right"],n=["right","left"],r=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return a?c?n:t:c?t:n;case"left":case"right":return c?r:i;default:return[]}}function Lg(e,c,a,t){const n=h3(e);let r=yg(T3(e),a==="start",t);return n&&(r=r.map(i=>i+"-"+n),c&&(r=r.concat(r.map(i5)))),r}function s5(e){return e.replace(/left|right|bottom|top/g,c=>Cg[c])}function xg(e){return{top:0,right:0,bottom:0,left:0,...e}}function sr(e){return typeof e!="number"?xg(e):{top:e,right:e,bottom:e,left:e}}function p0(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 La(e,c,a){let{reference:t,floating:n}=e;const r=Q0(c),i=c9(c),o=e9(i),l=T3(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[i]-=h*(a&&f?-1:1);break;case"end":m[i]+=h*(a&&f?-1:1);break}return m}const wg=async(e,c,a)=>{const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i}=a,o=r.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(c));let f=await i.getElementRects({reference:e,floating:c,strategy:n}),{x:u,y:d}=La(f,t,l),h=t,m={},z=0;for(let v=0;v<o.length;v++){const{name:M,fn:g}=o[v],{x:C,y:b,data:y,reset:_}=await g({x:u,y:d,initialPlacement:t,placement:h,strategy:n,middlewareData:m,rects:f,platform:i,elements:{reference:e,floating:c}});u=C??u,d=b??d,m={...m,[M]:{...m[M],...y}},_&&z<=50&&(z++,typeof _=="object"&&(_.placement&&(h=_.placement),_.rects&&(f=_.rects===!0?await i.getElementRects({reference:e,floating:c,strategy:n}):_.rects),{x:u,y:d}=La(f,h,l)),v=-1)}return{x:u,y:d,placement:h,strategy:n,middlewareData:m}};async function T5(e,c){var a;c===void 0&&(c={});const{x:t,y:n,platform:r,rects:i,elements:o,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:h=!1,padding:m=0}=d6(c,e),z=sr(m),M=o[h?d==="floating"?"reference":"floating":d],g=p0(await r.getClippingRect({element:(a=await(r.isElement==null?void 0:r.isElement(M)))==null||a?M:M.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:i.floating.width,height:i.floating.height}:i.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},_=p0(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:C,offsetParent:b,strategy:l}):C);return{top:(g.top-_.top+z.top)/y.y,bottom:(_.bottom-g.bottom+z.bottom)/y.y,left:(g.left-_.left+z.left)/y.x,right:(_.right-g.right+z.right)/y.x}}const kg=e=>({name:"arrow",options:e,async fn(c){const{x:a,y:t,placement:n,rects:r,platform:i,elements:o,middlewareData:l}=c,{element:f,padding:u=0}=d6(e,c)||{};if(f==null)return{};const d=sr(u),h={x:a,y:t},m=c9(n),z=e9(m),v=await i.getDimensions(f),M=m==="y",g=M?"top":"left",C=M?"bottom":"right",b=M?"clientHeight":"clientWidth",y=r.reference[z]+r.reference[m]-h[m]-r.floating[z],_=h[m]-r.reference[m],R=await(i.getOffsetParent==null?void 0:i.getOffsetParent(f));let N=R?R[b]:0;(!N||!await(i.isElement==null?void 0:i.isElement(R)))&&(N=o.floating[b]||r.floating[z]);const E=y/2-_/2,T=N/2-v[z]/2-1,U=J4(d[g],T),t1=J4(d[C],T),O=U,Z=N-v[z]-t1,a1=N/2-v[z]/2+E,L=me(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 Sg(e,c,a){return(e?[...a.filter(n=>h3(n)===e),...a.filter(n=>h3(n)!==e)]:a.filter(n=>T3(n)===n)).filter(n=>e?h3(n)===e||(c?i5(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:i,placement:o,platform:l,elements:f}=c,{crossAxis:u=!1,alignment:d,allowedPlacements:h=ya,autoAlignment:m=!0,...z}=d6(e,c),v=d!==void 0||h===ya?Sg(d||null,m,h):h,M=await T5(c,z),g=((a=i.autoPlacement)==null?void 0:a.index)||0,C=v[g];if(C==null)return{};const b=ir(C,r,await(l.isRTL==null?void 0:l.isRTL(f.floating)));if(o!==C)return{reset:{placement:v[0]}};const y=[M[T3(C)],M[b[0]],M[b[1]]],_=[...((t=i.autoPlacement)==null?void 0:t.overflows)||[],{placement:C,overflows:y}],R=v[g+1];if(R)return{data:{index:g+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:g+1,overflows:_},reset:{placement:T}}:{}}}},Ng=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(c){var a,t;const{placement:n,middlewareData:r,rects:i,initialPlacement:o,platform:l,elements:f}=c,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:v=!0,...M}=d6(e,c);if((a=r.arrow)!=null&&a.alignmentOffset)return{};const g=T3(n),C=T3(o)===o,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),y=h||(C||!v?[s5(o)]:bg(o));!h&&z!=="none"&&y.push(...Lg(o,v,z,b));const _=[o,...y],R=await T5(c,M),N=[];let E=((t=r.flip)==null?void 0:t.overflows)||[];if(u&&N.push(R[g]),d){const O=ir(n,i,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 Ag(e,c){const{placement:a,platform:t,elements:n}=e,r=await(t.isRTL==null?void 0:t.isRTL(n.floating)),i=T3(a),o=h3(a),l=Q0(a)==="y",f=["left","top"].includes(i)?-1:1,u=r&&l?-1:1,d=d6(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 Pg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(c){var a,t;const{x:n,y:r,placement:i,middlewareData:o}=c,l=await Ag(c,e);return i===((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:i}}}}},Tg=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:i=!1,limiter:o={fn:M=>{let{x:g,y:C}=M;return{x:g,y:C}}},...l}=d6(e,c),f={x:a,y:t},u=await T5(c,l),d=Q0(T3(n)),h=rr(d);let m=f[h],z=f[d];if(r){const M=h==="y"?"top":"left",g=h==="y"?"bottom":"right",C=m+u[M],b=m-u[g];m=me(C,m,b)}if(i){const M=d==="y"?"top":"left",g=d==="y"?"bottom":"right",C=z+u[M],b=z-u[g];z=me(C,z,b)}const v=o.fn({...c,[h]:m,[d]:z});return{...v,data:{x:v.x-a,y:v.y-t}}}}},Dg=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:i=()=>{},...o}=d6(e,c),l=await T5(c,o),f=T3(a),u=h3(a),d=Q0(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 M=m-l.top-l.bottom,g=h-l.left-l.right,C=J4(m-l[z],M),b=J4(h-l[v],g),y=!c.middlewareData.shift;let _=C,R=b;if(d?R=u||y?J4(b,g):g:_=u||y?J4(C,M):M,y&&!u){const E=Z4(l.left,0),T=Z4(l.right,0),U=Z4(l.top,0),t1=Z4(l.bottom,0);d?R=h-2*(E!==0||T!==0?E+T:Z4(l.left,l.right)):_=m-2*(U!==0||t1!==0?U+t1:Z4(l.top,l.bottom))}await i({...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 S3(e){return J2(e).getComputedStyle(e)}const xa=Math.min,v0=Math.max,o5=Math.round;function or(e){const c=S3(e);let a=parseFloat(c.width),t=parseFloat(c.height);const n=e.offsetWidth,r=e.offsetHeight,i=o5(a)!==n||o5(t)!==r;return i&&(a=n,t=r),{width:a,height:t,fallback:i}}function A4(e){return fr(e)?(e.nodeName||"").toLowerCase():""}let M8;function lr(){if(M8)return M8;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(M8=e.brands.map(c=>c.brand+"/"+c.version).join(" "),M8):navigator.userAgent}function _3(e){return e instanceof J2(e).HTMLElement}function L4(e){return e instanceof J2(e).Element}function fr(e){return e instanceof J2(e).Node}function wa(e){return typeof ShadowRoot>"u"?!1:e instanceof J2(e).ShadowRoot||e instanceof ShadowRoot}function D5(e){const{overflow:c,overflowX:a,overflowY:t,display:n}=S3(e);return/auto|scroll|overlay|hidden|clip/.test(c+t+a)&&!["inline","contents"].includes(n)}function Bg(e){return["table","td","th"].includes(A4(e))}function pe(e){const c=/firefox/i.test(lr()),a=S3(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 ur(){return!/^((?!chrome|android).)*safari/i.test(lr())}function a9(e){return["html","body","#document"].includes(A4(e))}function dr(e){return L4(e)?e:e.contextElement}const hr={x:1,y:1};function A6(e){const c=dr(e);if(!_3(c))return hr;const a=c.getBoundingClientRect(),{width:t,height:n,fallback:r}=or(c);let i=(r?o5(a.width):a.width)/t,o=(r?o5(a.height):a.height)/n;return i&&Number.isFinite(i)||(i=1),o&&Number.isFinite(o)||(o=1),{x:i,y:o}}function _0(e,c,a,t){var n,r;c===void 0&&(c=!1),a===void 0&&(a=!1);const i=e.getBoundingClientRect(),o=dr(e);let l=hr;c&&(t?L4(t)&&(l=A6(t)):l=A6(e));const f=o?J2(o):window,u=!ur()&&a;let d=(i.left+(u&&((n=f.visualViewport)==null?void 0:n.offsetLeft)||0))/l.x,h=(i.top+(u&&((r=f.visualViewport)==null?void 0:r.offsetTop)||0))/l.y,m=i.width/l.x,z=i.height/l.y;if(o){const v=J2(o),M=t&&L4(t)?J2(t):t;let g=v.frameElement;for(;g&&t&&M!==v;){const C=A6(g),b=g.getBoundingClientRect(),y=getComputedStyle(g);b.x+=(g.clientLeft+parseFloat(y.paddingLeft))*C.x,b.y+=(g.clientTop+parseFloat(y.paddingTop))*C.y,d*=C.x,h*=C.y,m*=C.x,z*=C.y,d+=b.x,h+=b.y,g=J2(g).frameElement}}return{width:m,height:z,top:h,right:d+m,bottom:h+z,left:d,x:d,y:h}}function x4(e){return((fr(e)?e.ownerDocument:e.document)||window.document).documentElement}function B5(e){return L4(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mr(e){return _0(x4(e)).left+B5(e).scrollLeft}function N0(e){if(A4(e)==="html")return e;const c=e.assignedSlot||e.parentNode||wa(e)&&e.host||x4(e);return wa(c)?c.host:c}function pr(e){const c=N0(e);return a9(c)?c.ownerDocument.body:_3(c)&&D5(c)?c:pr(c)}function l5(e,c){var a;c===void 0&&(c=[]);const t=pr(e),n=t===((a=e.ownerDocument)==null?void 0:a.body),r=J2(t);return n?c.concat(r,r.visualViewport||[],D5(t)?t:[]):c.concat(t,l5(t))}function ka(e,c,a){return c==="viewport"?p0(function(t,n){const r=J2(t),i=x4(t),o=r.visualViewport;let l=i.clientWidth,f=i.clientHeight,u=0,d=0;if(o){l=o.width,f=o.height;const h=ur();(h||!h&&n==="fixed")&&(u=o.offsetLeft,d=o.offsetTop)}return{width:l,height:f,x:u,y:d}}(e,a)):L4(c)?p0(function(t,n){const r=_0(t,!0,n==="fixed"),i=r.top+t.clientTop,o=r.left+t.clientLeft,l=_3(t)?A6(t):{x:1,y:1};return{width:t.clientWidth*l.x,height:t.clientHeight*l.y,x:o*l.x,y:i*l.y}}(c,a)):p0(function(t){const n=x4(t),r=B5(t),i=t.ownerDocument.body,o=v0(n.scrollWidth,n.clientWidth,i.scrollWidth,i.clientWidth),l=v0(n.scrollHeight,n.clientHeight,i.scrollHeight,i.clientHeight);let f=-r.scrollLeft+mr(t);const u=-r.scrollTop;return S3(i).direction==="rtl"&&(f+=v0(n.clientWidth,i.clientWidth)-o),{width:o,height:l,x:f,y:u}}(x4(e)))}function Sa(e){return _3(e)&&S3(e).position!=="fixed"?e.offsetParent:null}function _a(e){const c=J2(e);let a=Sa(e);for(;a&&Bg(a)&&S3(a).position==="static";)a=Sa(a);return a&&(A4(a)==="html"||A4(a)==="body"&&S3(a).position==="static"&&!pe(a))?c:a||function(t){let n=N0(t);for(;_3(n)&&!a9(n);){if(pe(n))return n;n=N0(n)}return null}(e)||c}function Og(e,c,a){const t=_3(c),n=x4(c),r=_0(e,!0,a==="fixed",c);let i={scrollLeft:0,scrollTop:0};const o={x:0,y:0};if(t||!t&&a!=="fixed")if((A4(c)!=="body"||D5(n))&&(i=B5(c)),_3(c)){const l=_0(c,!0);o.x=l.x+c.clientLeft,o.y=l.y+c.clientTop}else n&&(o.x=mr(n));return{x:r.left+i.scrollLeft-o.x,y:r.top+i.scrollTop-o.y,width:r.width,height:r.height}}const Rg={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=l5(f).filter(M=>L4(M)&&A4(M)!=="body"),m=null;const z=S3(f).position==="fixed";let v=z?N0(f):f;for(;L4(v)&&!a9(v);){const M=S3(v),g=pe(v);(z?g||m:g||M.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=M:h=h.filter(C=>C!==v),v=N0(v)}return u.set(f,h),h}(c,this._c):[].concat(a),i=[...r,t],o=i[0],l=i.reduce((f,u)=>{const d=ka(c,u,n);return f.top=v0(d.top,f.top),f.right=xa(d.right,f.right),f.bottom=xa(d.bottom,f.bottom),f.left=v0(d.left,f.left),f},ka(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=_3(a),r=x4(a);if(a===r)return c;let i={scrollLeft:0,scrollTop:0},o={x:1,y:1};const l={x:0,y:0};if((n||!n&&t!=="fixed")&&((A4(a)!=="body"||D5(r))&&(i=B5(a)),_3(a))){const f=_0(a);o=A6(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-i.scrollLeft*o.x+l.x,y:c.y*o.y-i.scrollTop*o.y+l.y}},isElement:L4,getDimensions:function(e){return _3(e)?or(e):e.getBoundingClientRect()},getOffsetParent:_a,getDocumentElement:x4,getScale:A6,async getElementRects(e){let{reference:c,floating:a,strategy:t}=e;const n=this.getOffsetParent||_a,r=this.getDimensions;return{reference:Og(c,await n(a),t),floating:{x:0,y:0,...await r(a)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>S3(e).direction==="rtl"},Fg=(e,c,a)=>{const t=new Map,n={platform:Rg,...a},r={...n.platform,_c:t};return wg(e,c,{...n,platform:r})};function vr(e,c){for(const a in c)Object.prototype.hasOwnProperty.call(c,a)&&(typeof c[a]=="object"&&e[a]?vr(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 A0(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 Eg(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 Na(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 R6=!1;if(typeof window<"u"){R6=!1;try{const e=Object.defineProperty({},"passive",{get(){R6=!0}});window.addEventListener("test",null,e)}catch{}}let zr=!1;typeof window<"u"&&typeof navigator<"u"&&(zr=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const gr=["auto","top","bottom","left","right"].reduce((e,c)=>e.concat([c,`${c}-start`,`${c}-end`]),[]),Aa={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Pa={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Ta(e,c){const a=e.indexOf(c);a!==-1&&e.splice(a,1)}function N7(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const i3=[];let q4=null;const Da={};function Ba(e){let c=Da[e];return c||(c=Da[e]=[]),c}let ve=function(){};typeof window<"u"&&(ve=window.Element);function R1(e){return function(c){return A0(c.theme,e)}}const A7="__floating-vue__popper",Mr=()=>s.defineComponent({name:"VPopper",provide(){return{[A7]:{parentPopper:this}}},inject:{[A7]:{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=>gr.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,ve,Boolean],default:R1("container")},boundary:{type:[String,ve],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[A7])==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(Pg({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(Tg({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!c&&this.flip&&e.middleware.push(Ng({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(kg({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:t,rects:n,middlewareData:r})=>{let i;const{centerOffset:o}=r.arrow;return t.startsWith("top")||t.startsWith("bottom")?i=Math.abs(o)>n.reference.width/2:i=Math.abs(o)>n.reference.height/2,{data:{overflow:i}}}}),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:i})=>{var o;if((o=i.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(Dg({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 Fg(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),q4&&this.instantMove&&q4.instantMove&&q4!==this.parentPopper){q4.$_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&&(q4=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 N7(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...l5(this.$_referenceNode),...l5(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 Na(this.theme))Ba(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 N7(),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,Ta(i3,this),i3.length===0&&document.body.classList.remove("v-popper--some-open");for(const a of Na(this.theme)){const t=Ba(a);Ta(t,this),t.length===0&&document.body.classList.remove(`v-popper--some-open--${a}`)}q4===this&&(q4=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 N7(),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,Aa,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Aa,this.popperTriggers,this.popperShowTriggers,e);const c=a=>{a.usedByTooltip||this.hide({event:a})};this.$_registerTriggerListeners(this.$_targetNodes,Pa,this.triggers,this.hideTriggers,c),this.$_registerTriggerListeners([this.$_popperNode],Pa,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,R6?{passive:!0}:void 0))},$_registerTriggerListeners(e,c,a,t,n){let r=a;t!=null&&(r=typeof t=="function"?t(r):t),r.forEach(i=>{const o=c[i];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(i=>i.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(z0>=e.left&&z0<=e.right&&g0>=e.top&&g0<=e.bottom){const c=this.$_popperNode.getBoundingClientRect(),a=z0-p4,t=g0-v4,n=c.left+c.width/2-p4+(c.top+c.height/2)-v4+c.width+c.height,r=p4+a*n,i=v4+t*n;return H8(p4,v4,r,i,c.left,c.top,c.left,c.bottom)||H8(p4,v4,r,i,c.left,c.top,c.right,c.top)||H8(p4,v4,r,i,c.right,c.top,c.right,c.bottom)||H8(p4,v4,r,i,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(zr){const e=R6?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",c=>Oa(c,!0),e),document.addEventListener("touchend",c=>Ra(c,!0),e)}else window.addEventListener("mousedown",e=>Oa(e,!1),!0),window.addEventListener("click",e=>Ra(e,!1),!0);window.addEventListener("resize",Ig)}function Oa(e,c){if(m3.autoHideOnMousedown)Hr(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 Ra(e,c){m3.autoHideOnMousedown||Hr(e,c)}function Hr(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]&&Fa(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 i=n.parentPopper;for(;i&&Fa(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,c),i=i.parentPopper}})}catch{}}}function Fa(e,c,a){return a.closeAllPopover||a.closePopover&&c||$g(e,a)&&!c}function $g(e,c){if(typeof e.autoHide=="function"){const a=e.autoHide(c);return e.lastAutoHide=a,a}return e.autoHide}function Ig(){for(let e=0;e<i3.length;e++)i3[e].$_computePosition()}let p4=0,v4=0,z0=0,g0=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{p4=z0,v4=g0,z0=e.clientX,g0=e.clientY},R6?{passive:!0}:void 0);function H8(e,c,a,t,n,r,i,o){const l=((i-n)*(c-r)-(o-r)*(e-n))/((o-r)*(a-e)-(i-n)*(t-c)),f=((a-e)*(c-r)-(t-c)*(e-n))/((o-r)*(a-e)-(i-n)*(t-c));return l>=0&&l<=1&&f>=0&&f<=1}const qg={extends:Mr()},O5=(e,c)=>{const a=e.__vccOpts||e;for(const[t,n]of c)a[t]=n;return a};function Yg(e,c,a,t,n,r){return s.openBlock(),s.createElementBlock("div",{ref:"reference",class:s.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[s.renderSlot(e.$slots,"default",s.normalizeProps(s.guardReactiveProps(e.slotData)))],2)}const Wg=O5(qg,[["render",Yg]]);function Ug(){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 G8;function ze(){ze.init||(ze.init=!0,G8=Ug()!==-1)}var R5={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ze(),s.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",G8&&this.$el.appendChild(e),e.data="about:blank",G8||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&&(!G8&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const jg=s.withScopeId("data-v-b329ee4c");s.pushScopeId("data-v-b329ee4c");const Gg={class:"resize-observer",tabindex:"-1"};s.popScopeId();const Zg=jg((e,c,a,t,n,r)=>(s.openBlock(),s.createBlock("div",Gg)));R5.render=Zg;R5.__scopeId="data-v-b329ee4c";R5.__file="src/components/ResizeObserver.vue";const Cr=(e="theme")=>({computed:{themeClass(){return Eg(this[e])}}}),Xg=s.defineComponent({name:"VPopperContent",components:{ResizeObserver:R5},mixins:[Cr()],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}}}),Kg=["id","aria-hidden","tabindex","data-popper-placement"],Qg={ref:"inner",class:"v-popper__inner"},Jg=s.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),eM=s.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),cM=[Jg,eM];function aM(e,c,a,t,n,r){const i=s.resolveComponent("ResizeObserver");return s.openBlock(),s.createElementBlock("div",{id:e.popperId,ref:"popover",class:s.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:s.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]=s.withKeys(o=>e.autoHide&&e.$emit("hide"),["esc"]))},[s.createElementVNode("div",{class:"v-popper__backdrop",onClick:c[0]||(c[0]=o=>e.autoHide&&e.$emit("hide"))}),s.createElementVNode("div",{class:"v-popper__wrapper",style:s.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[s.createElementVNode("div",Qg,[e.mounted?(s.openBlock(),s.createElementBlock(s.Fragment,{key:0},[s.createElementVNode("div",null,[s.renderSlot(e.$slots,"default")]),e.handleResize?(s.openBlock(),s.createBlock(i,{key:0,onNotify:c[1]||(c[1]=o=>e.$emit("resize",o))})):s.createCommentVNode("",!0)],64)):s.createCommentVNode("",!0)],512),s.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:s.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},cM,4)],4)],46,Kg)}const Vr=O5(Xg,[["render",aM]]),br={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 ge=function(){};typeof window<"u"&&(ge=window.Element);const tM=s.defineComponent({name:"VPopperWrapper",components:{Popper:Wg,PopperContent:Vr},mixins:[br,Cr("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,ge,Boolean],default:void 0},boundary:{type:[String,ge],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 nM(e,c,a,t,n,r){const i=s.resolveComponent("PopperContent"),o=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(o,s.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:s.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,show:m,hide:z,handleResize:v,onResize:M,classes:g,result:C})=>[s.renderSlot(e.$slots,"default",{shown:f,show:m,hide:z}),s.createVNode(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:f,mounted:u,"skip-transition":d,"auto-hide":h,"handle-resize":v,classes:g,result:C,onHide:z,onResize:M},{default:s.withCtx(()=>[s.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 t9=O5(tM,[["render",nM]]),rM={...t9,name:"VDropdown",vPopperTheme:"dropdown"},iM={...t9,name:"VMenu",vPopperTheme:"menu"},sM={...t9,name:"VTooltip",vPopperTheme:"tooltip"},oM=s.defineComponent({name:"VTooltipDirective",components:{Popper:Mr(),PopperContent:Vr},mixins:[br],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>A0(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>A0(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}}}),lM=["innerHTML"],fM=["textContent"];function uM(e,c,a,t,n,r){const i=s.resolveComponent("PopperContent"),o=s.resolveComponent("Popper");return s.openBlock(),s.createBlock(o,s.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:s.withCtx(({popperId:l,isShown:f,shouldMountContent:u,skipTransition:d,autoHide:h,hide:m,handleResize:z,onResize:v,classes:M,result:g})=>[s.createVNode(i,{ref:"popperContent",class:s.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:M,result:g,onHide:m,onResize:v},{default:s.withCtx(()=>[e.html?(s.openBlock(),s.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,lM)):(s.openBlock(),s.createElementBlock("div",{key:1,textContent:s.toDisplayString(e.finalContent)},null,8,fM))]),_: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 dM=O5(oM,[["render",uM]]),yr="v-popper--has-tooltip";function hM(e,c){let a=e.placement;if(!a&&c)for(const t of gr)c[t]&&(a=t);return a||(a=A0(e.theme||"tooltip","placement")),a}function Lr(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=hM(t,a),t.targetNodes=()=>[e],t.referenceNode=()=>e,t}let P7,P0,mM=0;function pM(){if(P7)return;P0=s.ref([]),P7=s.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:P0}},render(){return this.directives.map(c=>s.h(dM,{...c.options,shown:c.shown||c.options.shown,key:c.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),P7.mount(e)}function vM(e,c,a){pM();const t=s.ref(Lr(e,c,a)),n=s.ref(!1),r={id:mM++,options:t,shown:n};return P0.value.push(r),e.classList&&e.classList.add(yr),e.$_popper={options:t,item:r,show(){n.value=!0},hide(){n.value=!1}}}function xr(e){if(e.$_popper){const c=P0.value.indexOf(e.$_popper.item);c!==-1&&P0.value.splice(c,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(yr)}function Ea(e,{value:c,modifiers:a}){const t=Lr(e,c,a);if(!t.content||A0(t.theme||"tooltip","disabled"))xr(e);else{let n;e.$_popper?(n=e.$_popper,n.options.value=t):n=vM(e,c,a),typeof c.shown<"u"&&c.shown!==e.$_popperOldShown&&(e.$_popperOldShown=c.shown,c.shown?n.show():n.hide())}}const zM={beforeMount:Ea,updated:Ea,beforeUnmount(e){xr(e)}};function $a(e){e.addEventListener("mousedown",f5),e.addEventListener("click",f5),e.addEventListener("touchstart",wr,R6?{passive:!0}:!1)}function Ia(e){e.removeEventListener("mousedown",f5),e.removeEventListener("click",f5),e.removeEventListener("touchstart",wr),e.removeEventListener("touchend",kr),e.removeEventListener("touchcancel",Sr)}function f5(e){const c=e.currentTarget;e.closePopover=!c.$_vclosepopover_touch,e.closeAllPopover=c.$_closePopoverModifiers&&!!c.$_closePopoverModifiers.all}function wr(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",kr),c.addEventListener("touchcancel",Sr)}}function kr(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 Sr(e){const c=e.currentTarget;c.$_vclosepopover_touch=!1}const gM={beforeMount(e,{value:c,modifiers:a}){e.$_closePopoverModifiers=a,(typeof c>"u"||c)&&$a(e)},updated(e,{value:c,oldValue:a,modifiers:t}){e.$_closePopoverModifiers=t,c!==a&&(typeof c>"u"||c?$a(e):Ia(e))},beforeUnmount(e){Ia(e)}};function MM(e,c={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,vr(m3,c),e.directive("tooltip",zM),e.directive("close-popper",gM),e.component("VTooltip",sM),e.component("VDropdown",rM),e.component("VMenu",iM))}const HM={version:"5.2.2",install:MM,options:m3},n9=K0.defineStore("pga-options",()=>{const e=s.ref(tr),c=s.computed(()=>e.value.button),a=s.computed(()=>e.value.form);return{options:e,buttonOptions:c,formOptions:a}});function T7(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 CM(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 D7(e,c){const a="--pga-color-";qa(`${a}${r5.camelToSnakeCase(e)}`,c),qa(`${a}${r5.camelToSnakeCase(e)}-rgb`,CM(c))}const _r=K0.defineStore("pga-theme",()=>({theme:s.ref("light")}),{persist:!0});function Me(){return _r().theme}function VM(e){_r().theme=e}const Nr=K0.defineStore("pga-colors",()=>{const e=s.ref(ar);return s.watch([e,()=>Me()],()=>{const c=e.value;for(const a in c){const t=c[a];if(T7(t)==="theme"&&D7(a,t[Me()]),T7(t)==="prop")for(const n in t)D7(n==="contrast"?`${a}Contrast`:a,t[n]);T7(t)==="informative"&&D7(a,t)}}),{colors:e}});function bM(e,c){Nr().colors[e]=c}function Ar(e){Nr().colors=e}function Ya(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?Ya(Object(a),!0).forEach(function(t){y2(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ya(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}function u5(e){"@babel/helpers - typeof";return u5=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},u5(e)}function yM(e,c){if(!(e instanceof c))throw new TypeError("Cannot call a class as a function")}function Wa(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 LM(e,c,a){return c&&Wa(e.prototype,c),a&&Wa(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 r9(e,c){return wM(e)||SM(e,c)||Pr(e,c)||NM()}function J0(e){return xM(e)||kM(e)||Pr(e)||_M()}function xM(e){if(Array.isArray(e))return He(e)}function wM(e){if(Array.isArray(e))return e}function kM(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function SM(e,c){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var t=[],n=!0,r=!1,i,o;try{for(a=a.call(e);!(n=(i=a.next()).done)&&(t.push(i.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 Pr(e,c){if(e){if(typeof e=="string")return He(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 He(e,c)}}function He(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 NM(){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 Ua=function(){},i9={},Tr={},Dr=null,Br={mark:Ua,measure:Ua};try{typeof window<"u"&&(i9=window),typeof document<"u"&&(Tr=document),typeof MutationObserver<"u"&&(Dr=MutationObserver),typeof performance<"u"&&(Br=performance)}catch{}var AM=i9.navigator||{},ja=AM.userAgent,Ga=ja===void 0?"":ja,P4=i9,e2=Tr,Za=Dr,C8=Br;P4.document;var t4=!!e2.documentElement&&!!e2.head&&typeof e2.addEventListener=="function"&&typeof e2.createElement=="function",Or=~Ga.indexOf("MSIE")||~Ga.indexOf("Trident/"),V8,b8,y8,L8,x8,Q3="___FONT_AWESOME___",Ce=16,Rr="fa",Fr="svg-inline--fa",o6="data-fa-i2svg",Ve="data-fa-pseudo-element",PM="data-fa-pseudo-element-pending",s9="data-prefix",o9="data-icon",Xa="fontawesome-i2svg",TM="async",DM=["HTML","HEAD","STYLE","SCRIPT"],Er=function(){try{return process.env.NODE_ENV==="production"}catch{return!1}}(),J1="classic",u2="sharp",l9=[J1,u2];function e8(e){return new Proxy(e,{get:function(a,t){return t in a?a[t]:a[J1]}})}var T0=e8((V8={},y2(V8,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(V8,u2,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),V8)),D0=e8((b8={},y2(b8,J1,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),y2(b8,u2,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),b8)),B0=e8((y8={},y2(y8,J1,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),y2(y8,u2,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),y8)),BM=e8((L8={},y2(L8,J1,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),y2(L8,u2,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),L8)),OM=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,$r="fa-layers-text",RM=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,FM=e8((x8={},y2(x8,J1,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),y2(x8,u2,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),x8)),Ir=[1,2,3,4,5,6,7,8,9,10],EM=Ir.concat([11,12,13,14,15,16,17,18,19,20]),$M=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],e6={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},O0=new Set;Object.keys(D0[J1]).map(O0.add.bind(O0));Object.keys(D0[u2]).map(O0.add.bind(O0));var IM=[].concat(l9,J0(O0),["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",e6.GROUP,e6.SWAP_OPACITY,e6.PRIMARY,e6.SECONDARY]).concat(Ir.map(function(e){return"".concat(e,"x")})).concat(EM.map(function(e){return"w-".concat(e)})),M0=P4.FontAwesomeConfig||{};function qM(e){var c=e2.querySelector("script["+e+"]");if(c)return c.getAttribute(e)}function YM(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}if(e2&&typeof e2.querySelector=="function"){var WM=[["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"]];WM.forEach(function(e){var c=r9(e,2),a=c[0],t=c[1],n=YM(qM(a));n!=null&&(M0[t]=n)})}var qr={styleDefault:"solid",familyDefault:"classic",cssPrefix:Rr,replacementClass:Fr,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};M0.familyPrefix&&(M0.cssPrefix=M0.familyPrefix);var F6=z1(z1({},qr),M0);F6.autoReplaceSvg||(F6.observeMutations=!1);var C1={};Object.keys(qr).forEach(function(e){Object.defineProperty(C1,e,{enumerable:!0,set:function(a){F6[e]=a,H0.forEach(function(t){return t(C1)})},get:function(){return F6[e]}})});Object.defineProperty(C1,"familyPrefix",{enumerable:!0,set:function(c){F6.cssPrefix=c,H0.forEach(function(a){return a(C1)})},get:function(){return F6.cssPrefix}});P4.FontAwesomeConfig=C1;var H0=[];function UM(e){return H0.push(e),function(){H0.splice(H0.indexOf(e),1)}}var u4=Ce,w3={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function jM(e){if(!(!e||!t4)){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],i=(r.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(i)>-1&&(t=r)}return e2.head.insertBefore(c,t),e}}var GM="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function R0(){for(var e=12,c="";e-- >0;)c+=GM[Math.random()*62|0];return c}function G6(e){for(var c=[],a=(e||[]).length>>>0;a--;)c[a]=e[a];return c}function f9(e){return e.classList?G6(e.classList):(e.getAttribute("class")||"").split(" ").filter(function(c){return c})}function Yr(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ZM(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,'="').concat(Yr(e[a]),'" ')},"").trim()}function F5(e){return Object.keys(e||{}).reduce(function(c,a){return c+"".concat(a,": ").concat(e[a].trim(),";")},"")}function u9(e){return e.size!==w3.size||e.x!==w3.x||e.y!==w3.y||e.rotate!==w3.rotate||e.flipX||e.flipY}function XM(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,") "),i="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(i," ").concat(o)},f={transform:"translate(".concat(t/2*-1," -256)")};return{outer:n,inner:l,path:f}}function KM(e){var c=e.transform,a=e.width,t=a===void 0?Ce:a,n=e.height,r=n===void 0?Ce:n,i=e.startCentered,o=i===void 0?!1:i,l="";return o&&Or?l+="translate(".concat(c.x/u4-t/2,"em, ").concat(c.y/u4-r/2,"em) "):o?l+="translate(calc(-50% + ".concat(c.x/u4,"em), calc(-50% + ").concat(c.y/u4,"em)) "):l+="translate(".concat(c.x/u4,"em, ").concat(c.y/u4,"em) "),l+="scale(".concat(c.size/u4*(c.flipX?-1:1),", ").concat(c.size/u4*(c.flipY?-1:1),") "),l+="rotate(".concat(c.rotate,"deg) "),l}var QM=`:root, :host {
|
|
9
9
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
|
package/dist/main.es.js
CHANGED
|
@@ -1085,7 +1085,7 @@ const dM = {
|
|
|
1085
1085
|
color: "var(--pga-color-text-first)",
|
|
1086
1086
|
backgroundColor: "var(--pga-color-background-first)",
|
|
1087
1087
|
backgroundColorDisabled: "var(--pga-color-background-second)",
|
|
1088
|
-
borderColor: "
|
|
1088
|
+
borderColor: "rgba(var(--pga-color-text-first-rgb), 0.2)",
|
|
1089
1089
|
borderColorFocus: "var(--pga-color-primary)",
|
|
1090
1090
|
borderRadius: "0.25em"
|
|
1091
1091
|
}
|