From 8713483e4abfc9b06008368476a9322b3c04b42f Mon Sep 17 00:00:00 2001 From: jfrer Date: Fri, 28 Jun 2024 09:20:27 +0000 Subject: [PATCH] deploy: 17667202b6ca46bc54dd138f98ee5b35a84122ad --- .../{index-8410345b.js => index-93e8bdb7.js} | 30 +++++++++---------- index.html | 2 +- 2 files changed, 16 insertions(+), 16 deletions(-) rename assets/{index-8410345b.js => index-93e8bdb7.js} (88%) diff --git a/assets/index-8410345b.js b/assets/index-93e8bdb7.js similarity index 88% rename from assets/index-8410345b.js rename to assets/index-93e8bdb7.js index a65c398..d1338a3 100644 --- a/assets/index-8410345b.js +++ b/assets/index-93e8bdb7.js @@ -1,12 +1,12 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Xl(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const je={},dr=[],zt=()=>{},k1=()=>!1,M1=/^on[^a-z]/,Do=e=>M1.test(e),Ql=e=>e.startsWith("onUpdate:"),We=Object.assign,Jl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A1=Object.prototype.hasOwnProperty,ve=(e,t)=>A1.call(e,t),ae=Array.isArray,pr=e=>Ro(e)==="[object Map]",gd=e=>Ro(e)==="[object Set]",de=e=>typeof e=="function",ze=e=>typeof e=="string",zo=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",yd=e=>(Le(e)||de(e))&&de(e.then)&&de(e.catch),vd=Object.prototype.toString,Ro=e=>vd.call(e),j1=e=>Ro(e).slice(8,-1),bd=e=>Ro(e)==="[object Object]",ea=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,to=Xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),No=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P1=/-(\w)/g,qt=No(e=>e.replace(P1,(t,n)=>n?n.toUpperCase():"")),L1=/\B([A-Z])/g,Tr=No(e=>e.replace(L1,"-$1").toLowerCase()),Vo=No(e=>e.charAt(0).toUpperCase()+e.slice(1)),ps=No(e=>e?`on${Vo(e)}`:""),Un=(e,t)=>!Object.is(e,t),hs=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},F1=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let pc;const Ws=()=>pc||(pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ae(e)){const t={};for(let n=0;n{if(n){const r=n.split(z1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pe(e){let t="";if(ze(e))t=e;else if(ae(e))for(let n=0;nze(e)?e:e==null?"":ae(e)||Le(e)&&(e.toString===vd||!de(e.toString))?JSON.stringify(e,_d,2):String(e),_d=(e,t)=>t&&t.__v_isRef?_d(e,t.value):pr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:gd(t)?{[`Set(${t.size})`]:[...t.values()]}:Le(t)&&!ae(t)&&!bd(t)?String(t):t;let jt;class Sd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=jt,!t&&jt&&(this.index=(jt.scopes||(jt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=jt;try{return jt=this,t()}finally{jt=n}}}on(){jt=this}off(){jt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Od=e=>(e.w&In)>0,Id=e=>(e.n&In)>0,W1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||!zo(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":ae(e)?ea(n)&&l.push(s.get("length")):(l.push(s.get(Vn)),pr(e)&&l.push(s.get(Zs)));break;case"delete":ae(e)||(l.push(s.get(Vn)),pr(e)&&l.push(s.get(Zs)));break;case"set":pr(e)&&l.push(s.get(Vn));break}if(l.length===1)l[0]&&qs(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);qs(ta(a))}}function qs(e,t){const n=ae(e)?e:[...e];for(const r of n)r.computed&&mc(r);for(const r of n)r.computed||mc(r)}function mc(e,t){(e!==$t||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Y1=Xl("__proto__,__v_isRef,__isVue"),Ed=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zo)),gc=Z1();function Z1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=xe(this);for(let o=0,s=this.length;o{e[t]=function(...n){Er();const r=xe(this)[t].apply(this,n);return kr(),r}}),e}function q1(e){const t=xe(this);return ht(t,"has",e),t.hasOwnProperty(e)}class kd{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?cm:Pd:o?jd:Ad).get(t))return t;const s=ae(t);if(!i){if(s&&ve(gc,n))return Reflect.get(gc,n,r);if(n==="hasOwnProperty")return q1}const l=Reflect.get(t,n,r);return(zo(n)?Ed.has(n):Y1(n))||(i||ht(t,"get",n),o)?l:tt(l)?s&&ea(n)?l:l.value:Le(l)?i?oa(l):un(l):l}}class Md extends kd{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(vr(o)&&tt(o)&&!tt(r))return!1;if(!this._shallow&&(!po(r)&&!vr(r)&&(o=xe(o),r=xe(r)),!ae(t)&&tt(o)&&!tt(r)))return o.value=r,!0;const s=ae(t)&&ea(n)?Number(n)e,Bo=e=>Reflect.getPrototypeOf(e);function Vi(e,t,n=!1,r=!1){e=e.__v_raw;const i=xe(e),o=xe(t);n||(Un(t,o)&&ht(i,"get",t),ht(i,"get",o));const{has:s}=Bo(i),l=r?ra:n?la:si;if(s.call(i,t))return l(e.get(t));if(s.call(i,o))return l(e.get(o));e!==i&&e.get(t)}function Hi(e,t=!1){const n=this.__v_raw,r=xe(n),i=xe(e);return t||(Un(e,i)&&ht(r,"has",e),ht(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Bi(e,t=!1){return e=e.__v_raw,!t&&ht(xe(e),"iterate",Vn),Reflect.get(e,"size",e)}function yc(e){e=xe(e);const t=xe(this);return Bo(t).has.call(t,e)||(t.add(e),on(t,"add",e,e)),this}function vc(e,t){t=xe(t);const n=xe(this),{has:r,get:i}=Bo(n);let o=r.call(n,e);o||(e=xe(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?Un(t,s)&&on(n,"set",e,t):on(n,"add",e,t),this}function bc(e){const t=xe(this),{has:n,get:r}=Bo(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&on(t,"delete",e,void 0),o}function xc(){const e=xe(this),t=e.size!==0,n=e.clear();return t&&on(e,"clear",void 0,void 0),n}function Ui(e,t){return function(r,i){const o=this,s=o.__v_raw,l=xe(s),a=t?ra:e?la:si;return!e&&ht(l,"iterate",Vn),s.forEach((c,u)=>r.call(i,a(c),a(u),o))}}function Ki(e,t,n){return function(...r){const i=this.__v_raw,o=xe(i),s=pr(o),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=i[e](...r),u=n?ra:t?la:si;return!t&&ht(o,"iterate",a?Zs:Vn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:this}}function tm(){const e={get(o){return Vi(this,o)},get size(){return Bi(this)},has:Hi,add:yc,set:vc,delete:bc,clear:xc,forEach:Ui(!1,!1)},t={get(o){return Vi(this,o,!1,!0)},get size(){return Bi(this)},has:Hi,add:yc,set:vc,delete:bc,clear:xc,forEach:Ui(!1,!0)},n={get(o){return Vi(this,o,!0)},get size(){return Bi(this,!0)},has(o){return Hi.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Ui(!0,!1)},r={get(o){return Vi(this,o,!0,!0)},get size(){return Bi(this,!0)},has(o){return Hi.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ki(o,!1,!1),n[o]=Ki(o,!0,!1),t[o]=Ki(o,!1,!0),r[o]=Ki(o,!0,!0)}),[e,n,t,r]}const[nm,rm,im,om]=tm();function ia(e,t){const n=t?e?om:im:e?rm:nm;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ve(n,i)&&i in r?n:r,i,o)}const sm={get:ia(!1,!1)},lm={get:ia(!1,!0)},am={get:ia(!0,!1)},Ad=new WeakMap,jd=new WeakMap,Pd=new WeakMap,cm=new WeakMap;function um(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(e){return e.__v_skip||!Object.isExtensible(e)?0:um(j1(e))}function un(e){return vr(e)?e:sa(e,!1,Q1,sm,Ad)}function Ld(e){return sa(e,!1,em,lm,jd)}function oa(e){return sa(e,!0,J1,am,Pd)}function sa(e,t,n,r,i){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=fm(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return i.set(e,l),l}function hr(e){return vr(e)?hr(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function po(e){return!!(e&&e.__v_isShallow)}function $d(e){return hr(e)||vr(e)}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function Fd(e){return fo(e,"__v_skip",!0),e}const si=e=>Le(e)?un(e):e,la=e=>Le(e)?oa(e):e;function Dd(e){Sn&&$t&&(e=xe(e),Td(e.dep||(e.dep=ta())))}function zd(e,t){e=xe(e);const n=e.dep;n&&qs(n)}function tt(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return Rd(e,!1)}function dm(e){return Rd(e,!0)}function Rd(e,t){return tt(e)?e:new pm(e,t)}class pm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:xe(t),this._value=n?t:si(t)}get value(){return Dd(this),this._value}set value(t){const n=this.__v_isShallow||po(t)||vr(t);t=n?t:xe(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:si(t),zd(this))}}function ne(e){return tt(e)?e.value:e}const hm={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return tt(i)&&!tt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Nd(e){return hr(e)?e:new Proxy(e,hm)}class mm{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new na(t,()=>{this._dirty||(this._dirty=!0,zd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=xe(this);return Dd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function gm(e,t,n=!1){let r,i;const o=de(e);return o?(r=e,i=zt):(r=e.get,i=e.set),new mm(r,i,o||!i,n)}function On(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){Uo(o,t,n)}return i}function Ct(e,t,n,r){if(de(e)){const o=On(e,t,n,r);return o&&yd(o)&&o.catch(s=>{Uo(s,t,n)}),o}const i=[];for(let o=0;o>>1,i=ot[r],o=ai(i);oGt&&ot.splice(t,1)}function xm(e){ae(e)?mr.push(...e):(!tn||!tn.includes(e,e.allowRecurse?$n+1:$n))&&mr.push(e),Hd()}function wc(e,t=li?Gt+1:0){for(;tai(n)-ai(r)),$n=0;$ne.id==null?1/0:e.id,wm=(e,t)=>{const n=ai(e)-ai(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ud(e){Xs=!1,li=!0,ot.sort(wm);const t=zt;try{for(Gt=0;Gtze(p)?p.trim():p)),f&&(i=n.map($1))}let l,a=r[l=ps(t)]||r[l=ps(qt(t))];!a&&o&&(a=r[l=ps(Tr(t))]),a&&Ct(a,e,6,i);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ct(c,e,6,i)}}function Kd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},l=!1;if(!de(e)){const a=c=>{const u=Kd(c,t,!0);u&&(l=!0,We(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(Le(e)&&r.set(e,null),null):(ae(o)?o.forEach(a=>s[a]=null):We(s,o),Le(e)&&r.set(e,s),s)}function Wo(e,t){return!e||!Do(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Tr(t))||ve(e,t))}let nt=null,Go=null;function ho(e){const t=nt;return nt=e,Go=e&&e.type.__scopeId||null,t}function ua(e){Go=e}function fa(){Go=null}function ke(e,t=nt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Lc(-1);const o=ho(t);let s;try{s=e(...i)}finally{ho(o),r._d&&Lc(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ms(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let v,y;const b=ho(e);try{if(n.shapeFlag&4){const x=i||r;v=Kt(u.call(x,x,f,o,p,d,h)),y=a}else{const x=t;v=Kt(x.length>1?x(o,{attrs:a,slots:l,emit:c}):x(o,null)),y=t.props?a:Sm(a)}}catch(x){Qr.length=0,Uo(x,e,1),v=te(Et)}let _=v;if(y&&m!==!1){const x=Object.keys(y),{shapeFlag:S}=_;x.length&&S&7&&(s&&x.some(Ql)&&(y=Om(y,s)),_=Tn(_,y))}return n.dirs&&(_=Tn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,ho(b),v}const Sm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Do(n))&&((t||(t={}))[n]=e[n]);return t},Om=(e,t)=>{const n={};for(const r in e)(!Ql(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Im(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?_c(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Em(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):xm(e)}const Wi={};function Xe(e,t,n){return Wd(e,t,n)}function Wd(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=je){var l;const a=K1()===((l=Ze)==null?void 0:l.scope)?Ze:null;let c,u=!1,f=!1;if(tt(e)?(c=()=>e.value,u=po(e)):hr(e)?(c=()=>e,r=!0):ae(e)?(f=!0,u=e.some(x=>hr(x)||po(x)),c=()=>e.map(x=>{if(tt(x))return x.value;if(hr(x))return zn(x);if(de(x))return On(x,a,2)})):de(e)?t?c=()=>On(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),Ct(e,a,3,[p])}:c=zt,t&&r){const x=c;c=()=>zn(x())}let d,p=x=>{d=b.onStop=()=>{On(x,a,4)}},h;if(ui)if(p=zt,t?n&&Ct(t,a,3,[c(),f?[]:void 0,p]):c(),i==="sync"){const x=S0();h=x.__watcherHandles||(x.__watcherHandles=[])}else return zt;let m=f?new Array(e.length).fill(Wi):Wi;const v=()=>{if(b.active)if(t){const x=b.run();(r||u||(f?x.some((S,O)=>Un(S,m[O])):Un(x,m)))&&(d&&d(),Ct(t,a,3,[x,m===Wi?void 0:f&&m[0]===Wi?[]:m,p]),m=x)}else b.run()};v.allowRecurse=!!t;let y;i==="sync"?y=v:i==="post"?y=()=>ft(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>ca(v));const b=new na(c,y);t?n?v():m=b.run():i==="post"?ft(b.run.bind(b),a&&a.suspense):b.run();const _=()=>{b.stop(),a&&a.scope&&Jl(a.scope.effects,b)};return h&&h.push(_),_}function km(e,t,n){const r=this.proxy,i=ze(e)?e.includes(".")?Gd(r,e):()=>r[e]:e.bind(r,r);let o;de(t)?o=t:(o=t.handler,n=t);const s=Ze;br(this);const l=Wd(i,o.bind(r),n);return s?br(s):Hn(),l}function Gd(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{zn(n,t)});else if(bd(e))for(const n in e)zn(e[n],t);return e}function Ot(e,t){const n=nt;if(n===null)return e;const r=Xo(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Qd(()=>{e.isUnmounting=!0}),e}const _t=[Function,Array],Yd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_t,onEnter:_t,onAfterEnter:_t,onEnterCancelled:_t,onBeforeLeave:_t,onLeave:_t,onAfterLeave:_t,onLeaveCancelled:_t,onBeforeAppear:_t,onAppear:_t,onAfterAppear:_t,onAppearCancelled:_t},Am={name:"BaseTransition",props:Yd,setup(e,{slots:t}){const n=Fi(),r=Mm();let i;return()=>{const o=t.default&&qd(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const m of o)if(m.type!==Et){s=m;break}}const l=xe(e),{mode:a}=l;if(r.isLeaving)return gs(s);const c=Sc(s);if(!c)return gs(s);const u=Qs(c,l,r,n);Js(c,u);const f=n.subTree,d=f&&Sc(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();i===void 0?i=m:m!==i&&(i=m,p=!0)}if(d&&d.type!==Et&&(!Fn(c,d)||p)){const m=Qs(d,l,r,n);if(Js(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},gs(s);a==="in-out"&&c.type!==Et&&(m.delayLeave=(v,y,b)=>{const _=Zd(r,d);_[String(d.key)]=d,v[xn]=()=>{y(),v[xn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return s}}},jm=Am;function Zd(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 Qs(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),x=Zd(n,e),S=(R,q)=>{R&&Ct(R,r,9,q)},O=(R,q)=>{const X=q[1];S(R,q),ae(R)?R.every(N=>N.length<=1)&&X():R.length<=1&&X()},P={mode:o,persisted:s,beforeEnter(R){let q=l;if(!n.isMounted)if(i)q=m||l;else return;R[xn]&&R[xn](!0);const X=x[_];X&&Fn(e,X)&&X.el[xn]&&X.el[xn](),S(q,[R])},enter(R){let q=a,X=c,N=u;if(!n.isMounted)if(i)q=v||a,X=y||c,N=b||u;else return;let H=!1;const Q=R[Gi]=he=>{H||(H=!0,he?S(N,[R]):S(X,[R]),P.delayedLeave&&P.delayedLeave(),R[Gi]=void 0)};q?O(q,[R,Q]):Q()},leave(R,q){const X=String(e.key);if(R[Gi]&&R[Gi](!0),n.isUnmounting)return q();S(f,[R]);let N=!1;const H=R[xn]=Q=>{N||(N=!0,q(),Q?S(h,[R]):S(p,[R]),R[xn]=void 0,x[X]===e&&delete x[X])};x[X]=e,d?O(d,[R,H]):H()},clone(R){return Qs(R,t,n,r)}};return P}function gs(e){if(Yo(e))return e=Tn(e),e.children=null,e}function Sc(e){return Yo(e)?e.children?e.children[0]:void 0:e}function Js(e,t){e.shapeFlag&6&&e.component?Js(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 qd(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oWe({name:e.name},t,{setup:e}))():e}const Zr=e=>!!e.type.__asyncLoader,Yo=e=>e.type.__isKeepAlive;function Pm(e,t){Xd(e,"a",t)}function Lm(e,t){Xd(e,"da",t)}function Xd(e,t,n=Ze){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Zo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Yo(i.parent.vnode)&&$m(r,t,n,i),i=i.parent}}function $m(e,t,n,r){const i=Zo(t,e,r,!0);da(()=>{Jl(r[t],i)},n)}function Zo(e,t,n=Ze,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Er(),br(n);const l=Ct(t,n,e,s);return Hn(),kr(),l});return r?i.unshift(o):i.push(o),o}}const fn=e=>(t,n=Ze)=>(!ui||e==="sp")&&Zo(e,(...r)=>t(...r),n),Fm=fn("bm"),mt=fn("m"),Dm=fn("bu"),zm=fn("u"),Qd=fn("bum"),da=fn("um"),Rm=fn("sp"),Nm=fn("rtg"),Vm=fn("rtc");function Hm(e,t=Ze){Zo("ec",e,t)}const pa="components",Bm="directives";function dt(e,t){return ha(pa,e,!0,t)||e}const Jd=Symbol.for("v-ndc");function St(e){return ze(e)?ha(pa,e,!1)||e:e||Jd}function Cn(e){return ha(Bm,e)}function ha(e,t,n=!0,r=!1){const i=nt||Ze;if(i){const o=i.type;if(e===pa){const l=x0(o,!1);if(l&&(l===t||l===qt(t)||l===Vo(qt(t))))return o}const s=Oc(i[e]||o[e],t)||Oc(i.appContext[e],t);return!s&&r?o:s}}function Oc(e,t){return e&&(e[t]||e[qt(t)]||e[Vo(qt(t))])}function He(e,t,n,r){let i;const o=n&&n[r];if(ae(e)||ze(e)){i=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,a=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function le(e,t,n={},r,i){if(nt.isCE||nt.parent&&Zr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),te("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const s=o&&tp(o(n)),l=Ee(se,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function tp(e){return e.some(t=>yo(t)?!(t.type===Et||t.type===se&&!tp(t.children)):!0)?e:null}const el=e=>e?dp(e)?Xo(e)||e.proxy:el(e.parent):null,qr=We(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=>el(e.parent),$root:e=>el(e.root),$emit:e=>e.emit,$options:e=>ma(e),$forceUpdate:e=>e.f||(e.f=()=>ca(e.update)),$nextTick:e=>e.n||(e.n=Ko.bind(e.proxy)),$watch:e=>km.bind(e)}),ys=(e,t)=>e!==je&&!e.__isScriptSetup&&ve(e,t),Um={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ys(r,t))return s[t]=1,r[t];if(i!==je&&ve(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ve(c,t))return s[t]=3,o[t];if(n!==je&&ve(n,t))return s[t]=4,n[t];tl&&(s[t]=0)}}const u=qr[t];let f,d;if(u)return t==="$attrs"&&ht(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==je&&ve(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return ys(i,t)?(i[t]=n,!0):r!==je&&ve(r,t)?(r[t]=n,!0):ve(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:i,propsOptions:o}},s){let l;return!!n[s]||e!==je&&ve(e,s)||ys(t,s)||(l=o[0])&&ve(l,s)||ve(r,s)||ve(qr,s)||ve(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ic(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let tl=!0;function Km(e){const t=ma(e),n=e.proxy,r=e.ctx;tl=!1,t.beforeCreate&&Cc(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:x,render:S,renderTracked:O,renderTriggered:P,errorCaptured:R,serverPrefetch:q,expose:X,inheritAttrs:N,components:H,directives:Q,filters:he}=t;if(c&&Wm(c,r,null),s)for(const oe in s){const ce=s[oe];de(ce)&&(r[oe]=ce.bind(n))}if(i){const oe=i.call(n,n);Le(oe)&&(e.data=un(oe))}if(tl=!0,o)for(const oe in o){const ce=o[oe],Se=de(ce)?ce.bind(n,n):de(ce.get)?ce.get.bind(n,n):zt,st=!de(ce)&&de(ce.set)?ce.set.bind(n):zt,Re=me({get:Se,set:st});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>Re.value,set:$e=>Re.value=$e})}if(l)for(const oe in l)np(l[oe],r,n,oe);if(a){const oe=de(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(ce=>{no(ce,oe[ce])})}u&&Cc(u,e,"c");function fe(oe,ce){ae(ce)?ce.forEach(Se=>oe(Se.bind(n))):ce&&oe(ce.bind(n))}if(fe(Fm,f),fe(mt,d),fe(Dm,p),fe(zm,h),fe(Pm,m),fe(Lm,v),fe(Hm,R),fe(Vm,O),fe(Nm,P),fe(Qd,b),fe(da,x),fe(Rm,q),ae(X))if(X.length){const oe=e.exposed||(e.exposed={});X.forEach(ce=>{Object.defineProperty(oe,ce,{get:()=>n[ce],set:Se=>n[ce]=Se})})}else e.exposed||(e.exposed={});S&&e.render===zt&&(e.render=S),N!=null&&(e.inheritAttrs=N),H&&(e.components=H),Q&&(e.directives=Q)}function Wm(e,t,n=zt){ae(e)&&(e=nl(e));for(const r in e){const i=e[r];let o;Le(i)?"default"in i?o=Tt(i.from||r,i.default,!0):o=Tt(i.from||r):o=Tt(i),tt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function Cc(e,t,n){Ct(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function np(e,t,n,r){const i=r.includes(".")?Gd(n,r):()=>n[r];if(ze(e)){const o=t[e];de(o)&&Xe(i,o)}else if(de(e))Xe(i,e.bind(n));else if(Le(e))if(ae(e))e.forEach(o=>np(o,t,n,r));else{const o=de(e.handler)?e.handler.bind(n):t[e.handler];de(o)&&Xe(i,o,e)}}function ma(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let a;return l?a=l:!i.length&&!n&&!r?a=t:(a={},i.length&&i.forEach(c=>mo(a,c,s,!0)),mo(a,t,s)),Le(t)&&o.set(t,a),a}function mo(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&mo(e,o,n,!0),i&&i.forEach(s=>mo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Gm[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Gm={data:Tc,props:Ec,emits:Ec,methods:Ur,computed:Ur,beforeCreate:lt,created:lt,beforeMount:lt,mounted:lt,beforeUpdate:lt,updated:lt,beforeDestroy:lt,beforeUnmount:lt,destroyed:lt,unmounted:lt,activated:lt,deactivated:lt,errorCaptured:lt,serverPrefetch:lt,components:Ur,directives:Ur,watch:Zm,provide:Tc,inject:Ym};function Tc(e,t){return t?e?function(){return We(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function Ym(e,t){return Ur(nl(e),nl(t))}function nl(e){if(ae(e)){const t={};for(let n=0;n1)return n&&de(t)?t.call(r&&r.proxy):t}}function Qm(e,t,n,r=!1){const i={},o={};fo(o,qo,1),e.propsDefaults=Object.create(null),ip(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Ld(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Jm(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,l=xe(i),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,p]=op(f,t,!0);We(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return Le(e)&&r.set(e,dr),dr;if(ae(o))for(let u=0;u-1,p[1]=m<0||h-1||ve(p,"default"))&&l.push(f)}}}const c=[s,l];return Le(e)&&r.set(e,c),c}function kc(e){return e[0]!=="$"}function Mc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ac(e,t){return Mc(e)===Mc(t)}function jc(e,t){return ae(t)?t.findIndex(n=>Ac(n,e)):de(t)&&Ac(t,e)?0:-1}const sp=e=>e[0]==="_"||e==="$stable",ga=e=>ae(e)?e.map(Kt):[Kt(e)],e0=(e,t,n)=>{if(t._n)return t;const r=ke((...i)=>ga(t(...i)),n);return r._c=!1,r},lp=(e,t,n)=>{const r=e._ctx;for(const i in e){if(sp(i))continue;const o=e[i];if(de(o))t[i]=e0(i,o,r);else if(o!=null){const s=ga(o);t[i]=()=>s}}},ap=(e,t)=>{const n=ga(t);e.slots.default=()=>n},t0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=xe(t),fo(t,"_",n)):lp(t,e.slots={})}else e.slots={},t&&ap(e,t);fo(e.slots,qo,1)},n0=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=je;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(We(i,t),!n&&l===1&&delete i._):(o=!t.$stable,lp(t,i)),s=t}else t&&(ap(e,t),s={default:1});if(o)for(const l in i)!sp(l)&&s[l]==null&&delete i[l]};function il(e,t,n,r,i=!1){if(ae(e)){e.forEach((d,p)=>il(d,t&&(ae(t)?t[p]:t),n,r,i));return}if(Zr(r)&&!i)return;const o=r.shapeFlag&4?Xo(r.component)||r.component.proxy:r.el,s=i?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===je?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ze(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):tt(c)&&(c.value=null)),de(a))On(a,l,12,[s,u]);else{const d=ze(a),p=tt(a);if(d||p){const h=()=>{if(e.f){const m=d?ve(f,a)?f[a]:u[a]:a.value;i?ae(m)&&Jl(m,o):ae(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ve(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ve(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,ft(h,n)):h()}}}const ft=Em;function r0(e){return i0(e)}function i0(e,t){const n=Ws();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=zt,insertStaticContent:h}=e,m=(g,w,I,A=null,L=null,z=null,G=!1,K=null,W=!!w.dynamicChildren)=>{if(g===w)return;g&&!Fn(g,w)&&(A=F(g),$e(g,L,z,!0),g=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:D,ref:T,shapeFlag:k}=w;switch(D){case $i:v(g,w,I,A);break;case Et:y(g,w,I,A);break;case vs:g==null&&b(w,I,A,G);break;case se:H(g,w,I,A,L,z,G,K,W);break;default:k&1?S(g,w,I,A,L,z,G,K,W):k&6?Q(g,w,I,A,L,z,G,K,W):(k&64||k&128)&&D.process(g,w,I,A,L,z,G,K,W,M)}T!=null&&L&&il(T,g&&g.ref,z,w||g,!w)},v=(g,w,I,A)=>{if(g==null)r(w.el=l(w.children),I,A);else{const L=w.el=g.el;w.children!==g.children&&c(L,w.children)}},y=(g,w,I,A)=>{g==null?r(w.el=a(w.children||""),I,A):w.el=g.el},b=(g,w,I,A)=>{[g.el,g.anchor]=h(g.children,w,I,A,g.el,g.anchor)},_=({el:g,anchor:w},I,A)=>{let L;for(;g&&g!==w;)L=d(g),r(g,I,A),g=L;r(w,I,A)},x=({el:g,anchor:w})=>{let I;for(;g&&g!==w;)I=d(g),i(g),g=I;i(w)},S=(g,w,I,A,L,z,G,K,W)=>{G=G||w.type==="svg",g==null?O(w,I,A,L,z,G,K,W):q(g,w,L,z,G,K,W)},O=(g,w,I,A,L,z,G,K)=>{let W,D;const{type:T,props:k,shapeFlag:ee,transition:ie,dirs:pe}=g;if(W=g.el=s(g.type,z,k&&k.is,k),ee&8?u(W,g.children):ee&16&&R(g.children,W,null,A,L,z&&T!=="foreignObject",G,K),pe&&Mn(g,null,A,"created"),P(W,g,g.scopeId,G,A),k){for(const ge in k)ge!=="value"&&!to(ge)&&o(W,ge,null,k[ge],z,g.children,A,L,Be);"value"in k&&o(W,"value",null,k.value),(D=k.onVnodeBeforeMount)&&Bt(D,A,g)}pe&&Mn(g,null,A,"beforeMount");const Oe=o0(L,ie);Oe&&ie.beforeEnter(W),r(W,w,I),((D=k&&k.onVnodeMounted)||Oe||pe)&&ft(()=>{D&&Bt(D,A,g),Oe&&ie.enter(W),pe&&Mn(g,null,A,"mounted")},L)},P=(g,w,I,A,L)=>{if(I&&p(g,I),A)for(let z=0;z{for(let D=W;D{const K=w.el=g.el;let{patchFlag:W,dynamicChildren:D,dirs:T}=w;W|=g.patchFlag&16;const k=g.props||je,ee=w.props||je;let ie;I&&An(I,!1),(ie=ee.onVnodeBeforeUpdate)&&Bt(ie,I,w,g),T&&Mn(w,g,I,"beforeUpdate"),I&&An(I,!0);const pe=L&&w.type!=="foreignObject";if(D?X(g.dynamicChildren,D,K,I,A,pe,z):G||ce(g,w,K,null,I,A,pe,z,!1),W>0){if(W&16)N(K,w,k,ee,I,A,L);else if(W&2&&k.class!==ee.class&&o(K,"class",null,ee.class,L),W&4&&o(K,"style",k.style,ee.style,L),W&8){const Oe=w.dynamicProps;for(let ge=0;ge{ie&&Bt(ie,I,w,g),T&&Mn(w,g,I,"updated")},A)},X=(g,w,I,A,L,z,G)=>{for(let K=0;K{if(I!==A){if(I!==je)for(const K in I)!to(K)&&!(K in A)&&o(g,K,I[K],null,G,w.children,L,z,Be);for(const K in A){if(to(K))continue;const W=A[K],D=I[K];W!==D&&K!=="value"&&o(g,K,D,W,G,w.children,L,z,Be)}"value"in A&&o(g,"value",I.value,A.value)}},H=(g,w,I,A,L,z,G,K,W)=>{const D=w.el=g?g.el:l(""),T=w.anchor=g?g.anchor:l("");let{patchFlag:k,dynamicChildren:ee,slotScopeIds:ie}=w;ie&&(K=K?K.concat(ie):ie),g==null?(r(D,I,A),r(T,I,A),R(w.children,I,T,L,z,G,K,W)):k>0&&k&64&&ee&&g.dynamicChildren?(X(g.dynamicChildren,ee,I,L,z,G,K),(w.key!=null||L&&w===L.subTree)&&ya(g,w,!0)):ce(g,w,I,T,L,z,G,K,W)},Q=(g,w,I,A,L,z,G,K,W)=>{w.slotScopeIds=K,g==null?w.shapeFlag&512?L.ctx.activate(w,I,A,G,W):he(w,I,A,L,z,G,W):_e(g,w,W)},he=(g,w,I,A,L,z,G)=>{const K=g.component=m0(g,A,L);if(Yo(g)&&(K.ctx.renderer=M),g0(K),K.asyncDep){if(L&&L.registerDep(K,fe),!g.el){const W=K.subTree=te(Et);y(null,W,w,I)}return}fe(K,g,w,I,L,z,G)},_e=(g,w,I)=>{const A=w.component=g.component;if(Im(g,w,I))if(A.asyncDep&&!A.asyncResolved){oe(A,w,I);return}else A.next=w,bm(A.update),A.update();else w.el=g.el,A.vnode=w},fe=(g,w,I,A,L,z,G)=>{const K=()=>{if(g.isMounted){let{next:T,bu:k,u:ee,parent:ie,vnode:pe}=g,Oe=T,ge;An(g,!1),T?(T.el=pe.el,oe(g,T,G)):T=pe,k&&hs(k),(ge=T.props&&T.props.onVnodeBeforeUpdate)&&Bt(ge,ie,T,pe),An(g,!0);const Ne=ms(g),wt=g.subTree;g.subTree=Ne,m(wt,Ne,f(wt.el),F(wt),g,L,z),T.el=Ne.el,Oe===null&&Cm(g,Ne.el),ee&&ft(ee,L),(ge=T.props&&T.props.onVnodeUpdated)&&ft(()=>Bt(ge,ie,T,pe),L)}else{let T;const{el:k,props:ee}=w,{bm:ie,m:pe,parent:Oe}=g,ge=Zr(w);if(An(g,!1),ie&&hs(ie),!ge&&(T=ee&&ee.onVnodeBeforeMount)&&Bt(T,Oe,w),An(g,!0),k&&J){const Ne=()=>{g.subTree=ms(g),J(k,g.subTree,g,L,null)};ge?w.type.__asyncLoader().then(()=>!g.isUnmounted&&Ne()):Ne()}else{const Ne=g.subTree=ms(g);m(null,Ne,I,A,g,L,z),w.el=Ne.el}if(pe&&ft(pe,L),!ge&&(T=ee&&ee.onVnodeMounted)){const Ne=w;ft(()=>Bt(T,Oe,Ne),L)}(w.shapeFlag&256||Oe&&Zr(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&g.a&&ft(g.a,L),g.isMounted=!0,w=I=A=null}},W=g.effect=new na(K,()=>ca(D),g.scope),D=g.update=()=>W.run();D.id=g.uid,An(g,!0),D()},oe=(g,w,I)=>{w.component=g;const A=g.vnode.props;g.vnode=w,g.next=null,Jm(g,w.props,A,I),n0(g,w.children,I),Er(),wc(),kr()},ce=(g,w,I,A,L,z,G,K,W=!1)=>{const D=g&&g.children,T=g?g.shapeFlag:0,k=w.children,{patchFlag:ee,shapeFlag:ie}=w;if(ee>0){if(ee&128){st(D,k,I,A,L,z,G,K,W);return}else if(ee&256){Se(D,k,I,A,L,z,G,K,W);return}}ie&8?(T&16&&Be(D,L,z),k!==D&&u(I,k)):T&16?ie&16?st(D,k,I,A,L,z,G,K,W):Be(D,L,z,!0):(T&8&&u(I,""),ie&16&&R(k,I,A,L,z,G,K,W))},Se=(g,w,I,A,L,z,G,K,W)=>{g=g||dr,w=w||dr;const D=g.length,T=w.length,k=Math.min(D,T);let ee;for(ee=0;eeT?Be(g,L,z,!0,!1,k):R(w,I,A,L,z,G,K,W,k)},st=(g,w,I,A,L,z,G,K,W)=>{let D=0;const T=w.length;let k=g.length-1,ee=T-1;for(;D<=k&&D<=ee;){const ie=g[D],pe=w[D]=W?wn(w[D]):Kt(w[D]);if(Fn(ie,pe))m(ie,pe,I,null,L,z,G,K,W);else break;D++}for(;D<=k&&D<=ee;){const ie=g[k],pe=w[ee]=W?wn(w[ee]):Kt(w[ee]);if(Fn(ie,pe))m(ie,pe,I,null,L,z,G,K,W);else break;k--,ee--}if(D>k){if(D<=ee){const ie=ee+1,pe=ieee)for(;D<=k;)$e(g[D],L,z,!0),D++;else{const ie=D,pe=D,Oe=new Map;for(D=pe;D<=ee;D++){const yt=w[D]=W?wn(w[D]):Kt(w[D]);yt.key!=null&&Oe.set(yt.key,D)}let ge,Ne=0;const wt=ee-pe+1;let tr=!1,uc=0;const Ar=new Array(wt);for(D=0;D=wt){$e(yt,L,z,!0);continue}let Ht;if(yt.key!=null)Ht=Oe.get(yt.key);else for(ge=pe;ge<=ee;ge++)if(Ar[ge-pe]===0&&Fn(yt,w[ge])){Ht=ge;break}Ht===void 0?$e(yt,L,z,!0):(Ar[Ht-pe]=D+1,Ht>=uc?uc=Ht:tr=!0,m(yt,w[Ht],I,null,L,z,G,K,W),Ne++)}const fc=tr?s0(Ar):dr;for(ge=fc.length-1,D=wt-1;D>=0;D--){const yt=pe+D,Ht=w[yt],dc=yt+1{const{el:z,type:G,transition:K,children:W,shapeFlag:D}=g;if(D&6){Re(g.component.subTree,w,I,A);return}if(D&128){g.suspense.move(w,I,A);return}if(D&64){G.move(g,w,I,M);return}if(G===se){r(z,w,I);for(let k=0;kK.enter(z),L);else{const{leave:k,delayLeave:ee,afterLeave:ie}=K,pe=()=>r(z,w,I),Oe=()=>{k(z,()=>{pe(),ie&&ie()})};ee?ee(z,pe,Oe):Oe()}else r(z,w,I)},$e=(g,w,I,A=!1,L=!1)=>{const{type:z,props:G,ref:K,children:W,dynamicChildren:D,shapeFlag:T,patchFlag:k,dirs:ee}=g;if(K!=null&&il(K,null,I,g,!0),T&256){w.ctx.deactivate(g);return}const ie=T&1&&ee,pe=!Zr(g);let Oe;if(pe&&(Oe=G&&G.onVnodeBeforeUnmount)&&Bt(Oe,w,g),T&6)At(g.component,I,A);else{if(T&128){g.suspense.unmount(I,A);return}ie&&Mn(g,null,w,"beforeUnmount"),T&64?g.type.remove(g,w,I,L,M,A):D&&(z!==se||k>0&&k&64)?Be(D,w,I,!1,!0):(z===se&&k&384||!L&&T&16)&&Be(W,w,I),A&&ct(g)}(pe&&(Oe=G&&G.onVnodeUnmounted)||ie)&&ft(()=>{Oe&&Bt(Oe,w,g),ie&&Mn(g,null,w,"unmounted")},I)},ct=g=>{const{type:w,el:I,anchor:A,transition:L}=g;if(w===se){Ke(I,A);return}if(w===vs){x(g);return}const z=()=>{i(I),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(g.shapeFlag&1&&L&&!L.persisted){const{leave:G,delayLeave:K}=L,W=()=>G(I,z);K?K(g.el,z,W):W()}else z()},Ke=(g,w)=>{let I;for(;g!==w;)I=d(g),i(g),g=I;i(w)},At=(g,w,I)=>{const{bum:A,scope:L,update:z,subTree:G,um:K}=g;A&&hs(A),L.stop(),z&&(z.active=!1,$e(G,g,w,I)),K&&ft(K,w),ft(()=>{g.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},Be=(g,w,I,A=!1,L=!1,z=0)=>{for(let G=z;Gg.shapeFlag&6?F(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Z=(g,w,I)=>{g==null?w._vnode&&$e(w._vnode,null,null,!0):m(w._vnode||null,g,w,null,null,null,I),wc(),Bd(),w._vnode=g},M={p:m,um:$e,m:Re,r:ct,mt:he,mc:R,pc:ce,pbc:X,n:F,o:e};let B,J;return t&&([B,J]=t(M)),{render:Z,hydrate:B,createApp:Xm(Z,B)}}function An({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function o0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ya(e,t,n=!1){const r=e.children,i=t.children;if(ae(r)&&ae(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}const l0=e=>e.__isTeleport,Xr=e=>e&&(e.disabled||e.disabled===""),Pc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ol=(e,t)=>{const n=e&&e.to;return ze(n)?t?t(n):null:n},a0={__isTeleport:!0,process(e,t,n,r,i,o,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,y=Xr(t.props);let{shapeFlag:b,children:_,dynamicChildren:x}=t;if(e==null){const S=t.el=m(""),O=t.anchor=m("");p(S,n,r),p(O,n,r);const P=t.target=ol(t.props,h),R=t.targetAnchor=m("");P&&(p(R,P),s=s||Pc(P));const q=(X,N)=>{b&16&&u(_,X,N,i,o,s,l,a)};y?q(n,O):P&&q(P,R)}else{t.el=e.el;const S=t.anchor=e.anchor,O=t.target=e.target,P=t.targetAnchor=e.targetAnchor,R=Xr(e.props),q=R?n:O,X=R?S:P;if(s=s||Pc(O),x?(d(e.dynamicChildren,x,q,i,o,s,l),ya(e,t,!0)):a||f(e,t,q,X,i,o,s,l,!1),y)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Yi(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ol(t.props,h);N&&Yi(t,N,null,c,0)}else R&&Yi(t,O,P,c,1)}cp(t)},remove(e,t,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),s&&o(c),l&16){const p=s||!Xr(d);for(let h=0;h0?Dt||dr:null,f0(),ci>0&&Dt&&Dt.push(e),e}function j(e,t,n,r,i,o){return up(C(e,t,n,r,i,o,!0))}function Ee(e,t,n,r,i){return up(te(e,t,n,r,i,!0))}function yo(e){return e?e.__v_isVNode===!0:!1}function Fn(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",fp=({key:e})=>e??null,ro=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||tt(e)||de(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,r=0,i=null,o=e===se?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fp(t),ref:t&&ro(t),scopeId:Go,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:i,dynamicChildren:null,appContext:null,ctx:nt};return l?(ba(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ze(n)?8:16),ci>0&&!s&&Dt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Dt.push(a),a}const te=d0;function d0(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Jd)&&(e=Et),yo(e)){const l=Tn(e,t,!0);return n&&ba(l,n),ci>0&&!o&&Dt&&(l.shapeFlag&6?Dt[Dt.indexOf(e)]=l:Dt.push(l)),l.patchFlag|=-2,l}if(w0(e)&&(e=e.__vccOpts),t){t=va(t);let{class:l,style:a}=t;l&&!ze(l)&&(t.class=Pe(l)),Le(a)&&($d(a)&&!ae(a)&&(a=We({},a)),t.style=Ho(a))}const s=ze(e)?1:Tm(e)?128:l0(e)?64:Le(e)?4:de(e)?2:0;return C(e,t,n,r,i,s,o,!0)}function va(e){return e?$d(e)||qo in e?We({},e):e:null}function Tn(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:s}=e,l=t?$(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&fp(l),ref:t&&t.ref?n&&i?ae(i)?i.concat(ro(t)):[i,ro(t)]:ro(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==se?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&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function et(e=" ",t=0){return te($i,null,e,t)}function ye(e="",t=!1){return t?(E(),Ee(Et,null,e)):te(Et,null,e)}function Kt(e){return e==null||typeof e=="boolean"?te(Et):ae(e)?te(se,null,e.slice()):typeof e=="object"?wn(e):te($i,null,String(e))}function wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tn(e)}function ba(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ba(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(qo in t)?t._ctx=nt:i===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[et(t)]):n=8);e.children=t,e.shapeFlag|=n}function $(...e){const t={};for(let n=0;nZe||nt;let xa,nr,$c="__VUE_INSTANCE_SETTERS__";(nr=Ws()[$c])||(nr=Ws()[$c]=[]),nr.push(e=>Ze=e),xa=e=>{nr.length>1?nr.forEach(t=>t(e)):nr[0](e)};const br=e=>{xa(e),e.scope.on()},Hn=()=>{Ze&&Ze.scope.off(),xa(null)};function dp(e){return e.vnode.shapeFlag&4}let ui=!1;function g0(e,t=!1){ui=t;const{props:n,children:r}=e.vnode,i=dp(e);Qm(e,n,i,t),t0(e,r);const o=i?y0(e,t):void 0;return ui=!1,o}function y0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Fd(new Proxy(e.ctx,Um));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?b0(e):null;br(e),Er();const o=On(r,e,0,[e.props,i]);if(kr(),Hn(),yd(o)){if(o.then(Hn,Hn),t)return o.then(s=>{Fc(e,s,t)}).catch(s=>{Uo(s,e,0)});e.asyncDep=o}else Fc(e,o,t)}else pp(e,t)}function Fc(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Nd(t)),pp(e,n)}let Dc;function pp(e,t,n){const r=e.type;if(!e.render){if(!t&&Dc&&!r.render){const i=r.template||ma(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=We(We({isCustomElement:o,delimiters:l},s),a);r.render=Dc(i,c)}}e.render=r.render||zt}{br(e),Er();try{Km(e)}finally{kr(),Hn()}}}function v0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ht(e,"get","$attrs"),t[n]}}))}function b0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return v0(e)},slots:e.slots,emit:e.emit,expose:t}}function Xo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Nd(Fd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qr)return qr[n](e)},has(t,n){return n in t||n in qr}}))}function x0(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function w0(e){return de(e)&&"__vccOpts"in e}const me=(e,t)=>gm(e,t,ui);function Kn(e,t,n){const r=arguments.length;return r===2?Le(t)&&!ae(t)?yo(t)?te(e,null,[t]):te(e,t):te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yo(n)&&(n=[n]),te(e,t,n))}const _0=Symbol.for("v-scx"),S0=()=>Tt(_0),O0="3.3.7",I0="http://www.w3.org/2000/svg",Dn=typeof document<"u"?document:null,zc=Dn&&Dn.createElement("template"),C0={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 i=t?Dn.createElementNS(I0,e):Dn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{zc.innerHTML=r?`${e}`:e;const l=zc.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},mn="transition",jr="animation",fi=Symbol("_vtc"),Mr=(e,{slots:t})=>Kn(jm,T0(e),t);Mr.displayName="Transition";const hp={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};Mr.props=We({},Yd,hp);const jn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rc=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function T0(e){const t={};for(const H in e)H in hp||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=E0(i),m=h&&h[0],v=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:O=y,onAppear:P=b,onAppearCancelled:R=_}=t,q=(H,Q,he)=>{Pn(H,Q?u:l),Pn(H,Q?c:s),he&&he()},X=(H,Q)=>{H._isLeaving=!1,Pn(H,f),Pn(H,p),Pn(H,d),Q&&Q()},N=H=>(Q,he)=>{const _e=H?P:b,fe=()=>q(Q,H,he);jn(_e,[Q,fe]),Nc(()=>{Pn(Q,H?a:o),gn(Q,H?u:l),Rc(_e)||Vc(Q,r,m,fe)})};return We(t,{onBeforeEnter(H){jn(y,[H]),gn(H,o),gn(H,s)},onBeforeAppear(H){jn(O,[H]),gn(H,a),gn(H,c)},onEnter:N(!1),onAppear:N(!0),onLeave(H,Q){H._isLeaving=!0;const he=()=>X(H,Q);gn(H,f),A0(),gn(H,d),Nc(()=>{H._isLeaving&&(Pn(H,f),gn(H,p),Rc(x)||Vc(H,r,v,he))}),jn(x,[H,he])},onEnterCancelled(H){q(H,!1),jn(_,[H])},onAppearCancelled(H){q(H,!0),jn(R,[H])},onLeaveCancelled(H){X(H),jn(S,[H])}})}function E0(e){if(e==null)return null;if(Le(e))return[bs(e.enter),bs(e.leave)];{const t=bs(e);return[t,t]}}function bs(e){return F1(e)}function gn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fi]||(e[fi]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[fi];n&&(n.delete(t),n.size||(e[fi]=void 0))}function Nc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let k0=0;function Vc(e,t,n,r){const i=e._endId=++k0,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:l,propCount:a}=M0(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[h]||"").split(", "),i=r(`${mn}Delay`),o=r(`${mn}Duration`),s=Hc(i,o),l=r(`${jr}Delay`),a=r(`${jr}Duration`),c=Hc(l,a);let u=null,f=0,d=0;t===mn?s>0&&(u=mn,f=s,d=o.length):t===jr?c>0&&(u=jr,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?mn:jr:null,d=u?u===mn?o.length:a.length:0);const p=u===mn&&/\b(transform|all)(,|$)/.test(r(`${mn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Hc(e,t){for(;e.lengthBc(n)+Bc(e[r])))}function Bc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function A0(){return document.body.offsetHeight}function j0(e,t,n){const r=e[fi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wa=Symbol("_vod"),sl={beforeMount(e,{value:t},{transition:n}){e[wa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Pr(e,!0),r.enter(e)):r.leave(e,()=>{Pr(e,!1)}):Pr(e,t))},beforeUnmount(e,{value:t}){Pr(e,t)}};function Pr(e,t){e.style.display=t?e[wa]:"none"}function P0(e,t,n){const r=e.style,i=ze(n);if(n&&!i){if(t&&!ze(t))for(const o in t)n[o]==null&&ll(r,o,"");for(const o in n)ll(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),wa in e&&(r.display=o)}}const Uc=/\s*!important$/;function ll(e,t,n){if(ae(n))n.forEach(r=>ll(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=L0(e,t);Uc.test(n)?e.setProperty(Tr(r),n.replace(Uc,""),"important"):e[r]=n}}const Kc=["Webkit","Moz","ms"],xs={};function L0(e,t){const n=xs[t];if(n)return n;let r=qt(t);if(r!=="filter"&&r in e)return xs[t]=r;r=Vo(r);for(let i=0;iws||(V0.then(()=>ws=0),ws=Date.now());function B0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ct(U0(r,n.value),t,5,[r])};return n.value=e,n.attached=H0(),n}function U0(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Zc=/^on[a-z]/,K0=(e,t,n,r,i=!1,o,s,l,a)=>{t==="class"?j0(e,r,i):t==="style"?P0(e,n,r):Do(t)?Ql(t)||R0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):W0(e,t,r,i))?F0(e,t,r,o,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$0(e,t,r,i))};function W0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Zc.test(t)&&de(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Zc.test(t)&&ze(n)?!1:t in e}const G0=["ctrl","shift","alt","meta"],Y0={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)=>G0.some(n=>e[`${n}Key`]&&!t.includes(n))},qc=(e,t)=>(n,...r)=>{for(let i=0;i{const t=q0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Q0(r);if(!i)return;const o=t._component;!de(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function Q0(e){return ze(e)?document.querySelector(e):e}/*! +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Xl(e,t){const n=Object.create(null),r=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const je={},dr=[],zt=()=>{},k1=()=>!1,M1=/^on[^a-z]/,Do=e=>M1.test(e),Ql=e=>e.startsWith("onUpdate:"),Ge=Object.assign,Jl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A1=Object.prototype.hasOwnProperty,ve=(e,t)=>A1.call(e,t),ae=Array.isArray,pr=e=>Ro(e)==="[object Map]",gd=e=>Ro(e)==="[object Set]",de=e=>typeof e=="function",ze=e=>typeof e=="string",zo=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",yd=e=>(Le(e)||de(e))&&de(e.then)&&de(e.catch),vd=Object.prototype.toString,Ro=e=>vd.call(e),j1=e=>Ro(e).slice(8,-1),bd=e=>Ro(e)==="[object Object]",ea=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,to=Xl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),No=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},P1=/-(\w)/g,qt=No(e=>e.replace(P1,(t,n)=>n?n.toUpperCase():"")),L1=/\B([A-Z])/g,Tr=No(e=>e.replace(L1,"-$1").toLowerCase()),Vo=No(e=>e.charAt(0).toUpperCase()+e.slice(1)),ps=No(e=>e?`on${Vo(e)}`:""),Un=(e,t)=>!Object.is(e,t),hs=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},$1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},F1=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let pc;const Ws=()=>pc||(pc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ae(e)){const t={};for(let n=0;n{if(n){const r=n.split(z1);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Pe(e){let t="";if(ze(e))t=e;else if(ae(e))for(let n=0;nze(e)?e:e==null?"":ae(e)||Le(e)&&(e.toString===vd||!de(e.toString))?JSON.stringify(e,_d,2):String(e),_d=(e,t)=>t&&t.__v_isRef?_d(e,t.value):pr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i])=>(n[`${r} =>`]=i,n),{})}:gd(t)?{[`Set(${t.size})`]:[...t.values()]}:Le(t)&&!ae(t)&&!bd(t)?String(t):t;let jt;class Sd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=jt,!t&&jt&&(this.index=(jt.scopes||(jt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=jt;try{return jt=this,t()}finally{jt=n}}}on(){jt=this}off(){jt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Od=e=>(e.w&In)>0,Id=e=>(e.n&In)>0,W1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||!zo(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(s.get(n)),t){case"add":ae(e)?ea(n)&&l.push(s.get("length")):(l.push(s.get(Vn)),pr(e)&&l.push(s.get(Zs)));break;case"delete":ae(e)||(l.push(s.get(Vn)),pr(e)&&l.push(s.get(Zs)));break;case"set":pr(e)&&l.push(s.get(Vn));break}if(l.length===1)l[0]&&qs(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);qs(ta(a))}}function qs(e,t){const n=ae(e)?e:[...e];for(const r of n)r.computed&&mc(r);for(const r of n)r.computed||mc(r)}function mc(e,t){(e!==$t||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Y1=Xl("__proto__,__v_isRef,__isVue"),Ed=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(zo)),gc=Z1();function Z1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=xe(this);for(let o=0,s=this.length;o{e[t]=function(...n){Er();const r=xe(this)[t].apply(this,n);return kr(),r}}),e}function q1(e){const t=xe(this);return ht(t,"has",e),t.hasOwnProperty(e)}class kd{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const i=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return o;if(n==="__v_raw"&&r===(i?o?cm:Pd:o?jd:Ad).get(t))return t;const s=ae(t);if(!i){if(s&&ve(gc,n))return Reflect.get(gc,n,r);if(n==="hasOwnProperty")return q1}const l=Reflect.get(t,n,r);return(zo(n)?Ed.has(n):Y1(n))||(i||ht(t,"get",n),o)?l:tt(l)?s&&ea(n)?l:l.value:Le(l)?i?oa(l):un(l):l}}class Md extends kd{constructor(t=!1){super(!1,t)}set(t,n,r,i){let o=t[n];if(vr(o)&&tt(o)&&!tt(r))return!1;if(!this._shallow&&(!po(r)&&!vr(r)&&(o=xe(o),r=xe(r)),!ae(t)&&tt(o)&&!tt(r)))return o.value=r,!0;const s=ae(t)&&ea(n)?Number(n)e,Bo=e=>Reflect.getPrototypeOf(e);function Vi(e,t,n=!1,r=!1){e=e.__v_raw;const i=xe(e),o=xe(t);n||(Un(t,o)&&ht(i,"get",t),ht(i,"get",o));const{has:s}=Bo(i),l=r?ra:n?la:si;if(s.call(i,t))return l(e.get(t));if(s.call(i,o))return l(e.get(o));e!==i&&e.get(t)}function Hi(e,t=!1){const n=this.__v_raw,r=xe(n),i=xe(e);return t||(Un(e,i)&&ht(r,"has",e),ht(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Bi(e,t=!1){return e=e.__v_raw,!t&&ht(xe(e),"iterate",Vn),Reflect.get(e,"size",e)}function yc(e){e=xe(e);const t=xe(this);return Bo(t).has.call(t,e)||(t.add(e),on(t,"add",e,e)),this}function vc(e,t){t=xe(t);const n=xe(this),{has:r,get:i}=Bo(n);let o=r.call(n,e);o||(e=xe(e),o=r.call(n,e));const s=i.call(n,e);return n.set(e,t),o?Un(t,s)&&on(n,"set",e,t):on(n,"add",e,t),this}function bc(e){const t=xe(this),{has:n,get:r}=Bo(t);let i=n.call(t,e);i||(e=xe(e),i=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return i&&on(t,"delete",e,void 0),o}function xc(){const e=xe(this),t=e.size!==0,n=e.clear();return t&&on(e,"clear",void 0,void 0),n}function Ui(e,t){return function(r,i){const o=this,s=o.__v_raw,l=xe(s),a=t?ra:e?la:si;return!e&&ht(l,"iterate",Vn),s.forEach((c,u)=>r.call(i,a(c),a(u),o))}}function Ki(e,t,n){return function(...r){const i=this.__v_raw,o=xe(i),s=pr(o),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=i[e](...r),u=n?ra:t?la:si;return!t&&ht(o,"iterate",a?Zs:Vn),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function hn(e){return function(...t){return e==="delete"?!1:this}}function tm(){const e={get(o){return Vi(this,o)},get size(){return Bi(this)},has:Hi,add:yc,set:vc,delete:bc,clear:xc,forEach:Ui(!1,!1)},t={get(o){return Vi(this,o,!1,!0)},get size(){return Bi(this)},has:Hi,add:yc,set:vc,delete:bc,clear:xc,forEach:Ui(!1,!0)},n={get(o){return Vi(this,o,!0)},get size(){return Bi(this,!0)},has(o){return Hi.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Ui(!0,!1)},r={get(o){return Vi(this,o,!0,!0)},get size(){return Bi(this,!0)},has(o){return Hi.call(this,o,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:Ui(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ki(o,!1,!1),n[o]=Ki(o,!0,!1),t[o]=Ki(o,!1,!0),r[o]=Ki(o,!0,!0)}),[e,n,t,r]}const[nm,rm,im,om]=tm();function ia(e,t){const n=t?e?om:im:e?rm:nm;return(r,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(ve(n,i)&&i in r?n:r,i,o)}const sm={get:ia(!1,!1)},lm={get:ia(!1,!0)},am={get:ia(!0,!1)},Ad=new WeakMap,jd=new WeakMap,Pd=new WeakMap,cm=new WeakMap;function um(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fm(e){return e.__v_skip||!Object.isExtensible(e)?0:um(j1(e))}function un(e){return vr(e)?e:sa(e,!1,Q1,sm,Ad)}function Ld(e){return sa(e,!1,em,lm,jd)}function oa(e){return sa(e,!0,J1,am,Pd)}function sa(e,t,n,r,i){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const s=fm(e);if(s===0)return e;const l=new Proxy(e,s===2?r:n);return i.set(e,l),l}function hr(e){return vr(e)?hr(e.__v_raw):!!(e&&e.__v_isReactive)}function vr(e){return!!(e&&e.__v_isReadonly)}function po(e){return!!(e&&e.__v_isShallow)}function $d(e){return hr(e)||vr(e)}function xe(e){const t=e&&e.__v_raw;return t?xe(t):e}function Fd(e){return fo(e,"__v_skip",!0),e}const si=e=>Le(e)?un(e):e,la=e=>Le(e)?oa(e):e;function Dd(e){Sn&&$t&&(e=xe(e),Td(e.dep||(e.dep=ta())))}function zd(e,t){e=xe(e);const n=e.dep;n&&qs(n)}function tt(e){return!!(e&&e.__v_isRef===!0)}function ue(e){return Rd(e,!1)}function dm(e){return Rd(e,!0)}function Rd(e,t){return tt(e)?e:new pm(e,t)}class pm{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:xe(t),this._value=n?t:si(t)}get value(){return Dd(this),this._value}set value(t){const n=this.__v_isShallow||po(t)||vr(t);t=n?t:xe(t),Un(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:si(t),zd(this))}}function ne(e){return tt(e)?e.value:e}const hm={get:(e,t,n)=>ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return tt(i)&&!tt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Nd(e){return hr(e)?e:new Proxy(e,hm)}class mm{constructor(t,n,r,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new na(t,()=>{this._dirty||(this._dirty=!0,zd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=xe(this);return Dd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function gm(e,t,n=!1){let r,i;const o=de(e);return o?(r=e,i=zt):(r=e.get,i=e.set),new mm(r,i,o||!i,n)}function On(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){Uo(o,t,n)}return i}function Tt(e,t,n,r){if(de(e)){const o=On(e,t,n,r);return o&&yd(o)&&o.catch(s=>{Uo(s,t,n)}),o}const i=[];for(let o=0;o>>1,i=ot[r],o=ai(i);oGt&&ot.splice(t,1)}function xm(e){ae(e)?mr.push(...e):(!tn||!tn.includes(e,e.allowRecurse?$n+1:$n))&&mr.push(e),Hd()}function wc(e,t=li?Gt+1:0){for(;tai(n)-ai(r)),$n=0;$ne.id==null?1/0:e.id,wm=(e,t)=>{const n=ai(e)-ai(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ud(e){Xs=!1,li=!0,ot.sort(wm);const t=zt;try{for(Gt=0;Gtze(p)?p.trim():p)),f&&(i=n.map($1))}let l,a=r[l=ps(t)]||r[l=ps(qt(t))];!a&&o&&(a=r[l=ps(Tr(t))]),a&&Tt(a,e,6,i);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Tt(c,e,6,i)}}function Kd(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const o=e.emits;let s={},l=!1;if(!de(e)){const a=c=>{const u=Kd(c,t,!0);u&&(l=!0,Ge(s,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(Le(e)&&r.set(e,null),null):(ae(o)?o.forEach(a=>s[a]=null):Ge(s,o),Le(e)&&r.set(e,s),s)}function Wo(e,t){return!e||!Do(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Tr(t))||ve(e,t))}let nt=null,Go=null;function ho(e){const t=nt;return nt=e,Go=e&&e.type.__scopeId||null,t}function ua(e){Go=e}function fa(){Go=null}function ke(e,t=nt,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&Lc(-1);const o=ho(t);let s;try{s=e(...i)}finally{ho(o),r._d&&Lc(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function ms(e){const{type:t,vnode:n,proxy:r,withProxy:i,props:o,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e;let v,y;const b=ho(e);try{if(n.shapeFlag&4){const x=i||r;v=Kt(u.call(x,x,f,o,p,d,h)),y=a}else{const x=t;v=Kt(x.length>1?x(o,{attrs:a,slots:l,emit:c}):x(o,null)),y=t.props?a:Sm(a)}}catch(x){Qr.length=0,Uo(x,e,1),v=te(kt)}let _=v;if(y&&m!==!1){const x=Object.keys(y),{shapeFlag:S}=_;x.length&&S&7&&(s&&x.some(Ql)&&(y=Om(y,s)),_=Tn(_,y))}return n.dirs&&(_=Tn(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,ho(b),v}const Sm=e=>{let t;for(const n in e)(n==="class"||n==="style"||Do(n))&&((t||(t={}))[n]=e[n]);return t},Om=(e,t)=>{const n={};for(const r in e)(!Ql(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Im(e,t,n){const{props:r,children:i,component:o}=e,{props:s,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?_c(r,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function Em(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):xm(e)}const Wi={};function We(e,t,n){return Wd(e,t,n)}function Wd(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:s}=je){var l;const a=K1()===((l=qe)==null?void 0:l.scope)?qe:null;let c,u=!1,f=!1;if(tt(e)?(c=()=>e.value,u=po(e)):hr(e)?(c=()=>e,r=!0):ae(e)?(f=!0,u=e.some(x=>hr(x)||po(x)),c=()=>e.map(x=>{if(tt(x))return x.value;if(hr(x))return zn(x);if(de(x))return On(x,a,2)})):de(e)?t?c=()=>On(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return d&&d(),Tt(e,a,3,[p])}:c=zt,t&&r){const x=c;c=()=>zn(x())}let d,p=x=>{d=b.onStop=()=>{On(x,a,4)}},h;if(ui)if(p=zt,t?n&&Tt(t,a,3,[c(),f?[]:void 0,p]):c(),i==="sync"){const x=S0();h=x.__watcherHandles||(x.__watcherHandles=[])}else return zt;let m=f?new Array(e.length).fill(Wi):Wi;const v=()=>{if(b.active)if(t){const x=b.run();(r||u||(f?x.some((S,O)=>Un(S,m[O])):Un(x,m)))&&(d&&d(),Tt(t,a,3,[x,m===Wi?void 0:f&&m[0]===Wi?[]:m,p]),m=x)}else b.run()};v.allowRecurse=!!t;let y;i==="sync"?y=v:i==="post"?y=()=>ft(v,a&&a.suspense):(v.pre=!0,a&&(v.id=a.uid),y=()=>ca(v));const b=new na(c,y);t?n?v():m=b.run():i==="post"?ft(b.run.bind(b),a&&a.suspense):b.run();const _=()=>{b.stop(),a&&a.scope&&Jl(a.scope.effects,b)};return h&&h.push(_),_}function km(e,t,n){const r=this.proxy,i=ze(e)?e.includes(".")?Gd(r,e):()=>r[e]:e.bind(r,r);let o;de(t)?o=t:(o=t.handler,n=t);const s=qe;br(this);const l=Wd(i,o.bind(r),n);return s?br(s):Hn(),l}function Gd(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i{zn(n,t)});else if(bd(e))for(const n in e)zn(e[n],t);return e}function It(e,t){const n=nt;if(n===null)return e;const r=Xo(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let o=0;o{e.isMounted=!0}),Qd(()=>{e.isUnmounting=!0}),e}const St=[Function,Array],Yd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:St,onEnter:St,onAfterEnter:St,onEnterCancelled:St,onBeforeLeave:St,onLeave:St,onAfterLeave:St,onLeaveCancelled:St,onBeforeAppear:St,onAppear:St,onAfterAppear:St,onAppearCancelled:St},Am={name:"BaseTransition",props:Yd,setup(e,{slots:t}){const n=Fi(),r=Mm();let i;return()=>{const o=t.default&&qd(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const m of o)if(m.type!==kt){s=m;break}}const l=xe(e),{mode:a}=l;if(r.isLeaving)return gs(s);const c=Sc(s);if(!c)return gs(s);const u=Qs(c,l,r,n);Js(c,u);const f=n.subTree,d=f&&Sc(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const m=h();i===void 0?i=m:m!==i&&(i=m,p=!0)}if(d&&d.type!==kt&&(!Fn(c,d)||p)){const m=Qs(d,l,r,n);if(Js(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},gs(s);a==="in-out"&&c.type!==kt&&(m.delayLeave=(v,y,b)=>{const _=Zd(r,d);_[String(d.key)]=d,v[xn]=()=>{y(),v[xn]=void 0,delete u.delayedLeave},u.delayedLeave=b})}return s}}},jm=Am;function Zd(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 Qs(e,t,n,r){const{appear:i,mode:o,persisted:s=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,_=String(e.key),x=Zd(n,e),S=(R,q)=>{R&&Tt(R,r,9,q)},O=(R,q)=>{const X=q[1];S(R,q),ae(R)?R.every(N=>N.length<=1)&&X():R.length<=1&&X()},P={mode:o,persisted:s,beforeEnter(R){let q=l;if(!n.isMounted)if(i)q=m||l;else return;R[xn]&&R[xn](!0);const X=x[_];X&&Fn(e,X)&&X.el[xn]&&X.el[xn](),S(q,[R])},enter(R){let q=a,X=c,N=u;if(!n.isMounted)if(i)q=v||a,X=y||c,N=b||u;else return;let H=!1;const Q=R[Gi]=he=>{H||(H=!0,he?S(N,[R]):S(X,[R]),P.delayedLeave&&P.delayedLeave(),R[Gi]=void 0)};q?O(q,[R,Q]):Q()},leave(R,q){const X=String(e.key);if(R[Gi]&&R[Gi](!0),n.isUnmounting)return q();S(f,[R]);let N=!1;const H=R[xn]=Q=>{N||(N=!0,q(),Q?S(h,[R]):S(p,[R]),R[xn]=void 0,x[X]===e&&delete x[X])};x[X]=e,d?O(d,[R,H]):H()},clone(R){return Qs(R,t,n,r)}};return P}function gs(e){if(Yo(e))return e=Tn(e),e.children=null,e}function Sc(e){return Yo(e)?e.children?e.children[0]:void 0:e}function Js(e,t){e.shapeFlag&6&&e.component?Js(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 qd(e,t=!1,n){let r=[],i=0;for(let o=0;o1)for(let o=0;oGe({name:e.name},t,{setup:e}))():e}const Zr=e=>!!e.type.__asyncLoader,Yo=e=>e.type.__isKeepAlive;function Pm(e,t){Xd(e,"a",t)}function Lm(e,t){Xd(e,"da",t)}function Xd(e,t,n=qe){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Zo(t,r,n),n){let i=n.parent;for(;i&&i.parent;)Yo(i.parent.vnode)&&$m(r,t,n,i),i=i.parent}}function $m(e,t,n,r){const i=Zo(t,e,r,!0);da(()=>{Jl(r[t],i)},n)}function Zo(e,t,n=qe,r=!1){if(n){const i=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;Er(),br(n);const l=Tt(t,n,e,s);return Hn(),kr(),l});return r?i.unshift(o):i.push(o),o}}const fn=e=>(t,n=qe)=>(!ui||e==="sp")&&Zo(e,(...r)=>t(...r),n),Fm=fn("bm"),mt=fn("m"),Dm=fn("bu"),zm=fn("u"),Qd=fn("bum"),da=fn("um"),Rm=fn("sp"),Nm=fn("rtg"),Vm=fn("rtc");function Hm(e,t=qe){Zo("ec",e,t)}const pa="components",Bm="directives";function dt(e,t){return ha(pa,e,!0,t)||e}const Jd=Symbol.for("v-ndc");function Ot(e){return ze(e)?ha(pa,e,!1)||e:e||Jd}function Cn(e){return ha(Bm,e)}function ha(e,t,n=!0,r=!1){const i=nt||qe;if(i){const o=i.type;if(e===pa){const l=x0(o,!1);if(l&&(l===t||l===qt(t)||l===Vo(qt(t))))return o}const s=Oc(i[e]||o[e],t)||Oc(i.appContext[e],t);return!s&&r?o:s}}function Oc(e,t){return e&&(e[t]||e[qt(t)]||e[Vo(qt(t))])}function He(e,t,n,r){let i;const o=n&&n[r];if(ae(e)||ze(e)){i=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,o&&o[l]));else{const s=Object.keys(e);i=new Array(s.length);for(let l=0,a=s.length;l{const o=r.fn(...i);return o&&(o.key=r.key),o}:r.fn)}return e}function le(e,t,n={},r,i){if(nt.isCE||nt.parent&&Zr(nt.parent)&&nt.parent.isCE)return t!=="default"&&(n.name=t),te("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),E();const s=o&&tp(o(n)),l=Ee(se,{key:n.key||s&&s.key||`_${t}`},s||(r?r():[]),s&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function tp(e){return e.some(t=>yo(t)?!(t.type===kt||t.type===se&&!tp(t.children)):!0)?e:null}const el=e=>e?dp(e)?Xo(e)||e.proxy:el(e.parent):null,qr=Ge(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=>el(e.parent),$root:e=>el(e.root),$emit:e=>e.emit,$options:e=>ma(e),$forceUpdate:e=>e.f||(e.f=()=>ca(e.update)),$nextTick:e=>e.n||(e.n=Ko.bind(e.proxy)),$watch:e=>km.bind(e)}),ys=(e,t)=>e!==je&&!e.__isScriptSetup&&ve(e,t),Um={get({_:e},t){const{ctx:n,setupState:r,data:i,props:o,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return o[t]}else{if(ys(r,t))return s[t]=1,r[t];if(i!==je&&ve(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&ve(c,t))return s[t]=3,o[t];if(n!==je&&ve(n,t))return s[t]=4,n[t];tl&&(s[t]=0)}}const u=qr[t];let f,d;if(u)return t==="$attrs"&&ht(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==je&&ve(n,t))return s[t]=4,n[t];if(d=a.config.globalProperties,ve(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:o}=e;return ys(i,t)?(i[t]=n,!0):r!==je&&ve(r,t)?(r[t]=n,!0):ve(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:i,propsOptions:o}},s){let l;return!!n[s]||e!==je&&ve(e,s)||ys(t,s)||(l=o[0])&&ve(l,s)||ve(r,s)||ve(qr,s)||ve(i.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ic(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let tl=!0;function Km(e){const t=ma(e),n=e.proxy,r=e.ctx;tl=!1,t.beforeCreate&&Cc(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:b,destroyed:_,unmounted:x,render:S,renderTracked:O,renderTriggered:P,errorCaptured:R,serverPrefetch:q,expose:X,inheritAttrs:N,components:H,directives:Q,filters:he}=t;if(c&&Wm(c,r,null),s)for(const oe in s){const ce=s[oe];de(ce)&&(r[oe]=ce.bind(n))}if(i){const oe=i.call(n,n);Le(oe)&&(e.data=un(oe))}if(tl=!0,o)for(const oe in o){const ce=o[oe],Se=de(ce)?ce.bind(n,n):de(ce.get)?ce.get.bind(n,n):zt,st=!de(ce)&&de(ce.set)?ce.set.bind(n):zt,Re=me({get:Se,set:st});Object.defineProperty(r,oe,{enumerable:!0,configurable:!0,get:()=>Re.value,set:$e=>Re.value=$e})}if(l)for(const oe in l)np(l[oe],r,n,oe);if(a){const oe=de(a)?a.call(n):a;Reflect.ownKeys(oe).forEach(ce=>{no(ce,oe[ce])})}u&&Cc(u,e,"c");function fe(oe,ce){ae(ce)?ce.forEach(Se=>oe(Se.bind(n))):ce&&oe(ce.bind(n))}if(fe(Fm,f),fe(mt,d),fe(Dm,p),fe(zm,h),fe(Pm,m),fe(Lm,v),fe(Hm,R),fe(Vm,O),fe(Nm,P),fe(Qd,b),fe(da,x),fe(Rm,q),ae(X))if(X.length){const oe=e.exposed||(e.exposed={});X.forEach(ce=>{Object.defineProperty(oe,ce,{get:()=>n[ce],set:Se=>n[ce]=Se})})}else e.exposed||(e.exposed={});S&&e.render===zt&&(e.render=S),N!=null&&(e.inheritAttrs=N),H&&(e.components=H),Q&&(e.directives=Q)}function Wm(e,t,n=zt){ae(e)&&(e=nl(e));for(const r in e){const i=e[r];let o;Le(i)?"default"in i?o=Et(i.from||r,i.default,!0):o=Et(i.from||r):o=Et(i),tt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[r]=o}}function Cc(e,t,n){Tt(ae(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function np(e,t,n,r){const i=r.includes(".")?Gd(n,r):()=>n[r];if(ze(e)){const o=t[e];de(o)&&We(i,o)}else if(de(e))We(i,e.bind(n));else if(Le(e))if(ae(e))e.forEach(o=>np(o,t,n,r));else{const o=de(e.handler)?e.handler.bind(n):t[e.handler];de(o)&&We(i,o,e)}}function ma(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let a;return l?a=l:!i.length&&!n&&!r?a=t:(a={},i.length&&i.forEach(c=>mo(a,c,s,!0)),mo(a,t,s)),Le(t)&&o.set(t,a),a}function mo(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&mo(e,o,n,!0),i&&i.forEach(s=>mo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const l=Gm[s]||n&&n[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Gm={data:Tc,props:Ec,emits:Ec,methods:Ur,computed:Ur,beforeCreate:lt,created:lt,beforeMount:lt,mounted:lt,beforeUpdate:lt,updated:lt,beforeDestroy:lt,beforeUnmount:lt,destroyed:lt,unmounted:lt,activated:lt,deactivated:lt,errorCaptured:lt,serverPrefetch:lt,components:Ur,directives:Ur,watch:Zm,provide:Tc,inject:Ym};function Tc(e,t){return t?e?function(){return Ge(de(e)?e.call(this,this):e,de(t)?t.call(this,this):t)}:t:e}function Ym(e,t){return Ur(nl(e),nl(t))}function nl(e){if(ae(e)){const t={};for(let n=0;n1)return n&&de(t)?t.call(r&&r.proxy):t}}function Qm(e,t,n,r=!1){const i={},o={};fo(o,qo,1),e.propsDefaults=Object.create(null),ip(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);n?e.props=r?i:Ld(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Jm(e,t,n,r){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,l=xe(i),[a]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,p]=op(f,t,!0);Ge(s,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return Le(e)&&r.set(e,dr),dr;if(ae(o))for(let u=0;u-1,p[1]=m<0||h-1||ve(p,"default"))&&l.push(f)}}}const c=[s,l];return Le(e)&&r.set(e,c),c}function kc(e){return e[0]!=="$"}function Mc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ac(e,t){return Mc(e)===Mc(t)}function jc(e,t){return ae(t)?t.findIndex(n=>Ac(n,e)):de(t)&&Ac(t,e)?0:-1}const sp=e=>e[0]==="_"||e==="$stable",ga=e=>ae(e)?e.map(Kt):[Kt(e)],e0=(e,t,n)=>{if(t._n)return t;const r=ke((...i)=>ga(t(...i)),n);return r._c=!1,r},lp=(e,t,n)=>{const r=e._ctx;for(const i in e){if(sp(i))continue;const o=e[i];if(de(o))t[i]=e0(i,o,r);else if(o!=null){const s=ga(o);t[i]=()=>s}}},ap=(e,t)=>{const n=ga(t);e.slots.default=()=>n},t0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=xe(t),fo(t,"_",n)):lp(t,e.slots={})}else e.slots={},t&&ap(e,t);fo(e.slots,qo,1)},n0=(e,t,n)=>{const{vnode:r,slots:i}=e;let o=!0,s=je;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Ge(i,t),!n&&l===1&&delete i._):(o=!t.$stable,lp(t,i)),s=t}else t&&(ap(e,t),s={default:1});if(o)for(const l in i)!sp(l)&&s[l]==null&&delete i[l]};function il(e,t,n,r,i=!1){if(ae(e)){e.forEach((d,p)=>il(d,t&&(ae(t)?t[p]:t),n,r,i));return}if(Zr(r)&&!i)return;const o=r.shapeFlag&4?Xo(r.component)||r.component.proxy:r.el,s=i?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===je?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ze(c)?(u[c]=null,ve(f,c)&&(f[c]=null)):tt(c)&&(c.value=null)),de(a))On(a,l,12,[s,u]);else{const d=ze(a),p=tt(a);if(d||p){const h=()=>{if(e.f){const m=d?ve(f,a)?f[a]:u[a]:a.value;i?ae(m)&&Jl(m,o):ae(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ve(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=s,ve(f,a)&&(f[a]=s)):p&&(a.value=s,e.k&&(u[e.k]=s))};s?(h.id=-1,ft(h,n)):h()}}}const ft=Em;function r0(e){return i0(e)}function i0(e,t){const n=Ws();n.__VUE__=!0;const{insert:r,remove:i,patchProp:o,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=zt,insertStaticContent:h}=e,m=(g,w,I,A=null,L=null,z=null,G=!1,K=null,W=!!w.dynamicChildren)=>{if(g===w)return;g&&!Fn(g,w)&&(A=F(g),$e(g,L,z,!0),g=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:D,ref:T,shapeFlag:k}=w;switch(D){case $i:v(g,w,I,A);break;case kt:y(g,w,I,A);break;case vs:g==null&&b(w,I,A,G);break;case se:H(g,w,I,A,L,z,G,K,W);break;default:k&1?S(g,w,I,A,L,z,G,K,W):k&6?Q(g,w,I,A,L,z,G,K,W):(k&64||k&128)&&D.process(g,w,I,A,L,z,G,K,W,M)}T!=null&&L&&il(T,g&&g.ref,z,w||g,!w)},v=(g,w,I,A)=>{if(g==null)r(w.el=l(w.children),I,A);else{const L=w.el=g.el;w.children!==g.children&&c(L,w.children)}},y=(g,w,I,A)=>{g==null?r(w.el=a(w.children||""),I,A):w.el=g.el},b=(g,w,I,A)=>{[g.el,g.anchor]=h(g.children,w,I,A,g.el,g.anchor)},_=({el:g,anchor:w},I,A)=>{let L;for(;g&&g!==w;)L=d(g),r(g,I,A),g=L;r(w,I,A)},x=({el:g,anchor:w})=>{let I;for(;g&&g!==w;)I=d(g),i(g),g=I;i(w)},S=(g,w,I,A,L,z,G,K,W)=>{G=G||w.type==="svg",g==null?O(w,I,A,L,z,G,K,W):q(g,w,L,z,G,K,W)},O=(g,w,I,A,L,z,G,K)=>{let W,D;const{type:T,props:k,shapeFlag:ee,transition:ie,dirs:pe}=g;if(W=g.el=s(g.type,z,k&&k.is,k),ee&8?u(W,g.children):ee&16&&R(g.children,W,null,A,L,z&&T!=="foreignObject",G,K),pe&&Mn(g,null,A,"created"),P(W,g,g.scopeId,G,A),k){for(const ge in k)ge!=="value"&&!to(ge)&&o(W,ge,null,k[ge],z,g.children,A,L,Be);"value"in k&&o(W,"value",null,k.value),(D=k.onVnodeBeforeMount)&&Bt(D,A,g)}pe&&Mn(g,null,A,"beforeMount");const Oe=o0(L,ie);Oe&&ie.beforeEnter(W),r(W,w,I),((D=k&&k.onVnodeMounted)||Oe||pe)&&ft(()=>{D&&Bt(D,A,g),Oe&&ie.enter(W),pe&&Mn(g,null,A,"mounted")},L)},P=(g,w,I,A,L)=>{if(I&&p(g,I),A)for(let z=0;z{for(let D=W;D{const K=w.el=g.el;let{patchFlag:W,dynamicChildren:D,dirs:T}=w;W|=g.patchFlag&16;const k=g.props||je,ee=w.props||je;let ie;I&&An(I,!1),(ie=ee.onVnodeBeforeUpdate)&&Bt(ie,I,w,g),T&&Mn(w,g,I,"beforeUpdate"),I&&An(I,!0);const pe=L&&w.type!=="foreignObject";if(D?X(g.dynamicChildren,D,K,I,A,pe,z):G||ce(g,w,K,null,I,A,pe,z,!1),W>0){if(W&16)N(K,w,k,ee,I,A,L);else if(W&2&&k.class!==ee.class&&o(K,"class",null,ee.class,L),W&4&&o(K,"style",k.style,ee.style,L),W&8){const Oe=w.dynamicProps;for(let ge=0;ge{ie&&Bt(ie,I,w,g),T&&Mn(w,g,I,"updated")},A)},X=(g,w,I,A,L,z,G)=>{for(let K=0;K{if(I!==A){if(I!==je)for(const K in I)!to(K)&&!(K in A)&&o(g,K,I[K],null,G,w.children,L,z,Be);for(const K in A){if(to(K))continue;const W=A[K],D=I[K];W!==D&&K!=="value"&&o(g,K,D,W,G,w.children,L,z,Be)}"value"in A&&o(g,"value",I.value,A.value)}},H=(g,w,I,A,L,z,G,K,W)=>{const D=w.el=g?g.el:l(""),T=w.anchor=g?g.anchor:l("");let{patchFlag:k,dynamicChildren:ee,slotScopeIds:ie}=w;ie&&(K=K?K.concat(ie):ie),g==null?(r(D,I,A),r(T,I,A),R(w.children,I,T,L,z,G,K,W)):k>0&&k&64&&ee&&g.dynamicChildren?(X(g.dynamicChildren,ee,I,L,z,G,K),(w.key!=null||L&&w===L.subTree)&&ya(g,w,!0)):ce(g,w,I,T,L,z,G,K,W)},Q=(g,w,I,A,L,z,G,K,W)=>{w.slotScopeIds=K,g==null?w.shapeFlag&512?L.ctx.activate(w,I,A,G,W):he(w,I,A,L,z,G,W):_e(g,w,W)},he=(g,w,I,A,L,z,G)=>{const K=g.component=m0(g,A,L);if(Yo(g)&&(K.ctx.renderer=M),g0(K),K.asyncDep){if(L&&L.registerDep(K,fe),!g.el){const W=K.subTree=te(kt);y(null,W,w,I)}return}fe(K,g,w,I,L,z,G)},_e=(g,w,I)=>{const A=w.component=g.component;if(Im(g,w,I))if(A.asyncDep&&!A.asyncResolved){oe(A,w,I);return}else A.next=w,bm(A.update),A.update();else w.el=g.el,A.vnode=w},fe=(g,w,I,A,L,z,G)=>{const K=()=>{if(g.isMounted){let{next:T,bu:k,u:ee,parent:ie,vnode:pe}=g,Oe=T,ge;An(g,!1),T?(T.el=pe.el,oe(g,T,G)):T=pe,k&&hs(k),(ge=T.props&&T.props.onVnodeBeforeUpdate)&&Bt(ge,ie,T,pe),An(g,!0);const Ne=ms(g),_t=g.subTree;g.subTree=Ne,m(_t,Ne,f(_t.el),F(_t),g,L,z),T.el=Ne.el,Oe===null&&Cm(g,Ne.el),ee&&ft(ee,L),(ge=T.props&&T.props.onVnodeUpdated)&&ft(()=>Bt(ge,ie,T,pe),L)}else{let T;const{el:k,props:ee}=w,{bm:ie,m:pe,parent:Oe}=g,ge=Zr(w);if(An(g,!1),ie&&hs(ie),!ge&&(T=ee&&ee.onVnodeBeforeMount)&&Bt(T,Oe,w),An(g,!0),k&&J){const Ne=()=>{g.subTree=ms(g),J(k,g.subTree,g,L,null)};ge?w.type.__asyncLoader().then(()=>!g.isUnmounted&&Ne()):Ne()}else{const Ne=g.subTree=ms(g);m(null,Ne,I,A,g,L,z),w.el=Ne.el}if(pe&&ft(pe,L),!ge&&(T=ee&&ee.onVnodeMounted)){const Ne=w;ft(()=>Bt(T,Oe,Ne),L)}(w.shapeFlag&256||Oe&&Zr(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&g.a&&ft(g.a,L),g.isMounted=!0,w=I=A=null}},W=g.effect=new na(K,()=>ca(D),g.scope),D=g.update=()=>W.run();D.id=g.uid,An(g,!0),D()},oe=(g,w,I)=>{w.component=g;const A=g.vnode.props;g.vnode=w,g.next=null,Jm(g,w.props,A,I),n0(g,w.children,I),Er(),wc(),kr()},ce=(g,w,I,A,L,z,G,K,W=!1)=>{const D=g&&g.children,T=g?g.shapeFlag:0,k=w.children,{patchFlag:ee,shapeFlag:ie}=w;if(ee>0){if(ee&128){st(D,k,I,A,L,z,G,K,W);return}else if(ee&256){Se(D,k,I,A,L,z,G,K,W);return}}ie&8?(T&16&&Be(D,L,z),k!==D&&u(I,k)):T&16?ie&16?st(D,k,I,A,L,z,G,K,W):Be(D,L,z,!0):(T&8&&u(I,""),ie&16&&R(k,I,A,L,z,G,K,W))},Se=(g,w,I,A,L,z,G,K,W)=>{g=g||dr,w=w||dr;const D=g.length,T=w.length,k=Math.min(D,T);let ee;for(ee=0;eeT?Be(g,L,z,!0,!1,k):R(w,I,A,L,z,G,K,W,k)},st=(g,w,I,A,L,z,G,K,W)=>{let D=0;const T=w.length;let k=g.length-1,ee=T-1;for(;D<=k&&D<=ee;){const ie=g[D],pe=w[D]=W?wn(w[D]):Kt(w[D]);if(Fn(ie,pe))m(ie,pe,I,null,L,z,G,K,W);else break;D++}for(;D<=k&&D<=ee;){const ie=g[k],pe=w[ee]=W?wn(w[ee]):Kt(w[ee]);if(Fn(ie,pe))m(ie,pe,I,null,L,z,G,K,W);else break;k--,ee--}if(D>k){if(D<=ee){const ie=ee+1,pe=ieee)for(;D<=k;)$e(g[D],L,z,!0),D++;else{const ie=D,pe=D,Oe=new Map;for(D=pe;D<=ee;D++){const yt=w[D]=W?wn(w[D]):Kt(w[D]);yt.key!=null&&Oe.set(yt.key,D)}let ge,Ne=0;const _t=ee-pe+1;let tr=!1,uc=0;const Ar=new Array(_t);for(D=0;D<_t;D++)Ar[D]=0;for(D=ie;D<=k;D++){const yt=g[D];if(Ne>=_t){$e(yt,L,z,!0);continue}let Ht;if(yt.key!=null)Ht=Oe.get(yt.key);else for(ge=pe;ge<=ee;ge++)if(Ar[ge-pe]===0&&Fn(yt,w[ge])){Ht=ge;break}Ht===void 0?$e(yt,L,z,!0):(Ar[Ht-pe]=D+1,Ht>=uc?uc=Ht:tr=!0,m(yt,w[Ht],I,null,L,z,G,K,W),Ne++)}const fc=tr?s0(Ar):dr;for(ge=fc.length-1,D=_t-1;D>=0;D--){const yt=pe+D,Ht=w[yt],dc=yt+1{const{el:z,type:G,transition:K,children:W,shapeFlag:D}=g;if(D&6){Re(g.component.subTree,w,I,A);return}if(D&128){g.suspense.move(w,I,A);return}if(D&64){G.move(g,w,I,M);return}if(G===se){r(z,w,I);for(let k=0;kK.enter(z),L);else{const{leave:k,delayLeave:ee,afterLeave:ie}=K,pe=()=>r(z,w,I),Oe=()=>{k(z,()=>{pe(),ie&&ie()})};ee?ee(z,pe,Oe):Oe()}else r(z,w,I)},$e=(g,w,I,A=!1,L=!1)=>{const{type:z,props:G,ref:K,children:W,dynamicChildren:D,shapeFlag:T,patchFlag:k,dirs:ee}=g;if(K!=null&&il(K,null,I,g,!0),T&256){w.ctx.deactivate(g);return}const ie=T&1&&ee,pe=!Zr(g);let Oe;if(pe&&(Oe=G&&G.onVnodeBeforeUnmount)&&Bt(Oe,w,g),T&6)At(g.component,I,A);else{if(T&128){g.suspense.unmount(I,A);return}ie&&Mn(g,null,w,"beforeUnmount"),T&64?g.type.remove(g,w,I,L,M,A):D&&(z!==se||k>0&&k&64)?Be(D,w,I,!1,!0):(z===se&&k&384||!L&&T&16)&&Be(W,w,I),A&&ct(g)}(pe&&(Oe=G&&G.onVnodeUnmounted)||ie)&&ft(()=>{Oe&&Bt(Oe,w,g),ie&&Mn(g,null,w,"unmounted")},I)},ct=g=>{const{type:w,el:I,anchor:A,transition:L}=g;if(w===se){Ke(I,A);return}if(w===vs){x(g);return}const z=()=>{i(I),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(g.shapeFlag&1&&L&&!L.persisted){const{leave:G,delayLeave:K}=L,W=()=>G(I,z);K?K(g.el,z,W):W()}else z()},Ke=(g,w)=>{let I;for(;g!==w;)I=d(g),i(g),g=I;i(w)},At=(g,w,I)=>{const{bum:A,scope:L,update:z,subTree:G,um:K}=g;A&&hs(A),L.stop(),z&&(z.active=!1,$e(G,g,w,I)),K&&ft(K,w),ft(()=>{g.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},Be=(g,w,I,A=!1,L=!1,z=0)=>{for(let G=z;Gg.shapeFlag&6?F(g.component.subTree):g.shapeFlag&128?g.suspense.next():d(g.anchor||g.el),Z=(g,w,I)=>{g==null?w._vnode&&$e(w._vnode,null,null,!0):m(w._vnode||null,g,w,null,null,null,I),wc(),Bd(),w._vnode=g},M={p:m,um:$e,m:Re,r:ct,mt:he,mc:R,pc:ce,pbc:X,n:F,o:e};let B,J;return t&&([B,J]=t(M)),{render:Z,hydrate:B,createApp:Xm(Z,B)}}function An({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function o0(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ya(e,t,n=!1){const r=e.children,i=t.children;if(ae(r)&&ae(i))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,s=n[o-1];o-- >0;)n[o]=s,s=t[s];return n}const l0=e=>e.__isTeleport,Xr=e=>e&&(e.disabled||e.disabled===""),Pc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ol=(e,t)=>{const n=e&&e.to;return ze(n)?t?t(n):null:n},a0={__isTeleport:!0,process(e,t,n,r,i,o,s,l,a,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:v}}=c,y=Xr(t.props);let{shapeFlag:b,children:_,dynamicChildren:x}=t;if(e==null){const S=t.el=m(""),O=t.anchor=m("");p(S,n,r),p(O,n,r);const P=t.target=ol(t.props,h),R=t.targetAnchor=m("");P&&(p(R,P),s=s||Pc(P));const q=(X,N)=>{b&16&&u(_,X,N,i,o,s,l,a)};y?q(n,O):P&&q(P,R)}else{t.el=e.el;const S=t.anchor=e.anchor,O=t.target=e.target,P=t.targetAnchor=e.targetAnchor,R=Xr(e.props),q=R?n:O,X=R?S:P;if(s=s||Pc(O),x?(d(e.dynamicChildren,x,q,i,o,s,l),ya(e,t,!0)):a||f(e,t,q,X,i,o,s,l,!1),y)R?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Yi(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=ol(t.props,h);N&&Yi(t,N,null,c,0)}else R&&Yi(t,O,P,c,1)}cp(t)},remove(e,t,n,r,{um:i,o:{remove:o}},s){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&o(u),s&&o(c),l&16){const p=s||!Xr(d);for(let h=0;h0?Dt||dr:null,f0(),ci>0&&Dt&&Dt.push(e),e}function j(e,t,n,r,i,o){return up(C(e,t,n,r,i,o,!0))}function Ee(e,t,n,r,i){return up(te(e,t,n,r,i,!0))}function yo(e){return e?e.__v_isVNode===!0:!1}function Fn(e,t){return e.type===t.type&&e.key===t.key}const qo="__vInternal",fp=({key:e})=>e??null,ro=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||tt(e)||de(e)?{i:nt,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,r=0,i=null,o=e===se?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fp(t),ref:t&&ro(t),scopeId:Go,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:i,dynamicChildren:null,appContext:null,ctx:nt};return l?(ba(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ze(n)?8:16),ci>0&&!s&&Dt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Dt.push(a),a}const te=d0;function d0(e,t=null,n=null,r=0,i=null,o=!1){if((!e||e===Jd)&&(e=kt),yo(e)){const l=Tn(e,t,!0);return n&&ba(l,n),ci>0&&!o&&Dt&&(l.shapeFlag&6?Dt[Dt.indexOf(e)]=l:Dt.push(l)),l.patchFlag|=-2,l}if(w0(e)&&(e=e.__vccOpts),t){t=va(t);let{class:l,style:a}=t;l&&!ze(l)&&(t.class=Pe(l)),Le(a)&&($d(a)&&!ae(a)&&(a=Ge({},a)),t.style=Ho(a))}const s=ze(e)?1:Tm(e)?128:l0(e)?64:Le(e)?4:de(e)?2:0;return C(e,t,n,r,i,s,o,!0)}function va(e){return e?$d(e)||qo in e?Ge({},e):e:null}function Tn(e,t,n=!1){const{props:r,ref:i,patchFlag:o,children:s}=e,l=t?$(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&fp(l),ref:t&&t.ref?n&&i?ae(i)?i.concat(ro(t)):[i,ro(t)]:ro(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==se?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&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function et(e=" ",t=0){return te($i,null,e,t)}function ye(e="",t=!1){return t?(E(),Ee(kt,null,e)):te(kt,null,e)}function Kt(e){return e==null||typeof e=="boolean"?te(kt):ae(e)?te(se,null,e.slice()):typeof e=="object"?wn(e):te($i,null,String(e))}function wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tn(e)}function ba(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),ba(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(qo in t)?t._ctx=nt:i===3&&nt&&(nt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else de(t)?(t={default:t,_ctx:nt},n=32):(t=String(t),r&64?(n=16,t=[et(t)]):n=8);e.children=t,e.shapeFlag|=n}function $(...e){const t={};for(let n=0;nqe||nt;let xa,nr,$c="__VUE_INSTANCE_SETTERS__";(nr=Ws()[$c])||(nr=Ws()[$c]=[]),nr.push(e=>qe=e),xa=e=>{nr.length>1?nr.forEach(t=>t(e)):nr[0](e)};const br=e=>{xa(e),e.scope.on()},Hn=()=>{qe&&qe.scope.off(),xa(null)};function dp(e){return e.vnode.shapeFlag&4}let ui=!1;function g0(e,t=!1){ui=t;const{props:n,children:r}=e.vnode,i=dp(e);Qm(e,n,i,t),t0(e,r);const o=i?y0(e,t):void 0;return ui=!1,o}function y0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Fd(new Proxy(e.ctx,Um));const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?b0(e):null;br(e),Er();const o=On(r,e,0,[e.props,i]);if(kr(),Hn(),yd(o)){if(o.then(Hn,Hn),t)return o.then(s=>{Fc(e,s,t)}).catch(s=>{Uo(s,e,0)});e.asyncDep=o}else Fc(e,o,t)}else pp(e,t)}function Fc(e,t,n){de(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Nd(t)),pp(e,n)}let Dc;function pp(e,t,n){const r=e.type;if(!e.render){if(!t&&Dc&&!r.render){const i=r.template||ma(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Ge(Ge({isCustomElement:o,delimiters:l},s),a);r.render=Dc(i,c)}}e.render=r.render||zt}{br(e),Er();try{Km(e)}finally{kr(),Hn()}}}function v0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ht(e,"get","$attrs"),t[n]}}))}function b0(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return v0(e)},slots:e.slots,emit:e.emit,expose:t}}function Xo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Nd(Fd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qr)return qr[n](e)},has(t,n){return n in t||n in qr}}))}function x0(e,t=!0){return de(e)?e.displayName||e.name:e.name||t&&e.__name}function w0(e){return de(e)&&"__vccOpts"in e}const me=(e,t)=>gm(e,t,ui);function Kn(e,t,n){const r=arguments.length;return r===2?Le(t)&&!ae(t)?yo(t)?te(e,null,[t]):te(e,t):te(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yo(n)&&(n=[n]),te(e,t,n))}const _0=Symbol.for("v-scx"),S0=()=>Et(_0),O0="3.3.7",I0="http://www.w3.org/2000/svg",Dn=typeof document<"u"?document:null,zc=Dn&&Dn.createElement("template"),C0={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 i=t?Dn.createElementNS(I0,e):Dn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,o){const s=n?n.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===o||!(i=i.nextSibling)););else{zc.innerHTML=r?`${e}`:e;const l=zc.content;if(r){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},mn="transition",jr="animation",fi=Symbol("_vtc"),Mr=(e,{slots:t})=>Kn(jm,T0(e),t);Mr.displayName="Transition";const hp={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};Mr.props=Ge({},Yd,hp);const jn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rc=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function T0(e){const t={};for(const H in e)H in hp||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:o=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=s,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=E0(i),m=h&&h[0],v=h&&h[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:_,onLeave:x,onLeaveCancelled:S,onBeforeAppear:O=y,onAppear:P=b,onAppearCancelled:R=_}=t,q=(H,Q,he)=>{Pn(H,Q?u:l),Pn(H,Q?c:s),he&&he()},X=(H,Q)=>{H._isLeaving=!1,Pn(H,f),Pn(H,p),Pn(H,d),Q&&Q()},N=H=>(Q,he)=>{const _e=H?P:b,fe=()=>q(Q,H,he);jn(_e,[Q,fe]),Nc(()=>{Pn(Q,H?a:o),gn(Q,H?u:l),Rc(_e)||Vc(Q,r,m,fe)})};return Ge(t,{onBeforeEnter(H){jn(y,[H]),gn(H,o),gn(H,s)},onBeforeAppear(H){jn(O,[H]),gn(H,a),gn(H,c)},onEnter:N(!1),onAppear:N(!0),onLeave(H,Q){H._isLeaving=!0;const he=()=>X(H,Q);gn(H,f),A0(),gn(H,d),Nc(()=>{H._isLeaving&&(Pn(H,f),gn(H,p),Rc(x)||Vc(H,r,v,he))}),jn(x,[H,he])},onEnterCancelled(H){q(H,!1),jn(_,[H])},onAppearCancelled(H){q(H,!0),jn(R,[H])},onLeaveCancelled(H){X(H),jn(S,[H])}})}function E0(e){if(e==null)return null;if(Le(e))return[bs(e.enter),bs(e.leave)];{const t=bs(e);return[t,t]}}function bs(e){return F1(e)}function gn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fi]||(e[fi]=new Set)).add(t)}function Pn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[fi];n&&(n.delete(t),n.size||(e[fi]=void 0))}function Nc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let k0=0;function Vc(e,t,n,r){const i=e._endId=++k0,o=()=>{i===e._endId&&r()};if(n)return setTimeout(o,n);const{type:s,timeout:l,propCount:a}=M0(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),o()},d=p=>{p.target===e&&++u>=a&&f()};setTimeout(()=>{u(n[h]||"").split(", "),i=r(`${mn}Delay`),o=r(`${mn}Duration`),s=Hc(i,o),l=r(`${jr}Delay`),a=r(`${jr}Duration`),c=Hc(l,a);let u=null,f=0,d=0;t===mn?s>0&&(u=mn,f=s,d=o.length):t===jr?c>0&&(u=jr,f=c,d=a.length):(f=Math.max(s,c),u=f>0?s>c?mn:jr:null,d=u?u===mn?o.length:a.length:0);const p=u===mn&&/\b(transform|all)(,|$)/.test(r(`${mn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Hc(e,t){for(;e.lengthBc(n)+Bc(e[r])))}function Bc(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function A0(){return document.body.offsetHeight}function j0(e,t,n){const r=e[fi];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wa=Symbol("_vod"),sl={beforeMount(e,{value:t},{transition:n}){e[wa]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Pr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Pr(e,!0),r.enter(e)):r.leave(e,()=>{Pr(e,!1)}):Pr(e,t))},beforeUnmount(e,{value:t}){Pr(e,t)}};function Pr(e,t){e.style.display=t?e[wa]:"none"}function P0(e,t,n){const r=e.style,i=ze(n);if(n&&!i){if(t&&!ze(t))for(const o in t)n[o]==null&&ll(r,o,"");for(const o in n)ll(r,o,n[o])}else{const o=r.display;i?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),wa in e&&(r.display=o)}}const Uc=/\s*!important$/;function ll(e,t,n){if(ae(n))n.forEach(r=>ll(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=L0(e,t);Uc.test(n)?e.setProperty(Tr(r),n.replace(Uc,""),"important"):e[r]=n}}const Kc=["Webkit","Moz","ms"],xs={};function L0(e,t){const n=xs[t];if(n)return n;let r=qt(t);if(r!=="filter"&&r in e)return xs[t]=r;r=Vo(r);for(let i=0;iws||(V0.then(()=>ws=0),ws=Date.now());function B0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Tt(U0(r,n.value),t,5,[r])};return n.value=e,n.attached=H0(),n}function U0(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Zc=/^on[a-z]/,K0=(e,t,n,r,i=!1,o,s,l,a)=>{t==="class"?j0(e,r,i):t==="style"?P0(e,n,r):Do(t)?Ql(t)||R0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):W0(e,t,r,i))?F0(e,t,r,o,s,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$0(e,t,r,i))};function W0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Zc.test(t)&&de(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Zc.test(t)&&ze(n)?!1:t in e}const G0=["ctrl","shift","alt","meta"],Y0={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)=>G0.some(n=>e[`${n}Key`]&&!t.includes(n))},qc=(e,t)=>(n,...r)=>{for(let i=0;i{const t=q0().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=Q0(r);if(!i)return;const o=t._component;!de(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.innerHTML="";const s=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t};function Q0(e){return ze(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const or=typeof window<"u";function J0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Te=Object.assign;function _s(e,t){const n={};for(const r in t){const i=t[r];n[r]=Rt(i)?i.map(e):e(i)}return n}const Jr=()=>{},Rt=Array.isArray,eg=/\/$/,tg=e=>e.replace(eg,"");function Ss(e,t,n="/"){let r,i={},o="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),i=e(o)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=og(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function ng(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rg(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&xr(t.matched[r],n.matched[i])&&mp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ig(e[n],t[n]))return!1;return!0}function ig(e,t){return Rt(e)?Jc(e,t):Rt(t)?Jc(t,e):e===t}function Jc(e,t){return Rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function og(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,l;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var di;(function(e){e.pop="pop",e.push="push"})(di||(di={}));var ei;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ei||(ei={}));function sg(e){if(!e)if(or){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tg(e)}const lg=/^[^#]+#/;function ag(e,t){return e.replace(lg,"#")+t}function cg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Qo=()=>({left:window.pageXOffset,top:window.pageYOffset});function ug(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=cg(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function eu(e,t){return(history.state?history.state.position-t:-1)+e}const al=new Map;function fg(e,t){al.set(e,t)}function dg(e){const t=al.get(e);return al.delete(e),t}let pg=()=>location.protocol+"//"+location.host;function gp(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let l=i.includes(e.slice(o))?e.slice(o).length:1,a=i.slice(l);return a[0]!=="/"&&(a="/"+a),Qc(a,"")}return Qc(n,e)+r+i}function hg(e,t,n,r){let i=[],o=[],s=null;const l=({state:d})=>{const p=gp(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}v=m?d.position-m.position:0}else r(p);i.forEach(y=>{y(n.value,h,{delta:v,type:di.pop,direction:v?v>0?ei.forward:ei.back:ei.unknown})})};function a(){s=n.value}function c(d){i.push(d);const p=()=>{const h=i.indexOf(d);h>-1&&i.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Te({},d.state,{scroll:Qo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function tu(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Qo():null}}function mg(e){const{history:t,location:n}=window,r={value:gp(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:pg()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function s(a,c){const u=Te({},t.state,tu(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=Te({},i.value,t.state,{forward:a,scroll:Qo()});o(u.current,u,!0);const f=Te({},tu(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:i,push:l,replace:s}}function gg(e){e=sg(e);const t=mg(e),n=hg(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Te({location:"",base:e,go:r,createHref:ag.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function yg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),gg(e)}function vg(e){return typeof e=="string"||e&&typeof e=="object"}function yp(e){return typeof e=="string"||typeof e=="symbol"}const yn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vp=Symbol("");var nu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nu||(nu={}));function wr(e,t){return Te(new Error,{type:e,[vp]:!0},t)}function Jt(e,t){return e instanceof Error&&vp in e&&(t==null||!!(e.type&t))}const ru="[^/]+?",bg={sensitive:!1,strict:!1,start:!0,end:!0},xg=/[.+*?^${}()[\]/\\]/g;function wg(e,t){const n=Te({},bg,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Sg(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Og={type:0,value:""},Ig=/[a-zA-Z0-9_]/;function Cg(e){if(!e)return[[]];if(e==="/")return[[Og]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(b)}:Jr}function s(u){if(yp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!bp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!su(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw wr(1,{location:u});m=d.record.name,p=Te(ou(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&ou(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw wr(1,{location:u,currentLocation:f});m=d.record.name,p=Te({},f.params,u.params),h=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:v,meta:Ag(v)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:i}}function ou(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function kg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Mg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Mg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function su(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ag(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function lu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bp(e,t){return t.children.some(n=>n===e||bp(e,n))}const xp=/#/g,jg=/&/g,Pg=/\//g,Lg=/=/g,$g=/\?/g,wp=/\+/g,Fg=/%5B/g,Dg=/%5D/g,_p=/%5E/g,zg=/%60/g,Sp=/%7B/g,Rg=/%7C/g,Op=/%7D/g,Ng=/%20/g;function _a(e){return encodeURI(""+e).replace(Rg,"|").replace(Fg,"[").replace(Dg,"]")}function Vg(e){return _a(e).replace(Sp,"{").replace(Op,"}").replace(_p,"^")}function cl(e){return _a(e).replace(wp,"%2B").replace(Ng,"+").replace(xp,"%23").replace(jg,"%26").replace(zg,"`").replace(Sp,"{").replace(Op,"}").replace(_p,"^")}function Hg(e){return cl(e).replace(Lg,"%3D")}function Bg(e){return _a(e).replace(xp,"%23").replace($g,"%3F")}function Ug(e){return e==null?"":Bg(e).replace(Pg,"%2F")}function vo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Kg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&cl(o)):[r&&cl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Wg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Rt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Gg=Symbol(""),cu=Symbol(""),Jo=Symbol(""),Sa=Symbol(""),ul=Symbol("");function Lr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _n(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(wr(4,{from:n,to:t})):f instanceof Error?l(f):vg(f)?l(wr(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},c=e.call(r&&r.instances[i],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function Os(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let l=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(Yg(l)){const c=(l.__vccOpts||l)[t];c&&i.push(_n(c,n,r,o,s))}else{let a=l();i.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=J0(c)?c.default:c;o.components[s]=u;const d=(u.__vccOpts||u)[t];return d&&_n(d,n,r,o,s)()}))}}return i}function Yg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uu(e){const t=Tt(Jo),n=Tt(Sa),r=me(()=>t.resolve(ne(e.to))),i=me(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(xr.bind(null,u));if(d>-1)return d;const p=fu(a[c-2]);return c>1&&fu(u)===p&&f[f.length-1].path!==p?f.findIndex(xr.bind(null,a[c-2])):d}),o=me(()=>i.value>-1&&Qg(n.params,r.value.params)),s=me(()=>i.value>-1&&i.value===n.matched.length-1&&mp(n.params,r.value.params));function l(a={}){return Xg(a)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Jr):Promise.resolve()}return{route:r,href:me(()=>r.value.href),isActive:o,isExactActive:s,navigate:l}}const Zg=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uu,setup(e,{slots:t}){const n=un(uu(e)),{options:r}=Tt(Jo),i=me(()=>({[du(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[du(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Kn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),qg=Zg;function Xg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Qg(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Rt(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function fu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const du=(e,t,n)=>e??t??n,Jg=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Tt(ul),i=me(()=>e.route||r.value),o=Tt(cu,0),s=me(()=>{let c=ne(o);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=me(()=>i.value.matched[s.value]);no(cu,me(()=>s.value+1)),no(Gg,l),no(ul,i);const a=ue();return Xe(()=>[a.value,l.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!xr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return pu(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Kn(d,Te({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return pu(n.default,{Component:v,route:c})||v}}});function pu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ip=Jg;function ey(e){const t=Eg(e.routes,e),n=e.parseQuery||Kg,r=e.stringifyQuery||au,i=e.history,o=Lr(),s=Lr(),l=Lr(),a=dm(yn);let c=yn;or&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_s.bind(null,F=>""+F),f=_s.bind(null,Ug),d=_s.bind(null,vo);function p(F,Z){let M,B;return yp(F)?(M=t.getRecordMatcher(F),B=Z):B=F,t.addRoute(B,M)}function h(F){const Z=t.getRecordMatcher(F);Z&&t.removeRoute(Z)}function m(){return t.getRoutes().map(F=>F.record)}function v(F){return!!t.getRecordMatcher(F)}function y(F,Z){if(Z=Te({},Z||a.value),typeof F=="string"){const I=Ss(n,F,Z.path),A=t.resolve({path:I.path},Z),L=i.createHref(I.fullPath);return Te(I,A,{params:d(A.params),hash:vo(I.hash),redirectedFrom:void 0,href:L})}let M;if("path"in F)M=Te({},F,{path:Ss(n,F.path,Z.path).path});else{const I=Te({},F.params);for(const A in I)I[A]==null&&delete I[A];M=Te({},F,{params:f(I)}),Z.params=f(Z.params)}const B=t.resolve(M,Z),J=F.hash||"";B.params=u(d(B.params));const g=ng(r,Te({},F,{hash:Vg(J),path:B.path})),w=i.createHref(g);return Te({fullPath:g,hash:J,query:r===au?Wg(F.query):F.query||{}},B,{redirectedFrom:void 0,href:w})}function b(F){return typeof F=="string"?Ss(n,F,a.value.path):Te({},F)}function _(F,Z){if(c!==F)return wr(8,{from:Z,to:F})}function x(F){return P(F)}function S(F){return x(Te(b(F),{replace:!0}))}function O(F){const Z=F.matched[F.matched.length-1];if(Z&&Z.redirect){const{redirect:M}=Z;let B=typeof M=="function"?M(F):M;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=b(B):{path:B},B.params={}),Te({query:F.query,hash:F.hash,params:"path"in B?{}:F.params},B)}}function P(F,Z){const M=c=y(F),B=a.value,J=F.state,g=F.force,w=F.replace===!0,I=O(M);if(I)return P(Te(b(I),{state:typeof I=="object"?Te({},J,I.state):J,force:g,replace:w}),Z||M);const A=M;A.redirectedFrom=Z;let L;return!g&&rg(r,B,M)&&(L=wr(16,{to:A,from:B}),Re(B,B,!0,!1)),(L?Promise.resolve(L):X(A,B)).catch(z=>Jt(z)?Jt(z,2)?z:st(z):ce(z,A,B)).then(z=>{if(z){if(Jt(z,2))return P(Te({replace:w},b(z.to),{state:typeof z.to=="object"?Te({},J,z.to.state):J,force:g}),Z||A)}else z=H(A,B,!0,w,J);return N(A,B,z),z})}function R(F,Z){const M=_(F,Z);return M?Promise.reject(M):Promise.resolve()}function q(F){const Z=Ke.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(F):F()}function X(F,Z){let M;const[B,J,g]=ty(F,Z);M=Os(B.reverse(),"beforeRouteLeave",F,Z);for(const I of B)I.leaveGuards.forEach(A=>{M.push(_n(A,F,Z))});const w=R.bind(null,F,Z);return M.push(w),Be(M).then(()=>{M=[];for(const I of o.list())M.push(_n(I,F,Z));return M.push(w),Be(M)}).then(()=>{M=Os(J,"beforeRouteUpdate",F,Z);for(const I of J)I.updateGuards.forEach(A=>{M.push(_n(A,F,Z))});return M.push(w),Be(M)}).then(()=>{M=[];for(const I of g)if(I.beforeEnter)if(Rt(I.beforeEnter))for(const A of I.beforeEnter)M.push(_n(A,F,Z));else M.push(_n(I.beforeEnter,F,Z));return M.push(w),Be(M)}).then(()=>(F.matched.forEach(I=>I.enterCallbacks={}),M=Os(g,"beforeRouteEnter",F,Z),M.push(w),Be(M))).then(()=>{M=[];for(const I of s.list())M.push(_n(I,F,Z));return M.push(w),Be(M)}).catch(I=>Jt(I,8)?I:Promise.reject(I))}function N(F,Z,M){l.list().forEach(B=>q(()=>B(F,Z,M)))}function H(F,Z,M,B,J){const g=_(F,Z);if(g)return g;const w=Z===yn,I=or?history.state:{};M&&(B||w?i.replace(F.fullPath,Te({scroll:w&&I&&I.scroll},J)):i.push(F.fullPath,J)),a.value=F,Re(F,Z,M,w),st()}let Q;function he(){Q||(Q=i.listen((F,Z,M)=>{if(!At.listening)return;const B=y(F),J=O(B);if(J){P(Te(J,{replace:!0}),B).catch(Jr);return}c=B;const g=a.value;or&&fg(eu(g.fullPath,M.delta),Qo()),X(B,g).catch(w=>Jt(w,12)?w:Jt(w,2)?(P(w.to,B).then(I=>{Jt(I,20)&&!M.delta&&M.type===di.pop&&i.go(-1,!1)}).catch(Jr),Promise.reject()):(M.delta&&i.go(-M.delta,!1),ce(w,B,g))).then(w=>{w=w||H(B,g,!1),w&&(M.delta&&!Jt(w,8)?i.go(-M.delta,!1):M.type===di.pop&&Jt(w,20)&&i.go(-1,!1)),N(B,g,w)}).catch(Jr)}))}let _e=Lr(),fe=Lr(),oe;function ce(F,Z,M){st(F);const B=fe.list();return B.length?B.forEach(J=>J(F,Z,M)):console.error(F),Promise.reject(F)}function Se(){return oe&&a.value!==yn?Promise.resolve():new Promise((F,Z)=>{_e.add([F,Z])})}function st(F){return oe||(oe=!F,he(),_e.list().forEach(([Z,M])=>F?M(F):Z()),_e.reset()),F}function Re(F,Z,M,B){const{scrollBehavior:J}=e;if(!or||!J)return Promise.resolve();const g=!M&&dg(eu(F.fullPath,0))||(B||!M)&&history.state&&history.state.scroll||null;return Ko().then(()=>J(F,Z,g)).then(w=>w&&ug(w)).catch(w=>ce(w,F,Z))}const $e=F=>i.go(F);let ct;const Ke=new Set,At={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:y,options:e,push:x,replace:S,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:o.add,beforeResolve:s.add,afterEach:l.add,onError:fe.add,isReady:Se,install(F){const Z=this;F.component("RouterLink",qg),F.component("RouterView",Ip),F.config.globalProperties.$router=Z,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(a)}),or&&!ct&&a.value===yn&&(ct=!0,x(i.location).catch(J=>{}));const M={};for(const J in yn)Object.defineProperty(M,J,{get:()=>a.value[J],enumerable:!0});F.provide(Jo,Z),F.provide(Sa,Ld(M)),F.provide(ul,a);const B=F.unmount;Ke.add(F),F.unmount=function(){Ke.delete(F),Ke.size<1&&(c=yn,Q&&Q(),Q=null,a.value=yn,ct=!1,oe=!1),B()}}};function Be(F){return F.reduce((Z,M)=>Z.then(()=>q(M)),Promise.resolve())}return At}function ty(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;sxr(c,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(c=>xr(c,a))||i.push(a))}return[n,r,i]}function Cp(){return Tt(Jo)}function Tp(){return Tt(Sa)}const ny={class:"wrapper"},ry={__name:"App",setup(e){return(t,n)=>(E(),j("div",ny,[te(ne(Ip))]))}};/*! + */const or=typeof window<"u";function J0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Te=Object.assign;function _s(e,t){const n={};for(const r in t){const i=t[r];n[r]=Rt(i)?i.map(e):e(i)}return n}const Jr=()=>{},Rt=Array.isArray,eg=/\/$/,tg=e=>e.replace(eg,"");function Ss(e,t,n="/"){let r,i={},o="",s="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),i=e(o)),l>-1&&(r=r||t.slice(0,l),s=t.slice(l,t.length)),r=og(r??t,n),{fullPath:r+(o&&"?")+o+s,path:r,query:i,hash:s}}function ng(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Qc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rg(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&xr(t.matched[r],n.matched[i])&&mp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function xr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ig(e[n],t[n]))return!1;return!0}function ig(e,t){return Rt(e)?Jc(e,t):Rt(t)?Jc(t,e):e===t}function Jc(e,t){return Rt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function og(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let o=n.length-1,s,l;for(s=0;s1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var di;(function(e){e.pop="pop",e.push="push"})(di||(di={}));var ei;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ei||(ei={}));function sg(e){if(!e)if(or){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tg(e)}const lg=/^[^#]+#/;function ag(e,t){return e.replace(lg,"#")+t}function cg(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Qo=()=>({left:window.pageXOffset,top:window.pageYOffset});function ug(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=cg(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function eu(e,t){return(history.state?history.state.position-t:-1)+e}const al=new Map;function fg(e,t){al.set(e,t)}function dg(e){const t=al.get(e);return al.delete(e),t}let pg=()=>location.protocol+"//"+location.host;function gp(e,t){const{pathname:n,search:r,hash:i}=t,o=e.indexOf("#");if(o>-1){let l=i.includes(e.slice(o))?e.slice(o).length:1,a=i.slice(l);return a[0]!=="/"&&(a="/"+a),Qc(a,"")}return Qc(n,e)+r+i}function hg(e,t,n,r){let i=[],o=[],s=null;const l=({state:d})=>{const p=gp(e,location),h=n.value,m=t.value;let v=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}v=m?d.position-m.position:0}else r(p);i.forEach(y=>{y(n.value,h,{delta:v,type:di.pop,direction:v?v>0?ei.forward:ei.back:ei.unknown})})};function a(){s=n.value}function c(d){i.push(d);const p=()=>{const h=i.indexOf(d);h>-1&&i.splice(h,1)};return o.push(p),p}function u(){const{history:d}=window;d.state&&d.replaceState(Te({},d.state,{scroll:Qo()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:a,listen:c,destroy:f}}function tu(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?Qo():null}}function mg(e){const{history:t,location:n}=window,r={value:gp(e,n)},i={value:t.state};i.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:pg()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(p){console.error(p),n[u?"replace":"assign"](d)}}function s(a,c){const u=Te({},t.state,tu(i.value.back,a,i.value.forward,!0),c,{position:i.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=Te({},i.value,t.state,{forward:a,scroll:Qo()});o(u.current,u,!0);const f=Te({},tu(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:i,push:l,replace:s}}function gg(e){e=sg(e);const t=mg(e),n=hg(e,t.state,t.location,t.replace);function r(o,s=!0){s||n.pauseListeners(),history.go(o)}const i=Te({location:"",base:e,go:r,createHref:ag.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function yg(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),gg(e)}function vg(e){return typeof e=="string"||e&&typeof e=="object"}function yp(e){return typeof e=="string"||typeof e=="symbol"}const yn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},vp=Symbol("");var nu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(nu||(nu={}));function wr(e,t){return Te(new Error,{type:e,[vp]:!0},t)}function Jt(e,t){return e instanceof Error&&vp in e&&(t==null||!!(e.type&t))}const ru="[^/]+?",bg={sensitive:!1,strict:!1,start:!0,end:!0},xg=/[.+*?^${}()[\]/\\]/g;function wg(e,t){const n=Te({},bg,t),r=[];let i=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Sg(e,t){let n=0;const r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}const Og={type:0,value:""},Ig=/[a-zA-Z0-9_]/;function Cg(e){if(!e)return[[]];if(e==="/")return[[Og]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const i=[];let o;function s(){o&&i.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{s(b)}:Jr}function s(u){if(yp(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(s),f.alias.forEach(s))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(s),u.alias.forEach(s))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!bp(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!su(u)&&r.set(u.record.name,u)}function c(u,f){let d,p={},h,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw wr(1,{location:u});m=d.record.name,p=Te(ou(f.params,d.keys.filter(b=>!b.optional).map(b=>b.name)),u.params&&ou(u.params,d.keys.map(b=>b.name))),h=d.stringify(p)}else if("path"in u)h=u.path,d=n.find(b=>b.re.test(h)),d&&(p=d.parse(h),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw wr(1,{location:u,currentLocation:f});m=d.record.name,p=Te({},f.params,u.params),h=d.stringify(p)}const v=[];let y=d;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:h,params:p,matched:v,meta:Ag(v)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:s,getRoutes:l,getRecordMatcher:i}}function ou(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function kg(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Mg(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Mg(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function su(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ag(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function lu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bp(e,t){return t.children.some(n=>n===e||bp(e,n))}const xp=/#/g,jg=/&/g,Pg=/\//g,Lg=/=/g,$g=/\?/g,wp=/\+/g,Fg=/%5B/g,Dg=/%5D/g,_p=/%5E/g,zg=/%60/g,Sp=/%7B/g,Rg=/%7C/g,Op=/%7D/g,Ng=/%20/g;function _a(e){return encodeURI(""+e).replace(Rg,"|").replace(Fg,"[").replace(Dg,"]")}function Vg(e){return _a(e).replace(Sp,"{").replace(Op,"}").replace(_p,"^")}function cl(e){return _a(e).replace(wp,"%2B").replace(Ng,"+").replace(xp,"%23").replace(jg,"%26").replace(zg,"`").replace(Sp,"{").replace(Op,"}").replace(_p,"^")}function Hg(e){return cl(e).replace(Lg,"%3D")}function Bg(e){return _a(e).replace(xp,"%23").replace($g,"%3F")}function Ug(e){return e==null?"":Bg(e).replace(Pg,"%2F")}function vo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Kg(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;io&&cl(o)):[r&&cl(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Wg(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Rt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Gg=Symbol(""),cu=Symbol(""),Jo=Symbol(""),Sa=Symbol(""),ul=Symbol("");function Lr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function _n(e,t,n,r,i){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,l)=>{const a=f=>{f===!1?l(wr(4,{from:n,to:t})):f instanceof Error?l(f):vg(f)?l(wr(2,{from:t,to:f})):(o&&r.enterCallbacks[i]===o&&typeof f=="function"&&o.push(f),s())},c=e.call(r&&r.instances[i],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function Os(e,t,n,r){const i=[];for(const o of e)for(const s in o.components){let l=o.components[s];if(!(t!=="beforeRouteEnter"&&!o.instances[s]))if(Yg(l)){const c=(l.__vccOpts||l)[t];c&&i.push(_n(c,n,r,o,s))}else{let a=l();i.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${o.path}"`));const u=J0(c)?c.default:c;o.components[s]=u;const d=(u.__vccOpts||u)[t];return d&&_n(d,n,r,o,s)()}))}}return i}function Yg(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function uu(e){const t=Et(Jo),n=Et(Sa),r=me(()=>t.resolve(ne(e.to))),i=me(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(xr.bind(null,u));if(d>-1)return d;const p=fu(a[c-2]);return c>1&&fu(u)===p&&f[f.length-1].path!==p?f.findIndex(xr.bind(null,a[c-2])):d}),o=me(()=>i.value>-1&&Qg(n.params,r.value.params)),s=me(()=>i.value>-1&&i.value===n.matched.length-1&&mp(n.params,r.value.params));function l(a={}){return Xg(a)?t[ne(e.replace)?"replace":"push"](ne(e.to)).catch(Jr):Promise.resolve()}return{route:r,href:me(()=>r.value.href),isActive:o,isExactActive:s,navigate:l}}const Zg=rt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:uu,setup(e,{slots:t}){const n=un(uu(e)),{options:r}=Et(Jo),i=me(()=>({[du(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[du(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Kn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},o)}}}),qg=Zg;function Xg(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Qg(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Rt(i)||i.length!==r.length||r.some((o,s)=>o!==i[s]))return!1}return!0}function fu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const du=(e,t,n)=>e??t??n,Jg=rt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Et(ul),i=me(()=>e.route||r.value),o=Et(cu,0),s=me(()=>{let c=ne(o);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=me(()=>i.value.matched[s.value]);no(cu,me(()=>s.value+1)),no(Gg,l),no(ul,i);const a=ue();return We(()=>[a.value,l.value,e.name],([c,u,f],[d,p,h])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!xr(u,p)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return pu(n.default,{Component:d,route:c});const p=f.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=Kn(d,Te({},h,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return pu(n.default,{Component:v,route:c})||v}}});function pu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ip=Jg;function ey(e){const t=Eg(e.routes,e),n=e.parseQuery||Kg,r=e.stringifyQuery||au,i=e.history,o=Lr(),s=Lr(),l=Lr(),a=dm(yn);let c=yn;or&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_s.bind(null,F=>""+F),f=_s.bind(null,Ug),d=_s.bind(null,vo);function p(F,Z){let M,B;return yp(F)?(M=t.getRecordMatcher(F),B=Z):B=F,t.addRoute(B,M)}function h(F){const Z=t.getRecordMatcher(F);Z&&t.removeRoute(Z)}function m(){return t.getRoutes().map(F=>F.record)}function v(F){return!!t.getRecordMatcher(F)}function y(F,Z){if(Z=Te({},Z||a.value),typeof F=="string"){const I=Ss(n,F,Z.path),A=t.resolve({path:I.path},Z),L=i.createHref(I.fullPath);return Te(I,A,{params:d(A.params),hash:vo(I.hash),redirectedFrom:void 0,href:L})}let M;if("path"in F)M=Te({},F,{path:Ss(n,F.path,Z.path).path});else{const I=Te({},F.params);for(const A in I)I[A]==null&&delete I[A];M=Te({},F,{params:f(I)}),Z.params=f(Z.params)}const B=t.resolve(M,Z),J=F.hash||"";B.params=u(d(B.params));const g=ng(r,Te({},F,{hash:Vg(J),path:B.path})),w=i.createHref(g);return Te({fullPath:g,hash:J,query:r===au?Wg(F.query):F.query||{}},B,{redirectedFrom:void 0,href:w})}function b(F){return typeof F=="string"?Ss(n,F,a.value.path):Te({},F)}function _(F,Z){if(c!==F)return wr(8,{from:Z,to:F})}function x(F){return P(F)}function S(F){return x(Te(b(F),{replace:!0}))}function O(F){const Z=F.matched[F.matched.length-1];if(Z&&Z.redirect){const{redirect:M}=Z;let B=typeof M=="function"?M(F):M;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=b(B):{path:B},B.params={}),Te({query:F.query,hash:F.hash,params:"path"in B?{}:F.params},B)}}function P(F,Z){const M=c=y(F),B=a.value,J=F.state,g=F.force,w=F.replace===!0,I=O(M);if(I)return P(Te(b(I),{state:typeof I=="object"?Te({},J,I.state):J,force:g,replace:w}),Z||M);const A=M;A.redirectedFrom=Z;let L;return!g&&rg(r,B,M)&&(L=wr(16,{to:A,from:B}),Re(B,B,!0,!1)),(L?Promise.resolve(L):X(A,B)).catch(z=>Jt(z)?Jt(z,2)?z:st(z):ce(z,A,B)).then(z=>{if(z){if(Jt(z,2))return P(Te({replace:w},b(z.to),{state:typeof z.to=="object"?Te({},J,z.to.state):J,force:g}),Z||A)}else z=H(A,B,!0,w,J);return N(A,B,z),z})}function R(F,Z){const M=_(F,Z);return M?Promise.reject(M):Promise.resolve()}function q(F){const Z=Ke.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(F):F()}function X(F,Z){let M;const[B,J,g]=ty(F,Z);M=Os(B.reverse(),"beforeRouteLeave",F,Z);for(const I of B)I.leaveGuards.forEach(A=>{M.push(_n(A,F,Z))});const w=R.bind(null,F,Z);return M.push(w),Be(M).then(()=>{M=[];for(const I of o.list())M.push(_n(I,F,Z));return M.push(w),Be(M)}).then(()=>{M=Os(J,"beforeRouteUpdate",F,Z);for(const I of J)I.updateGuards.forEach(A=>{M.push(_n(A,F,Z))});return M.push(w),Be(M)}).then(()=>{M=[];for(const I of g)if(I.beforeEnter)if(Rt(I.beforeEnter))for(const A of I.beforeEnter)M.push(_n(A,F,Z));else M.push(_n(I.beforeEnter,F,Z));return M.push(w),Be(M)}).then(()=>(F.matched.forEach(I=>I.enterCallbacks={}),M=Os(g,"beforeRouteEnter",F,Z),M.push(w),Be(M))).then(()=>{M=[];for(const I of s.list())M.push(_n(I,F,Z));return M.push(w),Be(M)}).catch(I=>Jt(I,8)?I:Promise.reject(I))}function N(F,Z,M){l.list().forEach(B=>q(()=>B(F,Z,M)))}function H(F,Z,M,B,J){const g=_(F,Z);if(g)return g;const w=Z===yn,I=or?history.state:{};M&&(B||w?i.replace(F.fullPath,Te({scroll:w&&I&&I.scroll},J)):i.push(F.fullPath,J)),a.value=F,Re(F,Z,M,w),st()}let Q;function he(){Q||(Q=i.listen((F,Z,M)=>{if(!At.listening)return;const B=y(F),J=O(B);if(J){P(Te(J,{replace:!0}),B).catch(Jr);return}c=B;const g=a.value;or&&fg(eu(g.fullPath,M.delta),Qo()),X(B,g).catch(w=>Jt(w,12)?w:Jt(w,2)?(P(w.to,B).then(I=>{Jt(I,20)&&!M.delta&&M.type===di.pop&&i.go(-1,!1)}).catch(Jr),Promise.reject()):(M.delta&&i.go(-M.delta,!1),ce(w,B,g))).then(w=>{w=w||H(B,g,!1),w&&(M.delta&&!Jt(w,8)?i.go(-M.delta,!1):M.type===di.pop&&Jt(w,20)&&i.go(-1,!1)),N(B,g,w)}).catch(Jr)}))}let _e=Lr(),fe=Lr(),oe;function ce(F,Z,M){st(F);const B=fe.list();return B.length?B.forEach(J=>J(F,Z,M)):console.error(F),Promise.reject(F)}function Se(){return oe&&a.value!==yn?Promise.resolve():new Promise((F,Z)=>{_e.add([F,Z])})}function st(F){return oe||(oe=!F,he(),_e.list().forEach(([Z,M])=>F?M(F):Z()),_e.reset()),F}function Re(F,Z,M,B){const{scrollBehavior:J}=e;if(!or||!J)return Promise.resolve();const g=!M&&dg(eu(F.fullPath,0))||(B||!M)&&history.state&&history.state.scroll||null;return Ko().then(()=>J(F,Z,g)).then(w=>w&&ug(w)).catch(w=>ce(w,F,Z))}const $e=F=>i.go(F);let ct;const Ke=new Set,At={currentRoute:a,listening:!0,addRoute:p,removeRoute:h,hasRoute:v,getRoutes:m,resolve:y,options:e,push:x,replace:S,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:o.add,beforeResolve:s.add,afterEach:l.add,onError:fe.add,isReady:Se,install(F){const Z=this;F.component("RouterLink",qg),F.component("RouterView",Ip),F.config.globalProperties.$router=Z,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>ne(a)}),or&&!ct&&a.value===yn&&(ct=!0,x(i.location).catch(J=>{}));const M={};for(const J in yn)Object.defineProperty(M,J,{get:()=>a.value[J],enumerable:!0});F.provide(Jo,Z),F.provide(Sa,Ld(M)),F.provide(ul,a);const B=F.unmount;Ke.add(F),F.unmount=function(){Ke.delete(F),Ke.size<1&&(c=yn,Q&&Q(),Q=null,a.value=yn,ct=!1,oe=!1),B()}}};function Be(F){return F.reduce((Z,M)=>Z.then(()=>q(M)),Promise.resolve())}return At}function ty(e,t){const n=[],r=[],i=[],o=Math.max(t.matched.length,e.matched.length);for(let s=0;sxr(c,l))?r.push(l):n.push(l));const a=e.matched[s];a&&(t.matched.find(c=>xr(c,a))||i.push(a))}return[n,r,i]}function Cp(){return Et(Jo)}function Tp(){return Et(Sa)}const ny={class:"wrapper"},ry={__name:"App",setup(e){return(t,n)=>(E(),j("div",ny,[te(ne(Ip))]))}};/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const fl=typeof window<"u",iy=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",En=e=>iy?Symbol(e):e,oy=(e,t,n)=>sy({l:e,k:t,s:n}),sy=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),qe=e=>typeof e=="number"&&isFinite(e),ly=e=>Ca(e)==="[object Date]",bo=e=>Ca(e)==="[object RegExp]",es=e=>be(e)&&Object.keys(e).length===0;function ay(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const at=Object.assign;let hu;const Oa=()=>hu||(hu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mu(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const cy=Object.prototype.hasOwnProperty;function Ia(e,t){return cy.call(e,t)}const Ue=Array.isArray,Je=e=>typeof e=="function",re=e=>typeof e=="string",Ve=e=>typeof e=="boolean",Me=e=>e!==null&&typeof e=="object",Ep=Object.prototype.toString,Ca=e=>Ep.call(e),be=e=>Ca(e)==="[object Object]",uy=e=>e==null?"":Ue(e)||be(e)&&e.toString===Ep?JSON.stringify(e,null,2):String(e);/*! + */const fl=typeof window<"u",iy=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",En=e=>iy?Symbol(e):e,oy=(e,t,n)=>sy({l:e,k:t,s:n}),sy=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xe=e=>typeof e=="number"&&isFinite(e),ly=e=>Ca(e)==="[object Date]",bo=e=>Ca(e)==="[object RegExp]",es=e=>be(e)&&Object.keys(e).length===0;function ay(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const at=Object.assign;let hu;const Oa=()=>hu||(hu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mu(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const cy=Object.prototype.hasOwnProperty;function Ia(e,t){return cy.call(e,t)}const Ue=Array.isArray,Je=e=>typeof e=="function",re=e=>typeof e=="string",Ve=e=>typeof e=="boolean",Me=e=>e!==null&&typeof e=="object",Ep=Object.prototype.toString,Ca=e=>Ep.call(e),be=e=>Ca(e)==="[object Object]",uy=e=>e==null?"":Ue(e)||be(e)&&e.toString===Ep?JSON.stringify(e,null,2):String(e);/*! * message-compiler v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. @@ -18,11 +18,11 @@ * core-base v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const kn=[];kn[0]={w:[0],i:[3,0],"[":[4],o:[7]};kn[1]={w:[1],".":[2],"[":[4],o:[7]};kn[2]={w:[2],i:[3,0],0:[3,0]};kn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};kn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};kn[5]={"'":[4,0],o:8,l:[5,0]};kn[6]={'"':[4,0],o:8,l:[6,0]};const fy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dy(e){return fy.test(e)}function py(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function my(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:dy(t)?py(t):"*"+t}function gy(e){const t=[];let n=-1,r=0,i=0,o,s,l,a,c,u,f;const d=[];d[0]=()=>{s===void 0?s=l:s+=l},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,s===void 0||(s=my(s),s===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(a=hy(o),f=kn[r],c=f[a]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(r===7)return t}}const gu=new Map;function yy(e,t){return Me(e)?e[t]:null}function vy(e,t){if(!Me(e))return null;let n=gu.get(t);if(n||(n=gy(t),n&&gu.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;oe,xy=e=>"",wy="text",_y=e=>e.length===0?"":e.join(""),Sy=uy;function yu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Oy(e){const t=qe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(qe(e.named.count)||qe(e.named.n))?qe(e.named.count)?e.named.count:qe(e.named.n)?e.named.n:t:t}function Iy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Cy(e={}){const t=e.locale,n=Oy(e),r=Me(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?e.pluralRules[t]:yu,i=Me(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?yu:void 0,o=y=>y[r(n,y.length,i)],s=e.list||[],l=y=>s[y],a=e.named||{};qe(e.pluralIndex)&&Iy(n,a);const c=y=>a[y];function u(y){const b=Je(e.messages)?e.messages(y):Me(e.messages)?e.messages[y]:!1;return b||(e.parent?e.parent.message(y):xy)}const f=y=>e.modifiers?e.modifiers[y]:by,d=be(e.processor)&&Je(e.processor.normalize)?e.processor.normalize:_y,p=be(e.processor)&&Je(e.processor.interpolate)?e.processor.interpolate:Sy,h=be(e.processor)&&re(e.processor.type)?e.processor.type:wy,v={list:l,named:c,plural:o,linked:(y,...b)=>{const[_,x]=b;let S="text",O="";b.length===1?Me(_)?(O=_.modifier||O,S=_.type||S):re(_)&&(O=_||O):b.length===2&&(re(_)&&(O=_||O),re(x)&&(S=x||S));let P=u(y)(v);return S==="vnode"&&Ue(P)&&O&&(P=P[0]),O?f(O)(P,S):P},message:u,type:h,interpolate:p,normalize:d};return v}let pi=null;function Ty(e){pi=e}function Ey(e,t,n){pi&&pi.emit(Ap.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ky=My(Ap.FunctionTranslate);function My(e){return t=>pi&&pi.emit(e,t)}function Ay(e,t,n){return[...new Set([n,...Ue(t)?t:Me(t)?Object.keys(t):re(t)?[t]:[n]])]}function jp(e,t,n){const r=re(n)?n:Ta,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Ue(s);)s=vu(o,s,t);const l=Ue(t)||!be(t)?t:t.default?t.default:null;s=re(l)?[l]:l,Ue(s)&&vu(o,s,!1),i.__localeChainCache.set(r,o)}return o}function vu(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $y(){return{upper:(e,t)=>t==="text"&&re(e)?e.toUpperCase():t==="vnode"&&Me(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&re(e)?e.toLowerCase():t==="vnode"&&Me(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&re(e)?xu(e):t==="vnode"&&Me(e)&&"__v_isVNode"in e?xu(e.children):e}}let Fy,Pp;function Dy(e){Pp=e}let Lp;function zy(e){Lp=e}let $p=null;const wu=e=>{$p=e},Ry=()=>$p;let Fp=null;const _u=e=>{Fp=e},Ny=()=>Fp;let Su=0;function Vy(e={}){const t=re(e.version)?e.version:Ly,n=re(e.locale)?e.locale:Ta,r=Ue(e.fallbackLocale)||be(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=be(e.messages)?e.messages:{[n]:{}},o=be(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},s=be(e.numberFormats)?e.numberFormats:{[n]:{}},l=at({},e.modifiers||{},$y()),a=e.pluralRules||{},c=Je(e.missing)?e.missing:null,u=Ve(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,f=Ve(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,p=!!e.unresolving,h=Je(e.postTranslation)?e.postTranslation:null,m=be(e.processor)?e.processor:null,v=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Je(e.messageCompiler)?e.messageCompiler:Fy,_=Je(e.messageResolver)?e.messageResolver:Pp||yy,x=Je(e.localeFallbacker)?e.localeFallbacker:Lp||Ay,S=Me(e.fallbackContext)?e.fallbackContext:void 0,O=Je(e.onWarn)?e.onWarn:ay,P=e,R=Me(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,q=Me(P.__numberFormatters)?P.__numberFormatters:new Map,X=Me(P.__meta)?P.__meta:{};Su++;const N={version:t,cid:Su,locale:n,fallbackLocale:r,messages:i,modifiers:l,pluralRules:a,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:p,postTranslation:h,processor:m,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:_,localeFallbacker:x,fallbackContext:S,onWarn:O,__meta:X};return N.datetimeFormats=o,N.numberFormats=s,N.__datetimeFormatters=R,N.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Ey(N,t,X),N}function Ea(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(o!==null){const l=o(e,n,t,i);return re(l)?l:t}else return t}function $r(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let Dp=kp.__EXTEND_POINT__;const Is=()=>++Dp,lr={INVALID_ARGUMENT:Dp,INVALID_DATE_ARGUMENT:Is(),INVALID_ISO_DATE_ARGUMENT:Is(),__EXTEND_POINT__:Is()};function ar(e){return Mp(e,null,void 0)}const Ou=()=>"",Wt=e=>Je(e);function Iu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:l}=e,[a,c]=dl(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=re(c.default)||Ve(c.default)?Ve(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",m=n||h!=="",v=re(c.locale)?c.locale:e.locale;d&&Hy(c);let[y,b,_]=p?[a,v,l[v]||{}]:zp(e,a,v,s,f,u),x=y,S=a;if(!p&&!(re(x)||Wt(x))&&m&&(x=h,S=x),!p&&(!(re(x)||Wt(x))||!re(b)))return i?ts:a;let O=!1;const P=()=>{O=!0},R=Wt(x)?x:Rp(e,a,b,x,S,P);if(O)return x;const q=Ky(e,b,_,c),X=Cy(q),N=By(e,R,X),H=r?r(N,a):N;if(__INTLIFY_PROD_DEVTOOLS__){const Q={timestamp:Date.now(),key:re(a)?a:Wt(x)?x.key:"",locale:b||(Wt(x)?x.locale:""),format:re(x)?x:Wt(x)?x.source:"",message:H};Q.meta=at({},e.__meta,Ry()||{}),ky(Q)}return H}function Hy(e){Ue(e.list)?e.list=e.list.map(t=>re(t)?mu(t):t):Me(e.named)&&Object.keys(e.named).forEach(t=>{re(e.named[t])&&(e.named[t]=mu(e.named[t]))})}function zp(e,t,n,r,i,o){const{messages:s,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,p=null;const h="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const a=s(r,Uy(e,n,i,r,l,o));return a.locale=n,a.key=t,a.source=r,a}function By(e,t,n){return t(n)}function dl(...e){const[t,n,r]=e,i={};if(!re(t)&&!qe(t)&&!Wt(t))throw ar(lr.INVALID_ARGUMENT);const o=qe(t)?String(t):(Wt(t),t);return qe(n)?i.plural=n:re(n)?i.default=n:be(n)&&!es(n)?i.named=n:Ue(n)&&(i.list=n),qe(r)?i.plural=r:re(r)?i.default=r:be(r)&&at(i,r),[o,i]}function Uy(e,t,n,r,i,o){return{warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>oy(t,n,s)}}function Ky(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:o,messages:p=>{let h=s(n,p);if(h==null&&u){const[,,m]=zp(u,p,t,l,a,c);h=s(m,p)}if(re(h)){let m=!1;const y=Rp(e,p,t,h,p,()=>{m=!0});return m?Ou:y}else return Wt(h)?h:Ou}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),qe(r.plural)&&(d.pluralIndex=r.plural),d}function Cu(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=pl(...t),d=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=re(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!re(a)||a==="")return new Intl.DateTimeFormat(h,f).format(c);let v={},y,b=null;const _="datetime format";for(let O=0;O{Np.includes(a)?s[a]=n[a]:o[a]=n[a]}),re(r)?o.locale=r:be(r)&&(s=r),be(i)&&(s=i),[o.key||"",l,o,s]}function Tu(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Eu(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[a,c,u,f]=hl(...t),d=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=re(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!re(a)||a==="")return new Intl.NumberFormat(h,f).format(c);let v={},y,b=null;const _="number format";for(let O=0;O{Vp.includes(a)?s[a]=n[a]:o[a]=n[a]}),re(r)?o.locale=r:be(r)&&(s=r),be(i)&&(s=i),[o.key||"",l,o,s]}function ku(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1);/*! + */const kn=[];kn[0]={w:[0],i:[3,0],"[":[4],o:[7]};kn[1]={w:[1],".":[2],"[":[4],o:[7]};kn[2]={w:[2],i:[3,0],0:[3,0]};kn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};kn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};kn[5]={"'":[4,0],o:8,l:[5,0]};kn[6]={'"':[4,0],o:8,l:[6,0]};const fy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dy(e){return fy.test(e)}function py(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hy(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function my(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:dy(t)?py(t):"*"+t}function gy(e){const t=[];let n=-1,r=0,i=0,o,s,l,a,c,u,f;const d=[];d[0]=()=>{s===void 0?s=l:s+=l},d[1]=()=>{s!==void 0&&(t.push(s),s=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,s===void 0||(s=my(s),s===!1))return!1;d[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,l="\\"+h,d[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(a=hy(o),f=kn[r],c=f[a]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(l=o,u()===!1))))return;if(r===7)return t}}const gu=new Map;function yy(e,t){return Me(e)?e[t]:null}function vy(e,t){if(!Me(e))return null;let n=gu.get(t);if(n||(n=gy(t),n&&gu.set(t,n)),!n)return null;const r=n.length;let i=e,o=0;for(;oe,xy=e=>"",wy="text",_y=e=>e.length===0?"":e.join(""),Sy=uy;function yu(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Oy(e){const t=Xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Xe(e.named.count)||Xe(e.named.n))?Xe(e.named.count)?e.named.count:Xe(e.named.n)?e.named.n:t:t}function Iy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Cy(e={}){const t=e.locale,n=Oy(e),r=Me(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?e.pluralRules[t]:yu,i=Me(e.pluralRules)&&re(t)&&Je(e.pluralRules[t])?yu:void 0,o=y=>y[r(n,y.length,i)],s=e.list||[],l=y=>s[y],a=e.named||{};Xe(e.pluralIndex)&&Iy(n,a);const c=y=>a[y];function u(y){const b=Je(e.messages)?e.messages(y):Me(e.messages)?e.messages[y]:!1;return b||(e.parent?e.parent.message(y):xy)}const f=y=>e.modifiers?e.modifiers[y]:by,d=be(e.processor)&&Je(e.processor.normalize)?e.processor.normalize:_y,p=be(e.processor)&&Je(e.processor.interpolate)?e.processor.interpolate:Sy,h=be(e.processor)&&re(e.processor.type)?e.processor.type:wy,v={list:l,named:c,plural:o,linked:(y,...b)=>{const[_,x]=b;let S="text",O="";b.length===1?Me(_)?(O=_.modifier||O,S=_.type||S):re(_)&&(O=_||O):b.length===2&&(re(_)&&(O=_||O),re(x)&&(S=x||S));let P=u(y)(v);return S==="vnode"&&Ue(P)&&O&&(P=P[0]),O?f(O)(P,S):P},message:u,type:h,interpolate:p,normalize:d};return v}let pi=null;function Ty(e){pi=e}function Ey(e,t,n){pi&&pi.emit(Ap.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ky=My(Ap.FunctionTranslate);function My(e){return t=>pi&&pi.emit(e,t)}function Ay(e,t,n){return[...new Set([n,...Ue(t)?t:Me(t)?Object.keys(t):re(t)?[t]:[n]])]}function jp(e,t,n){const r=re(n)?n:Ta,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;Ue(s);)s=vu(o,s,t);const l=Ue(t)||!be(t)?t:t.default?t.default:null;s=re(l)?[l]:l,Ue(s)&&vu(o,s,!1),i.__localeChainCache.set(r,o)}return o}function vu(e,t,n){let r=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $y(){return{upper:(e,t)=>t==="text"&&re(e)?e.toUpperCase():t==="vnode"&&Me(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&re(e)?e.toLowerCase():t==="vnode"&&Me(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&re(e)?xu(e):t==="vnode"&&Me(e)&&"__v_isVNode"in e?xu(e.children):e}}let Fy,Pp;function Dy(e){Pp=e}let Lp;function zy(e){Lp=e}let $p=null;const wu=e=>{$p=e},Ry=()=>$p;let Fp=null;const _u=e=>{Fp=e},Ny=()=>Fp;let Su=0;function Vy(e={}){const t=re(e.version)?e.version:Ly,n=re(e.locale)?e.locale:Ta,r=Ue(e.fallbackLocale)||be(e.fallbackLocale)||re(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=be(e.messages)?e.messages:{[n]:{}},o=be(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},s=be(e.numberFormats)?e.numberFormats:{[n]:{}},l=at({},e.modifiers||{},$y()),a=e.pluralRules||{},c=Je(e.missing)?e.missing:null,u=Ve(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,f=Ve(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,d=!!e.fallbackFormat,p=!!e.unresolving,h=Je(e.postTranslation)?e.postTranslation:null,m=be(e.processor)?e.processor:null,v=Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,b=Je(e.messageCompiler)?e.messageCompiler:Fy,_=Je(e.messageResolver)?e.messageResolver:Pp||yy,x=Je(e.localeFallbacker)?e.localeFallbacker:Lp||Ay,S=Me(e.fallbackContext)?e.fallbackContext:void 0,O=Je(e.onWarn)?e.onWarn:ay,P=e,R=Me(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,q=Me(P.__numberFormatters)?P.__numberFormatters:new Map,X=Me(P.__meta)?P.__meta:{};Su++;const N={version:t,cid:Su,locale:n,fallbackLocale:r,messages:i,modifiers:l,pluralRules:a,missing:c,missingWarn:u,fallbackWarn:f,fallbackFormat:d,unresolving:p,postTranslation:h,processor:m,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:_,localeFallbacker:x,fallbackContext:S,onWarn:O,__meta:X};return N.datetimeFormats=o,N.numberFormats=s,N.__datetimeFormatters=R,N.__numberFormatters=q,__INTLIFY_PROD_DEVTOOLS__&&Ey(N,t,X),N}function Ea(e,t,n,r,i){const{missing:o,onWarn:s}=e;if(o!==null){const l=o(e,n,t,i);return re(l)?l:t}else return t}function $r(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let Dp=kp.__EXTEND_POINT__;const Is=()=>++Dp,lr={INVALID_ARGUMENT:Dp,INVALID_DATE_ARGUMENT:Is(),INVALID_ISO_DATE_ARGUMENT:Is(),__EXTEND_POINT__:Is()};function ar(e){return Mp(e,null,void 0)}const Ou=()=>"",Wt=e=>Je(e);function Iu(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:l}=e,[a,c]=dl(...t),u=Ve(c.missingWarn)?c.missingWarn:e.missingWarn,f=Ve(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=Ve(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=re(c.default)||Ve(c.default)?Ve(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",m=n||h!=="",v=re(c.locale)?c.locale:e.locale;d&&Hy(c);let[y,b,_]=p?[a,v,l[v]||{}]:zp(e,a,v,s,f,u),x=y,S=a;if(!p&&!(re(x)||Wt(x))&&m&&(x=h,S=x),!p&&(!(re(x)||Wt(x))||!re(b)))return i?ts:a;let O=!1;const P=()=>{O=!0},R=Wt(x)?x:Rp(e,a,b,x,S,P);if(O)return x;const q=Ky(e,b,_,c),X=Cy(q),N=By(e,R,X),H=r?r(N,a):N;if(__INTLIFY_PROD_DEVTOOLS__){const Q={timestamp:Date.now(),key:re(a)?a:Wt(x)?x.key:"",locale:b||(Wt(x)?x.locale:""),format:re(x)?x:Wt(x)?x.source:"",message:H};Q.meta=at({},e.__meta,Ry()||{}),ky(Q)}return H}function Hy(e){Ue(e.list)?e.list=e.list.map(t=>re(t)?mu(t):t):Me(e.named)&&Object.keys(e.named).forEach(t=>{re(e.named[t])&&(e.named[t]=mu(e.named[t]))})}function zp(e,t,n,r,i,o){const{messages:s,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,p=null;const h="translate";for(let m=0;mr;return c.locale=n,c.key=t,c}const a=s(r,Uy(e,n,i,r,l,o));return a.locale=n,a.key=t,a.source=r,a}function By(e,t,n){return t(n)}function dl(...e){const[t,n,r]=e,i={};if(!re(t)&&!Xe(t)&&!Wt(t))throw ar(lr.INVALID_ARGUMENT);const o=Xe(t)?String(t):(Wt(t),t);return Xe(n)?i.plural=n:re(n)?i.default=n:be(n)&&!es(n)?i.named=n:Ue(n)&&(i.list=n),Xe(r)?i.plural=r:re(r)?i.default=r:be(r)&&at(i,r),[o,i]}function Uy(e,t,n,r,i,o){return{warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>oy(t,n,s)}}function Ky(e,t,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:o,messages:p=>{let h=s(n,p);if(h==null&&u){const[,,m]=zp(u,p,t,l,a,c);h=s(m,p)}if(re(h)){let m=!1;const y=Rp(e,p,t,h,p,()=>{m=!0});return m?Ou:y}else return Wt(h)?h:Ou}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Xe(r.plural)&&(d.pluralIndex=r.plural),d}function Cu(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=pl(...t),d=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=re(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!re(a)||a==="")return new Intl.DateTimeFormat(h,f).format(c);let v={},y,b=null;const _="datetime format";for(let O=0;O{Np.includes(a)?s[a]=n[a]:o[a]=n[a]}),re(r)?o.locale=r:be(r)&&(s=r),be(i)&&(s=i),[o.key||"",l,o,s]}function Tu(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Eu(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:l}=e,[a,c,u,f]=hl(...t),d=Ve(u.missingWarn)?u.missingWarn:e.missingWarn;Ve(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=re(u.locale)?u.locale:e.locale,m=s(e,i,h);if(!re(a)||a==="")return new Intl.NumberFormat(h,f).format(c);let v={},y,b=null;const _="number format";for(let O=0;O{Vp.includes(a)?s[a]=n[a]:o[a]=n[a]}),re(r)?o.locale=r:be(r)&&(s=r),be(i)&&(s=i),[o.key||"",l,o,s]}function ku(e,t,n){const r=e;for(const i in n){const o=`${t}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1);/*! * vue-i18n v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. - */const Wy="9.2.2";function Gy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}let Hp=kp.__EXTEND_POINT__;const ut=()=>++Hp,vt={UNEXPECTED_RETURN_TYPE:Hp,INVALID_ARGUMENT:ut(),MUST_BE_CALL_SETUP_TOP:ut(),NOT_INSLALLED:ut(),NOT_AVAILABLE_IN_LEGACY_MODE:ut(),REQUIRED_VALUE:ut(),INVALID_VALUE:ut(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ut(),NOT_INSLALLED_WITH_PROVIDE:ut(),UNEXPECTED_ERROR:ut(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ut(),BRIDGE_SUPPORT_VUE_2_ONLY:ut(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ut(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ut(),__EXTEND_POINT__:ut()};function Mt(e,...t){return Mp(e,null,void 0)}const ml=En("__transrateVNode"),gl=En("__datetimeParts"),yl=En("__numberParts"),Yy=En("__setPluralRules");En("__intlifyMeta");const Zy=En("__injectWithOption");function vl(e){if(!Me(e))return e;for(const t in e)if(Ia(e,t))if(!t.includes("."))Me(e[t])&&vl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(s[a]=s[a]||{},ti(c,s[a])):ti(c,s)}else re(l)&&ti(JSON.parse(l),s)}),i==null&&o)for(const l in s)Ia(s,l)&&vl(s[l]);return s}const Zi=e=>!Me(e)||Ue(e);function ti(e,t){if(Zi(e)||Zi(t))throw Mt(vt.INVALID_VALUE);for(const n in e)Ia(e,n)&&(Zi(e[n])||Zi(t[n])?t[n]=e[n]:ti(e[n],t[n]))}function Up(e){return e.type}function qy(e,t,n){let r=Me(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Bp(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Me(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Me(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Mu(e){return te($i,null,e,0)}const Au="__INTLIFY_META__";let ju=0;function Pu(e){return(t,n,r,i)=>e(n,r,Fi()||void 0,i)}const Xy=()=>{const e=Fi();let t=null;return e&&(t=Up(e)[Au])?{[Au]:t}:null};function Kp(e={},t){const{__root:n}=e,r=n===void 0;let i=Ve(e.inheritLocale)?e.inheritLocale:!0;const o=ue(n&&i?n.locale.value:re(e.locale)?e.locale:Ta),s=ue(n&&i?n.fallbackLocale.value:re(e.fallbackLocale)||Ue(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),l=ue(Bp(o.value,e)),a=ue(be(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=ue(be(e.numberFormats)?e.numberFormats:{[o.value]:{}});let u=n?n.missingWarn:Ve(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Ve(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Je(e.missing)?e.missing:null,m=Je(e.missing)?Pu(e.missing):null,v=Je(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const _=n?n.modifiers:be(e.modifiers)?e.modifiers:{};let x=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&_u(null);const T={version:Wy,locale:o.value,fallbackLocale:s.value,messages:l.value,modifiers:_,pluralRules:x,missing:m===null?void 0:m,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};T.datetimeFormats=a.value,T.numberFormats=c.value,T.__datetimeFormatters=be(S)?S.__datetimeFormatters:void 0,T.__numberFormatters=be(S)?S.__numberFormatters:void 0;const k=Vy(T);return r&&_u(k),k})(),$r(S,o.value,s.value);function P(){return[o.value,s.value,l.value,a.value,c.value]}const R=me({get:()=>o.value,set:T=>{o.value=T,S.locale=o.value}}),q=me({get:()=>s.value,set:T=>{s.value=T,S.fallbackLocale=s.value,$r(S,o.value,T)}}),X=me(()=>l.value),N=me(()=>a.value),H=me(()=>c.value);function Q(){return Je(v)?v:null}function he(T){v=T,S.postTranslation=T}function _e(){return h}function fe(T){T!==null&&(m=Pu(T)),h=T,S.missing=m}const oe=(T,k,ee,ie,pe,Oe)=>{P();let ge;if(__INTLIFY_PROD_DEVTOOLS__)try{wu(Xy()),r||(S.fallbackContext=n?Ny():void 0),ge=T(S)}finally{wu(null),r||(S.fallbackContext=void 0)}else ge=T(S);if(qe(ge)&&ge===ts){const[Ne,wt]=k();return n&&d?ie(n):pe(Ne)}else{if(Oe(ge))return ge;throw Mt(vt.UNEXPECTED_RETURN_TYPE)}};function ce(...T){return oe(k=>Reflect.apply(Iu,null,[k,...T]),()=>dl(...T),"translate",k=>Reflect.apply(k.t,k,[...T]),k=>k,k=>re(k))}function Se(...T){const[k,ee,ie]=T;if(ie&&!Me(ie))throw Mt(vt.INVALID_ARGUMENT);return ce(k,ee,at({resolvedMessage:!0},ie||{}))}function st(...T){return oe(k=>Reflect.apply(Cu,null,[k,...T]),()=>pl(...T),"datetime format",k=>Reflect.apply(k.d,k,[...T]),()=>bu,k=>re(k))}function Re(...T){return oe(k=>Reflect.apply(Eu,null,[k,...T]),()=>hl(...T),"number format",k=>Reflect.apply(k.n,k,[...T]),()=>bu,k=>re(k))}function $e(T){return T.map(k=>re(k)||qe(k)||Ve(k)?Mu(String(k)):k)}const Ke={normalize:$e,interpolate:T=>T,type:"vnode"};function At(...T){return oe(k=>{let ee;const ie=k;try{ie.processor=Ke,ee=Reflect.apply(Iu,null,[ie,...T])}finally{ie.processor=null}return ee},()=>dl(...T),"translate",k=>k[ml](...T),k=>[Mu(k)],k=>Ue(k))}function Be(...T){return oe(k=>Reflect.apply(Eu,null,[k,...T]),()=>hl(...T),"number format",k=>k[yl](...T),()=>[],k=>re(k)||Ue(k))}function F(...T){return oe(k=>Reflect.apply(Cu,null,[k,...T]),()=>pl(...T),"datetime format",k=>k[gl](...T),()=>[],k=>re(k)||Ue(k))}function Z(T){x=T,S.pluralRules=x}function M(T,k){const ee=re(k)?k:o.value,ie=g(ee);return S.messageResolver(ie,T)!==null}function B(T){let k=null;const ee=jp(S,s.value,o.value);for(let ie=0;ie{i&&(o.value=T,S.locale=T,$r(S,o.value,s.value))}),Xe(n.fallbackLocale,T=>{i&&(s.value=T,S.fallbackLocale=T,$r(S,o.value,s.value))}));const D={id:ju,locale:R,fallbackLocale:q,get inheritLocale(){return i},set inheritLocale(T){i=T,T&&n&&(o.value=n.locale.value,s.value=n.fallbackLocale.value,$r(S,o.value,s.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:X,get modifiers(){return _},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(T){u=T,S.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(T){f=T,S.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(T){d=T},get fallbackFormat(){return p},set fallbackFormat(T){p=T,S.fallbackFormat=p},get warnHtmlMessage(){return y},set warnHtmlMessage(T){y=T,S.warnHtmlMessage=T},get escapeParameter(){return b},set escapeParameter(T){b=T,S.escapeParameter=T},t:ce,getLocaleMessage:g,setLocaleMessage:w,mergeLocaleMessage:I,getPostTranslationHandler:Q,setPostTranslationHandler:he,getMissingHandler:_e,setMissingHandler:fe,[Yy]:Z};return D.datetimeFormats=N,D.numberFormats=H,D.rt=Se,D.te=M,D.tm=J,D.d=st,D.n=Re,D.getDateTimeFormat=A,D.setDateTimeFormat=L,D.mergeDateTimeFormat=z,D.getNumberFormat=G,D.setNumberFormat=K,D.mergeNumberFormat=W,D[Zy]=e.__injectWithOption,D[ml]=At,D[gl]=F,D[yl]=Be,D}const ka={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Qy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...Ue(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Wp(e){return se}const Lu={name:"i18n-t",props:at({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>qe(e)||!isNaN(e)}},ka),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||xt({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=re(e.plural)?+e.plural:e.plural);const l=Qy(t,o),a=i[ml](e.keypath,l,s),c=at({},r),u=re(e.tag)||Me(e.tag)?e.tag:Wp();return Kn(u,c,a)}}};function Jy(e){return Ue(e)&&!re(e[0])}function Gp(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),re(e.format)?s.key=e.format:Me(e.format)&&(re(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((d,p)=>n.includes(p)?at({},d,{[p]:e.format[p]}):d,{}));const a=r(e.value,s,l);let c=[s.key];Ue(a)?c=a.map((d,p)=>{const h=i[d.type],m=h?h({[d.type]:d.value,index:p,parts:a}):[d.value];return Jy(m)&&(m[0].key=`${d.type}-${p}`),m}):re(a)&&(c=[a]);const u=at({},o),f=re(e.tag)||Me(e.tag)?e.tag:Wp();return Kn(f,u,c)}}const $u={name:"i18n-n",props:at({value:{type:Number,required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||xt({useScope:"parent",__useComponent:!0});return Gp(e,t,Vp,(...r)=>n[yl](...r))}},Fu={name:"i18n-d",props:at({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||xt({useScope:"parent",__useComponent:!0});return Gp(e,t,Np,(...r)=>n[gl](...r))}};function e2(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function t2(e){const t=s=>{const{instance:l,modifiers:a,value:c}=s;if(!l||!l.$)throw Mt(vt.UNEXPECTED_ERROR);const u=e2(e,l.$),f=Du(c);return[Reflect.apply(u.t,u,[...zu(f)]),u]};return{created:(s,l)=>{const[a,c]=t(l);fl&&e.global===c&&(s.__i18nWatcher=Xe(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),s.__composer=c,s.textContent=a},unmounted:s=>{fl&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:l})=>{if(s.__composer){const a=s.__composer,c=Du(l);s.textContent=Reflect.apply(a.t,a,[...zu(c)])}},getSSRProps:s=>{const[l]=t(s);return{textContent:l}}}}function Du(e){if(re(e))return{path:e};if(be(e)){if(!("path"in e))throw Mt(vt.REQUIRED_VALUE,"path");return e}else throw Mt(vt.INVALID_VALUE)}function zu(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},l=r||{};return re(n)&&(s.locale=n),qe(i)&&(s.plural=i),qe(o)&&(s.plural=o),[t,l,s]}function n2(e,t,...n){const r=be(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ve(r.globalInstall)?r.globalInstall:!0)&&(e.component(i?"i18n":Lu.name,Lu),e.component($u.name,$u),e.component(Fu.name,Fu)),e.directive("t",t2(t))}const r2=En("global-vue-i18n");function i2(e={},t){const n=Ve(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,s]=o2(e),l=En("");function a(f){return i.get(f)||null}function c(f,d){i.set(f,d)}function u(f){i.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...p){d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),n&&p2(d,f.global),n2(d,f,...p);const h=d.unmount;d.unmount=()=>{f.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:i,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function xt(e={}){const t=Fi();if(t==null)throw Mt(vt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Mt(vt.NOT_INSLALLED);const n=s2(t),r=a2(n),i=Up(t),o=l2(e,i);if(o==="global")return qy(r,e,i),r;if(o==="parent"){let a=c2(n,t,e.__useComponent);return a==null&&(a=r),a}const s=n;let l=s.__getInstance(t);if(l==null){const a=at({},e);"__i18n"in i&&(a.__i18n=i.__i18n),r&&(a.__root=r),l=Kp(a),u2(s,t),s.__setInstance(t,l)}return l}function o2(e,t,n){const r=B1();{const i=r.run(()=>Kp(e));if(i==null)throw Mt(vt.UNEXPECTED_ERROR);return[r,i]}}function s2(e){{const t=Tt(e.isCE?r2:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Mt(e.isCE?vt.NOT_INSLALLED_WITH_PROVIDE:vt.UNEXPECTED_ERROR);return t}}function l2(e,t){return es(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function a2(e){return e.mode==="composition"?e.global:e.global.__composer}function c2(e,t,n=!1){let r=null;const i=t.root;let o=t.parent;for(;o!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function u2(e,t,n){mt(()=>{},t),da(()=>{e.__deleteInstance(t)},t)}const f2=["locale","fallbackLocale","availableLocales"],d2=["t","rt","d","n","tm"];function p2(e,t){const n=Object.create(null);f2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Mt(vt.UNEXPECTED_ERROR);const o=tt(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,d2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Mt(vt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)})}Dy(vy);zy(jp);Gy();if(__INTLIFY_PROD_DEVTOOLS__){const e=Oa();e.__INTLIFY__=!0,Ty(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Cs(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ma(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. + */const Wy="9.2.2";function Gy(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oa().__INTLIFY_PROD_DEVTOOLS__=!1)}let Hp=kp.__EXTEND_POINT__;const ut=()=>++Hp,bt={UNEXPECTED_RETURN_TYPE:Hp,INVALID_ARGUMENT:ut(),MUST_BE_CALL_SETUP_TOP:ut(),NOT_INSLALLED:ut(),NOT_AVAILABLE_IN_LEGACY_MODE:ut(),REQUIRED_VALUE:ut(),INVALID_VALUE:ut(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ut(),NOT_INSLALLED_WITH_PROVIDE:ut(),UNEXPECTED_ERROR:ut(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ut(),BRIDGE_SUPPORT_VUE_2_ONLY:ut(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ut(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ut(),__EXTEND_POINT__:ut()};function Mt(e,...t){return Mp(e,null,void 0)}const ml=En("__transrateVNode"),gl=En("__datetimeParts"),yl=En("__numberParts"),Yy=En("__setPluralRules");En("__intlifyMeta");const Zy=En("__injectWithOption");function vl(e){if(!Me(e))return e;for(const t in e)if(Ia(e,t))if(!t.includes("."))Me(e[t])&&vl(e[t]);else{const n=t.split("."),r=n.length-1;let i=e;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(s[a]=s[a]||{},ti(c,s[a])):ti(c,s)}else re(l)&&ti(JSON.parse(l),s)}),i==null&&o)for(const l in s)Ia(s,l)&&vl(s[l]);return s}const Zi=e=>!Me(e)||Ue(e);function ti(e,t){if(Zi(e)||Zi(t))throw Mt(bt.INVALID_VALUE);for(const n in e)Ia(e,n)&&(Zi(e[n])||Zi(t[n])?t[n]=e[n]:ti(e[n],t[n]))}function Up(e){return e.type}function qy(e,t,n){let r=Me(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Bp(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(Me(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,t.datetimeFormats[s])})}if(Me(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,t.numberFormats[s])})}}}function Mu(e){return te($i,null,e,0)}const Au="__INTLIFY_META__";let ju=0;function Pu(e){return(t,n,r,i)=>e(n,r,Fi()||void 0,i)}const Xy=()=>{const e=Fi();let t=null;return e&&(t=Up(e)[Au])?{[Au]:t}:null};function Kp(e={},t){const{__root:n}=e,r=n===void 0;let i=Ve(e.inheritLocale)?e.inheritLocale:!0;const o=ue(n&&i?n.locale.value:re(e.locale)?e.locale:Ta),s=ue(n&&i?n.fallbackLocale.value:re(e.fallbackLocale)||Ue(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),l=ue(Bp(o.value,e)),a=ue(be(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),c=ue(be(e.numberFormats)?e.numberFormats:{[o.value]:{}});let u=n?n.missingWarn:Ve(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Ve(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,d=n?n.fallbackRoot:Ve(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Je(e.missing)?e.missing:null,m=Je(e.missing)?Pu(e.missing):null,v=Je(e.postTranslation)?e.postTranslation:null,y=n?n.warnHtmlMessage:Ve(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const _=n?n.modifiers:be(e.modifiers)?e.modifiers:{};let x=e.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&_u(null);const T={version:Wy,locale:o.value,fallbackLocale:s.value,messages:l.value,modifiers:_,pluralRules:x,missing:m===null?void 0:m,missingWarn:u,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,__meta:{framework:"vue"}};T.datetimeFormats=a.value,T.numberFormats=c.value,T.__datetimeFormatters=be(S)?S.__datetimeFormatters:void 0,T.__numberFormatters=be(S)?S.__numberFormatters:void 0;const k=Vy(T);return r&&_u(k),k})(),$r(S,o.value,s.value);function P(){return[o.value,s.value,l.value,a.value,c.value]}const R=me({get:()=>o.value,set:T=>{o.value=T,S.locale=o.value}}),q=me({get:()=>s.value,set:T=>{s.value=T,S.fallbackLocale=s.value,$r(S,o.value,T)}}),X=me(()=>l.value),N=me(()=>a.value),H=me(()=>c.value);function Q(){return Je(v)?v:null}function he(T){v=T,S.postTranslation=T}function _e(){return h}function fe(T){T!==null&&(m=Pu(T)),h=T,S.missing=m}const oe=(T,k,ee,ie,pe,Oe)=>{P();let ge;if(__INTLIFY_PROD_DEVTOOLS__)try{wu(Xy()),r||(S.fallbackContext=n?Ny():void 0),ge=T(S)}finally{wu(null),r||(S.fallbackContext=void 0)}else ge=T(S);if(Xe(ge)&&ge===ts){const[Ne,_t]=k();return n&&d?ie(n):pe(Ne)}else{if(Oe(ge))return ge;throw Mt(bt.UNEXPECTED_RETURN_TYPE)}};function ce(...T){return oe(k=>Reflect.apply(Iu,null,[k,...T]),()=>dl(...T),"translate",k=>Reflect.apply(k.t,k,[...T]),k=>k,k=>re(k))}function Se(...T){const[k,ee,ie]=T;if(ie&&!Me(ie))throw Mt(bt.INVALID_ARGUMENT);return ce(k,ee,at({resolvedMessage:!0},ie||{}))}function st(...T){return oe(k=>Reflect.apply(Cu,null,[k,...T]),()=>pl(...T),"datetime format",k=>Reflect.apply(k.d,k,[...T]),()=>bu,k=>re(k))}function Re(...T){return oe(k=>Reflect.apply(Eu,null,[k,...T]),()=>hl(...T),"number format",k=>Reflect.apply(k.n,k,[...T]),()=>bu,k=>re(k))}function $e(T){return T.map(k=>re(k)||Xe(k)||Ve(k)?Mu(String(k)):k)}const Ke={normalize:$e,interpolate:T=>T,type:"vnode"};function At(...T){return oe(k=>{let ee;const ie=k;try{ie.processor=Ke,ee=Reflect.apply(Iu,null,[ie,...T])}finally{ie.processor=null}return ee},()=>dl(...T),"translate",k=>k[ml](...T),k=>[Mu(k)],k=>Ue(k))}function Be(...T){return oe(k=>Reflect.apply(Eu,null,[k,...T]),()=>hl(...T),"number format",k=>k[yl](...T),()=>[],k=>re(k)||Ue(k))}function F(...T){return oe(k=>Reflect.apply(Cu,null,[k,...T]),()=>pl(...T),"datetime format",k=>k[gl](...T),()=>[],k=>re(k)||Ue(k))}function Z(T){x=T,S.pluralRules=x}function M(T,k){const ee=re(k)?k:o.value,ie=g(ee);return S.messageResolver(ie,T)!==null}function B(T){let k=null;const ee=jp(S,s.value,o.value);for(let ie=0;ie{i&&(o.value=T,S.locale=T,$r(S,o.value,s.value))}),We(n.fallbackLocale,T=>{i&&(s.value=T,S.fallbackLocale=T,$r(S,o.value,s.value))}));const D={id:ju,locale:R,fallbackLocale:q,get inheritLocale(){return i},set inheritLocale(T){i=T,T&&n&&(o.value=n.locale.value,s.value=n.fallbackLocale.value,$r(S,o.value,s.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:X,get modifiers(){return _},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return u},set missingWarn(T){u=T,S.missingWarn=u},get fallbackWarn(){return f},set fallbackWarn(T){f=T,S.fallbackWarn=f},get fallbackRoot(){return d},set fallbackRoot(T){d=T},get fallbackFormat(){return p},set fallbackFormat(T){p=T,S.fallbackFormat=p},get warnHtmlMessage(){return y},set warnHtmlMessage(T){y=T,S.warnHtmlMessage=T},get escapeParameter(){return b},set escapeParameter(T){b=T,S.escapeParameter=T},t:ce,getLocaleMessage:g,setLocaleMessage:w,mergeLocaleMessage:I,getPostTranslationHandler:Q,setPostTranslationHandler:he,getMissingHandler:_e,setMissingHandler:fe,[Yy]:Z};return D.datetimeFormats=N,D.numberFormats=H,D.rt=Se,D.te=M,D.tm=J,D.d=st,D.n=Re,D.getDateTimeFormat=A,D.setDateTimeFormat=L,D.mergeDateTimeFormat=z,D.getNumberFormat=G,D.setNumberFormat=K,D.mergeNumberFormat=W,D[Zy]=e.__injectWithOption,D[ml]=At,D[gl]=F,D[yl]=Be,D}const ka={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Qy({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>r=[...r,...Ue(i.children)?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function Wp(e){return se}const Lu={name:"i18n-t",props:at({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Xe(e)||!isNaN(e)}},ka),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||wt({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),s={};e.locale&&(s.locale=e.locale),e.plural!==void 0&&(s.plural=re(e.plural)?+e.plural:e.plural);const l=Qy(t,o),a=i[ml](e.keypath,l,s),c=at({},r),u=re(e.tag)||Me(e.tag)?e.tag:Wp();return Kn(u,c,a)}}};function Jy(e){return Ue(e)&&!re(e[0])}function Gp(e,t,n,r){const{slots:i,attrs:o}=t;return()=>{const s={part:!0};let l={};e.locale&&(s.locale=e.locale),re(e.format)?s.key=e.format:Me(e.format)&&(re(e.format.key)&&(s.key=e.format.key),l=Object.keys(e.format).reduce((d,p)=>n.includes(p)?at({},d,{[p]:e.format[p]}):d,{}));const a=r(e.value,s,l);let c=[s.key];Ue(a)?c=a.map((d,p)=>{const h=i[d.type],m=h?h({[d.type]:d.value,index:p,parts:a}):[d.value];return Jy(m)&&(m[0].key=`${d.type}-${p}`),m}):re(a)&&(c=[a]);const u=at({},o),f=re(e.tag)||Me(e.tag)?e.tag:Wp();return Kn(f,u,c)}}const $u={name:"i18n-n",props:at({value:{type:Number,required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||wt({useScope:"parent",__useComponent:!0});return Gp(e,t,Vp,(...r)=>n[yl](...r))}},Fu={name:"i18n-d",props:at({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ka),setup(e,t){const n=e.i18n||wt({useScope:"parent",__useComponent:!0});return Gp(e,t,Np,(...r)=>n[gl](...r))}};function e2(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function t2(e){const t=s=>{const{instance:l,modifiers:a,value:c}=s;if(!l||!l.$)throw Mt(bt.UNEXPECTED_ERROR);const u=e2(e,l.$),f=Du(c);return[Reflect.apply(u.t,u,[...zu(f)]),u]};return{created:(s,l)=>{const[a,c]=t(l);fl&&e.global===c&&(s.__i18nWatcher=We(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),s.__composer=c,s.textContent=a},unmounted:s=>{fl&&s.__i18nWatcher&&(s.__i18nWatcher(),s.__i18nWatcher=void 0,delete s.__i18nWatcher),s.__composer&&(s.__composer=void 0,delete s.__composer)},beforeUpdate:(s,{value:l})=>{if(s.__composer){const a=s.__composer,c=Du(l);s.textContent=Reflect.apply(a.t,a,[...zu(c)])}},getSSRProps:s=>{const[l]=t(s);return{textContent:l}}}}function Du(e){if(re(e))return{path:e};if(be(e)){if(!("path"in e))throw Mt(bt.REQUIRED_VALUE,"path");return e}else throw Mt(bt.INVALID_VALUE)}function zu(e){const{path:t,locale:n,args:r,choice:i,plural:o}=e,s={},l=r||{};return re(n)&&(s.locale=n),Xe(i)&&(s.plural=i),Xe(o)&&(s.plural=o),[t,l,s]}function n2(e,t,...n){const r=be(n[0])?n[0]:{},i=!!r.useI18nComponentName;(Ve(r.globalInstall)?r.globalInstall:!0)&&(e.component(i?"i18n":Lu.name,Lu),e.component($u.name,$u),e.component(Fu.name,Fu)),e.directive("t",t2(t))}const r2=En("global-vue-i18n");function i2(e={},t){const n=Ve(e.globalInjection)?e.globalInjection:!0,r=!0,i=new Map,[o,s]=o2(e),l=En("");function a(f){return i.get(f)||null}function c(f,d){i.set(f,d)}function u(f){i.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(d,...p){d.__VUE_I18N_SYMBOL__=l,d.provide(d.__VUE_I18N_SYMBOL__,f),n&&p2(d,f.global),n2(d,f,...p);const h=d.unmount;d.unmount=()=>{f.dispose(),h()}},get global(){return s},dispose(){o.stop()},__instances:i,__getInstance:a,__setInstance:c,__deleteInstance:u};return f}}function wt(e={}){const t=Fi();if(t==null)throw Mt(bt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Mt(bt.NOT_INSLALLED);const n=s2(t),r=a2(n),i=Up(t),o=l2(e,i);if(o==="global")return qy(r,e,i),r;if(o==="parent"){let a=c2(n,t,e.__useComponent);return a==null&&(a=r),a}const s=n;let l=s.__getInstance(t);if(l==null){const a=at({},e);"__i18n"in i&&(a.__i18n=i.__i18n),r&&(a.__root=r),l=Kp(a),u2(s,t),s.__setInstance(t,l)}return l}function o2(e,t,n){const r=B1();{const i=r.run(()=>Kp(e));if(i==null)throw Mt(bt.UNEXPECTED_ERROR);return[r,i]}}function s2(e){{const t=Et(e.isCE?r2:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Mt(e.isCE?bt.NOT_INSLALLED_WITH_PROVIDE:bt.UNEXPECTED_ERROR);return t}}function l2(e,t){return es(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function a2(e){return e.mode==="composition"?e.global:e.global.__composer}function c2(e,t,n=!1){let r=null;const i=t.root;let o=t.parent;for(;o!=null;){const s=e;if(e.mode==="composition"&&(r=s.__getInstance(o)),r!=null||i===o)break;o=o.parent}return r}function u2(e,t,n){mt(()=>{},t),da(()=>{e.__deleteInstance(t)},t)}const f2=["locale","fallbackLocale","availableLocales"],d2=["t","rt","d","n","tm"];function p2(e,t){const n=Object.create(null);f2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Mt(bt.UNEXPECTED_ERROR);const o=tt(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,d2.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Mt(bt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)})}Dy(vy);zy(jp);Gy();if(__INTLIFY_PROD_DEVTOOLS__){const e=Oa();e.__INTLIFY__=!0,Ty(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Cs(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Ma(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function h2(e){return y2(e)||g2(e)||Ma(e)||m2()}function m2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function g2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function y2(e){if(Array.isArray(e))return bl(e)}function ni(e){"@babel/helpers - typeof";return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ni(e)}function Ts(e,t){return x2(e)||b2(e,t)||Ma(e,t)||v2()}function v2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ma(e,t){if(e){if(typeof e=="string")return bl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bl(e,t)}}function bl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&arguments[1]!==void 0?arguments[1]:{};t&&Object.entries(n).forEach(function(r){var i=Ts(r,2),o=i[0],s=i[1];return t.style[o]=s})},find:function(t,n){return this.isElement(t)?t.querySelectorAll(n):[]},findSingle:function(t,n){return this.isElement(t)?t.querySelector(n):null},createElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(t){var r=document.createElement(t);this.setAttributes(r,n);for(var i=arguments.length,o=new Array(i>2?i-2:0),s=2;s1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2?arguments[2]:void 0;this.isElement(t)&&r!==null&&r!==void 0&&t.setAttribute(n,r)},setAttributes:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.isElement(t)){var i=function o(s,l){var a,c,u=t!=null&&(a=t.$attrs)!==null&&a!==void 0&&a[s]?[t==null||(c=t.$attrs)===null||c===void 0?void 0:c[s]]:[];return[l].flat().reduce(function(f,d){if(d!=null){var p=ni(d);if(p==="string"||p==="number")f.push(d);else if(p==="object"){var h=Array.isArray(d)?o(s,d):Object.entries(d).map(function(m){var v=Ts(m,2),y=v[0],b=v[1];return s==="style"&&(b||b===0)?"".concat(y.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),":").concat(b):b?y:void 0});f=h.length?f.concat(h.filter(function(m){return!!m})):f}}return f},u)};Object.entries(r).forEach(function(o){var s=Ts(o,2),l=s[0],a=s[1];if(a!=null){var c=l.match(/^on(.+)/);c?t.addEventListener(c[1].toLowerCase(),a):l==="p-bind"?n.setAttributes(t,a):(a=l==="class"?h2(new Set(i("class",a))).join(" ").trim():l==="style"?i("style",a).join(";").trim():a,(t.$attrs=t.$attrs||{})&&(t.$attrs[l]=a),t.setAttribute(l,a))}})}},getAttribute:function(t,n){if(this.isElement(t)){var r=t.getAttribute(n);return isNaN(r)?r==="true"||r==="false"?r==="true":r:+r}},isAttributeEquals:function(t,n,r){return this.isElement(t)?this.getAttribute(t,n)===r:!1},isAttributeNotEquals:function(t,n,r){return!this.isAttributeEquals(t,n,r)},getHeight:function(t){if(t){var n=t.offsetHeight,r=getComputedStyle(t);return n-=parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),n}return 0},getWidth:function(t){if(t){var n=t.offsetWidth,r=getComputedStyle(t);return n-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight)+parseFloat(r.borderLeftWidth)+parseFloat(r.borderRightWidth),n}return 0},absolutePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=r.height,o=r.width,s=n.offsetHeight,l=n.offsetWidth,a=n.getBoundingClientRect(),c=this.getWindowScrollTop(),u=this.getWindowScrollLeft(),f=this.getViewport(),d,p;a.top+s+i>f.height?(d=a.top+c-i,t.style.transformOrigin="bottom",d<0&&(d=c)):(d=s+a.top+c,t.style.transformOrigin="top"),a.left+o>f.width?p=Math.max(0,a.left+u+l-o):p=a.left+u,t.style.top=d+"px",t.style.left=p+"px"}},relativePosition:function(t,n){if(t){var r=t.offsetParent?{width:t.offsetWidth,height:t.offsetHeight}:this.getHiddenElementDimensions(t),i=n.offsetHeight,o=n.getBoundingClientRect(),s=this.getViewport(),l,a;o.top+i+r.height>s.height?(l=-1*r.height,t.style.transformOrigin="bottom",o.top+l<0&&(l=-1*o.top)):(l=i,t.style.transformOrigin="top"),r.width>s.width?a=o.left*-1:o.left+r.width>s.width?a=(o.left+r.width-s.width)*-1:a=0,t.style.top=l+"px",t.style.left=a+"px"}},nestedPosition:function(t,n){if(t){var r=t.parentElement,i=this.getOffset(r),o=this.getViewport(),s=t.offsetParent?t.offsetWidth:this.getHiddenElementOuterWidth(t),l=this.getOuterWidth(r.children[0]),a;parseInt(i.left,10)+l+s>o.width-this.calculateScrollbarWidth()?parseInt(i.left,10)1&&arguments[1]!==void 0?arguments[1]:[];return t.parentNode===null?n:this.getParents(t.parentNode,n.concat([t.parentNode]))},getScrollableParents:function(t){var n=[];if(t){var r=this.getParents(t),i=/(auto|scroll)/,o=function(v){try{var y=window.getComputedStyle(v,null);return i.test(y.getPropertyValue("overflow"))||i.test(y.getPropertyValue("overflowX"))||i.test(y.getPropertyValue("overflowY"))}catch{return!1}},s=Cs(r),l;try{for(s.s();!(l=s.n()).done;){var a=l.value,c=a.nodeType===1&&a.dataset.scrollselectors;if(c){var u=c.split(","),f=Cs(u),d;try{for(f.s();!(d=f.n()).done;){var p=d.value,h=this.findSingle(a,p);h&&o(h)&&n.push(h)}}catch(m){f.e(m)}finally{f.f()}}a.nodeType!==9&&o(a)&&n.push(a)}}catch(m){s.e(m)}finally{s.f()}}return n},getHiddenElementOuterHeight:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetHeight;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementOuterWidth:function(t){if(t){t.style.visibility="hidden",t.style.display="block";var n=t.offsetWidth;return t.style.display="none",t.style.visibility="visible",n}return 0},getHiddenElementDimensions:function(t){if(t){var n={};return t.style.visibility="hidden",t.style.display="block",n.width=t.offsetWidth,n.height=t.offsetHeight,t.style.display="none",t.style.visibility="visible",n}return 0},fadeIn:function(t,n){if(t){t.style.opacity=0;var r=+new Date,i=0,o=function s(){i=+t.style.opacity+(new Date().getTime()-r)/n,t.style.opacity=i,r=+new Date,+i<1&&(window.requestAnimationFrame&&requestAnimationFrame(s)||setTimeout(s,16))};o()}},fadeOut:function(t,n){if(t)var r=1,i=50,o=n,s=i/o,l=setInterval(function(){r-=s,r<=0&&(r=0,clearInterval(l)),t.style.opacity=r},i)},getUserAgent:function(){return navigator.userAgent},appendChild:function(t,n){if(this.isElement(n))n.appendChild(t);else if(n.el&&n.elElement)n.elElement.appendChild(t);else throw new Error("Cannot append "+n+" to "+t)},isElement:function(t){return(typeof HTMLElement>"u"?"undefined":ni(HTMLElement))==="object"?t instanceof HTMLElement:t&&ni(t)==="object"&&t!==null&&t.nodeType===1&&typeof t.nodeName=="string"},scrollInView:function(t,n){var r=getComputedStyle(t).getPropertyValue("borderTopWidth"),i=r?parseFloat(r):0,o=getComputedStyle(t).getPropertyValue("paddingTop"),s=o?parseFloat(o):0,l=t.getBoundingClientRect(),a=n.getBoundingClientRect(),c=a.top+document.body.scrollTop-(l.top+document.body.scrollTop)-i-s,u=t.scrollTop,f=t.clientHeight,d=this.getOuterHeight(n);c<0?t.scrollTop=u+c:c+d>f&&(t.scrollTop=u+c-f+d)},clearSelection:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch{}},getSelection:function(){return window.getSelection?window.getSelection().toString():document.getSelection?document.getSelection().toString():document.selection?document.selection.createRange().text:null},calculateScrollbarWidth:function(){if(this.calculatedScrollbarWidth!=null)return this.calculatedScrollbarWidth;var t=document.createElement("div");this.addStyles(t,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(t);var n=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),this.calculatedScrollbarWidth=n,n},calculateBodyScrollbarWidth:function(){return window.innerWidth-document.documentElement.offsetWidth},getBrowser:function(){if(!this.browser){var t=this.resolveUserAgent();this.browser={},t.browser&&(this.browser[t.browser]=!0,this.browser.version=t.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser},resolveUserAgent:function(){var t=navigator.userAgent.toLowerCase(),n=/(chrome)[ ]([\w.]+)/.exec(t)||/(webkit)[ ]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||t.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[];return{browser:n[1]||"",version:n[2]||"0"}},isVisible:function(t){return t&&t.offsetParent!=null},invokeElementMethod:function(t,n,r){t[n].apply(t,r)},isExist:function(t){return!!(t!==null&&typeof t<"u"&&t.nodeName&&t.parentNode)},isClient:function(){return!!(typeof window<"u"&&window.document&&window.document.createElement)},focus:function(t,n){t&&document.activeElement!==t&&t.focus(n)},isFocusableElement:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return this.isElement(t)?t.matches('button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'.concat(n,`, @@ -41,7 +41,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E2(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,l=[],a=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);a=!0);}catch(u){c=!0,i=u}finally{try{if(!a&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return l}}function k2(e){if(Array.isArray(e))return e}function Nu(e){return j2(e)||A2(e)||ja(e)||M2()}function M2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function A2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function j2(e){if(Array.isArray(e))return xl(e)}function Es(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ja(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function ja(e,t){if(e){if(typeof e=="string")return xl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xl(e,t)}}function xl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?n-1:0),i=1;i-1){i.push(l);break}}}catch(f){a.e(f)}finally{a.f()}}}catch(f){o.e(f)}finally{o.f()}}return i},reorderArray:function(t,n,r){t&&n!==r&&(r>=t.length&&(r%=t.length,n%=t.length),t.splice(r,0,t.splice(n,1)[0]))},findIndexInList:function(t,n){var r=-1;if(n){for(var i=0;i0){for(var o=!1,s=0;sn){r.splice(s,0,t),o=!0;break}}o||r.push(t)}else r.push(t)},removeAccents:function(t){return t&&t.search(/[\xC0-\xFF]/g)>-1&&(t=t.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),t},getVNodeProp:function(t,n){var r=t.props;if(r){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),o=Object.prototype.hasOwnProperty.call(r,i)?i:n;return t.type.extends.props[n].type===Boolean&&r[o]===""?!0:r[o]}return null},toFlatCase:function(t){return this.isString(t)?t.replace(/(-|_)/g,"").toLowerCase():t},toKebabCase:function(t){return this.isString(t)?t.replace(/(_)/g,"-").replace(/[A-Z]/g,function(n,r){return r===0?n:"-"+n.toLowerCase()}).toLowerCase():t},toCapitalCase:function(t){return this.isString(t,{empty:!1})?t[0].toUpperCase()+t.slice(1):t},isEmpty:function(t){return t==null||t===""||Array.isArray(t)&&t.length===0||!(t instanceof Date)&&ri(t)==="object"&&Object.keys(t).length===0},isNotEmpty:function(t){return!this.isEmpty(t)},isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},isObject:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t instanceof Object&&t.constructor===Object&&(n||Object.keys(t).length!==0)},isDate:function(t){return t instanceof Date&&t.constructor===Date},isArray:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Array.isArray(t)&&(n||t.length!==0)},isString:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return typeof t=="string"&&(n||t!=="")},isPrintableCharacter:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return this.isNotEmpty(t)&&t.length===1&&t.match(/\S| /)},findLast:function(t,n){var r;if(this.isNotEmpty(t))try{r=t.findLast(n)}catch{r=Nu(t).reverse().find(n)}return r},findLastIndex:function(t,n){var r=-1;if(this.isNotEmpty(t))try{r=t.findLastIndex(n)}catch{r=t.lastIndexOf(Nu(t).reverse().find(n))}return r},sort:function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:1,s=this.compare(t,n,i,r),l=r;return(this.isEmpty(t)||this.isEmpty(n))&&(l=o===1?r:o),l*s},compare:function(t,n,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1,o=-1,s=this.isEmpty(t),l=this.isEmpty(n);return s&&l?o=0:s?o=i:l?o=-i:typeof t=="string"&&typeof n=="string"?o=r(t,n):o=tn?1:0,o},localeComparator:function(){return new Intl.Collator(void 0,{numeric:!0}).compare},nestedKeys:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Object.entries(n).reduce(function(i,o){var s=C2(o,2),l=s[0],a=s[1],c=r?"".concat(r,".").concat(l):l;return t.isObject(a)?i=i.concat(t.nestedKeys(a,c)):i.push(c),i},[])}},Vu=0;function Nt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"pv_id_";return Vu++,"".concat(e).concat(Vu)}function P2(e){return D2(e)||F2(e)||$2(e)||L2()}function L2(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $2(e,t){if(e){if(typeof e=="string")return wl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wl(e,t)}}function F2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D2(e){if(Array.isArray(e))return wl(e)}function wl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:999,u=i(l,a,c),f=u.value+(u.key===l?0:c)+1;return e.push({key:l,value:f}),f},n=function(l){e=e.filter(function(a){return a.value!==l})},r=function(l,a){return i(l,a).value},i=function(l,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return P2(e).reverse().find(function(u){return a?!0:u.key===l})||{key:l,value:c}},o=function(l){return l&&parseInt(l.style.zIndex,10)||0};return{get:o,set:function(l,a,c){a&&(a.style.zIndex=String(t(l,!0,c)))},clear:function(l){l&&(n(o(l)),l.style.zIndex="")},getCurrent:function(l){return r(l,!0)}}}var sn=z2();function mi(e){"@babel/helpers - typeof";return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(e)}function Hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Bu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!0;Fi()?mt(e):t?e():Ko(e)}var B2=0;function Yp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ue(!1),r=ue(e),i=ue(null),o=V.isClient()?window.document:void 0,s=t.document,l=s===void 0?o:s,a=t.immediate,c=a===void 0?!0:a,u=t.manual,f=u===void 0?!1:u,d=t.name,p=d===void 0?"style_".concat(++B2):d,h=t.id,m=h===void 0?void 0:h,v=t.media,y=v===void 0?void 0:v,b=t.nonce,_=b===void 0?void 0:b,x=t.props,S=x===void 0?{}:x,O=function(){},P=function(X){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var H=Bu(Bu({},S),N),Q=H.name||p,he=H.id||m,_e=H.nonce||_;i.value=l.querySelector('style[data-primevue-style-id="'.concat(Q,'"]'))||l.getElementById(he)||l.createElement("style"),i.value.isConnected||(r.value=X||e,V.setAttributes(i.value,{type:"text/css",id:he,media:y,nonce:_e}),l.head.appendChild(i.value),V.setAttribute(i.value,"data-primevue-style-id",p),V.setAttributes(i.value,H)),!n.value&&(O=Xe(r,function(fe){i.value.textContent=fe},{immediate:!0}),n.value=!0)}},R=function(){!l||!n.value||(O(),V.isExist(i.value)&&l.head.removeChild(i.value),n.value=!1)};return c&&!f&&H2(P),{id:m,name:p,css:r,unload:R,load:P,isLoaded:oa(n)}}function gi(e){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(e)}function U2(e,t){return Y2(e)||G2(e,t)||W2(e,t)||K2()}function K2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $2(e,t){if(e){if(typeof e=="string")return wl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wl(e,t)}}function F2(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function D2(e){if(Array.isArray(e))return wl(e)}function wl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:999,u=i(l,a,c),f=u.value+(u.key===l?0:c)+1;return e.push({key:l,value:f}),f},n=function(l){e=e.filter(function(a){return a.value!==l})},r=function(l,a){return i(l,a).value},i=function(l,a){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return P2(e).reverse().find(function(u){return a?!0:u.key===l})||{key:l,value:c}},o=function(l){return l&&parseInt(l.style.zIndex,10)||0};return{get:o,set:function(l,a,c){a&&(a.style.zIndex=String(t(l,!0,c)))},clear:function(l){l&&(n(o(l)),l.style.zIndex="")},getCurrent:function(l){return r(l,!0)}}}var sn=z2();function mi(e){"@babel/helpers - typeof";return mi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},mi(e)}function Hu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Bu(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:!0;Fi()?mt(e):t?e():Ko(e)}var B2=0;function Yp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ue(!1),r=ue(e),i=ue(null),o=V.isClient()?window.document:void 0,s=t.document,l=s===void 0?o:s,a=t.immediate,c=a===void 0?!0:a,u=t.manual,f=u===void 0?!1:u,d=t.name,p=d===void 0?"style_".concat(++B2):d,h=t.id,m=h===void 0?void 0:h,v=t.media,y=v===void 0?void 0:v,b=t.nonce,_=b===void 0?void 0:b,x=t.props,S=x===void 0?{}:x,O=function(){},P=function(X){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l){var H=Bu(Bu({},S),N),Q=H.name||p,he=H.id||m,_e=H.nonce||_;i.value=l.querySelector('style[data-primevue-style-id="'.concat(Q,'"]'))||l.getElementById(he)||l.createElement("style"),i.value.isConnected||(r.value=X||e,V.setAttributes(i.value,{type:"text/css",id:he,media:y,nonce:_e}),l.head.appendChild(i.value),V.setAttribute(i.value,"data-primevue-style-id",p),V.setAttributes(i.value,H)),!n.value&&(O=We(r,function(fe){i.value.textContent=fe},{immediate:!0}),n.value=!0)}},R=function(){!l||!n.value||(O(),V.isExist(i.value)&&l.head.removeChild(i.value),n.value=!1)};return c&&!f&&H2(P),{id:m,name:p,css:r,unload:R,load:P,isLoaded:oa(n)}}function gi(e){"@babel/helpers - typeof";return gi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gi(e)}function U2(e,t){return Y2(e)||G2(e,t)||W2(e,t)||K2()}function K2(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function W2(e,t){if(e){if(typeof e=="string")return Uu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Uu(e,t)}}function Uu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ns===n.path)},set(s){r.push(i.value[s].to)}});return(s,l)=>{const a=dt("RouterView");return E(),j("main",null,[C("div",$v,[te(ne(Zp),{activeIndex:o.value,"onUpdate:activeIndex":l[0]||(l[0]=c=>o.value=c),model:i.value},null,8,["activeIndex","model"]),C("div",Fv,[te(a)])])])}}}),Pa="https://raw.githubusercontent.com/OCR-D/quiver-back-end/main/data",ns="https://quiver-dev.sub.uni-goettingen.de/api";async function zv(){return await Qn(Pa+"/repos.json")}async function Rv(){return await Qn(Pa+"/ocrd_all_releases.json")}async function Nv(){return await Qn(Pa+"/metrics_definitions.json")}async function Vv(){return await Qn(ns+"/workflows")}async function Hv(){return await Qn(ns+"/gt")}async function Bv(e,t){let n=`${ns}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),await Qn(n)}async function Uv(e,t){let n=`${ns}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),n+="/latest",await Qn(n)}async function Qn(e){return await(await fetch(e)).json()}const gr={getProjects:zv,getWorkflows:Vv,getGroundTruth:Hv,getEvalDefinitions:Nv,getOcrdAllReleases:Rv,getRuns:Bv,getLatestRuns:Uv},sr=ue({}),Kv=(e,t)=>{const n=sr.value[e];if(n){const r=Object.keys(n);return r.find((i,o)=>{const s=o===r.length-1;return t<=n[i]||s&&t>n[i]})}return null},Wv=e=>{const t=[];e.filter(({evaluation_results:n})=>!!n).forEach(({evaluation_results:n})=>{const{document_wide:r}=n;r&&Object.keys(r).filter(i=>!Array.isArray(i)).forEach(i=>{t[i]=[...t[i]??[],r[i]]})}),Object.keys(t).forEach(n=>{const r=t[n],i=Math.min(...r),l=(Math.max(...r)-i)/3;sr.value[n]||(sr.value[n]={}),sr.value[n]["eval-positive"]=i+l,sr.value[n]["eval-neutral"]=i+2*l,sr.value[n]["eval-negative"]=i+3*l})},As=e=>Math.round(e*1e3)/1e3,qp=(e,t)=>["cer_mean","cer_median","wer","pages_per_minute","cer_standard_deviation","wall_time","cpu_time"].includes(e)?As(t):e==="cer_range"?As(t[0])+" / "+As(t[1]):t,Yt=e=>{const t=e.split("/");return t[t.length-1].split(".")[0]},Gv=e=>Array.from(e.reduce((t,n)=>(n.steps.forEach(({id:r})=>{t.add(r)}),t),new Set));var it={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function Xu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Yv(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +`,Ev={root:"p-tabmenu p-component",menu:"p-tabmenu-nav p-reset",menuitem:function(t){var n=t.instance,r=t.index,i=t.item;return["p-tabmenuitem",{"p-highlight":n.d_activeIndex===r,"p-disabled":n.disabled(i)}]},action:"p-menuitem-link",icon:"p-menuitem-icon",label:"p-menuitem-text",inkbar:"p-tabmenu-ink-bar"},kv=gt.extend({name:"tabmenu",css:Tv,classes:Ev}),Mv={name:"BaseTabMenu",extends:Xt,props:{model:{type:Array,default:null},activeIndex:{type:Number,default:0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:kv,provide:function(){return{$parentInstance:this}}},Zp={name:"TabMenu",extends:Mv,emits:["update:activeIndex","tab-change"],timeout:null,data:function(){return{d_activeIndex:this.activeIndex}},watch:{activeIndex:function(t){this.d_activeIndex=t}},mounted:function(){this.updateInkBar();var t=this.findActiveItem();t&&(t.tabIndex="0")},updated:function(){this.updateInkBar()},beforeUnmount:function(){clearTimeout(this.timeout)},methods:{getPTOptions:function(t,n,r){return this.ptm(t,{context:{item:n,index:r}})},onItemClick:function(t,n,r){if(this.disabled(n)){t.preventDefault();return}n.command&&n.command({originalEvent:t,item:n}),r!==this.d_activeIndex&&(this.d_activeIndex=r,this.$emit("update:activeIndex",this.d_activeIndex)),this.$emit("tab-change",{originalEvent:t,index:r})},onKeydownItem:function(t,n,r){switch(t.code){case"ArrowRight":{this.navigateToNextItem(t.target),t.preventDefault();break}case"ArrowLeft":{this.navigateToPrevItem(t.target),t.preventDefault();break}case"Home":{this.navigateToFirstItem(t.target),t.preventDefault();break}case"End":{this.navigateToLastItem(t.target),t.preventDefault();break}case"Space":case"Enter":{this.onItemClick(t,n,r),t.preventDefault();break}case"Tab":{this.onTabKey();break}}},navigateToNextItem:function(t){var n=this.findNextItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToPrevItem:function(t){var n=this.findPrevItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToFirstItem:function(t){var n=this.findFirstItem(t);n&&this.setFocusToMenuitem(t,n)},navigateToLastItem:function(t){var n=this.findLastItem(t);n&&this.setFocusToMenuitem(t,n)},findNextItem:function(t){var n=t.parentElement.nextElementSibling;return n?V.getAttribute(n,"data-p-disabled")===!0?this.findNextItem(n.children[0]):n.children[0]:null},findPrevItem:function(t){var n=t.parentElement.previousElementSibling;return n?V.getAttribute(n,"data-p-disabled")===!0?this.findPrevItem(n.children[0]):n.children[0]:null},findFirstItem:function(){var t=V.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t.children[0]:null},findLastItem:function(){var t=V.find(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"]');return t?t[t.length-1].children[0]:null},findActiveItem:function(){var t=V.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]');return t?t.children[0]:null},setFocusToMenuitem:function(t,n){t.tabIndex="-1",n.tabIndex="0",n.focus()},onTabKey:function(){var t=V.findSingle(this.$refs.nav,'[data-pc-section="menuitem"][data-p-disabled="false"][data-p-highlight="true"]'),n=V.findSingle(this.$refs.nav,'[data-pc-section="action"][tabindex="0"]');n!==t.children[0]&&(t&&(t.children[0].tabIndex="0"),n.tabIndex="-1")},visible:function(t){return typeof t.visible=="function"?t.visible():t.visible!==!1},disabled:function(t){return typeof t.disabled=="function"?t.disabled():t.disabled===!0},label:function(t){return typeof t.label=="function"?t.label():t.label},updateInkBar:function(){for(var t=this.$refs.nav.children,n=!1,r=0;rs===n.path)},set(s){r.push(i.value[s].to)}});return(s,l)=>{const a=dt("RouterView");return E(),j("main",null,[C("div",$v,[te(ne(Zp),{activeIndex:o.value,"onUpdate:activeIndex":l[0]||(l[0]=c=>o.value=c),model:i.value},null,8,["activeIndex","model"]),C("div",Fv,[te(a)])])])}}}),Pa="https://raw.githubusercontent.com/OCR-D/quiver-back-end/main/data",ns="https://quiver-dev.sub.uni-goettingen.de/api";async function zv(){return await Qn(Pa+"/repos.json")}async function Rv(){return await Qn(Pa+"/ocrd_all_releases.json")}async function Nv(){return await Qn(Pa+"/metrics_definitions.json")}async function Vv(){return await Qn(ns+"/workflows")}async function Hv(){return await Qn(ns+"/gt")}async function Bv(e,t){let n=`${ns}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),await Qn(n)}async function Uv(e,t){let n=`${ns}/runs`;return e&&(n+=`/${e}`),t&&(n+=`/${t}`),n+="/latest",await Qn(n)}async function Qn(e){return await(await fetch(e)).json()}const gr={getProjects:zv,getWorkflows:Vv,getGroundTruth:Hv,getEvalDefinitions:Nv,getOcrdAllReleases:Rv,getRuns:Bv,getLatestRuns:Uv},sr=ue({}),Kv=(e,t)=>{const n=sr.value[e];if(n){const r=Object.keys(n);return r.find((i,o)=>{const s=o===r.length-1;return t<=n[i]||s&&t>n[i]})}return null},Wv=e=>{const t=[];e.filter(({evaluation_results:n})=>!!n).forEach(({evaluation_results:n})=>{const{document_wide:r}=n;r&&Object.keys(r).filter(i=>!Array.isArray(i)).forEach(i=>{t[i]=[...t[i]??[],r[i]]})}),Object.keys(t).forEach(n=>{const r=t[n],i=Math.min(...r),l=(Math.max(...r)-i)/3;sr.value[n]||(sr.value[n]={}),sr.value[n]["eval-positive"]=i+l,sr.value[n]["eval-neutral"]=i+2*l,sr.value[n]["eval-negative"]=i+3*l})},As=e=>Math.round(e*1e3)/1e3,qp=(e,t)=>["cer_mean","cer_median","wer","pages_per_minute","cer_standard_deviation","wall_time","cpu_time"].includes(e)?As(t):e==="cer_range"?As(t[0])+" / "+As(t[1]):t,Yt=e=>{const t=e.split("/");return t[t.length-1].split(".")[0]},Gv=e=>Array.from(e.reduce((t,n)=>(n.steps.forEach(({id:r})=>{t.add(r)}),t),new Set));var it={STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter"};function Xu(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Yv(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function Yv(e,t){if(e){if(typeof e=="string")return Qu(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(e,t)}}function Qu(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nn.getTime():t>n},gte:function(t,n){return n==null?!0:t==null?!1:t.getTime&&n.getTime?t.getTime()>=n.getTime():t>=n},dateIs:function(t,n){return n==null?!0:t==null?!1:t.toDateString()===n.toDateString()},dateIsNot:function(t,n){return n==null?!0:t==null?!1:t.toDateString()!==n.toDateString()},dateBefore:function(t,n){return n==null?!0:t==null?!1:t.getTime()n.getTime()}},register:function(t,n){this.filters[t]=n}},Zv=` .p-icon { display: inline-block; @@ -670,7 +670,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho } } `,Ob={root:function(t){var n=t.instance,r=t.props,i=t.state;return["p-dropdown p-component p-inputwrapper",{"p-disabled":r.disabled,"p-dropdown-clearable":r.showClear&&!r.disabled,"p-focus":i.focused,"p-inputwrapper-filled":n.hasSelectedOption,"p-inputwrapper-focus":i.focused||i.overlayVisible,"p-overlay-open":i.overlayVisible}]},input:function(t){var n=t.instance,r=t.props;return["p-dropdown-label p-inputtext",{"p-placeholder":!r.editable&&n.label===r.placeholder,"p-dropdown-label-empty":!r.editable&&!n.$slots.value&&(n.label==="p-emptylabel"||n.label.length===0)}]},clearIcon:"p-dropdown-clear-icon",trigger:"p-dropdown-trigger",loadingicon:"p-dropdown-trigger-icon",dropdownIcon:"p-dropdown-trigger-icon",panel:function(t){var n=t.instance;return["p-dropdown-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},header:"p-dropdown-header",filterContainer:"p-dropdown-filter-container",filterInput:"p-dropdown-filter p-inputtext p-component",filterIcon:"p-dropdown-filter-icon",wrapper:"p-dropdown-items-wrapper",list:"p-dropdown-items",itemGroup:"p-dropdown-item-group",item:function(t){var n=t.instance,r=t.state,i=t.option,o=t.focusedOption;return["p-dropdown-item",{"p-highlight":n.isSelected(i),"p-focus":r.focusedOptionIndex===o,"p-disabled":n.isOptionDisabled(i)}]},emptyMessage:"p-dropdown-empty-message"},Ib=gt.extend({name:"dropdown",css:Sb,classes:Ob}),Cb={name:"BaseDropdown",extends:Xt,props:{modelValue:null,options:Array,optionLabel:[String,Function],optionValue:[String,Function],optionDisabled:[String,Function],optionGroupLabel:[String,Function],optionGroupChildren:[String,Function],scrollHeight:{type:String,default:"200px"},filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},editable:Boolean,placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},dataKey:null,showClear:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},panelClass:{type:[String,Object],default:null},panelStyle:{type:Object,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},clearIconProps:{type:null,default:null},appendTo:{type:String,default:"body"},loading:{type:Boolean,default:!1},clearIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},selectOnFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Ib,provide:function(){return{$parentInstance:this}}};function wi(e){"@babel/helpers - typeof";return wi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wi(e)}function Tb(e){return Ab(e)||Mb(e)||kb(e)||Eb()}function Eb(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kb(e,t){if(e){if(typeof e=="string")return Il(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Il(e,t)}}function Mb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ab(e){if(Array.isArray(e))return Il(e)}function Il(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:!0,i=this.getOptionValue(n);this.updateModel(t,i),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){cr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onDeleteKey:function(t){this.showClear&&(this.updateModel(t,null),t.preventDefault())},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex=-1):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget,i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):this.onArrowDownKey(t),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(V.focus(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){sn.set("overlay",t,this.$primevue.config.zIndex.overlay),V.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&V.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){sn.clear(t)},alignOverlay:function(){this.appendTo==="self"?V.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=V.getOuterWidth(this.$el)+"px",V.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Aa(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!V.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},hasFocusableElements:function(){return V.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return this.isValidOption(t)&&U.equals(this.modelValue,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var i=-1,o=!1;return this.focusedOptionIndex!==-1?(i=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}),i=i===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}):i+this.focusedOptionIndex):i=this.visibleOptions.findIndex(function(s){return r.isOptionMatched(s)}),i!==-1&&(o=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),o},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=n!==-1?"".concat(this.id,"_").concat(n):this.focusedOptionId,i=V.findSingle(this.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"}):this.virtualScrollerDisabled||setTimeout(function(){t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)},0)},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(rf(rf({},s),{},eh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",Tb(a))))}),this.flatOptions(o)}return r}return n},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.modelValue||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Xn},components:{VirtualScroller:$a,Portal:is,TimesIcon:rs,ChevronDownIcon:La,SpinnerIcon:Di,FilterIcon:Qp}};function _i(e){"@babel/helpers - typeof";return _i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_i(e)}function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ut(e){for(var t=1;t{const r=Yt(n.gt_workspace.id)===e,i=Yt(n.ocr_workflow.id)===t;return r&&(t?i:!0)})},getLatestRuns(){const e=Object.keys(this.runs.reduce((t,n)=>(t[sf(n.metadata.timestamp)]=null,t),{}));return this.runs.filter(({metadata:t})=>sf(t.timestamp)===e[e.length-1])},getGtById(e){return this.gt.find(t=>t.id===e)??null},getWorkflowById(e){return this.workflows.find(t=>t.id===e)??null}}),kt=un({gt:[],gtTimeline:[],metric:[],workflow:[]}),Da=e=>(ua("data-v-beb52bf8"),e=e(),fa(),e),Kb={class:"flex items-center positive"},Wb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Gb={class:"flex items-center neutral"},Yb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Zb={class:"flex items-center negative"},qb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Xb=rt({__name:"TrendLegend",props:{showTextColors:{type:Boolean,default:!0}},setup(e){return(t,n)=>(E(),j("div",{class:Pe(["flex space-x-3 text-sm text-gray-600",{"text-colors":t.showTextColors}])},[C("div",Kb,[Wb,C("span",null,Y(t.$t("better")),1)]),C("div",Gb,[Yb,C("span",null,Y(t.$t("equal")),1)]),C("div",Zb,[qb,C("span",null,Y(t.$t("worse")),1)])],2))}});const pn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},th=pn(Xb,[["__scopeId","data-v-beb52bf8"]]),Qb={key:0,class:"flex flex-col"},Jb={class:"flex items-center mb-4 ml-auto"},ex={class:"mr-2"},tx={key:1,class:"w-full border border-collapse rounded text-sm"},nx={class:"p-2 border"},rx={class:"p-2 border"},ix={class:"def-label flex items-center justify-center cursor-pointer"},ox={class:"def-tooltip"},sx={class:"flex p-2 bg-white border rounded"},lx=["href"],ax=["rowspan"],cx={class:"font-bold"},ux={class:"align-top pl-2 border"},fx={key:2,class:"mt-12 mb-6"},dx=rt({__name:"WorkflowsTable",setup(e){const{t}=xt(),n=ue({}),r=ue([]),i=ue([{value:"documents",label:t("documents")},{value:"workflows",label:t("workflows")}]),o=ue(i.value[0]),s=ue([]),l=ue([]),a=ue([]),c=ue(!1);mt(async()=>{c.value=!0,s.value=Ie.getLatestRuns(),a.value=await gr.getEvalDefinitions(),u(),f(o.value.value),c.value=!1}),Xe(()=>kt.gt,()=>{u(),f(o.value.value)}),Xe(o,()=>{f(o.value.value)});function u(){l.value=s.value.filter(({metadata:h})=>kt.gt.findIndex(({value:m})=>m===Yt(h.gt_workspace.id))>-1)}function f(h){h==="workflows"?d():h==="documents"&&p()}const d=()=>{n.value=l.value.filter(h=>!!h.metadata.ocr_workflow).reduce((h,m)=>{var _,x;const v=Yt(m.metadata.ocr_workflow.id),y=(_=Ie.getWorkflowById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(x=Ie.getGtById(Yt(m.metadata.gt_workspace.id)))==null?void 0:x.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,O)=>S.label>O.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})},p=()=>{n.value=l.value.filter(h=>!!h.metadata.gt_workspace).reduce((h,m)=>{var _,x;const v=Yt(m.metadata.gt_workspace.id),y=(_=Ie.getGtById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(x=Ie.getWorkflowById(Yt(m.metadata.ocr_workflow.id)))==null?void 0:x.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,O)=>S.label>O.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})};return(h,m)=>{const v=dt("i-icon");return c.value?(E(),j(se,{key:0},[et(" Loading... ")],64)):(E(),j(se,{key:1},[Object.keys(n.value).length>0?(E(),j("div",Qb,[C("div",Jb,[C("p",ex,Y(h.$t("group_by"))+":",1),te(ne(Fa),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=y=>o.value=y),options:i.value,optionLabel:"label",placeholder:"Choose something..",class:""},null,8,["modelValue","options"])]),te(th,{"show-text-colors":!1,class:"ml-auto mb-4"})])):ye("",!0),Object.keys(n.value).length>0?(E(),j("table",tx,[C("thead",null,[C("tr",null,[C("th",nx,Y(o.value.value==="documents"?h.$t("documents"):h.$t("workflows")),1),C("th",rx,Y(o.value.value==="documents"?h.$t("workflows"):h.$t("documents")),1),(E(!0),j(se,null,He(r.value,(y,b)=>(E(),j("th",{key:b,class:"p-2 border"},[C("span",ix,[et(Y(a.value[y]?a.value[y].label:y)+" ",1),te(v,{name:"ink-info"}),C("div",ox,[C("div",sx,[et(Y(a.value[y]?a.value[y].short_descr:h.$t("no_description"))+". ",1),a.value[y]?(E(),j("a",{key:0,href:a.value[y].url},Y(h.$t("details")),9,lx)):ye("",!0)])])])]))),128))])]),C("tbody",null,[(E(!0),j(se,null,He(Object.keys(n.value),(y,b)=>(E(),j(se,{key:b},[(E(!0),j(se,null,He(n.value[y].subjects,(_,x)=>(E(),j("tr",{key:x},[x===0?(E(),j("td",{key:0,rowspan:n.value[y].subjects.length,class:"align-top pl-2 border w-1/3"},[C("span",cx,Y(n.value[y].label),1)],8,ax)):ye("",!0),C("td",ux,Y(_.label),1),(E(!0),j(se,null,He(_.evaluations,({name:S,value:O},P)=>(E(),j("td",{key:P,class:Pe(["text-center pt-1 border",x===n.value[y].subjects.length-1?"pb-5":"pb-1"])},[C("span",{class:Pe(["metric inline-block cursor-pointer text-sm leading-none p-1 rounded-lg min-w-[48px]",ne(Kv)(S,O)])},Y(ne(qp)(S,O)),3)],2))),128))]))),128))],64))),128))])])):(E(),j("div",fx,Y(h.$t("no_documents_selected")),1))],64))}}});const px=pn(dx,[["__scopeId","data-v-119e6450"]]);var nh={name:"CheckIcon",extends:dn},hx=C("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1),mx=[hx];function gx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),mx,16)}nh.render=gx;var rh={name:"SearchIcon",extends:dn,computed:{pathId:function(){return"pv_icon_clip_".concat(Nt())}}},yx=["clipPath"],vx=C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1),bx=[vx],xx=["id"],wx=C("rect",{width:"14",height:"14",fill:"white"},null,-1),_x=[wx];function Sx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[C("g",{clipPath:"url(#".concat(o.pathId,")")},bx,8,yx),C("defs",null,[C("clipPath",{id:"".concat(o.pathId)},_x,8,xx)])],16)}rh.render=Sx;var ih={name:"TimesCircleIcon",extends:dn,computed:{pathId:function(){return"pv_icon_clip_".concat(Nt())}}},Ox=["clipPath"],Ix=C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),Cx=[Ix],Tx=["id"],Ex=C("rect",{width:"14",height:"14",fill:"white"},null,-1),kx=[Ex];function Mx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[C("g",{clipPath:"url(#".concat(o.pathId,")")},Cx,8,Ox),C("defs",null,[C("clipPath",{id:"".concat(o.pathId)},kx,8,Tx)])],16)}ih.render=Mx;var Ax=` +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kb(e,t){if(e){if(typeof e=="string")return Il(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Il(e,t)}}function Mb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ab(e){if(Array.isArray(e))return Il(e)}function Il(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:!0,i=this.getOptionValue(n);this.updateModel(t,i),r&&this.hide(!0)},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){cr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onDeleteKey:function(t){this.showClear&&(this.updateModel(t,null),t.preventDefault())},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n?(t.currentTarget.setSelectionRange(0,0),this.focusedOptionIndex=-1):(this.changeFocusedOptionIndex(t,this.findFirstOptionIndex()),!this.overlayVisible&&this.show()),t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(n){var r=t.currentTarget,i=r.value.length;r.setSelectionRange(i,i),this.focusedOptionIndex=-1}else this.changeFocusedOptionIndex(t,this.findLastOptionIndex()),!this.overlayVisible&&this.show();t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.hide()):this.onArrowDownKey(t),t.preventDefault()},onSpaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;!n&&this.onEnterKey(t)},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(V.focus(this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onBackspaceKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&!this.overlayVisible&&this.show()},onOverlayEnter:function(t){sn.set("overlay",t,this.$primevue.config.zIndex.overlay),V.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&V.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){sn.clear(t)},alignOverlay:function(){this.appendTo==="self"?V.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=V.getOuterWidth(this.$el)+"px",V.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.overlay&&!t.$el.contains(n.target)&&!t.overlay.contains(n.target)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Aa(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!V.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},hasFocusableElements:function(){return V.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){return this.isValidOption(t)&&U.equals(this.modelValue,this.getOptionValue(t),this.equalityKey)},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findFirstFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t,n){var r=this;this.searchValue=(this.searchValue||"")+n;var i=-1,o=!1;return this.focusedOptionIndex!==-1?(i=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}),i=i===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(s){return r.isOptionMatched(s)}):i+this.focusedOptionIndex):i=this.visibleOptions.findIndex(function(s){return r.isOptionMatched(s)}),i!==-1&&(o=!0),i===-1&&this.focusedOptionIndex===-1&&(i=this.findFirstFocusedOptionIndex()),i!==-1&&this.changeFocusedOptionIndex(t,i),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){r.searchValue="",r.searchTimeout=null},500),o},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView(),this.selectOnFocus&&this.onOptionSelect(t,this.visibleOptions[n],!1))},scrollInView:function(){var t=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,r=n!==-1?"".concat(this.id,"_").concat(n):this.focusedOptionId,i=V.findSingle(this.list,'li[id="'.concat(r,'"]'));i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"start"}):this.virtualScrollerDisabled||setTimeout(function(){t.virtualScroller&&t.virtualScroller.scrollToIndex(n!==-1?n:t.focusedOptionIndex)},0)},autoUpdateModel:function(){this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption&&(this.focusedOptionIndex=this.findFirstFocusedOptionIndex(),this.onOptionSelect(null,this.visibleOptions[this.focusedOptionIndex],!1))},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(rf(rf({},s),{},eh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",Tb(a))))}),this.flatOptions(o)}return r}return n},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},label:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.placeholder||"p-emptylabel"},editableInputValue:function(){var t=this.findSelectedOptionIndex();return t!==-1?this.getOptionLabel(this.visibleOptions[t]):this.modelValue||""},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}","1"):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Xn},components:{VirtualScroller:$a,Portal:is,TimesIcon:rs,ChevronDownIcon:La,SpinnerIcon:Di,FilterIcon:Qp}};function _i(e){"@babel/helpers - typeof";return _i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_i(e)}function of(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ut(e){for(var t=1;t{const r=Yt(n.gt_workspace.id)===e,i=Yt(n.ocr_workflow.id)===t;return r&&(t?i:!0)})},getLatestRuns(){const e=Object.keys(this.runs.reduce((t,n)=>(t[sf(n.metadata.timestamp)]=null,t),{}));return this.runs.filter(({metadata:t})=>sf(t.timestamp)===e[e.length-1])},getGtById(e){return this.gt.find(t=>t.id===e)??null},getWorkflowById(e){return this.workflows.find(t=>t.id===e)??null}}),vt=un({gt:[],gtTimeline:[],metric:[],workflow:[]}),Da=e=>(ua("data-v-beb52bf8"),e=e(),fa(),e),Kb={class:"flex items-center positive"},Wb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Gb={class:"flex items-center neutral"},Yb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Zb={class:"flex items-center negative"},qb=Da(()=>C("i",{class:"w-3 h-3 mr-1"},null,-1)),Xb=rt({__name:"TrendLegend",props:{showTextColors:{type:Boolean,default:!0}},setup(e){return(t,n)=>(E(),j("div",{class:Pe(["flex space-x-3 text-sm text-gray-600",{"text-colors":t.showTextColors}])},[C("div",Kb,[Wb,C("span",null,Y(t.$t("better")),1)]),C("div",Gb,[Yb,C("span",null,Y(t.$t("equal")),1)]),C("div",Zb,[qb,C("span",null,Y(t.$t("worse")),1)])],2))}});const pn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},th=pn(Xb,[["__scopeId","data-v-beb52bf8"]]),Qb={key:0,class:"flex flex-col"},Jb={class:"flex items-center mb-4 ml-auto"},ex={class:"mr-2"},tx={key:1,class:"w-full border border-collapse rounded text-sm"},nx={class:"p-2 border"},rx={class:"p-2 border"},ix={class:"def-label flex items-center justify-center cursor-pointer"},ox={class:"def-tooltip"},sx={class:"flex p-2 bg-white border rounded"},lx=["href"],ax=["rowspan"],cx={class:"font-bold"},ux={class:"align-top pl-2 border"},fx={key:2,class:"mt-12 mb-6"},dx=rt({__name:"WorkflowsTable",setup(e){const{t}=wt(),n=ue({}),r=ue([]),i=ue([{value:"documents",label:t("documents")},{value:"workflows",label:t("workflows")}]),o=ue(i.value[0]),s=ue([]),l=ue([]),a=ue([]),c=ue(!1);mt(async()=>{c.value=!0,s.value=Ie.getLatestRuns(),a.value=await gr.getEvalDefinitions(),u(),f(o.value.value),c.value=!1}),We(()=>vt.gt,()=>{u(),f(o.value.value)}),We(o,()=>{f(o.value.value)});function u(){l.value=s.value.filter(({metadata:h})=>vt.gt.findIndex(({value:m})=>m===Yt(h.gt_workspace.id))>-1)}function f(h){h==="workflows"?d():h==="documents"&&p()}const d=()=>{n.value=l.value.filter(h=>!!h.metadata.ocr_workflow).reduce((h,m)=>{var _,x;const v=Yt(m.metadata.ocr_workflow.id),y=(_=Ie.getWorkflowById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(x=Ie.getGtById(Yt(m.metadata.gt_workspace.id)))==null?void 0:x.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,O)=>S.label>O.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})},p=()=>{n.value=l.value.filter(h=>!!h.metadata.gt_workspace).reduce((h,m)=>{var _,x;const v=Yt(m.metadata.gt_workspace.id),y=(_=Ie.getGtById(v))==null?void 0:_.label;r.value=Object.keys(m.evaluation_results.document_wide);const b={label:(x=Ie.getWorkflowById(Yt(m.metadata.ocr_workflow.id)))==null?void 0:x.label,evaluations:Object.keys(m.evaluation_results.document_wide).map(S=>({name:S,value:m.evaluation_results.document_wide[S]}))};return h[v]?(h[v].subjects.push(b),h[v].subjects.sort((S,O)=>S.label>O.label?1:-1)):h[v]={label:y,subjects:[b]},h},{})};return(h,m)=>{const v=dt("i-icon");return c.value?(E(),j(se,{key:0},[et(" Loading... ")],64)):(E(),j(se,{key:1},[Object.keys(n.value).length>0?(E(),j("div",Qb,[C("div",Jb,[C("p",ex,Y(h.$t("group_by"))+":",1),te(ne(Fa),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=y=>o.value=y),options:i.value,optionLabel:"label",placeholder:"Choose something..",class:""},null,8,["modelValue","options"])]),te(th,{"show-text-colors":!1,class:"ml-auto mb-4"})])):ye("",!0),Object.keys(n.value).length>0?(E(),j("table",tx,[C("thead",null,[C("tr",null,[C("th",nx,Y(o.value.value==="documents"?h.$t("documents"):h.$t("workflows")),1),C("th",rx,Y(o.value.value==="documents"?h.$t("workflows"):h.$t("documents")),1),(E(!0),j(se,null,He(r.value,(y,b)=>(E(),j("th",{key:b,class:"p-2 border"},[C("span",ix,[et(Y(a.value[y]?a.value[y].label:y)+" ",1),te(v,{name:"ink-info"}),C("div",ox,[C("div",sx,[et(Y(a.value[y]?a.value[y].short_descr:h.$t("no_description"))+". ",1),a.value[y]?(E(),j("a",{key:0,href:a.value[y].url},Y(h.$t("details")),9,lx)):ye("",!0)])])])]))),128))])]),C("tbody",null,[(E(!0),j(se,null,He(Object.keys(n.value),(y,b)=>(E(),j(se,{key:b},[(E(!0),j(se,null,He(n.value[y].subjects,(_,x)=>(E(),j("tr",{key:x},[x===0?(E(),j("td",{key:0,rowspan:n.value[y].subjects.length,class:"align-top pl-2 border w-1/3"},[C("span",cx,Y(n.value[y].label),1)],8,ax)):ye("",!0),C("td",ux,Y(_.label),1),(E(!0),j(se,null,He(_.evaluations,({name:S,value:O},P)=>(E(),j("td",{key:P,class:Pe(["text-center pt-1 border",x===n.value[y].subjects.length-1?"pb-5":"pb-1"])},[C("span",{class:Pe(["metric inline-block cursor-pointer text-sm leading-none p-1 rounded-lg min-w-[48px]",ne(Kv)(S,O)])},Y(ne(qp)(S,O)),3)],2))),128))]))),128))],64))),128))])])):(E(),j("div",fx,Y(h.$t("no_documents_selected")),1))],64))}}});const px=pn(dx,[["__scopeId","data-v-119e6450"]]);var nh={name:"CheckIcon",extends:dn},hx=C("path",{d:"M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",fill:"currentColor"},null,-1),mx=[hx];function gx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),mx,16)}nh.render=gx;var rh={name:"SearchIcon",extends:dn,computed:{pathId:function(){return"pv_icon_clip_".concat(Nt())}}},yx=["clipPath"],vx=C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z",fill:"currentColor"},null,-1),bx=[vx],xx=["id"],wx=C("rect",{width:"14",height:"14",fill:"white"},null,-1),_x=[wx];function Sx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[C("g",{clipPath:"url(#".concat(o.pathId,")")},bx,8,yx),C("defs",null,[C("clipPath",{id:"".concat(o.pathId)},_x,8,xx)])],16)}rh.render=Sx;var ih={name:"TimesCircleIcon",extends:dn,computed:{pathId:function(){return"pv_icon_clip_".concat(Nt())}}},Ox=["clipPath"],Ix=C("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7 14C5.61553 14 4.26215 13.5895 3.11101 12.8203C1.95987 12.0511 1.06266 10.9579 0.532846 9.67879C0.00303296 8.3997 -0.13559 6.99224 0.134506 5.63437C0.404603 4.2765 1.07129 3.02922 2.05026 2.05026C3.02922 1.07129 4.2765 0.404603 5.63437 0.134506C6.99224 -0.13559 8.3997 0.00303296 9.67879 0.532846C10.9579 1.06266 12.0511 1.95987 12.8203 3.11101C13.5895 4.26215 14 5.61553 14 7C14 8.85652 13.2625 10.637 11.9497 11.9497C10.637 13.2625 8.85652 14 7 14ZM7 1.16667C5.84628 1.16667 4.71846 1.50879 3.75918 2.14976C2.79989 2.79074 2.05222 3.70178 1.61071 4.76768C1.16919 5.83358 1.05367 7.00647 1.27876 8.13803C1.50384 9.26958 2.05941 10.309 2.87521 11.1248C3.69102 11.9406 4.73042 12.4962 5.86198 12.7212C6.99353 12.9463 8.16642 12.8308 9.23232 12.3893C10.2982 11.9478 11.2093 11.2001 11.8502 10.2408C12.4912 9.28154 12.8333 8.15373 12.8333 7C12.8333 5.45291 12.2188 3.96918 11.1248 2.87521C10.0308 1.78125 8.5471 1.16667 7 1.16667ZM4.66662 9.91668C4.58998 9.91704 4.51404 9.90209 4.44325 9.87271C4.37246 9.84333 4.30826 9.8001 4.2544 9.74557C4.14516 9.6362 4.0838 9.48793 4.0838 9.33335C4.0838 9.17876 4.14516 9.0305 4.2544 8.92113L6.17553 7L4.25443 5.07891C4.15139 4.96832 4.09529 4.82207 4.09796 4.67094C4.10063 4.51982 4.16185 4.37563 4.26872 4.26876C4.3756 4.16188 4.51979 4.10066 4.67091 4.09799C4.82204 4.09532 4.96829 4.15142 5.07887 4.25446L6.99997 6.17556L8.92106 4.25446C9.03164 4.15142 9.1779 4.09532 9.32903 4.09799C9.48015 4.10066 9.62434 4.16188 9.73121 4.26876C9.83809 4.37563 9.89931 4.51982 9.90198 4.67094C9.90464 4.82207 9.84855 4.96832 9.74551 5.07891L7.82441 7L9.74554 8.92113C9.85478 9.0305 9.91614 9.17876 9.91614 9.33335C9.91614 9.48793 9.85478 9.6362 9.74554 9.74557C9.69168 9.8001 9.62748 9.84333 9.55669 9.87271C9.4859 9.90209 9.40996 9.91704 9.33332 9.91668C9.25668 9.91704 9.18073 9.90209 9.10995 9.87271C9.03916 9.84333 8.97495 9.8001 8.9211 9.74557L6.99997 7.82444L5.07884 9.74557C5.02499 9.8001 4.96078 9.84333 4.88999 9.87271C4.81921 9.90209 4.74326 9.91704 4.66662 9.91668Z",fill:"currentColor"},null,-1),Cx=[Ix],Tx=["id"],Ex=C("rect",{width:"14",height:"14",fill:"white"},null,-1),kx=[Ex];function Mx(e,t,n,r,i,o){return E(),j("svg",$({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[C("g",{clipPath:"url(#".concat(o.pathId,")")},Cx,8,Ox),C("defs",null,[C("clipPath",{id:"".concat(o.pathId)},kx,8,Tx)])],16)}ih.render=Mx;var Ax=` @layer primevue { .p-multiselect { display: inline-flex; @@ -779,9 +779,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho } } `,jx={root:function(t){var n=t.props;return{position:n.appendTo==="self"?"relative":void 0}}},Px={root:function(t){var n=t.instance,r=t.props;return["p-multiselect p-component p-inputwrapper",{"p-multiselect-chip":r.display==="chip","p-disabled":r.disabled,"p-focus":n.focused,"p-inputwrapper-filled":r.modelValue&&r.modelValue.length,"p-inputwrapper-focus":n.focused||n.overlayVisible,"p-overlay-open":n.overlayVisible}]},labelContainer:"p-multiselect-label-container",label:function(t){var n=t.instance,r=t.props;return["p-multiselect-label",{"p-placeholder":n.label===r.placeholder,"p-multiselect-label-empty":!r.placeholder&&(!r.modelValue||r.modelValue.length===0)}]},token:"p-multiselect-token",tokenLabel:"p-multiselect-token-label",removeTokenIcon:"p-multiselect-token-icon",trigger:"p-multiselect-trigger",loadingIcon:"p-multiselect-trigger-icon",dropdownIcon:"p-multiselect-trigger-icon",panel:function(t){var n=t.instance;return["p-multiselect-panel p-component",{"p-input-filled":n.$primevue.config.inputStyle==="filled","p-ripple-disabled":n.$primevue.config.ripple===!1}]},header:"p-multiselect-header",headerCheckboxContainer:function(t){var n=t.instance;return["p-checkbox p-component",{"p-checkbox-checked":n.allSelected,"p-checkbox-focused":n.headerCheckboxFocused}]},headerCheckbox:function(t){var n=t.instance;return["p-checkbox-box",{"p-highlight":n.allSelected,"p-focus":n.headerCheckboxFocused}]},headerCheckboxIcon:"p-checkbox-icon",filterContainer:"p-multiselect-filter-container",filterInput:"p-multiselect-filter p-inputtext p-component",filterIcon:"p-multiselect-filter-icon",closeButton:"p-multiselect-close p-link",closeIcon:"p-multiselect-close-icon",wrapper:"p-multiselect-items-wrapper",list:"p-multiselect-items p-component",itemGroup:"p-multiselect-item-group",item:function(t){var n=t.instance,r=t.option,i=t.index,o=t.getItemOptions;return["p-multiselect-item",{"p-highlight":n.isSelected(r),"p-focus":n.focusedOptionIndex===n.getOptionIndex(i,o),"p-disabled":n.isOptionDisabled(r)}]},checkboxContainer:"p-checkbox p-component",checkbox:function(t){var n=t.instance,r=t.option;return["p-checkbox-box",{"p-highlight":n.isSelected(r)}]},checkboxIcon:"p-checkbox-icon",emptyMessage:"p-multiselect-empty-message"},Lx=gt.extend({name:"multiselect",css:Ax,classes:Px,inlineStyles:jx}),$x={name:"BaseMultiSelect",extends:Xt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"200px"},placeholder:String,disabled:Boolean,inputId:{type:String,default:null},inputProps:{type:null,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},closeButtonProps:{type:null,default:null},dataKey:null,filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:String,default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:"{0} items selected"},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:void 0},closeIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},removeTokenIcon:{type:String,default:void 0},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},ariaLabel:{type:String,default:null},ariaLabelledby:{type:String,default:null}},style:Lx,provide:function(){return{$parentInstance:this}}};function Si(e){"@babel/helpers - typeof";return Si=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Si(e)}function lf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function af(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:-1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!(this.disabled||this.isOptionDisabled(n))){var s=this.isSelected(n),l=null;s?l=this.modelValue.filter(function(a){return!U.equals(a,r.getOptionValue(n),r.equalityKey)}):l=[].concat(cf(this.modelValue||[]),[this.getOptionValue(n)]),this.updateModel(t,l),i!==-1&&(this.focusedOptionIndex=i),o&&V.focus(this.$refs.focusInput)}},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onOptionSelectRange:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(r===-1&&(r=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(r)),r!==-1&&i!==-1){var o=Math.min(r,i),s=Math.max(r,i),l=this.visibleOptions.slice(o,s+1).filter(function(a){return n.isValidOption(a)}).map(function(a){return n.getOptionValue(a)});this.updateModel(t,l)}},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){cr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex,n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,r,this.startRangeIndex),this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(0,t.shiftKey?i:0),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findFirstOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,s,this.startRangeIndex),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(t.shiftKey?0:i,i),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findLastOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,this.startRangeIndex,s),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?this.focusedOptionIndex!==-1&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex):this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(t),t.preventDefault()},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(V.focus(t.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter:function(t){sn.set("overlay",t,this.$primevue.config.zIndex.overlay),V.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&V.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){sn.clear(t)},alignOverlay:function(){this.appendTo==="self"?V.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=V.getOuterWidth(this.$el)+"px",V.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Aa(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!V.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},getLabelByValue:function(t){var n=this,r=this.optionGroupLabel?this.flatOptions(this.options):this.options||[],i=r.find(function(o){return!n.isOptionGroup(o)&&U.equals(n.getOptionValue(o),t,n.equalityKey)});return i?this.getOptionLabel(i):null},getSelectedItemsLabel:function(){var t=/{(.*?)}/,n=this.selectedItemsLabel||this.$primevue.config.locale.selectionMessage;return t.test(n)?n.replace(n.match(t)[0],this.modelValue.length+""):n},onToggleAll:function(t){var n=this;if(this.selectAll!==null)this.$emit("selectall-change",{originalEvent:t,checked:!this.allSelected});else{var r=this.allSelected?[]:this.visibleOptions.filter(function(i){return n.isValidOption(i)}).map(function(i){return n.getOptionValue(i)});this.updateModel(t,r)}this.headerCheckboxFocused=!0},removeOption:function(t,n){var r=this,i=this.modelValue.filter(function(o){return!U.equals(o,n,r.equalityKey)});this.updateModel(t,i)},clearFilter:function(){this.filterValue=null},hasFocusableElements:function(){return V.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){var n=this,r=this.getOptionValue(t);return(this.modelValue||[]).some(function(i){return U.equals(i,r,n.equalityKey)})},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findFirstSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findLastSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?U.findLastIndex(this.visibleOptions,function(n){return t.isValidSelectedOption(n)}):-1},findNextSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t-1?r+t+1:-1},findPrevSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidSelectedOption(i)}):-1;return r>-1?r:-1},findNearestSelectedOptionIndex:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=-1;return this.hasSelectedOption&&(n?(r=this.findPrevSelectedOptionIndex(t),r=r===-1?this.findNextSelectedOptionIndex(t):r):(r=this.findNextSelectedOptionIndex(t),r=r===-1?this.findPrevSelectedOptionIndex(t):r)),r>-1?r:t},findFirstFocusedOptionIndex:function(){var t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t){var n=this;this.searchValue=(this.searchValue||"")+t.key;var r=-1;this.focusedOptionIndex!==-1?(r=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}),r=r===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}):r+this.focusedOptionIndex):r=this.visibleOptions.findIndex(function(i){return n.isOptionMatched(i)}),r===-1&&this.focusedOptionIndex===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&this.changeFocusedOptionIndex(t,r),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.searchValue="",n.searchTimeout=null},500)},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView())},scrollInView:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,n=t!==-1?"".concat(this.id,"_").concat(t):this.focusedOptionId,r=V.findSingle(this.list,'li[id="'.concat(n,'"]'));r?r.scrollIntoView&&r.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(t!==-1?t:this.focusedOptionIndex)},autoUpdateModel:function(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();var t=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[t])}},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(af(af({},s),{},oh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",cf(a))))}),this.flatOptions(o)}return r}return n},label:function(){var t;if(this.modelValue&&this.modelValue.length){if(U.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(var n=0;nthis.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected:function(){var t=this;return this.selectAll!==null?this.selectAll:U.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every(function(n){return t.isOptionGroup(n)||t.isOptionDisabled(n)||t.isSelected(n)})},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached:function(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},toggleAllAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Xn},components:{VirtualScroller:$a,Portal:is,TimesIcon:rs,SearchIcon:rh,TimesCircleIcon:ih,ChevronDownIcon:La,SpinnerIcon:Di,CheckIcon:nh}};function Oi(e){"@babel/helpers - typeof";return Oi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oi(e)}function uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function vn(e){for(var t=1;tIe.gt.map(({id:n,label:r})=>({value:n,label:r})));return mt(()=>{kt.gt=t.value}),(n,r)=>(E(),j("div",Jx,[C("span",ew,Y(n.$t("documents"))+" ("+Y(n.$t("ground_truth"))+"):",1),te(ne(ii),{"model-value":ne(kt).gt,"onUpdate:modelValue":r[0]||(r[0]=i=>ne(kt).gt=i),options:t.value,optionLabel:"label",placeholder:"Select Ground Truth","panel-class":"max-w-[500px]","max-selected-labels":1,filter:"",class:"relative flex-1"},{option:ke(({option:i})=>[C("span",tw,Y(i.label),1)]),_:1},8,["model-value","options"])]))}});var rw={root:function(t){var n=t.props;return["p-selectbutton p-buttonset p-component",{"p-disabled":n.disabled}]},button:function(t){var n=t.instance,r=t.option;return["p-button p-component",{"p-highlight":n.isSelected(r),"p-disabled":n.isOptionDisabled(r)}]},label:"p-button-label"},iw=gt.extend({name:"selectbutton",classes:rw}),ow={name:"BaseSelectButton",extends:Xt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:iw,provide:function(){return{$parentInstance:this}}};function sw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=sh(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rx(e,t){if(e){if(typeof e=="string")return Cl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cl(e,t)}}function Nx(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vx(e){if(Array.isArray(e))return Cl(e)}function Cl(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&arguments[2]!==void 0?arguments[2]:-1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(!(this.disabled||this.isOptionDisabled(n))){var s=this.isSelected(n),l=null;s?l=this.modelValue.filter(function(a){return!U.equals(a,r.getOptionValue(n),r.equalityKey)}):l=[].concat(cf(this.modelValue||[]),[this.getOptionValue(n)]),this.updateModel(t,l),i!==-1&&(this.focusedOptionIndex=i),o&&V.focus(this.$refs.focusInput)}},onOptionMouseMove:function(t,n){this.focusOnHover&&this.changeFocusedOptionIndex(t,n)},onOptionSelectRange:function(t){var n=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(r===-1&&(r=this.findNearestSelectedOptionIndex(i,!0)),i===-1&&(i=this.findNearestSelectedOptionIndex(r)),r!==-1&&i!==-1){var o=Math.min(r,i),s=Math.max(r,i),l=this.visibleOptions.slice(o,s+1).filter(function(a){return n.isValidOption(a)}).map(function(a){return n.getOptionValue(a)});this.updateModel(t,l)}},onFilterChange:function(t){var n=t.target.value;this.filterValue=n,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:t,value:n}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown:function(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(t,!0);break;case"Home":this.onHomeKey(t,!0);break;case"End":this.onEndKey(t,!0);break;case"Enter":this.onEnterKey(t);break;case"Escape":this.onEscapeKey(t);break;case"Tab":this.onTabKey(t,!0);break}},onFilterBlur:function(){this.focusedOptionIndex=-1},onFilterUpdated:function(){this.overlayVisible&&this.alignOverlay()},onOverlayClick:function(t){cr.emit("overlay-click",{originalEvent:t,target:this.$el})},onOverlayKeyDown:function(t){switch(t.code){case"Escape":this.onEscapeKey(t);break}},onArrowDownKey:function(t){var n=this.focusedOptionIndex!==-1?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,this.startRangeIndex,n),this.changeFocusedOptionIndex(t,n),!this.overlayVisible&&this.show(),t.preventDefault()},onArrowUpKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(t.altKey&&!n)this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),t.preventDefault();else{var r=this.focusedOptionIndex!==-1?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();t.shiftKey&&this.onOptionSelectRange(t,r,this.startRangeIndex),this.changeFocusedOptionIndex(t,r),!this.overlayVisible&&this.show(),t.preventDefault()}},onArrowLeftKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n&&(this.focusedOptionIndex=-1)},onHomeKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(0,t.shiftKey?i:0),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findFirstOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,s,this.startRangeIndex),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onEndKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=t.currentTarget;if(n){var i=r.value.length;r.setSelectionRange(t.shiftKey?0:i,i),this.focusedOptionIndex=-1}else{var o=t.metaKey||t.ctrlKey,s=this.findLastOptionIndex();t.shiftKey&&o&&this.onOptionSelectRange(t,this.startRangeIndex,s),this.changeFocusedOptionIndex(t,s),!this.overlayVisible&&this.show()}t.preventDefault()},onPageUpKey:function(t){this.scrollInView(0),t.preventDefault()},onPageDownKey:function(t){this.scrollInView(this.visibleOptions.length-1),t.preventDefault()},onEnterKey:function(t){this.overlayVisible?this.focusedOptionIndex!==-1&&(t.shiftKey?this.onOptionSelectRange(t,this.focusedOptionIndex):this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(t),t.preventDefault()},onEscapeKey:function(t){this.overlayVisible&&this.hide(!0),t.preventDefault()},onTabKey:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n||(this.overlayVisible&&this.hasFocusableElements()?(V.focus(t.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),t.preventDefault()):(this.focusedOptionIndex!==-1&&this.onOptionSelect(t,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey:function(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter:function(t){sn.set("overlay",t,this.$primevue.config.zIndex.overlay),V.addStyles(t,{position:"absolute",top:"0",left:"0"}),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&V.focus(this.$refs.filterInput)},onOverlayAfterEnter:function(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave:function(t){sn.clear(t)},alignOverlay:function(){this.appendTo==="self"?V.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=V.getOuterWidth(this.$el)+"px",V.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener:function(){var t=this;this.outsideClickListener||(this.outsideClickListener=function(n){t.overlayVisible&&t.isOutsideClicked(n)&&t.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var t=this;this.scrollHandler||(this.scrollHandler=new Aa(this.$refs.container,function(){t.overlayVisible&&t.hide()})),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var t=this;this.resizeListener||(this.resizeListener=function(){t.overlayVisible&&!V.isTouchDevice()&&t.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked:function(t){return!(this.$el.isSameNode(t.target)||this.$el.contains(t.target)||this.overlay&&this.overlay.contains(t.target))},getLabelByValue:function(t){var n=this,r=this.optionGroupLabel?this.flatOptions(this.options):this.options||[],i=r.find(function(o){return!n.isOptionGroup(o)&&U.equals(n.getOptionValue(o),t,n.equalityKey)});return i?this.getOptionLabel(i):null},getSelectedItemsLabel:function(){var t=/{(.*?)}/,n=this.selectedItemsLabel||this.$primevue.config.locale.selectionMessage;return t.test(n)?n.replace(n.match(t)[0],this.modelValue.length+""):n},onToggleAll:function(t){var n=this;if(this.selectAll!==null)this.$emit("selectall-change",{originalEvent:t,checked:!this.allSelected});else{var r=this.allSelected?[]:this.visibleOptions.filter(function(i){return n.isValidOption(i)}).map(function(i){return n.getOptionValue(i)});this.updateModel(t,r)}this.headerCheckboxFocused=!0},removeOption:function(t,n){var r=this,i=this.modelValue.filter(function(o){return!U.equals(o,n,r.equalityKey)});this.updateModel(t,i)},clearFilter:function(){this.filterValue=null},hasFocusableElements:function(){return V.getFocusableElements(this.overlay,':not([data-p-hidden-focusable="true"])').length>0},isOptionMatched:function(t){return this.isValidOption(t)&&this.getOptionLabel(t).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption:function(t){return U.isNotEmpty(t)&&!(this.isOptionDisabled(t)||this.isOptionGroup(t))},isValidSelectedOption:function(t){return this.isValidOption(t)&&this.isSelected(t)},isSelected:function(t){var n=this,r=this.getOptionValue(t);return(this.modelValue||[]).some(function(i){return U.equals(i,r,n.equalityKey)})},findFirstOptionIndex:function(){var t=this;return this.visibleOptions.findIndex(function(n){return t.isValidOption(n)})},findLastOptionIndex:function(){var t=this;return U.findLastIndex(this.visibleOptions,function(n){return t.isValidOption(n)})},findNextOptionIndex:function(t){var n=this,r=t-1?r+t+1:t},findPrevOptionIndex:function(t){var n=this,r=t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidOption(i)}):-1;return r>-1?r:t},findFirstSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?this.visibleOptions.findIndex(function(n){return t.isValidSelectedOption(n)}):-1},findLastSelectedOptionIndex:function(){var t=this;return this.hasSelectedOption?U.findLastIndex(this.visibleOptions,function(n){return t.isValidSelectedOption(n)}):-1},findNextSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t-1?r+t+1:-1},findPrevSelectedOptionIndex:function(t){var n=this,r=this.hasSelectedOption&&t>0?U.findLastIndex(this.visibleOptions.slice(0,t),function(i){return n.isValidSelectedOption(i)}):-1;return r>-1?r:-1},findNearestSelectedOptionIndex:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=-1;return this.hasSelectedOption&&(n?(r=this.findPrevSelectedOptionIndex(t),r=r===-1?this.findNextSelectedOptionIndex(t):r):(r=this.findNextSelectedOptionIndex(t),r=r===-1?this.findPrevSelectedOptionIndex(t):r)),r>-1?r:t},findFirstFocusedOptionIndex:function(){var t=this.findFirstSelectedOptionIndex();return t<0?this.findFirstOptionIndex():t},findLastFocusedOptionIndex:function(){var t=this.findLastSelectedOptionIndex();return t<0?this.findLastOptionIndex():t},searchOptions:function(t){var n=this;this.searchValue=(this.searchValue||"")+t.key;var r=-1;this.focusedOptionIndex!==-1?(r=this.visibleOptions.slice(this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}),r=r===-1?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex(function(i){return n.isOptionMatched(i)}):r+this.focusedOptionIndex):r=this.visibleOptions.findIndex(function(i){return n.isOptionMatched(i)}),r===-1&&this.focusedOptionIndex===-1&&(r=this.findFirstFocusedOptionIndex()),r!==-1&&this.changeFocusedOptionIndex(t,r),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(function(){n.searchValue="",n.searchTimeout=null},500)},changeFocusedOptionIndex:function(t,n){this.focusedOptionIndex!==n&&(this.focusedOptionIndex=n,this.scrollInView())},scrollInView:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:-1,n=t!==-1?"".concat(this.id,"_").concat(t):this.focusedOptionId,r=V.findSingle(this.list,'li[id="'.concat(n,'"]'));r?r.scrollIntoView&&r.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(t!==-1?t:this.focusedOptionIndex)},autoUpdateModel:function(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();var t=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[t])}},updateModel:function(t,n){this.$emit("update:modelValue",n),this.$emit("change",{originalEvent:t,value:n})},flatOptions:function(t){var n=this;return(t||[]).reduce(function(r,i,o){r.push({optionGroup:i,group:!0,index:o});var s=n.getOptionGroupChildren(i);return s&&s.forEach(function(l){return r.push(l)}),r},[])},overlayRef:function(t){this.overlay=t},listRef:function(t,n){this.list=t,n&&n(t)},virtualScrollerRef:function(t){this.virtualScroller=t}},computed:{visibleOptions:function(){var t=this,n=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){var r=Xp.filter(n,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){var i=this.options||[],o=[];return i.forEach(function(s){var l=t.getOptionGroupChildren(s),a=l.filter(function(c){return r.includes(c)});a.length>0&&o.push(af(af({},s),{},oh({},typeof t.optionGroupChildren=="string"?t.optionGroupChildren:"items",cf(a))))}),this.flatOptions(o)}return r}return n},label:function(){var t;if(this.modelValue&&this.modelValue.length){if(U.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();t="";for(var n=0;nthis.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected:function(){var t=this;return this.selectAll!==null?this.selectAll:U.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every(function(n){return t.isOptionGroup(n)||t.isOptionDisabled(n)||t.isSelected(n)})},hasSelectedOption:function(){return U.isNotEmpty(this.modelValue)},equalityKey:function(){return this.optionValue?null:this.dataKey},searchFields:function(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached:function(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText:function(){return U.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText:function(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText:function(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText:function(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText:function(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText:function(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText:function(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId:function(){return this.focusedOptionIndex!==-1?"".concat(this.id,"_").concat(this.focusedOptionIndex):null},ariaSetSize:function(){var t=this;return this.visibleOptions.filter(function(n){return!t.isOptionGroup(n)}).length},toggleAllAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled:function(){return!this.virtualScrollerOptions}},directives:{ripple:Xn},components:{VirtualScroller:$a,Portal:is,TimesIcon:rs,SearchIcon:rh,TimesCircleIcon:ih,ChevronDownIcon:La,SpinnerIcon:Di,CheckIcon:nh}};function Oi(e){"@babel/helpers - typeof";return Oi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oi(e)}function uf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function vn(e){for(var t=1;tIe.gt.map(({id:n,label:r})=>({value:n,label:r})));return mt(()=>{vt.gt=t.value}),(n,r)=>(E(),j("div",Jx,[C("span",ew,Y(n.$t("documents"))+" ("+Y(n.$t("ground_truth"))+"):",1),te(ne(ii),{"model-value":ne(vt).gt,"onUpdate:modelValue":r[0]||(r[0]=i=>ne(vt).gt=i),options:t.value,optionLabel:"label",placeholder:"Select Ground Truth","panel-class":"max-w-[500px]","max-selected-labels":1,filter:"",class:"relative flex-1"},{option:ke(({option:i})=>[C("span",tw,Y(i.label),1)]),_:1},8,["model-value","options"])]))}});var rw={root:function(t){var n=t.props;return["p-selectbutton p-buttonset p-component",{"p-disabled":n.disabled}]},button:function(t){var n=t.instance,r=t.option;return["p-button p-component",{"p-highlight":n.isSelected(r),"p-disabled":n.isOptionDisabled(r)}]},label:"p-button-label"},iw=gt.extend({name:"selectbutton",classes:rw}),ow={name:"BaseSelectButton",extends:Xt,props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,multiple:Boolean,unselectable:{type:Boolean,default:!0},allowEmpty:{type:Boolean,default:!0},disabled:Boolean,dataKey:null,ariaLabelledby:{type:String,default:null}},style:iw,provide:function(){return{$parentInstance:this}}};function sw(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=sh(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,s=!1,l;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return o=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!o&&n.return!=null&&n.return()}finally{if(s)throw l}}}}function lw(e){return uw(e)||cw(e)||sh(e)||aw()}function aw(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sh(e,t){if(e){if(typeof e=="string")return El(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return El(e,t)}}function cw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uw(e){if(Array.isArray(e))return El(e)}function El(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{const{normalize:t}=e;return t(["Projects"])},processors:e=>{const{normalize:t}=e;return t(["Processors"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},list:e=>{const{normalize:t}=e;return t(["List"])},table:e=>{const{normalize:t}=e;return t(["Table"])},sort_by:e=>{const{normalize:t}=e;return t(["Sort by"])},group_by:e=>{const{normalize:t}=e;return t(["Group by"])},documents:e=>{const{normalize:t}=e;return t(["Documents"])},no_content:e=>{const{normalize:t}=e;return t(["This view is not created yet. Please try again later. "])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["No information about Ground Truth Workspace available"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["No information about OCR Workflow available"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["No information about the document available"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unknown workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time ascending"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time descending"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER ascending"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER descending"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min ascending"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min descending"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max ascending"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max descending"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflow steps"])},external_repo_url:e=>{const{normalize:t}=e;return t(["External link to the repository"])},change:e=>{const{normalize:t}=e;return t(["Change"])},datasets_selected:e=>{const{normalize:t}=e;return t(["datasets selected"])},of:e=>{const{normalize:t}=e;return t(["of"])},select_all:e=>{const{normalize:t}=e;return t(["Select all"])},document:e=>{const{normalize:t}=e;return t(["Document"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Fastest"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unreleased changes"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["is valid"])},is_not_valid:e=>{const{normalize:t}=e;return t(["is not valid"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Dependency conflicts"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["No dependency conflicts"])},additional_info:e=>{const{normalize:t}=e;return t(["Additional Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["No repository data found."])},timeline:e=>{const{normalize:t}=e;return t(["Timeline"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Mean"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Time"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Pages per minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standard Deviation"])},date:e=>{const{normalize:t}=e;return t(["Date"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Average"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standard Deviation"])},positive:e=>{const{normalize:t}=e;return t(["positive"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negative"])},better:e=>{const{normalize:t}=e;return t(["better"])},equal:e=>{const{normalize:t}=e;return t(["equal"])},worse:e=>{const{normalize:t}=e;return t(["worse"])},percentage:e=>{const{normalize:t}=e;return t(["percentage"])},pages:e=>{const{normalize:t}=e;return t(["pages"])},seconds:e=>{const{normalize:t}=e;return t(["seconds"])},workflows_intro_text:e=>{const{normalize:t}=e;return t(["This is an OCR-D benchmarking dashboard. It gives you an overview of the various ground truth documents, with the respective workflows performed and processors used, and the resulting values for various metrics."])},workflows_intro_additional_text_timeline:e=>{const{normalize:t}=e;return t(["The timeline shows the history of the values for all OCR-D core releases."])},workflows_intro_additional_infos:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["For more information see the OCR-D website ",n(r("ocrd_link")),"."])},ocrd_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/en/"])},workflows_intro_gt_guidelines:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["The OCR-D Ground Truth Guidelines can be found under ",n(r("gt_guidelines_link")),"."])},gt_guidelines_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/en/gt-guidelines/trans/"])},no_documents_selected:e=>{const{normalize:t}=e;return t(["No documents (Ground Truth) are selected. Please select all or specific ground truths."])},error_please_try_again_later:e=>{const{normalize:t}=e;return t(["An error has occurred. Please try again later!"])},url:e=>{const{normalize:t}=e;return t(["URL"])},language:e=>{const{normalize:t,plural:n}=e;return n([t(["Language"]),t(["Languages"])])},script:e=>{const{normalize:t,plural:n}=e;return n([t(["Script"]),t(["Scripts"])])},"script-type":e=>{const{normalize:t}=e;return t(["Script-Type"])},license:e=>{const{normalize:t,plural:n}=e;return n([t(["License"]),t(["Licenses"])])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},labelling:e=>{const{normalize:t}=e;return t(["Labelling"])},no_labels_for_this_entry:e=>{const{normalize:t}=e;return t(["No labels for this entry."])},average_timeline:e=>{const{normalize:t}=e;return t(["Average Timeline"])},filter_by_date_range:e=>{const{normalize:t}=e;return t(["Filter by date range"])},filter_by_workflow:e=>{const{normalize:t}=e;return t(["Filter by workflow"])},filter_by_processor:e=>{const{normalize:t}=e;return t(["Filter by processor"])},select_a_date_range:e=>{const{normalize:t}=e;return t(["Select a date range"])},select_a_workflow:e=>{const{normalize:t}=e;return t(["Select a workflow"])},select_a_processor:e=>{const{normalize:t}=e;return t(["Select a processor"])}},qw={details:e=>{const{normalize:t}=e;return t(["Details"])},documents:e=>{const{normalize:t}=e;return t(["Dokumente"])},group_by:e=>{const{normalize:t}=e;return t(["Gruppieren nach"])},layout:e=>{const{normalize:t}=e;return t(["Layout"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},no_content:e=>{const{normalize:t}=e;return t(["Diese Ansicht befindet sich im Aufbau. Bitte schauen Sie später vorbei."])},no_description:e=>{const{normalize:t}=e;return t(["Keine Beschreibung verfügbar."])},number_of_pages:e=>{const{normalize:t}=e;return t(["Anzahl der Seiten"])},processors:e=>{const{normalize:t}=e;return t(["Prozessoren"])},projects:e=>{const{normalize:t}=e;return t(["Projekte"])},publication_century:e=>{const{normalize:t}=e;return t(["Jahrhundert"])},publication_year:e=>{const{normalize:t}=e;return t(["Erscheinungsjahr"])},sort_by:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},table:e=>{const{normalize:t}=e;return t(["Tabelle"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Ground Truth Workspace vorhanden"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["Keine Informationen zum OCR Workflow vorhanden"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Dokument vorhanden"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unbekannter Workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time aufsteigend"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time absteigend"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER aufsteigend"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER absteigend"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min aufsteigend"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min absteigend"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max aufsteigend"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max absteigend"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflowschritte"])},external_repo_url:e=>{const{normalize:t}=e;return t(["Externer Link zum Repository"])},change:e=>{const{normalize:t}=e;return t(["Ändern"])},datasets_selected:e=>{const{normalize:t}=e;return t(["Datasets ausgewählt"])},of:e=>{const{normalize:t}=e;return t(["von"])},select_all:e=>{const{normalize:t}=e;return t(["Alle auswählen"])},document:e=>{const{normalize:t}=e;return t(["Dokument"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Am schnellsten"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unveröffentliche Änderungen"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["ist gültig"])},is_not_valid:e=>{const{normalize:t}=e;return t(["ist ungültig"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Konflikte mit Abhängigkeiten"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["Keine Konflikte mit Abhängigkeiten"])},additional_info:e=>{const{normalize:t}=e;return t(["Zusätzliche Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["Keine Daten zum Repository gefunden."])},timeline:e=>{const{normalize:t}=e;return t(["Chronik"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Durchschnitt"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Zeit"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Seiten pro Minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standardabweichung"])},date:e=>{const{normalize:t}=e;return t(["Datum"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Durchschnitt"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standardabweichung"])},positive:e=>{const{normalize:t}=e;return t(["positiv"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negativ"])},better:e=>{const{normalize:t}=e;return t(["besser"])},equal:e=>{const{normalize:t}=e;return t(["gleich"])},worse:e=>{const{normalize:t}=e;return t(["schlechter"])},percentage:e=>{const{normalize:t}=e;return t(["Prozent"])},pages:e=>{const{normalize:t}=e;return t(["Seiten"])},seconds:e=>{const{normalize:t}=e;return t(["Sekunden"])},workflows_intro_text:e=>{const{normalize:t}=e;return t(["Dies ist ein OCR-D-Benchmarking-Dashboard. Es gibt Ihnen einen Überblick über die verschiedenen Ground-Truth-Dokumente mit den jeweils durchgeführten Workflows und verwendeten Prozessoren sowie den daraus resultierenden Werten für verschiedene Metriken."])},workflows_intro_additional_text_timeline:e=>{const{normalize:t}=e;return t(["Die Chronik zeigt den Verlauf der Werte für alle OCR-D-Basisversionen."])},workflows_intro_additional_infos:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Weitere Informationen finden Sie auf der OCR-D-Website ",n(r("ocrd_link")),"."])},ocrd_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/de/"])},workflows_intro_gt_guidelines:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Die OCR-D Ground Truth Richtlinien können unter ",n(r("gt_guidelines_link"))," abgerufen werden."])},gt_guidelines_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/de/gt-guidelines/trans/"])},no_documents_selected:e=>{const{normalize:t}=e;return t(["Es sind keine Dokumente (Ground Truth) ausgewählt. Bitte wählen Sie alle oder spezifische Ground Truths aus."])},error_please_try_again_later:e=>{const{normalize:t}=e;return t(["Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut!"])},url:e=>{const{normalize:t}=e;return t(["URL"])},language:e=>{const{normalize:t,plural:n}=e;return n([t(["Sprache"]),t(["Sprachen"])])},script:e=>{const{normalize:t,plural:n}=e;return n([t(["Skript"]),t(["Skripte"])])},scripttype:e=>{const{normalize:t}=e;return t(["Skript-Typ"])},license:e=>{const{normalize:t,plural:n}=e;return n([t(["Lizenz"]),t(["Lizenzen"])])},volume:e=>{const{normalize:t}=e;return t(["Umfang"])},labelling:e=>{const{normalize:t}=e;return t(["Kennzeichnung"])},no_labels_for_this_entry:e=>{const{normalize:t}=e;return t(["Keine Kennzeichnung für diesen Eintrag."])},average_timeline:e=>{const{normalize:t}=e;return t(["Chronik (Durchschnitt)"])},filter_by_date_range:e=>{const{normalize:t}=e;return t(["Nach Zeitspanne filtern"])},filter_by_workflow:e=>{const{normalize:t}=e;return t(["Nach Workflow filtern"])},filter_by_processor:e=>{const{normalize:t}=e;return t(["Nach Prozessor filtern"])},select_a_date_range:e=>{const{normalize:t}=e;return t(["Zeitraum auswählen"])},select_a_workflow:e=>{const{normalize:t}=e;return t(["Workflow auswählen"])},select_a_processor:e=>{const{normalize:t}=e;return t(["Prozessor auswählen"])}},fh=i2({locale:"en",messages:{en:Zw,de:qw}}),{t:mf}=fh.global;function dh(e,t){return` + `);this.styleElement.innerHTML=n}},destroyStyle:function(){this.styleElement&&(document.head.removeChild(this.styleElement),this.styleElement=null)},onOverlayClick:function(t){cr.emit("overlay-click",{originalEvent:t,target:this.target})}},computed:{attributeSelector:function(){return Nt()},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},directives:{focustrap:Dw,ripple:Xn},components:{Portal:is,TimesIcon:rs}};function Ci(e){"@babel/helpers - typeof";return Ci=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ci(e)}function pf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function hf(e){for(var t=1;t{const{normalize:t}=e;return t(["Projects"])},processors:e=>{const{normalize:t}=e;return t(["Processors"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},list:e=>{const{normalize:t}=e;return t(["List"])},table:e=>{const{normalize:t}=e;return t(["Table"])},sort_by:e=>{const{normalize:t}=e;return t(["Sort by"])},group_by:e=>{const{normalize:t}=e;return t(["Group by"])},documents:e=>{const{normalize:t}=e;return t(["Documents"])},no_content:e=>{const{normalize:t}=e;return t(["This view is not created yet. Please try again later. "])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["No information about Ground Truth Workspace available"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["No information about OCR Workflow available"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["No information about the document available"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unknown workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time ascending"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time descending"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER ascending"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER descending"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min ascending"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min descending"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max ascending"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max descending"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflow steps"])},external_repo_url:e=>{const{normalize:t}=e;return t(["External link to the repository"])},change:e=>{const{normalize:t}=e;return t(["Change"])},datasets_selected:e=>{const{normalize:t}=e;return t(["datasets selected"])},of:e=>{const{normalize:t}=e;return t(["of"])},select_all:e=>{const{normalize:t}=e;return t(["Select all"])},document:e=>{const{normalize:t}=e;return t(["Document"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Fastest"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unreleased changes"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["is valid"])},is_not_valid:e=>{const{normalize:t}=e;return t(["is not valid"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Dependency conflicts"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["No dependency conflicts"])},additional_info:e=>{const{normalize:t}=e;return t(["Additional Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["No repository data found."])},timeline:e=>{const{normalize:t}=e;return t(["Timeline"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Mean"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Time"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Pages per minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standard Deviation"])},date:e=>{const{normalize:t}=e;return t(["Date"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Average"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standard Deviation"])},positive:e=>{const{normalize:t}=e;return t(["positive"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negative"])},better:e=>{const{normalize:t}=e;return t(["better"])},equal:e=>{const{normalize:t}=e;return t(["equal"])},worse:e=>{const{normalize:t}=e;return t(["worse"])},percentage:e=>{const{normalize:t}=e;return t(["percentage"])},pages:e=>{const{normalize:t}=e;return t(["pages"])},seconds:e=>{const{normalize:t}=e;return t(["seconds"])},workflows_intro_text:e=>{const{normalize:t}=e;return t(["This is an OCR-D benchmarking dashboard. It gives you an overview of the various ground truth documents, with the respective workflows performed and processors used, and the resulting values for various metrics."])},workflows_intro_additional_text_timeline:e=>{const{normalize:t}=e;return t(["The timeline shows the history of the values for all OCR-D core releases."])},workflows_intro_additional_infos:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["For more information see the OCR-D website ",n(r("ocrd_link")),"."])},ocrd_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/en/"])},workflows_intro_gt_guidelines:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["The OCR-D Ground Truth Guidelines can be found under ",n(r("gt_guidelines_link")),"."])},gt_guidelines_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/en/gt-guidelines/trans/"])},no_documents_selected:e=>{const{normalize:t}=e;return t(["No documents (Ground Truth) are selected. Please select all or specific ground truths."])},error_please_try_again_later:e=>{const{normalize:t}=e;return t(["An error has occurred. Please try again later!"])},url:e=>{const{normalize:t}=e;return t(["URL"])},language:e=>{const{normalize:t,plural:n}=e;return n([t(["Language"]),t(["Languages"])])},script:e=>{const{normalize:t,plural:n}=e;return n([t(["Script"]),t(["Scripts"])])},"script-type":e=>{const{normalize:t}=e;return t(["Script-Type"])},license:e=>{const{normalize:t,plural:n}=e;return n([t(["License"]),t(["Licenses"])])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},labelling:e=>{const{normalize:t}=e;return t(["Labelling"])},no_labels_for_this_entry:e=>{const{normalize:t}=e;return t(["No labels for this entry."])},average_timeline:e=>{const{normalize:t}=e;return t(["Average Timeline"])},filter_by_date_range:e=>{const{normalize:t}=e;return t(["Filter by date range"])},filter_by_workflow:e=>{const{normalize:t}=e;return t(["Filter by workflow"])},filter_by_processor:e=>{const{normalize:t}=e;return t(["Filter by processor"])},select_a_date_range:e=>{const{normalize:t}=e;return t(["Select a date range"])},select_a_workflow:e=>{const{normalize:t}=e;return t(["Select a workflow"])},select_a_processor:e=>{const{normalize:t}=e;return t(["Select a processor"])}},qw={details:e=>{const{normalize:t}=e;return t(["Details"])},documents:e=>{const{normalize:t}=e;return t(["Dokumente"])},group_by:e=>{const{normalize:t}=e;return t(["Gruppieren nach"])},layout:e=>{const{normalize:t}=e;return t(["Layout"])},list:e=>{const{normalize:t}=e;return t(["Liste"])},no_content:e=>{const{normalize:t}=e;return t(["Diese Ansicht befindet sich im Aufbau. Bitte schauen Sie später vorbei."])},no_description:e=>{const{normalize:t}=e;return t(["Keine Beschreibung verfügbar."])},number_of_pages:e=>{const{normalize:t}=e;return t(["Anzahl der Seiten"])},processors:e=>{const{normalize:t}=e;return t(["Prozessoren"])},projects:e=>{const{normalize:t}=e;return t(["Projekte"])},publication_century:e=>{const{normalize:t}=e;return t(["Jahrhundert"])},publication_year:e=>{const{normalize:t}=e;return t(["Erscheinungsjahr"])},sort_by:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},table:e=>{const{normalize:t}=e;return t(["Tabelle"])},workflows:e=>{const{normalize:t}=e;return t(["Workflows"])},no_gt_workspace:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Ground Truth Workspace vorhanden"])},no_ocr_workflow:e=>{const{normalize:t}=e;return t(["Keine Informationen zum OCR Workflow vorhanden"])},no_document_metadata:e=>{const{normalize:t}=e;return t(["Keine Informationen zum Dokument vorhanden"])},unknown_workflow:e=>{const{normalize:t}=e;return t(["Unbekannter Workflow"])},wall_time_asc:e=>{const{normalize:t}=e;return t(["Wall Time aufsteigend"])},wall_time_desc:e=>{const{normalize:t}=e;return t(["Wall Time absteigend"])},cer_asc:e=>{const{normalize:t}=e;return t(["CER aufsteigend"])},cer_desc:e=>{const{normalize:t}=e;return t(["CER absteigend"])},cer_min_asc:e=>{const{normalize:t}=e;return t(["CER Min aufsteigend"])},cer_min_desc:e=>{const{normalize:t}=e;return t(["CER Min absteigend"])},cer_max_asc:e=>{const{normalize:t}=e;return t(["CER Max aufsteigend"])},cer_max_desc:e=>{const{normalize:t}=e;return t(["CER Max absteigend"])},workflow_steps:e=>{const{normalize:t}=e;return t(["Workflowschritte"])},external_repo_url:e=>{const{normalize:t}=e;return t(["Externer Link zum Repository"])},change:e=>{const{normalize:t}=e;return t(["Ändern"])},datasets_selected:e=>{const{normalize:t}=e;return t(["Datasets ausgewählt"])},of:e=>{const{normalize:t}=e;return t(["von"])},select_all:e=>{const{normalize:t}=e;return t(["Alle auswählen"])},document:e=>{const{normalize:t}=e;return t(["Dokument"])},workflow:e=>{const{normalize:t}=e;return t(["Workflow"])},fastest:e=>{const{normalize:t}=e;return t(["Am schnellsten"])},unreleased_changes:e=>{const{normalize:t}=e;return t(["unveröffentliche Änderungen"])},version:e=>{const{normalize:t}=e;return t(["Version"])},is_valid:e=>{const{normalize:t}=e;return t(["ist gültig"])},is_not_valid:e=>{const{normalize:t}=e;return t(["ist ungültig"])},dependency_conflicts:e=>{const{normalize:t}=e;return t(["Konflikte mit Abhängigkeiten"])},no_dependency_conflicts:e=>{const{normalize:t}=e;return t(["Keine Konflikte mit Abhängigkeiten"])},additional_info:e=>{const{normalize:t}=e;return t(["Zusätzliche Info"])},error_repo_not_found:e=>{const{normalize:t}=e;return t(["Keine Daten zum Repository gefunden."])},timeline:e=>{const{normalize:t}=e;return t(["Chronik"])},cer_mean:e=>{const{normalize:t}=e;return t(["CER Durchschnitt"])},cer_median:e=>{const{normalize:t}=e;return t(["CER Median"])},wall_time:e=>{const{normalize:t}=e;return t(["Wall Time"])},cpu_time:e=>{const{normalize:t}=e;return t(["CPU Zeit"])},wer:e=>{const{normalize:t}=e;return t(["WER"])},pages_per_minute:e=>{const{normalize:t}=e;return t(["Seiten pro Minute"])},cpu_standard_deviation:e=>{const{normalize:t}=e;return t(["CPU Standardabweichung"])},date:e=>{const{normalize:t}=e;return t(["Datum"])},ground_truth:e=>{const{normalize:t}=e;return t(["Ground Truth"])},average:e=>{const{normalize:t}=e;return t(["Durchschnitt"])},cer_standard_deviation:e=>{const{normalize:t}=e;return t(["CER Standardabweichung"])},positive:e=>{const{normalize:t}=e;return t(["positiv"])},neutral:e=>{const{normalize:t}=e;return t(["neutral"])},negative:e=>{const{normalize:t}=e;return t(["negativ"])},better:e=>{const{normalize:t}=e;return t(["besser"])},equal:e=>{const{normalize:t}=e;return t(["gleich"])},worse:e=>{const{normalize:t}=e;return t(["schlechter"])},percentage:e=>{const{normalize:t}=e;return t(["Prozent"])},pages:e=>{const{normalize:t}=e;return t(["Seiten"])},seconds:e=>{const{normalize:t}=e;return t(["Sekunden"])},workflows_intro_text:e=>{const{normalize:t}=e;return t(["Dies ist ein OCR-D-Benchmarking-Dashboard. Es gibt Ihnen einen Überblick über die verschiedenen Ground-Truth-Dokumente mit den jeweils durchgeführten Workflows und verwendeten Prozessoren sowie den daraus resultierenden Werten für verschiedene Metriken."])},workflows_intro_additional_text_timeline:e=>{const{normalize:t}=e;return t(["Die Chronik zeigt den Verlauf der Werte für alle OCR-D-Basisversionen."])},workflows_intro_additional_infos:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Weitere Informationen finden Sie auf der OCR-D-Website ",n(r("ocrd_link")),"."])},ocrd_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/de/"])},workflows_intro_gt_guidelines:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Die OCR-D Ground Truth Richtlinien können unter ",n(r("gt_guidelines_link"))," abgerufen werden."])},gt_guidelines_link:e=>{const{normalize:t}=e;return t(["https://ocr-d.de/de/gt-guidelines/trans/"])},no_documents_selected:e=>{const{normalize:t}=e;return t(["Es sind keine Dokumente (Ground Truth) ausgewählt. Bitte wählen Sie alle oder spezifische Ground Truths aus."])},error_please_try_again_later:e=>{const{normalize:t}=e;return t(["Es ist ein Fehler aufgetreten. Bitte versuchen Sie es später erneut!"])},url:e=>{const{normalize:t}=e;return t(["URL"])},language:e=>{const{normalize:t,plural:n}=e;return n([t(["Sprache"]),t(["Sprachen"])])},script:e=>{const{normalize:t,plural:n}=e;return n([t(["Skript"]),t(["Skripte"])])},scripttype:e=>{const{normalize:t}=e;return t(["Skript-Typ"])},license:e=>{const{normalize:t,plural:n}=e;return n([t(["Lizenz"]),t(["Lizenzen"])])},volume:e=>{const{normalize:t}=e;return t(["Umfang"])},labelling:e=>{const{normalize:t}=e;return t(["Kennzeichnung"])},no_labels_for_this_entry:e=>{const{normalize:t}=e;return t(["Keine Kennzeichnung für diesen Eintrag."])},average_timeline:e=>{const{normalize:t}=e;return t(["Chronik (Durchschnitt)"])},filter_by_date_range:e=>{const{normalize:t}=e;return t(["Nach Zeitspanne filtern"])},filter_by_workflow:e=>{const{normalize:t}=e;return t(["Nach Workflow filtern"])},filter_by_processor:e=>{const{normalize:t}=e;return t(["Nach Prozessor filtern"])},select_a_date_range:e=>{const{normalize:t}=e;return t(["Zeitraum auswählen"])},select_a_workflow:e=>{const{normalize:t}=e;return t(["Workflow auswählen"])},select_a_processor:e=>{const{normalize:t}=e;return t(["Prozessor auswählen"])}},fh=i2({locale:"en",messages:{en:Zw,de:qw}}),{t:mf}=fh.global;function dh(e,t){return`
${mf("date")}: ${e.date.getDate()}.${e.date.getMonth()+1}.${e.date.getFullYear()}
${mf(t)}: ${qp(t,e.value)}
- `}function io(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function Xw(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function za(e){let t,n,r;e.length!==2?(t=io,n=(l,a)=>io(e(l),a),r=(l,a)=>e(l)-a):(t=e===io||e===Xw?e:Qw,n=e,r=e);function i(l,a,c=0,u=l.length){if(c>>1;n(l[f],a)<0?c=f+1:u=f}while(c>>1;n(l[f],a)<=0?c=f+1:u=f}while(cc&&r(l[f-1],a)>-r(l[f],a)?f-1:f}return{left:i,center:s,right:o}}function Qw(){return 0}function Jw(e){return e===null?NaN:+e}const e_=za(io),t_=e_.right;za(Jw).center;const n_=t_,r_=Math.sqrt(50),i_=Math.sqrt(10),o_=Math.sqrt(2);function xo(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=r_?10:o>=i_?5:o>=o_?2:1;let l,a,c;return i<0?(c=Math.pow(10,-i)/s,l=Math.round(e*c),a=Math.round(t*c),l/ct&&--a,c=-c):(c=Math.pow(10,i)*s,l=Math.round(e/c),a=Math.round(t/c),l*ct&&--a),a0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,a=new Array(l);if(r)if(s<0)for(let c=0;c+e(t)}function f_(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function d_(){return!this.__axis}function ph(e,t){var n=[],r=null,i=null,o=6,s=6,l=3,a=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=e===js||e===Kr?-1:1,u=e===Kr||e===Ps?"x":"y",f=e===js||e===Al?a_:c_;function d(p){var h=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):l_),v=Math.max(o,0)+l,y=t.range(),b=+y[0]+a,_=+y[y.length-1]+a,x=(t.bandwidth?f_:u_)(t.copy(),a),S=p.selection?p.selection():p,O=S.selectAll(".domain").data([null]),P=S.selectAll(".tick").data(h,t).order(),R=P.exit(),q=P.enter().append("g").attr("class","tick"),X=P.select("line"),N=P.select("text");O=O.merge(O.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),P=P.merge(q),X=X.merge(q.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),N=N.merge(q.append("text").attr("fill","currentColor").attr(u,c*v).attr("dy",e===js?"0em":e===Al?"0.71em":"0.32em")),p!==S&&(O=O.transition(p),P=P.transition(p),X=X.transition(p),N=N.transition(p),R=R.transition(p).attr("opacity",gf).attr("transform",function(H){return isFinite(H=x(H))?f(H+a):this.getAttribute("transform")}),q.attr("opacity",gf).attr("transform",function(H){var Q=this.parentNode.__axis;return f((Q&&isFinite(Q=Q(H))?Q:x(H))+a)})),R.remove(),O.attr("d",e===Kr||e===Ps?s?"M"+c*s+","+b+"H"+a+"V"+_+"H"+c*s:"M"+a+","+b+"V"+_:s?"M"+b+","+c*s+"V"+a+"H"+_+"V"+c*s:"M"+b+","+a+"H"+_),P.attr("opacity",1).attr("transform",function(H){return f(x(H)+a)}),X.attr(u+"2",c*o),N.attr(u,c*v).text(m),S.filter(d_).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Ps?"start":e===Kr?"end":"middle"),S.each(function(){this.__axis=x})}return d.scale=function(p){return arguments.length?(t=p,d):t},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),d):n.slice()},d.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),d):r&&r.slice()},d.tickFormat=function(p){return arguments.length?(i=p,d):i},d.tickSize=function(p){return arguments.length?(o=s=+p,d):o},d.tickSizeInner=function(p){return arguments.length?(o=+p,d):o},d.tickSizeOuter=function(p){return arguments.length?(s=+p,d):s},d.tickPadding=function(p){return arguments.length?(l=+p,d):l},d.offset=function(p){return arguments.length?(a=+p,d):a},d}function hh(e){return ph(Al,e)}function mh(e){return ph(Kr,e)}var p_={value:()=>{}};function gh(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}oo.prototype=gh.prototype={constructor:oo,on:function(e,t){var n=this._,r=h_(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),vf.hasOwnProperty(t)?{space:vf[t],local:e}:e}function g_(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===jl&&t.documentElement.namespaceURI===jl?t.createElement(e):t.createElementNS(n,e)}}function y_(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Ra(e){var t=os(e);return(t.local?y_:g_)(t)}function v_(){}function Na(e){return e==null?v_:function(){return this.querySelector(e)}}function b_(e){typeof e!="function"&&(e=Na(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=_&&(_=b+1);!(S=v[_])&&++_=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function U_(e){e||(e=K_);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function W_(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function G_(){return Array.from(this)}function Y_(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?o3:typeof t=="function"?l3:s3)(e,t,n??"")):_r(this.node(),e)}function _r(e,t){return e.style.getPropertyValue(t)||wh(e).getComputedStyle(e,null).getPropertyValue(t)}function c3(e){return function(){delete this[e]}}function u3(e,t){return function(){this[e]=t}}function f3(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function d3(e,t){return arguments.length>1?this.each((t==null?c3:typeof t=="function"?f3:u3)(e,t)):this.node()[e]}function _h(e){return e.trim().split(/^|\s+/)}function Va(e){return e.classList||new Sh(e)}function Sh(e){this._node=e,this._names=_h(e.getAttribute("class")||"")}Sh.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Oh(e,t){for(var n=Va(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function N3(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?qi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?qi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Z3.exec(e))?new pt(t[1],t[2],t[3],1):(t=q3.exec(e))?new pt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=X3.exec(e))?qi(t[1],t[2],t[3],t[4]):(t=Q3.exec(e))?qi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=J3.exec(e))?If(t[1],t[2]/100,t[3]/100,1):(t=e4.exec(e))?If(t[1],t[2]/100,t[3]/100,t[4]):bf.hasOwnProperty(e)?_f(bf[e]):e==="transparent"?new pt(NaN,NaN,NaN,0):null}function _f(e){return new pt(e>>16&255,e>>8&255,e&255,1)}function qi(e,t,n,r){return r<=0&&(e=t=n=NaN),new pt(e,t,n,r)}function r4(e){return e instanceof Ri||(e=Gn(e)),e?(e=e.rgb(),new pt(e.r,e.g,e.b,e.opacity)):new pt}function Pl(e,t,n,r){return arguments.length===1?r4(e):new pt(e,t,n,r??1)}function pt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Ha(pt,Pl,kh(Ri,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ei:Math.pow(Ei,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new pt(Bn(this.r),Bn(this.g),Bn(this.b),So(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Sf,formatHex:Sf,formatHex8:i4,formatRgb:Of,toString:Of}));function Sf(){return`#${Rn(this.r)}${Rn(this.g)}${Rn(this.b)}`}function i4(){return`#${Rn(this.r)}${Rn(this.g)}${Rn(this.b)}${Rn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Of(){const e=So(this.opacity);return`${e===1?"rgb(":"rgba("}${Bn(this.r)}, ${Bn(this.g)}, ${Bn(this.b)}${e===1?")":`, ${e})`}`}function So(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Bn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Rn(e){return e=Bn(e),(e<16?"0":"")+e.toString(16)}function If(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ft(e,t,n,r)}function Mh(e){if(e instanceof Ft)return new Ft(e.h,e.s,e.l,e.opacity);if(e instanceof Ri||(e=Gn(e)),!e)return new Ft;if(e instanceof Ft)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,a=(o+i)/2;return l?(t===o?s=(n-r)/l+(n0&&a<1?0:s,new Ft(s,l,a,e.opacity)}function o4(e,t,n,r){return arguments.length===1?Mh(e):new Ft(e,t,n,r??1)}function Ft(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ha(Ft,o4,kh(Ri,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new Ft(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ei:Math.pow(Ei,e),new Ft(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new pt(Ls(e>=240?e-240:e+120,i,r),Ls(e,i,r),Ls(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ft(Cf(this.h),Xi(this.s),Xi(this.l),So(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=So(this.opacity);return`${e===1?"hsl(":"hsla("}${Cf(this.h)}, ${Xi(this.s)*100}%, ${Xi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Cf(e){return e=(e||0)%360,e<0?e+360:e}function Xi(e){return Math.max(0,Math.min(1,e||0))}function Ls(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Ba=e=>()=>e;function s4(e,t){return function(n){return e+n*t}}function l4(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function a4(e){return(e=+e)==1?Ah:function(t,n){return n-t?l4(t,n,e):Ba(isNaN(t)?n:t)}}function Ah(e,t){var n=t-e;return n?s4(e,n):Ba(isNaN(e)?t:e)}const Oo=function e(t){var n=a4(t);function r(i,o){var s=n((i=Pl(i)).r,(o=Pl(o)).r),l=n(i.g,o.g),a=n(i.b,o.b),c=Ah(i.opacity,o.opacity);return function(u){return i.r=s(u),i.g=l(u),i.b=a(u),i.opacity=c(u),i+""}}return r.gamma=e,r}(1);function c4(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,a.push({i:s,x:Lt(r,i)})),n=$s.lastIndex;return n180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:Lt(c,u)})):u&&f.push(i(f)+"rotate("+u+r)}function l(c,u,f,d){c!==u?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:Lt(c,u)}):u&&f.push(i(f)+"skewX("+u+r)}function a(c,u,f,d,p,h){if(c!==f||u!==d){var m=p.push(i(p)+"scale(",null,",",null,")");h.push({i:m-4,x:Lt(c,f)},{i:m-2,x:Lt(u,d)})}else(f!==1||d!==1)&&p.push(i(p)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),o(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),l(c.skewX,u.skewX,f,d),a(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(p){for(var h=-1,m=d.length,v;++h=0&&e._call.call(void 0,t),e=e._next;--Sr}function Ef(){Yn=(Co=Mi.now())+ss,Sr=Wr=0;try{_4()}finally{Sr=0,O4(),Yn=0}}function S4(){var e=Mi.now(),t=e-Co;t>$h&&(ss-=t,Co=e)}function O4(){for(var e,t=Io,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Io=n);Gr=e,Fl(r)}function Fl(e){if(!Sr){Wr&&(Wr=clearTimeout(Wr));var t=e-Yn;t>24?(e<1/0&&(Wr=setTimeout(Ef,e-Mi.now()-ss)),Dr&&(Dr=clearInterval(Dr))):(Dr||(Co=Mi.now(),Dr=setInterval(S4,$h)),Sr=1,Fh(Ef))}}function kf(e,t,n){var r=new To;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var I4=gh("start","end","cancel","interrupt"),C4=[],zh=0,Mf=1,Dl=2,so=3,Af=4,zl=5,lo=6;function ls(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;T4(e,n,{name:t,index:r,group:i,on:I4,tween:C4,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:zh})}function Wa(e,t){var n=Vt(e,t);if(n.state>zh)throw new Error("too late; already scheduled");return n}function Qt(e,t){var n=Vt(e,t);if(n.state>so)throw new Error("too late; already running");return n}function Vt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function T4(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=Dh(o,0,n.time);function o(c){n.state=Mf,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,p;if(n.state!==Mf)return a();for(u in r)if(p=r[u],p.name===n.name){if(p.state===so)return kf(s);p.state===Af?(p.state=lo,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete r[u]):+uDl&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function i6(e,t,n){var r,i,o=r6(t)?Wa:Qt;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function o6(e,t){var n=this._id;return arguments.length<2?Vt(this.node(),n).on.on(e):this.each(i6(n,e,t))}function s6(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function l6(){return this.on("end.remove",s6(this._id))}function a6(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Na(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Hh;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iLn)if(!(Math.abs(f*a-c*u)>Ln)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let p=r-s,h=i-l,m=a*a+c*c,v=p*p+h*h,y=Math.sqrt(m),b=Math.sqrt(d),_=o*Math.tan((Rl-Math.acos((m+d-v)/(2*y*b)))/2),x=_/b,S=_/y;Math.abs(x-1)>Ln&&this._append`L${t+x*u},${n+x*f}`,this._append`A${o},${o},0,0,${+(f*p>u*h)},${this._x1=t+S*a},${this._y1=n+S*c}`}}arc(t,n,r,i,o,s){if(t=+t,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),a=r*Math.sin(i),c=t+l,u=n+a,f=1^s,d=s?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Ln||Math.abs(this._y1-u)>Ln)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%Nl+Nl),d>P6?this._append`A${r},${r},0,1,${f},${t-l},${n-a}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>Ln&&this._append`A${r},${r},0,${+(d>=Rl)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function F6(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Eo(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Or(e){return e=Eo(Math.abs(e)),e?e[1]:NaN}function D6(e,t){return function(n,r){for(var i=n.length,o=[],s=0,l=e[0],a=0;i>0&&l>0&&(a+l+1>r&&(l=Math.max(1,r-a)),o.push(n.substring(i-=l,i+l)),!((a+=l+1)>r));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function z6(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var R6=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ko(e){if(!(t=R6.exec(e)))throw new Error("invalid format: "+e);var t;return new Ya({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}ko.prototype=Ya.prototype;function Ya(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Ya.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function N6(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Bh;function V6(e,t){var n=Eo(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Bh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Eo(e,Math.max(0,t+o-1))[0]}function jf(e,t){var n=Eo(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Pf={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:F6,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>jf(e*100,t),r:jf,s:V6,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lf(e){return e}var $f=Array.prototype.map,Ff=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function H6(e){var t=e.grouping===void 0||e.thousands===void 0?Lf:D6($f.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Lf:z6($f.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",a=e.nan===void 0?"NaN":e.nan+"";function c(f){f=ko(f);var d=f.fill,p=f.align,h=f.sign,m=f.symbol,v=f.zero,y=f.width,b=f.comma,_=f.precision,x=f.trim,S=f.type;S==="n"?(b=!0,S="g"):Pf[S]||(_===void 0&&(_=12),x=!0,S="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var O=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",P=m==="$"?r:/[%p]/.test(S)?s:"",R=Pf[S],q=/[defgprs%]/.test(S);_=_===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function X(N){var H=O,Q=P,he,_e,fe;if(S==="c")Q=R(N)+Q,N="";else{N=+N;var oe=N<0||1/N<0;if(N=isNaN(N)?a:R(Math.abs(N),_),x&&(N=N6(N)),oe&&+N==0&&h!=="+"&&(oe=!1),H=(oe?h==="("?h:l:h==="-"||h==="("?"":h)+H,Q=(S==="s"?Ff[8+Bh/3]:"")+Q+(oe&&h==="("?")":""),q){for(he=-1,_e=N.length;++he<_e;)if(fe=N.charCodeAt(he),48>fe||fe>57){Q=(fe===46?i+N.slice(he+1):N.slice(he))+Q,N=N.slice(0,he);break}}}b&&!v&&(N=t(N,1/0));var ce=H.length+N.length+Q.length,Se=ce>1)+H+N+Q+Se.slice(ce);break;default:N=Se+H+N+Q;break}return o(N)}return X.toString=function(){return f+""},X}function u(f,d){var p=c((f=ko(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(Or(d)/3)))*3,m=Math.pow(10,-h),v=Ff[8+h/3];return function(y){return p(m*y)+v}}return{format:c,formatPrefix:u}}var Ji,Uh,Kh;B6({thousands:",",grouping:[3],currency:["$",""]});function B6(e){return Ji=H6(e),Uh=Ji.format,Kh=Ji.formatPrefix,Ji}function U6(e){return Math.max(0,-Or(Math.abs(e)))}function K6(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Or(t)/3)))*3-Or(Math.abs(e)))}function W6(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Or(t)-Or(e))+1}function Wh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function G6(e){return function(){return e}}function Y6(e){return+e}var Df=[0,1];function ur(e){return e}function Vl(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:G6(isNaN(t)?NaN:.5)}function Z6(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function q6(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i2?X6:q6,a=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(a||(a=l(e.map(r),t,n)))(r(s(d)))}return f.invert=function(d){return s(i((c||(c=l(t,e.map(r),Lt)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,Y6),u()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),u()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=g4,u()},f.clamp=function(d){return arguments.length?(s=d?!0:ur,u()):s!==ur},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,p){return r=d,i=p,u()}}function Yh(){return Q6()(ur,ur)}function J6(e,t,n,r){var i=Ml(e,t,n),o;switch(r=ko(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=K6(i,s))&&(r.precision=o),Kh(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=W6(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=U6(i))&&(r.precision=o-(r.type==="%")*2);break}}return Uh(r)}function e5(e){var t=e.domain;return e.ticks=function(n){var r=t();return s_(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return J6(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],l=r[o],a,c,u=10;for(l0;){if(c=kl(s,l,n),c===a)return r[i]=s,r[o]=l,t(r);if(c>0)s=Math.floor(s/c)*c,l=Math.ceil(l/c)*c;else if(c<0)s=Math.ceil(s*c)/c,l=Math.floor(l*c)/c;else break;a=c}return e},e}function Za(){var e=Yh();return e.copy=function(){return Gh(e,Za())},Wh.apply(e,arguments),e5(e)}function t5(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),l=i.ceil(o);return o-s(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,l)=>{const a=[];if(o=i.ceil(o),l=l==null?1:Math.floor(l),!(o0))return a;let c;do a.push(c=new Date(+o)),t(o,l),e(o);while(cGe(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;t(s,-1),!o(s););else for(;--l>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(Fs.setTime(+o),Ds.setTime(+s),e(Fs),e(Ds),Math.floor(n(Fs,Ds))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const Mo=Ge(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Mo.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Ge(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Mo);Mo.range;const nn=1e3,It=nn*60,rn=It*60,an=rn*24,qa=an*7,zf=an*30,zs=an*365,fr=Ge(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*nn)},(e,t)=>(t-e)/nn,e=>e.getUTCSeconds());fr.range;const Xa=Ge(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*nn)},(e,t)=>{e.setTime(+e+t*It)},(e,t)=>(t-e)/It,e=>e.getMinutes());Xa.range;const n5=Ge(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*It)},(e,t)=>(t-e)/It,e=>e.getUTCMinutes());n5.range;const Qa=Ge(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*nn-e.getMinutes()*It)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getHours());Qa.range;const r5=Ge(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getUTCHours());r5.range;const Ni=Ge(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*It)/an,e=>e.getDate()-1);Ni.range;const Ja=Ge(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/an,e=>e.getUTCDate()-1);Ja.range;const i5=Ge(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/an,e=>Math.floor(e/an));i5.range;function Jn(e){return Ge(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*It)/qa)}const as=Jn(0),Ao=Jn(1),o5=Jn(2),s5=Jn(3),Ir=Jn(4),l5=Jn(5),a5=Jn(6);as.range;Ao.range;o5.range;s5.range;Ir.range;l5.range;a5.range;function er(e){return Ge(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/qa)}const Zh=er(0),jo=er(1),c5=er(2),u5=er(3),Cr=er(4),f5=er(5),d5=er(6);Zh.range;jo.range;c5.range;u5.range;Cr.range;f5.range;d5.range;const ec=Ge(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ec.range;const p5=Ge(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());p5.range;const cn=Ge(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());cn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ge(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});cn.range;const Zn=Ge(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Zn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ge(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Zn.range;function h5(e,t,n,r,i,o){const s=[[fr,1,nn],[fr,5,5*nn],[fr,15,15*nn],[fr,30,30*nn],[o,1,It],[o,5,5*It],[o,15,15*It],[o,30,30*It],[i,1,rn],[i,3,3*rn],[i,6,6*rn],[i,12,12*rn],[r,1,an],[r,2,2*an],[n,1,qa],[t,1,zf],[t,3,3*zf],[e,1,zs]];function l(c,u,f){const d=uv).right(s,d);if(p===s.length)return e.every(Ml(c/zs,u/zs,f));if(p===0)return Mo.every(Math.max(Ml(c,u,f),1));const[h,m]=s[d/s[p-1][2]53)return null;"w"in g||(g.w=1),"Z"in g?(I=Ns(zr(g.y,0,1)),A=I.getUTCDay(),I=A>4||A===0?jo.ceil(I):jo(I),I=Ja.offset(I,(g.V-1)*7),g.y=I.getUTCFullYear(),g.m=I.getUTCMonth(),g.d=I.getUTCDate()+(g.w+6)%7):(I=Rs(zr(g.y,0,1)),A=I.getDay(),I=A>4||A===0?Ao.ceil(I):Ao(I),I=Ni.offset(I,(g.V-1)*7),g.y=I.getFullYear(),g.m=I.getMonth(),g.d=I.getDate()+(g.w+6)%7)}else("W"in g||"U"in g)&&("w"in g||(g.w="u"in g?g.u%7:"W"in g?1:0),A="Z"in g?Ns(zr(g.y,0,1)).getUTCDay():Rs(zr(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(A+5)%7:g.w+g.U*7-(A+6)%7);return"Z"in g?(g.H+=g.Z/100|0,g.M+=g.Z%100,Ns(g)):Rs(g)}}function R(M,B,J,g){for(var w=0,I=B.length,A=J.length,L,z;w=A)return-1;if(L=B.charCodeAt(w++),L===37){if(L=B.charAt(w++),z=S[L in Rf?B.charAt(w++):L],!z||(g=z(M,J,g))<0)return-1}else if(L!=J.charCodeAt(g++))return-1}return g}function q(M,B,J){var g=c.exec(B.slice(J));return g?(M.p=u.get(g[0].toLowerCase()),J+g[0].length):-1}function X(M,B,J){var g=p.exec(B.slice(J));return g?(M.w=h.get(g[0].toLowerCase()),J+g[0].length):-1}function N(M,B,J){var g=f.exec(B.slice(J));return g?(M.w=d.get(g[0].toLowerCase()),J+g[0].length):-1}function H(M,B,J){var g=y.exec(B.slice(J));return g?(M.m=b.get(g[0].toLowerCase()),J+g[0].length):-1}function Q(M,B,J){var g=m.exec(B.slice(J));return g?(M.m=v.get(g[0].toLowerCase()),J+g[0].length):-1}function he(M,B,J){return R(M,t,B,J)}function _e(M,B,J){return R(M,n,B,J)}function fe(M,B,J){return R(M,r,B,J)}function oe(M){return s[M.getDay()]}function ce(M){return o[M.getDay()]}function Se(M){return a[M.getMonth()]}function st(M){return l[M.getMonth()]}function Re(M){return i[+(M.getHours()>=12)]}function $e(M){return 1+~~(M.getMonth()/3)}function ct(M){return s[M.getUTCDay()]}function Ke(M){return o[M.getUTCDay()]}function At(M){return a[M.getUTCMonth()]}function Be(M){return l[M.getUTCMonth()]}function F(M){return i[+(M.getUTCHours()>=12)]}function Z(M){return 1+~~(M.getUTCMonth()/3)}return{format:function(M){var B=O(M+="",_);return B.toString=function(){return M},B},parse:function(M){var B=P(M+="",!1);return B.toString=function(){return M},B},utcFormat:function(M){var B=O(M+="",x);return B.toString=function(){return M},B},utcParse:function(M){var B=P(M+="",!0);return B.toString=function(){return M},B}}}var Rf={"-":"",_:" ",0:"0"},Qe=/^\s*\d+/,v5=/^%/,b5=/[\\^$*+?|[\]().{}]/g;function we(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function w5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function _5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function S5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function O5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function I5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Nf(e,t,n){var r=Qe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Vf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function C5(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function T5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function E5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Hf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function k5(e,t,n){var r=Qe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Bf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function M5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function A5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function j5(e,t,n){var r=Qe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function P5(e,t,n){var r=Qe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function L5(e,t,n){var r=v5.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function $5(e,t,n){var r=Qe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function F5(e,t,n){var r=Qe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Uf(e,t){return we(e.getDate(),t,2)}function D5(e,t){return we(e.getHours(),t,2)}function z5(e,t){return we(e.getHours()%12||12,t,2)}function R5(e,t){return we(1+Ni.count(cn(e),e),t,3)}function qh(e,t){return we(e.getMilliseconds(),t,3)}function N5(e,t){return qh(e,t)+"000"}function V5(e,t){return we(e.getMonth()+1,t,2)}function H5(e,t){return we(e.getMinutes(),t,2)}function B5(e,t){return we(e.getSeconds(),t,2)}function U5(e){var t=e.getDay();return t===0?7:t}function K5(e,t){return we(as.count(cn(e)-1,e),t,2)}function Xh(e){var t=e.getDay();return t>=4||t===0?Ir(e):Ir.ceil(e)}function W5(e,t){return e=Xh(e),we(Ir.count(cn(e),e)+(cn(e).getDay()===4),t,2)}function G5(e){return e.getDay()}function Y5(e,t){return we(Ao.count(cn(e)-1,e),t,2)}function Z5(e,t){return we(e.getFullYear()%100,t,2)}function q5(e,t){return e=Xh(e),we(e.getFullYear()%100,t,2)}function X5(e,t){return we(e.getFullYear()%1e4,t,4)}function Q5(e,t){var n=e.getDay();return e=n>=4||n===0?Ir(e):Ir.ceil(e),we(e.getFullYear()%1e4,t,4)}function J5(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+we(t/60|0,"0",2)+we(t%60,"0",2)}function Kf(e,t){return we(e.getUTCDate(),t,2)}function e8(e,t){return we(e.getUTCHours(),t,2)}function t8(e,t){return we(e.getUTCHours()%12||12,t,2)}function n8(e,t){return we(1+Ja.count(Zn(e),e),t,3)}function Qh(e,t){return we(e.getUTCMilliseconds(),t,3)}function r8(e,t){return Qh(e,t)+"000"}function i8(e,t){return we(e.getUTCMonth()+1,t,2)}function o8(e,t){return we(e.getUTCMinutes(),t,2)}function s8(e,t){return we(e.getUTCSeconds(),t,2)}function l8(e){var t=e.getUTCDay();return t===0?7:t}function a8(e,t){return we(Zh.count(Zn(e)-1,e),t,2)}function Jh(e){var t=e.getUTCDay();return t>=4||t===0?Cr(e):Cr.ceil(e)}function c8(e,t){return e=Jh(e),we(Cr.count(Zn(e),e)+(Zn(e).getUTCDay()===4),t,2)}function u8(e){return e.getUTCDay()}function f8(e,t){return we(jo.count(Zn(e)-1,e),t,2)}function d8(e,t){return we(e.getUTCFullYear()%100,t,2)}function p8(e,t){return e=Jh(e),we(e.getUTCFullYear()%100,t,2)}function h8(e,t){return we(e.getUTCFullYear()%1e4,t,4)}function m8(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Cr(e):Cr.ceil(e),we(e.getUTCFullYear()%1e4,t,4)}function g8(){return"+0000"}function Wf(){return"%"}function Gf(e){return+e}function Yf(e){return Math.floor(+e/1e3)}var rr,e1,tc;y8({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function y8(e){return rr=y5(e),e1=rr.format,rr.parse,tc=rr.utcFormat,rr.utcParse,rr}function v8(e){return new Date(e)}function b8(e){return e instanceof Date?+e:+new Date(+e)}function t1(e,t,n,r,i,o,s,l,a,c){var u=Yh(),f=u.invert,d=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),b=c("%b %d"),_=c("%B"),x=c("%Y");function S(O){return(a(O)=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new $6(t)}function w8(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function r1(e){this._context=e}r1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function _8(e){return new r1(e)}function S8(e){return e[0]}function O8(e){return e[1]}function Po(e,t){var n=ir(!0),r=null,i=_8,o=null,s=x8(l);e=typeof e=="function"?e:e===void 0?S8:ir(e),t=typeof t=="function"?t:t===void 0?O8:ir(t);function l(a){var c,u=(a=w8(a)).length,f,d=!1,p;for(r==null&&(o=i(p=s())),c=0;c<=u;++c)!(c""}=n;e.on("mouseover",function(i,o){const s=r(o),{top:l,left:a}=this.getBoundingClientRect();return t.html("
"+s+"
"),t.style("visibility","visible").style("top",l-60+"px").style("left",a+"px")}).on("mouseout",function(){return t.style("visibility","hidden")})}var I8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s1={},l1={},nc={exports:{}},Ae=String,a1=function(){return{isColorSupported:!1,reset:Ae,bold:Ae,dim:Ae,italic:Ae,underline:Ae,inverse:Ae,hidden:Ae,strikethrough:Ae,black:Ae,red:Ae,green:Ae,yellow:Ae,blue:Ae,magenta:Ae,cyan:Ae,white:Ae,gray:Ae,bgBlack:Ae,bgRed:Ae,bgGreen:Ae,bgYellow:Ae,bgBlue:Ae,bgMagenta:Ae,bgCyan:Ae,bgWhite:Ae}};nc.exports=a1();nc.exports.createColors=a1;var T8=nc.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,c){for(var u in c)Object.defineProperty(a,u,{enumerable:!0,get:c[u]})}t(e,{dim:function(){return s},default:function(){return l}});const n=r(T8);function r(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,c,u){typeof process<"u"&&{}.JEST_WORKER_ID||u&&i.has(u)||(u&&i.add(u),console.warn(""),c.forEach(f=>console.warn(a,"-",f)))}function s(a){return n.default.dim(a)}const l={info(a,c){o(n.default.bold(n.default.cyan("info")),...Array.isArray(a)?[a]:[c,a])},warn(a,c){o(n.default.bold(n.default.yellow("warn")),...Array.isArray(a)?[a]:[c,a])},risk(a,c){o(n.default.bold(n.default.magenta("risk")),...Array.isArray(a)?[a]:[c,a])}}})(l1);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=n(l1);function n(o){return o&&o.__esModule?o:{default:o}}function r({version:o,from:s,to:l}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(s1);let Vs=s1;var E8=(Vs.__esModule?Vs:{default:Vs}).default;const Pt=C8(E8),k8=10,M8=10,Zf=5,qf=40,c1=rt({__name:"BaseTimelineChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||45,r=me(()=>t.width??300),i=ue();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0||!i.value)return;i.value.replaceChildren();const f=n1().domain([a,c]).range([qf,r.value-M8]),d=Za().domain([0,u]).range([n-Zf,k8]).nice(),p=Eh("svg").attr("width",r.value).attr("height",n);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Zf})`).call(hh(f).ticks(0).tickSize(0).tickFormat(tc("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Pt.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Pt.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${qf},0)`).call(mh(d).tickValues([0,u]).tickSize(0).tickPadding(5)),p.select(".y-axis-group .domain").attr("stroke",Pt.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Pt.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",Po().x(function(x){return f(x.date)}).y(function(x){return d(x.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(x){return f(x.date)}).attr("cy",function(x){return d(x.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(x){return f(x.date)}).attr("cy",function(x){return d(x.value)});const y=document.querySelector(".d3-tooltip"),b=y?Ti(y):i1(Ti("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});o1(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);Ie.releases.forEach(x=>{const S=f(new Date(x.published_at));_.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",Po()([[S,d(0)],[S,d(u)]]))}),i.value.append(p.node())}return mt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),Xe([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),j("div",{ref_key:"container",ref:i},null,512))}});const Xf=10,Hs=10,Qf=90,Vr=70,A8=rt({__name:"BaseTimelineDetailedChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},yAxisTitle:{},workflow:{},label:{},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||60,r=me(()=>t.width??300),i=me(()=>{let c="";return t.yAxisTitle&&(c=t.yAxisTitle,t.workflow&&(c=`${t.workflow} - ${c}`)),c}),o=me(()=>{let c=-(n/2+Xf);return c-=i.value.length**1.3,Math.round(c)}),s=ue();function l(c,u=!0){if(c.length===0)return 0;const f=c[c.length-1].value,d=c.length>1?c[c.length-2].value:f,p=u?f-d:d-f;return p===0?0:p>0?1:-1}function a([c,u,f,d]){if(!c||!u||!f||c.length===0)return;const p=n1().domain([u,f]).range([Vr,r.value-Hs]),h=Za().domain([0,d]).range([n-Qf,Xf]),m=Eh("svg").attr("width",r.value-Hs).attr("height",n).classed("!overflow-visible",!0);m.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Qf})`).call(hh(p).ticks(6).tickPadding(8).tickSize(5).tickFormat(tc("%d.%m.%Y"))).selectAll("text").style("text-anchor","end").attr("dx","-0.9em").attr("dy","-0.2em").attr("transform","rotate(-60)"),m.select(".x-axis-group .domain").attr("stroke",Pt.gray[400]),m.selectAll(".x-axis-group .tick text").attr("fill",Pt.gray[400]),m.append("text").attr("x",r.value/2-Vr).attr("y",n).text("Date").attr("fill",Pt.gray[400]),m.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Vr},0)`).call(mh(h).ticks(6).tickSize(0).tickPadding(5).tickSizeInner(-r.value+Vr+Hs)),m.append("text").attr("transform","rotate(-90)").attr("y",Vr-55).attr("x",o.value).text(i.value).attr("fill",Pt.gray[400]),m.select(".y-axis-group .domain").attr("stroke",Pt.gray[400]),m.selectAll(".y-axis-group .tick text").attr("fill",Pt.gray[400]);const v=l(c,t.higherIsPositive),y=m.append("g").classed("path-group",!0).classed("trend-positive",v===1).classed("trend-negative",v===-1);y.append("path").datum(c).attr("stroke-width",1.5).attr("d",Po().x(function(O){return p(O.date)}).y(function(O){return h(O.value)}));const b=y.selectAll("myCircles").data(c).enter().append("g");b.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(O){return p(O.date)}).attr("cy",function(O){return h(O.value)}).classed("chart-point",!0),b.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(O){return p(O.date)}).attr("cy",function(O){return h(O.value)});const _=document.querySelector(".d3-tooltip"),x=_?Ti(_):i1(Ti("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});o1(m.selectAll(".chart-point"),x,{useData:t.tooltipContent});const S=m.append("g").classed("releases-group",!0);Ie.releases.forEach(O=>{const P=p(new Date(O.published_at)),R=S.append("g");R.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",Po()([[P,h(0)],[P,h(d)]]));const q=R.append("g").attr("transform","translate(-79 0)");q.append("rect").attr("x",P).attr("y",h(d)).attr("width",80).attr("height",18).style("fill","white"),q.append("svg:a").attr("xlink:href",()=>O.html_url).append("text").classed("tag-name",!0).attr("y",h(d)).attr("x",P).attr("dy",12).attr("dx",8).text(O.tag_name).attr("stroke","none").attr("fill",Pt.gray[600]).style("cursor","pointer"),R.on("mouseenter",function(X){this.parentElement.appendChild(this)})}),s.value&&(s.value.replaceChildren(),s.value.append(m.node()))}return mt(()=>{a([t.data,t.startDate,t.endDate,t.maxY])}),Xe([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],a),(c,u)=>(E(),j(se,null,[C("h3",null,Y(c.label),1),C("div",{class:"svg-container",ref_key:"container",ref:s},null,512)],64))}});const u1=pn(A8,[["__scopeId","data-v-1adc9a9f"]]),rc=un({maxValues:{},setMaxValue(e,t){this.maxValues[e]=t},getMaxValue(e){return this.maxValues[e]??0}}),Ye={CER_MEAN:"cer_mean",CER_MEDIAN:"cer_median",WER:"wer",PAGES_PER_MINUTE:"pages_per_minute",CER_STANDARD_DEVIATION:"cer_standard_deviation",WALL_TIME:"wall_time",CPU_TIME:"cpu_time"};function f1(e){return e===Ye.CER_MEAN||e===Ye.CER_MEDIAN||e===Ye.CER_STANDARD_DEVIATION||e===Ye.WER?"percentage":e===Ye.WALL_TIME?"seconds":e===Ye.PAGES_PER_MINUTE?"pages":e===Ye.CPU_TIME?"seconds":""}function j8(e,t=[]){const n=t.map(r=>{const i=r.evaluation_results.document_wide[e];return Array.isArray(i)?Math.max(...i):i??0})??[];return Math.max(...n)}function Lo(e){return e===Ye.CER_MEAN||e===Ye.CER_MEDIAN||e===Ye.CER_STANDARD_DEVIATION||e===Ye.WER||e===Ye.WALL_TIME?!1:e===Ye.PAGES_PER_MINUTE?!0:(e===Ye.CPU_TIME,!1)}const P8=rt({__name:"MetricChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{},gtName:{}},setup(e){const t=e,{t:n}=xt(),r=ue([]),i=me(()=>rc.maxValues[t.metric]??0),o=ue(null);mt(async()=>{s()}),Xe(()=>t.metric,s);function s(){t.runs&&(r.value=l(t.runs,t.metric))}function l(c,u){return c.map(({metadata:f,evaluation_results:d})=>{const p=d.document_wide[u];return{date:new Date(f.timestamp),value:p}})}function a(c){return dh(c,t.metric)}return(c,u)=>(E(),j(se,null,[C("div",{onClick:u[0]||(u[0]=f=>{var d;return(d=o.value)==null?void 0:d.toggle(f)}),class:"cursor-pointer flex justify-end"},[te(c1,{data:r.value,"max-y":i.value,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,width:400,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),te(ne(Wn),{ref_key:"op",ref:o,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:ke(()=>[te(u1,{data:r.value,"max-y":i.value,"y-axis-title":`${ne(n)(c.metric)} (${ne(n)(ne(f1)(c.metric))})`,workflow:c.workflowName,label:c.gtName,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,height:400,width:660,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","y-axis-title","workflow","label","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),L8=rt({__name:"MetricAverageChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{},gtName:{}},setup(e){const t=e,{t:n}=xt(),r=ue([]),i=me(()=>rc.maxValues[t.metric]??0),o=ue(null);mt(async()=>{s()}),Xe(()=>t.metric,s);function s(){t.runs&&(r.value=l(t.runs,t.metric))}function l(c,u){const f=c.reduce((d,p)=>{const h=new Date(new Date(p.metadata.timestamp).setHours(0,0,0,0)).toDateString(),m=p.evaluation_results.document_wide[u];return!m||Array.isArray(m)||(d[h]?d[h]=[...d[h],m]:d[h]=[m]),d},{});return Object.keys(f).sort((d,p)=>new Date(d)-new Date(p)).map(d=>{const p=f[d].reduce((h,m)=>h+m,0)/f[d].length;return{date:new Date(d),value:p}})}function a(c){return dh(c,t.metric)}return(c,u)=>(E(),j(se,null,[C("div",{onClick:u[0]||(u[0]=f=>{var d;return(d=o.value)==null?void 0:d.toggle(f)}),class:"cursor-pointer flex"},[te(c1,{data:r.value,"max-y":i.value,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,width:400,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),te(ne(Wn),{ref_key:"op",ref:o,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:ke(()=>[te(u1,{data:r.value,"max-y":i.value,"y-axis-title":`${ne(n)(c.metric)} (${ne(n)(ne(f1)(c.metric))})`,workflow:c.workflowName,label:c.gtName,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,height:400,width:660,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","y-axis-title","workflow","label","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),oi=/^[a-z0-9]+(-[a-z0-9]+)*$/,cs=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:l};return t&&!ao(c)?null:c}const o=i[0],s=o.split("-");if(s.length>1){const l={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!ao(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:o};return t&&!ao(l,n)?null:l}return null},ao=(e,t)=>e?!!((e.provider===""||e.provider.match(oi))&&(t&&e.prefix===""||e.prefix.match(oi))&&e.name.match(oi)):!1,d1=Object.freeze({left:0,top:0,width:16,height:16}),$o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),us=Object.freeze({...d1,...$o}),Hl=Object.freeze({...us,body:"",hidden:!1});function $8(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Jf(e,t){const n=$8(e,t);for(const r in Hl)r in $o?r in e&&!(r in n)&&(n[r]=$o[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function F8(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function o(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const l=r[s]&&r[s].parent,a=l&&o(l);a&&(i[s]=[l].concat(a))}return i[s]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(o),i}function D8(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let o={};function s(l){o=Jf(r[l]||i[l],o)}return s(t),n.forEach(s),Jf(e,o)}function p1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=F8(e);for(const i in r){const o=r[i];o&&(t(i,D8(e,i,o)),n.push(i))}return n}const z8={provider:"",aliases:{},not_found:{},...d1};function Bs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function h1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Bs(e,z8))return null;const n=t.icons;for(const i in n){const o=n[i];if(!i.match(oi)||typeof o.body!="string"||!Bs(o,Hl))return null}const r=t.aliases||Object.create(null);for(const i in r){const o=r[i],s=o.parent;if(!i.match(oi)||typeof s!="string"||!n[s]&&!r[s]||!Bs(o,Hl))return null}return t}const ed=Object.create(null);function R8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function qn(e,t){const n=ed[e]||(ed[e]=Object.create(null));return n[t]||(n[t]=R8(e,t))}function ic(e,t){return h1(t)?p1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function N8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ai=!1;function m1(e){return typeof e=="boolean"&&(Ai=e),Ai}function V8(e){const t=typeof e=="string"?cs(e,!0,Ai):e;if(t){const n=qn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function H8(e,t){const n=cs(e,!0,Ai);if(!n)return!1;const r=qn(n.provider,n.prefix);return N8(r,n.name,t)}function B8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ai&&!t&&!e.prefix){let i=!1;return h1(e)&&(e.prefix="",p1(e,(o,s)=>{s&&H8(o,s)&&(i=!0)})),i}const n=e.prefix;if(!ao({provider:t,prefix:n,name:"a"}))return!1;const r=qn(t,n);return!!ic(r,e)}const g1=Object.freeze({width:null,height:null}),y1=Object.freeze({...g1,...$o}),U8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function td(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(U8);if(r===null||!r.length)return e;const i=[];let o=r.shift(),s=K8.test(o);for(;;){if(s){const l=parseFloat(o);isNaN(l)?i.push(o):i.push(Math.ceil(l*t*n)/n)}else i.push(o);if(o=r.shift(),o===void 0)return i.join("");s=!s}}const W8=e=>e==="unset"||e==="undefined"||e==="none";function G8(e,t){const n={...us,...e},r={...y1,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(h=>{const m=[],v=h.hFlip,y=h.vFlip;let b=h.rotate;v?y?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):y&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let _;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:_=i.height/2+i.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}b%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),m.length&&(o=''+o+"")});const s=r.width,l=r.height,a=i.width,c=i.height;let u,f;s===null?(f=l===null?"1em":l==="auto"?c:l,u=td(f,a/c)):(u=s==="auto"?a:s,f=l===null?td(u,c/a):l==="auto"?c:l);const d={},p=(h,m)=>{W8(m)||(d[h]=m.toString())};return p("width",u),p("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+a.toString()+" "+c.toString(),{attributes:d,body:o}}const Y8=/\sid="(\S+)"/g,Z8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let q8=0;function X8(e,t=Z8){const n=[];let r;for(;r=Y8.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const s=typeof t=="function"?t(o):t+(q8++).toString(),l=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const Bl=Object.create(null);function Q8(e,t){Bl[e]=t}function Ul(e){return Bl[e]||Bl[""]}function oc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const sc=Object.create(null),Hr=["https://api.simplesvg.com","https://api.unisvg.com"],co=[];for(;Hr.length>0;)Hr.length===1||Math.random()>.5?co.push(Hr.shift()):co.push(Hr.pop());sc[""]=oc({resources:["https://api.iconify.design"].concat(co)});function J8(e,t){const n=oc(t);return n===null?!1:(sc[e]=n,!0)}function lc(e){return sc[e]}const eS=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let nd=eS();function tS(e,t){const n=lc(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const o=t+".json?icons=";r=n.maxURL-i-n.path.length-o.length}return r}function nS(e){return e===404}const rS=(e,t,n)=>{const r=[],i=tS(e,t),o="icons";let s={type:o,provider:e,prefix:t,icons:[]},l=0;return n.forEach((a,c)=>{l+=a.length+1,l>=i&&c>0&&(r.push(s),s={type:o,provider:e,prefix:t,icons:[]},l=a.length),s.icons.push(a)}),r.push(s),r};function iS(e){if(typeof e=="string"){const t=lc(e);if(t)return t.path}return"/"}const oS=(e,t,n)=>{if(!nd){n("abort",424);return}let r=iS(t.provider);switch(t.type){case"icons":{const o=t.prefix,l=t.icons.join(","),a=new URLSearchParams({icons:l});r+=o+".json?"+a.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let i=503;nd(e+r).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{n(nS(s)?"abort":"next",s)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",i)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",i)})},sS={prepare:rS,send:oS};function lS(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const o=i.provider,s=i.prefix,l=i.name,a=n[o]||(n[o]=Object.create(null)),c=a[s]||(a[s]=qn(o,s));let u;l in c.icons?u=t.loaded:s===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:o,prefix:s,name:l};u.push(f)}),t}function v1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function aS(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(o=>{const s=o.icons,l=s.pending.length;s.pending=s.pending.filter(a=>{if(a.prefix!==i)return!0;const c=a.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==l&&(n||v1([e],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let cS=0;function uS(e,t,n){const r=cS++,i=v1.bind(null,n,r);if(!t.pending.length)return i;const o={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),i}function fS(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const o=typeof i=="string"?cs(i,t,n):i;o&&r.push(o)}),r}var dS={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pS(e,t,n,r){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let O=e.resources.slice(0);for(s=[];O.length>1;){const P=Math.floor(Math.random()*O.length);s.push(O[P]),O=O.slice(0,P).concat(O.slice(P+1))}s=s.concat(O)}else s=e.resources.slice(o).concat(e.resources.slice(0,o));const l=Date.now();let a="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){a==="pending"&&(a="aborted"),h(),d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function v(O,P){P&&(p=[]),typeof O=="function"&&p.push(O)}function y(){return{startTime:l,payload:t,status:a,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function b(){a="failed",p.forEach(O=>{O(void 0,u)})}function _(){d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function x(O,P,R){const q=P!=="success";switch(d=d.filter(X=>X!==O),a){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(P==="abort"){u=R,b();return}if(q){u=R,d.length||(s.length?S():b());return}if(h(),_(),!e.random){const X=e.resources.indexOf(O.resource);X!==-1&&X!==e.index&&(e.index=X)}a="completed",p.forEach(X=>{X(R)})}function S(){if(a!=="pending")return;h();const O=s.shift();if(O===void 0){if(d.length){f=setTimeout(()=>{h(),a==="pending"&&(_(),b())},e.timeout);return}b();return}const P={status:"pending",resource:O,callback:(R,q)=>{x(P,R,q)}};d.push(P),c++,f=setTimeout(S,e.rotate),n(O,t,P.callback)}return setTimeout(S),y}function b1(e){const t={...dS,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,a,c){const u=pS(t,l,a,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function o(l){return n.find(a=>l(a))||null}return{query:i,find:o,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function rd(){}const Us=Object.create(null);function hS(e){if(!Us[e]){const t=lc(e);if(!t)return;const n=b1(t),r={config:t,redundancy:n};Us[e]=r}return Us[e]}function mS(e,t,n){let r,i;if(typeof e=="string"){const o=Ul(e);if(!o)return n(void 0,424),rd;i=o.send;const s=hS(e);s&&(r=s.redundancy)}else{const o=oc(e);if(o){r=b1(o);const s=e.resources?e.resources[0]:"",l=Ul(s);l&&(i=l.send)}}return!r||!i?(n(void 0,424),rd):r.query(t,i,n)().abort}const id="iconify2",ji="iconify",x1=ji+"-count",od=ji+"-version",w1=36e5,gS=168;function Kl(e,t){try{return e.getItem(t)}catch{}}function ac(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sd(e,t){try{e.removeItem(t)}catch{}}function Wl(e,t){return ac(e,x1,t.toString())}function Gl(e){return parseInt(Kl(e,x1))||0}const fs={local:!0,session:!0},_1={local:new Set,session:new Set};let cc=!1;function yS(e){cc=e}let eo=typeof window>"u"?{}:window;function S1(e){const t=e+"Storage";try{if(eo&&eo[t]&&typeof eo[t].length=="number")return eo[t]}catch{}fs[e]=!1}function O1(e,t){const n=S1(e);if(!n)return;const r=Kl(n,od);if(r!==id){if(r){const l=Gl(n);for(let a=0;a{const a=ji+l.toString(),c=Kl(n,a);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}sd(n,a)}};let s=Gl(n);for(let l=s-1;l>=0;l--)o(l)||(l===s-1?(s--,Wl(n,s)):_1[e].add(l))}function I1(){if(!cc){yS(!0);for(const e in fs)O1(e,t=>{const n=t.data,r=t.provider,i=n.prefix,o=qn(r,i);if(!ic(o,n).length)return!1;const s=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,s):s,!0})}}function vS(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in fs)O1(r,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function bS(e,t){cc||I1();function n(r){let i;if(!fs[r]||!(i=S1(r)))return;const o=_1[r];let s;if(o.size)o.delete(s=Array.from(o).shift());else if(s=Gl(i),!Wl(i,s+1))return;const l={cached:Math.floor(Date.now()/w1),provider:e.provider,data:t};return ac(i,ji+s.toString(),JSON.stringify(l))}t.lastModified&&!vS(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function ld(){}function xS(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,aS(e)}))}function wS(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=Ul(n)))return;o.prepare(n,r,i).forEach(l=>{mS(n,l,a=>{if(typeof a!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ic(e,a);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),bS(e,a)}catch(c){console.error(c)}xS(e)})})}))}const _S=(e,t)=>{const n=fS(e,!0,m1()),r=lS(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,ld)}),()=>{a=!1}}const i=Object.create(null),o=[];let s,l;return r.pending.forEach(a=>{const{provider:c,prefix:u}=a;if(u===l&&c===s)return;s=c,l=u,o.push(qn(c,u));const f=i[c]||(i[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(a=>{const{provider:c,prefix:u,name:f}=a,d=qn(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),i[c][u].push(f))}),o.forEach(a=>{const{provider:c,prefix:u}=a;i[c][u].length&&wS(a,i[c][u])}),t?uS(t,r,o):ld};function SS(e,t){const n={...e};for(const r in t){const i=t[r],o=typeof i;r in g1?(i===null||i&&(o==="string"||o==="number"))&&(n[r]=i):o===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const OS=/[\s,]+/;function IS(e,t){t.split(OS).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CS(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/i,o%1===0?r(o):0)}}return t}function TS(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function ES(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function kS(e){return"data:image/svg+xml,"+ES(e)}function MS(e){return'url("'+kS(e)+'")'}const ad={...y1,inline:!1},AS={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jS={display:"inline-block"},Yl={backgroundColor:"currentColor"},C1={backgroundColor:"transparent"},cd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ud={webkitMask:Yl,mask:Yl,background:C1};for(const e in ud){const t=ud[e];for(const n in cd)t[e+n]=cd[n]}const uo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";uo[e+"-flip"]=t,uo[e.slice(0,1)+"-flip"]=t,uo[e+"Flip"]=t});function fd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const dd=(e,t)=>{const n=SS(ad,t),r={...AS},i=t.mode||"svg",o={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&IS(n,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?n[m]=CS(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const y=uo[m];y?(v===!0||v==="true"||v===1)&&(n[y]=!0):ad[m]===void 0&&(r[m]=v)}}}const a=G8(e,n),c=a.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),i==="svg"){r.style={...o,...l},Object.assign(r,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=X8(a.body,v?()=>v+"ID"+m++:"iconifyVue"),Kn("svg",r)}const{body:u,width:f,height:d}=e,p=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=TS(u,{...c,width:f+"",height:d+""});return r.style={...o,"--svg":MS(h),width:fd(c.width),height:fd(c.height),...jS,...p?Yl:C1,...l},Kn("span",r)};m1(!0);Q8("",sS);if(typeof document<"u"&&typeof window<"u"){I1();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!B8(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;J8(n,i)||console.error(r)}catch{console.error(r)}}}}const PS={...us,body:""},Nn=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=cs(e,!1,!0))===null)return this.abortLoading(),null;const r=V8(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:_S([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return dd(PS,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),dd({...us,...t.data},n)}}),LS={root:({props:e})=>({class:["cursor-pointer inline-flex relative select-none","bg-white border border-gray-300 transition-colors duration-200 ease-in-out rounded-md","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300","w-full md:w-56","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["cursor-pointer block flex flex-auto overflow-hidden text-ellipsis whitespace-nowrap relative","bg-transparent border-0 text-gray-800","dark:text-white/80","p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base","focus:outline-none focus:shadow-none",{"pr-7":e.showClear}]}),trigger:{class:["flex items-center justify-center shrink-0","bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg"]},wrapper:{class:["max-h-[200px] overflow-auto","bg-white text-gray-700 border-0 rounded-md shadow-lg","dark:bg-gray-900 dark:text-white/80"]},list:{class:"py-3 list-none m-0"},item:({context:e})=>({class:["cursor-pointer font-normal overflow-hidden relative whitespace-nowrap","m-0 p-3 border-0 transition-shadow duration-200 rounded-none",{"text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":!e.focused&&!e.selected,"bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":e.focused&&!e.selected,"bg-primary-100 text-primary dark:bg-primary-400 dark:text-white/80":e.focused&&e.selected,"bg-primary-50 text-primary dark:bg-primary-300 dark:text-white/80":!e.focused&&e.selected}]}),itemgroup:{class:["m-0 p-3 text-gray-800 bg-white font-bold","dark:bg-gray-900 dark:text-white/80","cursor-auto"]},header:{class:["p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg","dark:bg-gray-800 dark:text-white/80 dark:border-primary-900/40"]},filtercontainer:{class:"relative"},filterinput:{class:["pr-7 -mr-7","w-full","font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300 dark:text-white/80","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]"]},filtericon:{class:"-mt-2 absolute top-1/2"},clearicon:{class:"text-gray-500 right-12 -mt-2 absolute top-1/2"}},Zl={root:"bg-white border border-gray-300 rounded-md"};var $S=` + `}function io(e,t){return e==null||t==null?NaN:et?1:e>=t?0:NaN}function Xw(e,t){return e==null||t==null?NaN:te?1:t>=e?0:NaN}function za(e){let t,n,r;e.length!==2?(t=io,n=(l,a)=>io(e(l),a),r=(l,a)=>e(l)-a):(t=e===io||e===Xw?e:Qw,n=e,r=e);function i(l,a,c=0,u=l.length){if(c>>1;n(l[f],a)<0?c=f+1:u=f}while(c>>1;n(l[f],a)<=0?c=f+1:u=f}while(cc&&r(l[f-1],a)>-r(l[f],a)?f-1:f}return{left:i,center:s,right:o}}function Qw(){return 0}function Jw(e){return e===null?NaN:+e}const e_=za(io),t_=e_.right;za(Jw).center;const n_=t_,r_=Math.sqrt(50),i_=Math.sqrt(10),o_=Math.sqrt(2);function xo(e,t,n){const r=(t-e)/Math.max(0,n),i=Math.floor(Math.log10(r)),o=r/Math.pow(10,i),s=o>=r_?10:o>=i_?5:o>=o_?2:1;let l,a,c;return i<0?(c=Math.pow(10,-i)/s,l=Math.round(e*c),a=Math.round(t*c),l/ct&&--a,c=-c):(c=Math.pow(10,i)*s,l=Math.round(e/c),a=Math.round(t/c),l*ct&&--a),a0))return[];if(e===t)return[e];const r=t=i))return[];const l=o-i+1,a=new Array(l);if(r)if(s<0)for(let c=0;c+e(t)}function f_(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function d_(){return!this.__axis}function ph(e,t){var n=[],r=null,i=null,o=6,s=6,l=3,a=typeof window<"u"&&window.devicePixelRatio>1?0:.5,c=e===js||e===Kr?-1:1,u=e===Kr||e===Ps?"x":"y",f=e===js||e===Al?a_:c_;function d(p){var h=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):l_),v=Math.max(o,0)+l,y=t.range(),b=+y[0]+a,_=+y[y.length-1]+a,x=(t.bandwidth?f_:u_)(t.copy(),a),S=p.selection?p.selection():p,O=S.selectAll(".domain").data([null]),P=S.selectAll(".tick").data(h,t).order(),R=P.exit(),q=P.enter().append("g").attr("class","tick"),X=P.select("line"),N=P.select("text");O=O.merge(O.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),P=P.merge(q),X=X.merge(q.append("line").attr("stroke","currentColor").attr(u+"2",c*o)),N=N.merge(q.append("text").attr("fill","currentColor").attr(u,c*v).attr("dy",e===js?"0em":e===Al?"0.71em":"0.32em")),p!==S&&(O=O.transition(p),P=P.transition(p),X=X.transition(p),N=N.transition(p),R=R.transition(p).attr("opacity",gf).attr("transform",function(H){return isFinite(H=x(H))?f(H+a):this.getAttribute("transform")}),q.attr("opacity",gf).attr("transform",function(H){var Q=this.parentNode.__axis;return f((Q&&isFinite(Q=Q(H))?Q:x(H))+a)})),R.remove(),O.attr("d",e===Kr||e===Ps?s?"M"+c*s+","+b+"H"+a+"V"+_+"H"+c*s:"M"+a+","+b+"V"+_:s?"M"+b+","+c*s+"V"+a+"H"+_+"V"+c*s:"M"+b+","+a+"H"+_),P.attr("opacity",1).attr("transform",function(H){return f(x(H)+a)}),X.attr(u+"2",c*o),N.attr(u,c*v).text(m),S.filter(d_).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===Ps?"start":e===Kr?"end":"middle"),S.each(function(){this.__axis=x})}return d.scale=function(p){return arguments.length?(t=p,d):t},d.ticks=function(){return n=Array.from(arguments),d},d.tickArguments=function(p){return arguments.length?(n=p==null?[]:Array.from(p),d):n.slice()},d.tickValues=function(p){return arguments.length?(r=p==null?null:Array.from(p),d):r&&r.slice()},d.tickFormat=function(p){return arguments.length?(i=p,d):i},d.tickSize=function(p){return arguments.length?(o=s=+p,d):o},d.tickSizeInner=function(p){return arguments.length?(o=+p,d):o},d.tickSizeOuter=function(p){return arguments.length?(s=+p,d):s},d.tickPadding=function(p){return arguments.length?(l=+p,d):l},d.offset=function(p){return arguments.length?(a=+p,d):a},d}function hh(e){return ph(Al,e)}function mh(e){return ph(Kr,e)}var p_={value:()=>{}};function gh(){for(var e=0,t=arguments.length,n={},r;e=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}oo.prototype=gh.prototype={constructor:oo,on:function(e,t){var n=this._,r=h_(e+"",n),i,o=-1,s=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(i),r=0,i,o;r=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),vf.hasOwnProperty(t)?{space:vf[t],local:e}:e}function g_(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===jl&&t.documentElement.namespaceURI===jl?t.createElement(e):t.createElementNS(n,e)}}function y_(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Ra(e){var t=os(e);return(t.local?y_:g_)(t)}function v_(){}function Na(e){return e==null?v_:function(){return this.querySelector(e)}}function b_(e){typeof e!="function"&&(e=Na(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i=_&&(_=b+1);!(S=v[_])&&++_=0;)(s=r[i])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function U_(e){e||(e=K_);function t(f,d){return f&&d?e(f.__data__,d.__data__):!f-!d}for(var n=this._groups,r=n.length,i=new Array(r),o=0;ot?1:e>=t?0:NaN}function W_(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function G_(){return Array.from(this)}function Y_(){for(var e=this._groups,t=0,n=e.length;t1?this.each((t==null?o3:typeof t=="function"?l3:s3)(e,t,n??"")):_r(this.node(),e)}function _r(e,t){return e.style.getPropertyValue(t)||wh(e).getComputedStyle(e,null).getPropertyValue(t)}function c3(e){return function(){delete this[e]}}function u3(e,t){return function(){this[e]=t}}function f3(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function d3(e,t){return arguments.length>1?this.each((t==null?c3:typeof t=="function"?f3:u3)(e,t)):this.node()[e]}function _h(e){return e.trim().split(/^|\s+/)}function Va(e){return e.classList||new Sh(e)}function Sh(e){this._node=e,this._names=_h(e.getAttribute("class")||"")}Sh.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function Oh(e,t){for(var n=Va(e),r=-1,i=t.length;++r=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function N3(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,o;n>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?qi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?qi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=Z3.exec(e))?new pt(t[1],t[2],t[3],1):(t=q3.exec(e))?new pt(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=X3.exec(e))?qi(t[1],t[2],t[3],t[4]):(t=Q3.exec(e))?qi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=J3.exec(e))?If(t[1],t[2]/100,t[3]/100,1):(t=e4.exec(e))?If(t[1],t[2]/100,t[3]/100,t[4]):bf.hasOwnProperty(e)?_f(bf[e]):e==="transparent"?new pt(NaN,NaN,NaN,0):null}function _f(e){return new pt(e>>16&255,e>>8&255,e&255,1)}function qi(e,t,n,r){return r<=0&&(e=t=n=NaN),new pt(e,t,n,r)}function r4(e){return e instanceof Ri||(e=Gn(e)),e?(e=e.rgb(),new pt(e.r,e.g,e.b,e.opacity)):new pt}function Pl(e,t,n,r){return arguments.length===1?r4(e):new pt(e,t,n,r??1)}function pt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Ha(pt,Pl,kh(Ri,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Ei:Math.pow(Ei,e),new pt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new pt(Bn(this.r),Bn(this.g),Bn(this.b),So(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Sf,formatHex:Sf,formatHex8:i4,formatRgb:Of,toString:Of}));function Sf(){return`#${Rn(this.r)}${Rn(this.g)}${Rn(this.b)}`}function i4(){return`#${Rn(this.r)}${Rn(this.g)}${Rn(this.b)}${Rn((isNaN(this.opacity)?1:this.opacity)*255)}`}function Of(){const e=So(this.opacity);return`${e===1?"rgb(":"rgba("}${Bn(this.r)}, ${Bn(this.g)}, ${Bn(this.b)}${e===1?")":`, ${e})`}`}function So(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Bn(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Rn(e){return e=Bn(e),(e<16?"0":"")+e.toString(16)}function If(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ft(e,t,n,r)}function Mh(e){if(e instanceof Ft)return new Ft(e.h,e.s,e.l,e.opacity);if(e instanceof Ri||(e=Gn(e)),!e)return new Ft;if(e instanceof Ft)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),s=NaN,l=o-i,a=(o+i)/2;return l?(t===o?s=(n-r)/l+(n0&&a<1?0:s,new Ft(s,l,a,e.opacity)}function o4(e,t,n,r){return arguments.length===1?Mh(e):new Ft(e,t,n,r??1)}function Ft(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ha(Ft,o4,kh(Ri,{brighter(e){return e=e==null?_o:Math.pow(_o,e),new Ft(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Ei:Math.pow(Ei,e),new Ft(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new pt(Ls(e>=240?e-240:e+120,i,r),Ls(e,i,r),Ls(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ft(Cf(this.h),Xi(this.s),Xi(this.l),So(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=So(this.opacity);return`${e===1?"hsl(":"hsla("}${Cf(this.h)}, ${Xi(this.s)*100}%, ${Xi(this.l)*100}%${e===1?")":`, ${e})`}`}}));function Cf(e){return e=(e||0)%360,e<0?e+360:e}function Xi(e){return Math.max(0,Math.min(1,e||0))}function Ls(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Ba=e=>()=>e;function s4(e,t){return function(n){return e+n*t}}function l4(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function a4(e){return(e=+e)==1?Ah:function(t,n){return n-t?l4(t,n,e):Ba(isNaN(t)?n:t)}}function Ah(e,t){var n=t-e;return n?s4(e,n):Ba(isNaN(e)?t:e)}const Oo=function e(t){var n=a4(t);function r(i,o){var s=n((i=Pl(i)).r,(o=Pl(o)).r),l=n(i.g,o.g),a=n(i.b,o.b),c=Ah(i.opacity,o.opacity);return function(u){return i.r=s(u),i.g=l(u),i.b=a(u),i.opacity=c(u),i+""}}return r.gamma=e,r}(1);function c4(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),i;return function(o){for(i=0;in&&(o=t.slice(n,o),l[s]?l[s]+=o:l[++s]=o),(r=r[0])===(i=i[0])?l[s]?l[s]+=i:l[++s]=i:(l[++s]=null,a.push({i:s,x:Lt(r,i)})),n=$s.lastIndex;return n180?u+=360:u-c>180&&(c+=360),d.push({i:f.push(i(f)+"rotate(",null,r)-2,x:Lt(c,u)})):u&&f.push(i(f)+"rotate("+u+r)}function l(c,u,f,d){c!==u?d.push({i:f.push(i(f)+"skewX(",null,r)-2,x:Lt(c,u)}):u&&f.push(i(f)+"skewX("+u+r)}function a(c,u,f,d,p,h){if(c!==f||u!==d){var m=p.push(i(p)+"scale(",null,",",null,")");h.push({i:m-4,x:Lt(c,f)},{i:m-2,x:Lt(u,d)})}else(f!==1||d!==1)&&p.push(i(p)+"scale("+f+","+d+")")}return function(c,u){var f=[],d=[];return c=e(c),u=e(u),o(c.translateX,c.translateY,u.translateX,u.translateY,f,d),s(c.rotate,u.rotate,f,d),l(c.skewX,u.skewX,f,d),a(c.scaleX,c.scaleY,u.scaleX,u.scaleY,f,d),c=u=null,function(p){for(var h=-1,m=d.length,v;++h=0&&e._call.call(void 0,t),e=e._next;--Sr}function Ef(){Yn=(Co=Mi.now())+ss,Sr=Wr=0;try{_4()}finally{Sr=0,O4(),Yn=0}}function S4(){var e=Mi.now(),t=e-Co;t>$h&&(ss-=t,Co=e)}function O4(){for(var e,t=Io,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:Io=n);Gr=e,Fl(r)}function Fl(e){if(!Sr){Wr&&(Wr=clearTimeout(Wr));var t=e-Yn;t>24?(e<1/0&&(Wr=setTimeout(Ef,e-Mi.now()-ss)),Dr&&(Dr=clearInterval(Dr))):(Dr||(Co=Mi.now(),Dr=setInterval(S4,$h)),Sr=1,Fh(Ef))}}function kf(e,t,n){var r=new To;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var I4=gh("start","end","cancel","interrupt"),C4=[],zh=0,Mf=1,Dl=2,so=3,Af=4,zl=5,lo=6;function ls(e,t,n,r,i,o){var s=e.__transition;if(!s)e.__transition={};else if(n in s)return;T4(e,n,{name:t,index:r,group:i,on:I4,tween:C4,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:zh})}function Wa(e,t){var n=Vt(e,t);if(n.state>zh)throw new Error("too late; already scheduled");return n}function Qt(e,t){var n=Vt(e,t);if(n.state>so)throw new Error("too late; already running");return n}function Vt(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function T4(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=Dh(o,0,n.time);function o(c){n.state=Mf,n.timer.restart(s,n.delay,n.time),n.delay<=c&&s(c-n.delay)}function s(c){var u,f,d,p;if(n.state!==Mf)return a();for(u in r)if(p=r[u],p.name===n.name){if(p.state===so)return kf(s);p.state===Af?(p.state=lo,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete r[u]):+uDl&&r.state=0&&(t=t.slice(0,n)),!t||t==="start"})}function i6(e,t,n){var r,i,o=r6(t)?Wa:Qt;return function(){var s=o(this,e),l=s.on;l!==r&&(i=(r=l).copy()).on(t,n),s.on=i}}function o6(e,t){var n=this._id;return arguments.length<2?Vt(this.node(),n).on.on(e):this.each(i6(n,e,t))}function s6(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function l6(){return this.on("end.remove",s6(this._id))}function a6(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Na(e));for(var r=this._groups,i=r.length,o=new Array(i),s=0;s=0))throw new Error(`invalid digits: ${e}`);if(t>15)return Hh;const n=10**t;return function(r){this._+=r[0];for(let i=1,o=r.length;iLn)if(!(Math.abs(f*a-c*u)>Ln)||!o)this._append`L${this._x1=t},${this._y1=n}`;else{let p=r-s,h=i-l,m=a*a+c*c,v=p*p+h*h,y=Math.sqrt(m),b=Math.sqrt(d),_=o*Math.tan((Rl-Math.acos((m+d-v)/(2*y*b)))/2),x=_/b,S=_/y;Math.abs(x-1)>Ln&&this._append`L${t+x*u},${n+x*f}`,this._append`A${o},${o},0,0,${+(f*p>u*h)},${this._x1=t+S*a},${this._y1=n+S*c}`}}arc(t,n,r,i,o,s){if(t=+t,n=+n,r=+r,s=!!s,r<0)throw new Error(`negative radius: ${r}`);let l=r*Math.cos(i),a=r*Math.sin(i),c=t+l,u=n+a,f=1^s,d=s?i-o:o-i;this._x1===null?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Ln||Math.abs(this._y1-u)>Ln)&&this._append`L${c},${u}`,r&&(d<0&&(d=d%Nl+Nl),d>P6?this._append`A${r},${r},0,1,${f},${t-l},${n-a}A${r},${r},0,1,${f},${this._x1=c},${this._y1=u}`:d>Ln&&this._append`A${r},${r},0,${+(d>=Rl)},${f},${this._x1=t+r*Math.cos(o)},${this._y1=n+r*Math.sin(o)}`)}rect(t,n,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function F6(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function Eo(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Or(e){return e=Eo(Math.abs(e)),e?e[1]:NaN}function D6(e,t){return function(n,r){for(var i=n.length,o=[],s=0,l=e[0],a=0;i>0&&l>0&&(a+l+1>r&&(l=Math.max(1,r-a)),o.push(n.substring(i-=l,i+l)),!((a+=l+1)>r));)l=e[s=(s+1)%e.length];return o.reverse().join(t)}}function z6(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var R6=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ko(e){if(!(t=R6.exec(e)))throw new Error("invalid format: "+e);var t;return new Ya({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}ko.prototype=Ya.prototype;function Ya(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}Ya.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function N6(e){e:for(var t=e.length,n=1,r=-1,i;n0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(i+1):e}var Bh;function V6(e,t){var n=Eo(e,t);if(!n)return e+"";var r=n[0],i=n[1],o=i-(Bh=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,s=r.length;return o===s?r:o>s?r+new Array(o-s+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Eo(e,Math.max(0,t+o-1))[0]}function jf(e,t){var n=Eo(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const Pf={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:F6,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>jf(e*100,t),r:jf,s:V6,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function Lf(e){return e}var $f=Array.prototype.map,Ff=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function H6(e){var t=e.grouping===void 0||e.thousands===void 0?Lf:D6($f.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",o=e.numerals===void 0?Lf:z6($f.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",l=e.minus===void 0?"−":e.minus+"",a=e.nan===void 0?"NaN":e.nan+"";function c(f){f=ko(f);var d=f.fill,p=f.align,h=f.sign,m=f.symbol,v=f.zero,y=f.width,b=f.comma,_=f.precision,x=f.trim,S=f.type;S==="n"?(b=!0,S="g"):Pf[S]||(_===void 0&&(_=12),x=!0,S="g"),(v||d==="0"&&p==="=")&&(v=!0,d="0",p="=");var O=m==="$"?n:m==="#"&&/[boxX]/.test(S)?"0"+S.toLowerCase():"",P=m==="$"?r:/[%p]/.test(S)?s:"",R=Pf[S],q=/[defgprs%]/.test(S);_=_===void 0?6:/[gprs]/.test(S)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_));function X(N){var H=O,Q=P,he,_e,fe;if(S==="c")Q=R(N)+Q,N="";else{N=+N;var oe=N<0||1/N<0;if(N=isNaN(N)?a:R(Math.abs(N),_),x&&(N=N6(N)),oe&&+N==0&&h!=="+"&&(oe=!1),H=(oe?h==="("?h:l:h==="-"||h==="("?"":h)+H,Q=(S==="s"?Ff[8+Bh/3]:"")+Q+(oe&&h==="("?")":""),q){for(he=-1,_e=N.length;++he<_e;)if(fe=N.charCodeAt(he),48>fe||fe>57){Q=(fe===46?i+N.slice(he+1):N.slice(he))+Q,N=N.slice(0,he);break}}}b&&!v&&(N=t(N,1/0));var ce=H.length+N.length+Q.length,Se=ce>1)+H+N+Q+Se.slice(ce);break;default:N=Se+H+N+Q;break}return o(N)}return X.toString=function(){return f+""},X}function u(f,d){var p=c((f=ko(f),f.type="f",f)),h=Math.max(-8,Math.min(8,Math.floor(Or(d)/3)))*3,m=Math.pow(10,-h),v=Ff[8+h/3];return function(y){return p(m*y)+v}}return{format:c,formatPrefix:u}}var Ji,Uh,Kh;B6({thousands:",",grouping:[3],currency:["$",""]});function B6(e){return Ji=H6(e),Uh=Ji.format,Kh=Ji.formatPrefix,Ji}function U6(e){return Math.max(0,-Or(Math.abs(e)))}function K6(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Or(t)/3)))*3-Or(Math.abs(e)))}function W6(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Or(t)-Or(e))+1}function Wh(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function G6(e){return function(){return e}}function Y6(e){return+e}var Df=[0,1];function ur(e){return e}function Vl(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:G6(isNaN(t)?NaN:.5)}function Z6(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function q6(e,t,n){var r=e[0],i=e[1],o=t[0],s=t[1];return i2?X6:q6,a=c=null,f}function f(d){return d==null||isNaN(d=+d)?o:(a||(a=l(e.map(r),t,n)))(r(s(d)))}return f.invert=function(d){return s(i((c||(c=l(t,e.map(r),Lt)))(d)))},f.domain=function(d){return arguments.length?(e=Array.from(d,Y6),u()):e.slice()},f.range=function(d){return arguments.length?(t=Array.from(d),u()):t.slice()},f.rangeRound=function(d){return t=Array.from(d),n=g4,u()},f.clamp=function(d){return arguments.length?(s=d?!0:ur,u()):s!==ur},f.interpolate=function(d){return arguments.length?(n=d,u()):n},f.unknown=function(d){return arguments.length?(o=d,f):o},function(d,p){return r=d,i=p,u()}}function Yh(){return Q6()(ur,ur)}function J6(e,t,n,r){var i=Ml(e,t,n),o;switch(r=ko(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(o=K6(i,s))&&(r.precision=o),Kh(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(o=W6(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(o=U6(i))&&(r.precision=o-(r.type==="%")*2);break}}return Uh(r)}function e5(e){var t=e.domain;return e.ticks=function(n){var r=t();return s_(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var i=t();return J6(i[0],i[i.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),i=0,o=r.length-1,s=r[i],l=r[o],a,c,u=10;for(l0;){if(c=kl(s,l,n),c===a)return r[i]=s,r[o]=l,t(r);if(c>0)s=Math.floor(s/c)*c,l=Math.ceil(l/c)*c;else if(c<0)s=Math.ceil(s*c)/c,l=Math.floor(l*c)/c;else break;a=c}return e},e}function Za(){var e=Yh();return e.copy=function(){return Gh(e,Za())},Wh.apply(e,arguments),e5(e)}function t5(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],o=e[r],s;return o(e(o=new Date(+o)),o),i.ceil=o=>(e(o=new Date(o-1)),t(o,1),e(o),o),i.round=o=>{const s=i(o),l=i.ceil(o);return o-s(t(o=new Date(+o),s==null?1:Math.floor(s)),o),i.range=(o,s,l)=>{const a=[];if(o=i.ceil(o),l=l==null?1:Math.floor(l),!(o0))return a;let c;do a.push(c=new Date(+o)),t(o,l),e(o);while(cYe(s=>{if(s>=s)for(;e(s),!o(s);)s.setTime(s-1)},(s,l)=>{if(s>=s)if(l<0)for(;++l<=0;)for(;t(s,-1),!o(s););else for(;--l>=0;)for(;t(s,1),!o(s););}),n&&(i.count=(o,s)=>(Fs.setTime(+o),Ds.setTime(+s),e(Fs),e(Ds),Math.floor(n(Fs,Ds))),i.every=o=>(o=Math.floor(o),!isFinite(o)||!(o>0)?null:o>1?i.filter(r?s=>r(s)%o===0:s=>i.count(0,s)%o===0):i)),i}const Mo=Ye(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Mo.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?Ye(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Mo);Mo.range;const nn=1e3,Ct=nn*60,rn=Ct*60,an=rn*24,qa=an*7,zf=an*30,zs=an*365,fr=Ye(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*nn)},(e,t)=>(t-e)/nn,e=>e.getUTCSeconds());fr.range;const Xa=Ye(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*nn)},(e,t)=>{e.setTime(+e+t*Ct)},(e,t)=>(t-e)/Ct,e=>e.getMinutes());Xa.range;const n5=Ye(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*Ct)},(e,t)=>(t-e)/Ct,e=>e.getUTCMinutes());n5.range;const Qa=Ye(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*nn-e.getMinutes()*Ct)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getHours());Qa.range;const r5=Ye(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*rn)},(e,t)=>(t-e)/rn,e=>e.getUTCHours());r5.range;const Ni=Ye(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Ct)/an,e=>e.getDate()-1);Ni.range;const Ja=Ye(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/an,e=>e.getUTCDate()-1);Ja.range;const i5=Ye(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/an,e=>Math.floor(e/an));i5.range;function Jn(e){return Ye(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Ct)/qa)}const as=Jn(0),Ao=Jn(1),o5=Jn(2),s5=Jn(3),Ir=Jn(4),l5=Jn(5),a5=Jn(6);as.range;Ao.range;o5.range;s5.range;Ir.range;l5.range;a5.range;function er(e){return Ye(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/qa)}const Zh=er(0),jo=er(1),c5=er(2),u5=er(3),Cr=er(4),f5=er(5),d5=er(6);Zh.range;jo.range;c5.range;u5.range;Cr.range;f5.range;d5.range;const ec=Ye(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());ec.range;const p5=Ye(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());p5.range;const cn=Ye(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());cn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ye(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});cn.range;const Zn=Ye(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Zn.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:Ye(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Zn.range;function h5(e,t,n,r,i,o){const s=[[fr,1,nn],[fr,5,5*nn],[fr,15,15*nn],[fr,30,30*nn],[o,1,Ct],[o,5,5*Ct],[o,15,15*Ct],[o,30,30*Ct],[i,1,rn],[i,3,3*rn],[i,6,6*rn],[i,12,12*rn],[r,1,an],[r,2,2*an],[n,1,qa],[t,1,zf],[t,3,3*zf],[e,1,zs]];function l(c,u,f){const d=uv).right(s,d);if(p===s.length)return e.every(Ml(c/zs,u/zs,f));if(p===0)return Mo.every(Math.max(Ml(c,u,f),1));const[h,m]=s[d/s[p-1][2]53)return null;"w"in g||(g.w=1),"Z"in g?(I=Ns(zr(g.y,0,1)),A=I.getUTCDay(),I=A>4||A===0?jo.ceil(I):jo(I),I=Ja.offset(I,(g.V-1)*7),g.y=I.getUTCFullYear(),g.m=I.getUTCMonth(),g.d=I.getUTCDate()+(g.w+6)%7):(I=Rs(zr(g.y,0,1)),A=I.getDay(),I=A>4||A===0?Ao.ceil(I):Ao(I),I=Ni.offset(I,(g.V-1)*7),g.y=I.getFullYear(),g.m=I.getMonth(),g.d=I.getDate()+(g.w+6)%7)}else("W"in g||"U"in g)&&("w"in g||(g.w="u"in g?g.u%7:"W"in g?1:0),A="Z"in g?Ns(zr(g.y,0,1)).getUTCDay():Rs(zr(g.y,0,1)).getDay(),g.m=0,g.d="W"in g?(g.w+6)%7+g.W*7-(A+5)%7:g.w+g.U*7-(A+6)%7);return"Z"in g?(g.H+=g.Z/100|0,g.M+=g.Z%100,Ns(g)):Rs(g)}}function R(M,B,J,g){for(var w=0,I=B.length,A=J.length,L,z;w=A)return-1;if(L=B.charCodeAt(w++),L===37){if(L=B.charAt(w++),z=S[L in Rf?B.charAt(w++):L],!z||(g=z(M,J,g))<0)return-1}else if(L!=J.charCodeAt(g++))return-1}return g}function q(M,B,J){var g=c.exec(B.slice(J));return g?(M.p=u.get(g[0].toLowerCase()),J+g[0].length):-1}function X(M,B,J){var g=p.exec(B.slice(J));return g?(M.w=h.get(g[0].toLowerCase()),J+g[0].length):-1}function N(M,B,J){var g=f.exec(B.slice(J));return g?(M.w=d.get(g[0].toLowerCase()),J+g[0].length):-1}function H(M,B,J){var g=y.exec(B.slice(J));return g?(M.m=b.get(g[0].toLowerCase()),J+g[0].length):-1}function Q(M,B,J){var g=m.exec(B.slice(J));return g?(M.m=v.get(g[0].toLowerCase()),J+g[0].length):-1}function he(M,B,J){return R(M,t,B,J)}function _e(M,B,J){return R(M,n,B,J)}function fe(M,B,J){return R(M,r,B,J)}function oe(M){return s[M.getDay()]}function ce(M){return o[M.getDay()]}function Se(M){return a[M.getMonth()]}function st(M){return l[M.getMonth()]}function Re(M){return i[+(M.getHours()>=12)]}function $e(M){return 1+~~(M.getMonth()/3)}function ct(M){return s[M.getUTCDay()]}function Ke(M){return o[M.getUTCDay()]}function At(M){return a[M.getUTCMonth()]}function Be(M){return l[M.getUTCMonth()]}function F(M){return i[+(M.getUTCHours()>=12)]}function Z(M){return 1+~~(M.getUTCMonth()/3)}return{format:function(M){var B=O(M+="",_);return B.toString=function(){return M},B},parse:function(M){var B=P(M+="",!1);return B.toString=function(){return M},B},utcFormat:function(M){var B=O(M+="",x);return B.toString=function(){return M},B},utcParse:function(M){var B=P(M+="",!0);return B.toString=function(){return M},B}}}var Rf={"-":"",_:" ",0:"0"},Qe=/^\s*\d+/,v5=/^%/,b5=/[\\^$*+?|[\]().{}]/g;function we(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",o=i.length;return r+(o[t.toLowerCase(),n]))}function w5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function _5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function S5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function O5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function I5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Nf(e,t,n){var r=Qe.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Vf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function C5(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function T5(e,t,n){var r=Qe.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function E5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Hf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function k5(e,t,n){var r=Qe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Bf(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function M5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function A5(e,t,n){var r=Qe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function j5(e,t,n){var r=Qe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function P5(e,t,n){var r=Qe.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function L5(e,t,n){var r=v5.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function $5(e,t,n){var r=Qe.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function F5(e,t,n){var r=Qe.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function Uf(e,t){return we(e.getDate(),t,2)}function D5(e,t){return we(e.getHours(),t,2)}function z5(e,t){return we(e.getHours()%12||12,t,2)}function R5(e,t){return we(1+Ni.count(cn(e),e),t,3)}function qh(e,t){return we(e.getMilliseconds(),t,3)}function N5(e,t){return qh(e,t)+"000"}function V5(e,t){return we(e.getMonth()+1,t,2)}function H5(e,t){return we(e.getMinutes(),t,2)}function B5(e,t){return we(e.getSeconds(),t,2)}function U5(e){var t=e.getDay();return t===0?7:t}function K5(e,t){return we(as.count(cn(e)-1,e),t,2)}function Xh(e){var t=e.getDay();return t>=4||t===0?Ir(e):Ir.ceil(e)}function W5(e,t){return e=Xh(e),we(Ir.count(cn(e),e)+(cn(e).getDay()===4),t,2)}function G5(e){return e.getDay()}function Y5(e,t){return we(Ao.count(cn(e)-1,e),t,2)}function Z5(e,t){return we(e.getFullYear()%100,t,2)}function q5(e,t){return e=Xh(e),we(e.getFullYear()%100,t,2)}function X5(e,t){return we(e.getFullYear()%1e4,t,4)}function Q5(e,t){var n=e.getDay();return e=n>=4||n===0?Ir(e):Ir.ceil(e),we(e.getFullYear()%1e4,t,4)}function J5(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+we(t/60|0,"0",2)+we(t%60,"0",2)}function Kf(e,t){return we(e.getUTCDate(),t,2)}function e8(e,t){return we(e.getUTCHours(),t,2)}function t8(e,t){return we(e.getUTCHours()%12||12,t,2)}function n8(e,t){return we(1+Ja.count(Zn(e),e),t,3)}function Qh(e,t){return we(e.getUTCMilliseconds(),t,3)}function r8(e,t){return Qh(e,t)+"000"}function i8(e,t){return we(e.getUTCMonth()+1,t,2)}function o8(e,t){return we(e.getUTCMinutes(),t,2)}function s8(e,t){return we(e.getUTCSeconds(),t,2)}function l8(e){var t=e.getUTCDay();return t===0?7:t}function a8(e,t){return we(Zh.count(Zn(e)-1,e),t,2)}function Jh(e){var t=e.getUTCDay();return t>=4||t===0?Cr(e):Cr.ceil(e)}function c8(e,t){return e=Jh(e),we(Cr.count(Zn(e),e)+(Zn(e).getUTCDay()===4),t,2)}function u8(e){return e.getUTCDay()}function f8(e,t){return we(jo.count(Zn(e)-1,e),t,2)}function d8(e,t){return we(e.getUTCFullYear()%100,t,2)}function p8(e,t){return e=Jh(e),we(e.getUTCFullYear()%100,t,2)}function h8(e,t){return we(e.getUTCFullYear()%1e4,t,4)}function m8(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Cr(e):Cr.ceil(e),we(e.getUTCFullYear()%1e4,t,4)}function g8(){return"+0000"}function Wf(){return"%"}function Gf(e){return+e}function Yf(e){return Math.floor(+e/1e3)}var rr,e1,tc;y8({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function y8(e){return rr=y5(e),e1=rr.format,rr.parse,tc=rr.utcFormat,rr.utcParse,rr}function v8(e){return new Date(e)}function b8(e){return e instanceof Date?+e:+new Date(+e)}function t1(e,t,n,r,i,o,s,l,a,c){var u=Yh(),f=u.invert,d=u.domain,p=c(".%L"),h=c(":%S"),m=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),b=c("%b %d"),_=c("%B"),x=c("%Y");function S(O){return(a(O)=0))throw new RangeError(`invalid digits: ${n}`);t=r}return e},()=>new $6(t)}function w8(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function r1(e){this._context=e}r1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t);break}}};function _8(e){return new r1(e)}function S8(e){return e[0]}function O8(e){return e[1]}function Po(e,t){var n=ir(!0),r=null,i=_8,o=null,s=x8(l);e=typeof e=="function"?e:e===void 0?S8:ir(e),t=typeof t=="function"?t:t===void 0?O8:ir(t);function l(a){var c,u=(a=w8(a)).length,f,d=!1,p;for(r==null&&(o=i(p=s())),c=0;c<=u;++c)!(c""}=n;e.on("mouseover",function(i,o){const s=r(o),{top:l,left:a}=this.getBoundingClientRect();return t.html("
"+s+"
"),t.style("visibility","visible").style("top",l-60+"px").style("left",a+"px")}).on("mouseout",function(){return t.style("visibility","hidden")})}var I8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s1={},l1={},nc={exports:{}},Ae=String,a1=function(){return{isColorSupported:!1,reset:Ae,bold:Ae,dim:Ae,italic:Ae,underline:Ae,inverse:Ae,hidden:Ae,strikethrough:Ae,black:Ae,red:Ae,green:Ae,yellow:Ae,blue:Ae,magenta:Ae,cyan:Ae,white:Ae,gray:Ae,bgBlack:Ae,bgRed:Ae,bgGreen:Ae,bgYellow:Ae,bgBlue:Ae,bgMagenta:Ae,bgCyan:Ae,bgWhite:Ae}};nc.exports=a1();nc.exports.createColors=a1;var T8=nc.exports;(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(a,c){for(var u in c)Object.defineProperty(a,u,{enumerable:!0,get:c[u]})}t(e,{dim:function(){return s},default:function(){return l}});const n=r(T8);function r(a){return a&&a.__esModule?a:{default:a}}let i=new Set;function o(a,c,u){typeof process<"u"&&{}.JEST_WORKER_ID||u&&i.has(u)||(u&&i.add(u),console.warn(""),c.forEach(f=>console.warn(a,"-",f)))}function s(a){return n.default.dim(a)}const l={info(a,c){o(n.default.bold(n.default.cyan("info")),...Array.isArray(a)?[a]:[c,a])},warn(a,c){o(n.default.bold(n.default.yellow("warn")),...Array.isArray(a)?[a]:[c,a])},risk(a,c){o(n.default.bold(n.default.magenta("risk")),...Array.isArray(a)?[a]:[c,a])}}})(l1);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=n(l1);function n(o){return o&&o.__esModule?o:{default:o}}function r({version:o,from:s,to:l}){t.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${o}, \`${s}\` has been renamed to \`${l}\`.`,"Update your configuration file to silence this warning."])}const i={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return r({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return r({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return r({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return r({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return r({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(s1);let Vs=s1;var E8=(Vs.__esModule?Vs:{default:Vs}).default;const Pt=C8(E8),k8=10,M8=10,Zf=5,qf=40,c1=rt({__name:"BaseTimelineChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||45,r=me(()=>t.width??300),i=ue();function o(l,a=!0){if(l.length===0)return 0;const c=l[l.length-1].value,u=l.length>1?l[l.length-2].value:c,f=a?c-u:u-c;return f===0?0:f>0?1:-1}function s([l,a,c,u]){if(!l||!a||!c||l.length===0||!i.value)return;i.value.replaceChildren();const f=n1().domain([a,c]).range([qf,r.value-M8]),d=Za().domain([0,u]).range([n-Zf,k8]).nice(),p=Eh("svg").attr("width",r.value).attr("height",n);p.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Zf})`).call(hh(f).ticks(0).tickSize(0).tickFormat(tc("%d.%m.%Y"))),p.select(".x-axis-group .domain").attr("stroke",Pt.gray[400]),p.selectAll(".x-axis-group .tick text").attr("fill",Pt.gray[400]),p.append("g").classed("y-axis-group",!0).attr("transform",`translate(${qf},0)`).call(mh(d).tickValues([0,u]).tickSize(0).tickPadding(5)),p.select(".y-axis-group .domain").attr("stroke",Pt.gray[400]),p.selectAll(".y-axis-group .tick text").attr("fill",Pt.gray[400]);const h=o(l,t.higherIsPositive),m=p.append("g").classed("path-group",!0).classed("trend-positive",h===1).classed("trend-negative",h===-1);m.append("path").datum(l).attr("stroke-width",1.5).attr("d",Po().x(function(x){return f(x.date)}).y(function(x){return d(x.value)}));const v=m.selectAll("myCircles").data(l).enter().append("g");v.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(x){return f(x.date)}).attr("cy",function(x){return d(x.value)}).classed("chart-point",!0),v.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(x){return f(x.date)}).attr("cy",function(x){return d(x.value)});const y=document.querySelector(".d3-tooltip"),b=y?Ti(y):i1(Ti("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});o1(p.selectAll(".chart-point"),b,{useData:t.tooltipContent});const _=p.append("g").classed("releases-group",!0);Ie.releases.forEach(x=>{const S=f(new Date(x.published_at));_.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",Po()([[S,d(0)],[S,d(u)]]))}),i.value.append(p.node())}return mt(()=>{s([t.data,t.startDate,t.endDate,t.maxY])}),We([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],s),(l,a)=>(E(),j("div",{ref_key:"container",ref:i},null,512))}});const Xf=10,Hs=10,Qf=90,Vr=70,A8=rt({__name:"BaseTimelineDetailedChart",props:{data:{},maxY:{},width:{},startDate:{},endDate:{},height:{},tooltipContent:{type:Function},yAxisTitle:{},workflow:{},label:{},higherIsPositive:{type:Boolean}},setup(e){const t=e,n=t.height||60,r=me(()=>t.width??300),i=me(()=>{let c="";return t.yAxisTitle&&(c=t.yAxisTitle,t.workflow&&(c=`${t.workflow} - ${c}`)),c}),o=me(()=>{let c=-(n/2+Xf);return c-=i.value.length**1.3,Math.round(c)}),s=ue();function l(c,u=!0){if(c.length===0)return 0;const f=c[c.length-1].value,d=c.length>1?c[c.length-2].value:f,p=u?f-d:d-f;return p===0?0:p>0?1:-1}function a([c,u,f,d]){if(!c||!u||!f||c.length===0)return;const p=n1().domain([u,f]).range([Vr,r.value-Hs]),h=Za().domain([0,d]).range([n-Qf,Xf]),m=Eh("svg").attr("width",r.value-Hs).attr("height",n).classed("!overflow-visible",!0);m.append("g").classed("x-axis-group",!0).attr("transform",`translate(0,${n-Qf})`).call(hh(p).ticks(6).tickPadding(8).tickSize(5).tickFormat(tc("%d.%m.%Y"))).selectAll("text").style("text-anchor","end").attr("dx","-0.9em").attr("dy","-0.2em").attr("transform","rotate(-60)"),m.select(".x-axis-group .domain").attr("stroke",Pt.gray[400]),m.selectAll(".x-axis-group .tick text").attr("fill",Pt.gray[400]),m.append("text").attr("x",r.value/2-Vr).attr("y",n).text("Date").attr("fill",Pt.gray[400]),m.append("g").classed("y-axis-group",!0).attr("transform",`translate(${Vr},0)`).call(mh(h).ticks(6).tickSize(0).tickPadding(5).tickSizeInner(-r.value+Vr+Hs)),m.append("text").attr("transform","rotate(-90)").attr("y",Vr-55).attr("x",o.value).text(i.value).attr("fill",Pt.gray[400]),m.select(".y-axis-group .domain").attr("stroke",Pt.gray[400]),m.selectAll(".y-axis-group .tick text").attr("fill",Pt.gray[400]);const v=l(c,t.higherIsPositive),y=m.append("g").classed("path-group",!0).classed("trend-positive",v===1).classed("trend-negative",v===-1);y.append("path").datum(c).attr("stroke-width",1.5).attr("d",Po().x(function(O){return p(O.date)}).y(function(O){return h(O.value)}));const b=y.selectAll("myCircles").data(c).enter().append("g");b.append("circle").attr("r",10).style("fill","transparent").style("cursor","pointer").attr("cx",function(O){return p(O.date)}).attr("cy",function(O){return h(O.value)}).classed("chart-point",!0),b.append("circle").attr("r",2).classed("pointer-events-none",!0).attr("cx",function(O){return p(O.date)}).attr("cy",function(O){return h(O.value)});const _=document.querySelector(".d3-tooltip"),x=_?Ti(_):i1(Ti("body"),{classes:"border border-gray-300 bg-white p-2 rounded-md"});o1(m.selectAll(".chart-point"),x,{useData:t.tooltipContent});const S=m.append("g").classed("releases-group",!0);Ie.releases.forEach(O=>{const P=p(new Date(O.published_at)),R=S.append("g");R.append("path").attr("stroke-width",1.5).attr("stroke-dasharray",4).attr("d",Po()([[P,h(0)],[P,h(d)]]));const q=R.append("g").attr("transform","translate(-79 0)");q.append("rect").attr("x",P).attr("y",h(d)).attr("width",80).attr("height",18).style("fill","white"),q.append("svg:a").attr("xlink:href",()=>O.html_url).append("text").classed("tag-name",!0).attr("y",h(d)).attr("x",P).attr("dy",12).attr("dx",8).text(O.tag_name).attr("stroke","none").attr("fill",Pt.gray[600]).style("cursor","pointer"),R.on("mouseenter",function(X){this.parentElement.appendChild(this)})}),s.value&&(s.value.replaceChildren(),s.value.append(m.node()))}return mt(()=>{a([t.data,t.startDate,t.endDate,t.maxY])}),We([()=>t.data,()=>t.startDate,()=>t.endDate,()=>t.maxY],a),(c,u)=>(E(),j(se,null,[C("h3",null,Y(c.label),1),C("div",{class:"svg-container",ref_key:"container",ref:s},null,512)],64))}});const u1=pn(A8,[["__scopeId","data-v-1adc9a9f"]]),rc=un({maxValues:{},setMaxValue(e,t){this.maxValues[e]=t},getMaxValue(e){return this.maxValues[e]??0}}),Ze={CER_MEAN:"cer_mean",CER_MEDIAN:"cer_median",WER:"wer",PAGES_PER_MINUTE:"pages_per_minute",CER_STANDARD_DEVIATION:"cer_standard_deviation",WALL_TIME:"wall_time",CPU_TIME:"cpu_time"};function f1(e){return e===Ze.CER_MEAN||e===Ze.CER_MEDIAN||e===Ze.CER_STANDARD_DEVIATION||e===Ze.WER?"percentage":e===Ze.WALL_TIME?"seconds":e===Ze.PAGES_PER_MINUTE?"pages":e===Ze.CPU_TIME?"seconds":""}function j8(e,t=[]){const n=t.map(r=>{const i=r.evaluation_results.document_wide[e];return Array.isArray(i)?Math.max(...i):i??0})??[];return Math.max(...n)}function Lo(e){return e===Ze.CER_MEAN||e===Ze.CER_MEDIAN||e===Ze.CER_STANDARD_DEVIATION||e===Ze.WER||e===Ze.WALL_TIME?!1:e===Ze.PAGES_PER_MINUTE?!0:(e===Ze.CPU_TIME,!1)}const P8=rt({__name:"MetricChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{},gtName:{}},setup(e){const t=e,{t:n}=wt(),r=ue([]),i=me(()=>rc.maxValues[t.metric]??0),o=ue(null);mt(async()=>{s()}),We(()=>t.metric,s);function s(){t.runs&&(r.value=l(t.runs,t.metric))}function l(c,u){return c.map(({metadata:f,evaluation_results:d})=>{const p=d.document_wide[u];return{date:new Date(f.timestamp),value:p}})}function a(c){return dh(c,t.metric)}return(c,u)=>(E(),j(se,null,[C("div",{onClick:u[0]||(u[0]=f=>{var d;return(d=o.value)==null?void 0:d.toggle(f)}),class:"cursor-pointer flex justify-end"},[te(c1,{data:r.value,"max-y":i.value,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,width:400,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),te(ne(Wn),{ref_key:"op",ref:o,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:ke(()=>[te(u1,{data:r.value,"max-y":i.value,"y-axis-title":`${ne(n)(c.metric)} (${ne(n)(ne(f1)(c.metric))})`,workflow:c.workflowName,label:c.gtName,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,height:400,width:660,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","y-axis-title","workflow","label","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),L8=rt({__name:"MetricAverageChart",props:{runs:{},metric:{},startDate:{},endDate:{},workflowName:{},gtName:{}},setup(e){const t=e,{t:n}=wt(),r=ue([]),i=me(()=>rc.maxValues[t.metric]??0),o=ue(null);mt(async()=>{s()}),We(()=>t.metric,s);function s(){t.runs&&(r.value=l(t.runs,t.metric))}function l(c,u){const f=c.reduce((d,p)=>{const h=new Date(new Date(p.metadata.timestamp).setHours(0,0,0,0)).toDateString(),m=p.evaluation_results.document_wide[u];return!m||Array.isArray(m)||(d[h]?d[h]=[...d[h],m]:d[h]=[m]),d},{});return Object.keys(f).sort((d,p)=>new Date(d)-new Date(p)).map(d=>{const p=f[d].reduce((h,m)=>h+m,0)/f[d].length;return{date:new Date(d),value:p}})}function a(c){return dh(c,t.metric)}return(c,u)=>(E(),j(se,null,[C("div",{onClick:u[0]||(u[0]=f=>{var d;return(d=o.value)==null?void 0:d.toggle(f)}),class:"cursor-pointer flex"},[te(c1,{data:r.value,"max-y":i.value,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,width:400,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","start-date","end-date","higher-is-positive"])]),te(ne(Wn),{ref_key:"op",ref:o,pt:{root:{class:"z-[1111] bg-white border rounded-md shadow-md p-5"}}},{default:ke(()=>[te(u1,{data:r.value,"max-y":i.value,"y-axis-title":`${ne(n)(c.metric)} (${ne(n)(ne(f1)(c.metric))})`,workflow:c.workflowName,label:c.gtName,"start-date":c.startDate,"end-date":c.endDate,"tooltip-content":a,height:400,width:660,"higher-is-positive":ne(Lo)(c.metric)},null,8,["data","max-y","y-axis-title","workflow","label","start-date","end-date","higher-is-positive"])]),_:1},512)],64))}}),oi=/^[a-z0-9]+(-[a-z0-9]+)*$/,cs=(e,t,n,r="")=>{const i=e.split(":");if(e.slice(0,1)==="@"){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){const l=i.pop(),a=i.pop(),c={provider:i.length>0?i[0]:r,prefix:a,name:l};return t&&!ao(c)?null:c}const o=i[0],s=o.split("-");if(s.length>1){const l={provider:r,prefix:s.shift(),name:s.join("-")};return t&&!ao(l)?null:l}if(n&&r===""){const l={provider:r,prefix:"",name:o};return t&&!ao(l,n)?null:l}return null},ao=(e,t)=>e?!!((e.provider===""||e.provider.match(oi))&&(t&&e.prefix===""||e.prefix.match(oi))&&e.name.match(oi)):!1,d1=Object.freeze({left:0,top:0,width:16,height:16}),$o=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),us=Object.freeze({...d1,...$o}),Hl=Object.freeze({...us,body:"",hidden:!1});function $8(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function Jf(e,t){const n=$8(e,t);for(const r in Hl)r in $o?r in e&&!(r in n)&&(n[r]=$o[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function F8(e,t){const n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function o(s){if(n[s])return i[s]=[];if(!(s in i)){i[s]=null;const l=r[s]&&r[s].parent,a=l&&o(l);a&&(i[s]=[l].concat(a))}return i[s]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(o),i}function D8(e,t,n){const r=e.icons,i=e.aliases||Object.create(null);let o={};function s(l){o=Jf(r[l]||i[l],o)}return s(t),n.forEach(s),Jf(e,o)}function p1(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(i=>{t(i,null),n.push(i)});const r=F8(e);for(const i in r){const o=r[i];o&&(t(i,D8(e,i,o)),n.push(i))}return n}const z8={provider:"",aliases:{},not_found:{},...d1};function Bs(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function h1(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Bs(e,z8))return null;const n=t.icons;for(const i in n){const o=n[i];if(!i.match(oi)||typeof o.body!="string"||!Bs(o,Hl))return null}const r=t.aliases||Object.create(null);for(const i in r){const o=r[i],s=o.parent;if(!i.match(oi)||typeof s!="string"||!n[s]&&!r[s]||!Bs(o,Hl))return null}return t}const ed=Object.create(null);function R8(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function qn(e,t){const n=ed[e]||(ed[e]=Object.create(null));return n[t]||(n[t]=R8(e,t))}function ic(e,t){return h1(t)?p1(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function N8(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ai=!1;function m1(e){return typeof e=="boolean"&&(Ai=e),Ai}function V8(e){const t=typeof e=="string"?cs(e,!0,Ai):e;if(t){const n=qn(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function H8(e,t){const n=cs(e,!0,Ai);if(!n)return!1;const r=qn(n.provider,n.prefix);return N8(r,n.name,t)}function B8(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ai&&!t&&!e.prefix){let i=!1;return h1(e)&&(e.prefix="",p1(e,(o,s)=>{s&&H8(o,s)&&(i=!0)})),i}const n=e.prefix;if(!ao({provider:t,prefix:n,name:"a"}))return!1;const r=qn(t,n);return!!ic(r,e)}const g1=Object.freeze({width:null,height:null}),y1=Object.freeze({...g1,...$o}),U8=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K8=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function td(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(U8);if(r===null||!r.length)return e;const i=[];let o=r.shift(),s=K8.test(o);for(;;){if(s){const l=parseFloat(o);isNaN(l)?i.push(o):i.push(Math.ceil(l*t*n)/n)}else i.push(o);if(o=r.shift(),o===void 0)return i.join("");s=!s}}const W8=e=>e==="unset"||e==="undefined"||e==="none";function G8(e,t){const n={...us,...e},r={...y1,...t},i={left:n.left,top:n.top,width:n.width,height:n.height};let o=n.body;[n,r].forEach(h=>{const m=[],v=h.hFlip,y=h.vFlip;let b=h.rotate;v?y?b+=2:(m.push("translate("+(i.width+i.left).toString()+" "+(0-i.top).toString()+")"),m.push("scale(-1 1)"),i.top=i.left=0):y&&(m.push("translate("+(0-i.left).toString()+" "+(i.height+i.top).toString()+")"),m.push("scale(1 -1)"),i.top=i.left=0);let _;switch(b<0&&(b-=Math.floor(b/4)*4),b=b%4,b){case 1:_=i.height/2+i.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(i.width/2+i.left).toString()+" "+(i.height/2+i.top).toString()+")");break;case 3:_=i.width/2+i.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}b%2===1&&(i.left!==i.top&&(_=i.left,i.left=i.top,i.top=_),i.width!==i.height&&(_=i.width,i.width=i.height,i.height=_)),m.length&&(o=''+o+"")});const s=r.width,l=r.height,a=i.width,c=i.height;let u,f;s===null?(f=l===null?"1em":l==="auto"?c:l,u=td(f,a/c)):(u=s==="auto"?a:s,f=l===null?td(u,c/a):l==="auto"?c:l);const d={},p=(h,m)=>{W8(m)||(d[h]=m.toString())};return p("width",u),p("height",f),d.viewBox=i.left.toString()+" "+i.top.toString()+" "+a.toString()+" "+c.toString(),{attributes:d,body:o}}const Y8=/\sid="(\S+)"/g,Z8="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let q8=0;function X8(e,t=Z8){const n=[];let r;for(;r=Y8.exec(e);)n.push(r[1]);if(!n.length)return e;const i="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(o=>{const s=typeof t=="function"?t(o):t+(q8++).toString(),l=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+s+i+"$3")}),e=e.replace(new RegExp(i,"g"),""),e}const Bl=Object.create(null);function Q8(e,t){Bl[e]=t}function Ul(e){return Bl[e]||Bl[""]}function oc(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const sc=Object.create(null),Hr=["https://api.simplesvg.com","https://api.unisvg.com"],co=[];for(;Hr.length>0;)Hr.length===1||Math.random()>.5?co.push(Hr.shift()):co.push(Hr.pop());sc[""]=oc({resources:["https://api.iconify.design"].concat(co)});function J8(e,t){const n=oc(t);return n===null?!1:(sc[e]=n,!0)}function lc(e){return sc[e]}const eS=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let nd=eS();function tS(e,t){const n=lc(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let i=0;n.resources.forEach(s=>{i=Math.max(i,s.length)});const o=t+".json?icons=";r=n.maxURL-i-n.path.length-o.length}return r}function nS(e){return e===404}const rS=(e,t,n)=>{const r=[],i=tS(e,t),o="icons";let s={type:o,provider:e,prefix:t,icons:[]},l=0;return n.forEach((a,c)=>{l+=a.length+1,l>=i&&c>0&&(r.push(s),s={type:o,provider:e,prefix:t,icons:[]},l=a.length),s.icons.push(a)}),r.push(s),r};function iS(e){if(typeof e=="string"){const t=lc(e);if(t)return t.path}return"/"}const oS=(e,t,n)=>{if(!nd){n("abort",424);return}let r=iS(t.provider);switch(t.type){case"icons":{const o=t.prefix,l=t.icons.join(","),a=new URLSearchParams({icons:l});r+=o+".json?"+a.toString();break}case"custom":{const o=t.uri;r+=o.slice(0,1)==="/"?o.slice(1):o;break}default:n("abort",400);return}let i=503;nd(e+r).then(o=>{const s=o.status;if(s!==200){setTimeout(()=>{n(nS(s)?"abort":"next",s)});return}return i=501,o.json()}).then(o=>{if(typeof o!="object"||o===null){setTimeout(()=>{o===404?n("abort",o):n("next",i)});return}setTimeout(()=>{n("success",o)})}).catch(()=>{n("next",i)})},sS={prepare:rS,send:oS};function lS(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((i,o)=>i.provider!==o.provider?i.provider.localeCompare(o.provider):i.prefix!==o.prefix?i.prefix.localeCompare(o.prefix):i.name.localeCompare(o.name));let r={provider:"",prefix:"",name:""};return e.forEach(i=>{if(r.name===i.name&&r.prefix===i.prefix&&r.provider===i.provider)return;r=i;const o=i.provider,s=i.prefix,l=i.name,a=n[o]||(n[o]=Object.create(null)),c=a[s]||(a[s]=qn(o,s));let u;l in c.icons?u=t.loaded:s===""||c.missing.has(l)?u=t.missing:u=t.pending;const f={provider:o,prefix:s,name:l};u.push(f)}),t}function v1(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(i=>i.id!==t))})}function aS(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,i=e.prefix;t.forEach(o=>{const s=o.icons,l=s.pending.length;s.pending=s.pending.filter(a=>{if(a.prefix!==i)return!0;const c=a.name;if(e.icons[c])s.loaded.push({provider:r,prefix:i,name:c});else if(e.missing.has(c))s.missing.push({provider:r,prefix:i,name:c});else return n=!0,!0;return!1}),s.pending.length!==l&&(n||v1([e],o.id),o.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),o.abort))})}))}let cS=0;function uS(e,t,n){const r=cS++,i=v1.bind(null,n,r);if(!t.pending.length)return i;const o={id:r,icons:t,callback:e,abort:i};return n.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(o)}),i}function fS(e,t=!0,n=!1){const r=[];return e.forEach(i=>{const o=typeof i=="string"?cs(i,t,n):i;o&&r.push(o)}),r}var dS={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pS(e,t,n,r){const i=e.resources.length,o=e.random?Math.floor(Math.random()*i):e.index;let s;if(e.random){let O=e.resources.slice(0);for(s=[];O.length>1;){const P=Math.floor(Math.random()*O.length);s.push(O[P]),O=O.slice(0,P).concat(O.slice(P+1))}s=s.concat(O)}else s=e.resources.slice(o).concat(e.resources.slice(0,o));const l=Date.now();let a="pending",c=0,u,f=null,d=[],p=[];typeof r=="function"&&p.push(r);function h(){f&&(clearTimeout(f),f=null)}function m(){a==="pending"&&(a="aborted"),h(),d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function v(O,P){P&&(p=[]),typeof O=="function"&&p.push(O)}function y(){return{startTime:l,payload:t,status:a,queriesSent:c,queriesPending:d.length,subscribe:v,abort:m}}function b(){a="failed",p.forEach(O=>{O(void 0,u)})}function _(){d.forEach(O=>{O.status==="pending"&&(O.status="aborted")}),d=[]}function x(O,P,R){const q=P!=="success";switch(d=d.filter(X=>X!==O),a){case"pending":break;case"failed":if(q||!e.dataAfterTimeout)return;break;default:return}if(P==="abort"){u=R,b();return}if(q){u=R,d.length||(s.length?S():b());return}if(h(),_(),!e.random){const X=e.resources.indexOf(O.resource);X!==-1&&X!==e.index&&(e.index=X)}a="completed",p.forEach(X=>{X(R)})}function S(){if(a!=="pending")return;h();const O=s.shift();if(O===void 0){if(d.length){f=setTimeout(()=>{h(),a==="pending"&&(_(),b())},e.timeout);return}b();return}const P={status:"pending",resource:O,callback:(R,q)=>{x(P,R,q)}};d.push(P),c++,f=setTimeout(S,e.rotate),n(O,t,P.callback)}return setTimeout(S),y}function b1(e){const t={...dS,...e};let n=[];function r(){n=n.filter(l=>l().status==="pending")}function i(l,a,c){const u=pS(t,l,a,(f,d)=>{r(),c&&c(f,d)});return n.push(u),u}function o(l){return n.find(a=>l(a))||null}return{query:i,find:o,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:r}}function rd(){}const Us=Object.create(null);function hS(e){if(!Us[e]){const t=lc(e);if(!t)return;const n=b1(t),r={config:t,redundancy:n};Us[e]=r}return Us[e]}function mS(e,t,n){let r,i;if(typeof e=="string"){const o=Ul(e);if(!o)return n(void 0,424),rd;i=o.send;const s=hS(e);s&&(r=s.redundancy)}else{const o=oc(e);if(o){r=b1(o);const s=e.resources?e.resources[0]:"",l=Ul(s);l&&(i=l.send)}}return!r||!i?(n(void 0,424),rd):r.query(t,i,n)().abort}const id="iconify2",ji="iconify",x1=ji+"-count",od=ji+"-version",w1=36e5,gS=168;function Kl(e,t){try{return e.getItem(t)}catch{}}function ac(e,t,n){try{return e.setItem(t,n),!0}catch{}}function sd(e,t){try{e.removeItem(t)}catch{}}function Wl(e,t){return ac(e,x1,t.toString())}function Gl(e){return parseInt(Kl(e,x1))||0}const fs={local:!0,session:!0},_1={local:new Set,session:new Set};let cc=!1;function yS(e){cc=e}let eo=typeof window>"u"?{}:window;function S1(e){const t=e+"Storage";try{if(eo&&eo[t]&&typeof eo[t].length=="number")return eo[t]}catch{}fs[e]=!1}function O1(e,t){const n=S1(e);if(!n)return;const r=Kl(n,od);if(r!==id){if(r){const l=Gl(n);for(let a=0;a{const a=ji+l.toString(),c=Kl(n,a);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>i&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}sd(n,a)}};let s=Gl(n);for(let l=s-1;l>=0;l--)o(l)||(l===s-1?(s--,Wl(n,s)):_1[e].add(l))}function I1(){if(!cc){yS(!0);for(const e in fs)O1(e,t=>{const n=t.data,r=t.provider,i=n.prefix,o=qn(r,i);if(!ic(o,n).length)return!1;const s=n.lastModified||-1;return o.lastModifiedCached=o.lastModifiedCached?Math.min(o.lastModifiedCached,s):s,!0})}}function vS(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in fs)O1(r,i=>{const o=i.data;return i.provider!==e.provider||o.prefix!==e.prefix||o.lastModified===t});return!0}function bS(e,t){cc||I1();function n(r){let i;if(!fs[r]||!(i=S1(r)))return;const o=_1[r];let s;if(o.size)o.delete(s=Array.from(o).shift());else if(s=Gl(i),!Wl(i,s+1))return;const l={cached:Math.floor(Date.now()/w1),provider:e.provider,data:t};return ac(i,ji+s.toString(),JSON.stringify(l))}t.lastModified&&!vS(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function ld(){}function xS(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,aS(e)}))}function wS(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,i=e.iconsToLoad;delete e.iconsToLoad;let o;if(!i||!(o=Ul(n)))return;o.prepare(n,r,i).forEach(l=>{mS(n,l,a=>{if(typeof a!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ic(e,a);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),bS(e,a)}catch(c){console.error(c)}xS(e)})})}))}const _S=(e,t)=>{const n=fS(e,!0,m1()),r=lS(n);if(!r.pending.length){let a=!0;return t&&setTimeout(()=>{a&&t(r.loaded,r.missing,r.pending,ld)}),()=>{a=!1}}const i=Object.create(null),o=[];let s,l;return r.pending.forEach(a=>{const{provider:c,prefix:u}=a;if(u===l&&c===s)return;s=c,l=u,o.push(qn(c,u));const f=i[c]||(i[c]=Object.create(null));f[u]||(f[u]=[])}),r.pending.forEach(a=>{const{provider:c,prefix:u,name:f}=a,d=qn(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),i[c][u].push(f))}),o.forEach(a=>{const{provider:c,prefix:u}=a;i[c][u].length&&wS(a,i[c][u])}),t?uS(t,r,o):ld};function SS(e,t){const n={...e};for(const r in t){const i=t[r],o=typeof i;r in g1?(i===null||i&&(o==="string"||o==="number"))&&(n[r]=i):o===typeof n[r]&&(n[r]=r==="rotate"?i%4:i)}return n}const OS=/[\s,]+/;function IS(e,t){t.split(OS).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function CS(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(i){for(;i<0;)i+=4;return i%4}if(n===""){const i=parseInt(e);return isNaN(i)?0:r(i)}else if(n!==e){let i=0;switch(n){case"%":i=25;break;case"deg":i=90}if(i){let o=parseFloat(e.slice(0,e.length-n.length));return isNaN(o)?0:(o=o/i,o%1===0?r(o):0)}}return t}function TS(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'"+e+""}function ES(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function kS(e){return"data:image/svg+xml,"+ES(e)}function MS(e){return'url("'+kS(e)+'")'}const ad={...y1,inline:!1},AS={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},jS={display:"inline-block"},Yl={backgroundColor:"currentColor"},C1={backgroundColor:"transparent"},cd={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ud={webkitMask:Yl,mask:Yl,background:C1};for(const e in ud){const t=ud[e];for(const n in cd)t[e+n]=cd[n]}const uo={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";uo[e+"-flip"]=t,uo[e.slice(0,1)+"-flip"]=t,uo[e+"Flip"]=t});function fd(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const dd=(e,t)=>{const n=SS(ad,t),r={...AS},i=t.mode||"svg",o={},s=t.style,l=typeof s=="object"&&!(s instanceof Array)?s:{};for(let m in t){const v=t[m];if(v!==void 0)switch(m){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[m]=v===!0||v==="true"||v===1;break;case"flip":typeof v=="string"&&IS(n,v);break;case"color":o.color=v;break;case"rotate":typeof v=="string"?n[m]=CS(v):typeof v=="number"&&(n[m]=v);break;case"ariaHidden":case"aria-hidden":v!==!0&&v!=="true"&&delete r["aria-hidden"];break;default:{const y=uo[m];y?(v===!0||v==="true"||v===1)&&(n[y]=!0):ad[m]===void 0&&(r[m]=v)}}}const a=G8(e,n),c=a.attributes;if(n.inline&&(o.verticalAlign="-0.125em"),i==="svg"){r.style={...o,...l},Object.assign(r,c);let m=0,v=t.id;return typeof v=="string"&&(v=v.replace(/-/g,"_")),r.innerHTML=X8(a.body,v?()=>v+"ID"+m++:"iconifyVue"),Kn("svg",r)}const{body:u,width:f,height:d}=e,p=i==="mask"||(i==="bg"?!1:u.indexOf("currentColor")!==-1),h=TS(u,{...c,width:f+"",height:d+""});return r.style={...o,"--svg":MS(h),width:fd(c.width),height:fd(c.height),...jS,...p?Yl:C1,...l},Kn("span",r)};m1(!0);Q8("",sS);if(typeof document<"u"&&typeof window<"u"){I1();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!B8(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const i=t[n];if(typeof i!="object"||!i||i.resources===void 0)continue;J8(n,i)||console.error(r)}catch{console.error(r)}}}}const PS={...us,body:""},Nn=rt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=cs(e,!1,!0))===null)return this.abortLoading(),null;const r=V8(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:_S([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const i=["iconify"];return n.prefix!==""&&i.push("iconify--"+n.prefix),n.provider!==""&&i.push("iconify--"+n.provider),{data:r,classes:i}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return dd(PS,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),dd({...us,...t.data},n)}}),LS={root:({props:e})=>({class:["cursor-pointer inline-flex relative select-none","bg-white border border-gray-300 transition-colors duration-200 ease-in-out rounded-md","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300","w-full md:w-56","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:({props:e})=>({class:["cursor-pointer block flex flex-auto overflow-hidden text-ellipsis whitespace-nowrap relative","bg-transparent border-0 text-gray-800","dark:text-white/80","p-3 transition duration-200 bg-transparent rounded appearance-none font-sans text-base","focus:outline-none focus:shadow-none",{"pr-7":e.showClear}]}),trigger:{class:["flex items-center justify-center shrink-0","bg-transparent text-gray-500 w-12 rounded-tr-lg rounded-br-lg"]},wrapper:{class:["max-h-[200px] overflow-auto","bg-white text-gray-700 border-0 rounded-md shadow-lg","dark:bg-gray-900 dark:text-white/80"]},list:{class:"py-3 list-none m-0"},item:({context:e})=>({class:["cursor-pointer font-normal overflow-hidden relative whitespace-nowrap","m-0 p-3 border-0 transition-shadow duration-200 rounded-none",{"text-gray-700 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":!e.focused&&!e.selected,"bg-gray-300 text-gray-700 dark:text-white/80 dark:bg-gray-800/90 hover:text-gray-700 hover:bg-gray-200 dark:text-white/80 dark:hover:bg-gray-800":e.focused&&!e.selected,"bg-primary-100 text-primary dark:bg-primary-400 dark:text-white/80":e.focused&&e.selected,"bg-primary-50 text-primary dark:bg-primary-300 dark:text-white/80":!e.focused&&e.selected}]}),itemgroup:{class:["m-0 p-3 text-gray-800 bg-white font-bold","dark:bg-gray-900 dark:text-white/80","cursor-auto"]},header:{class:["p-3 border-b border-gray-300 text-gray-700 bg-gray-100 mt-0 rounded-tl-lg rounded-tr-lg","dark:bg-gray-800 dark:text-white/80 dark:border-primary-900/40"]},filtercontainer:{class:"relative"},filterinput:{class:["pr-7 -mr-7","w-full","font-sans text-base text-gray-700 bg-white py-3 px-3 border border-gray-300 transition duration-200 rounded-lg appearance-none","dark:bg-gray-900 dark:border-primary-900/40 dark:hover:border-primary-300 dark:text-white/80","hover:border-primary focus:outline-none focus:outline-offset-0 focus:shadow-[0_0_0_0.2rem_rgba(191,219,254,1)] dark:focus:shadow-[0_0_0_0.2rem_rgba(147,197,253,0.5)]"]},filtericon:{class:"-mt-2 absolute top-1/2"},clearicon:{class:"text-gray-500 right-12 -mt-2 absolute top-1/2"}},Zl={root:"bg-white border border-gray-300 rounded-md"};var $S=` @layer primevue { .p-badge { display: inline-block; @@ -923,8 +923,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho border-radius: 50%; } } -`,FS={root:function(t){var n=t.props,r=t.instance;return["p-badge p-component",{"p-badge-no-gutter":U.isNotEmpty(n.value)&&String(n.value).length===1,"p-badge-dot":U.isEmpty(n.value)&&!r.$slots.default,"p-badge-lg":n.size==="large","p-badge-xl":n.size==="xlarge","p-badge-info":n.severity==="info","p-badge-success":n.severity==="success","p-badge-warning":n.severity==="warning","p-badge-danger":n.severity==="danger"}]}},DS=gt.extend({name:"badge",css:$S,classes:FS}),zS={name:"BaseBadge",extends:Xt,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:DS,provide:function(){return{$parentInstance:this}}},T1={name:"Badge",extends:zS};function RS(e,t,n,r,i,o){return E(),j("span",$({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"badge"}),[le(e.$slots,"default",{},function(){return[et(Y(e.value),1)]})],16)}T1.render=RS;function Pi(e){"@babel/helpers - typeof";return Pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pi(e)}function bn(e,t,n){return t=NS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NS(e){var t=VS(e,"string");return Pi(t)==="symbol"?t:String(t)}function VS(e,t){if(Pi(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pi(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var HS={root:function(t){var n=t.instance,r=t.props;return["p-button p-component",bn(bn(bn(bn(bn(bn(bn(bn({"p-button-icon-only":n.hasIcon&&!r.label&&!r.badge,"p-button-vertical":(r.iconPos==="top"||r.iconPos==="bottom")&&r.label,"p-disabled":n.$attrs.disabled||n.$attrs.disabled===""||r.loading,"p-button-loading":r.loading,"p-button-loading-label-only":r.loading&&!n.hasIcon&&r.label,"p-button-link":r.link},"p-button-".concat(r.severity),r.severity),"p-button-raised",r.raised),"p-button-rounded",r.rounded),"p-button-text",r.text),"p-button-outlined",r.outlined),"p-button-sm",r.size==="small"),"p-button-lg",r.size==="large"),"p-button-plain",r.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var n=t.props;return["p-button-icon",{"p-button-icon-left":n.iconPos==="left"&&n.label,"p-button-icon-right":n.iconPos==="right"&&n.label,"p-button-icon-top":n.iconPos==="top"&&n.label,"p-button-icon-bottom":n.iconPos==="bottom"&&n.label}]},label:"p-button-label"},BS=gt.extend({name:"button",classes:HS}),US={name:"BaseButton",extends:Xt,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:BS,provide:function(){return{$parentInstance:this}}},Fo={name:"Button",extends:US,methods:{getPTOptions:function(t){var n,r;return this.ptm(t,{parent:{props:(n=this.$parent)===null||n===void 0?void 0:n.$props,state:(r=this.$parent)===null||r===void 0?void 0:r.$data},context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs["aria-label"]},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:Di,Badge:T1},directives:{ripple:Xn}},KS=["aria-label","disabled","data-pc-severity"];function WS(e,t,n,r,i,o){var s=dt("SpinnerIcon"),l=dt("Badge"),a=Cn("ripple");return Ot((E(),j("button",$({class:e.cx("root"),type:"button","aria-label":o.defaultAriaLabel,disabled:o.disabled},o.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[le(e.$slots,"default",{},function(){return[e.loading?le(e.$slots,"loadingicon",{key:0,class:Pe([e.cx("loadingIcon"),e.cx("icon")])},function(){return[e.loadingIcon?(E(),j("span",$({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(E(),Ee(s,$({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]}):le(e.$slots,"icon",{key:1,class:Pe([e.cx("icon")])},function(){return[e.icon?(E(),j("span",$({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):ye("",!0)]}),C("span",$({class:e.cx("label")},e.ptm("label")),Y(e.label||" "),17),e.badge?(E(),Ee(l,$({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):ye("",!0)]})],16,KS)),[[a]])}Fo.render=WS;const GS={class:"flex flex-wrap md:grid md:grid-cols-3 md:space-x-0 md:gap-2 lg:flex lg:space-x-5 lg:flex-nowrap items-start text-sm text-slate-700"},YS={class:"flex flex-col"},ZS={class:"font-medium"},qS={key:0},XS={key:1},QS={key:0,class:"flex flex-col py-1 space-y-1 overflow-y-scroll max-w-[80vw] sm:max-w-[90vw] max-h-[300px]"},JS={key:1,class:"py-1 px-2"},eO={class:"flex space-x-2 p-4"},tO={class:"border-b-2 border-gray-300"},nO=rt({__name:"TimelineItemMetadata",props:{gtMetadata:{}},setup(e){const{t}=xt(),n=e,r=ue(),i=ue(),o={label:t("volume"),data:Array.isArray(n.gtMetadata.volume)?n.gtMetadata.volume.reduce((c,u)=>({...c,[u.metric]:u.count}),{}):n.gtMetadata.volume},s=[{label:t("language",n.gtMetadata.language.length),data:n.gtMetadata.language,isArray:!0},{label:t("script",n.gtMetadata.script.length),data:n.gtMetadata.script,isArray:!0},{label:t("script-type"),data:n.gtMetadata["script-type"]}];function l(c){var u;(u=r.value)==null||u.toggle(c)}function a(c){var u;(u=i.value)==null||u.toggle(c)}return(c,u)=>(E(),j(se,null,[C("div",GS,[(E(),j(se,null,He(s,f=>{var d;return C("div",{key:f.label,class:"mr-5 mb-5 md:mr-0 md:mb-0"},[C("div",YS,[C("span",ZS,Y(f.label)+":",1),f.isArray?(E(),j("span",qS,Y((d=f.data)==null?void 0:d.join(", ")),1)):(E(),j("span",XS,Y(f.data),1))])])}),64)),te(ne(Fo),{onClick:l,unstyled:"",pt:{root:"text-sm mr-5 md:mr-0 flex items-center bg-gray-100 text-slate-700 p-2 hover:bg-gray-200 rounded hover:text-black focus:outline-none"}},{default:ke(()=>{var f;return[C("span",null,Y(c.$t("labelling")),1),(f=r.value)!=null&&f.visible?(E(),Ee(ne(Nn),{key:0,icon:"ic:baseline-close-fullscreen",class:"ml-2"})):(E(),Ee(ne(Nn),{key:1,icon:"ic:baseline-open-in-full",class:"ml-2"}))]}),_:1}),te(ne(Fo),{onClick:a,unstyled:"",pt:{root:"text-sm flex items-center bg-gray-100 text-slate-700 p-2 hover:bg-gray-200 rounded hover:text-black focus:outline-none"}},{default:ke(()=>{var f;return[C("span",null,Y(c.$t("volume")),1),(f=i.value)!=null&&f.visible?(E(),Ee(ne(Nn),{key:0,icon:"ic:baseline-close-fullscreen",class:"ml-2"})):(E(),Ee(ne(Nn),{key:1,icon:"ic:baseline-open-in-full",class:"ml-2"}))]}),_:1})]),te(ne(Wn),{ref_key:"opLabelling",ref:r,unstyled:"",pt:ne(Zl)},{container:ke(()=>{var f;return[((f=c.gtMetadata.labelling)==null?void 0:f.length)>0?(E(),j("div",QS,[(E(!0),j(se,null,He(c.gtMetadata.labelling.slice(0).sort(),d=>(E(),j("span",{key:d,class:"hover:bg-gray-200 rounded px-2 text-sm"},Y(d),1))),128))])):(E(),j("div",JS,[C("span",null,Y(c.$t("no_labels_for_this_entry")),1)]))]}),_:1},8,["pt"]),te(ne(Wn),{ref_key:"opVolume",ref:i,unstyled:"",pt:ne(Zl)},{container:ke(()=>[C("div",eO,[(E(!0),j(se,null,He(o.data,(f,d)=>(E(),j("div",{key:d},[C("div",tO,Y(d),1),C("div",null,Y(f),1)]))),128))])]),_:1},8,["pt"])],64))}});const rO=pn(nO,[["__scopeId","data-v-de34c596"]]),iO=e=>(ua("data-v-301e1b75"),e=e(),fa(),e),oO={class:"flex flex-col px-4 pb-2"},sO={class:"flex items-center overflow-hidden"},lO=["title"],aO=["href"],cO={class:"text-xs"},uO=["href"],fO={class:"text-xs"},dO={class:"flex mt-6 md:flex-row flex-col"},pO={class:"md:w-1/2 mb-5 md:mb-0"},hO={class:"md:w-1/2 flex flex-col overflow-x-auto md:items-end"},mO={class:"font-bold pr-[240px] mb-2"},gO={class:"flex border-t border-gray-300 py-4 px-4"},yO={class:"table-fixed w-full"},vO={class:""},bO={class:"text-left pb-4"},xO={class:"text-left pb-4"},wO={class:"text-right pr-[314px] pb-4"},_O={class:"font-semibold pe-2"},SO={class:"p-1 overflow-x-auto"},OO=["onClick"],IO={class:"overflow-x-auto"},CO={class:"flex flex-col pt-2"},TO={class:"font-bold px-2 pb-2 mb-2 border-b border-gray-300"},EO={class:"overflow-y-scroll max-h-[400px] w-full"},kO={key:0,class:"text-sm border-collapse"},MO=iO(()=>C("tr",{class:""},[C("th",{class:"p-1 pl-2 font-semibold"},"Parameter"),C("th",{class:"p-1 pr-2 font-semibold"},"Value")],-1)),AO={class:"p-1 pl-2 border-collapse border border-l-0 border-b-0 border-gray-300"},jO={class:"p-1 pr-2 border-collapse border border-r-0 border-b-0 border-gray-300"},PO=rt({__name:"TimelineItem",props:{gt:{},metric:{}},setup(e){const t=ue(),n=ue(!1),r=ue(null),i=ue(new Date("2023-10-01")),o=ue(new Date),s=me(()=>Ie.workflows.filter(({id:f})=>kt.workflow.findIndex(({value:d})=>d===f)>-1));function l(f){return Yw[f]}function a(f,d){var p;r.value=f,(p=t.value)==null||p.show(d)}function c(){var f;(f=t.value)==null||f.hide()}function u(f,d){n.value?(c(),r.value!==f&&Ko(()=>{a(f,d)})):a(f,d)}return(f,d)=>(E(),j(se,null,[te(ne(uh),{header:"Header",toggleable:"",collapsed:!0,unstyled:"",pt:{root:"border border-gray-300 rounded-lg overflow-hidden",header:"pt-4",content:"",icons:"w-full flex",toggler:"w-full flex justify-center bg-gray-50 text-gray-500 p-2 hover:bg-gray-100 rounded hover:text-gray-700 focus:outline-none"}},{header:ke(()=>[C("div",oO,[C("div",sO,[C("h2",{class:"text-xl font-bold truncate mr-8",title:f.gt.label},Y(f.gt.label),9,lO),C("a",{href:f.gt.metadata.url,class:"text-gray-500 hover:text-gray-600 flex-shrink-0 ml-auto mr-2 flex items-center bg-gray-100 rounded-full py-1 px-2"},[te(ne(Nn),{icon:"mdi:github",class:"text-xl mr-1"}),C("span",cO,Y(f.gt.metadata.title),1)],8,aO),C("a",{href:f.gt.metadata.license[0].url,class:"text-gray-500 hover:text-gray-600 flex-shrink-0 flex items-center bg-gray-100 rounded-full py-1 px-2"},[te(ne(Nn),{icon:"octicon:law",class:"text-xl mr-1"}),C("span",fO,Y(f.gt.metadata.license[0].name),1)],8,uO)]),C("div",dO,[C("div",pO,[te(rO,{gtMetadata:f.gt.metadata},null,8,["gtMetadata"])]),C("div",hO,[C("h3",mO,Y(f.$t("average_timeline")),1),te(L8,{"workflow-name":f.$t("average"),"gt-name":f.gt.label,runs:ne(Ie).getRuns(f.gt.id),metric:f.metric,class:"",width:400,"start-date":i.value,"end-date":o.value},null,8,["workflow-name","gt-name","runs","metric","start-date","end-date"])])])])]),default:ke(()=>[C("div",gO,[C("table",yO,[C("thead",null,[C("tr",vO,[C("th",bO,Y(f.$t("workflows")),1),C("th",xO,Y(f.$t("processors")),1),C("th",wO,Y(f.$t("timeline")),1)])]),C("tbody",null,[(E(!0),j(se,null,He(s.value,p=>(E(),j("tr",{key:p.id},[C("td",_O,Y(p.label),1),C("td",SO,[(E(!0),j(se,null,He(p.steps,h=>(E(),j("span",{key:h.id,class:"p-1 cursor-pointer text-highlight",onClick:m=>u(h,m)},Y(l(h.id)),9,OO))),128))]),C("td",IO,[te(P8,{runs:ne(Ie).getRuns(f.gt.id,p.id),"gt-name":f.gt.label,"workflow-name":p.label,metric:f.metric,width:400,"start-date":i.value,"end-date":o.value,class:"flex justify-end"},null,8,["runs","gt-name","workflow-name","metric","start-date","end-date"])])]))),128))])])])]),togglericon:ke(({collapsed:p})=>[te(ne(Nn),{icon:p?"bi:chevron-down":"bi:chevron-up"},null,8,["icon"])]),_:1}),te(ne(Wn),{ref_key:"op",ref:t,pt:ne(Zl),onShow:d[0]||(d[0]=p=>n.value=!0),onHide:d[1]||(d[1]=p=>n.value=!1)},{default:ke(()=>{var p;return[C("div",CO,[C("h2",TO,Y((p=r.value)==null?void 0:p.id),1),C("div",EO,[r.value?(E(),j("table",kO,[MO,(E(!0),j(se,null,He(Object.keys(r.value.params),h=>(E(),j("tr",{key:h},[C("td",AO,Y(h),1),C("td",jO,Y(r.value.params[h]),1)]))),128))])):ye("",!0)])])]}),_:1},8,["pt"])],64))}});const LO=pn(PO,[["__scopeId","data-v-301e1b75"]]),$O={class:"flex flex-wrap mb-4 justify-start lg:justify-end"},FO=rt({__name:"TimelineFilters",setup(e){const{t}=xt(),n=me(()=>{const x=Ie.gt.reduce((S,O)=>(S.add(`${O.metadata.time.notBefore}-${O.metadata.time.notAfter}`),S),new Set);return Array.from(x).sort().map(S=>({value:S,label:S}))}),r=ue([]),i=me(()=>Ie.workflows.map(({id:x,label:S})=>({value:x,label:S}))),o=ue([]),s=ue([]),l=ue([]),a=me(()=>n.value.length===r.value.length?t("filter_by_date_range"):null),c=me(()=>i.value.length===o.value.length?t("filter_by_workflow"):null),u=me(()=>s.value.length===l.value.length?t("filter_by_processor"):null),f=x=>{r.value=x,h()},d=x=>{o.value=x,h(),m()},p=x=>{l.value=x,h(),m()},h=()=>{kt.gtTimeline=kt.gt.filter(({value:x})=>{const S=Ie.getGtById(x);return S?v(S)&&y(S)&&b(S):!1})},m=()=>{kt.workflow=o.value.filter(({value:x})=>_(x))},v=x=>{const S=Ie.getRuns(x.id);return l.value.some(O=>S.some(P=>P.metadata.workflow_steps.findIndex(({id:R})=>R===O.value)>-1))},y=x=>r.value.some(({value:S})=>{const O=S.split("-"),P=O[0],R=O[1];return x.metadata.time.notBefore===P&&x.metadata.time.notAfter===R}),b=x=>Ie.getRuns(x.id).some(O=>o.value.findIndex(({value:P})=>P===Yt(O.metadata.ocr_workflow.id))>-1),_=x=>{const S=Ie.getWorkflowById(x);return S==null?!1:S.steps.some(O=>l.value.findIndex(({value:P})=>P===O.id)>-1)};return mt(()=>{s.value=Gv(Ie.workflows).map(x=>({value:x,label:t(x)})),r.value=n.value,o.value=i.value,l.value=s.value,h(),m()}),(x,S)=>(E(),j("div",$O,[te(ne(ii),{modelValue:r.value,"onUpdate:modelValue":[S[0]||(S[0]=O=>r.value=O),S[1]||(S[1]=O=>f(O))],"max-selected-labels":1,options:n.value,optionLabel:"label",placeholder:ne(t)("select_a_date_range"),"selected-items-label":a.value,class:"mr-4 mb-2 lg:m-0 lg:ml-auto md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"]),te(ne(ii),{modelValue:o.value,"onUpdate:modelValue":[S[2]||(S[2]=O=>o.value=O),S[3]||(S[3]=O=>d(O))],"max-selected-labels":1,options:i.value,optionLabel:"label",placeholder:ne(t)("select_a_workflow"),"selected-items-label":c.value,class:"mr-4 mb-2 lg:m-0 lg:ml-4 md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"]),te(ne(ii),{modelValue:l.value,"onUpdate:modelValue":[S[4]||(S[4]=O=>l.value=O),S[5]||(S[5]=O=>p(O))],filter:"","max-selected-labels":1,options:s.value,optionLabel:"label",placeholder:ne(t)("select_a_processor"),"selected-items-label":u.value,class:"lg:ml-4 md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"])]))}}),DO={class:"flex flex-col"},zO={class:"flex w-full mb-4"},RO={class:"flex flex-col space-y-6"},NO={key:1,class:"my-6"},VO={key:2,class:"my-6"},HO=rt({__name:"WorkflowsTimeline",setup(e){const{t}=xt(),n=me(()=>Ie.gt.filter(({id:l})=>kt.gtTimeline.findIndex(({value:a})=>a===l)>-1)),r=ue([]),i=ue(null),o=me(()=>Object.keys(Ye).map(l=>({value:Ye[l],label:t(Ye[l])}))),s=me(()=>{var l;return((l=i.value)==null?void 0:l.value)||Ye.CER_MEAN});return mt(async()=>{i.value=o.value[0],r.value=Ie.workflows}),Xe(i,()=>rc.setMaxValue(s.value,j8(s.value,Ie.runs)),{immediate:!0}),(l,a)=>(E(),j("div",DO,[C("div",zO,[te(ne(Fa),{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=c=>i.value=c),options:o.value,pt:ne(LS),optionLabel:"label",placeholder:"Select a metric",class:"ml-auto md:w-14rem",unstyled:""},null,8,["modelValue","options","pt"])]),te(th,{class:"ml-auto mb-4"}),te(FO),C("div",RO,[n.value.length>0?(E(!0),j(se,{key:0},He(n.value,c=>(E(),Ee(LO,{key:c.id,gt:c,metric:s.value},null,8,["gt","metric"]))),128)):ne(Ie).gt.length>0?(E(),j("div",NO,Y(l.$t("no_documents_selected")),1)):(E(),j("div",VO,Y(l.$t("error_please_try_again_later")),1))])]))}}),BO={class:"text-base font-light"},UO={key:0},KO=C("br",null,null,-1),WO=["href"],GO=["href"],YO=rt({__name:"WorkflowsIntroSection",props:{page:{}},setup(e){const{t}=xt();return(n,r)=>{const i=dt("i18n-t");return E(),j("div",BO,[C("p",null,Y(ne(t)("workflows_intro_text")),1),n.page==="timeline"?(E(),j("p",UO,Y(ne(t)("workflows_intro_additional_text_timeline")),1)):ye("",!0),KO,te(i,{keypath:"workflows_intro_additional_infos",tag:"p",scope:"global"},{ocrd_link:ke(()=>[C("a",{href:ne(t)("ocrd_link"),class:"underline hover:text-primary"},Y(ne(t)("ocrd_link")),9,WO)]),_:1}),te(i,{keypath:"workflows_intro_gt_guidelines",tag:"p",scope:"global"},{gt_guidelines_link:ke(()=>[C("a",{href:ne(t)("gt_guidelines_link"),class:"underline hover:text-primary"},Y(ne(t)("gt_guidelines_link")),9,GO)]),_:1})])}}}),ZO=C("div",{class:"flex mb-6"},[C("p",{class:"text-amber-600 flex-grow-0 px-4 py-2 bg-amber-100 rounded-md text-sm"},[C("span",{class:"font-semibold"},"Disclaimer:"),et(" This is an experimental view.")])],-1),qO={class:"flex mb-6"},XO={key:0,class:"mb-12"},QO=rt({__name:"Workflows",setup(e){const{t}=xt(),n=ue([]),r=ue([]),i=Cp(),o=Tp(),s=ue(!1),l=ue([{name:t("timeline"),value:"timeline"},{name:t("table"),value:"table"}]),a=ue(l.value[0]);return Xe(()=>kt.gt,()=>{r.value=n.value.filter(({metadata:c})=>kt.gt.findIndex(({value:u})=>u===Yt(c.gt_workspace.id))>-1)}),Xe(a,({value:c})=>{i.push({query:{view:c}})}),mt(async()=>{await i.isReady(),s.value=!0;const c=l.value.find(f=>o.query.view&&o.query.view===f.value);c&&(a.value=c),Ie.runs=await gr.getRuns(),Ie.gt=await gr.getGroundTruth(),Ie.workflows=await gr.getWorkflows(),Ie.runs.forEach(f=>{const d=Yt(f.metadata.gt_workspace.id);Ie.gt.find(p=>p.id===d)||console.log(d)});const u=Ie.runs.reduce((f,d)=>(f[d.metadata.release_info.tag_name]=d.metadata.release_info,f),{});Ie.releases=Object.keys(u).map(f=>u[f]),Wv(Ie.runs),s.value=!1}),(c,u)=>s.value?(E(),j(se,{key:0},[et(" Loading... ")],64)):(E(),j(se,{key:1},[ZO,te(YO,{page:a.value.value,class:"mb-6"},null,8,["page"]),C("div",qO,[te(ne(lh),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=f=>a.value=f),options:l.value,optionLabel:"name"},null,8,["modelValue","options"]),te(nw,{class:"ml-auto"})]),a.value?(E(),j("div",XO,[a.value.value==="timeline"?(E(),Ee(HO,{key:0})):(E(),Ee(px,{key:1}))])):ye("",!0)],64))}}),ql=un({repos:[],releases:[],evaluations:[],metricDefinitions:{},gtList:[],workflows:[],setGTList(e){this.gtList=e},setWorkflows(e){this.workflows=e},setRepos(e){this.repos=e},setReleases(e){this.releases=e},setEvaluations(e){this.evaluations=e},setMetricDefinitions(e){this.metricDefinitions=e},getRepoById(e){return this.repos.find(t=>t.id===e)}});var E1={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:I8,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(o,s,l){i.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:l})},i.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,"a",s),s},i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},i.p="",i(i.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,i){var o,s;/*! +`,FS={root:function(t){var n=t.props,r=t.instance;return["p-badge p-component",{"p-badge-no-gutter":U.isNotEmpty(n.value)&&String(n.value).length===1,"p-badge-dot":U.isEmpty(n.value)&&!r.$slots.default,"p-badge-lg":n.size==="large","p-badge-xl":n.size==="xlarge","p-badge-info":n.severity==="info","p-badge-success":n.severity==="success","p-badge-warning":n.severity==="warning","p-badge-danger":n.severity==="danger"}]}},DS=gt.extend({name:"badge",css:$S,classes:FS}),zS={name:"BaseBadge",extends:Xt,props:{value:{type:[String,Number],default:null},severity:{type:String,default:null},size:{type:String,default:null}},style:DS,provide:function(){return{$parentInstance:this}}},T1={name:"Badge",extends:zS};function RS(e,t,n,r,i,o){return E(),j("span",$({class:e.cx("root")},e.ptm("root"),{"data-pc-name":"badge"}),[le(e.$slots,"default",{},function(){return[et(Y(e.value),1)]})],16)}T1.render=RS;function Pi(e){"@babel/helpers - typeof";return Pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pi(e)}function bn(e,t,n){return t=NS(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function NS(e){var t=VS(e,"string");return Pi(t)==="symbol"?t:String(t)}function VS(e,t){if(Pi(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pi(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var HS={root:function(t){var n=t.instance,r=t.props;return["p-button p-component",bn(bn(bn(bn(bn(bn(bn(bn({"p-button-icon-only":n.hasIcon&&!r.label&&!r.badge,"p-button-vertical":(r.iconPos==="top"||r.iconPos==="bottom")&&r.label,"p-disabled":n.$attrs.disabled||n.$attrs.disabled===""||r.loading,"p-button-loading":r.loading,"p-button-loading-label-only":r.loading&&!n.hasIcon&&r.label,"p-button-link":r.link},"p-button-".concat(r.severity),r.severity),"p-button-raised",r.raised),"p-button-rounded",r.rounded),"p-button-text",r.text),"p-button-outlined",r.outlined),"p-button-sm",r.size==="small"),"p-button-lg",r.size==="large"),"p-button-plain",r.plain)]},loadingIcon:"p-button-loading-icon pi-spin",icon:function(t){var n=t.props;return["p-button-icon",{"p-button-icon-left":n.iconPos==="left"&&n.label,"p-button-icon-right":n.iconPos==="right"&&n.label,"p-button-icon-top":n.iconPos==="top"&&n.label,"p-button-icon-bottom":n.iconPos==="bottom"&&n.label}]},label:"p-button-label"},BS=gt.extend({name:"button",classes:HS}),US={name:"BaseButton",extends:Xt,props:{label:{type:String,default:null},icon:{type:String,default:null},iconPos:{type:String,default:"left"},iconClass:{type:String,default:null},badge:{type:String,default:null},badgeClass:{type:String,default:null},badgeSeverity:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:void 0},link:{type:Boolean,default:!1},severity:{type:String,default:null},raised:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},text:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1},size:{type:String,default:null},plain:{type:Boolean,default:!1}},style:BS,provide:function(){return{$parentInstance:this}}},Fo={name:"Button",extends:US,methods:{getPTOptions:function(t){var n,r;return this.ptm(t,{parent:{props:(n=this.$parent)===null||n===void 0?void 0:n.$props,state:(r=this.$parent)===null||r===void 0?void 0:r.$data},context:{disabled:this.disabled}})}},computed:{disabled:function(){return this.$attrs.disabled||this.$attrs.disabled===""||this.loading},defaultAriaLabel:function(){return this.label?this.label+(this.badge?" "+this.badge:""):this.$attrs["aria-label"]},hasIcon:function(){return this.icon||this.$slots.icon}},components:{SpinnerIcon:Di,Badge:T1},directives:{ripple:Xn}},KS=["aria-label","disabled","data-pc-severity"];function WS(e,t,n,r,i,o){var s=dt("SpinnerIcon"),l=dt("Badge"),a=Cn("ripple");return It((E(),j("button",$({class:e.cx("root"),type:"button","aria-label":o.defaultAriaLabel,disabled:o.disabled},o.getPTOptions("root"),{"data-pc-name":"button","data-pc-severity":e.severity}),[le(e.$slots,"default",{},function(){return[e.loading?le(e.$slots,"loadingicon",{key:0,class:Pe([e.cx("loadingIcon"),e.cx("icon")])},function(){return[e.loadingIcon?(E(),j("span",$({key:0,class:[e.cx("loadingIcon"),e.cx("icon"),e.loadingIcon]},e.ptm("loadingIcon")),null,16)):(E(),Ee(s,$({key:1,class:[e.cx("loadingIcon"),e.cx("icon")],spin:""},e.ptm("loadingIcon")),null,16,["class"]))]}):le(e.$slots,"icon",{key:1,class:Pe([e.cx("icon")])},function(){return[e.icon?(E(),j("span",$({key:0,class:[e.cx("icon"),e.icon,e.iconClass]},e.ptm("icon")),null,16)):ye("",!0)]}),C("span",$({class:e.cx("label")},e.ptm("label")),Y(e.label||" "),17),e.badge?(E(),Ee(l,$({key:2,value:e.badge,class:e.badgeClass,severity:e.badgeSeverity,unstyled:e.unstyled},e.ptm("badge")),null,16,["value","class","severity","unstyled"])):ye("",!0)]})],16,KS)),[[a]])}Fo.render=WS;const GS={class:"flex flex-wrap md:grid md:grid-cols-3 md:space-x-0 md:gap-2 lg:flex lg:space-x-5 lg:flex-nowrap items-start text-sm text-slate-700"},YS={class:"flex flex-col"},ZS={class:"font-medium"},qS={key:0},XS={key:1},QS={key:0,class:"flex flex-col py-1 space-y-1 overflow-y-scroll max-w-[80vw] sm:max-w-[90vw] max-h-[300px]"},JS={key:1,class:"py-1 px-2"},eO={class:"flex space-x-2 p-4"},tO={class:"border-b-2 border-gray-300"},nO=rt({__name:"TimelineItemMetadata",props:{gtMetadata:{}},setup(e){const{t}=wt(),n=e,r=ue(),i=ue(),o={label:t("volume"),data:Array.isArray(n.gtMetadata.volume)?n.gtMetadata.volume.reduce((c,u)=>({...c,[u.metric]:u.count}),{}):n.gtMetadata.volume},s=[{label:t("language",n.gtMetadata.language.length),data:n.gtMetadata.language,isArray:!0},{label:t("script",n.gtMetadata.script.length),data:n.gtMetadata.script,isArray:!0},{label:t("script-type"),data:n.gtMetadata["script-type"]}];function l(c){var u;(u=r.value)==null||u.toggle(c)}function a(c){var u;(u=i.value)==null||u.toggle(c)}return(c,u)=>(E(),j(se,null,[C("div",GS,[(E(),j(se,null,He(s,f=>{var d;return C("div",{key:f.label,class:"mr-5 mb-5 md:mr-0 md:mb-0"},[C("div",YS,[C("span",ZS,Y(f.label)+":",1),f.isArray?(E(),j("span",qS,Y((d=f.data)==null?void 0:d.join(", ")),1)):(E(),j("span",XS,Y(f.data),1))])])}),64)),te(ne(Fo),{onClick:l,unstyled:"",pt:{root:"text-sm mr-5 md:mr-0 flex items-center bg-gray-100 text-slate-700 p-2 hover:bg-gray-200 rounded hover:text-black focus:outline-none"}},{default:ke(()=>{var f;return[C("span",null,Y(c.$t("labelling")),1),(f=r.value)!=null&&f.visible?(E(),Ee(ne(Nn),{key:0,icon:"ic:baseline-close-fullscreen",class:"ml-2"})):(E(),Ee(ne(Nn),{key:1,icon:"ic:baseline-open-in-full",class:"ml-2"}))]}),_:1}),te(ne(Fo),{onClick:a,unstyled:"",pt:{root:"text-sm flex items-center bg-gray-100 text-slate-700 p-2 hover:bg-gray-200 rounded hover:text-black focus:outline-none"}},{default:ke(()=>{var f;return[C("span",null,Y(c.$t("volume")),1),(f=i.value)!=null&&f.visible?(E(),Ee(ne(Nn),{key:0,icon:"ic:baseline-close-fullscreen",class:"ml-2"})):(E(),Ee(ne(Nn),{key:1,icon:"ic:baseline-open-in-full",class:"ml-2"}))]}),_:1})]),te(ne(Wn),{ref_key:"opLabelling",ref:r,unstyled:"",pt:ne(Zl)},{container:ke(()=>{var f;return[((f=c.gtMetadata.labelling)==null?void 0:f.length)>0?(E(),j("div",QS,[(E(!0),j(se,null,He(c.gtMetadata.labelling.slice(0).sort(),d=>(E(),j("span",{key:d,class:"hover:bg-gray-200 rounded px-2 text-sm"},Y(d),1))),128))])):(E(),j("div",JS,[C("span",null,Y(c.$t("no_labels_for_this_entry")),1)]))]}),_:1},8,["pt"]),te(ne(Wn),{ref_key:"opVolume",ref:i,unstyled:"",pt:ne(Zl)},{container:ke(()=>[C("div",eO,[(E(!0),j(se,null,He(o.data,(f,d)=>(E(),j("div",{key:d},[C("div",tO,Y(d),1),C("div",null,Y(f),1)]))),128))])]),_:1},8,["pt"])],64))}});const rO=pn(nO,[["__scopeId","data-v-de34c596"]]),iO=e=>(ua("data-v-301e1b75"),e=e(),fa(),e),oO={class:"flex flex-col px-4 pb-2"},sO={class:"flex items-center overflow-hidden"},lO=["title"],aO=["href"],cO={class:"text-xs"},uO=["href"],fO={class:"text-xs"},dO={class:"flex mt-6 md:flex-row flex-col"},pO={class:"md:w-1/2 mb-5 md:mb-0"},hO={class:"md:w-1/2 flex flex-col overflow-x-auto md:items-end"},mO={class:"font-bold pr-[240px] mb-2"},gO={class:"flex border-t border-gray-300 py-4 px-4"},yO={class:"table-fixed w-full"},vO={class:""},bO={class:"text-left pb-4"},xO={class:"text-left pb-4"},wO={class:"text-right pr-[314px] pb-4"},_O={class:"font-semibold pe-2"},SO={class:"p-1 overflow-x-auto"},OO=["onClick"],IO={class:"overflow-x-auto"},CO={class:"flex flex-col pt-2"},TO={class:"font-bold px-2 pb-2 mb-2 border-b border-gray-300"},EO={class:"overflow-y-scroll max-h-[400px] w-full"},kO={key:0,class:"text-sm border-collapse"},MO=iO(()=>C("tr",{class:""},[C("th",{class:"p-1 pl-2 font-semibold"},"Parameter"),C("th",{class:"p-1 pr-2 font-semibold"},"Value")],-1)),AO={class:"p-1 pl-2 border-collapse border border-l-0 border-b-0 border-gray-300"},jO={class:"p-1 pr-2 border-collapse border border-r-0 border-b-0 border-gray-300"},PO=rt({__name:"TimelineItem",props:{gt:{},metric:{}},setup(e){const t=ue(),n=ue(!1),r=ue(null),i=ue(new Date("2023-10-01")),o=ue(new Date),s=me(()=>Ie.workflows.filter(({id:f})=>vt.workflow.findIndex(({value:d})=>d===f)>-1));function l(f){return Yw[f]}function a(f,d){var p;r.value=f,(p=t.value)==null||p.show(d)}function c(){var f;(f=t.value)==null||f.hide()}function u(f,d){n.value?(c(),r.value!==f&&Ko(()=>{a(f,d)})):a(f,d)}return(f,d)=>(E(),j(se,null,[te(ne(uh),{header:"Header",toggleable:"",collapsed:!0,unstyled:"",pt:{root:"border border-gray-300 rounded-lg overflow-hidden",header:"pt-4",content:"",icons:"w-full flex",toggler:"w-full flex justify-center bg-gray-50 text-gray-500 p-2 hover:bg-gray-100 rounded hover:text-gray-700 focus:outline-none"}},{header:ke(()=>[C("div",oO,[C("div",sO,[C("h2",{class:"text-xl font-bold truncate mr-8",title:f.gt.label},Y(f.gt.label),9,lO),C("a",{href:f.gt.metadata.url,class:"text-gray-500 hover:text-gray-600 flex-shrink-0 ml-auto mr-2 flex items-center bg-gray-100 rounded-full py-1 px-2"},[te(ne(Nn),{icon:"mdi:github",class:"text-xl mr-1"}),C("span",cO,Y(f.gt.metadata.title),1)],8,aO),C("a",{href:f.gt.metadata.license[0].url,class:"text-gray-500 hover:text-gray-600 flex-shrink-0 flex items-center bg-gray-100 rounded-full py-1 px-2"},[te(ne(Nn),{icon:"octicon:law",class:"text-xl mr-1"}),C("span",fO,Y(f.gt.metadata.license[0].name),1)],8,uO)]),C("div",dO,[C("div",pO,[te(rO,{gtMetadata:f.gt.metadata},null,8,["gtMetadata"])]),C("div",hO,[C("h3",mO,Y(f.$t("average_timeline")),1),te(L8,{"workflow-name":f.$t("average"),"gt-name":f.gt.label,runs:ne(Ie).getRuns(f.gt.id),metric:f.metric,class:"",width:400,"start-date":i.value,"end-date":o.value},null,8,["workflow-name","gt-name","runs","metric","start-date","end-date"])])])])]),default:ke(()=>[C("div",gO,[C("table",yO,[C("thead",null,[C("tr",vO,[C("th",bO,Y(f.$t("workflows")),1),C("th",xO,Y(f.$t("processors")),1),C("th",wO,Y(f.$t("timeline")),1)])]),C("tbody",null,[(E(!0),j(se,null,He(s.value,p=>(E(),j("tr",{key:p.id},[C("td",_O,Y(p.label),1),C("td",SO,[(E(!0),j(se,null,He(p.steps,h=>(E(),j("span",{key:h.id,class:"p-1 cursor-pointer text-highlight",onClick:m=>u(h,m)},Y(l(h.id)),9,OO))),128))]),C("td",IO,[te(P8,{runs:ne(Ie).getRuns(f.gt.id,p.id),"gt-name":f.gt.label,"workflow-name":p.label,metric:f.metric,width:400,"start-date":i.value,"end-date":o.value,class:"flex justify-end"},null,8,["runs","gt-name","workflow-name","metric","start-date","end-date"])])]))),128))])])])]),togglericon:ke(({collapsed:p})=>[te(ne(Nn),{icon:p?"bi:chevron-down":"bi:chevron-up"},null,8,["icon"])]),_:1}),te(ne(Wn),{ref_key:"op",ref:t,pt:ne(Zl),onShow:d[0]||(d[0]=p=>n.value=!0),onHide:d[1]||(d[1]=p=>n.value=!1)},{default:ke(()=>{var p;return[C("div",CO,[C("h2",TO,Y((p=r.value)==null?void 0:p.id),1),C("div",EO,[r.value?(E(),j("table",kO,[MO,(E(!0),j(se,null,He(Object.keys(r.value.params),h=>(E(),j("tr",{key:h},[C("td",AO,Y(h),1),C("td",jO,Y(r.value.params[h]),1)]))),128))])):ye("",!0)])])]}),_:1},8,["pt"])],64))}});const LO=pn(PO,[["__scopeId","data-v-301e1b75"]]),$O={class:"flex flex-wrap mb-4 justify-start lg:justify-end"},FO=rt({__name:"TimelineFilters",setup(e){const{t}=wt(),n=me(()=>{const x=Ie.gt.reduce((S,O)=>(S.add(`${O.metadata.time.notBefore}-${O.metadata.time.notAfter}`),S),new Set);return Array.from(x).sort().map(S=>({value:S,label:S}))}),r=ue([]),i=me(()=>Ie.workflows.map(({id:x,label:S})=>({value:x,label:S}))),o=ue([]),s=ue([]),l=ue([]),a=me(()=>n.value.length===r.value.length?t("filter_by_date_range"):null),c=me(()=>i.value.length===o.value.length?t("filter_by_workflow"):null),u=me(()=>s.value.length===l.value.length?t("filter_by_processor"):null),f=x=>{r.value=x,h()},d=x=>{o.value=x,h(),m()},p=x=>{l.value=x,h(),m()},h=()=>{vt.gtTimeline=vt.gt.filter(({value:x})=>{const S=Ie.getGtById(x);return S?v(S)&&y(S)&&b(S):!1})},m=()=>{vt.workflow=o.value.filter(({value:x})=>_(x))},v=x=>{const S=Ie.getRuns(x.id);return l.value.some(O=>S.some(P=>P.metadata.workflow_steps.findIndex(({id:R})=>R===O.value)>-1))},y=x=>r.value.some(({value:S})=>{const O=S.split("-"),P=O[0],R=O[1];return x.metadata.time.notBefore===P&&x.metadata.time.notAfter===R}),b=x=>Ie.getRuns(x.id).some(O=>o.value.findIndex(({value:P})=>P===Yt(O.metadata.ocr_workflow.id))>-1),_=x=>{const S=Ie.getWorkflowById(x);return S==null?!1:S.steps.some(O=>l.value.findIndex(({value:P})=>P===O.id)>-1)};return We(()=>vt.gt,()=>{h()}),mt(()=>{s.value=Gv(Ie.workflows).map(x=>({value:x,label:t(x)})),r.value=n.value,o.value=i.value,l.value=s.value,h(),m()}),(x,S)=>(E(),j("div",$O,[te(ne(ii),{modelValue:r.value,"onUpdate:modelValue":[S[0]||(S[0]=O=>r.value=O),S[1]||(S[1]=O=>f(O))],"max-selected-labels":1,options:n.value,optionLabel:"label",placeholder:ne(t)("select_a_date_range"),"selected-items-label":a.value,class:"mr-4 mb-2 lg:m-0 lg:ml-auto md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"]),te(ne(ii),{modelValue:o.value,"onUpdate:modelValue":[S[2]||(S[2]=O=>o.value=O),S[3]||(S[3]=O=>d(O))],"max-selected-labels":1,options:i.value,optionLabel:"label",placeholder:ne(t)("select_a_workflow"),"selected-items-label":c.value,class:"mr-4 mb-2 lg:m-0 lg:ml-4 md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"]),te(ne(ii),{modelValue:l.value,"onUpdate:modelValue":[S[4]||(S[4]=O=>l.value=O),S[5]||(S[5]=O=>p(O))],filter:"","max-selected-labels":1,options:s.value,optionLabel:"label",placeholder:ne(t)("select_a_processor"),"selected-items-label":u.value,class:"lg:ml-4 md:w-14rem"},null,8,["modelValue","options","placeholder","selected-items-label"])]))}}),DO={class:"flex flex-col"},zO={class:"flex w-full mb-4"},RO={class:"flex flex-col space-y-6"},NO={key:1,class:"my-6"},VO={key:2,class:"my-6"},HO=rt({__name:"WorkflowsTimeline",setup(e){const{t}=wt(),n=me(()=>Ie.gt.filter(({id:l})=>vt.gtTimeline.findIndex(({value:a})=>a===l)>-1)),r=ue([]),i=ue(null),o=me(()=>Object.keys(Ze).map(l=>({value:Ze[l],label:t(Ze[l])}))),s=me(()=>{var l;return((l=i.value)==null?void 0:l.value)||Ze.CER_MEAN});return mt(async()=>{i.value=o.value[0],r.value=Ie.workflows}),We(i,()=>rc.setMaxValue(s.value,j8(s.value,Ie.runs)),{immediate:!0}),(l,a)=>(E(),j("div",DO,[C("div",zO,[te(ne(Fa),{modelValue:i.value,"onUpdate:modelValue":a[0]||(a[0]=c=>i.value=c),options:o.value,pt:ne(LS),optionLabel:"label",placeholder:"Select a metric",class:"ml-auto md:w-14rem",unstyled:""},null,8,["modelValue","options","pt"])]),te(th,{class:"ml-auto mb-4"}),te(FO),C("div",RO,[n.value.length>0?(E(!0),j(se,{key:0},He(n.value,c=>(E(),Ee(LO,{key:c.id,gt:c,metric:s.value},null,8,["gt","metric"]))),128)):ne(Ie).gt.length>0?(E(),j("div",NO,Y(l.$t("no_documents_selected")),1)):(E(),j("div",VO,Y(l.$t("error_please_try_again_later")),1))])]))}}),BO={class:"text-base font-light"},UO={key:0},KO=C("br",null,null,-1),WO=["href"],GO=["href"],YO=rt({__name:"WorkflowsIntroSection",props:{page:{}},setup(e){const{t}=wt();return(n,r)=>{const i=dt("i18n-t");return E(),j("div",BO,[C("p",null,Y(ne(t)("workflows_intro_text")),1),n.page==="timeline"?(E(),j("p",UO,Y(ne(t)("workflows_intro_additional_text_timeline")),1)):ye("",!0),KO,te(i,{keypath:"workflows_intro_additional_infos",tag:"p",scope:"global"},{ocrd_link:ke(()=>[C("a",{href:ne(t)("ocrd_link"),class:"underline hover:text-primary"},Y(ne(t)("ocrd_link")),9,WO)]),_:1}),te(i,{keypath:"workflows_intro_gt_guidelines",tag:"p",scope:"global"},{gt_guidelines_link:ke(()=>[C("a",{href:ne(t)("gt_guidelines_link"),class:"underline hover:text-primary"},Y(ne(t)("gt_guidelines_link")),9,GO)]),_:1})])}}}),ZO=C("div",{class:"flex mb-6"},[C("p",{class:"text-amber-600 flex-grow-0 px-4 py-2 bg-amber-100 rounded-md text-sm"},[C("span",{class:"font-semibold"},"Disclaimer:"),et(" This is an experimental view.")])],-1),qO={class:"flex mb-6"},XO={key:0,class:"mb-12"},QO=rt({__name:"Workflows",setup(e){const{t}=wt(),n=ue([]),r=ue([]),i=Cp(),o=Tp(),s=ue(!1),l=ue([{name:t("timeline"),value:"timeline"},{name:t("table"),value:"table"}]),a=ue(l.value[0]);return We(()=>vt.gt,()=>{r.value=n.value.filter(({metadata:c})=>vt.gt.findIndex(({value:u})=>u===Yt(c.gt_workspace.id))>-1)}),We(a,({value:c})=>{i.push({query:{view:c}})}),mt(async()=>{await i.isReady(),s.value=!0;const c=l.value.find(f=>o.query.view&&o.query.view===f.value);c&&(a.value=c),Ie.runs=await gr.getRuns(),Ie.gt=await gr.getGroundTruth(),Ie.workflows=await gr.getWorkflows(),Ie.runs.forEach(f=>{const d=Yt(f.metadata.gt_workspace.id);Ie.gt.find(p=>p.id===d)||console.log(d)});const u=Ie.runs.reduce((f,d)=>(f[d.metadata.release_info.tag_name]=d.metadata.release_info,f),{});Ie.releases=Object.keys(u).map(f=>u[f]),Wv(Ie.runs),s.value=!1}),(c,u)=>s.value?(E(),j(se,{key:0},[et(" Loading... ")],64)):(E(),j(se,{key:1},[ZO,te(YO,{page:a.value.value,class:"mb-6"},null,8,["page"]),C("div",qO,[te(ne(lh),{modelValue:a.value,"onUpdate:modelValue":u[0]||(u[0]=f=>a.value=f),options:l.value,optionLabel:"name"},null,8,["modelValue","options"]),te(nw,{class:"ml-auto"})]),a.value?(E(),j("div",XO,[a.value.value==="timeline"?(E(),Ee(HO,{key:0})):(E(),Ee(px,{key:1}))])):ye("",!0)],64))}}),ql=un({repos:[],releases:[],evaluations:[],metricDefinitions:{},gtList:[],workflows:[],setGTList(e){this.gtList=e},setWorkflows(e){this.workflows=e},setRepos(e){this.repos=e},setReleases(e){this.releases=e},setEvaluations(e){this.evaluations=e},setMetricDefinitions(e){this.metricDefinitions=e},getRepoById(e){return this.repos.find(t=>t.id===e)}});var E1={exports:{}};(function(e,t){(function(r,i){e.exports=i()})(typeof self<"u"?self:I8,function(){return function(n){var r={};function i(o){if(r[o])return r[o].exports;var s=r[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=n,i.c=r,i.d=function(o,s,l){i.o(o,s)||Object.defineProperty(o,s,{configurable:!1,enumerable:!0,get:l})},i.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},i.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return i.d(s,"a",s),s},i.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},i.p="",i(i.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,i){var o,s;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(){var l=function(){function a(){}a.prototype=Object.create(null);function c(y,b){for(var _=b.length,x=0;x<_;++x)m(y,b[x])}var u={}.hasOwnProperty;function f(y,b){y[b]=!0}function d(y,b){for(var _ in b)u.call(b,_)&&(y[_]=!!b[_])}var p=/\s+/;function h(y,b){for(var _=b.split(p),x=_.length,S=0;S1?arguments[1]:void 0,b=y!==void 0,_=0,x=f(h),S,O,P,R;if(b&&(y=o(y,v>2?arguments[2]:void 0,2)),x!=null&&!(m==Array&&a(x)))for(R=x.call(h),O=new m;!(P=R.next()).done;_++)u(O,_,b?l(R,y,[P.value,_],!0):P.value);else for(S=c(h.length),O=new m(S);S>_;_++)u(O,_,b?y(h[_],_):h[_]);return O.length=_,O}},"./node_modules/core-js/internals/array-includes.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/to-length.js"),l=i("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(a){return function(c,u,f){var d=o(c),p=s(d.length),h=l(f,p),m;if(a&&u!=u){for(;p>h;)if(m=d[h++],m!=m)return!0}else for(;p>h;h++)if((a||h in d)&&d[h]===u)return a||h||0;return!a&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,i){var o=i("./node_modules/core-js/internals/a-function.js");n.exports=function(s,l,a){if(o(s),l===void 0)return s;switch(a){case 0:return function(){return s.call(l)};case 1:return function(c){return s.call(l,c)};case 2:return function(c,u){return s.call(l,c,u)};case 3:return function(c,u,f){return s.call(l,c,u,f)}}return function(){return s.apply(l,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,i){var o=i("./node_modules/core-js/internals/an-object.js");n.exports=function(s,l,a,c){try{return c?l(o(a)[0],a[1]):l(a)}catch(f){var u=s.return;throw u!==void 0&&o(u.call(s)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,i){var o=i("./node_modules/core-js/internals/well-known-symbol.js"),s=o("iterator"),l=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){l=!0}};c[s]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!l)return!1;var d=!1;try{var p={};p[s]=function(){return{next:function(){return{done:d=!0}}}},u(p)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var i={}.toString;n.exports=function(o){return i.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,i){var o=i("./node_modules/core-js/internals/classof-raw.js"),s=i("./node_modules/core-js/internals/well-known-symbol.js"),l=s("toStringTag"),a=o(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,d,p;return u===void 0?"Undefined":u===null?"Null":typeof(d=c(f=Object(u),l))=="string"?d:a?o(f):(p=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/own-keys.js"),l=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=i("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=s(u),d=a.f,p=l.f,h=0;h",S="java"+_+":",O;for(v.style.display="none",c.appendChild(v),v.src=String(S),O=v.contentWindow.document,O.open(),O.write(b+_+x+"document.F=Object"+b+"/"+_+x),O.close(),m=O.F;y--;)delete m[p][l[y]];return m()};n.exports=Object.create||function(y,b){var _;return y!==null?(h[p]=o(y),_=new h,h[p]=null,_[d]=y):_=m(),b===void 0?_:s(_,b)},a[d]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),l=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/object-keys.js");n.exports=o?Object.defineProperties:function(u,f){l(u);for(var d=a(f),p=d.length,h=0,m;p>h;)s.f(u,m=d[h++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/ie8-dom-define.js"),l=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=o?c:function(f,d,p){if(l(f),d=a(d,!0),l(p),s)try{return c(f,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[d]=p.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/to-indexed-object.js"),c=i("./node_modules/core-js/internals/to-primitive.js"),u=i("./node_modules/core-js/internals/has.js"),f=i("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=o?d:function(h,m){if(h=a(h),m=c(m,!0),f)try{return d(h,m)}catch{}if(u(h,m))return l(!s.f.call(h,m),h[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js"),l=s.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-object.js"),l=i("./node_modules/core-js/internals/shared-key.js"),a=i("./node_modules/core-js/internals/correct-prototype-getter.js"),c=l("IE_PROTO"),u=Object.prototype;n.exports=a?Object.getPrototypeOf:function(f){return f=s(f),o(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/array-includes.js"),a=i("./node_modules/core-js/internals/hidden-keys.js"),c=l(!1);n.exports=function(u,f){var d=s(u),p=0,h=[],m;for(m in d)!o(a,m)&&o(d,m)&&h.push(m);for(;f.length>p;)o(d,m=f[p++])&&(~c(h,m)||h.push(m));return h}},"./node_modules/core-js/internals/object-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(a){return o(a,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,i){var o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);r.f=l?function(c){var u=s(this,c);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,l={},a;try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(l,[]),s=l instanceof Array}catch{}return function(u,f){return o(u,f),s?a.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/object-get-own-property-names.js"),l=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=o.Reflect;n.exports=c&&c.ownKeys||function(f){var d=s.f(a(f)),p=l.f;return p?d.concat(p(f)):d}},"./node_modules/core-js/internals/path.js":function(n,r,i){n.exports=i("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/hide.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/function-to-string.js"),f=i("./node_modules/core-js/internals/internal-state.js"),d=f.get,p=f.enforce,h=String(u).split("toString");s("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,v,y,b){var _=b?!!b.unsafe:!1,x=b?!!b.enumerable:!1,S=b?!!b.noTargetGet:!1;if(typeof y=="function"&&(typeof v=="string"&&!a(y,"name")&&l(y,"name",v),p(y).source=h.join(typeof v=="string"?v:"")),m===o){x?m[v]=y:c(v,y);return}else _?!S&&m[v]&&(x=!0):delete m[v];x?m[v]=y:l(m,v,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/hide.js");n.exports=function(l,a){try{s(o,l,a)}catch{o[l]=a}return a}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-define-property.js").f,s=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/well-known-symbol.js"),a=l("toStringTag");n.exports=function(c,u,f){c&&!s(c=f?c:c.prototype,a)&&o(c,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,i){var o=i("./node_modules/core-js/internals/shared.js"),s=i("./node_modules/core-js/internals/uid.js"),l=o("keys");n.exports=function(a){return l[a]||(l[a]=s(a))}},"./node_modules/core-js/internals/shared.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/set-global.js"),l=i("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",c=o[a]||s(a,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:l?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l,a,c){var u=String(s(l)),f=o(a),d=u.length,p,h;return f<0||f>=d?c?"":void 0:(p=u.charCodeAt(f),p<55296||p>56319||f+1===d||(h=u.charCodeAt(f+1))<56320||h>57343?c?u.charAt(f):p:c?u.slice(f,f+2):(p-55296<<10)+(h-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.max,l=Math.min;n.exports=function(a,c){var u=o(a);return u<0?s(u+c,0):l(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/indexed-object.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l){return o(s(l))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var i=Math.ceil,o=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?o:i)(s)}},"./node_modules/core-js/internals/to-length.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.min;n.exports=function(l){return l>0?s(o(l),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(s){return Object(o(s))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js");n.exports=function(s,l){if(!o(s))return s;var a,c;if(l&&typeof(a=s.toString)=="function"&&!o(c=a.call(s))||typeof(a=s.valueOf)=="function"&&!o(c=a.call(s))||!l&&typeof(a=s.toString)=="function"&&!o(c=a.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var i=0,o=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++i+o).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/an-object.js");n.exports=function(l,a){if(s(l),!o(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/uid.js"),a=i("./node_modules/core-js/internals/native-symbol.js"),c=o.Symbol,u=s("wks");n.exports=function(f){return u[f]||(u[f]=a&&c[f]||(a?c:l)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,i){var o=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/array-from.js"),l=i("./node_modules/core-js/internals/check-correctness-of-iteration.js"),a=!l(function(c){Array.from(c)});o({target:"Array",stat:!0,forced:a},{from:s})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,i){var o=i("./node_modules/core-js/internals/string-at.js"),s=i("./node_modules/core-js/internals/internal-state.js"),l=i("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",c=s.set,u=s.getterFor(a);l(String,"String",function(f){c(this,{type:a,string:String(f),index:0})},function(){var d=u(this),p=d.string,h=d.index,m;return h>=p.length?{value:void 0,done:!0}:(m=o(p,h,!0),d.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(i=window)}n.exports=i},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(m){for(var v=1;v2&&arguments[2]!==void 0?arguments[2]:[];d(this,m),this.name=v,this.contents=y,this.tags=b,this.attrs=o({},u.default,{class:"feather feather-"+v})}return s(m,[{key:"toSvg",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=o({},this.attrs,y,{class:(0,a.default)(this.attrs.class,y.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function h(m){return Object.keys(m).map(function(v){return v+'="'+m[v]+'"'}).join(" ")}r.default=p},"./src/icons.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icon.js"),s=f(o),l=i("./dist/icons.json"),a=f(l),c=i("./src/tags.json"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(a.default).map(function(d){return new s.default(d,a.default[d],u.default[d])}).reduce(function(d,p){return d[p.name]=p,d},{})},"./src/index.js":function(n,r,i){var o=i("./src/icons.js"),s=f(o),l=i("./src/to-svg.js"),a=f(l),c=i("./src/replace.js"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:s.default,toSvg:a.default,replace:u.default}},"./src/replace.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(h){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(v){return d(v,h)})}function d(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=p(h),y=v["data-feather"];delete v["data-feather"];var b=c.default[y].toSvg(o({},m,v,{class:(0,l.default)(m.class,v.class)})),_=new DOMParser().parseFromString(b,"image/svg+xml"),x=_.querySelector("svg");h.parentNode.replaceChild(x,h)}function p(h){return Array.from(h.attributes).reduce(function(m,v){return m[v.name]=v.value,m},{})}r.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icons.js"),s=l(o);function l(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return s.default[c].toSvg(u)}r.default=a},0:function(n,r,i){i("./node_modules/core-js/es/array/from.js"),n.exports=i("./src/index.js")}})})})(E1);var pd=E1.exports;const JO=e=>pd.icons[e]?pd.icons[e].toSvg():null;const e7=["innerHTML"],t7={__name:"Icon",props:["name","size"],setup(e){const t=e,n=me(()=>JO(t.name));return(r,i)=>(E(),j("i",{class:Pe(["svg-icon","size-"+t.size]),innerHTML:n.value},null,10,e7))}},n7=pn(t7,[["__scopeId","data-v-8732b20d"]]);const r7=e=>(ua("data-v-2035a1e1"),e=e(),fa(),e),i7={class:"flex flex-col border rounded-md"},o7={class:"flex items-center px-4 py-2 bg-gray-200"},s7={class:"card-title mt-0"},l7={class:"ml-auto"},a7={class:"mt-0"},c7=r7(()=>C("p",null,"This is the popover body. Useful information goes here.",-1)),u7={class:"flex"},f7=["href"],d7=["href"],p7={class:"flex flex-col p-4"},h7={key:0},m7={class:"flex mt-2 mb-1"},g7={key:0,class:"bg-gray-200 rounded-lg px-2 py-1 text-sm"},y7={key:1,class:"flex h-full items-center justify-center"},v7={__name:"Project",props:["id"],setup(e){const{t}=xt(),n=e,r=ue(null),i=ue(null);Xe(()=>n.id,u=>{r.value=ql.getRepoById(u)},{immediate:!0});const o=me(()=>r.value?[...r.value.unreleased_changes?[{icon:"alert-triangle",label:r.value.unreleased_changes+" "+t("unreleased_changes")}]:[{icon:"check-circle",label:t("version")+" "+r.value.latest_version}],...r.value.ocrd_tool_json_valid?[{icon:"check-circle",label:"ocrd-tool.json "+t("is_valid")}]:[{icon:"slash",label:"ocrd-tool.json "+t("is_not_valid")}],...r.value.dependency_conflicts?[{icon:"alert-triangle",label:t("dependency_conflicts")}]:[{icon:"check-circle",label:t("no_dependency_conflicts")}]]:[]),s=me(()=>r.value?r.value.additional_info.links["README.md"]:""),l=me(()=>r.value?r.value.additional_info.links["README.md"]:""),a=me(()=>r.value?r.value.project_type:null);function c(u){i.value.toggle(u)}return(u,f)=>(E(),j("div",i7,[C("div",o7,[C("h3",s7,Y(n.id),1),C("div",l7,[te(ne(Fo),{icon:"pi pi-info",size:"small",rounded:"",outlined:"","aria-label":"Info",onClick:c}),te(ne(Wn),{ref_key:"op",ref:i,placement:"top"},{container:ke(()=>[C("h5",a7,Y(u.$t("additional_info")),1),c7,C("div",u7,[C("a",{href:s.value,title:"README",target:"_blank"},"README",8,f7),C("a",{href:l.value,title:"CHANGELOG",target:"_blank",class:"ml-auto"},"CHANGELOG",8,d7)])]),_:1},512)])]),C("div",p7,[r.value?(E(),j("div",h7,[(E(!0),j(se,null,He(o.value,({icon:d,label:p})=>(E(),j("div",{key:p,class:"flex items-center"},[te(n7,{name:d,class:Pe(["mr-1",{"text-negative":d==="slash","text-neutral":d==="alert-triangle","text-positive":d==="check-circle"}])},null,8,["name","class"]),C("span",null,Y(p),1)]))),128)),C("div",m7,[a.value?(E(),j("div",g7,Y(a.value),1)):ye("",!0)])])):(E(),j("div",y7,[C("span",null,Y(u.$t("error_repo_not_found")),1)]))])]))}},b7=pn(v7,[["__scopeId","data-v-2035a1e1"]]);const x7={key:0},w7={class:"timeline-item relative pl-5 flex"},_7={class:"bg-gray-300 rounded-md px-2 font-bold"},S7={class:"projects-container ml-6 mt-3 flex flex-wrap gap-4"},O7={__name:"Projects",setup(e){const t=ue([]);return mt(async()=>{ql.setRepos(await gr.getProjects()),t.value=await gr.getOcrdAllReleases(),ql.setReleases(t.value)}),(n,r)=>t.value.length===0?(E(),j("p",x7,Y(n.$t("no_content")),1)):(E(!0),j(se,{key:1},He(t.value,({tag:i,projects:o})=>(E(),j("div",{key:i,class:"border-l border-gray-400 pb-8"},[C("div",w7,[C("div",_7,"ocrd_all "+Y(i),1)]),C("div",S7,[(E(!0),j(se,null,He(o,s=>(E(),j("div",{key:s,class:"flex sm:w-3/12"},[te(b7,{id:s,class:"flex-grow"},null,8,["id"])]))),128))])]))),128))}},I7=pn(O7,[["__scopeId","data-v-fdf12cc0"]]),C7={};function T7(e,t){return E(),j("p",null,Y(e.$t("no_content")),1)}const E7=pn(C7,[["render",T7]]),k7=ey({history:yg("/quiver-frontend/"),routes:[{path:"/",name:"home",component:Dv,redirect:"/workflows",children:[{path:"projects",name:"projects",component:I7},{path:"processors",name:"processors",component:E7},{path:"workflows",name:"workflows",component:QO}]}]});function Li(e){"@babel/helpers - typeof";return Li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Li(e)}function hd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ks(e){for(var t=1;t1?arguments[1]:void 0,b=y!==void 0,_=0,x=f(h),S,O,P,R;if(b&&(y=o(y,v>2?arguments[2]:void 0,2)),x!=null&&!(m==Array&&a(x)))for(R=x.call(h),O=new m;!(P=R.next()).done;_++)u(O,_,b?l(R,y,[P.value,_],!0):P.value);else for(S=c(h.length),O=new m(S);S>_;_++)u(O,_,b?y(h[_],_):h[_]);return O.length=_,O}},"./node_modules/core-js/internals/array-includes.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-indexed-object.js"),s=i("./node_modules/core-js/internals/to-length.js"),l=i("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(a){return function(c,u,f){var d=o(c),p=s(d.length),h=l(f,p),m;if(a&&u!=u){for(;p>h;)if(m=d[h++],m!=m)return!0}else for(;p>h;h++)if((a||h in d)&&d[h]===u)return a||h||0;return!a&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,i){var o=i("./node_modules/core-js/internals/a-function.js");n.exports=function(s,l,a){if(o(s),l===void 0)return s;switch(a){case 0:return function(){return s.call(l)};case 1:return function(c){return s.call(l,c)};case 2:return function(c,u){return s.call(l,c,u)};case 3:return function(c,u,f){return s.call(l,c,u,f)}}return function(){return s.apply(l,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,i){var o=i("./node_modules/core-js/internals/an-object.js");n.exports=function(s,l,a,c){try{return c?l(o(a)[0],a[1]):l(a)}catch(f){var u=s.return;throw u!==void 0&&o(u.call(s)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,i){var o=i("./node_modules/core-js/internals/well-known-symbol.js"),s=o("iterator"),l=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){l=!0}};c[s]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!l)return!1;var d=!1;try{var p={};p[s]=function(){return{next:function(){return{done:d=!0}}}},u(p)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var i={}.toString;n.exports=function(o){return i.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,i){var o=i("./node_modules/core-js/internals/classof-raw.js"),s=i("./node_modules/core-js/internals/well-known-symbol.js"),l=s("toStringTag"),a=o(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,d,p;return u===void 0?"Undefined":u===null?"Null":typeof(d=c(f=Object(u),l))=="string"?d:a?o(f):(p=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/own-keys.js"),l=i("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=i("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=s(u),d=a.f,p=l.f,h=0;h",S="java"+_+":",O;for(v.style.display="none",c.appendChild(v),v.src=String(S),O=v.contentWindow.document,O.open(),O.write(b+_+x+"document.F=Object"+b+"/"+_+x),O.close(),m=O.F;y--;)delete m[p][l[y]];return m()};n.exports=Object.create||function(y,b){var _;return y!==null?(h[p]=o(y),_=new h,h[p]=null,_[d]=y):_=m(),b===void 0?_:s(_,b)},a[d]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-define-property.js"),l=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/object-keys.js");n.exports=o?Object.defineProperties:function(u,f){l(u);for(var d=a(f),p=d.length,h=0,m;p>h;)s.f(u,m=d[h++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/ie8-dom-define.js"),l=i("./node_modules/core-js/internals/an-object.js"),a=i("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=o?c:function(f,d,p){if(l(f),d=a(d,!0),l(p),s)try{return c(f,d,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[d]=p.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,i){var o=i("./node_modules/core-js/internals/descriptors.js"),s=i("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=i("./node_modules/core-js/internals/create-property-descriptor.js"),a=i("./node_modules/core-js/internals/to-indexed-object.js"),c=i("./node_modules/core-js/internals/to-primitive.js"),u=i("./node_modules/core-js/internals/has.js"),f=i("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=o?d:function(h,m){if(h=a(h),m=c(m,!0),f)try{return d(h,m)}catch{}if(u(h,m))return l(!s.f.call(h,m),h[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js"),l=s.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-object.js"),l=i("./node_modules/core-js/internals/shared-key.js"),a=i("./node_modules/core-js/internals/correct-prototype-getter.js"),c=l("IE_PROTO"),u=Object.prototype;n.exports=a?Object.getPrototypeOf:function(f){return f=s(f),o(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,i){var o=i("./node_modules/core-js/internals/has.js"),s=i("./node_modules/core-js/internals/to-indexed-object.js"),l=i("./node_modules/core-js/internals/array-includes.js"),a=i("./node_modules/core-js/internals/hidden-keys.js"),c=l(!1);n.exports=function(u,f){var d=s(u),p=0,h=[],m;for(m in d)!o(a,m)&&o(d,m)&&h.push(m);for(;f.length>p;)o(d,m=f[p++])&&(~c(h,m)||h.push(m));return h}},"./node_modules/core-js/internals/object-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-keys-internal.js"),s=i("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(a){return o(a,s)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,i){var o={}.propertyIsEnumerable,s=Object.getOwnPropertyDescriptor,l=s&&!o.call({1:2},1);r.f=l?function(c){var u=s(this,c);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,i){var o=i("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,l={},a;try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(l,[]),s=l instanceof Array}catch{}return function(u,f){return o(u,f),s?a.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/object-get-own-property-names.js"),l=i("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=i("./node_modules/core-js/internals/an-object.js"),c=o.Reflect;n.exports=c&&c.ownKeys||function(f){var d=s.f(a(f)),p=l.f;return p?d.concat(p(f)):d}},"./node_modules/core-js/internals/path.js":function(n,r,i){n.exports=i("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/hide.js"),a=i("./node_modules/core-js/internals/has.js"),c=i("./node_modules/core-js/internals/set-global.js"),u=i("./node_modules/core-js/internals/function-to-string.js"),f=i("./node_modules/core-js/internals/internal-state.js"),d=f.get,p=f.enforce,h=String(u).split("toString");s("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,v,y,b){var _=b?!!b.unsafe:!1,x=b?!!b.enumerable:!1,S=b?!!b.noTargetGet:!1;if(typeof y=="function"&&(typeof v=="string"&&!a(y,"name")&&l(y,"name",v),p(y).source=h.join(typeof v=="string"?v:"")),m===o){x?m[v]=y:c(v,y);return}else _?!S&&m[v]&&(x=!0):delete m[v];x?m[v]=y:l(m,v,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"./node_modules/core-js/internals/set-global.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/hide.js");n.exports=function(l,a){try{s(o,l,a)}catch{o[l]=a}return a}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,i){var o=i("./node_modules/core-js/internals/object-define-property.js").f,s=i("./node_modules/core-js/internals/has.js"),l=i("./node_modules/core-js/internals/well-known-symbol.js"),a=l("toStringTag");n.exports=function(c,u,f){c&&!s(c=f?c:c.prototype,a)&&o(c,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,i){var o=i("./node_modules/core-js/internals/shared.js"),s=i("./node_modules/core-js/internals/uid.js"),l=o("keys");n.exports=function(a){return l[a]||(l[a]=s(a))}},"./node_modules/core-js/internals/shared.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/set-global.js"),l=i("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",c=o[a]||s(a,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:l?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l,a,c){var u=String(s(l)),f=o(a),d=u.length,p,h;return f<0||f>=d?c?"":void 0:(p=u.charCodeAt(f),p<55296||p>56319||f+1===d||(h=u.charCodeAt(f+1))<56320||h>57343?c?u.charAt(f):p:c?u.slice(f,f+2):(p-55296<<10)+(h-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.max,l=Math.min;n.exports=function(a,c){var u=o(a);return u<0?s(u+c,0):l(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/indexed-object.js"),s=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l){return o(s(l))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var i=Math.ceil,o=Math.floor;n.exports=function(s){return isNaN(s=+s)?0:(s>0?o:i)(s)}},"./node_modules/core-js/internals/to-length.js":function(n,r,i){var o=i("./node_modules/core-js/internals/to-integer.js"),s=Math.min;n.exports=function(l){return l>0?s(o(l),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,i){var o=i("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(s){return Object(o(s))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js");n.exports=function(s,l){if(!o(s))return s;var a,c;if(l&&typeof(a=s.toString)=="function"&&!o(c=a.call(s))||typeof(a=s.valueOf)=="function"&&!o(c=a.call(s))||!l&&typeof(a=s.toString)=="function"&&!o(c=a.call(s)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var i=0,o=Math.random();n.exports=function(s){return"Symbol(".concat(s===void 0?"":s,")_",(++i+o).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,i){var o=i("./node_modules/core-js/internals/is-object.js"),s=i("./node_modules/core-js/internals/an-object.js");n.exports=function(l,a){if(s(l),!o(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,i){var o=i("./node_modules/core-js/internals/global.js"),s=i("./node_modules/core-js/internals/shared.js"),l=i("./node_modules/core-js/internals/uid.js"),a=i("./node_modules/core-js/internals/native-symbol.js"),c=o.Symbol,u=s("wks");n.exports=function(f){return u[f]||(u[f]=a&&c[f]||(a?c:l)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,i){var o=i("./node_modules/core-js/internals/export.js"),s=i("./node_modules/core-js/internals/array-from.js"),l=i("./node_modules/core-js/internals/check-correctness-of-iteration.js"),a=!l(function(c){Array.from(c)});o({target:"Array",stat:!0,forced:a},{from:s})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,i){var o=i("./node_modules/core-js/internals/string-at.js"),s=i("./node_modules/core-js/internals/internal-state.js"),l=i("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",c=s.set,u=s.getterFor(a);l(String,"String",function(f){c(this,{type:a,string:String(f),index:0})},function(){var d=u(this),p=d.string,h=d.index,m;return h>=p.length?{value:void 0,done:!0}:(m=o(p,h,!0),d.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(i=window)}n.exports=i},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(m){for(var v=1;v2&&arguments[2]!==void 0?arguments[2]:[];d(this,m),this.name=v,this.contents=y,this.tags=b,this.attrs=o({},u.default,{class:"feather feather-"+v})}return s(m,[{key:"toSvg",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=o({},this.attrs,y,{class:(0,a.default)(this.attrs.class,y.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function h(m){return Object.keys(m).map(function(v){return v+'="'+m[v]+'"'}).join(" ")}r.default=p},"./src/icons.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icon.js"),s=f(o),l=i("./dist/icons.json"),a=f(l),c=i("./src/tags.json"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(a.default).map(function(d){return new s.default(d,a.default[d],u.default[d])}).reduce(function(d,p){return d[p.name]=p,d},{})},"./src/index.js":function(n,r,i){var o=i("./src/icons.js"),s=f(o),l=i("./src/to-svg.js"),a=f(l),c=i("./src/replace.js"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:s.default,toSvg:a.default,replace:u.default}},"./src/replace.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(h){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(v){return d(v,h)})}function d(h){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=p(h),y=v["data-feather"];delete v["data-feather"];var b=c.default[y].toSvg(o({},m,v,{class:(0,l.default)(m.class,v.class)})),_=new DOMParser().parseFromString(b,"image/svg+xml"),x=_.querySelector("svg");h.parentNode.replaceChild(x,h)}function p(h){return Array.from(h.attributes).reduce(function(m,v){return m[v.name]=v.value,m},{})}r.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,i){Object.defineProperty(r,"__esModule",{value:!0});var o=i("./src/icons.js"),s=l(o);function l(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!s.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return s.default[c].toSvg(u)}r.default=a},0:function(n,r,i){i("./node_modules/core-js/es/array/from.js"),n.exports=i("./src/index.js")}})})})(E1);var pd=E1.exports;const JO=e=>pd.icons[e]?pd.icons[e].toSvg():null;const e7=["innerHTML"],t7={__name:"Icon",props:["name","size"],setup(e){const t=e,n=me(()=>JO(t.name));return(r,i)=>(E(),j("i",{class:Pe(["svg-icon","size-"+t.size]),innerHTML:n.value},null,10,e7))}},n7=pn(t7,[["__scopeId","data-v-8732b20d"]]);const r7=e=>(ua("data-v-2035a1e1"),e=e(),fa(),e),i7={class:"flex flex-col border rounded-md"},o7={class:"flex items-center px-4 py-2 bg-gray-200"},s7={class:"card-title mt-0"},l7={class:"ml-auto"},a7={class:"mt-0"},c7=r7(()=>C("p",null,"This is the popover body. Useful information goes here.",-1)),u7={class:"flex"},f7=["href"],d7=["href"],p7={class:"flex flex-col p-4"},h7={key:0},m7={class:"flex mt-2 mb-1"},g7={key:0,class:"bg-gray-200 rounded-lg px-2 py-1 text-sm"},y7={key:1,class:"flex h-full items-center justify-center"},v7={__name:"Project",props:["id"],setup(e){const{t}=wt(),n=e,r=ue(null),i=ue(null);We(()=>n.id,u=>{r.value=ql.getRepoById(u)},{immediate:!0});const o=me(()=>r.value?[...r.value.unreleased_changes?[{icon:"alert-triangle",label:r.value.unreleased_changes+" "+t("unreleased_changes")}]:[{icon:"check-circle",label:t("version")+" "+r.value.latest_version}],...r.value.ocrd_tool_json_valid?[{icon:"check-circle",label:"ocrd-tool.json "+t("is_valid")}]:[{icon:"slash",label:"ocrd-tool.json "+t("is_not_valid")}],...r.value.dependency_conflicts?[{icon:"alert-triangle",label:t("dependency_conflicts")}]:[{icon:"check-circle",label:t("no_dependency_conflicts")}]]:[]),s=me(()=>r.value?r.value.additional_info.links["README.md"]:""),l=me(()=>r.value?r.value.additional_info.links["README.md"]:""),a=me(()=>r.value?r.value.project_type:null);function c(u){i.value.toggle(u)}return(u,f)=>(E(),j("div",i7,[C("div",o7,[C("h3",s7,Y(n.id),1),C("div",l7,[te(ne(Fo),{icon:"pi pi-info",size:"small",rounded:"",outlined:"","aria-label":"Info",onClick:c}),te(ne(Wn),{ref_key:"op",ref:i,placement:"top"},{container:ke(()=>[C("h5",a7,Y(u.$t("additional_info")),1),c7,C("div",u7,[C("a",{href:s.value,title:"README",target:"_blank"},"README",8,f7),C("a",{href:l.value,title:"CHANGELOG",target:"_blank",class:"ml-auto"},"CHANGELOG",8,d7)])]),_:1},512)])]),C("div",p7,[r.value?(E(),j("div",h7,[(E(!0),j(se,null,He(o.value,({icon:d,label:p})=>(E(),j("div",{key:p,class:"flex items-center"},[te(n7,{name:d,class:Pe(["mr-1",{"text-negative":d==="slash","text-neutral":d==="alert-triangle","text-positive":d==="check-circle"}])},null,8,["name","class"]),C("span",null,Y(p),1)]))),128)),C("div",m7,[a.value?(E(),j("div",g7,Y(a.value),1)):ye("",!0)])])):(E(),j("div",y7,[C("span",null,Y(u.$t("error_repo_not_found")),1)]))])]))}},b7=pn(v7,[["__scopeId","data-v-2035a1e1"]]);const x7={key:0},w7={class:"timeline-item relative pl-5 flex"},_7={class:"bg-gray-300 rounded-md px-2 font-bold"},S7={class:"projects-container ml-6 mt-3 flex flex-wrap gap-4"},O7={__name:"Projects",setup(e){const t=ue([]);return mt(async()=>{ql.setRepos(await gr.getProjects()),t.value=await gr.getOcrdAllReleases(),ql.setReleases(t.value)}),(n,r)=>t.value.length===0?(E(),j("p",x7,Y(n.$t("no_content")),1)):(E(!0),j(se,{key:1},He(t.value,({tag:i,projects:o})=>(E(),j("div",{key:i,class:"border-l border-gray-400 pb-8"},[C("div",w7,[C("div",_7,"ocrd_all "+Y(i),1)]),C("div",S7,[(E(!0),j(se,null,He(o,s=>(E(),j("div",{key:s,class:"flex sm:w-3/12"},[te(b7,{id:s,class:"flex-grow"},null,8,["id"])]))),128))])]))),128))}},I7=pn(O7,[["__scopeId","data-v-fdf12cc0"]]),C7={};function T7(e,t){return E(),j("p",null,Y(e.$t("no_content")),1)}const E7=pn(C7,[["render",T7]]),k7=ey({history:yg("/quiver-frontend/"),routes:[{path:"/",name:"home",component:Dv,redirect:"/workflows",children:[{path:"projects",name:"projects",component:I7},{path:"processors",name:"processors",component:E7},{path:"workflows",name:"workflows",component:QO}]}]});function Li(e){"@babel/helpers - typeof";return Li=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Li(e)}function hd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ks(e){for(var t=1;t