@sfgrp/distinguish 0.0.2 → 0.0.3
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/README.md +3 -30
- package/dist/distinguish.es.js +5663 -103
- package/dist/distinguish.umd.js +24 -20
- package/package.json +1 -1
package/dist/distinguish.umd.js
CHANGED
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
(function(u,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],e):(u=typeof globalThis!="undefined"?globalThis:u||self,e(u.InteractiveKey={},u.Vue,u.pinia))})(this,function(u,e,y){"use strict";var Io=Object.defineProperty,To=Object.defineProperties;var Lo=Object.getOwnPropertyDescriptors;var at=Object.getOwnPropertySymbols;var Oo=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable;var st=(u,e,y)=>e in u?Io(u,e,{enumerable:!0,configurable:!0,writable:!0,value:y}):u[e]=y,B=(u,e)=>{for(var y in e||(e={}))Oo.call(e,y)&&st(u,y,e[y]);if(at)for(var y of at(e))Uo.call(e,y)&&st(u,y,e[y]);return u},R=(u,e)=>To(u,Lo(e));const xe=e.reactive({baseURL:"",projectId:void 0,projectToken:void 0,userToken:void 0}),we=()=>{const t=r=>{Object.assign(xe,r)};return R(B({},e.toRefs(xe)),{updatePreferences:t})};var ne={exports:{}},Ee=function(r,n){return function(){for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];return r.apply(n,i)}},lt=Ee,oe=Object.prototype.toString,ie=function(t){return function(r){var n=oe.call(r);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function $(t){return t=t.toLowerCase(),function(n){return ie(n)===t}}function ae(t){return Array.isArray(t)}function K(t){return typeof t=="undefined"}function ct(t){return t!==null&&!K(t)&&t.constructor!==null&&!K(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var Ce=$("ArrayBuffer");function dt(t){var r;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&Ce(t.buffer),r}function pt(t){return typeof t=="string"}function ft(t){return typeof t=="number"}function Be(t){return t!==null&&typeof t=="object"}function H(t){if(ie(t)!=="object")return!1;var r=Object.getPrototypeOf(t);return r===null||r===Object.prototype}var ut=$("Date"),mt=$("File"),ht=$("Blob"),_t=$("FileList");function se(t){return oe.call(t)==="[object Function]"}function gt(t){return Be(t)&&se(t.pipe)}function yt(t){var r="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||oe.call(t)===r||se(t.toString)&&t.toString()===r)}var bt=$("URLSearchParams");function kt(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function xt(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function le(t,r){if(!(t===null||typeof t=="undefined"))if(typeof t!="object"&&(t=[t]),ae(t))for(var n=0,o=t.length;n<o;n++)r.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&r.call(null,t[i],i,t)}function ce(){var t={};function r(i,a){H(t[a])&&H(i)?t[a]=ce(t[a],i):H(i)?t[a]=ce({},i):ae(i)?t[a]=i.slice():t[a]=i}for(var n=0,o=arguments.length;n<o;n++)le(arguments[n],r);return t}function wt(t,r,n){return le(r,function(i,a){n&&typeof i=="function"?t[a]=lt(i,n):t[a]=i}),t}function Et(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}function Ct(t,r,n,o){t.prototype=Object.create(r.prototype,o),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)}function Bt(t,r,n){var o,i,a,s={};r=r||{};do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)a=o[i],s[a]||(r[a]=t[a],s[a]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r}function St(t,r,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=r.length;var o=t.indexOf(r,n);return o!==-1&&o===n}function Nt(t){if(!t)return null;var r=t.length;if(K(r))return null;for(var n=new Array(r);r-- >0;)n[r]=t[r];return n}var $t=function(t){return function(r){return t&&r instanceof t}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),h={isArray:ae,isArrayBuffer:Ce,isBuffer:ct,isFormData:yt,isArrayBufferView:dt,isString:pt,isNumber:ft,isObject:Be,isPlainObject:H,isUndefined:K,isDate:ut,isFile:mt,isBlob:ht,isFunction:se,isStream:gt,isURLSearchParams:bt,isStandardBrowserEnv:xt,forEach:le,merge:ce,extend:wt,trim:kt,stripBOM:Et,inherits:Ct,toFlatObject:Bt,kindOf:ie,kindOfTest:$,endsWith:St,toArray:Nt,isTypedArray:$t,isFileList:_t},I=h;function Se(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Ne=function(r,n,o){if(!n)return r;var i;if(o)i=o(n);else if(I.isURLSearchParams(n))i=n.toString();else{var a=[];I.forEach(n,function(d,p){d===null||typeof d=="undefined"||(I.isArray(d)?p=p+"[]":d=[d],I.forEach(d,function(f){I.isDate(f)?f=f.toISOString():I.isObject(f)&&(f=JSON.stringify(f)),a.push(Se(p)+"="+Se(f))}))}),i=a.join("&")}if(i){var s=r.indexOf("#");s!==-1&&(r=r.slice(0,s)),r+=(r.indexOf("?")===-1?"?":"&")+i}return r},Vt=h;function J(){this.handlers=[]}J.prototype.use=function(r,n,o){return this.handlers.push({fulfilled:r,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1},J.prototype.eject=function(r){this.handlers[r]&&(this.handlers[r]=null)},J.prototype.forEach=function(r){Vt.forEach(this.handlers,function(o){o!==null&&r(o)})};var Dt=J,Rt=h,It=function(r,n){Rt.forEach(r,function(i,a){a!==n&&a.toUpperCase()===n.toUpperCase()&&(r[n]=i,delete r[a])})},$e=h;function T(t,r,n,o,i){Error.call(this),this.message=t,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i)}$e.inherits(T,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Ve=T.prototype,De={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(t){De[t]={value:t}}),Object.defineProperties(T,De),Object.defineProperty(Ve,"isAxiosError",{value:!0}),T.from=function(t,r,n,o,i,a){var s=Object.create(Ve);return $e.toFlatObject(t,s,function(d){return d!==Error.prototype}),T.call(s,t.message,r,n,o,i),s.name=t.name,a&&Object.assign(s,a),s};var L=T,Re={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},w=h;function Tt(t,r){r=r||new FormData;var n=[];function o(a){return a===null?"":w.isDate(a)?a.toISOString():w.isArrayBuffer(a)||w.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function i(a,s){if(w.isPlainObject(a)||w.isArray(a)){if(n.indexOf(a)!==-1)throw Error("Circular reference detected in "+s);n.push(a),w.forEach(a,function(d,p){if(!w.isUndefined(d)){var c=s?s+"."+p:p,f;if(d&&!s&&typeof d=="object"){if(w.endsWith(p,"{}"))d=JSON.stringify(d);else if(w.endsWith(p,"[]")&&(f=w.toArray(d))){f.forEach(function(b){!w.isUndefined(b)&&r.append(c,o(b))});return}}i(d,c)}}),n.pop()}else r.append(s,o(a))}return i(t),r}var Ie=Tt,de=L,Lt=function(r,n,o){var i=o.config.validateStatus;!o.status||!i||i(o.status)?r(o):n(new de("Request failed with status code "+o.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))},W=h,Ot=W.isStandardBrowserEnv()?function(){return{write:function(n,o,i,a,s,l){var d=[];d.push(n+"="+encodeURIComponent(o)),W.isNumber(i)&&d.push("expires="+new Date(i).toGMTString()),W.isString(a)&&d.push("path="+a),W.isString(s)&&d.push("domain="+s),l===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(n){var o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ut=function(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)},At=function(r,n){return n?r.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):r},Mt=Ut,Pt=At,Te=function(r,n){return r&&!Mt(n)?Pt(r,n):n},pe=h,jt=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Ft=function(r){var n={},o,i,a;return r&&pe.forEach(r.split(`
|
|
2
|
-
`),function(l){if(a=l.indexOf(":"),o=pe.trim(l.substr(0,a)).toLowerCase(),i=pe.trim(l.substr(a+1)),o){if(n[o]&&jt.indexOf(o)>=0)return;o==="set-cookie"?n[o]=(n[o]?n[o]:[]).concat([i]):n[o]=n[o]?n[o]+", "+i:i}}),n},Le=h,vt=Le.isStandardBrowserEnv()?function(){var r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),o;function i(a){var s=a;return r&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=i(window.location.href),function(s){var l=Le.isString(s)?i(s):s;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),fe=L,zt=h;function Oe(t){fe.call(this,t==null?"canceled":t,fe.ERR_CANCELED),this.name="CanceledError"}zt.inherits(Oe,fe,{__CANCEL__:!0});var Q=Oe,qt=function(r){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return n&&n[1]||""},P=h,Kt=Lt,Ht=Ot,Jt=Ne,Wt=Te,Qt=Ft,Gt=vt,Xt=Re,S=L,Yt=Q,Zt=qt,Ue=function(r){return new Promise(function(o,i){var a=r.data,s=r.headers,l=r.responseType,d;function p(){r.cancelToken&&r.cancelToken.unsubscribe(d),r.signal&&r.signal.removeEventListener("abort",d)}P.isFormData(a)&&P.isStandardBrowserEnv()&&delete s["Content-Type"];var c=new XMLHttpRequest;if(r.auth){var f=r.auth.username||"",b=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+b)}var _=Wt(r.baseURL,r.url);c.open(r.method.toUpperCase(),Jt(_,r.params,r.paramsSerializer),!0),c.timeout=r.timeout;function te(){if(!!c){var E="getAllResponseHeaders"in c?Qt(c.getAllResponseHeaders()):null,M=!l||l==="text"||l==="json"?c.responseText:c.response,D={data:M,status:c.status,statusText:c.statusText,headers:E,config:r,request:c};Kt(function(ke){o(ke),p()},function(ke){i(ke),p()},D),c=null}}if("onloadend"in c?c.onloadend=te:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(te)},c.onabort=function(){!c||(i(new S("Request aborted",S.ECONNABORTED,r,c)),c=null)},c.onerror=function(){i(new S("Network Error",S.ERR_NETWORK,r,c,c)),c=null},c.ontimeout=function(){var M=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",D=r.transitional||Xt;r.timeoutErrorMessage&&(M=r.timeoutErrorMessage),i(new S(M,D.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,r,c)),c=null},P.isStandardBrowserEnv()){var re=(r.withCredentials||Gt(_))&&r.xsrfCookieName?Ht.read(r.xsrfCookieName):void 0;re&&(s[r.xsrfHeaderName]=re)}"setRequestHeader"in c&&P.forEach(s,function(M,D){typeof a=="undefined"&&D.toLowerCase()==="content-type"?delete s[D]:c.setRequestHeader(D,M)}),P.isUndefined(r.withCredentials)||(c.withCredentials=!!r.withCredentials),l&&l!=="json"&&(c.responseType=r.responseType),typeof r.onDownloadProgress=="function"&&c.addEventListener("progress",r.onDownloadProgress),typeof r.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",r.onUploadProgress),(r.cancelToken||r.signal)&&(d=function(E){!c||(i(!E||E&&E.type?new Yt:E),c.abort(),c=null)},r.cancelToken&&r.cancelToken.subscribe(d),r.signal&&(r.signal.aborted?d():r.signal.addEventListener("abort",d))),a||(a=null);var be=Zt(_);if(be&&["http","https","file"].indexOf(be)===-1){i(new S("Unsupported protocol "+be+":",S.ERR_BAD_REQUEST,r));return}c.send(a)})},er=null,m=h,Ae=It,Me=L,tr=Re,rr=Ie,nr={"Content-Type":"application/x-www-form-urlencoded"};function Pe(t,r){!m.isUndefined(t)&&m.isUndefined(t["Content-Type"])&&(t["Content-Type"]=r)}function or(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=Ue),t}function ir(t,r,n){if(m.isString(t))try{return(r||JSON.parse)(t),m.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(t)}var G={transitional:tr,adapter:or(),transformRequest:[function(r,n){if(Ae(n,"Accept"),Ae(n,"Content-Type"),m.isFormData(r)||m.isArrayBuffer(r)||m.isBuffer(r)||m.isStream(r)||m.isFile(r)||m.isBlob(r))return r;if(m.isArrayBufferView(r))return r.buffer;if(m.isURLSearchParams(r))return Pe(n,"application/x-www-form-urlencoded;charset=utf-8"),r.toString();var o=m.isObject(r),i=n&&n["Content-Type"],a;if((a=m.isFileList(r))||o&&i==="multipart/form-data"){var s=this.env&&this.env.FormData;return rr(a?{"files[]":r}:r,s&&new s)}else if(o||i==="application/json")return Pe(n,"application/json"),ir(r);return r}],transformResponse:[function(r){var n=this.transitional||G.transitional,o=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,a=!o&&this.responseType==="json";if(a||i&&m.isString(r)&&r.length)try{return JSON.parse(r)}catch(s){if(a)throw s.name==="SyntaxError"?Me.from(s,Me.ERR_BAD_RESPONSE,this,null,this.response):s}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:er},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};m.forEach(["delete","get","head"],function(r){G.headers[r]={}}),m.forEach(["post","put","patch"],function(r){G.headers[r]=m.merge(nr)});var ue=G,ar=h,sr=ue,lr=function(r,n,o){var i=this||sr;return ar.forEach(o,function(s){r=s.call(i,r,n)}),r},je=function(r){return!!(r&&r.__CANCEL__)},Fe=h,me=lr,cr=je,dr=ue,pr=Q;function he(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new pr}var fr=function(r){he(r),r.headers=r.headers||{},r.data=me.call(r,r.data,r.headers,r.transformRequest),r.headers=Fe.merge(r.headers.common||{},r.headers[r.method]||{},r.headers),Fe.forEach(["delete","get","head","post","put","patch","common"],function(i){delete r.headers[i]});var n=r.adapter||dr.adapter;return n(r).then(function(i){return he(r),i.data=me.call(r,i.data,i.headers,r.transformResponse),i},function(i){return cr(i)||(he(r),i&&i.response&&(i.response.data=me.call(r,i.response.data,i.response.headers,r.transformResponse))),Promise.reject(i)})},x=h,ve=function(r,n){n=n||{};var o={};function i(c,f){return x.isPlainObject(c)&&x.isPlainObject(f)?x.merge(c,f):x.isPlainObject(f)?x.merge({},f):x.isArray(f)?f.slice():f}function a(c){if(x.isUndefined(n[c])){if(!x.isUndefined(r[c]))return i(void 0,r[c])}else return i(r[c],n[c])}function s(c){if(!x.isUndefined(n[c]))return i(void 0,n[c])}function l(c){if(x.isUndefined(n[c])){if(!x.isUndefined(r[c]))return i(void 0,r[c])}else return i(void 0,n[c])}function d(c){if(c in n)return i(r[c],n[c]);if(c in r)return i(void 0,r[c])}var p={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:d};return x.forEach(Object.keys(r).concat(Object.keys(n)),function(f){var b=p[f]||a,_=b(f);x.isUndefined(_)&&b!==d||(o[f]=_)}),o},ze={version:"0.27.2"},ur=ze.version,N=L,_e={};["object","boolean","number","function","string","symbol"].forEach(function(t,r){_e[t]=function(o){return typeof o===t||"a"+(r<1?"n ":" ")+t}});var qe={};_e.transitional=function(r,n,o){function i(a,s){return"[Axios v"+ur+"] Transitional option '"+a+"'"+s+(o?". "+o:"")}return function(a,s,l){if(r===!1)throw new N(i(s," has been removed"+(n?" in "+n:"")),N.ERR_DEPRECATED);return n&&!qe[s]&&(qe[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),r?r(a,s,l):!0}};function mr(t,r,n){if(typeof t!="object")throw new N("options must be an object",N.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(t),i=o.length;i-- >0;){var a=o[i],s=r[a];if(s){var l=t[a],d=l===void 0||s(l,a,t);if(d!==!0)throw new N("option "+a+" must be "+d,N.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new N("Unknown option "+a,N.ERR_BAD_OPTION)}}var hr={assertOptions:mr,validators:_e},Ke=h,_r=Ne,He=Dt,Je=fr,X=ve,gr=Te,We=hr,O=We.validators;function U(t){this.defaults=t,this.interceptors={request:new He,response:new He}}U.prototype.request=function(r,n){typeof r=="string"?(n=n||{},n.url=r):n=r||{},n=X(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var o=n.transitional;o!==void 0&&We.assertOptions(o,{silentJSONParsing:O.transitional(O.boolean),forcedJSONParsing:O.transitional(O.boolean),clarifyTimeoutError:O.transitional(O.boolean)},!1);var i=[],a=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(a=a&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});var s=[];this.interceptors.response.forEach(function(_){s.push(_.fulfilled,_.rejected)});var l;if(!a){var d=[Je,void 0];for(Array.prototype.unshift.apply(d,i),d=d.concat(s),l=Promise.resolve(n);d.length;)l=l.then(d.shift(),d.shift());return l}for(var p=n;i.length;){var c=i.shift(),f=i.shift();try{p=c(p)}catch(b){f(b);break}}try{l=Je(p)}catch(b){return Promise.reject(b)}for(;s.length;)l=l.then(s.shift(),s.shift());return l},U.prototype.getUri=function(r){r=X(this.defaults,r);var n=gr(r.baseURL,r.url);return _r(n,r.params,r.paramsSerializer)},Ke.forEach(["delete","get","head","options"],function(r){U.prototype[r]=function(n,o){return this.request(X(o||{},{method:r,url:n,data:(o||{}).data}))}}),Ke.forEach(["post","put","patch"],function(r){function n(o){return function(a,s,l){return this.request(X(l||{},{method:r,headers:o?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}U.prototype[r]=n(),U.prototype[r+"Form"]=n(!0)});var yr=U,br=Q;function A(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(i){r=i});var n=this;this.promise.then(function(o){if(!!n._listeners){var i,a=n._listeners.length;for(i=0;i<a;i++)n._listeners[i](o);n._listeners=null}}),this.promise.then=function(o){var i,a=new Promise(function(s){n.subscribe(s),i=s}).then(o);return a.cancel=function(){n.unsubscribe(i)},a},t(function(i){n.reason||(n.reason=new br(i),r(n.reason))})}A.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},A.prototype.subscribe=function(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]},A.prototype.unsubscribe=function(r){if(!!this._listeners){var n=this._listeners.indexOf(r);n!==-1&&this._listeners.splice(n,1)}},A.source=function(){var r,n=new A(function(i){r=i});return{token:n,cancel:r}};var kr=A,xr=function(r){return function(o){return r.apply(null,o)}},wr=h,Er=function(r){return wr.isObject(r)&&r.isAxiosError===!0},Qe=h,Cr=Ee,Y=yr,Br=ve,Sr=ue;function Ge(t){var r=new Y(t),n=Cr(Y.prototype.request,r);return Qe.extend(n,Y.prototype,r),Qe.extend(n,r),n.create=function(i){return Ge(Br(t,i))},n}var k=Ge(Sr);k.Axios=Y,k.CanceledError=Q,k.CancelToken=kr,k.isCancel=je,k.VERSION=ze.version,k.toFormData=Ie,k.AxiosError=L,k.Cancel=k.CanceledError,k.all=function(r){return Promise.all(r)},k.spread=xr,k.isAxiosError=Er,ne.exports=k,ne.exports.default=k;var Nr=ne.exports;const Xe=(t={})=>{const{baseURL:r,projectId:n,projectToken:o,userToken:i,csrfToken:a}=we(),s=B({baseURL:r.value,params:{project_id:n==null?void 0:n.value,project_token:o==null?void 0:o.value,token:i==null?void 0:i.value}},t);return(!o||!(n&&i))&&Object.assign(s,{headers:{"X-CSRF-Token":a}}),Nr.create(B({},s))};class $r{static key(r,n){return Xe().get(`/observation_matrices/${r}/key`,n)}}const Vr=t=>({characterStateId:t.id,depictionIds:t.depiction_ids,label:t.label,name:t.name,numberOfObjects:t.number_of_objects,position:t.position,status:t.status}),Dr=t=>({depictionId:t.id,caption:t.caption,figureLabel:t.figure_label,imageUrl:t.image.medium}),j={Qualitative:"Descriptor::Qualitative",Continuous:"Descriptor::Continuous",Sample:"Descriptor::Sample",Presence:"Descriptor::PresenceAbsence"},F=t=>({descriptorId:t.id,name:t.name,description:t.description,position:t.position,status:t.status,type:t.type,depictionIds:t.depiction_ids,usefulness:t.usefulness,weight:t.weight}),Rr=t=>R(B({},F(t)),{defaultUnit:t.default_unit,max:t.max,min:t.min}),Ir=t=>R(B({},F(t)),{defaultUnit:t.default_unit,max:t.max,min:t.min}),Tr=t=>R(B({},F(t)),{presence:t.precense}),Lr=t=>R(B({},F(t)),{characterStates:t.states.map(r=>Vr(r))}),Or=t=>{switch(t.type){case j.Continuous:return Rr(t);case j.Sample:return Ir(t);case j.PresenceAbsence:return Tr(t);case j.Qualitative:return Lr(t);default:return F(t)}},Ur=t=>({observationMatrixId:t.observation_matrix_id,name:t.observation_matrix.name,globalId:t.observation_matrix.global_id}),Ye=t=>({errorDescriptors:t.error_descriptors,errors:t.errors,objectLabel:t.object.object_label,objectTag:t.object.object_tag,observationObjectId:t.object.observation_object_id,observationObjectType:t.object.observation_object_type,rowId:t.object.id}),Ar=t=>({keywordId:t.id,definition:t.description,name:t.name}),Mr=t=>({languageId:t.id,name:t.english_name}),C=y.defineStore("observationMatrix",{state:()=>({observationMatrix:void 0,citation:void 0,descriptors:[],eliminated:[],remaining:[],availableKeywords:[],availableLanguages:[]}),getters:{getCitation:t=>t.citation,getObservationMatrix:t=>t.observationMatrix,getDescriptors:t=>t.descriptors,getDescriptorById:t=>r=>t.descriptors.find(n=>n.descriptorId===r),getDescriptorsUsed:t=>t.descriptors.filter(r=>r.status==="used"),getDescriptorsUseless:t=>t.descriptors.filter(r=>r.status==="useless"),getDescriptorsUseful:t=>t.descriptors.filter(r=>r.status==="useful"),getEliminated:t=>t.eliminated,getKeywords:t=>t.availableKeywords,getLanguages:t=>t.availableLanguages,getRemaining:t=>t.remaining},actions:{setDescriptors(t){this.descriptors=t},setEliminated(t){this.eliminated=t},setRemaining(t){this.remaining=t},setLanguages(t){this.availableLanguages=t},setKeywords(t){this.availableKeywords=t},setObservationMatrix(t){this.observationMatrix=t},async requestInteractiveKey({observationMatrixId:t,params:r={},opt:n={}}){const o=await $r.key(t,{params:r}),{data:i}=o;return n.refreshOnlyTaxa||(this.setObservationMatrix(Ur(i)),this.setDescriptors(i.list_of_descriptors.map(a=>Or(a))),this.setKeywords(i.descriptor_available_keywords.map(a=>Ar(a))),this.setLanguages(i.descriptor_available_languages.map(a=>Mr(a)))),this.setEliminated(i.eliminated.map(a=>Ye(a))),this.setRemaining(i.remaining.map(a=>Ye(a))),o}}}),g=y.defineStore("filter",{state:()=>({descriptors:{},eliminateUnknown:void 0,errorTolerance:void 0,identifiedToRank:void 0,keywordIds:[],languageId:void 0,rowIds:[],sorting:void 0}),getters:{getKeywordIds:t=>t.keywordIds,getLanguageId:t=>t.languageId,getRowIds:t=>t.rowIds,getDescriptors:t=>t.descriptors,getIdentifiedToRank:t=>t.identifiedToRank,getEliminateUknown:t=>t.eliminateUnknown,getErrorTolerance:t=>t.errorTolerance,getSorting:t=>t.sorting,getDescriptorValueById:t=>r=>{const n=t.descriptors[r];return typeof n=="boolean"?n:n||""},getFilterParams:t=>({selected_descriptors:Object.entries(t.descriptors).map(([n,o])=>Array.isArray(o)?`${n}:${o.join("|")}`:`${n}:${o}`).join("||"),language_id:t.languageId,keyword_ids:t.keywordIds,sorting:t.sorting,identified_to_rank:t.identifiedToRank,error_tolerance:t.errorTolerance,eliminate_unknown:t.eliminateUnknown,row_filter:t.rowIds.join("|")})},actions:{setDescriptor({descriptorId:t,value:r}){this.descriptors[t]=r},removeDescriptor(t){delete this.descriptors[t]},removeKeywordId(t){const r=this.keywordIds.findIndex(n=>n===t);r>-1&&this.keywordIds.splice(r,1)},addKeywordId(t){this.keywordIds.push(t)},setLanguageId(t){this.languageId=t},setErrorTolerance(t){this.errorTolerance=t},setEliminateUnknown(t){this.eliminateUnknown=t}}}),v=y.defineStore("settings",{state:()=>({gridLayout:"layout-mode-1",isLoading:!1,isRefreshing:!1,refreshOnlyTaxa:!1,rowFilter:!0,shouldUpdate:!0,observationMatrixId:void 0}),getters:{getIsLoading:t=>t.isLoading,getLayout:t=>t.gridLayout,getRefreshOnlyTaxa:t=>t.refreshOnlyTaxa,getRowFilter:t=>t.rowFilter,getShouldUpdate:t=>t.shouldUpdate,getObservationMatrixId:t=>t.observationMatrixId},actions:{setObservationMatrixId(t){this.observationMatrixId=t},setShouldUpdate(t){this.shouldUpdate=t},setRefreshOnlyTaxa(t){this.refreshOnlyTaxa=t},checkUpdate(){const t=g(),r=C(),n=this.observationMatrixId;this.shouldUpdate&&n&&(this.isLoading=!0,r.requestInteractiveKey({observationMatrixId:n,params:t.getFilterParams,opt:{refreshOnlyTaxa:this.refreshOnlyTaxa}}).then(o=>{this.isLoading=!1}))}}}),Pr=e.createTextVNode(" Eliminate unknowns "),jr=e.defineComponent({__name:"FilterEliminateUnknowns",setup(t){const r=g(),n=e.computed({get:()=>!!r.getEliminateUknown,set:o=>{r.setEliminateUnknown(o)}});return(o,i)=>(e.openBlock(),e.createElementBlock("label",null,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=a=>e.isRef(n)?n.value=a:null),type:"checkbox"},null,512),[[e.vModelCheckbox,e.unref(n)]]),Pr]))}}),Fr=e.createElementVNode("label",{for:"languages",class:"d-block"}," Error tolerance ",-1),vr=e.createElementVNode("option",{value:""},null,-1),zr=["value"],qr=e.defineComponent({__name:"FilterErrorTolerance",setup(t){const r=[0,1,2],n=g(),o=e.computed({get:()=>n.getErrorTolerance,set:i=>{n.setErrorTolerance(i)}});return(i,a)=>(e.openBlock(),e.createElementBlock("div",null,[Fr,e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":a[0]||(a[0]=s=>e.isRef(o)?o.value=s:null),name:"languages",role:"listbox"},[vr,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,s=>e.createElementVNode("option",{key:s,value:s},e.toDisplayString(s),9,zr)),64))],512),[[e.vModelSelect,e.unref(o)]])]))}}),Kr=["otu","subspecies","species","subgenus","genus","subtribe","tribe","subfamily","family"],Hr=e.createElementVNode("label",{class:"d-block"},"Identified to rank",-1),Jr=e.createElementVNode("option",{value:void 0},null,-1),Wr=e.defineComponent({__name:"FilterRank",setup(t){const r=g(),n=e.computed({get(){return r.getIdentifiedToRank},set(o){r.$patch({identifiedToRank:o})}});return(o,i)=>(e.openBlock(),e.createElementBlock("div",null,[Hr,e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":i[0]||(i[0]=a=>e.isRef(n)?n.value=a:null)},[Jr,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Kr),a=>(e.openBlock(),e.createElementBlock("option",{key:a},e.toDisplayString(a),1))),128))],512),[[e.vModelSelect,e.unref(n)]])]))}}),Qr=e.createElementVNode("label",{class:"d-block"},"Descriptor sorting",-1),Gr=e.createElementVNode("option",{value:void 0},null,-1),Xr=e.defineComponent({__name:"FilterSort",setup(t){const r=["ordered","weighted","optimized"],n=g(),o=e.computed({get(){return n.getSorting},set(i){n.$patch({sorting:i})}});return(i,a)=>(e.openBlock(),e.createElementBlock("div",null,[Qr,e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":a[0]||(a[0]=s=>e.isRef(o)?o.value=s:null)},[Gr,(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(r,s=>e.createElementVNode("option",{key:s},e.toDisplayString(s),1)),64))],512),[[e.vModelSelect,e.unref(o)]])]))}}),Yr=e.createElementVNode("label",{for:"languages",class:"d-block"}," Languages ",-1),Zr=["value"],en=e.defineComponent({__name:"FilterLanguage",setup(t){const r=g(),n=C(),o=e.computed({get:()=>r.getLanguageId,set:i=>{r.setLanguageId(Number(i))}});return(i,a)=>(e.openBlock(),e.createElementBlock("div",null,[Yr,e.withDirectives(e.createElementVNode("select",{"onUpdate:modelValue":a[0]||(a[0]=s=>e.isRef(o)?o.value=s:null),name:"languages",role:"listbox"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(n).getLanguages,({languageId:s,name:l})=>(e.openBlock(),e.createElementBlock("option",{key:s,value:s},e.toDisplayString(l),9,Zr))),128))],512),[[e.vModelSelect,e.unref(o)]])]))}});var Ao=(()=>`.btn{border-radius:8px;border:none}.btn-primary-color{background-color:var(--primary-color);color:#fff}.btn-medium-size{min-height:var(--btn-medium-size)}
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
`)(),z=(t,r)=>{const n=t.__vccOpts||t;for(const[o,i]of r)n[o]=i;return n};const un={},mn={class:"menu-list"};function hn(t,r){return e.openBlock(),e.createElementBlock("ul",mn,[e.renderSlot(t.$slots,"default")])}var _n=z(un,[["render",hn]]),jo=(()=>`.list-item[data-v-3f00bdeb]{justify-content:center;padding-left:1em;padding-right:1em;border-right:1px solid #e5e5e5}
|
|
6
|
-
`)();const gn={},yn={class:"list-item"};function bn(t,r){return e.openBlock(),e.createElementBlock("li",yn,[e.renderSlot(t.$slots,"default",{},void 0,!0)])}var V=z(gn,[["render",bn],["__scopeId","data-v-3f00bdeb"]]);const Ze={"layout-mode-1":"layout-mode-2","layout-mode-2":"layout-mode-1"};var Fo=(()=>`.grid[data-v-203acd5e]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1px;background-color:var(--border-color);box-shadow:0 2px 2px #0003}
|
|
7
|
-
`)();const
|
|
8
|
-
`)();const
|
|
9
|
-
`)()
|
|
10
|
-
`)();const
|
|
11
|
-
`)();const
|
|
12
|
-
`)();const
|
|
13
|
-
`)();const
|
|
14
|
-
`)();const
|
|
1
|
+
(function(be,pe){typeof exports=="object"&&typeof module!="undefined"?pe(exports):typeof define=="function"&&define.amd?define(["exports"],pe):(be=typeof globalThis!="undefined"?globalThis:be||self,pe(be.InteractiveKey={}))})(this,function(be){"use strict";var xp=Object.defineProperty,wp=Object.defineProperties;var Ep=Object.getOwnPropertyDescriptors;var pl=Object.getOwnPropertySymbols;var Cp=Object.prototype.hasOwnProperty,Ip=Object.prototype.propertyIsEnumerable;var hl=(be,pe,Be)=>pe in be?xp(be,pe,{enumerable:!0,configurable:!0,writable:!0,value:Be}):be[pe]=Be,et=(be,pe)=>{for(var Be in pe||(pe={}))Cp.call(pe,Be)&&hl(be,Be,pe[Be]);if(pl)for(var Be of pl(pe))Ip.call(pe,Be)&&hl(be,Be,pe[Be]);return be},Mt=(be,pe)=>wp(be,Ep(pe));function pe(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const ml=pe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Os(e){return!!e||e===""}function wt(e){if(O(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=he(r)?vl(r):wt(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(he(e))return e;if(ue(e))return e}}const gl=/;(?![^(]*\))/g,_l=/:(.+)/;function vl(e){const t={};return e.split(gl).forEach(n=>{if(n){const r=n.split(_l);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function at(e){let t="";if(he(e))t=e;else if(O(e))for(let n=0;n<e.length;n++){const r=at(e[n]);r&&(t+=r+" ")}else if(ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function bl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=sn(e[r],t[r]);return n}function sn(e,t){if(e===t)return!0;let n=As(e),r=As(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=on(e),r=on(t),n||r)return e===t;if(n=O(e),r=O(t),n||r)return n&&r?bl(e,t):!1;if(n=ue(e),r=ue(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!sn(e[i],t[i]))return!1}}return String(e)===String(t)}function Er(e,t){return e.findIndex(n=>sn(n,t))}const re=e=>he(e)?e:e==null?"":O(e)||ue(e)&&(e.toString===Ls||!N(e.toString))?JSON.stringify(e,ks,2):String(e),ks=(e,t)=>t&&t.__v_isRef?ks(e,t.value):Ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Nt(t)?{[`Set(${t.size})`]:[...t.values()]}:ue(t)&&!O(t)&&!Ps(t)?String(t):t,G={},Ft=[],He=()=>{},yl=()=>!1,xl=/^on[^a-z]/,Mn=e=>xl.test(e),Cr=e=>e.startsWith("onUpdate:"),ye=Object.assign,Ir=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wl=Object.prototype.hasOwnProperty,H=(e,t)=>wl.call(e,t),O=Array.isArray,Ut=e=>ln(e)==="[object Map]",Nt=e=>ln(e)==="[object Set]",As=e=>ln(e)==="[object Date]",N=e=>typeof e=="function",he=e=>typeof e=="string",on=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",Rs=e=>ue(e)&&N(e.then)&&N(e.catch),Ls=Object.prototype.toString,ln=e=>Ls.call(e),El=e=>ln(e).slice(8,-1),Ps=e=>ln(e)==="[object Object]",Tr=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fn=pe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Cl=/-(\w)/g,We=Un(e=>e.replace(Cl,(t,n)=>n?n.toUpperCase():"")),Il=/\B([A-Z])/g,Et=Un(e=>e.replace(Il,"-$1").toLowerCase()),Nn=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),Sr=Un(e=>e?`on${Nn(e)}`:""),an=(e,t)=>!Object.is(e,t),jn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},cn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ds;const Tl=()=>Ds||(Ds=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let Je;class Ms{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Je&&(this.parent=Je,this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Je;try{return Je=this,t()}finally{Je=n}}}on(){Je=this}off(){Je=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function Fs(e){return new Ms(e)}function Sl(e,t=Je){t&&t.active&&t.effects.push(e)}const $r=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Us=e=>(e.w&ct)>0,Ns=e=>(e.n&ct)>0,$l=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ct},Ol=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Us(s)&&!Ns(s)?s.delete(e):t[n++]=s,s.w&=~ct,s.n&=~ct}t.length=n}},Or=new WeakMap;let un=0,ct=1;const kr=30;let Ve;const Ct=Symbol(""),Ar=Symbol("");class Rr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Sl(this,r)}run(){if(!this.active)return this.fn();let t=Ve,n=ut;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ve,Ve=this,ut=!0,ct=1<<++un,un<=kr?$l(this):js(this),this.fn()}finally{un<=kr&&Ol(this),ct=1<<--un,Ve=this.parent,ut=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ve===this?this.deferStop=!0:this.active&&(js(this),this.onStop&&this.onStop(),this.active=!1)}}function js(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ut=!0;const Bs=[];function jt(){Bs.push(ut),ut=!1}function Bt(){const e=Bs.pop();ut=e===void 0?!0:e}function Ae(e,t,n){if(ut&&Ve){let r=Or.get(e);r||Or.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=$r()),Hs(s)}}function Hs(e,t){let n=!1;un<=kr?Ns(e)||(e.n|=ct,n=!Us(e)):n=!e.has(Ve),n&&(e.add(Ve),Ve.deps.push(e))}function tt(e,t,n,r,s,o){const i=Or.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&O(e))i.forEach((a,f)=>{(f==="length"||f>=r)&&l.push(a)});else switch(n!==void 0&&l.push(i.get(n)),t){case"add":O(e)?Tr(n)&&l.push(i.get("length")):(l.push(i.get(Ct)),Ut(e)&&l.push(i.get(Ar)));break;case"delete":O(e)||(l.push(i.get(Ct)),Ut(e)&&l.push(i.get(Ar)));break;case"set":Ut(e)&&l.push(i.get(Ct));break}if(l.length===1)l[0]&&Lr(l[0]);else{const a=[];for(const f of l)f&&a.push(...f);Lr($r(a))}}function Lr(e,t){const n=O(e)?e:[...e];for(const r of n)r.computed&&Vs(r);for(const r of n)r.computed||Vs(r)}function Vs(e,t){(e!==Ve||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const kl=pe("__proto__,__v_isRef,__isVue"),Ks=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(on)),Al=Pr(),Rl=Pr(!1,!0),Ll=Pr(!0),zs=Pl();function Pl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=K(this);for(let o=0,i=this.length;o<i;o++)Ae(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(K)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){jt();const r=K(this)[t].apply(this,n);return Bt(),r}}),e}function Pr(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Ql:eo:t?Gs:Zs).get(r))return r;const i=O(r);if(!e&&i&&H(zs,s))return Reflect.get(zs,s,o);const l=Reflect.get(r,s,o);return(on(s)?Ks.has(s):kl(s))||(e||Ae(r,"get",s),t)?l:W(l)?i&&Tr(s)?l:l.value:ue(l)?e?to(l):Jn(l):l}}const Dl=qs(),Ml=qs(!0);function qs(e=!1){return function(n,r,s,o){let i=n[r];if(fn(i)&&W(i)&&!W(s))return!1;if(!e&&!fn(s)&&(Ur(s)||(s=K(s),i=K(i)),!O(n)&&W(i)&&!W(s)))return i.value=s,!0;const l=O(n)&&Tr(r)?Number(r)<n.length:H(n,r),a=Reflect.set(n,r,s,o);return n===K(o)&&(l?an(s,i)&&tt(n,"set",r,s):tt(n,"add",r,s)),a}}function Fl(e,t){const n=H(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&tt(e,"delete",t,void 0),r}function Ul(e,t){const n=Reflect.has(e,t);return(!on(t)||!Ks.has(t))&&Ae(e,"has",t),n}function Nl(e){return Ae(e,"iterate",O(e)?"length":Ct),Reflect.ownKeys(e)}const Ws={get:Al,set:Dl,deleteProperty:Fl,has:Ul,ownKeys:Nl},jl={get:Ll,set(e,t){return!0},deleteProperty(e,t){return!0}},Bl=ye({},Ws,{get:Rl,set:Ml}),Dr=e=>e,Hn=e=>Reflect.getPrototypeOf(e);function Vn(e,t,n=!1,r=!1){e=e.__v_raw;const s=K(e),o=K(t);n||(t!==o&&Ae(s,"get",t),Ae(s,"get",o));const{has:i}=Hn(s),l=r?Dr:n?Nr:dn;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Kn(e,t=!1){const n=this.__v_raw,r=K(n),s=K(e);return t||(e!==s&&Ae(r,"has",e),Ae(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function zn(e,t=!1){return e=e.__v_raw,!t&&Ae(K(e),"iterate",Ct),Reflect.get(e,"size",e)}function Js(e){e=K(e);const t=K(this);return Hn(t).has.call(t,e)||(t.add(e),tt(t,"add",e,e)),this}function Ys(e,t){t=K(t);const n=K(this),{has:r,get:s}=Hn(n);let o=r.call(n,e);o||(e=K(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?an(t,i)&&tt(n,"set",e,t):tt(n,"add",e,t),this}function Qs(e){const t=K(this),{has:n,get:r}=Hn(t);let s=n.call(t,e);s||(e=K(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&tt(t,"delete",e,void 0),o}function Xs(){const e=K(this),t=e.size!==0,n=e.clear();return t&&tt(e,"clear",void 0,void 0),n}function qn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=K(i),a=t?Dr:e?Nr:dn;return!e&&Ae(l,"iterate",Ct),i.forEach((f,u)=>r.call(s,a(f),a(u),o))}}function Wn(e,t,n){return function(...r){const s=this.__v_raw,o=K(s),i=Ut(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=s[e](...r),u=n?Dr:t?Nr:dn;return!t&&Ae(o,"iterate",a?Ar:Ct),{next(){const{value:p,done:m}=f.next();return m?{value:p,done:m}:{value:l?[u(p[0]),u(p[1])]:u(p),done:m}},[Symbol.iterator](){return this}}}}function ft(e){return function(...t){return e==="delete"?!1:this}}function Hl(){const e={get(o){return Vn(this,o)},get size(){return zn(this)},has:Kn,add:Js,set:Ys,delete:Qs,clear:Xs,forEach:qn(!1,!1)},t={get(o){return Vn(this,o,!1,!0)},get size(){return zn(this)},has:Kn,add:Js,set:Ys,delete:Qs,clear:Xs,forEach:qn(!1,!0)},n={get(o){return Vn(this,o,!0)},get size(){return zn(this,!0)},has(o){return Kn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:qn(!0,!1)},r={get(o){return Vn(this,o,!0,!0)},get size(){return zn(this,!0)},has(o){return Kn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:qn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Wn(o,!1,!1),n[o]=Wn(o,!0,!1),t[o]=Wn(o,!1,!0),r[o]=Wn(o,!0,!0)}),[e,n,t,r]}const[Vl,Kl,zl,ql]=Hl();function Mr(e,t){const n=t?e?ql:zl:e?Kl:Vl;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(H(n,s)&&s in r?n:r,s,o)}const Wl={get:Mr(!1,!1)},Jl={get:Mr(!1,!0)},Yl={get:Mr(!0,!1)},Zs=new WeakMap,Gs=new WeakMap,eo=new WeakMap,Ql=new WeakMap;function Xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zl(e){return e.__v_skip||!Object.isExtensible(e)?0:Xl(El(e))}function Jn(e){return fn(e)?e:Fr(e,!1,Ws,Wl,Zs)}function Gl(e){return Fr(e,!1,Bl,Jl,Gs)}function to(e){return Fr(e,!0,jl,Yl,eo)}function Fr(e,t,n,r,s){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Zl(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function dt(e){return fn(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function Ur(e){return!!(e&&e.__v_isShallow)}function no(e){return dt(e)||fn(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function Ht(e){return Bn(e,"__v_skip",!0),e}const dn=e=>ue(e)?Jn(e):e,Nr=e=>ue(e)?to(e):e;function ro(e){ut&&Ve&&(e=K(e),Hs(e.dep||(e.dep=$r())))}function so(e,t){e=K(e),e.dep&&Lr(e.dep)}function W(e){return!!(e&&e.__v_isRef===!0)}function Re(e){return ea(e,!1)}function ea(e,t){return W(e)?e:new ta(e,t)}class ta{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:dn(t)}get value(){return ro(this),this._value}set value(t){t=this.__v_isShallow?t:K(t),an(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:dn(t),so(this))}}function j(e){return W(e)?e.value:e}const na={get:(e,t,n)=>j(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return W(s)&&!W(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function oo(e){return dt(e)?e:new Proxy(e,na)}function ra(e){const t=O(e)?new Array(e.length):{};for(const n in e)t[n]=oa(e,n);return t}class sa{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function oa(e,t,n){const r=e[t];return W(r)?r:new sa(e,t,n)}class ia{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new Rr(t,()=>{this._dirty||(this._dirty=!0,so(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=K(this);return ro(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function la(e,t,n=!1){let r,s;const o=N(e);return o?(r=e,s=He):(r=e.get,s=e.set),new ia(r,s,o||!s,n)}function pt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Yn(o,t,n)}return s}function Fe(e,t,n,r){if(N(e)){const o=pt(e,t,n,r);return o&&Rs(o)&&o.catch(i=>{Yn(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(Fe(e[o],t,n,r));return s}function Yn(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,l=n;for(;o;){const f=o.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,i,l)===!1)return}o=o.parent}const a=t.appContext.config.errorHandler;if(a){pt(a,null,10,[e,i,l]);return}}aa(e,n,s,r)}function aa(e,t,n,r=!0){console.error(e)}let Qn=!1,jr=!1;const Le=[];let nt=0;const pn=[];let hn=null,Vt=0;const mn=[];let ht=null,Kt=0;const io=Promise.resolve();let Br=null,Hr=null;function lo(e){const t=Br||io;return e?t.then(this?e.bind(this):e):t}function ca(e){let t=nt+1,n=Le.length;for(;t<n;){const r=t+n>>>1;gn(Le[r])<e?t=r+1:n=r}return t}function ao(e){(!Le.length||!Le.includes(e,Qn&&e.allowRecurse?nt+1:nt))&&e!==Hr&&(e.id==null?Le.push(e):Le.splice(ca(e.id),0,e),co())}function co(){!Qn&&!jr&&(jr=!0,Br=io.then(po))}function ua(e){const t=Le.indexOf(e);t>nt&&Le.splice(t,1)}function uo(e,t,n,r){O(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),co()}function fa(e){uo(e,hn,pn,Vt)}function da(e){uo(e,ht,mn,Kt)}function Xn(e,t=null){if(pn.length){for(Hr=t,hn=[...new Set(pn)],pn.length=0,Vt=0;Vt<hn.length;Vt++)hn[Vt]();hn=null,Vt=0,Hr=null,Xn(e,t)}}function fo(e){if(Xn(),mn.length){const t=[...new Set(mn)];if(mn.length=0,ht){ht.push(...t);return}for(ht=t,ht.sort((n,r)=>gn(n)-gn(r)),Kt=0;Kt<ht.length;Kt++)ht[Kt]();ht=null,Kt=0}}const gn=e=>e.id==null?1/0:e.id;function po(e){jr=!1,Qn=!0,Xn(e),Le.sort((n,r)=>gn(n)-gn(r));const t=He;try{for(nt=0;nt<Le.length;nt++){const n=Le[nt];n&&n.active!==!1&&pt(n,null,14)}}finally{nt=0,Le.length=0,fo(),Qn=!1,Br=null,(Le.length||pn.length||mn.length)&&po(e)}}function pa(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||G;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:m}=r[u]||G;m&&(s=n.map(E=>E.trim())),p&&(s=n.map(cn))}let l,a=r[l=Sr(t)]||r[l=Sr(We(t))];!a&&o&&(a=r[l=Sr(Et(t))]),a&&Fe(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(f,e,6,s)}}function ho(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!N(e)){const a=f=>{const u=ho(f,t,!0);u&&(l=!0,ye(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(r.set(e,null),null):(O(o)?o.forEach(a=>i[a]=null):ye(i,o),r.set(e,i),i)}function Zn(e,t){return!e||!Mn(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,Et(t))||H(e,t))}let Ee=null,Gn=null;function er(e){const t=Ee;return Ee=e,Gn=e&&e.type.__scopeId||null,t}function mo(e){Gn=e}function go(){Gn=null}function Q(e,t=Ee,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&qo(-1);const o=er(t),i=e(...s);return er(o),r._d&&qo(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function Tp(){}function Vr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:a,emit:f,render:u,renderCache:p,data:m,setupState:E,ctx:P,inheritAttrs:U}=e;let D,L;const ae=er(e);try{if(n.shapeFlag&4){const ee=s||r;D=Qe(u.call(ee,ee,p,o,E,m,P)),L=a}else{const ee=t;D=Qe(ee.length>1?ee(o,{attrs:a,slots:l,emit:f}):ee(o,null)),L=t.props?a:ha(a)}}catch(ee){yn.length=0,Yn(ee,e,1),D=F(je)}let q=D;if(L&&U!==!1){const ee=Object.keys(L),{shapeFlag:J}=q;ee.length&&J&7&&(i&&ee.some(Cr)&&(L=ma(L,i)),q=mt(q,L))}return n.dirs&&(q=mt(q),q.dirs=q.dirs?q.dirs.concat(n.dirs):n.dirs),n.transition&&(q.transition=n.transition),D=q,er(ae),D}const ha=e=>{let t;for(const n in e)(n==="class"||n==="style"||Mn(n))&&((t||(t={}))[n]=e[n]);return t},ma=(e,t)=>{const n={};for(const r in e)(!Cr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ga(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?_o(r,i,f):!!i;if(a&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const m=u[p];if(i[m]!==r[m]&&!Zn(f,m))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?_o(r,i,f):!0:!!i;return!1}function _o(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Zn(n,o))return!0}return!1}function _a({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const va=e=>e.__isSuspense;function ba(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):da(e)}function ya(e,t){if(ge){let n=ge.provides;const r=ge.parent&&ge.parent.provides;r===n&&(n=ge.provides=Object.create(r)),n[e]=t}}function tr(e,t,n=!1){const r=ge||Ee;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&N(t)?t.call(r.proxy):t}}const vo={};function _n(e,t,n){return bo(e,t,n)}function bo(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=G){const l=ge;let a,f=!1,u=!1;if(W(e)?(a=()=>e.value,f=Ur(e)):dt(e)?(a=()=>e,r=!0):O(e)?(u=!0,f=e.some(L=>dt(L)||Ur(L)),a=()=>e.map(L=>{if(W(L))return L.value;if(dt(L))return It(L);if(N(L))return pt(L,l,2)})):N(e)?t?a=()=>pt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return p&&p(),Fe(e,l,3,[m])}:a=He,t&&r){const L=a;a=()=>It(L())}let p,m=L=>{p=D.onStop=()=>{pt(L,l,4)}};if(wn)return m=He,t?n&&Fe(t,l,3,[a(),u?[]:void 0,m]):a(),He;let E=u?[]:vo;const P=()=>{if(!!D.active)if(t){const L=D.run();(r||f||(u?L.some((ae,q)=>an(ae,E[q])):an(L,E)))&&(p&&p(),Fe(t,l,3,[L,E===vo?void 0:E,m]),E=L)}else D.run()};P.allowRecurse=!!t;let U;s==="sync"?U=P:s==="post"?U=()=>Se(P,l&&l.suspense):U=()=>fa(P);const D=new Rr(a,U);return t?n?P():E=D.run():s==="post"?Se(D.run.bind(D),l&&l.suspense):D.run(),()=>{D.stop(),l&&l.scope&&Ir(l.scope.effects,D)}}function xa(e,t,n){const r=this.proxy,s=he(e)?e.includes(".")?yo(r,e):()=>r[e]:e.bind(r,r);let o;N(t)?o=t:(o=t.handler,n=t);const i=ge;qt(this);const l=bo(s,o.bind(r),n);return i?qt(i):kt(),l}function yo(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function It(e,t){if(!ue(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),W(e))It(e.value,t);else if(O(e))for(let n=0;n<e.length;n++)It(e[n],t);else if(Nt(e)||Ut(e))e.forEach(n=>{It(n,t)});else if(Ps(e))for(const n in e)It(e[n],t);return e}function wa(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bn(()=>{e.isMounted=!0}),To(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],xo={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},setup(e,{slots:t}){const n=ns(),r=wa();let s;return()=>{const o=t.default&&Co(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const U of o)if(U.type!==je){i=U;break}}const l=K(e),{mode:a}=l;if(r.isLeaving)return zr(i);const f=Eo(i);if(!f)return zr(i);const u=Kr(f,l,r,n);qr(f,u);const p=n.subTree,m=p&&Eo(p);let E=!1;const{getTransitionKey:P}=f.type;if(P){const U=P();s===void 0?s=U:U!==s&&(s=U,E=!0)}if(m&&m.type!==je&&(!Ot(f,m)||E)){const U=Kr(m,l,r,n);if(qr(m,U),a==="out-in")return r.isLeaving=!0,U.afterLeave=()=>{r.isLeaving=!1,n.update()},zr(i);a==="in-out"&&f.type!==je&&(U.delayLeave=(D,L,ae)=>{const q=wo(r,m);q[String(m.key)]=m,D._leaveCb=()=>{L(),D._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=ae})}return i}}};function wo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Kr(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:p,onLeave:m,onAfterLeave:E,onLeaveCancelled:P,onBeforeAppear:U,onAppear:D,onAfterAppear:L,onAppearCancelled:ae}=t,q=String(e.key),ee=wo(n,e),J=(S,B)=>{S&&Fe(S,r,9,B)},ke=(S,B)=>{const Z=B[1];J(S,B),O(S)?S.every(ce=>ce.length<=1)&&Z():S.length<=1&&Z()},Y={mode:o,persisted:i,beforeEnter(S){let B=l;if(!n.isMounted)if(s)B=U||l;else return;S._leaveCb&&S._leaveCb(!0);const Z=ee[q];Z&&Ot(e,Z)&&Z.el._leaveCb&&Z.el._leaveCb(),J(B,[S])},enter(S){let B=a,Z=f,ce=u;if(!n.isMounted)if(s)B=D||a,Z=L||f,ce=ae||u;else return;let $=!1;const oe=S._enterCb=ve=>{$||($=!0,ve?J(ce,[S]):J(Z,[S]),Y.delayedLeave&&Y.delayedLeave(),S._enterCb=void 0)};B?ke(B,[S,oe]):oe()},leave(S,B){const Z=String(e.key);if(S._enterCb&&S._enterCb(!0),n.isUnmounting)return B();J(p,[S]);let ce=!1;const $=S._leaveCb=oe=>{ce||(ce=!0,B(),oe?J(P,[S]):J(E,[S]),S._leaveCb=void 0,ee[Z]===e&&delete ee[Z])};ee[Z]=e,m?ke(m,[S,$]):$()},clone(S){return Kr(S,t,n,r)}};return Y}function zr(e){if(nr(e))return e=mt(e),e.children=null,e}function Eo(e){return nr(e)?e.children?e.children[0]:void 0:e}function qr(e,t){e.shapeFlag&6&&e.component?qr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Co(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===X?(i.patchFlag&128&&s++,r=r.concat(Co(i.children,t,l))):(t||i.type!==je)&&r.push(l!=null?mt(i,{key:l}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function z(e){return N(e)?{setup:e,name:e.name}:e}const vn=e=>!!e.type.__asyncLoader,nr=e=>e.type.__isKeepAlive;function Ea(e,t){Io(e,"a",t)}function Ca(e,t){Io(e,"da",t)}function Io(e,t,n=ge){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(rr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)nr(s.parent.vnode)&&Ia(r,t,n,s),s=s.parent}}function Ia(e,t,n,r){const s=rr(t,e,r,!0);zt(()=>{Ir(r[t],s)},n)}function rr(e,t,n=ge,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;jt(),qt(n);const l=Fe(t,n,e,i);return kt(),Bt(),l});return r?s.unshift(o):s.push(o),o}}const rt=e=>(t,n=ge)=>(!wn||e==="sp")&&rr(e,t,n),Ta=rt("bm"),bn=rt("m"),Sa=rt("bu"),$a=rt("u"),To=rt("bum"),zt=rt("um"),Oa=rt("sp"),ka=rt("rtg"),Aa=rt("rtc");function Ra(e,t=ge){rr("ec",e,t)}function Ne(e,t){const n=Ee;if(n===null)return e;const r=cr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,a,f=G]=t[o];N(i)&&(i={mounted:i,updated:i}),i.deep&&It(l),s.push({dir:i,instance:r,value:l,oldValue:void 0,arg:a,modifiers:f})}return e}function Tt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const l=s[i];o&&(l.oldValue=o[i].value);let a=l.dir[r];a&&(jt(),Fe(a,n,8,[e.el,l,e,t]),Bt())}}const So="components",$o=Symbol();function La(e){return he(e)?Pa(So,e,!1)||e:e||$o}function Pa(e,t,n=!0,r=!1){const s=Ee||ge;if(s){const o=s.type;if(e===So){const l=cc(o,!1);if(l&&(l===t||l===We(t)||l===Nn(We(t))))return o}const i=Oo(s[e]||o[e],t)||Oo(s.appContext[e],t);return!i&&r?o:i}}function Oo(e,t){return e&&(e[t]||e[We(t)]||e[Nn(We(t))])}function Pe(e,t,n,r){let s;const o=n&&n[r];if(O(e)||he(e)){s=new Array(e.length);for(let i=0,l=e.length;i<l;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(ue(e))if(e[Symbol.iterator])s=Array.from(e,(i,l)=>t(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const f=i[l];s[l]=t(e[f],f,l,o&&o[l])}}else s=[];return n&&(n[r]=s),s}function Ye(e,t,n={},r,s){if(Ee.isCE||Ee.parent&&vn(Ee.parent)&&Ee.parent.isCE)return F("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),w();const i=o&&ko(o(n)),l=se(X,{key:n.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function ko(e){return e.some(t=>ir(t)?!(t.type===je||t.type===X&&!ko(t.children)):!0)?e:null}const Wr=e=>e?Yo(e)?cr(e)||e.proxy:Wr(e.parent):null,sr=ye(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Wr(e.parent),$root:e=>Wr(e.root),$emit:e=>e.emit,$options:e=>Lo(e),$forceUpdate:e=>e.f||(e.f=()=>ao(e.update)),$nextTick:e=>e.n||(e.n=lo.bind(e.proxy)),$watch:e=>xa.bind(e)}),Da={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let f;if(t[0]!=="$"){const E=i[t];if(E!==void 0)switch(E){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(r!==G&&H(r,t))return i[t]=1,r[t];if(s!==G&&H(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&H(f,t))return i[t]=3,o[t];if(n!==G&&H(n,t))return i[t]=4,n[t];Jr&&(i[t]=0)}}const u=sr[t];let p,m;if(u)return t==="$attrs"&&Ae(e,"get",t),u(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==G&&H(n,t))return i[t]=4,n[t];if(m=a.config.globalProperties,H(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return s!==G&&H(s,t)?(s[t]=n,!0):r!==G&&H(r,t)?(r[t]=n,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==G&&H(e,i)||t!==G&&H(t,i)||(l=o[0])&&H(l,i)||H(r,i)||H(sr,i)||H(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:H(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Jr=!0;function Ma(e){const t=Lo(e),n=e.proxy,r=e.ctx;Jr=!1,t.beforeCreate&&Ao(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:f,created:u,beforeMount:p,mounted:m,beforeUpdate:E,updated:P,activated:U,deactivated:D,beforeDestroy:L,beforeUnmount:ae,destroyed:q,unmounted:ee,render:J,renderTracked:ke,renderTriggered:Y,errorCaptured:S,serverPrefetch:B,expose:Z,inheritAttrs:ce,components:$,directives:oe,filters:ve}=t;if(f&&Fa(f,r,null,e.appContext.config.unwrapInjectedRef),i)for(const fe in i){const ie=i[fe];N(ie)&&(r[fe]=ie.bind(n))}if(s){const fe=s.call(n,n);ue(fe)&&(e.data=Jn(fe))}if(Jr=!0,o)for(const fe in o){const ie=o[fe],it=N(ie)?ie.bind(n,n):N(ie.get)?ie.get.bind(n,n):He,Ts=!N(ie)&&N(ie.set)?ie.set.bind(n):He,Pn=de({get:it,set:Ts});Object.defineProperty(r,fe,{enumerable:!0,configurable:!0,get:()=>Pn.value,set:tn=>Pn.value=tn})}if(l)for(const fe in l)Ro(l[fe],r,n,fe);if(a){const fe=N(a)?a.call(n):a;Reflect.ownKeys(fe).forEach(ie=>{ya(ie,fe[ie])})}u&&Ao(u,e,"c");function we(fe,ie){O(ie)?ie.forEach(it=>fe(it.bind(n))):ie&&fe(ie.bind(n))}if(we(Ta,p),we(bn,m),we(Sa,E),we($a,P),we(Ea,U),we(Ca,D),we(Ra,S),we(Aa,ke),we(ka,Y),we(To,ae),we(zt,ee),we(Oa,B),O(Z))if(Z.length){const fe=e.exposed||(e.exposed={});Z.forEach(ie=>{Object.defineProperty(fe,ie,{get:()=>n[ie],set:it=>n[ie]=it})})}else e.exposed||(e.exposed={});J&&e.render===He&&(e.render=J),ce!=null&&(e.inheritAttrs=ce),$&&(e.components=$),oe&&(e.directives=oe)}function Fa(e,t,n=He,r=!1){O(e)&&(e=Yr(e));for(const s in e){const o=e[s];let i;ue(o)?"default"in o?i=tr(o.from||s,o.default,!0):i=tr(o.from||s):i=tr(o),W(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function Ao(e,t,n){Fe(O(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ro(e,t,n,r){const s=r.includes(".")?yo(n,r):()=>n[r];if(he(e)){const o=t[e];N(o)&&_n(s,o)}else if(N(e))_n(s,e.bind(n));else if(ue(e))if(O(e))e.forEach(o=>Ro(o,t,n,r));else{const o=N(e.handler)?e.handler.bind(n):t[e.handler];N(o)&&_n(s,o,e)}}function Lo(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(f=>or(a,f,i,!0)),or(a,t,i)),o.set(t,a),a}function or(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&or(e,o,n,!0),s&&s.forEach(i=>or(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Ua[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ua={data:Po,props:St,emits:St,methods:St,computed:St,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:St,directives:St,watch:ja,provide:Po,inject:Na};function Po(e,t){return t?e?function(){return ye(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function Na(e,t){return St(Yr(e),Yr(t))}function Yr(e){if(O(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ie(e,t){return e?[...new Set([].concat(e,t))]:t}function St(e,t){return e?ye(ye(Object.create(null),e),t):t}function ja(e,t){if(!e)return t;if(!t)return e;const n=ye(Object.create(null),e);for(const r in t)n[r]=Ie(e[r],t[r]);return n}function Ba(e,t,n,r=!1){const s={},o={};Bn(o,lr,1),e.propsDefaults=Object.create(null),Do(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Gl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Ha(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,l=K(s),[a]=e.propsOptions;let f=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let m=u[p];if(Zn(e.emitsOptions,m))continue;const E=t[m];if(a)if(H(o,m))E!==o[m]&&(o[m]=E,f=!0);else{const P=We(m);s[P]=Qr(a,l,P,E,e,!1)}else E!==o[m]&&(o[m]=E,f=!0)}}}else{Do(e,t,s,o)&&(f=!0);let u;for(const p in l)(!t||!H(t,p)&&((u=Et(p))===p||!H(t,u)))&&(a?n&&(n[p]!==void 0||n[u]!==void 0)&&(s[p]=Qr(a,l,p,void 0,e,!0)):delete s[p]);if(o!==l)for(const p in o)(!t||!H(t,p)&&!0)&&(delete o[p],f=!0)}f&&tt(e,"set","$attrs")}function Do(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Fn(a))continue;const f=t[a];let u;s&&H(s,u=We(a))?!o||!o.includes(u)?n[u]=f:(l||(l={}))[u]=f:Zn(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,i=!0)}if(o){const a=K(n),f=l||G;for(let u=0;u<o.length;u++){const p=o[u];n[p]=Qr(s,a,p,f[p],e,!H(f,p))}}return i}function Qr(e,t,n,r,s,o){const i=e[n];if(i!=null){const l=H(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&N(a)){const{propsDefaults:f}=s;n in f?r=f[n]:(qt(s),r=f[n]=a.call(null,t),kt())}else r=a}i[0]&&(o&&!l?r=!1:i[1]&&(r===""||r===Et(n))&&(r=!0))}return r}function Mo(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},l=[];let a=!1;if(!N(e)){const u=p=>{a=!0;const[m,E]=Mo(p,t,!0);ye(i,m),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return r.set(e,Ft),Ft;if(O(o))for(let u=0;u<o.length;u++){const p=We(o[u]);Fo(p)&&(i[p]=G)}else if(o)for(const u in o){const p=We(u);if(Fo(p)){const m=o[u],E=i[p]=O(m)||N(m)?{type:m}:m;if(E){const P=jo(Boolean,E.type),U=jo(String,E.type);E[0]=P>-1,E[1]=U<0||P<U,(P>-1||H(E,"default"))&&l.push(p)}}}const f=[i,l];return r.set(e,f),f}function Fo(e){return e[0]!=="$"}function Uo(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function No(e,t){return Uo(e)===Uo(t)}function jo(e,t){return O(t)?t.findIndex(n=>No(n,e)):N(t)&&No(t,e)?0:-1}const Bo=e=>e[0]==="_"||e==="$stable",Xr=e=>O(e)?e.map(Qe):[Qe(e)],Va=(e,t,n)=>{if(t._n)return t;const r=Q((...s)=>Xr(t(...s)),n);return r._c=!1,r},Ho=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Bo(s))continue;const o=e[s];if(N(o))t[s]=Va(s,o,r);else if(o!=null){const i=Xr(o);t[s]=()=>i}}},Vo=(e,t)=>{const n=Xr(t);e.slots.default=()=>n},Ka=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),Bn(t,"_",n)):Ho(t,e.slots={})}else e.slots={},t&&Vo(e,t);Bn(e.slots,lr,1)},za=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=G;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(ye(s,t),!n&&l===1&&delete s._):(o=!t.$stable,Ho(t,s)),i=t}else t&&(Vo(e,t),i={default:1});if(o)for(const l in s)!Bo(l)&&!(l in i)&&delete s[l]};function Ko(){return{app:null,config:{isNativeTag:yl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qa=0;function Wa(e,t){return function(r,s=null){N(r)||(r=Object.assign({},r)),s!=null&&!ue(s)&&(s=null);const o=Ko(),i=new Set;let l=!1;const a=o.app={_uid:qa++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:dc,get config(){return o.config},set config(f){},use(f,...u){return i.has(f)||(f&&N(f.install)?(i.add(f),f.install(a,...u)):N(f)&&(i.add(f),f(a,...u))),a},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),a},component(f,u){return u?(o.components[f]=u,a):o.components[f]},directive(f,u){return u?(o.directives[f]=u,a):o.directives[f]},mount(f,u,p){if(!l){const m=F(r,s);return m.appContext=o,u&&t?t(m,f):e(m,f,p),l=!0,a._container=f,f.__vue_app__=a,cr(m.component)||m.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(f,u){return o.provides[f]=u,a}};return a}}function Zr(e,t,n,r,s=!1){if(O(e)){e.forEach((m,E)=>Zr(m,t&&(O(t)?t[E]:t),n,r,s));return}if(vn(r)&&!s)return;const o=r.shapeFlag&4?cr(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:a}=e,f=t&&t.r,u=l.refs===G?l.refs={}:l.refs,p=l.setupState;if(f!=null&&f!==a&&(he(f)?(u[f]=null,H(p,f)&&(p[f]=null)):W(f)&&(f.value=null)),N(a))pt(a,l,12,[i,u]);else{const m=he(a),E=W(a);if(m||E){const P=()=>{if(e.f){const U=m?u[a]:a.value;s?O(U)&&Ir(U,o):O(U)?U.includes(o)||U.push(o):m?(u[a]=[o],H(p,a)&&(p[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else m?(u[a]=i,H(p,a)&&(p[a]=i)):E&&(a.value=i,e.k&&(u[e.k]=i))};i?(P.id=-1,Se(P,n)):P()}}}const Se=ba;function Ja(e){return Ya(e)}function Ya(e,t){const n=Tl();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:u,parentNode:p,nextSibling:m,setScopeId:E=He,cloneNode:P,insertStaticContent:U}=e,D=(c,d,h,_=null,g=null,y=null,C=!1,b=null,x=!!d.dynamicChildren)=>{if(c===d)return;c&&!Ot(c,d)&&(_=wr(c),xt(c,g,y,!0),c=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:v,ref:k,shapeFlag:T}=d;switch(v){case Gr:L(c,d,h,_);break;case je:ae(c,d,h,_);break;case es:c==null&&q(d,h,_,C);break;case X:oe(c,d,h,_,g,y,C,b,x);break;default:T&1?ke(c,d,h,_,g,y,C,b,x):T&6?ve(c,d,h,_,g,y,C,b,x):(T&64||T&128)&&v.process(c,d,h,_,g,y,C,b,x,nn)}k!=null&&g&&Zr(k,c&&c.ref,y,d||c,!d)},L=(c,d,h,_)=>{if(c==null)r(d.el=l(d.children),h,_);else{const g=d.el=c.el;d.children!==c.children&&f(g,d.children)}},ae=(c,d,h,_)=>{c==null?r(d.el=a(d.children||""),h,_):d.el=c.el},q=(c,d,h,_)=>{[c.el,c.anchor]=U(c.children,d,h,_,c.el,c.anchor)},ee=({el:c,anchor:d},h,_)=>{let g;for(;c&&c!==d;)g=m(c),r(c,h,_),c=g;r(d,h,_)},J=({el:c,anchor:d})=>{let h;for(;c&&c!==d;)h=m(c),s(c),c=h;s(d)},ke=(c,d,h,_,g,y,C,b,x)=>{C=C||d.type==="svg",c==null?Y(d,h,_,g,y,C,b,x):Z(c,d,g,y,C,b,x)},Y=(c,d,h,_,g,y,C,b)=>{let x,v;const{type:k,props:T,shapeFlag:A,transition:M,patchFlag:V,dirs:te}=c;if(c.el&&P!==void 0&&V===-1)x=c.el=P(c.el);else{if(x=c.el=i(c.type,y,T&&T.is,T),A&8?u(x,c.children):A&16&&B(c.children,x,null,_,g,y&&k!=="foreignObject",C,b),te&&Tt(c,null,_,"created"),T){for(const le in T)le!=="value"&&!Fn(le)&&o(x,le,null,T[le],y,c.children,_,g,lt);"value"in T&&o(x,"value",null,T.value),(v=T.onVnodeBeforeMount)&&Xe(v,_,c)}S(x,c,c.scopeId,C,_)}te&&Tt(c,null,_,"beforeMount");const ne=(!g||g&&!g.pendingBranch)&&M&&!M.persisted;ne&&M.beforeEnter(x),r(x,d,h),((v=T&&T.onVnodeMounted)||ne||te)&&Se(()=>{v&&Xe(v,_,c),ne&&M.enter(x),te&&Tt(c,null,_,"mounted")},g)},S=(c,d,h,_,g)=>{if(h&&E(c,h),_)for(let y=0;y<_.length;y++)E(c,_[y]);if(g){let y=g.subTree;if(d===y){const C=g.vnode;S(c,C,C.scopeId,C.slotScopeIds,g.parent)}}},B=(c,d,h,_,g,y,C,b,x=0)=>{for(let v=x;v<c.length;v++){const k=c[v]=b?gt(c[v]):Qe(c[v]);D(null,k,d,h,_,g,y,C,b)}},Z=(c,d,h,_,g,y,C)=>{const b=d.el=c.el;let{patchFlag:x,dynamicChildren:v,dirs:k}=d;x|=c.patchFlag&16;const T=c.props||G,A=d.props||G;let M;h&&$t(h,!1),(M=A.onVnodeBeforeUpdate)&&Xe(M,h,d,c),k&&Tt(d,c,h,"beforeUpdate"),h&&$t(h,!0);const V=g&&d.type!=="foreignObject";if(v?ce(c.dynamicChildren,v,b,h,_,V,y):C||it(c,d,b,null,h,_,V,y,!1),x>0){if(x&16)$(b,d,T,A,h,_,g);else if(x&2&&T.class!==A.class&&o(b,"class",null,A.class,g),x&4&&o(b,"style",T.style,A.style,g),x&8){const te=d.dynamicProps;for(let ne=0;ne<te.length;ne++){const le=te[ne],qe=T[le],rn=A[le];(rn!==qe||le==="value")&&o(b,le,qe,rn,g,c.children,h,_,lt)}}x&1&&c.children!==d.children&&u(b,d.children)}else!C&&v==null&&$(b,d,T,A,h,_,g);((M=A.onVnodeUpdated)||k)&&Se(()=>{M&&Xe(M,h,d,c),k&&Tt(d,c,h,"updated")},_)},ce=(c,d,h,_,g,y,C)=>{for(let b=0;b<d.length;b++){const x=c[b],v=d[b],k=x.el&&(x.type===X||!Ot(x,v)||x.shapeFlag&70)?p(x.el):h;D(x,v,k,null,_,g,y,C,!0)}},$=(c,d,h,_,g,y,C)=>{if(h!==_){for(const b in _){if(Fn(b))continue;const x=_[b],v=h[b];x!==v&&b!=="value"&&o(c,b,v,x,C,d.children,g,y,lt)}if(h!==G)for(const b in h)!Fn(b)&&!(b in _)&&o(c,b,h[b],null,C,d.children,g,y,lt);"value"in _&&o(c,"value",h.value,_.value)}},oe=(c,d,h,_,g,y,C,b,x)=>{const v=d.el=c?c.el:l(""),k=d.anchor=c?c.anchor:l("");let{patchFlag:T,dynamicChildren:A,slotScopeIds:M}=d;M&&(b=b?b.concat(M):M),c==null?(r(v,h,_),r(k,h,_),B(d.children,h,k,g,y,C,b,x)):T>0&&T&64&&A&&c.dynamicChildren?(ce(c.dynamicChildren,A,h,g,y,C,b),(d.key!=null||g&&d===g.subTree)&&zo(c,d,!0)):it(c,d,h,k,g,y,C,b,x)},ve=(c,d,h,_,g,y,C,b,x)=>{d.slotScopeIds=b,c==null?d.shapeFlag&512?g.ctx.activate(d,h,_,C,x):me(d,h,_,g,y,C,x):we(c,d,x)},me=(c,d,h,_,g,y,C)=>{const b=c.component=sc(c,_,g);if(nr(c)&&(b.ctx.renderer=nn),oc(b),b.asyncDep){if(g&&g.registerDep(b,fe),!c.el){const x=b.subTree=F(je);ae(null,x,d,h)}return}fe(b,c,d,h,g,y,C)},we=(c,d,h)=>{const _=d.component=c.component;if(ga(c,d,h))if(_.asyncDep&&!_.asyncResolved){ie(_,d,h);return}else _.next=d,ua(_.update),_.update();else d.el=c.el,_.vnode=d},fe=(c,d,h,_,g,y,C)=>{const b=()=>{if(c.isMounted){let{next:k,bu:T,u:A,parent:M,vnode:V}=c,te=k,ne;$t(c,!1),k?(k.el=V.el,ie(c,k,C)):k=V,T&&jn(T),(ne=k.props&&k.props.onVnodeBeforeUpdate)&&Xe(ne,M,k,V),$t(c,!0);const le=Vr(c),qe=c.subTree;c.subTree=le,D(qe,le,p(qe.el),wr(qe),c,g,y),k.el=le.el,te===null&&_a(c,le.el),A&&Se(A,g),(ne=k.props&&k.props.onVnodeUpdated)&&Se(()=>Xe(ne,M,k,V),g)}else{let k;const{el:T,props:A}=d,{bm:M,m:V,parent:te}=c,ne=vn(d);if($t(c,!1),M&&jn(M),!ne&&(k=A&&A.onVnodeBeforeMount)&&Xe(k,te,d),$t(c,!0),T&&$s){const le=()=>{c.subTree=Vr(c),$s(T,c.subTree,c,g,null)};ne?d.type.__asyncLoader().then(()=>!c.isUnmounted&&le()):le()}else{const le=c.subTree=Vr(c);D(null,le,h,_,c,g,y),d.el=le.el}if(V&&Se(V,g),!ne&&(k=A&&A.onVnodeMounted)){const le=d;Se(()=>Xe(k,te,le),g)}(d.shapeFlag&256||te&&vn(te.vnode)&&te.vnode.shapeFlag&256)&&c.a&&Se(c.a,g),c.isMounted=!0,d=h=_=null}},x=c.effect=new Rr(b,()=>ao(v),c.scope),v=c.update=()=>x.run();v.id=c.uid,$t(c,!0),v()},ie=(c,d,h)=>{d.component=c;const _=c.vnode.props;c.vnode=d,c.next=null,Ha(c,d.props,_,h),za(c,d.children,h),jt(),Xn(void 0,c.update),Bt()},it=(c,d,h,_,g,y,C,b,x=!1)=>{const v=c&&c.children,k=c?c.shapeFlag:0,T=d.children,{patchFlag:A,shapeFlag:M}=d;if(A>0){if(A&128){Pn(v,T,h,_,g,y,C,b,x);return}else if(A&256){Ts(v,T,h,_,g,y,C,b,x);return}}M&8?(k&16&<(v,g,y),T!==v&&u(h,T)):k&16?M&16?Pn(v,T,h,_,g,y,C,b,x):lt(v,g,y,!0):(k&8&&u(h,""),M&16&&B(T,h,_,g,y,C,b,x))},Ts=(c,d,h,_,g,y,C,b,x)=>{c=c||Ft,d=d||Ft;const v=c.length,k=d.length,T=Math.min(v,k);let A;for(A=0;A<T;A++){const M=d[A]=x?gt(d[A]):Qe(d[A]);D(c[A],M,h,null,g,y,C,b,x)}v>k?lt(c,g,y,!0,!1,T):B(d,h,_,g,y,C,b,x,T)},Pn=(c,d,h,_,g,y,C,b,x)=>{let v=0;const k=d.length;let T=c.length-1,A=k-1;for(;v<=T&&v<=A;){const M=c[v],V=d[v]=x?gt(d[v]):Qe(d[v]);if(Ot(M,V))D(M,V,h,null,g,y,C,b,x);else break;v++}for(;v<=T&&v<=A;){const M=c[T],V=d[A]=x?gt(d[A]):Qe(d[A]);if(Ot(M,V))D(M,V,h,null,g,y,C,b,x);else break;T--,A--}if(v>T){if(v<=A){const M=A+1,V=M<k?d[M].el:_;for(;v<=A;)D(null,d[v]=x?gt(d[v]):Qe(d[v]),h,V,g,y,C,b,x),v++}}else if(v>A)for(;v<=T;)xt(c[v],g,y,!0),v++;else{const M=v,V=v,te=new Map;for(v=V;v<=A;v++){const Me=d[v]=x?gt(d[v]):Qe(d[v]);Me.key!=null&&te.set(Me.key,v)}let ne,le=0;const qe=A-V+1;let rn=!1,ul=0;const Dn=new Array(qe);for(v=0;v<qe;v++)Dn[v]=0;for(v=M;v<=T;v++){const Me=c[v];if(le>=qe){xt(Me,g,y,!0);continue}let Ge;if(Me.key!=null)Ge=te.get(Me.key);else for(ne=V;ne<=A;ne++)if(Dn[ne-V]===0&&Ot(Me,d[ne])){Ge=ne;break}Ge===void 0?xt(Me,g,y,!0):(Dn[Ge-V]=v+1,Ge>=ul?ul=Ge:rn=!0,D(Me,d[Ge],h,null,g,y,C,b,x),le++)}const fl=rn?Qa(Dn):Ft;for(ne=fl.length-1,v=qe-1;v>=0;v--){const Me=V+v,Ge=d[Me],dl=Me+1<k?d[Me+1].el:_;Dn[v]===0?D(null,Ge,h,dl,g,y,C,b,x):rn&&(ne<0||v!==fl[ne]?tn(Ge,h,dl,2):ne--)}}},tn=(c,d,h,_,g=null)=>{const{el:y,type:C,transition:b,children:x,shapeFlag:v}=c;if(v&6){tn(c.component.subTree,d,h,_);return}if(v&128){c.suspense.move(d,h,_);return}if(v&64){C.move(c,d,h,nn);return}if(C===X){r(y,d,h);for(let T=0;T<x.length;T++)tn(x[T],d,h,_);r(c.anchor,d,h);return}if(C===es){ee(c,d,h);return}if(_!==2&&v&1&&b)if(_===0)b.beforeEnter(y),r(y,d,h),Se(()=>b.enter(y),g);else{const{leave:T,delayLeave:A,afterLeave:M}=b,V=()=>r(y,d,h),te=()=>{T(y,()=>{V(),M&&M()})};A?A(y,V,te):te()}else r(y,d,h)},xt=(c,d,h,_=!1,g=!1)=>{const{type:y,props:C,ref:b,children:x,dynamicChildren:v,shapeFlag:k,patchFlag:T,dirs:A}=c;if(b!=null&&Zr(b,null,h,c,!0),k&256){d.ctx.deactivate(c);return}const M=k&1&&A,V=!vn(c);let te;if(V&&(te=C&&C.onVnodeBeforeUnmount)&&Xe(te,d,c),k&6)yp(c.component,h,_);else{if(k&128){c.suspense.unmount(h,_);return}M&&Tt(c,null,d,"beforeUnmount"),k&64?c.type.remove(c,d,h,g,nn,_):v&&(y!==X||T>0&&T&64)?lt(v,d,h,!1,!0):(y===X&&T&384||!g&&k&16)&<(x,d,h),_&&al(c)}(V&&(te=C&&C.onVnodeUnmounted)||M)&&Se(()=>{te&&Xe(te,d,c),M&&Tt(c,null,d,"unmounted")},h)},al=c=>{const{type:d,el:h,anchor:_,transition:g}=c;if(d===X){bp(h,_);return}if(d===es){J(c);return}const y=()=>{s(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:C,delayLeave:b}=g,x=()=>C(h,y);b?b(c.el,y,x):x()}else y()},bp=(c,d)=>{let h;for(;c!==d;)h=m(c),s(c),c=h;s(d)},yp=(c,d,h)=>{const{bum:_,scope:g,update:y,subTree:C,um:b}=c;_&&jn(_),g.stop(),y&&(y.active=!1,xt(C,c,d,h)),b&&Se(b,d),Se(()=>{c.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},lt=(c,d,h,_=!1,g=!1,y=0)=>{for(let C=y;C<c.length;C++)xt(c[C],d,h,_,g)},wr=c=>c.shapeFlag&6?wr(c.component.subTree):c.shapeFlag&128?c.suspense.next():m(c.anchor||c.el),cl=(c,d,h)=>{c==null?d._vnode&&xt(d._vnode,null,null,!0):D(d._vnode||null,c,d,null,null,null,h),fo(),d._vnode=c},nn={p:D,um:xt,m:tn,r:al,mt:me,mc:B,pc:it,pbc:ce,n:wr,o:e};let Ss,$s;return t&&([Ss,$s]=t(nn)),{render:cl,hydrate:Ss,createApp:Wa(cl,Ss)}}function $t({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function zo(e,t,n=!1){const r=e.children,s=t.children;if(O(r)&&O(s))for(let o=0;o<r.length;o++){const i=r[o];let l=s[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[o]=gt(s[o]),l.el=i.el),n||zo(i,l))}}function Qa(e){const t=e.slice(),n=[0];let r,s,o,i,l;const a=e.length;for(r=0;r<a;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Xa=e=>e.__isTeleport,X=Symbol(void 0),Gr=Symbol(void 0),je=Symbol(void 0),es=Symbol(void 0),yn=[];let Ke=null;function w(e=!1){yn.push(Ke=e?null:[])}function Za(){yn.pop(),Ke=yn[yn.length-1]||null}let xn=1;function qo(e){xn+=e}function Wo(e){return e.dynamicChildren=xn>0?Ke||Ft:null,Za(),xn>0&&Ke&&Ke.push(e),e}function R(e,t,n,r,s,o){return Wo(I(e,t,n,r,s,o,!0))}function se(e,t,n,r,s){return Wo(F(e,t,n,r,s,!0))}function ir(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const lr="__vInternal",Jo=({key:e})=>e!=null?e:null,ar=({ref:e,ref_key:t,ref_for:n})=>e!=null?he(e)||W(e)||N(e)?{i:Ee,r:e,k:t,f:!!n}:e:null;function I(e,t=null,n=null,r=0,s=null,o=e===X?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jo(t),ref:t&&ar(t),scopeId:Gn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(ts(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=he(n)?8:16),xn>0&&!i&&Ke&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ke.push(a),a}const F=Ga;function Ga(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===$o)&&(e=je),ir(e)){const l=mt(e,t,!0);return n&&ts(l,n),xn>0&&!o&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag|=-2,l}if(uc(e)&&(e=e.__vccOpts),t){t=ec(t);let{class:l,style:a}=t;l&&!he(l)&&(t.class=at(l)),ue(a)&&(no(a)&&!O(a)&&(a=ye({},a)),t.style=wt(a))}const i=he(e)?1:va(e)?128:Xa(e)?64:ue(e)?4:N(e)?2:0;return I(e,t,n,r,s,i,o,!0)}function ec(e){return e?no(e)||lr in e?ye({},e):e:null}function mt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?tc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Jo(l),ref:t&&t.ref?n&&s?O(s)?s.concat(ar(t)):[s,ar(t)]:ar(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==X?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),el:e.el,anchor:e.anchor}}function $e(e=" ",t=0){return F(Gr,null,e,t)}function Te(e="",t=!1){return t?(w(),se(je,null,e)):F(je,null,e)}function Qe(e){return e==null||typeof e=="boolean"?F(je):O(e)?F(X,null,e.slice()):typeof e=="object"?gt(e):F(Gr,null,String(e))}function gt(e){return e.el===null||e.memo?e:mt(e)}function ts(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(O(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),ts(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(lr in t)?t._ctx=Ee:s===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[$e(t)]):n=8);e.children=t,e.shapeFlag|=n}function tc(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=at([t.class,r.class]));else if(s==="style")t.style=wt([t.style,r.style]);else if(Mn(s)){const o=t[s],i=r[s];i&&o!==i&&!(O(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function Xe(e,t,n,r=null){Fe(e,t,7,[n,r])}const nc=Ko();let rc=0;function sc(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||nc,o={uid:rc++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ms(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mo(r,s),emitsOptions:ho(r,s),emit:null,emitted:null,propsDefaults:G,inheritAttrs:r.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=pa.bind(null,o),e.ce&&e.ce(o),o}let ge=null;const ns=()=>ge||Ee,qt=e=>{ge=e,e.scope.on()},kt=()=>{ge&&ge.scope.off(),ge=null};function Yo(e){return e.vnode.shapeFlag&4}let wn=!1;function oc(e,t=!1){wn=t;const{props:n,children:r}=e.vnode,s=Yo(e);Ba(e,n,s,t),Ka(e,r);const o=s?ic(e,t):void 0;return wn=!1,o}function ic(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ht(new Proxy(e.ctx,Da));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?ac(e):null;qt(e),jt();const o=pt(r,e,0,[e.props,s]);if(Bt(),kt(),Rs(o)){if(o.then(kt,kt),t)return o.then(i=>{Qo(e,i,t)}).catch(i=>{Yn(i,e,0)});e.asyncDep=o}else Qo(e,o,t)}else Zo(e,t)}function Qo(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=oo(t)),Zo(e,n)}let Xo;function Zo(e,t,n){const r=e.type;if(!e.render){if(!t&&Xo&&!r.render){const s=r.template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,f=ye(ye({isCustomElement:o,delimiters:l},i),a);r.render=Xo(s,f)}}e.render=r.render||He}qt(e),jt(),Ma(e),Bt(),kt()}function lc(e){return new Proxy(e.attrs,{get(t,n){return Ae(e,"get","$attrs"),t[n]}})}function ac(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=lc(e))},slots:e.slots,emit:e.emit,expose:t}}function cr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(oo(Ht(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in sr)return sr[n](e)}}))}function cc(e,t=!0){return N(e)?e.displayName||e.name:e.name||t&&e.__name}function uc(e){return N(e)&&"__vccOpts"in e}const de=(e,t)=>la(e,t,wn);function fc(e,t,n){const r=arguments.length;return r===2?ue(t)&&!O(t)?ir(t)?F(e,null,[t]):F(e,t):F(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ir(n)&&(n=[n]),F(e,t,n))}const dc="3.2.37",pc="http://www.w3.org/2000/svg",At=typeof document!="undefined"?document:null,Go=At&&At.createElement("template"),hc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?At.createElementNS(pc,e):At.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>At.createTextNode(e),createComment:e=>At.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>At.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Go.innerHTML=r?`<svg>${e}</svg>`:e;const l=Go.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function mc(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function gc(e,t,n){const r=e.style,s=he(n);if(n&&!s){for(const o in n)rs(r,o,n[o]);if(t&&!he(t))for(const o in t)n[o]==null&&rs(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const ei=/\s*!important$/;function rs(e,t,n){if(O(n))n.forEach(r=>rs(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=_c(e,t);ei.test(n)?e.setProperty(Et(r),n.replace(ei,""),"important"):e[r]=n}}const ti=["Webkit","Moz","ms"],ss={};function _c(e,t){const n=ss[t];if(n)return n;let r=We(t);if(r!=="filter"&&r in e)return ss[t]=r;r=Nn(r);for(let s=0;s<ti.length;s++){const o=ti[s]+r;if(o in e)return ss[t]=o}return t}const ni="http://www.w3.org/1999/xlink";function vc(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ni,t.slice(6,t.length)):e.setAttributeNS(ni,t,n);else{const o=ml(t);n==null||o&&!Os(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function bc(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n==null?"":n;(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Os(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}const[ri,yc]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let os=0;const xc=Promise.resolve(),wc=()=>{os=0},Ec=()=>os||(xc.then(wc),os=ri());function _t(e,t,n,r){e.addEventListener(t,n,r)}function Cc(e,t,n,r){e.removeEventListener(t,n,r)}function Ic(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=Tc(t);if(r){const f=o[t]=Sc(r,s);_t(e,l,f,a)}else i&&(Cc(e,l,i,a),o[t]=void 0)}}const si=/(?:Once|Passive|Capture)$/;function Tc(e){let t;if(si.test(e)){t={};let n;for(;n=e.match(si);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[Et(e.slice(2)),t]}function Sc(e,t){const n=r=>{const s=r.timeStamp||ri();(yc||s>=n.attached-1)&&Fe($c(r,n.value),t,5,[r])};return n.value=e,n.attached=Ec(),n}function $c(e,t){if(O(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const oi=/^on[a-z]/,Oc=(e,t,n,r,s=!1,o,i,l,a)=>{t==="class"?mc(e,r,s):t==="style"?gc(e,n,r):Mn(t)?Cr(t)||Ic(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kc(e,t,r,s))?bc(e,t,r,o,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),vc(e,t,r,s))};function kc(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&oi.test(t)&&N(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||oi.test(t)&&he(n)?!1:t in e}const vt="transition",En="animation",ur=(e,{slots:t})=>fc(xo,Ac(e),t);ur.displayName="Transition";const ii={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};ur.props=ye({},xo.props,ii);const Rt=(e,t=[])=>{O(e)?e.forEach(n=>n(...t)):e&&e(...t)},li=e=>e?O(e)?e.some(t=>t.length>1):e.length>1:!1;function Ac(e){const t={};for(const $ in e)$ in ii||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:f=i,appearToClass:u=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,P=Rc(s),U=P&&P[0],D=P&&P[1],{onBeforeEnter:L,onEnter:ae,onEnterCancelled:q,onLeave:ee,onLeaveCancelled:J,onBeforeAppear:ke=L,onAppear:Y=ae,onAppearCancelled:S=q}=t,B=($,oe,ve)=>{Lt($,oe?u:l),Lt($,oe?f:i),ve&&ve()},Z=($,oe)=>{$._isLeaving=!1,Lt($,p),Lt($,E),Lt($,m),oe&&oe()},ce=$=>(oe,ve)=>{const me=$?Y:ae,we=()=>B(oe,$,ve);Rt(me,[oe,we]),ai(()=>{Lt(oe,$?a:o),bt(oe,$?u:l),li(me)||ci(oe,r,U,we)})};return ye(t,{onBeforeEnter($){Rt(L,[$]),bt($,o),bt($,i)},onBeforeAppear($){Rt(ke,[$]),bt($,a),bt($,f)},onEnter:ce(!1),onAppear:ce(!0),onLeave($,oe){$._isLeaving=!0;const ve=()=>Z($,oe);bt($,p),Dc(),bt($,m),ai(()=>{!$._isLeaving||(Lt($,p),bt($,E),li(ee)||ci($,r,D,ve))}),Rt(ee,[$,ve])},onEnterCancelled($){B($,!1),Rt(q,[$])},onAppearCancelled($){B($,!0),Rt(S,[$])},onLeaveCancelled($){Z($),Rt(J,[$])}})}function Rc(e){if(e==null)return null;if(ue(e))return[is(e.enter),is(e.leave)];{const t=is(e);return[t,t]}}function is(e){return cn(e)}function bt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Lt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function ai(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Lc=0;function ci(e,t,n,r){const s=e._endId=++Lc,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Pc(e,t);if(!i)return r();const f=i+"end";let u=0;const p=()=>{e.removeEventListener(f,m),o()},m=E=>{E.target===e&&++u>=a&&p()};setTimeout(()=>{u<a&&p()},l+1),e.addEventListener(f,m)}function Pc(e,t){const n=window.getComputedStyle(e),r=P=>(n[P]||"").split(", "),s=r(vt+"Delay"),o=r(vt+"Duration"),i=ui(s,o),l=r(En+"Delay"),a=r(En+"Duration"),f=ui(l,a);let u=null,p=0,m=0;t===vt?i>0&&(u=vt,p=i,m=o.length):t===En?f>0&&(u=En,p=f,m=a.length):(p=Math.max(i,f),u=p>0?i>f?vt:En:null,m=u?u===vt?o.length:a.length:0);const E=u===vt&&/\b(transform|all)(,|$)/.test(n[vt+"Property"]);return{type:u,timeout:p,propCount:m,hasTransform:E}}function ui(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>fi(n)+fi(e[r])))}function fi(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Dc(){return document.body.offsetHeight}const Wt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?n=>jn(t,n):t};function Mc(e){e.target.composing=!0}function di(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pi={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=Wt(s);const o=r||s.props&&s.props.type==="number";_t(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=cn(l)),e._assign(l)}),n&&_t(e,"change",()=>{e.value=e.value.trim()}),t||(_t(e,"compositionstart",Mc),_t(e,"compositionend",di),_t(e,"change",di))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=Wt(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&cn(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Cn={deep:!0,created(e,t,n){e._assign=Wt(n),_t(e,"change",()=>{const r=e._modelValue,s=Tn(e),o=e.checked,i=e._assign;if(O(r)){const l=Er(r,s),a=l!==-1;if(o&&!a)i(r.concat(s));else if(!o&&a){const f=[...r];f.splice(l,1),i(f)}}else if(Nt(r)){const l=new Set(r);o?l.add(s):l.delete(s),i(l)}else i(gi(e,o))})},mounted:hi,beforeUpdate(e,t,n){e._assign=Wt(n),hi(e,t,n)}};function hi(e,{value:t,oldValue:n},r){e._modelValue=t,O(t)?e.checked=Er(t,r.props.value)>-1:Nt(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=sn(t,gi(e,!0)))}const In={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Nt(t);_t(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?cn(Tn(i)):Tn(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=Wt(r)},mounted(e,{value:t}){mi(e,t)},beforeUpdate(e,t,n){e._assign=Wt(n)},updated(e,{value:t}){mi(e,t)}};function mi(e,t){const n=e.multiple;if(!(n&&!O(t)&&!Nt(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=Tn(o);if(n)O(t)?o.selected=Er(t,i)>-1:o.selected=t.has(i);else if(sn(Tn(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Tn(e){return"_value"in e?e._value:e.value}function gi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Fc=["ctrl","shift","alt","meta"],Uc={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Fc.some(n=>e[`${n}Key`]&&!t.includes(n))},Nc=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=Uc[t[s]];if(o&&o(n,t))return}return e(n,...r)},jc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_i=(e,t)=>n=>{if(!("key"in n))return;const r=Et(n.key);if(t.some(s=>s===r||jc[s]===r))return e(n)},Bc=ye({patchProp:Oc},hc);let vi;function Hc(){return vi||(vi=Ja(Bc))}const Vc=(...e)=>{const t=Hc().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Kc(r);if(!s)return;const o=t._component;!N(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function Kc(e){return he(e)?document.querySelector(e):e}var zc=!1;/*!
|
|
2
|
+
* pinia v2.0.14
|
|
3
|
+
* (c) 2022 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/let bi;const fr=e=>bi=e,yi=Symbol();function ls(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sn||(Sn={}));function qc(){const e=Fs(!0),t=e.run(()=>Re({}));let n=[],r=[];const s=Ht({install(o){fr(s),s._a=o,o.provide(yi,s),o.config.globalProperties.$pinia=s,r.forEach(i=>n.push(i)),r=[]},use(o){return!this._a&&!zc?r.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const xi=()=>{};function wi(e,t,n,r=xi){e.push(t);const s=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),r())};return!n&&ns()&&zt(s),s}function Jt(e,...t){e.slice().forEach(n=>{n(...t)})}function as(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];ls(s)&&ls(r)&&e.hasOwnProperty(n)&&!W(r)&&!dt(r)?e[n]=as(s,r):e[n]=r}return e}const Wc=Symbol();function Jc(e){return!ls(e)||!e.hasOwnProperty(Wc)}const{assign:st}=Object;function Yc(e){return!!(W(e)&&e.effect)}function Qc(e,t,n,r){const{state:s,actions:o,getters:i}=t,l=n.state.value[e];let a;function f(){l||(n.state.value[e]=s?s():{});const u=ra(n.state.value[e]);return st(u,o,Object.keys(i||{}).reduce((p,m)=>(p[m]=Ht(de(()=>{fr(n);const E=n._s.get(e);return i[m].call(E,E)})),p),{}))}return a=Ei(e,f,t,n,r,!0),a.$reset=function(){const p=s?s():{};this.$patch(m=>{st(m,p)})},a}function Ei(e,t,n={},r,s,o){let i;const l=st({actions:{}},n),a={deep:!0};let f,u,p=Ht([]),m=Ht([]),E;const P=r.state.value[e];!o&&!P&&(r.state.value[e]={}),Re({});let U;function D(Y){let S;f=u=!1,typeof Y=="function"?(Y(r.state.value[e]),S={type:Sn.patchFunction,storeId:e,events:E}):(as(r.state.value[e],Y),S={type:Sn.patchObject,payload:Y,storeId:e,events:E});const B=U=Symbol();lo().then(()=>{U===B&&(f=!0)}),u=!0,Jt(p,S,r.state.value[e])}const L=xi;function ae(){i.stop(),p=[],m=[],r._s.delete(e)}function q(Y,S){return function(){fr(r);const B=Array.from(arguments),Z=[],ce=[];function $(me){Z.push(me)}function oe(me){ce.push(me)}Jt(m,{args:B,name:Y,store:J,after:$,onError:oe});let ve;try{ve=S.apply(this&&this.$id===e?this:J,B)}catch(me){throw Jt(ce,me),me}return ve instanceof Promise?ve.then(me=>(Jt(Z,me),me)).catch(me=>(Jt(ce,me),Promise.reject(me))):(Jt(Z,ve),ve)}}const ee={_p:r,$id:e,$onAction:wi.bind(null,m),$patch:D,$reset:L,$subscribe(Y,S={}){const B=wi(p,Y,S.detached,()=>Z()),Z=i.run(()=>_n(()=>r.state.value[e],ce=>{(S.flush==="sync"?u:f)&&Y({storeId:e,type:Sn.direct,events:E},ce)},st({},a,S)));return B},$dispose:ae},J=Jn(st({},ee));r._s.set(e,J);const ke=r._e.run(()=>(i=Fs(),i.run(()=>t())));for(const Y in ke){const S=ke[Y];if(W(S)&&!Yc(S)||dt(S))o||(P&&Jc(S)&&(W(S)?S.value=P[Y]:as(S,P[Y])),r.state.value[e][Y]=S);else if(typeof S=="function"){const B=q(Y,S);ke[Y]=B,l.actions[Y]=S}}return st(J,ke),st(K(J),ke),Object.defineProperty(J,"$state",{get:()=>r.state.value[e],set:Y=>{D(S=>{st(S,Y)})}}),r._p.forEach(Y=>{st(J,i.run(()=>Y({store:J,app:r._a,pinia:r,options:l})))}),P&&o&&n.hydrate&&n.hydrate(J.$state,P),f=!0,u=!0,J}function cs(e,t,n){let r,s;const o=typeof t=="function";typeof e=="string"?(r=e,s=o?n:t):(s=e,r=e.id);function i(l,a){const f=ns();return l=l||f&&tr(yi),l&&fr(l),l=bi,l._s.has(r)||(o?Ei(r,t,s,l):Qc(r,s,l)),l._s.get(r)}return i.$id=r,i}const Ci={baseURL:"",projectId:void 0,projectToken:void 0,userToken:void 0},Ii=()=>{const e=t=>{Object.assign(Ci,t)};return Mt(et({},Ci),{updatePreferences:e})};var us={exports:{}},Ti=function(t,n){return function(){for(var s=new Array(arguments.length),o=0;o<s.length;o++)s[o]=arguments[o];return t.apply(n,s)}},Xc=Ti,fs=Object.prototype.toString,ds=function(e){return function(t){var n=fs.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Pt(e){return e=e.toLowerCase(),function(n){return ds(n)===e}}function ps(e){return Array.isArray(e)}function dr(e){return typeof e=="undefined"}function Zc(e){return e!==null&&!dr(e)&&e.constructor!==null&&!dr(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Si=Pt("ArrayBuffer");function Gc(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Si(e.buffer),t}function eu(e){return typeof e=="string"}function tu(e){return typeof e=="number"}function $i(e){return e!==null&&typeof e=="object"}function pr(e){if(ds(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var nu=Pt("Date"),ru=Pt("File"),su=Pt("Blob"),ou=Pt("FileList");function hs(e){return fs.call(e)==="[object Function]"}function iu(e){return $i(e)&&hs(e.pipe)}function lu(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||fs.call(e)===t||hs(e.toString)&&e.toString()===t)}var au=Pt("URLSearchParams");function cu(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function uu(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function ms(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),ps(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}function gs(){var e={};function t(s,o){pr(e[o])&&pr(s)?e[o]=gs(e[o],s):pr(s)?e[o]=gs({},s):ps(s)?e[o]=s.slice():e[o]=s}for(var n=0,r=arguments.length;n<r;n++)ms(arguments[n],t);return e}function fu(e,t,n){return ms(t,function(s,o){n&&typeof s=="function"?e[o]=Xc(s,n):e[o]=s}),e}function du(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function pu(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function hu(e,t,n){var r,s,o,i={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)o=r[s],i[o]||(t[o]=e[o],i[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function mu(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function gu(e){if(!e)return null;var t=e.length;if(dr(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var _u=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),xe={isArray:ps,isArrayBuffer:Si,isBuffer:Zc,isFormData:lu,isArrayBufferView:Gc,isString:eu,isNumber:tu,isObject:$i,isPlainObject:pr,isUndefined:dr,isDate:nu,isFile:ru,isBlob:su,isFunction:hs,isStream:iu,isURLSearchParams:au,isStandardBrowserEnv:uu,forEach:ms,merge:gs,extend:fu,trim:cu,stripBOM:du,inherits:pu,toFlatObject:hu,kindOf:ds,kindOfTest:Pt,endsWith:mu,toArray:gu,isTypedArray:_u,isFileList:ou},Yt=xe;function Oi(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var ki=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Yt.isURLSearchParams(n))s=n.toString();else{var o=[];Yt.forEach(n,function(a,f){a===null||typeof a=="undefined"||(Yt.isArray(a)?f=f+"[]":a=[a],Yt.forEach(a,function(p){Yt.isDate(p)?p=p.toISOString():Yt.isObject(p)&&(p=JSON.stringify(p)),o.push(Oi(f)+"="+Oi(p))}))}),s=o.join("&")}if(s){var i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},vu=xe;function hr(){this.handlers=[]}hr.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1},hr.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},hr.prototype.forEach=function(t){vu.forEach(this.handlers,function(r){r!==null&&t(r)})};var bu=hr,yu=xe,xu=function(t,n){yu.forEach(t,function(s,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[o])})},Ai=xe;function Qt(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Ai.inherits(Qt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Ri=Qt.prototype,Li={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Li[e]={value:e}}),Object.defineProperties(Qt,Li),Object.defineProperty(Ri,"isAxiosError",{value:!0}),Qt.from=function(e,t,n,r,s,o){var i=Object.create(Ri);return Ai.toFlatObject(e,i,function(a){return a!==Error.prototype}),Qt.call(i,e.message,t,n,r,s),i.name=e.name,o&&Object.assign(i,o),i};var Xt=Qt,Pi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ze=xe;function wu(e,t){t=t||new FormData;var n=[];function r(o){return o===null?"":ze.isDate(o)?o.toISOString():ze.isArrayBuffer(o)||ze.isTypedArray(o)?typeof Blob=="function"?new Blob([o]):Buffer.from(o):o}function s(o,i){if(ze.isPlainObject(o)||ze.isArray(o)){if(n.indexOf(o)!==-1)throw Error("Circular reference detected in "+i);n.push(o),ze.forEach(o,function(a,f){if(!ze.isUndefined(a)){var u=i?i+"."+f:f,p;if(a&&!i&&typeof a=="object"){if(ze.endsWith(f,"{}"))a=JSON.stringify(a);else if(ze.endsWith(f,"[]")&&(p=ze.toArray(a))){p.forEach(function(m){!ze.isUndefined(m)&&t.append(u,r(m))});return}}s(a,u)}}),n.pop()}else t.append(i,r(o))}return s(e),t}var Di=wu,_s=Xt,Eu=function(t,n,r){var s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new _s("Request failed with status code "+r.status,[_s.ERR_BAD_REQUEST,_s.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},mr=xe,Cu=mr.isStandardBrowserEnv()?function(){return{write:function(n,r,s,o,i,l){var a=[];a.push(n+"="+encodeURIComponent(r)),mr.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),mr.isString(o)&&a.push("path="+o),mr.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Iu=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Tu=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},Su=Iu,$u=Tu,Mi=function(t,n){return t&&!Su(n)?$u(t,n):n},vs=xe,Ou=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],ku=function(t){var n={},r,s,o;return t&&vs.forEach(t.split(`
|
|
6
|
+
`),function(l){if(o=l.indexOf(":"),r=vs.trim(l.substr(0,o)).toLowerCase(),s=vs.trim(l.substr(o+1)),r){if(n[r]&&Ou.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},Fi=xe,Au=Fi.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(o){var i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){var l=Fi.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),bs=Xt,Ru=xe;function Ui(e){bs.call(this,e==null?"canceled":e,bs.ERR_CANCELED),this.name="CanceledError"}Ru.inherits(Ui,bs,{__CANCEL__:!0});var gr=Ui,Lu=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},$n=xe,Pu=Eu,Du=Cu,Mu=ki,Fu=Mi,Uu=ku,Nu=Au,ju=Pi,ot=Xt,Bu=gr,Hu=Lu,Ni=function(t){return new Promise(function(r,s){var o=t.data,i=t.headers,l=t.responseType,a;function f(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}$n.isFormData(o)&&$n.isStandardBrowserEnv()&&delete i["Content-Type"];var u=new XMLHttpRequest;if(t.auth){var p=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(p+":"+m)}var E=Fu(t.baseURL,t.url);u.open(t.method.toUpperCase(),Mu(E,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function P(){if(!!u){var L="getAllResponseHeaders"in u?Uu(u.getAllResponseHeaders()):null,ae=!l||l==="text"||l==="json"?u.responseText:u.response,q={data:ae,status:u.status,statusText:u.statusText,headers:L,config:t,request:u};Pu(function(J){r(J),f()},function(J){s(J),f()},q),u=null}}if("onloadend"in u?u.onloadend=P:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(P)},u.onabort=function(){!u||(s(new ot("Request aborted",ot.ECONNABORTED,t,u)),u=null)},u.onerror=function(){s(new ot("Network Error",ot.ERR_NETWORK,t,u,u)),u=null},u.ontimeout=function(){var ae=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",q=t.transitional||ju;t.timeoutErrorMessage&&(ae=t.timeoutErrorMessage),s(new ot(ae,q.clarifyTimeoutError?ot.ETIMEDOUT:ot.ECONNABORTED,t,u)),u=null},$n.isStandardBrowserEnv()){var U=(t.withCredentials||Nu(E))&&t.xsrfCookieName?Du.read(t.xsrfCookieName):void 0;U&&(i[t.xsrfHeaderName]=U)}"setRequestHeader"in u&&$n.forEach(i,function(ae,q){typeof o=="undefined"&&q.toLowerCase()==="content-type"?delete i[q]:u.setRequestHeader(q,ae)}),$n.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),l&&l!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(a=function(L){!u||(s(!L||L&&L.type?new Bu:L),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a))),o||(o=null);var D=Hu(E);if(D&&["http","https","file"].indexOf(D)===-1){s(new ot("Unsupported protocol "+D+":",ot.ERR_BAD_REQUEST,t));return}u.send(o)})},Vu=null,_e=xe,ji=xu,Bi=Xt,Ku=Pi,zu=Di,qu={"Content-Type":"application/x-www-form-urlencoded"};function Hi(e,t){!_e.isUndefined(e)&&_e.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Wu(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Ni),e}function Ju(e,t,n){if(_e.isString(e))try{return(t||JSON.parse)(e),_e.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var _r={transitional:Ku,adapter:Wu(),transformRequest:[function(t,n){if(ji(n,"Accept"),ji(n,"Content-Type"),_e.isFormData(t)||_e.isArrayBuffer(t)||_e.isBuffer(t)||_e.isStream(t)||_e.isFile(t)||_e.isBlob(t))return t;if(_e.isArrayBufferView(t))return t.buffer;if(_e.isURLSearchParams(t))return Hi(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=_e.isObject(t),s=n&&n["Content-Type"],o;if((o=_e.isFileList(t))||r&&s==="multipart/form-data"){var i=this.env&&this.env.FormData;return zu(o?{"files[]":t}:t,i&&new i)}else if(r||s==="application/json")return Hi(n,"application/json"),Ju(t);return t}],transformResponse:[function(t){var n=this.transitional||_r.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||s&&_e.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?Bi.from(i,Bi.ERR_BAD_RESPONSE,this,null,this.response):i}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vu},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};_e.forEach(["delete","get","head"],function(t){_r.headers[t]={}}),_e.forEach(["post","put","patch"],function(t){_r.headers[t]=_e.merge(qu)});var ys=_r,Yu=xe,Qu=ys,Xu=function(t,n,r){var s=this||Qu;return Yu.forEach(r,function(i){t=i.call(s,t,n)}),t},Vi=function(t){return!!(t&&t.__CANCEL__)},Ki=xe,xs=Xu,Zu=Vi,Gu=ys,ef=gr;function ws(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ef}var tf=function(t){ws(t),t.headers=t.headers||{},t.data=xs.call(t,t.data,t.headers,t.transformRequest),t.headers=Ki.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Ki.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||Gu.adapter;return n(t).then(function(s){return ws(t),s.data=xs.call(t,s.data,s.headers,t.transformResponse),s},function(s){return Zu(s)||(ws(t),s&&s.response&&(s.response.data=xs.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},De=xe,zi=function(t,n){n=n||{};var r={};function s(u,p){return De.isPlainObject(u)&&De.isPlainObject(p)?De.merge(u,p):De.isPlainObject(p)?De.merge({},p):De.isArray(p)?p.slice():p}function o(u){if(De.isUndefined(n[u])){if(!De.isUndefined(t[u]))return s(void 0,t[u])}else return s(t[u],n[u])}function i(u){if(!De.isUndefined(n[u]))return s(void 0,n[u])}function l(u){if(De.isUndefined(n[u])){if(!De.isUndefined(t[u]))return s(void 0,t[u])}else return s(void 0,n[u])}function a(u){if(u in n)return s(t[u],n[u]);if(u in t)return s(void 0,t[u])}var f={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:a};return De.forEach(Object.keys(t).concat(Object.keys(n)),function(p){var m=f[p]||o,E=m(p);De.isUndefined(E)&&m!==a||(r[p]=E)}),r},qi={version:"0.27.2"},nf=qi.version,yt=Xt,Es={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Es[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Wi={};Es.transitional=function(t,n,r){function s(o,i){return"[Axios v"+nf+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return function(o,i,l){if(t===!1)throw new yt(s(i," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!Wi[i]&&(Wi[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function rf(e,t,n){if(typeof e!="object")throw new yt("options must be an object",yt.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),s=r.length;s-- >0;){var o=r[s],i=t[o];if(i){var l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new yt("option "+o+" must be "+a,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+o,yt.ERR_BAD_OPTION)}}var sf={assertOptions:rf,validators:Es},Ji=xe,of=ki,Yi=bu,Qi=tf,vr=zi,lf=Mi,Xi=sf,Zt=Xi.validators;function Gt(e){this.defaults=e,this.interceptors={request:new Yi,response:new Yi}}Gt.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=vr(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Xi.assertOptions(r,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean)},!1);var s=[],o=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(o=o&&E.synchronous,s.unshift(E.fulfilled,E.rejected))});var i=[];this.interceptors.response.forEach(function(E){i.push(E.fulfilled,E.rejected)});var l;if(!o){var a=[Qi,void 0];for(Array.prototype.unshift.apply(a,s),a=a.concat(i),l=Promise.resolve(n);a.length;)l=l.then(a.shift(),a.shift());return l}for(var f=n;s.length;){var u=s.shift(),p=s.shift();try{f=u(f)}catch(m){p(m);break}}try{l=Qi(f)}catch(m){return Promise.reject(m)}for(;i.length;)l=l.then(i.shift(),i.shift());return l},Gt.prototype.getUri=function(t){t=vr(this.defaults,t);var n=lf(t.baseURL,t.url);return of(n,t.params,t.paramsSerializer)},Ji.forEach(["delete","get","head","options"],function(t){Gt.prototype[t]=function(n,r){return this.request(vr(r||{},{method:t,url:n,data:(r||{}).data}))}}),Ji.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,l){return this.request(vr(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}Gt.prototype[t]=n(),Gt.prototype[t+"Form"]=n(!0)});var af=Gt,cf=gr;function en(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,o=n._listeners.length;for(s=0;s<o;s++)n._listeners[s](r);n._listeners=null}}),this.promise.then=function(r){var s,o=new Promise(function(i){n.subscribe(i),s=i}).then(r);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s){n.reason||(n.reason=new cf(s),t(n.reason))})}en.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},en.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]},en.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}},en.source=function(){var t,n=new en(function(s){t=s});return{token:n,cancel:t}};var uf=en,ff=function(t){return function(r){return t.apply(null,r)}},df=xe,pf=function(t){return df.isObject(t)&&t.isAxiosError===!0},Zi=xe,hf=Ti,br=af,mf=zi,gf=ys;function Gi(e){var t=new br(e),n=hf(br.prototype.request,t);return Zi.extend(n,br.prototype,t),Zi.extend(n,t),n.create=function(s){return Gi(mf(e,s))},n}var Oe=Gi(gf);Oe.Axios=br,Oe.CanceledError=gr,Oe.CancelToken=uf,Oe.isCancel=Vi,Oe.VERSION=qi.version,Oe.toFormData=Di,Oe.AxiosError=Xt,Oe.Cancel=Oe.CanceledError,Oe.all=function(t){return Promise.all(t)},Oe.spread=ff,Oe.isAxiosError=pf,us.exports=Oe,us.exports.default=Oe;var _f=us.exports;const el=(e={})=>{const{baseURL:t,projectId:n,projectToken:r,userToken:s,csrfToken:o}=Ii(),i=et({baseURL:t,params:{project_id:n,project_token:r,token:s}},e);return(!r||!(n&&s))&&Object.assign(i,{headers:{"X-CSRF-Token":o}}),_f.create(et({},i))};class vf{static key(t,n){return el().get(`/observation_matrices/${t}/key`,n)}}const bf=e=>({characterStateId:e.id,depictionIds:e.depiction_ids,label:e.label,name:e.name,numberOfObjects:e.number_of_objects,position:e.position,status:e.status}),yf=e=>({depictionId:e.id,caption:e.caption,figureLabel:e.figure_label,imageUrl:e.image.medium}),On={Qualitative:"Descriptor::Qualitative",Continuous:"Descriptor::Continuous",Sample:"Descriptor::Sample",Presence:"Descriptor::PresenceAbsence"},kn=e=>({descriptorId:e.id,name:e.name,description:e.description,position:e.position,status:e.status,type:e.type,depictionIds:e.depiction_ids,usefulness:e.usefulness,weight:e.weight}),xf=e=>Mt(et({},kn(e)),{defaultUnit:e.default_unit,max:e.max,min:e.min}),wf=e=>Mt(et({},kn(e)),{defaultUnit:e.default_unit,max:e.max,min:e.min}),Ef=e=>Mt(et({},kn(e)),{presence:e.precense}),Cf=e=>Mt(et({},kn(e)),{characterStates:e.states.map(t=>bf(t))}),If=e=>{switch(e.type){case On.Continuous:return xf(e);case On.Sample:return wf(e);case On.PresenceAbsence:return Ef(e);case On.Qualitative:return Cf(e);default:return kn(e)}},Tf=e=>({observationMatrixId:e.observation_matrix_id,name:e.observation_matrix.name,globalId:e.observation_matrix.global_id}),tl=e=>({errorDescriptors:e.error_descriptors,errors:e.errors,objectLabel:e.object.object_label,objectTag:e.object.object_tag,observationObjectId:e.object.observation_object_id,observationObjectType:e.object.observation_object_type,rowId:e.object.id}),Sf=e=>({keywordId:e.id,definition:e.description,name:e.name}),$f=e=>({languageId:e.id,name:e.english_name}),Ze=cs("observationMatrix",{state:()=>({observationMatrix:void 0,citation:void 0,descriptors:[],eliminated:[],remaining:[],availableKeywords:[],availableLanguages:[]}),getters:{getCitation:e=>e.citation,getObservationMatrix:e=>e.observationMatrix,getDescriptors:e=>e.descriptors,getDescriptorById:e=>t=>e.descriptors.find(n=>n.descriptorId===t),getDescriptorsUsed:e=>e.descriptors.filter(t=>t.status==="used"),getDescriptorsUseless:e=>e.descriptors.filter(t=>t.status==="useless"),getDescriptorsUseful:e=>e.descriptors.filter(t=>t.status==="useful"),getEliminated:e=>e.eliminated,getKeywords:e=>e.availableKeywords,getLanguages:e=>e.availableLanguages,getRemaining:e=>e.remaining},actions:{setDescriptors(e){this.descriptors=e},setEliminated(e){this.eliminated=e},setRemaining(e){this.remaining=e},setLanguages(e){this.availableLanguages=e},setKeywords(e){this.availableKeywords=e},setObservationMatrix(e){this.observationMatrix=e},async requestInteractiveKey({observationMatrixId:e,params:t={},opt:n={}}){const r=await vf.key(e,{params:t}),{data:s}=r;return n.refreshOnlyTaxa||(this.setObservationMatrix(Tf(s)),this.setDescriptors(s.list_of_descriptors.map(o=>If(o))),this.setKeywords(s.descriptor_available_keywords.map(o=>Sf(o))),this.setLanguages(s.descriptor_available_languages.map(o=>$f(o)))),this.setEliminated(s.eliminated.map(o=>tl(o))),this.setRemaining(s.remaining.map(o=>tl(o))),r}}}),Ce=cs("filter",{state:()=>({descriptors:{},eliminateUnknown:void 0,errorTolerance:void 0,identifiedToRank:void 0,keywordIds:[],languageId:void 0,rowIds:[],sorting:void 0}),getters:{getKeywordIds:e=>e.keywordIds,getLanguageId:e=>e.languageId,getRowIds:e=>e.rowIds,getDescriptors:e=>e.descriptors,getIdentifiedToRank:e=>e.identifiedToRank,getEliminateUknown:e=>e.eliminateUnknown,getErrorTolerance:e=>e.errorTolerance,getSorting:e=>e.sorting,getDescriptorValueById:e=>t=>{const n=e.descriptors[t];return typeof n=="boolean"?n:n||""},getFilterParams:e=>({selected_descriptors:Object.entries(e.descriptors).map(([n,r])=>Array.isArray(r)?`${n}:${r.join("|")}`:`${n}:${r}`).join("||"),language_id:e.languageId,keyword_ids:e.keywordIds,sorting:e.sorting,identified_to_rank:e.identifiedToRank,error_tolerance:e.errorTolerance,eliminate_unknown:e.eliminateUnknown,row_filter:e.rowIds.join("|")})},actions:{setDescriptor({descriptorId:e,value:t}){this.descriptors[e]=t},removeDescriptor(e){delete this.descriptors[e]},removeKeywordId(e){const t=this.keywordIds.findIndex(n=>n===e);t>-1&&this.keywordIds.splice(t,1)},addKeywordId(e){this.keywordIds.push(e)},setLanguageId(e){this.languageId=e},setErrorTolerance(e){this.errorTolerance=e},setEliminateUnknown(e){this.eliminateUnknown=e}}}),An=cs("settings",{state:()=>({gridLayout:"layout-mode-1",isLoading:!1,isRefreshing:!1,refreshOnlyTaxa:!1,rowFilter:!0,shouldUpdate:!0,observationMatrixId:void 0}),getters:{getIsLoading:e=>e.isLoading,getLayout:e=>e.gridLayout,getRefreshOnlyTaxa:e=>e.refreshOnlyTaxa,getRowFilter:e=>e.rowFilter,getShouldUpdate:e=>e.shouldUpdate,getObservationMatrixId:e=>e.observationMatrixId},actions:{setObservationMatrixId(e){this.observationMatrixId=e},setShouldUpdate(e){this.shouldUpdate=e},setRefreshOnlyTaxa(e){this.refreshOnlyTaxa=e},checkUpdate(){const e=Ce(),t=Ze(),n=this.observationMatrixId;this.shouldUpdate&&n&&(this.isLoading=!0,t.requestInteractiveKey({observationMatrixId:n,params:e.getFilterParams,opt:{refreshOnlyTaxa:this.refreshOnlyTaxa}}).then(r=>{this.isLoading=!1}))}}}),Of=$e(" Eliminate unknowns "),kf=z({__name:"FilterEliminateUnknowns",setup(e){const t=Ce(),n=de({get:()=>!!t.getEliminateUknown,set:r=>{t.setEliminateUnknown(r)}});return(r,s)=>(w(),R("label",null,[Ne(I("input",{"onUpdate:modelValue":s[0]||(s[0]=o=>W(n)?n.value=o:null),type:"checkbox"},null,512),[[Cn,j(n)]]),Of]))}}),Af=I("label",{for:"languages",class:"d-block"}," Error tolerance ",-1),Rf=I("option",{value:""},null,-1),Lf=["value"],Pf=z({__name:"FilterErrorTolerance",setup(e){const t=[0,1,2],n=Ce(),r=de({get:()=>n.getErrorTolerance,set:s=>{n.setErrorTolerance(s)}});return(s,o)=>(w(),R("div",null,[Af,Ne(I("select",{"onUpdate:modelValue":o[0]||(o[0]=i=>W(r)?r.value=i:null),name:"languages",role:"listbox"},[Rf,(w(),R(X,null,Pe(t,i=>I("option",{key:i,value:i},re(i),9,Lf)),64))],512),[[In,j(r)]])]))}}),Df=["otu","subspecies","species","subgenus","genus","subtribe","tribe","subfamily","family"],Mf=I("label",{class:"d-block"},"Identified to rank",-1),Ff=I("option",{value:void 0},null,-1),Uf=z({__name:"FilterRank",setup(e){const t=Ce(),n=de({get(){return t.getIdentifiedToRank},set(r){t.$patch({identifiedToRank:r})}});return(r,s)=>(w(),R("div",null,[Mf,Ne(I("select",{"onUpdate:modelValue":s[0]||(s[0]=o=>W(n)?n.value=o:null)},[Ff,(w(!0),R(X,null,Pe(j(Df),o=>(w(),R("option",{key:o},re(o),1))),128))],512),[[In,j(n)]])]))}}),Nf=I("label",{class:"d-block"},"Descriptor sorting",-1),jf=I("option",{value:void 0},null,-1),Bf=z({__name:"FilterSort",setup(e){const t=["ordered","weighted","optimized"],n=Ce(),r=de({get(){return n.getSorting},set(s){n.$patch({sorting:s})}});return(s,o)=>(w(),R("div",null,[Nf,Ne(I("select",{"onUpdate:modelValue":o[0]||(o[0]=i=>W(r)?r.value=i:null)},[jf,(w(),R(X,null,Pe(t,i=>I("option",{key:i},re(i),1)),64))],512),[[In,j(r)]])]))}}),Hf=I("label",{for:"languages",class:"d-block"}," Languages ",-1),Vf=["value"],Kf=z({__name:"FilterLanguage",setup(e){const t=Ce(),n=Ze(),r=de({get:()=>t.getLanguageId,set:s=>{t.setLanguageId(Number(s))}});return(s,o)=>(w(),R("div",null,[Hf,Ne(I("select",{"onUpdate:modelValue":o[0]||(o[0]=i=>W(r)?r.value=i:null),name:"languages",role:"listbox"},[(w(!0),R(X,null,Pe(j(n).getLanguages,({languageId:i,name:l})=>(w(),R("option",{key:i,value:i},re(l),9,Vf))),128))],512),[[In,j(r)]])]))}});var $p=(()=>`.btn{border-radius:8px;border:none}.btn-primary-color{background-color:var(--primary-color);color:#fff}.btn-medium-size{min-height:var(--btn-medium-size)}
|
|
7
|
+
`)();const yr=z({__name:"VBtn",props:{color:{default:"primary"},size:{default:"medium"}},setup(e){const t=e,n=de(()=>[`btn-${t.color}-color`,`btn-${t.size}-size`]);return(r,s)=>(w(),R("button",{type:"button",class:at(["btn",j(n)])},[Ye(r.$slots,"default")],2))}});var Op=(()=>`.modal-mask{position:fixed;z-index:1099;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:table;transition:opacity .3s ease}.modal-wrapper{display:table-cell;vertical-align:middle}.modal-container{position:relative;width:300px;margin:0 auto;padding:20px 30px;background-color:#fff;border-radius:2px;box-shadow:0 2px 8px #00000054;transition:all .3s ease;font-family:IBM Plex Sans,Helvetica,Arial,sans-serif;max-height:90vh;overflow-y:auto}.modal-close{position:absolute;cursor:pointer;top:26px;right:30px;width:10px;height:10px;background-image:image-url("close.svg");background-size:10px 10px;opacity:.4}.modal-close:hover{opacity:1}.modal-header h3{margin-top:0;color:#42b983}.modal-body{margin:20px 0}.modal-default-button{float:right}.modal-enter,.modal-leave-active{opacity:0}.modal-enter .modal-container,.modal-leave-active .modal-container{-webkit-transform:scale(1.1);transform:scale(1.1)}.transparent-modal{background-color:#000c!important}.transparent-modal .modal-header h3{margin:0 0 2em 2em;padding:6px 6px 6px 12px;border-radius:3px;background-color:#0000004d;color:#ffffff80}.transparent-modal .modal-close{right:42px;top:30px;color:#ffffff80;background-image:image-url("w_close.svg")}.transparent-modal .modal-container{width:70%;position:relative;background-color:transparent!important;box-shadow:none}.transparent-modal .modal-container .modal-body{overflow:auto;margin-right:1em;max-height:80vh}.transparent-modal .modal-container .modal-body::-webkit-scrollbar{position:absolute;right:40px;-webkit-appearance:none}.transparent-modal .modal-container .modal-body::-webkit-scrollbar:vertical{width:6px}.transparent-modal .modal-container .modal-body::-webkit-scrollbar:horizontal{height:6px}.transparent-modal .modal-container .modal-body::-webkit-scrollbar-thumb{border-radius:8px;width:11px;height:5px;border:rgba(255,255,255,.5);background-color:#ffffff80}.transparent-modal .modal-container .modal-body::-webkit-scrollbar-track{background-color:#0000004d;border-radius:8px}
|
|
8
|
+
`)();const zf={class:"modal-wrapper"},qf={class:"modal-header"},Wf={class:"modal-body"},Jf={class:"modal-footer"},Cs=z({__name:"VModal",props:{containerClass:null,containerStyle:null},emits:["close"],setup(e,{emit:t}){const n=r=>{r.preventDefault(),r.key==="Escape"&&t("close")};return bn(()=>document.addEventListener("keydown",n)),zt(()=>document.removeEventListener("keydown",n)),(r,s)=>(w(),se(ur,{name:"modal"},{default:Q(()=>[I("div",{class:"modal-mask",onClick:s[2]||(s[2]=o=>t("close")),onKey:s[3]||(s[3]=o=>t("close"))},[I("div",zf,[I("div",{class:at(["modal-container",e.containerClass]),style:wt(et({},e.containerStyle)),onClick:s[1]||(s[1]=Nc(()=>{},["stop"]))},[I("div",qf,[I("div",{class:"modal-close",onClick:s[0]||(s[0]=o=>t("close"))}),Ye(r.$slots,"header")]),I("div",Wf,[Ye(r.$slots,"body")]),I("div",Jf,[Ye(r.$slots,"footer")])],6)])],32)]),_:3}))}}),Yf=$e(" Keyword "),Qf=I("h3",null,"Keywords",-1),Xf={class:"list-none p-0"},Zf=["value"],Gf=z({__name:"FilterKeywords",setup(e){const t=Ze(),n=Ce(),r=Re(!1),s=de({get:()=>n.getKeywordIds,set:o=>{n.$patch({keywordIds:o})}});return(o,i)=>(w(),R(X,null,[F(yr,{color:"primary",size:"medium",onClick:i[0]||(i[0]=l=>r.value=!0)},{default:Q(()=>[Yf]),_:1}),r.value?(w(),se(Cs,{key:0,onClose:i[2]||(i[2]=l=>r.value=!1)},{header:Q(()=>[Qf]),body:Q(()=>[I("ul",Xf,[(w(!0),R(X,null,Pe(j(t).getKeywords,({keywordId:l,name:a})=>(w(),R("li",{key:l},[I("label",null,[Ne(I("input",{"onUpdate:modelValue":i[1]||(i[1]=f=>W(s)?s.value=f:null),value:l,type:"checkbox"},null,8,Zf),[[Cn,j(s)]]),$e(" "+re(a),1)])]))),128))])]),_:1})):Te("",!0)],64))}}),ed=$e(" Refresh only taxa "),td=z({__name:"SettingRefresh",setup(e){const t=An(),n=de({get:()=>t.getRefreshOnlyTaxa,set:r=>{t.setRefreshOnlyTaxa(r)}});return(r,s)=>(w(),R("label",null,[Ne(I("input",{"onUpdate:modelValue":s[0]||(s[0]=o=>W(n)?n.value=o:null),type:"checkbox"},null,512),[[Cn,j(n)]]),ed]))}});var kp=(()=>`.menu-list{display:flex;list-style:none;align-items:center;margin:0}.menu-list li:first-child{padding-left:0}
|
|
9
|
+
`)(),Rn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const nd={},rd={class:"menu-list"};function sd(e,t){return w(),R("ul",rd,[Ye(e.$slots,"default")])}var od=Rn(nd,[["render",sd]]),Ap=(()=>`.list-item[data-v-3f00bdeb]{justify-content:center;padding-left:1em;padding-right:1em;border-right:1px solid #e5e5e5}
|
|
10
|
+
`)();const id={},ld={class:"list-item"};function ad(e,t){return w(),R("li",ld,[Ye(e.$slots,"default",{},void 0,!0)])}var Dt=Rn(id,[["render",ad],["__scopeId","data-v-3f00bdeb"]]);const nl={"layout-mode-1":"layout-mode-2","layout-mode-2":"layout-mode-1"};var Rp=(()=>`.grid[data-v-203acd5e]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1px;background-color:var(--border-color);box-shadow:0 2px 2px #0003}
|
|
11
|
+
`)();const cd={},ud={class:"grid"};function fd(e,t){return w(),R("div",ud,[Ye(e.$slots,"default",{},void 0,!0)])}var rl=Rn(cd,[["render",fd],["__scopeId","data-v-203acd5e"]]),Lp=(()=>`.grid-icon{width:20px;height:12px;border:2px solid transparent;background-color:transparent;grid-gap:2px}.grid-icon>div{background-color:#fff}
|
|
12
|
+
`)();const dd=I("div",{class:"panel-descriptors"},null,-1),pd=I("div",{class:"panel-remaining"},null,-1),hd=I("div",{class:"panel-eliminated"},null,-1),md=z({__name:"GridToggle",setup(e){const t=An(),n=de(()=>t.getLayout),r=()=>{t.$patch({gridLayout:nl[n.value]})};return(s,o)=>(w(),se(yr,{class:at(j(nl)[j(n)]),onClick:r},{default:Q(()=>[F(rl,{class:"grid-icon"},{default:Q(()=>[dd,pd,hd]),_:1})]),_:1},8,["class"]))}}),gd=$e(" Reset "),_d=z({__name:"ResetButton",setup(e){const t=Ce();return(n,r)=>(w(),se(yr,{color:"primary",size:"medium",onClick:r[0]||(r[0]=s=>j(t).$reset())},{default:Q(()=>[gd]),_:1}))}});var Pp=(()=>`.header-bar[data-v-2f031624]{background-color:var(--bg-panel-color);padding:1em;box-shadow:#24252614 4px 4px 15px;border-radius:.9rem;display:flex;justify-content:space-between;align-items:center}.header-bar__buttons[data-v-2f031624]{display:flex;align-items:center}
|
|
13
|
+
`)();const vd=e=>(mo("data-v-2f031624"),e=e(),go(),e),bd={class:"header-bar"},yd=vd(()=>I("div",null,null,-1)),xd={class:"header-bar__buttons"};var wd=Rn(z({__name:"HeaderBar",setup(e){return(t,n)=>(w(),R("div",bd,[yd,F(od,null,{default:Q(()=>[F(Dt,null,{default:Q(()=>[F(td)]),_:1}),F(Dt,null,{default:Q(()=>[F(kf)]),_:1}),F(Dt,null,{default:Q(()=>[F(Pf)]),_:1}),F(Dt,null,{default:Q(()=>[F(Uf)]),_:1}),F(Dt,null,{default:Q(()=>[F(Kf)]),_:1}),F(Dt,null,{default:Q(()=>[F(Bf)]),_:1}),F(Dt,null,{default:Q(()=>[F(Gf)]),_:1})]),_:1}),I("div",xd,[F(_d,{class:"margin-small-right"}),F(md)])]))}}),[["__scopeId","data-v-2f031624"]]);const Ed=["innerHTML"],sl=z({__name:"PanelRowItem",props:{row:null},setup(e){return(t,n)=>(w(),R("li",{innerHTML:e.row.objectTag},null,8,Ed))}}),Cd=z({__name:"PanelEliminated",setup(e){const t=Ze(),n=de(()=>t.getEliminated);return(r,s)=>(w(),R("div",null,[I("h2",null,"Eliminated ("+re(j(n).length)+")",1),I("ul",null,[(w(!0),R(X,null,Pe(j(n),o=>(w(),se(sl,{key:o.rowId,row:o,class:"margin-small-bottom"},null,8,["row"]))),128))])]))}}),Id=$e(" Select "),Td=I("h3",null,"Filter row",-1),Sd={class:"list-none p-0"},$d=["value"],Od=z({__name:"FilterRow",setup(e){const t=Ze(),n=An(),r=Ce(),s=Re(!1),o=Re([]),i=de(()=>{const a=r.getRowIds,f=o.value;return a.length!==f.length||!a.every(u=>f.includes(u))}),l=de({get:()=>r.getRowIds,set:a=>{r.$patch({rowIds:a})}});return _n(s,a=>{n.setShouldUpdate(!a),!a&&i.value&&n.checkUpdate(),o.value=r.getRowIds}),(a,f)=>(w(),R(X,null,[F(yr,{color:"primary",size:"medium",onClick:f[0]||(f[0]=u=>s.value=!0)},{default:Q(()=>[Id]),_:1}),s.value?(w(),se(Cs,{key:0,onClose:f[2]||(f[2]=u=>s.value=!1)},{header:Q(()=>[Td]),body:Q(()=>[I("ul",Sd,[(w(!0),R(X,null,Pe(j(t).getRemaining,u=>(w(),R("li",{key:u.rowId},[I("label",null,[Ne(I("input",{"onUpdate:modelValue":f[1]||(f[1]=p=>W(l)?l.value=p:null),value:u.rowId,type:"checkbox"},null,8,$d),[[Cn,j(l)]]),$e(" "+re(u.objectLabel),1)])]))),128))])]),_:1})):Te("",!0)],64))}}),kd={class:"d-flex justify-between align-center"},Ad=z({__name:"PanelRemaining",setup(e){const t=Ze(),n=de(()=>t.getRemaining);return(r,s)=>(w(),R("div",null,[I("div",kd,[I("h2",null,"Remaining ("+re(j(n).length)+")",1),F(Od)]),I("ul",null,[(w(!0),R(X,null,Pe(j(n),o=>(w(),se(sl,{key:o.rowId,row:o,class:"margin-small-bottom"},null,8,["row"]))),128))])]))}});class Rd{static find(t){return el().get(`/depictions/${t}.json`,{params:{extend:["image"]}})}}var Mp=(()=>`.depiction-box{display:flex;align-items:center;justify-content:center;border:1px solid black;height:300px;width:300px}
|
|
14
|
+
`)();const Ld={key:0,class:"depiction-box"},Pd=["src"],ol=z({__name:"VDepiction",props:{depictionId:null},setup(e){const t=e,n=Re();return Rd.find(t.depictionId).then(({data:r})=>{n.value=yf(r)}),(r,s)=>n.value?(w(),R("div",Ld,[I("img",{src:n.value.imageUrl},null,8,Pd)])):Te("",!0)}});var Fp=(()=>`.character-descriptor__cell{display:flex;align-items:flex-end}
|
|
15
|
+
`)();const Dd={class:"character-descriptor__cell"},Md=["value"],Fd=z({__name:"CharacterStateCell",props:{characterState:null,descriptorId:null},setup(e){const t=e,n=Ce(),r=de({get:()=>n.getDescriptorValueById(t.descriptorId)||[],set:s=>{s.length?n.setDescriptor({descriptorId:t.descriptorId,value:s}):n.removeDescriptor(t.descriptorId)}});return(s,o)=>(w(),R("div",Dd,[I("label",null,[(w(!0),R(X,null,Pe(e.characterState.depictionIds,i=>(w(),se(ol,{key:i,"depiction-id":i},null,8,["depiction-id"]))),128)),Ne(I("input",{"onUpdate:modelValue":o[0]||(o[0]=i=>W(r)?r.value=i:null),value:e.characterState.characterStateId,type:"checkbox"},null,8,Md),[[Cn,j(r)]]),$e(" "+re(e.characterState.name),1)])]))}});var Up=(()=>`.character-states-grid{display:grid;grid-template-columns:repeat(3,minmax(33.33%,1fr));gap:1em}
|
|
16
|
+
`)();const Ud={class:"character-states-grid"},Nd=z({__name:"CharacterStateGrid",props:{descriptor:null},setup(e){const t=e,n=Ce(),r=An(),s=Re(),o=de(()=>{const i=n.getDescriptorValueById(t.descriptor.descriptorId)||[],l=s.value||[];return i.length!==l.length||!i.every(a=>l.includes(a))});return bn(()=>{r.setShouldUpdate(!1),s.value=n.getDescriptorValueById(t.descriptor.descriptorId)}),zt(()=>{r.setShouldUpdate(!0),o.value&&r.checkUpdate()}),(i,l)=>(w(),R("div",Ud,[(w(!0),R(X,null,Pe(e.descriptor.characterStates,a=>(w(),se(Fd,{key:a.characterStateId,"descriptor-id":e.descriptor.descriptorId,"character-state":a},null,8,["descriptor-id","character-state"]))),128))]))}});var Np=(()=>`.descriptor-modal{width:1000px;max-height:90vh;overflow-y:scroll}.descriptor-modal__depiction{display:flex;justify-content:center}
|
|
17
|
+
`)();const jd={key:0},Bd={class:"descriptor-modal__depiction"},Hd=I("hr",null,null,-1),Vd=z({__name:"DescriptorModal",props:{descriptor:null},setup(e){return(t,n)=>(w(),se(Cs,{"container-class":"descriptor-modal"},{header:Q(()=>[I("h3",null,re(e.descriptor.name),1),e.descriptor.description?(w(),R("span",jd,re(e.descriptor.description),1)):Te("",!0)]),body:Q(()=>[I("div",Bd,[(w(!0),R(X,null,Pe(e.descriptor.depictionIds,r=>(w(),se(ol,{key:r,"depiction-id":r},null,8,["depiction-id"]))),128))]),Hd,e.descriptor.type===j(On).Qualitative?(w(),se(Nd,{key:0,descriptor:e.descriptor},null,8,["descriptor"])):Te("",!0)]),_:1}))}}),Kd=["id"],zd={class:"d-block"},xr=z({__name:"DescriptorContainer",props:{descriptor:null},setup(e){const t=Re(!1);return(n,r)=>(w(),R(X,null,[I("div",{id:`descriptor-${e.descriptor.descriptorId}`},[I("div",zd,[I("span",{class:"link",onClick:r[0]||(r[0]=s=>t.value=!0)},[Ye(n.$slots,"title",{},()=>[$e(re(e.descriptor.name),1)])])]),Ye(n.$slots,"default")],8,Kd),t.value?(w(),se(Vd,{key:0,descriptor:e.descriptor,onClose:r[1]||(r[1]=s=>t.value=!1)},null,8,["descriptor"])):Te("",!0)],64))}}),qd=["onKeyup"],Wd=z({__name:"DescriptorContinuous",props:{descriptor:null},setup(e){const t=e,n=Ce(),r=Re(String(n.getDescriptorValueById(t.descriptor.descriptorId))),s=()=>{n.setDescriptor({descriptorId:t.descriptor.descriptorId,value:r.value})};return(o,i)=>(w(),se(xr,{descriptor:e.descriptor},{title:Q(()=>[$e(re(e.descriptor.name)+" ("+re(e.descriptor.min)+"-"+re(e.descriptor.max)+" "+re(e.descriptor.defaultUnit)+") ",1)]),default:Q(()=>[Ne(I("input",{"onUpdate:modelValue":i[0]||(i[0]=l=>r.value=l),type:"text",onBlur:s,onKeyup:_i(s,["enter"])},null,40,qd),[[pi,r.value]])]),_:1},8,["descriptor"]))}}),Jd=[I("option",null,null,-1),I("option",{value:!0}," Present ",-1),I("option",{value:!1}," Absent ",-1)],Yd=z({__name:"DescriptorPresenceAbsence",props:{descriptor:null},setup(e){const t=e,n=Ce(),r=de({get:()=>n.getDescriptorValueById(t.descriptor.descriptorId),set:s=>{const{descriptorId:o}=t.descriptor;typeof s=="boolean"?n.setDescriptor({descriptorId:o,value:Boolean(s)}):n.removeDescriptor(o)}});return(s,o)=>(w(),se(xr,{descriptor:e.descriptor},{default:Q(()=>[Ne(I("select",{"onUpdate:modelValue":o[0]||(o[0]=i=>W(r)?r.value=i:null)},Jd,512),[[In,j(r)]])]),_:1},8,["descriptor"]))}}),Qd=I("option",{value:""},null,-1),Xd=["value","selected"],Zd={key:0},Gd={key:1},ep=z({__name:"DescriptorQualitative",props:{descriptor:null},setup(e){const t=e,n=Ce(),r=o=>{const i=o.target,{descriptorId:l}=t.descriptor;i.value?n.setDescriptor({descriptorId:l,value:[Number(i.value)]}):n.removeDescriptor(l)},s=o=>n.getDescriptorValueById(t.descriptor.descriptorId).includes(o.characterStateId);return(o,i)=>(w(),se(xr,{descriptor:e.descriptor},{default:Q(()=>[I("select",{name:"listbox",onChange:r},[Qd,(w(!0),R(X,null,Pe(e.descriptor.characterStates,l=>(w(),R("option",{key:l.characterStateId,value:l.characterStateId,selected:s(l)},[s(l)?(w(),R("span",Zd,">")):Te("",!0),l.status==="useless"?(w(),R("span",Gd,"-")):Te("",!0),$e(" "+re(l.name)+" ("+re(l.numberOfObjects)+") ",1)],8,Xd))),128))],32)]),_:1},8,["descriptor"]))}}),tp=["onKeyup"],np=z({__name:"DescriptorSample",props:{descriptor:null},setup(e){const t=e,n=Ce(),r=Re(String(n.getDescriptorValueById(t.descriptor.descriptorId))),s=()=>{n.setDescriptor({descriptorId:t.descriptor.descriptorId,value:r.value})};return(o,i)=>(w(),se(xr,{descriptor:e.descriptor},{title:Q(()=>[$e(re(e.descriptor.name)+" ("+re(e.descriptor.min)+"-"+re(e.descriptor.max)+" "+re(e.descriptor.defaultUnit)+") ",1)]),default:Q(()=>[Ne(I("input",{"onUpdate:modelValue":i[0]||(i[0]=l=>r.value=l),type:"text",onBlur:s,onKeyup:_i(s,["enter"])},null,40,tp),[[pi,r.value]])]),_:1},8,["descriptor"]))}}),Is=z({__name:"DescriptorsList",props:{title:null,descriptors:null},setup(e){const t={DescriptorContinuous:Wd,DescriptorPresenceAbsence:Yd,DescriptorQualitative:ep,DescriptorSample:np},n=r=>{const s=r.replace("::","");return t[s]};return(r,s)=>(w(),R(X,null,[I("h2",null,re(e.title),1),I("ol",null,[(w(!0),R(X,null,Pe(e.descriptors,o=>(w(),R("li",{key:o.descriptorId},[(w(),se(La(n(o.type)),{descriptor:o},null,8,["descriptor"]))]))),128))])],64))}}),rp={class:"descriptors-view"},sp=z({__name:"PanelDescriptors",setup(e){const t=Ze();return(n,r)=>(w(),R("div",rp,[j(t).getDescriptorsUsed.length?(w(),se(Is,{key:0,descriptors:j(t).getDescriptorsUsed,title:"Used Descriptors"},null,8,["descriptors"])):Te("",!0),j(t).getDescriptorsUseful.length?(w(),se(Is,{key:1,descriptors:j(t).getDescriptorsUseful,title:"Descriptors Useful for Identification"},null,8,["descriptors"])):Te("",!0),j(t).getDescriptorsUseless.length?(w(),se(Is,{key:2,descriptors:j(t).getDescriptorsUseless,title:"Descriptors no longer relevant for identification"},null,8,["descriptors"])):Te("",!0)]))}});var Vp=(()=>`.tw-spinner[data-v-3541fc5b]{display:flex;margin:0 auto;height:auto;width:auto;align-items:center;justify-content:center}.fade-enter-active[data-v-3541fc5b],.fade-leave-active[data-v-3541fc5b]{transition:opacity .5s}.fade-enter[data-v-3541fc5b],.fade-leave-to[data-v-3541fc5b]{opacity:0}.tw-spinner-left[data-v-3541fc5b]{flex-direction:row}.tw-spinner-right[data-v-3541fc5b]{flex-direction:row-reverse}.tw-spinner-top[data-v-3541fc5b]{flex-direction:column}.tw-spinner-bottom[data-v-3541fc5b]{flex-direction:column-reverse}.box-spinner[data-v-3541fc5b]{display:flex;position:absolute;box-shadow:0 1px 1px #0003;background-image:none!important;background-color:#fff;align-items:center;z-index:9999;height:100%;opacity:.9}.tw-spinner[data-v-3541fc5b]{font-size:20px;overflow:hidden;width:100%;position:relative}.tw-spinner svg[data-v-3541fc5b]{display:block;position:relative;width:30px;height:30px;margin:0 auto}.tw-spinner #Tail[data-v-3541fc5b]{opacity:0;animation:tail-3541fc5b 2s ease infinite;fill:#41ba8d}.tw-spinner #LeftBottom[data-v-3541fc5b]{fill:#00845d;opacity:0;animation:spinner-3541fc5b 1s ease alternate infinite;animation-delay:0s}.tw-spinner #LeftMid[data-v-3541fc5b]{fill:#28221b;opacity:0;animation:spinner-3541fc5b 1s ease alternate infinite;animation-delay:.2s}.tw-spinner #LeftTop[data-v-3541fc5b]{fill:#342d25;opacity:0;animation:spinner-3541fc5b 1s ease alternate infinite;animation-delay:.4s}.tw-spinner #Head[data-v-3541fc5b]{fill:#342d25;opacity:0;animation:spinner-3541fc5b 1s ease alternate infinite;animation-delay:.6s}@keyframes spinner-3541fc5b{0%{opacity:0}30%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes tail-3541fc5b{0%{opacity:0}30%{opacity:1}50%{opacity:1}90%{opacity:0}to{opacity:0}}
|
|
18
|
+
`)();const Ln=e=>(mo("data-v-3541fc5b"),e=e(),go(),e),op=[Ln(()=>I("path",{id:"LeftTop",d:`M14.2,63.1C24.3,63.1,28,76.3,28,76.3s5,15.5,15.3,15.5c7.7,0,9.4-6.3,9.8-9.1c0-0.1,0-0.2,0-0.4s0-0.5,0.1-0.8
|
|
15
19
|
c0-0.1,0-0.1,0-0.2c0.3-2-0.8-4-2.7-4.8l0,0c-3.1-1.1-5.9-3-8-5.6c-6.4-7.4-3-17,4.5-23.6c-3.5-4-8-8.7-12-10.8
|
|
16
20
|
c-8.7-4.6-15.7,2.6-16.2,3.2L18.7,40c-0.6,0.8-1.2,1.6-1.8,2.5l-0.1,0.1c-0.6,0.9-1.2,1.8-1.8,2.7L15,45.4c-0.5,0.8-1,1.6-1.5,2.4
|
|
17
21
|
l-0.3,0.5c-1,1.8-2,3.6-3,5.5L10,54.3c-0.4,0.9-0.9,1.8-1.3,2.7l-0.1,0.1C8.2,58,7.8,59,7.4,59.9l-0.2,0.5c-0.3,0.8-0.6,1.5-0.9,2.3
|
|
18
|
-
l-0.2,0.6c-0.4,1-0.7,1.9-1,2.9L5,66.7c-0.1,0.3-0.2,0.5-0.2,0.8C7.1,64.7,10.5,63.1,14.2,63.1z`},null,-1)),
|
|
22
|
+
l-0.2,0.6c-0.4,1-0.7,1.9-1,2.9L5,66.7c-0.1,0.3-0.2,0.5-0.2,0.8C7.1,64.7,10.5,63.1,14.2,63.1z`},null,-1)),Ln(()=>I("path",{id:"Head",d:`M36.2,33c5.3,1.8,11.4,6.8,15.7,11c0.5-0.3,1.1-0.6,1.6-0.9c2.3-1.2,4.7-2.1,7.2-2.7
|
|
19
23
|
c-2.4-4.9-5.6-12.8-4.9-18.3c1.4-11.2,13.6-12,13.6-12S58.3,12.5,59,22.9c0.3,5,4.7,12.5,7.5,16.8c7-0.1,13,2.7,15.8,8
|
|
20
24
|
c0.3,0.5,0.5,1.1,0.7,1.6l0,0c0.5,1,1.3,1.9,2.3,2.4c3.6,1.2,7.6,2.5,11.7,4.2c5.8,2.3,11.5,5,17,8.1c0.5,0.2,1,0,1.2-0.5
|
|
21
25
|
c0.1-0.3,0.1-0.7-0.2-0.9c-27.2-26.1-8-36.3-8-36.3c-9.8,14.2,6.6,24.5,25.5,35.1c16.6,9.3,28.4,19.5,41.3,12.7
|
|
@@ -23,14 +27,14 @@
|
|
|
23
27
|
c-1.6-1.3-3.1-2.7-4.3-4.4c-9-12.6-32.2-17.9-32.2-17.9l0,0C97.5-2.6,74.3,0.1,54,10.2l0,0c-6.9,3.5-13.5,7.7-19.4,12.7l-0.8,0.6
|
|
24
28
|
c-1.4,1.2-2.8,2.5-4.2,3.8l0,0c-0.8,0.8-1.6,1.5-2.3,2.3l0,0c-1.5,1.6-3,3.2-4.4,4.9l-0.2,0.2l-0.4,0.5C25.2,32.8,29.6,30.9,36.2,33
|
|
25
29
|
z M145.8,33.9c3.9-1.7,8.5,0.1,10.2,4c0.6,1.3,0.8,2.7,0.6,4c-2.5,1.2-5.5,0.9-7.7-0.9C146.5,39.5,145.3,36.7,145.8,33.9L145.8,33.9
|
|
26
|
-
z`},null,-1)),
|
|
30
|
+
z`},null,-1)),Ln(()=>I("path",{id:"LeftMid",d:`M53.2,106.9c-0.2-2-0.4-4-0.4-6.3c-2.3,1-4.7,1.5-7.2,1.5c-19,0-19.5-18.8-26.2-29.2
|
|
27
31
|
c-7-10.8-16.8,0.9-17.8,7.2c0,0.3-0.1,0.5-0.1,0.7c-0.1,0.6-0.2,1.3-0.3,1.9C1,83.1,1,83.4,1,83.6c-0.1,0.8-0.2,1.6-0.3,2.3
|
|
28
32
|
c0,0.3-0.1,0.5-0.1,0.8c-0.1,1-0.2,2.1-0.3,3.1c0,0.1,0,0.2,0,0.3c-0.1,0.9-0.2,1.9-0.2,2.8c0,0.3,0,0.6,0,0.9C0,94.9,0,95.8,0,96.7
|
|
29
33
|
c0,0.1,0,0.2,0,0.3s0,0.1,0,0.1s0,0.1,0,0.1c0,0.4,0,0.8,0,1.2s0,0.8,0,1.2c0,0.6,0,1.2,0.1,1.7c0,0.2,0,0.5,0,0.7
|
|
30
|
-
c1.5,30.7,17.5,58.9,43,76c-8-7.8-12.7-17.8-12.7-28.6c0-13.4,7.3-26,19.1-34.4C52,113.2,53.5,110.1,53.2,106.9z`},null,-1)),
|
|
34
|
+
c1.5,30.7,17.5,58.9,43,76c-8-7.8-12.7-17.8-12.7-28.6c0-13.4,7.3-26,19.1-34.4C52,113.2,53.5,110.1,53.2,106.9z`},null,-1)),Ln(()=>I("path",{id:"LeftBottom",d:`M128.3,170c-5.8,2.4-12,3.9-18.3,4.4c-1.1,0.1-2.2,0.1-3.3,0.1c-12.3,0-28.4-4.8-40.7-25.3
|
|
31
35
|
l-1.6-2.7c-1.9,2.7-2.9,6-2.9,9.3c0,13.9,16.6,26.5,36.7,26.5c5.4,0.1,10.7-0.6,15.9-2c-4.6,2.9-13.8,5.6-21.9,5.6
|
|
32
36
|
C69.2,186,50,170.8,50,152.7c0.1-6.3,2.1-12.5,5.8-17.6c1.5-2.1,1.9-4.8,1.1-7.2l0,0c-10.5,6.1-17,15.4-17,26.6
|
|
33
|
-
c0,17.2,15.3,31.9,37,37.9c1.2,0.3,2.5,0.5,3.7,0.7c15.6,2.6,29.5-0.1,38.9-9.1C123.5,180.1,126.5,175.3,128.3,170z`},null,-1)),
|
|
37
|
+
c0,17.2,15.3,31.9,37,37.9c1.2,0.3,2.5,0.5,3.7,0.7c15.6,2.6,29.5-0.1,38.9-9.1C123.5,180.1,126.5,175.3,128.3,170z`},null,-1)),Ln(()=>I("path",{id:"Tail",class:"st0",d:`M171,33.8c28,39.3,18.8,93.8-20.5,121.8c-2.4,1.7-4.9,3.3-7.5,4.8l-0.2,0.2c0-0.4,0-0.9,0.1-1.3
|
|
34
38
|
c0.6-3.9,2.1-7.6,4.4-10.8c7.5-10.7,12.4-27-0.3-48.1c-7-11.6-21.7-28-51.7-40.1c-4.1-1.7-8.1-3.1-11.8-4.2L82,55.6l-0.2-0.1
|
|
35
39
|
c-1.1-0.3-2.1-0.6-3.1-0.9h-0.2l-2.9-0.8h-0.1l-1.3-0.3h-0.1l-2.6-0.6h-0.1l-2.3-0.5h-0.2l-1-0.2l0,0L67,51.7h-0.2l-0.7-0.2h-0.2
|
|
36
40
|
l-0.8-0.2H65l-0.6-0.1h-0.2L63.7,51l-0.1,0.4v0.1l-0.1,0.3l0,0.2l-0.1,0.3l-0.1,0.2l-0.1,0.3l-0.1,0.2L63,53.5L63,53.7l-0.1,0.4
|
|
@@ -42,5 +46,5 @@
|
|
|
42
46
|
c1.5,4.5,3.2,8.9,5.2,13.2c0.9,1.7,1.8,3.4,2.8,5.1c9.2,15.3,21.5,23,36.6,23c1,0,2.1,0,3.2-0.1c7-0.6,13.9-2.5,20.2-5.6
|
|
43
47
|
c4.9-24.5-8.4-59.3-36.1-88.3C90,71.8,86,68,81.7,64.4c9.2,6.9,13.9,10.7,19.2,16.3c37.8,39.6,49.7,89.7,26.5,111.9
|
|
44
48
|
c-3.4,3.3-7.5,5.8-11.9,7.5c5.8-1.6,11.1-4.5,15.4-8.6c1.4-1.3,2.6-2.7,3.8-4.2c49.6-20.7,73-77.7,52.4-127.3
|
|
45
|
-
C183.1,50.4,177.7,41.6,171,33.8z`},null,-1))],
|
|
46
|
-
`)();function
|
|
49
|
+
C183.1,50.4,177.7,41.6,171,33.8z`},null,-1))],ip=["innerHTML"];var lp=Rn(z({__name:"VSpinner",props:{fullScreen:{type:Boolean,default:!1},legend:{type:String,default:"Loading, please wait."},resize:{type:Boolean,default:!0},legendStyle:{type:Object,default:()=>({color:"#444",marginTop:"30px",textAlign:"center"})},showLegend:{type:Boolean,default:!0},showSpinner:{type:Boolean,default:!0},spinnerPosition:{type:String,default:"top"},logoSize:{type:Object,default:()=>({width:"50px",height:"50px"})}},setup(e){const t=e,n={position:"fixed",width:"100vw",height:"100vh",top:"0px",left:"0px"},r=Re(),s=Re({}),o=Re();bn(()=>{i(),t.resize&&!t.fullScreen&&a()}),zt(()=>clearInterval(o.value));const i=()=>{var u;const f=(u=r.value)==null?void 0:u.parentNode;!f||Object.assign(s.value,t.fullScreen?n:l(f))},l=f=>{const u=f.getBoundingClientRect(),p=window.getComputedStyle(f,null),m=parseInt(p.getPropertyValue("padding-left"),10),E=parseInt(p.getPropertyValue("padding-right"),10),P=parseInt(p.getPropertyValue("padding-top"),10),U=parseInt(p.getPropertyValue("padding-bottom"),10);return{position:"absolute",width:u.width-m-E+"px",height:u.height-P-U+"px"}},a=()=>{o.value=setInterval(i,500)};return(f,u)=>(w(),se(ur,{name:"fade"},{default:Q(()=>[I("div",{ref_key:"spinnerElement",ref:r,class:"box-spinner mx-spinner absolute bg-white opacity-90",style:wt(s.value)},[I("div",{class:at(["tw-spinner",[`tw-spinner-${e.spinnerPosition}`]])},[e.showSpinner?(w(),R("svg",{key:0,style:wt([e.logoSize,{"enable-background":"new 0 0 194.6 200"}]),version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 194.6 200","xml:space":"preserve"},op,4)):Te("",!0),I("div",{style:wt(e.legendStyle)},[e.showLegend?(w(),R("span",{key:0,innerHTML:e.legend},null,8,ip)):Te("",!0),Ye(f.$slots,"default",{},void 0,!0)],4)],2)],4)]),_:3}))}}),[["__scopeId","data-v-3541fc5b"]]);const ap=$e(" Interactive key "),cp={key:0},up=z({__name:"TitleMatrix",setup(e){const t=Ze();return(n,r)=>(w(),R("h1",null,[ap,j(t).getObservationMatrix?(w(),R("span",cp,"| "+re(j(t).getObservationMatrix.name),1)):Te("",!0)]))}}),fp=["title"],dp=z({__name:"TitleMatrixCitation",setup(e){const t=Ze(),n=de(()=>{const r=t.getCitation;return Object.values(r||{}).filter(Boolean).join(", ")});return(r,s)=>(w(),R("span",{title:j(n)},re(j(n)),9,fp))}}),pp={class:"d-flex justify-between"},hp=z({__name:"TitleKey",setup(e){return(t,n)=>(w(),R("div",pp,[F(up),F(dp)]))}}),mp={class:"vue-interactive-keys"},gp=z(Mt(et({},{name:"InteractiveKey"}),{props:{observationMatrixId:{default:1},apiConfig:null},setup(e){const t=e,n=An(),r=Ce();Ze();const s=de(()=>n.getIsLoading),o=de(()=>n.getLayout);return(()=>{Ii().updatePreferences(t.apiConfig),n.setObservationMatrixId(t.observationMatrixId),n.checkUpdate()})(),r.$subscribe(l=>{n.shouldUpdate&&n.checkUpdate()}),(l,a)=>(w(),R("div",mp,[F(hp),F(wd,{class:"margin-medium-bottom"}),F(rl,{class:at(["w-100",j(o)])},{default:Q(()=>[F(sp,{class:"panel-descriptors grid-panel"}),F(Ad,{class:"panel-remaining grid-panel"}),F(Cd,{class:"panel-eliminated grid-panel"})]),_:1},8,["class"]),j(s)?(w(),se(lp,{key:0,"full-screen":"",legend:"Loading interactive key..."})):Te("",!0)]))}}));var Xp=(()=>`:root{--bg-color: #f7f8fc;--bg-panel-color: #FFFFFF;--primary-color: #5D9ECE;--border-color: #CCCCCC;--link-color: #5D9ECE;--btn-medium-size: 28px}.d-block{display:block}.d-flex{display:flex}.justify-between{justify-content:space-between}.align-center{align-items:center}.w-100{height:100%}.margin-medium-bottom{margin-bottom:1em}.margin-small-right{margin-right:.5em}.p-0{padding:0}.link{color:var(--link-color);cursor:pointer}.list-none{list-style:none}body{background-color:var(--bg-color)}.vue-interactive-keys{height:calc(100vh - 160px);max-height:calc(100vh - 160px);font-family:Arial,Helvetica,sans-serif;font-size:13px}.vue-interactive-keys .grid-panel{background-color:#fff;padding:1rem;overflow-y:scroll}.vue-interactive-keys .layout-mode-1 .panel-descriptors{grid-area:1/1/2/3}.vue-interactive-keys .layout-mode-1 .panel-remaining{grid-area:2/1/3/2}.vue-interactive-keys .layout-mode-1 .panel-eliminated{grid-area:2/2/3/3}.vue-interactive-keys .layout-mode-2 .panel-descriptors{grid-area:1/1/3/2}.vue-interactive-keys .layout-mode-2 .panel-remaining{grid-area:1/2/2/3}.vue-interactive-keys .layout-mode-2 .panel-eliminated{grid-area:2/2/3/3}.vue-interactive-keys input,.vue-interactive-keys select{padding:.5em 1em;border:1px solid;border-radius:2px;border-color:var(--border-color);background-color:#fff}
|
|
50
|
+
`)();function il(e){const t=e||'[data-interactive-key="true"]';return[...document.querySelectorAll(t)].map(s=>ll(s,vp(s)))}function _p(){il()}function vp(e){return{observationMatrixId:Number(e.getAttribute("data-observation-matrix-id")),apiConfig:{baseURL:e.getAttribute("data-base-url")||"",projectToken:e.getAttribute("data-project-token")||void 0,projectId:Number(e.getAttribute("data-project-id"))||void 0,userToken:e.getAttribute("data-user-token")||void 0,csrfToken:e.getAttribute("data-csrf-token")||void 0}}}function ll(e,t){const{apiConfig:n,observationMatrixId:r}=t;if(!r)throw"Missing observation matrix ID";if(!n||!n.projectToken&&!n.csrfToken&&!(n.projectId&&n.userToken))throw"Missing API configuration";const s=Vc(gp,{observationMatrixId:r,apiConfig:n});return s.use(qc()),s.mount(e),s}window.addEventListener("DOMContentLoaded",_p),be.createInteractiveKey=ll,be.discoverInteractiveKey=il,Object.defineProperties(be,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|