@xwiki/cristal-electron-renderer 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/chunk.2FB5TK5H-DmNP_ew6.js +2 -0
- package/dist/chunk.2FB5TK5H-DmNP_ew6.js.map +1 -0
- package/dist/{chunk.2Y62WHSU-C8i5cHiy.js → chunk.2Y62WHSU-CtjxXyaN.js} +2 -2
- package/dist/chunk.2Y62WHSU-CtjxXyaN.js.map +1 -0
- package/dist/{chunk.6DH62NIS-CVBVc-bX.js → chunk.6DH62NIS-Dm8zuX7H.js} +2 -2
- package/dist/chunk.6DH62NIS-Dm8zuX7H.js.map +1 -0
- package/dist/chunk.CFNN54QE-CwH9z8le.js +22 -0
- package/dist/chunk.CFNN54QE-CwH9z8le.js.map +1 -0
- package/dist/chunk.DBG7W4GS-C1gixj8b.js +75 -0
- package/dist/chunk.DBG7W4GS-C1gixj8b.js.map +1 -0
- package/dist/chunk.F5JVBNK3-BFrgaGDl.js +2 -0
- package/dist/chunk.F5JVBNK3-BFrgaGDl.js.map +1 -0
- package/dist/{chunk.XX4STEEY-COEpspdZ.js → chunk.FX2KPKHF-DRH3dcmv.js} +9 -9
- package/dist/chunk.FX2KPKHF-DRH3dcmv.js.map +1 -0
- package/dist/{chunk.GAND2OKP-lICOl7JF.js → chunk.GAND2OKP-ByJceoyz.js} +3 -3
- package/dist/chunk.GAND2OKP-ByJceoyz.js.map +1 -0
- package/dist/chunk.GQSSKPMO-XeEX4TdL.js +273 -0
- package/dist/chunk.GQSSKPMO-XeEX4TdL.js.map +1 -0
- package/dist/{chunk.I6OQK3N3-BBclK2fM.js → chunk.I6OQK3N3-XuvDDN4C.js} +7 -7
- package/dist/chunk.I6OQK3N3-XuvDDN4C.js.map +1 -0
- package/dist/chunk.KWPBDQ6I-Bf3dc1GJ.js.map +1 -1
- package/dist/chunk.LHI6QEL2-DjjW-g1e.js +2 -0
- package/dist/chunk.LHI6QEL2-DjjW-g1e.js.map +1 -0
- package/dist/chunk.MGEAXYVX-o-WC3ZVc.js.map +1 -1
- package/dist/chunk.NYIIDP5N-AHr3eTN0.js.map +1 -1
- package/dist/chunk.TUZSOS6C-DxyWSdpL.js.map +1 -1
- package/dist/chunk.WJBFYL4X-Cbeo_gEa.js.map +1 -1
- package/dist/chunk.WYDJ5QAQ-BaRtgVmq.js +163 -0
- package/dist/chunk.WYDJ5QAQ-BaRtgVmq.js.map +1 -0
- package/dist/chunk.XX4STEEY-CnZz31HY.js +2 -0
- package/dist/chunk.XX4STEEY-CnZz31HY.js.map +1 -0
- package/dist/chunk.Z2C7OFLH-DXpTuERC.js +90 -0
- package/dist/chunk.Z2C7OFLH-DXpTuERC.js.map +1 -0
- package/dist/{chunk.Z6CYCANS-DF0ctyRp.js → chunk.Z6CYCANS-3ZX6gaKw.js} +2 -2
- package/dist/chunk.Z6CYCANS-3ZX6gaKw.js.map +1 -0
- package/dist/class-map-C3Xk0adH.js.map +1 -1
- package/dist/if-defined-DAvNwoU5.js.map +1 -1
- package/dist/index-BwWdPCLg.js +109 -0
- package/dist/index-BwWdPCLg.js.map +1 -0
- package/dist/{index-ScDkqPqn.css → index-Cqiv3gUG.css} +2 -25
- package/dist/index.html +2 -2
- package/dist/query-D1pSaKds.js.map +1 -1
- package/dist/static-CdL8EPVS.js.map +1 -1
- package/dist/staticBuild-DaVk8OhA.js +443 -0
- package/dist/staticBuild-DaVk8OhA.js.map +1 -0
- package/dist/staticBuild-ttxynnc3.css +1 -0
- package/dist/translations-LzwkxwEW.js +2 -0
- package/dist/translations-LzwkxwEW.js.map +1 -0
- package/dist/worker-CeXgpy1V.js +27 -0
- package/dist/worker-CeXgpy1V.js.map +1 -0
- package/dist/x-alert-BXrMLl_z.js +2 -0
- package/dist/x-alert-BXrMLl_z.js.map +1 -0
- package/dist/x-alert-BoZBHJTw.js +2 -0
- package/dist/x-alert-BoZBHJTw.js.map +1 -0
- package/dist/x-alert-DMLsu2fN.js +2 -0
- package/dist/x-alert-DMLsu2fN.js.map +1 -0
- package/dist/x-avatar-5PJmmbmb.js +2 -0
- package/dist/x-avatar-5PJmmbmb.js.map +1 -0
- package/dist/x-avatar-DMZRLeU4.css +1 -0
- package/dist/x-avatar-DXrOfuv4.js +2 -0
- package/dist/x-avatar-DXrOfuv4.js.map +1 -0
- package/dist/{x-avatar-rzw6K8Wc.js → x-avatar-bHnylPsU.js} +2 -2
- package/dist/x-avatar-bHnylPsU.js.map +1 -0
- package/dist/x-breadcrumb-ByeHAMZ3.js +2 -0
- package/dist/x-breadcrumb-ByeHAMZ3.js.map +1 -0
- package/dist/x-breadcrumb-UzKzkWEm.js +2 -0
- package/dist/x-breadcrumb-UzKzkWEm.js.map +1 -0
- package/dist/x-btn-BIQ8eFJy.js +2 -0
- package/dist/x-btn-BIQ8eFJy.js.map +1 -0
- package/dist/x-btn-Ek7j5MQJ.js +2 -0
- package/dist/x-btn-Ek7j5MQJ.js.map +1 -0
- package/dist/x-btn-Jy05lUMC.css +1 -0
- package/dist/x-btn-XPAPreXz.js +2 -0
- package/dist/x-btn-XPAPreXz.js.map +1 -0
- package/dist/x-card-CqrrEOda.js +2 -0
- package/dist/x-card-CqrrEOda.js.map +1 -0
- package/dist/x-card-DkMCK51C.js +2 -0
- package/dist/x-card-DkMCK51C.js.map +1 -0
- package/dist/x-card-mVVPCuVs.js +2 -0
- package/dist/x-card-mVVPCuVs.js.map +1 -0
- package/dist/x-col-BKCtabUF.js +2 -0
- package/dist/x-col-BKCtabUF.js.map +1 -0
- package/dist/x-col-CPix5n9C.js +2 -0
- package/dist/x-col-CPix5n9C.js.map +1 -0
- package/dist/x-container-B8usqdAt.js +2 -0
- package/dist/x-container-B8usqdAt.js.map +1 -0
- package/dist/x-container-C3VJF8Cs.js +2 -0
- package/dist/x-container-C3VJF8Cs.js.map +1 -0
- package/dist/x-dialog-DTbBEomU.js +2 -0
- package/dist/x-dialog-DTbBEomU.js.map +1 -0
- package/dist/x-dialog-Dmk1mNNm.js +2 -0
- package/dist/x-dialog-Dmk1mNNm.js.map +1 -0
- package/dist/x-dialog-Y6y28F7b.js +2 -0
- package/dist/x-dialog-Y6y28F7b.js.map +1 -0
- package/dist/x-divider-1De0d0_h.js +2 -0
- package/dist/x-divider-1De0d0_h.js.map +1 -0
- package/dist/x-divider-BOo7N7TG.js +2 -0
- package/dist/x-divider-BOo7N7TG.js.map +1 -0
- package/dist/{x-divider-BCwuNKpo.js → x-divider-DAdnWMFB.js} +2 -2
- package/dist/x-divider-DAdnWMFB.js.map +1 -0
- package/dist/x-file-input-CQcXcoHB.css +1 -0
- package/dist/x-file-input-D5fZFrts.js +2 -0
- package/dist/x-file-input-D5fZFrts.js.map +1 -0
- package/dist/x-file-input-Vq6SbhIt.js +2 -0
- package/dist/x-file-input-Vq6SbhIt.js.map +1 -0
- package/dist/x-form-2etnPUmf.js +2 -0
- package/dist/x-form-2etnPUmf.js.map +1 -0
- package/dist/x-form-6WjFitVZ.js +2 -0
- package/dist/x-form-6WjFitVZ.js.map +1 -0
- package/dist/x-img-C0VJnfz2.js +2 -0
- package/dist/x-img-C0VJnfz2.js.map +1 -0
- package/dist/x-img-CI94figY.js +2 -0
- package/dist/x-img-CI94figY.js.map +1 -0
- package/dist/x-img-ep-9amoQ.js +2 -0
- package/dist/x-img-ep-9amoQ.js.map +1 -0
- package/dist/x-load-5_-B9I0p.js +2 -0
- package/dist/x-load-5_-B9I0p.js.map +1 -0
- package/dist/x-load-BRJNFFsQ.js +2 -0
- package/dist/x-load-BRJNFFsQ.js.map +1 -0
- package/dist/x-load-CXyz5AZH.js +2 -0
- package/dist/x-load-CXyz5AZH.js.map +1 -0
- package/dist/x-load-CwU5Pjl2.css +5 -0
- package/dist/{x-load-DYuGRQQC.css → x-load-DLCnwiCB.css} +1 -1
- package/dist/{x-menu-BKquCdsX.js → x-menu-BPTY2_Pm.js} +164 -543
- package/dist/x-menu-BPTY2_Pm.js.map +1 -0
- package/dist/x-menu-CinyzodZ.js +2 -0
- package/dist/x-menu-CinyzodZ.js.map +1 -0
- package/dist/x-menu-MDCUArVg.js +2 -0
- package/dist/x-menu-MDCUArVg.js.map +1 -0
- package/dist/x-menu-item-DlEPAuVr.js +2 -0
- package/dist/x-menu-item-DlEPAuVr.js.map +1 -0
- package/dist/{x-menuitem-CVO0asxe.js → x-menuitem-C7L7TT_M.js} +2 -2
- package/dist/x-menuitem-C7L7TT_M.js.map +1 -0
- package/dist/x-menuitem-ChQ-MEzP.js +2 -0
- package/dist/x-menuitem-ChQ-MEzP.js.map +1 -0
- package/dist/x-row-BKCtabUF.js +2 -0
- package/dist/x-row-BKCtabUF.js.map +1 -0
- package/dist/x-row-CPix5n9C.js +2 -0
- package/dist/x-row-CPix5n9C.js.map +1 -0
- package/dist/x-search-BwzR-lic.js +2 -0
- package/dist/x-search-BwzR-lic.js.map +1 -0
- package/dist/{x-search-D_rjUBBL.js → x-search-DgB3g9qY.js} +2 -2
- package/dist/x-search-DgB3g9qY.js.map +1 -0
- package/dist/x-tab-D0Vw_ond.js +2 -0
- package/dist/x-tab-D0Vw_ond.js.map +1 -0
- package/dist/x-tab-DbIZPX0N.js +2 -0
- package/dist/x-tab-DbIZPX0N.js.map +1 -0
- package/dist/x-tab-group-C9tgQAMN.js +2 -0
- package/dist/x-tab-group-C9tgQAMN.js.map +1 -0
- package/dist/x-tab-group-D1vbKY6D.js +2 -0
- package/dist/x-tab-group-D1vbKY6D.js.map +1 -0
- package/dist/x-tab-panel--v10F4gh.js +2 -0
- package/dist/x-tab-panel--v10F4gh.js.map +1 -0
- package/dist/x-tab-panel-CbJsU5r0.js +2 -0
- package/dist/x-tab-panel-CbJsU5r0.js.map +1 -0
- package/dist/x-text-field-DcPqej4l.js +2 -0
- package/dist/x-text-field-DcPqej4l.js.map +1 -0
- package/dist/x-text-field-DpPHmzsd.js +2 -0
- package/dist/x-text-field-DpPHmzsd.js.map +1 -0
- package/dist/x-textfield-DM2JTrO7.js +2 -0
- package/dist/x-textfield-DM2JTrO7.js.map +1 -0
- package/dist/x-textfield-lI6PveRP.js +2 -0
- package/dist/x-textfield-lI6PveRP.js.map +1 -0
- package/package.json +13 -10
- package/src/index.ts +12 -9
- package/src/vite-env.d.ts +5 -10
- package/src/vue.d.ts +4 -9
- package/vite.config.js +4 -9
- package/dist/chunk.2Y62WHSU-C8i5cHiy.js.map +0 -1
- package/dist/chunk.6DH62NIS-CVBVc-bX.js.map +0 -1
- package/dist/chunk.GAND2OKP-lICOl7JF.js.map +0 -1
- package/dist/chunk.I6OQK3N3-BBclK2fM.js.map +0 -1
- package/dist/chunk.LHI6QEL2-DbpPiPxS.js +0 -75
- package/dist/chunk.LHI6QEL2-DbpPiPxS.js.map +0 -1
- package/dist/chunk.WYDJ5QAQ-C81Elw3D.js +0 -163
- package/dist/chunk.WYDJ5QAQ-C81Elw3D.js.map +0 -1
- package/dist/chunk.XX4STEEY-COEpspdZ.js.map +0 -1
- package/dist/chunk.Z6CYCANS-DF0ctyRp.js.map +0 -1
- package/dist/index-DK0YwuAW.js +0 -411
- package/dist/index-DK0YwuAW.js.map +0 -1
- package/dist/staticBuild-BlyaXHUF.css +0 -1
- package/dist/staticBuild-BoKVadnu.js +0 -1063
- package/dist/staticBuild-BoKVadnu.js.map +0 -1
- package/dist/worker-CybHddrE.js +0 -211
- package/dist/worker-CybHddrE.js.map +0 -1
- package/dist/x-alert-7r5rx0d7.js +0 -2
- package/dist/x-alert-7r5rx0d7.js.map +0 -1
- package/dist/x-alert-l0oP9PUN.js +0 -2
- package/dist/x-alert-l0oP9PUN.js.map +0 -1
- package/dist/x-alert-uqeGd1IW.js +0 -2
- package/dist/x-alert-uqeGd1IW.js.map +0 -1
- package/dist/x-avatar-BARZZcgr.js +0 -2
- package/dist/x-avatar-BARZZcgr.js.map +0 -1
- package/dist/x-avatar-CfnVd4CE.css +0 -1
- package/dist/x-avatar-DnbaVGNC.js +0 -2
- package/dist/x-avatar-DnbaVGNC.js.map +0 -1
- package/dist/x-avatar-rzw6K8Wc.js.map +0 -1
- package/dist/x-breadcrumb-CzKs24Jh.js +0 -2
- package/dist/x-breadcrumb-CzKs24Jh.js.map +0 -1
- package/dist/x-breadcrumb-VokcqVrB.js +0 -2
- package/dist/x-breadcrumb-VokcqVrB.js.map +0 -1
- package/dist/x-btn-BNO2Vh9q.js +0 -2
- package/dist/x-btn-BNO2Vh9q.js.map +0 -1
- package/dist/x-btn-BeE4ChBm.js +0 -2
- package/dist/x-btn-BeE4ChBm.js.map +0 -1
- package/dist/x-btn-D2HJcK1C.css +0 -1
- package/dist/x-btn-DOkDF37q.js +0 -2
- package/dist/x-btn-DOkDF37q.js.map +0 -1
- package/dist/x-card-BzquGj3n.js +0 -2
- package/dist/x-card-BzquGj3n.js.map +0 -1
- package/dist/x-card-D6loY5Bx.js +0 -2
- package/dist/x-card-D6loY5Bx.js.map +0 -1
- package/dist/x-card-D_W5kTzv.js +0 -2
- package/dist/x-card-D_W5kTzv.js.map +0 -1
- package/dist/x-col-B5OPXPr8.js +0 -2
- package/dist/x-col-B5OPXPr8.js.map +0 -1
- package/dist/x-col-KJDQojCc.js +0 -2
- package/dist/x-col-KJDQojCc.js.map +0 -1
- package/dist/x-container-e-eRQnv6.js +0 -2
- package/dist/x-container-e-eRQnv6.js.map +0 -1
- package/dist/x-container-e4wjA5VY.js +0 -2
- package/dist/x-container-e4wjA5VY.js.map +0 -1
- package/dist/x-dialog-D6r8mi6-.js +0 -2
- package/dist/x-dialog-D6r8mi6-.js.map +0 -1
- package/dist/x-dialog-DYWxApRD.js +0 -2
- package/dist/x-dialog-DYWxApRD.js.map +0 -1
- package/dist/x-dialog-oAn88o9T.js +0 -2
- package/dist/x-dialog-oAn88o9T.js.map +0 -1
- package/dist/x-divider-BCwuNKpo.js.map +0 -1
- package/dist/x-divider-BnEfygqi.js +0 -2
- package/dist/x-divider-BnEfygqi.js.map +0 -1
- package/dist/x-divider-rvXgbWfE.js +0 -2
- package/dist/x-divider-rvXgbWfE.js.map +0 -1
- package/dist/x-img-B2B5glWY.js +0 -2
- package/dist/x-img-B2B5glWY.js.map +0 -1
- package/dist/x-img-Bj_1ZxwL.js +0 -2
- package/dist/x-img-Bj_1ZxwL.js.map +0 -1
- package/dist/x-img-iz7nX54V.js +0 -2
- package/dist/x-img-iz7nX54V.js.map +0 -1
- package/dist/x-load-B-IMf3jW.js +0 -2
- package/dist/x-load-B-IMf3jW.js.map +0 -1
- package/dist/x-load-DKS8UJZy.js +0 -2
- package/dist/x-load-DKS8UJZy.js.map +0 -1
- package/dist/x-load-Diex9fJK.js +0 -2
- package/dist/x-load-Diex9fJK.js.map +0 -1
- package/dist/x-load-DyIF2nXd.css +0 -5
- package/dist/x-menu-BBb2QzOu.js +0 -2
- package/dist/x-menu-BBb2QzOu.js.map +0 -1
- package/dist/x-menu-BKquCdsX.js.map +0 -1
- package/dist/x-menu-Ce37WOnf.js +0 -2
- package/dist/x-menu-Ce37WOnf.js.map +0 -1
- package/dist/x-menu-item-JuTN7QVh.js +0 -2
- package/dist/x-menu-item-JuTN7QVh.js.map +0 -1
- package/dist/x-menuitem-CNKTVGiE.js +0 -2
- package/dist/x-menuitem-CNKTVGiE.js.map +0 -1
- package/dist/x-menuitem-CVO0asxe.js.map +0 -1
- package/dist/x-row-B5OPXPr8.js +0 -2
- package/dist/x-row-B5OPXPr8.js.map +0 -1
- package/dist/x-row-KJDQojCc.js +0 -2
- package/dist/x-row-KJDQojCc.js.map +0 -1
- package/dist/x-search-B0oJfSre.js +0 -2
- package/dist/x-search-B0oJfSre.js.map +0 -1
- package/dist/x-search-D_rjUBBL.js.map +0 -1
- package/dist/x-textfield-CRySrmrj.js +0 -2
- package/dist/x-textfield-CRySrmrj.js.map +0 -1
- package/dist/x-textfield-GtnNDOX1.js +0 -2
- package/dist/x-textfield-GtnNDOX1.js.map +0 -1
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
const __vite__fileDeps=["./staticBuild-DaVk8OhA.js","./staticBuild-ttxynnc3.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var xt="named",_u="name",ys="unmanaged",vu="optional",bs="inject",br="multi_inject",yu="inversify:tagged",bu="inversify:tagged_props",fo="inversify:paramtypes",yh="design:paramtypes",il="post_construct",ho="pre_destroy";function bh(){return[bs,br,_u,ys,xt,vu]}var sl=bh(),st={Request:"Request",Singleton:"Singleton",Transient:"Transient"},Ye={ConstantValue:"ConstantValue",Constructor:"Constructor",DynamicValue:"DynamicValue",Factory:"Factory",Function:"Function",Instance:"Instance",Invalid:"Invalid",Provider:"Provider"},gi={ClassProperty:"ClassProperty",ConstructorArgument:"ConstructorArgument",Variable:"Variable"},wh=0;function mi(){return wh++}var Eh=function(){function e(t,n){this.id=mi(),this.activated=!1,this.serviceIdentifier=t,this.scope=n,this.type=Ye.Invalid,this.constraint=function(r){return!0},this.implementationType=null,this.cache=null,this.factory=null,this.provider=null,this.onActivation=null,this.onDeactivation=null,this.dynamicValue=null}return e.prototype.clone=function(){var t=new e(this.serviceIdentifier,this.scope);return t.activated=t.scope===st.Singleton?this.activated:!1,t.implementationType=this.implementationType,t.dynamicValue=this.dynamicValue,t.scope=this.scope,t.type=this.type,t.factory=this.factory,t.provider=this.provider,t.constraint=this.constraint,t.onActivation=this.onActivation,t.onDeactivation=this.onDeactivation,t.cache=this.cache,t},e}(),Ch="Cannot apply @injectable decorator multiple times.",wu="Metadata key was used more than once in a parameter:",Nr="NULL argument",ol="Key Not Found",Th="Ambiguous match found for serviceIdentifier:",Sh="Could not unbind serviceIdentifier:",Ah="No matching bindings found for serviceIdentifier:",Eu="Missing required @injectable annotation in:",Ih="Missing required @inject or @multiInject annotation in:",kh=function(e){return"@inject called with undefined this could mean that the class "+e+" has a circular dependency problem. You can use a LazyServiceIdentifier to overcome this limitation."},Ph="Circular dependency found:",xh="Invalid binding type:",Oh="No snapshot available to restore.",Lh="Invalid return type in middleware. Middleware must return!",Rh="Value provided to function binding must be a function!",Nh=function(e){return"You are attempting to construct '"+e+`' in a synchronous way
|
|
3
|
+
but it has asynchronous dependencies.`},Mh="The toSelf function can only be applied when a constructor is used as service identifier",Cu="The @inject @multiInject @tagged and @named decorators must be applied to the parameters of a class constructor or a class property.",Dh=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"The number of constructor arguments in the derived class "+(e[0]+" must be >= than the number of constructor arguments of its base class.")},Fh="Invalid Container constructor argument. Container options must be an object.",$h='Invalid Container option. Default scope must be a string ("singleton" or "transient").',Uh="Invalid Container option. Auto bind injectable must be a boolean",jh="Invalid Container option. Skip base check must be a boolean",Wh="Attempting to unbind dependency with asynchronous destruction (@preDestroy or onDeactivation)",Bh=function(e,t){return"@postConstruct error in class "+e+": "+t},Vh=function(e,t){return"@preDestroy error in class "+e+": "+t},po=function(e,t){return"onDeactivation() error in class "+e+": "+t},Hh=function(e,t){return"It looks like there is a circular dependency in one of the '"+e+"' bindings. Please investigate bindings with "+("service identifier '"+t+"'.")},Gh="Maximum call stack size exceeded",Kh=function(){function e(){}return e.prototype.getConstructorMetadata=function(t){var n=Reflect.getMetadata(fo,t),r=Reflect.getMetadata(yu,t);return{compilerGeneratedMetadata:n,userGeneratedMetadata:r||{}}},e.prototype.getPropertiesMetadata=function(t){var n=Reflect.getMetadata(bu,t)||[];return n},e}(),Vi={MultipleBindingsAvailable:2,NoBindingsAvailable:0,OnlyOneBindingAvailable:1};function Tu(e){return e instanceof RangeError||e.message===Gh}var Yh=function(e,t){try{return e()}catch(n){throw Tu(n)&&(n=t()),n}};function ei(e){if(typeof e=="function"){var t=e;return t.name}else{if(typeof e=="symbol")return e.toString();var t=e;return t}}function al(e,t,n){var r="",i=n(e,t);return i.length!==0&&(r=`
|
|
4
|
+
Registered bindings:`,i.forEach(function(s){var o="Object";s.implementationType!==null&&(o=ws(s.implementationType)),r=r+`
|
|
5
|
+
`+o,s.constraint.metaData&&(r=r+" - "+s.constraint.metaData)})),r}function Su(e,t){return e.parentRequest===null?!1:e.parentRequest.serviceIdentifier===t?!0:Su(e.parentRequest,t)}function zh(e){function t(r,i){i===void 0&&(i=[]);var s=ei(r.serviceIdentifier);return i.push(s),r.parentRequest!==null?t(r.parentRequest,i):i}var n=t(e);return n.reverse().join(" --> ")}function Au(e){e.childRequests.forEach(function(t){if(Su(t,t.serviceIdentifier)){var n=zh(t);throw new Error(Ph+" "+n)}else Au(t)})}function Xh(e,t){if(t.isTagged()||t.isNamed()){var n="",r=t.getNamedTag(),i=t.getCustomTags();return r!==null&&(n+=r.toString()+`
|
|
6
|
+
`),i!==null&&i.forEach(function(s){n+=s.toString()+`
|
|
7
|
+
`})," "+e+`
|
|
8
|
+
`+e+" - "+n}else return" "+e}function ws(e){if(e.name)return e.name;var t=e.toString(),n=t.match(/^function\s*([^\s(]+)/);return n?n[1]:"Anonymous function: "+t}function qh(e){return e.toString().slice(7,-1)}var Iu=function(){function e(t){this.id=mi(),this.container=t}return e.prototype.addPlan=function(t){this.plan=t},e.prototype.setCurrentRequest=function(t){this.currentRequest=t},e}(),fn=function(){function e(t,n){this.key=t,this.value=n}return e.prototype.toString=function(){return this.key===xt?"named: "+String(this.value).toString()+" ":"tagged: { key:"+this.key.toString()+", value: "+String(this.value)+" }"},e}(),Jh=function(){function e(t,n){this.parentContext=t,this.rootRequest=n}return e}(),Qh=function(){function e(t){this._cb=t}return e.prototype.unwrap=function(){return this._cb()},e}(),Zh=function(){function e(t){this.str=t}return e.prototype.startsWith=function(t){return this.str.indexOf(t)===0},e.prototype.endsWith=function(t){var n="",r=t.split("").reverse().join("");return n=this.str.split("").reverse().join(""),this.startsWith.call({str:n},r)},e.prototype.contains=function(t){return this.str.indexOf(t)!==-1},e.prototype.equals=function(t){return this.str===t},e.prototype.value=function(){return this.str},e}(),Es=function(){function e(t,n,r,i){this.id=mi(),this.type=t,this.serviceIdentifier=r;var s=typeof n=="symbol"?qh(n):n;this.name=new Zh(s||""),this.identifier=n,this.metadata=new Array;var o=null;typeof i=="string"?o=new fn(xt,i):i instanceof fn&&(o=i),o!==null&&this.metadata.push(o)}return e.prototype.hasTag=function(t){for(var n=0,r=this.metadata;n<r.length;n++){var i=r[n];if(i.key===t)return!0}return!1},e.prototype.isArray=function(){return this.hasTag(br)},e.prototype.matchesArray=function(t){return this.matchesTag(br)(t)},e.prototype.isNamed=function(){return this.hasTag(xt)},e.prototype.isTagged=function(){return this.metadata.some(function(t){return sl.every(function(n){return t.key!==n})})},e.prototype.isOptional=function(){return this.matchesTag(vu)(!0)},e.prototype.getNamedTag=function(){return this.isNamed()?this.metadata.filter(function(t){return t.key===xt})[0]:null},e.prototype.getCustomTags=function(){return this.isTagged()?this.metadata.filter(function(t){return sl.every(function(n){return t.key!==n})}):null},e.prototype.matchesNamedTag=function(t){return this.matchesTag(xt)(t)},e.prototype.matchesTag=function(t){var n=this;return function(r){for(var i=0,s=n.metadata;i<s.length;i++){var o=s[i];if(o.key===t&&o.value===r)return!0}return!1}},e}(),Ji=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))};function ep(e,t){var n=ws(t);return ku(e,n,t,!1)}function ku(e,t,n,r){var i=e.getConstructorMetadata(n),s=i.compilerGeneratedMetadata;if(s===void 0){var o=Eu+" "+t+".";throw new Error(o)}var a=i.userGeneratedMetadata,l=Object.keys(a),c=n.length===0&&l.length>0,u=l.length>n.length,f=c||u?l.length:n.length,d=np(r,t,s,a,f),g=Pu(e,n,t),v=Ji(Ji([],d,!0),g,!0);return v}function tp(e,t,n,r,i){var s=i[e.toString()]||[],o=Ou(s),a=o.unmanaged!==!0,l=r[e],c=o.inject||o.multiInject;if(l=c||l,l instanceof Qh&&(l=l.unwrap()),a){var u=l===Object,f=l===Function,d=l===void 0,g=u||f||d;if(!t&&g){var v=Ih+" argument "+e+" in class "+n+".";throw new Error(v)}var C=new Es(gi.ConstructorArgument,o.targetName,l);return C.metadata=s,C}return null}function np(e,t,n,r,i){for(var s=[],o=0;o<i;o++){var a=o,l=tp(a,e,t,n,r);l!==null&&s.push(l)}return s}function rp(e,t,n,r){var i=e||t;if(i===void 0){var s=Eu+" for property "+String(n)+" in class "+r+".";throw new Error(s)}return i}function Pu(e,t,n){for(var r=e.getPropertiesMetadata(t),i=[],s=Object.getOwnPropertySymbols(r),o=Object.keys(r),a=o.concat(s),l=0,c=a;l<c.length;l++){var u=c[l],f=r[u],d=Ou(f),g=d.targetName||u,v=rp(d.inject,d.multiInject,u,n),C=new Es(gi.ClassProperty,g,v);C.metadata=f,i.push(C)}var O=Object.getPrototypeOf(t.prototype).constructor;if(O!==Object){var x=Pu(e,O,n);i=Ji(Ji([],i,!0),x,!0)}return i}function xu(e,t){var n=Object.getPrototypeOf(t.prototype).constructor;if(n!==Object){var r=ws(n),i=ku(e,r,n,!0),s=i.map(function(l){return l.metadata.filter(function(c){return c.key===ys})}),o=[].concat.apply([],s).length,a=i.length-o;return a>0?a:xu(e,n)}else return 0}function Ou(e){var t={};return e.forEach(function(n){t[n.key.toString()]=n.value}),{inject:t[bs],multiInject:t[br],targetName:t[_u],unmanaged:t[ys]}}var ua=function(){function e(t,n,r,i,s){this.id=mi(),this.serviceIdentifier=t,this.parentContext=n,this.parentRequest=r,this.target=s,this.childRequests=[],this.bindings=Array.isArray(i)?i:[i],this.requestScope=r===null?new Map:null}return e.prototype.addChildRequest=function(t,n,r){var i=new e(t,this.parentContext,this,n,r);return this.childRequests.push(i),i},e}();function Qi(e){return e._bindingDictionary}function ip(e,t,n,r,i,s){var o=e?br:bs,a=new fn(o,n),l=new Es(t,r,n,a);if(i!==void 0){var c=new fn(i,s);l.metadata.push(c)}return l}function ll(e,t,n,r,i){var s=ti(n.container,i.serviceIdentifier),o=[];return s.length===Vi.NoBindingsAvailable&&n.container.options.autoBindInjectable&&typeof i.serviceIdentifier=="function"&&e.getConstructorMetadata(i.serviceIdentifier).compilerGeneratedMetadata&&(n.container.bind(i.serviceIdentifier).toSelf(),s=ti(n.container,i.serviceIdentifier)),t?o=s:o=s.filter(function(a){var l=new ua(a.serviceIdentifier,n,r,a,i);return a.constraint(l)}),sp(i.serviceIdentifier,o,i,n.container),o}function sp(e,t,n,r){switch(t.length){case Vi.NoBindingsAvailable:if(n.isOptional())return t;var i=ei(e),s=Ah;throw s+=Xh(i,n),s+=al(r,i,ti),new Error(s);case Vi.OnlyOneBindingAvailable:return t;case Vi.MultipleBindingsAvailable:default:if(n.isArray())return t;var i=ei(e),s=Th+" "+i;throw s+=al(r,i,ti),new Error(s)}}function Lu(e,t,n,r,i,s){var o,a;if(i===null){o=ll(e,t,r,null,s),a=new ua(n,r,null,o,s);var l=new Jh(r,a);r.addPlan(l)}else o=ll(e,t,r,i,s),a=i.addChildRequest(s.serviceIdentifier,o,s);o.forEach(function(c){var u=null;if(s.isArray())u=a.addChildRequest(c.serviceIdentifier,c,s);else{if(c.cache)return;u=a}if(c.type===Ye.Instance&&c.implementationType!==null){var f=ep(e,c.implementationType);if(!r.container.options.skipBaseClassChecks){var d=xu(e,c.implementationType);if(f.length<d){var g=Dh(ws(c.implementationType));throw new Error(g)}}f.forEach(function(v){Lu(e,!1,v.serviceIdentifier,r,u,v)})}})}function ti(e,t){var n=[],r=Qi(e);return r.hasKey(t)?n=r.get(t):e.parent!==null&&(n=ti(e.parent,t)),n}function op(e,t,n,r,i,s,o,a){a===void 0&&(a=!1);var l=new Iu(t),c=ip(n,r,i,"",s,o);try{return Lu(e,a,i,l,null,c),l}catch(u){throw Tu(u)&&Au(l.plan.rootRequest),u}}function ap(e,t,n,r){var i=new Es(gi.Variable,"",t,new fn(n,r)),s=new Iu(e),o=new ua(t,s,null,[],i);return o}function At(e){var t=typeof e=="object"&&e!==null||typeof e=="function";return t&&typeof e.then=="function"}function Ru(e){return At(e)?!0:Array.isArray(e)&&e.some(At)}var lp=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})},cp=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},up=function(e,t){return t.scope===st.Singleton&&t.activated?t.cache:t.scope===st.Request&&e.has(t.id)?e.get(t.id):null},fp=function(e,t,n){t.scope===st.Singleton&&hp(t,n),t.scope===st.Request&&dp(e,t,n)},dp=function(e,t,n){e.has(t.id)||e.set(t.id,n)},hp=function(e,t){e.cache=t,e.activated=!0,At(t)&&pp(e,t)},pp=function(e,t){return lp(void 0,void 0,void 0,function(){var n,r;return cp(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,t];case 1:return n=i.sent(),e.cache=n,[3,3];case 2:throw r=i.sent(),e.cache=null,e.activated=!1,r;case 3:return[2]}})})},Vr;(function(e){e.DynamicValue="toDynamicValue",e.Factory="toFactory",e.Provider="toProvider"})(Vr||(Vr={}));var gp=function(e){var t=null;switch(e.type){case Ye.ConstantValue:case Ye.Function:t=e.cache;break;case Ye.Constructor:case Ye.Instance:t=e.implementationType;break;case Ye.DynamicValue:t=e.dynamicValue;break;case Ye.Provider:t=e.provider;break;case Ye.Factory:t=e.factory;break}if(t===null){var n=ei(e.serviceIdentifier);throw new Error(xh+" "+n)}},mp=function(e){switch(e.type){case Ye.Factory:return{factory:e.factory,factoryType:Vr.Factory};case Ye.Provider:return{factory:e.provider,factoryType:Vr.Provider};case Ye.DynamicValue:return{factory:e.dynamicValue,factoryType:Vr.DynamicValue};default:throw new Error("Unexpected factory type "+e.type)}},wr=function(){return wr=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},wr.apply(this,arguments)},Nu=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})},Mu=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},_p=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))};function vp(e,t){return e.reduce(function(n,r){var i=t(r),s=r.target.type;return s===gi.ConstructorArgument?n.constructorInjections.push(i):(n.propertyRequests.push(r),n.propertyInjections.push(i)),n.isAsync||(n.isAsync=Ru(i)),n},{constructorInjections:[],propertyInjections:[],propertyRequests:[],isAsync:!1})}function yp(e,t,n){var r;if(t.length>0){var i=vp(t,n),s=wr(wr({},i),{constr:e});i.isAsync?r=bp(s):r=Du(s)}else r=new e;return r}function Du(e){var t,n=new((t=e.constr).bind.apply(t,_p([void 0],e.constructorInjections,!1)));return e.propertyRequests.forEach(function(r,i){var s=r.target.identifier,o=e.propertyInjections[i];(!r.target.isOptional()||o!==void 0)&&(n[s]=o)}),n}function bp(e){return Nu(this,void 0,void 0,function(){var t,n;return Mu(this,function(r){switch(r.label){case 0:return[4,cl(e.constructorInjections)];case 1:return t=r.sent(),[4,cl(e.propertyInjections)];case 2:return n=r.sent(),[2,Du(wr(wr({},e),{constructorInjections:t,propertyInjections:n}))]}})})}function cl(e){return Nu(this,void 0,void 0,function(){var t,n,r,i;return Mu(this,function(s){for(t=[],n=0,r=e;n<r.length;n++)i=r[n],Array.isArray(i)?t.push(Promise.all(i)):t.push(i);return[2,Promise.all(t)]})})}function ul(e,t){var n=wp(e,t);return At(n)?n.then(function(){return t}):t}function wp(e,t){var n,r;if(Reflect.hasMetadata(il,e)){var i=Reflect.getMetadata(il,e);try{return(r=(n=t)[i.value])===null||r===void 0?void 0:r.call(n)}catch(s){if(s instanceof Error)throw new Error(Bh(e.name,s.message))}}}function Ep(e,t){e.scope!==st.Singleton&&Cp(e,t)}function Cp(e,t){var n="Class cannot be instantiated in "+(e.scope===st.Request?"request":"transient")+" scope.";if(typeof e.onDeactivation=="function")throw new Error(po(t.name,n));if(Reflect.hasMetadata(ho,t))throw new Error(Vh(t.name,n))}function Tp(e,t,n,r){Ep(e,t);var i=yp(t,n,r);return At(i)?i.then(function(s){return ul(t,s)}):ul(t,i)}var Sp=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})},Ap=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},fa=function(e){return function(t){t.parentContext.setCurrentRequest(t);var n=t.bindings,r=t.childRequests,i=t.target&&t.target.isArray(),s=!t.parentRequest||!t.parentRequest.target||!t.target||!t.parentRequest.target.matchesArray(t.target.serviceIdentifier);if(i&&s)return r.map(function(a){var l=fa(e);return l(a)});if(t.target.isOptional()&&n.length===0)return;var o=n[0];return xp(e,t,o)}},Ip=function(e,t){var n=mp(e);return Yh(function(){return n.factory.bind(e)(t)},function(){return new Error(Hh(n.factoryType,t.currentRequest.serviceIdentifier.toString()))})},kp=function(e,t,n){var r,i=t.childRequests;switch(gp(n),n.type){case Ye.ConstantValue:case Ye.Function:r=n.cache;break;case Ye.Constructor:r=n.implementationType;break;case Ye.Instance:r=Tp(n,n.implementationType,i,fa(e));break;default:r=Ip(n,t.parentContext)}return r},Pp=function(e,t,n){var r=up(e,t);return r!==null||(r=n(),fp(e,t,r)),r},xp=function(e,t,n){return Pp(e,n,function(){var r=kp(e,t,n);return At(r)?r=r.then(function(i){return fl(t,n,i)}):r=fl(t,n,r),r})};function fl(e,t,n){var r=Op(e.parentContext,t,n),i=Np(e.parentContext.container),s,o=i.next();do{s=o.value;var a=e.parentContext,l=e.serviceIdentifier,c=Rp(s,l);At(r)?r=Fu(c,a,r):r=Lp(c,a,r),o=i.next()}while(o.done!==!0&&!Qi(s).hasKey(e.serviceIdentifier));return r}var Op=function(e,t,n){var r;return typeof t.onActivation=="function"?r=t.onActivation(e,n):r=n,r},Lp=function(e,t,n){for(var r=e.next();!r.done;){if(n=r.value(t,n),At(n))return Fu(e,t,n);r=e.next()}return n},Fu=function(e,t,n){return Sp(void 0,void 0,void 0,function(){var r,i;return Ap(this,function(s){switch(s.label){case 0:return[4,n];case 1:r=s.sent(),i=e.next(),s.label=2;case 2:return i.done?[3,4]:[4,i.value(t,r)];case 3:return r=s.sent(),i=e.next(),[3,2];case 4:return[2,r]}})})},Rp=function(e,t){var n=e._activations;return n.hasKey(t)?n.get(t).values():[].values()},Np=function(e){for(var t=[e],n=e.parent;n!==null;)t.push(n),n=n.parent;var r=function(){var s=t.pop();return s!==void 0?{done:!1,value:s}:{done:!0,value:void 0}},i={next:r};return i};function Mp(e){var t=fa(e.plan.rootRequest.requestScope);return t(e.plan.rootRequest)}var sn=function(e,t){var n=e.parentRequest;return n!==null?t(n)?!0:sn(n,t):!1},Wr=function(e){return function(t){var n=function(r){return r!==null&&r.target!==null&&r.target.matchesTag(e)(t)};return n.metaData=new fn(e,t),n}},ki=Wr(xt),Gs=function(e){return function(t){var n=null;if(t!==null)if(n=t.bindings[0],typeof e=="string"){var r=n.serviceIdentifier;return r===e}else{var i=t.bindings[0].implementationType;return e===i}return!1}},Zi=function(){function e(t){this._binding=t}return e.prototype.when=function(t){return this._binding.constraint=t,new mt(this._binding)},e.prototype.whenTargetNamed=function(t){return this._binding.constraint=ki(t),new mt(this._binding)},e.prototype.whenTargetIsDefault=function(){return this._binding.constraint=function(t){if(t===null)return!1;var n=t.target!==null&&!t.target.isNamed()&&!t.target.isTagged();return n},new mt(this._binding)},e.prototype.whenTargetTagged=function(t,n){return this._binding.constraint=Wr(t)(n),new mt(this._binding)},e.prototype.whenInjectedInto=function(t){return this._binding.constraint=function(n){return n!==null&&Gs(t)(n.parentRequest)},new mt(this._binding)},e.prototype.whenParentNamed=function(t){return this._binding.constraint=function(n){return n!==null&&ki(t)(n.parentRequest)},new mt(this._binding)},e.prototype.whenParentTagged=function(t,n){return this._binding.constraint=function(r){return r!==null&&Wr(t)(n)(r.parentRequest)},new mt(this._binding)},e.prototype.whenAnyAncestorIs=function(t){return this._binding.constraint=function(n){return n!==null&&sn(n,Gs(t))},new mt(this._binding)},e.prototype.whenNoAncestorIs=function(t){return this._binding.constraint=function(n){return n!==null&&!sn(n,Gs(t))},new mt(this._binding)},e.prototype.whenAnyAncestorNamed=function(t){return this._binding.constraint=function(n){return n!==null&&sn(n,ki(t))},new mt(this._binding)},e.prototype.whenNoAncestorNamed=function(t){return this._binding.constraint=function(n){return n!==null&&!sn(n,ki(t))},new mt(this._binding)},e.prototype.whenAnyAncestorTagged=function(t,n){return this._binding.constraint=function(r){return r!==null&&sn(r,Wr(t)(n))},new mt(this._binding)},e.prototype.whenNoAncestorTagged=function(t,n){return this._binding.constraint=function(r){return r!==null&&!sn(r,Wr(t)(n))},new mt(this._binding)},e.prototype.whenAnyAncestorMatches=function(t){return this._binding.constraint=function(n){return n!==null&&sn(n,t)},new mt(this._binding)},e.prototype.whenNoAncestorMatches=function(t){return this._binding.constraint=function(n){return n!==null&&!sn(n,t)},new mt(this._binding)},e}(),mt=function(){function e(t){this._binding=t}return e.prototype.onActivation=function(t){return this._binding.onActivation=t,new Zi(this._binding)},e.prototype.onDeactivation=function(t){return this._binding.onDeactivation=t,new Zi(this._binding)},e}(),ln=function(){function e(t){this._binding=t,this._bindingWhenSyntax=new Zi(this._binding),this._bindingOnSyntax=new mt(this._binding)}return e.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},e.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(t,n){return this._bindingWhenSyntax.whenTargetTagged(t,n)},e.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},e.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},e.prototype.whenParentTagged=function(t,n){return this._bindingWhenSyntax.whenParentTagged(t,n)},e.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},e.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},e.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},e.prototype.whenAnyAncestorTagged=function(t,n){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,n)},e.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},e.prototype.whenNoAncestorTagged=function(t,n){return this._bindingWhenSyntax.whenNoAncestorTagged(t,n)},e.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},e.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},e.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},e.prototype.onDeactivation=function(t){return this._bindingOnSyntax.onDeactivation(t)},e}(),Dp=function(){function e(t){this._binding=t}return e.prototype.inRequestScope=function(){return this._binding.scope=st.Request,new ln(this._binding)},e.prototype.inSingletonScope=function(){return this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.inTransientScope=function(){return this._binding.scope=st.Transient,new ln(this._binding)},e}(),dl=function(){function e(t){this._binding=t,this._bindingWhenSyntax=new Zi(this._binding),this._bindingOnSyntax=new mt(this._binding),this._bindingInSyntax=new Dp(t)}return e.prototype.inRequestScope=function(){return this._bindingInSyntax.inRequestScope()},e.prototype.inSingletonScope=function(){return this._bindingInSyntax.inSingletonScope()},e.prototype.inTransientScope=function(){return this._bindingInSyntax.inTransientScope()},e.prototype.when=function(t){return this._bindingWhenSyntax.when(t)},e.prototype.whenTargetNamed=function(t){return this._bindingWhenSyntax.whenTargetNamed(t)},e.prototype.whenTargetIsDefault=function(){return this._bindingWhenSyntax.whenTargetIsDefault()},e.prototype.whenTargetTagged=function(t,n){return this._bindingWhenSyntax.whenTargetTagged(t,n)},e.prototype.whenInjectedInto=function(t){return this._bindingWhenSyntax.whenInjectedInto(t)},e.prototype.whenParentNamed=function(t){return this._bindingWhenSyntax.whenParentNamed(t)},e.prototype.whenParentTagged=function(t,n){return this._bindingWhenSyntax.whenParentTagged(t,n)},e.prototype.whenAnyAncestorIs=function(t){return this._bindingWhenSyntax.whenAnyAncestorIs(t)},e.prototype.whenNoAncestorIs=function(t){return this._bindingWhenSyntax.whenNoAncestorIs(t)},e.prototype.whenAnyAncestorNamed=function(t){return this._bindingWhenSyntax.whenAnyAncestorNamed(t)},e.prototype.whenAnyAncestorTagged=function(t,n){return this._bindingWhenSyntax.whenAnyAncestorTagged(t,n)},e.prototype.whenNoAncestorNamed=function(t){return this._bindingWhenSyntax.whenNoAncestorNamed(t)},e.prototype.whenNoAncestorTagged=function(t,n){return this._bindingWhenSyntax.whenNoAncestorTagged(t,n)},e.prototype.whenAnyAncestorMatches=function(t){return this._bindingWhenSyntax.whenAnyAncestorMatches(t)},e.prototype.whenNoAncestorMatches=function(t){return this._bindingWhenSyntax.whenNoAncestorMatches(t)},e.prototype.onActivation=function(t){return this._bindingOnSyntax.onActivation(t)},e.prototype.onDeactivation=function(t){return this._bindingOnSyntax.onDeactivation(t)},e}(),Fp=function(){function e(t){this._binding=t}return e.prototype.to=function(t){return this._binding.type=Ye.Instance,this._binding.implementationType=t,new dl(this._binding)},e.prototype.toSelf=function(){if(typeof this._binding.serviceIdentifier!="function")throw new Error(""+Mh);var t=this._binding.serviceIdentifier;return this.to(t)},e.prototype.toConstantValue=function(t){return this._binding.type=Ye.ConstantValue,this._binding.cache=t,this._binding.dynamicValue=null,this._binding.implementationType=null,this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.toDynamicValue=function(t){return this._binding.type=Ye.DynamicValue,this._binding.cache=null,this._binding.dynamicValue=t,this._binding.implementationType=null,new dl(this._binding)},e.prototype.toConstructor=function(t){return this._binding.type=Ye.Constructor,this._binding.implementationType=t,this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.toFactory=function(t){return this._binding.type=Ye.Factory,this._binding.factory=t,this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.toFunction=function(t){if(typeof t!="function")throw new Error(Rh);var n=this.toConstantValue(t);return this._binding.type=Ye.Function,this._binding.scope=st.Singleton,n},e.prototype.toAutoFactory=function(t){return this._binding.type=Ye.Factory,this._binding.factory=function(n){var r=function(){return n.container.get(t)};return r},this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.toAutoNamedFactory=function(t){return this._binding.type=Ye.Factory,this._binding.factory=function(n){return function(r){return n.container.getNamed(t,r)}},new ln(this._binding)},e.prototype.toProvider=function(t){return this._binding.type=Ye.Provider,this._binding.provider=t,this._binding.scope=st.Singleton,new ln(this._binding)},e.prototype.toService=function(t){this.toDynamicValue(function(n){return n.container.get(t)})},e}(),$p=function(){function e(){}return e.of=function(t,n,r,i,s){var o=new e;return o.bindings=t,o.middleware=n,o.deactivations=i,o.activations=r,o.moduleActivationStore=s,o},e}();function Up(e){return typeof e=="object"&&e!==null&&"clone"in e&&typeof e.clone=="function"}var qn=function(){function e(){this._map=new Map}return e.prototype.getMap=function(){return this._map},e.prototype.add=function(t,n){if(t==null)throw new Error(Nr);if(n==null)throw new Error(Nr);var r=this._map.get(t);r!==void 0?r.push(n):this._map.set(t,[n])},e.prototype.get=function(t){if(t==null)throw new Error(Nr);var n=this._map.get(t);if(n!==void 0)return n;throw new Error(ol)},e.prototype.remove=function(t){if(t==null)throw new Error(Nr);if(!this._map.delete(t))throw new Error(ol)},e.prototype.removeIntersection=function(t){var n=this;this.traverse(function(r,i){var s=t.hasKey(r)?t.get(r):void 0;if(s!==void 0){var o=i.filter(function(a){return!s.some(function(l){return a===l})});n._setValue(r,o)}})},e.prototype.removeByCondition=function(t){var n=this,r=[];return this._map.forEach(function(i,s){for(var o=[],a=0,l=i;a<l.length;a++){var c=l[a],u=t(c);u?r.push(c):o.push(c)}n._setValue(s,o)}),r},e.prototype.hasKey=function(t){if(t==null)throw new Error(Nr);return this._map.has(t)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(n,r){n.forEach(function(i){return t.add(r,Up(i)?i.clone():i)})}),t},e.prototype.traverse=function(t){this._map.forEach(function(n,r){t(r,n)})},e.prototype._setValue=function(t,n){n.length>0?this._map.set(t,n):this._map.delete(t)},e}(),jp=function(){function e(){this._map=new Map}return e.prototype.remove=function(t){if(this._map.has(t)){var n=this._map.get(t);return this._map.delete(t),n}return this._getEmptyHandlersStore()},e.prototype.addDeactivation=function(t,n,r){this._getModuleActivationHandlers(t).onDeactivations.add(n,r)},e.prototype.addActivation=function(t,n,r){this._getModuleActivationHandlers(t).onActivations.add(n,r)},e.prototype.clone=function(){var t=new e;return this._map.forEach(function(n,r){t._map.set(r,{onActivations:n.onActivations.clone(),onDeactivations:n.onDeactivations.clone()})}),t},e.prototype._getModuleActivationHandlers=function(t){var n=this._map.get(t);return n===void 0&&(n=this._getEmptyHandlersStore(),this._map.set(t,n)),n},e.prototype._getEmptyHandlersStore=function(){var t={onActivations:new qn,onDeactivations:new qn};return t},e}(),es=function(){return es=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},es.apply(this,arguments)},Ot=function(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function a(u){try{c(r.next(u))}catch(f){o(f)}}function l(u){try{c(r.throw(u))}catch(f){o(f)}}function c(u){u.done?s(u.value):i(u.value).then(a,l)}c((r=r.apply(e,t||[])).next())})},Lt=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(c){return function(u){return l([c,u])}}function l(c){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(s=c[0]&2?i.return:c[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,c[1])).done)return s;switch(i=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,i=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){n.label=c[1];break}if(c[0]===6&&n.label<s[1]){n.label=s[1],s=c;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(c);break}s[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],i=0}finally{r=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},Wp=function(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))},Bp=function(){function e(t){var n=t||{};if(typeof n!="object")throw new Error(""+Fh);if(n.defaultScope===void 0)n.defaultScope=st.Transient;else if(n.defaultScope!==st.Singleton&&n.defaultScope!==st.Transient&&n.defaultScope!==st.Request)throw new Error(""+$h);if(n.autoBindInjectable===void 0)n.autoBindInjectable=!1;else if(typeof n.autoBindInjectable!="boolean")throw new Error(""+Uh);if(n.skipBaseClassChecks===void 0)n.skipBaseClassChecks=!1;else if(typeof n.skipBaseClassChecks!="boolean")throw new Error(""+jh);this.options={autoBindInjectable:n.autoBindInjectable,defaultScope:n.defaultScope,skipBaseClassChecks:n.skipBaseClassChecks},this.id=mi(),this._bindingDictionary=new qn,this._snapshots=[],this._middleware=null,this._activations=new qn,this._deactivations=new qn,this.parent=null,this._metadataReader=new Kh,this._moduleActivationStore=new jp}return e.merge=function(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var s=new e,o=Wp([t,n],r,!0).map(function(c){return Qi(c)}),a=Qi(s);function l(c,u){c.traverse(function(f,d){d.forEach(function(g){u.add(g.serviceIdentifier,g.clone())})})}return o.forEach(function(c){l(c,a)}),s},e.prototype.load=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=this._getContainerModuleHelpersFactory(),i=0,s=t;i<s.length;i++){var o=s[i],a=r(o.id);o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction,a.unbindAsyncFunction,a.onActivationFunction,a.onDeactivationFunction)}},e.prototype.loadAsync=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Ot(this,void 0,void 0,function(){var r,i,s,o,a;return Lt(this,function(l){switch(l.label){case 0:r=this._getContainerModuleHelpersFactory(),i=0,s=t,l.label=1;case 1:return i<s.length?(o=s[i],a=r(o.id),[4,o.registry(a.bindFunction,a.unbindFunction,a.isboundFunction,a.rebindFunction,a.unbindAsyncFunction,a.onActivationFunction,a.onDeactivationFunction)]):[3,4];case 2:l.sent(),l.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},e.prototype.unload=function(){for(var t=this,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];n.forEach(function(i){var s=t._removeModuleBindings(i.id);t._deactivateSingletons(s),t._removeModuleHandlers(i.id)})},e.prototype.unloadAsync=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return Ot(this,void 0,void 0,function(){var r,i,s,o;return Lt(this,function(a){switch(a.label){case 0:r=0,i=t,a.label=1;case 1:return r<i.length?(s=i[r],o=this._removeModuleBindings(s.id),[4,this._deactivateSingletonsAsync(o)]):[3,4];case 2:a.sent(),this._removeModuleHandlers(s.id),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},e.prototype.bind=function(t){var n=this.options.defaultScope||st.Transient,r=new Eh(t,n);return this._bindingDictionary.add(t,r),new Fp(r)},e.prototype.rebind=function(t){return this.unbind(t),this.bind(t)},e.prototype.rebindAsync=function(t){return Ot(this,void 0,void 0,function(){return Lt(this,function(n){switch(n.label){case 0:return[4,this.unbindAsync(t)];case 1:return n.sent(),[2,this.bind(t)]}})})},e.prototype.unbind=function(t){if(this._bindingDictionary.hasKey(t)){var n=this._bindingDictionary.get(t);this._deactivateSingletons(n)}this._removeServiceFromDictionary(t)},e.prototype.unbindAsync=function(t){return Ot(this,void 0,void 0,function(){var n;return Lt(this,function(r){switch(r.label){case 0:return this._bindingDictionary.hasKey(t)?(n=this._bindingDictionary.get(t),[4,this._deactivateSingletonsAsync(n)]):[3,2];case 1:r.sent(),r.label=2;case 2:return this._removeServiceFromDictionary(t),[2]}})})},e.prototype.unbindAll=function(){var t=this;this._bindingDictionary.traverse(function(n,r){t._deactivateSingletons(r)}),this._bindingDictionary=new qn},e.prototype.unbindAllAsync=function(){return Ot(this,void 0,void 0,function(){var t,n=this;return Lt(this,function(r){switch(r.label){case 0:return t=[],this._bindingDictionary.traverse(function(i,s){t.push(n._deactivateSingletonsAsync(s))}),[4,Promise.all(t)];case 1:return r.sent(),this._bindingDictionary=new qn,[2]}})})},e.prototype.onActivation=function(t,n){this._activations.add(t,n)},e.prototype.onDeactivation=function(t,n){this._deactivations.add(t,n)},e.prototype.isBound=function(t){var n=this._bindingDictionary.hasKey(t);return!n&&this.parent&&(n=this.parent.isBound(t)),n},e.prototype.isCurrentBound=function(t){return this._bindingDictionary.hasKey(t)},e.prototype.isBoundNamed=function(t,n){return this.isBoundTagged(t,xt,n)},e.prototype.isBoundTagged=function(t,n,r){var i=!1;if(this._bindingDictionary.hasKey(t)){var s=this._bindingDictionary.get(t),o=ap(this,t,n,r);i=s.some(function(a){return a.constraint(o)})}return!i&&this.parent&&(i=this.parent.isBoundTagged(t,n,r)),i},e.prototype.snapshot=function(){this._snapshots.push($p.of(this._bindingDictionary.clone(),this._middleware,this._activations.clone(),this._deactivations.clone(),this._moduleActivationStore.clone()))},e.prototype.restore=function(){var t=this._snapshots.pop();if(t===void 0)throw new Error(Oh);this._bindingDictionary=t.bindings,this._activations=t.activations,this._deactivations=t.deactivations,this._middleware=t.middleware,this._moduleActivationStore=t.moduleActivationStore},e.prototype.createChild=function(t){var n=new e(t||this.options);return n.parent=this,n},e.prototype.applyMiddleware=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this._middleware?this._middleware:this._planAndResolve();this._middleware=t.reduce(function(i,s){return s(i)},r)},e.prototype.applyCustomMetadataReader=function(t){this._metadataReader=t},e.prototype.get=function(t){var n=this._getNotAllArgs(t,!1);return this._getButThrowIfAsync(n)},e.prototype.getAsync=function(t){return Ot(this,void 0,void 0,function(){var n;return Lt(this,function(r){return n=this._getNotAllArgs(t,!1),[2,this._get(n)]})})},e.prototype.getTagged=function(t,n,r){var i=this._getNotAllArgs(t,!1,n,r);return this._getButThrowIfAsync(i)},e.prototype.getTaggedAsync=function(t,n,r){return Ot(this,void 0,void 0,function(){var i;return Lt(this,function(s){return i=this._getNotAllArgs(t,!1,n,r),[2,this._get(i)]})})},e.prototype.getNamed=function(t,n){return this.getTagged(t,xt,n)},e.prototype.getNamedAsync=function(t,n){return this.getTaggedAsync(t,xt,n)},e.prototype.getAll=function(t){var n=this._getAllArgs(t);return this._getButThrowIfAsync(n)},e.prototype.getAllAsync=function(t){var n=this._getAllArgs(t);return this._getAll(n)},e.prototype.getAllTagged=function(t,n,r){var i=this._getNotAllArgs(t,!0,n,r);return this._getButThrowIfAsync(i)},e.prototype.getAllTaggedAsync=function(t,n,r){var i=this._getNotAllArgs(t,!0,n,r);return this._getAll(i)},e.prototype.getAllNamed=function(t,n){return this.getAllTagged(t,xt,n)},e.prototype.getAllNamedAsync=function(t,n){return this.getAllTaggedAsync(t,xt,n)},e.prototype.resolve=function(t){var n=this.isBound(t);n||this.bind(t).toSelf();var r=this.get(t);return n||this.unbind(t),r},e.prototype._preDestroy=function(t,n){var r,i;if(Reflect.hasMetadata(ho,t)){var s=Reflect.getMetadata(ho,t);return(i=(r=n)[s.value])===null||i===void 0?void 0:i.call(r)}},e.prototype._removeModuleHandlers=function(t){var n=this._moduleActivationStore.remove(t);this._activations.removeIntersection(n.onActivations),this._deactivations.removeIntersection(n.onDeactivations)},e.prototype._removeModuleBindings=function(t){return this._bindingDictionary.removeByCondition(function(n){return n.moduleId===t})},e.prototype._deactivate=function(t,n){var r=this,i=Object.getPrototypeOf(n).constructor;try{if(this._deactivations.hasKey(t.serviceIdentifier)){var s=this._deactivateContainer(n,this._deactivations.get(t.serviceIdentifier).values());if(At(s))return this._handleDeactivationError(s.then(function(){return r._propagateContainerDeactivationThenBindingAndPreDestroyAsync(t,n,i)}),i)}var o=this._propagateContainerDeactivationThenBindingAndPreDestroy(t,n,i);if(At(o))return this._handleDeactivationError(o,i)}catch(a){if(a instanceof Error)throw new Error(po(i.name,a.message))}},e.prototype._handleDeactivationError=function(t,n){return Ot(this,void 0,void 0,function(){var r;return Lt(this,function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,t];case 1:return i.sent(),[3,3];case 2:if(r=i.sent(),r instanceof Error)throw new Error(po(n.name,r.message));return[3,3];case 3:return[2]}})})},e.prototype._deactivateContainer=function(t,n){for(var r=this,i=n.next();i.value;){var s=i.value(t);if(At(s))return s.then(function(){return r._deactivateContainerAsync(t,n)});i=n.next()}},e.prototype._deactivateContainerAsync=function(t,n){return Ot(this,void 0,void 0,function(){var r;return Lt(this,function(i){switch(i.label){case 0:r=n.next(),i.label=1;case 1:return r.value?[4,r.value(t)]:[3,3];case 2:return i.sent(),r=n.next(),[3,1];case 3:return[2]}})})},e.prototype._getContainerModuleHelpersFactory=function(){var t=this,n=function(u,f){u._binding.moduleId=f},r=function(u){return function(f){var d=t.bind(f);return n(d,u),d}},i=function(){return function(u){return t.unbind(u)}},s=function(){return function(u){return t.unbindAsync(u)}},o=function(){return function(u){return t.isBound(u)}},a=function(u){return function(f){var d=t.rebind(f);return n(d,u),d}},l=function(u){return function(f,d){t._moduleActivationStore.addActivation(u,f,d),t.onActivation(f,d)}},c=function(u){return function(f,d){t._moduleActivationStore.addDeactivation(u,f,d),t.onDeactivation(f,d)}};return function(u){return{bindFunction:r(u),isboundFunction:o(),onActivationFunction:l(u),onDeactivationFunction:c(u),rebindFunction:a(u),unbindFunction:i(),unbindAsyncFunction:s()}}},e.prototype._getAll=function(t){return Promise.all(this._get(t))},e.prototype._get=function(t){var n=es(es({},t),{contextInterceptor:function(i){return i},targetType:gi.Variable});if(this._middleware){var r=this._middleware(n);if(r==null)throw new Error(Lh);return r}return this._planAndResolve()(n)},e.prototype._getButThrowIfAsync=function(t){var n=this._get(t);if(Ru(n))throw new Error(Nh(t.serviceIdentifier));return n},e.prototype._getAllArgs=function(t){var n={avoidConstraints:!0,isMultiInject:!0,serviceIdentifier:t};return n},e.prototype._getNotAllArgs=function(t,n,r,i){var s={avoidConstraints:!1,isMultiInject:n,serviceIdentifier:t,key:r,value:i};return s},e.prototype._planAndResolve=function(){var t=this;return function(n){var r=op(t._metadataReader,t,n.isMultiInject,n.targetType,n.serviceIdentifier,n.key,n.value,n.avoidConstraints);r=n.contextInterceptor(r);var i=Mp(r);return i}},e.prototype._deactivateIfSingleton=function(t){var n=this;if(t.activated)return At(t.cache)?t.cache.then(function(r){return n._deactivate(t,r)}):this._deactivate(t,t.cache)},e.prototype._deactivateSingletons=function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n],s=this._deactivateIfSingleton(i);if(At(s))throw new Error(Wh)}},e.prototype._deactivateSingletonsAsync=function(t){return Ot(this,void 0,void 0,function(){var n=this;return Lt(this,function(r){switch(r.label){case 0:return[4,Promise.all(t.map(function(i){return n._deactivateIfSingleton(i)}))];case 1:return r.sent(),[2]}})})},e.prototype._propagateContainerDeactivationThenBindingAndPreDestroy=function(t,n,r){return this.parent?this._deactivate.bind(this.parent)(t,n):this._bindingDeactivationAndPreDestroy(t,n,r)},e.prototype._propagateContainerDeactivationThenBindingAndPreDestroyAsync=function(t,n,r){return Ot(this,void 0,void 0,function(){return Lt(this,function(i){switch(i.label){case 0:return this.parent?[4,this._deactivate.bind(this.parent)(t,n)]:[3,2];case 1:return i.sent(),[3,4];case 2:return[4,this._bindingDeactivationAndPreDestroyAsync(t,n,r)];case 3:i.sent(),i.label=4;case 4:return[2]}})})},e.prototype._removeServiceFromDictionary=function(t){try{this._bindingDictionary.remove(t)}catch{throw new Error(Sh+" "+ei(t))}},e.prototype._bindingDeactivationAndPreDestroy=function(t,n,r){var i=this;if(typeof t.onDeactivation=="function"){var s=t.onDeactivation(n);if(At(s))return s.then(function(){return i._preDestroy(r,n)})}return this._preDestroy(r,n)},e.prototype._bindingDeactivationAndPreDestroyAsync=function(t,n,r){return Ot(this,void 0,void 0,function(){return Lt(this,function(i){switch(i.label){case 0:return typeof t.onDeactivation!="function"?[3,2]:[4,t.onDeactivation(n)];case 1:i.sent(),i.label=2;case 2:return[4,this._preDestroy(r,n)];case 3:return i.sent(),[2]}})})},e}();function Vp(e){for(var t=new Set,n=0,r=e;n<r.length;n++){var i=r[n];if(t.has(i))return i;t.add(i)}}function Hp(e){return e.prototype!==void 0}function Gp(e){if(e!==void 0)throw new Error(Cu)}function $u(e,t,n,r){Gp(t),Uu(yu,e,n.toString(),r)}function Kp(e,t,n){if(Hp(e))throw new Error(Cu);Uu(bu,e.constructor,t,n)}function Yp(e){var t=[];if(Array.isArray(e)){t=e;var n=Vp(t.map(function(r){return r.key}));if(n!==void 0)throw new Error(wu+" "+n.toString())}else t=[e];return t}function Uu(e,t,n,r){var i=Yp(r),s={};Reflect.hasOwnMetadata(e,t)&&(s=Reflect.getMetadata(e,t));var o=s[n];if(o===void 0)o=[];else for(var a=function(f){if(i.some(function(d){return d.key===f.key}))throw new Error(wu+" "+f.key.toString())},l=0,c=o;l<c.length;l++){var u=c[l];a(u)}o.push.apply(o,i),s[n]=o,Reflect.defineMetadata(e,s,t)}function ju(e){return function(t,n,r){typeof r=="number"?$u(t,n,r,e):Kp(t,n,e)}}function He(){return function(e){if(Reflect.hasOwnMetadata(fo,e))throw new Error(Ch);var t=Reflect.getMetadata(yh,e)||[];return Reflect.defineMetadata(fo,t,e),e}}function Wu(e){return ju(new fn(xt,e))}function Bu(e){return function(t){return function(n,r,i){if(t===void 0){var s=typeof n=="function"?n.name:n.constructor.name;throw new Error(kh(s))}return ju(new fn(e,t))(n,r,i)}}}var Qe=Bu(bs);function Vu(){return function(e,t,n){var r=new fn(ys,!0);$u(e,t,n,r)}}var zp=Bu(br),hl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oT(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}/*! *****************************************************************************
|
|
9
|
+
Copyright (C) Microsoft. All rights reserved.
|
|
10
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
11
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
12
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
|
|
14
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
15
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
16
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
17
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
18
|
+
|
|
19
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
20
|
+
and limitations under the License.
|
|
21
|
+
***************************************************************************** */var pl;(function(e){(function(t){var n=typeof globalThis=="object"?globalThis:typeof hl=="object"?hl:typeof self=="object"?self:typeof this=="object"?this:a(),r=i(e);typeof n.Reflect<"u"&&(r=i(n.Reflect,r)),t(r,n),typeof n.Reflect>"u"&&(n.Reflect=e);function i(l,c){return function(u,f){Object.defineProperty(l,u,{configurable:!0,writable:!0,value:f}),c&&c(u,f)}}function s(){try{return Function("return this;")()}catch{}}function o(){try{return(0,eval)("(function() { return this; })()")}catch{}}function a(){return s()||o()}})(function(t,n){var r=Object.prototype.hasOwnProperty,i=typeof Symbol=="function",s=i&&typeof Symbol.toPrimitive<"u"?Symbol.toPrimitive:"@@toPrimitive",o=i&&typeof Symbol.iterator<"u"?Symbol.iterator:"@@iterator",a=typeof Object.create=="function",l={__proto__:[]}instanceof Array,c=!a&&!l,u={create:a?function(){return Le(Object.create(null))}:l?function(){return Le({__proto__:null})}:function(){return Le({})},has:c?function(E,P){return r.call(E,P)}:function(E,P){return P in E},get:c?function(E,P){return r.call(E,P)?E[P]:void 0}:function(E,P){return E[P]}},f=Object.getPrototypeOf(Function),d=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:L(),g=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:ae(),v=typeof WeakMap=="function"?WeakMap:ce(),C=i?Symbol.for("@reflect-metadata:registry"):void 0,O=D(),x=X(O);function R(E,P,$,G){if(ee($)){if(!be(E))throw new TypeError;if(!_(P))throw new TypeError;return W(E,P)}else{if(!be(E))throw new TypeError;if(!Re(P))throw new TypeError;if(!Re(G)&&!ee(G)&&!at(G))throw new TypeError;return at(G)&&(G=void 0),$=J($),se(E,P,$,G)}}t("decorate",R);function w(E,P){function $(G,ue){if(!Re(G))throw new TypeError;if(!ee(ue)&&!h(ue))throw new TypeError;ye(E,P,G,ue)}return $}t("metadata",w);function I(E,P,$,G){if(!Re($))throw new TypeError;return ee(G)||(G=J(G)),ye(E,P,$,G)}t("defineMetadata",I);function A(E,P,$){if(!Re(P))throw new TypeError;return ee($)||($=J($)),Se(E,P,$)}t("hasMetadata",A);function b(E,P,$){if(!Re(P))throw new TypeError;return ee($)||($=J($)),xe(E,P,$)}t("hasOwnMetadata",b);function N(E,P,$){if(!Re(P))throw new TypeError;return ee($)||($=J($)),le(E,P,$)}t("getMetadata",N);function F(E,P,$){if(!Re(P))throw new TypeError;return ee($)||($=J($)),_e(E,P,$)}t("getOwnMetadata",F);function k(E,P){if(!Re(E))throw new TypeError;return ee(P)||(P=J(P)),dt(E,P)}t("getMetadataKeys",k);function K(E,P){if(!Re(E))throw new TypeError;return ee(P)||(P=J(P)),gt(E,P)}t("getOwnMetadataKeys",K);function ne(E,P,$){if(!Re(P))throw new TypeError;if(ee($)||($=J($)),!Re(P))throw new TypeError;ee($)||($=J($));var G=S(P,$,!1);return ee(G)?!1:G.OrdinaryDeleteMetadata(E,P,$)}t("deleteMetadata",ne);function W(E,P){for(var $=E.length-1;$>=0;--$){var G=E[$],ue=G(P);if(!ee(ue)&&!at(ue)){if(!_(ue))throw new TypeError;P=ue}}return P}function se(E,P,$,G){for(var ue=E.length-1;ue>=0;--ue){var Oe=E[ue],Ne=Oe(P,$,G);if(!ee(Ne)&&!at(Ne)){if(!Re(Ne))throw new TypeError;G=Ne}}return G}function Se(E,P,$){var G=xe(E,P,$);if(G)return!0;var ue=m(P);return at(ue)?!1:Se(E,ue,$)}function xe(E,P,$){var G=S(P,$,!1);return ee(G)?!1:q(G.OrdinaryHasOwnMetadata(E,P,$))}function le(E,P,$){var G=xe(E,P,$);if(G)return _e(E,P,$);var ue=m(P);if(!at(ue))return le(E,ue,$)}function _e(E,P,$){var G=S(P,$,!1);if(!ee(G))return G.OrdinaryGetOwnMetadata(E,P,$)}function ye(E,P,$,G){var ue=S($,G,!0);ue.OrdinaryDefineOwnMetadata(E,P,$,G)}function dt(E,P){var $=gt(E,P),G=m(E);if(G===null)return $;var ue=dt(G,P);if(ue.length<=0)return $;if($.length<=0)return ue;for(var Oe=new g,Ne=[],ve=0,Z=$;ve<Z.length;ve++){var te=Z[ve],re=Oe.has(te);re||(Oe.add(te),Ne.push(te))}for(var ie=0,Te=ue;ie<Te.length;ie++){var te=Te[ie],re=Oe.has(te);re||(Oe.add(te),Ne.push(te))}return Ne}function gt(E,P){var $=S(E,P,!1);return $?$.OrdinaryOwnMetadataKeys(E,P):[]}function Ge(E){if(E===null)return 1;switch(typeof E){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return E===null?1:6;default:return 6}}function ee(E){return E===void 0}function at(E){return E===null}function bt(E){return typeof E=="symbol"}function Re(E){return typeof E=="object"?E!==null:typeof E=="function"}function Je(E,P){switch(Ge(E)){case 0:return E;case 1:return E;case 2:return E;case 3:return E;case 4:return E;case 5:return E}var $="string",G=j(E,s);if(G!==void 0){var ue=G.call(E,$);if(Re(ue))throw new TypeError;return ue}return U(E)}function U(E,P){var $,G;{var ue=E.toString;if(Ie(ue)){var G=ue.call(E);if(!Re(G))return G}var $=E.valueOf;if(Ie($)){var G=$.call(E);if(!Re(G))return G}}throw new TypeError}function q(E){return!!E}function Y(E){return""+E}function J(E){var P=Je(E);return bt(P)?P:Y(P)}function be(E){return Array.isArray?Array.isArray(E):E instanceof Object?E instanceof Array:Object.prototype.toString.call(E)==="[object Array]"}function Ie(E){return typeof E=="function"}function _(E){return typeof E=="function"}function h(E){switch(Ge(E)){case 3:return!0;case 4:return!0;default:return!1}}function T(E,P){return E===P||E!==E&&P!==P}function j(E,P){var $=E[P];if($!=null){if(!Ie($))throw new TypeError;return $}}function M(E){var P=j(E,o);if(!Ie(P))throw new TypeError;var $=P.call(E);if(!Re($))throw new TypeError;return $}function V(E){return E.value}function z(E){var P=E.next();return P.done?!1:P}function p(E){var P=E.return;P&&P.call(E)}function m(E){var P=Object.getPrototypeOf(E);if(typeof E!="function"||E===f||P!==f)return P;var $=E.prototype,G=$&&Object.getPrototypeOf($);if(G==null||G===Object.prototype)return P;var ue=G.constructor;return typeof ue!="function"||ue===E?P:ue}function y(){var E;!ee(C)&&typeof n.Reflect<"u"&&!(C in n.Reflect)&&typeof n.Reflect.defineMetadata=="function"&&(E=B(n.Reflect));var P,$,G,ue=new v,Oe={registerProvider:Ne,getProvider:Z,setProvider:re};return Oe;function Ne(ie){if(!Object.isExtensible(Oe))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case E===ie:break;case ee(P):P=ie;break;case P===ie:break;case ee($):$=ie;break;case $===ie:break;default:G===void 0&&(G=new g),G.add(ie);break}}function ve(ie,Te){if(!ee(P)){if(P.isProviderFor(ie,Te))return P;if(!ee($)){if($.isProviderFor(ie,Te))return P;if(!ee(G))for(var Ke=M(G);;){var rt=z(Ke);if(!rt)return;var jt=V(rt);if(jt.isProviderFor(ie,Te))return p(Ke),jt}}}if(!ee(E)&&E.isProviderFor(ie,Te))return E}function Z(ie,Te){var Ke=ue.get(ie),rt;return ee(Ke)||(rt=Ke.get(Te)),ee(rt)&&(rt=ve(ie,Te),ee(rt)||(ee(Ke)&&(Ke=new d,ue.set(ie,Ke)),Ke.set(Te,rt))),rt}function te(ie){if(ee(ie))throw new TypeError;return P===ie||$===ie||!ee(G)&&G.has(ie)}function re(ie,Te,Ke){if(!te(Ke))throw new Error("Metadata provider not registered.");var rt=Z(ie,Te);if(rt!==Ke){if(!ee(rt))return!1;var jt=ue.get(ie);ee(jt)&&(jt=new d,ue.set(ie,jt)),jt.set(Te,Ke)}return!0}}function D(){var E;return!ee(C)&&Re(n.Reflect)&&Object.isExtensible(n.Reflect)&&(E=n.Reflect[C]),ee(E)&&(E=y()),!ee(C)&&Re(n.Reflect)&&Object.isExtensible(n.Reflect)&&Object.defineProperty(n.Reflect,C,{enumerable:!1,configurable:!1,writable:!1,value:E}),E}function X(E){var P=new v,$={isProviderFor:function(te,re){var ie=P.get(te);return ee(ie)?!1:ie.has(re)},OrdinaryDefineOwnMetadata:Ne,OrdinaryHasOwnMetadata:ue,OrdinaryGetOwnMetadata:Oe,OrdinaryOwnMetadataKeys:ve,OrdinaryDeleteMetadata:Z};return O.registerProvider($),$;function G(te,re,ie){var Te=P.get(te),Ke=!1;if(ee(Te)){if(!ie)return;Te=new d,P.set(te,Te),Ke=!0}var rt=Te.get(re);if(ee(rt)){if(!ie)return;if(rt=new d,Te.set(re,rt),!E.setProvider(te,re,$))throw Te.delete(re),Ke&&P.delete(te),new Error("Wrong provider for target.")}return rt}function ue(te,re,ie){var Te=G(re,ie,!1);return ee(Te)?!1:q(Te.has(te))}function Oe(te,re,ie){var Te=G(re,ie,!1);if(!ee(Te))return Te.get(te)}function Ne(te,re,ie,Te){var Ke=G(ie,Te,!0);Ke.set(te,re)}function ve(te,re){var ie=[],Te=G(te,re,!1);if(ee(Te))return ie;for(var Ke=Te.keys(),rt=M(Ke),jt=0;;){var rl=z(rt);if(!rl)return ie.length=jt,ie;var _h=V(rl);try{ie[jt]=_h}catch(vh){try{p(rt)}finally{throw vh}}jt++}}function Z(te,re,ie){var Te=G(re,ie,!1);if(ee(Te)||!Te.delete(te))return!1;if(Te.size===0){var Ke=P.get(re);ee(Ke)||(Ke.delete(ie),Ke.size===0&&P.delete(Ke))}return!0}}function B(E){var P=E.defineMetadata,$=E.hasOwnMetadata,G=E.getOwnMetadata,ue=E.getOwnMetadataKeys,Oe=E.deleteMetadata,Ne=new v,ve={isProviderFor:function(Z,te){var re=Ne.get(Z);return!ee(re)&&re.has(te)?!0:ue(Z,te).length?(ee(re)&&(re=new g,Ne.set(Z,re)),re.add(te),!0):!1},OrdinaryDefineOwnMetadata:P,OrdinaryHasOwnMetadata:$,OrdinaryGetOwnMetadata:G,OrdinaryOwnMetadataKeys:ue,OrdinaryDeleteMetadata:Oe};return ve}function S(E,P,$){var G=O.getProvider(E,P);if(!ee(G))return G;if($){if(O.setProvider(E,P,x))return x;throw new Error("Illegal state.")}}function L(){var E={},P=[],$=function(){function ve(Z,te,re){this._index=0,this._keys=Z,this._values=te,this._selector=re}return ve.prototype["@@iterator"]=function(){return this},ve.prototype[o]=function(){return this},ve.prototype.next=function(){var Z=this._index;if(Z>=0&&Z<this._keys.length){var te=this._selector(this._keys[Z],this._values[Z]);return Z+1>=this._keys.length?(this._index=-1,this._keys=P,this._values=P):this._index++,{value:te,done:!1}}return{value:void 0,done:!0}},ve.prototype.throw=function(Z){throw this._index>=0&&(this._index=-1,this._keys=P,this._values=P),Z},ve.prototype.return=function(Z){return this._index>=0&&(this._index=-1,this._keys=P,this._values=P),{value:Z,done:!0}},ve}(),G=function(){function ve(){this._keys=[],this._values=[],this._cacheKey=E,this._cacheIndex=-2}return Object.defineProperty(ve.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),ve.prototype.has=function(Z){return this._find(Z,!1)>=0},ve.prototype.get=function(Z){var te=this._find(Z,!1);return te>=0?this._values[te]:void 0},ve.prototype.set=function(Z,te){var re=this._find(Z,!0);return this._values[re]=te,this},ve.prototype.delete=function(Z){var te=this._find(Z,!1);if(te>=0){for(var re=this._keys.length,ie=te+1;ie<re;ie++)this._keys[ie-1]=this._keys[ie],this._values[ie-1]=this._values[ie];return this._keys.length--,this._values.length--,T(Z,this._cacheKey)&&(this._cacheKey=E,this._cacheIndex=-2),!0}return!1},ve.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=E,this._cacheIndex=-2},ve.prototype.keys=function(){return new $(this._keys,this._values,ue)},ve.prototype.values=function(){return new $(this._keys,this._values,Oe)},ve.prototype.entries=function(){return new $(this._keys,this._values,Ne)},ve.prototype["@@iterator"]=function(){return this.entries()},ve.prototype[o]=function(){return this.entries()},ve.prototype._find=function(Z,te){if(!T(this._cacheKey,Z)){this._cacheIndex=-1;for(var re=0;re<this._keys.length;re++)if(T(this._keys[re],Z)){this._cacheIndex=re;break}}return this._cacheIndex<0&&te&&(this._cacheIndex=this._keys.length,this._keys.push(Z),this._values.push(void 0)),this._cacheIndex},ve}();return G;function ue(ve,Z){return ve}function Oe(ve,Z){return Z}function Ne(ve,Z){return[ve,Z]}}function ae(){var E=function(){function P(){this._map=new d}return Object.defineProperty(P.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),P.prototype.has=function($){return this._map.has($)},P.prototype.add=function($){return this._map.set($,$),this},P.prototype.delete=function($){return this._map.delete($)},P.prototype.clear=function(){this._map.clear()},P.prototype.keys=function(){return this._map.keys()},P.prototype.values=function(){return this._map.keys()},P.prototype.entries=function(){return this._map.entries()},P.prototype["@@iterator"]=function(){return this.keys()},P.prototype[o]=function(){return this.keys()},P}();return E}function ce(){var E=16,P=u.create(),$=G();return function(){function Z(){this._key=G()}return Z.prototype.has=function(te){var re=ue(te,!1);return re!==void 0?u.has(re,this._key):!1},Z.prototype.get=function(te){var re=ue(te,!1);return re!==void 0?u.get(re,this._key):void 0},Z.prototype.set=function(te,re){var ie=ue(te,!0);return ie[this._key]=re,this},Z.prototype.delete=function(te){var re=ue(te,!1);return re!==void 0?delete re[this._key]:!1},Z.prototype.clear=function(){this._key=G()},Z}();function G(){var Z;do Z="@@WeakMap@@"+ve();while(u.has(P,Z));return P[Z]=!0,Z}function ue(Z,te){if(!r.call(Z,$)){if(!te)return;Object.defineProperty(Z,$,{value:u.create()})}return Z[$]}function Oe(Z,te){for(var re=0;re<te;++re)Z[re]=Math.random()*255|0;return Z}function Ne(Z){if(typeof Uint8Array=="function"){var te=new Uint8Array(Z);return typeof crypto<"u"?crypto.getRandomValues(te):typeof msCrypto<"u"?msCrypto.getRandomValues(te):Oe(te,Z),te}return Oe(new Array(Z),Z)}function ve(){var Z=Ne(E);Z[6]=Z[6]&79|64,Z[8]=Z[8]&191|128;for(var te="",re=0;re<E;++re){var ie=Z[re];(re===4||re===6||re===8)&&(te+="-"),ie<16&&(te+="0"),te+=ie.toString(16).toLowerCase()}return te}}function Le(E){return E.__=void 0,delete E.__,E}})})(pl||(pl={}));/**
|
|
22
|
+
* @vue/shared v3.4.29
|
|
23
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
24
|
+
* @license MIT
|
|
25
|
+
**//*! #__NO_SIDE_EFFECTS__ */function da(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const We={},pr=[],Dt=()=>{},Xp=()=>!1,Cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ha=e=>e.startsWith("onUpdate:"),et=Object.assign,pa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qp=Object.prototype.hasOwnProperty,Pe=(e,t)=>qp.call(e,t),oe=Array.isArray,gr=e=>_i(e)==="[object Map]",Ts=e=>_i(e)==="[object Set]",gl=e=>_i(e)==="[object Date]",pe=e=>typeof e=="function",Ze=e=>typeof e=="string",dn=e=>typeof e=="symbol",Ue=e=>e!==null&&typeof e=="object",ga=e=>(Ue(e)||pe(e))&&pe(e.then)&&pe(e.catch),Hu=Object.prototype.toString,_i=e=>Hu.call(e),Jp=e=>_i(e).slice(8,-1),Gu=e=>_i(e)==="[object Object]",ma=e=>Ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hr=da(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ss=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Qp=/-(\w)/g,Gt=Ss(e=>e.replace(Qp,(t,n)=>n?n.toUpperCase():"")),Zp=/\B([A-Z])/g,$n=Ss(e=>e.replace(Zp,"-$1").toLowerCase()),As=Ss(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ks=Ss(e=>e?`on${As(e)}`:""),en=(e,t)=>!Object.is(e,t),Hi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ku=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Yu=e=>{const t=Ze(e)?Number(e):NaN;return isNaN(t)?e:t};let ml;const zu=()=>ml||(ml=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=Ze(r)?rg(r):Is(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(Ze(e)||Ue(e))return e}const eg=/;(?![^(]*\))/g,tg=/:([^]+)/,ng=/\/\*[^]*?\*\//g;function rg(e){const t={};return e.replace(ng,"").split(eg).forEach(n=>{if(n){const r=n.split(tg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Un(e){let t="";if(Ze(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=Un(e[n]);r&&(t+=r+" ")}else if(Ue(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function aT(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ze(t)&&(e.class=Un(t)),n&&(e.style=Is(n)),e}const ig="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sg=da(ig);function Xu(e){return!!e||e===""}function og(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ks(e[r],t[r]);return n}function ks(e,t){if(e===t)return!0;let n=gl(e),r=gl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=dn(e),r=dn(t),n||r)return e===t;if(n=oe(e),r=oe(t),n||r)return n&&r?og(e,t):!1;if(n=Ue(e),r=Ue(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!ks(e[o],t[o]))return!1}}return String(e)===String(t)}function ag(e,t){return e.findIndex(n=>ks(n,t))}const $t=e=>Ze(e)?e:e==null?"":oe(e)||Ue(e)&&(e.toString===Hu||!pe(e.toString))?JSON.stringify(e,qu,2):String(e),qu=(e,t)=>t&&t.__v_isRef?qu(e,t.value):gr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Ys(r,s)+" =>"]=i,n),{})}:Ts(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ys(n))}:dn(t)?Ys(t):Ue(t)&&!oe(t)&&!Gu(t)?String(t):t,Ys=(e,t="")=>{var n;return dn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
26
|
+
* @vue/reactivity v3.4.29
|
|
27
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
28
|
+
* @license MIT
|
|
29
|
+
**/let kt;class Ju{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function _a(e){return new Ju(e)}function lg(e,t=kt){t&&t.active&&t.effects.push(e)}function Qu(){return kt}function cg(e){kt&&kt.cleanups.push(e)}let Zn;class va{constructor(t,n,r,i){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,lg(this,i)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,jn();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return!0;if(ug(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),Wn()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=xn,n=Zn;try{return xn=!0,Zn=this,this._runnings++,_l(this),this.fn()}finally{vl(this),this._runnings--,Zn=n,xn=t}}stop(){this.active&&(_l(this),vl(this),this.onStop&&this.onStop(),this.active=!1)}}function ug(e){return e.value}function _l(e){e._trackId++,e._depsLength=0}function vl(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Zu(e.deps[t],e);e.deps.length=e._depsLength}}function Zu(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let xn=!0,go=0;const ef=[];function jn(){ef.push(xn),xn=!1}function Wn(){const e=ef.pop();xn=e===void 0?!0:e}function ya(){go++}function ba(){for(go--;!go&&mo.length;)mo.shift()()}function tf(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Zu(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const mo=[];function nf(e,t,n){ya();for(const r of e.keys()){if(!e.computed&&r.computed&&e.get(r)===r._trackId&&r._runnings>0){r._dirtyLevel=2;continue}let i;r._dirtyLevel<t&&(i??(i=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(i??(i=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&mo.push(r.scheduler)))}ba()}const rf=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ns=new WeakMap,er=Symbol(""),_o=Symbol("");function It(e,t,n){if(xn&&Zn){let r=ns.get(e);r||ns.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=rf(()=>r.delete(n))),tf(Zn,i)}}function un(e,t,n,r,i,s){const o=ns.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&oe(e)){const l=Number(r);o.forEach((c,u)=>{(u==="length"||!dn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":oe(e)?ma(n)&&a.push(o.get("length")):(a.push(o.get(er)),gr(e)&&a.push(o.get(_o)));break;case"delete":oe(e)||(a.push(o.get(er)),gr(e)&&a.push(o.get(_o)));break;case"set":gr(e)&&a.push(o.get(er));break}ya();for(const l of a)l&&nf(l,5);ba()}function fg(e,t){const n=ns.get(e);return n&&n.get(t)}const dg=da("__proto__,__v_isRef,__isVue"),sf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(dn)),yl=hg();function hg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ae(this);for(let s=0,o=this.length;s<o;s++)It(r,"get",s+"");const i=r[t](...n);return i===-1||i===!1?r[t](...n.map(Ae)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){jn(),ya();const r=Ae(this)[t].apply(this,n);return ba(),Wn(),r}}),e}function pg(e){dn(e)||(e=String(e));const t=Ae(this);return It(t,"has",e),t.hasOwnProperty(e)}class of{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Ig:uf:s?cf:lf).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=oe(t);if(!i){if(o&&Pe(yl,n))return Reflect.get(yl,n,r);if(n==="hasOwnProperty")return pg}const a=Reflect.get(t,n,r);return(dn(n)?sf.has(n):dg(n))||(i||It(t,"get",n),s)?a:tt(a)?o&&ma(n)?a:a.value:Ue(a)?i?df(a):vi(a):a}}class af extends of{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];if(!this._isShallow){const l=ni(s);if(!rs(r)&&!ni(r)&&(s=Ae(s),r=Ae(r)),!oe(t)&&tt(s)&&!tt(r))return l?!1:(s.value=r,!0)}const o=oe(t)&&ma(n)?Number(n)<t.length:Pe(t,n),a=Reflect.set(t,n,r,i);return t===Ae(i)&&(o?en(r,s)&&un(t,"set",n,r):un(t,"add",n,r)),a}deleteProperty(t,n){const r=Pe(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&un(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!dn(n)||!sf.has(n))&&It(t,"has",n),r}ownKeys(t){return It(t,"iterate",oe(t)?"length":er),Reflect.ownKeys(t)}}class gg extends of{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const mg=new af,_g=new gg,vg=new af(!0);const wa=e=>e,Ps=e=>Reflect.getPrototypeOf(e);function Pi(e,t,n=!1,r=!1){e=e.__v_raw;const i=Ae(e),s=Ae(t);n||(en(t,s)&&It(i,"get",t),It(i,"get",s));const{has:o}=Ps(i),a=r?wa:n?Ta:ri;if(o.call(i,t))return a(e.get(t));if(o.call(i,s))return a(e.get(s));e!==i&&e.get(t)}function xi(e,t=!1){const n=this.__v_raw,r=Ae(n),i=Ae(e);return t||(en(e,i)&&It(r,"has",e),It(r,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Oi(e,t=!1){return e=e.__v_raw,!t&&It(Ae(e),"iterate",er),Reflect.get(e,"size",e)}function bl(e){e=Ae(e);const t=Ae(this);return Ps(t).has.call(t,e)||(t.add(e),un(t,"add",e,e)),this}function wl(e,t){t=Ae(t);const n=Ae(this),{has:r,get:i}=Ps(n);let s=r.call(n,e);s||(e=Ae(e),s=r.call(n,e));const o=i.call(n,e);return n.set(e,t),s?en(t,o)&&un(n,"set",e,t):un(n,"add",e,t),this}function El(e){const t=Ae(this),{has:n,get:r}=Ps(t);let i=n.call(t,e);i||(e=Ae(e),i=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return i&&un(t,"delete",e,void 0),s}function Cl(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&un(e,"clear",void 0,void 0),n}function Li(e,t){return function(r,i){const s=this,o=s.__v_raw,a=Ae(o),l=t?wa:e?Ta:ri;return!e&&It(a,"iterate",er),o.forEach((c,u)=>r.call(i,l(c),l(u),s))}}function Ri(e,t,n){return function(...r){const i=this.__v_raw,s=Ae(i),o=gr(s),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...r),u=n?wa:t?Ta:ri;return!t&&It(s,"iterate",l?_o:er),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function mn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yg(){const e={get(s){return Pi(this,s)},get size(){return Oi(this)},has:xi,add:bl,set:wl,delete:El,clear:Cl,forEach:Li(!1,!1)},t={get(s){return Pi(this,s,!1,!0)},get size(){return Oi(this)},has:xi,add:bl,set:wl,delete:El,clear:Cl,forEach:Li(!1,!0)},n={get(s){return Pi(this,s,!0)},get size(){return Oi(this,!0)},has(s){return xi.call(this,s,!0)},add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear"),forEach:Li(!0,!1)},r={get(s){return Pi(this,s,!0,!0)},get size(){return Oi(this,!0)},has(s){return xi.call(this,s,!0)},add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear"),forEach:Li(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Ri(s,!1,!1),n[s]=Ri(s,!0,!1),t[s]=Ri(s,!1,!0),r[s]=Ri(s,!0,!0)}),[e,n,t,r]}const[bg,wg,Eg,Cg]=yg();function Ea(e,t){const n=t?e?Cg:Eg:e?wg:bg;return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(Pe(n,i)&&i in r?n:r,i,s)}const Tg={get:Ea(!1,!1)},Sg={get:Ea(!1,!0)},Ag={get:Ea(!0,!1)};const lf=new WeakMap,cf=new WeakMap,uf=new WeakMap,Ig=new WeakMap;function kg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Pg(e){return e.__v_skip||!Object.isExtensible(e)?0:kg(Jp(e))}function vi(e){return ni(e)?e:Ca(e,!1,mg,Tg,lf)}function ff(e){return Ca(e,!1,vg,Sg,cf)}function df(e){return Ca(e,!0,_g,Ag,uf)}function Ca(e,t,n,r,i){if(!Ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const o=Pg(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return i.set(e,a),a}function On(e){return ni(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function ni(e){return!!(e&&e.__v_isReadonly)}function rs(e){return!!(e&&e.__v_isShallow)}function hf(e){return e?!!e.__v_raw:!1}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function xs(e){return Object.isExtensible(e)&&Ku(e,"__v_skip",!0),e}const ri=e=>Ue(e)?vi(e):e,Ta=e=>Ue(e)?df(e):e;class pf{constructor(t,n,r,i){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new va(()=>t(this._value),()=>Gr(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const t=Ae(this);return(!t._cacheable||t.effect.dirty)&&en(t._value,t._value=t.effect.run())&&Gr(t,5),Sa(t),t.effect._dirtyLevel>=2&&Gr(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function xg(e,t,n=!1){let r,i;const s=pe(e);return s?(r=e,i=Dt):(r=e.get,i=e.set),new pf(r,i,s||!i,n)}function Sa(e){var t;xn&&Zn&&(e=Ae(e),tf(Zn,(t=e.dep)!=null?t:e.dep=rf(()=>e.dep=void 0,e instanceof pf?e:void 0)))}function Gr(e,t=5,n,r){e=Ae(e);const i=e.dep;i&&nf(i,t)}function tt(e){return!!(e&&e.__v_isRef===!0)}function ke(e){return gf(e,!1)}function yi(e){return gf(e,!0)}function gf(e,t){return tt(e)?e:new Og(e,t)}class Og{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:ri(t)}get value(){return Sa(this),this._value}set value(t){const n=this.__v_isShallow||rs(t)||ni(t);t=n?t:Ae(t),en(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:ri(t),Gr(this,5))}}function Ee(e){return tt(e)?e.value:e}const Lg={get:(e,t,n)=>Ee(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return tt(i)&&!tt(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function mf(e){return On(e)?e:new Proxy(e,Lg)}class Rg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Sa(this),()=>Gr(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Ng(e){return new Rg(e)}function Mg(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=_f(e,n);return t}class Dg{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return fg(Ae(this._object),this._key)}}class Fg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function $g(e,t,n){return tt(e)?e:pe(e)?new Fg(e):Ue(e)&&arguments.length>1?_f(e,t,n):ke(e)}function _f(e,t,n){const r=e[t];return tt(r)?r:new Dg(e,t,n)}/**
|
|
30
|
+
* @vue/runtime-core v3.4.29
|
|
31
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
32
|
+
* @license MIT
|
|
33
|
+
**/function Ln(e,t,n,r){try{return r?e(...r):e()}catch(i){Or(i,t,n)}}function Ut(e,t,n,r){if(pe(e)){const i=Ln(e,t,n,r);return i&&ga(i)&&i.catch(s=>{Or(s,t,n)}),i}if(oe(e)){const i=[];for(let s=0;s<e.length;s++)i.push(Ut(e[s],t,n,r));return i}}function Or(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let s=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,o,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){jn(),Ln(l,null,10,[e,o,a]),Wn();return}}Ug(e,n,i,r)}function Ug(e,t,n,r=!0){console.error(e)}let ii=!1,vo=!1;const vt=[];let Xt=0;const mr=[];let Tn=null,Jn=0;const vf=Promise.resolve();let Aa=null;function Os(e){const t=Aa||vf;return e?t.then(this?e.bind(this):e):t}function jg(e){let t=Xt+1,n=vt.length;for(;t<n;){const r=t+n>>>1,i=vt[r],s=si(i);s<e||s===e&&i.pre?t=r+1:n=r}return t}function Ls(e){(!vt.length||!vt.includes(e,ii&&e.allowRecurse?Xt+1:Xt))&&(e.id==null?vt.push(e):vt.splice(jg(e.id),0,e),yf())}function yf(){!ii&&!vo&&(vo=!0,Aa=vf.then(wf))}function Wg(e){const t=vt.indexOf(e);t>Xt&&vt.splice(t,1)}function yo(e){oe(e)?mr.push(...e):(!Tn||!Tn.includes(e,e.allowRecurse?Jn+1:Jn))&&mr.push(e),yf()}function Tl(e,t,n=ii?Xt+1:0){for(;n<vt.length;n++){const r=vt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;vt.splice(n,1),n--,r()}}}function bf(e){if(mr.length){const t=[...new Set(mr)].sort((n,r)=>si(n)-si(r));if(mr.length=0,Tn){Tn.push(...t);return}for(Tn=t,Jn=0;Jn<Tn.length;Jn++){const n=Tn[Jn];n.active!==!1&&n()}Tn=null,Jn=0}}const si=e=>e.id==null?1/0:e.id,Bg=(e,t)=>{const n=si(e)-si(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wf(e){vo=!1,ii=!0,vt.sort(Bg);try{for(Xt=0;Xt<vt.length;Xt++){const t=vt[Xt];t&&t.active!==!1&&Ln(t,null,14)}}finally{Xt=0,vt.length=0,bf(),ii=!1,Aa=null,(vt.length||mr.length)&&wf()}}function Vg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||We;let i=n;const s=t.startsWith("update:"),o=s&&t.slice(7);if(o&&o in r){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[u]||We;d&&(i=n.map(g=>Ze(g)?g.trim():g)),f&&(i=n.map(ts))}let a,l=r[a=Ks(t)]||r[a=Ks(Gt(t))];!l&&s&&(l=r[a=Ks($n(t))]),l&&Ut(l,e,6,i);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ut(c,e,6,i)}}function Ef(e,t,n=!1){const r=t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!pe(e)){const l=c=>{const u=Ef(c,t,!0);u&&(a=!0,et(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(Ue(e)&&r.set(e,null),null):(oe(s)?s.forEach(l=>o[l]=null):et(o,s),Ue(e)&&r.set(e,o),o)}function Rs(e,t){return!e||!Cs(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,$n(t))||Pe(e,t))}let ut=null,Ns=null;function is(e){const t=ut;return ut=e,Ns=e&&e.type.__scopeId||null,t}function Cf(e){Ns=e}function Tf(){Ns=null}function ht(e,t=ut,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&jl(-1);const s=is(t);let o;try{o=e(...i)}finally{is(s),r._d&&jl(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function zs(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:g,ctx:v,inheritAttrs:C}=e,O=is(e);let x,R;try{if(n.shapeFlag&4){const I=i||r,A=I;x=Bt(c.call(A,I,u,f,g,d,v)),R=a}else{const I=t;x=Bt(I.length>1?I(f,{attrs:a,slots:o,emit:l}):I(f,null)),R=t.props?a:Gg(a)}}catch(I){Xr.length=0,Or(I,e,1),x=H(yt)}let w=x;if(R&&C!==!1){const I=Object.keys(R),{shapeFlag:A}=w;I.length&&A&7&&(s&&I.some(ha)&&(R=Kg(R,s)),w=Mn(w,R,!1,!0))}return n.dirs&&(w=Mn(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),x=w,is(O),x}function Hg(e,t=!0){let n;for(let r=0;r<e.length;r++){const i=e[r];if(ci(i)){if(i.type!==yt||i.children==="v-if"){if(n)return;n=i}}else return}return n}const Gg=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cs(n))&&((t||(t={}))[n]=e[n]);return t},Kg=(e,t)=>{const n={};for(const r in e)(!ha(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Yg(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Sl(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(o[d]!==r[d]&&!Rs(c,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Sl(r,o,c):!0:!!o;return!1}function Sl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!Rs(n,s))return!0}return!1}function Ia({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const ka="components",zg="directives";function Xe(e,t){return Pa(ka,e,!0,t)||e}const Sf=Symbol.for("v-ndc");function Ms(e){return Ze(e)?Pa(ka,e,!1)||e:e||Sf}function lT(e){return Pa(zg,e)}function Pa(e,t,n=!0,r=!1){const i=ut||lt;if(i){const s=i.type;if(e===ka){const a=Ym(s,!1);if(a&&(a===t||a===Gt(t)||a===As(Gt(t))))return s}const o=Al(i[e]||s[e],t)||Al(i.appContext[e],t);return!o&&r?s:o}}function Al(e,t){return e&&(e[t]||e[Gt(t)]||e[As(Gt(t))])}const Xg=e=>e.__isSuspense;let bo=0;const qg={name:"Suspense",__isSuspense:!0,process(e,t,n,r,i,s,o,a,l,c){if(e==null)Jg(t,n,r,i,s,o,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Qg(e,t,n,r,i,o,a,l,c)}},hydrate:Zg,create:xa,normalize:em},Il=qg;function oi(e,t){const n=e.props&&e.props[t];pe(n)&&n()}function Jg(e,t,n,r,i,s,o,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=xa(e,i,r,t,f,n,s,o,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,o),d.deps>0?(oi(e,"onPending"),oi(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,o),_r(d,e.ssFallback)):d.resolve(!1,!0)}function Qg(e,t,n,r,i,s,o,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,g=t.ssFallback,{activeBranch:v,pendingBranch:C,isInFallback:O,isHydrating:x}=f;if(C)f.pendingBranch=d,qt(d,C)?(l(C,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():O&&(x||(l(v,g,n,r,i,null,s,o,a),_r(f,g)))):(f.pendingId=bo++,x?(f.isHydrating=!1,f.activeBranch=C):c(C,i,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),O?(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0?f.resolve():(l(v,g,n,r,i,null,s,o,a),_r(f,g))):v&&qt(d,v)?(l(v,d,n,r,i,f,s,o,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0&&f.resolve()));else if(v&&qt(d,v))l(v,d,n,r,i,f,s,o,a),_r(f,d);else if(oi(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=bo++,l(null,d,f.hiddenContainer,null,i,f,s,o,a),f.deps<=0)f.resolve();else{const{timeout:R,pendingId:w}=f;R>0?setTimeout(()=>{f.pendingId===w&&f.fallback(g)},R):R===0&&f.fallback(g)}}function xa(e,t,n,r,i,s,o,a,l,c,u=!1){const{p:f,m:d,um:g,n:v,o:{parentNode:C,remove:O}}=c;let x;const R=nm(e);R&&t&&t.pendingBranch&&(x=t.pendingId,t.deps++);const w=e.props?Yu(e.props.timeout):void 0,I=s,A={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:bo++,timeout:typeof w=="number"?w:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(b=!1,N=!1){const{vnode:F,activeBranch:k,pendingBranch:K,pendingId:ne,effects:W,parentComponent:se,container:Se}=A;let xe=!1;A.isHydrating?A.isHydrating=!1:b||(xe=k&&K.transition&&K.transition.mode==="out-in",xe&&(k.transition.afterLeave=()=>{ne===A.pendingId&&(d(K,Se,s===I?v(k):s,0),yo(W))}),k&&(C(k.el)!==A.hiddenContainer&&(s=v(k)),g(k,se,A,!0)),xe||d(K,Se,s,0)),_r(A,K),A.pendingBranch=null,A.isInFallback=!1;let le=A.parent,_e=!1;for(;le;){if(le.pendingBranch){le.effects.push(...W),_e=!0;break}le=le.parent}!_e&&!xe&&yo(W),A.effects=[],R&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!N&&t.resolve()),oi(F,"onResolve")},fallback(b){if(!A.pendingBranch)return;const{vnode:N,activeBranch:F,parentComponent:k,container:K,namespace:ne}=A;oi(N,"onFallback");const W=v(F),se=()=>{A.isInFallback&&(f(null,b,K,W,k,null,ne,a,l),_r(A,b))},Se=b.transition&&b.transition.mode==="out-in";Se&&(F.transition.afterLeave=se),A.isInFallback=!0,g(F,k,null,!0),Se||se()},move(b,N,F){A.activeBranch&&d(A.activeBranch,b,N,F),A.container=b},next(){return A.activeBranch&&v(A.activeBranch)},registerDep(b,N,F){const k=!!A.pendingBranch;k&&A.deps++;const K=b.vnode.el;b.asyncDep.catch(ne=>{Or(ne,b,0)}).then(ne=>{if(b.isUnmounted||A.isUnmounted||A.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:W}=b;xo(b,ne,!1),K&&(W.el=K);const se=!K&&b.subTree.el;N(b,W,C(K||b.subTree.el),K?null:v(b.subTree),A,o,F),se&&O(se),Ia(b,W.el),k&&--A.deps===0&&A.resolve()})},unmount(b,N){A.isUnmounted=!0,A.activeBranch&&g(A.activeBranch,n,b,N),A.pendingBranch&&g(A.pendingBranch,n,b,N)}};return A}function Zg(e,t,n,r,i,s,o,a,l){const c=t.suspense=xa(t,r,n,e.parentNode,document.createElement("div"),null,i,s,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,o);return c.deps===0&&c.resolve(!1,!0),u}function em(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=kl(r?n.default:n),e.ssFallback=r?kl(n.fallback):H(yt)}function kl(e){let t;if(pe(e)){const n=Cr&&e._c;n&&(e._d=!1,fe()),e=e(),n&&(e._d=!0,t=Ft,zf())}return oe(e)&&(e=Hg(e)),e=Bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function tm(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):yo(e)}function _r(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Ia(r,i))}function nm(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}function Ds(e,t,n=lt,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{jn();const a=tr(n),l=Ut(t,n,e,o);return a(),Wn(),l});return r?i.unshift(s):i.push(s),s}}const gn=e=>(t,n=lt)=>{(!Ci||e==="sp")&&Ds(e,(...r)=>t(...r),n)},Oa=gn("bm"),Bn=gn("m"),rm=gn("bu"),La=gn("u"),Af=gn("bum"),Lr=gn("um"),im=gn("sp"),sm=gn("rtg"),om=gn("rtc");function am(e,t=lt){Ds("ec",e,t)}function cT(e,t){if(ut===null)return e;const n=Fs(ut),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,l=We]=t[i];s&&(pe(s)&&(s={mounted:s,updated:s}),s.deep&&kn(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function Gn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(jn(),Ut(l,n,8,[e.el,a,e,t]),Wn())}}function ai(e,t,n,r){let i;const s=n;if(oe(e)||Ze(e)){i=new Array(e.length);for(let o=0,a=e.length;o<a;o++)i[o]=t(e[o],o,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let o=0;o<e;o++)i[o]=t(o+1,o,void 0,s)}else if(Ue(e))if(e[Symbol.iterator])i=Array.from(e,(o,a)=>t(o,a,void 0,s));else{const o=Object.keys(e);i=new Array(o.length);for(let a=0,l=o.length;a<l;a++){const c=o[a];i[a]=t(e[c],c,a,s)}}else i=[];return i}/*! #__NO_SIDE_EFFECTS__ */function nt(e,t){return pe(e)?et({name:e.name},t,{setup:e}):e}const Kr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function uT(e){pe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,timeout:s,suspensible:o=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let g;return l||(g=l=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),a)return new Promise((C,O)=>{a(v,()=>C(f()),()=>O(v),u+1)});throw v}).then(v=>g!==l&&l?l:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),c=v,v)))};return nt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const g=lt;if(c)return()=>Xs(c,g);const v=R=>{l=null,Or(R,g,13,!r)};if(o&&g.suspense||Ci)return d().then(R=>()=>Xs(R,g)).catch(R=>(v(R),()=>r?H(r,{error:R}):null));const C=ke(!1),O=ke(),x=ke(!!i);return i&&setTimeout(()=>{x.value=!1},i),s!=null&&setTimeout(()=>{if(!C.value&&!O.value){const R=new Error(`Async component timed out after ${s}ms.`);v(R),O.value=R}},s),d().then(()=>{C.value=!0,g.parent&&wi(g.parent.vnode)&&(g.parent.effect.dirty=!0,Ls(g.parent.update))}).catch(R=>{v(R),O.value=R}),()=>{if(C.value&&c)return Xs(c,g);if(O.value&&r)return H(r,{error:O.value});if(n&&!x.value)return H(n)}}})}function Xs(e,t){const{ref:n,props:r,children:i,ce:s}=t.vnode,o=H(e,r,i);return o.ref=n,o.ce=s,delete t.vnode.ce,o}function If(e,t,n={},r,i){if(ut.isCE||ut.parent&&Kr(ut.parent)&&ut.parent.isCE)return t!=="default"&&(n.name=t),H("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),fe();const o=s&&kf(s(n)),a=Ct(ze,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return!i&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function kf(e){return e.some(t=>ci(t)?!(t.type===yt||t.type===ze&&!kf(t.children)):!0)?e:null}const wo=e=>e?Qf(e)?Fs(e):wo(e.parent):null,Yr=et(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=>wo(e.parent),$root:e=>wo(e.root),$emit:e=>e.emit,$options:e=>Na(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ls(e.update)}),$nextTick:e=>e.n||(e.n=Os.bind(e.proxy)),$watch:e=>xm.bind(e)}),qs=(e,t)=>e!==We&&!e.__isScriptSetup&&Pe(e,t),lm={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(qs(r,t))return o[t]=1,r[t];if(i!==We&&Pe(i,t))return o[t]=2,i[t];if((c=e.propsOptions[0])&&Pe(c,t))return o[t]=3,s[t];if(n!==We&&Pe(n,t))return o[t]=4,n[t];Eo&&(o[t]=0)}}const u=Yr[t];let f,d;if(u)return t==="$attrs"&&It(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==We&&Pe(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,Pe(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return qs(i,t)?(i[t]=n,!0):r!==We&&Pe(r,t)?(r[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,propsOptions:s}},o){let a;return!!n[o]||e!==We&&Pe(e,o)||qs(t,o)||(a=s[0])&&Pe(a,o)||Pe(r,o)||Pe(Yr,o)||Pe(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fT(){return Pf().slots}function dT(){return Pf().attrs}function Pf(){const e=Kt();return e.setupContext||(e.setupContext=ed(e))}function ss(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function hT(e,t){return!e||!t?e||t:oe(e)&&oe(t)?e.concat(t):et({},ss(e),ss(t))}function Ra(e){const t=Kt();let n=e();return Po(),ga(n)&&(n=n.catch(r=>{throw tr(t),r})),[n,()=>tr(t)]}let Eo=!0;function cm(e){const t=Na(e),n=e.proxy,r=e.ctx;Eo=!1,t.beforeCreate&&Pl(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:g,updated:v,activated:C,deactivated:O,beforeDestroy:x,beforeUnmount:R,destroyed:w,unmounted:I,render:A,renderTracked:b,renderTriggered:N,errorCaptured:F,serverPrefetch:k,expose:K,inheritAttrs:ne,components:W,directives:se,filters:Se}=t;if(c&&um(c,r,null),o)for(const _e in o){const ye=o[_e];pe(ye)&&(r[_e]=ye.bind(n))}if(i){const _e=i.call(n,n);Ue(_e)&&(e.data=vi(_e))}if(Eo=!0,s)for(const _e in s){const ye=s[_e],dt=pe(ye)?ye.bind(n,n):pe(ye.get)?ye.get.bind(n,n):Dt,gt=!pe(ye)&&pe(ye.set)?ye.set.bind(n):Dt,Ge=Ve({get:dt,set:gt});Object.defineProperty(r,_e,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:ee=>Ge.value=ee})}if(a)for(const _e in a)xf(a[_e],r,n,_e);if(l){const _e=pe(l)?l.call(n):l;Reflect.ownKeys(_e).forEach(ye=>{Gi(ye,_e[ye])})}u&&Pl(u,e,"c");function le(_e,ye){oe(ye)?ye.forEach(dt=>_e(dt.bind(n))):ye&&_e(ye.bind(n))}if(le(Oa,f),le(Bn,d),le(rm,g),le(La,v),le(Om,C),le(Lm,O),le(am,F),le(om,b),le(sm,N),le(Af,R),le(Lr,I),le(im,k),oe(K))if(K.length){const _e=e.exposed||(e.exposed={});K.forEach(ye=>{Object.defineProperty(_e,ye,{get:()=>n[ye],set:dt=>n[ye]=dt})})}else e.exposed||(e.exposed={});A&&e.render===Dt&&(e.render=A),ne!=null&&(e.inheritAttrs=ne),W&&(e.components=W),se&&(e.directives=se)}function um(e,t,n=Dt){oe(e)&&(e=Co(e));for(const r in e){const i=e[r];let s;Ue(i)?"default"in i?s=$e(i.from||r,i.default,!0):s=$e(i.from||r):s=$e(i),tt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function Pl(e,t,n){Ut(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function xf(e,t,n,r){const i=r.includes(".")?Wf(n,r):()=>n[r];if(Ze(e)){const s=t[e];pe(s)&&Ht(i,s)}else if(pe(e))Ht(i,e.bind(n));else if(Ue(e))if(oe(e))e.forEach(s=>xf(s,t,n,r));else{const s=pe(e.handler)?e.handler.bind(n):t[e.handler];pe(s)&&Ht(i,s,e)}}function Na(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let l;return a?l=a:!i.length&&!n&&!r?l=t:(l={},i.length&&i.forEach(c=>os(l,c,o,!0)),os(l,t,o)),Ue(t)&&s.set(t,l),l}function os(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&os(e,s,n,!0),i&&i.forEach(o=>os(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=fm[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const fm={data:xl,props:Ol,emits:Ol,methods:Br,computed:Br,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Br,directives:Br,watch:hm,provide:xl,inject:dm};function xl(e,t){return t?e?function(){return et(pe(e)?e.call(this,this):e,pe(t)?t.call(this,this):t)}:t:e}function dm(e,t){return Br(Co(e),Co(t))}function Co(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function wt(e,t){return e?[...new Set([].concat(e,t))]:t}function Br(e,t){return e?et(Object.create(null),e,t):t}function Ol(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:et(Object.create(null),ss(e),ss(t??{})):t}function hm(e,t){if(!e)return t;if(!t)return e;const n=et(Object.create(null),e);for(const r in t)n[r]=wt(e[r],t[r]);return n}function Of(){return{app:null,config:{isNativeTag:Xp,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 pm=0;function gm(e,t){return function(r,i=null){pe(r)||(r=et({},r)),i!=null&&!Ue(i)&&(i=null);const s=Of(),o=new WeakSet;let a=!1;const l=s.app={_uid:pm++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:Xm,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&pe(c.install)?(o.add(c),c.install(l,...u)):pe(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=H(r,i);return d.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Fs(d.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){const u=vr;vr=l;try{return c()}finally{vr=u}}};return l}}let vr=null;function Gi(e,t){if(lt){let n=lt.provides;const r=lt.parent&<.parent.provides;r===n&&(n=lt.provides=Object.create(r)),n[e]=t}}function $e(e,t,n=!1){const r=lt||ut;if(r||vr){const i=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:vr._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&pe(t)?t.call(r&&r.proxy):t}}function mm(){return!!(lt||ut||vr)}const Lf={},Rf=()=>Object.create(Lf),Nf=e=>Object.getPrototypeOf(e)===Lf;function _m(e,t,n,r=!1){const i={},s=Rf();e.propsDefaults=Object.create(null),Mf(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:ff(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function vm(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=Ae(i),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Rs(e.emitsOptions,d))continue;const g=t[d];if(l)if(Pe(s,d))g!==s[d]&&(s[d]=g,c=!0);else{const v=Gt(d);i[v]=To(l,a,v,g,e,!1)}else g!==s[d]&&(s[d]=g,c=!0)}}}else{Mf(e,t,i,s)&&(c=!0);let u;for(const f in a)(!t||!Pe(t,f)&&((u=$n(f))===f||!Pe(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=To(l,a,f,void 0,e,!0)):delete i[f]);if(s!==a)for(const f in s)(!t||!Pe(t,f))&&(delete s[f],c=!0)}c&&un(e.attrs,"set","")}function Mf(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Hr(l))continue;const c=t[l];let u;i&&Pe(i,u=Gt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Rs(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(s){const l=Ae(n),c=a||We;for(let u=0;u<s.length;u++){const f=s[u];n[f]=To(i,l,f,c[f],e,!Pe(c,f))}}return o}function To(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=Pe(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&pe(l)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const u=tr(i);r=c[n]=l.call(null,t),u()}}else r=l}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===$n(n))&&(r=!0))}return r}function Df(e,t,n=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let l=!1;if(!pe(e)){const u=f=>{l=!0;const[d,g]=Df(f,t,!0);et(o,d),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return Ue(e)&&r.set(e,pr),pr;if(oe(s))for(let u=0;u<s.length;u++){const f=Gt(s[u]);Ll(f)&&(o[f]=We)}else if(s)for(const u in s){const f=Gt(u);if(Ll(f)){const d=s[u],g=o[f]=oe(d)||pe(d)?{type:d}:et({},d);if(g){const v=Ml(Boolean,g.type),C=Ml(String,g.type);g[0]=v>-1,g[1]=C<0||v<C,(v>-1||Pe(g,"default"))&&a.push(f)}}}const c=[o,a];return Ue(e)&&r.set(e,c),c}function Ll(e){return e[0]!=="$"&&!Hr(e)}function Rl(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Nl(e,t){return Rl(e)===Rl(t)}function Ml(e,t){return oe(t)?t.findIndex(n=>Nl(n,e)):pe(t)&&Nl(t,e)?0:-1}const Ff=e=>e[0]==="_"||e==="$stable",Ma=e=>oe(e)?e.map(Bt):[Bt(e)],ym=(e,t,n)=>{if(t._n)return t;const r=ht((...i)=>Ma(t(...i)),n);return r._c=!1,r},$f=(e,t,n)=>{const r=e._ctx;for(const i in e){if(Ff(i))continue;const s=e[i];if(pe(s))t[i]=ym(i,s,r);else if(s!=null){const o=Ma(s);t[i]=()=>o}}},Uf=(e,t)=>{const n=Ma(t);e.slots.default=()=>n},bm=(e,t)=>{const n=e.slots=Rf();if(e.vnode.shapeFlag&32){const r=t._;r?(et(n,t),Ku(n,"_",r,!0)):$f(t,n)}else t&&Uf(e,t)},wm=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=We;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(et(i,t),!n&&a===1&&delete i._):(s=!t.$stable,$f(t,i)),o=t}else t&&(Uf(e,t),o={default:1});if(s)for(const a in i)!Ff(a)&&o[a]==null&&delete i[a]};function So(e,t,n,r,i=!1){if(oe(e)){e.forEach((d,g)=>So(d,t&&(oe(t)?t[g]:t),n,r,i));return}if(Kr(r)&&!i)return;const s=r.shapeFlag&4?Fs(r.component):r.el,o=i?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===We?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ze(c)?(u[c]=null,Pe(f,c)&&(f[c]=null)):tt(c)&&(c.value=null)),pe(l))Ln(l,a,12,[o,u]);else{const d=Ze(l),g=tt(l);if(d||g){const v=()=>{if(e.f){const C=d?Pe(f,l)?f[l]:u[l]:l.value;i?oe(C)&&pa(C,s):oe(C)?C.includes(s)||C.push(s):d?(u[l]=[s],Pe(f,l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else d?(u[l]=o,Pe(f,l)&&(f[l]=o)):g&&(l.value=o,e.k&&(u[e.k]=o))};o?(v.id=-1,St(v,n)):v()}}}const St=tm;function Em(e){return Cm(e)}function Cm(e,t){const n=zu();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:g=Dt,insertStaticContent:v}=e,C=(_,h,T,j=null,M=null,V=null,z=void 0,p=null,m=!!h.dynamicChildren)=>{if(_===h)return;_&&!qt(_,h)&&(j=U(_),ee(_,M,V,!0),_=null),h.patchFlag===-2&&(m=!1,h.dynamicChildren=null);const{type:y,ref:D,shapeFlag:X}=h;switch(y){case Ei:O(_,h,T,j);break;case yt:x(_,h,T,j);break;case Ki:_==null&&R(h,T,j,z);break;case ze:W(_,h,T,j,M,V,z,p,m);break;default:X&1?A(_,h,T,j,M,V,z,p,m):X&6?se(_,h,T,j,M,V,z,p,m):(X&64||X&128)&&y.process(_,h,T,j,M,V,z,p,m,J)}D!=null&&M&&So(D,_&&_.ref,V,h||_,!h)},O=(_,h,T,j)=>{if(_==null)r(h.el=a(h.children),T,j);else{const M=h.el=_.el;h.children!==_.children&&c(M,h.children)}},x=(_,h,T,j)=>{_==null?r(h.el=l(h.children||""),T,j):h.el=_.el},R=(_,h,T,j)=>{[_.el,_.anchor]=v(_.children,h,T,j,_.el,_.anchor)},w=({el:_,anchor:h},T,j)=>{let M;for(;_&&_!==h;)M=d(_),r(_,T,j),_=M;r(h,T,j)},I=({el:_,anchor:h})=>{let T;for(;_&&_!==h;)T=d(_),i(_),_=T;i(h)},A=(_,h,T,j,M,V,z,p,m)=>{h.type==="svg"?z="svg":h.type==="math"&&(z="mathml"),_==null?b(h,T,j,M,V,z,p,m):k(_,h,M,V,z,p,m)},b=(_,h,T,j,M,V,z,p)=>{let m,y;const{props:D,shapeFlag:X,transition:B,dirs:S}=_;if(m=_.el=o(_.type,V,D&&D.is,D),X&8?u(m,_.children):X&16&&F(_.children,m,null,j,M,Js(_,V),z,p),S&&Gn(_,null,j,"created"),N(m,_,_.scopeId,z,j),D){for(const ae in D)ae!=="value"&&!Hr(ae)&&s(m,ae,null,D[ae],V,_.children,j,M,Je);"value"in D&&s(m,"value",null,D.value,V),(y=D.onVnodeBeforeMount)&&zt(y,j,_)}S&&Gn(_,null,j,"beforeMount");const L=Tm(M,B);L&&B.beforeEnter(m),r(m,h,T),((y=D&&D.onVnodeMounted)||L||S)&&St(()=>{y&&zt(y,j,_),L&&B.enter(m),S&&Gn(_,null,j,"mounted")},M)},N=(_,h,T,j,M)=>{if(T&&g(_,T),j)for(let V=0;V<j.length;V++)g(_,j[V]);if(M){let V=M.subTree;if(h===V){const z=M.vnode;N(_,z,z.scopeId,z.slotScopeIds,M.parent)}}},F=(_,h,T,j,M,V,z,p,m=0)=>{for(let y=m;y<_.length;y++){const D=_[y]=p?An(_[y]):Bt(_[y]);C(null,D,h,T,j,M,V,z,p)}},k=(_,h,T,j,M,V,z)=>{const p=h.el=_.el;let{patchFlag:m,dynamicChildren:y,dirs:D}=h;m|=_.patchFlag&16;const X=_.props||We,B=h.props||We;let S;if(T&&Kn(T,!1),(S=B.onVnodeBeforeUpdate)&&zt(S,T,h,_),D&&Gn(h,_,T,"beforeUpdate"),T&&Kn(T,!0),y?K(_.dynamicChildren,y,p,T,j,Js(h,M),V):z||ye(_,h,p,null,T,j,Js(h,M),V,!1),m>0){if(m&16)ne(p,h,X,B,T,j,M);else if(m&2&&X.class!==B.class&&s(p,"class",null,B.class,M),m&4&&s(p,"style",X.style,B.style,M),m&8){const L=h.dynamicProps;for(let ae=0;ae<L.length;ae++){const ce=L[ae],Le=X[ce],E=B[ce];(E!==Le||ce==="value")&&s(p,ce,Le,E,M,_.children,T,j,Je)}}m&1&&_.children!==h.children&&u(p,h.children)}else!z&&y==null&&ne(p,h,X,B,T,j,M);((S=B.onVnodeUpdated)||D)&&St(()=>{S&&zt(S,T,h,_),D&&Gn(h,_,T,"updated")},j)},K=(_,h,T,j,M,V,z)=>{for(let p=0;p<h.length;p++){const m=_[p],y=h[p],D=m.el&&(m.type===ze||!qt(m,y)||m.shapeFlag&70)?f(m.el):T;C(m,y,D,null,j,M,V,z,!0)}},ne=(_,h,T,j,M,V,z)=>{if(T!==j){if(T!==We)for(const p in T)!Hr(p)&&!(p in j)&&s(_,p,T[p],null,z,h.children,M,V,Je);for(const p in j){if(Hr(p))continue;const m=j[p],y=T[p];m!==y&&p!=="value"&&s(_,p,y,m,z,h.children,M,V,Je)}"value"in j&&s(_,"value",T.value,j.value,z)}},W=(_,h,T,j,M,V,z,p,m)=>{const y=h.el=_?_.el:a(""),D=h.anchor=_?_.anchor:a("");let{patchFlag:X,dynamicChildren:B,slotScopeIds:S}=h;S&&(p=p?p.concat(S):S),_==null?(r(y,T,j),r(D,T,j),F(h.children||[],T,D,M,V,z,p,m)):X>0&&X&64&&B&&_.dynamicChildren?(K(_.dynamicChildren,B,T,M,V,z,p),(h.key!=null||M&&h===M.subTree)&&Da(_,h,!0)):ye(_,h,T,D,M,V,z,p,m)},se=(_,h,T,j,M,V,z,p,m)=>{h.slotScopeIds=p,_==null?h.shapeFlag&512?M.ctx.activate(h,T,j,z,m):Se(h,T,j,M,V,z,m):xe(_,h,m)},Se=(_,h,T,j,M,V,z)=>{const p=_.component=Vm(_,j,M);if(wi(_)&&(p.ctx.renderer=J),Hm(p),p.asyncDep){if(M&&M.registerDep(p,le,z),!_.el){const m=p.subTree=H(yt);x(null,m,h,T)}}else le(p,_,h,T,M,V,z)},xe=(_,h,T)=>{const j=h.component=_.component;if(Yg(_,h,T))if(j.asyncDep&&!j.asyncResolved){_e(j,h,T);return}else j.next=h,Wg(j.update),j.effect.dirty=!0,j.update();else h.el=_.el,j.vnode=h},le=(_,h,T,j,M,V,z)=>{const p=()=>{if(_.isMounted){let{next:D,bu:X,u:B,parent:S,vnode:L}=_;{const P=jf(_);if(P){D&&(D.el=L.el,_e(_,D,z)),P.asyncDep.then(()=>{_.isUnmounted||p()});return}}let ae=D,ce;Kn(_,!1),D?(D.el=L.el,_e(_,D,z)):D=L,X&&Hi(X),(ce=D.props&&D.props.onVnodeBeforeUpdate)&&zt(ce,S,D,L),Kn(_,!0);const Le=zs(_),E=_.subTree;_.subTree=Le,C(E,Le,f(E.el),U(E),_,M,V),D.el=Le.el,ae===null&&Ia(_,Le.el),B&&St(B,M),(ce=D.props&&D.props.onVnodeUpdated)&&St(()=>zt(ce,S,D,L),M)}else{let D;const{el:X,props:B}=h,{bm:S,m:L,parent:ae}=_,ce=Kr(h);if(Kn(_,!1),S&&Hi(S),!ce&&(D=B&&B.onVnodeBeforeMount)&&zt(D,ae,h),Kn(_,!0),X&&Ie){const Le=()=>{_.subTree=zs(_),Ie(X,_.subTree,_,M,null)};ce?h.type.__asyncLoader().then(()=>!_.isUnmounted&&Le()):Le()}else{const Le=_.subTree=zs(_);C(null,Le,T,j,_,M,V),h.el=Le.el}if(L&&St(L,M),!ce&&(D=B&&B.onVnodeMounted)){const Le=h;St(()=>zt(D,ae,Le),M)}(h.shapeFlag&256||ae&&Kr(ae.vnode)&&ae.vnode.shapeFlag&256)&&_.a&&St(_.a,M),_.isMounted=!0,h=T=j=null}},m=_.effect=new va(p,Dt,()=>Ls(y),_.scope),y=_.update=()=>{m.dirty&&m.run()};y.id=_.uid,Kn(_,!0),y()},_e=(_,h,T)=>{h.component=_;const j=_.vnode.props;_.vnode=h,_.next=null,vm(_,h.props,j,T),wm(_,h.children,T),jn(),Tl(_),Wn()},ye=(_,h,T,j,M,V,z,p,m=!1)=>{const y=_&&_.children,D=_?_.shapeFlag:0,X=h.children,{patchFlag:B,shapeFlag:S}=h;if(B>0){if(B&128){gt(y,X,T,j,M,V,z,p,m);return}else if(B&256){dt(y,X,T,j,M,V,z,p,m);return}}S&8?(D&16&&Je(y,M,V),X!==y&&u(T,X)):D&16?S&16?gt(y,X,T,j,M,V,z,p,m):Je(y,M,V,!0):(D&8&&u(T,""),S&16&&F(X,T,j,M,V,z,p,m))},dt=(_,h,T,j,M,V,z,p,m)=>{_=_||pr,h=h||pr;const y=_.length,D=h.length,X=Math.min(y,D);let B;for(B=0;B<X;B++){const S=h[B]=m?An(h[B]):Bt(h[B]);C(_[B],S,T,null,M,V,z,p,m)}y>D?Je(_,M,V,!0,!1,X):F(h,T,j,M,V,z,p,m,X)},gt=(_,h,T,j,M,V,z,p,m)=>{let y=0;const D=h.length;let X=_.length-1,B=D-1;for(;y<=X&&y<=B;){const S=_[y],L=h[y]=m?An(h[y]):Bt(h[y]);if(qt(S,L))C(S,L,T,null,M,V,z,p,m);else break;y++}for(;y<=X&&y<=B;){const S=_[X],L=h[B]=m?An(h[B]):Bt(h[B]);if(qt(S,L))C(S,L,T,null,M,V,z,p,m);else break;X--,B--}if(y>X){if(y<=B){const S=B+1,L=S<D?h[S].el:j;for(;y<=B;)C(null,h[y]=m?An(h[y]):Bt(h[y]),T,L,M,V,z,p,m),y++}}else if(y>B)for(;y<=X;)ee(_[y],M,V,!0),y++;else{const S=y,L=y,ae=new Map;for(y=L;y<=B;y++){const Oe=h[y]=m?An(h[y]):Bt(h[y]);Oe.key!=null&&ae.set(Oe.key,y)}let ce,Le=0;const E=B-L+1;let P=!1,$=0;const G=new Array(E);for(y=0;y<E;y++)G[y]=0;for(y=S;y<=X;y++){const Oe=_[y];if(Le>=E){ee(Oe,M,V,!0);continue}let Ne;if(Oe.key!=null)Ne=ae.get(Oe.key);else for(ce=L;ce<=B;ce++)if(G[ce-L]===0&&qt(Oe,h[ce])){Ne=ce;break}Ne===void 0?ee(Oe,M,V,!0):(G[Ne-L]=y+1,Ne>=$?$=Ne:P=!0,C(Oe,h[Ne],T,null,M,V,z,p,m),Le++)}const ue=P?Sm(G):pr;for(ce=ue.length-1,y=E-1;y>=0;y--){const Oe=L+y,Ne=h[Oe],ve=Oe+1<D?h[Oe+1].el:j;G[y]===0?C(null,Ne,T,ve,M,V,z,p,m):P&&(ce<0||y!==ue[ce]?Ge(Ne,T,ve,2):ce--)}}},Ge=(_,h,T,j,M=null)=>{const{el:V,type:z,transition:p,children:m,shapeFlag:y}=_;if(y&6){Ge(_.component.subTree,h,T,j);return}if(y&128){_.suspense.move(h,T,j);return}if(y&64){z.move(_,h,T,J);return}if(z===ze){r(V,h,T);for(let X=0;X<m.length;X++)Ge(m[X],h,T,j);r(_.anchor,h,T);return}if(z===Ki){w(_,h,T);return}if(j!==2&&y&1&&p)if(j===0)p.beforeEnter(V),r(V,h,T),St(()=>p.enter(V),M);else{const{leave:X,delayLeave:B,afterLeave:S}=p,L=()=>r(V,h,T),ae=()=>{X(V,()=>{L(),S&&S()})};B?B(V,L,ae):ae()}else r(V,h,T)},ee=(_,h,T,j=!1,M=!1)=>{const{type:V,props:z,ref:p,children:m,dynamicChildren:y,shapeFlag:D,patchFlag:X,dirs:B,memoIndex:S}=_;if(p!=null&&So(p,null,T,_,!0),S!=null&&(h.renderCache[S]=void 0),D&256){h.ctx.deactivate(_);return}const L=D&1&&B,ae=!Kr(_);let ce;if(ae&&(ce=z&&z.onVnodeBeforeUnmount)&&zt(ce,h,_),D&6)Re(_.component,T,j);else{if(D&128){_.suspense.unmount(T,j);return}L&&Gn(_,null,h,"beforeUnmount"),D&64?_.type.remove(_,h,T,M,J,j):y&&(V!==ze||X>0&&X&64)?Je(y,h,T,!1,!0):(V===ze&&X&384||!M&&D&16)&&Je(m,h,T),j&&at(_)}(ae&&(ce=z&&z.onVnodeUnmounted)||L)&&St(()=>{ce&&zt(ce,h,_),L&&Gn(_,null,h,"unmounted")},T)},at=_=>{const{type:h,el:T,anchor:j,transition:M}=_;if(h===ze){bt(T,j);return}if(h===Ki){I(_);return}const V=()=>{i(T),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(_.shapeFlag&1&&M&&!M.persisted){const{leave:z,delayLeave:p}=M,m=()=>z(T,V);p?p(_.el,V,m):m()}else V()},bt=(_,h)=>{let T;for(;_!==h;)T=d(_),i(_),_=T;i(h)},Re=(_,h,T)=>{const{bum:j,scope:M,update:V,subTree:z,um:p,m,a:y}=_;Dl(m),Dl(y),j&&Hi(j),M.stop(),V&&(V.active=!1,ee(z,_,h,T)),p&&St(p,h),St(()=>{_.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Je=(_,h,T,j=!1,M=!1,V=0)=>{for(let z=V;z<_.length;z++)ee(_[z],h,T,j,M)},U=_=>_.shapeFlag&6?U(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let q=!1;const Y=(_,h,T)=>{_==null?h._vnode&&ee(h._vnode,null,null,!0):C(h._vnode||null,_,h,null,null,null,T),q||(q=!0,Tl(),bf(),q=!1),h._vnode=_},J={p:C,um:ee,m:Ge,r:at,mt:Se,mc:F,pc:ye,pbc:K,n:U,o:e};let be,Ie;return{render:Y,hydrate:be,createApp:gm(Y,be)}}function Js({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 Kn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Tm(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Da(e,t,n=!1){const r=e.children,i=t.children;if(oe(r)&&oe(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=An(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&Da(o,a)),a.type===Ei&&(a.el=o.el)}}function Sm(e){const t=e.slice(),n=[0];let r,i,s,o,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<c?s=a+1:o=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function jf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:jf(t)}function Dl(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const Am=Symbol.for("v-scx"),Im=()=>$e(Am);function pT(e,t){return bi(e,null,t)}function km(e,t){return bi(e,null,{flush:"post"})}function Pm(e,t){return bi(e,null,{flush:"sync"})}const Ni={};function Ht(e,t,n){return bi(e,t,n)}function bi(e,t,{immediate:n,deep:r,flush:i,once:s,onTrack:o,onTrigger:a}=We){if(t&&s){const b=t;t=(...N)=>{b(...N),A()}}const l=lt,c=b=>r===!0?b:kn(b,r===!1?1:void 0);let u,f=!1,d=!1;if(tt(e)?(u=()=>e.value,f=rs(e)):On(e)?(u=()=>c(e),f=!0):oe(e)?(d=!0,f=e.some(b=>On(b)||rs(b)),u=()=>e.map(b=>{if(tt(b))return b.value;if(On(b))return c(b);if(pe(b))return Ln(b,l,2)})):pe(e)?t?u=()=>Ln(e,l,2):u=()=>(g&&g(),Ut(e,l,3,[v])):u=Dt,t&&r){const b=u;u=()=>kn(b())}let g,v=b=>{g=w.onStop=()=>{Ln(b,l,4),g=w.onStop=void 0}},C;if(Ci)if(v=Dt,t?n&&Ut(t,l,3,[u(),d?[]:void 0,v]):u(),i==="sync"){const b=Im();C=b.__watcherHandles||(b.__watcherHandles=[])}else return Dt;let O=d?new Array(e.length).fill(Ni):Ni;const x=()=>{if(!(!w.active||!w.dirty))if(t){const b=w.run();(r||f||(d?b.some((N,F)=>en(N,O[F])):en(b,O)))&&(g&&g(),Ut(t,l,3,[b,O===Ni?void 0:d&&O[0]===Ni?[]:O,v]),O=b)}else w.run()};x.allowRecurse=!!t;let R;i==="sync"?R=x:i==="post"?R=()=>St(x,l&&l.suspense):(x.pre=!0,l&&(x.id=l.uid),R=()=>Ls(x));const w=new va(u,Dt,R),I=Qu(),A=()=>{w.stop(),I&&pa(I.effects,w)};return t?n?x():O=w.run():i==="post"?St(w.run.bind(w),l&&l.suspense):w.run(),C&&C.push(A),A}function xm(e,t,n){const r=this.proxy,i=Ze(e)?e.includes(".")?Wf(r,e):()=>r[e]:e.bind(r,r);let s;pe(t)?s=t:(s=t.handler,n=t);const o=tr(this),a=bi(i,s.bind(r),n);return o(),a}function Wf(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function kn(e,t=1/0,n){if(t<=0||!Ue(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,tt(e))kn(e.value,t,n);else if(oe(e))for(let r=0;r<e.length;r++)kn(e[r],t,n);else if(Ts(e)||gr(e))e.forEach(r=>{kn(r,t,n)});else if(Gu(e)){for(const r in e)kn(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&kn(e[r],t,n)}return e}const wi=e=>e.type.__isKeepAlive;function Om(e,t){Bf(e,"a",t)}function Lm(e,t){Bf(e,"da",t)}function Bf(e,t,n=lt){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ds(t,r,n),n){let i=n.parent;for(;i&&i.parent;)wi(i.parent.vnode)&&Rm(r,t,n,i),i=i.parent}}function Rm(e,t,n,r){const i=Ds(t,e,r,!0);Lr(()=>{pa(r[t],i)},n)}const Sn=Symbol("_leaveCb"),Mi=Symbol("_enterCb");function Vf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Bn(()=>{e.isMounted=!0}),Af(()=>{e.isUnmounting=!0}),e}const Rt=[Function,Array],Hf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rt,onEnter:Rt,onAfterEnter:Rt,onEnterCancelled:Rt,onBeforeLeave:Rt,onLeave:Rt,onAfterLeave:Rt,onLeaveCancelled:Rt,onBeforeAppear:Rt,onAppear:Rt,onAfterAppear:Rt,onAppearCancelled:Rt},Gf=e=>{const t=e.subTree;return t.component?Gf(t.component):t},Nm={name:"BaseTransition",props:Hf,setup(e,{slots:t}){const n=Kt(),r=Vf();return()=>{const i=t.default&&Fa(t.default(),!0);if(!i||!i.length)return;let s=i[0];if(i.length>1){for(const d of i)if(d.type!==yt){s=d;break}}const o=Ae(e),{mode:a}=o;if(r.isLeaving)return Qs(s);const l=Fl(s);if(!l)return Qs(s);let c=li(l,o,r,n,d=>c=d);Er(l,c);const u=n.subTree,f=u&&Fl(u);if(f&&f.type!==yt&&!qt(l,f)&&Gf(n).type!==yt){const d=li(f,o,r,n);if(Er(f,d),a==="out-in"&&l.type!==yt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Qs(s);a==="in-out"&&l.type!==yt&&(d.delayLeave=(g,v,C)=>{const O=Kf(r,f);O[String(f.key)]=f,g[Sn]=()=>{v(),g[Sn]=void 0,delete c.delayedLeave},c.delayedLeave=C})}return s}}},Mm=Nm;function Kf(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function li(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:g,onAfterLeave:v,onLeaveCancelled:C,onBeforeAppear:O,onAppear:x,onAfterAppear:R,onAppearCancelled:w}=t,I=String(e.key),A=Kf(n,e),b=(k,K)=>{k&&Ut(k,r,9,K)},N=(k,K)=>{const ne=K[1];b(k,K),oe(k)?k.every(W=>W.length<=1)&&ne():k.length<=1&&ne()},F={mode:o,persisted:a,beforeEnter(k){let K=l;if(!n.isMounted)if(s)K=O||l;else return;k[Sn]&&k[Sn](!0);const ne=A[I];ne&&qt(e,ne)&&ne.el[Sn]&&ne.el[Sn](),b(K,[k])},enter(k){let K=c,ne=u,W=f;if(!n.isMounted)if(s)K=x||c,ne=R||u,W=w||f;else return;let se=!1;const Se=k[Mi]=xe=>{se||(se=!0,xe?b(W,[k]):b(ne,[k]),F.delayedLeave&&F.delayedLeave(),k[Mi]=void 0)};K?N(K,[k,Se]):Se()},leave(k,K){const ne=String(e.key);if(k[Mi]&&k[Mi](!0),n.isUnmounting)return K();b(d,[k]);let W=!1;const se=k[Sn]=Se=>{W||(W=!0,K(),Se?b(C,[k]):b(v,[k]),k[Sn]=void 0,A[ne]===e&&delete A[ne])};A[ne]=e,g?N(g,[k,se]):se()},clone(k){const K=li(k,t,n,r,i);return i&&i(K),K}};return F}function Qs(e){if(wi(e))return e=Mn(e),e.children=null,e}function Fl(e){if(!wi(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pe(n.default))return n.default()}}function Er(e,t){e.shapeFlag&6&&e.component?Er(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 Fa(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===ze?(o.patchFlag&128&&i++,r=r.concat(Fa(o.children,t,a))):(t||o.type!==yt)&&r.push(a!=null?Mn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}const Dm=e=>e.__isTeleport,zr=e=>e&&(e.disabled||e.disabled===""),$l=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ul=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ao=(e,t)=>{const n=e&&e.to;return Ze(n)?t?t(n):null:n},Fm={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:g,querySelector:v,createText:C,createComment:O}}=c,x=zr(t.props);let{shapeFlag:R,children:w,dynamicChildren:I}=t;if(e==null){const A=t.el=C(""),b=t.anchor=C("");g(A,n,r),g(b,n,r);const N=t.target=Ao(t.props,v),F=t.targetAnchor=C("");N&&(g(F,N),o==="svg"||$l(N)?o="svg":(o==="mathml"||Ul(N))&&(o="mathml"));const k=(K,ne)=>{R&16&&u(w,K,ne,i,s,o,a,l)};x?k(n,b):N&&k(N,F)}else{t.el=e.el;const A=t.anchor=e.anchor,b=t.target=e.target,N=t.targetAnchor=e.targetAnchor,F=zr(e.props),k=F?n:b,K=F?A:N;if(o==="svg"||$l(b)?o="svg":(o==="mathml"||Ul(b))&&(o="mathml"),I?(d(e.dynamicChildren,I,k,i,s,o,a),Da(e,t,!0)):l||f(e,t,k,K,i,s,o,a,!1),x)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Di(t,n,A,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ne=t.target=Ao(t.props,v);ne&&Di(t,ne,null,c,0)}else F&&Di(t,b,N,c,1)}Yf(t)},remove(e,t,n,r,{um:i,o:{remove:s}},o){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),o&&s(c),a&16){const g=o||!zr(d);for(let v=0;v<l.length;v++){const C=l[v];i(C,t,n,g,!!C.dynamicChildren)}}},move:Di,hydrate:$m};function Di(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(o,t,n),(!f||zr(u))&&l&16)for(let d=0;d<c.length;d++)i(c[d],t,n,2);f&&r(a,t,n)}function $m(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:l}},c){const u=t.target=Ao(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(zr(t.props))t.anchor=c(o(e),t,a(e),n,r,i,s),t.targetAnchor=f;else{t.anchor=o(e);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&o(t.targetAnchor);break}c(f,t,u,n,r,i,s)}Yf(t)}return t.anchor&&o(t.anchor)}const gT=Fm;function Yf(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const ze=Symbol.for("v-fgt"),Ei=Symbol.for("v-txt"),yt=Symbol.for("v-cmt"),Ki=Symbol.for("v-stc"),Xr=[];let Ft=null;function fe(e=!1){Xr.push(Ft=e?null:[])}function zf(){Xr.pop(),Ft=Xr[Xr.length-1]||null}let Cr=1;function jl(e){Cr+=e}function Xf(e){return e.dynamicChildren=Cr>0?Ft||pr:null,zf(),Cr>0&&Ft&&Ft.push(e),e}function Ce(e,t,n,r,i,s){return Xf(de(e,t,n,r,i,s,!0))}function Ct(e,t,n,r,i){return Xf(H(e,t,n,r,i,!0))}function ci(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const qf=({key:e})=>e??null,Yi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ze(e)||tt(e)||pe(e)?{i:ut,r:e,k:t,f:!!n}:e:null);function de(e,t=null,n=null,r=0,i=null,s=e===ze?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&qf(t),ref:t&&Yi(t),scopeId:Ns,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ut};return a?($a(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ze(n)?8:16),Cr>0&&!o&&Ft&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ft.push(l),l}const H=Um;function Um(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===Sf)&&(e=yt),ci(e)){const a=Mn(e,t,!0);return n&&$a(a,n),Cr>0&&!s&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(e)]=a:Ft.push(a)),a.patchFlag=-2,a}if(zm(e)&&(e=e.__vccOpts),t){t=jm(t);let{class:a,style:l}=t;a&&!Ze(a)&&(t.class=Un(a)),Ue(l)&&(hf(l)&&!oe(l)&&(l=et({},l)),t.style=Is(l))}const o=Ze(e)?1:Xg(e)?128:Dm(e)?64:Ue(e)?4:pe(e)?2:0;return de(e,t,n,r,i,o,s,!0)}function jm(e){return e?hf(e)||Nf(e)?et({},e):e:null}function Mn(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=e,c=t?Jf(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&qf(c),ref:t&&t.ref?n&&s?oe(s)?s.concat(Yi(t)):[s,Yi(t)]:Yi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Mn(e.ssContent),ssFallback:e.ssFallback&&Mn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Er(u,l.clone(u)),u}function it(e=" ",t=0){return H(Ei,null,e,t)}function Io(e="",t=!1){return t?(fe(),Ct(yt,null,e)):H(yt,null,e)}function Bt(e){return e==null||typeof e=="boolean"?H(yt):oe(e)?H(ze,null,e.slice()):typeof e=="object"?An(e):H(Ei,null,String(e))}function An(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Mn(e)}function $a(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),$a(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Nf(t)?t._ctx=ut:i===3&&ut&&(ut.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pe(t)?(t={default:t,_ctx:ut},n=32):(t=String(t),r&64?(n=16,t=[it(t)]):n=8);e.children=t,e.shapeFlag|=n}function Jf(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=Un([t.class,r.class]));else if(i==="style")t.style=Is([t.style,r.style]);else if(Cs(i)){const s=t[i],o=r[i];o&&s!==o&&!(oe(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function zt(e,t,n,r=null){Ut(e,t,7,[n,r])}const Wm=Of();let Bm=0;function Vm(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||Wm,s={uid:Bm++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ju(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Df(r,i),emitsOptions:Ef(r,i),emit:null,emitted:null,propsDefaults:We,inheritAttrs:r.inheritAttrs,ctx:We,data:We,props:We,attrs:We,slots:We,refs:We,setupState:We,setupContext:null,attrsProxy:null,slotsProxy: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 s.ctx={_:s},s.root=t?t.root:s,s.emit=Vg.bind(null,s),e.ce&&e.ce(s),s}let lt=null;const Kt=()=>lt||ut;let as,ko;{const e=zu(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};as=t("__VUE_INSTANCE_SETTERS__",n=>lt=n),ko=t("__VUE_SSR_SETTERS__",n=>Ci=n)}const tr=e=>{const t=lt;return as(e),e.scope.on(),()=>{e.scope.off(),as(t)}},Po=()=>{lt&<.scope.off(),as(null)};function Qf(e){return e.vnode.shapeFlag&4}let Ci=!1;function Hm(e,t=!1){t&&ko(t);const{props:n,children:r}=e.vnode,i=Qf(e);_m(e,n,i,t),bm(e,r);const s=i?Gm(e,t):void 0;return t&&ko(!1),s}function Gm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,lm);const{setup:r}=n;if(r){const i=e.setupContext=r.length>1?ed(e):null,s=tr(e);jn();const o=Ln(r,e,0,[e.props,i]);if(Wn(),s(),ga(o)){if(o.then(Po,Po),t)return o.then(a=>{xo(e,a,t)}).catch(a=>{Or(a,e,0)});e.asyncDep=o}else xo(e,o,t)}else Zf(e,t)}function xo(e,t,n){pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ue(t)&&(e.setupState=mf(t)),Zf(e,n)}let Wl;function Zf(e,t,n){const r=e.type;if(!e.render){if(!t&&Wl&&!r.render){const i=r.template||Na(e).template;if(i){const{isCustomElement:s,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=et(et({isCustomElement:s,delimiters:a},o),l);r.render=Wl(i,c)}}e.render=r.render||Dt}{const i=tr(e);jn();try{cm(e)}finally{Wn(),i()}}}const Km={get(e,t){return It(e,"get",""),e[t]}};function ed(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Km),slots:e.slots,emit:e.emit,expose:t}}function Fs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mf(xs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Yr)return Yr[n](e)},has(t,n){return n in t||n in Yr}})):e.proxy}function Ym(e,t=!0){return pe(e)?e.displayName||e.name:e.name||t&&e.__name}function zm(e){return pe(e)&&"__vccOpts"in e}const Ve=(e,t)=>xg(e,t,Ci);function mT(e,t,n=We){const r=Kt(),i=Gt(t),s=$n(t),o=Ng((l,c)=>{let u;return Pm(()=>{const f=e[t];en(u,f)&&(u=f,c())}),{get(){return l(),n.get?n.get(u):u},set(f){const d=r.vnode.props;!(d&&(t in d||i in d||s in d)&&(`onUpdate:${t}`in d||`onUpdate:${i}`in d||`onUpdate:${s}`in d))&&en(f,u)&&(u=f,c()),r.emit(`update:${t}`,n.set?n.set(f):f)}}}),a="modelModifiers";return o[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:o,done:!1}:{done:!0}}}},o}function Ti(e,t,n){const r=arguments.length;return r===2?Ue(t)&&!oe(t)?ci(t)?H(e,null,[t]):H(e,t):H(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ci(n)&&(n=[n]),H(e,t,n))}const Xm="3.4.29";/**
|
|
34
|
+
* @vue/runtime-dom v3.4.29
|
|
35
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
36
|
+
* @license MIT
|
|
37
|
+
**/const qm="http://www.w3.org/2000/svg",Jm="http://www.w3.org/1998/Math/MathML",an=typeof document<"u"?document:null,Bl=an&&an.createElement("template"),Qm={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?an.createElementNS(qm,e):t==="mathml"?an.createElementNS(Jm,e):n?an.createElement(e,{is:n}):an.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>an.createTextNode(e),createComment:e=>an.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>an.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Bl.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Bl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},_n="transition",Mr="animation",Tr=Symbol("_vtc"),td=(e,{slots:t})=>Ti(Mm,rd(e),t);td.displayName="Transition";const nd={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},Zm=td.props=et({},Hf,nd),Yn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Vl=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function rd(e){const t={};for(const W in e)W in nd||(t[W]=e[W]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,v=e_(i),C=v&&v[0],O=v&&v[1],{onBeforeEnter:x,onEnter:R,onEnterCancelled:w,onLeave:I,onLeaveCancelled:A,onBeforeAppear:b=x,onAppear:N=R,onAppearCancelled:F=w}=t,k=(W,se,Se)=>{En(W,se?u:a),En(W,se?c:o),Se&&Se()},K=(W,se)=>{W._isLeaving=!1,En(W,f),En(W,g),En(W,d),se&&se()},ne=W=>(se,Se)=>{const xe=W?N:R,le=()=>k(se,W,Se);Yn(xe,[se,le]),Hl(()=>{En(se,W?l:s),on(se,W?u:a),Vl(xe)||Gl(se,r,C,le)})};return et(t,{onBeforeEnter(W){Yn(x,[W]),on(W,s),on(W,o)},onBeforeAppear(W){Yn(b,[W]),on(W,l),on(W,c)},onEnter:ne(!1),onAppear:ne(!0),onLeave(W,se){W._isLeaving=!0;const Se=()=>K(W,se);on(W,f),on(W,d),sd(),Hl(()=>{W._isLeaving&&(En(W,f),on(W,g),Vl(I)||Gl(W,r,O,Se))}),Yn(I,[W,Se])},onEnterCancelled(W){k(W,!1),Yn(w,[W])},onAppearCancelled(W){k(W,!0),Yn(F,[W])},onLeaveCancelled(W){K(W),Yn(A,[W])}})}function e_(e){if(e==null)return null;if(Ue(e))return[Zs(e.enter),Zs(e.leave)];{const t=Zs(e);return[t,t]}}function Zs(e){return Yu(e)}function on(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Tr]||(e[Tr]=new Set)).add(t)}function En(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Tr];n&&(n.delete(t),n.size||(e[Tr]=void 0))}function Hl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let t_=0;function Gl(e,t,n,r){const i=e._endId=++t_,s=()=>{i===e._endId&&r()};if(n)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=id(e,t);if(!o)return r();const c=o+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=g=>{g.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function id(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),i=r(`${_n}Delay`),s=r(`${_n}Duration`),o=Kl(i,s),a=r(`${Mr}Delay`),l=r(`${Mr}Duration`),c=Kl(a,l);let u=null,f=0,d=0;t===_n?o>0&&(u=_n,f=o,d=s.length):t===Mr?c>0&&(u=Mr,f=c,d=l.length):(f=Math.max(o,c),u=f>0?o>c?_n:Mr:null,d=u?u===_n?s.length:l.length:0);const g=u===_n&&/\b(transform|all)(,|$)/.test(r(`${_n}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:g}}function Kl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Yl(n)+Yl(e[r])))}function Yl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function sd(){return document.body.offsetHeight}function n_(e,t,n){const r=e[Tr];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ls=Symbol("_vod"),od=Symbol("_vsh"),_T={beforeMount(e,{value:t},{transition:n}){e[ls]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Dr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Dr(e,!0),r.enter(e)):r.leave(e,()=>{Dr(e,!1)}):Dr(e,t))},beforeUnmount(e,{value:t}){Dr(e,t)}};function Dr(e,t){e.style.display=t?e[ls]:"none",e[od]=!t}const ad=Symbol("");function vT(e){const t=Kt();if(!t)return;const n=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>Lo(s,i))},r=()=>{const i=e(t.proxy);Oo(t.subTree,i),n(i)};Bn(()=>{km(r);const i=new MutationObserver(r);i.observe(t.subTree.el.parentNode,{childList:!0}),Lr(()=>i.disconnect())})}function Oo(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Oo(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Lo(e.el,t);else if(e.type===ze)e.children.forEach(n=>Oo(n,t));else if(e.type===Ki){let{el:n,anchor:r}=e;for(;n&&(Lo(n,t),n!==r);)n=n.nextSibling}}function Lo(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const i in t)n.setProperty(`--${i}`,t[i]),r+=`--${i}: ${t[i]};`;n[ad]=r}}const r_=/(^|;)\s*display\s*:/;function i_(e,t,n){const r=e.style,i=Ze(n);let s=!1;if(n&&!i){if(t)if(Ze(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&zi(r,a,"")}else for(const o in t)n[o]==null&&zi(r,o,"");for(const o in n)o==="display"&&(s=!0),zi(r,o,n[o])}else if(i){if(t!==n){const o=r[ad];o&&(n+=";"+o),r.cssText=n,s=r_.test(n)}}else t&&e.removeAttribute("style");ls in e&&(e[ls]=s?r.display:"",e[od]&&(r.display="none"))}const zl=/\s*!important$/;function zi(e,t,n){if(oe(n))n.forEach(r=>zi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=s_(e,t);zl.test(n)?e.setProperty($n(r),n.replace(zl,""),"important"):e[r]=n}}const Xl=["Webkit","Moz","ms"],eo={};function s_(e,t){const n=eo[t];if(n)return n;let r=Gt(t);if(r!=="filter"&&r in e)return eo[t]=r;r=As(r);for(let i=0;i<Xl.length;i++){const s=Xl[i]+r;if(s in e)return eo[t]=s}return t}const ql="http://www.w3.org/1999/xlink";function Jl(e,t,n,r,i,s=sg(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ql,t.slice(6,t.length)):e.setAttributeNS(ql,t,n):n==null||s&&!Xu(n)?e.removeAttribute(t):e.setAttribute(t,s?"":String(n))}function o_(e,t,n,r,i,s,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,i,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Xu(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Qn(e,t,n,r){e.addEventListener(t,n,r)}function a_(e,t,n,r){e.removeEventListener(t,n,r)}const Ql=Symbol("_vei");function l_(e,t,n,r,i=null){const s=e[Ql]||(e[Ql]={}),o=s[t];if(r&&o)o.value=r;else{const[a,l]=c_(t);if(r){const c=s[t]=d_(r,i);Qn(e,a,c,l)}else o&&(a_(e,a,o,l),s[t]=void 0)}}const Zl=/(?:Once|Passive|Capture)$/;function c_(e){let t;if(Zl.test(e)){t={};let r;for(;r=e.match(Zl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$n(e.slice(2)),t]}let to=0;const u_=Promise.resolve(),f_=()=>to||(u_.then(()=>to=0),to=Date.now());function d_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ut(h_(r,n.value),t,5,[r])};return n.value=e,n.attached=f_(),n}function h_(e,t){if(oe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const ec=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,p_=(e,t,n,r,i,s,o,a,l)=>{const c=i==="svg";t==="class"?n_(e,r,c):t==="style"?i_(e,n,r):Cs(t)?ha(t)||l_(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):g_(e,t,r,c))?(o_(e,t,r,s,o,a,l),(t==="value"||t==="checked"||t==="selected")&&Jl(e,t,r,c,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Jl(e,t,r,c))};function g_(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ec(t)&&pe(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return ec(t)&&Ze(n)?!1:t in e}const ld=new WeakMap,cd=new WeakMap,cs=Symbol("_moveCb"),tc=Symbol("_enterCb"),ud={name:"TransitionGroup",props:et({},Zm,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Kt(),r=Vf();let i,s;return La(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!b_(i[0].el,n.vnode.el,o))return;i.forEach(__),i.forEach(v_);const a=i.filter(y_);sd(),a.forEach(l=>{const c=l.el,u=c.style;on(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[cs]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[cs]=null,En(c,o))};c.addEventListener("transitionend",f)})}),()=>{const o=Ae(e),a=rd(o);let l=o.tag||ze;if(i=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(i.push(u),Er(u,li(u,a,r,n)),ld.set(u,u.el.getBoundingClientRect()))}s=t.default?Fa(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&Er(u,li(u,a,r,n))}return H(l,null,s)}}},m_=e=>delete e.mode;ud.props;const yT=ud;function __(e){const t=e.el;t[cs]&&t[cs](),t[tc]&&t[tc]()}function v_(e){cd.set(e,e.el.getBoundingClientRect())}function y_(e){const t=ld.get(e),n=cd.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${i}px)`,s.transitionDuration="0s",e}}function b_(e,t,n){const r=e.cloneNode(),i=e[Tr];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=id(r);return s.removeChild(r),o}const us=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>Hi(t,n):t};function w_(e){e.target.composing=!0}function nc(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const yr=Symbol("_assign"),bT={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[yr]=us(i);const s=r||i.props&&i.props.type==="number";Qn(e,t?"change":"input",o=>{if(o.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=ts(a)),e[yr](a)}),n&&Qn(e,"change",()=>{e.value=e.value.trim()}),t||(Qn(e,"compositionstart",w_),Qn(e,"compositionend",nc),Qn(e,"change",nc))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[yr]=us(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?ts(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===l)||(e.value=l))}},wT={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const i=Ts(t);Qn(e,"change",()=>{const s=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?ts(fs(o)):fs(o));e[yr](e.multiple?i?new Set(s):s:s[0]),e._assigning=!0,Os(()=>{e._assigning=!1})}),e[yr]=us(r)},mounted(e,{value:t,modifiers:{number:n}}){rc(e,t)},beforeUpdate(e,t,n){e[yr]=us(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||rc(e,t)}};function rc(e,t,n){const r=e.multiple,i=oe(t);if(!(r&&!i&&!Ts(t))){for(let s=0,o=e.options.length;s<o;s++){const a=e.options[s],l=fs(a);if(r)if(i){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(u=>String(u)===String(l)):a.selected=ag(t,l)>-1}else a.selected=t.has(l);else if(ks(fs(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function fs(e){return"_value"in e?e._value:e.value}const E_=["ctrl","shift","alt","meta"],C_={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)=>E_.some(n=>e[`${n}Key`]&&!t.includes(n))},ET=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<t.length;o++){const a=C_[t[o]];if(a&&a(i,t))return}return e(i,...s)})},T_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},CT=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=i=>{if(!("key"in i))return;const s=$n(i.key);if(t.some(o=>o===s||T_[o]===s))return e(i)})},S_=et({patchProp:p_},Qm);let ic;function fd(){return ic||(ic=Em(S_))}const no=(...e)=>{fd().render(...e)},A_=(...e)=>{const t=fd().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=k_(r);if(!i)return;const s=t._component;!pe(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.innerHTML="";const o=n(i,!1,I_(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function I_(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function k_(e){return Ze(e)?document.querySelector(e):e}class sc{constructor(t){this.jsonld=t}getIdentifier(){return this.jsonld.identifier}setIdentifier(t){this.jsonld.identifier=t}getName(){return this.jsonld.name}setName(t){this.jsonld.name=t}getText(){return this.jsonld.text}setText(t){this.jsonld.text=t}get(t){return this.jsonld[t]}set(t,n){this.jsonld[t]=n}getSource(){return this.jsonld}}class Ro{constructor(t="",n="",r="",i=""){this.document=new sc({}),this.source=r,this.syntax=i,this.html="",this.name=n,this.id=t,this.css=[],this.js=[],this.version=""}toObject(){return{id:this.id,name:this.name,source:this.source,syntax:this.syntax,html:this.html,document:this.document.getSource(),css:this.css,js:this.js,version:this.version}}fromObject(t){this.id=t.id,this.name=t.name,this.source=t.source,this.syntax=t.syntax,this.html=t.html,this.document=new sc(t.document),this.css=t.css,this.js=t.js,this.version=t.version}}var P_=Object.defineProperty,x_=Object.getOwnPropertyDescriptor,O_=(e,t,n,r)=>{for(var i=r>1?void 0:r?x_(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&P_(t,n,i),i},L_=(e,t)=>(n,r)=>t(n,r,e);let No=class{constructor(e){this.logger=e,this.logger.setModule("storage.components.defaultWikiStorage"),this.offlineSetup=!1}setConfig(e,t,n,r,i,s,o){this.name=e,this.baseURL=t,this.baseRestURL=n,this.homePage=r,this.serverRendering=i,this.designSystem=s,this.offline=o}setConfigFromObject(e){this.name=e.name,this.baseURL=e.baseURL,this.baseRestURL=e.baseRestURL,this.homePage=e.homePage,this.serverRendering=e.serverRendering,this.offline=e.offline,this.designSystem=e.designSystem}setupOfflineStorage(){if(this.logger.debug("Checking offline storage"),this.offline&&this.cristal){this.logger.debug("Looking for wrapping offline storage");const e=this.cristal.getContainer().get("WrappingStorage");e?(this.logger.debug("Offline local storage is ready"),e.setStorage(this.storage),e.setWikiConfig(this.storage.getWikiConfig()),this.storage=e):this.logger.debug("Failed Looking for wrapping offline storage")}else this.cristal||this.logger.debug("Cristal not initialized"),this.offline||this.logger.debug("Offline mode not activated")}isSupported(e){return e=="html"}initialize(){this.offline&&!this.offlineSetup&&(this.setupOfflineStorage(),this.offlineSetup=!0,this.storage.isStorageReady())}defaultPageName(){return"index"}getType(){return"Default"}};No=O_([He(),L_(0,Qe("Logger"))],No);var R_=Object.defineProperty,N_=Object.getOwnPropertyDescriptor,dd=(e,t,n,r)=>{for(var i=r>1?void 0:r?N_(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&R_(t,n,i),i};let Sr=class{setModule(e){this.module=e}debug(...e){(!this.loggerConfig||this.loggerConfig.hasLevelId(this.module,4))&&e.unshift(this.module+":"),console.debug.apply(null,e)}info(...e){e.unshift(this.module+":"),console.info.apply(null,e)}warn(...e){e.unshift(this.module+":"),console.warn.apply(null,e)}error(...e){e.unshift(this.module+":"),console.error.apply(null,e)}};dd([Qe("LoggerConfig")],Sr.prototype,"loggerConfig",2);Sr=dd([He()],Sr);var M_=Object.defineProperty,D_=Object.getOwnPropertyDescriptor,F_=(e,t,n,r)=>{for(var i=r>1?void 0:r?D_(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&M_(t,n,i),i};let Mo=class{constructor(e="error"){this.levels=new Map,this.config=new Map,this.defaultLevel=e,this.computedConfig=new Map,this.levels.set("error",1),this.levels.set("warn",2),this.levels.set("info",3),this.levels.set("debug",4)}addLevel(e,t){const n=this.levels.get(t);n!=null&&this.config.forEach(r=>{if(r.startsWith(e)){const i=this.computedConfig.get(r);(i==null||n&&n>i)&&n&&this.computedConfig.set(r,n)}})}getLevels(){return this.config}getLevel(e){let t=this.config.get(e);return t||(t=this.defaultLevel),t}getLevelId(e){const t=this.levels.get(e);return t||10}setDefaultLevel(e){this.defaultLevel=e,this.defaultLevelId=this.getLevelId(this.defaultLevel)}getDefaultLevel(){return this.defaultLevel}getDefaultLevelId(){return this.defaultLevelId?this.defaultLevelId:(this.defaultLevelId=this.getLevelId(this.defaultLevel),this.defaultLevelId)}hasLevel(e,t){let n=this.computedConfig.get(e);n||(n=this.getDefaultLevelId());const r=this.getLevelId(t);return!!(r&&n>=r)}hasLevelId(e,t){let n=this.computedConfig.get(e);n||(n=this.getDefaultLevelId());const r=t;return!!(r&&n>=r)}};Mo=F_([He()],Mo);/*!
|
|
38
|
+
* vue-router v4.3.2
|
|
39
|
+
* (c) 2024 Eduardo San Martin Morote
|
|
40
|
+
* @license MIT
|
|
41
|
+
*/const ur=typeof document<"u";function $_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Fe=Object.assign;function ro(e,t){const n={};for(const r in t){const i=t[r];n[r]=Yt(i)?i.map(e):e(i)}return n}const qr=()=>{},Yt=Array.isArray,hd=/#/g,U_=/&/g,j_=/\//g,W_=/=/g,B_=/\?/g,pd=/\+/g,V_=/%5B/g,H_=/%5D/g,gd=/%5E/g,G_=/%60/g,md=/%7B/g,K_=/%7C/g,_d=/%7D/g,Y_=/%20/g;function Ua(e){return encodeURI(""+e).replace(K_,"|").replace(V_,"[").replace(H_,"]")}function z_(e){return Ua(e).replace(md,"{").replace(_d,"}").replace(gd,"^")}function Do(e){return Ua(e).replace(pd,"%2B").replace(Y_,"+").replace(hd,"%23").replace(U_,"%26").replace(G_,"`").replace(md,"{").replace(_d,"}").replace(gd,"^")}function X_(e){return Do(e).replace(W_,"%3D")}function q_(e){return Ua(e).replace(hd,"%23").replace(B_,"%3F")}function J_(e){return e==null?"":q_(e).replace(j_,"%2F")}function ui(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Q_=/\/$/,Z_=e=>e.replace(Q_,"");function io(e,t,n="/"){let r,i={},s="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),i=e(s)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=rv(r??t,n),{fullPath:r+(s&&"?")+s+o,path:r,query:i,hash:ui(o)}}function ev(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function oc(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tv(e,t,n){const r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ar(t.matched[r],n.matched[i])&&vd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ar(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!nv(e[n],t[n]))return!1;return!0}function nv(e,t){return Yt(e)?ac(e,t):Yt(t)?ac(t,e):e===t}function ac(e,t){return Yt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function rv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),i=r[r.length-1];(i===".."||i===".")&&r.push("");let s=n.length-1,o,a;for(o=0;o<r.length;o++)if(a=r[o],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o).join("/")}var fi;(function(e){e.pop="pop",e.push="push"})(fi||(fi={}));var Jr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Jr||(Jr={}));function iv(e){if(!e)if(ur){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Z_(e)}const sv=/^[^#]+#/;function ov(e,t){return e.replace(sv,"#")+t}function av(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const $s=()=>({left:window.scrollX,top:window.scrollY});function lv(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),i=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=av(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function lc(e,t){return(history.state?history.state.position-t:-1)+e}const Fo=new Map;function cv(e,t){Fo.set(e,t)}function uv(e){const t=Fo.get(e);return Fo.delete(e),t}let fv=()=>location.protocol+"//"+location.host;function yd(e,t){const{pathname:n,search:r,hash:i}=t,s=e.indexOf("#");if(s>-1){let a=i.includes(e.slice(s))?e.slice(s).length:1,l=i.slice(a);return l[0]!=="/"&&(l="/"+l),oc(l,"")}return oc(n,e)+r+i}function dv(e,t,n,r){let i=[],s=[],o=null;const a=({state:d})=>{const g=yd(e,location),v=n.value,C=t.value;let O=0;if(d){if(n.value=g,t.value=d,o&&o===v){o=null;return}O=C?d.position-C.position:0}else r(g);i.forEach(x=>{x(n.value,v,{delta:O,type:fi.pop,direction:O?O>0?Jr.forward:Jr.back:Jr.unknown})})};function l(){o=n.value}function c(d){i.push(d);const g=()=>{const v=i.indexOf(d);v>-1&&i.splice(v,1)};return s.push(g),g}function u(){const{history:d}=window;d.state&&d.replaceState(Fe({},d.state,{scroll:$s()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function cc(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?$s():null}}function hv(e){const{history:t,location:n}=window,r={value:yd(e,n)},i={value:t.state};i.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:fv()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),i.value=c}catch(g){console.error(g),n[u?"replace":"assign"](d)}}function o(l,c){const u=Fe({},t.state,cc(i.value.back,l,i.value.forward,!0),c,{position:i.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Fe({},i.value,t.state,{forward:l,scroll:$s()});s(u.current,u,!0);const f=Fe({},cc(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:i,push:a,replace:o}}function pv(e){e=iv(e);const t=hv(e),n=dv(e,t.state,t.location,t.replace);function r(s,o=!0){o||n.pauseListeners(),history.go(s)}const i=Fe({location:"",base:e,go:r,createHref:ov.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function gv(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),pv(e)}function mv(e){return typeof e=="string"||e&&typeof e=="object"}function bd(e){return typeof e=="string"||typeof e=="symbol"}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},wd=Symbol("");var uc;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(uc||(uc={}));function Ir(e,t){return Fe(new Error,{type:e,[wd]:!0},t)}function tn(e,t){return e instanceof Error&&wd in e&&(t==null||!!(e.type&t))}const fc="[^/]+?",_v={sensitive:!1,strict:!1,start:!0,end:!0},vv=/[.+*?^${}()[\]/\\]/g;function yv(e,t){const n=Fe({},_v,t),r=[];let i=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(i+="/");for(let f=0;f<c.length;f++){const d=c[f];let g=40+(n.sensitive?.25:0);if(d.type===0)f||(i+="/"),i+=d.value.replace(vv,"\\$&"),g+=40;else if(d.type===1){const{value:v,repeatable:C,optional:O,regexp:x}=d;s.push({name:v,repeatable:C,optional:O});const R=x||fc;if(R!==fc){g+=10;try{new RegExp(`(${R})`)}catch(I){throw new Error(`Invalid custom RegExp for param "${v}" (${R}): `+I.message)}}let w=C?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||(w=O&&c.length<2?`(?:/${w})`:"/"+w),O&&(w+="?"),i+=w,g+=20,O&&(g+=-8),C&&(g+=-20),R===".*"&&(g+=-50)}u.push(g)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(i+="/?"),n.end?i+="$":n.strict&&(i+="(?:/|$)");const o=new RegExp(i,n.sensitive?"":"i");function a(c){const u=c.match(o),f={};if(!u)return null;for(let d=1;d<u.length;d++){const g=u[d]||"",v=s[d-1];f[v.name]=g&&v.repeatable?g.split("/"):g}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const g of d)if(g.type===0)u+=g.value;else if(g.type===1){const{value:v,repeatable:C,optional:O}=g,x=v in c?c[v]:"";if(Yt(x)&&!C)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const R=Yt(x)?x.join("/"):x;if(!R)if(O)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);u+=R}}return u||"/"}return{re:o,score:r,keys:s,parse:a,stringify:l}}function bv(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function wv(e,t){let n=0;const r=e.score,i=t.score;for(;n<r.length&&n<i.length;){const s=bv(r[n],i[n]);if(s)return s;n++}if(Math.abs(i.length-r.length)===1){if(dc(r))return 1;if(dc(i))return-1}return i.length-r.length}function dc(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ev={type:0,value:""},Cv=/[a-zA-Z0-9_]/;function Tv(e){if(!e)return[[]];if(e==="/")return[[Ev]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,r=n;const i=[];let s;function o(){s&&i.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),o()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:Cv.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),o(),i}function Sv(e,t,n){const r=yv(Tv(e.path),n),i=Fe(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Av(e,t){const n=[],r=new Map;t=gc({strict:!1,end:!0,sensitive:!1},t);function i(u){return r.get(u)}function s(u,f,d){const g=!d,v=Iv(u);v.aliasOf=d&&d.record;const C=gc(t,u),O=[v];if("alias"in u){const w=typeof u.alias=="string"?[u.alias]:u.alias;for(const I of w)O.push(Fe({},v,{components:d?d.record.components:v.components,path:I,aliasOf:d?d.record:v}))}let x,R;for(const w of O){const{path:I}=w;if(f&&I[0]!=="/"){const A=f.record.path,b=A[A.length-1]==="/"?"":"/";w.path=f.record.path+(I&&b+I)}if(x=Sv(w,f,C),d?d.alias.push(x):(R=R||x,R!==x&&R.alias.push(x),g&&u.name&&!pc(x)&&o(u.name)),v.children){const A=v.children;for(let b=0;b<A.length;b++)s(A[b],x,d&&d.children[b])}d=d||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&l(x)}return R?()=>{o(R)}:qr}function o(u){if(bd(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&wv(u,n[f])>=0&&(u.record.path!==n[f].record.path||!Ed(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!pc(u)&&r.set(u.record.name,u)}function c(u,f){let d,g={},v,C;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ir(1,{location:u});C=d.record.name,g=Fe(hc(f.params,d.keys.filter(R=>!R.optional).concat(d.parent?d.parent.keys.filter(R=>R.optional):[]).map(R=>R.name)),u.params&&hc(u.params,d.keys.map(R=>R.name))),v=d.stringify(g)}else if(u.path!=null)v=u.path,d=n.find(R=>R.re.test(v)),d&&(g=d.parse(v),C=d.record.name);else{if(d=f.name?r.get(f.name):n.find(R=>R.re.test(f.path)),!d)throw Ir(1,{location:u,currentLocation:f});C=d.record.name,g=Fe({},f.params,u.params),v=d.stringify(g)}const O=[];let x=d;for(;x;)O.unshift(x.record),x=x.parent;return{name:C,path:v,params:g,matched:O,meta:Pv(O)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:i}}function hc(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Iv(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:kv(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function kv(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function pc(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Pv(e){return e.reduce((t,n)=>Fe(t,n.meta),{})}function gc(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ed(e,t){return t.children.some(n=>n===e||Ed(e,n))}function xv(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<r.length;++i){const s=r[i].replace(pd," "),o=s.indexOf("="),a=ui(o<0?s:s.slice(0,o)),l=o<0?null:ui(s.slice(o+1));if(a in t){let c=t[a];Yt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function mc(e){let t="";for(let n in e){const r=e[n];if(n=X_(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Yt(r)?r.map(s=>s&&Do(s)):[r&&Do(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ov(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Yt(r)?r.map(i=>i==null?null:""+i):r==null?r:""+r)}return t}const Lv=Symbol(""),_c=Symbol(""),ja=Symbol(""),Wa=Symbol(""),$o=Symbol("");function Fr(){let e=[];function t(r){return e.push(r),()=>{const i=e.indexOf(r);i>-1&&e.splice(i,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function In(e,t,n,r,i,s=o=>o()){const o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(Ir(4,{from:n,to:t})):d instanceof Error?l(d):mv(d)?l(Ir(2,{from:t,to:d})):(o&&r.enterCallbacks[i]===o&&typeof d=="function"&&o.push(d),a())},u=s(()=>e.call(r&&r.instances[i],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function so(e,t,n,r,i=s=>s()){const s=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Rv(l)){const u=(l.__vccOpts||l)[t];u&&s.push(In(u,n,r,o,a,i))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const f=$_(u)?u.default:u;o.components[a]=f;const g=(f.__vccOpts||f)[t];return g&&In(g,n,r,o,a,i)()}))}}return s}function Rv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function vc(e){const t=$e(ja),n=$e(Wa),r=Ve(()=>{const l=Ee(e.to);return t.resolve(l)}),i=Ve(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Ar.bind(null,u));if(d>-1)return d;const g=yc(l[c-2]);return c>1&&yc(u)===g&&f[f.length-1].path!==g?f.findIndex(Ar.bind(null,l[c-2])):d}),s=Ve(()=>i.value>-1&&Fv(n.params,r.value.params)),o=Ve(()=>i.value>-1&&i.value===n.matched.length-1&&vd(n.params,r.value.params));function a(l={}){return Dv(l)?t[Ee(e.replace)?"replace":"push"](Ee(e.to)).catch(qr):Promise.resolve()}return{route:r,href:Ve(()=>r.value.href),isActive:s,isExactActive:o,navigate:a}}const Nv=nt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:vc,setup(e,{slots:t}){const n=vi(vc(e)),{options:r}=$e(ja),i=Ve(()=>({[bc(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[bc(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Ti("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},s)}}}),Mv=Nv;function Dv(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Fv(e,t){for(const n in t){const r=t[n],i=e[n];if(typeof r=="string"){if(r!==i)return!1}else if(!Yt(i)||i.length!==r.length||r.some((s,o)=>s!==i[o]))return!1}return!0}function yc(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const bc=(e,t,n)=>e??t??n,$v=nt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=$e($o),i=Ve(()=>e.route||r.value),s=$e(_c,0),o=Ve(()=>{let c=Ee(s);const{matched:u}=i.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=Ve(()=>i.value.matched[o.value]);Gi(_c,Ve(()=>o.value+1)),Gi(Lv,a),Gi($o,i);const l=ke();return Ht(()=>[l.value,a.value,e.name],([c,u,f],[d,g,v])=>{u&&(u.instances[f]=c,g&&g!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!Ar(u,g)||!d)&&(u.enterCallbacks[f]||[]).forEach(C=>C(c))},{flush:"post"}),()=>{const c=i.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return wc(n.default,{Component:d,route:c});const g=f.props[u],v=g?g===!0?c.params:typeof g=="function"?g(c):g:null,O=Ti(d,Fe({},v,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return wc(n.default,{Component:O,route:c})||O}}});function wc(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Uv=$v;function jv(e){const t=Av(e.routes,e),n=e.parseQuery||xv,r=e.stringifyQuery||mc,i=e.history,s=Fr(),o=Fr(),a=Fr(),l=yi(vn);let c=vn;ur&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ro.bind(null,U=>""+U),f=ro.bind(null,J_),d=ro.bind(null,ui);function g(U,q){let Y,J;return bd(U)?(Y=t.getRecordMatcher(U),J=q):J=U,t.addRoute(J,Y)}function v(U){const q=t.getRecordMatcher(U);q&&t.removeRoute(q)}function C(){return t.getRoutes().map(U=>U.record)}function O(U){return!!t.getRecordMatcher(U)}function x(U,q){if(q=Fe({},q||l.value),typeof U=="string"){const h=io(n,U,q.path),T=t.resolve({path:h.path},q),j=i.createHref(h.fullPath);return Fe(h,T,{params:d(T.params),hash:ui(h.hash),redirectedFrom:void 0,href:j})}let Y;if(U.path!=null)Y=Fe({},U,{path:io(n,U.path,q.path).path});else{const h=Fe({},U.params);for(const T in h)h[T]==null&&delete h[T];Y=Fe({},U,{params:f(h)}),q.params=f(q.params)}const J=t.resolve(Y,q),be=U.hash||"";J.params=u(d(J.params));const Ie=ev(r,Fe({},U,{hash:z_(be),path:J.path})),_=i.createHref(Ie);return Fe({fullPath:Ie,hash:be,query:r===mc?Ov(U.query):U.query||{}},J,{redirectedFrom:void 0,href:_})}function R(U){return typeof U=="string"?io(n,U,l.value.path):Fe({},U)}function w(U,q){if(c!==U)return Ir(8,{from:q,to:U})}function I(U){return N(U)}function A(U){return I(Fe(R(U),{replace:!0}))}function b(U){const q=U.matched[U.matched.length-1];if(q&&q.redirect){const{redirect:Y}=q;let J=typeof Y=="function"?Y(U):Y;return typeof J=="string"&&(J=J.includes("?")||J.includes("#")?J=R(J):{path:J},J.params={}),Fe({query:U.query,hash:U.hash,params:J.path!=null?{}:U.params},J)}}function N(U,q){const Y=c=x(U),J=l.value,be=U.state,Ie=U.force,_=U.replace===!0,h=b(Y);if(h)return N(Fe(R(h),{state:typeof h=="object"?Fe({},be,h.state):be,force:Ie,replace:_}),q||Y);const T=Y;T.redirectedFrom=q;let j;return!Ie&&tv(r,J,Y)&&(j=Ir(16,{to:T,from:J}),Ge(J,J,!0,!1)),(j?Promise.resolve(j):K(T,J)).catch(M=>tn(M)?tn(M,2)?M:gt(M):ye(M,T,J)).then(M=>{if(M){if(tn(M,2))return N(Fe({replace:_},R(M.to),{state:typeof M.to=="object"?Fe({},be,M.to.state):be,force:Ie}),q||T)}else M=W(T,J,!0,_,be);return ne(T,J,M),M})}function F(U,q){const Y=w(U,q);return Y?Promise.reject(Y):Promise.resolve()}function k(U){const q=bt.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(U):U()}function K(U,q){let Y;const[J,be,Ie]=Wv(U,q);Y=so(J.reverse(),"beforeRouteLeave",U,q);for(const h of J)h.leaveGuards.forEach(T=>{Y.push(In(T,U,q))});const _=F.bind(null,U,q);return Y.push(_),Je(Y).then(()=>{Y=[];for(const h of s.list())Y.push(In(h,U,q));return Y.push(_),Je(Y)}).then(()=>{Y=so(be,"beforeRouteUpdate",U,q);for(const h of be)h.updateGuards.forEach(T=>{Y.push(In(T,U,q))});return Y.push(_),Je(Y)}).then(()=>{Y=[];for(const h of Ie)if(h.beforeEnter)if(Yt(h.beforeEnter))for(const T of h.beforeEnter)Y.push(In(T,U,q));else Y.push(In(h.beforeEnter,U,q));return Y.push(_),Je(Y)}).then(()=>(U.matched.forEach(h=>h.enterCallbacks={}),Y=so(Ie,"beforeRouteEnter",U,q,k),Y.push(_),Je(Y))).then(()=>{Y=[];for(const h of o.list())Y.push(In(h,U,q));return Y.push(_),Je(Y)}).catch(h=>tn(h,8)?h:Promise.reject(h))}function ne(U,q,Y){a.list().forEach(J=>k(()=>J(U,q,Y)))}function W(U,q,Y,J,be){const Ie=w(U,q);if(Ie)return Ie;const _=q===vn,h=ur?history.state:{};Y&&(J||_?i.replace(U.fullPath,Fe({scroll:_&&h&&h.scroll},be)):i.push(U.fullPath,be)),l.value=U,Ge(U,q,Y,_),gt()}let se;function Se(){se||(se=i.listen((U,q,Y)=>{if(!Re.listening)return;const J=x(U),be=b(J);if(be){N(Fe(be,{replace:!0}),J).catch(qr);return}c=J;const Ie=l.value;ur&&cv(lc(Ie.fullPath,Y.delta),$s()),K(J,Ie).catch(_=>tn(_,12)?_:tn(_,2)?(N(_.to,J).then(h=>{tn(h,20)&&!Y.delta&&Y.type===fi.pop&&i.go(-1,!1)}).catch(qr),Promise.reject()):(Y.delta&&i.go(-Y.delta,!1),ye(_,J,Ie))).then(_=>{_=_||W(J,Ie,!1),_&&(Y.delta&&!tn(_,8)?i.go(-Y.delta,!1):Y.type===fi.pop&&tn(_,20)&&i.go(-1,!1)),ne(J,Ie,_)}).catch(qr)}))}let xe=Fr(),le=Fr(),_e;function ye(U,q,Y){gt(U);const J=le.list();return J.length?J.forEach(be=>be(U,q,Y)):console.error(U),Promise.reject(U)}function dt(){return _e&&l.value!==vn?Promise.resolve():new Promise((U,q)=>{xe.add([U,q])})}function gt(U){return _e||(_e=!U,Se(),xe.list().forEach(([q,Y])=>U?Y(U):q()),xe.reset()),U}function Ge(U,q,Y,J){const{scrollBehavior:be}=e;if(!ur||!be)return Promise.resolve();const Ie=!Y&&uv(lc(U.fullPath,0))||(J||!Y)&&history.state&&history.state.scroll||null;return Os().then(()=>be(U,q,Ie)).then(_=>_&&lv(_)).catch(_=>ye(_,U,q))}const ee=U=>i.go(U);let at;const bt=new Set,Re={currentRoute:l,listening:!0,addRoute:g,removeRoute:v,hasRoute:O,getRoutes:C,resolve:x,options:e,push:I,replace:A,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:s.add,beforeResolve:o.add,afterEach:a.add,onError:le.add,isReady:dt,install(U){const q=this;U.component("RouterLink",Mv),U.component("RouterView",Uv),U.config.globalProperties.$router=q,Object.defineProperty(U.config.globalProperties,"$route",{enumerable:!0,get:()=>Ee(l)}),ur&&!at&&l.value===vn&&(at=!0,I(i.location).catch(be=>{}));const Y={};for(const be in vn)Object.defineProperty(Y,be,{get:()=>l.value[be],enumerable:!0});U.provide(ja,q),U.provide(Wa,ff(Y)),U.provide($o,l);const J=U.unmount;bt.add(U),U.unmount=function(){bt.delete(U),bt.size<1&&(c=vn,se&&se(),se=null,l.value=vn,at=!1,_e=!1),J()}}};function Je(U){return U.reduce((q,Y)=>q.then(()=>k(Y)),Promise.resolve())}return Re}function Wv(e,t){const n=[],r=[],i=[],s=Math.max(t.matched.length,e.matched.length);for(let o=0;o<s;o++){const a=t.matched[o];a&&(e.matched.find(c=>Ar(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>Ar(c,l))||i.push(l))}return[n,r,i]}function Bv(){return $e(Wa)}var Vv=Object.defineProperty,Hv=Object.getOwnPropertyDescriptor,Gv=(e,t,n,r)=>{for(var i=r>1?void 0:r?Hv(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Vv(t,n,i),i};let hn=class{getVueComponent(){throw new Error("Method not implemented.")}getVueName(){throw new Error("Method not implemented.")}isGlobal(){return!0}registerComponents(){}};hn.cname="cristal.vuejs.component";hn.hint="template";hn.priority=1e3;hn.singleton=!0;hn=Gv([He()],hn);var Kv=Object.defineProperty,Yv=Object.getOwnPropertyDescriptor,zv=(e,t,n,r)=>{for(var i=r>1?void 0:r?Yv(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Kv(t,n,i),i};let Dn=class extends hn{constructor(){super()}};Dn.cname="cristal.vuejs.component";Dn.hint="uix";Dn.priority=1e3;Dn.singleton=!0;Dn=zv([He()],Dn);const di=nt({__name:"c-template",props:{name:{}},setup(e){let t,n;const r=e;let i=$e("skinManager"),s=$e("cristal");s&&(n=s.getLogger("skin.vue.template")),i&&(t=i.getTemplate(r.name)||void 0);let o=t;return n?.debug("Template component is",o),(a,l)=>(fe(),Ct(Ms(Ee(o))))}});var Xv=Object.defineProperty,qv=Object.getOwnPropertyDescriptor,Jv=(e,t,n,r)=>{for(var i=r>1?void 0:r?qv(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Xv(t,n,i),i};let nr=class extends Dn{constructor(){super()}getVueComponent(){return di}getVueName(){return"Template"}isGlobal(){return!0}bindToContainer(e){e.bind("VueTemplateProvider").to(nr)}};nr.cname="cristal.vuejs.component";nr.hint="template";nr.priority=1e3;nr.singleton=!0;nr=Jv([He()],nr);const ot=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},Qv={};function Zv(e,t){const n=Xe("router-view");return fe(),Ce("main",null,[H(n)])}const Cd=ot(Qv,[["render",Zv]]);var Pn=(e=>(e[e.Mobile=0]="Mobile",e[e.Desktop=1]="Desktop",e))(Pn||{});function Td(){const e=ke(n());function t(){e.value=n()}function n(){return window.innerWidth<=600?0:1}return Bn(()=>window.addEventListener("resize",t)),Lr(()=>window.removeEventListener("resize",t)),e}const ey=nt({__name:"c-view",setup(e){const t=Td(),n=ke(t.value==Pn.Mobile);Bn(()=>{t.value==Pn.Desktop&&(n.value=localStorage.isLeftSidebarCollapsed==="true")}),Ht(t,i=>{i==Pn.Mobile?n.value=!0:n.value=localStorage.isLeftSidebarCollapsed==="true"});function r(){t.value==Pn.Desktop&&(n.value=!n.value,localStorage.isLeftSidebarCollapsed=n.value)}return(i,s)=>{const o=Xe("x-load"),a=Xe("UIX");return fe(),Ce("div",null,[H(o),de("div",{id:"view",class:Un(["wrapper",{"sidebar-is-collapsed":n.value}])},[H(a,{uixname:"view.before"}),H(di,{name:"sidebar",onCollapseLeftSidebar:r}),H(di,{name:"header"}),H(Cd),H(a,{uixname:"view.after"})],2)])}}}),ty=ot(ey,[["__scopeId","data-v-4734c181"]]),ny={class:"grid-container"},ry={class:"wiki-name"},iy={key:0,class:"offline"},sy={key:0,class:"ds-name"},oy={class:"url"},ay={key:0,class:"current-ds"},ly=nt({__name:"c-config",setup(e){const t=[],n=$e("cristal");n.getAvailableConfigurations().forEach(s=>{t.push(s)});const i=n.getWikiConfig().name;return(s,o)=>{const a=Xe("x-btn");return fe(),Ce("div",null,[de("div",ny,[(fe(),Ce(ze,null,ai(t,l=>de("div",{key:l.name},[de("div",null,[de("div",ry,[it($t(l.name)+" ",1),l.offline?(fe(),Ce("span",iy,"Offline")):Io("",!0)]),l.designSystem!=""?(fe(),Ce("div",sy,[it(" Design System: "),de("strong",null,$t(l.designSystem),1)])):Io("",!0),de("div",oy,$t(l.baseURL),1)]),l.name==Ee(i)?(fe(),Ce("div",ay," Currently in Use ")):(fe(),Ct(a,{key:1,onClick:c=>Ee(n)?.switchConfig(l.name)},{default:ht(()=>[it(" Open ")]),_:2},1032,["onClick"]))])),64))])])}}}),cy=ot(ly,[["__scopeId","data-v-65c7f0a8"]]),Sd=""+new URL("xwiki-logo-color-DZ9bdNW4.svg",import.meta.url).href;var Rn=(e=>(e[e.Small=0]="Small",e[e.Normal=1]="Normal",e[e.Big=2]="Big",e))(Rn||{});const uy=nt({__name:"c-icon",props:{name:{},size:{default:Rn.Normal}},setup(e){const t=e;function n(i){let s;return i===Rn.Big?s="big":i===Rn.Small&&(s="small"),s}const r=Ve(()=>{const i=["cr-icon",`bi-${t.name}`],s=n(t.size);return s&&i.push(s),i});return(i,s)=>(fe(),Ce("span",{class:Un(r.value)},null,2))}}),Mt=ot(uy,[["__scopeId","data-v-be19c71f"]]),fy=nt({__name:"c-config-menu",setup(e){return(t,n)=>{const r=Xe("x-dialog");return fe(),Ct(r,{width:"auto",logo:Ee(Sd),title:"Configuration"},{activator:ht(({props:i})=>[H(Ee(Mt),Jf({name:"gear"},i),null,16)]),default:ht(()=>[H(di,{name:"config"})]),_:1},8,["logo"])}}}),dy={};function hy(e,t){return fe(),Ce("div",null,[If(e.$slots,"default")])}const py=ot(dy,[["render",hy]]),gy={class:"c-sidebar-panel"},my={class:"header"},_y={class:"title"},vy={class:"sidebar-content"},yy=nt({__name:"c-sidebar-panel",props:{name:{}},setup(e){return(t,n)=>(fe(),Ce("div",gy,[de("div",my,[de("span",_y,$t(t.name),1),H(Ee(Mt),{name:"list-nested",size:Ee(Rn).Small},null,8,["size"])]),de("div",vy,[If(t.$slots,"default",{},void 0,!0)])]))}}),Ec=ot(yy,[["__scopeId","data-v-cc193788"]]),by={class:"help-button"},wy=nt({__name:"c-help",setup(e){return(t,n)=>{const r=Xe("x-btn");return fe(),Ce("div",by,[H(r,{pill:"",size:"small"},{default:ht(()=>[H(Ee(Mt),{name:"question-circle"}),it(" XWiki Help ")]),_:1})])}}}),Ey=ot(wy,[["__scopeId","data-v-afec75c2"]]),Ad=""+new URL("no-one-Cv0r_Hkg.svg",import.meta.url).href;function Cy(){const e=ke(0),t=ke(0);function n(i){e.value=i.pageX,t.value=i.pageY}function r(i){e.value=i.touches[0].clientX,t.value=i.touches[0].clientY}return Bn(()=>{window.addEventListener("mousemove",n),window.addEventListener("touchmove",r)}),Lr(()=>{window.removeEventListener("mousemove",n),window.removeEventListener("touchmove",r)}),{x:e,y:t}}const Ty={class:"sidebar-collapse-controls"},Sy={class:"sidebar-header"},Ay={class:"search"},Iy={class:"panel-container"},ky=nt({__name:"c-sidebar",emits:["collapseLeftSidebar"],setup(e){const t=Sd,n=Ad,r=Td(),{x:i}=Cy(),s=ke(r.value==Pn.Mobile);Bn(()=>{localStorage.leftSidebarWidth&&a(localStorage.leftSidebarWidth),r.value==Pn.Desktop&&(s.value=localStorage.isLeftSidebarCollapsed==="true")}),Ht(r,g=>{g==Pn.Mobile&&(s.value=!0)});let o=0;function a(g){document.documentElement.style.setProperty("--cr-sizes-left-sidebar-width",`${g}px`)}function l(){o==0&&(o=setInterval(()=>{let g=i.value+8;a(g),localStorage.leftSidebarWidth=g},10)),window.addEventListener("mouseup",c),window.addEventListener("touchend",c)}function c(){clearInterval(o),o=0,window.removeEventListener("mouseup",c),window.removeEventListener("touchend",c)}function u(){s.value=!1,window.addEventListener("click",d)}function f(){s.value=!0,window.removeEventListener("click",d)}function d(){let g=parseInt(window.getComputedStyle(document.getElementById("sidebar")).width);i.value>g&&f()}return(g,v)=>{const C=Xe("UIX"),O=Xe("x-img"),x=Xe("x-avatar"),R=Xe("x-search");return fe(),Ce(ze,null,[de("div",{class:"collapsed-sidebar",onClick:u},[H(Ee(Mt),{name:"list",class:"open-sidebar"})]),H(py,{id:"sidebar",class:Un(["left-sidebar",{"is-visible":!s.value}])},{default:ht(()=>[H(C,{uixname:"sidebar.before"}),de("div",Ty,[H(Ee(Mt),{name:"x-lg",class:"close-sidebar",onClick:v[0]||(v[0]=w=>f())}),H(Ee(Mt),{name:"pin",class:"pin-sidebar",onClick:v[1]||(v[1]=w=>g.$emit("collapseLeftSidebar"))})]),de("div",Sy,[H(Ee(Mt),{name:"list",class:"hide-sidebar",onClick:v[2]||(v[2]=w=>{g.$emit("collapseLeftSidebar"),f()})}),H(O,{class:"logo",src:Ee(t),width:72},null,8,["src"]),H(Ee(Mt),{name:"bell"}),H(fy),H(x,{class:"avatar",image:Ee(n),size:"2rem"},null,8,["image"])]),de("div",Ay,[H(R)]),de("div",Iy,[H(Ec,{name:"Wiki Name"}),H(Ec,{name:"Applications"}),H(C,{uixname:"sidebar.after"})]),H(Ey),de("div",{class:"resize-handle",onMousedown:l,onTouchstart:l},null,32)]),_:1},8,["class"])],64)}}}),Py=ot(ky,[["__scopeId","data-v-2778a4bc"]]),xy={setup(){const e=ke(0);return{count:e,inc:()=>{e.value++}}}},Id=e=>(Cf("data-v-734a4d7b"),e=e(),Tf(),e),Oy={id:"footer",class:"footer"},Ly=Id(()=>de("p",null,"footer",-1)),Ry=Id(()=>de("div",null,"Click the button to increase the number",-1));function Ny(e,t,n,r,i,s){const o=Xe("UIX");return fe(),Ce("footer",Oy,[H(o,{uixname:"footer.before"}),Ly,Ry,de("button",{onClick:t[0]||(t[0]=a=>r.count++)},$t(r.count),1),H(o,{uixname:"footer.after"})])}const My=ot(xy,[["render",Ny],["__scopeId","data-v-734a4d7b"]]);function Ba(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let ar=Ba();function kd(e){ar=e}const Pd=/[&<>"']/,Dy=new RegExp(Pd.source,"g"),xd=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Fy=new RegExp(xd.source,"g"),$y={"&":"&","<":"<",">":">",'"':""","'":"'"},Cc=e=>$y[e];function Pt(e,t){if(t){if(Pd.test(e))return e.replace(Dy,Cc)}else if(xd.test(e))return e.replace(Fy,Cc);return e}const Uy=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function jy(e){return e.replace(Uy,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Wy=/(^|[^\[])\^/g;function je(e,t){let n=typeof e=="string"?e:e.source;t=t||"";const r={replace:(i,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(Wy,"$1"),n=n.replace(i,o),r},getRegex:()=>new RegExp(n,t)};return r}function Tc(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch{return null}return e}const Qr={exec:()=>null};function Sc(e,t){const n=e.replace(/\|/g,(s,o,a)=>{let l=!1,c=o;for(;--c>=0&&a[c]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(/\\\|/g,"|");return r}function Fi(e,t,n){const r=e.length;if(r===0)return"";let i=0;for(;i<r;){const s=e.charAt(r-i-1);if(s===t&&!n)i++;else if(s!==t&&n)i++;else break}return e.slice(0,r-i)}function By(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}function Ac(e,t,n,r){const i=t.href,s=t.title?Pt(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:Pt(o)}}function Vy(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(`
|
|
42
|
+
`).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[o]=s;return o.length>=r.length?i.slice(r.length):i}).join(`
|
|
43
|
+
`)}class ds{options;rules;lexer;constructor(t){this.options=t||ar}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const r=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?r:Fi(r,`
|
|
44
|
+
`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const r=n[0],i=Vy(r,n[3]||"");return{type:"code",raw:r,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:i}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let r=n[2].trim();if(/#$/.test(r)){const i=Fi(r,"#");(this.options.pedantic||!i||/ $/.test(i))&&(r=i.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:r,tokens:this.lexer.inline(r)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let r=n[0].replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,`
|
|
45
|
+
$1`);r=Fi(r.replace(/^ *>[ \t]?/gm,""),`
|
|
46
|
+
`);const i=this.lexer.state.top;this.lexer.state.top=!0;const s=this.lexer.blockTokens(r);return this.lexer.state.top=i,{type:"blockquote",raw:n[0],tokens:s,text:r}}}list(t){let n=this.rules.block.list.exec(t);if(n){let r=n[1].trim();const i=r.length>1,s={type:"list",raw:"",ordered:i,start:i?+r.slice(0,-1):"",loose:!1,items:[]};r=i?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=i?r:"[*+-]");const o=new RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`);let a="",l="",c=!1;for(;t;){let u=!1;if(!(n=o.exec(t))||this.rules.block.hr.test(t))break;a=n[0],t=t.substring(a.length);let f=n[2].split(`
|
|
47
|
+
`,1)[0].replace(/^\t+/,x=>" ".repeat(3*x.length)),d=t.split(`
|
|
48
|
+
`,1)[0],g=0;this.options.pedantic?(g=2,l=f.trimStart()):(g=n[2].search(/[^ ]/),g=g>4?1:g,l=f.slice(g),g+=n[1].length);let v=!1;if(!f&&/^ *$/.test(d)&&(a+=d+`
|
|
49
|
+
`,t=t.substring(d.length+1),u=!0),!u){const x=new RegExp(`^ {0,${Math.min(3,g-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),R=new RegExp(`^ {0,${Math.min(3,g-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),w=new RegExp(`^ {0,${Math.min(3,g-1)}}(?:\`\`\`|~~~)`),I=new RegExp(`^ {0,${Math.min(3,g-1)}}#`);for(;t;){const A=t.split(`
|
|
50
|
+
`,1)[0];if(d=A,this.options.pedantic&&(d=d.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),w.test(d)||I.test(d)||x.test(d)||R.test(t))break;if(d.search(/[^ ]/)>=g||!d.trim())l+=`
|
|
51
|
+
`+d.slice(g);else{if(v||f.search(/[^ ]/)>=4||w.test(f)||I.test(f)||R.test(f))break;l+=`
|
|
52
|
+
`+d}!v&&!d.trim()&&(v=!0),a+=A+`
|
|
53
|
+
`,t=t.substring(A.length+1),f=d.slice(g)}}s.loose||(c?s.loose=!0:/\n *\n *$/.test(a)&&(c=!0));let C=null,O;this.options.gfm&&(C=/^\[[ xX]\] /.exec(l),C&&(O=C[0]!=="[ ] ",l=l.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:a,task:!!C,checked:O,loose:!1,text:l,tokens:[]}),s.raw+=a}s.items[s.items.length-1].raw=a.trimEnd(),s.items[s.items.length-1].text=l.trimEnd(),s.raw=s.raw.trimEnd();for(let u=0;u<s.items.length;u++)if(this.lexer.state.top=!1,s.items[u].tokens=this.lexer.blockTokens(s.items[u].text,[]),!s.loose){const f=s.items[u].tokens.filter(g=>g.type==="space"),d=f.length>0&&f.some(g=>/\n.*\n/.test(g.raw));s.loose=d}if(s.loose)for(let u=0;u<s.items.length;u++)s.items[u].loose=!0;return s}}html(t){const n=this.rules.block.html.exec(t);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(t){const n=this.rules.block.def.exec(t);if(n){const r=n[1].toLowerCase().replace(/\s+/g," "),i=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",s=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:r,raw:n[0],href:i,title:s}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const r=Sc(n[1]),i=n[2].replace(/^\||\| *$/g,"").split("|"),s=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
|
|
54
|
+
`):[],o={type:"table",raw:n[0],header:[],align:[],rows:[]};if(r.length===i.length){for(const a of i)/^ *-+: *$/.test(a)?o.align.push("right"):/^ *:-+: *$/.test(a)?o.align.push("center"):/^ *:-+ *$/.test(a)?o.align.push("left"):o.align.push(null);for(const a of r)o.header.push({text:a,tokens:this.lexer.inline(a)});for(const a of s)o.rows.push(Sc(a,o.header.length).map(l=>({text:l,tokens:this.lexer.inline(l)})));return o}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const r=n[1].charAt(n[1].length-1)===`
|
|
55
|
+
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:r,tokens:this.lexer.inline(r)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:Pt(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const r=n[2].trim();if(!this.options.pedantic&&/^</.test(r)){if(!/>$/.test(r))return;const o=Fi(r.slice(0,-1),"\\");if((r.length-o.length)%2===0)return}else{const o=By(n[2],"()");if(o>-1){const l=(n[0].indexOf("!")===0?5:4)+n[1].length+o;n[2]=n[2].substring(0,o),n[0]=n[0].substring(0,l).trim(),n[3]=""}}let i=n[2],s="";if(this.options.pedantic){const o=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);o&&(i=o[1],s=o[3])}else s=n[3]?n[3].slice(1,-1):"";return i=i.trim(),/^</.test(i)&&(this.options.pedantic&&!/>$/.test(r)?i=i.slice(1):i=i.slice(1,-1)),Ac(n,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:s&&s.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){const i=(r[2]||r[1]).replace(/\s+/g," "),s=n[i.toLowerCase()];if(!s){const o=r[0].charAt(0);return{type:"text",raw:o,text:o}}return Ac(r,s,r[0],this.lexer)}}emStrong(t,n,r=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&r.match(/[\p{L}\p{N}]/u))return;if(!(i[1]||i[2]||"")||!r||this.rules.inline.punctuation.exec(r)){const o=[...i[0]].length-1;let a,l,c=o,u=0;const f=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,n=n.slice(-1*t.length+o);(i=f.exec(n))!=null;){if(a=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!a)continue;if(l=[...a].length,i[3]||i[4]){c+=l;continue}else if((i[5]||i[6])&&o%3&&!((o+l)%3)){u+=l;continue}if(c-=l,c>0)continue;l=Math.min(l,l+c+u);const d=[...i[0]][0].length,g=t.slice(0,o+i.index+d+l);if(Math.min(o,l)%2){const C=g.slice(1,-1);return{type:"em",raw:g,text:C,tokens:this.lexer.inlineTokens(C)}}const v=g.slice(2,-2);return{type:"strong",raw:g,text:v,tokens:this.lexer.inlineTokens(v)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let r=n[2].replace(/\n/g," ");const i=/[^ ]/.test(r),s=/^ /.test(r)&&/ $/.test(r);return i&&s&&(r=r.substring(1,r.length-1)),r=Pt(r,!0),{type:"codespan",raw:n[0],text:r}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let r,i;return n[2]==="@"?(r=Pt(n[1]),i="mailto:"+r):(r=Pt(n[1]),i=r),{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}url(t){let n;if(n=this.rules.inline.url.exec(t)){let r,i;if(n[2]==="@")r=Pt(n[0]),i="mailto:"+r;else{let s;do s=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])?.[0]??"";while(s!==n[0]);r=Pt(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let r;return this.lexer.state.inRawBlock?r=n[0]:r=Pt(n[0]),{type:"text",raw:n[0],text:r}}}}const Hy=/^(?: *(?:\n|$))+/,Gy=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Ky=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,Si=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Yy=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Od=/(?:[*+-]|\d{1,9}[.)])/,Ld=je(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Od).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),Va=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,zy=/^[^\n]+/,Ha=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Xy=je(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Ha).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),qy=je(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Od).getRegex(),Us="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Ga=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Jy=je("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Ga).replace("tag",Us).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Rd=je(Va).replace("hr",Si).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Us).getRegex(),Qy=je(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Rd).getRegex(),Ka={blockquote:Qy,code:Gy,def:Xy,fences:Ky,heading:Yy,hr:Si,html:Jy,lheading:Ld,list:qy,newline:Hy,paragraph:Rd,table:Qr,text:zy},Ic=je("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",Si).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Us).getRegex(),Zy={...Ka,table:Ic,paragraph:je(Va).replace("hr",Si).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Ic).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Us).getRegex()},eb={...Ka,html:je(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Ga).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Qr,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:je(Va).replace("hr",Si).replace("heading",` *#{1,6} *[^
|
|
56
|
+
]`).replace("lheading",Ld).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Nd=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,tb=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Md=/^( {2,}|\\)\n(?!\s*$)/,nb=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Ai="\\p{P}\\p{S}",rb=je(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,Ai).getRegex(),ib=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,sb=je(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,Ai).getRegex(),ob=je("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,Ai).getRegex(),ab=je("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,Ai).getRegex(),lb=je(/\\([punct])/,"gu").replace(/punct/g,Ai).getRegex(),cb=je(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ub=je(Ga).replace("(?:-->|$)","-->").getRegex(),fb=je("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ub).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),hs=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,db=je(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",hs).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Dd=je(/^!?\[(label)\]\[(ref)\]/).replace("label",hs).replace("ref",Ha).getRegex(),Fd=je(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ha).getRegex(),hb=je("reflink|nolink(?!\\()","g").replace("reflink",Dd).replace("nolink",Fd).getRegex(),Ya={_backpedal:Qr,anyPunctuation:lb,autolink:cb,blockSkip:ib,br:Md,code:tb,del:Qr,emStrongLDelim:sb,emStrongRDelimAst:ob,emStrongRDelimUnd:ab,escape:Nd,link:db,nolink:Fd,punctuation:rb,reflink:Dd,reflinkSearch:hb,tag:fb,text:nb,url:Qr},pb={...Ya,link:je(/^!?\[(label)\]\((.*?)\)/).replace("label",hs).getRegex(),reflink:je(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",hs).getRegex()},Uo={...Ya,escape:je(Nd).replace("])","~|])").getRegex(),url:je(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},gb={...Uo,br:je(Md).replace("{2,}","*").getRegex(),text:je(Uo.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},$i={normal:Ka,gfm:Zy,pedantic:eb},$r={normal:Ya,gfm:Uo,breaks:gb,pedantic:pb};class Jt{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||ar,this.options.tokenizer=this.options.tokenizer||new ds,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const n={block:$i.normal,inline:$r.normal};this.options.pedantic?(n.block=$i.pedantic,n.inline=$r.pedantic):this.options.gfm&&(n.block=$i.gfm,this.options.breaks?n.inline=$r.breaks:n.inline=$r.gfm),this.tokenizer.rules=n}static get rules(){return{block:$i,inline:$r}}static lex(t,n){return new Jt(n).lex(t)}static lexInline(t,n){return new Jt(n).inlineTokens(t)}lex(t){t=t.replace(/\r\n|\r/g,`
|
|
57
|
+
`),this.blockTokens(t,this.tokens);for(let n=0;n<this.inlineQueue.length;n++){const r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[]){this.options.pedantic?t=t.replace(/\t/g," ").replace(/^ +$/gm,""):t=t.replace(/^( *)(\t+)/gm,(a,l,c)=>l+" ".repeat(c.length));let r,i,s,o;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(r=a.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.space(t)){t=t.substring(r.raw.length),r.raw.length===1&&n.length>0?n[n.length-1].raw+=`
|
|
58
|
+
`:n.push(r);continue}if(r=this.tokenizer.code(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
|
|
59
|
+
`+r.raw,i.text+=`
|
|
60
|
+
`+r.text,this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(r);continue}if(r=this.tokenizer.fences(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.heading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.hr(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.blockquote(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.list(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.html(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.def(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&(i.type==="paragraph"||i.type==="text")?(i.raw+=`
|
|
61
|
+
`+r.raw,i.text+=`
|
|
62
|
+
`+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=i.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if(r=this.tokenizer.table(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.lheading(t)){t=t.substring(r.raw.length),n.push(r);continue}if(s=t,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const l=t.slice(1);let c;this.options.extensions.startBlock.forEach(u=>{c=u.call({lexer:this},l),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(s=t.substring(0,a+1))}if(this.state.top&&(r=this.tokenizer.paragraph(s))){i=n[n.length-1],o&&i.type==="paragraph"?(i.raw+=`
|
|
63
|
+
`+r.raw,i.text+=`
|
|
64
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(r),o=s.length!==t.length,t=t.substring(r.raw.length);continue}if(r=this.tokenizer.text(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&i.type==="text"?(i.raw+=`
|
|
65
|
+
`+r.raw,i.text+=`
|
|
66
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=i.text):n.push(r);continue}if(t){const a="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r,i,s,o=t,a,l,c;if(this.tokens.links){const u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(o))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(o))!=null;)o=o.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+o.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(o))!=null;)o=o.slice(0,a.index)+"++"+o.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(l||(c=""),l=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(u=>(r=u.call({lexer:this},t,n))?(t=t.substring(r.raw.length),n.push(r),!0):!1))){if(r=this.tokenizer.escape(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.tag(t)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.link(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length),i=n[n.length-1],i&&r.type==="text"&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(r=this.tokenizer.emStrong(t,o,c)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.codespan(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.br(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.del(t)){t=t.substring(r.raw.length),n.push(r);continue}if(r=this.tokenizer.autolink(t)){t=t.substring(r.raw.length),n.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),n.push(r);continue}if(s=t,this.options.extensions&&this.options.extensions.startInline){let u=1/0;const f=t.slice(1);let d;this.options.extensions.startInline.forEach(g=>{d=g.call({lexer:this},f),typeof d=="number"&&d>=0&&(u=Math.min(u,d))}),u<1/0&&u>=0&&(s=t.substring(0,u+1))}if(r=this.tokenizer.inlineText(s)){t=t.substring(r.raw.length),r.raw.slice(-1)!=="_"&&(c=r.raw.slice(-1)),l=!0,i=n[n.length-1],i&&i.type==="text"?(i.raw+=r.raw,i.text+=r.text):n.push(r);continue}if(t){const u="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(u);break}else throw new Error(u)}}return n}}class ps{options;constructor(t){this.options=t||ar}code(t,n,r){const i=(n||"").match(/^\S*/)?.[0];return t=t.replace(/\n$/,"")+`
|
|
67
|
+
`,i?'<pre><code class="language-'+Pt(i)+'">'+(r?t:Pt(t,!0))+`</code></pre>
|
|
68
|
+
`:"<pre><code>"+(r?t:Pt(t,!0))+`</code></pre>
|
|
69
|
+
`}blockquote(t){return`<blockquote>
|
|
70
|
+
${t}</blockquote>
|
|
71
|
+
`}html(t,n){return t}heading(t,n,r){return`<h${n}>${t}</h${n}>
|
|
72
|
+
`}hr(){return`<hr>
|
|
73
|
+
`}list(t,n,r){const i=n?"ol":"ul",s=n&&r!==1?' start="'+r+'"':"";return"<"+i+s+`>
|
|
74
|
+
`+t+"</"+i+`>
|
|
75
|
+
`}listitem(t,n,r){return`<li>${t}</li>
|
|
76
|
+
`}checkbox(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(t){return`<p>${t}</p>
|
|
77
|
+
`}table(t,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
|
|
78
|
+
<thead>
|
|
79
|
+
`+t+`</thead>
|
|
80
|
+
`+n+`</table>
|
|
81
|
+
`}tablerow(t){return`<tr>
|
|
82
|
+
${t}</tr>
|
|
83
|
+
`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`</${r}>
|
|
84
|
+
`}strong(t){return`<strong>${t}</strong>`}em(t){return`<em>${t}</em>`}codespan(t){return`<code>${t}</code>`}br(){return"<br>"}del(t){return`<del>${t}</del>`}link(t,n,r){const i=Tc(t);if(i===null)return r;t=i;let s='<a href="'+t+'"';return n&&(s+=' title="'+n+'"'),s+=">"+r+"</a>",s}image(t,n,r){const i=Tc(t);if(i===null)return r;t=i;let s=`<img src="${t}" alt="${r}"`;return n&&(s+=` title="${n}"`),s+=">",s}text(t){return t}}class za{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class Qt{options;renderer;textRenderer;constructor(t){this.options=t||ar,this.options.renderer=this.options.renderer||new ps,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new za}static parse(t,n){return new Qt(n).parse(t)}static parseInline(t,n){return new Qt(n).parseInline(t)}parse(t,n=!0){let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const o=s,a=this.options.extensions.renderers[o.type].call({parser:this},o);if(a!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(o.type)){r+=a||"";continue}}switch(s.type){case"space":continue;case"hr":{r+=this.renderer.hr();continue}case"heading":{const o=s;r+=this.renderer.heading(this.parseInline(o.tokens),o.depth,jy(this.parseInline(o.tokens,this.textRenderer)));continue}case"code":{const o=s;r+=this.renderer.code(o.text,o.lang,!!o.escaped);continue}case"table":{const o=s;let a="",l="";for(let u=0;u<o.header.length;u++)l+=this.renderer.tablecell(this.parseInline(o.header[u].tokens),{header:!0,align:o.align[u]});a+=this.renderer.tablerow(l);let c="";for(let u=0;u<o.rows.length;u++){const f=o.rows[u];l="";for(let d=0;d<f.length;d++)l+=this.renderer.tablecell(this.parseInline(f[d].tokens),{header:!1,align:o.align[d]});c+=this.renderer.tablerow(l)}r+=this.renderer.table(a,c);continue}case"blockquote":{const o=s,a=this.parse(o.tokens);r+=this.renderer.blockquote(a);continue}case"list":{const o=s,a=o.ordered,l=o.start,c=o.loose;let u="";for(let f=0;f<o.items.length;f++){const d=o.items[f],g=d.checked,v=d.task;let C="";if(d.task){const O=this.renderer.checkbox(!!g);c?d.tokens.length>0&&d.tokens[0].type==="paragraph"?(d.tokens[0].text=O+" "+d.tokens[0].text,d.tokens[0].tokens&&d.tokens[0].tokens.length>0&&d.tokens[0].tokens[0].type==="text"&&(d.tokens[0].tokens[0].text=O+" "+d.tokens[0].tokens[0].text)):d.tokens.unshift({type:"text",text:O+" "}):C+=O+" "}C+=this.parse(d.tokens,c),u+=this.renderer.listitem(C,v,!!g)}r+=this.renderer.list(u,a,l);continue}case"html":{const o=s;r+=this.renderer.html(o.text,o.block);continue}case"paragraph":{const o=s;r+=this.renderer.paragraph(this.parseInline(o.tokens));continue}case"text":{let o=s,a=o.tokens?this.parseInline(o.tokens):o.text;for(;i+1<t.length&&t[i+1].type==="text";)o=t[++i],a+=`
|
|
85
|
+
`+(o.tokens?this.parseInline(o.tokens):o.text);r+=n?this.renderer.paragraph(a):a;continue}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}parseInline(t,n){n=n||this.renderer;let r="";for(let i=0;i<t.length;i++){const s=t[i];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const o=this.options.extensions.renderers[s.type].call({parser:this},s);if(o!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=o||"";continue}}switch(s.type){case"escape":{const o=s;r+=n.text(o.text);break}case"html":{const o=s;r+=n.html(o.text);break}case"link":{const o=s;r+=n.link(o.href,o.title,this.parseInline(o.tokens,n));break}case"image":{const o=s;r+=n.image(o.href,o.title,o.text);break}case"strong":{const o=s;r+=n.strong(this.parseInline(o.tokens,n));break}case"em":{const o=s;r+=n.em(this.parseInline(o.tokens,n));break}case"codespan":{const o=s;r+=n.codespan(o.text);break}case"br":{r+=n.br();break}case"del":{const o=s;r+=n.del(this.parseInline(o.tokens,n));break}case"text":{const o=s;r+=n.text(o.text);break}default:{const o='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(o),"";throw new Error(o)}}}return r}}class Xi{options;constructor(t){this.options=t||ar}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}}class mb{defaults=Ba();options=this.setOptions;parse=this.#e(Jt.lex,Qt.parse);parseInline=this.#e(Jt.lexInline,Qt.parseInline);Parser=Qt;Renderer=ps;TextRenderer=za;Lexer=Jt;Tokenizer=ds;Hooks=Xi;constructor(...t){this.use(...t)}walkTokens(t,n){let r=[];for(const i of t)switch(r=r.concat(n.call(this,i)),i.type){case"table":{const s=i;for(const o of s.header)r=r.concat(this.walkTokens(o.tokens,n));for(const o of s.rows)for(const a of o)r=r.concat(this.walkTokens(a.tokens,n));break}case"list":{const s=i;r=r.concat(this.walkTokens(s.items,n));break}default:{const s=i;this.defaults.extensions?.childTokens?.[s.type]?this.defaults.extensions.childTokens[s.type].forEach(o=>{const a=s[o].flat(1/0);r=r.concat(this.walkTokens(a,n))}):s.tokens&&(r=r.concat(this.walkTokens(s.tokens,n)))}}return r}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(r=>{const i={...r};if(i.async=this.defaults.async||i.async||!1,r.extensions&&(r.extensions.forEach(s=>{if(!s.name)throw new Error("extension name required");if("renderer"in s){const o=n.renderers[s.name];o?n.renderers[s.name]=function(...a){let l=s.renderer.apply(this,a);return l===!1&&(l=o.apply(this,a)),l}:n.renderers[s.name]=s.renderer}if("tokenizer"in s){if(!s.level||s.level!=="block"&&s.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=n[s.level];o?o.unshift(s.tokenizer):n[s.level]=[s.tokenizer],s.start&&(s.level==="block"?n.startBlock?n.startBlock.push(s.start):n.startBlock=[s.start]:s.level==="inline"&&(n.startInline?n.startInline.push(s.start):n.startInline=[s.start]))}"childTokens"in s&&s.childTokens&&(n.childTokens[s.name]=s.childTokens)}),i.extensions=n),r.renderer){const s=this.defaults.renderer||new ps(this.defaults);for(const o in r.renderer){if(!(o in s))throw new Error(`renderer '${o}' does not exist`);if(o==="options")continue;const a=o,l=r.renderer[a],c=s[a];s[a]=(...u)=>{let f=l.apply(s,u);return f===!1&&(f=c.apply(s,u)),f||""}}i.renderer=s}if(r.tokenizer){const s=this.defaults.tokenizer||new ds(this.defaults);for(const o in r.tokenizer){if(!(o in s))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const a=o,l=r.tokenizer[a],c=s[a];s[a]=(...u)=>{let f=l.apply(s,u);return f===!1&&(f=c.apply(s,u)),f}}i.tokenizer=s}if(r.hooks){const s=this.defaults.hooks||new Xi;for(const o in r.hooks){if(!(o in s))throw new Error(`hook '${o}' does not exist`);if(o==="options")continue;const a=o,l=r.hooks[a],c=s[a];Xi.passThroughHooks.has(o)?s[a]=u=>{if(this.defaults.async)return Promise.resolve(l.call(s,u)).then(d=>c.call(s,d));const f=l.call(s,u);return c.call(s,f)}:s[a]=(...u)=>{let f=l.apply(s,u);return f===!1&&(f=c.apply(s,u)),f}}i.hooks=s}if(r.walkTokens){const s=this.defaults.walkTokens,o=r.walkTokens;i.walkTokens=function(a){let l=[];return l.push(o.call(this,a)),s&&(l=l.concat(s.call(this,a))),l}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Jt.lex(t,n??this.defaults)}parser(t,n){return Qt.parse(t,n??this.defaults)}#e(t,n){return(r,i)=>{const s={...i},o={...this.defaults,...s};this.defaults.async===!0&&s.async===!1&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);const a=this.#t(!!o.silent,!!o.async);if(typeof r>"u"||r===null)return a(new Error("marked(): input parameter is undefined or null"));if(typeof r!="string")return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(l=>t(l,o)).then(l=>o.hooks?o.hooks.processAllTokens(l):l).then(l=>o.walkTokens?Promise.all(this.walkTokens(l,o.walkTokens)).then(()=>l):l).then(l=>n(l,o)).then(l=>o.hooks?o.hooks.postprocess(l):l).catch(a);try{o.hooks&&(r=o.hooks.preprocess(r));let l=t(r,o);o.hooks&&(l=o.hooks.processAllTokens(l)),o.walkTokens&&this.walkTokens(l,o.walkTokens);let c=n(l,o);return o.hooks&&(c=o.hooks.postprocess(c)),c}catch(l){return a(l)}}}#t(t,n){return r=>{if(r.message+=`
|
|
86
|
+
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+Pt(r.message+"",!0)+"</pre>";return n?Promise.resolve(i):i}if(n)return Promise.reject(r);throw r}}}const rr=new mb;function Me(e,t){return rr.parse(e,t)}Me.options=Me.setOptions=function(e){return rr.setOptions(e),Me.defaults=rr.defaults,kd(Me.defaults),Me};Me.getDefaults=Ba;Me.defaults=ar;Me.use=function(...e){return rr.use(...e),Me.defaults=rr.defaults,kd(Me.defaults),Me};Me.walkTokens=function(e,t){return rr.walkTokens(e,t)};Me.parseInline=rr.parseInline;Me.Parser=Qt;Me.parser=Qt.parse;Me.Renderer=ps;Me.TextRenderer=za;Me.Lexer=Jt;Me.lexer=Jt.lex;Me.Tokenizer=ds;Me.Hooks=Xi;Me.parse=Me;Me.options;Me.setOptions;Me.use;Me.walkTokens;Me.parseInline;Qt.parse;Jt.lex;class ge{static init(t){this.logger=t?.getLogger("skin.vue.contenttools")}static listenToClicks(t,n){t.addEventListener("click",function(i){const s=i.composedPath().find(o=>o.nodeName==="A");if(s?.href)if(ge.logger?.debug("You clicked",s.href),ge.logger?.debug(i.target),ge.logger?.debug(i.target.href),ge.logger?.debug(location),ge.logger?.debug(location.origin),ge.logger?.debug(location.hostname),i.preventDefault(),s.href.startsWith(location.origin)){ge.logger?.debug("URL is relative URL");const o=s.href.replace(location.origin+location.pathname,"");if(!o.startsWith("#"))ge.logger?.debug("New page should be",o),n?.setCurrentPage(o,"view"),n?.loadPage().then();else{ge.logger?.debug("Leaving alone page",o),location=o;return}}else n!=null?n.loadPageFromURL(s.href).then():ge.logger?.error("cristal object not injected properly in c-content.vue")},!0)}static loadCSS(t){t&&t.length>0&&(ge.logger?.debug("Current CSS is ",t.length),t.forEach(n=>{const r=ge.urlToLoad(n);if(r!=null){const i=document.createElement("link");i.href=r,i.type="text/css",i.rel="stylesheet",ge.logger?.debug("Ready to load css ",i),document.head.appendChild(i)}else ge.logger?.debug("CSS already loaded: ",n)}))}static loadJS(t){if(t&&t.length>0){ge.logger?.debug("Loading JS code for content"),t.forEach(n=>{ge.logger?.debug("JS Link: ",n);const r=ge.urlToLoad(n);if(r!=null){const i=document.createElement("script");i.src=r,i.async=!1,ge.logger?.debug("Ready to load js ",i),document.head.appendChild(i)}else ge.logger?.debug("JS already loaded: ",n)}),ge.logger?.debug("ready to fire event for main content");try{ge.logger?.debug("prototype doc is",document)}catch(n){ge.logger?.debug("exception firing event",n)}}}static urlToLoad(t){let n=null;const r=document.createRange();return r.setStart(document.head,0),r.createContextualFragment(t).querySelectorAll("link[href], script[src]").forEach(function(s){n=s.src||s.href,document.querySelectorAll("link[href], script[src]").forEach(function(o){const a=o.src||o.href;if(n&&n==a)return null})}),n}static transformImages(t,n){const r=document.getElementById(n);if(r){const i=function(s){const o=s.attributes.getNamedItem("src");if(o&&(ge.logger?.debug("Found image with url ",o.value),o.value.indexOf("http")!=0)){const a=t?.getWikiConfig().storage.getImageURL(t.getCurrentPage(),o.value);a&&(s.src=a,ge.logger?.debug("Transforming image to url ",s.src))}};new MutationObserver(function(s){ge.logger?.debug("Called in mutation records"),s[0].addedNodes.item;for(const{addedNodes:a}of s)a.forEach(l=>{l.nodeType==1&&(l.querySelectorAll("img").forEach(u=>{i(u)}),l.tagName==="IMG"&&i(l))})}).observe(r,{childList:!0,subtree:!0})}}static transformScripts(){const t=function(n){const r=n.attributes.getNamedItem("src");r&&(ge.logger?.debug("Content Found script with url ",r.value),r.value.indexOf("/")==0?(ge.logger?.debug("Content Ready to transform script url",r.value),n.src="https://wiki30.demo.xwiki.com"+r.value,ge.logger?.debug("Content Transforming script to url ",n.src)):ge.logger?.debug("Content Do not transform script url",r.value))};new MutationObserver(function(n){ge.logger?.debug("Called in mutation records"),n[0].addedNodes.item;for(const{addedNodes:i}of n)i.forEach(s=>{s.nodeType==1&&(s.querySelectorAll("script").forEach(a=>{ge.logger?.debug("Transforming script url "+a),t(a)}),s.tagName==="SCRIPT"&&(ge.logger?.debug("Transforming script url "+s.src),t(s)))})}).observe(document.head,{childList:!0,subtree:!0})}static mount(t,n,r,i,s){let o=i,a=H(t,n,r);return s&&s._context&&(a.appContext=s._context),o?no(a,o):typeof document<"u"&&no(a,o=document.createElement("div")),()=>{o&&no(null,o),o=null,a=null}}static transformMacros(t,n){const r=t.getElementsByTagName("pre");for(let i=0;i<r.length;i++){const s=r[i];if(s.className=="wikimodel-macro"){const o=s.getAttribute("macroname");if(o!=null&&o!=""){ge.logger?.debug("Found macro",o);try{const a=n?.getContainer().getNamed("MacroProvider",o),l=a?.getVueComponent();if(l&&n?.getApp()){s.id="wikimodel-macro-"+o+"-1";const c=a.parseParameters(s);this.mount(l,{macroData:c},null,s,n.getApp())}}catch(a){ge.logger?.debug("Could not find macro implementation for",o,a)}}}}}}const _b={key:1},vb=nt({__name:"ExtraTabs",async setup(e){let t,n;const i=$e("cristal").getContainer().get("ExtraTabsService"),s=([t,n]=Ra(()=>i.list()),t=await t,n(),t),o=ke({});async function a(c){c&&!o.value[c.id]&&(o.value[c.id]=yi(await c.panel()))}function l(c){a(s.find(u=>u.id==c))}return Oa(async()=>{s.length>0&&await a(s[0])}),(c,u)=>{const f=Xe("x-tab"),d=Xe("x-tab-panel"),g=Xe("x-tab-group");return fe(),Ct(g,{class:"tab-group",onChange:l},{tabs:ht(()=>[(fe(!0),Ce(ze,null,ai(Ee(s),v=>(fe(),Ct(f,{key:v.id,"tab-id":v.id},{default:ht(()=>[it($t(v.title),1)]),_:2},1032,["tab-id"]))),128))]),panels:ht(()=>[(fe(!0),Ce(ze,null,ai(Ee(s),v=>(fe(),Ct(d,{key:v.id,"tab-id":v.id},{default:ht(()=>[o.value[v.id]?(fe(),Ct(Ms(o.value[v.id]),{key:0})):(fe(),Ce("span",_b,"Loading..."))]),_:2},1032,["tab-id"]))),128))]),_:1})}}}),yb=ot(vb,[["__scopeId","data-v-59cb87de"]]);/*!
|
|
87
|
+
* shared v9.13.1
|
|
88
|
+
* (c) 2024 kazuya kawaguchi
|
|
89
|
+
* Released under the MIT License.
|
|
90
|
+
*/const gs=typeof window<"u",Vn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),bb=(e,t,n)=>wb({l:e,k:t,s:n}),wb=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ct=e=>typeof e=="number"&&isFinite(e),Eb=e=>Ud(e)==="[object Date]",Fn=e=>Ud(e)==="[object RegExp]",js=e=>me(e)&&Object.keys(e).length===0,_t=Object.assign;let kc;const cn=()=>kc||(kc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pc(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const Cb=Object.prototype.hasOwnProperty;function ms(e,t){return Cb.call(e,t)}const qe=Array.isArray,Be=e=>typeof e=="function",Q=e=>typeof e=="string",we=e=>typeof e=="boolean",De=e=>e!==null&&typeof e=="object",Tb=e=>De(e)&&Be(e.then)&&Be(e.catch),$d=Object.prototype.toString,Ud=e=>$d.call(e),me=e=>{if(!De(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Sb=e=>e==null?"":qe(e)||me(e)&&e.toString===$d?JSON.stringify(e,null,2):String(e);function Ab(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}function Ws(e){let t=e;return()=>++t}function Ib(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ui=e=>!De(e)||qe(e);function qi(e,t){if(Ui(e)||Ui(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(s=>{Ui(r[s])||Ui(i[s])?i[s]=r[s]:n.push({src:r[s],des:i[s]})})}}/*!
|
|
91
|
+
* message-compiler v9.13.1
|
|
92
|
+
* (c) 2024 kazuya kawaguchi
|
|
93
|
+
* Released under the MIT License.
|
|
94
|
+
*/function kb(e,t,n){return{line:e,column:t,offset:n}}function _s(e,t,n){return{start:e,end:t}}const Pb=/\{([0-9a-zA-Z]+)\}/g;function jd(e,...t){return t.length===1&&xb(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Pb,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Wd=Object.assign,xc=e=>typeof e=="string",xb=e=>e!==null&&typeof e=="object";function Bd(e,t=""){return e.reduce((n,r,i)=>i===0?n+r:n+t+r,"")}const Xa={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Ob={[Xa.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Lb(e,t,...n){const r=jd(Ob[e],...n||[]),i={message:String(r),code:e};return t&&(i.location=t),i}const he={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Rb={[he.EXPECTED_TOKEN]:"Expected token: '{0}'",[he.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[he.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[he.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[he.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[he.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[he.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[he.EMPTY_PLACEHOLDER]:"Empty placeholder",[he.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[he.INVALID_LINKED_FORMAT]:"Invalid linked format",[he.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[he.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[he.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[he.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[he.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[he.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Rr(e,t,n={}){const{domain:r,messages:i,args:s}=n,o=jd((i||Rb)[e]||"",...s||[]),a=new SyntaxError(String(o));return a.code=e,t&&(a.location=t),a.domain=r,a}function Nb(e){throw e}const nn=" ",Mb="\r",Et=`
|
|
95
|
+
`,Db="\u2028",Fb="\u2029";function $b(e){const t=e;let n=0,r=1,i=1,s=0;const o=N=>t[N]===Mb&&t[N+1]===Et,a=N=>t[N]===Et,l=N=>t[N]===Fb,c=N=>t[N]===Db,u=N=>o(N)||a(N)||l(N)||c(N),f=()=>n,d=()=>r,g=()=>i,v=()=>s,C=N=>o(N)||l(N)||c(N)?Et:t[N],O=()=>C(n),x=()=>C(n+s);function R(){return s=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function w(){return o(n+s)&&s++,s++,t[n+s]}function I(){n=0,r=1,i=1,s=0}function A(N=0){s=N}function b(){const N=n+s;for(;N!==n;)R();s=0}return{index:f,line:d,column:g,peekOffset:v,charAt:C,currentChar:O,currentPeek:x,next:R,peek:w,reset:I,resetPeek:A,skipToPeek:b}}const yn=void 0,Ub=".",Oc="'",jb="tokenizer";function Wb(e,t={}){const n=t.location!==!1,r=$b(e),i=()=>r.index(),s=()=>kb(r.line(),r.column(),r.index()),o=s(),a=i(),l={currentType:14,offset:a,startLoc:o,endLoc:o,lastType:14,lastOffset:a,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function f(p,m,y,...D){const X=c();if(m.column+=y,m.offset+=y,u){const B=n?_s(X.startLoc,m):null,S=Rr(p,B,{domain:jb,args:D});u(S)}}function d(p,m,y){p.endLoc=s(),p.currentType=m;const D={type:m};return n&&(D.loc=_s(p.startLoc,p.endLoc)),y!=null&&(D.value=y),D}const g=p=>d(p,14);function v(p,m){return p.currentChar()===m?(p.next(),m):(f(he.EXPECTED_TOKEN,s(),0,m),"")}function C(p){let m="";for(;p.currentPeek()===nn||p.currentPeek()===Et;)m+=p.currentPeek(),p.peek();return m}function O(p){const m=C(p);return p.skipToPeek(),m}function x(p){if(p===yn)return!1;const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m===95}function R(p){if(p===yn)return!1;const m=p.charCodeAt(0);return m>=48&&m<=57}function w(p,m){const{currentType:y}=m;if(y!==2)return!1;C(p);const D=x(p.currentPeek());return p.resetPeek(),D}function I(p,m){const{currentType:y}=m;if(y!==2)return!1;C(p);const D=p.currentPeek()==="-"?p.peek():p.currentPeek(),X=R(D);return p.resetPeek(),X}function A(p,m){const{currentType:y}=m;if(y!==2)return!1;C(p);const D=p.currentPeek()===Oc;return p.resetPeek(),D}function b(p,m){const{currentType:y}=m;if(y!==8)return!1;C(p);const D=p.currentPeek()===".";return p.resetPeek(),D}function N(p,m){const{currentType:y}=m;if(y!==9)return!1;C(p);const D=x(p.currentPeek());return p.resetPeek(),D}function F(p,m){const{currentType:y}=m;if(!(y===8||y===12))return!1;C(p);const D=p.currentPeek()===":";return p.resetPeek(),D}function k(p,m){const{currentType:y}=m;if(y!==10)return!1;const D=()=>{const B=p.currentPeek();return B==="{"?x(p.peek()):B==="@"||B==="%"||B==="|"||B===":"||B==="."||B===nn||!B?!1:B===Et?(p.peek(),D()):W(p,!1)},X=D();return p.resetPeek(),X}function K(p){C(p);const m=p.currentPeek()==="|";return p.resetPeek(),m}function ne(p){const m=C(p),y=p.currentPeek()==="%"&&p.peek()==="{";return p.resetPeek(),{isModulo:y,hasSpace:m.length>0}}function W(p,m=!0){const y=(X=!1,B="",S=!1)=>{const L=p.currentPeek();return L==="{"?B==="%"?!1:X:L==="@"||!L?B==="%"?!0:X:L==="%"?(p.peek(),y(X,"%",!0)):L==="|"?B==="%"||S?!0:!(B===nn||B===Et):L===nn?(p.peek(),y(!0,nn,S)):L===Et?(p.peek(),y(!0,Et,S)):!0},D=y();return m&&p.resetPeek(),D}function se(p,m){const y=p.currentChar();return y===yn?yn:m(y)?(p.next(),y):null}function Se(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36}function xe(p){return se(p,Se)}function le(p){const m=p.charCodeAt(0);return m>=97&&m<=122||m>=65&&m<=90||m>=48&&m<=57||m===95||m===36||m===45}function _e(p){return se(p,le)}function ye(p){const m=p.charCodeAt(0);return m>=48&&m<=57}function dt(p){return se(p,ye)}function gt(p){const m=p.charCodeAt(0);return m>=48&&m<=57||m>=65&&m<=70||m>=97&&m<=102}function Ge(p){return se(p,gt)}function ee(p){let m="",y="";for(;m=dt(p);)y+=m;return y}function at(p){O(p);const m=p.currentChar();return m!=="%"&&f(he.EXPECTED_TOKEN,s(),0,m),p.next(),"%"}function bt(p){let m="";for(;;){const y=p.currentChar();if(y==="{"||y==="}"||y==="@"||y==="|"||!y)break;if(y==="%")if(W(p))m+=y,p.next();else break;else if(y===nn||y===Et)if(W(p))m+=y,p.next();else{if(K(p))break;m+=y,p.next()}else m+=y,p.next()}return m}function Re(p){O(p);let m="",y="";for(;m=_e(p);)y+=m;return p.currentChar()===yn&&f(he.UNTERMINATED_CLOSING_BRACE,s(),0),y}function Je(p){O(p);let m="";return p.currentChar()==="-"?(p.next(),m+=`-${ee(p)}`):m+=ee(p),p.currentChar()===yn&&f(he.UNTERMINATED_CLOSING_BRACE,s(),0),m}function U(p){return p!==Oc&&p!==Et}function q(p){O(p),v(p,"'");let m="",y="";for(;m=se(p,U);)m==="\\"?y+=Y(p):y+=m;const D=p.currentChar();return D===Et||D===yn?(f(he.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),D===Et&&(p.next(),v(p,"'")),y):(v(p,"'"),y)}function Y(p){const m=p.currentChar();switch(m){case"\\":case"'":return p.next(),`\\${m}`;case"u":return J(p,m,4);case"U":return J(p,m,6);default:return f(he.UNKNOWN_ESCAPE_SEQUENCE,s(),0,m),""}}function J(p,m,y){v(p,m);let D="";for(let X=0;X<y;X++){const B=Ge(p);if(!B){f(he.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${m}${D}${p.currentChar()}`);break}D+=B}return`\\${m}${D}`}function be(p){return p!=="{"&&p!=="}"&&p!==nn&&p!==Et}function Ie(p){O(p);let m="",y="";for(;m=se(p,be);)y+=m;return y}function _(p){let m="",y="";for(;m=xe(p);)y+=m;return y}function h(p){const m=y=>{const D=p.currentChar();return D==="{"||D==="%"||D==="@"||D==="|"||D==="("||D===")"||!D||D===nn?y:(y+=D,p.next(),m(y))};return m("")}function T(p){O(p);const m=v(p,"|");return O(p),m}function j(p,m){let y=null;switch(p.currentChar()){case"{":return m.braceNest>=1&&f(he.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),p.next(),y=d(m,2,"{"),O(p),m.braceNest++,y;case"}":return m.braceNest>0&&m.currentType===2&&f(he.EMPTY_PLACEHOLDER,s(),0),p.next(),y=d(m,3,"}"),m.braceNest--,m.braceNest>0&&O(p),m.inLinked&&m.braceNest===0&&(m.inLinked=!1),y;case"@":return m.braceNest>0&&f(he.UNTERMINATED_CLOSING_BRACE,s(),0),y=M(p,m)||g(m),m.braceNest=0,y;default:{let X=!0,B=!0,S=!0;if(K(p))return m.braceNest>0&&f(he.UNTERMINATED_CLOSING_BRACE,s(),0),y=d(m,1,T(p)),m.braceNest=0,m.inLinked=!1,y;if(m.braceNest>0&&(m.currentType===5||m.currentType===6||m.currentType===7))return f(he.UNTERMINATED_CLOSING_BRACE,s(),0),m.braceNest=0,V(p,m);if(X=w(p,m))return y=d(m,5,Re(p)),O(p),y;if(B=I(p,m))return y=d(m,6,Je(p)),O(p),y;if(S=A(p,m))return y=d(m,7,q(p)),O(p),y;if(!X&&!B&&!S)return y=d(m,13,Ie(p)),f(he.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,y.value),O(p),y;break}}return y}function M(p,m){const{currentType:y}=m;let D=null;const X=p.currentChar();switch((y===8||y===9||y===12||y===10)&&(X===Et||X===nn)&&f(he.INVALID_LINKED_FORMAT,s(),0),X){case"@":return p.next(),D=d(m,8,"@"),m.inLinked=!0,D;case".":return O(p),p.next(),d(m,9,".");case":":return O(p),p.next(),d(m,10,":");default:return K(p)?(D=d(m,1,T(p)),m.braceNest=0,m.inLinked=!1,D):b(p,m)||F(p,m)?(O(p),M(p,m)):N(p,m)?(O(p),d(m,12,_(p))):k(p,m)?(O(p),X==="{"?j(p,m)||D:d(m,11,h(p))):(y===8&&f(he.INVALID_LINKED_FORMAT,s(),0),m.braceNest=0,m.inLinked=!1,V(p,m))}}function V(p,m){let y={type:14};if(m.braceNest>0)return j(p,m)||g(m);if(m.inLinked)return M(p,m)||g(m);switch(p.currentChar()){case"{":return j(p,m)||g(m);case"}":return f(he.UNBALANCED_CLOSING_BRACE,s(),0),p.next(),d(m,3,"}");case"@":return M(p,m)||g(m);default:{if(K(p))return y=d(m,1,T(p)),m.braceNest=0,m.inLinked=!1,y;const{isModulo:X,hasSpace:B}=ne(p);if(X)return B?d(m,0,bt(p)):d(m,4,at(p));if(W(p))return d(m,0,bt(p));break}}return y}function z(){const{currentType:p,offset:m,startLoc:y,endLoc:D}=l;return l.lastType=p,l.lastOffset=m,l.lastStartLoc=y,l.lastEndLoc=D,l.offset=i(),l.startLoc=s(),r.currentChar()===yn?d(l,14):V(r,l)}return{nextToken:z,currentOffset:i,currentPosition:s,context:c}}const Bb="parser",Vb=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Hb(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function Gb(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function i(w,I,A,b,...N){const F=w.currentPosition();if(F.offset+=b,F.column+=b,n){const k=t?_s(A,F):null,K=Rr(I,k,{domain:Bb,args:N});n(K)}}function s(w,I,A,b,...N){const F=w.currentPosition();if(F.offset+=b,F.column+=b,r){const k=t?_s(A,F):null;r(Lb(I,k,N))}}function o(w,I,A){const b={type:w};return t&&(b.start=I,b.end=I,b.loc={start:A,end:A}),b}function a(w,I,A,b){t&&(w.end=I,w.loc&&(w.loc.end=A))}function l(w,I){const A=w.context(),b=o(3,A.offset,A.startLoc);return b.value=I,a(b,w.currentOffset(),w.currentPosition()),b}function c(w,I){const A=w.context(),{lastOffset:b,lastStartLoc:N}=A,F=o(5,b,N);return F.index=parseInt(I,10),w.nextToken(),a(F,w.currentOffset(),w.currentPosition()),F}function u(w,I,A){const b=w.context(),{lastOffset:N,lastStartLoc:F}=b,k=o(4,N,F);return k.key=I,A===!0&&(k.modulo=!0),w.nextToken(),a(k,w.currentOffset(),w.currentPosition()),k}function f(w,I){const A=w.context(),{lastOffset:b,lastStartLoc:N}=A,F=o(9,b,N);return F.value=I.replace(Vb,Hb),w.nextToken(),a(F,w.currentOffset(),w.currentPosition()),F}function d(w){const I=w.nextToken(),A=w.context(),{lastOffset:b,lastStartLoc:N}=A,F=o(8,b,N);return I.type!==12?(i(w,he.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),F.value="",a(F,b,N),{nextConsumeToken:I,node:F}):(I.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Wt(I)),F.value=I.value||"",a(F,w.currentOffset(),w.currentPosition()),{node:F})}function g(w,I){const A=w.context(),b=o(7,A.offset,A.startLoc);return b.value=I,a(b,w.currentOffset(),w.currentPosition()),b}function v(w){const I=w.context(),A=o(6,I.offset,I.startLoc);let b=w.nextToken();if(b.type===9){const N=d(w);A.modifier=N.node,b=N.nextConsumeToken||w.nextToken()}switch(b.type!==10&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(b)),b=w.nextToken(),b.type===2&&(b=w.nextToken()),b.type){case 11:b.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(b)),A.key=g(w,b.value||"");break;case 5:b.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(b)),A.key=u(w,b.value||"");break;case 6:b.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(b)),A.key=c(w,b.value||"");break;case 7:b.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(b)),A.key=f(w,b.value||"");break;default:{i(w,he.UNEXPECTED_EMPTY_LINKED_KEY,I.lastStartLoc,0);const N=w.context(),F=o(7,N.offset,N.startLoc);return F.value="",a(F,N.offset,N.startLoc),A.key=F,a(A,N.offset,N.startLoc),{nextConsumeToken:b,node:A}}}return a(A,w.currentOffset(),w.currentPosition()),{node:A}}function C(w){const I=w.context(),A=I.currentType===1?w.currentOffset():I.offset,b=I.currentType===1?I.endLoc:I.startLoc,N=o(2,A,b);N.items=[];let F=null,k=null;do{const W=F||w.nextToken();switch(F=null,W.type){case 0:W.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(W)),N.items.push(l(w,W.value||""));break;case 6:W.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(W)),N.items.push(c(w,W.value||""));break;case 4:k=!0;break;case 5:W.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(W)),N.items.push(u(w,W.value||"",!!k)),k&&(s(w,Xa.USE_MODULO_SYNTAX,I.lastStartLoc,0,Wt(W)),k=null);break;case 7:W.value==null&&i(w,he.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,Wt(W)),N.items.push(f(w,W.value||""));break;case 8:{const se=v(w);N.items.push(se.node),F=se.nextConsumeToken||null;break}}}while(I.currentType!==14&&I.currentType!==1);const K=I.currentType===1?I.lastOffset:w.currentOffset(),ne=I.currentType===1?I.lastEndLoc:w.currentPosition();return a(N,K,ne),N}function O(w,I,A,b){const N=w.context();let F=b.items.length===0;const k=o(1,I,A);k.cases=[],k.cases.push(b);do{const K=C(w);F||(F=K.items.length===0),k.cases.push(K)}while(N.currentType!==14);return F&&i(w,he.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),a(k,w.currentOffset(),w.currentPosition()),k}function x(w){const I=w.context(),{offset:A,startLoc:b}=I,N=C(w);return I.currentType===14?N:O(w,A,b,N)}function R(w){const I=Wb(w,Wd({},e)),A=I.context(),b=o(0,A.offset,A.startLoc);return t&&b.loc&&(b.loc.source=w),b.body=x(I),e.onCacheKey&&(b.cacheKey=e.onCacheKey(w)),A.currentType!==14&&i(I,he.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,w[A.offset]||""),a(b,I.currentOffset(),I.currentPosition()),b}return{parse:R}}function Wt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Kb(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Lc(e,t){for(let n=0;n<e.length;n++)qa(e[n],t)}function qa(e,t){switch(e.type){case 1:Lc(e.cases,t),t.helper("plural");break;case 2:Lc(e.items,t);break;case 6:{qa(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Yb(e,t={}){const n=Kb(e);n.helper("normalize"),e.body&&qa(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function zb(e){const t=e.body;return t.type===2?Rc(t):t.cases.forEach(n=>Rc(n)),e}function Rc(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=Bd(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Xb="minifier";function fr(e){switch(e.t=e.type,e.type){case 0:{const t=e;fr(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)fr(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)fr(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;fr(t.key),t.k=t.key,delete t.key,t.modifier&&(fr(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Rr(he.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Xb,args:[e.type]})}delete e.type}const qb="parser";function Jb(e,t){const{sourceMap:n,filename:r,breakLineCode:i,needIndent:s}=t,o=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:s,indentLevel:0};o&&e.loc&&(a.source=e.loc.source);const l=()=>a;function c(O,x){a.code+=O}function u(O,x=!0){const R=x?i:"";c(s?R+" ".repeat(O):R)}function f(O=!0){const x=++a.indentLevel;O&&u(x)}function d(O=!0){const x=--a.indentLevel;O&&u(x)}function g(){u(a.indentLevel)}return{context:l,push:c,indent:f,deindent:d,newline:g,helper:O=>`_${O}`,needIndent:()=>a.needIndent}}function Qb(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),kr(e,t.key),t.modifier?(e.push(", "),kr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Zb(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const i=t.items.length;for(let s=0;s<i&&(kr(e,t.items[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function ew(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const i=t.cases.length;for(let s=0;s<i&&(kr(e,t.cases[s]),s!==i-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function tw(e,t){t.body?kr(e,t.body):e.push("null")}function kr(e,t){const{helper:n}=e;switch(t.type){case 0:tw(e,t);break;case 1:ew(e,t);break;case 2:Zb(e,t);break;case 6:Qb(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Rr(he.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:qb,args:[t.type]})}}const nw=(e,t={})=>{const n=xc(t.mode)?t.mode:"normal",r=xc(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
96
|
+
`,o=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Jb(e,{mode:n,filename:r,sourceMap:i,breakLineCode:s,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),a.length>0&&(l.push(`const { ${Bd(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),kr(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function rw(e,t={}){const n=Wd({},t),r=!!n.jit,i=!!n.minify,s=n.optimize==null?!0:n.optimize,a=Gb(n).parse(e);return r?(s&&zb(a),i&&fr(a),{ast:a,code:""}):(Yb(a,n),nw(a,n))}/*!
|
|
97
|
+
* core-base v9.13.1
|
|
98
|
+
* (c) 2024 kazuya kawaguchi
|
|
99
|
+
* Released under the MIT License.
|
|
100
|
+
*/function iw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(cn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(cn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(cn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Hn=[];Hn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Hn[1]={w:[1],".":[2],"[":[4],o:[7]};Hn[2]={w:[2],i:[3,0],0:[3,0]};Hn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Hn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Hn[5]={"'":[4,0],o:8,l:[5,0]};Hn[6]={'"':[4,0],o:8,l:[6,0]};const sw=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ow(e){return sw.test(e)}function aw(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function lw(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function cw(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ow(t)?aw(t):"*"+t}function uw(e){const t=[];let n=-1,r=0,i=0,s,o,a,l,c,u,f;const d=[];d[0]=()=>{o===void 0?o=a:o+=a},d[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},d[2]=()=>{d[0](),i++},d[3]=()=>{if(i>0)i--,r=4,d[0]();else{if(i=0,o===void 0||(o=cw(o),o===!1))return!1;d[1]()}};function g(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,a="\\"+v,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&g())){if(l=lw(s),f=Hn[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(u=d[c[1]],u&&(a=s,u()===!1))))return;if(r===7)return t}}const Nc=new Map;function fw(e,t){return De(e)?e[t]:null}function dw(e,t){if(!De(e))return null;let n=Nc.get(t);if(n||(n=uw(t),n&&Nc.set(t,n)),!n)return null;const r=n.length;let i=e,s=0;for(;s<r;){const o=i[n[s]];if(o===void 0||Be(i))return null;i=o,s++}return i}const hw=e=>e,pw=e=>"",gw="text",mw=e=>e.length===0?"":Ab(e),_w=Sb;function Mc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function vw(e){const t=ct(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ct(e.named.count)||ct(e.named.n))?ct(e.named.count)?e.named.count:ct(e.named.n)?e.named.n:t:t}function yw(e,t){t.count||(t.count=e),t.n||(t.n=e)}function bw(e={}){const t=e.locale,n=vw(e),r=De(e.pluralRules)&&Q(t)&&Be(e.pluralRules[t])?e.pluralRules[t]:Mc,i=De(e.pluralRules)&&Q(t)&&Be(e.pluralRules[t])?Mc:void 0,s=x=>x[r(n,x.length,i)],o=e.list||[],a=x=>o[x],l=e.named||{};ct(e.pluralIndex)&&yw(n,l);const c=x=>l[x];function u(x){const R=Be(e.messages)?e.messages(x):De(e.messages)?e.messages[x]:!1;return R||(e.parent?e.parent.message(x):pw)}const f=x=>e.modifiers?e.modifiers[x]:hw,d=me(e.processor)&&Be(e.processor.normalize)?e.processor.normalize:mw,g=me(e.processor)&&Be(e.processor.interpolate)?e.processor.interpolate:_w,v=me(e.processor)&&Q(e.processor.type)?e.processor.type:gw,O={list:a,named:c,plural:s,linked:(x,...R)=>{const[w,I]=R;let A="text",b="";R.length===1?De(w)?(b=w.modifier||b,A=w.type||A):Q(w)&&(b=w||b):R.length===2&&(Q(w)&&(b=w||b),Q(I)&&(A=I||A));const N=u(x)(O),F=A==="vnode"&&qe(N)&&b?N[0]:N;return b?f(b)(F,A):F},message:u,type:v,interpolate:g,normalize:d,values:_t({},o,l)};return O}let hi=null;function ww(e){hi=e}function Ew(e,t,n){hi&&hi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Cw=Tw("function:translate");function Tw(e){return t=>hi&&hi.emit(e,t)}const Vd=Xa.__EXTEND_POINT__,zn=Ws(Vd),Sw={NOT_FOUND_KEY:Vd,FALLBACK_TO_TRANSLATE:zn(),CANNOT_FORMAT_NUMBER:zn(),FALLBACK_TO_NUMBER_FORMAT:zn(),CANNOT_FORMAT_DATE:zn(),FALLBACK_TO_DATE_FORMAT:zn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:zn(),__EXTEND_POINT__:zn()},Hd=he.__EXTEND_POINT__,Xn=Ws(Hd),Vt={INVALID_ARGUMENT:Hd,INVALID_DATE_ARGUMENT:Xn(),INVALID_ISO_DATE_ARGUMENT:Xn(),NOT_SUPPORT_NON_STRING_MESSAGE:Xn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Xn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Xn(),NOT_SUPPORT_LOCALE_TYPE:Xn(),__EXTEND_POINT__:Xn()};function Zt(e){return Rr(e,null,void 0)}function Ja(e,t){return t.locale!=null?Dc(t.locale):Dc(e.locale)}let oo;function Dc(e){if(Q(e))return e;if(Be(e)){if(e.resolvedOnce&&oo!=null)return oo;if(e.constructor.name==="Function"){const t=e();if(Tb(t))throw Zt(Vt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return oo=t}else throw Zt(Vt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Zt(Vt.NOT_SUPPORT_LOCALE_TYPE)}function Aw(e,t,n){return[...new Set([n,...qe(t)?t:De(t)?Object.keys(t):Q(t)?[t]:[n]])]}function Gd(e,t,n){const r=Q(n)?n:Pr,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(r);if(!s){s=[];let o=[n];for(;qe(o);)o=Fc(s,o,t);const a=qe(t)||!me(t)?t:t.default?t.default:null;o=Q(a)?[a]:a,qe(o)&&Fc(s,o,!1),i.__localeChainCache.set(r,s)}return s}function Fc(e,t,n){let r=!0;for(let i=0;i<t.length&&we(r);i++){const s=t[i];Q(s)&&(r=Iw(e,t[i],n))}return r}function Iw(e,t,n){let r;const i=t.split("-");do{const s=i.join("-");r=kw(e,s,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function kw(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const i=t.replace(/!/g,"");e.push(i),(qe(n)||me(n))&&n[i]&&(r=n[i])}return r}const Pw="9.13.1",Bs=-1,Pr="en-US",$c="",Uc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function xw(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&De(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&De(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?Uc(e):t==="vnode"&&De(e)&&"__v_isVNode"in e?Uc(e.children):e}}let Kd;function jc(e){Kd=e}let Yd;function Ow(e){Yd=e}let zd;function Lw(e){zd=e}let Xd=null;const Rw=e=>{Xd=e},Nw=()=>Xd;let qd=null;const Wc=e=>{qd=e},Mw=()=>qd;let Bc=0;function Dw(e={}){const t=Be(e.onWarn)?e.onWarn:Ib,n=Q(e.version)?e.version:Pw,r=Q(e.locale)||Be(e.locale)?e.locale:Pr,i=Be(r)?Pr:r,s=qe(e.fallbackLocale)||me(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=me(e.messages)?e.messages:{[i]:{}},a=me(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=me(e.numberFormats)?e.numberFormats:{[i]:{}},c=_t({},e.modifiers||{},xw()),u=e.pluralRules||{},f=Be(e.missing)?e.missing:null,d=we(e.missingWarn)||Fn(e.missingWarn)?e.missingWarn:!0,g=we(e.fallbackWarn)||Fn(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,C=!!e.unresolving,O=Be(e.postTranslation)?e.postTranslation:null,x=me(e.processor)?e.processor:null,R=we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter,I=Be(e.messageCompiler)?e.messageCompiler:Kd,A=Be(e.messageResolver)?e.messageResolver:Yd||fw,b=Be(e.localeFallbacker)?e.localeFallbacker:zd||Aw,N=De(e.fallbackContext)?e.fallbackContext:void 0,F=e,k=De(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,K=De(F.__numberFormatters)?F.__numberFormatters:new Map,ne=De(F.__meta)?F.__meta:{};Bc++;const W={version:n,cid:Bc,locale:r,fallbackLocale:s,messages:o,modifiers:c,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:g,fallbackFormat:v,unresolving:C,postTranslation:O,processor:x,warnHtmlMessage:R,escapeParameter:w,messageCompiler:I,messageResolver:A,localeFallbacker:b,fallbackContext:N,onWarn:t,__meta:ne};return W.datetimeFormats=a,W.numberFormats=l,W.__datetimeFormatters=k,W.__numberFormatters=K,__INTLIFY_PROD_DEVTOOLS__&&Ew(W,n,ne),W}function Qa(e,t,n,r,i){const{missing:s,onWarn:o}=e;if(s!==null){const a=s(e,n,t,i);return Q(a)?a:t}else return t}function Ur(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Fw(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function $w(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Fw(e,t[r]))return!0;return!1}function ao(e){return n=>Uw(n,e)}function Uw(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const r=n,i=r.c||r.cases;return e.plural(i.reduce((s,o)=>[...s,Vc(e,o)],[]))}else return Vc(e,n)}function Vc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const r=(t.i||t.items).reduce((i,s)=>[...i,jo(e,s)],[]);return e.normalize(r)}}function jo(e,t){const n=t.t||t.type;switch(n){case 3:{const r=t;return r.v||r.value}case 9:{const r=t;return r.v||r.value}case 4:{const r=t;return e.interpolate(e.named(r.k||r.key))}case 5:{const r=t;return e.interpolate(e.list(r.i!=null?r.i:r.index))}case 6:{const r=t,i=r.m||r.modifier;return e.linked(jo(e,r.k||r.key),i?jo(e,i):void 0,e.type)}case 7:{const r=t;return r.v||r.value}case 8:{const r=t;return r.v||r.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Jd=e=>e;let hr=Object.create(null);const xr=e=>De(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Qd(e,t={}){let n=!1;const r=t.onError||Nb;return t.onError=i=>{n=!0,r(i)},{...rw(e,t),detectError:n}}const jw=(e,t)=>{if(!Q(e))throw Zt(Vt.NOT_SUPPORT_NON_STRING_MESSAGE);{we(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Jd)(e),i=hr[r];if(i)return i;const{code:s,detectError:o}=Qd(e,t),a=new Function(`return ${s}`)();return o?a:hr[r]=a}};function Ww(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Q(e)){we(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Jd)(e),i=hr[r];if(i)return i;const{ast:s,detectError:o}=Qd(e,{...t,location:!1,jit:!0}),a=ao(s);return o?a:hr[r]=a}else{const n=e.cacheKey;if(n){const r=hr[n];return r||(hr[n]=ao(e))}else return ao(e)}}const Hc=()=>"",Nt=e=>Be(e);function Gc(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:s,fallbackLocale:o,messages:a}=e,[l,c]=Wo(...t),u=we(c.missingWarn)?c.missingWarn:e.missingWarn,f=we(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,d=we(c.escapeParameter)?c.escapeParameter:e.escapeParameter,g=!!c.resolvedMessage,v=Q(c.default)||we(c.default)?we(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",C=n||v!=="",O=Ja(e,c);d&&Bw(c);let[x,R,w]=g?[l,O,a[O]||{}]:Zd(e,l,O,o,f,u),I=x,A=l;if(!g&&!(Q(I)||xr(I)||Nt(I))&&C&&(I=v,A=I),!g&&(!(Q(I)||xr(I)||Nt(I))||!Q(R)))return i?Bs:l;let b=!1;const N=()=>{b=!0},F=Nt(I)?I:eh(e,l,R,I,A,N);if(b)return I;const k=Gw(e,R,w,c),K=bw(k),ne=Vw(e,F,K),W=r?r(ne,l):ne;if(__INTLIFY_PROD_DEVTOOLS__){const se={timestamp:Date.now(),key:Q(l)?l:Nt(I)?I.key:"",locale:R||(Nt(I)?I.locale:""),format:Q(I)?I:Nt(I)?I.source:"",message:W};se.meta=_t({},e.__meta,Nw()||{}),Cw(se)}return W}function Bw(e){qe(e.list)?e.list=e.list.map(t=>Q(t)?Pc(t):t):De(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=Pc(e.named[t]))})}function Zd(e,t,n,r,i,s){const{messages:o,onWarn:a,messageResolver:l,localeFallbacker:c}=e,u=c(e,r,n);let f={},d,g=null;const v="translate";for(let C=0;C<u.length&&(d=u[C],f=o[d]||{},(g=l(f,t))===null&&(g=f[t]),!(Q(g)||xr(g)||Nt(g)));C++)if(!$w(d,u)){const O=Qa(e,t,d,s,v);O!==t&&(g=O)}return[g,d,f]}function eh(e,t,n,r,i,s){const{messageCompiler:o,warnHtmlMessage:a}=e;if(Nt(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(o==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=o(r,Hw(e,n,i,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function Vw(e,t,n){return t(n)}function Wo(...e){const[t,n,r]=e,i={};if(!Q(t)&&!ct(t)&&!Nt(t)&&!xr(t))throw Zt(Vt.INVALID_ARGUMENT);const s=ct(t)?String(t):(Nt(t),t);return ct(n)?i.plural=n:Q(n)?i.default=n:me(n)&&!js(n)?i.named=n:qe(n)&&(i.list=n),ct(r)?i.plural=r:Q(r)?i.default=r:me(r)&&_t(i,r),[s,i]}function Hw(e,t,n,r,i,s){return{locale:t,key:n,warnHtmlMessage:i,onError:o=>{throw s&&s(o),o},onCacheKey:o=>bb(t,n,o)}}function Gw(e,t,n,r){const{modifiers:i,pluralRules:s,messageResolver:o,fallbackLocale:a,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:s,messages:g=>{let v=o(n,g);if(v==null&&u){const[,,C]=Zd(u,g,t,a,l,c);v=o(C,g)}if(Q(v)||xr(v)){let C=!1;const x=eh(e,g,t,v,g,()=>{C=!0});return C?Hc:x}else return Nt(v)?v:Hc}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),ct(r.plural)&&(d.pluralIndex=r.plural),d}function Kc(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__datetimeFormatters:a}=e,[l,c,u,f]=Bo(...t),d=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,v=Ja(e,u),C=o(e,i,v);if(!Q(l)||l==="")return new Intl.DateTimeFormat(v,f).format(c);let O={},x,R=null;const w="datetime format";for(let b=0;b<C.length&&(x=C[b],O=n[x]||{},R=O[l],!me(R));b++)Qa(e,l,x,d,w);if(!me(R)||!Q(x))return r?Bs:l;let I=`${x}__${l}`;js(f)||(I=`${I}__${JSON.stringify(f)}`);let A=a.get(I);return A||(A=new Intl.DateTimeFormat(x,_t({},R,f)),a.set(I,A)),g?A.formatToParts(c):A.format(c)}const th=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Bo(...e){const[t,n,r,i]=e,s={};let o={},a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Zt(Vt.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(c);try{a.toISOString()}catch{throw Zt(Vt.INVALID_ISO_DATE_ARGUMENT)}}else if(Eb(t)){if(isNaN(t.getTime()))throw Zt(Vt.INVALID_DATE_ARGUMENT);a=t}else if(ct(t))a=t;else throw Zt(Vt.INVALID_ARGUMENT);return Q(n)?s.key=n:me(n)&&Object.keys(n).forEach(l=>{th.includes(l)?o[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:me(r)&&(o=r),me(i)&&(o=i),[s.key||"",a,s,o]}function Yc(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function zc(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:s,localeFallbacker:o}=e,{__numberFormatters:a}=e,[l,c,u,f]=Vo(...t),d=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const g=!!u.part,v=Ja(e,u),C=o(e,i,v);if(!Q(l)||l==="")return new Intl.NumberFormat(v,f).format(c);let O={},x,R=null;const w="number format";for(let b=0;b<C.length&&(x=C[b],O=n[x]||{},R=O[l],!me(R));b++)Qa(e,l,x,d,w);if(!me(R)||!Q(x))return r?Bs:l;let I=`${x}__${l}`;js(f)||(I=`${I}__${JSON.stringify(f)}`);let A=a.get(I);return A||(A=new Intl.NumberFormat(x,_t({},R,f)),a.set(I,A)),g?A.formatToParts(c):A.format(c)}const nh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Vo(...e){const[t,n,r,i]=e,s={};let o={};if(!ct(t))throw Zt(Vt.INVALID_ARGUMENT);const a=t;return Q(n)?s.key=n:me(n)&&Object.keys(n).forEach(l=>{nh.includes(l)?o[l]=n[l]:s[l]=n[l]}),Q(r)?s.locale=r:me(r)&&(o=r),me(i)&&(o=i),[s.key||"",a,s,o]}function Xc(e,t,n){const r=e;for(const i in n){const s=`${t}__${i}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}iw();/*!
|
|
101
|
+
* vue-i18n v9.13.1
|
|
102
|
+
* (c) 2024 kazuya kawaguchi
|
|
103
|
+
* Released under the MIT License.
|
|
104
|
+
*/const Kw="9.13.1";function Yw(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(cn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(cn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(cn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(cn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(cn().__INTLIFY_PROD_DEVTOOLS__=!1)}const rh=Sw.__EXTEND_POINT__,rn=Ws(rh);rn(),rn(),rn(),rn(),rn(),rn(),rn(),rn(),rn();const ih=Vt.__EXTEND_POINT__,Tt=Ws(ih),ft={UNEXPECTED_RETURN_TYPE:ih,INVALID_ARGUMENT:Tt(),MUST_BE_CALL_SETUP_TOP:Tt(),NOT_INSTALLED:Tt(),NOT_AVAILABLE_IN_LEGACY_MODE:Tt(),REQUIRED_VALUE:Tt(),INVALID_VALUE:Tt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Tt(),NOT_INSTALLED_WITH_PROVIDE:Tt(),UNEXPECTED_ERROR:Tt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Tt(),BRIDGE_SUPPORT_VUE_2_ONLY:Tt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Tt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Tt(),__EXTEND_POINT__:Tt()};function pt(e,...t){return Rr(e,null,void 0)}const Ho=Vn("__translateVNode"),Go=Vn("__datetimeParts"),Ko=Vn("__numberParts"),sh=Vn("__setPluralRules"),oh=Vn("__injectWithOption"),Yo=Vn("__dispose");function pi(e){if(!De(e))return e;for(const t in e)if(ms(e,t))if(!t.includes("."))De(e[t])&&pi(e[t]);else{const n=t.split("."),r=n.length-1;let i=e,s=!1;for(let o=0;o<r;o++){if(n[o]in i||(i[n[o]]={}),!De(i[n[o]])){s=!0;break}i=i[n[o]]}s||(i[n[r]]=e[t],delete e[t]),De(i[n[r]])&&pi(i[n[r]])}return e}function Vs(e,t){const{messages:n,__i18n:r,messageResolver:i,flatJson:s}=t,o=me(n)?n:qe(r)?{}:{[e]:{}};if(qe(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:c}=a;l?(o[l]=o[l]||{},qi(c,o[l])):qi(c,o)}else Q(a)&&qi(JSON.parse(a),o)}),i==null&&s)for(const a in o)ms(o,a)&&pi(o[a]);return o}function ah(e){return e.type}function lh(e,t,n){let r=De(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Vs(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(De(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(De(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function qc(e){return H(Ei,null,e,0)}const Jc="__INTLIFY_META__",Qc=()=>[],zw=()=>!1;let Zc=0;function eu(e){return(t,n,r,i)=>e(n,r,Kt()||void 0,i)}const Xw=()=>{const e=Kt();let t=null;return e&&(t=ah(e)[Jc])?{[Jc]:t}:null};function Za(e={},t){const{__root:n,__injectWithOption:r}=e,i=n===void 0,s=e.flatJson,o=gs?ke:yi,a=!!e.translateExistCompatible;let l=we(e.inheritLocale)?e.inheritLocale:!0;const c=o(n&&l?n.locale.value:Q(e.locale)?e.locale:Pr),u=o(n&&l?n.fallbackLocale.value:Q(e.fallbackLocale)||qe(e.fallbackLocale)||me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=o(Vs(c.value,e)),d=o(me(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),g=o(me(e.numberFormats)?e.numberFormats:{[c.value]:{}});let v=n?n.missingWarn:we(e.missingWarn)||Fn(e.missingWarn)?e.missingWarn:!0,C=n?n.fallbackWarn:we(e.fallbackWarn)||Fn(e.fallbackWarn)?e.fallbackWarn:!0,O=n?n.fallbackRoot:we(e.fallbackRoot)?e.fallbackRoot:!0,x=!!e.fallbackFormat,R=Be(e.missing)?e.missing:null,w=Be(e.missing)?eu(e.missing):null,I=Be(e.postTranslation)?e.postTranslation:null,A=n?n.warnHtmlMessage:we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const N=n?n.modifiers:me(e.modifiers)?e.modifiers:{};let F=e.pluralRules||n&&n.pluralRules,k;k=(()=>{i&&Wc(null);const S={version:Kw,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:N,pluralRules:F,missing:w===null?void 0:w,missingWarn:v,fallbackWarn:C,fallbackFormat:x,unresolving:!0,postTranslation:I===null?void 0:I,warnHtmlMessage:A,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=d.value,S.numberFormats=g.value,S.__datetimeFormatters=me(k)?k.__datetimeFormatters:void 0,S.__numberFormatters=me(k)?k.__numberFormatters:void 0;const L=Dw(S);return i&&Wc(L),L})(),Ur(k,c.value,u.value);function ne(){return[c.value,u.value,f.value,d.value,g.value]}const W=Ve({get:()=>c.value,set:S=>{c.value=S,k.locale=c.value}}),se=Ve({get:()=>u.value,set:S=>{u.value=S,k.fallbackLocale=u.value,Ur(k,c.value,S)}}),Se=Ve(()=>f.value),xe=Ve(()=>d.value),le=Ve(()=>g.value);function _e(){return Be(I)?I:null}function ye(S){I=S,k.postTranslation=S}function dt(){return R}function gt(S){S!==null&&(w=eu(S)),R=S,k.missing=w}const Ge=(S,L,ae,ce,Le,E)=>{ne();let P;try{__INTLIFY_PROD_DEVTOOLS__,i||(k.fallbackContext=n?Mw():void 0),P=S(k)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(k.fallbackContext=void 0)}if(ae!=="translate exists"&&ct(P)&&P===Bs||ae==="translate exists"&&!P){const[$,G]=L();return n&&O?ce(n):Le($)}else{if(E(P))return P;throw pt(ft.UNEXPECTED_RETURN_TYPE)}};function ee(...S){return Ge(L=>Reflect.apply(Gc,null,[L,...S]),()=>Wo(...S),"translate",L=>Reflect.apply(L.t,L,[...S]),L=>L,L=>Q(L))}function at(...S){const[L,ae,ce]=S;if(ce&&!De(ce))throw pt(ft.INVALID_ARGUMENT);return ee(L,ae,_t({resolvedMessage:!0},ce||{}))}function bt(...S){return Ge(L=>Reflect.apply(Kc,null,[L,...S]),()=>Bo(...S),"datetime format",L=>Reflect.apply(L.d,L,[...S]),()=>$c,L=>Q(L))}function Re(...S){return Ge(L=>Reflect.apply(zc,null,[L,...S]),()=>Vo(...S),"number format",L=>Reflect.apply(L.n,L,[...S]),()=>$c,L=>Q(L))}function Je(S){return S.map(L=>Q(L)||ct(L)||we(L)?qc(String(L)):L)}const q={normalize:Je,interpolate:S=>S,type:"vnode"};function Y(...S){return Ge(L=>{let ae;const ce=L;try{ce.processor=q,ae=Reflect.apply(Gc,null,[ce,...S])}finally{ce.processor=null}return ae},()=>Wo(...S),"translate",L=>L[Ho](...S),L=>[qc(L)],L=>qe(L))}function J(...S){return Ge(L=>Reflect.apply(zc,null,[L,...S]),()=>Vo(...S),"number format",L=>L[Ko](...S),Qc,L=>Q(L)||qe(L))}function be(...S){return Ge(L=>Reflect.apply(Kc,null,[L,...S]),()=>Bo(...S),"datetime format",L=>L[Go](...S),Qc,L=>Q(L)||qe(L))}function Ie(S){F=S,k.pluralRules=F}function _(S,L){return Ge(()=>{if(!S)return!1;const ae=Q(L)?L:c.value,ce=j(ae),Le=k.messageResolver(ce,S);return a?Le!=null:xr(Le)||Nt(Le)||Q(Le)},()=>[S],"translate exists",ae=>Reflect.apply(ae.te,ae,[S,L]),zw,ae=>we(ae))}function h(S){let L=null;const ae=Gd(k,u.value,c.value);for(let ce=0;ce<ae.length;ce++){const Le=f.value[ae[ce]]||{},E=k.messageResolver(Le,S);if(E!=null){L=E;break}}return L}function T(S){const L=h(S);return L??(n?n.tm(S)||{}:{})}function j(S){return f.value[S]||{}}function M(S,L){if(s){const ae={[S]:L};for(const ce in ae)ms(ae,ce)&&pi(ae[ce]);L=ae[S]}f.value[S]=L,k.messages=f.value}function V(S,L){f.value[S]=f.value[S]||{};const ae={[S]:L};if(s)for(const ce in ae)ms(ae,ce)&&pi(ae[ce]);L=ae[S],qi(L,f.value[S]),k.messages=f.value}function z(S){return d.value[S]||{}}function p(S,L){d.value[S]=L,k.datetimeFormats=d.value,Yc(k,S,L)}function m(S,L){d.value[S]=_t(d.value[S]||{},L),k.datetimeFormats=d.value,Yc(k,S,L)}function y(S){return g.value[S]||{}}function D(S,L){g.value[S]=L,k.numberFormats=g.value,Xc(k,S,L)}function X(S,L){g.value[S]=_t(g.value[S]||{},L),k.numberFormats=g.value,Xc(k,S,L)}Zc++,n&&gs&&(Ht(n.locale,S=>{l&&(c.value=S,k.locale=S,Ur(k,c.value,u.value))}),Ht(n.fallbackLocale,S=>{l&&(u.value=S,k.fallbackLocale=S,Ur(k,c.value,u.value))}));const B={id:Zc,locale:W,fallbackLocale:se,get inheritLocale(){return l},set inheritLocale(S){l=S,S&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,Ur(k,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:Se,get modifiers(){return N},get pluralRules(){return F||{}},get isGlobal(){return i},get missingWarn(){return v},set missingWarn(S){v=S,k.missingWarn=v},get fallbackWarn(){return C},set fallbackWarn(S){C=S,k.fallbackWarn=C},get fallbackRoot(){return O},set fallbackRoot(S){O=S},get fallbackFormat(){return x},set fallbackFormat(S){x=S,k.fallbackFormat=x},get warnHtmlMessage(){return A},set warnHtmlMessage(S){A=S,k.warnHtmlMessage=S},get escapeParameter(){return b},set escapeParameter(S){b=S,k.escapeParameter=S},t:ee,getLocaleMessage:j,setLocaleMessage:M,mergeLocaleMessage:V,getPostTranslationHandler:_e,setPostTranslationHandler:ye,getMissingHandler:dt,setMissingHandler:gt,[sh]:Ie};return B.datetimeFormats=xe,B.numberFormats=le,B.rt=at,B.te=_,B.tm=T,B.d=bt,B.n=Re,B.getDateTimeFormat=z,B.setDateTimeFormat=p,B.mergeDateTimeFormat=m,B.getNumberFormat=y,B.setNumberFormat=D,B.mergeNumberFormat=X,B[oh]=r,B[Ho]=Y,B[Go]=be,B[Ko]=J,B}function qw(e){const t=Q(e.locale)?e.locale:Pr,n=Q(e.fallbackLocale)||qe(e.fallbackLocale)||me(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Be(e.missing)?e.missing:void 0,i=we(e.silentTranslationWarn)||Fn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=we(e.silentFallbackWarn)||Fn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=we(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=me(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Be(e.postTranslation)?e.postTranslation:void 0,f=Q(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,g=we(e.sync)?e.sync:!0;let v=e.messages;if(me(e.sharedMessages)){const b=e.sharedMessages;v=Object.keys(b).reduce((F,k)=>{const K=F[k]||(F[k]={});return _t(K,b[k]),F},v||{})}const{__i18n:C,__root:O,__injectWithOption:x}=e,R=e.datetimeFormats,w=e.numberFormats,I=e.flatJson,A=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:v,flatJson:I,datetimeFormats:R,numberFormats:w,missing:r,missingWarn:i,fallbackWarn:s,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:g,translateExistCompatible:A,__i18n:C,__root:O,__injectWithOption:x}}function zo(e={},t){{const n=Za(qw(e)),{__extender:r}=e,i={id:n.id,get locale(){return n.locale.value},set locale(s){n.locale.value=s},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(s){n.fallbackLocale.value=s},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(s){},get missing(){return n.getMissingHandler()},set missing(s){n.setMissingHandler(s)},get silentTranslationWarn(){return we(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(s){n.missingWarn=we(s)?!s:s},get silentFallbackWarn(){return we(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(s){n.fallbackWarn=we(s)?!s:s},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(s){n.fallbackFormat=s},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(s){n.setPostTranslationHandler(s)},get sync(){return n.inheritLocale},set sync(s){n.inheritLocale=s},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){n.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(s){n.escapeParameter=s},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(s){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...s){const[o,a,l]=s,c={};let u=null,f=null;if(!Q(o))throw pt(ft.INVALID_ARGUMENT);const d=o;return Q(a)?c.locale=a:qe(a)?u=a:me(a)&&(f=a),qe(l)?u=l:me(l)&&(f=l),Reflect.apply(n.t,n,[d,u||f||{},c])},rt(...s){return Reflect.apply(n.rt,n,[...s])},tc(...s){const[o,a,l]=s,c={plural:1};let u=null,f=null;if(!Q(o))throw pt(ft.INVALID_ARGUMENT);const d=o;return Q(a)?c.locale=a:ct(a)?c.plural=a:qe(a)?u=a:me(a)&&(f=a),Q(l)?c.locale=l:qe(l)?u=l:me(l)&&(f=l),Reflect.apply(n.t,n,[d,u||f||{},c])},te(s,o){return n.te(s,o)},tm(s){return n.tm(s)},getLocaleMessage(s){return n.getLocaleMessage(s)},setLocaleMessage(s,o){n.setLocaleMessage(s,o)},mergeLocaleMessage(s,o){n.mergeLocaleMessage(s,o)},d(...s){return Reflect.apply(n.d,n,[...s])},getDateTimeFormat(s){return n.getDateTimeFormat(s)},setDateTimeFormat(s,o){n.setDateTimeFormat(s,o)},mergeDateTimeFormat(s,o){n.mergeDateTimeFormat(s,o)},n(...s){return Reflect.apply(n.n,n,[...s])},getNumberFormat(s){return n.getNumberFormat(s)},setNumberFormat(s,o){n.setNumberFormat(s,o)},mergeNumberFormat(s,o){n.mergeNumberFormat(s,o)},getChoiceIndex(s,o){return-1}};return i.__extender=r,i}}const el={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Jw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,i)=>[...r,...i.type===ze?i.children:[i]],[]):t.reduce((n,r)=>{const i=e[r];return i&&(n[r]=i()),n},{})}function ch(e){return ze}const Qw=nt({name:"i18n-t",props:_t({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ct(e)||!isNaN(e)}},el),setup(e,t){const{slots:n,attrs:r}=t,i=e.i18n||Ii({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=Q(e.plural)?+e.plural:e.plural);const a=Jw(t,s),l=i[Ho](e.keypath,a,o),c=_t({},r),u=Q(e.tag)||De(e.tag)?e.tag:ch();return Ti(u,c,l)}}}),tu=Qw;function Zw(e){return qe(e)&&!Q(e[0])}function uh(e,t,n,r){const{slots:i,attrs:s}=t;return()=>{const o={part:!0};let a={};e.locale&&(o.locale=e.locale),Q(e.format)?o.key=e.format:De(e.format)&&(Q(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((d,g)=>n.includes(g)?_t({},d,{[g]:e.format[g]}):d,{}));const l=r(e.value,o,a);let c=[o.key];qe(l)?c=l.map((d,g)=>{const v=i[d.type],C=v?v({[d.type]:d.value,index:g,parts:l}):[d.value];return Zw(C)&&(C[0].key=`${d.type}-${g}`),C}):Q(l)&&(c=[l]);const u=_t({},s),f=Q(e.tag)||De(e.tag)?e.tag:ch();return Ti(f,u,c)}}const eE=nt({name:"i18n-n",props:_t({value:{type:Number,required:!0},format:{type:[String,Object]}},el),setup(e,t){const n=e.i18n||Ii({useScope:e.scope,__useComponent:!0});return uh(e,t,nh,(...r)=>n[Ko](...r))}}),nu=eE,tE=nt({name:"i18n-d",props:_t({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},el),setup(e,t){const n=e.i18n||Ii({useScope:e.scope,__useComponent:!0});return uh(e,t,th,(...r)=>n[Go](...r))}}),ru=tE;function nE(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function rE(e){const t=o=>{const{instance:a,modifiers:l,value:c}=o;if(!a||!a.$)throw pt(ft.UNEXPECTED_ERROR);const u=nE(e,a.$),f=iu(c);return[Reflect.apply(u.t,u,[...su(f)]),u]};return{created:(o,a)=>{const[l,c]=t(a);gs&&e.global===c&&(o.__i18nWatcher=Ht(c.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=c,o.textContent=l},unmounted:o=>{gs&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,c=iu(a);o.textContent=Reflect.apply(l.t,l,[...su(c)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function iu(e){if(Q(e))return{path:e};if(me(e)){if(!("path"in e))throw pt(ft.REQUIRED_VALUE,"path");return e}else throw pt(ft.INVALID_VALUE)}function su(e){const{path:t,locale:n,args:r,choice:i,plural:s}=e,o={},a=r||{};return Q(n)&&(o.locale=n),ct(i)&&(o.plural=i),ct(s)&&(o.plural=s),[t,a,o]}function iE(e,t,...n){const r=me(n[0])?n[0]:{},i=!!r.useI18nComponentName;(we(r.globalInstall)?r.globalInstall:!0)&&([i?"i18n":tu.name,"I18nT"].forEach(o=>e.component(o,tu)),[nu.name,"I18nN"].forEach(o=>e.component(o,nu)),[ru.name,"I18nD"].forEach(o=>e.component(o,ru))),e.directive("t",rE(t))}function sE(e,t,n){return{beforeCreate(){const r=Kt();if(!r)throw pt(ft.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const s=i.i18n;if(i.__i18n&&(s.__i18n=i.__i18n),s.__root=t,this===this.$root)this.$i18n=ou(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=zo(s);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=ou(e,i);else{this.$i18n=zo({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&lh(t,i,i),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,o)=>this.$i18n.te(s,o),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=Kt();if(!r)throw pt(ft.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function ou(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[sh](t.pluralizationRules||e.pluralizationRules);const n=Vs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const oE=Vn("global-vue-i18n");function aE(e={},t){const n=__VUE_I18N_LEGACY_API__&&we(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=we(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,s=new Map,[o,a]=lE(e,n),l=Vn("");function c(d){return s.get(d)||null}function u(d,g){s.set(d,g)}function f(d){s.delete(d)}{const d={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(g,...v){if(g.__VUE_I18N_SYMBOL__=l,g.provide(g.__VUE_I18N_SYMBOL__,d),me(v[0])){const x=v[0];d.__composerExtend=x.__composerExtend,d.__vueI18nExtend=x.__vueI18nExtend}let C=null;!n&&r&&(C=_E(g,d.global)),__VUE_I18N_FULL_INSTALL__&&iE(g,d,...v),__VUE_I18N_LEGACY_API__&&n&&g.mixin(sE(a,a.__composer,d));const O=g.unmount;g.unmount=()=>{C&&C(),d.dispose(),O()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:c,__setInstance:u,__deleteInstance:f};return d}}function Ii(e={}){const t=Kt();if(t==null)throw pt(ft.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw pt(ft.NOT_INSTALLED);const n=cE(t),r=fE(n),i=ah(t),s=uE(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw pt(ft.NOT_AVAILABLE_IN_LEGACY_MODE);return gE(t,s,r,e)}if(s==="global")return lh(r,e,i),r;if(s==="parent"){let l=dE(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=_t({},e);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=Za(l),o.__composerExtend&&(a[Yo]=o.__composerExtend(a)),pE(o,t,a),o.__setInstance(t,a)}return a}function lE(e,t,n){const r=_a();{const i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>zo(e)):r.run(()=>Za(e));if(i==null)throw pt(ft.UNEXPECTED_ERROR);return[r,i]}}function cE(e){{const t=$e(e.isCE?oE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw pt(e.isCE?ft.NOT_INSTALLED_WITH_PROVIDE:ft.UNEXPECTED_ERROR);return t}}function uE(e,t){return js(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fE(e){return e.mode==="composition"?e.global:e.global.__composer}function dE(e,t,n=!1){let r=null;const i=t.root;let s=hE(t,n);for(;s!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(s);a!=null&&(r=a.__composer,n&&r&&!r[oh]&&(r=null))}if(r!=null||i===s)break;s=s.parent}return r}function hE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pE(e,t,n){Bn(()=>{},t),Lr(()=>{const r=n;e.__deleteInstance(t);const i=r[Yo];i&&(i(),delete r[Yo])},t)}function gE(e,t,n,r={}){const i=t==="local",s=yi(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw pt(ft.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=we(r.inheritLocale)?r.inheritLocale:!Q(r.locale),a=ke(!i||o?n.locale.value:Q(r.locale)?r.locale:Pr),l=ke(!i||o?n.fallbackLocale.value:Q(r.fallbackLocale)||qe(r.fallbackLocale)||me(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:a.value),c=ke(Vs(a.value,r)),u=ke(me(r.datetimeFormats)?r.datetimeFormats:{[a.value]:{}}),f=ke(me(r.numberFormats)?r.numberFormats:{[a.value]:{}}),d=i?n.missingWarn:we(r.missingWarn)||Fn(r.missingWarn)?r.missingWarn:!0,g=i?n.fallbackWarn:we(r.fallbackWarn)||Fn(r.fallbackWarn)?r.fallbackWarn:!0,v=i?n.fallbackRoot:we(r.fallbackRoot)?r.fallbackRoot:!0,C=!!r.fallbackFormat,O=Be(r.missing)?r.missing:null,x=Be(r.postTranslation)?r.postTranslation:null,R=i?n.warnHtmlMessage:we(r.warnHtmlMessage)?r.warnHtmlMessage:!0,w=!!r.escapeParameter,I=i?n.modifiers:me(r.modifiers)?r.modifiers:{},A=r.pluralRules||i&&n.pluralRules;function b(){return[a.value,l.value,c.value,u.value,f.value]}const N=Ve({get:()=>s.value?s.value.locale.value:a.value,set:h=>{s.value&&(s.value.locale.value=h),a.value=h}}),F=Ve({get:()=>s.value?s.value.fallbackLocale.value:l.value,set:h=>{s.value&&(s.value.fallbackLocale.value=h),l.value=h}}),k=Ve(()=>s.value?s.value.messages.value:c.value),K=Ve(()=>u.value),ne=Ve(()=>f.value);function W(){return s.value?s.value.getPostTranslationHandler():x}function se(h){s.value&&s.value.setPostTranslationHandler(h)}function Se(){return s.value?s.value.getMissingHandler():O}function xe(h){s.value&&s.value.setMissingHandler(h)}function le(h){return b(),h()}function _e(...h){return s.value?le(()=>Reflect.apply(s.value.t,null,[...h])):le(()=>"")}function ye(...h){return s.value?Reflect.apply(s.value.rt,null,[...h]):""}function dt(...h){return s.value?le(()=>Reflect.apply(s.value.d,null,[...h])):le(()=>"")}function gt(...h){return s.value?le(()=>Reflect.apply(s.value.n,null,[...h])):le(()=>"")}function Ge(h){return s.value?s.value.tm(h):{}}function ee(h,T){return s.value?s.value.te(h,T):!1}function at(h){return s.value?s.value.getLocaleMessage(h):{}}function bt(h,T){s.value&&(s.value.setLocaleMessage(h,T),c.value[h]=T)}function Re(h,T){s.value&&s.value.mergeLocaleMessage(h,T)}function Je(h){return s.value?s.value.getDateTimeFormat(h):{}}function U(h,T){s.value&&(s.value.setDateTimeFormat(h,T),u.value[h]=T)}function q(h,T){s.value&&s.value.mergeDateTimeFormat(h,T)}function Y(h){return s.value?s.value.getNumberFormat(h):{}}function J(h,T){s.value&&(s.value.setNumberFormat(h,T),f.value[h]=T)}function be(h,T){s.value&&s.value.mergeNumberFormat(h,T)}const Ie={get id(){return s.value?s.value.id:-1},locale:N,fallbackLocale:F,messages:k,datetimeFormats:K,numberFormats:ne,get inheritLocale(){return s.value?s.value.inheritLocale:o},set inheritLocale(h){s.value&&(s.value.inheritLocale=h)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(c.value)},get modifiers(){return s.value?s.value.modifiers:I},get pluralRules(){return s.value?s.value.pluralRules:A},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:d},set missingWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackWarn(){return s.value?s.value.fallbackWarn:g},set fallbackWarn(h){s.value&&(s.value.missingWarn=h)},get fallbackRoot(){return s.value?s.value.fallbackRoot:v},set fallbackRoot(h){s.value&&(s.value.fallbackRoot=h)},get fallbackFormat(){return s.value?s.value.fallbackFormat:C},set fallbackFormat(h){s.value&&(s.value.fallbackFormat=h)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:R},set warnHtmlMessage(h){s.value&&(s.value.warnHtmlMessage=h)},get escapeParameter(){return s.value?s.value.escapeParameter:w},set escapeParameter(h){s.value&&(s.value.escapeParameter=h)},t:_e,getPostTranslationHandler:W,setPostTranslationHandler:se,getMissingHandler:Se,setMissingHandler:xe,rt:ye,d:dt,n:gt,tm:Ge,te:ee,getLocaleMessage:at,setLocaleMessage:bt,mergeLocaleMessage:Re,getDateTimeFormat:Je,setDateTimeFormat:U,mergeDateTimeFormat:q,getNumberFormat:Y,setNumberFormat:J,mergeNumberFormat:be};function _(h){h.locale.value=a.value,h.fallbackLocale.value=l.value,Object.keys(c.value).forEach(T=>{h.mergeLocaleMessage(T,c.value[T])}),Object.keys(u.value).forEach(T=>{h.mergeDateTimeFormat(T,u.value[T])}),Object.keys(f.value).forEach(T=>{h.mergeNumberFormat(T,f.value[T])}),h.escapeParameter=w,h.fallbackFormat=C,h.fallbackRoot=v,h.fallbackWarn=g,h.missingWarn=d,h.warnHtmlMessage=R}return Oa(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw pt(ft.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const h=s.value=e.proxy.$i18n.__composer;t==="global"?(a.value=h.locale.value,l.value=h.fallbackLocale.value,c.value=h.messages.value,u.value=h.datetimeFormats.value,f.value=h.numberFormats.value):i&&_(h)}),Ie}const mE=["locale","fallbackLocale","availableLocales"],au=["t","rt","d","n","tm","te"];function _E(e,t){const n=Object.create(null);return mE.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw pt(ft.UNEXPECTED_ERROR);const o=tt(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,o)}),e.config.globalProperties.$i18n=n,au.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw pt(ft.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,s)}),()=>{delete e.config.globalProperties.$i18n,au.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}Yw();__INTLIFY_JIT_COMPILATION__?jc(Ww):jc(jw);Ow(dw);Lw(Gd);if(__INTLIFY_PROD_DEVTOOLS__){const e=cn();e.__INTLIFY__=!0,ww(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const vE="Third",yE={third:vE,"page.actions.create.label":"Create a new document","information.extraTabs.title":"Information"},bE="Troisième",wE={third:bE,"page.actions.create.label":"Créer un nouveau document"},fh={en:yE,fr:wE},EE={class:"counter"},CE=nt({__name:"InfoAction",props:{infoAction:{}},async setup(e){let t,n;const r=e,i=([t,n]=Ra(()=>r.infoAction.counter()),t=await t,n(),t);return(s,o)=>(fe(),Ce("div",{class:Un(["info-action",s.infoAction.id])},[H(Ee(Mt),{name:s.infoAction.iconName,size:Ee(Rn).Small},null,8,["name","size"]),de("span",EE,$t(Ee(i)),1)],2))}}),TE=ot(CE,[["__scopeId","data-v-63f4c880"]]),SE={class:"doc-info-actions"},AE=nt({__name:"InfoActions",async setup(e){let t,n;const i=$e("cristal").getContainer().get("InfoActionsService"),s=([t,n]=Ra(()=>i.list()),t=await t,n(),t);return(o,a)=>(fe(),Ce("div",SE,[(fe(!0),Ce(ze,null,ai(Ee(s),l=>(fe(),Ct(TE,{key:l.id,"info-action":l},null,8,["info-action"]))),128))]))}}),IE=ot(AE,[["__scopeId","data-v-c8bac678"]]),tl=e=>(Cf("data-v-d6fb5cde"),e=e(),Tf(),e),kE={key:0,class:"content-loading"},PE=tl(()=>de("span",{class:"load-spinner"},null,-1)),xE=tl(()=>de("h3",null,"Loading",-1)),OE=[PE,xE],LE={key:1,class:"content-error"},RE={key:2,id:"content",ref:"root",class:"content"},NE={class:"inner-content"},ME={class:"content-header"},DE={class:"content-scroll"},FE={class:"doc-header"},$E={class:"center-content"},UE={class:"document-title"},jE={class:"doc-info-header"},WE=tl(()=>de("span",{class:"doc-info-user-info"}," User Name edited on 12/12/2024 at 12:00 ",-1)),BE={class:"doc-page-actions"},VE={class:"whole-content"},HE={class:"center-content"},GE=["innerHTML"],KE={key:1,class:"unknown-page"},YE={key:2,class:"doc-info-footer"},zE=nt({__name:"c-content",setup(e){const{t}=Ii({messages:fh}),n=Bv(),r=Ad,i=ke(!1),s=ke(void 0),o=ke(void 0),a=Ve(()=>n.params.page||g.getCurrentPage()||"Main.WebHome"),l=ke([]),c=ke(void 0),u=ke(void 0),f=Ve(()=>{if(o.value){const C=o.value;if(C.html&&C.html.trim()!=="")return C.html;if(C.source){console.log("marked",Me,C.source);const O=Me.parse(C.source);return console.log("parse",O),O}else return""}else return}),d=Ve(()=>o.value?.document?.get("headline")||o.value?.name),g=$e("cristal");async function v(C){C!=null&&(C=encodeURIComponent(C)),i.value=!0;try{g.setContentRef(o),o.value=await g.getPage(C||a.value),l.value=await g.getContainer().get("PageHierarchyResolverProvider").get().getPageHierarchy(o.value)}catch(O){console.error(O),s.value=O}finally{i.value=!1}}return Ht(()=>n.params.page,v,{immediate:!0}),La(()=>{ge.transformImages(g,"xwikicontent"),g&&c.value&&ge.listenToClicks(c.value,g),g&&u.value&&(ge.listenToClicks(u.value,g),ge.transformMacros(u.value,g))}),(C,O)=>{const x=Xe("UIX"),R=Xe("XBreadcrumb"),w=Xe("x-btn"),I=Xe("x-avatar"),A=Xe("router-link");return i.value?(fe(),Ce("div",kE,OE)):s.value?(fe(),Ce("div",LE,$t(s.value),1)):(fe(),Ce("article",RE,[H(x,{uixname:"content.before"}),de("div",NE,[de("div",ME,[de("div",{id:"breadcrumbRoot",ref_key:"breadcrumbRoot",ref:c},[H(R,{class:"breadcrumb",items:l.value},null,8,["items"])],512),H(w,{circle:"",size:"small",variant:"primary",color:"primary"},{default:ht(()=>[H(Ee(Mt),{class:"new-page",name:"plus",label:Ee(t)("page.actions.create.label")},null,8,["label"])]),_:1})]),de("div",DE,[de("div",FE,[de("div",$E,[de("h1",UE,$t(d.value),1),de("div",jE,[H(I,{class:"avatar",image:Ee(r),size:"2rem"},null,8,["image"]),WE,(fe(),Ct(Il,null,{default:ht(()=>[H(Ee(IE))]),_:1})),de("div",BE,[H(A,{to:{name:"edit",params:{page:a.value}}},{default:ht(()=>[H(w,{size:"small"},{default:ht(()=>[H(Ee(Mt),{name:"pencil",size:Ee(Rn).Small},null,8,["size"]),it(" Edit ")]),_:1})]),_:1},8,["to"]),H(w,{size:"small"},{default:ht(()=>[H(Ee(Mt),{name:"three-dots-vertical",size:Ee(Rn).Small},null,8,["size"])]),_:1})])])])]),de("div",VE,[de("div",HE,[f.value?(fe(),Ce("div",{key:0,id:"xwikicontent",ref_key:"contentRoot",ref:u,class:"document-content",innerHTML:f.value},null,8,GE)):(fe(),Ce("div",KE," The requested page could not be found. You can edit the page to create it. ")),f.value?(fe(),Ce("div",YE,[(fe(),Ct(Il,null,{default:ht(()=>[H(Ee(yb))]),_:1}))])):Io("",!0)])])])]),H(x,{uixname:"content.after"})],512))}}}),XE=ot(zE,[["__scopeId","data-v-d6fb5cde"]]);let qE="Panel content",lo=new Map,lr;const JE={props:{panelName:{type:String,required:!0}},setup(e){lo.set(e.panelName,ke({currentContent:qE}));const t=$e("cristal");if(t!=null){ge.init(t),lr=t.getLogger("skin.vue.panel");let n=e.panelName;lr?.debug("Ready to load panel ",n),t.getWikiConfig().storage.getPanelContent(n,"","html").then(async r=>{r.html==""&&(r.html=await t.renderContent(r.source,r.syntax,"html",t.getWikiConfig())),lr?.debug("Panel content is ",r.html),lo.get(e.panelName).value.currentContent=r.html,lr?.debug("Panel css is ",r.css),ge.loadCSS(r.css)})}return{content:lo.get(e.panelName),panelidname:"panelcontent"+e.panelName}},mounted(){const e=$e("cristal");lr?.debug("in mounted"),ge.transformImages(e,"panelcontent")},updated(){const e=$e("cristal");lr?.debug("in updated"),ge.listenToClicks(this.$el,e)}},QE=["id","innerHTML"];function ZE(e,t,n,r,i,s){return fe(),Ce("div",{id:r.panelidname,innerHTML:r.content.currentContent},null,8,QE)}const e0=ot(JE,[["render",ZE]]);let bn,ji;const t0={setup(){let e=$e("cristal");e&&(bn=e.getUIXTemplates("editor"),ji=e.getLogger("skin.vue.editor"))},data(){if(ji?.debug("Editor UIX components are ",bn),!bn||bn.length==0)return{};{let e=null;if(ji?.debug("Using first editor UIX component ",bn),bn!=null){for(const t of bn)if(t.editorname==="editortiptap"){e=t;break}}return e==null&&(e=bn[0]),ji?.debug("Final component ",e),{component:xs(e)}}}},n0={id:"edit",ref:"root"};function r0(e,t,n,r,i,s){const o=Xe("UIX");return fe(),Ce("article",n0,[H(o,{uixname:"edit.before"}),(fe(),Ct(Ms(e.component))),H(o,{uixname:"edit.after"})],512)}const i0=ot(t0,[["render",r0]]);let wn=null,s0=new Map,co=[];const o0=nt({props:{name:{type:String,required:!0},document:{type:Object,required:!0},mode:{type:String,required:!0},type:{type:String,required:!1,default:()=>{}}},setup(e){const t=$e("cristal");t!=null&&wn==null?(wn=t.getLogger("skin.vue.field"),wn?.debug("In field template")):console.log("Cannot initialize logger in skin.vue.field");const n=e.document,r=n?n.get(e.name):"";let i="",s=ke("");if(s0.set(e.name,s),e.mode=="edit"){let o=t?.getWikiConfig().storage;wn?.debug("Ready to get edit field",e.name),s.value="",o?.getEditField(n,e.name).then(function(a){s.value=a})}else e.type=="html"&&(co.push("field-"+e.name),e.name=="html"?i=r:i="");return{value:r,html:i,editField:s}},mounted(){wn?.debug("In field mounted");const e=$e("cristal");co.forEach(t=>{wn?.debug("Transform image",t),ge.transformImages(e,t)})},updated(){wn?.debug("In field updated");const e=$e("cristal");co.forEach(t=>{wn?.debug("Transform image",t),ge.transformImages(e,t)})}}),a0=["id","innerHTML"],l0=["innerHTML"];function c0(e,t,n,r,i,s){return e.type=="html"?(fe(),Ce("div",{key:0,id:"field-"+e.name,class:"renderedContent",innerHTML:e.html},null,8,a0)):(fe(),Ce(ze,{key:1},[e.mode=="edit"?(fe(),Ce("span",{key:0,innerHTML:e.editField},null,8,l0)):(fe(),Ce(ze,{key:1},[it($t(e.value),1)],64))],64))}const dr=ot(o0,[["render",c0]]),u0=nt({__name:"c-blog",props:{document:{},mode:{}},setup(e){const t=e;let n;const r=$e("cristal");r!=null&&(n=r.getLogger("skin.vue.blog"),n?.debug("wiki30 content ref set"));const i=ke(t.document),s=ke(t.mode);return(o,a)=>{const l=Xe("x-divider");return fe(),Ce("div",null,[de("h1",null,[H(dr,{document:i.value,name:"headline",mode:s.value},null,8,["document","mode"])]),H(dr,{document:i.value,name:"html",mode:s.value,type:"html"},null,8,["document","mode"]),H(l),it(" Genre: "),H(dr,{document:i.value,name:"genre",mode:s.value},null,8,["document","mode"]),it(" Created by "),H(dr,{document:i.value,name:"creator",mode:s.value},null,8,["document","mode"]),it(" on "),H(dr,{document:i.value,name:"dateCreated",mode:s.value},null,8,["document","mode"])])}}});let lu;const f0={components:{Field:dr},props:{document:{type:Object,required:!0},mode:{type:String,required:!0}},setup(){const e=$e("cristal");return e!=null&&(lu=e.getLogger("skin.vue.movie"),lu?.debug("cristal object content ref set")),{link:"/"+e?.getCurrentPage()+"/edit"}}},d0=de("li",null,"Placeholder",-1);function h0(e,t,n,r,i,s){const o=Xe("Field");return fe(),Ce("div",null,[de("h1",null,[H(o,{document:n.document,name:"headline",mode:n.mode},null,8,["document","mode"])]),de("ul",null,[de("li",null,[it(" Storyline: "),H(o,{document:n.document,name:"text",mode:n.mode,type:"html"},null,8,["document","mode"])]),de("li",null,[it(" Poster: "),H(o,{document:n.document,name:"thumbnail",mode:n.mode,type:"html"},null,8,["document","mode"])]),de("li",null,[it("Genre: "),H(o,{document:n.document,name:"genre",mode:n.mode},null,8,["document","mode"])]),d0,de("li",null,[it(" Director: "),H(o,{document:n.document,name:"director",mode:n.mode},null,8,["document","mode"])]),de("li",null,[it("Seen: "),H(o,{document:n.document,name:"seen",mode:n.mode},null,8,["document","mode"])]),de("li",null,[it(" Runtime: "),H(o,{document:n.document,name:"runtime",mode:n.mode},null,8,["document","mode"])]),de("li",null,[it(" Publish date: "),H(o,{document:n.document,name:"datePublished",mode:n.mode},null,8,["document","mode"])]),de("li",null,[it(" Wyisywyg: "),H(o,{document:n.document,name:"wysiwyg",mode:n.mode,type:"html"},null,8,["document","mode"])])])])}const p0=ot(f0,[["render",h0]]);var g0=Object.defineProperty,m0=Object.getOwnPropertyDescriptor,_0=(e,t,n,r)=>{for(var i=r>1?void 0:r?m0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&g0(t,n,i),i};let pn=class{constructor(){this.designSystem="",this.templates=new Map,this.templates.set("view",ty),this.templates.set("config",cy),this.templates.set("sidebar",Py),this.templates.set("content",XE),this.templates.set("footer",My),this.templates.set("panel",e0),this.templates.set("main",Cd),this.templates.set("edit",i0),this.templates.set("blog",u0),this.templates.set("movie",p0)}setDesignSystem(e){this.designSystem=e}getDesignSystem(){return this.designSystem}getTemplate(e){return this.getDefaultTemplate(e)}getDefaultTemplate(e){try{return this.templates.get(e)}catch(t){return console.error("Error loading default template ",e,t),null}}loadDesignSystem(e,t){let n=null;try{n=t.getNamed("DesignSystemLoader",this.designSystem)}catch{console.error("Exception while loading design system ",this.designSystem),pn.DEFAULT_DESIGN_SYSTEM!=""&&(n=t.getNamed("DesignSystemLoader",pn.DEFAULT_DESIGN_SYSTEM))}n?n.loadDesignSystem(e):console.error("Cannot initialize design system")}};pn.DEFAULT_DESIGN_SYSTEM="";pn.cname="cristal.skin.manager";pn.hint="default";pn.priority=1e3;pn.singleton=!0;pn=_0([He()],pn);const v0=nt({__name:"c-uix",props:{uixname:{}},setup(e){let t=[],n;const r=e,i=$e("cristal");i&&(t=i.getUIXTemplates(r.uixname),n=i.getLogger("skin.vue.template"));const s=yi(t);return n?.debug("Extension Point name",r.uixname),(o,a)=>(fe(!0),Ce(ze,null,ai(s.value,l=>(fe(),Ct(Ms(l)))),256))}});var y0=Object.defineProperty,b0=Object.getOwnPropertyDescriptor,w0=(e,t,n,r)=>{for(var i=r>1?void 0:r?b0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&y0(t,n,i),i};let ir=class extends Dn{constructor(){super()}getVueComponent(){return v0}getVueName(){return"UIX"}isGlobal(){return!0}bindToContainer(e){e.bind("VueTemplateProvider").to(ir)}};ir.cname="cristal.vuejs.component";ir.hint="uix";ir.priority=1e3;ir.singleton=!0;ir=w0([He()],ir);const cu="Jean-Pierre Dupont",E0=ke(10),C0={setup(){let e="",t=cu.split(/[\s-]/);return t.length>0&&(e+=t[0][0].toUpperCase(),t.length>1&&(e+=t[1][0].toUpperCase()),t.length>2&&(e+=t[2][0].toUpperCase())),{initials:e,displayname:cu,progressValue:0}},onMounted(){const e=setTimeout(()=>E0.value=66,500);return()=>clearTimeout(e)}},T0={id:"userprofile-avatar"},S0={class:"flex gap-5"};function A0(e,t,n,r,i,s){const o=Xe("x-avatar");return fe(),Ce("div",T0,[de("div",S0,[H(o,{color:"white"},{default:ht(()=>[it($t(r.initials),1)]),_:1}),H(o,{image:"https://images.unsplash.com/photo-1511485977113-f34c92461ad9?ixlib=rb-1.2.1&w=128&h=128&dpr=2&q=80",alt:r.displayname},{default:ht(()=>[it($t(r.initials),1)]),_:1},8,["alt"])])])}const I0=ot(C0,[["render",A0]]);var k0=Object.defineProperty,P0=Object.getOwnPropertyDescriptor,x0=(e,t,n,r)=>{for(var i=r>1?void 0:r?P0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&k0(t,n,i),i};let sr=class extends hn{constructor(){super(...arguments),this.registered=!1}getVueComponent(){return I0}getVueName(){return"Login"}isGlobal(){return!1}};sr.cname="cristal.vuejs.component";sr.hint="";sr.priority=1e3;sr.singleton=!0;sr.extensionPoint="header.nav.right";sr=x0([He()],sr);const uu="Jean-Pierre Dupont",O0=ke(10),L0={setup(){let e="",t=uu.split(/[\s-]/);return t.length>0&&(e+=t[0][0].toUpperCase(),t.length>1&&(e+=t[1][0].toUpperCase()),t.length>2&&(e+=t[2][0].toUpperCase())),{initials:e,displayname:uu,progressValue:0}},onMounted(){const e=setTimeout(()=>O0.value=66,500);return()=>clearTimeout(e)}},R0={id:"search"};function N0(e,t,n,r,i,s){const o=Xe("x-text-field");return fe(),Ce("div",R0,[H(o,{label:"Search","prepend-inner-icon":"mdi:mdi-magnify",variant:"solo"})])}const M0=ot(L0,[["render",N0]]);var D0=Object.defineProperty,F0=Object.getOwnPropertyDescriptor,$0=(e,t,n,r)=>{for(var i=r>1?void 0:r?F0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&D0(t,n,i),i};let or=class extends hn{constructor(){super(...arguments),this.registered=!1}getVueComponent(){return M0}getVueName(){return"Search"}isGlobal(){return!1}};or.cname="cristal.vuejs.component";or.hint="";or.priority=1e3;or.singleton=!0;or.extensionPoint="header.nav.center";or=$0([He()],or);var U0=Object.defineProperty,j0=Object.getOwnPropertyDescriptor,W0=(e,t,n,r)=>{for(var i=r>1?void 0:r?j0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&U0(t,n,i),i},B0=(e,t)=>(n,r)=>t(n,r,e);let Xo=class{constructor(e){const{t,mergeLocaleMessage:n}=Ii();for(const r in e)n(r,e[r]);this.t=t}};Xo=W0([He(),B0(0,Vu())],Xo);const V0={},H0=de("span",{class:"doc-info-user-info"},"User name created...",-1);function G0(e,t){const n=Xe("x-avatar");return fe(),Ce(ze,null,[H(n,{class:"avatar"}),H0],64)}const K0=ot(V0,[["render",G0]]);var Y0=Object.defineProperty,z0=Object.getOwnPropertyDescriptor,X0=(e,t,n,r)=>{for(var i=r>1?void 0:r?z0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Y0(t,n,i),i};let fu=class extends Xo{constructor(){super(fh),this.order=1e3,this.id="information",this.title=this.t("information.extraTabs.title")}async panel(){return K0}};fu=X0([He()],fu);var q0=Object.defineProperty,J0=Object.getOwnPropertyDescriptor,Q0=(e,t,n,r)=>{for(var i=r>1?void 0:r?J0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&q0(t,n,i),i};let du=class{constructor(){this.iconName="heart",this.id="likes",this.order=1e3}async counter(){return ke(99)}};du=Q0([He()],du);var Z0=Object.defineProperty,eC=Object.getOwnPropertyDescriptor,tC=(e,t,n,r)=>{for(var i=r>1?void 0:r?eC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Z0(t,n,i),i};let hu=class{constructor(){this.iconName="chat",this.id="comments",this.order=2e3}async counter(){return ke(99)}};hu=tC([He()],hu);const nC=nt({__name:"c-index",setup(e){return(t,n)=>(fe(),Ct(Ee(di),{name:"view"}))}});var rC=!1;/*!
|
|
105
|
+
* pinia v2.1.7
|
|
106
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
107
|
+
* @license MIT
|
|
108
|
+
*/let dh;const Hs=e=>dh=e,hh=Symbol();function qo(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Zr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Zr||(Zr={}));function iC(){const e=_a(!0),t=e.run(()=>ke({}));let n=[],r=[];const i=xs({install(s){Hs(i),i._a=s,s.provide(hh,i),s.config.globalProperties.$pinia=i,r.forEach(o=>n.push(o)),r=[]},use(s){return!this._a&&!rC?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const ph=()=>{};function pu(e,t,n,r=ph){e.push(t);const i=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&Qu()&&cg(i),i}function cr(e,...t){e.slice().forEach(n=>{n(...t)})}const sC=e=>e();function Jo(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],i=e[n];qo(i)&&qo(r)&&e.hasOwnProperty(n)&&!tt(r)&&!On(r)?e[n]=Jo(i,r):e[n]=r}return e}const oC=Symbol();function aC(e){return!qo(e)||!e.hasOwnProperty(oC)}const{assign:Cn}=Object;function lC(e){return!!(tt(e)&&e.effect)}function cC(e,t,n,r){const{state:i,actions:s,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=i?i():{});const u=Mg(n.state.value[e]);return Cn(u,s,Object.keys(o||{}).reduce((f,d)=>(f[d]=xs(Ve(()=>{Hs(n);const g=n._s.get(e);return o[d].call(g,g)})),f),{}))}return l=gh(e,c,t,n,r,!0),l}function gh(e,t,n={},r,i,s){let o;const a=Cn({actions:{}},n),l={deep:!0};let c,u,f=[],d=[],g;const v=r.state.value[e];!s&&!v&&(r.state.value[e]={}),ke({});let C;function O(F){let k;c=u=!1,typeof F=="function"?(F(r.state.value[e]),k={type:Zr.patchFunction,storeId:e,events:g}):(Jo(r.state.value[e],F),k={type:Zr.patchObject,payload:F,storeId:e,events:g});const K=C=Symbol();Os().then(()=>{C===K&&(c=!0)}),u=!0,cr(f,k,r.state.value[e])}const x=s?function(){const{state:k}=n,K=k?k():{};this.$patch(ne=>{Cn(ne,K)})}:ph;function R(){o.stop(),f=[],d=[],r._s.delete(e)}function w(F,k){return function(){Hs(r);const K=Array.from(arguments),ne=[],W=[];function se(le){ne.push(le)}function Se(le){W.push(le)}cr(d,{args:K,name:F,store:A,after:se,onError:Se});let xe;try{xe=k.apply(this&&this.$id===e?this:A,K)}catch(le){throw cr(W,le),le}return xe instanceof Promise?xe.then(le=>(cr(ne,le),le)).catch(le=>(cr(W,le),Promise.reject(le))):(cr(ne,xe),xe)}}const I={_p:r,$id:e,$onAction:pu.bind(null,d),$patch:O,$reset:x,$subscribe(F,k={}){const K=pu(f,F,k.detached,()=>ne()),ne=o.run(()=>Ht(()=>r.state.value[e],W=>{(k.flush==="sync"?u:c)&&F({storeId:e,type:Zr.direct,events:g},W)},Cn({},l,k)));return K},$dispose:R},A=vi(I);r._s.set(e,A);const N=(r._a&&r._a.runWithContext||sC)(()=>r._e.run(()=>(o=_a()).run(t)));for(const F in N){const k=N[F];if(tt(k)&&!lC(k)||On(k))s||(v&&aC(k)&&(tt(k)?k.value=v[F]:Jo(k,v[F])),r.state.value[e][F]=k);else if(typeof k=="function"){const K=w(F,k);N[F]=K,a.actions[F]=k}}return Cn(A,N),Cn(Ae(A),N),Object.defineProperty(A,"$state",{get:()=>r.state.value[e],set:F=>{O(k=>{Cn(k,F)})}}),r._p.forEach(F=>{Cn(A,o.run(()=>F({store:A,app:r._a,pinia:r,options:a})))}),v&&s&&n.hydrate&&n.hydrate(A.$state,v),c=!0,u=!0,A}function TT(e,t,n){let r,i;const s=typeof t=="function";typeof e=="string"?(r=e,i=s?n:t):(i=e,r=e.id);function o(a,l){const c=mm();return a=a||(c?$e(hh,null):null),a&&Hs(a),a=dh,a._s.has(r)||(s?gh(r,t,i,a):cC(r,i,a)),a._s.get(r)}return o.$id=r,o}function ST(e){{e=Ae(e);const t={};for(const n in e){const r=e[n];(tt(r)||On(r))&&(t[n]=$g(e,n))}return t}}var uC=Object.defineProperty,fC=Object.getOwnPropertyDescriptor,dC=(e,t,n,r)=>{for(var i=r>1?void 0:r?fC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&uC(t,n,i),i},jr=(e,t)=>(n,r)=>t(n,r,e);let Qo=class{constructor(e,t,n,r,i){this.availableConfigurations=new Map,this.extensionManager=e,this.skinManager=t,this.vueTemplateProviders=n,this.page=new Ro,this.mode="view",this.browserApi=i,this.logger=r,this.logger.setModule("app.components.DefaultWikiApp"),this.logger?.debug("Skin manager: ",t),this.logger?.debug("Vue template providers: ",n)}setContainer(e){this.container=e}getContainer(){return this.container}getCurrentPage(){return this.page.name||this.wikiConfig.defaultPageName()}setCurrentPage(e,t="view"){this.router.push({name:t,params:{page:decodeURIComponent(e)}})}handlePopState(e){if(this.logger?.debug("In handlePopState ",e),e.state&&e.state.page){const t=e.state.page;t&&(this.page.name=t,this.page.source="",this.page.html="",this.loadPage())}else{this.logger?.debug("Could not find state or state in page",e);const t=this.getPageFromHash(location.hash);t!=null&&(this.page.name=t,this.page.source="",this.page.html="",this.loadPage())}}setWikiConfig(e){this.wikiConfig=e}getWikiConfig(){return this.wikiConfig}getSkinManager(){return this.skinManager}switchConfig(e){this.logger.debug("Switching config to",e);const t=this.availableConfigurations.get(e);t&&(this.setWikiConfig(t),t.designSystem!=""&&this.skinManager.setDesignSystem(t.designSystem),this.browserApi.switchLocation(t))}setAvailableConfigurations(e){console.log(e),e.forEach((t,n)=>{const r=t?.configType;if(t){const i=this.container.getNamed("WikiConfig",r);i.setConfigFromObject(t),this.availableConfigurations.set(n,i)}})}getAvailableConfigurations(){return this.availableConfigurations}getLogger(e){let t=this.container.get("Logger");return t||(t=new Sr),t.setModule(e),t}getLoggerConfig(){return this.container.get("LoggerConfig")}async renderContent(e,t,n,r){if(e==null)return"";this.logger.debug("Loading rendering module");try{return this.container.get("Renderer").convert(e,t,n,r)}catch{return this.logger.error("Could not find a rendering module"),e}}async preloadConverters(){this.logger.debug("Loading rendering module");try{await this.container.get("Renderer").preloadConverters()}catch{this.logger.error("Could not find a rendering module")}}async loadPage(e){try{if(this.logger?.debug("Loading page",this.page.name),this.getWikiConfig().isSupported("jsonld")){const t=await this.getWikiConfig().storage.getPageContent(this.page.name,"jsonld",e?.requeue);if(!t){this.logger.error("Could not find page data",this.page.name,"with syntax","jsonld");return}this.page.document=t.document,this.page.source=t.document.get("text"),t.html==""?(this.page.html=await this.renderContent(this.page.source,t.syntax,"html",this.getWikiConfig()),this.page.document.set("html",this.page.html)):this.page.html=t.html,this.currentContentRef!=null?(this.currentContentRef.value=this.page,this.logger?.debug("Page content ",this.page.source),this.logger?.debug("Page loaded ",this.page.name)):console.error("Could not set content on vue page view component")}else{const t=await this.getWikiConfig().storage.getPageContent(this.page.name,"html");if(!t){this.logger.error("Could not find page data",this.page.name,"with syntax","html");return}this.page.source=t.source,this.page.html=t.html,t.html==""?(this.page.html=await this.renderContent(this.page.source,t.syntax,"html",this.getWikiConfig()),this.page.document.set("html",this.page.html)):this.page.html=t.html,this.currentContentRef!=null?(this.currentContentRef.value=this.page,this.logger?.debug("Page content ",this.page.html),this.logger?.debug("Page loaded ",this.page.name)):console.error("Could not set content on vue page view component")}}catch(t){console.error("Failed to load page ",this.page.name,t)}}async loadPageFromURL(e){this.logger?.debug("Trying to load",e);const t=this.getWikiConfig().storage.getPageFromViewURL(e);t!=null?(this.logger?.debug("The link is evaluated as being page ",t),this.setCurrentPage(t)):(this.logger?.debug("The link is evaluated as an external link"),window.open(e,"_blank"))}getCurrentContent(){return this.page.html}getCurrentSource(){return this.page.source}getCurrentSyntax(){return this.page.document.getSource().encodingFormat}setContentRef(e){this.currentContentRef=e,this.logger?.debug("Received ref from VUE ",e)}getCurrentWiki(){return this.getWikiConfig().name}getApp(){return this.app}getRouter(){return this.router}getPageFromHash(e){let t=null;const n=e.indexOf("/"),r=e.indexOf("/",n+1);return n>0&&(r==-1?t=e.substring(n+1):t=e.substring(n+1,r)),this.logger?.debug("Page from hash is : ",t),t}getPageFromRouter(){let e=this.getPageFromHash(location.hash);return e==null&&(e=this.wikiConfig.homePage),this.logger?.debug("Page is:",e),e}async run(){this.logger?.debug("Before vue");const e=this.getPageFromRouter();this.logger?.debug("Initial page is ",e),this.page=new Ro("_jsonld",e,"initial content");const t=[{path:"/",component:this.skinManager.getTemplate("content")},{path:"/:page/view",name:"view",component:this.skinManager.getTemplate("content")},{path:"/:page/edit",component:this.skinManager.getTemplate("edit"),name:"edit"},{path:"/xwiki/search",component:this.skinManager.getTemplate("search")},{path:"/:page/",component:this.skinManager.getTemplate("content")}];this.router=jv({history:gv(),routes:t}),this.app=A_(nC).use(this.router).use(iC()).use(aE({legacy:!1,fallbackLocale:"en"})),this.app.provide("count",0),this.app.provide("skinManager",this.skinManager),this.app.provide("cristal",this),this.skinManager.loadDesignSystem(this.app,this.container);const n=this.container.getAll("VueTemplateProvider");for(const i in n){const s=n[i];if(this.logger?.debug("Found vue component ",s.getVueName(),s),s.isGlobal()){this.logger?.debug("Vue component is ",s.getVueComponent());const o=s.getVueComponent();this.app.component(s.getVueName(),o)}this.logger?.debug("Ready to register components of ",s.getVueName()),s.registerComponents(this.app)}const r=this.container.getAll("UIXTemplateProvider");for(const i in r){const s=r[i];this.logger?.debug("Found vue component ",s.getVueName(),s),this.logger?.debug("Ready to register components of ",s.getVueName()),s.registerComponents(this.app)}this.app.mount("#app"),window.addEventListener("popstate",this.handlePopState.bind(this)),this.logger?.debug("After vue"),this.logger?.debug("Replacing state in history "+this.getCurrentPage()),history.replaceState({page:this.getCurrentPage()},"","/"+this.wikiConfig.name+"/#/"+this.getCurrentPage()+"/view"),await this.preloadConverters(),this.loadPage()}getMenuEntries(){const e=new Array;try{const t=this.container.getAll("MenuEntry");this.logger?.debug("All menu entries",t);for(const n in t)e.push(t[n].getMenuEntry())}catch(t){this.logger?.debug("No menu entry could be loaded ",t)}return e}getUIXTemplates(e){const t=new Array;try{this.logger?.debug("Searching for UIX with extension Point",e);const n=this.getContainer().getAllNamed("UIXTemplateProvider",e);this.logger?.debug("All uix components for extension point ",e,n);for(const r in n)t.push(n[r].getVueComponent())}catch(n){n.message.indexOf("no matching bindings")==0&&this.logger?.debug("No uix entry found",n)}return t}async getPage(e){const t=this.getWikiConfig().isSupported("jsonld"),n=t?"jsonld":"html",r=await this.getWikiConfig().storage.getPageContent(e,n);if(t&&r){const i=r.document;r.html=i.get("html"),r.source=i.get("text"),r.syntax=i.get("encodingFormat")}return r}};Qo=dC([He(),jr(0,Qe("ExtensionManager")),jr(1,Qe("SkinManager")),jr(2,zp("VueTemplateProvider")),jr(3,Qe("Logger")),jr(4,Qe("BrowserApi"))],Qo);const hC="modulepreload",pC=function(e,t){return new URL(e,t).href},gu={},gC=function(t,n,r){let i=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=o?.nonce||o?.getAttribute("nonce");i=Promise.all(n.map(l=>{if(l=pC(l,r),l in gu)return;gu[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const v=s[g];if(v.href===l&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":hC,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((g,v)=>{d.addEventListener("load",g),d.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})};var mC=Object.defineProperty,_C=Object.getOwnPropertyDescriptor,vC=(e,t,n,r)=>{for(var i=r>1?void 0:r?_C(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&mC(t,n,i),i};let Zo=class{constructor(){this.name="component.name",this.hint="default",this.priority=1e3,this.singleton=!1}getName(){return this.name}getHint(){return this.hint}getPriority(){return this.priority}isSingleton(){return this.singleton}};Zo=vC([He()],Zo);class yC{constructor(t,n,r){this.name=t,this.entryFile=n,this.staticModule=r}}var bC=Object.defineProperty,wC=Object.getOwnPropertyDescriptor,EC=(e,t,n,r)=>{for(var i=r>1?void 0:r?wC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&bC(t,n,i),i},CC=(e,t)=>(n,r)=>t(n,r,e);let ea=class extends Zo{constructor(e){super(),this.remoteExtensions=new Map,this.remoteExtensionDefaultURL="/apps/",this.remoteExtensionDefaultEntryFile="main.bundle.js",this.logger=e,this.logger.setModule("extensionmanager.components.defaultExtensionManager")}addRemoteExtension(e,t,n){this.remoteExtensions.set(e,new yC(e,t,n))}setRemoteExtensionsConfig(e,t){this.remoteExtensionDefaultURL=e,this.remoteExtensionDefaultEntryFile=t}async loadExtension(e,t){try{const n=this.remoteExtensions.get(e),r=n&&n.entryFile?n.entryFile:this.remoteExtensionDefaultEntryFile,i=this.remoteExtensionDefaultURL+e+"/"+r,s=this.remoteExtensionDefaultURL+e+"/style.css";this.logger?.debug("Ready to import ",i);try{const a=await import(s,{assert:{type:"text/css"}});document.adoptedStyleSheets=[a.default]}catch{}const o=await import(i);if(o!=null){this.logger?.debug("Found components Init for ",e,o);const a=o.ComponentInit;new a(t),this.logger?.debug("Succesfull components Init for ",e)}else this.logger?.debug("No components to load for ",e);return}catch(n){this.logger?.error("Exception while loading components from ",e,n)}}async loadExtensions(e){for(const t of this.remoteExtensions.keys())await this.loadExtension(t,e)}};ea=EC([He(),CC(0,Qe("Logger"))],ea);let TC=class{constructor(t){this.logger=t.get("Logger"),this.logger.setModule("extensionmanager.components.componentsInit"),this.logger?.debug("Init Extension Manager components begin"),t.bind("ExtensionManager").to(ea),this.logger?.debug("Init Extension Manager components end")}};class SC{constructor(t){this.extensionList=t}getLogger(t){let n=this.container.get("Logger");return n||(n=new Sr),n.setModule(t),n}async loadExtensionManager(t){const n="extension-manager",r="/apps/"+n+"/main.bundle.dev.js";try{if(t)this.logger?.debug("Loading static extension Manager"),new TC(this.container);else{this.logger?.debug("Dynamic extension Manager. Ready to import ",r);const i=await import(r);if(i!=null){this.logger?.debug("Found components Init for ",n,i);const s=i.ComponentInit;new s(this.container),this.logger?.debug("Succesfull components Init for ",n)}else this.logger?.debug("No components to load for ",n)}}catch(i){this.logger?.error("Exception while loading extension Manager from ",r,i)}}async loadExtensions(t,n){this.logger?.debug("Start app"),await this.loadExtensionManager(t);const r=this.container.get("ExtensionManager");if(this.logger?.debug("Extension Manager is ",r),r!=null){if(!n){r.setRemoteExtensionsConfig("/apps/","main.bundle.dev.js");for(const i in this.extensionList)r.addRemoteExtension(i,"",!0);await r.loadExtensions(this.container)}this.logger?.debug("After extensions loading")}else this.logger?.debug("Could not start extension Manager");return r}initializeContainer(){this.container=new Bp,this.container.bind("LoggerConfig").to(Mo).inSingletonScope(),this.container.bind("Logger").to(Sr);const t=this.container.get("LoggerConfig");t&&t.setDefaultLevel("debug"),this.logger=this.getLogger("index.ts"),this.logger?.info("Logging initialized")}getConfigFromPathName(t){let n="";if(t.startsWith("/")){const r=t.indexOf("/",1);r!=-1&&(n=t.substring(1,r))}return(n==null||n=="")&&(n="XWiki"),n}}function AC(e){return async()=>await(await fetch(e)).json()}class nl extends SC{constructor(t){super(t)}loadApp(t,n,r){const i=r,s=new Map(Object.entries(t));if(this.cristal.setAvailableConfigurations(s),n){const a=window.localStorage.getItem("currentApp");a!=null&&this.cristal.getAvailableConfigurations().has(a)?r=a:r="FileSystemSL"}else r=this.getConfigFromPathName(window.location.pathname);let o=this.cristal.getAvailableConfigurations().get(r);if(o==null&&(o=this.cristal.getAvailableConfigurations().get(i)),o==null){n||(window.location.href="/XWiki/#"),this.logger?.error("Could not start cristal module");return}this.cristal.setWikiConfig(o),o.designSystem!=""&&this.cristal.skinManager.setDesignSystem(o.designSystem),o.initialize(),this.logger.debug("Wiki Config is:",o),this.cristal!=null?this.cristal.run():this.logger?.error("Could not start cristal module")}async launchApp(t,n,r,i,s){let o=t;o&&(o=!0,(await gC(()=>import("./staticBuild-DaVk8OhA.js").then(c=>c.s),__vite__mapDeps([0,1]),import.meta.url)).StaticBuild.init(this.container,o,s)),await this.loadExtensions(!0,o),this.container.bind("CristalApp").to(Qo).inSingletonScope(),this.cristal=this.container.get("CristalApp"),this.cristal.isElectron=r,this.cristal.setContainer(this.container);const a=await n();this.loadApp(a,r,i)}static init(t,n,r,i,s,o){const a=new nl(t);a.initializeContainer(),a.launchApp(r,n,i,s,o)}}var IC=Object.defineProperty,kC=Object.getOwnPropertyDescriptor,PC=(e,t,n,r)=>{for(var i=r>1?void 0:r?kC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&IC(t,n,i),i},Wi=(e,t)=>(n,r)=>t(n,r,e);let ta=class extends No{constructor(e,t,n){super(e),this.storage=t,this.cristal=n,this.storage.setWikiConfig(this),this.homePage===""&&(this.homePage="index.md")}getType(){return"FileSystem"}};ta=PC([He(),Wi(0,Qe("Logger")),Wi(1,Qe("Storage")),Wi(1,Wu("FileSystem")),Wi(2,Qe("CristalApp"))],ta);var xC=Object.defineProperty,OC=Object.getOwnPropertyDescriptor,LC=(e,t,n,r)=>{for(var i=r>1?void 0:r?OC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&xC(t,n,i),i},RC=(e,t)=>(n,r)=>t(n,r,e);let na=class{constructor(e,t){this.logger=e,this.logger.setModule(t)}setWikiConfig(e){this.logger.debug("Setting wiki Config: ",e),this.wikiConfig=e}getWikiConfig(){return this.wikiConfig}};na=LC([He(),RC(0,Vu())],na);var NC=Object.defineProperty,MC=Object.getOwnPropertyDescriptor,DC=(e,t,n,r)=>{for(var i=r>1?void 0:r?MC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&NC(t,n,i),i},FC=(e,t)=>(n,r)=>t(n,r,e);let ra=class extends na{constructor(e){super(e,"storage.components.fileSystemStorage")}getEditField(){return Promise.resolve("")}getImageURL(){return""}async getPageContent(e){const t=decodeURIComponent(e),n=await fileSystemStorage.resolvePath(t),r=await fileSystemStorage.readPage(n||"");return r&&(r.id=t,r.headline=r.name,r.headlineRaw=r.name),r}async getAttachments(e){const t=await fileSystemStorage.resolveAttachmentsPath(e);return{attachments:await fileSystemStorage.readAttachments(t)}}getPageFromViewURL(){return null}getPageRestURL(){return""}getPanelContent(){return Promise.resolve(new Ro)}isStorageReady(){return Promise.resolve(!0)}async save(e,t,n){const r=await fileSystemStorage.resolvePath(e);await fileSystemStorage.savePage(r,t,n)}async saveAttachments(e,t){return Promise.all(t.map(n=>this.saveAttachment(e,n)))}async saveAttachment(e,t){const n=await fileSystemStorage.resolveAttachmentPath(e,t.name);await fileSystemStorage.saveAttachment(n,t)}};ra=DC([He(),FC(0,Qe("Logger"))],ra);let $C=class{constructor(t){this.logger=t.get("Logger"),this.logger.setModule("electron.storage.components.componentsInit"),this.logger?.debug("Init Sample Module components begin"),t.bind("WikiConfig").to(ta).whenTargetNamed("FileSystem"),t.bind("Storage").to(ra).whenTargetNamed("FileSystem"),this.logger?.debug("Init Sample Module components end")}};var UC=Object.defineProperty,jC=Object.getOwnPropertyDescriptor,WC=(e,t,n,r)=>{for(var i=r>1?void 0:r?jC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&UC(t,n,i),i};let ia=class{switchLocation(e){window.localStorage.setItem("currentApp",e.name),browserElectron.reloadBrowser()}};ia=WC([He()],ia);const BC="BrowserApi";let VC=class{constructor(t){t.bind(BC).to(ia).inSingletonScope()}};const Nn="PageHierarchyResolver";var HC=Object.defineProperty,GC=Object.getOwnPropertyDescriptor,mh=(e,t,n,r)=>{for(var i=r>1?void 0:r?GC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&HC(t,n,i),i},vs=(e,t)=>(n,r)=>t(n,r,e);let sa=class{constructor(e,t){this.logger=e,this.logger.setModule("api.components.DefaultPageHierarchyResolver"),this.cristalApp=t}async getPageHierarchy(e){const t=[{label:"Home",url:this.cristalApp.getRouter().resolve({name:"view",params:{page:this.cristalApp.getWikiConfig().homePage}}).href}];return e!=null&&t.push({label:e.name,url:window.location.href}),t}};sa=mh([He(),vs(0,Qe("Logger")),vs(1,Qe("CristalApp"))],sa);let oa=class{constructor(e,t){this.logger=e,this.logger.setModule("core.hierarchy.hierarchy-default.DefaultPageHierarchyResolver"),this.cristalApp=t}get(){const e=this.cristalApp.getContainer(),t=this.cristalApp.getWikiConfig().getType();return e.isBoundNamed(Nn,t)?e.getNamed(Nn,t):e.get(Nn)}};oa=mh([He(),vs(0,Qe("Logger")),vs(1,Qe("CristalApp"))],oa);let KC=class{constructor(t){t.bind(Nn).to(sa).inSingletonScope().whenTargetIsDefault(),t.bind(`${Nn}Provider`).to(oa).inSingletonScope().whenTargetIsDefault()}};var YC=Object.defineProperty,zC=Object.getOwnPropertyDescriptor,XC=(e,t,n,r)=>{for(var i=r>1?void 0:r?zC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&YC(t,n,i),i},Bi=(e,t)=>(n,r)=>t(n,r,e);let aa=class{constructor(e,t,n){this.logger=e,this.logger.setModule("electron.storage.components.FileSystemPageHierarchyResolver"),this.cristalApp=t,this.fileSystemStorage=n}async getPageHierarchy(e){const t=[{label:"Home",url:this.cristalApp.getRouter().resolve({name:"view",params:{page:"index"}}).href}];if(e!=null){const n=e.id.split("/");let r="";for(let i=0;i<n.length;i++){const s=n[i];r+=`${i==0?"":"/"}${s}`;const o=encodeURIComponent(r);let a;i==n.length-1?a=e:a=await this.fileSystemStorage.getPageContent(o,"html"),t.push({label:a?.name?a.name:s,url:this.cristalApp.getRouter().resolve({name:"view",params:{page:r}}).href})}}return t}};aa=XC([He(),Bi(0,Qe("Logger")),Bi(1,Qe("CristalApp")),Bi(2,Qe("Storage")),Bi(2,Wu("FileSystem"))],aa);let qC=class{constructor(t){t.bind(Nn).to(aa).inSingletonScope().whenTargetNamed("FileSystem")}};var JC=Object.defineProperty,QC=Object.getOwnPropertyDescriptor,ZC=(e,t,n,r)=>{for(var i=r>1?void 0:r?QC(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&JC(t,n,i),i},mu=(e,t)=>(n,r)=>t(n,r,e);let la=class{constructor(e,t){this.logger=e,this.logger.setModule("storage.components.FileSystemPageHierarchyResolver"),this.cristalApp=t}async getPageHierarchy(e){const t=[{label:"Home",url:this.cristalApp.getRouter().resolve({name:"view",params:{page:this.cristalApp.getWikiConfig().homePage}}).href}];if(e!=null){const n=e.id.split("/");let r="";for(let i=0;i<n.length;i++){const s=n[i];r+=`${i==0?"":"/"}${s}`,t.push({label:s,url:this.cristalApp.getRouter().resolve({name:"view",params:{page:r}}).href})}}return t}};la=ZC([He(),mu(0,Qe("Logger")),mu(1,Qe("CristalApp"))],la);let eT=class{constructor(t){t.bind(Nn).to(la).inSingletonScope().whenTargetNamed("GitHub")}};function tT(e,t){return`${e.baseURL}/rest/wikis/xwiki/spaces/${encodeURIComponent(t).replace(/((?:%5C%5C)*)%5C\./g,"$1%2E").replace(/%5C%5C/g,"%5C").replace(/\.(?=.*\.)/g,"/spaces/").replace(/\./,"/pages/")}`}var nT=Object.defineProperty,rT=Object.getOwnPropertyDescriptor,iT=(e,t,n,r)=>{for(var i=r>1?void 0:r?rT(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&nT(t,n,i),i},uo=(e,t)=>(n,r)=>t(n,r,e);let ca=class{constructor(e,t,n){this.logger=e,this.logger.setModule("storage.components.XWikiPageHierarchyResolver"),this.cristalApp=t,this.defaultHierarchyResolver=n}async getPageHierarchy(e){const t=e.document.getIdentifier();if(t==null)return this.logger.debug(`No identifier found for page ${e.name}, falling back to default hierarchy resolver.`),this.defaultHierarchyResolver.getPageHierarchy(e);const n=tT(this.cristalApp.getWikiConfig(),t);try{const i=await(await fetch(n,{headers:{Accept:"application/json"}})).json(),s=[];return i.hierarchy.items.forEach(o=>{s.push({label:o.label,url:o.url})}),s[0].label="Home",s[s.length-1].url.endsWith("/")&&s.pop(),s}catch(r){return this.logger.error(r),this.logger.debug(`Could not load hierarchy for page ${e.name}, falling back to default hierarchy resolver.`),this.defaultHierarchyResolver.getPageHierarchy(e)}}};ca=iT([He(),uo(0,Qe("Logger")),uo(1,Qe("CristalApp")),uo(2,Qe("PageHierarchyResolver"))],ca);class sT{constructor(t){t.bind(Nn).to(ca).inSingletonScope().whenTargetNamed("XWiki")}}nl.init(["skin","dsvuetify","dsfr","dsshoelace","macros","storage","extension-menubuttons","sharedworker"],AC("./config.json"),!0,!0,"FileSystemSL",e=>{new $C(e),new VC(e),new KC(e),new qC(e),new eT(e),new sT(e)});export{it as $,_a as A,Ae as B,hu as C,pn as D,H as E,ze as F,yT as G,td as H,fu as I,Jf as J,tt as K,du as L,$g as M,Oa as N,cT as O,lT as P,_T as Q,Bn as R,Il as S,nr as T,sr as U,La as V,Ei as W,Ms as X,xs as Y,gT as Z,Mn as _,or as a,Lr as a0,rm as a1,ET as a2,$t as a3,bT as a4,Xe as a5,no as a6,He as a7,gC as a8,fe as a9,hn as aA,ge as aB,ot as aC,Me as aD,Ng as aE,TT as aF,ST as aG,Rn as aH,Mt as aI,iC as aJ,A_ as aK,Bp as aL,Bv as aM,zp as aN,Ii as aO,Xo as aP,hT as aQ,mT as aR,Ce as aa,Un as ab,Ct as ac,ht as ad,de as ae,If as af,Io as ag,ai as ah,Is as ai,aT as aj,jm as ak,CT as al,fT as am,dT as an,vT as ao,wT as ap,Cf as aq,Tf as ar,hl as as,oT as at,Ro as au,Qe as av,No as aw,Wu as ax,na as ay,sc as az,ir as b,Ve as c,uT as d,As as e,yt as f,df as g,Kt as h,ci as i,ke as j,$e as k,nt as l,Gt as m,Ti as n,Af as o,Gi as p,Ht as q,vi as r,yi as s,Mg as t,Ee as u,Os as v,pT as w,Lm as x,Om as y,cg as z};
|
|
109
|
+
//# sourceMappingURL=index-BwWdPCLg.js.map
|