ose-app 0.2.5__py3-none-any.whl → 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ose_app/static/js/admin.js +0 -1
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-BDr_frBe.js +0 -1
- ose_app/static/js/chunks/CollapsibleCard-DoX0kPCZ.js +0 -1
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-CBzsmnqW.js +0 -1
- ose_app/static/js/chunks/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- ose_app/static/js/chunks/bootbox-D3SJ_Fwv.js +0 -1
- ose_app/static/js/chunks/constants-CzBHF1EN.js +0 -1
- ose_app/static/js/chunks/filter-CiYqP1_r.js +0 -1
- ose_app/static/js/chunks/index-sLCKmIWG-umQeu_-w.js +0 -1
- ose_app/static/js/editor.js +0 -1
- ose_app/static/js/release.js +0 -1
- ose_app/static/js/settings.js +0 -1
- ose_app/static/js/visualise.js +2 -3
- {ose_app-0.2.5.dist-info → ose_app-0.3.0.dist-info}/METADATA +2 -2
- {ose_app-0.2.5.dist-info → ose_app-0.3.0.dist-info}/RECORD +17 -57
- ose_app/static/excel-bootstrap-table-filter-bundle.js.map +0 -1
- ose_app/static/excel-bootstrap-table-filter-bundle.min.js.map +0 -1
- ose_app/static/js/admin.js.map +0 -1
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-BDr_frBe.js.map +0 -1
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-MonxH8xj.js +0 -2
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-MonxH8xj.js.map +0 -1
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-DKAZyKKr-DTksKjtf.js +0 -2
- ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-DKAZyKKr-DTksKjtf.js.map +0 -1
- ose_app/static/js/chunks/CollapsibleCard-BQR8R54V.js +0 -2
- ose_app/static/js/chunks/CollapsibleCard-BQR8R54V.js.map +0 -1
- ose_app/static/js/chunks/CollapsibleCard-DgwkQKDg.js +0 -2
- ose_app/static/js/chunks/CollapsibleCard-DgwkQKDg.js.map +0 -1
- ose_app/static/js/chunks/CollapsibleCard-DoX0kPCZ.js.map +0 -1
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-CBzsmnqW.js.map +0 -1
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-EcINi797.js +0 -43
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-EcINi797.js.map +0 -1
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-bumDOBqD.js +0 -43
- ose_app/static/js/chunks/Diagnostic.vue_vue_type_script_setup_true_lang-bumDOBqD.js.map +0 -1
- ose_app/static/js/chunks/_plugin-vue_export-helper-DlAUqK2U.js.map +0 -1
- ose_app/static/js/chunks/bootbox-D3SJ_Fwv.js.map +0 -1
- ose_app/static/js/chunks/constants-CzBHF1EN.js.map +0 -1
- ose_app/static/js/chunks/constants-DL6Hx3V0.js +0 -2
- ose_app/static/js/chunks/constants-DL6Hx3V0.js.map +0 -1
- ose_app/static/js/chunks/constants-DPgwRV4l.js +0 -2
- ose_app/static/js/chunks/constants-DPgwRV4l.js.map +0 -1
- ose_app/static/js/chunks/filter-Bx-PU1OL.js +0 -18
- ose_app/static/js/chunks/filter-Bx-PU1OL.js.map +0 -1
- ose_app/static/js/chunks/filter-CdAXK93b.js +0 -18
- ose_app/static/js/chunks/filter-CdAXK93b.js.map +0 -1
- ose_app/static/js/chunks/filter-CiYqP1_r.js.map +0 -1
- ose_app/static/js/chunks/index-sLCKmIWG-B5BYNF2N.js +0 -2
- ose_app/static/js/chunks/index-sLCKmIWG-B5BYNF2N.js.map +0 -1
- ose_app/static/js/chunks/index-sLCKmIWG-Cb9lQq-c.js +0 -9
- ose_app/static/js/chunks/index-sLCKmIWG-Cb9lQq-c.js.map +0 -1
- ose_app/static/js/chunks/index-sLCKmIWG-umQeu_-w.js.map +0 -1
- ose_app/static/js/editor.js.map +0 -1
- ose_app/static/js/release.js.map +0 -1
- ose_app/static/js/settings.js.map +0 -1
- ose_app/static/js/visualise.js.map +0 -1
- ose_app/static/main.css.map +0 -7
- {ose_app-0.2.5.dist-info → ose_app-0.3.0.dist-info}/WHEEL +0 -0
- {ose_app-0.2.5.dist-info → ose_app-0.3.0.dist-info}/top_level.txt +0 -0
ose_app/static/js/admin.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{d as _,r as f,o as y,c as n,a as c,b as $,e,u as C,f as S,F as m,g as T,h as k,t as B,i as d,j as P,$ as R}from"./chunks/filter-CiYqP1_r.js";import{p as j}from"./chunks/bootbox-D3SJ_Fwv.js";import"./chunks/index-sLCKmIWG-umQeu_-w.js";import{u as A,_ as E,B as N}from"./chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-BDr_frBe.js";const V={class:"row align-stretch"},D={class:"col-sm-6 col-md-4 col-lg-3 m-2"},F=["href"],L={class:"col-sm-6 col-md-4 col-lg-3 m-2"},O=["href"],U={class:"col-sm-6 col-md-4 col-lg-3 m-2"},G={key:0,class:"col-sm-6 col-md-4 col-lg-3 m-2"},H=["href"],I={class:"row align-stretch"},J={class:"dropdown m-2"},M={class:"dropdown-menu"},q=["onClick"],z=_({__name:"Dashboard",setup(K){const p=URLS.prefix,{show:x}=A();async function v(a){const o=u.value[a].arguments,l=[];if(o?.length>0)for(const t of o){const h=await j({title:t.description,value:t.default,inputType:"text"});if(h===null)return;l.push(h)}const r=bootbox.dialog({message:'<i class="fa fa-spin fa-spinner"></i> Script is being executed',closeButton:!1});let g=new Promise((t,h)=>{r.on("shown.bs.modal",()=>t())});try{const t=await(await fetch(`${p}/api/scripts/${a}/run`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({args:l})})).json();await g,r.modal("hide"),bootbox.dialog({title:t.success?"Success":"Error",message:t.result??t.error})}catch(t){await g,r.modal("hide"),bootbox.dialog({message:`<p>An error occurred</p><p>${t}</p>`,title:"Error"})}}async function w(){const a=bootbox.dialog({message:'<i class="fa fa-spin fa-spinner"></i> Clearing caches',closeButton:!1});let s=new Promise((o,l)=>{a.on("shown.bs.modal",()=>o())});try{await fetch(`${p}/api/settings/clear_caches`,{method:"POST",headers:{"Content-Type":"application/json"}}),await s,a.modal("hide"),x?.({props:{value:5e3,progressProps:{variant:"success"}},component:d(N,{variant:"success"},{default:()=>d("div",{style:"display: flex; align-items: center; gap: 16px"},[d("i",{class:"fa fa-check"}),d("span",null,"Caches cleared!")])})})}catch(o){await s,a.modal("hide"),bootbox.dialog({message:`<p>An error occurred</p><p>${o}</p>`,title:"Error"})}}const i=f(URLS),u=f(null);return y(async()=>{u.value=(await(await fetch(`${p}/api/scripts`)).json()).result}),(a,s)=>(c(),n(m,null,[$(C(E)),e("div",V,[e("div",D,[e("a",{href:i.value.release,class:"card bg-light",style:{height:"100%","text-decoration":"none","border-width":"2px 2px 4px 2px"}},[...s[1]||(s[1]=[e("div",{class:"section p-5 text-center fs-2 bg-light"},[e("i",{class:"fas fa-upload"})],-1),e("div",{class:"card-body"},[e("h4",null,"Release"),e("p",null," Start the release process and release a new version of ontologies ")],-1)])],8,F)]),e("div",L,[e("a",{href:i.value.rebuildIndex,class:"card bg-light",style:{height:"100%","text-decoration":"none","border-width":"2px 2px 4px 2px"}},[...s[2]||(s[2]=[e("div",{class:"section p-5 text-center fs-2 bg-light"},[e("i",{class:"fas fa-folder-open"})],-1),e("div",{class:"card-body"},[e("h4",null,"Rebuild index"),e("p",null," Force a complete rebuild of the index to ensure the search finds all entries. ")],-1)])],8,O)]),e("div",U,[e("a",{class:"card bg-light",href:"#",style:{height:"100%","text-decoration":"none","border-width":"2px 2px 4px 2px"},onClick:s[0]||(s[0]=o=>w())},[...s[3]||(s[3]=[e("div",{class:"section p-5 text-center fs-2 bg-light"},[e("i",{class:"fas fa-gauge-high"})],-1),e("div",{class:"card-body"},[e("h4",null,"Clear caches"),e("p",null," Clear cached files loaded from GitHub to ensure the latest version is used. ")],-1)])])]),"settings"in i.value?(c(),n("div",G,[e("a",{href:i.value.settings,class:"card bg-light",style:{height:"100%","text-decoration":"none","border-width":"2px 2px 4px 2px"}},[...s[4]||(s[4]=[e("div",{class:"section p-5 text-center fs-2 bg-light"},[e("i",{class:"fa-solid fa-gear"})],-1),e("div",{class:"card-body"},[e("h4",null,"Repositories"),e("p",null," Add, remove, or edit repositories available on the editor. ")],-1)])],8,H)])):S("",!0)]),e("div",I,[e("div",J,[s[6]||(s[6]=e("button",{"aria-expanded":"false",class:"btn btn-danger dropdown-toggle","data-bs-toggle":"dropdown",type:"button"}," Run a script ",-1)),e("ul",M,[(c(!0),n(m,null,T(u.value,(o,l)=>(c(),n("li",null,[e("a",{class:"dropdown-item",href:"#",onClick:r=>v(l)},[s[5]||(s[5]=e("i",{class:"fa-regular fa-circle-play text-success"},null,-1)),k(" "+B(o.title),1)],8,q)]))),256))])])])],64))}}),b=P(z);b.config.globalProperties.$filters=R;b.mount("#vue-app-dashboard");
|
|
2
|
-
//# sourceMappingURL=admin.js.map
|
ose_app/static/js/chunks/BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-BDr_frBe.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{n as Q,r as T,l as c,K as Be,O as De,k as Ce,P as ke,Q as Fe,m as W,d as K,i as Re,R as Ee,w as S,o as Ne,S as se,U as G,V as Se,c as M,a as $,u as o,W as F,X as qe,q as j,s as J,v as ee,C as te,y as ae,b as xe,J as Ae,h as Te,t as pe,x as ue,e as me,F as he,g as be,Y as Ie,z as ye,p as je,A as ze,B as Me,f as Z,D as Ke,I as Ue,T as We}from"./filter-CiYqP1_r.js";import{d as Ge,e as fe,w as Je,f as Qe,h as ge,i as Xe,j as Ye,n as Ze,k as et,l as tt,p as $e,q as re}from"./index-sLCKmIWG-umQeu_-w.js";const at=()=>({...Q(Ge)});function lt(a,e=Le("injectSelf")){const{provides:t}=e;if(t&&a in t)return t[a]}function Le(a,e){const t=Ce();if(!t)throw new Error(`[Bvn] ${a} must be called from inside a setup function`);return t}const nt=(a="")=>a.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase(),_e=a=>a!==null&&typeof a=="object"&&!Array.isArray(a);function Oe(a={},e={},t){const l={};for(const n in a)l[n]=a[n];for(const n in e){const s=a[n],i=e[n];if(_e(s)&&_e(i)){l[n]=Oe(s,i);continue}l[n]=i}return l}const ot=(a,e)=>{var t,l;return typeof((t=a.props)==null?void 0:t[e])<"u"||typeof((l=a.props)==null?void 0:l[nt(e)])<"u"};function st(a={},e){const t=Q(fe,T({})),l=Le("useDefaults");if(e=e??l.type.name??l.type.__name,!e)throw new Error("[Bvn] Could not determine component name");const n=c(()=>{var r;return(r=t.value)==null?void 0:r[a._as??e]}),s=new Proxy(a,{get(r,d){var m,b,y,f;const g=Reflect.get(r,d);return d==="class"||d==="style"?[(m=n.value)==null?void 0:m[d],g].filter(V=>V!=null):typeof d=="string"&&!ot(l.vnode,d)?((b=n.value)==null?void 0:b[d])??((f=(y=t.value)==null?void 0:y.global)==null?void 0:f[d])??g:g}}),i=De();Be(()=>{if(n.value){const r=Object.entries(n.value).filter(([d])=>d.startsWith(d[0].toUpperCase()));i.value=r.length?Object.fromEntries(r):void 0}else i.value=void 0});function p(){const r=lt(fe,l);ke(fe,c(()=>i.value?Oe(r?.value??{},i.value):r?.value))}return{props:s,provideSubDefaults:p}}function X(a,e){const{props:t,provideSubDefaults:l}=st(a,e);return l(),t}const rt=(a,e)=>{const t=Fe();return c(()=>W(a)||Je(t||"",e))},ut=K({name:"ConditionalTeleport",inheritAttrs:!1,slots:Object,props:{to:{type:[String,Object],default:null},disabled:{type:Boolean,required:!0}},setup(a,{slots:e}){return()=>{var t,l;return a.to?Re(Ee,{to:a.to,disabled:a.disabled||!a.to},[(l=e.default)==null?void 0:l.call(e,{})]):(t=e.default)==null?void 0:t.call(e,{})}}});var it=Object.defineProperty,dt=(a,e,t)=>e in a?it(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,N=(a,e,t)=>dt(a,typeof e!="symbol"?e+"":e,t);class ie{constructor(e,t={}){if(N(this,"cancelable",!0),N(this,"componentId",null),N(this,"_defaultPrevented",!1),N(this,"eventType",""),N(this,"nativeEvent",null),N(this,"_preventDefault"),N(this,"relatedTarget",null),N(this,"target",null),!e)throw new TypeError(`Failed to construct '${this.constructor.name}'. 1 argument required, ${arguments.length} given.`);Object.assign(this,ie.Defaults,t,{eventType:e}),this._preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)}}get defaultPrevented(){return this._defaultPrevented}set defaultPrevented(e){this._defaultPrevented=e}get preventDefault(){return this._preventDefault}set preventDefault(e){this._preventDefault=e}static get Defaults(){return{cancelable:!0,componentId:null,eventType:"",nativeEvent:null,relatedTarget:null,target:null}}}class vt extends ie{constructor(e,t={}){super(e,t),N(this,"trigger",null),Object.assign(this,ie.Defaults,t,{eventType:e})}static get Defaults(){return{...super.Defaults,trigger:null}}}const we={name:"fade",enterActiveClass:"",enterFromClass:"showing",enterToClass:"",leaveActiveClass:"",leaveFromClass:"",leaveToClass:"showing",css:!0},ct=(a,e,t,l,n,s={transitionProps:{},showFn:()=>{},hideFn:()=>{}})=>{var i;let p=!1;const r=!!a.value&&!e.initialAnimation||e.visible||!1,d=T(!1),m=T(r),b=T(r);let y=typeof a.value!="boolean";S(a,()=>{if(y=typeof a.value!="boolean",p){p=!1;return}a.value?L():A()});const f=T(r),g=T(!1),V=c(()=>e.noAnimation||e.noFade||f.value||!1);Ne(()=>{var u;if(!e.show&&r){const v=P("show",{cancelable:!0});if(t("show",v),v.defaultPrevented){t("show-prevented",P("show-prevented"));return}f.value=!0,a.value||(p=!0,a.value=!0),m.value=!0,b.value=!0,D.value=!0,oe.value=!0,Y.value=!0,d.value=!0,(u=s.showFn)==null||u.call(s)}else(e.show||a.value&&e.initialAnimation)&&L()}),S(()=>e.visible,u=>{f.value=!0,se(()=>{u&&(D.value=!0),u?L():A()})}),S(()=>e.show,u=>{u?L():A()}),Qe(l,"bv-toggle",()=>{a.value=!a.value});const P=(u,v={})=>new vt(u,{cancelable:!1,target:l?.value||null,relatedTarget:null,trigger:null,...v,componentId:n?.value});let H;const L=()=>{if(d.value)return;const u=P("show",{cancelable:!0});if(t("show",u),u.defaultPrevented){t("show-prevented",P("show-prevented")),D.value&&(D.value=!1),a.value&&!y&&(p=!0,se(()=>{a.value=!1}));return}m.value=!0,b.value=!0,requestAnimationFrame(()=>{var v;H=setTimeout(()=>{var _;d.value=!0,(_=s.showFn)==null||_.call(s),a.value||(p=!0,se(()=>{a.value=!0}))},f.value?0:typeof e.delay=="number"?e.delay:((v=e.delay)==null?void 0:v.show)||0)})},A=u=>{var v;if(!d.value)return;const _=P("hide",{cancelable:!0,trigger:u}),h=P(u||"ignore",{cancelable:!0,trigger:u});if(u==="backdrop"&&e.noCloseOnBackdrop||u==="esc"&&e.noCloseOnEsc){t("hide-prevented",P("hide-prevented"));return}if(H&&(clearTimeout(H),H=void 0),u&&t(u,h),t("hide",_),_.defaultPrevented||h.defaultPrevented){t("hide-prevented",P("hide-prevented")),a.value||se(()=>{p=!0,a.value=!0});return}setTimeout(()=>{var w;k.value=!0,d.value=!1,(w=s.hideFn)==null||w.call(s),a.value&&(p=!0,a.value=y?0:!1)},f.value?0:typeof e.delay=="number"?e.delay:((v=e.delay)==null?void 0:v.hide)||0)},R=ge(u=>A(u),500),B=ge(()=>L(),500),q=()=>{const u=P("toggle",{cancelable:!0});if(t("toggle",u),u.defaultPrevented){t("toggle-prevented",P("toggle-prevented"));return}d.value?A():L()},x=(i=Q(Xe,void 0))==null?void 0:i({id:n.value,toggle:q,show:L,hide:A,value:G(d)});Se(()=>{x?.unregister()});const C=T(!1),O=()=>{e.lazy===!0&&(C.value=!0)},k=T(!1),z=T(!1),D=T(!1),le=u=>{var v,_,h,w;(_=(v=s.transitionProps)==null?void 0:v.onBeforeEnter)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onBeforeEnter)==null||w.call(h,u),z.value=!0},de=u=>{var v,_,h,w;requestAnimationFrame(()=>{requestAnimationFrame(()=>{D.value=!0})}),(_=(v=s.transitionProps)==null?void 0:v.onEnter)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onEnter)==null||w.call(h,u)},U=u=>{var v,_,h,w;t("shown",P("shown")),O(),(_=(v=s.transitionProps)==null?void 0:v.onAfterEnter)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onAfterEnter)==null||w.call(h,u),f.value&&requestAnimationFrame(()=>{f.value=!1}),g.value&&(g.value=!1)},ve=u=>{var v,_,h,w;k.value||(k.value=!0),(_=(v=s.transitionProps)==null?void 0:v.onBeforeLeave)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onBeforeLeave)==null||w.call(h,u)},ce=u=>{var v,_,h,w;D.value=!1,(_=(v=s.transitionProps)==null?void 0:v.onLeave)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onLeave)==null||w.call(h,u)},I=u=>{var v,_,h,w;t("hidden",P("hidden")),(_=(v=s.transitionProps)==null?void 0:v.onAfterLeave)==null||_.call(v,u),(w=(h=e.transitionProps)==null?void 0:h.onAfterLeave)==null||w.call(h,u),k.value=!1,z.value=!1,f.value&&requestAnimationFrame(()=>{f.value=!1}),requestAnimationFrame(()=>{g.value||(m.value=!1)})},E=c(()=>g.value===!0||z.value===!0||e.lazy===!1||e.lazy===!0&&C.value===!0&&e.unmountLazy===!1),ne=T(!1);S(D,u=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{setTimeout(()=>{ne.value=u},32)})})})})});const oe=T(!1),Y=T(!1),He={...s.transitionProps,onBeforeEnter:le,onEnter:de,onAfterEnter:U,onBeforeLeave:ve,onLeave:ce,onAfterLeave:I};return{showRef:d,renderRef:m,renderBackdropRef:b,isVisible:D,isActive:z,trapActive:ne,show:L,hide:A,toggle:q,throttleHide:R,throttleShow:B,buildTriggerableEvent:P,computedNoAnimation:V,localNoAnimation:f,localTemporaryHide:g,isLeaving:k,transitionProps:{...we,...e.transitionProps,...He},lazyLoadCompleted:C,markLazyLoadCompleted:O,contentShowing:E,backdropReady:Y,backdropVisible:oe,backdropTransitionProps:{...we,onBeforeEnter:()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{oe.value=!0})}),Y.value=!1},onAfterEnter:()=>{Y.value=!0},onBeforeLeave:()=>{oe.value=!1},onAfterLeave:()=>{Y.value=!1,requestAnimationFrame(()=>{b.value=!1})}}}},ft=(a,e)=>{const t=a.__vccOpts||a;for(const[l,n]of e)t[l]=n;return t},pt=(a,e)=>[...e].reduce((t,l)=>(t[l]=a[l],t),{}),mt=["type","disabled","aria-label"],ht=K({__name:"BCloseButton",props:{ariaLabel:{default:"Close"},disabled:{type:Boolean,default:!1},type:{default:"button"}},emits:["click"],setup(a,{emit:e}){const l=X(a,"BCloseButton"),n=e;return(s,i)=>($(),M("button",{type:o(l).type,class:"btn-close",disabled:o(l).disabled,"aria-label":o(l).ariaLabel,onClick:i[0]||(i[0]=p=>n("click",p))},null,8,mt))}}),Ve=a=>c(()=>{let e=W(a);return e={variant:e.variant??null,bgVariant:e.bgVariant??null,textVariant:e.textVariant??null,borderVariant:e.borderVariant??null},{[`text-bg-${e.variant}`]:e.variant!==null,[`text-${e.textVariant}`]:e.textVariant!==null,[`bg-${e.bgVariant}`]:e.bgVariant!==null,[`border-${e.borderVariant}`]:e.borderVariant!==null}}),bt=a=>a.replace(/-./g,e=>e.charAt(1).toUpperCase()).replace(/\b\w/g,e=>e.toUpperCase()).replace(/\s+/g,""),yt=a=>!!(a.href||a.to),gt=(a,e)=>{const t=G(F(e)),l=G(F(a)),n=c(()=>yt(l.value)),s=c(()=>n.value?pt(l.value,t.value??["active","activeClass","append","href","rel","replace","routerComponentName","target","to","variant","opacity","opacityHover","underlineVariant","underlineOffset","underlineOffsetHover","underlineOpacity","underlineOpacityHover"]):{});return{computedLink:n,computedLinkProps:s}},_t=a=>{const e=Ce(),t=e?.appContext.app.config.globalProperties.$router,l=e?.appContext.app.config.globalProperties.$route,n=ae("RouterLink"),s=typeof n=="string"?null:n.useLink,i=F(a),p=F(()=>i.value.to||""),r=F(()=>i.value.replace),d=c(()=>bt(i.value.routerComponentName)),m=c(()=>!(e?.appContext.app.component(d.value)!==void 0)||i.value.disabled||!i.value.to?"a":d.value),b=c(()=>m.value==="RouterLink"),y=c(()=>b.value&&typeof e?.appContext.app.$nuxt<"u"),f=c(()=>m.value!=="a"&&!b.value&&!y.value),g=c(()=>b.value||y.value),V=c(()=>({to:p.value,replace:r.value})),P=s?.({to:p,replace:r}),H=c(()=>g.value?P:null),L=c(()=>{var A;if((A=H.value)!=null&&A.href.value)return H.value.href.value;const R="#";if(i.value.href)return i.value.href;if(typeof i.value.to=="string")return i.value.to||R;const{to:B}=i.value;if(B!==void 0&&"path"in B){const q=B.path||"",x=B.query?`?${Object.keys(B.query).map(O=>{var k;return`${O}=${(k=B.query)==null?void 0:k[O]}`}).join("=")}`:"",C=!B.hash||B.hash.charAt(0)==="#"?B.hash||"":`#${B.hash}`;return`${q}${x}${C}`||R}return R});return{isNonStandardTag:f,tag:m,isRouterLink:b,isNuxtLink:y,computedHref:L,routerName:d,router:t,route:l,link:H,linkProps:V}},wt=a=>c(()=>{const e=W(a);return{[`link-${e.variant}`]:e.variant!==null,[`link-opacity-${e.opacity}`]:e.opacity!==void 0,[`link-opacity-${e.opacityHover}-hover`]:e.opacityHover!==void 0,[`link-underline-${e.underlineVariant}`]:e.underlineVariant!==null,[`link-offset-${e.underlineOffset}`]:e.underlineOffset!==void 0,[`link-offset-${e.underlineOffsetHover}-hover`]:e.underlineOffsetHover!==void 0,"link-underline":e.underlineVariant===null&&(e.underlineOpacity!==void 0||e.underlineOpacityHover!==void 0),[`link-underline-opacity-${e.underlineOpacity}`]:e.underlineOpacity!==void 0,[`link-underline-opacity-${e.underlineOpacityHover}-hover`]:e.underlineOpacityHover!==void 0,"icon-link":e.icon===!0}}),Pe="active",Pt=K({__name:"BLink",props:{active:{type:Boolean,default:void 0},activeClass:{default:"router-link-active"},disabled:{type:Boolean,default:!1},exactActiveClass:{default:"router-link-exact-active"},href:{default:void 0},icon:{type:Boolean,default:!1},noRel:{type:Boolean,default:!1},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean,default:void 0},prefetchOn:{default:void 0},noPrefetch:{type:Boolean,default:void 0},prefetchedClass:{default:void 0},rel:{default:void 0},replace:{type:Boolean,default:!1},routerComponentName:{default:"router-link"},routerTag:{default:"a"},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:null},variant:{default:null}},emits:["click"],setup(a,{emit:e}){const l=X(a,"BLink"),n=e,s=qe(),{computedHref:i,tag:p,link:r,isNuxtLink:d,isRouterLink:m,linkProps:b,isNonStandardTag:y}=_t(c(()=>({routerComponentName:l.routerComponentName,disabled:l.disabled,to:l.to,replace:l.replace,href:l.href}))),f=Q(Ye,null),g=Q(Ze,null),V=wt(l),P=c(()=>{var x,C;return[V.value,s.class,H.value,{[Pe]:l.active,[l.activeClass]:((x=r.value)==null?void 0:x.isActive.value)||!1,[l.exactActiveClass]:((C=r.value)==null?void 0:C.isExactActive.value)||!1,"stretched-link":l.stretched===!0}]}),H=c(()=>({[Pe]:l.active,disabled:l.disabled})),L=x=>{var C,O,k;if(l.disabled){x.preventDefault(),x.stopImmediatePropagation();return}(((C=f?.isNav)==null?void 0:C.value)===!0&&g===null||g!==null&&((O=g.autoClose)==null?void 0:O.value)===!0)&&((k=f?.hide)==null||k.call(f)),n("click",x)},A=c(()=>l.target==="_blank"?!l.rel&&l.noRel?"noopener":l.rel:void 0),R=c(()=>l.disabled?"-1":typeof s.tabindex>"u"?null:s.tabindex),B=c(()=>({prefetch:l.prefetch,noPrefetch:l.noPrefetch,prefetchOn:l.prefetchOn,prefetchedClass:l.prefetchedClass,...b.value})),q=c(()=>({...m.value?b.value:void 0,...d.value||y.value?B.value:void 0}));return(x,C)=>($(),j(ae(o(p)),te({class:P.value,target:o(l).target,href:o(i),rel:A.value,tabindex:R.value,"aria-disabled":o(l).disabled?!0:null},q.value,{onClick:C[0]||(C[0]=O=>{var k;L(O),(k=o(r))==null||k.navigate(O)})}),{default:J(()=>[ee(x.$slots,"default")]),_:3},16,["class","target","href","rel","tabindex","aria-disabled"]))}}),Bt=(a,e,t={})=>{const l=G(F(a)),n=T(!1),s=T(Date.now()+l.value),{isActive:i,pause:p,resume:r,timestamp:d}=et({interval:e,controls:!0,callback:V=>{V>=s.value&&(n.value=!1,p())},...t}),m=c(()=>s.value-d.value),b=()=>{s.value=Date.now()+l.value,r()};S(l,()=>{b()});const y=()=>{n.value=!0,p()},f=()=>{n.value=!1;const V=s.value-d.value;s.value=Date.now()+V,r()},g=()=>{p(),d.value=s.value,n.value=!1};return{isActive:G(i),isPaused:G(n),stop:g,pause:y,resume:f,restart:b,value:m}},Ct=(a,e,t)=>{const l=tt(a),n=()=>{W(e).noHoverPause||t.pause()},s=()=>{W(e).noResumeOnHoverLeave||t.resume()};return S(l,i=>{if(!W(e).modelValueIgnoresHover){if(i){n();return}s()}}),{isHovering:l}},kt=K({__name:"BProgressBar",props:{animated:{type:Boolean,default:!1},label:{default:void 0},max:{default:void 0},precision:{default:0},showProgress:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},striped:{type:Boolean,default:!1},value:{default:0},variant:{default:null},bgVariant:{default:null},textVariant:{default:null}},setup(a){const t=X(a,"BProgressBar"),l=Q($e,null),n=Ve(t),s=c(()=>[n.value,{"progress-bar-animated":t.animated||l?.animated.value,"progress-bar-striped":t.striped||l?.striped.value||t.animated||l?.animated.value}]),i=re(()=>t.precision),p=re(()=>t.value),r=re(()=>t.max??NaN),d=re(()=>l?.max.value??NaN),m=c(()=>t.showValue||l?.showValue.value?p.value.toFixed(i.value):t.showProgress||l?.showProgress.value?(p.value*100/(r.value||100)).toFixed(i.value):t.label!==void 0?t.label:""),b=c(()=>d.value?`${p.value*100/d.value}%`:r.value?`${p.value*100/r.value}%`:typeof t.value=="string"?t.value:`${t.value}%`);return(y,f)=>($(),M("div",{class:ue(["progress-bar",s.value]),style:Ae({width:b.value})},[ee(y.$slots,"default",{},()=>[Te(pe(m.value),1)])],6))}}),xt=["aria-valuenow","aria-valuemax"],At=K({__name:"BProgress",props:{height:{default:void 0},animated:{type:Boolean,default:void 0},max:{default:100},precision:{default:void 0},showProgress:{type:Boolean,default:void 0},showValue:{type:Boolean,default:void 0},striped:{type:Boolean,default:void 0},value:{default:void 0},variant:{default:void 0},bgVariant:{default:void 0},textVariant:{default:void 0}},setup(a){const t=X(a,"BProgress");return ke($e,{animated:F(()=>t.animated),max:F(()=>t.max),showProgress:F(()=>t.showProgress),showValue:F(()=>t.showValue),striped:F(()=>t.striped)}),(l,n)=>($(),M("div",{class:"progress",role:"progressbar",style:Ae({height:o(t).height}),"aria-valuenow":o(t).value,"aria-valuemin":"0","aria-valuemax":o(t).max},[ee(l.$slots,"default",{},()=>[xe(kt,{animated:o(t).animated,max:o(t).max,precision:o(t).precision,"show-progress":o(t).showProgress,"show-value":o(t).showValue,striped:o(t).striped,value:o(t).value,variant:o(t).variant,"text-variant":o(t).textVariant,"bg-variant":o(t).bgVariant},null,8,["animated","max","precision","show-progress","show-value","striped","value","variant","text-variant","bg-variant"])])],12,xt))}}),Tt=["id","role","aria-live","aria-atomic"],$t={class:"me-auto"},Lt=K({__name:"BToast",props:ye({body:{default:void 0},bodyClass:{default:void 0},headerClass:{default:void 0},headerTag:{default:"div"},id:{default:void 0},interval:{default:"requestAnimationFrame"},isStatus:{type:Boolean,default:!1},noCloseButton:{type:Boolean,default:!1},noHoverPause:{type:Boolean,default:!1},noResumeOnHoverLeave:{type:Boolean,default:!1},progressProps:{default:void 0},showOnPause:{type:Boolean,default:!0},solid:{type:Boolean,default:!1},title:{default:void 0},toastClass:{default:void 0},variant:{default:void 0},bgVariant:{default:null},textVariant:{default:null},active:{type:Boolean,default:void 0},activeClass:{default:void 0},disabled:{type:Boolean,default:void 0},exactActiveClass:{default:void 0},href:{default:void 0},icon:{type:Boolean,default:void 0},noRel:{type:Boolean,default:void 0},opacity:{default:void 0},opacityHover:{default:void 0},prefetch:{type:Boolean},prefetchOn:{},noPrefetch:{type:Boolean},prefetchedClass:{},rel:{default:void 0},replace:{type:Boolean,default:void 0},routerComponentName:{default:void 0},stretched:{type:Boolean,default:!1},target:{default:void 0},to:{default:void 0},underlineOffset:{default:void 0},underlineOffsetHover:{default:void 0},underlineOpacity:{default:void 0},underlineOpacityHover:{default:void 0},underlineVariant:{default:void 0},initialAnimation:{type:Boolean,default:!1},noAnimation:{type:Boolean},noFade:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},unmountLazy:{type:Boolean,default:!1},show:{type:Boolean,default:!1},transProps:{default:void 0},visible:{type:Boolean,default:!1}},{modelValue:{type:[Boolean,Number],default:!1},modelModifiers:{}}),emits:ye(["close","close-countdown","hide","hide-prevented","hidden","show","show-prevented","shown","toggle","toggle-prevented"],["update:modelValue"]),setup(a,{expose:e,emit:t}){const n=X(a,"BToast"),s=t,i=je(),p=ze("_element"),r=Me(a,"modelValue"),{computedLink:d,computedLinkProps:m}=gt(n),b=rt(()=>n.id,"toast"),{showRef:y,renderRef:f,hide:g,toggle:V,show:P,buildTriggerableEvent:H,computedNoAnimation:L,isVisible:A,transitionProps:R,contentShowing:B}=ct(r,n,s,p,b),q=c(()=>typeof r.value=="boolean"?0:r.value),{isActive:x,pause:C,restart:O,resume:k,stop:z,isPaused:D,value:le}=Bt(q,n.interval,{immediate:typeof r.value=="number"&&!!r.value});Ct(p,c(()=>({noHoverPause:n.noHoverPause||typeof r.value!="number",noResumeOnHoverLeave:n.noResumeOnHoverLeave||typeof r.value!="number",modelValueIgnoresHover:typeof r.value=="boolean"})),{pause:C,resume:k}),Be(()=>{s("close-countdown",le.value)});const de=c(()=>d.value?Pt:"div"),U=c(()=>y.value||x.value||n.showOnPause&&D.value),ve=Ve(n),ce=c(()=>[ve.value,{show:A.value,fade:!L.value}]);return S(r,I=>{if(typeof I=="number"){const E=H("show",{cancelable:!0,trigger:"model"});s("show",E),E.defaultPrevented?s("show-prevented",H("show-prevented")):O()}}),S(x,I=>{I===!1&&D.value===!1&&(g(),r.value=0,z())}),e({show:P,hide:g,toggle:V,pause:C,restart:O,resume:k,stop:z}),(I,E)=>o(f)||o(B)?($(),j(We,te({key:0},o(R),{appear:!!r.value||o(n).visible}),{default:J(()=>[Ke(me("div",{id:o(n).id,ref:"_element",class:ue(["toast",[o(n).toastClass,ce.value]]),tabindex:"0",role:U.value?o(n).isStatus?"status":"alert":void 0,"aria-live":U.value?o(n).isStatus?"polite":"assertive":void 0,"aria-atomic":U.value?!0:void 0},[o(B)&&(i.title||o(n).title)?($(),j(ae(o(n).headerTag),{key:0,class:ue(["toast-header",o(n).headerClass])},{default:J(()=>[ee(I.$slots,"title",{hide:o(g)},()=>[me("strong",$t,pe(o(n).title),1)],!0),o(n).noCloseButton?Z("",!0):($(),j(ht,{key:0,onClick:E[0]||(E[0]=ne=>o(g)("close"))}))]),_:3},8,["class"])):Z("",!0),o(B)&&(i.default||o(n).body)?($(),j(ae(de.value),te({key:1,class:["toast-body",o(n).bodyClass],style:{display:"block"}},o(m),{onClick:E[1]||(E[1]=ne=>o(d)?o(g)():()=>{})}),{default:J(()=>[ee(I.$slots,"default",{hide:o(g)},()=>[Te(pe(o(n).body),1)],!0)]),_:3},16,["class"])):Z("",!0),typeof r.value=="number"&&o(n).progressProps!==void 0?($(),j(At,{key:2,animated:o(n).progressProps.animated,precision:o(n).progressProps.precision,"show-progress":o(n).progressProps.showProgress,"show-value":o(n).progressProps.showValue,striped:o(n).progressProps.striped,variant:o(n).progressProps.variant,max:r.value,value:o(le),height:"4px"},null,8,["animated","precision","show-progress","show-value","striped","variant","max","value"])):Z("",!0)],10,Tt),[[Ue,U.value]])]),_:3},16,["appear"])):Z("",!0)}}),Ot=ft(Lt,[["__scopeId","data-v-eeb0e3de"]]),Vt={"top-start":"top-0 start-0","top-center":"top-0 start-50 translate-middle-x","top-end":"top-0 end-0","middle-start":"top-50 start-0 translate-middle-y","middle-center":"top-50 start-50 translate-middle","middle-end":"top-50 end-0 translate-middle-y","bottom-start":"bottom-0 start-0","bottom-center":"bottom-0 start-50 translate-middle-x","bottom-end":"bottom-0 end-0"},Ft=K({inheritAttrs:!1,__name:"BToastOrchestrator",props:{appendToast:{type:Boolean,default:!1},teleportDisabled:{type:Boolean,default:!1},teleportTo:{default:"body"}},setup(a,{expose:e}){const l=X(a,"BToastOrchestrator"),n=at();return S(()=>l.appendToast,s=>{var i;(i=n._setIsAppend)==null||i.call(n,s)},{immediate:!0}),e({...n}),(s,i)=>($(),j(ut,{to:o(l).teleportTo,disabled:o(l).teleportDisabled},{default:J(()=>[me("div",te({id:"__BVID__toaster-container"},s.$attrs),[($(!0),M(he,null,be(o(Vt),(p,r)=>($(),M("div",{key:r,class:ue([p,"toast-container position-fixed p-3"])},[xe(Ie,{name:"b-list"},{default:J(()=>{var d;return[($(!0),M(he,null,be((d=o(n).toasts)==null?void 0:d.value.filter(m=>m.props.pos===r),m=>($(),M("span",{key:m.props._self},[($(),j(ae(m.component??Ot),te({ref_for:!0},m.props,{"model-value":m.props._modelValue,"initial-animation":"","onUpdate:modelValue":b=>{var y,f;return(f=(y=o(n)).leave)==null?void 0:f.call(y,m.props._self)},onHidden:b=>{var y,f;return(f=(y=o(n)).remove)==null?void 0:f.call(y,m.props._self)}}),null,16,["model-value","onUpdate:modelValue","onHidden"]))]))),128))]}),_:2},1024)],2))),128))],16)]),_:1},8,["to","disabled"]))}});export{Ot as B,Ft as _,X as a,Ve as b,gt as c,wt as d,Pt as e,ft as f,rt as g,ct as h,ht as i,ut as j,at as u};
|
|
2
|
-
//# sourceMappingURL=BToastOrchestrator.vue_vue_type_style_index_0_lang-CgGO-ddH-BDr_frBe.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{d as r,c as n,a as i,e as s,u as l,v as t,r as c}from"./filter-CiYqP1_r.js";import{_ as p}from"./_plugin-vue_export-helper-DlAUqK2U.js";const b={class:"collapsible-card"},u=["data-bs-target"],_={class:"title"},f=["id"],v=r({__name:"CollapsibleCard",setup(m){const d=c(null);let a=Math.round(Math.random()*1e4);return(e,o)=>(i(),n("div",b,[s("div",{class:"header collapsed","data-bs-toggle":"collapse","data-bs-target":"#body-"+l(a)},[s("div",_,[t(e.$slots,"title",{},void 0,!0)]),o[0]||(o[0]=s("span",null,null,-1)),t(e.$slots,"buttons",{},void 0,!0),o[1]||(o[1]=s("i",{class:"fa fa-chevron-up"},null,-1))],8,u),s("div",{class:"body collapse",id:"body-"+l(a),ref_key:"body",ref:d},[t(e.$slots,"body",{},void 0,!0)],8,f)]))}}),h=p(v,[["__scopeId","data-v-25b984b1"]]);export{h as C};
|
|
2
|
-
//# sourceMappingURL=CollapsibleCard-DoX0kPCZ.js.map
|
|
@@ -40,4 +40,3 @@ import{d as c,c as i,f as l,a as n,F as d,e as r,l as m,v as $,h as g,t as h}fro
|
|
|
40
40
|
"External" but is not included in the externally imported terms.`+(e.term.id?` Does the term still exist in
|
|
41
41
|
${e.term.id.split(":")[0]}?`:"")},"inconsistent-import":{severity:"warning",title:e=>"Inconsistent import",message:e=>`The term <code>${e.term.label}</code> (<code>${e.term.id??"no id"}</code>) has the curation
|
|
42
42
|
status "External" but its `+(e.term.id!==e.imported_term.id?`ID (<code>${e.imported_term.id}</code>)`:`label (<code>${e.imported_term.label}</code>)`)+" differs."}},p=["innerHTML"],u=["innerHTML"],b={key:0},f={key:1},v=["innerHTML"],w=c({__name:"Diagnostic",props:{diagnostic:{},severity:{default:null},format:{default:"long"}},setup(e){const o=e,t=m(()=>({severity:a[o.diagnostic.type].severity,title:a[o.diagnostic.type].title(o.diagnostic),message:a[o.diagnostic.type].message(o.diagnostic)}));return(s,y)=>e.format==="long"?(n(),i(d,{key:0},[r("h5",{innerHTML:t.value.title},null,8,p),r("p",{innerHTML:t.value.message},null,8,u),s.$slots.default?(n(),i("p",b,[$(s.$slots,"default")])):l("",!0)],64)):e.format==="inline"?(n(),i("p",f,[r("span",{innerHTML:t.value.message},null,8,v)])):e.format==="text"?(n(),i(d,{key:2},[g(h(t.value.message.replace(/(<([^>]+)>)/ig,"")),1)],64)):l("",!0)}});export{a as D,w as _};
|
|
43
|
-
//# sourceMappingURL=Diagnostic.vue_vue_type_script_setup_true_lang-CBzsmnqW.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
function e(l){return new Promise(o=>{bootbox.prompt({...l,callback(n){o(n??null)}})})}function t(l,o="hide"){return new Promise(n=>{let i=null;bootbox.alert({...l,onHidden(){o==="hidden"&&n(i)},callback(a){o==="hidden"?i=a??null:n(a??null)}})})}function c(l){return new Promise(o=>{bootbox.confirm({...l,callback(n){o(n)}})})}export{t as a,c,e as p};
|
|
2
|
-
//# sourceMappingURL=bootbox-D3SJ_Fwv.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{e as U,r as h,s as A,m as D,v as M,x as b,d as V,i as k}from"./index-sLCKmIWG-umQeu_-w.js";import{r as f,W as S,a0 as P,w as y,l as g,U as C,m as E,a5 as T,a6 as R,a7 as K}from"./filter-CiYqP1_r.js";const L={install(s,e){const u=e?.components??{};s.provide(U,f(u))}},N={install(s){const e=f([]),u=()=>{e.value.splice(0,e.value.length)};s.provide(h,{items:e,reset:u})}},x={install(s){const e=f(new Map),u=()=>{let l=()=>{};return{value:new Promise(t=>{l=t}),resolve:l}},i=l=>[u(),l||Symbol("Modals controller"),!0],_=(l={})=>{var o;const t=S(l.props),[r,a,v]=i((o=t.value)==null?void 0:o.id);return e.value.set(a,{component:l.component?P(l.component):void 0,props:{...t.value,_isConfirm:!1,_promise:r,_modelValue:v}}),y(t,p=>{const c=e.value.get(a);c&&e.value.set(a,{component:l.component?P(l.component):void 0,props:{...c.props,...p}})}),r.value},d=(l={})=>{var o;const t=S(l.props),[r,a,v]=i((o=t.value)==null?void 0:o.id);return e.value.set(a,{component:l.component?P(l.component):void 0,props:{...t.value,_isConfirm:!0,_promise:r,_modelValue:v}}),y(t,p=>{const c=e.value.get(a);c&&e.value.set(a,{component:l.component?P(l.component):void 0,props:{...c.props,...p}})}),r.value},m=l=>{const o=e.value.get(l);o?.props&&(o.props={...o.props,_modelValue:!1})},n=l=>{e.value.delete(l)};s.provide(A,{modals:e,remove:n,show:_,confirm:d,leave:m})}},B={install(s){const e=f(new Map),u=g(()=>e.value.size),i=g(()=>[...e.value.values()]),_=g(()=>i.value[i.value.length-1]),d=t=>{e.value.set(t.uid,t)},m=t=>{e.value.delete(t.uid)},n=f(new Map),l=t=>{n.value.set(t.uid,t)},o=t=>{n.value.delete(t.uid)};s.provide(D,{countStack:u,lastStack:_,registry:C(n),stack:i,pushStack:d,removeStack:m,pushRegistry:l,removeRegistry:o})}},w={install(s){const e=f(new Map),u=o=>{var t;const r=S(o),a=((t=r.value)==null?void 0:t.id)||Symbol("Popover controller");return y(r,v=>{e.value.set(a,{...v,...typeof v.modelValue<"u"&&T(o)?{"onUpdate:modelValue":p=>{var c;(c=v["onUpdate:modelValue"])==null||c.call(v,p),o.value.modelValue=p}}:{}})},{immediate:!0,deep:!0}),R(()=>e.value.delete(a),!0),a},i=(o,t)=>{const r=e.value.get(o);r&&e.value.set(o,{...r,...E(t)})},_=o=>e.value.delete(o),d=f(new Map),m=o=>{var t;const r=S(o),a=((t=r.value)==null?void 0:t.id)||Symbol("Tooltip controller");return y(r,v=>{e.value.set(a,{...v,...typeof v.modelValue<"u"&&T(o)?{"onUpdate:modelValue":p=>{var c;(c=v["onUpdate:modelValue"])==null||c.call(v,p),o.value.modelValue=p}}:{}})},{immediate:!0,deep:!0}),R(()=>d.value.delete(a),!0),a},n=(o,t)=>{const r=d.value.get(o);r&&d.value.set(o,{...r,...E(t)})},l=o=>d.value.delete(o);s.provide(M,{popovers:e,tooltips:d,tooltip:m,popover:u,setPopover:i,setTooltip:n,removePopover:_,removeTooltip:l})}},H={install(s,e){var u,i;const m=typeof e?.rtl=="boolean"?!1:((u=e?.rtl)==null?void 0:u.rtlInitial)??!1,n=typeof e?.rtl=="boolean"?void 0:((i=e?.rtl)==null?void 0:i.localeInitial)??void 0,l=f(m),o=f(n);s.provide(b,{isRtl:l,locale:o})}},Y="top-end",z={install(s){const e=f([]),u=f(!1),i=n=>{u.value=n},_=(n={})=>{var l,o,t,r;const a=S(n.props),v=((l=a.value)==null?void 0:l.id)||Symbol("Toast controller"),p={component:n.component?P(n.component):void 0,props:{...a.value,pos:((o=a.value)==null?void 0:o.pos)||Y,_modelValue:((t=a.value)==null?void 0:t.value)||5e3,_self:v}};return(((r=a.value)==null?void 0:r.appendToast)!==void 0?a.value.appendToast:u.value)?e.value.push(p):e.value.unshift(p),y(a,c=>{const I=e.value.findIndex(O=>O.props._self===v);I!==-1&&e.value.splice(I,1,{component:n.component?P(n.component):void 0,props:{...e.value[I].props,...c,_modelValue:c?.value||e.value[I].props._modelValue||5e3}})}),v},d=n=>{e.value=e.value.filter(l=>l.props._self!==n)},m=n=>{const l=e.value.findIndex(o=>o.props._self===n);l!==-1&&e.value.splice(l,1,{component:e.value[l].component?P(e.value[l].component):void 0,props:{...e.value[l].props,_modelValue:!1}})};s.provide(V,{_setIsAppend:i,toasts:e,show:_,remove:d,leave:m})}},F={install(s){const e=K({}),u=({id:i,value:_,toggle:d,show:m,hide:n})=>(e[i]=g(()=>({value:_.value,toggle:d,show:m,hide:n})),{unregister(){delete e[i]}});u.map=C(e),s.provide(k,u)}},q=(s={})=>({install(e){(s.breadcrumb??!0)&&e.use(N),(s.modalController??!0)&&e.use(x),(s.modalManager??!0)&&e.use(B),((s.rtl??!0)||typeof s.rtl=="object")&&e.use(H,s),(s.toast??!0)&&e.use(z),(s.popover??!0)&&e.use(w),e.use(F),e.use(L,s)}}),G={DISCUSSED:"Discussed",READY:"Ready",PROPOSED:"Proposed",TO_BE_DISCUSSED:"To be discussed",IN_DISCUSSION:"In discussion",PUBLISHED:"Published",OBSOLETE:"Obsolete",EXTERNAL:"External",PRE_PROPOSED:"Pre-proposed"},X={CURATION_STATUS:"Curation status",TO_BE_REVIEWED_BY:"To be reviewed by",CURATOR:"Curator",ID:"ID",E_CIGO:"E-CigO",FUZZY_SET:"Fuzzy set",RELATIONSHIP_TYPE:"Relationship type",LABEL:"Label"};export{X as C,G as a,q as c};
|
|
2
|
-
//# sourceMappingURL=constants-CzBHF1EN.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
function gs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const U={},mt=[],$e=()=>{},Er=()=>!1,An=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ms=e=>e.startsWith("onUpdate:"),se=Object.assign,_s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},eo=Object.prototype.hasOwnProperty,W=(e,t)=>eo.call(e,t),P=Array.isArray,_t=e=>qt(e)==="[object Map]",wt=e=>qt(e)==="[object Set]",Hs=e=>qt(e)==="[object Date]",D=e=>typeof e=="function",Q=e=>typeof e=="string",Ee=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",Ar=e=>(G(e)||D(e))&&D(e.then)&&D(e.catch),Mr=Object.prototype.toString,qt=e=>Mr.call(e),to=e=>qt(e).slice(8,-1),Pr=e=>qt(e)==="[object Object]",Mn=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=gs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},no=/-\w/g,Ce=Pn(e=>e.replace(no,t=>t.slice(1).toUpperCase())),so=/\B([A-Z])/g,Je=Pn(e=>e.replace(so,"-$1").toLowerCase()),On=Pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Un=Pn(e=>e?`on${On(e)}`:""),be=(e,t)=>!Object.is(e,t),cn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Or=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},In=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ro=e=>{const t=Q(e)?Number(e):NaN;return isNaN(t)?e:t};let Vs;const Rn=()=>Vs||(Vs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(e){if(P(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Q(s)?fo(s):Fn(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(Q(e)||G(e))return e}const io=/;(?![^(]*\))/g,oo=/:([^]+)/,lo=/\/\*[^]*?\*\//g;function fo(e){const t={};return e.replace(lo,"").split(io).forEach(n=>{if(n){const s=n.split(oo);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Dn(e){let t="";if(Q(e))t=e;else if(P(e))for(let n=0;n<e.length;n++){const s=Dn(e[n]);s&&(t+=s+" ")}else if(G(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function kf(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Q(t)&&(e.class=Dn(t)),n&&(e.style=Fn(n)),e}const co="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uo=gs(co);function Ir(e){return!!e||e===""}function ao(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Jt(e[s],t[s]);return n}function Jt(e,t){if(e===t)return!0;let n=Hs(e),s=Hs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ee(e),s=Ee(t),n||s)return e===t;if(n=P(e),s=P(t),n||s)return n&&s?ao(e,t):!1;if(n=G(e),s=G(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Jt(e[o],t[o]))return!1}}return String(e)===String(t)}function ys(e,t){return e.findIndex(n=>Jt(n,t))}const Rr=e=>!!(e&&e.__v_isRef===!0),ho=e=>Q(e)?e:e==null?"":P(e)||G(e)&&(e.toString===Mr||!D(e.toString))?Rr(e)?ho(e.value):JSON.stringify(e,Fr,2):String(e),Fr=(e,t)=>Rr(t)?Fr(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Wn(s,i)+" =>"]=r,n),{})}:wt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Wn(n))}:Ee(t)?Wn(t):G(t)&&!P(t)&&!Pr(t)?String(t):t,Wn=(e,t="")=>{var n;return Ee(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ue;class Dr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ue,!t&&ue&&(this.index=(ue.scopes||(ue.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ue;try{return ue=this,t()}finally{ue=n}}}on(){++this._on===1&&(this.prevScope=ue,ue=this)}off(){this._on>0&&--this._on===0&&(ue=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Gf(e){return new Dr(e)}function po(){return ue}function qf(e,t=!1){ue&&ue.cleanups.push(e)}let X;const kn=new WeakSet;class Lr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ue&&ue.active&&ue.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,kn.has(this)&&(kn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||$r(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,js(this),Hr(this);const t=X,n=we;X=this,we=!0;try{return this.fn()}finally{Vr(this),X=t,we=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)xs(t);this.deps=this.depsTail=void 0,js(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?kn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ts(this)&&this.run()}get dirty(){return ts(this)}}let Nr=0,Dt,Lt;function $r(e,t=!1){if(e.flags|=8,t){e.next=Lt,Lt=e;return}e.next=Dt,Dt=e}function bs(){Nr++}function vs(){if(--Nr>0)return;if(Lt){let t=Lt;for(Lt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Dt;){let t=Dt;for(Dt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Hr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Vr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),xs(s),go(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(jr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function jr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===jt)||(e.globalVersion=jt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ts(e))))return;e.flags|=2;const t=e.dep,n=X,s=we;X=e,we=!0;try{Hr(e);const r=e.fn(e._value);(t.version===0||be(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{X=n,we=s,Vr(e),e.flags&=-3}}function xs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)xs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function go(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let we=!0;const Kr=[];function ke(){Kr.push(we),we=!1}function Ge(){const e=Kr.pop();we=e===void 0?!0:e}function js(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=X;X=void 0;try{t()}finally{X=n}}}let jt=0;class mo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ln{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!X||!we||X===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==X)n=this.activeLink=new mo(X,this),X.deps?(n.prevDep=X.depsTail,X.depsTail.nextDep=n,X.depsTail=n):X.deps=X.depsTail=n,Br(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=X.depsTail,n.nextDep=void 0,X.depsTail.nextDep=n,X.depsTail=n,X.deps===n&&(X.deps=s)}return n}trigger(t){this.version++,jt++,this.notify(t)}notify(t){bs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{vs()}}}function Br(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Br(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const mn=new WeakMap,ut=Symbol(""),ns=Symbol(""),Kt=Symbol("");function ae(e,t,n){if(we&&X){let s=mn.get(e);s||mn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ln),r.map=s,r.key=n),r.track()}}function Be(e,t,n,s,r,i){const o=mn.get(e);if(!o){jt++;return}const l=f=>{f&&f.trigger()};if(bs(),t==="clear")o.forEach(l);else{const f=P(e),a=f&&Mn(n);if(f&&n==="length"){const c=Number(s);o.forEach((h,g)=>{(g==="length"||g===Kt||!Ee(g)&&g>=c)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),a&&l(o.get(Kt)),t){case"add":f?a&&l(o.get("length")):(l(o.get(ut)),_t(e)&&l(o.get(ns)));break;case"delete":f||(l(o.get(ut)),_t(e)&&l(o.get(ns)));break;case"set":_t(e)&&l(o.get(ut));break}}vs()}function _o(e,t){const n=mn.get(e);return n&&n.get(t)}function pt(e){const t=B(e);return t===e?t:(ae(t,"iterate",Kt),Se(e)?t:t.map(Ae))}function Nn(e){return ae(e=B(e),"iterate",Kt),e}function Ze(e,t){return qe(e)?xt(at(e)?Ae(t):t):Ae(t)}const yo={__proto__:null,[Symbol.iterator](){return Gn(this,Symbol.iterator,e=>Ze(this,e))},concat(...e){return pt(this).concat(...e.map(t=>P(t)?pt(t):t))},entries(){return Gn(this,"entries",e=>(e[1]=Ze(this,e[1]),e))},every(e,t){return Ve(this,"every",e,t,void 0,arguments)},filter(e,t){return Ve(this,"filter",e,t,n=>n.map(s=>Ze(this,s)),arguments)},find(e,t){return Ve(this,"find",e,t,n=>Ze(this,n),arguments)},findIndex(e,t){return Ve(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ve(this,"findLast",e,t,n=>Ze(this,n),arguments)},findLastIndex(e,t){return Ve(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ve(this,"forEach",e,t,void 0,arguments)},includes(...e){return qn(this,"includes",e)},indexOf(...e){return qn(this,"indexOf",e)},join(e){return pt(this).join(e)},lastIndexOf(...e){return qn(this,"lastIndexOf",e)},map(e,t){return Ve(this,"map",e,t,void 0,arguments)},pop(){return Pt(this,"pop")},push(...e){return Pt(this,"push",e)},reduce(e,...t){return Ks(this,"reduce",e,t)},reduceRight(e,...t){return Ks(this,"reduceRight",e,t)},shift(){return Pt(this,"shift")},some(e,t){return Ve(this,"some",e,t,void 0,arguments)},splice(...e){return Pt(this,"splice",e)},toReversed(){return pt(this).toReversed()},toSorted(e){return pt(this).toSorted(e)},toSpliced(...e){return pt(this).toSpliced(...e)},unshift(...e){return Pt(this,"unshift",e)},values(){return Gn(this,"values",e=>Ze(this,e))}};function Gn(e,t,n){const s=Nn(e),r=s[t]();return s!==e&&!Se(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const bo=Array.prototype;function Ve(e,t,n,s,r,i){const o=Nn(e),l=o!==e&&!Se(e),f=o[t];if(f!==bo[t]){const h=f.apply(e,i);return l?Ae(h):h}let a=n;o!==e&&(l?a=function(h,g){return n.call(this,Ze(e,h),g,e)}:n.length>2&&(a=function(h,g){return n.call(this,h,g,e)}));const c=f.call(o,a,s);return l&&r?r(c):c}function Ks(e,t,n,s){const r=Nn(e);let i=n;return r!==e&&(Se(e)?n.length>3&&(i=function(o,l,f){return n.call(this,o,l,f,e)}):i=function(o,l,f){return n.call(this,o,Ze(e,l),f,e)}),r[t](i,...s)}function qn(e,t,n){const s=B(e);ae(s,"iterate",Kt);const r=s[t](...n);return(r===-1||r===!1)&&$n(n[0])?(n[0]=B(n[0]),s[t](...n)):r}function Pt(e,t,n=[]){ke(),bs();const s=B(e)[t].apply(e,n);return vs(),Ge(),s}const vo=gs("__proto__,__v_isRef,__isVue"),Ur=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ee));function xo(e){Ee(e)||(e=String(e));const t=B(this);return ae(t,"has",e),t.hasOwnProperty(e)}class Wr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Io:Jr:i?qr:Gr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=P(t);if(!r){let f;if(o&&(f=yo[n]))return f;if(n==="hasOwnProperty")return xo}const l=Reflect.get(t,n,ie(t)?t:s);if((Ee(n)?Ur.has(n):vo(n))||(r||ae(t,"get",n),i))return l;if(ie(l)){const f=o&&Mn(n)?l:l.value;return r&&G(f)?rs(f):f}return G(l)?r?rs(l):Cs(l):l}}class kr extends Wr{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=P(t)&&Mn(n);if(!this._isShallow){const a=qe(i);if(!Se(s)&&!qe(s)&&(i=B(i),s=B(s)),!o&&ie(i)&&!ie(s))return a||(i.value=s),!0}const l=o?Number(n)<t.length:W(t,n),f=Reflect.set(t,n,s,ie(t)?t:r);return t===B(r)&&(l?be(s,i)&&Be(t,"set",n,s):Be(t,"add",n,s)),f}deleteProperty(t,n){const s=W(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Be(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ee(n)||!Ur.has(n))&&ae(t,"has",n),s}ownKeys(t){return ae(t,"iterate",P(t)?"length":ut),Reflect.ownKeys(t)}}class So extends Wr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Co=new kr,To=new So,wo=new kr(!0);const ss=e=>e,nn=e=>Reflect.getPrototypeOf(e);function Eo(e,t,n){return function(...s){const r=this.__v_raw,i=B(r),o=_t(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,a=r[e](...s),c=n?ss:t?xt:Ae;return!t&&ae(i,"iterate",f?ns:ut),se(Object.create(a),{next(){const{value:h,done:g}=a.next();return g?{value:h,done:g}:{value:l?[c(h[0]),c(h[1])]:c(h),done:g}}})}}function sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ao(e,t){const n={get(r){const i=this.__v_raw,o=B(i),l=B(r);e||(be(r,l)&&ae(o,"get",r),ae(o,"get",l));const{has:f}=nn(o),a=t?ss:e?xt:Ae;if(f.call(o,r))return a(i.get(r));if(f.call(o,l))return a(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ae(B(r),"iterate",ut),r.size},has(r){const i=this.__v_raw,o=B(i),l=B(r);return e||(be(r,l)&&ae(o,"has",r),ae(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=B(l),a=t?ss:e?xt:Ae;return!e&&ae(f,"iterate",ut),l.forEach((c,h)=>r.call(i,a(c),a(h),o))}};return se(n,e?{add:sn("add"),set:sn("set"),delete:sn("delete"),clear:sn("clear")}:{add(r){!t&&!Se(r)&&!qe(r)&&(r=B(r));const i=B(this);return nn(i).has.call(i,r)||(i.add(r),Be(i,"add",r,r)),this},set(r,i){!t&&!Se(i)&&!qe(i)&&(i=B(i));const o=B(this),{has:l,get:f}=nn(o);let a=l.call(o,r);a||(r=B(r),a=l.call(o,r));const c=f.call(o,r);return o.set(r,i),a?be(i,c)&&Be(o,"set",r,i):Be(o,"add",r,i),this},delete(r){const i=B(this),{has:o,get:l}=nn(i);let f=o.call(i,r);f||(r=B(r),f=o.call(i,r)),l&&l.call(i,r);const a=i.delete(r);return f&&Be(i,"delete",r,void 0),a},clear(){const r=B(this),i=r.size!==0,o=r.clear();return i&&Be(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Eo(r,e,t)}),n}function Ss(e,t){const n=Ao(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(W(n,r)&&r in s?n:s,r,i)}const Mo={get:Ss(!1,!1)},Po={get:Ss(!1,!0)},Oo={get:Ss(!0,!1)};const Gr=new WeakMap,qr=new WeakMap,Jr=new WeakMap,Io=new WeakMap;function Ro(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fo(e){return e.__v_skip||!Object.isExtensible(e)?0:Ro(to(e))}function Cs(e){return qe(e)?e:Ts(e,!1,Co,Mo,Gr)}function Do(e){return Ts(e,!1,wo,Po,qr)}function rs(e){return Ts(e,!0,To,Oo,Jr)}function Ts(e,t,n,s,r){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Fo(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function at(e){return qe(e)?at(e.__v_raw):!!(e&&e.__v_isReactive)}function qe(e){return!!(e&&e.__v_isReadonly)}function Se(e){return!!(e&&e.__v_isShallow)}function $n(e){return e?!!e.__v_raw:!1}function B(e){const t=e&&e.__v_raw;return t?B(t):e}function Lo(e){return!W(e,"__v_skip")&&Object.isExtensible(e)&&Or(e,"__v_skip",!0),e}const Ae=e=>G(e)?Cs(e):e,xt=e=>G(e)?rs(e):e;function ie(e){return e?e.__v_isRef===!0:!1}function un(e){return Yr(e,!1)}function No(e){return Yr(e,!0)}function Yr(e,t){return ie(e)?e:new $o(e,t)}class $o{constructor(t,n){this.dep=new Ln,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:B(t),this._value=n?t:Ae(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Se(t)||qe(t);t=s?t:B(t),be(t,n)&&(this._rawValue=t,this._value=s?t:Ae(t),this.dep.trigger())}}function ws(e){return ie(e)?e.value:e}function Jf(e){return D(e)?e():ws(e)}const Ho={get:(e,t,n)=>t==="__v_raw"?e:ws(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ie(r)&&!ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function zr(e){return at(e)?e:new Proxy(e,Ho)}class Vo{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ln,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function jo(e){return new Vo(e)}class Ko{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._raw=B(t);let r=!0,i=t;if(!P(t)||!Mn(String(n)))do r=!$n(i)||Se(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=ws(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ie(this._raw[this._key])){const n=this._object[this._key];if(ie(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return _o(this._raw,this._key)}}class Bo{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Yf(e,t,n){return ie(e)?e:D(e)?new Bo(e):G(e)&&arguments.length>1?Uo(e,t,n):un(e)}function Uo(e,t,n){return new Ko(e,t,n)}class Wo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ln(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&X!==this)return $r(this,!0),!0}get value(){const t=this.dep.track();return jr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ko(e,t,n=!1){let s,r;return D(e)?s=e:(s=e.get,r=e.set),new Wo(s,r,n)}const rn={},_n=new WeakMap;let ft;function Go(e,t=!1,n=ft){if(n){let s=_n.get(n);s||_n.set(n,s=[]),s.push(e)}}function qo(e,t,n=U){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=n,a=M=>r?M:Se(M)||r===!1||r===0?Ue(M,1):Ue(M);let c,h,g,b,C=!1,x=!1;if(ie(e)?(h=()=>e.value,C=Se(e)):at(e)?(h=()=>a(e),C=!0):P(e)?(x=!0,C=e.some(M=>at(M)||Se(M)),h=()=>e.map(M=>{if(ie(M))return M.value;if(at(M))return a(M);if(D(M))return f?f(M,2):M()})):D(e)?t?h=f?()=>f(e,2):e:h=()=>{if(g){ke();try{g()}finally{Ge()}}const M=ft;ft=c;try{return f?f(e,3,[b]):e(b)}finally{ft=M}}:h=$e,t&&r){const M=h,K=r===!0?1/0:r;h=()=>Ue(M(),K)}const $=po(),O=()=>{c.stop(),$&&$.active&&_s($.effects,c)};if(i&&t){const M=t;t=(...K)=>{M(...K),O()}}let H=x?new Array(e.length).fill(rn):rn;const L=M=>{if(!(!(c.flags&1)||!c.dirty&&!M))if(t){const K=c.run();if(r||C||(x?K.some((q,ne)=>be(q,H[ne])):be(K,H))){g&&g();const q=ft;ft=c;try{const ne=[K,H===rn?void 0:x&&H[0]===rn?[]:H,b];H=K,f?f(t,3,ne):t(...ne)}finally{ft=q}}}else c.run()};return l&&l(L),c=new Lr(h),c.scheduler=o?()=>o(L,!1):L,b=M=>Go(M,!1,c),g=c.onStop=()=>{const M=_n.get(c);if(M){if(f)f(M,4);else for(const K of M)K();_n.delete(c)}},t?s?L(!0):H=c.run():o?o(L.bind(null,!0),!0):c.run(),O.pause=c.pause.bind(c),O.resume=c.resume.bind(c),O.stop=O,O}function Ue(e,t=1/0,n){if(t<=0||!G(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ie(e))Ue(e.value,t,n);else if(P(e))for(let s=0;s<e.length;s++)Ue(e[s],t,n);else if(wt(e)||_t(e))e.forEach(s=>{Ue(s,t,n)});else if(Pr(e)){for(const s in e)Ue(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ue(e[s],t,n)}return e}function Yt(e,t,n,s){try{return s?e(...s):e()}catch(r){zt(r,t,n)}}function Me(e,t,n,s){if(D(e)){const r=Yt(e,t,n,s);return r&&Ar(r)&&r.catch(i=>{zt(i,t,n)}),r}if(P(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Me(e[i],t,n,s));return r}}function zt(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||U;if(t){let l=t.parent;const f=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let h=0;h<c.length;h++)if(c[h](e,f,a)===!1)return}l=l.parent}if(i){ke(),Yt(i,null,10,[e,f,a]),Ge();return}}Jo(e,n,r,s,o)}function Jo(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const ge=[];let Le=-1;const yt=[];let Qe=null,gt=0;const Xr=Promise.resolve();let yn=null;function Zr(e){const t=yn||Xr;return e?t.then(this?e.bind(this):e):t}function Yo(e){let t=Le+1,n=ge.length;for(;t<n;){const s=t+n>>>1,r=ge[s],i=Bt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Es(e){if(!(e.flags&1)){const t=Bt(e),n=ge[ge.length-1];!n||!(e.flags&2)&&t>=Bt(n)?ge.push(e):ge.splice(Yo(t),0,e),e.flags|=1,Qr()}}function Qr(){yn||(yn=Xr.then(ti))}function zo(e){P(e)?yt.push(...e):Qe&&e.id===-1?Qe.splice(gt+1,0,e):e.flags&1||(yt.push(e),e.flags|=1),Qr()}function Bs(e,t,n=Le+1){for(;n<ge.length;n++){const s=ge[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;ge.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ei(e){if(yt.length){const t=[...new Set(yt)].sort((n,s)=>Bt(n)-Bt(s));if(yt.length=0,Qe){Qe.push(...t);return}for(Qe=t,gt=0;gt<Qe.length;gt++){const n=Qe[gt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qe=null,gt=0}}const Bt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ti(e){try{for(Le=0;Le<ge.length;Le++){const t=ge[Le];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Le<ge.length;Le++){const t=ge[Le];t&&(t.flags&=-2)}Le=-1,ge.length=0,ei(),yn=null,(ge.length||yt.length)&&ti()}}let fe=null,ni=null;function bn(e){const t=fe;return fe=e,ni=e&&e.type.__scopeId||null,t}function Xo(e,t=fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Cn(-1);const i=bn(t);let o;try{o=e(...r)}finally{bn(i),s._d&&Cn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function zf(e,t){if(fe===null)return e;const n=Kn(fe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,f=U]=t[r];i&&(D(i)&&(i={mounted:i,updated:i}),i.deep&&Ue(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function it(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let f=l.dir[s];f&&(ke(),Me(f,n,8,[e.el,l,e,t]),Ge())}}function Zo(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function an(e,t,n=!1){const s=ht();if(s||vt){let r=vt?vt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s&&s.proxy):t}}const Qo=Symbol.for("v-scx"),el=()=>an(Qo);function Xf(e,t){return Xt(e,null,t)}function Zf(e,t){return Xt(e,null,{flush:"post"})}function tl(e,t){return Xt(e,null,{flush:"sync"})}function Jn(e,t,n){return Xt(e,t,n)}function Xt(e,t,n=U){const{immediate:s,deep:r,flush:i,once:o}=n,l=se({},n),f=t&&s||!t&&i!=="post";let a;if(St){if(i==="sync"){const b=el();a=b.__watcherHandles||(b.__watcherHandles=[])}else if(!f){const b=()=>{};return b.stop=$e,b.resume=$e,b.pause=$e,b}}const c=le;l.call=(b,C,x)=>Me(b,c,C,x);let h=!1;i==="post"?l.scheduler=b=>{pe(b,c&&c.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(b,C)=>{C?b():Es(b)}),l.augmentJob=b=>{t&&(b.flags|=4),h&&(b.flags|=2,c&&(b.id=c.uid,b.i=c))};const g=qo(e,t,l);return St&&(a?a.push(g):f&&g()),g}function nl(e,t,n){const s=this.proxy,r=Q(e)?e.includes(".")?si(s,e):()=>s[e]:e.bind(s,s);let i;D(t)?i=t:(i=t.handler,n=t);const o=Qt(this),l=Xt(r,i.bind(s),n);return o(),l}function si(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const ri=Symbol("_vte"),ii=e=>e.__isTeleport,Nt=e=>e&&(e.disabled||e.disabled===""),Us=e=>e&&(e.defer||e.defer===""),Ws=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ks=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,is=(e,t)=>{const n=e&&e.to;return Q(n)?t?t(n):null:n},oi={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,f,a){const{mc:c,pc:h,pbc:g,o:{insert:b,querySelector:C,createText:x,createComment:$}}=a,O=Nt(t.props);let{shapeFlag:H,children:L,dynamicChildren:M}=t;if(e==null){const K=t.el=x(""),q=t.anchor=x("");b(K,n,s),b(q,n,s);const ne=(F,V)=>{H&16&&c(L,F,V,r,i,o,l,f)},te=()=>{const F=t.target=is(t.props,C),V=li(F,t,x,b);F&&(o!=="svg"&&Ws(F)?o="svg":o!=="mathml"&&ks(F)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(F),O||(ne(F,V),dn(t,!1)))};O&&(ne(n,q),dn(t,!0)),Us(t.props)?(t.el.__isMounted=!1,pe(()=>{te(),delete t.el.__isMounted},i)):te()}else{if(Us(t.props)&&e.el.__isMounted===!1){pe(()=>{oi.process(e,t,n,s,r,i,o,l,f,a)},i);return}t.el=e.el,t.targetStart=e.targetStart;const K=t.anchor=e.anchor,q=t.target=e.target,ne=t.targetAnchor=e.targetAnchor,te=Nt(e.props),F=te?n:q,V=te?K:ne;if(o==="svg"||Ws(q)?o="svg":(o==="mathml"||ks(q))&&(o="mathml"),M?(g(e.dynamicChildren,M,F,r,i,o,l),Is(e,t,!0)):f||h(e,t,F,V,r,i,o,l,!1),O)te?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):on(t,n,K,a,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const J=t.target=is(t.props,C);J&&on(t,J,null,a,0)}else te&&on(t,q,ne,a,1);dn(t,O)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:f,targetStart:a,targetAnchor:c,target:h,props:g}=e;if(h&&(r(a),r(c)),i&&r(f),o&16){const b=i||!Nt(g);for(let C=0;C<l.length;C++){const x=l[C];s(x,t,n,b,!!x.dynamicChildren)}}},move:on,hydrate:sl};function on(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:f,children:a,props:c}=e,h=i===2;if(h&&s(o,t,n),(!h||Nt(c))&&f&16)for(let g=0;g<a.length;g++)r(a[g],t,n,2);h&&s(l,t,n)}function sl(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:f,insert:a,createText:c}},h){function g(x,$,O,H){$.anchor=h(o(x),$,l(x),n,s,r,i),$.targetStart=O,$.targetAnchor=H}const b=t.target=is(t.props,f),C=Nt(t.props);if(b){const x=b._lpa||b.firstChild;if(t.shapeFlag&16)if(C)g(e,t,x,x&&o(x));else{t.anchor=o(e);let $=x;for(;$;){if($&&$.nodeType===8){if($.data==="teleport start anchor")t.targetStart=$;else if($.data==="teleport anchor"){t.targetAnchor=$,b._lpa=t.targetAnchor&&o(t.targetAnchor);break}}$=o($)}t.targetAnchor||li(b,t,c,a),h(x&&o(x),t,b,n,s,r,i)}dn(t,C)}else C&&t.shapeFlag&16&&g(e,t,e,o(e));return t.anchor&&o(t.anchor)}const Qf=oi;function dn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function li(e,t,n,s){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[ri]=i,e&&(s(r,e),s(i,e)),i}const Ke=Symbol("_leaveCb"),ln=Symbol("_enterCb");function fi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return pi(()=>{e.isMounted=!0}),mi(()=>{e.isUnmounting=!0}),e}const Te=[Function,Array],ci={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Te,onEnter:Te,onAfterEnter:Te,onEnterCancelled:Te,onBeforeLeave:Te,onLeave:Te,onAfterLeave:Te,onLeaveCancelled:Te,onBeforeAppear:Te,onAppear:Te,onAfterAppear:Te,onAppearCancelled:Te},ui=e=>{const t=e.subTree;return t.component?ui(t.component):t},rl={name:"BaseTransition",props:ci,setup(e,{slots:t}){const n=ht(),s=fi();return()=>{const r=t.default&&As(t.default(),!0);if(!r||!r.length)return;const i=ai(r),o=B(e),{mode:l}=o;if(s.isLeaving)return Yn(i);const f=Gs(i);if(!f)return Yn(i);let a=Ut(f,o,s,n,h=>a=h);f.type!==de&&dt(f,a);let c=n.subTree&&Gs(n.subTree);if(c&&c.type!==de&&!ct(c,f)&&ui(n).type!==de){let h=Ut(c,o,s,n);if(dt(c,h),l==="out-in"&&f.type!==de)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,c=void 0},Yn(i);l==="in-out"&&f.type!==de?h.delayLeave=(g,b,C)=>{const x=di(s,c);x[String(c.key)]=c,g[Ke]=()=>{b(),g[Ke]=void 0,delete a.delayedLeave,c=void 0},a.delayedLeave=()=>{C(),delete a.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function ai(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==de){t=n;break}}return t}const il=rl;function di(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ut(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:f,onEnter:a,onAfterEnter:c,onEnterCancelled:h,onBeforeLeave:g,onLeave:b,onAfterLeave:C,onLeaveCancelled:x,onBeforeAppear:$,onAppear:O,onAfterAppear:H,onAppearCancelled:L}=t,M=String(e.key),K=di(n,e),q=(F,V)=>{F&&Me(F,s,9,V)},ne=(F,V)=>{const J=V[1];q(F,V),P(F)?F.every(A=>A.length<=1)&&J():F.length<=1&&J()},te={mode:o,persisted:l,beforeEnter(F){let V=f;if(!n.isMounted)if(i)V=$||f;else return;F[Ke]&&F[Ke](!0);const J=K[M];J&&ct(e,J)&&J.el[Ke]&&J.el[Ke](),q(V,[F])},enter(F){let V=a,J=c,A=h;if(!n.isMounted)if(i)V=O||a,J=H||c,A=L||h;else return;let Z=!1;const ce=F[ln]=He=>{Z||(Z=!0,He?q(A,[F]):q(J,[F]),te.delayedLeave&&te.delayedLeave(),F[ln]=void 0)};V?ne(V,[F,ce]):ce()},leave(F,V){const J=String(e.key);if(F[ln]&&F[ln](!0),n.isUnmounting)return V();q(g,[F]);let A=!1;const Z=F[Ke]=ce=>{A||(A=!0,V(),ce?q(x,[F]):q(C,[F]),F[Ke]=void 0,K[J]===e&&delete K[J])};K[J]=e,b?ne(b,[F,Z]):Z()},clone(F){const V=Ut(F,t,n,s,r);return r&&r(V),V}};return te}function Yn(e){if(Zt(e))return e=nt(e),e.children=null,e}function Gs(e){if(!Zt(e))return ii(e.type)&&e.children?ai(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&D(n.default))return n.default()}}function dt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,dt(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 As(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===me?(o.patchFlag&128&&r++,s=s.concat(As(o.children,t,l))):(t||o.type!==de)&&s.push(l!=null?nt(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function ol(e,t){return D(e)?se({name:e.name},t,{setup:e}):e}function ec(){const e=ht();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Ms(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tc(e){const t=ht(),n=No(null);if(t){const r=t.refs===U?t.refs={}:t.refs;Object.defineProperty(r,e,{enumerable:!0,get:()=>n.value,set:i=>n.value=i})}return n}const vn=new WeakMap;function $t(e,t,n,s,r=!1){if(P(e)){e.forEach((C,x)=>$t(C,t&&(P(t)?t[x]:t),n,s,r));return}if(bt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&$t(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Kn(s.component):s.el,o=r?null:i,{i:l,r:f}=e,a=t&&t.r,c=l.refs===U?l.refs={}:l.refs,h=l.setupState,g=B(h),b=h===U?Er:C=>W(g,C);if(a!=null&&a!==f){if(qs(t),Q(a))c[a]=null,b(a)&&(h[a]=null);else if(ie(a)){a.value=null;const C=t;C.k&&(c[C.k]=null)}}if(D(f))Yt(f,l,12,[o,c]);else{const C=Q(f),x=ie(f);if(C||x){const $=()=>{if(e.f){const O=C?b(f)?h[f]:c[f]:f.value;if(r)P(O)&&_s(O,i);else if(P(O))O.includes(i)||O.push(i);else if(C)c[f]=[i],b(f)&&(h[f]=c[f]);else{const H=[i];f.value=H,e.k&&(c[e.k]=H)}}else C?(c[f]=o,b(f)&&(h[f]=o)):x&&(f.value=o,e.k&&(c[e.k]=o))};if(o){const O=()=>{$(),vn.delete(e)};O.id=-1,vn.set(e,O),pe(O,n)}else qs(e),$()}}}function qs(e){const t=vn.get(e);t&&(t.flags|=8,vn.delete(e))}const Js=e=>e.nodeType===8;Rn().requestIdleCallback;Rn().cancelIdleCallback;function ll(e,t){if(Js(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Js(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const bt=e=>!!e.type.__asyncLoader;function nc(e){D(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:f}=e;let a=null,c,h=0;const g=()=>(h++,a=null,b()),b=()=>{let C;return a||(C=a=t().catch(x=>{if(x=x instanceof Error?x:new Error(String(x)),f)return new Promise(($,O)=>{f(x,()=>$(g()),()=>O(x),h+1)});throw x}).then(x=>C!==a&&a?a:(x&&(x.__esModule||x[Symbol.toStringTag]==="Module")&&(x=x.default),c=x,x)))};return ol({name:"AsyncComponentWrapper",__asyncLoader:b,__asyncHydrate(C,x,$){let O=!1;(x.bu||(x.bu=[])).push(()=>O=!0);const H=()=>{O||$()},L=i?()=>{const M=i(H,K=>ll(C,K));M&&(x.bum||(x.bum=[])).push(M)}:H;c?L():b().then(()=>!x.isUnmounted&&L())},get __asyncResolved(){return c},setup(){const C=le;if(Ms(C),c)return()=>fn(c,C);const x=L=>{a=null,zt(L,C,13,!s)};if(l&&C.suspense||St)return b().then(L=>()=>fn(L,C)).catch(L=>(x(L),()=>s?re(s,{error:L}):null));const $=un(!1),O=un(),H=un(!!r);return r&&setTimeout(()=>{H.value=!1},r),o!=null&&setTimeout(()=>{if(!$.value&&!O.value){const L=new Error(`Async component timed out after ${o}ms.`);x(L),O.value=L}},o),b().then(()=>{$.value=!0,C.parent&&Zt(C.parent.vnode)&&C.parent.update()}).catch(L=>{x(L),O.value=L}),()=>{if($.value&&c)return fn(c,C);if(O.value&&s)return re(s,{error:O.value});if(n&&!H.value)return fn(n,C)}}})}function fn(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=re(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const Zt=e=>e.type.__isKeepAlive;function fl(e,t){hi(e,"a",t)}function cl(e,t){hi(e,"da",t)}function hi(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Hn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Zt(r.parent.vnode)&&ul(s,t,n,r),r=r.parent}}function ul(e,t,n,s){const r=Hn(t,e,s,!0);_i(()=>{_s(s[t],r)},n)}function Hn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ke();const l=Qt(n),f=Me(t,n,e,o);return l(),Ge(),f});return s?r.unshift(i):r.push(i),i}}const Ye=e=>(t,n=le)=>{(!St||e==="sp")&&Hn(e,(...s)=>t(...s),n)},al=Ye("bm"),pi=Ye("m"),dl=Ye("bu"),gi=Ye("u"),mi=Ye("bum"),_i=Ye("um"),hl=Ye("sp"),pl=Ye("rtg"),gl=Ye("rtc");function ml(e,t=le){Hn("ec",e,t)}const _l="components",yi=Symbol.for("v-ndc");function sc(e){return Q(e)?yl(_l,e,!1)||e:e||yi}function yl(e,t,n=!0,s=!1){const r=fe||le;if(r){const i=r.type;{const l=tf(i,!1);if(l&&(l===t||l===Ce(t)||l===On(Ce(t))))return i}const o=Ys(r[e]||i[e],t)||Ys(r.appContext[e],t);return!o&&s?i:o}}function Ys(e,t){return e&&(e[t]||e[Ce(t)]||e[On(Ce(t))])}function rc(e,t,n,s){let r;const i=n,o=P(e);if(o||Q(e)){const l=o&&at(e);let f=!1,a=!1;l&&(f=!Se(e),a=qe(e),e=Nn(e)),r=new Array(e.length);for(let c=0,h=e.length;c<h;c++)r[c]=t(f?a?xt(Ae(e[c])):Ae(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(G(e))if(e[Symbol.iterator])r=Array.from(e,(l,f)=>t(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,a=l.length;f<a;f++){const c=l[f];r[f]=t(e[c],c,f,i)}}else r=[];return r}function ic(e,t,n={},s,r){if(fe.ce||fe.parent&&bt(fe.parent)&&fe.parent.ce){const a=Object.keys(n).length>0;return t!=="default"&&(n.name=t),us(),as(me,null,[re("slot",n,s&&s())],a?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),us();const o=i&&bi(i(n)),l=n.key||o&&o.key,f=as(me,{key:(l&&!Ee(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),i&&i._c&&(i._d=!0),f}function bi(e){return e.some(t=>kt(t)?!(t.type===de||t.type===me&&!bi(t.children)):!0)?e:null}const os=e=>e?ji(e)?Kn(e):os(e.parent):null,Ht=se(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=>os(e.parent),$root:e=>os(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>{Es(e.update)}),$nextTick:e=>e.n||(e.n=Zr.bind(e.proxy)),$watch:e=>nl.bind(e)}),zn=(e,t)=>e!==U&&!e.__isScriptSetup&&W(e,t),bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(zn(s,t))return o[t]=1,s[t];if(r!==U&&W(r,t))return o[t]=2,r[t];if(W(i,t))return o[t]=3,i[t];if(n!==U&&W(n,t))return o[t]=4,n[t];ls&&(o[t]=0)}}const a=Ht[t];let c,h;if(a)return t==="$attrs"&&ae(e.attrs,"get",""),a(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==U&&W(n,t))return o[t]=4,n[t];if(h=f.config.globalProperties,W(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return zn(r,t)?(r[t]=n,!0):s!==U&&W(s,t)?(s[t]=n,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let f;return!!(n[l]||e!==U&&l[0]!=="$"&&W(e,l)||zn(t,l)||W(i,l)||W(s,l)||W(Ht,l)||W(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:W(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function oc(){return vi().slots}function lc(){return vi().attrs}function vi(e){const t=ht();return t.setupContext||(t.setupContext=Bi(t))}function xn(e){return P(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function fc(e,t){return!e||!t?e||t:P(e)&&P(t)?e.concat(t):se({},xn(e),xn(t))}let ls=!0;function vl(e){const t=Si(e),n=e.proxy,s=e.ctx;ls=!1,t.beforeCreate&&zs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:a,created:c,beforeMount:h,mounted:g,beforeUpdate:b,updated:C,activated:x,deactivated:$,beforeDestroy:O,beforeUnmount:H,destroyed:L,unmounted:M,render:K,renderTracked:q,renderTriggered:ne,errorCaptured:te,serverPrefetch:F,expose:V,inheritAttrs:J,components:A,directives:Z,filters:ce}=t;if(a&&xl(a,s,null),o)for(const ee in o){const Y=o[ee];D(Y)&&(s[ee]=Y.bind(n))}if(r){const ee=r.call(n,n);G(ee)&&(e.data=Cs(ee))}if(ls=!0,i)for(const ee in i){const Y=i[ee],st=D(Y)?Y.bind(n,n):D(Y.get)?Y.get.bind(n,n):$e,en=!D(Y)&&D(Y.set)?Y.set.bind(n):$e,rt=sf({get:st,set:en});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>rt.value,set:Pe=>rt.value=Pe})}if(l)for(const ee in l)xi(l[ee],s,n,ee);if(f){const ee=D(f)?f.call(n):f;Reflect.ownKeys(ee).forEach(Y=>{Zo(Y,ee[Y])})}c&&zs(c,e,"c");function oe(ee,Y){P(Y)?Y.forEach(st=>ee(st.bind(n))):Y&&ee(Y.bind(n))}if(oe(al,h),oe(pi,g),oe(dl,b),oe(gi,C),oe(fl,x),oe(cl,$),oe(ml,te),oe(gl,q),oe(pl,ne),oe(mi,H),oe(_i,M),oe(hl,F),P(V))if(V.length){const ee=e.exposed||(e.exposed={});V.forEach(Y=>{Object.defineProperty(ee,Y,{get:()=>n[Y],set:st=>n[Y]=st,enumerable:!0})})}else e.exposed||(e.exposed={});K&&e.render===$e&&(e.render=K),J!=null&&(e.inheritAttrs=J),A&&(e.components=A),Z&&(e.directives=Z),F&&Ms(e)}function xl(e,t,n=$e){P(e)&&(e=fs(e));for(const s in e){const r=e[s];let i;G(r)?"default"in r?i=an(r.from||s,r.default,!0):i=an(r.from||s):i=an(r),ie(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function zs(e,t,n){Me(P(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function xi(e,t,n,s){let r=s.includes(".")?si(n,s):()=>n[s];if(Q(e)){const i=t[e];D(i)&&Jn(r,i)}else if(D(e))Jn(r,e.bind(n));else if(G(e))if(P(e))e.forEach(i=>xi(i,t,n,s));else{const i=D(e.handler)?e.handler.bind(n):t[e.handler];D(i)&&Jn(r,i,e)}}function Si(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!n&&!s?f=t:(f={},r.length&&r.forEach(a=>Sn(f,a,o,!0)),Sn(f,t,o)),G(t)&&i.set(t,f),f}function Sn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Sn(e,i,n,!0),r&&r.forEach(o=>Sn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Sl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Sl={data:Xs,props:Zs,emits:Zs,methods:Rt,computed:Rt,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Rt,directives:Rt,watch:Tl,provide:Xs,inject:Cl};function Xs(e,t){return t?e?function(){return se(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Cl(e,t){return Rt(fs(e),fs(t))}function fs(e){if(P(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function he(e,t){return e?[...new Set([].concat(e,t))]:t}function Rt(e,t){return e?se(Object.create(null),e,t):t}function Zs(e,t){return e?P(e)&&P(t)?[...new Set([...e,...t])]:se(Object.create(null),xn(e),xn(t??{})):t}function Tl(e,t){if(!e)return t;if(!t)return e;const n=se(Object.create(null),e);for(const s in t)n[s]=he(e[s],t[s]);return n}function Ci(){return{app:null,config:{isNativeTag:Er,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let wl=0;function El(e,t){return function(s,r=null){D(s)||(s=se({},s)),r!=null&&!G(r)&&(r=null);const i=Ci(),o=new WeakSet,l=[];let f=!1;const a=i.app={_uid:wl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:of,get config(){return i.config},set config(c){},use(c,...h){return o.has(c)||(c&&D(c.install)?(o.add(c),c.install(a,...h)):D(c)&&(o.add(c),c(a,...h))),a},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),a},component(c,h){return h?(i.components[c]=h,a):i.components[c]},directive(c,h){return h?(i.directives[c]=h,a):i.directives[c]},mount(c,h,g){if(!f){const b=a._ceVNode||re(s,r);return b.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(b,c,g),f=!0,a._container=c,c.__vue_app__=a,Kn(b.component)}},onUnmount(c){l.push(c)},unmount(){f&&(Me(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(c,h){return i.provides[c]=h,a},runWithContext(c){const h=vt;vt=a;try{return c()}finally{vt=h}}};return a}}let vt=null;function cc(e,t,n=U){const s=ht(),r=Ce(t),i=Je(t),o=Ti(e,r),l=jo((f,a)=>{let c,h=U,g;return tl(()=>{const b=e[r];be(c,b)&&(c=b,a())}),{get(){return f(),n.get?n.get(c):c},set(b){const C=n.set?n.set(b):b;if(!be(C,c)&&!(h!==U&&be(b,h)))return;const x=s.vnode.props;x&&(t in x||r in x||i in x)&&(`onUpdate:${t}`in x||`onUpdate:${r}`in x||`onUpdate:${i}`in x)||(c=b,a()),s.emit(`update:${t}`,C),be(b,C)&&be(b,h)&&!be(C,g)&&a(),h=b,g=C}}});return l[Symbol.iterator]=()=>{let f=0;return{next(){return f<2?{value:f++?o||U:l,done:!1}:{done:!0}}}},l}const Ti=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${Je(t)}Modifiers`];function Al(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||U;let r=n;const i=t.startsWith("update:"),o=i&&Ti(s,t.slice(7));o&&(o.trim&&(r=n.map(c=>Q(c)?c.trim():c)),o.number&&(r=n.map(In)));let l,f=s[l=Un(t)]||s[l=Un(Ce(t))];!f&&i&&(f=s[l=Un(Je(t))]),f&&Me(f,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Me(a,e,6,r)}}const Ml=new WeakMap;function wi(e,t,n=!1){const s=n?Ml:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!D(e)){const f=a=>{const c=wi(a,t,!0);c&&(l=!0,se(o,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(G(e)&&s.set(e,null),null):(P(i)?i.forEach(f=>o[f]=null):se(o,i),G(e)&&s.set(e,o),o)}function Vn(e,t){return!e||!An(t)?!1:(t=t.slice(2).replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,Je(t))||W(e,t))}function Qs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:a,renderCache:c,props:h,data:g,setupState:b,ctx:C,inheritAttrs:x}=e,$=bn(e);let O,H;try{if(n.shapeFlag&4){const M=r||s,K=M;O=Ne(a.call(K,M,c,h,b,g,C)),H=l}else{const M=t;O=Ne(M.length>1?M(h,{attrs:l,slots:o,emit:f}):M(h,null)),H=t.props?l:Pl(l)}}catch(M){Vt.length=0,zt(M,e,1),O=re(de)}let L=O;if(H&&x!==!1){const M=Object.keys(H),{shapeFlag:K}=L;M.length&&K&7&&(i&&M.some(ms)&&(H=Ol(H,i)),L=nt(L,H,!1,!0))}return n.dirs&&(L=nt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&dt(L,n.transition),O=L,bn($),O}const Pl=e=>{let t;for(const n in e)(n==="class"||n==="style"||An(n))&&((t||(t={}))[n]=e[n]);return t},Ol=(e,t)=>{const n={};for(const s in e)(!ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Il(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return s?er(s,o,a):!!o;if(f&8){const c=t.dynamicProps;for(let h=0;h<c.length;h++){const g=c[h];if(o[g]!==s[g]&&!Vn(a,g))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?er(s,o,a):!0:!!o;return!1}function er(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!Vn(n,i))return!0}return!1}function Rl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ei={},Ai=()=>Object.create(Ei),Mi=e=>Object.getPrototypeOf(e)===Ei;function Fl(e,t,n,s=!1){const r={},i=Ai();e.propsDefaults=Object.create(null),Pi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Do(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Dl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=B(r),[f]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let h=0;h<c.length;h++){let g=c[h];if(Vn(e.emitsOptions,g))continue;const b=t[g];if(f)if(W(i,g))b!==i[g]&&(i[g]=b,a=!0);else{const C=Ce(g);r[C]=cs(f,l,C,b,e,!1)}else b!==i[g]&&(i[g]=b,a=!0)}}}else{Pi(e,t,r,i)&&(a=!0);let c;for(const h in l)(!t||!W(t,h)&&((c=Je(h))===h||!W(t,c)))&&(f?n&&(n[h]!==void 0||n[c]!==void 0)&&(r[h]=cs(f,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!W(t,h))&&(delete i[h],a=!0)}a&&Be(e.attrs,"set","")}function Pi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(Ft(f))continue;const a=t[f];let c;r&&W(r,c=Ce(f))?!i||!i.includes(c)?n[c]=a:(l||(l={}))[c]=a:Vn(e.emitsOptions,f)||(!(f in s)||a!==s[f])&&(s[f]=a,o=!0)}if(i){const f=B(n),a=l||U;for(let c=0;c<i.length;c++){const h=i[c];n[h]=cs(r,f,h,a[h],e,!W(a,h))}}return o}function cs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=W(o,"default");if(l&&s===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&D(f)){const{propsDefaults:a}=r;if(n in a)s=a[n];else{const c=Qt(r);s=a[n]=f.call(null,t),c()}}else s=f;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Je(n))&&(s=!0))}return s}const Ll=new WeakMap;function Oi(e,t,n=!1){const s=n?Ll:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let f=!1;if(!D(e)){const c=h=>{f=!0;const[g,b]=Oi(h,t,!0);se(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!f)return G(e)&&s.set(e,mt),mt;if(P(i))for(let c=0;c<i.length;c++){const h=Ce(i[c]);tr(h)&&(o[h]=U)}else if(i)for(const c in i){const h=Ce(c);if(tr(h)){const g=i[c],b=o[h]=P(g)||D(g)?{type:g}:se({},g),C=b.type;let x=!1,$=!0;if(P(C))for(let O=0;O<C.length;++O){const H=C[O],L=D(H)&&H.name;if(L==="Boolean"){x=!0;break}else L==="String"&&($=!1)}else x=D(C)&&C.name==="Boolean";b[0]=x,b[1]=$,(x||W(b,"default"))&&l.push(h)}}const a=[o,l];return G(e)&&s.set(e,a),a}function tr(e){return e[0]!=="$"&&!Ft(e)}const Ps=e=>e==="_"||e==="_ctx"||e==="$stable",Os=e=>P(e)?e.map(Ne):[Ne(e)],Nl=(e,t,n)=>{if(t._n)return t;const s=Xo((...r)=>Os(t(...r)),n);return s._c=!1,s},Ii=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ps(r))continue;const i=e[r];if(D(i))t[r]=Nl(r,i,s);else if(i!=null){const o=Os(i);t[r]=()=>o}}},Ri=(e,t)=>{const n=Os(t);e.slots.default=()=>n},Fi=(e,t,n)=>{for(const s in t)(n||!Ps(s))&&(e[s]=t[s])},$l=(e,t,n)=>{const s=e.slots=Ai();if(e.vnode.shapeFlag&32){const r=t._;r?(Fi(s,t,n),n&&Or(s,"_",r,!0)):Ii(t,s)}else t&&Ri(e,t)},Hl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=U;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Fi(r,t,n):(i=!t.$stable,Ii(t,r)),o=t}else t&&(Ri(e,t),o={default:1});if(i)for(const l in r)!Ps(l)&&o[l]==null&&delete r[l]},pe=Ul;function Vl(e){return jl(e)}function jl(e,t){const n=Rn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:a,setElementText:c,parentNode:h,nextSibling:g,setScopeId:b=$e,insertStaticContent:C}=e,x=(u,d,p,v=null,m=null,_=null,w=void 0,T=null,S=!!d.dynamicChildren)=>{if(u===d)return;u&&!ct(u,d)&&(v=tn(u),Pe(u,m,_,!0),u=null),d.patchFlag===-2&&(S=!1,d.dynamicChildren=null);const{type:y,ref:R,shapeFlag:E}=d;switch(y){case jn:$(u,d,p,v);break;case de:O(u,d,p,v);break;case hn:u==null&&H(d,p,v,w);break;case me:A(u,d,p,v,m,_,w,T,S);break;default:E&1?K(u,d,p,v,m,_,w,T,S):E&6?Z(u,d,p,v,m,_,w,T,S):(E&64||E&128)&&y.process(u,d,p,v,m,_,w,T,S,At)}R!=null&&m?$t(R,u&&u.ref,_,d||u,!d):R==null&&u&&u.ref!=null&&$t(u.ref,null,_,u,!0)},$=(u,d,p,v)=>{if(u==null)s(d.el=l(d.children),p,v);else{const m=d.el=u.el;d.children!==u.children&&a(m,d.children)}},O=(u,d,p,v)=>{u==null?s(d.el=f(d.children||""),p,v):d.el=u.el},H=(u,d,p,v)=>{[u.el,u.anchor]=C(u.children,d,p,v,u.el,u.anchor)},L=({el:u,anchor:d},p,v)=>{let m;for(;u&&u!==d;)m=g(u),s(u,p,v),u=m;s(d,p,v)},M=({el:u,anchor:d})=>{let p;for(;u&&u!==d;)p=g(u),r(u),u=p;r(d)},K=(u,d,p,v,m,_,w,T,S)=>{if(d.type==="svg"?w="svg":d.type==="math"&&(w="mathml"),u==null)q(d,p,v,m,_,w,T,S);else{const y=u.el&&u.el._isVueCE?u.el:null;try{y&&y._beginPatch(),F(u,d,m,_,w,T,S)}finally{y&&y._endPatch()}}},q=(u,d,p,v,m,_,w,T)=>{let S,y;const{props:R,shapeFlag:E,transition:I,dirs:N}=u;if(S=u.el=o(u.type,_,R&&R.is,R),E&8?c(S,u.children):E&16&&te(u.children,S,null,v,m,Xn(u,_),w,T),N&&it(u,null,v,"created"),ne(S,u,u.scopeId,w,v),R){for(const z in R)z!=="value"&&!Ft(z)&&i(S,z,null,R[z],_,v);"value"in R&&i(S,"value",null,R.value,_),(y=R.onVnodeBeforeMount)&&Fe(y,v,u)}N&&it(u,null,v,"beforeMount");const j=Kl(m,I);j&&I.beforeEnter(S),s(S,d,p),((y=R&&R.onVnodeMounted)||j||N)&&pe(()=>{y&&Fe(y,v,u),j&&I.enter(S),N&&it(u,null,v,"mounted")},m)},ne=(u,d,p,v,m)=>{if(p&&b(u,p),v)for(let _=0;_<v.length;_++)b(u,v[_]);if(m){let _=m.subTree;if(d===_||Ni(_.type)&&(_.ssContent===d||_.ssFallback===d)){const w=m.vnode;ne(u,w,w.scopeId,w.slotScopeIds,m.parent)}}},te=(u,d,p,v,m,_,w,T,S=0)=>{for(let y=S;y<u.length;y++){const R=u[y]=T?et(u[y]):Ne(u[y]);x(null,R,d,p,v,m,_,w,T)}},F=(u,d,p,v,m,_,w)=>{const T=d.el=u.el;let{patchFlag:S,dynamicChildren:y,dirs:R}=d;S|=u.patchFlag&16;const E=u.props||U,I=d.props||U;let N;if(p&&ot(p,!1),(N=I.onVnodeBeforeUpdate)&&Fe(N,p,d,u),R&&it(d,u,p,"beforeUpdate"),p&&ot(p,!0),(E.innerHTML&&I.innerHTML==null||E.textContent&&I.textContent==null)&&c(T,""),y?V(u.dynamicChildren,y,T,p,v,Xn(d,m),_):w||Y(u,d,T,null,p,v,Xn(d,m),_,!1),S>0){if(S&16)J(T,E,I,p,m);else if(S&2&&E.class!==I.class&&i(T,"class",null,I.class,m),S&4&&i(T,"style",E.style,I.style,m),S&8){const j=d.dynamicProps;for(let z=0;z<j.length;z++){const k=j[z],_e=E[k],ye=I[k];(ye!==_e||k==="value")&&i(T,k,_e,ye,m,p)}}S&1&&u.children!==d.children&&c(T,d.children)}else!w&&y==null&&J(T,E,I,p,m);((N=I.onVnodeUpdated)||R)&&pe(()=>{N&&Fe(N,p,d,u),R&&it(d,u,p,"updated")},v)},V=(u,d,p,v,m,_,w)=>{for(let T=0;T<d.length;T++){const S=u[T],y=d[T],R=S.el&&(S.type===me||!ct(S,y)||S.shapeFlag&198)?h(S.el):p;x(S,y,R,null,v,m,_,w,!0)}},J=(u,d,p,v,m)=>{if(d!==p){if(d!==U)for(const _ in d)!Ft(_)&&!(_ in p)&&i(u,_,d[_],null,m,v);for(const _ in p){if(Ft(_))continue;const w=p[_],T=d[_];w!==T&&_!=="value"&&i(u,_,T,w,m,v)}"value"in p&&i(u,"value",d.value,p.value,m)}},A=(u,d,p,v,m,_,w,T,S)=>{const y=d.el=u?u.el:l(""),R=d.anchor=u?u.anchor:l("");let{patchFlag:E,dynamicChildren:I,slotScopeIds:N}=d;N&&(T=T?T.concat(N):N),u==null?(s(y,p,v),s(R,p,v),te(d.children||[],p,R,m,_,w,T,S)):E>0&&E&64&&I&&u.dynamicChildren&&u.dynamicChildren.length===I.length?(V(u.dynamicChildren,I,p,m,_,w,T),(d.key!=null||m&&d===m.subTree)&&Is(u,d,!0)):Y(u,d,p,R,m,_,w,T,S)},Z=(u,d,p,v,m,_,w,T,S)=>{d.slotScopeIds=T,u==null?d.shapeFlag&512?m.ctx.activate(d,p,v,w,S):ce(d,p,v,m,_,w,S):He(u,d,S)},ce=(u,d,p,v,m,_,w)=>{const T=u.component=Xl(u,v,m);if(Zt(u)&&(T.ctx.renderer=At),Zl(T,!1,w),T.asyncDep){if(m&&m.registerDep(T,oe,w),!u.el){const S=T.subTree=re(de);O(null,S,d,p),u.placeholder=S.el}}else oe(T,u,d,p,m,_,w)},He=(u,d,p)=>{const v=d.component=u.component;if(Il(u,d,p))if(v.asyncDep&&!v.asyncResolved){ee(v,d,p);return}else v.next=d,v.update();else d.el=u.el,v.vnode=d},oe=(u,d,p,v,m,_,w)=>{const T=()=>{if(u.isMounted){let{next:E,bu:I,u:N,parent:j,vnode:z}=u;{const Ie=Di(u);if(Ie){E&&(E.el=z.el,ee(u,E,w)),Ie.asyncDep.then(()=>{u.isUnmounted||T()});return}}let k=E,_e;ot(u,!1),E?(E.el=z.el,ee(u,E,w)):E=z,I&&cn(I),(_e=E.props&&E.props.onVnodeBeforeUpdate)&&Fe(_e,j,E,z),ot(u,!0);const ye=Qs(u),Oe=u.subTree;u.subTree=ye,x(Oe,ye,h(Oe.el),tn(Oe),u,m,_),E.el=ye.el,k===null&&Rl(u,ye.el),N&&pe(N,m),(_e=E.props&&E.props.onVnodeUpdated)&&pe(()=>Fe(_e,j,E,z),m)}else{let E;const{el:I,props:N}=d,{bm:j,m:z,parent:k,root:_e,type:ye}=u,Oe=bt(d);ot(u,!1),j&&cn(j),!Oe&&(E=N&&N.onVnodeBeforeMount)&&Fe(E,k,d),ot(u,!0);{_e.ce&&_e.ce._def.shadowRoot!==!1&&_e.ce._injectChildStyle(ye);const Ie=u.subTree=Qs(u);x(null,Ie,p,v,u,m,_),d.el=Ie.el}if(z&&pe(z,m),!Oe&&(E=N&&N.onVnodeMounted)){const Ie=d;pe(()=>Fe(E,k,Ie),m)}(d.shapeFlag&256||k&&bt(k.vnode)&&k.vnode.shapeFlag&256)&&u.a&&pe(u.a,m),u.isMounted=!0,d=p=v=null}};u.scope.on();const S=u.effect=new Lr(T);u.scope.off();const y=u.update=S.run.bind(S),R=u.job=S.runIfDirty.bind(S);R.i=u,R.id=u.uid,S.scheduler=()=>Es(R),ot(u,!0),y()},ee=(u,d,p)=>{d.component=u;const v=u.vnode.props;u.vnode=d,u.next=null,Dl(u,d.props,v,p),Hl(u,d.children,p),ke(),Bs(u),Ge()},Y=(u,d,p,v,m,_,w,T,S=!1)=>{const y=u&&u.children,R=u?u.shapeFlag:0,E=d.children,{patchFlag:I,shapeFlag:N}=d;if(I>0){if(I&128){en(y,E,p,v,m,_,w,T,S);return}else if(I&256){st(y,E,p,v,m,_,w,T,S);return}}N&8?(R&16&&Et(y,m,_),E!==y&&c(p,E)):R&16?N&16?en(y,E,p,v,m,_,w,T,S):Et(y,m,_,!0):(R&8&&c(p,""),N&16&&te(E,p,v,m,_,w,T,S))},st=(u,d,p,v,m,_,w,T,S)=>{u=u||mt,d=d||mt;const y=u.length,R=d.length,E=Math.min(y,R);let I;for(I=0;I<E;I++){const N=d[I]=S?et(d[I]):Ne(d[I]);x(u[I],N,p,null,m,_,w,T,S)}y>R?Et(u,m,_,!0,!1,E):te(d,p,v,m,_,w,T,S,E)},en=(u,d,p,v,m,_,w,T,S)=>{let y=0;const R=d.length;let E=u.length-1,I=R-1;for(;y<=E&&y<=I;){const N=u[y],j=d[y]=S?et(d[y]):Ne(d[y]);if(ct(N,j))x(N,j,p,null,m,_,w,T,S);else break;y++}for(;y<=E&&y<=I;){const N=u[E],j=d[I]=S?et(d[I]):Ne(d[I]);if(ct(N,j))x(N,j,p,null,m,_,w,T,S);else break;E--,I--}if(y>E){if(y<=I){const N=I+1,j=N<R?d[N].el:v;for(;y<=I;)x(null,d[y]=S?et(d[y]):Ne(d[y]),p,j,m,_,w,T,S),y++}}else if(y>I)for(;y<=E;)Pe(u[y],m,_,!0),y++;else{const N=y,j=y,z=new Map;for(y=j;y<=I;y++){const ve=d[y]=S?et(d[y]):Ne(d[y]);ve.key!=null&&z.set(ve.key,y)}let k,_e=0;const ye=I-j+1;let Oe=!1,Ie=0;const Mt=new Array(ye);for(y=0;y<ye;y++)Mt[y]=0;for(y=N;y<=E;y++){const ve=u[y];if(_e>=ye){Pe(ve,m,_,!0);continue}let Re;if(ve.key!=null)Re=z.get(ve.key);else for(k=j;k<=I;k++)if(Mt[k-j]===0&&ct(ve,d[k])){Re=k;break}Re===void 0?Pe(ve,m,_,!0):(Mt[Re-j]=y+1,Re>=Ie?Ie=Re:Oe=!0,x(ve,d[Re],p,null,m,_,w,T,S),_e++)}const Ls=Oe?Bl(Mt):mt;for(k=Ls.length-1,y=ye-1;y>=0;y--){const ve=j+y,Re=d[ve],Ns=d[ve+1],$s=ve+1<R?Ns.el||Li(Ns):v;Mt[y]===0?x(null,Re,p,$s,m,_,w,T,S):Oe&&(k<0||y!==Ls[k]?rt(Re,p,$s,2):k--)}}},rt=(u,d,p,v,m=null)=>{const{el:_,type:w,transition:T,children:S,shapeFlag:y}=u;if(y&6){rt(u.component.subTree,d,p,v);return}if(y&128){u.suspense.move(d,p,v);return}if(y&64){w.move(u,d,p,At);return}if(w===me){s(_,d,p);for(let E=0;E<S.length;E++)rt(S[E],d,p,v);s(u.anchor,d,p);return}if(w===hn){L(u,d,p);return}if(v!==2&&y&1&&T)if(v===0)T.beforeEnter(_),s(_,d,p),pe(()=>T.enter(_),m);else{const{leave:E,delayLeave:I,afterLeave:N}=T,j=()=>{u.ctx.isUnmounted?r(_):s(_,d,p)},z=()=>{_._isLeaving&&_[Ke](!0),E(_,()=>{j(),N&&N()})};I?I(_,j,z):z()}else s(_,d,p)},Pe=(u,d,p,v=!1,m=!1)=>{const{type:_,props:w,ref:T,children:S,dynamicChildren:y,shapeFlag:R,patchFlag:E,dirs:I,cacheIndex:N}=u;if(E===-2&&(m=!1),T!=null&&(ke(),$t(T,null,p,u,!0),Ge()),N!=null&&(d.renderCache[N]=void 0),R&256){d.ctx.deactivate(u);return}const j=R&1&&I,z=!bt(u);let k;if(z&&(k=w&&w.onVnodeBeforeUnmount)&&Fe(k,d,u),R&6)Qi(u.component,p,v);else{if(R&128){u.suspense.unmount(p,v);return}j&&it(u,null,d,"beforeUnmount"),R&64?u.type.remove(u,d,p,At,v):y&&!y.hasOnce&&(_!==me||E>0&&E&64)?Et(y,d,p,!1,!0):(_===me&&E&384||!m&&R&16)&&Et(S,d,p),v&&Fs(u)}(z&&(k=w&&w.onVnodeUnmounted)||j)&&pe(()=>{k&&Fe(k,d,u),j&&it(u,null,d,"unmounted")},p)},Fs=u=>{const{type:d,el:p,anchor:v,transition:m}=u;if(d===me){Zi(p,v);return}if(d===hn){M(u);return}const _=()=>{r(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(u.shapeFlag&1&&m&&!m.persisted){const{leave:w,delayLeave:T}=m,S=()=>w(p,_);T?T(u.el,_,S):S()}else _()},Zi=(u,d)=>{let p;for(;u!==d;)p=g(u),r(u),u=p;r(d)},Qi=(u,d,p)=>{const{bum:v,scope:m,job:_,subTree:w,um:T,m:S,a:y}=u;nr(S),nr(y),v&&cn(v),m.stop(),_&&(_.flags|=8,Pe(w,u,d,p)),T&&pe(T,d),pe(()=>{u.isUnmounted=!0},d)},Et=(u,d,p,v=!1,m=!1,_=0)=>{for(let w=_;w<u.length;w++)Pe(u[w],d,p,v,m)},tn=u=>{if(u.shapeFlag&6)return tn(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=g(u.anchor||u.el),p=d&&d[ri];return p?g(p):d};let Bn=!1;const Ds=(u,d,p)=>{let v;u==null?d._vnode&&(Pe(d._vnode,null,null,!0),v=d._vnode.component):x(d._vnode||null,u,d,null,null,null,p),d._vnode=u,Bn||(Bn=!0,Bs(v),ei(),Bn=!1)},At={p:x,um:Pe,m:rt,r:Fs,mt:ce,mc:te,pc:Y,pbc:V,n:tn,o:e};return{render:Ds,hydrate:void 0,createApp:El(Ds)}}function Xn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ot({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Kl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Is(e,t,n=!1){const s=e.children,r=t.children;if(P(s)&&P(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=et(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Is(o,l)),l.type===jn&&(l.patchFlag!==-1?l.el=o.el:l.__elIndex=i+(e.type===me?1:0)),l.type===de&&!l.el&&(l.el=o.el)}}function Bl(e){const t=e.slice(),n=[0];let s,r,i,o,l;const f=e.length;for(s=0;s<f;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<a?i=l+1:o=l;a<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Di(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Di(t)}function nr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Li(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Li(t.subTree):null}const Ni=e=>e.__isSuspense;function Ul(e,t){t&&t.pendingBranch?P(e)?t.effects.push(...e):t.effects.push(e):zo(e)}const me=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),de=Symbol.for("v-cmt"),hn=Symbol.for("v-stc"),Vt=[];let xe=null;function us(e=!1){Vt.push(xe=e?null:[])}function Wl(){Vt.pop(),xe=Vt[Vt.length-1]||null}let Wt=1;function Cn(e,t=!1){Wt+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function $i(e){return e.dynamicChildren=Wt>0?xe||mt:null,Wl(),Wt>0&&xe&&xe.push(e),e}function uc(e,t,n,s,r,i){return $i(Vi(e,t,n,s,r,i,!0))}function as(e,t,n,s,r){return $i(re(e,t,n,s,r,!0))}function kt(e){return e?e.__v_isVNode===!0:!1}function ct(e,t){return e.type===t.type&&e.key===t.key}const Hi=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||ie(e)||D(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function Vi(e,t=null,n=null,s=0,r=null,i=e===me?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hi(t),ref:t&&pn(t),scopeId:ni,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return l?(Rs(f,n),i&128&&e.normalize(f)):n&&(f.shapeFlag|=Q(n)?8:16),Wt>0&&!o&&xe&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&xe.push(f),f}const re=kl;function kl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===yi)&&(e=de),kt(e)){const l=nt(e,t,!0);return n&&Rs(l,n),Wt>0&&!i&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(nf(e)&&(e=e.__vccOpts),t){t=Gl(t);let{class:l,style:f}=t;l&&!Q(l)&&(t.class=Dn(l)),G(f)&&($n(f)&&!P(f)&&(f=se({},f)),t.style=Fn(f))}const o=Q(e)?1:Ni(e)?128:ii(e)?64:G(e)?4:D(e)?2:0;return Vi(e,t,n,s,r,o,i,!0)}function Gl(e){return e?$n(e)||Mi(e)?se({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,a=t?Jl(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Hi(a),ref:t&&t.ref?n&&i?P(i)?i.concat(pn(t)):[i,pn(t)]:pn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&s&&dt(c,f.clone(c)),c}function ql(e=" ",t=0){return re(jn,null,e,t)}function ac(e,t){const n=re(hn,null,e);return n.staticCount=t,n}function dc(e="",t=!1){return t?(us(),as(de,null,e)):re(de,null,e)}function Ne(e){return e==null||typeof e=="boolean"?re(de):P(e)?re(me,null,e.slice()):kt(e)?et(e):re(jn,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function Rs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(P(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Rs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Mi(t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),s&64?(n=16,t=[ql(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jl(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Dn([t.class,s.class]));else if(r==="style")t.style=Fn([t.style,s.style]);else if(An(r)){const i=t[r],o=s[r];o&&i!==o&&!(P(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Fe(e,t,n,s=null){Me(e,t,7,[n,s])}const Yl=Ci();let zl=0;function Xl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Yl,i={uid:zl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Dr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oi(s,r),emitsOptions:wi(s,r),emit:null,emitted:null,propsDefaults:U,inheritAttrs:s.inheritAttrs,ctx:U,data:U,props:U,attrs:U,slots:U,refs:U,setupState:U,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Al.bind(null,i),e.ce&&e.ce(i),i}let le=null;const ht=()=>le||fe;let Tn,ds;{const e=Rn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Tn=t("__VUE_INSTANCE_SETTERS__",n=>le=n),ds=t("__VUE_SSR_SETTERS__",n=>St=n)}const Qt=e=>{const t=le;return Tn(e),e.scope.on(),()=>{e.scope.off(),Tn(t)}},sr=()=>{le&&le.scope.off(),Tn(null)};function ji(e){return e.vnode.shapeFlag&4}let St=!1;function Zl(e,t=!1,n=!1){t&&ds(t);const{props:s,children:r}=e.vnode,i=ji(e);Fl(e,s,i,t),$l(e,r,n||t);const o=i?Ql(e,t):void 0;return t&&ds(!1),o}function Ql(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,bl);const{setup:s}=n;if(s){ke();const r=e.setupContext=s.length>1?Bi(e):null,i=Qt(e),o=Yt(s,e,0,[e.props,r]),l=Ar(o);if(Ge(),i(),(l||e.sp)&&!bt(e)&&Ms(e),l){if(o.then(sr,sr),t)return o.then(f=>{rr(e,f)}).catch(f=>{zt(f,e,0)});e.asyncDep=o}else rr(e,o)}else Ki(e)}function rr(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=zr(t)),Ki(e)}function Ki(e,t,n){const s=e.type;e.render||(e.render=s.render||$e);{const r=Qt(e);ke();try{vl(e)}finally{Ge(),r()}}}const ef={get(e,t){return ae(e,"get",""),e[t]}};function Bi(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ef),slots:e.slots,emit:e.emit,expose:t}}function Kn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(zr(Lo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ht)return Ht[n](e)},has(t,n){return n in t||n in Ht}})):e.proxy}function tf(e,t=!0){return D(e)?e.displayName||e.name:e.name||t&&e.__name}function nf(e){return D(e)&&"__vccOpts"in e}const sf=(e,t)=>ko(e,t,St);function rf(e,t,n){try{Cn(-1);const s=arguments.length;return s===2?G(t)&&!P(t)?kt(t)?re(e,null,[t]):re(e,t):re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&kt(n)&&(n=[n]),re(e,t,n))}finally{Cn(1)}}const of="3.5.27";let hs;const ir=typeof window<"u"&&window.trustedTypes;if(ir)try{hs=ir.createPolicy("vue",{createHTML:e=>e})}catch{}const Ui=hs?e=>hs.createHTML(e):e=>e,lf="http://www.w3.org/2000/svg",ff="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,or=je&&je.createElement("template"),cf={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?je.createElementNS(lf,e):t==="mathml"?je.createElementNS(ff,e):n?je.createElement(e,{is:n}):je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{or.innerHTML=Ui(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=or.content;if(s==="svg"||s==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ze="transition",Ot="animation",Ct=Symbol("_vtc"),Wi={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},ki=se({},ci,Wi),uf=e=>(e.displayName="Transition",e.props=ki,e),hc=uf((e,{slots:t})=>rf(il,Gi(e),t)),lt=(e,t=[])=>{P(e)?e.forEach(n=>n(...t)):e&&e(...t)},lr=e=>e?P(e)?e.some(t=>t.length>1):e.length>1:!1;function Gi(e){const t={};for(const A in e)A in Wi||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:f=i,appearActiveClass:a=o,appearToClass:c=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,C=af(r),x=C&&C[0],$=C&&C[1],{onBeforeEnter:O,onEnter:H,onEnterCancelled:L,onLeave:M,onLeaveCancelled:K,onBeforeAppear:q=O,onAppear:ne=H,onAppearCancelled:te=L}=t,F=(A,Z,ce,He)=>{A._enterCancelled=He,Xe(A,Z?c:l),Xe(A,Z?a:o),ce&&ce()},V=(A,Z)=>{A._isLeaving=!1,Xe(A,h),Xe(A,b),Xe(A,g),Z&&Z()},J=A=>(Z,ce)=>{const He=A?ne:H,oe=()=>F(Z,A,ce);lt(He,[Z,oe]),fr(()=>{Xe(Z,A?f:i),De(Z,A?c:l),lr(He)||cr(Z,s,x,oe)})};return se(t,{onBeforeEnter(A){lt(O,[A]),De(A,i),De(A,o)},onBeforeAppear(A){lt(q,[A]),De(A,f),De(A,a)},onEnter:J(!1),onAppear:J(!0),onLeave(A,Z){A._isLeaving=!0;const ce=()=>V(A,Z);De(A,h),A._enterCancelled?(De(A,g),ps(A)):(ps(A),De(A,g)),fr(()=>{A._isLeaving&&(Xe(A,h),De(A,b),lr(M)||cr(A,s,$,ce))}),lt(M,[A,ce])},onEnterCancelled(A){F(A,!1,void 0,!0),lt(L,[A])},onAppearCancelled(A){F(A,!0,void 0,!0),lt(te,[A])},onLeaveCancelled(A){V(A),lt(K,[A])}})}function af(e){if(e==null)return null;if(G(e))return[Zn(e.enter),Zn(e.leave)];{const t=Zn(e);return[t,t]}}function Zn(e){return ro(e)}function De(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ct]||(e[Ct]=new Set)).add(t)}function Xe(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ct];n&&(n.delete(t),n.size||(e[Ct]=void 0))}function fr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let df=0;function cr(e,t,n,s){const r=e._endId=++df,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:f}=qi(e,t);if(!o)return s();const a=o+"end";let c=0;const h=()=>{e.removeEventListener(a,g),i()},g=b=>{b.target===e&&++c>=f&&h()};setTimeout(()=>{c<f&&h()},l+1),e.addEventListener(a,g)}function qi(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${ze}Delay`),i=s(`${ze}Duration`),o=ur(r,i),l=s(`${Ot}Delay`),f=s(`${Ot}Duration`),a=ur(l,f);let c=null,h=0,g=0;t===ze?o>0&&(c=ze,h=o,g=i.length):t===Ot?a>0&&(c=Ot,h=a,g=f.length):(h=Math.max(o,a),c=h>0?o>a?ze:Ot:null,g=c?c===ze?i.length:f.length:0);const b=c===ze&&/\b(?:transform|all)(?:,|$)/.test(s(`${ze}Property`).toString());return{type:c,timeout:h,propCount:g,hasTransform:b}}function ur(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ar(n)+ar(e[s])))}function ar(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ps(e){return(e?e.ownerDocument:document).body.offsetHeight}function hf(e,t,n){const s=e[Ct];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wn=Symbol("_vod"),Ji=Symbol("_vsh"),pc={name:"show",beforeMount(e,{value:t},{transition:n}){e[wn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):It(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),It(e,!0),s.enter(e)):s.leave(e,()=>{It(e,!1)}):It(e,t))},beforeUnmount(e,{value:t}){It(e,t)}};function It(e,t){e.style.display=t?e[wn]:"none",e[Ji]=!t}const pf=Symbol(""),gf=/(?:^|;)\s*display\s*:/;function mf(e,t,n){const s=e.style,r=Q(n);let i=!1;if(n&&!r){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&gn(s,l,"")}else for(const o in t)n[o]==null&&gn(s,o,"");for(const o in n)o==="display"&&(i=!0),gn(s,o,n[o])}else if(r){if(t!==n){const o=s[pf];o&&(n+=";"+o),s.cssText=n,i=gf.test(n)}}else t&&e.removeAttribute("style");wn in e&&(e[wn]=i?s.display:"",e[Ji]&&(s.display="none"))}const dr=/\s*!important$/;function gn(e,t,n){if(P(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=_f(e,t);dr.test(n)?e.setProperty(Je(s),n.replace(dr,""),"important"):e[s]=n}}const hr=["Webkit","Moz","ms"],Qn={};function _f(e,t){const n=Qn[t];if(n)return n;let s=Ce(t);if(s!=="filter"&&s in e)return Qn[t]=s;s=On(s);for(let r=0;r<hr.length;r++){const i=hr[r]+s;if(i in e)return Qn[t]=i}return t}const pr="http://www.w3.org/1999/xlink";function gr(e,t,n,s,r,i=uo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(pr,t.slice(6,t.length)):e.setAttributeNS(pr,t,n):n==null||i&&!Ir(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ee(n)?String(n):n)}function mr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ui(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(l!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ir(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function tt(e,t,n,s){e.addEventListener(t,n,s)}function yf(e,t,n,s){e.removeEventListener(t,n,s)}const _r=Symbol("_vei");function bf(e,t,n,s,r=null){const i=e[_r]||(e[_r]={}),o=i[t];if(s&&o)o.value=s;else{const[l,f]=vf(t);if(s){const a=i[t]=Cf(s,r);tt(e,l,a,f)}else o&&(yf(e,l,o,f),i[t]=void 0)}}const yr=/(?:Once|Passive|Capture)$/;function vf(e){let t;if(yr.test(e)){t={};let s;for(;s=e.match(yr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Je(e.slice(2)),t]}let es=0;const xf=Promise.resolve(),Sf=()=>es||(xf.then(()=>es=0),es=Date.now());function Cf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Me(Tf(s,n.value),t,5,[s])};return n.value=e,n.attached=Sf(),n}function Tf(e,t){if(P(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wf=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?hf(e,s,o):t==="style"?mf(e,n,s):An(t)?ms(t)||bf(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ef(e,t,s,o))?(mr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Q(s))?mr(e,Ce(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),gr(e,t,s,o))};function Ef(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&br(t)&&D(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return br(t)&&Q(n)?!1:t in e}const Yi=new WeakMap,zi=new WeakMap,En=Symbol("_moveCb"),vr=Symbol("_enterCb"),Af=e=>(delete e.props.mode,e),Mf=Af({name:"TransitionGroup",props:se({},ki,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ht(),s=fi();let r,i;return gi(()=>{if(!r.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!Rf(r[0].el,n.vnode.el,o)){r=[];return}r.forEach(Pf),r.forEach(Of);const l=r.filter(If);ps(n.vnode.el),l.forEach(f=>{const a=f.el,c=a.style;De(a,o),c.transform=c.webkitTransform=c.transitionDuration="";const h=a[En]=g=>{g&&g.target!==a||(!g||g.propertyName.endsWith("transform"))&&(a.removeEventListener("transitionend",h),a[En]=null,Xe(a,o))};a.addEventListener("transitionend",h)}),r=[]}),()=>{const o=B(e),l=Gi(o);let f=o.tag||me;if(r=[],i)for(let a=0;a<i.length;a++){const c=i[a];c.el&&c.el instanceof Element&&(r.push(c),dt(c,Ut(c,l,s,n)),Yi.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}i=t.default?As(t.default()):[];for(let a=0;a<i.length;a++){const c=i[a];c.key!=null&&dt(c,Ut(c,l,s,n))}return re(f,null,i)}}}),gc=Mf;function Pf(e){const t=e.el;t[En]&&t[En](),t[vr]&&t[vr]()}function Of(e){zi.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function If(e){const t=Yi.get(e),n=zi.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${s}px,${r}px)`,i.transitionDuration="0s",e}}function Rf(e,t,n){const s=e.cloneNode(),r=e[Ct];r&&r.forEach(l=>{l.split(/\s+/).forEach(f=>f&&s.classList.remove(f))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(s);const{hasTransform:o}=qi(s);return i.removeChild(s),o}const Tt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return P(t)?n=>cn(t,n):t};function Ff(e){e.target.composing=!0}function xr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const We=Symbol("_assign");function Sr(e,t,n){return t&&(e=e.trim()),n&&(e=In(e)),e}const mc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[We]=Tt(r);const i=s||r.props&&r.props.type==="number";tt(e,t?"change":"input",o=>{o.target.composing||e[We](Sr(e.value,n,i))}),(n||i)&&tt(e,"change",()=>{e.value=Sr(e.value,n,i)}),t||(tt(e,"compositionstart",Ff),tt(e,"compositionend",xr),tt(e,"change",xr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[We]=Tt(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?In(e.value):e.value,f=t??"";l!==f&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===f)||(e.value=f))}},_c={deep:!0,created(e,t,n){e[We]=Tt(n),tt(e,"change",()=>{const s=e._modelValue,r=Gt(e),i=e.checked,o=e[We];if(P(s)){const l=ys(s,r),f=l!==-1;if(i&&!f)o(s.concat(r));else if(!i&&f){const a=[...s];a.splice(l,1),o(a)}}else if(wt(s)){const l=new Set(s);i?l.add(r):l.delete(r),o(l)}else o(Xi(e,i))})},mounted:Cr,beforeUpdate(e,t,n){e[We]=Tt(n),Cr(e,t,n)}};function Cr(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(P(t))r=ys(t,s.props.value)>-1;else if(wt(t))r=t.has(s.props.value);else{if(t===n)return;r=Jt(t,Xi(e,!0))}e.checked!==r&&(e.checked=r)}const yc={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=wt(t);tt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?In(Gt(o)):Gt(o));e[We](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Zr(()=>{e._assigning=!1})}),e[We]=Tt(s)},mounted(e,{value:t}){Tr(e,t)},beforeUpdate(e,t,n){e[We]=Tt(n)},updated(e,{value:t}){e._assigning||Tr(e,t)}};function Tr(e,t){const n=e.multiple,s=P(t);if(!(n&&!s&&!wt(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=Gt(o);if(n)if(s){const f=typeof l;f==="string"||f==="number"?o.selected=t.some(a=>String(a)===String(l)):o.selected=ys(t,l)>-1}else o.selected=t.has(l);else if(Jt(Gt(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Gt(e){return"_value"in e?e._value:e.value}function Xi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Df=["ctrl","shift","alt","meta"],Lf={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)=>Df.some(n=>e[`${n}Key`]&&!t.includes(n))},bc=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=Lf[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},Nf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},vc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=Je(r.key);if(t.some(o=>o===i||Nf[o]===i))return e(r)}))},$f=se({patchProp:wf},cf);let wr;function Hf(){return wr||(wr=Vl($f))}const xc=((...e)=>{const t=Hf().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=jf(s);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Vf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Vf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function jf(e){return Q(e)?document.querySelector(e):e}function Kf(e,t){let n;return Array.isArray(t)?n=t.length:t?n=t:n=2,n<2?e:e?.endsWith("y")?e.substring(0,e.length-1)+"ies":e&&e+"s"}function Bf(e){const t=e.trim().toLowerCase().replace("_"," ");return t.charAt(0).toUpperCase()+t.substring(1)}function Uf(e){const t=e instanceof Date?e:new Date(e);return new Intl.DateTimeFormat("default",{dateStyle:"long",timeStyle:"short"}).format(t)}const Sc={formatDate:Uf,formatText:Bf,pluralise:Kf};export{Sc as $,tc as A,cc as B,Jl as C,zf as D,bc as E,me as F,kf as G,Gl as H,pc as I,Fn as J,Xf as K,mc as L,_i as M,B as N,No as O,Zo as P,ec as Q,Qf as R,Zr as S,hc as T,rs as U,mi as V,Yf as W,lc as X,gc as Y,_c as Z,yc as _,us as a,Lo as a0,nc as a1,Zf as a2,vc as a3,ac as a4,ie as a5,qf as a6,Cs as a7,po as a8,Gf as a9,jo as aa,re as b,uc as c,ol as d,Vi as e,dc as f,rc as g,ql as h,rf as i,xc as j,ht as k,sf as l,Jf as m,an as n,pi as o,oc as p,as as q,un as r,Xo as s,ho as t,ws as u,ic as v,Jn as w,Dn as x,sc as y,fc as z};
|
|
2
|
-
//# sourceMappingURL=filter-CiYqP1_r.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{u as xe,a8 as Le,a6 as je,a5 as Me,w as k,r as N,l as E,a9 as Ze,W as Q,U as K,aa as Qe,o as me,k as Je,S as et,Q as tt,M as nt,m as ot}from"./filter-CiYqP1_r.js";const Ke=(n,e="")=>{const t=`${e}___`;return`___BVN__ID__${n}__${e?t:""}`},be=n=>Ke(n),P=n=>Ke(`${n}__plugin`),cn=be("progress"),un=be("collapse"),dn=P("globalShowHideStorage"),fn=be("navbar"),vn=P("rtl"),pn=P("breadcrumbPlugin"),mn=P("modalManager"),bn=P("defaults"),hn=P("toast"),Bn=P("modalController"),yn=P("popover");function R(n){return Le()?(je(n),!0):!1}function rt(n){let e=0,t,o;const i=()=>{e-=1,o&&e<=0&&(o.stop(),t=void 0,o=void 0)};return(...a)=>(e+=1,o||(o=Ze(!0),t=o.run(()=>n(...a))),R(i),t)}function S(n){return typeof n=="function"?n():xe(n)}const J=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const at=n=>n!=null,it=Object.prototype.toString,st=n=>it.call(n)==="[object Object]",Ne=()=>+Date.now(),ee=()=>{},Se=lt();function lt(){var n,e;return J&&((n=window?.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ct(n,e){function t(...o){return new Promise((i,a)=>{Promise.resolve(n(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(i).catch(a)})}return t}function ut(...n){let e=0,t,o=!0,i=ee,a,r,d,l,u;!Me(n[0])&&typeof n[0]=="object"?{delay:r,trailing:d=!0,leading:l=!0,rejectOnCancel:u=!1}=n[0]:[r,d=!0,l=!0,u=!1]=n;const f=()=>{t&&(clearTimeout(t),t=void 0,i(),i=ee)};return p=>{const y=S(r),C=Date.now()-e,L=()=>a=p();return f(),y<=0?(e=Date.now(),L()):(C>y&&(l||!o)?(e=Date.now(),L()):d&&(a=new Promise((G,j)=>{i=u?j:G,t=setTimeout(()=>{e=Date.now(),o=!0,G(L()),f()},Math.max(0,y-C))})),!l&&!t&&(t=setTimeout(()=>o=!0,y)),o=!1,a)}}function dt(...n){if(n.length!==1)return Q(...n);const e=n[0];return typeof e=="function"?K(Qe(()=>({get:e,set:ee}))):N(e)}function gn(n,e=200,t=!1,o=!0,i=!1){return ct(ut(e,t,o,i),n)}function ft(n,e=1e3,t={}){const{immediate:o=!0,immediateCallback:i=!1}=t;let a=null;const r=N(!1);function d(){a&&(clearInterval(a),a=null)}function l(){r.value=!1,d()}function u(){const f=S(e);f<=0||(r.value=!0,i&&n(),d(),r.value&&(a=setInterval(n,f)))}if(o&&J&&u(),Me(e)||typeof e=="function"){const f=k(e,()=>{r.value&&J&&u()});R(f)}return R(l),{isActive:r,pause:l,resume:u}}function wn(n,e={}){const{method:t="parseFloat",radix:o,nanToZero:i}=e;return E(()=>{let a=S(n);return typeof a=="string"&&(a=Number[t](a,o)),i&&Number.isNaN(a)&&(a=0),a})}const U=J?window:void 0;function he(n){var e;const t=S(n);return(e=t?.$el)!=null?e:t}function _(...n){let e,t,o,i;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,i]=n,e=U):[e,t,o,i]=n,!e)return ee;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach(f=>f()),a.length=0},d=(f,m,p,y)=>(f.addEventListener(m,p,y),()=>f.removeEventListener(m,p,y)),l=k(()=>[he(e),S(i)],([f,m])=>{if(r(),!f)return;const p=st(m)?{...m}:m;a.push(...t.flatMap(y=>o.map(C=>d(f,y,C,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),r()};return R(u),u}function vt(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function Tn(...n){let e,t,o={};n.length===3?(e=n[0],t=n[1],o=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],o=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:i=U,eventName:a="keydown",passive:r=!1,dedupe:d=!1}=o,l=vt(e);return _(i,a,f=>{f.repeat&&S(d)||l(f)&&t(f)},r)}function pt(){const n=N(!1),e=Je();return e&&me(()=>{n.value=!0},e),n}function mt(n){const e=pt();return E(()=>(e.value,!!n()))}function bt(n,e,t={}){const{window:o=U,...i}=t;let a;const r=mt(()=>o&&"MutationObserver"in o),d=()=>{a&&(a.disconnect(),a=void 0)},l=E(()=>{const p=S(n),y=(Array.isArray(p)?p:[p]).map(he).filter(at);return new Set(y)}),u=k(()=>l.value,p=>{d(),r.value&&p.size&&(a=new MutationObserver(e),p.forEach(y=>a.observe(y,i)))},{immediate:!0,flush:"post"}),f=()=>a?.takeRecords(),m=()=>{u(),d()};return R(m),{isSupported:r,stop:m,takeRecords:f}}function ht(n,e={}){const{immediate:t=!0,fpsLimit:o=void 0,window:i=U}=e,a=N(!1),r=o?1e3/o:null;let d=0,l=null;function u(p){if(!a.value||!i)return;d||(d=p);const y=p-d;if(r&&y<r){l=i.requestAnimationFrame(u);return}d=p,n({delta:y,timestamp:p}),l=i.requestAnimationFrame(u)}function f(){!a.value&&i&&(a.value=!0,d=0,l=i.requestAnimationFrame(u))}function m(){a.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return t&&f(),R(m),{isActive:K(a),pause:m,resume:f}}const z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Y="__vueuse_ssr_handlers__",Bt=yt();function yt(){return Y in z||(z[Y]=z[Y]||{}),z[Y]}function Fn(n,e){return Bt[n]||e}function Cn(n,e={}){const{delayEnter:t=0,delayLeave:o=0,window:i=U}=e,a=N(!1);let r;const d=l=>{const u=l?t:o;r&&(clearTimeout(r),r=void 0),u?r=setTimeout(()=>a.value=l,u):a.value=l};return i&&(_(n,"mouseenter",()=>d(!0),{passive:!0}),_(n,"mouseleave",()=>d(!1),{passive:!0})),a}function Nn(n,e={}){const{initialValue:t=!1,focusVisible:o=!1,preventScroll:i=!1}=e,a=N(!1),r=E(()=>he(n));_(r,"focus",l=>{var u,f;(!o||(f=(u=l.target).matches)!=null&&f.call(u,":focus-visible"))&&(a.value=!0)}),_(r,"blur",()=>a.value=!1);const d=E({get:()=>a.value,set(l){var u,f;!l&&a.value?(u=r.value)==null||u.blur():l&&!a.value&&((f=r.value)==null||f.focus({preventScroll:i}))}});return k(r,()=>{d.value=t},{immediate:!0,flush:"post"}),{focused:d}}function le(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function _e(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth<n.scrollWidth||e.overflowY==="auto"&&n.clientHeight<n.scrollHeight)return!0;{const t=n.parentNode;return!t||t.tagName==="BODY"?!1:_e(t)}}function gt(n){const e=n||window.event,t=e.target;return _e(t)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const ce=new WeakMap;function wt(n,e=!1){const t=N(e);let o=null,i="";k(dt(n),d=>{const l=le(S(d));if(l){const u=l;if(ce.get(u)||ce.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const a=()=>{const d=le(S(n));!d||t.value||(Se&&(o=_(d,"touchmove",l=>{gt(l)},{passive:!1})),d.style.overflow="hidden",t.value=!0)},r=()=>{const d=le(S(n));!d||!t.value||(Se&&o?.(),d.style.overflow=i,ce.delete(d),t.value=!1)};return R(r),E({get(){return t.value},set(d){d?a():r()}})}function Sn(n={}){const{controls:e=!1,offset:t=0,immediate:o=!0,interval:i="requestAnimationFrame",callback:a}=n,r=N(Ne()+t),d=()=>r.value=Ne()+t,l=a?()=>{d(),a(r.value)}:d,u=i==="requestAnimationFrame"?ht(l,{immediate:o}):ft(l,i,{immediate:o});return e?{timestamp:r,...u}:r}function Tt(n){return Le()?(je(n),!0):!1}function fe(n){return typeof n=="function"?n():xe(n)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ft=n=>n!=null;function Ct(n){var e;const t=fe(n);return(e=t?.$el)!=null?e:t}var Ge=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],te=Ge.join(","),We=typeof Element>"u",x=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ne=!We&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},oe=function n(e,t){var o;t===void 0&&(t=!0);var i=e==null||(o=e.getAttribute)===null||o===void 0?void 0:o.call(e,"inert"),a=i===""||i==="true",r=a||t&&e&&n(e.parentNode);return r},Nt=function(e){var t,o=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return o===""||o==="true"},$e=function(e,t,o){if(oe(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(te));return t&&x.call(e,te)&&i.unshift(e),i=i.filter(o),i},Ve=function n(e,t,o){for(var i=[],a=Array.from(e);a.length;){var r=a.shift();if(!oe(r,!1))if(r.tagName==="SLOT"){var d=r.assignedElements(),l=d.length?d:r.children,u=n(l,!0,o);o.flatten?i.push.apply(i,u):i.push({scopeParent:r,candidates:u})}else{var f=x.call(r,te);f&&o.filter(r)&&(t||!e.includes(r))&&i.push(r);var m=r.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(r),p=!oe(m,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(r));if(m&&p){var y=n(m===!0?r.children:m.children,!0,o);o.flatten?i.push.apply(i,y):i.push({scopeParent:r,candidates:y})}else a.unshift.apply(a,r.children)}}return i},qe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},O=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Nt(e))&&!qe(e)?0:e.tabIndex},St=function(e,t){var o=O(e);return o<0&&t&&!qe(e)?0:o},kt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},He=function(e){return e.tagName==="INPUT"},At=function(e){return He(e)&&e.type==="hidden"},Et=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(o){return o.tagName==="SUMMARY"});return t},Pt=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]},Dt=function(e){if(!e.name)return!0;var t=e.form||ne(e),o=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=o(window.CSS.escape(e.name));else try{i=o(e.name)}catch(r){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",r.message),!1}var a=Pt(i,e.form);return!a||a===e},It=function(e){return He(e)&&e.type==="radio"},Ot=function(e){return It(e)&&!Dt(e)},Rt=function(e){var t,o=e&&ne(e),i=(t=o)===null||t===void 0?void 0:t.host,a=!1;if(o&&o!==e){var r,d,l;for(a=!!((r=i)!==null&&r!==void 0&&(d=r.ownerDocument)!==null&&d!==void 0&&d.contains(i)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!a&&i;){var u,f,m;o=ne(i),i=(u=o)===null||u===void 0?void 0:u.host,a=!!((f=i)!==null&&f!==void 0&&(m=f.ownerDocument)!==null&&m!==void 0&&m.contains(i))}}return a},ke=function(e){var t=e.getBoundingClientRect(),o=t.width,i=t.height;return o===0&&i===0},xt=function(e,t){var o=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=x.call(e,"details>summary:first-of-type"),r=a?e.parentElement:e;if(x.call(r,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof i=="function"){for(var d=e;e;){var l=e.parentElement,u=ne(e);if(l&&!l.shadowRoot&&i(l)===!0)return ke(e);e.assignedSlot?e=e.assignedSlot:!l&&u!==e.ownerDocument?e=u.host:e=l}e=d}if(Rt(e))return!e.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return ke(e);return!1},Lt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var o=0;o<t.children.length;o++){var i=t.children.item(o);if(i.tagName==="LEGEND")return x.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},re=function(e,t){return!(t.disabled||oe(t)||At(t)||xt(t,e)||Et(t)||Lt(t))},ve=function(e,t){return!(Ot(t)||O(t)<0||!re(e,t))},jt=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Mt=function n(e){var t=[],o=[];return e.forEach(function(i,a){var r=!!i.scopeParent,d=r?i.scopeParent:i,l=St(d,r),u=r?n(i.candidates):d;l===0?r?t.push.apply(t,u):t.push(d):o.push({documentOrder:a,tabIndex:l,item:i,isScope:r,content:u})}),o.sort(kt).reduce(function(i,a){return a.isScope?i.push.apply(i,a.content):i.push(a.content),i},[]).concat(t)},Kt=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:jt}):o=$e(e,t.includeContainer,ve.bind(null,t)),Mt(o)},_t=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):o=$e(e,t.includeContainer,re.bind(null,t)),o},M=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,te)===!1?!1:ve(t,e)},Gt=Ge.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,Gt)===!1?!1:re(t,e)};function pe(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t<e;t++)o[t]=n[t];return o}function Wt(n){if(Array.isArray(n))return pe(n)}function $t(n,e,t){return(e=zt(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Vt(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ae(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,o)}return t}function Ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ae(Object(t),!0).forEach(function(o){$t(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ae(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Ht(n){return Wt(n)||Vt(n)||Yt(n)||qt()}function Ut(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var o=t.call(n,e);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function zt(n){var e=Ut(n,"string");return typeof e=="symbol"?e:e+""}function Yt(n,e){if(n){if(typeof n=="string")return pe(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pe(n,e):void 0}}var Pe={activateTrap:function(e,t){if(e.length>0){var o=e[e.length-1];o!==t&&o.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var o=e.indexOf(t);o!==-1&&e.splice(o,1),e.length>0&&e[e.length-1].unpause()}},Xt=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Zt=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},H=function(e){return e?.key==="Tab"||e?.keyCode===9},Qt=function(e){return H(e)&&!e.shiftKey},Jt=function(e){return H(e)&&e.shiftKey},De=function(e){return setTimeout(e,0)},q=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,o):e},X=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},en=[],tn=function(e,t){var o=t?.document||document,i=t?.trapStack||en,a=Ee({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Qt,isKeyBackward:Jt},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(s,c,v){return s&&s[c]!==void 0?s[c]:a[v||c]},u=function(s,c){var v=typeof c?.composedPath=="function"?c.composedPath():void 0;return r.containerGroups.findIndex(function(h){var B=h.container,w=h.tabbableNodes;return B.contains(s)||v?.includes(B)||w.find(function(b){return b===s})})},f=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=c.hasFallback,h=v===void 0?!1:v,B=c.params,w=B===void 0?[]:B,b=a[s];if(typeof b=="function"&&(b=b.apply(void 0,Ht(w))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var T=b;if(typeof b=="string"){try{T=o.querySelector(b)}catch(F){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(F.message,'"'))}if(!T&&!h)throw new Error("`".concat(s,"` as selector refers to no known node"))}return T},m=function(){var s=f("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!ue(s,a.tabbableOptions))if(u(o.activeElement)>=0)s=o.activeElement;else{var c=r.tabbableGroups[0],v=c&&c.firstTabbableNode;s=v||f("fallbackFocus")}else s===null&&(s=f("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},p=function(){if(r.containerGroups=r.containers.map(function(s){var c=Kt(s,a.tabbableOptions),v=_t(s,a.tabbableOptions),h=c.length>0?c[0]:void 0,B=c.length>0?c[c.length-1]:void 0,w=v.find(function(F){return M(F)}),b=v.slice().reverse().find(function(F){return M(F)}),T=!!c.find(function(F){return O(F)>0});return{container:s,tabbableNodes:c,focusableNodes:v,posTabIndexesFound:T,firstTabbableNode:h,lastTabbableNode:B,firstDomTabbableNode:w,lastDomTabbableNode:b,nextTabbableNode:function(D){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=c.indexOf(D);return A<0?$?v.slice(v.indexOf(D)+1).find(function(V){return M(V)}):v.slice(0,v.indexOf(D)).reverse().find(function(V){return M(V)}):c[A+($?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(s){return s.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(s){var c=s.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?y(c.shadowRoot):c},C=function(s){if(s!==!1&&s!==y(document)){if(!s||!s.focus){C(m());return}s.focus({preventScroll:!!a.preventScroll}),r.mostRecentlyFocusedNode=s,Xt(s)&&s.select()}},L=function(s){var c=f("setReturnFocus",{params:[s]});return c||(c===!1?!1:s)},G=function(s){var c=s.target,v=s.event,h=s.isBackward,B=h===void 0?!1:h;c=c||X(v),p();var w=null;if(r.tabbableGroups.length>0){var b=u(c,v),T=b>=0?r.containerGroups[b]:void 0;if(b<0)B?w=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:w=r.tabbableGroups[0].firstTabbableNode;else if(B){var F=r.tabbableGroups.findIndex(function(ie){var se=ie.firstTabbableNode;return c===se});if(F<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c,!1))&&(F=b),F>=0){var D=F===0?r.tabbableGroups.length-1:F-1,$=r.tabbableGroups[D];w=O(c)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c,!1))}else{var A=r.tabbableGroups.findIndex(function(ie){var se=ie.lastTabbableNode;return c===se});if(A<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c))&&(A=b),A>=0){var V=A===r.tabbableGroups.length-1?0:A+1,Ce=r.tabbableGroups[V];w=O(c)>=0?Ce.firstTabbableNode:Ce.firstDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c))}}else w=f("fallbackFocus");return w},j=function(s){var c=X(s);if(!(u(c,s)>=0)){if(q(a.clickOutsideDeactivates,s)){d.deactivate({returnFocus:a.returnFocusOnDeactivate});return}q(a.allowOutsideClick,s)||s.preventDefault()}},Be=function(s){var c=X(s),v=u(c,s)>=0;if(v||c instanceof Document)v&&(r.mostRecentlyFocusedNode=c);else{s.stopImmediatePropagation();var h,B=!0;if(r.mostRecentlyFocusedNode)if(O(r.mostRecentlyFocusedNode)>0){var w=u(r.mostRecentlyFocusedNode),b=r.containerGroups[w].tabbableNodes;if(b.length>0){var T=b.findIndex(function(F){return F===r.mostRecentlyFocusedNode});T>=0&&(a.isKeyForward(r.recentNavEvent)?T+1<b.length&&(h=b[T+1],B=!1):T-1>=0&&(h=b[T-1],B=!1))}}else r.containerGroups.some(function(F){return F.tabbableNodes.some(function(D){return O(D)>0})})||(B=!1);else B=!1;B&&(h=G({target:r.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(r.recentNavEvent)})),C(h||r.mostRecentlyFocusedNode||m())}r.recentNavEvent=void 0},Ye=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=s;var v=G({event:s,isBackward:c});v&&(H(s)&&s.preventDefault(),C(v))},ye=function(s){(a.isKeyForward(s)||a.isKeyBackward(s))&&Ye(s,a.isKeyBackward(s))},ge=function(s){Zt(s)&&q(a.escapeDeactivates,s)!==!1&&(s.preventDefault(),d.deactivate())},we=function(s){var c=X(s);u(c,s)>=0||q(a.clickOutsideDeactivates,s)||q(a.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Te=function(){if(r.active)return Pe.activateTrap(i,d),r.delayInitialFocusTimer=a.delayInitialFocus?De(function(){C(m())}):C(m()),o.addEventListener("focusin",Be,!0),o.addEventListener("mousedown",j,{capture:!0,passive:!1}),o.addEventListener("touchstart",j,{capture:!0,passive:!1}),o.addEventListener("click",we,{capture:!0,passive:!1}),o.addEventListener("keydown",ye,{capture:!0,passive:!1}),o.addEventListener("keydown",ge),d},Fe=function(){if(r.active)return o.removeEventListener("focusin",Be,!0),o.removeEventListener("mousedown",j,!0),o.removeEventListener("touchstart",j,!0),o.removeEventListener("click",we,!0),o.removeEventListener("keydown",ye,!0),o.removeEventListener("keydown",ge),d},Xe=function(s){var c=s.some(function(v){var h=Array.from(v.removedNodes);return h.some(function(B){return B===r.mostRecentlyFocusedNode})});c&&C(m())},ae=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Xe):void 0,W=function(){ae&&(ae.disconnect(),r.active&&!r.paused&&r.containers.map(function(s){ae.observe(s,{subtree:!0,childList:!0})}))};return d={get active(){return r.active},get paused(){return r.paused},activate:function(s){if(r.active)return this;var c=l(s,"onActivate"),v=l(s,"onPostActivate"),h=l(s,"checkCanFocusTrap");h||p(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=o.activeElement,c?.();var B=function(){h&&p(),Te(),W(),v?.()};return h?(h(r.containers.concat()).then(B,B),this):(B(),this)},deactivate:function(s){if(!r.active)return this;var c=Ee({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},s);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,Fe(),r.active=!1,r.paused=!1,W(),Pe.deactivateTrap(i,d);var v=l(c,"onDeactivate"),h=l(c,"onPostDeactivate"),B=l(c,"checkCanReturnFocus"),w=l(c,"returnFocus","returnFocusOnDeactivate");v?.();var b=function(){De(function(){w&&C(L(r.nodeFocusedBeforeActivation)),h?.()})};return w&&B?(B(L(r.nodeFocusedBeforeActivation)).then(b,b),this):(b(),this)},pause:function(s){if(r.paused||!r.active)return this;var c=l(s,"onPause"),v=l(s,"onPostPause");return r.paused=!0,c?.(),Fe(),W(),v?.(),this},unpause:function(s){if(!r.paused||!r.active)return this;var c=l(s,"onUnpause"),v=l(s,"onPostUnpause");return r.paused=!1,c?.(),p(),Te(),W(),v?.(),this},updateContainerElements:function(s){var c=[].concat(s).filter(Boolean);return r.containers=c.map(function(v){return typeof v=="string"?o.querySelector(v):v}),r.active&&p(),W(),this}},d.updateContainerElements(e),d};function nn(n,e={}){let t;const{immediate:o,...i}=e,a=N(!1),r=N(!1),d=p=>t&&t.activate(p),l=p=>t&&t.deactivate(p),u=()=>{t&&(t.pause(),r.value=!0)},f=()=>{t&&(t.unpause(),r.value=!1)},m=E(()=>{const p=fe(n);return(Array.isArray(p)?p:[p]).map(y=>{const C=fe(y);return typeof C=="string"?C:Ct(C)}).filter(Ft)});return k(m,p=>{p.length&&(t=tn(p,{...i,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),o&&d())},{flush:"post"}),Tt(()=>l()),{hasFocus:a,isPaused:r,activate:d,deactivate:l,pause:u,unpause:f}}const kn=({element:n,isActive:e,noTrap:t,fallbackFocus:o},i={allowOutsideClick:!0,fallbackFocus:o.ref.value??void 0,escapeDeactivates:!1})=>{const a=K(Q(e)),r=K(Q(t)),d=()=>{var f;const m=(f=n.value)==null?void 0:f.querySelectorAll(`a, button, input, select, textarea, [tabindex]:not([tabindex="-1"]):not(.${o.classSelector})`);return!m||m.length===0},l=N(d());me(()=>{bt(n,()=>{l.value=d()},{childList:!0,subtree:!0})});const u=nn(n,i);return k(a,async f=>{await et(),f&&r.value===!1?u.activate():u.deactivate()}),k(r,f=>{f===!0&&u.deactivate()}),{needsFallback:K(l)}},on=rt(wt);let Z="";const I=new Map,An=(n,e)=>{const t=K(Q(n)),o=tt(),i=E(()=>!ot(e)),a=on(typeof document<"u"?document.body:null,t.value&&i.value);me(()=>{typeof document>"u"||(I.set(o,!1),k([t,i],([r,d])=>{const l=window.innerWidth-document.documentElement.clientWidth,u=Array.from(I.values()).some(p=>p===!0),f=r&&d;I.set(o,f),f&&!u&&!a.value&&(a.value=!0,l>0&&(Z=document.body.style.paddingRight,document.body.style.paddingRight=`${l+Z}px`));const m=Array.from(I.values()).some(p=>p===!0);u&&!m&&(I.set(o,!1),a.value=!1,document.body.style.paddingRight=Z)},{immediate:!0}))}),nt(()=>{I.delete(o),Array.from(I.values()).some(d=>d===!0)||(document.body.style.paddingRight=Z,a.value=!1)})};Object.freeze(Object.keys({bordered:0,borderless:0,borderVariant:0,captionTop:0,dark:0,fixed:0,hover:0,id:0,noBorderCollapse:0,outlined:0,responsive:0,small:0,stacked:0,stickyHeader:0,striped:0,stripedColumns:0,variant:0,tableAttrs:0,tableClass:0}));Object.freeze(Object.keys({align:0,caption:0,detailsTdClass:0,fieldColumnClass:0,fields:0,footClone:0,footRowVariant:0,footVariant:0,headRowVariant:0,headVariant:0,items:0,labelStacked:0,modelValue:0,primaryKey:0,tbodyClass:0,tbodyTrAttrs:0,tbodyTrClass:0,tfootClass:0,tfootTrClass:0,theadClass:0,theadTrClass:0}));const Ue={BAccordion:"/components/BAccordion",BAccordionItem:"/components/BAccordion",BAlert:"/components/BAlert",BAvatar:"/components/BAvatar",BAvatarGroup:"/components/BAvatar",BBadge:"/components/BBadge",BBreadcrumb:"/components/BBreadcrumb",BBreadcrumbItem:"/components/BBreadcrumb",BButton:"/components/BButton",BButtonGroup:"/components/BButton",BButtonToolbar:"/components/BButton",BCloseButton:"/components/BButton",BCard:"/components/BCard",BCardBody:"/components/BCard",BCardFooter:"/components/BCard",BCardGroup:"/components/BCard",BCardHeader:"/components/BCard",BCardImg:"/components/BCard",BCardSubtitle:"/components/BCard",BCardText:"/components/BCard",BCardTitle:"/components/BCard",BCarousel:"/components/BCarousel",BCarouselSlide:"/components/BCarousel",BCol:"/components/BContainer",BCollapse:"/components/BCollapse",BContainer:"/components/BContainer",BDropdown:"/components/BDropdown",BDropdownDivider:"/components/BDropdown",BDropdownForm:"/components/BDropdown",BDropdownGroup:"/components/BDropdown",BDropdownHeader:"/components/BDropdown",BDropdownItem:"/components/BDropdown",BDropdownItemButton:"/components/BDropdown",BDropdownText:"/components/BDropdown",BForm:"/components/BForm",BFormCheckbox:"/components/BFormCheckbox",BFormCheckboxGroup:"/components/BFormCheckbox",BFormDatalist:"/components/BForm",BFormFile:"/components/BFormFile",BFormFloatingLabel:"/components/BForm",BFormGroup:"/components/BFormGroup",BFormInput:"/components/BFormInput",BFormInvalidFeedback:"/components/BForm",BFormRadio:"/components/BFormRadio",BFormRadioGroup:"/components/BFormRadio",BFormRow:"/components/BForm",BFormSelect:"/components/BFormSelect",BFormSelectOption:"/components/BFormSelect",BFormSelectOptionGroup:"/components/BFormSelect",BFormSpinbutton:"/components/BFormSpinbutton",BFormTag:"/components/BFormTags",BFormTags:"/components/BFormTags",BFormText:"/components/BForm",BFormTextarea:"/components/BFormTextarea",BFormValidFeedback:"/components/BForm",BImg:"/components/BImg",BInput:"/components/BFormInput",BInputGroup:"/components/BInputGroup",BInputGroupText:"/components/BInputGroup",BListGroup:"/components/BListGroup",BListGroupItem:"/components/BListGroup",BModal:"/components/BModal",BModalOrchestrator:"/components/BModal",BNav:"/components/BNav",BNavForm:"/components/BNav",BNavItem:"/components/BNav",BNavItemDropdown:"/components/BNav",BNavText:"/components/BNav",BNavbar:"/components/BNavbar",BNavbarBrand:"/components/BNavbar",BNavbarNav:"/components/BNavbar",BNavbarToggle:"/components/BNavbar",BOffcanvas:"/components/BOffcanvas",BOverlay:"/components/BOverlay",BPagination:"/components/BPagination",BPlaceholder:"/components/BPlaceholder",BPlaceholderButton:"/components/BPlaceholder",BPlaceholderCard:"/components/BPlaceholder",BPlaceholderTable:"/components/BPlaceholder",BPlaceholderWrapper:"/components/BPlaceholder",BPopover:"/components/BPopover",BProgress:"/components/BProgress",BRow:"/components/BContainer",BSpinner:"/components/BSpinner",BTab:"/components/BTabs",BTabs:"/components/BTabs",BToast:"/components/BToast",BToastOrchestrator:"/components/BToast",BTooltip:"/components/BTooltip",BLink:"/components/BLink",BProgressBar:"/components/BProgress",BTableSimple:"/components/BTable",BTableLite:"/components/BTable",BTable:"/components/BTable",BTbody:"/components/BTable",BTd:"/components/BTable",BTh:"/components/BTable",BThead:"/components/BTable",BTfoot:"/components/BTable",BTr:"/components/BTable",BPopoverOrchestrator:"/components/BPopover"},rn=Object.freeze(Object.keys(Ue)),ze={vBColorMode:"/directives/BColorMode",vBModal:"/directives/BModal",vBPopover:"/directives/BPopover",vBScrollspy:"/directives/BScrollspy",vBToggle:"/directives/BToggle",vBTooltip:"/directives/BTooltip"},an=Object.freeze(Object.keys(ze)),sn={useBreadcrumb:"/composables/useBreadcrumb",useColorMode:"/composables/useColorMode",useModal:"/composables/useModal",useModalController:"/composables/useModalController",useScrollspy:"/composables/useScrollspy",useToastController:"/composables/useToastController",usePopoverController:"/composables/usePopoverController"};Object.freeze(Object.keys(sn));const Ie="bootstrap-vue-next",Oe=(n,e)=>{const{all:t,...o}=n,i={};t&&e.forEach(r=>{i[r]=t});const a={...i,...o};return Object.entries(a).filter(([r,d])=>!!d&&e.includes(r)).map(([r])=>r)},de=new Set,Re=new Set;Object.assign(({aliases:n={},directives:e=!0,components:t=!0}={})=>{const i=Oe(typeof t=="boolean"?{all:t}:t,rn).reduce((l,u)=>(l.set(u,`${Ie}${Ue[u]}`),l),new Map),r=Oe(typeof e=="boolean"?{all:e}:e,an).reduce((l,u)=>{const f=u.toLowerCase().startsWith("v")?u:`v${u}`;return l.set(f,`${Ie}${ze[f]}`),l},new Map);return[{type:"component",resolve(l){const u=i.get(l),f=i.get(n[l]);if(f){const m=n[l];return de.add(m),{name:m,from:f}}if(u)return de.add(l),{name:l,from:u}}},{type:"directive",resolve(l){const u=`v${l}`,f=r.get(u);if(f)return Re.add(u),{name:u,from:f}}}]},{__usedComponents:de,__usedDirectives:Re});export{kn as a,An as b,Nn as c,hn as d,bn as e,_ as f,Fn as g,gn as h,dn as i,un as j,Sn as k,Cn as l,mn as m,fn as n,Tn as o,cn as p,wn as q,pn as r,Bn as s,R as t,he as u,yn as v,Ke as w,vn as x};
|
|
3
|
-
//# sourceMappingURL=index-sLCKmIWG-umQeu_-w.js.map
|
ose_app/static/js/editor.js
CHANGED
|
@@ -33,4 +33,3 @@ Data: `,e)}_wipeElements(){this.dispatch("rows-wipe"),this.destroy(),this.ad
|
|
|
33
33
|
An error occured while saving the file:
|
|
34
34
|
</p>
|
|
35
35
|
${await k.text()}`,className:"danger"})}}catch{re.value=!1,await ke({title:"Connection problem",message:"There was a problem communicating with the server. Your changes have probably not been saved!"})}}const X={visualiseSheet(){Gt("sheet")},visualiseSelection(){Gt("select")},validate(){nt()},saveFile(){Ut()},undo(){n.value&&B.undo(n.value)},redo(){n.value&&B.redo(n.value)},async addRow(){const g=n.value?.getDataCount()??0,f={id:g};for(const w of n.value?.getColumns()??[]){const M=w.getField();if(M)switch(f[M]="",M?.toLowerCase()){case F.CURATION_STATUS.toLowerCase():f[M]=Dt.PROPOSED;break;case F.E_CIGO.toLowerCase():case F.FUZZY_SET.toLowerCase():f[M]=0;break;case F.RELATIONSHIP_TYPE.toLowerCase():f[M]="ObjectProperty";break}}gi(),await n.value.addRow(f),await n.value?.scrollToRow(g,"top",!0),B.recordRowAdded(f.id,n.value.getRow(f.id).getPosition(),f)},async deleteSelectedRows(){if(!(H.value.length>1&&!await Yt({title:`Delete row${H.value.length===1?"":"s"}?`,message:`Do you really want to delete ${H.value.length===1?"the row":H.value.length+" rows"}?`})))for(const g of H.value){const f=g.getData();if(f[F.ID]===void 0||f[F.CURATION_STATUS]===void 0)B.recordRowDeleted(f.id,g.getPosition(),f),g.deselect(),n.value?.deleteRow(g);else{const w=ae(g,F.ID);if(w?.getValue()!==null&&w?.getValue().trim()!==""){const M=f[F.CURATION_STATUS];f[F.CURATION_STATUS]=Dt.OBSOLETE,await ke({message:"You can't delete a row that has already had an ID assigned. Setting row status to 'Obsolete' instead."}),g.deselect();const J=f[F.CURATION_STATUS];F.CURATOR in f&&(f[F.CURATOR]=[f[F.CURATOR],LOGIN_INITIALS].filter(xe=>!!xe).join("; "));const x={[F.CURATION_STATUS]:M??null,[F.CURATOR]:J??null},k={[F.CURATION_STATUS]:f[F.CURATION_STATUS],[F.CURATOR]:f[F.CURATOR]},$=f.id;B.recordChange(k,x,$)}else B.recordRowDeleted(f.id,g.getPosition(),f),g.deselect(),n.value?.deleteRow(g)}}},async markAsReviewed(){for(let g of H.value){if(ae(g,F.TO_BE_REVIEWED_BY)===null)continue;const f=g.getData(),w=f[F.TO_BE_REVIEWED_BY],M=ae(g,F.TO_BE_REVIEWED_BY);mi(g);const x=M?.getValue()?.split(";")?.map(Et=>Et.trim()).filter(Et=>Et!==LOGIN_INITIALS).join("; ");await g.update({[F.TO_BE_REVIEWED_BY]:x}),g.deselect();const k=f[F.TO_BE_REVIEWED_BY],$=f.id;B.recordChange(k,w??null,$,"To be reviewed by")}n.value?.redraw()},highlightOwn(){s.value?.classList?.toggle("highlight-assigned")},async askForReview(){const g=await Li({title:"Choose reviewers",inputType:"checkbox",inputOptions:ALL_INITIALS.map(f=>({value:f,text:f}))});if(!(g===null||g.length===0))for(const f of H.value){const w=ae(f,F.TO_BE_REVIEWED_BY);if(w===null)continue;const M=w.getValue(),J=[w.getValue()?.trim(),...g].filter(xe=>!!xe).join("; ");f.update({[F.TO_BE_REVIEWED_BY]:J}),f.deselect();const x=J,k=f.getData().id;B.recordChange(x,M??null,k,"To be reviewed by")}},removeFilters(){n.value?.clearFilter(!0)},showHiddenColumns(){const g=n.value?.getColumns()?.slice(1)??[];for(const f of g)f.isVisible()||f.show()},resetColumnWidths(){const g=n.value?.getColumns()?.slice(1)??[];for(const f of g)f.setWidth(wi(f.getField()))},filterToErrors(){const g=_.value;_.value=g.includes("error")?g.filter(f=>f!=="error"):["error",...g]},filterToWarnings(){const g=_.value;_.value=g.includes("warning")?g.filter(f=>f!=="warning"):["warning",...g]},filterToInfos(){const g=_.value;_.value=g.includes("info")?g.filter(f=>f!=="info"):["info",...g]}},vi={async save(g){await $t("Resolve merge conflicts","",g)}};function wi(g){return{"e-cigo":140,"fuzzy set":140}[g]??200}return(g,f)=>(S(),A(K,null,[he(E(Gi)),m("div",{class:q([{"visually-hidden":ce.value!=="edit"},"editor-container"])},[m("div",dr,[m("div",ur,[m("div",cr,[m("div",fr,[fe?(S(),A("div",pr,[m("a",{class:q([{disabled:N.value},"btn-ribbon"]),download:E(p),href:v.value,target:"_blank"},[...f[26]||(f[26]=[m("i",{class:"fas fa-download",style:{color:"cornflowerblue"}},null,-1),m("br",null,null,-1),P(" Download ",-1)])],10,mr)])):(S(),A("div",gr,[m("button",{disabled:N.value||!E(B).canUndo(),class:"btn-ribbon",onClick:f[0]||(f[0]=w=>X.saveFile())},[...f[27]||(f[27]=[m("i",{class:"fas fa-save",style:{color:"cornflowerblue"}},null,-1),m("br",null,null,-1),P(" Save ",-1)])],8,br)])),m("span",{style:at({gridColumn:`span ${2-+fe}`}),class:"ribbon-title"},"Edit",4),fe?G("",!0):(S(),A("div",vr,[m("button",{disabled:N.value||!E(B).canUndo(),class:"btn-ribbon",onClick:f[1]||(f[1]=w=>X.undo())},[...f[28]||(f[28]=[m("i",{class:"fas fa-undo"},null,-1),P(" Undo ",-1)])],8,wr),m("button",{disabled:N.value||!E(B).canRedo(),class:"btn-ribbon",onClick:f[2]||(f[2]=w=>X.redo())},[...f[29]||(f[29]=[m("i",{class:"fas fa-redo"},null,-1),P(" Redo ",-1)])],8,Cr),m("a",{class:q([{disabled:N.value},"btn-ribbon"]),download:E(p),href:v.value,target:"_blank"},[...f[30]||(f[30]=[m("i",{class:"fas fa-download",style:{color:"cornflowerblue"}},null,-1),m("br",null,null,-1),P(" Download ",-1)])],10,yr)])),f[49]||(f[49]=m("div",{class:"ribbon-splitter"},null,-1)),fe?G("",!0):(S(),A(K,{key:3},[m("div",Er,[m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[3]||(f[3]=w=>X.addRow())},[...f[31]||(f[31]=[m("i",{class:"fas fa-plus",style:{color:"green"}},null,-1),m("br",null,null,-1),P(" Add row ",-1)])],8,Rr),m("button",{disabled:N.value||H.value.length<=0,class:"btn-ribbon",onClick:f[4]||(f[4]=w=>X.deleteSelectedRows())},[...f[32]||(f[32]=[m("i",{class:"fas fa-trash-alt",style:{color:"indianred"}},null,-1),m("br",null,null,-1),P(" Delete ",-1)])],8,xr)]),f[33]||(f[33]=m("span",{class:"ribbon-title",style:{"column-span":"2"}},"Data",-1))],64)),wt.value?(S(),A(K,{key:4},[f[37]||(f[37]=m("div",{class:"ribbon-splitter"},null,-1)),m("div",kr,[m("button",{disabled:N.value||H.value.length<=0,class:"btn-ribbon",onClick:f[5]||(f[5]=w=>X.markAsReviewed())},[...f[34]||(f[34]=[m("i",{class:"fas fa-clipboard-check",style:{color:"green"}},null,-1),m("br",null,null,-1),P(" Reviewed ",-1)])],8,Tr)]),f[38]||(f[38]=m("span",{class:"ribbon-title",style:{"grid-column":"span 2"}},"Review",-1)),m("div",Mr,[m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[6]||(f[6]=w=>X.highlightOwn())},[...f[35]||(f[35]=[m("i",{class:"fas fa-user"},null,-1),P(" Highlight yours ",-1)])],8,Sr),m("button",{disabled:N.value||H.value.length<=0,class:"btn-ribbon",onClick:f[7]||(f[7]=w=>X.askForReview())},[...f[36]||(f[36]=[m("i",{class:"fas fa-clipboard"},null,-1),P(" Ask for review ",-1)])],8,Lr)])],64)):G("",!0),f[50]||(f[50]=m("div",{class:"ribbon-splitter"},null,-1)),m("div",Dr,[m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[8]||(f[8]=w=>X.removeFilters())},[...f[39]||(f[39]=[m("i",{class:"fas fa-filter-circle-xmark",style:{color:"indianred"}},null,-1),P(" Remove filters ",-1)])],8,zr),m("button",{disabled:N.value||!n.value?.getColumns()?.find(w=>!w.isVisible()),class:"btn-ribbon",onClick:f[9]||(f[9]=(...w)=>X.showHiddenColumns&&X.showHiddenColumns(...w))},[...f[40]||(f[40]=[m("i",{class:"fas fa-eye",style:{color:"cornflowerblue"}},null,-1),P(" Show hidden columns ",-1)])],8,Fr),m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[10]||(f[10]=w=>X.resetColumnWidths())},[...f[41]||(f[41]=[m("i",{class:"fas fa-text-width"},null,-1),P(" Reset column widths ",-1)])],8,Hr)]),f[51]||(f[51]=m("span",{class:"ribbon-title"},"View",-1)),Ct.value?(S(),A(K,{key:5},[f[44]||(f[44]=m("div",{class:"ribbon-splitter"},null,-1)),m("div",Or,[m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[11]||(f[11]=w=>X.visualiseSheet())},[...f[42]||(f[42]=[m("i",{class:"fab fa-uncharted",style:{color:"#198754"}},null,-1),P(" Sheet ",-1)])],8,_r),m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[12]||(f[12]=w=>X.visualiseSelection())},[...f[43]||(f[43]=[m("i",{class:"fab fa-uncharted",style:{color:"#198754"}},null,-1),P(" Selection ",-1)])],8,Ar)]),f[45]||(f[45]=m("span",{class:"ribbon-title"},"Visualise",-1))],64)):G("",!0),je.value?(S(),A(K,{key:6},[f[47]||(f[47]=m("div",{class:"ribbon-splitter"},null,-1)),m("div",Pr,[m("button",{disabled:N.value,class:"btn-ribbon",onClick:f[13]||(f[13]=w=>X.validate())},[...f[46]||(f[46]=[m("i",{class:"fas fa-spell-check",style:{color:"orange"}},null,-1),m("br",null,null,-1),P(" Validate ",-1)])],8,Br)]),f[48]||(f[48]=m("span",{class:"ribbon-title",style:{"grid-column":"span 2"}},"Validation",-1))],64)):G("",!0),f[52]||(f[52]=m("div",{class:"ribbon-splitter"},null,-1)),f[53]||(f[53]=m("div",{class:"ribbon-filler"},null,-1))])])])]),m("div",{style:at(R.value?"height: calc(100% - 200px)":"height: 100%"),class:"row editor-row"},[m("div",{id:"contentTable",ref_key:"table",ref:s,class:"table table-bordered table-hover table-sm",style:{"font-size":"0.8em","margin-bottom":"0 !important"}},null,512),n.value?G("",!0):(S(),A("div",Vr,[...f[54]||(f[54]=[m("div",{class:"loader"},null,-1)])]))],4),je.value?(S(),A(K,{key:0},[m("button",{style:at({bottom:R.value?"200px":"0"}),class:"toggle-diagnostics bg-secondary",onClick:f[14]||(f[14]=w=>R.value=!R.value)},[R.value?(S(),A(K,{key:0},[f[55]||(f[55]=m("i",{class:"fa fa-chevron-down"},null,-1)),f[56]||(f[56]=P(" Hide validation messages ",-1))],64)):(S(),A(K,{key:1},[f[57]||(f[57]=m("i",{class:"fa fa-chevron-up"},null,-1)),f[58]||(f[58]=P(" Show validation messages ",-1))],64))],4),R.value?(S(),A("div",Ir,[m("div",Nr,[m("button",{class:q([{active:_.value.includes("error")},"btn-diagnostics-filter"]),disabled:N.value,onClick:f[15]||(f[15]=w=>X.filterToErrors())},[f[59]||(f[59]=m("i",{class:"fas fa-circle-xmark",style:{color:"indianred"}},null,-1)),P(" Errors ("+Y(Le.value.length)+") ",1)],10,Wr),m("button",{class:q([{active:_.value.includes("warning")},"btn-diagnostics-filter"]),disabled:N.value,onClick:f[16]||(f[16]=w=>X.filterToWarnings())},[f[60]||(f[60]=m("i",{class:"fas fa-exclamation-triangle",style:{color:"orange"}},null,-1)),P(" Warnings ("+Y(De.value.length)+") ",1)],10,jr),m("button",{class:q([{active:_.value.includes("info")},"btn-diagnostics-filter"]),disabled:N.value,onClick:f[17]||(f[17]=w=>X.filterToInfos())},[f[61]||(f[61]=m("i",{class:"fas fa-info-circle",style:{color:"dodgerblue"}},null,-1)),P(" Infos ("+Y(yt.value.length)+") ",1)],10,Gr)]),m("div",Ur,[(S(!0),A(K,null,_e(pe.value.filter(w=>_.value.length===0||_.value.includes(w.type)),w=>(S(),A(K,null,[m("i",{class:q([{"fa-circle-xmark":w.type==="error","fa-triangle-exclamation":w.type==="warning","fa-info-circle":w.type==="info",[`text-${w.type==="error"?"danger":w.type}`]:!0},"fa dg-type"])},null,2),w.diagnostic.row>0?(S(),A("a",{key:0,class:"dg-row",onClick:M=>Z(w.diagnostic.row-2)},"Row "+Y(w.diagnostic.row-1),9,$r)):G("",!0),he(Si,{diagnostic:w.diagnostic,class:"dg-diagnostic",format:"inline"},null,8,["diagnostic"])],64))),256))])])):G("",!0)],64)):G("",!0)],2),ce.value==="merge"&&O.value!==null?(S(),A("div",Jr,[he(lr,{modelValue:O.value,"onUpdate:modelValue":f[18]||(f[18]=w=>O.value=w),conflicts:Ee.value,onSave:vi.save},null,8,["modelValue","conflicts","onSave"])])):G("",!0),he(E(kt),{modelValue:be.value,"onUpdate:modelValue":f[23]||(f[23]=w=>be.value=w),title:"Submit changes"},{footer:se(()=>[m("button",{class:"btn btn-danger",onClick:f[21]||(f[21]=w=>$t(U.value,le.value))},"Submit"),m("button",{class:"btn btn-primary",onClick:f[22]||(f[22]=w=>bi())},"Cancel")]),default:se(()=>[m("p",null," You are about to submit changes. Please describe the changes you have made to "+Y(E(p)),1),m("form",Kr,[m("div",Xr,[f[62]||(f[62]=m("label",{for:"commit-msg"},"Commit message",-1)),Ze(m("input",{id:"commit-msg","onUpdate:modelValue":f[19]||(f[19]=w=>U.value=w),class:"form-control",name:"commit-msg",required:"",type:"text"},null,512),[[Lt,U.value]])]),m("div",Yr,[f[63]||(f[63]=m("label",{for:"descr"},"Detailed description",-1)),Ze(m("textarea",{id:"descr","onUpdate:modelValue":f[20]||(f[20]=w=>le.value=w),class:"form-control",name:"descr"}," ",512),[[Lt,le.value]])])])]),_:1},8,["modelValue"]),he(E(kt),{modelValue:re.value,"onUpdate:modelValue":f[24]||(f[24]=w=>re.value=w),centered:"","no-close-on-backdrop":"","no-close-on-esc":"","no-footer":"","no-header":"",variant:"primary"},{default:se(()=>[m("p",qr,[he(E(zt),{class:"m-4",style:{width:"5rem",height:"5rem"}})]),f[64]||(f[64]=m("h4",{class:"text-center"},"Saving file..",-1))]),_:1},8,["modelValue"]),he(E(kt),{modelValue:Me.value,"onUpdate:modelValue":f[25]||(f[25]=w=>Me.value=w),centered:"","no-close-on-backdrop":"","no-close-on-esc":"","no-footer":"","no-header":"",variant:"primary"},{default:se(()=>[m("p",Zr,[he(E(zt),{class:"m-4",style:{width:"5rem",height:"5rem"}})]),f[65]||(f[65]=m("h4",{class:"text-center"},"Validating..",-1))]),_:1},8,["modelValue"])],64))}}),jt=ki(Qr);jt.use(Mi());jt.config.globalProperties.$filters=Ti;jt.mount("#vue-app-editor");
|
|
36
|
-
//# sourceMappingURL=editor.js.map
|
ose_app/static/js/release.js
CHANGED
|
@@ -3,4 +3,3 @@ import{d as E,c as n,f as _,a as l,F as g,e,v as q,t as d,J as me,l as N,g as D,
|
|
|
3
3
|
`).map(i=>i.split(": ")).map(([i,t])=>t==="true"?[i,!0]:t==="false"?[i,!1]:isNaN(Number(t))?[i,t]:[i,Number(t)]))}function c(f){bootbox.prompt({title:`Add dependency for ${f}`,inputType:"select",inputOptions:Object.entries(p.releaseScript.files).filter(([s,i])=>s!=f).map(([s,i])=>({text:i.target.file,value:s})),callback(s){s&&p.releaseScript.files[f].needs.push(s)}})}function y(f,s){p.releaseScript.files[f].needs=p.releaseScript.files[f].needs.filter(i=>i!=s)}function w(){bootbox.prompt({title:"What is the name of the file?",inputType:"text",callback(f){f&&(f=f.trim().replace(/[ ,./\-!?=]/,"_"),p.releaseScript.files[f]={target:{file:"",iri:"",ontology_annotations:{}},sources:[],needs:[]})}})}function v(f,s){f.preventDefault(),bootbox.prompt({title:"What is the name of the file?",inputType:"text",value:s,callback(i){i&&(i=i.trim().replace(/[ ,./\-!?=]/,"_"),p.releaseScript.files[i]=p.releaseScript.files[s],delete p.releaseScript.files[s])}})}function k(f,s){f.preventDefault(),p.releaseScript.steps.splice(s,0,{args:{},name:"NEW_STEP"})}function A(f,s){f.preventDefault();const i=p.releaseScript.steps[s];bootbox.confirm({title:`Delete step '${i.name}'`,message:`Do you want to remove the release step '${i.name}'?`,buttons:{confirm:{label:`Delete ${i.name}`,className:"btn-danger"},cancel:{label:"Keep it",className:"btn-success"}},callback(t){t&&p.releaseScript.steps.splice(s,1)}})}function U(f,s){f.preventDefault(),bootbox.confirm({title:`Delete '${s}'`,message:`Do you want to delete the file '${s}'? It will remove the file ${p.releaseScript.files[s].target.file} from the release.`,buttons:{confirm:{label:`Delete ${s}`,className:"btn-danger"},cancel:{label:"Keep it",className:"btn-success"}},callback(i){i&&delete p.releaseScript.files[s]}})}return(f,s)=>(l(),n(g,null,[e("div",Te,[s[22]||(s[22]=e("h3",null,"Files",-1)),(l(!0),n(g,null,D(a.releaseScript.files,(i,t)=>(l(),O(xe,null,{title:C(()=>[b(d(t)+" - "+d(i.target.file)+" ",1),e("span",Ne,d(i.sources.length)+" sources",1),i.needs.length>0?(l(),n("span",je,d(i.needs.length)+" dependencies",1)):_("",!0)]),buttons:C(()=>[e("button",{class:"btn btn-primary btn-sm btn-circle",onClick:u=>v(u,t)},[...s[1]||(s[1]=[e("i",{class:"fa fa-edit"},null,-1)])],8,Ie),e("button",{class:"btn btn-danger btn-sm btn-circle",onClick:u=>U(u,t)},[...s[2]||(s[2]=[e("i",{class:"fa fa-trash"},null,-1)])],8,Re)]),body:C(()=>[e("div",De,[s[15]||(s[15]=e("h6",null,"Target settings",-1)),s[16]||(s[16]=e("p",{class:"text-body-secondary"},"Define the location of the target file in the repository and define the IRI of the resulting ontology.",-1)),e("div",Pe,[V(e("input",{"onUpdate:modelValue":u=>i.target.publish=u,class:"form-check-input",role:"switch",type:"checkbox"},null,8,Ee),[[B,i.target.publish]]),s[3]||(s[3]=e("span",{class:"form-check-label"},"Publish the file to GitHub",-1))]),e("div",Ue,[s[4]||(s[4]=e("span",{class:"input-group-text"},"Path",-1)),V(e("input",{"onUpdate:modelValue":u=>i.target.file=u,class:"form-control",type:"text"},null,8,Ve),[[J,i.target.file]])]),e("div",Le,[s[5]||(s[5]=e("span",{class:"input-group-text"},"IRI",-1)),V(e("input",{"onUpdate:modelValue":u=>i.target.iri=u,class:"form-control",type:"text"},null,8,We),[[J,i.target.iri]])]),e("div",Fe,[s[6]||(s[6]=e("span",{class:"input-group-text"},"Annotations",-1)),e("textarea",{value:Object.entries(i.target.ontology_annotations).map(([u,j])=>`${u}: ${j}`).join(`
|
|
4
4
|
`),class:"form-control",onChange:u=>o(t,u.target?.value)}," ",40,Me)]),s[17]||(s[17]=e("h6",null,"Source settings",-1)),s[18]||(s[18]=e("p",{class:"text-body-secondary"}," Add files that contain terms, individuals, and relations which should be included in the OWL ontology. Alternatively, add previously built owl files which should be merged to built the target ontology. ",-1)),(l(!0),n(g,null,D(i.sources,u=>(l(),n("div",Je,[s[9]||(s[9]=e("span",{class:"input-group-text"},"Source",-1)),V(e("input",{"onUpdate:modelValue":j=>u.file=j,class:"form-control",type:"text"},null,8,Be),[[J,u.file]]),s[10]||(s[10]=e("span",{class:"input-group-text"},"Type",-1)),V(e("select",{"onUpdate:modelValue":j=>u.type=j,class:"form-select",style:{flex:"unset",width:"auto"}},[...s[7]||(s[7]=[e("option",{value:"classes"},"Classes",-1),e("option",{value:"relations"},"Relations",-1),e("option",{value:"individuals"},"Individuals",-1),e("option",{value:"owl"},"OWL",-1)])],8,Ge),[[ge,u.type]]),e("button",{class:"btn btn-danger",onClick:j=>i.sources=i.sources.filter(M=>M!=u)},[...s[8]||(s[8]=[e("i",{class:"fa fa-trash"},null,-1)])],8,He)]))),256)),e("button",{class:"mb-3 btn btn-sm btn-primary add-dependency",onClick:u=>i.sources.push({file:"",type:"classes"})},[...s[11]||(s[11]=[e("i",{class:"fa fa-add"},null,-1),b(" Add source ",-1)])],8,qe),s[19]||(s[19]=e("h6",null,"Dependency settings",-1)),s[20]||(s[20]=e("p",{class:"text-body-secondary"}," Specify which other files have to be loaded when building this file. ",-1)),(l(!0),n(g,null,D(i.needs,u=>(l(),n("div",ze,[s[13]||(s[13]=e("span",{class:"input-group-text"},"Dependency",-1)),e("input",{value:a.releaseScript.files[u]?.target.file??u,class:"form-control",disabled:"",type:"text"},null,8,Ke),e("button",{class:"btn btn-danger",onClick:j=>y(t,u)},[...s[12]||(s[12]=[e("i",{class:"fa fa-trash"},null,-1)])],8,Xe)]))),256)),e("button",{class:"mb-3 btn btn-sm btn-primary add-dependency",onClick:u=>c(t)},[...s[14]||(s[14]=[e("i",{class:"fa fa-add"},null,-1),b(" Add dependency ",-1)])],8,Ze)])]),_:2},1024))),256)),e("div",{class:"d-flex gap-2"},[e("button",{class:"mb-3 btn btn-sm btn-primary add-file",onClick:w},[...s[21]||(s[21]=[e("i",{class:"fa fa-add"},null,-1),b(" Add file ",-1)])])])]),s[29]||(s[29]=e("h3",null,"Steps",-1)),e("button",{class:"btn btn-outline-primary add-step mb-3",onClick:s[0]||(s[0]=i=>k(i,0))},[...s[23]||(s[23]=[e("i",{class:"fa fa-plus-square"},null,-1),b(" Add step here ",-1)])]),(l(!0),n(g,null,D(a.releaseScript.steps,(i,t)=>(l(),n(g,null,[e("div",Qe,[e("h6",null,d(i.name),1),s[25]||(s[25]=e("span",null,null,-1)),e("button",{class:"btn btn-danger btn-sm btn-circle",style:{"margin-bottom":".5rem"},onClick:u=>A(u,t)},[...s[24]||(s[24]=[e("i",{class:"fa fa-trash"},null,-1)])],8,Ye)]),e("div",et,[s[26]||(s[26]=e("span",{class:"input-group-text"},"Release step",-1)),V(e("input",{"onUpdate:modelValue":u=>i.name=u,class:"form-control",type:"text"},null,8,tt),[[J,i.name]])]),e("div",st,[s[27]||(s[27]=e("span",{class:"input-group-text"},"Arguments",-1)),e("textarea",{value:Object.entries(i.args).map(([u,j])=>`${u}: ${j}`).join(`
|
|
5
5
|
`),class:"form-control",onChange:u=>r(t,u.target?.value)}," ",40,lt)]),e("button",{class:"btn btn-outline-primary add-step mb-3",onClick:u=>k(u,t+1)},[...s[28]||(s[28]=[e("i",{class:"fa fa-plus-square"},null,-1),b(" Add step here ",-1)])],8,nt)],64))),256)),e("div",at,[q(f.$slots,"buttons",{},void 0,!0)])],64))}}),it=le(ot,[["__scopeId","data-v-7cac764c"]]),rt={class:"preparation"},ut={key:0,class:"placeholder",style:{width:"400px"}},dt={class:"btn-group w-100"},ct=["disabled"],pt=["disabled"],ft={class:"dropdown-menu"},mt={class:"list-group mt-2"},gt={class:"list-group-item"},bt=["href"],yt={class:"ms-2 me-auto"},ht={class:"fw-bold"},vt={key:0,class:"fa fa-save"},kt={key:1,class:"fa fa-spin fa-spinner"},_t={key:2,class:"fa fa-check"},$t={key:3,class:"fa fa-xmark"},xt=E({__name:"Setup",props:{repo:{}},emits:["settingsConfirmed"],setup(a){const p=R(),o=R(null),r=URLS.prefix,c=R("idle"),y=a,w=R(null),v=N(()=>w.value===null),k=N(()=>w.value?.find(i=>i.state==="completed")??null),A=N(()=>w.value?.[0]??null);te(y,(i,t)=>i.repo!==t.repo&&U());async function U(){if(y.repo){o.value=null,o.value=await(await fetch(`${r}/api/release/${y.repo}/release_script`)).json();const i=await(await fetch(`${r}/api/release/${y.repo}`)).json();i.sort((t,u)=>new Date(t.start).getTime()-new Date(u.start).getTime()),w.value=i}}let f=null;async function s(i){i.preventDefault(),f!==null&&clearTimeout(f),c.value="saving";try{(await fetch(`${r}/api/release/${y.repo}/release_script`,{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(o.value)})).ok?c.value="success":c.value="error"}catch{c.value="error"}f=setTimeout(()=>{c.value="idle",f=null},5e3)}return se(()=>U()),(i,t)=>(l(),n("div",rt,[t[5]||(t[5]=e("h3",null,"Release setup",-1)),e("p",null,[b(" Currently, there is no release running for "+d(a.repo)+". ",1),v.value?(l(),n("span",ut)):k.value?(l(),n(g,{key:1},[b(d(k.value.started_by)+" started the last successful release on "+d(i.$filters.formatDate(k.value.start)),1)],64)):A.value?(l(),n(g,{key:2},[b(d(A.value.started_by)+" started the last release on "+d(i.$filters.formatDate(A.value.start))+". But it did not complete. ",1)],64)):(l(),n(g,{key:3},[b(" There have been no releases in the near past. ")],64))]),e("div",dt,[e("button",{disabled:!o.value,class:"btn btn-success",onClick:t[0]||(t[0]=u=>i.$emit("settingsConfirmed",o.value))},[...t[2]||(t[2]=[e("i",{class:"fa fa-play"},null,-1),b(" Start a release ",-1)])],8,ct),e("button",{disabled:!o.value,class:"btn btn-success dropdown-toggle dropdown-toggle-split flex-grow-0","data-bs-toggle":"dropdown",type:"button"},null,8,pt),e("ul",ft,[e("li",null,[e("a",{class:"dropdown-item",href:"#",onClick:t[1]||(t[1]=u=>p.value=!p.value)},[e("i",{class:L([[p.value?"fa-check-square":"fa-square"],"fa-regular"])},null,2),t[3]||(t[3]=b(" Show advanced configuration ",-1))])])])]),e("ul",mt,[(l(!0),n(g,null,D(w.value,u=>(l(),n("li",gt,[e("a",{class:"d-flex justify-content-between align-items-start",style:{"text-decoration":"none",color:"inherit"},href:`${u.id}`},[e("div",yt,[e("div",ht,d(i.$filters.formatDate(u.start)),1),b(" "+d(u.started_by),1)]),e("span",{class:L(["badge rounded-pill",{"text-bg-primary":["running","waiting-for-user"].indexOf(u.state)>=0,"text-bg-success":u.state==="success","text-bg-error":u.state==="errored","text-bg-secondary":u.state==="canceled"}])},d(u.state),3)],8,bt)]))),256))]),o.value&&p.value?(l(),O(it,{key:0,"release-script":o.value,class:"mt-2"},{buttons:C(()=>[e("button",{class:L([{"btn-primary":c.value==="idle"||c.value==="saving","btn-success":c.value==="success","btn-danger":c.value==="error"},"mb-3 btn btn-sm btn-primary"]),onClick:s},[c.value==="idle"?(l(),n("i",vt)):_("",!0),c.value==="saving"?(l(),n("i",kt)):_("",!0),c.value==="success"?(l(),n("i",_t)):_("",!0),c.value==="error"?(l(),n("i",$t)):_("",!0),t[4]||(t[4]=b(" Save release script ",-1))],2)]),_:1},8,["release-script"])):_("",!0)]))}}),wt=["href"],T=E({__name:"ErrorLink",props:{short_repository_name:{},error:{},term:{}},setup(a){const p=a,o=N(()=>p.term?p.term:p.error),r=URLS.prefix;return(c,y)=>o.value.hasOwnProperty("origin")&&o.value.origin?(l(),n("a",{key:0,target:"_blank",href:`${F(r)}/edit/${a.short_repository_name}/${o.value.origin[0]}?row=${o.value.origin[1]}`},[q(c.$slots,"default",{},()=>[e("i",null,[y[3]||(y[3]=b(" at ",-1)),e("b",null,d(o.value.origin[0]),1),a.error&&"row"in a.error?(l(),n(g,{key:0},[y[0]||(y[0]=b(" row ",-1)),e("b",null,d(a.error.row),1)],64)):_("",!0),a.error&&"column"in a.error?(l(),n(g,{key:1},[y[1]||(y[1]=b(" column ",-1)),e("b",null,d(a.error.column),1)],64)):_("",!0),!a.error&&o.value.origin[1]>=0?(l(),n(g,{key:2},[y[2]||(y[2]=b(" row ",-1)),e("b",null,d(o.value.origin[1]),1)],64)):_("",!0)])])],8,wt)):_("",!0)}}),K=URLS.prefix;async function St(a,p,o){try{const c=await(await fetch(`${K}/api/external/guess-parent`,{method:"post",body:JSON.stringify({term:{id:a.id??void 0,label:a.label??void 0},parent:{id:o?.id??void 0,label:o?.label??void 0}}),headers:{"Content-Type":"application/json"}})).json();if(c)return c.map(y=>({...y,kind:"external"}))}catch{}return null}async function Ct(a,p,o){const r=o.term;if(await we({title:"Found an external parent",message:`An external parent <code>${r.label}</code> (<code>${r.id}</code>) of <code>${a.term.label}</code> (<code>${a.term.id}</code>) was found. Import the term?`,buttons:{confirm:{label:`Import ${r.id}`,className:"btn-success"},cancel:{label:"Cancel",className:"btn-warning"}}}))try{if((await fetch(`${K}/api/external/${p}/import`,{method:"post",body:JSON.stringify({terms:[{id:r.id,label:r.label}],ontologyId:o.ontology_id}),headers:{"Content-Type":"application/json"}})).ok)return"fixed"}catch{return"impossible"}return"loaded"}async function Ot(a,p,o){const r=await Se({title:"Found possible external parents",message:`Found ${a.length} possible external terms for <code>${p.parent.label}</code>. Select the correct parent term of <code>${p.term.label}</code> (<code>${p.term.id}</code>) if it is in the list.`,inputType:"select",inputOptions:a.map((c,y)=>({value:y.toString(),text:`${c.term.label} (${c.term.id})`})),buttons:{confirm:{label:"Import the selected term",className:"btn-success"},cancel:{label:"Cancel",className:"btn-warning"}}});if(r!==null){const c=a[+r],y=c.term;try{return(await fetch(`${K}/api/external/${o}/import`,{method:"post",body:JSON.stringify({terms:[{id:y.id,label:y.label}],ontologyId:c.ontology_id}),headers:{"Content-Type":"application/json"}})).ok?"fixed":"impossible"}catch{return"impossible"}}return"loaded"}async function At(a,p){const o=await St(a.term,p,a.parent);return o!==null&&o.length>0?o.length===1?await Ct(a,p,o[0]):await Ot(o,a,p):"impossible"}const Tt={key:0,class:"alert alert-success"},Nt={key:1},jt={class:"text-danger bg-danger-subtle rounded ps-1 pe-1"},It={class:"text-warning bg-warning-subtle rounded ps-1 pe-1"},Rt=["onClick"],Dt={key:0,class:"fa fa-spin fa-spinner"},Pt={key:1,class:"fa fa-check"},Et={key:2,class:"fa fa-close"},Ut={style:{"text-transform":"capitalize"}},Vt={key:0},Lt={key:1},Wt={key:2},Ft={key:3},Mt={class:"alert alert-warning val val-warning val-warning-type-{{ warning.type }} val-warning-source-{{ source }}",role:"alert"},Jt=["onClick"],Bt={key:0,class:"fa fa-spin fa-spinner"},Gt={key:1,class:"fa fa-check"},Ht={key:2,class:"fa fa-close"},qt=["onClick"],zt={key:0,class:"fa fa-spin fa-spinner"},Kt={key:1,class:"fa fa-check"},Xt={key:2,class:"fa fa-close"},Zt=E({__name:"Validation",props:{data:{},release:{},selectedSubStep:{}},emits:["release-control"],setup(a){const p=URLS.prefix,o=a,r=R({});function c(f){const s=JSON.stringify(f);return r.value[s]??null}const y=N(()=>o.data?Object.values(o.data).flatMap(f=>f.errors):null),w=N(()=>o.data?Object.values(o.data).flatMap(f=>f.warnings):null),v=N(()=>o.release.release_script.short_repository_name);async function k(f,s,i){const t=o.release.release_script.short_repository_name;try{return(await fetch(`${p}/api/edit/${t}/${f}`,{method:"PATCH",body:JSON.stringify({id:s,term:{id:i.id,parent:i.sub_class_of[0]?.label,label:i.label}}),headers:{"Content-Type":"application/json"}})).ok?"fixed":"impossible"}catch{return"impossible"}}async function A(f,s,i,t){const u=JSON.stringify(f);u in r.value&&r.value[u]!=="loaded"||(r.value[u]=await k(f?.term?.origin?.[0]??i?.origin?.[0],s,i))}async function U(f){let s=JSON.stringify(f);if(s in r.value&&r.value[s]!=="loaded")return;const i=o.release.release_script.short_repository_name;if(r.value[s]="loading",f.type==="unknown-parent")r.value[s]=await At(f,i);else if(f.type==="missing-import")try{(await fetch(`${p}/api/external/${i}/import`,{method:"post",body:JSON.stringify({terms:[{id:f.term.id,label:f.term.label}],ontologyId:f.term.id.split(":")[0]}),headers:{"Content-Type":"application/json"}})).ok&&(r.value[s]="fixed")}catch(t){r.value[s]="impossible",console.error(t)}else r.value[s]="impossible";r.value[s]=="loading"&&(r.value[s]="loaded")}return(f,s)=>(l(),n(g,null,[s[18]||(s[18]=e("h3",null,"Validation",-1)),!a.data||Object.keys(a.data).length===1&&"__progress"in a.data?(l(),O(F(z),{key:0,release:a.release,details:a.data||{}},{default:C(()=>[...s[0]||(s[0]=[b(" All excel files are now being validated. The results will be presented here soon. ",-1)])]),_:1},8,["release","details"])):(l(),n(g,{key:1},[y.value?.length==0&&w.value?.length==0?(l(),n("div",Tt,[...s[1]||(s[1]=[e("h5",null,"Everything ok",-1),b(" Good work! All files are valid. The release process will continue. ",-1)])])):(l(),n("p",Nt,[e("span",jt,d(y.value?.length??0)+" "+d(f.$filters.pluralise("error",y.value)),1),s[2]||(s[2]=b(" and ",-1)),e("span",It,d(w.value?.length??0)+" "+d(f.$filters.pluralise("warning",w.value)),1),s[3]||(s[3]=b(" were found during the validation. Please fix the errors and save the spreadsheets. Errors are problems which prevent the release from continuing. Warnings hint at possible problems, but the release might continue without solving them. When you fixed all errors, restart the release. If you just want to rerun the validation, restart the release as well. ",-1))])),(l(!0),n(g,null,D(a.data?Object.keys(a.data):[],i=>(l(),n(g,null,[a.selectedSubStep===null||a.selectedSubStep===i?(l(),n(g,{key:0},[(l(!0),n(g,null,D(a.data?.[i].errors,t=>(l(),n("div",{class:L([[`val-error-type-${t.type}`,`val-error-source-${i}`],"alert alert-danger val val-error"]),role:"alert"},[t.type==="unknown-parent"?(l(),n(g,{key:0},[S(I,{diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"]),a.release.release_script.short_repository_name.toLowerCase()!=="addicto"?(l(),n("button",{key:0,class:L([{"btn-success":c(t)==="fixed","btn-danger":c(t)==="impossible"},"btn btn-primary"]),onClick:u=>U(t)},[c(t)==="loading"?(l(),n("i",Dt)):_("",!0),c(t)==="fixed"?(l(),n("i",Pt)):_("",!0),c(t)==="impossible"?(l(),n("i",Et)):_("",!0),s[4]||(s[4]=b(" Try auto fix ",-1))],10,Rt)):_("",!0)],64)):t.type==="missing-parent"?(l(),O(I,{key:1,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="no-parent"?(l(),O(I,{key:2,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="ignored-parent"?(l(),O(I,{key:3,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="missing-label"?(l(),O(I,{key:4,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="missing-id"?(l(),O(I,{key:5,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="unknown-disjoint"?(l(),O(I,{key:6,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="unknown-relation-value"?(l(),O(I,{key:7,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="ignored-relation-value"?(l(),O(I,{key:8,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term??t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="unknown-range"?(l(),O(I,{key:9,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="unknown-domain"?(l(),O(I,{key:10,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="unknown-relation"?(l(),O(I,{key:11,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.relation},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"])):t.type==="duplicate"?(l(),n(g,{key:12},[s[11]||(s[11]=e("h5",null,"Conflicting entries (duplicates)",-1)),e("p",null,[b(" There are multiple terms for the "+d(t.duplicate_field)+" ",1),e("code",null,d(t.duplicate_value),1),s[5]||(s[5]=b(": ",-1))]),e("ul",null,[(l(!0),n(g,null,D(t.mismatches,u=>(l(),n("li",null,[e("p",null,[e("span",Ut,d(u.field),1),s[6]||(s[6]=b(" is ",-1)),["definition","curation status"].indexOf(u.field)>=0?(l(),n("code",Vt,d(u.a.relations.find(j=>j[0]?.label?.endsWith(u.field))?.[1]),1)):(l(),n("code",Lt,d(u.a[u.field]),1)),s[7]||(s[7]=e("br",null,null,-1)),S(T,{short_repository_name:v.value,term:u.a},null,8,["short_repository_name","term"]),s[8]||(s[8]=e("br",null,null,-1)),s[9]||(s[9]=b(" and ",-1)),["definition","curation status"].indexOf(u.field)>=0?(l(),n("code",Wt,d(u.b.relations.find(j=>j[0]?.label?.endsWith(u.field))?.[1]),1)):(l(),n("code",Ft,d(u.b[u.field]),1)),s[10]||(s[10]=e("br",null,null,-1)),S(T,{short_repository_name:v.value,term:u.b},null,8,["short_repository_name","term"])])]))),256))])],64)):(l(),n(g,{key:13},[e("h5",null,d(t.type.replace("-"," ")),1),e("p",null,[b(d(t.msg),1),s[12]||(s[12]=e("br",null,null,-1)),S(T,{error:t,short_repository_name:v.value},null,8,["error","short_repository_name"])]),e("pre",null,d(JSON.stringify(t,void 0,2)),1)],64))],2))),256)),(l(!0),n(g,null,D(a.data?.[i].warnings,t=>(l(),n("div",Mt,[t.type=="incomplete-term"?(l(),O(I,{key:0,diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value},null,8,["error","short_repository_name"])]),_:2},1032,["diagnostic"])):t.type==="unknown-column"?(l(),O(I,{key:1,diagnostic:t},null,8,["diagnostic"])):t.type==="missing-import"?(l(),n(g,{key:2},[S(I,{diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"]),e("button",{class:L([{"btn-success":c(t)==="fixed","btn-danger":c(t)==="impossible"},"btn btn-primary"]),onClick:u=>U(t)},[c(t)==="loading"?(l(),n("i",Bt)):_("",!0),c(t)==="fixed"?(l(),n("i",Gt)):_("",!0),c(t)==="impossible"?(l(),n("i",Ht)):_("",!0),s[13]||(s[13]=b(" Import ",-1))],10,Jt)],64)):t.type==="inconsistent-import"?(l(),n(g,{key:3},[S(I,{diagnostic:t},{default:C(()=>[S(T,{error:t,short_repository_name:v.value,term:t.term},null,8,["error","short_repository_name","term"])]),_:2},1032,["diagnostic"]),e("button",{class:L([{"btn-success":c(t)==="fixed","btn-danger":c(t)==="impossible"},"btn btn-primary"]),onClick:u=>A(t,t.term.id,{...t.term.id,label:t.term.label,id:t.term.id})},[c(t)==="loading"?(l(),n("i",zt)):_("",!0),c(t)==="fixed"?(l(),n("i",Kt)):_("",!0),c(t)==="impossible"?(l(),n("i",Xt)):_("",!0),s[16]||(s[16]=b(" Change ",-1)),t.term.id!==t.imported_term.id?(l(),n(g,{key:3},[s[14]||(s[14]=b(" ID to ",-1)),e("code",null,d(t.imported_term.id),1)],64)):(l(),n(g,{key:4},[s[15]||(s[15]=b("label to ",-1)),e("code",null,d(t.imported_term.label),1)],64))],10,qt)],64)):(l(),n(g,{key:4},[e("h5",null,d(t.type.replace("-"," ")),1),e("p",null,[b(d(t.msg),1),s[17]||(s[17]=e("br",null,null,-1)),S(T,{error:t,short_repository_name:v.value},null,8,["error","short_repository_name"])]),e("pre",null,d(JSON.stringify(t,void 0,2)),1)],64))]))),256))],64)):_("",!0)],64))),256))],64))],64))}}),Qt=["href","download"],Yt={class:"list-unstyled"},es={class:"ms-4"},ts={class:"form-check"},ss=["disabled"],ls={class:"ms-4"},ns={class:"form-check"},as=["disabled"],os={key:0,class:"ms-4"},is={class:"form-check"},rs=["disabled"],us=["disabled"],ds=E({__name:"HumanVerification",props:{data:{},release:{},selectedSubStep:{}},emits:["release-control"],setup(a){const p=a,o=R(p.release.state==="completed"),r=R(p.release.state==="completed"),c=R(p.release.state==="completed"),y=N(()=>!!p.data?.files?.find(v=>v.name.endsWith(".xlsx"))),w=N(()=>[r.value,o.value,!y.value||c.value].reduce((v,k)=>v&&k,!0));return(v,k)=>(l(),n(g,null,[k[7]||(k[7]=e("h3",null,"Verify the built ontologies",-1)),k[8]||(k[8]=e("p",null,[b(" Please download the built files and ontologies and open them in Protégé (download "),e("a",{href:"https://protege.stanford.edu/software.php#desktop-protege"},"here"),b(" or use "),e("a",{href:"https://webprotege.stanford.edu/"},"Web protege"),b("). ")],-1)),e("ul",null,[(l(!0),n(g,null,D(a.data?.files,A=>(l(),n("li",null,[e("a",{href:A.link,download:A.name},d(A.name),9,Qt)]))),256))]),k[9]||(k[9]=e("p",null," Check the following things: ",-1)),e("ul",Yt,[e("li",es,[e("div",ts,[V(e("input",{"onUpdate:modelValue":k[0]||(k[0]=A=>o.value=A),disabled:a.release.state!=="waiting-for-user",class:"form-check-input checklist",type:"checkbox",value:"",id:"chk-inferred"},null,8,ss),[[B,o.value]]),k[4]||(k[4]=e("label",{class:"form-check-label",for:"chk-inferred"}," Start the reasoner. Does the inferred hierarchy look alright? ",-1))])]),e("li",ls,[e("div",ns,[V(e("input",{"onUpdate:modelValue":k[1]||(k[1]=A=>r.value=A),disabled:a.release.state!=="waiting-for-user",class:"form-check-input checklist",type:"checkbox",value:"",id:"chk-labels"},null,8,as),[[B,r.value]]),k[5]||(k[5]=e("label",{class:"form-check-label",for:"chk-labels"}," Do the labels look alright? ",-1))])]),y.value?(l(),n("li",os,[e("div",is,[V(e("input",{"onUpdate:modelValue":k[2]||(k[2]=A=>c.value=A),disabled:a.release.state!=="waiting-for-user",class:"form-check-input checklist",type:"checkbox",value:"",id:"chk-hierarchical-spreadsheets"},null,8,rs),[[B,c.value]]),k[6]||(k[6]=e("label",{class:"form-check-label",for:"chk-hierarchical-spreadsheets"}," Do the hierarchy, labels, and other fields in the hierarchical spreadsheets look alright? ",-1))])])):_("",!0)]),e("button",{class:"btn btn-success w-100",id:"btn-publish-release",disabled:!w.value||a.release.state!=="waiting-for-user",onClick:k[3]||(k[3]=A=>v.$emit("release-control","continue"))}," Everything looks alright. Publish the release! ",8,us)],64))}}),cs={class:"alert alert-danger"},ps={key:1},ne=E({__name:"TechnicalError",props:{release:{},details:{}},setup(a){return(p,o)=>(l(),n(g,null,[o[4]||(o[4]=e("div",{class:"alert alert-danger"},[e("h4",null,"An error occurred while building the file"),e("p",null," A technical error occurred. Please contact an administrator. ")],-1)),(l(!0),n(g,null,D(a.details.errors,r=>(l(),n("div",cs,["code"in r?(l(),n(g,{key:0},[o[0]||(o[0]=e("h6",null,"Command",-1)),e("pre",null,d(r.command),1),o[1]||(o[1]=e("h6",null,"Return code",-1)),e("p",null,d(r.code),1),o[2]||(o[2]=e("h6",null,"Standard out",-1)),e("pre",null,d(r.out),1),o[3]||(o[3]=e("h6",null,"Standard error",-1)),e("pre",null,d(r.err),1)],64)):(l(),n("pre",ps,d(JSON.stringify(r,void 0,2)),1))]))),256))],64))}}),fs=E({__name:"GithubPublish",props:{data:{},release:{},selectedSubStep:{}},emits:["release-control"],setup(a){return(p,o)=>(l(),n(g,null,[o[3]||(o[3]=e("h3",null,"Publishing the release",-1)),a.release.state=="waiting-for-user"&&a.data&&(a.data.errors?.length??0)>0?(l(),O(ne,{key:0,release:a.release,details:a.data},null,8,["release","details"])):a.release.state==="completed"?(l(),n(g,{key:1},[o[0]||(o[0]=e("p",null," The ontologies are now published to github and the release is completed. ",-1)),o[1]||(o[1]=e("div",{class:"text-center w-100 text-success",style:{"font-size":"100px"}},[e("i",{class:"fa fa-check-double"})],-1))],64)):(l(),O(F(z),{key:2,details:a.data,release:a.release},{default:C(()=>[...o[2]||(o[2]=[b(" The ontologies are being published to github. ",-1)])]),_:1},8,["details","release"]))],64))}}),ms={key:2},gs=E({__name:"Generic",props:{data:{},release:{},step:{}},emits:["release-control"],setup(a){const p={PREPARATION:{title:"Preparation",running_text:"Excel files are downloaded to the server and prepared.",finished_text:"Excel files were downloaded to the server."},IMPORT_EXTERNAL:{title:"Building external dependencies",running_text:"External ontologies are now downloaded and converted. This might take a few minutes.",finished_text:"External ontologies were successfully downloaded and converted."},BUILD:{title:"Building OWL files",running_text:"OWL files are now build.",finished_text:"OWL files were successfully built."},MERGE:{title:"Merging files",running_text:"Multiple OWL files are being combined into one.",finished_text:"Multiple OWL files were combined into one."}},o=a;function r(v){return v.replace("_"," ").replace(/\w\S*/g,k=>k.charAt(0).toUpperCase()+k.substring(1).toLowerCase())}const c=N(()=>p[o.step.name]?.title??r(o.step.name??"<MISSING>")),y=N(()=>p[o.step.name]?.running_text??""),w=N(()=>p[o.step.name]?.finished_text??"");return(v,k)=>(l(),n(g,null,[e("h3",null,d(c.value),1),a.release.state=="waiting-for-user"&&a.data&&(a.data.errors?.length??0)>0?(l(),O(ne,{key:0,release:a.release,details:a.data},null,8,["release","details"])):(l(),O(F(z),{key:1,details:a.data,release:a.release},{default:C(()=>[b(d(y.value),1)]),_:1},8,["details","release"])),a.release.state==="completed"?(l(),n("p",ms,d(w.value),1)):_("",!0)],64))}}),bs={class:"release"},ys={class:"d-flex gap-2 align-items-center"},hs={id:"lbl-release-title"},vs={key:0,id:"release-info",class:"align-self-end mb-2 text-muted"},ks={key:0,class:"alert alert-danger"},_s={key:1,style:{display:"grid","grid-template-columns":"240px 1fr","grid-gap":"50px"},class:"text-start w-100",id:"release-core"},$s={class:"sidebar border",style:{"grid-column":"1"}},xs={class:"list-unstyled ps-2"},ws={class:"mb-1"},Ss={class:"d-flex align-items-center"},Cs=["onClick"],Os={key:0},As={key:0,class:"list-unstyled ms-4"},Ts={style:{display:"flex","align-items":"center"}},Ns={key:0,class:"fa fa-circle-exclamation text-danger"},js={key:1,class:"fa fa-triangle-exclamation text-warning"},Is={key:2,class:"fa fa-check-circle text-success"},Rs=["onClick"],Ds={key:0},Ps={class:"main",style:{"grid-column":"2"}},Es={key:0,class:"alert alert-danger"},Us={key:1,class:"alert alert-danger"},Vs={key:0,class:"loading"},Ls=E({__name:"Release",setup(a){const p=SERVER_DATA.repo,o=URLS.prefix,r=R(null),c=R(!1),y=R(null),w=R(null),v=R(null),k={VALIDATION:Zt,HUMAN_VERIFICATION:ds,GITHUB_PUBLISH:fs},A=ke({}),U=N(()=>({...k,...A.value}));async function f(){try{const h=await fetch(`${o}/api/plugins/`);if(!h.ok)return;const m=await h.json(),$={};for(const x of m)if(!(!x.has_static||!x.js_module||x.components.length===0))for(const P of x.components){const W=x.id,Y=x.js_module,fe=P.component_name;$[P.step_name]=he(ve(async()=>{const ee=await import(`${o}/api/plugins/${W}/static/${Y}`);return ee[fe]||ee.default}))}A.value=$}catch(h){console.error("Failed to load plugins:",h)}}const s=N(()=>r.value?.release_script.steps[w.value??r.value.step]??null),i=N(()=>U.value[s.value?.name]??gs),t=N(()=>{const h={data:u.value,release:r.value,selectedSubStep:v.value,step:s.value},m=i.value;if(m){const $=Object.keys(m.props);return Object.fromEntries(Object.entries(h).filter(([x,P])=>$.indexOf(x)>=0))}return null}),u=N(()=>r.value?.details[(w.value??r.value.step).toString()]);function j(h){if(h instanceof Object){const $=Object.entries(h).filter(([x,P])=>!x.startsWith("_")&&["warnings","errors","infos"].indexOf(x)<0&&Array.isArray(P?.warnings)&&Array.isArray(P?.errors));return $.length>0?Object.fromEntries($):null}return null}async function M(h=!1){const m=r.value?.id??`${p}/running`;c.value=h;try{let $=await fetch(`${o}/api/release/${m}`);$.ok?r.value=await $.json():r.value=null}catch{}finally{c.value=!1}}se(async()=>{await f();const h=window.location.pathname.split("/").slice(-1)[0],m=parseInt(h);isNaN(m)?await M(!0):r.value=await H(()=>fetch(`${o}/api/release/${m}`))??null});let G=null;function X(){G===null&&(G=setInterval(M,2e3))}const oe=te(r,(h,m)=>{m===null&&h!==null&&G===null&&h.state==="running"&&(oe(),X())}),ie=N(()=>{switch(r.value?.state){case void 0:case null:return["fa-regular","fa-file","text-black-50"];case"canceled":return["fa-regular","fa-circle-xmark","text-danger"];case"waiting-for-user":return["fa-solid","fa-user-clock","text-warning"];case"errored":return["fa-solid","fa-triangle-exclamation","text-danger"];case"completed":return["fa-regular","fa-circle-check","text-success"];default:return["fa-spinner","fa-spin","text-black-50"]}});async function H(h,m=null){try{c.value=!0;const $=await h();if($.ok){const x=await $.json();return m!==null?await m(x):x}else{const x=await $.json();y.value=x.error}c.value=!1}catch($){$ instanceof Error?y.value=$.message:y.value=`An unknown error occurred: ${$}`}finally{c.value=!1}}async function Z(h){const m=await H(()=>fetch(o+"/api/release/start",{method:"post",body:JSON.stringify(h),headers:{"Content-Type":"application/json"}}));m&&(r.value=m,window.location.pathname=`${o}/admin/release/${m.id}`)}async function Q(){r.value=await H(()=>fetch(`${o}/api/release/${p}/cancel`,{method:"post"}))??null}async function re(){const h=r.value?.release_script;h&&(await Q(),await Z(h))}function ue(h){const m=r.value?.details[h.toString()];if(m?.hasOwnProperty("errors")&&Array.isArray(m.errors))return m.errors.length;if(Array.isArray(m))return m.map($=>$.errors?.length).reduce(($,x)=>x+$,0)}function de(h){const m=r.value?.details[h.toString()];if(m?.hasOwnProperty("warnings")&&Array.isArray(m.warnings))return m.warnings.length;if(m)return Object.values(m).map($=>$.warnings?.length).reduce(($,x)=>x+$,0)}function ce(h){return(r.value?.step??0)>=h?ue(h)>0?"fa fa-triangle-exclamation text-danger".split(" "):de(h)>0?"fa fa-triangle-exclamation text-warning".split(" "):r.value?.step===h&&r.value.state!=="completed"?"fa-regular fa-circle text-primary".split(" "):"fa-regular fa-check-circle text-success".split(" "):"fa-regular fa-clock text-warning".split(" ")}async function pe(h){h==="continue"?(await fetch(`${o}/api/release/${p}/continue`),X()):console.warn(`No such release control type: '${h}'`)}return(h,m)=>(l(),n(g,null,[e("div",bs,[e("div",ys,[e("h1",hs,[e("i",{id:"icon-release",class:L(["fa",ie.value])},null,2),b(" Release "+d(F(p)),1)]),r.value?(l(),n("span",vs," started by "+d(r.value.started_by)+" on "+d(h.$filters.formatDate(r.value.start)),1)):_("",!0),m[3]||(m[3]=e("span",{class:"flex-fill"},null,-1)),r.value&&["running","waiting-for-user","errored"].indexOf(r.value.state)>=0?(l(),n(g,{key:1},[e("button",{class:"btn btn-warning",id:"btn-release-restart",onClick:re},[...m[1]||(m[1]=[e("i",{class:"fa fa-rotate-left"},null,-1),b(" Restart ",-1)])]),e("button",{class:"btn btn-danger",id:"btn-release-cancel",onClick:Q},[...m[2]||(m[2]=[e("i",{class:"fa fa-cancel"},null,-1),b(" Cancel ",-1)])])],64)):_("",!0)]),!r.value&&!c.value?(l(),n(g,{key:0},[y.value!==null?(l(),n("div",ks,[m[4]||(m[4]=e("h4",null,"An error occurred",-1)),b(" "+d(y.value),1)])):_("",!0),r.value?_("",!0):(l(),O(xt,{key:1,style:{"max-width":"1080px",margin:"0 auto"},repo:F(p),onSettingsConfirmed:m[0]||(m[0]=$=>Z($))},null,8,["repo"]))],64)):_("",!0),r.value!==null?(l(),n("div",_s,[e("div",$s,[e("ul",xs,[(l(!0),n(g,null,D(r.value.release_script.steps,($,x)=>(l(),n("li",ws,[e("div",Ss,[e("i",{class:L(ce(x))},null,2),e("a",{class:"btn border-0",onClick:P=>{w.value=x,v.value=null}},[(w.value!==null?w.value==x:r.value.step==x)?(l(),n("strong",Os,d(h.$filters.formatText($.name)),1)):(l(),n(g,{key:1},[b(d(h.$filters.formatText($.name)),1)],64))],8,Cs)]),j?(l(),n("ul",As,[(l(!0),n(g,null,D(j(r.value.details[x]),(P,W)=>(l(),n("li",Ts,[(P.errors?.length??0)>0?(l(),n("i",Ns)):(P.warnings?.length??0)>0?(l(),n("i",js)):(l(),n("i",Is)),e("a",{class:"btn border-0 text-truncate",onClick:Y=>v.value=v.value===W?null:W},[v.value===W?(l(),n("strong",Ds,d(W),1)):(l(),n(g,{key:1},[b(d(W),1)],64))],8,Rs)]))),256))])):_("",!0)]))),256))])]),e("div",Ps,[y.value!==null?(l(),n("div",Es,[m[5]||(m[5]=e("h4",null,"An error occurred",-1)),b(" "+d(y.value),1)])):_("",!0),u.value?.error?(l(),n("div",Us,[e("h4",null,"An error occurred: "+d(u.value.error.short),1),e("pre",null,d(u.value.error.long),1)])):_("",!0),(l(),O(ye(i.value),be(t.value,{onReleaseControl:pe}),null,16))])])):_("",!0)]),c.value?(l(),n("div",Vs,[...m[6]||(m[6]=[e("div",{class:"inner text-light"},[e("div",{class:"spinner-border",style:{width:"5rem",height:"5rem"},role:"status"}),e("h5",null,"Loading...")],-1)])])):_("",!0)],64))}}),Ws=le(Ls,[["__scopeId","data-v-41cdb91b"]]),ae=_e(Ws);ae.config.globalProperties.$filters=$e;ae.mount("#vue-app-release");
|
|
6
|
-
//# sourceMappingURL=release.js.map
|