comp-hub 0.42.6 → 0.42.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +133 -133
- package/bin/cli.js +58 -58
- package/bin/lib/commands.js +173 -173
- package/bin/lib/constants.js +22 -22
- package/bin/lib/http.js +130 -130
- package/bin/lib/startup.js +254 -254
- package/bin/lib/utils.js +112 -112
- package/dist/index.js +2 -2
- package/dist/master.js +1 -1
- package/dist/website/container/assets/index-BIcqvqGy.js +33 -0
- package/dist/website/container/assets/index-BmW7jge6.css +1 -0
- package/dist/website/container/index.html +35 -35
- package/dist/website/container/js/react-jsx-loader.js +232 -232
- package/dist/website/container/js/vue2-sfc-loader.js +260 -260
- package/dist/website/container/js/vue3-sfc-loader.js +289 -289
- package/dist/website/item/assets/index-CfkvQ31V.css +1 -0
- package/dist/website/item/assets/{index-ydOZoQ8L.js → index-DDuyXuC_.js} +32 -32
- package/dist/website/item/index.html +30 -30
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-D-jhE3yA.js +1 -0
- package/dist/website/main/assets/BaseBadge-Dwav8-_V.js +1 -0
- package/dist/website/main/assets/{BaseBadge-Cs4OMkMY.css → BaseBadge-ledSuDnX.css} +1 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-BK7dbjCA.js +1 -0
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-CcSntY2B.js +1 -0
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-Br1ZlT-C.js +1 -0
- package/dist/website/main/assets/{CodeMirrorEditor-Cqow8ROO-Cp4gUJc9.js → CodeMirrorEditor-Cqow8ROO-D5a3bJrn.js} +3 -3
- package/dist/website/main/assets/{EmptyStatusContainer.vue_vue_type_script_setup_true_lang-BesoRTEn.js → EmptyStatusContainer.vue_vue_type_script_setup_true_lang-CNOUTt3S.js} +1 -1
- package/dist/website/main/assets/GithubCallback-DRfvlj0J.js +1 -0
- package/dist/website/main/assets/{LoadingWrapper.vue_vue_type_script_setup_true_lang-CGbl_jEe.js → LoadingWrapper.vue_vue_type_script_setup_true_lang-BYA4gUOI.js} +1 -1
- package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-DztoCP65.js +1 -0
- package/dist/website/main/assets/SiteLogo-BK2LmBdP.js +1 -0
- package/dist/website/main/assets/SiteLogo-CszHjM2d.css +1 -0
- package/dist/website/main/assets/{cloud-upload-D1ObRbGg.js → cloud-upload-BqJFdj_J.js} +1 -1
- package/dist/website/main/assets/el-table-column-C2GQUl4R.js +1 -0
- package/dist/website/main/assets/{home-rounded-DxDBjzlk.js → home-rounded-CN0qCDnE.js} +1 -1
- package/dist/website/main/assets/index--Gl7kxRA.js +1 -0
- package/dist/website/main/assets/index-3thCh3qq.js +6 -0
- package/dist/website/main/assets/index-4DalWgib.js +1 -0
- package/dist/website/main/assets/{index-72rReQ2I-BkBRAKfL.js → index-72rReQ2I-DT4t3yv7.js} +1 -1
- package/dist/website/main/assets/index-APbKgJd9.js +1 -0
- package/dist/website/main/assets/index-B0gjb0CJ.js +1 -0
- package/dist/website/main/assets/index-B4Denke_.js +1 -0
- package/dist/website/main/assets/index-BDXFoym_.js +1 -0
- package/dist/website/main/assets/index-BGAAZcsT.js +1 -0
- package/dist/website/main/assets/index-BIIfOsTM.js +1 -0
- package/dist/website/main/assets/index-BLCWm3Fn.js +1 -0
- package/dist/website/main/assets/index-BU8KZHUA.js +1 -0
- package/dist/website/main/assets/index-BYr_uRik.js +1 -0
- package/dist/website/main/assets/{index-uNuyW4Nf.js → index-BZrH5MtZ.js} +3 -3
- package/dist/website/main/assets/{index-D3slGitA.js → index-B_R6um8d.js} +1 -1
- package/dist/website/main/assets/index-B_rFxdlu.js +1 -0
- package/dist/website/main/assets/index-BiXGgf9p.js +1 -0
- package/dist/website/main/assets/{index-D_l0AXZ5.js → index-BkWR9AZK.js} +21 -21
- package/dist/website/main/assets/index-C0QhLzHP.js +1 -0
- package/dist/website/main/assets/index-C1XabFrJ.js +1 -0
- package/dist/website/main/assets/{index-D8C7Y4kK.js → index-C7kbImye.js} +1 -1
- package/dist/website/main/assets/index-CAhGpcw0.js +1 -0
- package/dist/website/main/assets/index-CGL710hV.js +1 -0
- package/dist/website/main/assets/index-CKtWjh5B.js +1 -0
- package/dist/website/main/assets/index-CLT68CCM.css +1 -0
- package/dist/website/main/assets/index-CQTH6cXs.js +1 -0
- package/dist/website/main/assets/index-CRerG_jj.js +3 -0
- package/dist/website/main/assets/index-Cey7IuDj.js +1 -0
- package/dist/website/main/assets/{index-leNHmgTy.js → index-CkHWSI2b.js} +2 -2
- package/dist/website/main/assets/index-CmDlT9OG.js +1 -0
- package/dist/website/main/assets/index-Cp8ViCIR.js +1 -0
- package/dist/website/main/assets/index-CwoRYDBS.js +1 -0
- package/dist/website/main/assets/index-D-zBzPPy.css +1 -0
- package/dist/website/main/assets/index-D2YpsmLA.js +1 -0
- package/dist/website/main/assets/index-D6zFRika.js +1 -0
- package/dist/website/main/assets/{index-D76eWsZ1-DzwZi5Q3.js → index-D76eWsZ1-_nyu7eQb.js} +1 -1
- package/dist/website/main/assets/index-DCw86ogq.js +1 -0
- package/dist/website/main/assets/index-DFFxrR-b.js +7 -0
- package/dist/website/main/assets/index-DGc9WQeN.js +2 -0
- package/dist/website/main/assets/index-DKrCvuOe.js +1 -0
- package/dist/website/main/assets/index-DOR-FWWa.js +1 -0
- package/dist/website/main/assets/index-DRLluzuR.js +1 -0
- package/dist/website/main/assets/index-DShvoWo5.js +1 -0
- package/dist/website/main/assets/index-DXwxbpG5.js +1 -0
- package/dist/website/main/assets/index-DlkXaOkE.css +1 -0
- package/dist/website/main/assets/{index-Dms7ZQ2h-BnAar77P.js → index-Dms7ZQ2h-CXFhQfmI.js} +1 -1
- package/dist/website/main/assets/index-DpUmZw4S.js +1 -0
- package/dist/website/main/assets/{index-DqiFCfGx-D9TcJHnH.js → index-DqiFCfGx-BdEBAtzU.js} +1 -1
- package/dist/website/main/assets/index-DvXl2xci.js +1 -0
- package/dist/website/main/assets/{index-DxypSQ0K-BPBBAlML.js → index-DxypSQ0K-wm4wOntm.js} +1 -1
- package/dist/website/main/assets/index-F2VTlbBR.js +1 -0
- package/dist/website/main/assets/index-GF-tJPqO.js +1 -0
- package/dist/website/main/assets/{index-B2Zubotl.css → index-Ji2WmMDE.css} +1 -1
- package/dist/website/main/assets/index-K6SUsq-d.js +1 -0
- package/dist/website/main/assets/{index-D0PH3BvM.js → index-KhSB9wFh.js} +1 -1
- package/dist/website/main/assets/index-Mnu1wKgu.css +1 -0
- package/dist/website/main/assets/{index-T76vWLBU-CH1SE5a0.js → index-T76vWLBU-C0PuuEJA.js} +1 -1
- package/dist/website/main/assets/index-_FSb4t-p.js +1 -0
- package/dist/website/main/assets/index-bwN_igRO.js +1 -0
- package/dist/website/main/assets/{index-fZBcgzqR-2hQDo6Qk.js → index-fZBcgzqR-CRYn0SF1.js} +1 -1
- package/dist/website/main/assets/{index-mqeGrL6B-CniizjGa.js → index-mqeGrL6B-BF63ossB.js} +1 -1
- package/dist/website/main/assets/index-ruR13HOB.js +2 -0
- package/dist/website/main/assets/index-sFKst8yj.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C9gk_QQc.js +2 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CS2m0nhD.js → index.vue_vue_type_script_setup_true_lang-CJ6uny7o.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CsPwDCDo.js +1 -0
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-30dEaEsH.js → index.vue_vue_type_script_setup_true_lang-D1Yenn0_.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-CbFazsFi.js → index.vue_vue_type_script_setup_true_lang-DVDnFtUl.js} +1 -1
- package/dist/website/main/assets/{index.vue_vue_type_script_setup_true_lang-BDWcS5BK.js → index.vue_vue_type_script_setup_true_lang-Do3aUu26.js} +1 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-C7Y8qEDg.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-CMD4VvG4.js +6 -0
- package/dist/website/main/assets/index3-BiHnTK1Z.js +1 -0
- package/dist/website/main/assets/{kid-star-CFee_wmK.js → kid-star-CiMfD7Sa.js} +1 -1
- package/dist/website/main/assets/{md5-Cswfg7iQ.js → md5-Dkj6ZNQB.js} +1 -1
- package/dist/website/main/assets/{settings-9laCRsDB.js → settings-CSr4nQM1.js} +1 -1
- package/dist/website/main/assets/{supervised-user-circle-CjLjPJgX.js → supervised-user-circle-BwUSx6w_.js} +1 -1
- package/dist/website/main/assets/{sync-saved-locally-rounded-lTPGDNrR.js → sync-saved-locally-rounded-DyESI323.js} +1 -1
- package/dist/website/main/assets/{terminal-fRNgCBAo.js → terminal-DAZ0JqKA.js} +1 -1
- package/dist/website/main/assets/{useCacheOssStore-a1U35_yC.js → useCacheOssStore-BovkXuwo.js} +1 -1
- package/dist/website/main/assets/useCompEditStore-C2cDxPfw.css +1 -0
- package/dist/website/main/assets/{useCompEditStore-CrmHmY3O.js → useCompEditStore-C47KFq3s.js} +13 -13
- package/dist/website/main/assets/{useCompMetaLocalStore-DScrCqkw.js → useCompMetaLocalStore-DUMtt_yz.js} +1 -1
- package/dist/website/main/assets/{useKeyword-DPrVS0y6.js → useKeyword-C0diQZGk.js} +1 -1
- package/dist/website/main/assets/useMessage-Dxhw28ry.js +1 -0
- package/dist/website/main/assets/{useTeamHeaders-DPQN2GDa.css → useTeamHeaders-BMHQzwDq.css} +1 -1
- package/dist/website/main/assets/{useTeamHeaders-Bh9dFUuA.js → useTeamHeaders-BuIG232Y.js} +2 -2
- package/dist/website/main/assets/{useUnreadStore-dPE0KFd2.js → useUnreadStore-CmdbW-yt.js} +1 -1
- package/dist/website/main/assets/{useVscodeOpen-CZclwKHe.js → useVscodeOpen-0AeELCuF.js} +1 -1
- package/dist/website/main/assets/{vendor-core-0VX1BwM6.js → vendor-core-CNXB6kVe.js} +3 -3
- package/dist/website/main/assets/{vendor-ui-CRHKNWIQ.js → vendor-ui-Cvgmewma.js} +15 -15
- package/dist/website/main/index.html +4 -4
- package/package.json +52 -52
- package/dist/website/container/assets/index-D3DdLVqK.css +0 -1
- package/dist/website/container/assets/index-eRcJ8qeF.js +0 -33
- package/dist/website/item/assets/index-CcAhYDgG.css +0 -1
- package/dist/website/main/assets/AuthCodeSendBtn.vue_vue_type_script_setup_true_lang-Nj-eqxJP.js +0 -1
- package/dist/website/main/assets/BaseBadge-UKoV0gRD.js +0 -1
- package/dist/website/main/assets/BaseDialog.vue_vue_type_script_setup_true_lang-Bry1evkv.js +0 -1
- package/dist/website/main/assets/BaseSegmented.vue_vue_type_script_setup_true_lang-B5FydYbm.js +0 -1
- package/dist/website/main/assets/CanvasAnimation.vue_vue_type_script_setup_true_lang-BJ1WLWiR.js +0 -1
- package/dist/website/main/assets/GithubCallback-CxWdJQOK.js +0 -1
- package/dist/website/main/assets/ReplyForm.vue_vue_type_script_setup_true_lang-8UmMm5tC.js +0 -1
- package/dist/website/main/assets/el-table-column-DzGAH4eh.js +0 -1
- package/dist/website/main/assets/index--iTpYFYc.js +0 -1
- package/dist/website/main/assets/index-6RTiuZ_N.js +0 -1
- package/dist/website/main/assets/index-B7DPM0mK.js +0 -1
- package/dist/website/main/assets/index-BD4yGNF1.js +0 -1
- package/dist/website/main/assets/index-BOYLNx_j.js +0 -3
- package/dist/website/main/assets/index-BOmQK5id.js +0 -1
- package/dist/website/main/assets/index-BSzGziWF.js +0 -1
- package/dist/website/main/assets/index-B_K1LoXG.css +0 -1
- package/dist/website/main/assets/index-Barm7Xqt.js +0 -1
- package/dist/website/main/assets/index-Bknt6b_4.js +0 -1
- package/dist/website/main/assets/index-BsU1mqnT.js +0 -1
- package/dist/website/main/assets/index-Bth_SWAt.css +0 -1
- package/dist/website/main/assets/index-CCI9Rc7z.js +0 -1
- package/dist/website/main/assets/index-CD5eg05L.js +0 -1
- package/dist/website/main/assets/index-CDafjgED.js +0 -1
- package/dist/website/main/assets/index-CLOuN4ur.js +0 -1
- package/dist/website/main/assets/index-CNwHp9a1.js +0 -1
- package/dist/website/main/assets/index-COWiImKY.js +0 -1
- package/dist/website/main/assets/index-CgXxpwQw.js +0 -1
- package/dist/website/main/assets/index-CkOnRg_y.js +0 -1
- package/dist/website/main/assets/index-CmQK-Jf9.js +0 -1
- package/dist/website/main/assets/index-CnITVEbA.js +0 -1
- package/dist/website/main/assets/index-Cu67NMeG.css +0 -1
- package/dist/website/main/assets/index-D0e6xuyQ.js +0 -1
- package/dist/website/main/assets/index-D6CmgY15.js +0 -1
- package/dist/website/main/assets/index-D7c69zQF.js +0 -1
- package/dist/website/main/assets/index-DDPLszjZ.js +0 -1
- package/dist/website/main/assets/index-DKUt2N0Q.js +0 -1
- package/dist/website/main/assets/index-DNjrI1LU.js +0 -1
- package/dist/website/main/assets/index-DV_sHy81.js +0 -6
- package/dist/website/main/assets/index-D_Q0Ab96.js +0 -1
- package/dist/website/main/assets/index-DaCJE4Tc.js +0 -1
- package/dist/website/main/assets/index-Ddy0owpx.js +0 -7
- package/dist/website/main/assets/index-DiifzDSt.css +0 -1
- package/dist/website/main/assets/index-Dm5v9g0S.js +0 -1
- package/dist/website/main/assets/index-Dnvm4BY6.js +0 -1
- package/dist/website/main/assets/index-DoO3bCVS.js +0 -1
- package/dist/website/main/assets/index-Dr7Yk5Fw.js +0 -1
- package/dist/website/main/assets/index-DrqsuuZe.js +0 -1
- package/dist/website/main/assets/index-Du13eAUb.js +0 -1
- package/dist/website/main/assets/index-Dw4CVULY.js +0 -1
- package/dist/website/main/assets/index-DzEOWouw.js +0 -1
- package/dist/website/main/assets/index-VDJso98_.js +0 -1
- package/dist/website/main/assets/index-WXVFqbJx.js +0 -1
- package/dist/website/main/assets/index-hN9vFUxU.js +0 -1
- package/dist/website/main/assets/index-jaaimYtM.js +0 -1
- package/dist/website/main/assets/index-pGXTuXlq.js +0 -2
- package/dist/website/main/assets/index-qht0HNE9.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Bwcjk_yE.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-D1YUVpY-.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DWiaL7Bp.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-BNUYhtju.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DOF1fd4X.js +0 -6
- package/dist/website/main/assets/useCompEditStore-ZAdO-kT7.css +0 -1
- package/dist/website/main/assets/useMarkdownText-9CjtixYv.js +0 -1
- package/dist/website/main/assets/useMessage-FHsgvLin.js +0 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function wh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const bt={},bs=[],to=()=>{},Gw=()=>!1,au=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),lu=e=>e.startsWith("onUpdate:"),tn=Object.assign,Eh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gL=Object.prototype.hasOwnProperty,dt=(e,t)=>gL.call(e,t),Ie=Array.isArray,_s=e=>Ms(e)==="[object Map]",Kw=e=>Ms(e)==="[object Set]",ib=e=>Ms(e)==="[object Date]",yL=e=>Ms(e)==="[object RegExp]",Ne=e=>typeof e=="function",At=e=>typeof e=="string",ir=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",qw=e=>(ht(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Yw=Object.prototype.toString,Ms=e=>Yw.call(e),bL=e=>Ms(e).slice(8,-1),Xw=e=>Ms(e)==="[object Object]",cu=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_a=wh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uu=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},_L=/-\w/g,In=uu(e=>e.replace(_L,t=>t.slice(1).toUpperCase())),vL=/\B([A-Z])/g,Ni=uu(e=>e.replace(vL,"-$1").toLowerCase()),fu=uu(e=>e.charAt(0).toUpperCase()+e.slice(1)),yc=uu(e=>e?`on${fu(e)}`:""),Qr=(e,t)=>!Object.is(e,t),va=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Jw=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},wL=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let sb;const du=()=>sb||(sb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(Ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=At(r)?kL(r):Bn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(At(e)||ht(e))return e}const EL=/;(?![^(]*\))/g,SL=/:([^]+)/,CL=/\/\*[^]*?\*\//g;function kL(e){const t={};return e.replace(CL,"").split(EL).forEach(n=>{if(n){const r=n.split(SL);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tt(e){let t="";if(At(e))t=e;else if(Ie(e))for(let n=0;n<e.length;n++){const r=Tt(e[n]);r&&(t+=r+" ")}else if(ht(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ri(e){if(!e)return null;let{class:t,style:n}=e;return t&&!At(t)&&(e.class=Tt(t)),n&&(e.style=Bn(n)),e}const TL="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xL=wh(TL);function Qw(e){return!!e||e===""}function OL(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Sh(e[r],t[r]);return n}function Sh(e,t){if(e===t)return!0;let n=ib(e),r=ib(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ir(e),r=ir(t),n||r)return e===t;if(n=Ie(e),r=Ie(t),n||r)return n&&r?OL(e,t):!1;if(n=ht(e),r=ht(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const a in e){const c=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(c&&!u||!c&&u||!Sh(e[a],t[a]))return!1}}return String(e)===String(t)}const Zw=e=>!!(e&&e.__v_isRef===!0),Ao=e=>At(e)?e:e==null?"":Ie(e)||ht(e)&&(e.toString===Yw||!Ne(e.toString))?Zw(e)?Ao(e.value):JSON.stringify(e,eE,2):String(e),eE=(e,t)=>Zw(t)?eE(e,t.value):_s(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[cd(r,s)+" =>"]=o,n),{})}:Kw(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cd(n))}:ir(t)?cd(t):ht(t)&&!Ie(t)&&!Xw(t)?String(t):t,cd=(e,t="")=>{var n;return ir(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Xt;class tE{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Xt&&(Xt.active?(this.parent=Xt,this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=Xt;try{return Xt=this,t()}finally{Xt=n}}}on(){++this._on===1&&(this.prevScope=Xt,Xt=this)}off(){if(this._on>0&&--this._on===0){if(Xt===this)Xt=this.prevScope;else{let t=Xt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Ch(e){return new tE(e)}function Va(){return Xt}function kh(e,t=!1){Xt&&Xt.cleanups.push(e)}let Ct;const ud=new WeakSet;class nE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xt&&(Xt.active?Xt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ud.has(this)&&(ud.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||oE(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ab(this),iE(this);const t=Ct,n=Lr;Ct=this,Lr=!0;try{return this.fn()}finally{sE(this),Ct=t,Lr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Oh(t);this.deps=this.depsTail=void 0,ab(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ud.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){yp(this)&&this.run()}get dirty(){return yp(this)}}let rE=0,wa,Ea;function oE(e,t=!1){if(e.flags|=8,t){e.next=Ea,Ea=e;return}e.next=wa,wa=e}function Th(){rE++}function xh(){if(--rE>0)return;if(Ea){let t=Ea;for(Ea=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wa;){let t=wa;for(wa=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function iE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sE(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Oh(r),AL(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function yp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(aE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function aE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ra)||(e.globalVersion=Ra,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!yp(e))))return;e.flags|=2;const t=e.dep,n=Ct,r=Lr;Ct=e,Lr=!0;try{iE(e);const o=e.fn(e._value);(t.version===0||Qr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ct=n,Lr=r,sE(e),e.flags&=-3}}function Oh(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Oh(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function AL(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Lr=!0;const lE=[];function Ro(){lE.push(Lr),Lr=!1}function Po(){const e=lE.pop();Lr=e===void 0?!0:e}function ab(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ct;Ct=void 0;try{t()}finally{Ct=n}}}let Ra=0;class RL{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class pu{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ct||!Lr||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new RL(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,cE(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(t){this.version++,Ra++,this.notify(t)}notify(t){Th();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{xh()}}}function cE(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)cE(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ic=new WeakMap,ki=Symbol(""),bp=Symbol(""),Pa=Symbol("");function _n(e,t,n){if(Lr&&Ct){let r=Ic.get(e);r||Ic.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new pu),o.map=r,o.key=n),o.track()}}function So(e,t,n,r,o,s){const a=Ic.get(e);if(!a){Ra++;return}const c=u=>{u&&u.trigger()};if(Th(),t==="clear")a.forEach(c);else{const u=Ie(e),f=u&&cu(n);if(u&&n==="length"){const p=Number(r);a.forEach((h,g)=>{(g==="length"||g===Pa||!ir(g)&&g>=p)&&c(h)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),f&&c(a.get(Pa)),t){case"add":u?f&&c(a.get("length")):(c(a.get(ki)),_s(e)&&c(a.get(bp)));break;case"delete":u||(c(a.get(ki)),_s(e)&&c(a.get(bp)));break;case"set":_s(e)&&c(a.get(ki));break}}xh()}function PL(e,t){const n=Ic.get(e);return n&&n.get(t)}function es(e){const t=nt(e);return t===e?t:(_n(t,"iterate",Pa),or(e)?t:t.map(Fr))}function hu(e){return _n(e=nt(e),"iterate",Pa),e}function Xr(e,t){return Io(e)?Cs(xo(e)?Fr(t):t):Fr(t)}const IL={__proto__:null,[Symbol.iterator](){return fd(this,Symbol.iterator,e=>Xr(this,e))},concat(...e){return es(this).concat(...e.map(t=>Ie(t)?es(t):t))},entries(){return fd(this,"entries",e=>(e[1]=Xr(this,e[1]),e))},every(e,t){return go(this,"every",e,t,void 0,arguments)},filter(e,t){return go(this,"filter",e,t,n=>n.map(r=>Xr(this,r)),arguments)},find(e,t){return go(this,"find",e,t,n=>Xr(this,n),arguments)},findIndex(e,t){return go(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return go(this,"findLast",e,t,n=>Xr(this,n),arguments)},findLastIndex(e,t){return go(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return go(this,"forEach",e,t,void 0,arguments)},includes(...e){return dd(this,"includes",e)},indexOf(...e){return dd(this,"indexOf",e)},join(e){return es(this).join(e)},lastIndexOf(...e){return dd(this,"lastIndexOf",e)},map(e,t){return go(this,"map",e,t,void 0,arguments)},pop(){return na(this,"pop")},push(...e){return na(this,"push",e)},reduce(e,...t){return lb(this,"reduce",e,t)},reduceRight(e,...t){return lb(this,"reduceRight",e,t)},shift(){return na(this,"shift")},some(e,t){return go(this,"some",e,t,void 0,arguments)},splice(...e){return na(this,"splice",e)},toReversed(){return es(this).toReversed()},toSorted(e){return es(this).toSorted(e)},toSpliced(...e){return es(this).toSpliced(...e)},unshift(...e){return na(this,"unshift",e)},values(){return fd(this,"values",e=>Xr(this,e))}};function fd(e,t,n){const r=hu(e),o=r[t]();return r!==e&&!or(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const LL=Array.prototype;function go(e,t,n,r,o,s){const a=hu(e),c=a!==e&&!or(e),u=a[t];if(u!==LL[t]){const h=u.apply(e,s);return c?Fr(h):h}let f=n;a!==e&&(c?f=function(h,g){return n.call(this,Xr(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const p=u.call(a,f,r);return c&&o?o(p):p}function lb(e,t,n,r){const o=hu(e),s=o!==e&&!or(e);let a=n,c=!1;o!==e&&(s?(c=r.length===0,a=function(f,p,h){return c&&(c=!1,f=Xr(e,f)),n.call(this,f,Xr(e,p),h,e)}):n.length>3&&(a=function(f,p,h){return n.call(this,f,p,h,e)}));const u=o[t](a,...r);return c?Xr(e,u):u}function dd(e,t,n){const r=nt(e);_n(r,"iterate",Pa);const o=r[t](...n);return(o===-1||o===!1)&&yu(n[0])?(n[0]=nt(n[0]),r[t](...n)):o}function na(e,t,n=[]){Ro(),Th();const r=nt(e)[t].apply(e,n);return xh(),Po(),r}const ML=wh("__proto__,__v_isRef,__isVue"),uE=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir));function NL(e){ir(e)||(e=String(e));const t=nt(this);return _n(t,"has",e),t.hasOwnProperty(e)}class fE{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?yE:gE:s?mE:hE).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Ie(t);if(!o){let u;if(a&&(u=IL[n]))return u;if(n==="hasOwnProperty")return NL}const c=Reflect.get(t,n,Rt(t)?t:r);if((ir(n)?uE.has(n):ML(n))||(o||_n(t,"get",n),s))return c;if(Rt(c)){const u=a&&cu(n)?c:c.value;return o&&ht(u)?Ss(u):u}return ht(c)?o?Ss(c):Ga(c):c}}class dE extends fE{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Ie(t)&&cu(n);if(!this._isShallow){const f=Io(s);if(!or(r)&&!Io(r)&&(s=nt(s),r=nt(r)),!a&&Rt(s)&&!Rt(r))return f||(s.value=r),!0}const c=a?Number(n)<t.length:dt(t,n),u=Reflect.set(t,n,r,Rt(t)?t:o);return t===nt(o)&&u&&(c?Qr(r,s)&&So(t,"set",n,r):So(t,"add",n,r)),u}deleteProperty(t,n){const r=dt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&So(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ir(n)||!uE.has(n))&&_n(t,"has",n),r}ownKeys(t){return _n(t,"iterate",Ie(t)?"length":ki),Reflect.ownKeys(t)}}class pE extends fE{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const DL=new dE,FL=new pE,$L=new dE(!0),jL=new pE(!0),_p=e=>e,Vl=e=>Reflect.getPrototypeOf(e);function UL(e,t,n){return function(...r){const o=this.__v_raw,s=nt(o),a=_s(s),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=o[e](...r),p=n?_p:t?Cs:Fr;return!t&&_n(s,"iterate",u?bp:ki),tn(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[p(h[0]),p(h[1])]:p(h),done:g}}})}}function Gl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function zL(e,t){const n={get(o){const s=this.__v_raw,a=nt(s),c=nt(o);e||(Qr(o,c)&&_n(a,"get",o),_n(a,"get",c));const{has:u}=Vl(a),f=t?_p:e?Cs:Fr;if(u.call(a,o))return f(s.get(o));if(u.call(a,c))return f(s.get(c));s!==a&&s.get(o)},get size(){const o=this.__v_raw;return!e&&_n(nt(o),"iterate",ki),o.size},has(o){const s=this.__v_raw,a=nt(s),c=nt(o);return e||(Qr(o,c)&&_n(a,"has",o),_n(a,"has",c)),o===c?s.has(o):s.has(o)||s.has(c)},forEach(o,s){const a=this,c=a.__v_raw,u=nt(c),f=t?_p:e?Cs:Fr;return!e&&_n(u,"iterate",ki),c.forEach((p,h)=>o.call(s,f(p),f(h),a))}};return tn(n,e?{add:Gl("add"),set:Gl("set"),delete:Gl("delete"),clear:Gl("clear")}:{add(o){const s=nt(this),a=Vl(s),c=nt(o),u=!t&&!or(o)&&!Io(o)?c:o;return a.has.call(s,u)||Qr(o,u)&&a.has.call(s,o)||Qr(c,u)&&a.has.call(s,c)||(s.add(u),So(s,"add",u,u)),this},set(o,s){!t&&!or(s)&&!Io(s)&&(s=nt(s));const a=nt(this),{has:c,get:u}=Vl(a);let f=c.call(a,o);f||(o=nt(o),f=c.call(a,o));const p=u.call(a,o);return a.set(o,s),f?Qr(s,p)&&So(a,"set",o,s):So(a,"add",o,s),this},delete(o){const s=nt(this),{has:a,get:c}=Vl(s);let u=a.call(s,o);u||(o=nt(o),u=a.call(s,o)),c&&c.call(s,o);const f=s.delete(o);return u&&So(s,"delete",o,void 0),f},clear(){const o=nt(this),s=o.size!==0,a=o.clear();return s&&So(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=UL(o,e,t)}),n}function mu(e,t){const n=zL(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(dt(n,o)&&o in r?n:r,o,s)}const BL={get:mu(!1,!1)},WL={get:mu(!1,!0)},HL={get:mu(!0,!1)},VL={get:mu(!0,!0)},hE=new WeakMap,mE=new WeakMap,gE=new WeakMap,yE=new WeakMap;function GL(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ga(e){return Io(e)?e:gu(e,!1,DL,BL,hE)}function bE(e){return gu(e,!1,$L,WL,mE)}function Ss(e){return gu(e,!0,FL,HL,gE)}function KL(e){return gu(e,!0,jL,VL,yE)}function gu(e,t,n,r,o){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=GL(bL(e));if(a===0)return e;const c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function xo(e){return Io(e)?xo(e.__v_raw):!!(e&&e.__v_isReactive)}function Io(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function yu(e){return e?!!e.__v_raw:!1}function nt(e){const t=e&&e.__v_raw;return t?nt(t):e}function Ah(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&Jw(e,"__v_skip",!0),e}const Fr=e=>ht(e)?Ga(e):e,Cs=e=>ht(e)?Ss(e):e;function Rt(e){return e?e.__v_isRef===!0:!1}function Re(e){return _E(e,!1)}function Ln(e){return _E(e,!0)}function _E(e,t){return Rt(e)?e:new qL(e,t)}class qL{constructor(t,n){this.dep=new pu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:nt(t),this._value=n?t:Fr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||or(t)||Io(t);t=r?t:nt(t),Qr(t,n)&&(this._rawValue=t,this._value=r?t:Fr(t),this.dep.trigger())}}function je(e){return Rt(e)?e.value:e}function en(e){return Ne(e)?e():je(e)}const YL={get:(e,t,n)=>t==="__v_raw"?e:je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Rt(o)&&!Rt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function vE(e){return xo(e)?e:new Proxy(e,YL)}class XL{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new pu,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function wE(e){return new XL(e)}function JL(e){const t=Ie(e)?new Array(e.length):{};for(const n in e)t[n]=SE(e,n);return t}class QL{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ir(n)?n:String(n),this._raw=nt(t);let o=!0,s=t;if(!Ie(t)||ir(this._key)||!cu(this._key))do o=!yu(s)||or(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=je(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Rt(this._raw[this._key])){const n=this._object[this._key];if(Rt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return PL(this._raw,this._key)}}class ZL{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function EE(e,t,n){return Rt(e)?e:Ne(e)?new ZL(e):ht(e)&&arguments.length>1?SE(e,t,n):Re(e)}function SE(e,t,n){return new QL(e,t,n)}class eM{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new pu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ra-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return oE(this,!0),!0}get value(){const t=this.dep.track();return aE(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tM(e,t,n=!1){let r,o;return Ne(e)?r=e:(r=e.get,o=e.set),new eM(r,o,n)}const Kl={},Lc=new WeakMap;let vi;function nM(e,t=!1,n=vi){if(n){let r=Lc.get(n);r||Lc.set(n,r=[]),r.push(e)}}function rM(e,t,n=bt){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:c,call:u}=n,f=E=>o?E:or(E)||o===!1||o===0?Co(E,1):Co(E);let p,h,g,y,v=!1,_=!1;if(Rt(e)?(h=()=>e.value,v=or(e)):xo(e)?(h=()=>f(e),v=!0):Ie(e)?(_=!0,v=e.some(E=>xo(E)||or(E)),h=()=>e.map(E=>{if(Rt(E))return E.value;if(xo(E))return f(E);if(Ne(E))return u?u(E,2):E()})):Ne(e)?t?h=u?()=>u(e,2):e:h=()=>{if(g){Ro();try{g()}finally{Po()}}const E=vi;vi=p;try{return u?u(e,3,[y]):e(y)}finally{vi=E}}:h=to,t&&o){const E=h,I=o===!0?1/0:o;h=()=>Co(E(),I)}const O=Va(),S=()=>{p.stop(),O&&O.active&&Eh(O.effects,p)};if(s&&t){const E=t;t=(...I)=>{const x=E(...I);return S(),x}}let w=_?new Array(e.length).fill(Kl):Kl;const A=E=>{if(!(!(p.flags&1)||!p.dirty&&!E))if(t){const I=p.run();if(E||o||v||(_?I.some((x,P)=>Qr(x,w[P])):Qr(I,w))){g&&g();const x=vi;vi=p;try{const P=[I,w===Kl?void 0:_&&w[0]===Kl?[]:w,y];w=I,u?u(t,3,P):t(...P)}finally{vi=x}}}else p.run()};return c&&c(A),p=new nE(h),p.scheduler=a?()=>a(A,!1):A,y=E=>nM(E,!1,p),g=p.onStop=()=>{const E=Lc.get(p);if(E){if(u)u(E,4);else for(const I of E)I();Lc.delete(p)}},t?r?A(!0):w=p.run():a?a(A.bind(null,!0),!0):p.run(),S.pause=p.pause.bind(p),S.resume=p.resume.bind(p),S.stop=S,S}function Co(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Rt(e))Co(e.value,t,n);else if(Ie(e))for(let r=0;r<e.length;r++)Co(e[r],t,n);else if(Kw(e)||_s(e))e.forEach(r=>{Co(r,t,n)});else if(Xw(e)){for(const r in e)Co(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Co(e[r],t,n)}return e}function Ka(e,t,n,r){try{return r?e(...r):e()}catch(o){bu(o,t,n)}}function $r(e,t,n,r){if(Ne(e)){const o=Ka(e,t,n,r);return o&&qw(o)&&o.catch(s=>{bu(s,t,n)}),o}if(Ie(e)){const o=[];for(let s=0;s<e.length;s++)o.push($r(e[s],t,n,r));return o}}function bu(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||bt;if(t){let c=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,u,f)===!1)return}c=c.parent}if(s){Ro(),Ka(s,null,10,[e,u,f]),Po();return}}oM(e,n,o,r,a)}function oM(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Pn=[];let qr=-1;const vs=[];let Xo=null,us=0;const CE=Promise.resolve();let Mc=null;function Ur(e){const t=Mc||CE;return e?t.then(this?e.bind(this):e):t}function iM(e){let t=qr+1,n=Pn.length;for(;t<n;){const r=t+n>>>1,o=Pn[r],s=Ia(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Rh(e){if(!(e.flags&1)){const t=Ia(e),n=Pn[Pn.length-1];!n||!(e.flags&2)&&t>=Ia(n)?Pn.push(e):Pn.splice(iM(t),0,e),e.flags|=1,kE()}}function kE(){Mc||(Mc=CE.then(xE))}function sM(e){Ie(e)?vs.push(...e):Xo&&e.id===-1?Xo.splice(us+1,0,e):e.flags&1||(vs.push(e),e.flags|=1),kE()}function cb(e,t,n=qr+1){for(;n<Pn.length;n++){const r=Pn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Pn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function TE(e){if(vs.length){const t=[...new Set(vs)].sort((n,r)=>Ia(n)-Ia(r));if(vs.length=0,Xo){Xo.push(...t);return}for(Xo=t,us=0;us<Xo.length;us++){const n=Xo[us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Xo=null,us=0}}const Ia=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xE(e){try{for(qr=0;qr<Pn.length;qr++){const t=Pn[qr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ka(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qr<Pn.length;qr++){const t=Pn[qr];t&&(t.flags&=-2)}qr=-1,Pn.length=0,TE(),Mc=null,(Pn.length||vs.length)&&xE()}}let cn=null,OE=null;function Nc(e){const t=cn;return cn=e,OE=e&&e.type.__scopeId||null,t}function Pi(e,t=cn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Uc(-1);const s=Nc(t),a=Oo.length;let c;try{c=e(...o)}finally{for(let u=Oo.length;u>a;u--)Fh();Nc(s),r._d&&Uc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function vp(e,t){if(cn===null)return e;const n=Cu(cn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,a,c,u=bt]=t[o];s&&(Ne(s)&&(s={mounted:s,updated:s}),s.deep&&Co(a),r.push({dir:s,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return e}function yi(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let a=0;a<o.length;a++){const c=o[a];s&&(c.oldValue=s[a].value);let u=c.dir[r];u&&(Ro(),$r(u,n,8,[e.el,c,e,t]),Po())}}function Ti(e,t){if(vn){let n=vn.provides;const r=vn.parent&&vn.parent.provides;r===n&&(n=vn.provides=Object.create(r)),n[e]=t}}function En(e,t,n=!1){const r=ar();if(r||xi){let o=xi?xi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ne(t)?t.call(r&&r.proxy):t}}function qa(){return!!(ar()||xi)}const aM=Symbol.for("v-scx"),lM=()=>En(aM);function AE(e,t){return Ph(e,null,t)}function gt(e,t,n){return Ph(e,t,n)}function Ph(e,t,n=bt){const{immediate:r,deep:o,flush:s,once:a}=n,c=tn({},n),u=t&&r||!t&&s!=="post";let f;if(Ma){if(s==="sync"){const y=lM();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!u){const y=()=>{};return y.stop=to,y.resume=to,y.pause=to,y}}const p=vn;c.call=(y,v,_)=>$r(y,p,v,_);let h=!1;s==="post"?c.scheduler=y=>{Qt(y,p&&p.suspense)}:s!=="sync"&&(h=!0,c.scheduler=(y,v)=>{v?y():Rh(y)}),c.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const g=rM(e,t,c);return Ma&&(f?f.push(g):u&&g()),g}function cM(e,t,n){const r=this.proxy,o=At(e)?e.includes(".")?RE(r,e):()=>r[e]:e.bind(r,r);let s;Ne(t)?s=t:(s=t.handler,n=t);const a=Xa(this),c=Ph(o,s.bind(r),n);return a(),c}function RE(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const uM=Symbol("_vte"),fM=e=>e.__isTeleport,pd=Symbol("_leaveCb");function _u(e,t){e.shapeFlag&6&&e.component?(e.transition=t,_u(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 Lt(e,t){return Ne(e)?tn({name:e.name},t,{setup:e}):e}function PE(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ns(e){const t=ar(),n=Ln(null);if(t){const o=t.refs===bt?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function ub(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Dc=new WeakMap;function Sa(e,t,n,r,o=!1){if(Ie(e)){e.forEach((_,O)=>Sa(_,t&&(Ie(t)?t[O]:t),n,r,o));return}if(ei(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sa(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Cu(r.component):r.el,a=o?null:s,{i:c,r:u}=e,f=t&&t.r,p=c.refs===bt?c.refs={}:c.refs,h=c.setupState,g=nt(h),y=h===bt?Gw:_=>ub(p,_)?!1:dt(g,_),v=(_,O)=>!(O&&ub(p,O));if(f!=null&&f!==u){if(fb(t),At(f))p[f]=null,y(f)&&(h[f]=null);else if(Rt(f)){const _=t;v(f,_.k)&&(f.value=null),_.k&&(p[_.k]=null)}}if(Ne(u))Ka(u,c,12,[a,p]);else{const _=At(u),O=Rt(u);if(_||O){const S=()=>{if(e.f){const w=_?y(u)?h[u]:p[u]:v()||!e.k?u.value:p[e.k];if(o)Ie(w)&&Eh(w,s);else if(Ie(w))w.includes(s)||w.push(s);else if(_)p[u]=[s],y(u)&&(h[u]=p[u]);else{const A=[s];v(u,e.k)&&(u.value=A),e.k&&(p[e.k]=A)}}else _?(p[u]=a,y(u)&&(h[u]=a)):O&&(v(u,e.k)&&(u.value=a),e.k&&(p[e.k]=a))};if(a){const w=()=>{S(),Dc.delete(e)};w.id=-1,Dc.set(e,w),Qt(w,n)}else fb(e),S()}}}function fb(e){const t=Dc.get(e);t&&(t.flags|=8,Dc.delete(e))}du().requestIdleCallback;du().cancelIdleCallback;const ei=e=>!!e.type.__asyncLoader,IE=e=>e.type.__isKeepAlive,dM={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let a=null;const c=n.suspense,{renderer:{p:u,m:f,um:p,o:{createElement:h}}}=r,g=h("div");r.activate=(w,A,E,I,x)=>{const P=w.component;f(w,A,E,0,c),u(P.vnode,w,A,E,P,c,I,w.slotScopeIds,x),Qt(()=>{P.isDeactivated=!1,P.a&&va(P.a);const T=w.props&&w.props.onVnodeMounted;T&&yr(T,P.parent,w)},c)},r.deactivate=w=>{const A=w.component;$c(A.m),$c(A.a),f(w,g,null,1,c),Qt(()=>{A.da&&va(A.da);const E=w.props&&w.props.onVnodeUnmounted;E&&yr(E,A.parent,w),A.isDeactivated=!0},c)};function y(w){hd(w),p(w,n,c,!0)}function v(w){o.forEach((A,E)=>{const I=Tp(ei(A)?A.type.__asyncResolved||{}:A.type);I&&!w(I)&&_(E)})}function _(w){const A=o.get(w);A&&(!a||!fs(A,a))?y(A):a&&hd(a),o.delete(w),s.delete(w)}gt(()=>[e.include,e.exclude],([w,A])=>{w&&v(E=>ua(w,E)),A&&v(E=>!ua(A,E))},{flush:"post",deep:!0});let O=null;const S=()=>{O!=null&&(jc(n.subTree.type)?Qt(()=>{o.set(O,ql(n.subTree))},n.subTree.suspense):o.set(O,ql(n.subTree)))};return Er(S),ME(S),wu(()=>{o.forEach(w=>{const{subTree:A,suspense:E}=n,I=ql(A);if(w.type===I.type&&w.key===I.key){hd(I);const x=I.component.da;x&&Qt(x,E);return}y(w)})}),()=>{if(O=null,!t.default)return a=null;const w=t.default(),A=w[0];if(w.length>1)return a=null,w;if(!ks(A)||!(A.shapeFlag&4)&&!(A.shapeFlag&128))return a=null,A;let E=ql(A);if(E.type===ro)return a=null,E;const I=E.type,x=Tp(ei(E)?E.type.__asyncResolved||{}:I),{include:P,exclude:T,max:N}=e;if(P&&(!x||!ua(P,x))||T&&x&&ua(T,x))return E.shapeFlag&=-257,a=E,A;const G=E.key==null?I:E.key,K=o.get(G);return E.el&&(E=Ii(E),A.shapeFlag&128&&(A.ssContent=E)),O=G,K?(E.el=K.el,E.component=K.component,E.transition&&_u(E,E.transition),E.shapeFlag|=512,s.delete(G),s.add(G)):(s.add(G),N&&s.size>parseInt(N,10)&&_(s.values().next().value)),E.shapeFlag|=256,a=E,jc(A.type)?A:E}}},pM=dM;function ua(e,t){return Ie(e)?e.some(n=>ua(n,t)):At(e)?e.split(",").includes(t):yL(e)?(e.lastIndex=0,e.test(t)):!1}function hM(e,t){LE(e,"a",t)}function mM(e,t){LE(e,"da",t)}function LE(e,t,n=vn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(vu(t,r,n),n){let o=n.parent;for(;o&&o.parent;)IE(o.parent.vnode)&&gM(r,t,n,o),o=o.parent}}function gM(e,t,n,r){const o=vu(t,e,r,!0);Ds(()=>{Eh(r[t],o)},n)}function hd(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ql(e){return e.shapeFlag&128?e.ssContent:e}function vu(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Ro();const c=Xa(n),u=$r(t,n,e,a);return c(),Po(),u});return r?o.unshift(s):o.push(s),s}}const Mo=e=>(t,n=vn)=>{(!Ma||e==="sp")&&vu(e,(...r)=>t(...r),n)},yM=Mo("bm"),Er=Mo("m"),bM=Mo("bu"),ME=Mo("u"),wu=Mo("bum"),Ds=Mo("um"),_M=Mo("sp"),vM=Mo("rtg"),wM=Mo("rtc");function EM(e,t=vn){vu("ec",e,t)}const Ih="components",SM="directives";function Lh(e,t){return Mh(Ih,e,!0,t)||e}const NE=Symbol.for("v-ndc");function CM(e){return At(e)?Mh(Ih,e,!1)||e:e||NE}function kM(e){return Mh(SM,e)}function Mh(e,t,n=!0,r=!1){const o=cn||vn;if(o){const s=o.type;if(e===Ih){const c=Tp(s,!1);if(c&&(c===t||c===In(t)||c===fu(In(t))))return s}const a=db(o[e]||s[e],t)||db(o.appContext[e],t);return!a&&r?s:a}}function db(e,t){return e&&(e[t]||e[In(t)]||e[fu(In(t))])}function Fs(e,t,n,r){let o;const s=n&&n[r],a=Ie(e);if(a||At(e)){const c=a&&xo(e);let u=!1,f=!1;c&&(u=!or(e),f=Io(e),e=hu(e)),o=new Array(e.length);for(let p=0,h=e.length;p<h;p++)o[p]=t(u?f?Cs(Fr(e[p])):Fr(e[p]):e[p],p,void 0,s&&s[p])}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,s&&s[c])}else if(ht(e))if(e[Symbol.iterator])o=Array.from(e,(c,u)=>t(c,u,void 0,s&&s[u]));else{const c=Object.keys(e);o=new Array(c.length);for(let u=0,f=c.length;u<f;u++){const p=c[u];o[u]=t(e[p],p,u,s&&s[u])}}else o=[];return n&&(n[r]=o),o}function ti(e,t,n={},r,o,s){if(cn.ce||cn.parent&&ei(cn.parent)&&cn.parent.ce){const f=s!=null&&n.key==null?tn({},n,{key:s}):n,p=Object.keys(f).length>0;return t!=="default"&&(f.name=t),Ce(),_t(Ht,null,[Vt("slot",f,r&&r())],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const c=Oo.length;Ce();let u;try{const f=a&&DE(a(n)),p=n.key||s||f&&f.key;u=_t(Ht,{key:(p&&!ir(p)?p:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let p=Oo.length;p>c;p--)Fh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function DE(e){return e.some(t=>ks(t)?!(t.type===ro||t.type===Ht&&!DE(t.children)):!0)?e:null}const wp=e=>e?t0(e)?Cu(e):wp(e.parent):null,Ca=tn(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=>wp(e.parent),$root:e=>wp(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$E(e),$forceUpdate:e=>e.f||(e.f=()=>{Rh(e.update)}),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>cM.bind(e)}),md=(e,t)=>e!==bt&&!e.__isScriptSetup&&dt(e,t),TM={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:c,appContext:u}=e;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(md(r,t))return a[t]=1,r[t];if(o!==bt&&dt(o,t))return a[t]=2,o[t];if(dt(s,t))return a[t]=3,s[t];if(n!==bt&&dt(n,t))return a[t]=4,n[t];Ep&&(a[t]=0)}}const f=Ca[t];let p,h;if(f)return t==="$attrs"&&_n(e.attrs,"get",""),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==bt&&dt(n,t))return a[t]=4,n[t];if(h=u.config.globalProperties,dt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return md(o,t)?(o[t]=n,!0):r!==bt&&dt(r,t)?(r[t]=n,!0):dt(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:o,props:s,type:a}},c){let u;return!!(n[c]||e!==bt&&c[0]!=="$"&&dt(e,c)||md(t,c)||dt(s,c)||dt(r,c)||dt(Ca,c)||dt(o.config.globalProperties,c)||(u=a.__cssModules)&&u[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xM(){return OM().attrs}function OM(e){const t=ar();return t.setupContext||(t.setupContext=r0(t))}function pb(e){return Ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ep=!0;function AM(e){const t=$E(e),n=e.proxy,r=e.ctx;Ep=!1,t.beforeCreate&&hb(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:c,provide:u,inject:f,created:p,beforeMount:h,mounted:g,beforeUpdate:y,updated:v,activated:_,deactivated:O,beforeDestroy:S,beforeUnmount:w,destroyed:A,unmounted:E,render:I,renderTracked:x,renderTriggered:P,errorCaptured:T,serverPrefetch:N,expose:G,inheritAttrs:K,components:ne,directives:le,filters:z}=t;if(f&&RM(f,r,null),a)for(const he in a){const Se=a[he];Ne(Se)&&(r[he]=Se.bind(n))}if(o){const he=o.call(n,n);ht(he)&&(e.data=Ga(he))}if(Ep=!0,s)for(const he in s){const Se=s[he],Ve=Ne(Se)?Se.bind(n,n):Ne(Se.get)?Se.get.bind(n,n):to,rn=!Ne(Se)&&Ne(Se.set)?Se.set.bind(n):to,tt=ue({get:Ve,set:rn});Object.defineProperty(r,he,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Ge=>tt.value=Ge})}if(c)for(const he in c)FE(c[he],r,n,he);if(u){const he=Ne(u)?u.call(n):u;Reflect.ownKeys(he).forEach(Se=>{Ti(Se,he[Se])})}p&&hb(p,e,"c");function oe(he,Se){Ie(Se)?Se.forEach(Ve=>he(Ve.bind(n))):Se&&he(Se.bind(n))}if(oe(yM,h),oe(Er,g),oe(bM,y),oe(ME,v),oe(hM,_),oe(mM,O),oe(EM,T),oe(wM,x),oe(vM,P),oe(wu,w),oe(Ds,E),oe(_M,N),Ie(G))if(G.length){const he=e.exposed||(e.exposed={});G.forEach(Se=>{Object.defineProperty(he,Se,{get:()=>n[Se],set:Ve=>n[Se]=Ve,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===to&&(e.render=I),K!=null&&(e.inheritAttrs=K),ne&&(e.components=ne),le&&(e.directives=le),N&&PE(e)}function RM(e,t,n=to){Ie(e)&&(e=Sp(e));for(const r in e){const o=e[r];let s;ht(o)?"default"in o?s=En(o.from||r,o.default,!0):s=En(o.from||r):s=En(o),Rt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function hb(e,t,n){$r(Ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function FE(e,t,n,r){let o=r.includes(".")?RE(n,r):()=>n[r];if(At(e)){const s=t[e];Ne(s)&>(o,s)}else if(Ne(e))gt(o,e.bind(n));else if(ht(e))if(Ie(e))e.forEach(s=>FE(s,t,n,r));else{const s=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(s)&>(o,s,e)}}function $E(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(t);let u;return c?u=c:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(f=>Fc(u,f,a,!0)),Fc(u,t,a)),ht(t)&&s.set(t,u),u}function Fc(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fc(e,s,n,!0),o&&o.forEach(a=>Fc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=PM[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const PM={data:mb,props:gb,emits:gb,methods:fa,computed:fa,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:fa,directives:fa,watch:LM,provide:mb,inject:IM};function mb(e,t){return t?e?function(){return tn(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function IM(e,t){return fa(Sp(e),Sp(t))}function Sp(e){if(Ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function fa(e,t){return e?tn(Object.create(null),e,t):t}function gb(e,t){return e?Ie(e)&&Ie(t)?[...new Set([...e,...t])]:tn(Object.create(null),pb(e),pb(t??{})):t}function LM(e,t){if(!e)return t;if(!t)return e;const n=tn(Object.create(null),e);for(const r in t)n[r]=Rn(e[r],t[r]);return n}function jE(){return{app:null,config:{isNativeTag:Gw,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 MM=0;function NM(e,t){return function(r,o=null){Ne(r)||(r=tn({},r)),o!=null&&!ht(o)&&(o=null);const s=jE(),a=new WeakSet,c=[];let u=!1;const f=s.app={_uid:MM++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:lN,get config(){return s.config},set config(p){},use(p,...h){return a.has(p)||(p&&Ne(p.install)?(a.add(p),p.install(f,...h)):Ne(p)&&(a.add(p),p(f,...h))),f},mixin(p){return s.mixins.includes(p)||s.mixins.push(p),f},component(p,h){return h?(s.components[p]=h,f):s.components[p]},directive(p,h){return h?(s.directives[p]=h,f):s.directives[p]},mount(p,h,g){if(!u){const y=f._ceVNode||Vt(r,o);return y.appContext=s,g===!0?g="svg":g===!1&&(g=void 0),e(y,p,g),u=!0,f._container=p,p.__vue_app__=f,Cu(y.component)}},onUnmount(p){c.push(p)},unmount(){u&&($r(c,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(p,h){return s.provides[p]=h,f},runWithContext(p){const h=xi;xi=f;try{return p()}finally{xi=h}}};return f}}let xi=null;const DM=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${In(t)}Modifiers`]||e[`${Ni(t)}Modifiers`];function FM(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||bt;let o=n;const s=t.startsWith("update:"),a=s&&DM(r,t.slice(7));a&&(a.trim&&(o=n.map(p=>At(p)?p.trim():p)),a.number&&(o=n.map(wL)));let c,u=r[c=yc(t)]||r[c=yc(In(t))];!u&&s&&(u=r[c=yc(Ni(t))]),u&&$r(u,e,6,o);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,$r(f,e,6,o)}}const $M=new WeakMap;function UE(e,t,n=!1){const r=n?$M:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},c=!1;if(!Ne(e)){const u=f=>{const p=UE(f,t,!0);p&&(c=!0,tn(a,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!c?(ht(e)&&r.set(e,null),null):(Ie(s)?s.forEach(u=>a[u]=null):tn(a,s),ht(e)&&r.set(e,a),a)}function Eu(e,t){return!e||!au(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,Ni(t))||dt(e,t))}function yb(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:p,props:h,data:g,setupState:y,ctx:v,inheritAttrs:_}=e,O=Nc(e);let S,w;try{if(n.shapeFlag&4){const E=o||r,I=E;S=Jr(f.call(I,E,p,h,y,g,v)),w=c}else{const E=t;S=Jr(E.length>1?E(h,{attrs:c,slots:a,emit:u}):E(h,null)),w=t.props?c:jM(c)}}catch(E){Oo.length=0,bu(E,e,1),S=Vt(ro)}let A=S;if(w&&_!==!1){const E=Object.keys(w),{shapeFlag:I}=A;E.length&&I&7&&(s&&E.some(lu)&&(w=UM(w,s)),A=Ii(A,w,!1,!0))}return n.dirs&&(A=Ii(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&_u(A,n.transition),S=A,Nc(O),S}const jM=e=>{let t;for(const n in e)(n==="class"||n==="style"||au(n))&&((t||(t={}))[n]=e[n]);return t},UM=(e,t)=>{const n={};for(const r in e)(!lu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zM(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:c,patchFlag:u}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?bb(r,a,f):!!a;if(u&8){const p=t.dynamicProps;for(let h=0;h<p.length;h++){const g=p[h];if(zE(a,r,g)&&!Eu(f,g))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:r===a?!1:r?a?bb(r,a,f):!0:!!a;return!1}function bb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(zE(t,e,s)&&!Eu(n,s))return!0}return!1}function zE(e,t,n){const r=e[n],o=t[n];return n==="style"&&ht(r)&&ht(o)?!Sh(r,o):r!==o}function BM({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const BE={},WE=()=>Object.create(BE),HE=e=>Object.getPrototypeOf(e)===BE;function WM(e,t,n,r=!1){const o={},s=WE();e.propsDefaults=Object.create(null),VE(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:bE(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function HM(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,c=nt(o),[u]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let h=0;h<p.length;h++){let g=p[h];if(Eu(e.emitsOptions,g))continue;const y=t[g];if(u)if(dt(s,g))y!==s[g]&&(s[g]=y,f=!0);else{const v=In(g);o[v]=Cp(u,c,v,y,e,!1)}else y!==s[g]&&(s[g]=y,f=!0)}}}else{VE(e,t,o,s)&&(f=!0);let p;for(const h in c)(!t||!dt(t,h)&&((p=Ni(h))===h||!dt(t,p)))&&(u?n&&(n[h]!==void 0||n[p]!==void 0)&&(o[h]=Cp(u,c,h,void 0,e,!0)):delete o[h]);if(s!==c)for(const h in s)(!t||!dt(t,h))&&(delete s[h],f=!0)}f&&So(e.attrs,"set","")}function VE(e,t,n,r){const[o,s]=e.propsOptions;let a=!1,c;if(t)for(let u in t){if(_a(u))continue;const f=t[u];let p;o&&dt(o,p=In(u))?!s||!s.includes(p)?n[p]=f:(c||(c={}))[p]=f:Eu(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,a=!0)}if(s){const u=nt(n),f=c||bt;for(let p=0;p<s.length;p++){const h=s[p];n[h]=Cp(o,u,h,f[h],e,!dt(f,h))}}return a}function Cp(e,t,n,r,o,s){const a=e[n];if(a!=null){const c=dt(a,"default");if(c&&r===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&Ne(u)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const p=Xa(o);r=f[n]=u.call(null,t),p()}}else r=u;o.ce&&o.ce._setProp(n,r)}a[0]&&(s&&!c?r=!1:a[1]&&(r===""||r===Ni(n))&&(r=!0))}return r}const VM=new WeakMap;function GE(e,t,n=!1){const r=n?VM:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,a={},c=[];let u=!1;if(!Ne(e)){const p=h=>{u=!0;const[g,y]=GE(h,t,!0);tn(a,g),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!u)return ht(e)&&r.set(e,bs),bs;if(Ie(s))for(let p=0;p<s.length;p++){const h=In(s[p]);_b(h)&&(a[h]=bt)}else if(s)for(const p in s){const h=In(p);if(_b(h)){const g=s[p],y=a[h]=Ie(g)||Ne(g)?{type:g}:tn({},g),v=y.type;let _=!1,O=!0;if(Ie(v))for(let S=0;S<v.length;++S){const w=v[S],A=Ne(w)&&w.name;if(A==="Boolean"){_=!0;break}else A==="String"&&(O=!1)}else _=Ne(v)&&v.name==="Boolean";y[0]=_,y[1]=O,(_||dt(y,"default"))&&c.push(h)}}const f=[a,c];return ht(e)&&r.set(e,f),f}function _b(e){return e[0]!=="$"&&!_a(e)}const Nh=e=>e==="_"||e==="_ctx"||e==="$stable",Dh=e=>Ie(e)?e.map(Jr):[Jr(e)],GM=(e,t,n)=>{if(t._n)return t;const r=Pi((...o)=>Dh(t(...o)),n);return r._c=!1,r},KE=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Nh(o))continue;const s=e[o];if(Ne(s))t[o]=GM(o,s,r);else if(s!=null){const a=Dh(s);t[o]=()=>a}}},qE=(e,t)=>{const n=Dh(t);e.slots.default=()=>n},YE=(e,t,n)=>{for(const r in t)(n||!Nh(r))&&(e[r]=t[r])},KM=(e,t,n)=>{const r=e.slots=WE();if(e.vnode.shapeFlag&32){const o=t._;o?(YE(r,t,n),n&&Jw(r,"_",o,!0)):KE(t,r)}else t&&qE(e,t)},qM=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=bt;if(r.shapeFlag&32){const c=t._;c?n&&c===1?s=!1:YE(o,t,n):(s=!t.$stable,KE(t,o)),a=t}else t&&(qE(e,t),a={default:1});if(s)for(const c in o)!Nh(c)&&a[c]==null&&delete o[c]},Qt=ZM;function YM(e){return XM(e)}function XM(e,t){const n=du();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:g,setScopeId:y=to,insertStaticContent:v}=e,_=(M,F,V,J=null,re=null,Q=null,R=void 0,L=null,j=!!F.dynamicChildren)=>{if(M===F)return;M&&!fs(M,F)&&(J=ee(M),Ge(M,re,Q,!0),M=null),F.patchFlag===-2&&(j=!1,F.dynamicChildren=null);const{type:W,ref:fe,shapeFlag:se}=F;switch(W){case Ya:O(M,F,V,J);break;case ro:S(M,F,V,J);break;case yd:M==null&&w(F,V,J,R);break;case Ht:ne(M,F,V,J,re,Q,R,L,j);break;default:se&1?I(M,F,V,J,re,Q,R,L,j):se&6?le(M,F,V,J,re,Q,R,L,j):(se&64||se&128)&&W.process(M,F,V,J,re,Q,R,L,j,we)}fe!=null&&re?Sa(fe,M&&M.ref,Q,F||M,!F):fe==null&&M&&M.ref!=null&&Sa(M.ref,null,Q,M,!0)},O=(M,F,V,J)=>{if(M==null)r(F.el=c(F.children),V,J);else{const re=F.el=M.el;F.children!==M.children&&f(re,F.children)}},S=(M,F,V,J)=>{M==null?r(F.el=u(F.children||""),V,J):F.el=M.el},w=(M,F,V,J)=>{[M.el,M.anchor]=v(M.children,F,V,J,M.el,M.anchor)},A=({el:M,anchor:F},V,J)=>{let re;for(;M&&M!==F;)re=g(M),r(M,V,J),M=re;r(F,V,J)},E=({el:M,anchor:F})=>{let V;for(;M&&M!==F;)V=g(M),o(M),M=V;o(F)},I=(M,F,V,J,re,Q,R,L,j)=>{if(F.type==="svg"?R="svg":F.type==="math"&&(R="mathml"),M==null)x(F,V,J,re,Q,R,L,j);else{const W=M.el&&M.el._isVueCE?M.el:null;try{W&&W._beginPatch(),N(M,F,re,Q,R,L,j)}finally{W&&W._endPatch()}}},x=(M,F,V,J,re,Q,R,L)=>{let j,W;const{props:fe,shapeFlag:se,transition:U,dirs:X}=M;if(j=M.el=a(M.type,Q,fe&&fe.is,fe),se&8?p(j,M.children):se&16&&T(M.children,j,null,J,re,gd(M,Q),R,L),X&&yi(M,null,J,"created"),P(j,M,M.scopeId,R,J),fe){for(const ke in fe)ke!=="value"&&!_a(ke)&&s(j,ke,null,fe[ke],Q,J);"value"in fe&&s(j,"value",null,fe.value,Q),(W=fe.onVnodeBeforeMount)&&yr(W,J,M)}X&&yi(M,null,J,"beforeMount");const be=JM(re,U);be&&U.beforeEnter(j),r(j,F,V),((W=fe&&fe.onVnodeMounted)||be||X)&&Qt(()=>{W&&yr(W,J,M),be&&U.enter(j),X&&yi(M,null,J,"mounted")},re)},P=(M,F,V,J,re)=>{if(V&&y(M,V),J)for(let Q=0;Q<J.length;Q++)y(M,J[Q]);if(re){let Q=re.subTree;if(F===Q||jc(Q.type)&&(Q.ssContent===F||Q.ssFallback===F)){const R=re.vnode;P(M,R,R.scopeId,R.slotScopeIds,re.parent)}}},T=(M,F,V,J,re,Q,R,L,j=0)=>{for(let W=j;W<M.length;W++){const fe=M[W]=L?Eo(M[W]):Jr(M[W]);_(null,fe,F,V,J,re,Q,R,L)}},N=(M,F,V,J,re,Q,R)=>{const L=F.el=M.el;let{patchFlag:j,dynamicChildren:W,dirs:fe}=F;j|=M.patchFlag&16;const se=M.props||bt,U=F.props||bt;let X;if(V&&bi(V,!1),(X=U.onVnodeBeforeUpdate)&&yr(X,V,F,M),fe&&yi(F,M,V,"beforeUpdate"),V&&bi(V,!0),W&&(!M.dynamicChildren||M.dynamicChildren.length!==W.length)&&(j=0,R=!1,W=null),(se.innerHTML&&U.innerHTML==null||se.textContent&&U.textContent==null)&&p(L,""),W?G(M.dynamicChildren,W,L,V,J,gd(F,re),Q):R||Se(M,F,L,null,V,J,gd(F,re),Q,!1),j>0){if(j&16)K(L,se,U,V,re);else if(j&2&&se.class!==U.class&&s(L,"class",null,U.class,re),j&4&&s(L,"style",se.style,U.style,re),j&8){const be=F.dynamicProps;for(let ke=0;ke<be.length;ke++){const $e=be[ke],Xe=se[$e],Ze=U[$e];(Ze!==Xe||$e==="value")&&s(L,$e,Xe,Ze,re,V)}}j&1&&M.children!==F.children&&p(L,F.children)}else!R&&W==null&&K(L,se,U,V,re);((X=U.onVnodeUpdated)||fe)&&Qt(()=>{X&&yr(X,V,F,M),fe&&yi(F,M,V,"updated")},J)},G=(M,F,V,J,re,Q,R)=>{for(let L=0;L<F.length;L++){const j=M[L],W=F[L],fe=j.el&&(j.type===Ht||!fs(j,W)||j.shapeFlag&198)?h(j.el):V;_(j,W,fe,null,J,re,Q,R,!0)}},K=(M,F,V,J,re)=>{if(F!==V){if(F!==bt)for(const Q in F)!_a(Q)&&!(Q in V)&&s(M,Q,F[Q],null,re,J);for(const Q in V){if(_a(Q))continue;const R=V[Q],L=F[Q];R!==L&&Q!=="value"&&s(M,Q,L,R,re,J)}"value"in V&&s(M,"value",F.value,V.value,re)}},ne=(M,F,V,J,re,Q,R,L,j)=>{const W=F.el=M?M.el:c(""),fe=F.anchor=M?M.anchor:c("");let{patchFlag:se,dynamicChildren:U,slotScopeIds:X}=F;X&&(L=L?L.concat(X):X),M==null?(r(W,V,J),r(fe,V,J),T(F.children||[],V,fe,re,Q,R,L,j)):se>0&&se&64&&U&&M.dynamicChildren&&M.dynamicChildren.length===U.length?(G(M.dynamicChildren,U,V,re,Q,R,L),(F.key!=null||re&&F===re.subTree)&&XE(M,F,!0)):Se(M,F,V,fe,re,Q,R,L,j)},le=(M,F,V,J,re,Q,R,L,j)=>{F.slotScopeIds=L,M==null?F.shapeFlag&512?re.ctx.activate(F,V,J,R,j):z(F,V,J,re,Q,R,j):te(M,F,j)},z=(M,F,V,J,re,Q,R)=>{const L=M.component=rN(M,J,re);if(IE(M)&&(L.ctx.renderer=we),oN(L,!1,R),L.asyncDep){if(re&&re.registerDep(L,oe,R),!M.el){const j=L.subTree=Vt(ro);S(null,j,F,V),M.placeholder=j.el}}else oe(L,M,F,V,re,Q,R)},te=(M,F,V)=>{const J=F.component=M.component;if(zM(M,F,V))if(J.asyncDep&&!J.asyncResolved){he(J,F,V);return}else J.next=F,J.update();else F.el=M.el,J.vnode=F},oe=(M,F,V,J,re,Q,R)=>{const L=()=>{if(M.isMounted){let{next:se,bu:U,u:X,parent:be,vnode:ke}=M;{const Tn=JE(M);if(Tn){se&&(se.el=ke.el,he(M,se,R)),Tn.asyncDep.then(()=>{Qt(()=>{M.isUnmounted||W()},re)});return}}let $e=se,Xe;bi(M,!1),se?(se.el=ke.el,he(M,se,R)):se=ke,U&&va(U),(Xe=se.props&&se.props.onVnodeBeforeUpdate)&&yr(Xe,be,se,ke),bi(M,!0);const Ze=yb(M),pn=M.subTree;M.subTree=Ze,_(pn,Ze,h(pn.el),ee(pn),M,re,Q),se.el=Ze.el,$e===null&&BM(M,Ze.el),X&&Qt(X,re),(Xe=se.props&&se.props.onVnodeUpdated)&&Qt(()=>yr(Xe,be,se,ke),re)}else{let se;const{el:U,props:X}=F,{bm:be,m:ke,parent:$e,root:Xe,type:Ze}=M,pn=ei(F);bi(M,!1),be&&va(be),!pn&&(se=X&&X.onVnodeBeforeMount)&&yr(se,$e,F),bi(M,!0);{Xe.ce&&Xe.ce._hasShadowRoot()&&Xe.ce._injectChildStyle(Ze,M.parent?M.parent.type:void 0);const Tn=M.subTree=yb(M);_(null,Tn,V,J,M,re,Q),F.el=Tn.el}if(ke&&Qt(ke,re),!pn&&(se=X&&X.onVnodeMounted)){const Tn=F;Qt(()=>yr(se,$e,Tn),re)}(F.shapeFlag&256||$e&&ei($e.vnode)&&$e.vnode.shapeFlag&256)&&M.a&&Qt(M.a,re),M.isMounted=!0,F=V=J=null}};M.scope.on();const j=M.effect=new nE(L);M.scope.off();const W=M.update=j.run.bind(j),fe=M.job=j.runIfDirty.bind(j);fe.i=M,fe.id=M.uid,j.scheduler=()=>Rh(fe),bi(M,!0),W()},he=(M,F,V)=>{F.component=M;const J=M.vnode.props;M.vnode=F,M.next=null,HM(M,F.props,J,V),qM(M,F.children,V),Ro(),cb(M),Po()},Se=(M,F,V,J,re,Q,R,L,j=!1)=>{const W=M&&M.children,fe=M?M.shapeFlag:0,se=F.children,{patchFlag:U,shapeFlag:X}=F;if(U>0){if(U&128){rn(W,se,V,J,re,Q,R,L,j);return}else if(U&256){Ve(W,se,V,J,re,Q,R,L,j);return}}X&8?(fe&16&&Mt(W,re,Q),se!==W&&p(V,se)):fe&16?X&16?rn(W,se,V,J,re,Q,R,L,j):Mt(W,re,Q,!0):(fe&8&&p(V,""),X&16&&T(se,V,J,re,Q,R,L,j))},Ve=(M,F,V,J,re,Q,R,L,j)=>{M=M||bs,F=F||bs;const W=M.length,fe=F.length,se=Math.min(W,fe);let U;for(U=0;U<se;U++){const X=F[U]=j?Eo(F[U]):Jr(F[U]);_(M[U],X,V,null,re,Q,R,L,j)}W>fe?Mt(M,re,Q,!0,!1,se):T(F,V,J,re,Q,R,L,j,se)},rn=(M,F,V,J,re,Q,R,L,j)=>{let W=0;const fe=F.length;let se=M.length-1,U=fe-1;for(;W<=se&&W<=U;){const X=M[W],be=F[W]=j?Eo(F[W]):Jr(F[W]);if(fs(X,be))_(X,be,V,null,re,Q,R,L,j);else break;W++}for(;W<=se&&W<=U;){const X=M[se],be=F[U]=j?Eo(F[U]):Jr(F[U]);if(fs(X,be))_(X,be,V,null,re,Q,R,L,j);else break;se--,U--}if(W>se){if(W<=U){const X=U+1,be=X<fe?F[X].el:J;for(;W<=U;)_(null,F[W]=j?Eo(F[W]):Jr(F[W]),V,be,re,Q,R,L,j),W++}}else if(W>U)for(;W<=se;)Ge(M[W],re,Q,!0),W++;else{const X=W,be=W,ke=new Map;for(W=be;W<=U;W++){const sn=F[W]=j?Eo(F[W]):Jr(F[W]);sn.key!=null&&ke.set(sn.key,W)}let $e,Xe=0;const Ze=U-be+1;let pn=!1,Tn=0;const so=new Array(Ze);for(W=0;W<Ze;W++)so[W]=0;for(W=X;W<=se;W++){const sn=M[W];if(Xe>=Ze){Ge(sn,re,Q,!0);continue}let Nn;if(sn.key!=null)Nn=ke.get(sn.key);else for($e=be;$e<=U;$e++)if(so[$e-be]===0&&fs(sn,F[$e])){Nn=$e;break}Nn===void 0?Ge(sn,re,Q,!0):(so[Nn-be]=W+1,Nn>=Tn?Tn=Nn:pn=!0,_(sn,F[Nn],V,null,re,Q,R,L,j),Xe++)}const Fi=pn?QM(so):bs;for($e=Fi.length-1,W=Ze-1;W>=0;W--){const sn=be+W,Nn=F[sn],$i=F[sn+1],ji=sn+1<fe?$i.el||QE($i):J;so[W]===0?_(null,Nn,V,ji,re,Q,R,L,j):pn&&($e<0||W!==Fi[$e]?tt(Nn,V,ji,2):$e--)}}},tt=(M,F,V,J,re=null)=>{const{el:Q,type:R,transition:L,children:j,shapeFlag:W}=M;if(W&6){tt(M.component.subTree,F,V,J);return}if(W&128){M.suspense.move(F,V,J);return}if(W&64){R.move(M,F,V,we);return}if(R===Ht){r(Q,F,V);for(let se=0;se<j.length;se++)tt(j[se],F,V,J);r(M.anchor,F,V);return}if(R===yd){A(M,F,V);return}if(J!==2&&W&1&&L)if(J===0)L.persisted&&!Q[pd]?r(Q,F,V):(L.beforeEnter(Q),r(Q,F,V),Qt(()=>L.enter(Q),re));else{const{leave:se,delayLeave:U,afterLeave:X}=L,be=()=>{M.ctx.isUnmounted?o(Q):r(Q,F,V)},ke=()=>{const $e=Q._isLeaving||!!Q[pd];Q._isLeaving&&Q[pd](!0),L.persisted&&!$e?be():se(Q,()=>{be(),X&&X()})};U?U(Q,be,ke):ke()}else r(Q,F,V)},Ge=(M,F,V,J=!1,re=!1)=>{const{type:Q,props:R,ref:L,children:j,dynamicChildren:W,shapeFlag:fe,patchFlag:se,dirs:U,cacheIndex:X,memo:be}=M;if(se===-2&&(re=!1),L!=null&&(Ro(),Sa(L,null,V,M,!0),Po()),X!=null&&(F.renderCache[X]=void 0),fe&256){F.ctx.deactivate(M);return}const ke=fe&1&&U,$e=!ei(M);let Xe;if($e&&(Xe=R&&R.onVnodeBeforeUnmount)&&yr(Xe,F,M),fe&6)kn(M.component,V,J);else{if(fe&128){M.suspense.unmount(V,J);return}ke&&yi(M,null,F,"beforeUnmount"),fe&64?M.type.remove(M,F,V,we,J):W&&!W.hasOnce&&(Q!==Ht||se>0&&se&64)?Mt(W,F,V,!1,!0):(Q===Ht&&se&384||!re&&fe&16)&&Mt(j,F,V),J&&dn(M)}const Ze=be!=null&&X==null;($e&&(Xe=R&&R.onVnodeUnmounted)||ke||Ze)&&Qt(()=>{Xe&&yr(Xe,F,M),ke&&yi(M,null,F,"unmounted"),Ze&&(M.el=null)},V)},dn=M=>{const{type:F,el:V,anchor:J,transition:re}=M;if(F===Ht){on(V,J);return}if(F===yd){E(M);return}const Q=()=>{o(V),re&&!re.persisted&&re.afterLeave&&re.afterLeave()};if(M.shapeFlag&1&&re&&!re.persisted){const{leave:R,delayLeave:L}=re,j=()=>R(V,Q);L?L(M.el,Q,j):j()}else Q()},on=(M,F)=>{let V;for(;M!==F;)V=g(M),o(M),M=V;o(F)},kn=(M,F,V)=>{const{bum:J,scope:re,job:Q,subTree:R,um:L,m:j,a:W}=M;$c(j),$c(W),J&&va(J),re.stop(),Q&&(Q.flags|=8,Ge(R,M,F,V)),L&&Qt(L,F),Qt(()=>{M.isUnmounted=!0},F)},Mt=(M,F,V,J=!1,re=!1,Q=0)=>{for(let R=Q;R<M.length;R++)Ge(M[R],F,V,J,re)},ee=M=>{if(M.shapeFlag&6)return ee(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const F=g(M.anchor||M.el),V=F&&F[uM];return V?g(V):F};let ge=!1;const pe=(M,F,V)=>{let J;M==null?F._vnode&&(Ge(F._vnode,null,null,!0),J=F._vnode.component):_(F._vnode||null,M,F,null,null,null,V),F._vnode=M,ge||(ge=!0,cb(J),TE(),ge=!1)},we={p:_,um:Ge,m:tt,r:dn,mt:z,mc:T,pc:Se,pbc:G,n:ee,o:e};return{render:pe,hydrate:void 0,createApp:NM(pe)}}function gd({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 bi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function JM(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function XE(e,t,n=!1){const r=e.children,o=t.children;if(Ie(r)&&Ie(o))for(let s=0;s<r.length;s++){const a=r[s];let c=o[s];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[s]=Eo(o[s]),c.el=a.el),!n&&c.patchFlag!==-2&&XE(a,c)),c.type===Ya&&(c.patchFlag===-1&&(c=o[s]=Eo(c)),c.el=a.el),c.type===ro&&!c.el&&(c.el=a.el)}}function QM(e){const t=e.slice(),n=[0];let r,o,s,a,c;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(s=0,a=n.length-1;s<a;)c=s+a>>1,e[n[c]]<f?s=c+1:a=c;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function JE(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:JE(t)}function $c(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function QE(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?QE(t.subTree):null}const jc=e=>e.__isSuspense;function ZM(e,t){t&&t.pendingBranch?Ie(e)?t.effects.push(...e):t.effects.push(e):sM(e)}const Ht=Symbol.for("v-fgt"),Ya=Symbol.for("v-txt"),ro=Symbol.for("v-cmt"),yd=Symbol.for("v-stc"),Oo=[];let rr=null;function Ce(e=!1){Oo.push(rr=e?null:[])}function Fh(){Oo.pop(),rr=Oo[Oo.length-1]||null}let La=1;function Uc(e,t=!1){La+=e,e<0&&rr&&t&&(rr.hasOnce=!0)}function ZE(e){return e.dynamicChildren=La>0?rr||bs:null,Fh(),La>0&&rr&&rr.push(e),e}function pt(e,t,n,r,o,s){return ZE(mt(e,t,n,r,o,s,!0))}function _t(e,t,n,r,o){return ZE(Vt(e,t,n,r,o,!0))}function ks(e){return e?e.__v_isVNode===!0:!1}function fs(e,t){return e.type===t.type&&e.key===t.key}const e0=({key:e})=>e??null,bc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?At(e)||Rt(e)||Ne(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function mt(e,t=null,n=null,r=0,o=null,s=e===Ht?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&e0(t),ref:t&&bc(t),scopeId:OE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:cn};return c?(Bc(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=At(n)?8:16),La>0&&!a&&rr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&rr.push(u),u}const Vt=eN;function eN(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===NE)&&(e=ro),ks(e)){const c=Ii(e,t,!0);return n&&Bc(c,n),La>0&&!s&&rr&&(c.shapeFlag&6?rr[rr.indexOf(e)]=c:rr.push(c)),c.patchFlag=-2,c}if(aN(e)&&(e=e.__vccOpts),t){t=Su(t);let{class:c,style:u}=t;c&&!At(c)&&(t.class=Tt(c)),ht(u)&&(yu(u)&&!Ie(u)&&(u=tn({},u)),t.style=Bn(u))}const a=At(e)?1:jc(e)?128:fM(e)?64:ht(e)?4:Ne(e)?2:0;return mt(e,t,n,r,o,a,s,!0)}function Su(e){return e?yu(e)||HE(e)?tn({},e):e:null}function Ii(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:c,transition:u}=e,f=t?Nr(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&e0(f),ref:t&&t.ref?n&&s?Ie(s)?s.concat(bc(t)):[s,bc(t)]:bc(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ht?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ii(e.ssContent),ssFallback:e.ssFallback&&Ii(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&_u(p,u.clone(p)),p}function zc(e=" ",t=0){return Vt(Ya,null,e,t)}function Mr(e="",t=!1){return t?(Ce(),_t(ro,null,e)):Vt(ro,null,e)}function Jr(e){return e==null||typeof e=="boolean"?Vt(ro):Ie(e)?Vt(Ht,null,e.slice()):ks(e)?Eo(e):Vt(Ya,null,String(e))}function Eo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ii(e)}function Bc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ie(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Bc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!HE(t)?t._ctx=cn:o===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ne(t)){if(r&65){Bc(e,{default:t});return}t={default:t,_ctx:cn},n=32}else t=String(t),r&64?(n=16,t=[zc(t)]):n=8;e.children=t,e.shapeFlag|=n}function Nr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Tt([t.class,r.class]));else if(o==="style")t.style=Bn([t.style,r.style]);else if(au(o)){const s=t[o],a=r[o];a&&s!==a&&!(Ie(s)&&s.includes(a))?t[o]=s?[].concat(s,a):a:a==null&&s==null&&!lu(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function yr(e,t,n,r=null){$r(e,t,7,[n,r])}const tN=jE();let nN=0;function rN(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||tN,s={uid:nN++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new tE(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:GE(r,o),emitsOptions:UE(r,o),emit:null,emitted:null,propsDefaults:bt,inheritAttrs:r.inheritAttrs,ctx:bt,data:bt,props:bt,attrs:bt,slots:bt,refs:bt,setupState:bt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=FM.bind(null,s),e.ce&&e.ce(s),s}let vn=null;const ar=()=>vn||cn;let Wc,kp;{const e=du(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};Wc=t("__VUE_INSTANCE_SETTERS__",n=>vn=n),kp=t("__VUE_SSR_SETTERS__",n=>Ma=n)}const Xa=e=>{const t=vn;return Wc(e),e.scope.on(),()=>{e.scope.off(),Wc(t)}},vb=()=>{vn&&vn.scope.off(),Wc(null)};function t0(e){return e.vnode.shapeFlag&4}let Ma=!1;function oN(e,t=!1,n=!1){t&&kp(t);const{props:r,children:o}=e.vnode,s=t0(e);WM(e,r,s,t),KM(e,o,n||t);const a=s?iN(e,t):void 0;return t&&kp(!1),a}function iN(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,TM);const{setup:r}=n;if(r){Ro();const o=e.setupContext=r.length>1?r0(e):null,s=Xa(e),a=Ka(r,e,0,[e.props,o]),c=qw(a);if(Po(),s(),(c||e.sp)&&!ei(e)&&PE(e),c){if(a.then(vb,vb),t)return a.then(u=>{wb(e,u)}).catch(u=>{bu(u,e,0)});e.asyncDep=a}else wb(e,a)}else n0(e)}function wb(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=vE(t)),n0(e)}function n0(e,t,n){const r=e.type;e.render||(e.render=r.render||to);{const o=Xa(e);Ro();try{AM(e)}finally{Po(),o()}}}const sN={get(e,t){return _n(e,"get",""),e[t]}};function r0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,sN),slots:e.slots,emit:e.emit,expose:t}}function Cu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vE(Ah(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ca)return Ca[n](e)},has(t,n){return n in t||n in Ca}})):e.proxy}function Tp(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function aN(e){return Ne(e)&&"__vccOpts"in e}const ue=(e,t)=>tM(e,t,Ma);function ri(e,t,n){try{Uc(-1);const r=arguments.length;return r===2?ht(t)&&!Ie(t)?ks(t)?Vt(e,null,[t]):Vt(e,t):Vt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ks(n)&&(n=[n]),Vt(e,t,n))}finally{Uc(1)}}const lN="3.5.40";let xp;const Eb=typeof window<"u"&&window.trustedTypes;if(Eb)try{xp=Eb.createPolicy("vue",{createHTML:e=>e})}catch{}const o0=xp?e=>xp.createHTML(e):e=>e,cN="http://www.w3.org/2000/svg",uN="http://www.w3.org/1998/Math/MathML",wo=typeof document<"u"?document:null,Sb=wo&&wo.createElement("template"),fN={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 o=t==="svg"?wo.createElementNS(cN,e):t==="mathml"?wo.createElementNS(uN,e):n?wo.createElement(e,{is:n}):wo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>wo.createTextNode(e),createComment:e=>wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Sb.innerHTML=o0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=Sb.content;if(r==="svg"||r==="mathml"){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dN=Symbol("_vtc");function pN(e,t,n){const r=e[dN];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hc=Symbol("_vod"),i0=Symbol("_vsh"),s0={name:"show",beforeMount(e,{value:t},{transition:n}){e[Hc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ra(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),ra(e,!0),r.enter(e)):r.leave(e,()=>{ra(e,!1)}):ra(e,t))},beforeUnmount(e,{value:t}){ra(e,t)}};function ra(e,t){e.style.display=t?e[Hc]:"none",e[i0]=!t}const hN=Symbol(""),mN=/(?:^|;)\s*display\s*:/;function gN(e,t,n){const r=e.style,o=At(n);let s=!1;if(n&&!o){if(t)if(At(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&da(r,c,"")}else for(const a in t)n[a]==null&&da(r,a,"");for(const a in n){a==="display"&&(s=!0);const c=n[a];c!=null?bN(e,a,!At(t)&&t?t[a]:void 0,c)||da(r,a,c):da(r,a,"")}}else if(o){if(t!==n){const a=r[hN];a&&(n+=";"+a),r.cssText=n,s=mN.test(n)}}else t&&e.removeAttribute("style");Hc in e&&(e[Hc]=s?r.display:"",e[i0]&&(r.display="none"))}const Cb=/\s*!important$/;function da(e,t,n){if(Ie(n))n.forEach(r=>da(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yN(e,t);Cb.test(n)?e.setProperty(Ni(r),n.replace(Cb,""),"important"):e[r]=n}}const kb=["Webkit","Moz","ms"],bd={};function yN(e,t){const n=bd[t];if(n)return n;let r=In(t);if(r!=="filter"&&r in e)return bd[t]=r;r=fu(r);for(let o=0;o<kb.length;o++){const s=kb[o]+r;if(s in e)return bd[t]=s}return t}function bN(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&At(r)&&n===r}const Tb="http://www.w3.org/1999/xlink";function xb(e,t,n,r,o,s=xL(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Tb,t.slice(6,t.length)):e.setAttributeNS(Tb,t,n):n==null||s&&!Qw(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ir(n)?String(n):n)}function Ob(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?o0(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Qw(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function _N(e,t,n,r){e.addEventListener(t,n,r)}function vN(e,t,n,r){e.removeEventListener(t,n,r)}const Ab=Symbol("_vei");function wN(e,t,n,r,o=null){const s=e[Ab]||(e[Ab]={}),a=s[t];if(r&&a)a.value=r;else{const[c,u]=CN(t);if(r){const f=s[t]=xN(r,o);_N(e,c,f,u)}else a&&(vN(e,c,a,u),s[t]=void 0)}}const EN=/(Once|Passive|Capture)$/,SN=/^on:?(?:Once|Passive|Capture)$/;function CN(e){let t,n;for(;(n=e.match(EN))&&!SN.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ni(e.slice(2)),t]}let _d=0;const kN=Promise.resolve(),TN=()=>_d||(kN.then(()=>_d=0),_d=Date.now());function xN(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Ie(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),c=[r];for(let u=0;u<a.length&&!r._stopped;u++){const f=a[u];f&&$r(f,t,5,c)}}else $r(o,t,5,[r])};return n.value=e,n.attached=TN(),n}const Rb=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ON=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?pN(e,r,a):t==="style"?gN(e,n,r):au(t)?lu(t)||wN(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AN(e,t,r,a))?(Ob(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xb(e,t,r,a,s,t!=="value")):e._isVueCE&&(RN(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!At(r)))?Ob(e,In(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),xb(e,t,r,a))};function AN(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Rb(t)&&Ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Rb(t)&&At(n)?!1:t in e}function RN(e,t){const n=e._def.props;if(!n)return!1;const r=In(t);return Array.isArray(n)?n.some(o=>In(o)===r):Object.keys(n).some(o=>In(o)===r)}const PN=["ctrl","shift","alt","meta"],IN={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)=>PN.some(n=>e[`${n}Key`]&&!t.includes(n))},Pb=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a<t.length;a++){const c=IN[t[a]];if(c&&c(o,t))return}return e(o,...s)}))},LN=tn({patchProp:ON},fN);let Ib;function MN(){return Ib||(Ib=YM(LN))}const NN=((...e)=>{const t=MN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=FN(r);if(!o)return;const s=t._component;!Ne(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,DN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function DN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function FN(e){return At(e)?document.querySelector(e):e}const vd=new WeakMap,$N=(...e)=>{var t;const n=e[0],r=(t=ar())===null||t===void 0?void 0:t.proxy,o=r??Va();if(o==null&&!qa())throw new Error("injectLocal must be called in setup");return o&&vd.has(o)&&n in vd.get(o)?vd.get(o)[n]:En(...e)},jN=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const UN=Object.prototype.toString,zN=e=>UN.call(e)==="[object Object]",BN=()=>{};function a0(...e){if(e.length!==1)return EE(...e);const t=e[0];return typeof t=="function"?Ss(wE(()=>({get:t,set:BN}))):Re(t)}function WN(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const l0=e=>e();function HN(e=l0,t={}){const{initialState:n="active"}=t,r=a0(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:KL(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function Lb(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function wd(e){return Array.isArray(e)?e:[e]}function VN(e){return ar()}function GN(e,t,n={}){const{eventFilter:r=l0,...o}=n;return gt(e,WN(r,t),o)}function KN(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=HN(r,{initialState:o});return{stop:GN(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function c0(e,t=!0,n){VN()?Er(e,n):t?e():Ur(e)}function qN(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Rt(e),s=Ln(e);function a(c){if(arguments.length)return s.value=c,s.value;{const u=en(n);return s.value=s.value===u?en(r):u,s.value}}return o?a:[s,a]}function YN(e,t,n){return gt(e,t,{...n,immediate:!0})}const Ei=jN?window:void 0;function u0(e){var t;const n=en(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function Op(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=ue(()=>{const r=wd(en(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return YN(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>u0(s)))!==null&&r!==void 0?r:[Ei].filter(s=>s!=null),wd(en(n.value?e[1]:e[0])),wd(je(n.value?e[2]:e[1])),en(n.value?e[3]:e[2])]},([r,o,s,a],c,u)=>{if(!r?.length||!o?.length||!s?.length)return;const f=zN(a)?{...a}:a,p=r.flatMap(h=>o.flatMap(g=>s.map(y=>t(h,g,y,f))));u(()=>{p.forEach(h=>h())})},{flush:"post"})}function XN(){const e=Ln(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function JN(e){const t=XN();return ue(()=>(t.value,!!e()))}const QN=Symbol("vueuse-ssr-width");function ZN(){const e=qa()?$N(QN,null):null;return typeof e=="number"?e:void 0}function eD(e,t={}){const{window:n=Ei,ssrWidth:r=ZN()}=t,o=JN(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Ln(typeof r=="number"),a=Ln(),c=Ln(!1),u=f=>{c.value=f.matches};return AE(()=>{if(s.value){s.value=!o.value,c.value=en(e).split(",").some(f=>{const p=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(h||g);return h&&y&&(y=r>=Lb(h[1])),g&&y&&(y=r<=Lb(g[1])),p?!y:y});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),Op(a,"change",u,{passive:!0}),ue(()=>c.value)}const Yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xl="__vueuse_ssr_handlers__",tD=nD();function nD(){return Xl in Yl||(Yl[Xl]=Yl[Xl]||{}),Yl[Xl]}function f0(e,t){return tD[e]||t}function rD(e){return eD("(prefers-color-scheme: dark)",e)}function oD(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const iD={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Mb="vueuse-storage";function sD(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=Ei,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:v}=r,_=(p?Ln:Re)(typeof t=="function"?t():t),O=ue(()=>en(e));if(!n)try{n=f0("getDefaultStorage",()=>Ei?.localStorage)()}catch(z){y(z)}if(!n)return _;const S=en(t),w=oD(S),A=(o=r.serializer)!==null&&o!==void 0?o:iD[w],{pause:E,resume:I}=KN(_,z=>G(z),{flush:s,deep:a,eventFilter:g});gt(O,()=>ne(),{flush:s});let x=!1;const P=z=>{v&&!x||ne(z)},T=z=>{v&&!x||le(z)};h&&c&&(n instanceof Storage?Op(h,"storage",P,{passive:!0}):Op(h,Mb,T)),v?c0(()=>{x=!0,ne()}):ne();function N(z,te){if(h){const oe={key:O.value,oldValue:z,newValue:te,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Mb,{detail:oe}))}}function G(z){try{const te=n.getItem(O.value);if(z==null)N(te,null),n.removeItem(O.value);else{const oe=A.write(z);te!==oe&&(n.setItem(O.value,oe),N(te,oe))}}catch(te){y(te)}}function K(z){const te=z?z.newValue:n.getItem(O.value);if(te==null)return u&&S!=null&&n.setItem(O.value,A.write(S)),S;if(!z&&f){const oe=A.read(te);return typeof f=="function"?f(oe,S):w==="object"&&!Array.isArray(oe)?{...S,...oe}:oe}else return typeof te!="string"?te:A.read(te)}function ne(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){_.value=S;return}if(!(z&&z.key!==O.value)){E();try{const te=A.write(_.value);(z===void 0||z?.newValue!==te)&&(_.value=K(z))}catch(te){y(te)}finally{z?Ur(I):I()}}}}function le(z){ne(z.detail)}return _}const aD="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function lD(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Ei,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=rD({window:o}),y=ue(()=>g.value?"dark":"light"),v=u||(a==null?a0(r):sD(a,r,s,{window:o,listenToStorageChanges:c})),_=ue(()=>v.value==="auto"?y.value:v.value),O=f0("updateHTMLAttrs",(E,I,x)=>{const P=typeof E=="string"?o?.document.querySelector(E):u0(E);if(!P)return;const T=new Set,N=new Set;let G=null;if(I==="class"){const ne=x.split(/\s/g);Object.values(h).flatMap(le=>(le||"").split(/\s/g)).filter(Boolean).forEach(le=>{ne.includes(le)?T.add(le):N.add(le)})}else G={key:I,value:x};if(T.size===0&&N.size===0&&G===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(aD)),o.document.head.appendChild(K));for(const ne of T)P.classList.add(ne);for(const ne of N)P.classList.remove(ne);G&&P.setAttribute(G.key,G.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function S(E){var I;O(t,n,(I=h[E])!==null&&I!==void 0?I:E)}function w(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,w,{flush:"post",immediate:!0}),c0(()=>w(_.value));const A=ue({get(){return f?v.value:_.value},set(E){v.value=E}});return Object.assign(A,{store:v,system:y,state:_})}function cD(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=lD({...e,onChanged:(s,a)=>{var c;e.onChanged?(c=e.onChanged)===null||c===void 0||c.call(e,s==="dark",a,s):a(s)},modes:{dark:t,light:n}}),o=ue(()=>r.system.value);return ue({get(){return r.value==="dark"},set(s){const a=s?"dark":"light";o.value===a?r.value="auto":r.value=a}})}const uD="Comp Hub",fD="main",dD="container",pD="item",hD="/__global_config__",mD="local://",gD="comphubConfig",yD="__remote__",bD="__local__",_D="__admin__",vD="https://api.comphub.cn",wD="http://localhost:7002",ED="http://127.0.0.1:5000",SD="http://localhost:5001",CD="http://localhost:3580",kD="https://apiadmin.comphub.cn",TD="https://admin.comphub.cn",xD="/_module_load_prefix_",OD="/_node_modules_load_prefix_",AD="/_comp_preview_prefix_local_",RD="/__proxy__",PD="/__master__",ID="csrfToken",LD="authorization",MD="x-refresh-token",ND="x-csrf-token",DD="accept-language",FD="comp-hub-db",$D="file-compiled",jD="https://oss.comphub.cn",UD="oss:sts:token",zD="oss:sts:expire",BD="https://prebuild.comphub.cn",WD="/dev",HD="/prod",VD="/node_modules/.prebuild_module",GD="_metadata.json",KD="vue/dist/vue.esm-bundler.js",qD="react-jsx-loader",YD="vue3-sfc-loader",XD="vue2-sfc-loader",JD="sass-compiler",QD="less-compiler",d0="react",ZD={COMP_FRAMEWORK_VUE:"vue",COMP_FRAMEWORK_REACT:d0},eF="comp.json",tF="README.md",nF="main.js",rF="index.vue",oF=["index.jsx","index.js","index.tsx"],iF="/.comp_hub_temp",sF="screenshot_mini.png",aF=1024*1024*10,lF=1024*1024*3,cF=30,p0="list_local",h0="list_remote",uF={COMP_LIST_TYPE_LOCAL:p0,COMP_LIST_TYPE_REMOTE:h0},m0="config",g0="error",y0="dir",b0="preview",_0="extra",v0="deps",w0="readme",E0="upgradeLog",fF={TAB_TYPE_CONFIG:m0,TAB_TYPE_ERROR:g0,TAB_TYPE_DIR:y0,TAB_TYPE_PREVIEW:b0,TAB_TYPE_EXTRA:_0,TAB_TYPE_DEPS:v0,TAB_TYPE_README:w0,TAB_TYPE_UPGRADE_LOG:E0},S0="mini",C0="full",dF={COMP_EDIT_TAB_TYPE_MINI:S0,COMP_EDIT_TAB_TYPE_FULL:C0},k0="EDIT",T0="ADD",pF={DIALOG_TYPE_EDIT:k0,DIALOG_TYPE_ADD:T0},x0="ONLY_INSTALL",O0="AUTO",A0="MAJOR_VERSION",R0="MINOR_VERSION",P0="EXACT_VERSION",hF={COMP_MATCH_TYPE_ONLY_INSTALL:x0,COMP_MATCH_TYPE_AUTO:O0,COMP_MATCH_TYPE_MAJOR_VERSION:A0,COMP_MATCH_TYPE_MINOR_VERSION:R0,COMP_MATCH_TYPE_EXACT_VERSION:P0},I0="online",L0="offline",mF={COMP_UPDATE_TYPE_ONLINE:I0,COMP_UPDATE_TYPE_OFFLINE:L0},M0="NOT_EXIST",N0="EXIST",gF={COMP_CHECK_STATUS_NOT_EXIST:M0,COMP_CHECK_STATUS_EXIST:N0},D0="__id__",yF=0,bF=1,_F=-1,F0="checkPreviewListForm",$0="checkExtraInfoForm",j0="checkCompConfig",U0="checkUpgradeLogForm",z0="getCompError",B0="afterCompDel",W0="afterCompCancelCollect",H0="afterCompRenderRetry",V0="openCompTerminal",vF={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:F0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:$0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:j0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:U0,COMP_METHOD_KEY_GET_COMP_ERROR:z0,COMP_METHOD_KEY_AFTER_COMP_DEL:B0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:W0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:V0},wF="compListStore",EF="compEditStore",SF="callbacks",CF={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},kF="http://127.0.0.1",TF="http://localhost:8095",xF="http://localhost:8096",OF="http://localhost:5198",AF="http://localhost:3056",RF="https://www.comphub.cn",PF="http://localhost:8101",IF="https://render.comphub.cn",LF="/item",MF="/container",NF="CREATE",DF="JOIN",FF="EXIT",$F="teamAddMyComp",jF="teamCompList",UF="teamCompGroupList",zF="teamMyCompList",BF="teamMyCompUpdate",WF="__v__",HF="local",VF="prod",GF="local",KF="prod",qF="http://localhost:5173/en/",YF="https://docs.comphub.cn",XF=20,JF=20,QF="SUPER_ADMIN",ZF="ADMIN",ve=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:DD,ADMIN_SERVICE_PREFIX:_D,ADMIN_SERVICE_URL_DEV:CD,ADMIN_SERVICE_URL_PROD:kD,ADMIN_WEB_URL_PROD:TD,AUTHORIZATION_HEADER_NAME:LD,CACHE_KEY_STS_EXPIRE_TIME:zD,CACHE_KEY_STS_TOKEN:UD,COMPHUB_CONFIG_KEY:gD,COMP_ACTION_ICON_HEIGHT:JF,COMP_ACTION_ICON_WIDTH:XF,COMP_CHECK_STATUSES:gF,COMP_CHECK_STATUS_EXIST:N0,COMP_CHECK_STATUS_NOT_EXIST:M0,COMP_CONFIG_FILENAME:eF,COMP_EDIT_TAB_TYPES:dF,COMP_EDIT_TAB_TYPE_FULL:C0,COMP_EDIT_TAB_TYPE_MINI:S0,COMP_ENTRY_FILE:nF,COMP_FIELD_COMP_ID:D0,COMP_FRAMEWORK_REACT:d0,COMP_FRAMEWORK_TYPES:ZD,COMP_FRAMEWORK_VUE:"vue",COMP_HUB_DEV_DOCS_URL:qF,COMP_HUB_PROD_DOCS_URL:YF,COMP_LIST_TYPES:uF,COMP_LIST_TYPE_LOCAL:p0,COMP_LIST_TYPE_REMOTE:h0,COMP_MATCH_TYPES:hF,COMP_MATCH_TYPE_AUTO:O0,COMP_MATCH_TYPE_EXACT_VERSION:P0,COMP_MATCH_TYPE_MAJOR_VERSION:A0,COMP_MATCH_TYPE_MINOR_VERSION:R0,COMP_MATCH_TYPE_ONLY_INSTALL:x0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:W0,COMP_METHOD_KEY_AFTER_COMP_DEL:B0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:j0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:$0,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:F0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:U0,COMP_METHOD_KEY_GET_COMP_ERROR:z0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:V0,COMP_PREVIEW_PREFIX_LOCAL:AD,COMP_README_FILENAME:tF,COMP_SCREENSHOT_MINI_FILENAME:sF,COMP_SUBMIT_MAX_FILE_COUNT:cF,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:lF,COMP_SUBMIT_MAX_TOTAL_SIZE:aF,COMP_TEMP_DIR:iF,COMP_UPDATE_TYPES:mF,COMP_UPDATE_TYPE_OFFLINE:L0,COMP_UPDATE_TYPE_ONLINE:I0,COMP_USE_ENTRY_FILE:rF,COMP_USE_ENTRY_FILE_REACT:oF,CSRF_KEY:ID,CSRF_TOKEN_HEADER_NAME:ND,DIALOG_TYPES:pF,DIALOG_TYPE_ADD:T0,DIALOG_TYPE_EDIT:k0,FILE_MANAGER_DIRNAME:mD,GLOBAL_CONFIG_PATH:hD,IFRAME_CONTAINER_WEBSITE_PATH:MF,IFRAME_HOST:kF,IFRAME_ITEM_WEBSITE_PATH:LF,IFRAME_ROUTES:CF,INDEX_DB_NAME:FD,INDEX_DB_TABLE_NAME:$D,LESS_COMPILER_KEY:QD,LOCAL_CHILD_IFRAME_URL:TF,LOCAL_ITEM_EXTRANET_URL:PF,LOCAL_LEAF_IFRAME_URL:xF,LOCAL_MAIN_EXTRANET_URL:AF,LOCAL_MIDWAY_ENV_LOCAL:HF,LOCAL_MIDWAY_ENV_PROD:VF,LOCAL_SERVICE_PREFIX:bD,LOCAL_SERVICE_URL_DEV:ED,LOCAL_SERVICE_URL_DEV_SUB:SD,LOCAL_TOP_IFRAME_URL:OF,MASTER_API_PREFIX:PD,META_FILE_NAME:GD,MODULE_LOAD_PREFIX:xD,NODE_MODULES_LOAD_PREFIX:OD,OSS_CUSTOM_DOMAIN:jD,PREBUILD_HOST:BD,PREBUILD_MAX_SINGLE_FILE_SIZE:52428800,PREBUILD_MODULE_DIR:VD,PREBUILD_MODULE_DIR_DEV:WD,PREBUILD_MODULE_DIR_PROD:HD,PROVIDE_KEYS:vF,PROVIDE_KEY_CALLBACKS:SF,PROVIDE_KEY_COMP_EDIT_STORE:EF,PROVIDE_KEY_COMP_LIST_STORE:wF,PROXY_PATH_PREFIX:RD,REACT_JSX_LOADER_KEY:qD,REFRESH_TOKEN_HEADER_NAME:MD,REMOTE_ITEM_EXTRANET_URL:IF,REMOTE_MAIN_EXTRANET_URL:RF,REMOTE_MIDWAY_ENV_LOCAL:GF,REMOTE_MIDWAY_ENV_PROD:KF,REMOTE_SERVICE_PREFIX:yD,REMOTE_SERVICE_URL_DEV:wD,REMOTE_SERVICE_URL_PROD:vD,ROLE_CODE_ADMIN:ZF,ROLE_CODE_SUPER_ADMIN:QF,ROUTE_STATE_KEY_VERSION:WF,SASS_COMPILER_KEY:JD,SCOPE_ID_TEAM_ADD_MY_COMP:$F,SCOPE_ID_TEAM_COMP_GROUP_LIST:UF,SCOPE_ID_TEAM_COMP_LIST:jF,SCOPE_ID_TEAM_MY_COMP_LIST:zF,SCOPE_ID_TEAM_MY_COMP_UPDATE:BF,SITE_TITLE:uD,TAB_TYPES:fF,TAB_TYPE_CONFIG:m0,TAB_TYPE_DEPS:v0,TAB_TYPE_DIR:y0,TAB_TYPE_ERROR:g0,TAB_TYPE_EXTRA:_0,TAB_TYPE_PREVIEW:b0,TAB_TYPE_README:w0,TAB_TYPE_UPGRADE_LOG:E0,TEAM_OPERATE_TYPE_CREATE:NF,TEAM_OPERATE_TYPE_EXIT:FF,TEAM_OPERATE_TYPE_JOIN:DF,VERSION_COMPARE_GREATER:bF,VERSION_COMPARE_LESS:_F,VERSION_COMPARE_SAME:yF,VUE2_SFC_LOADER_KEY:XD,VUE3_SFC_LOADER_KEY:YD,VUE_ESM_BUNDLER:KD,WEBSITE_PATH_CONTAINER:dD,WEBSITE_PATH_ITEM:pD,WEBSITE_PATH_MAIN:fD},Symbol.toStringTag,{value:"Module"})),e$=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],t$=[".css"],n$=[{name:D0,label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],r$=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:n$,DEFAULT_TAG_GROUP:e$,PREBUILD_MODULE_SKIP_EXT:t$},Symbol.toStringTag,{value:"Module"})),o$="comp-hub-locale",i$=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:o$},Symbol.toStringTag,{value:"Module"}));function s$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ed={exports:{}},Nb;function a$(){return Nb||(Nb=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(u,f){if(!s[u]){s[u]={};for(var p=0;p<u.length;p++)s[u][u.charAt(p)]=p}return s[u][f]}var c={compressToBase64:function(u){if(u==null)return"";var f=c._compress(u,6,function(p){return r.charAt(p)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(f){return a(r,u.charAt(f))})},compressToUTF16:function(u){return u==null?"":c._compress(u,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(f){return u.charCodeAt(f)-32})},compressToUint8Array:function(u){for(var f=c.compress(u),p=new Uint8Array(f.length*2),h=0,g=f.length;h<g;h++){var y=f.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(u){if(u==null)return c.decompress(u);for(var f=new Array(u.length/2),p=0,h=f.length;p<h;p++)f[p]=u[p*2]*256+u[p*2+1];var g=[];return f.forEach(function(y){g.push(n(y))}),c.decompress(g.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":c._compress(u,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(f){return a(o,u.charAt(f))}))},compress:function(u){return c._compress(u,16,function(f){return n(f)})},_compress:function(u,f,p){if(u==null)return"";var h,g,y={},v={},_="",O="",S="",w=2,A=3,E=2,I=[],x=0,P=0,T;for(T=0;T<u.length;T+=1)if(_=u.charAt(T),Object.prototype.hasOwnProperty.call(y,_)||(y[_]=A++,v[_]=!0),O=S+_,Object.prototype.hasOwnProperty.call(y,O))S=O;else{if(Object.prototype.hasOwnProperty.call(v,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)x=x<<1,P==f-1?(P=0,I.push(p(x)),x=0):P++;for(g=S.charCodeAt(0),h=0;h<8;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1}else{for(g=1,h=0;h<E;h++)x=x<<1|g,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1}w--,w==0&&(w=Math.pow(2,E),E++),delete v[S]}else for(g=y[S],h=0;h<E;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1;w--,w==0&&(w=Math.pow(2,E),E++),y[O]=A++,S=String(_)}if(S!==""){if(Object.prototype.hasOwnProperty.call(v,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)x=x<<1,P==f-1?(P=0,I.push(p(x)),x=0):P++;for(g=S.charCodeAt(0),h=0;h<8;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1}else{for(g=1,h=0;h<E;h++)x=x<<1|g,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1}w--,w==0&&(w=Math.pow(2,E),E++),delete v[S]}else for(g=y[S],h=0;h<E;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1;w--,w==0&&(w=Math.pow(2,E),E++)}for(g=2,h=0;h<E;h++)x=x<<1|g&1,P==f-1?(P=0,I.push(p(x)),x=0):P++,g=g>>1;for(;;)if(x=x<<1,P==f-1){I.push(p(x));break}else P++;return I.join("")},decompress:function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(f){return u.charCodeAt(f)})},_decompress:function(u,f,p){var h=[],g=4,y=4,v=3,_="",O=[],S,w,A,E,I,x,P,T={val:p(0),position:f,index:1};for(S=0;S<3;S+=1)h[S]=S;for(A=0,I=Math.pow(2,2),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;switch(A){case 0:for(A=0,I=Math.pow(2,8),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;P=n(A);break;case 1:for(A=0,I=Math.pow(2,16),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;P=n(A);break;case 2:return""}for(h[3]=P,w=P,O.push(P);;){if(T.index>u)return"";for(A=0,I=Math.pow(2,v),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;switch(P=A){case 0:for(A=0,I=Math.pow(2,8),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;h[y++]=n(A),P=y-1,g--;break;case 1:for(A=0,I=Math.pow(2,16),x=1;x!=I;)E=T.val&T.position,T.position>>=1,T.position==0&&(T.position=f,T.val=p(T.index++)),A|=(E>0?1:0)*x,x<<=1;h[y++]=n(A),P=y-1,g--;break;case 2:return O.join("")}if(g==0&&(g=Math.pow(2,v),v++),h[P])_=h[P];else if(P===y)_=w+w.charAt(0);else return null;O.push(_),h[y++]=w+_.charAt(0),g--,w=_,g==0&&(g=Math.pow(2,v),v++)}}};return c})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ed)),Ed.exports}var l$=a$();const Db=s$(l$),Fb=["topOrigin","compType","userId","instanceUid","compId","isSfc"],oo=()=>{const e=r();function t(a){if(Object.keys(a).filter(u=>!Fb.includes(u)).length)throw new Error(`iframe参数键名只能包含${Fb.join(", ")}`);return Db.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const c=Db.decompressFromEncodedURIComponent(a);return JSON.parse(c)}function r(){const c=new URLSearchParams(window.location.search).get("params")??"";return n(c)}function o(a){const c={...e,...a};return t(c)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},$s=e=>{const{params:{topOrigin:t}}=oo();return t},Qe={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",COMP_SCREENSHOT_AUTO:"comp_screenshot_auto",COMP_SCREENSHOT_MANUAL_SET:"comp_screenshot_manual_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function js(){const e=ar(),t=(a,c,u,f)=>{a.postMessage({type:c,payload:JSON.stringify(u)},f)};return{sendMessageToParent:(a,c,u)=>{window.parent.postMessage({type:a,payload:JSON.stringify(c)},u)},sendMessageToTop:(a,c,u,f)=>{if(!u)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(c),instanceUid:f},u)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,c=u=>{const{type:f,payload:p,instanceUid:h}=u.data??{},g=u.source===window.parent||u.source===window.top,y=h?.split(",").some(_=>_===e?.uid.toString()),v=a.get(f);(y||g)&&v?.(JSON.parse(p))};return window.addEventListener("message",c),Ds(()=>{window.removeEventListener("message",c),a.clear()}),{addListener:(u,f)=>{a.set(u,p=>{f(p)})},removeListener:u=>{u?a.delete(u):(a.clear(),window.removeEventListener("message",c))}}},requestResponse:async({targetWindow:a,requestType:c,responseType:u,data:f,targetOrigin:p,timeout:h=1e4})=>a?new Promise(g=>{let y=!1;const v=setTimeout(()=>{y||(y=!0,window.removeEventListener("message",_),g(null))},h),_=O=>{if(!y)try{const{type:S,payload:w}=O.data;S===u&&(y=!0,clearTimeout(v),window.removeEventListener("message",_),g(JSON.parse(w)))}catch{}};window.addEventListener("message",_),t(a,c,f,p)}):null,instanceUid:ue(()=>e?.uid?.toString()??"")}}function c$(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Vc=typeof window<"u",ii=(e,t=!1)=>t?Symbol.for(e):Symbol(e),u$=(e,t,n)=>f$({l:e,k:t,s:n}),f$=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Gt=e=>typeof e=="number"&&isFinite(e),G0=e=>jh(e)==="[object Date]",Ts=e=>jh(e)==="[object RegExp]",ku=e=>et(e)&&Object.keys(e).length===0,Kt=Object.assign,d$=Object.create,vt=(e=null)=>d$(e);let $b;const Si=()=>$b||($b=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:vt());function jb(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function p$(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const h$=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,m$=/^(?:href|src|action|formaction)$/i;function $h(e){return h$.test(e)}function g$(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,a=t.lastIndex-1;let c=a+1,u=1,f=null;for(;c<e.length;c++){const g=e[c];if(f){g===f&&(f=null);continue}if(g==='"'||g==="'")f=g;else if(g==="(")u++;else if(g===")"&&(u--,u===0))break}if(u!==0)break;const p=e.slice(a+1,c).trim(),h=p.startsWith('"')&&p.endsWith('"')||p.startsWith("'")&&p.endsWith("'")?p.slice(1,-1).trim():p;n+=e.slice(r,s),n+=$h(h)?"url(about:blank)":e.slice(s,c+1),r=c+1}return n+e.slice(r)}function Ub(e,t){if(m$.test(e)&&$h(t))return"about:blank";const n=e.toLowerCase()==="style"?g$(t):t;return p$(n)}function y$(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${Ub(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${Ub(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>$h(o)?`${r}about:blank`:n),e}const b$=Object.prototype.hasOwnProperty;function vr(e,t){return b$.call(e,t)}const jt=Array.isArray,It=e=>typeof e=="function",ye=e=>typeof e=="string",rt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",_$=e=>ot(e)&&It(e.then)&&It(e.catch),K0=Object.prototype.toString,jh=e=>K0.call(e),et=e=>jh(e)==="[object Object]",v$=e=>e==null?"":jt(e)||et(e)&&e.toString===K0?JSON.stringify(e,null,2):String(e);function Uh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Jl=e=>!ot(e)||jt(e);function _c(e,t){if(Jl(e)||Jl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(ot(r[s])&&!ot(o[s])&&(o[s]=Array.isArray(r[s])?[]:vt()),Jl(o[s])||Jl(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function w$(e,t,n){return{line:e,column:t,offset:n}}function Ap(e,t,n){return{start:e,end:t}}const ft={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},E$=17;function Tu(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,c=new SyntaxError(String(a));return c.code=e,t&&(c.location=t),c.domain=r,c}function S$(e){throw e}const Gr=" ",C$="\r",gn=`
|
|
2
|
-
`,k$="\u2028",T$="\u2029";function x$(e){const t=e;let n=0,r=1,o=1,s=0;const a=P=>t[P]===C$&&t[P+1]===gn,c=P=>t[P]===gn,u=P=>t[P]===T$,f=P=>t[P]===k$,p=P=>a(P)||c(P)||u(P)||f(P),h=()=>n,g=()=>r,y=()=>o,v=()=>s,_=P=>a(P)||u(P)||f(P)?gn:t[P],O=()=>_(n),S=()=>_(n+s);function w(){return s=0,p(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function A(){return a(n+s)&&s++,s++,t[n+s]}function E(){n=0,r=1,o=1,s=0}function I(P=0){s=P}function x(){const P=n+s;for(;P!==n;)w();s=0}return{index:h,line:g,column:y,peekOffset:v,charAt:_,currentChar:O,currentPeek:S,next:w,peek:A,reset:E,resetPeek:I,skipToPeek:x}}const yo=void 0,O$=".",zb="'",A$="tokenizer";function R$(e,t={}){const n=t.location!==!1,r=x$(e),o=()=>r.index(),s=()=>w$(r.line(),r.column(),r.index()),a=s(),c=o(),u={currentType:13,offset:c,startLoc:a,endLoc:a,lastType:13,lastOffset:c,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:p}=t;function h(R,L,j,...W){const fe=f();if(L.column+=j,L.offset+=j,p){const se=n?Ap(fe.startLoc,L):null,U=Tu(R,se,{domain:A$,args:W});p(U)}}function g(R,L,j){R.endLoc=s(),R.currentType=L;const W={type:L};return n&&(W.loc=Ap(R.startLoc,R.endLoc)),j!=null&&(W.value=j),W}const y=R=>g(R,13);function v(R,L){return R.currentChar()===L?(R.next(),L):(h(ft.EXPECTED_TOKEN,s(),0,L),"")}function _(R){let L="";for(;R.currentPeek()===Gr||R.currentPeek()===gn;)L+=R.currentPeek(),R.peek();return L}function O(R){const L=_(R);return R.skipToPeek(),L}function S(R){if(R===yo)return!1;const L=R.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L===95}function w(R){if(R===yo)return!1;const L=R.charCodeAt(0);return L>=48&&L<=57}function A(R,L){const{currentType:j}=L;if(j!==2)return!1;_(R);const W=S(R.currentPeek());return R.resetPeek(),W}function E(R,L){const{currentType:j}=L;if(j!==2)return!1;_(R);const W=R.currentPeek()==="-"?R.peek():R.currentPeek(),fe=w(W);return R.resetPeek(),fe}function I(R,L){const{currentType:j}=L;if(j!==2)return!1;_(R);const W=R.currentPeek()===zb;return R.resetPeek(),W}function x(R,L){const{currentType:j}=L;if(j!==7)return!1;_(R);const W=R.currentPeek()===".";return R.resetPeek(),W}function P(R,L){const{currentType:j}=L;if(j!==8)return!1;_(R);const W=S(R.currentPeek());return R.resetPeek(),W}function T(R,L){const{currentType:j}=L;if(!(j===7||j===11))return!1;_(R);const W=R.currentPeek()===":";return R.resetPeek(),W}function N(R,L){const{currentType:j}=L;if(j!==9)return!1;const W=()=>{const se=R.currentPeek();return se==="{"?S(R.peek()):se==="@"||se==="|"||se===":"||se==="."||se===Gr||!se?!1:se===gn?(R.peek(),W()):K(R,!1)},fe=W();return R.resetPeek(),fe}function G(R){_(R);const L=R.currentPeek()==="|";return R.resetPeek(),L}function K(R,L=!0){const j=(fe=!1,se="")=>{const U=R.currentPeek();return U==="{"||U==="@"||!U?fe:U==="|"?!(se===Gr||se===gn):U===Gr?(R.peek(),j(!0,Gr)):U===gn?(R.peek(),j(!0,gn)):!0},W=j();return L&&R.resetPeek(),W}function ne(R,L){const j=R.currentChar();return j===yo?yo:L(j)?(R.next(),j):null}function le(R){const L=R.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36}function z(R){return ne(R,le)}function te(R){const L=R.charCodeAt(0);return L>=97&&L<=122||L>=65&&L<=90||L>=48&&L<=57||L===95||L===36||L===45}function oe(R){return ne(R,te)}function he(R){const L=R.charCodeAt(0);return L>=48&&L<=57}function Se(R){return ne(R,he)}function Ve(R){const L=R.charCodeAt(0);return L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102}function rn(R){return ne(R,Ve)}function tt(R){let L="",j="";for(;L=Se(R);)j+=L;return j}function Ge(R){let L="";for(;;){const j=R.currentChar();if(j==="\\"){const W=R.peek();W==="{"||W==="}"||W==="@"||W==="|"||W==="\\"?(L+=j+W,R.next(),R.next()):(R.resetPeek(),L+=j,R.next())}else{if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j===Gr||j===gn)if(K(R))L+=j,R.next();else{if(G(R))break;L+=j,R.next()}else L+=j,R.next()}}return L}function dn(R){O(R);let L="",j="";for(;L=oe(R);)j+=L;const W=R.currentChar();if(W&&W!=="}"&&W!==yo&&W!==Gr&&W!==gn&&W!==" "){const fe=we(R);return h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j+fe),j+fe}return R.currentChar()===yo&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j}function on(R){O(R);let L="";return R.currentChar()==="-"?(R.next(),L+=`-${tt(R)}`):L+=tt(R),R.currentChar()===yo&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),L}function kn(R){return R!==zb&&R!==gn}function Mt(R){O(R),v(R,"'");let L="",j="";for(;L=ne(R,kn);)L==="\\"?j+=ee(R):j+=L;const W=R.currentChar();return W===gn||W===yo?(h(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),W===gn&&(R.next(),v(R,"'")),j):(v(R,"'"),j)}function ee(R){const L=R.currentChar();switch(L){case"\\":case"'":return R.next(),`\\${L}`;case"u":return ge(R,L,4);case"U":return ge(R,L,6);default:return h(ft.UNKNOWN_ESCAPE_SEQUENCE,s(),0,L),""}}function ge(R,L,j){v(R,L);let W="";for(let fe=0;fe<j;fe++){const se=rn(R);if(!se){h(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${L}${W}${R.currentChar()}`);break}W+=se}return`\\${L}${W}`}function pe(R){return R!=="{"&&R!=="}"&&R!==Gr&&R!==gn}function we(R){O(R);let L="",j="";for(;L=ne(R,pe);)j+=L;return j}function ze(R){let L="",j="";for(;L=z(R);)j+=L;return j}function M(R){const L=j=>{const W=R.currentChar();return W==="{"||W==="@"||W==="|"||W==="("||W===")"||!W||W===Gr?j:(j+=W,R.next(),L(j))};return L("")}function F(R){O(R);const L=v(R,"|");return O(R),L}function V(R,L){let j=null;switch(R.currentChar()){case"{":return L.braceNest>=1&&h(ft.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),R.next(),j=g(L,2,"{"),O(R),L.braceNest++,j;case"}":return L.braceNest>0&&L.currentType===2&&h(ft.EMPTY_PLACEHOLDER,s(),0),R.next(),j=g(L,3,"}"),L.braceNest--,L.braceNest>0&&O(R),L.inLinked&&L.braceNest===0&&(L.inLinked=!1),j;case"@":return L.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=J(R,L)||y(L),L.braceNest=0,j;default:{let fe=!0,se=!0,U=!0;if(G(R))return L.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=g(L,1,F(R)),L.braceNest=0,L.inLinked=!1,j;if(L.braceNest>0&&(L.currentType===4||L.currentType===5||L.currentType===6))return h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),L.braceNest=0,re(R,L);if(fe=A(R,L))return j=g(L,4,dn(R)),O(R),j;if(se=E(R,L))return j=g(L,5,on(R)),O(R),j;if(U=I(R,L))return j=g(L,6,Mt(R)),O(R),j;if(!fe&&!se&&!U)return j=g(L,12,we(R)),h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j.value),O(R),j;break}}return j}function J(R,L){const{currentType:j}=L;let W=null;const fe=R.currentChar();switch((j===7||j===8||j===11||j===9)&&(fe===gn||fe===Gr)&&h(ft.INVALID_LINKED_FORMAT,s(),0),fe){case"@":return R.next(),W=g(L,7,"@"),L.inLinked=!0,W;case".":return O(R),R.next(),g(L,8,".");case":":return O(R),R.next(),g(L,9,":");default:return G(R)?(W=g(L,1,F(R)),L.braceNest=0,L.inLinked=!1,W):x(R,L)||T(R,L)?(O(R),J(R,L)):P(R,L)?(O(R),g(L,11,ze(R))):N(R,L)?(O(R),fe==="{"?V(R,L)||W:g(L,10,M(R))):(j===7&&h(ft.INVALID_LINKED_FORMAT,s(),0),L.braceNest=0,L.inLinked=!1,re(R,L))}}function re(R,L){let j={type:13};if(L.braceNest>0)return V(R,L)||y(L);if(L.inLinked)return J(R,L)||y(L);switch(R.currentChar()){case"{":return V(R,L)||y(L);case"}":return h(ft.UNBALANCED_CLOSING_BRACE,s(),0),R.next(),g(L,3,"}");case"@":return J(R,L)||y(L);default:{if(G(R))return j=g(L,1,F(R)),L.braceNest=0,L.inLinked=!1,j;if(K(R))return g(L,0,Ge(R));break}}return j}function Q(){const{currentType:R,offset:L,startLoc:j,endLoc:W}=u;return u.lastType=R,u.lastOffset=L,u.lastStartLoc=j,u.lastEndLoc=W,u.offset=o(),u.startLoc=s(),r.currentChar()===yo?g(u,13):re(r,u)}return{nextToken:Q,currentOffset:o,currentPosition:s,context:f}}const P$="parser",I$=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,L$=/\\([\\@{}|])/g;function M$(e,t){return t}function N$(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 D$(e={}){const t=e.location!==!1,{onError:n}=e;function r(S,w,A,E,...I){const x=S.currentPosition();if(x.offset+=E,x.column+=E,n){const P=t?Ap(A,x):null,T=Tu(w,P,{domain:P$,args:I});n(T)}}function o(S,w,A){const E={type:S};return t&&(E.start=w,E.end=w,E.loc={start:A,end:A}),E}function s(S,w,A,E){t&&(S.end=w,S.loc&&(S.loc.end=A))}function a(S,w){const A=S.context(),E=o(3,A.offset,A.startLoc);return E.value=w.replace(L$,M$),s(E,S.currentOffset(),S.currentPosition()),E}function c(S,w){const A=S.context(),{lastOffset:E,lastStartLoc:I}=A,x=o(5,E,I);return x.index=parseInt(w,10),S.nextToken(),s(x,S.currentOffset(),S.currentPosition()),x}function u(S,w){const A=S.context(),{lastOffset:E,lastStartLoc:I}=A,x=o(4,E,I);return x.key=w,S.nextToken(),s(x,S.currentOffset(),S.currentPosition()),x}function f(S,w){const A=S.context(),{lastOffset:E,lastStartLoc:I}=A,x=o(9,E,I);return x.value=w.replace(I$,N$),S.nextToken(),s(x,S.currentOffset(),S.currentPosition()),x}function p(S){const w=S.nextToken(),A=S.context(),{lastOffset:E,lastStartLoc:I}=A,x=o(8,E,I);return w.type!==11?(r(S,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),x.value="",s(x,E,I),{nextConsumeToken:w,node:x}):(w.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,Kr(w)),x.value=w.value||"",s(x,S.currentOffset(),S.currentPosition()),{node:x})}function h(S,w){const A=S.context(),E=o(7,A.offset,A.startLoc);return E.value=w,s(E,S.currentOffset(),S.currentPosition()),E}function g(S){const w=S.context(),A=o(6,w.offset,w.startLoc);let E=S.nextToken();if(E.type===8){const I=p(S);A.modifier=I.node,E=I.nextConsumeToken||S.nextToken()}switch(E.type!==9&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(E)),E=S.nextToken(),E.type===2&&(E=S.nextToken()),E.type){case 10:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(E)),A.key=h(S,E.value||"");break;case 4:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(E)),A.key=u(S,E.value||"");break;case 5:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(E)),A.key=c(S,E.value||"");break;case 6:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(E)),A.key=f(S,E.value||"");break;default:{r(S,ft.UNEXPECTED_EMPTY_LINKED_KEY,w.lastStartLoc,0);const I=S.context(),x=o(7,I.offset,I.startLoc);return x.value="",s(x,I.offset,I.startLoc),A.key=x,s(A,I.offset,I.startLoc),{nextConsumeToken:E,node:A}}}return s(A,S.currentOffset(),S.currentPosition()),{node:A}}function y(S){const w=S.context(),A=w.currentType===1?S.currentOffset():w.offset,E=w.currentType===1?w.endLoc:w.startLoc,I=o(2,A,E);I.items=[];let x=null;do{const N=x||S.nextToken();switch(x=null,N.type){case 0:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(N)),I.items.push(a(S,N.value||""));break;case 5:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(N)),I.items.push(c(S,N.value||""));break;case 4:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(N)),I.items.push(u(S,N.value||""));break;case 6:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,w.lastStartLoc,0,Kr(N)),I.items.push(f(S,N.value||""));break;case 7:{const G=g(S);I.items.push(G.node),x=G.nextConsumeToken||null;break}}}while(w.currentType!==13&&w.currentType!==1);const P=w.currentType===1?w.lastOffset:S.currentOffset(),T=w.currentType===1?w.lastEndLoc:S.currentPosition();return s(I,P,T),I}function v(S,w,A,E){const I=S.context();let x=E.items.length===0;const P=o(1,w,A);P.cases=[],P.cases.push(E);do{const T=y(S);x||(x=T.items.length===0),P.cases.push(T)}while(I.currentType!==13);return x&&r(S,ft.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),s(P,S.currentOffset(),S.currentPosition()),P}function _(S){const w=S.context(),{offset:A,startLoc:E}=w,I=y(S);return w.currentType===13?I:v(S,A,E,I)}function O(S){const w=R$(S,Kt({},e)),A=w.context(),E=o(0,A.offset,A.startLoc);return t&&E.loc&&(E.loc.source=S),E.body=_(w),e.onCacheKey&&(E.cacheKey=e.onCacheKey(S)),A.currentType!==13&&r(w,ft.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,S[A.offset]||""),s(E,w.currentOffset(),w.currentPosition()),E}return{parse:O}}function Kr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function F$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Bb(e,t){for(let n=0;n<e.length;n++)zh(e[n],t)}function zh(e,t){switch(e.type){case 1:Bb(e.cases,t),t.helper("plural");break;case 2:Bb(e.items,t);break;case 6:{zh(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 $$(e,t={}){const n=F$(e);n.helper("normalize"),e.body&&zh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function j$(e){const t=e.body;return t.type===2?Wb(t):t.cases.forEach(n=>Wb(n)),e}function Wb(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=Uh(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function ds(e){switch(e.t=e.type,e.type){case 0:{const t=e;ds(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++)ds(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++)ds(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;ds(t.key),t.k=t.key,delete t.key,t.modifier&&(ds(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}}delete e.type}function U$(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const c=()=>a;function u(_,O){a.code+=_}function f(_,O=!0){const S=O?r:"";u(o?S+" ".repeat(_):S)}function p(_=!0){const O=++a.indentLevel;_&&f(O)}function h(_=!0){const O=--a.indentLevel;_&&f(O)}function g(){f(a.indentLevel)}return{context:c,push:u,indent:p,deindent:h,newline:g,helper:_=>`_${_}`,needIndent:()=>a.needIndent}}function z$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xs(e,t.key),t.modifier?(e.push(", "),xs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function B$(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(xs(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function W$(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(xs(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function H$(e,t){t.body?xs(e,t.body):e.push("null")}function xs(e,t){const{helper:n}=e;switch(t.type){case 0:H$(e,t);break;case 1:W$(e,t);break;case 2:B$(e,t);break;case 6:z$(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}}const V$=(e,t={})=>{const n=ye(t.mode)?t.mode:"normal",r=ye(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
-
`,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=U$(e,{filename:r,breakLineCode:o,needIndent:s});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${Uh(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),c.newline()),c.push("return "),xs(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:u,map:f}=c.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function G$(e,t={}){const n=Kt({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,c=D$(n).parse(e);return r?(s&&j$(c),o&&ds(c),{ast:c,code:""}):($$(c,n),V$(c,n))}function K$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function no(e){return ot(e)&&Bh(e)===0&&(vr(e,"b")||vr(e,"body"))}const q0=["b","body"];function q$(e){return si(e,q0)}const Y0=["c","cases"];function Y$(e){return si(e,Y0,[])}const X0=["s","static"];function X$(e){return si(e,X0)}const J0=["i","items"];function J$(e){return si(e,J0,[])}const Q0=["t","type"];function Bh(e){return si(e,Q0)}const Z0=["v","value"];function Ql(e,t){const n=si(e,Z0);if(n!=null)return n;throw Na(t)}const eS=["m","modifier"];function Q$(e){return si(e,eS)}const tS=["k","key"];function Z$(e){const t=si(e,tS);if(t)return t;throw Na(6)}function si(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(vr(e,o)&&e[o]!=null)return e[o]}return n}const nS=[...q0,...Y0,...X0,...J0,...tS,...eS,...Z0,...Q0];function Na(e){return new Error(`unhandled node type: ${e}`)}function Sd(e){return n=>ej(n,e)}function ej(e,t){const n=q$(t);if(n==null)throw Na(0);if(Bh(n)===1){const s=Y$(n);return e.plural(s.reduce((a,c)=>[...a,Hb(e,c)],[]))}else return Hb(e,n)}function Hb(e,t){const n=X$(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=J$(t).reduce((o,s)=>[...o,Rp(e,s)],[]);return e.normalize(r)}}function Rp(e,t){const n=Bh(t);switch(n){case 3:return Ql(t,n);case 9:return Ql(t,n);case 4:{const r=t;if(vr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(vr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Na(n)}case 5:{const r=t;if(vr(r,"i")&&Gt(r.i))return e.interpolate(e.list(r.i));if(vr(r,"index")&&Gt(r.index))return e.interpolate(e.list(r.index));throw Na(n)}case 6:{const r=t,o=Q$(r),s=Z$(r);return e.linked(Rp(e,s),o?Rp(e,o):void 0,e.type)}case 7:return Ql(t,n);case 8:return Ql(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const tj=e=>e;let Zl=vt();function nj(e,t={}){let n=!1;const r=t.onError||S$;return t.onError=o=>{n=!0,r(o)},{...G$(e,t),detectError:n}}function rj(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ye(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||tj)(e),o=Zl[r];if(o)return o;const{ast:s,detectError:a}=nj(e,{...t,location:!1,jit:!0}),c=Sd(s);return a?c:Zl[r]=c}else{const n=e.cacheKey;if(n){const r=Zl[n];return r||(Zl[n]=Sd(e))}else return Sd(e)}}let Da=null;function oj(e){Da=e}function ij(e,t,n){Da&&Da.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const sj=aj("function:translate");function aj(e){return t=>Da&&Da.emit(e,t)}const ko={INVALID_ARGUMENT:E$,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},lj=24;function To(e){return Tu(e,null,void 0)}function Wh(e,t){return t.locale!=null?Vb(t.locale):Vb(e.locale)}let Cd;function Vb(e){if(ye(e))return e;if(It(e)){if(e.resolvedOnce&&Cd!=null)return Cd;if(e.constructor.name==="Function"){const t=e();if(_$(t))throw To(ko.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Cd=t}else throw To(ko.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw To(ko.NOT_SUPPORT_LOCALE_TYPE)}function cj(e,t,n){return[...new Set([n,...jt(t)?t:ot(t)?Object.keys(t):ye(t)?[t]:[n]])]}function Pp(e,t,n){const r=ye(n)?n:Fa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;jt(a);)a=Gb(s,a,t);const c=jt(t)||!et(t)?t:t.default?t.default:null;a=ye(c)?[c]:c,jt(a)&&Gb(s,a,!1),o.__localeChainCache.set(r,s)}return s}function Gb(e,t,n){let r=!0;for(let o=0;o<t.length&&rt(r);o++){const s=t[o];ye(s)&&(r=uj(e,t[o],n))}return r}function uj(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=fj(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function fj(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(jt(n)||et(n))&&n[o]&&(r=n[o])}return r}const ai=[];ai[0]={w:[0],i:[3,0],"[":[4],o:[7]};ai[1]={w:[1],".":[2],"[":[4],o:[7]};ai[2]={w:[2],i:[3,0],0:[3,0]};ai[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ai[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ai[5]={"'":[4,0],o:8,l:[5,0]};ai[6]={'"':[4,0],o:8,l:[6,0]};const dj=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pj(e){return dj.test(e)}function hj(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 mj(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 gj(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:pj(t)?hj(t):"*"+t}function yj(e){const t=[];let n=-1,r=0,o=0,s,a,c,u,f,p,h;const g=[];g[0]=()=>{a===void 0?a=c:a+=c},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,a===void 0||(a=gj(a),a===!1))return!1;g[1]()}};function y(){const v=e[n+1];if(r===5&&v==="'"||r===6&&v==='"')return n++,c="\\"+v,g[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&y())){if(u=mj(s),h=ai[r],f=h[u]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(p=g[f[1]],p&&(c=s,p()===!1))))return;if(r===7)return t}}const Kb=new Map;function bj(e,t){return ot(e)?e[t]:null}function _j(e,t){if(!ot(e))return null;let n=Kb.get(t);if(n||(n=yj(t),n&&Kb.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=n[s];if(nS.includes(a)&&no(o)||!ot(o)||!vr(o,a))return null;const c=o[a];if(c===void 0||It(o))return null;o=c,s++}return o}const vj="11.4.7",xu=-1,Fa="en-US",Gc="",qb=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wj(){return{upper:(e,t)=>t==="text"&&ye(e)?e.toUpperCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ye(e)?e.toLowerCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ye(e)?qb(e):t==="vnode"&&ot(e)&&"__v_isVNode"in e?qb(e.children):e}}let rS;function Ej(e){rS=e}let oS;function Sj(e){oS=e}let iS;function Cj(e){iS=e}let sS=null;const kj=e=>{sS=e},Tj=()=>sS;let aS=null;const Yb=e=>{aS=e},xj=()=>aS;let Xb=0;function Oj(e={}){const t=It(e.onWarn)?e.onWarn:c$,n=ye(e.version)?e.version:vj,r=ye(e.locale)||It(e.locale)?e.locale:Fa,o=It(r)?Fa:r,s=jt(e.fallbackLocale)||et(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=et(e.messages)?e.messages:kd(o),c=et(e.datetimeFormats)?e.datetimeFormats:kd(o),u=et(e.numberFormats)?e.numberFormats:kd(o),f=Kt(vt(),e.modifiers,wj()),p=e.pluralRules||vt(),h=It(e.missing)?e.missing:null,g=rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,v=!!e.fallbackFormat,_=!!e.unresolving,O=It(e.postTranslation)?e.postTranslation:null,S=et(e.processor)?e.processor:null,w=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,E=It(e.messageCompiler)?e.messageCompiler:rS,I=It(e.messageResolver)?e.messageResolver:oS||bj,x=It(e.localeFallbacker)?e.localeFallbacker:iS||cj,P=ot(e.fallbackContext)?e.fallbackContext:void 0,T=e,N=ot(T.__datetimeFormatters)?T.__datetimeFormatters:new Map,G=ot(T.__numberFormatters)?T.__numberFormatters:new Map,K=ot(T.__meta)?T.__meta:{};Xb++;const ne={version:n,cid:Xb,locale:r,fallbackLocale:s,messages:a,modifiers:f,pluralRules:p,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:v,unresolving:_,postTranslation:O,processor:S,warnHtmlMessage:w,escapeParameter:A,messageCompiler:E,messageResolver:I,localeFallbacker:x,fallbackContext:P,onWarn:t,__meta:K};return ne.datetimeFormats=c,ne.numberFormats=u,ne.__datetimeFormatters=N,ne.__numberFormatters=G,__INTLIFY_PROD_DEVTOOLS__&&ij(ne,n,K),ne}const kd=e=>({[e]:vt()});function Hh(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const c=s(e,n,t,o);return ye(c)?c:t}else return t}function oa(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Aj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Rj(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Aj(e,t[r]))return!0;return!1}function Jb(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:c}=e;if(!ye(t[0])&&!G0(t[0])&&!Gt(t[0]))return Gc;const[u,f,p,h]=Ip(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,v=Wh(e,p),_=a(e,o,v);if(!ye(u)||u===""){const x=new Intl.DateTimeFormat(v.replace(/!/g,""),h);return y?x.formatToParts(f):x.format(f)}let O={},S,w=null;const A="datetime format";for(let x=0;x<_.length&&(S=_[x],O=n[S]||{},w=O[u],!et(w));x++)Hh(e,u,S,g,A);if(!et(w)||!ye(S))return r?xu:u;let E=`${S}__${u}`;ku(h)||(E=`${E}__${JSON.stringify(h)}`);let I=c.get(E);return I||(I=new Intl.DateTimeFormat(S,Kt({},w,h)),c.set(E,I)),y?I.formatToParts(f):I.format(f)}const lS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ip(...e){const[t,n,r,o]=e,s=vt();let a=vt(),c;if(ye(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw To(ko.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();c=new Date(f);try{c.toISOString()}catch{throw To(ko.INVALID_ISO_DATE_ARGUMENT)}}else if(G0(t)){if(isNaN(t.getTime()))throw To(ko.INVALID_DATE_ARGUMENT);c=t}else if(Gt(t))c=t;else throw To(ko.INVALID_ARGUMENT);return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{lS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function Qb(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Zb(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:c}=e;if(!Gt(t[0]))return Gc;const[u,f,p,h]=Lp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,v=Wh(e,p),_=a(e,o,v);if(!ye(u)||u===""){const x=new Intl.NumberFormat(v.replace(/!/g,""),h);return y?x.formatToParts(f):x.format(f)}let O={},S,w=null;const A="number format";for(let x=0;x<_.length&&(S=_[x],O=n[S]||{},w=O[u],!et(w));x++)Hh(e,u,S,g,A);if(!et(w)||!ye(S))return r?xu:u;let E=`${S}__${u}`;ku(h)||(E=`${E}__${JSON.stringify(h)}`);let I=c.get(E);return I||(I=new Intl.NumberFormat(S,Kt({},w,h)),c.set(E,I)),y?I.formatToParts(f):I.format(f)}const cS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Lp(...e){const[t,n,r,o]=e,s=vt();let a=vt();if(!Gt(t))throw To(ko.INVALID_ARGUMENT);const c=t;return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{cS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function e_(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Pj=e=>e,Ij=e=>"",Lj="text",Mj=e=>e.length===0?"":Uh(e),Nj=v$;function Td(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Dj(e){const t=Gt(e.pluralIndex)?e.pluralIndex:-1;return Gt(e.named?.count)?e.named.count:Gt(e.named?.n)?e.named.n:t}function Fj(e={}){const t=e.locale,n=Dj(e),r=ye(t)&&It(e.pluralRules?.[t])?e.pluralRules[t]:Td,o=r===Td?void 0:Td,s=S=>S[r(n,S.length,o)],a=e.list||[],c=S=>a[S],u=e.named||vt();Gt(e.pluralIndex)&&(u.count||=e.pluralIndex,u.n||=e.pluralIndex);const f=S=>u[S];function p(S,w){const A=It(e.messages)?e.messages(S,!!w):ot(e.messages)?e.messages[S]:!1;return A||(e.parent?e.parent.message(S):Ij)}const h=S=>e.modifiers?e.modifiers[S]:Pj,g=It(e.processor?.normalize)?e.processor.normalize:Mj,y=It(e.processor?.interpolate)?e.processor.interpolate:Nj,v=ye(e.processor?.type)?e.processor.type:Lj,O={list:c,named:f,plural:s,linked:(S,...w)=>{const[A,E]=w;let I="text",x="";w.length===1?ot(A)?(x=A.modifier||x,I=A.type||I):ye(A)&&(x=A||x):w.length===2&&(ye(A)&&(x=A||x),ye(E)&&(I=E||I));const P=p(S,!0)(O),T=P===""||P===void 0?S:P,N=I==="vnode"&&jt(T)&&x?T[0]:T;return x?h(x)(N,I):N},message:p,type:v,interpolate:y,normalize:g,values:Kt(vt(),a,u)};return O}const t_=()=>"",_r=e=>It(e);function n_(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:c}=e,[u,f]=Mp(...t),p=rt(f.missingWarn)?f.missingWarn:e.missingWarn,h=rt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=rt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,y=!!f.resolvedMessage,v=ye(f.default)||rt(f.default)?rt(f.default)?s?u:()=>u:f.default:n?s?u:()=>u:null,_=n||v!=null&&(ye(v)||It(v)),O=Wh(e,f);g&&$j(f);let[S,w,A]=y?[u,O,c[O]||vt()]:uS(e,u,O,a,h,p),E=S,I=u;if(!y&&!(ye(E)||no(E)||_r(E))&&_&&(E=v,I=E),!y&&(!(ye(E)||no(E)||_r(E))||!ye(w)))return o?xu:u;let x=!1;const P=()=>{x=!0},T=_r(E)?E:fS(e,u,w,E,I,P);if(x)return E;const N=zj(e,w,A,f),G=Fj(N),K=jj(e,T,G);let ne=r?r(K,u):K;if(g&&ye(ne)&&(ne=y$(ne)),__INTLIFY_PROD_DEVTOOLS__){const le={timestamp:Date.now(),key:ye(u)?u:_r(E)?E.key:"",locale:w||(_r(E)?E.locale:""),format:ye(E)?E:_r(E)?E.source:"",message:ne};le.meta=Kt({},e.__meta,Tj()||{}),sj(le)}return ne}function $j(e){jt(e.list)?e.list=e.list.map(t=>ye(t)?jb(t):t):ot(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=jb(e.named[t]))})}function uS(e,t,n,r,o,s){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:f}=e,p=f(e,r,n);let h=vt(),g,y=null;const v="translate";for(let _=0;_<p.length&&(g=p[_],h=a[g]||vt(),(y=u(h,t))===null&&(y=h[t]),!(ye(y)||no(y)||_r(y)));_++)if(!Rj(g,p)){const O=Hh(e,t,g,s,v);O!==t&&(y=O)}return[y,g,h]}function fS(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:c}=e;if(_r(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const u=a(r,Uj(e,n,o,r,c,s));return u.locale=n,u.key=t,u.source=r,u}function jj(e,t,n){return t(n)}function Mp(...e){const[t,n,r]=e,o=vt();if(!ye(t)&&!Gt(t)&&!_r(t)&&!no(t))throw To(ko.INVALID_ARGUMENT);const s=Gt(t)?String(t):(_r(t),t);return Gt(n)?o.plural=n:ye(n)?o.default=n:et(n)&&!ku(n)?o.named=n:jt(n)&&(o.list=n),Gt(r)?o.plural=r:ye(r)?o.default=r:et(r)&&Kt(o,r),[s,o]}function Uj(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>u$(t,n,a)}}function zj(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:f,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:s,messages:(y,v)=>{let _=a(n,y);if(_==null&&(p||v)){const[O,,S]=uS(p||e,y,t,c,u,f);_=O??a(S,y)}if(ye(_)||no(_)){let O=!1;const w=fS(e,y,t,_,y,()=>{O=!0});return O?t_:w}else return _r(_)?_:t_}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),Gt(r.plural)&&(g.pluralIndex=r.plural),g}K$();const Bj="11.4.7";function Wj(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Si().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Si().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mn={UNEXPECTED_RETURN_TYPE:lj,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Wn(e,...t){return Tu(e,null,void 0)}const Np=ii("__translateVNode"),Dp=ii("__datetimeParts"),Fp=ii("__numberParts"),dS=ii("__setPluralRules"),pS=ii("__injectWithOption"),ms=ii("__dispose");function $a(e){if(!ot(e)||no(e))return e;for(const t in e)if(vr(e,t))if(!t.includes("."))ot(e[t])&&$a(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=vt()),!ot(o[n[a]])){s=!0;break}o=o[n[a]]}if(s||(no(o)?nS.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!no(o)){const a=o[n[r]];ot(a)&&$a(a)}}return e}function Vh(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=et(n)?n:jt(r)?vt():{[e]:vt()};if(jt(r)&&r.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:u,resource:f}=c;u?(a[u]=a[u]||vt(),_c(f,a[u])):_c(f,a)}else ye(c)&&_c(JSON.parse(c),a)}),o==null&&s)for(const c in a)vr(a,c)&&$a(a[c]);return a}function hS(e){return e.type}function mS(e,t,n){let r=ot(t.messages)?t.messages:vt();"__i18nGlobal"in n&&(r=Vh(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function r_(e){return Vt(Ya,null,e,0)}function ja(){return ar()}const o_="__INTLIFY_META__",i_=()=>[],Hj=()=>!1;let s_=0;function a_(e){return((t,n,r,o)=>e(n,r,ja()||void 0,o))}const Vj=()=>{const e=ja();let t=null;return e&&(t=hS(e)[o_])?{[o_]:t}:null};function Kc(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Vc?Re:Ln;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const c=s(t&&a?t.locale.value:ye(e.locale)?e.locale:Fa),u=s(t&&a?t.fallbackLocale.value:ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(Vh(c.value,e)),p=s(et(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=s(et(e.numberFormats)?e.numberFormats:{[c.value]:{}});let g=t?t.missingWarn:rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=t?t.fallbackWarn:rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,v=t?t.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,O=It(e.missing)?e.missing:null,S=It(e.missing)?a_(e.missing):null,w=It(e.postTranslation)?e.postTranslation:null,A=t?t.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const I=t?t.modifiers:et(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,P;P=(()=>{r&&Yb(null);const U={version:Bj,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:I,pluralRules:x,missing:S===null?void 0:S,missingWarn:g,fallbackWarn:y,fallbackFormat:_,unresolving:!0,postTranslation:w===null?void 0:w,warnHtmlMessage:A,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=p.value,U.numberFormats=h.value,U.__datetimeFormatters=et(P)?P.__datetimeFormatters:void 0,U.__numberFormatters=et(P)?P.__numberFormatters:void 0;const X=Oj(U);return r&&Yb(X),X})(),oa(P,c.value,u.value);function N(){return[c.value,u.value,f.value,p.value,h.value]}const G=ue({get:()=>c.value,set:U=>{P.locale=U,c.value=U}}),K=ue({get:()=>u.value,set:U=>{P.fallbackLocale=U,u.value=U,oa(P,c.value,U)}}),ne=ue(()=>f.value),le=ue(()=>p.value),z=ue(()=>h.value);function te(){return It(w)?w:null}function oe(U){w=U,P.postTranslation=U}function he(){return O}function Se(U){U!==null&&(S=a_(U)),O=U,P.missing=S}const Ve=(U,X,be,ke,$e,Xe)=>{N();let Ze;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=t?xj():void 0),Ze=U(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(be!=="translate exists"&&Gt(Ze)&&Ze===xu||be==="translate exists"&&!Ze){const[pn,Tn]=X();return t&&v?ke(t):$e(pn)}else{if(Xe(Ze))return Ze;throw Wn(Mn.UNEXPECTED_RETURN_TYPE)}};function rn(...U){return Ve(X=>Reflect.apply(n_,null,[X,...U]),()=>Mp(...U),"translate",X=>Reflect.apply(X.t,X,[...U]),X=>X,X=>ye(X))}function tt(...U){const[X,be,ke]=U;if(ke&&!ot(ke))throw Wn(Mn.INVALID_ARGUMENT);return rn(X,be,Kt({resolvedMessage:!0},ke||{}))}function Ge(...U){return Ve(X=>Reflect.apply(Jb,null,[X,...U]),()=>Ip(...U),"datetime format",X=>Reflect.apply(X.d,X,[...U]),()=>Gc,X=>ye(X)||jt(X))}function dn(...U){return Ve(X=>Reflect.apply(Zb,null,[X,...U]),()=>Lp(...U),"number format",X=>Reflect.apply(X.n,X,[...U]),()=>Gc,X=>ye(X)||jt(X))}function on(U){return U.map(X=>ye(X)||Gt(X)||rt(X)?r_(String(X)):X)}const Mt={normalize:on,interpolate:U=>U,type:"vnode"};function ee(...U){return Ve(X=>{let be;const ke=X;try{ke.processor=Mt,be=Reflect.apply(n_,null,[ke,...U])}finally{ke.processor=null}return be},()=>Mp(...U),"translate",X=>X[Np](...U),X=>[r_(X)],X=>jt(X))}function ge(...U){return Ve(X=>Reflect.apply(Zb,null,[X,...U]),()=>Lp(...U),"number format",X=>X[Fp](...U),i_,X=>ye(X)||jt(X))}function pe(...U){return Ve(X=>Reflect.apply(Jb,null,[X,...U]),()=>Ip(...U),"datetime format",X=>X[Dp](...U),i_,X=>ye(X)||jt(X))}function we(U){x=U,P.pluralRules=x}function ze(U,X){return Ve(()=>{if(!U)return!1;const be=ye(X)?X:c.value,ke=ye(X)?[be]:Pp(P,u.value,be);for(let $e=0;$e<ke.length;$e++){const Xe=V(ke[$e]);let Ze=P.messageResolver(Xe,U);if(Ze===null&&(Ze=Xe[U]),no(Ze)||_r(Ze)||ye(Ze))return!0}return!1},()=>[U],"translate exists",be=>Reflect.apply(be.te,be,[U,X]),Hj,be=>rt(be))}function M(U){let X=null;const be=Pp(P,u.value,c.value);for(let ke=0;ke<be.length;ke++){const $e=f.value[be[ke]]||{},Xe=P.messageResolver($e,U);if(Xe!=null){X=Xe;break}}return X}function F(U){const X=M(U);return X??(t?t.tm(U)||{}:{})}function V(U){return f.value[U]||{}}function J(U,X){if(o){const be={[U]:X};for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U]}f.value[U]=X,P.messages=f.value}function re(U,X){f.value[U]=f.value[U]||{};const be={[U]:X};if(o)for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U],_c(X,f.value[U]),P.messages=f.value}function Q(U){return p.value[U]||{}}function R(U,X){p.value[U]=X,P.datetimeFormats=p.value,Qb(P,U,X)}function L(U,X){p.value[U]=Kt(p.value[U]||{},X),P.datetimeFormats=p.value,Qb(P,U,X)}function j(U){return h.value[U]||{}}function W(U,X){h.value[U]=X,P.numberFormats=h.value,e_(P,U,X)}function fe(U,X){h.value[U]=Kt(h.value[U]||{},X),P.numberFormats=h.value,e_(P,U,X)}s_++,t&&Vc&&(gt(t.locale,U=>{a&&(c.value=U,P.locale=U,oa(P,c.value,u.value))}),gt(t.fallbackLocale,U=>{a&&(u.value=U,P.fallbackLocale=U,oa(P,c.value,u.value))}));const se={id:s_,locale:G,fallbackLocale:K,get inheritLocale(){return a},set inheritLocale(U){a=U,U&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,oa(P,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ne,get modifiers(){return I},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(U){g=U,P.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(U){y=U,P.fallbackWarn=y},get fallbackRoot(){return v},set fallbackRoot(U){v=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,P.fallbackFormat=_},get warnHtmlMessage(){return A},set warnHtmlMessage(U){A=U,P.warnHtmlMessage=U},get escapeParameter(){return E},set escapeParameter(U){E=U,P.escapeParameter=U},t:rn,getLocaleMessage:V,setLocaleMessage:J,mergeLocaleMessage:re,getPostTranslationHandler:te,setPostTranslationHandler:oe,getMissingHandler:he,setMissingHandler:Se,[dS]:we};return se.datetimeFormats=le,se.numberFormats=z,se.rt=tt,se.te=ze,se.tm=F,se.d=Ge,se.n=dn,se.getDateTimeFormat=Q,se.setDateTimeFormat=R,se.mergeDateTimeFormat=L,se.getNumberFormat=j,se.setNumberFormat=W,se.mergeNumberFormat=fe,se[pS]=n,se[Np]=ee,se[Dp]=pe,se[Fp]=ge,se}function Gj(e){const t=ye(e.locale)?e.locale:Fa,n=ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=It(e.missing)?e.missing:void 0,o=rt(e.silentTranslationWarn)||Ts(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=rt(e.silentFallbackWarn)||Ts(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=rt(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,u=et(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,p=It(e.postTranslation)?e.postTranslation:void 0,h=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,y=rt(e.sync)?e.sync:!0;let v=e.messages;if(et(e.sharedMessages)){const I=e.sharedMessages;v=Object.keys(I).reduce((P,T)=>{const N=P[T]||(P[T]={});return Kt(N,I[T]),P},v||{})}const{__i18n:_,__root:O,__injectWithOption:S}=e,w=e.datetimeFormats,A=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:n,messages:v,flatJson:E,datetimeFormats:w,numberFormats:A,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:f,postTranslation:p,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:y,__i18n:_,__root:O,__injectWithOption:S}}function $p(e={}){const t=Kc(Gj(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return rt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=rt(o)?!o:o},get silentFallbackWarn(){return rt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=rt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function Kj(e,t,n){return{beforeCreate(){const r=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=l_(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=$p(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=l_(e,o);else{this.$i18n=$p({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&mS(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,a)=>this.$i18n.te(s,a),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=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o?.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n)}}}function l_(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[dS](t.pluralizationRules||e.pluralizationRules);const n=Vh(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 Gh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function qj({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ht?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},vt())}function gS(){return Ht}const Yj=Lt({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},Gh),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Di({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const u=Object.keys(n).filter(h=>h[0]!=="_"),f=vt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=ye(e.plural)?+e.plural:e.plural);const p=qj(t,u);return o[Np](e.keypath,p,f)},a=Kt(vt(),r),c=ye(e.tag)||ot(e.tag)?e.tag:gS();return ot(c)?ri(c,a,{default:s}):ri(c,a,s())}}}),c_=Yj;function Xj(e){return jt(e)&&!ye(e[0])}function yS(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a=()=>{const f={part:!0};let p=vt();e.locale&&(f.locale=e.locale),ye(e.format)?f.key=e.format:ot(e.format)&&(ye(e.format.key)&&(f.key=e.format.key),p=Object.keys(e.format).reduce((y,v)=>n.includes(v)?Kt(vt(),y,{[v]:e.format[v]}):y,vt()));const h=r(e.value,f,p);let g=[f.key];return jt(h)?g=h.map((y,v)=>{const _=o[y.type],O=_?_({[y.type]:y.value,index:v,parts:h}):[y.value];return Xj(O)&&(O[0].key=`${y.type}-${v}`),O}):ye(h)&&(g=[h]),g},c=Kt(vt(),s),u=ye(e.tag)||ot(e.tag)?e.tag:gS();return ot(u)?ri(u,c,{default:a}):ri(u,c,a())}}const Jj=Lt({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Gh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return yS(e,t,cS,(...r)=>n[Fp](...r))}}),u_=Jj;function Qj(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 Zj(e){const t=a=>{const{instance:c,value:u}=a;if(!c||!c.$)throw Wn(Mn.UNEXPECTED_ERROR);const f=Qj(e,c.$),p=f_(u);return[Reflect.apply(f.t,f,[...d_(p)]),f]};return{created:(a,c)=>{const[u,f]=t(c);Vc&&(a.__i18nWatcher=gt(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),a.__composer=f,a.textContent=u},unmounted:a=>{Vc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:c})=>{if(a.__composer){const u=a.__composer,f=f_(c);a.textContent=Reflect.apply(u.t,u,[...d_(f)])}},getSSRProps:a=>{const[c]=t(a);return{textContent:c}}}}function f_(e){if(ye(e))return{path:e};if(et(e)){if(!("path"in e))throw Wn(Mn.REQUIRED_VALUE,"path");return e}else throw Wn(Mn.INVALID_VALUE)}function d_(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},c=r||{};return ye(n)&&(a.locale=n),Gt(o)&&(a.plural=o),Gt(s)&&(a.plural=s),[t,c,a]}function eU(e,t,...n){const r=et(n[0])?n[0]:{};(!rt(r.globalInstall)||r.globalInstall)&&([c_.name,"I18nT"].forEach(s=>e.component(s,c_)),[u_.name,"I18nN"].forEach(s=>e.component(s,u_)),[m_.name,"I18nD"].forEach(s=>e.component(s,m_))),e.directive("t",Zj(t))}const tU=ii("global-vue-i18n");function nU(e={}){const t=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=rt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=rU(e,t),a=ii("");function c(h){return r.get(h)||null}function u(h,g){r.set(h,g)}function f(h){r.delete(h)}const p={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...g){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,p),et(g[0])){const _=g[0];p.__composerExtend=_.__composerExtend,p.__vueI18nExtend=_.__vueI18nExtend}let y=null;!t&&n&&(y=uU(h,p.global)),__VUE_I18N_FULL_INSTALL__&&eU(h,p,...g),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Kj(s,s.__composer,p));const v=h.unmount;h.unmount=()=>{y&&y(),p.dispose(),v()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return p}function Di(e={}){const t=ja();if(t==null)throw Wn(Mn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Mn.NOT_INSTALLED);const n=oU(t),r=sU(n),o=hS(t),s=iU(e,o);if(s==="global")return mS(r,e,o),r;if(s==="parent"){let u=p_(n,t,e.__useComponent);return u==null&&(u=r),u}if(s==="isolated"){if(n.mode!=="composition")throw Wn(Mn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=n,f=Kt({},e),p=p_(n,t);f.__root=p||r;const h=Kc(f);return u.__composerExtend&&(h[ms]=u.__composerExtend(h)),Va()&&kh(()=>{const y=h[ms];y&&(y(),delete h[ms])}),h}const a=n;let c=a.__getInstance(t);if(c==null){const u=Kt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),c=Kc(u),a.__composerExtend&&(c[ms]=a.__composerExtend(c)),lU(a,t,c),a.__setInstance(t,c)}return c}function rU(e,t){const n=Ch(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>$p(e)):n.run(()=>Kc(e));if(r==null)throw Wn(Mn.UNEXPECTED_ERROR);return[n,r]}function oU(e){const t=En(e.isCE?tU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Mn.NOT_INSTALLED_WITH_PROVIDE:Mn.UNEXPECTED_ERROR);return t}function iU(e,t){return ku(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function sU(e){return e.mode==="composition"?e.global:e.global.__composer}function p_(e,t,n=!1){let r=null;const o=t.root;let s=aU(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=a.__getInstance(s);c!=null&&(r=c.__composer,n&&r&&!r[pS]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function aU(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function lU(e,t,n){Er(()=>{},t),Ds(()=>{const r=n;e.__deleteInstance(t);const o=r[ms];o&&(o(),delete r[ms])},t)}const cU=["locale","fallbackLocale","availableLocales"],h_=["t","rt","d","n","tm","te"];function uU(e,t){const n=Object.create(null);return cU.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Wn(Mn.UNEXPECTED_ERROR);const a=Rt(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,h_.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Wn(Mn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,h_.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const fU=Lt({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return yS(e,t,lS,(...r)=>n[Dp](...r))}}),m_=fU;Wj();Ej(rj);Sj(_j);Cj(Pp);if(__INTLIFY_PROD_DEVTOOLS__){const e=Si();e.__INTLIFY__=!0,oj(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const dU=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=oo(),o=$s(),{messageListener:s,sendMessageToTop:a}=js(),{addListener:c}=s(),u=Re([]),f=t?Qe.SETTING_DATA_LEAF_SET:Qe.SETTING_DATA_SET,p=t?Qe.SETTING_DATA_LEAF_GET:Qe.SETTING_DATA_GET;return c(f,h=>{u.value=h}),a(p,n,o,r),{depsSetting:u}},bS=Symbol("depsSetting"),pU={class:"app-container"},hU=Lt({__name:"App",setup(e){const{locale:t}=Di(),n=cD(),r=qN(n),{params:{compId:o="",instanceUid:s}}=oo(),{messageListener:a,sendMessageToTop:c}=js(),{addListener:u}=a(),f=$s(),{depsSetting:p}=dU(!1,!0),h=ue(()=>p.value.length>0);return Ti(bS,p),u(Qe.THEME_CHANGE_SET,g=>{r(g.isDark??!1)}),u(Qe.LOCALE_SET,g=>{t.value=g}),c(Qe.LOCALE_GET,o,f,s),c(Qe.THEME_CHANGE_GET,o,f,s),Er(()=>{const g=document.getElementById("loadingContainer");g&&g.remove()}),(g,y)=>{const v=Lh("router-view");return Ce(),pt("div",pU,[h.value?(Ce(),_t(v,{key:0})):Mr("",!0)])}}}),Sr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},mU=Sr(hU,[["__scopeId","data-v-3ece2a62"]]),ec=window.parent,g_=["postMessage",ve.VUE2_SFC_LOADER_KEY,ve.VUE3_SFC_LOADER_KEY,ve.REACT_JSX_LOADER_KEY];let tc=null;function gU(){return tc||(tc=new Proxy(ec,{get(e,t){if(g_.includes(String(t)))return t==="postMessage"?ec.postMessage.bind(ec):Reflect.get(ec,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return g_.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),tc)}Object.defineProperty(window,"parent",{get(){return gU()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});function _S(e,t){return function(){return e.apply(t,arguments)}}const{toString:yU}=Object.prototype,{getPrototypeOf:Ou}=Object,{iterator:Au,toStringTag:vS}=Symbol,Ru=(e=>t=>{const n=yU.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),zr=e=>(e=e.toLowerCase(),t=>Ru(t)===e),Pu=e=>t=>typeof t===e,{isArray:Us}=Array,Os=Pu("undefined");function Ja(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&Hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wS=zr("ArrayBuffer");function bU(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wS(e.buffer),t}const _U=Pu("string"),Hn=Pu("function"),ES=Pu("number"),Qa=e=>e!==null&&typeof e=="object",vU=e=>e===!0||e===!1,vc=e=>{if(Ru(e)!=="object")return!1;const t=Ou(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vS in e)&&!(Au in e)},wU=e=>{if(!Qa(e)||Ja(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},EU=zr("Date"),SU=zr("File"),CU=e=>!!(e&&typeof e.uri<"u"),kU=e=>e&&typeof e.getParts<"u",TU=zr("Blob"),xU=zr("FileList"),OU=e=>Qa(e)&&Hn(e.pipe);function AU(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const y_=AU(),b_=typeof y_.FormData<"u"?y_.FormData:void 0,RU=e=>{if(!e)return!1;if(b_&&e instanceof b_)return!0;const t=Ou(e);if(!t||t===Object.prototype||!Hn(e.append))return!1;const n=Ru(e);return n==="formdata"||n==="object"&&Hn(e.toString)&&e.toString()==="[object FormData]"},PU=zr("URLSearchParams"),[IU,LU,MU,NU]=["ReadableStream","Request","Response","Headers"].map(zr),DU=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Za(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Us(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Ja(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let c;for(r=0;r<a;r++)c=s[r],t.call(null,e[c],c,e)}}function SS(e,t){if(Ja(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ci=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,CS=e=>!Os(e)&&e!==Ci;function jp(){const{caseless:e,skipUndefined:t}=CS(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&SS(n,s)||s;vc(n[a])&&vc(o)?n[a]=jp(n[a],o):vc(o)?n[a]=jp({},o):Us(o)?n[a]=o.slice():(!t||!Os(o))&&(n[a]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Za(arguments[o],r);return n}const FU=(e,t,n,{allOwnKeys:r}={})=>(Za(t,(o,s)=>{n&&Hn(o)?Object.defineProperty(e,s,{value:_S(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),$U=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jU=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},UU=(e,t,n,r)=>{let o,s,a;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&Ou(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zU=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},BU=e=>{if(!e)return null;if(Us(e))return e;let t=e.length;if(!ES(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},WU=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ou(Uint8Array)),HU=(e,t)=>{const n=(e&&e[Au]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},VU=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},GU=zr("HTMLFormElement"),KU=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),__=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qU=zr("RegExp"),kS=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Za(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},YU=e=>{kS(e,(t,n)=>{if(Hn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Hn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XU=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Us(e)?r(e):r(String(e).split(t)),n},JU=()=>{},QU=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ZU(e){return!!(e&&Hn(e.append)&&e[vS]==="FormData"&&e[Au])}const e2=e=>{const t=new Array(10),n=(r,o)=>{if(Qa(r)){if(t.indexOf(r)>=0)return;if(Ja(r))return r;if(!("toJSON"in r)){t[o]=r;const s=Us(r)?[]:{};return Za(r,(a,c)=>{const u=n(a,o+1);!Os(u)&&(s[c]=u)}),t[o]=void 0,s}}return r};return n(e,0)},t2=zr("AsyncFunction"),n2=e=>e&&(Qa(e)||Hn(e))&&Hn(e.then)&&Hn(e.catch),TS=((e,t)=>e?setImmediate:t?((n,r)=>(Ci.addEventListener("message",({source:o,data:s})=>{o===Ci&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ci.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Hn(Ci.postMessage)),r2=typeof queueMicrotask<"u"?queueMicrotask.bind(Ci):typeof process<"u"&&process.nextTick||TS,o2=e=>e!=null&&Hn(e[Au]),q={isArray:Us,isArrayBuffer:wS,isBuffer:Ja,isFormData:RU,isArrayBufferView:bU,isString:_U,isNumber:ES,isBoolean:vU,isObject:Qa,isPlainObject:vc,isEmptyObject:wU,isReadableStream:IU,isRequest:LU,isResponse:MU,isHeaders:NU,isUndefined:Os,isDate:EU,isFile:SU,isReactNativeBlob:CU,isReactNative:kU,isBlob:TU,isRegExp:qU,isFunction:Hn,isStream:OU,isURLSearchParams:PU,isTypedArray:WU,isFileList:xU,forEach:Za,merge:jp,extend:FU,trim:DU,stripBOM:$U,inherits:jU,toFlatObject:UU,kindOf:Ru,kindOfTest:zr,endsWith:zU,toArray:BU,forEachEntry:HU,matchAll:VU,isHTMLForm:GU,hasOwnProperty:__,hasOwnProp:__,reduceDescriptors:kS,freezeMethods:YU,toObjectSet:XU,toCamelCase:KU,noop:JU,toFiniteNumber:QU,findKey:SS,global:Ci,isContextDefined:CS,isSpecCompliantForm:ZU,toJSONObject:e2,isAsyncFn:t2,isThenable:n2,setImmediate:TS,asap:r2,isIterable:o2};let Oe=class xS extends Error{static from(t,n,r,o,s,a){const c=new xS(t.message,n||t.code,r,o,s);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),a&&Object.assign(c,a),c}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}};Oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oe.ERR_BAD_OPTION="ERR_BAD_OPTION";Oe.ECONNABORTED="ECONNABORTED";Oe.ETIMEDOUT="ETIMEDOUT";Oe.ERR_NETWORK="ERR_NETWORK";Oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oe.ERR_DEPRECATED="ERR_DEPRECATED";Oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oe.ERR_CANCELED="ERR_CANCELED";Oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oe.ERR_INVALID_URL="ERR_INVALID_URL";Oe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const i2=null;function Up(e){return q.isPlainObject(e)||q.isArray(e)}function OS(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function xd(e,t,n){return e?e.concat(t).map(function(r,o){return r=OS(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function s2(e){return q.isArray(e)&&!e.some(Up)}const a2=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Iu(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,O){return!q.isUndefined(O[_])});const r=n.metaTokens,o=n.visitor||h,s=n.dots,a=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,f=c&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function p(_){if(_===null)return"";if(q.isDate(_))return _.toISOString();if(q.isBoolean(_))return _.toString();if(!f&&q.isBlob(_))throw new Oe("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(_)||q.isTypedArray(_)?f&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function h(_,O,S){let w=_;if(q.isReactNative(t)&&q.isReactNativeBlob(_))return t.append(xd(S,O,s),p(_)),!1;if(_&&!S&&typeof _=="object"){if(q.endsWith(O,"{}"))O=r?O:O.slice(0,-2),_=JSON.stringify(_);else if(q.isArray(_)&&s2(_)||(q.isFileList(_)||q.endsWith(O,"[]"))&&(w=q.toArray(_)))return O=OS(O),w.forEach(function(A,E){!(q.isUndefined(A)||A===null)&&t.append(a===!0?xd([O],E,s):a===null?O:O+"[]",p(A))}),!1}return Up(_)?!0:(t.append(xd(S,O,s),p(_)),!1)}const g=[],y=Object.assign(a2,{defaultVisitor:h,convertValue:p,isVisitable:Up});function v(_,O,S=0){if(!q.isUndefined(_)){if(S>u)throw new Oe("Object is too deeply nested ("+S+" levels). Max depth: "+u,Oe.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(_)!==-1)throw Error("Circular reference detected in "+O.join("."));g.push(_),q.forEach(_,function(w,A){(!(q.isUndefined(w)||w===null)&&o.call(t,w,q.isString(A)?A.trim():A,O,y))===!0&&v(w,O?O.concat(A):[A],S+1)}),g.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return v(e),t}function v_(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Kh(e,t){this._pairs=[],e&&Iu(e,this,t)}const AS=Kh.prototype;AS.append=function(e,t){this._pairs.push([e,t])};AS.toString=function(e){const t=e?function(n){return e.call(this,n,v_)}:v_;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function l2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function RS(e,t,n){if(!t)return e;const r=n&&n.encode||l2,o=q.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let a;if(s?a=s(t,o):a=q.isURLSearchParams(t)?t.toString():new Kh(t,o).toString(r),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class w_{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const qh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},c2=typeof URLSearchParams<"u"?URLSearchParams:Kh,u2=typeof FormData<"u"?FormData:null,f2=typeof Blob<"u"?Blob:null,d2={isBrowser:!0,classes:{URLSearchParams:c2,FormData:u2,Blob:f2},protocols:["http","https","file","blob","url","data"]},Yh=typeof window<"u"&&typeof document<"u",zp=typeof navigator=="object"&&navigator||void 0,p2=Yh&&(!zp||["ReactNative","NativeScript","NS"].indexOf(zp.product)<0),h2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",m2=Yh&&window.location.href||"http://localhost",g2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yh,hasStandardBrowserEnv:p2,hasStandardBrowserWebWorkerEnv:h2,navigator:zp,origin:m2},Symbol.toStringTag,{value:"Module"})),wn={...g2,...d2};function y2(e,t){return Iu(e,new wn.classes.URLSearchParams,{visitor:function(n,r,o,s){return wn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function b2(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _2(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function PS(e){function t(n,r,o,s){let a=n[s++];if(a==="__proto__")return!0;const c=Number.isFinite(+a),u=s>=n.length;return a=!a&&q.isArray(o)?o.length:a,u?(q.hasOwnProp(o,a)?o[a]=q.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!c):((!o[a]||!q.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&q.isArray(o[a])&&(o[a]=_2(o[a])),!c)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,o)=>{t(b2(r),o,n,0)}),n}return null}const ts=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function v2(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const el={transitional:qh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(PS(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=ts(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return y2(e,a).toString();if((s=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const c=ts(this,"env"),u=c&&c.FormData;return Iu(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),v2(e)):e}],transformResponse:[function(e){const t=ts(this,"transitional")||el.transitional,n=t&&t.forcedJSONParsing,r=ts(this,"responseType"),o=r==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,ts(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,ts(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{el.headers[e]={}});const w2=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),E2=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
4
|
-
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&w2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},
|
|
5
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const n=(this[E_]=this[E_]={accessors:{}}).accessors,r=this.prototype;function o(s){const a=ia(s);n[a]||(A2(r,s),n[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}};Vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Vn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Vn);function Ad(e,t){const n=this||el,r=t||n,o=Vn.from(r.headers);let s=r.data;return q.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function IS(e){return!!(e&&e.__CANCEL__)}let tl=class extends Oe{constructor(t,n,r){super(t??"canceled",Oe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function LS(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function R2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function P2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[s];a||(a=u),n[o]=c,r[o]=u;let p=s,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a<t)return;const g=f&&u-f;return g?Math.round(h*1e3/g):void 0}}function I2(e,t){let n=0,r=1e3/t,o,s;const a=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?a(c,u):(o=c,s||(s=setTimeout(()=>{s=null,a(o)},r-f)))},()=>o&&a(o)]}const qc=(e,t,n=3)=>{let r=0;const o=P2(50,250);return I2(s=>{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=c!=null?Math.min(a,c):a,f=Math.max(0,u-r),p=o(f);r=Math.max(r,u);const h={loaded:u,total:c,progress:c?u/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c?(c-u)/p:void 0,event:s,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},n)},S_=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},C_=e=>(...t)=>q.asap(()=>e(...t)),L2=wn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,M2=wn.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&c.push(`path=${r}`),q.isString(o)&&c.push(`domain=${o}`),s===!0&&c.push("secure"),q.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function N2(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function D2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function MS(e,t,n){let r=!N2(t);return e&&(r||n===!1)?D2(e,t):t}const k_=e=>e instanceof Vn?{...e}:e;function Li(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(f,p,h,g){return q.isPlainObject(f)&&q.isPlainObject(p)?q.merge.call({caseless:g},f,p):q.isPlainObject(p)?q.merge({},p):q.isArray(p)?p.slice():p}function o(f,p,h,g){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f,h,g)}else return r(f,p,h,g)}function s(f,p){if(!q.isUndefined(p))return r(void 0,p)}function a(f,p){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f)}else return r(void 0,p)}function c(f,p,h){if(q.hasOwnProp(t,h))return r(f,p);if(q.hasOwnProp(e,h))return r(void 0,f)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:c,headers:(f,p,h)=>o(k_(f),k_(p),h,!0)};return q.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=q.hasOwnProp(u,f)?u[f]:o,h=q.hasOwnProp(e,f)?e[f]:void 0,g=q.hasOwnProp(t,f)?t[f]:void 0,y=p(h,g,f);q.isUndefined(y)&&p!==c||(n[f]=y)}),n}const NS=e=>{const t=Li({},e),n=g=>q.hasOwnProp(t,g)?t[g]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let c=n("headers");const u=n("auth"),f=n("baseURL"),p=n("allowAbsoluteUrls"),h=n("url");if(t.headers=c=Vn.from(c),t.url=RS(MS(f,h,p),e.params,e.paramsSerializer),u&&c.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(r)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(q.isFunction(r.getHeaders)){const g=r.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([v,_])=>{y.includes(v.toLowerCase())&&c.set(v,_)})}}if(wn.hasStandardBrowserEnv&&(q.isFunction(o)&&(o=o(t)),o===!0||o==null&&L2(t.url))){const g=s&&a&&M2.read(a);g&&c.set(s,g)}return t},F2=typeof XMLHttpRequest<"u",$2=F2&&function(e){return new Promise(function(t,n){const r=NS(e);let o=r.data;const s=Vn.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,f,p,h,g,y;function v(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(f),r.signal&&r.signal.removeEventListener("abort",f)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function O(){if(!_)return;const w=Vn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),A={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:w,config:e,request:_};LS(function(E){t(E),v()},function(E){n(E),v()},A),_=null}"onloadend"in _?_.onloadend=O:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(O)},_.onabort=function(){_&&(n(new Oe("Request aborted",Oe.ECONNABORTED,e,_)),_=null)},_.onerror=function(w){const A=w&&w.message?w.message:"Network Error",E=new Oe(A,Oe.ERR_NETWORK,e,_);E.event=w||null,n(E),_=null},_.ontimeout=function(){let w=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const A=r.transitional||qh;r.timeoutErrorMessage&&(w=r.timeoutErrorMessage),n(new Oe(w,A.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,_)),_=null},o===void 0&&s.setContentType(null),"setRequestHeader"in _&&q.forEach(s.toJSON(),function(w,A){_.setRequestHeader(A,w)}),q.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),a&&a!=="json"&&(_.responseType=r.responseType),u&&([h,y]=qc(u,!0),_.addEventListener("progress",h)),c&&_.upload&&([p,g]=qc(c),_.upload.addEventListener("progress",p),_.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(f=w=>{_&&(n(!w||w.type?new tl(null,e,_):w),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(f),r.signal&&(r.signal.aborted?f():r.signal.addEventListener("abort",f)));const S=R2(r.url);if(S&&wn.protocols.indexOf(S)===-1){n(new Oe("Unsupported protocol "+S+":",Oe.ERR_BAD_REQUEST,e));return}_.send(o||null)})},j2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(f){if(!o){o=!0,c();const p=f instanceof Error?f:this.reason;r.abort(p instanceof Oe?p:new tl(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{a=null,s(new Oe(`timeout of ${t}ms exceeded`,Oe.ETIMEDOUT))},t);const c=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),e=null)};e.forEach(f=>f.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>q.asap(c),u}},U2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},z2=async function*(e,t){for await(const n of B2(e))yield*U2(n,t)},B2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},T_=(e,t,n,r)=>{const o=z2(e,t);let s=0,a,c=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:p}=await o.next();if(f){c(),u.close();return}let h=p.byteLength;if(n){let g=s+=h;n(g)}u.enqueue(new Uint8Array(p))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},x_=64*1024,{isFunction:nc}=q,W2=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:O_,TextEncoder:A_}=q.global,R_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},H2=e=>{e=q.merge.call({skipUndefined:!0},W2,e);const{fetch:t,Request:n,Response:r}=e,o=t?nc(t):typeof fetch=="function",s=nc(n),a=nc(r);if(!o)return!1;const c=o&&nc(O_),u=o&&(typeof A_=="function"?(v=>_=>v.encode(_))(new A_):async v=>new Uint8Array(await new n(v).arrayBuffer())),f=s&&c&&R_(()=>{let v=!1;const _=new n(wn.origin,{body:new O_,method:"POST",get duplex(){return v=!0,"half"}}),O=_.headers.has("Content-Type");return _.body!=null&&_.body.cancel(),v&&!O}),p=a&&c&&R_(()=>q.isReadableStream(new r("").body)),h={stream:p&&(v=>v.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!h[v]&&(h[v]=(_,O)=>{let S=_&&_[v];if(S)return S.call(_);throw new Oe(`Response type '${v}' is not supported`,Oe.ERR_NOT_SUPPORT,O)})});const g=async v=>{if(v==null)return 0;if(q.isBlob(v))return v.size;if(q.isSpecCompliantForm(v))return(await new n(wn.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(q.isArrayBufferView(v)||q.isArrayBuffer(v))return v.byteLength;if(q.isURLSearchParams(v)&&(v=v+""),q.isString(v))return(await u(v)).byteLength},y=async(v,_)=>q.toFiniteNumber(v.getContentLength())??g(_);return async v=>{let{url:_,method:O,data:S,signal:w,cancelToken:A,timeout:E,onDownloadProgress:I,onUploadProgress:x,responseType:P,headers:T,withCredentials:N="same-origin",fetchOptions:G}=NS(v),K=t||fetch;P=P?(P+"").toLowerCase():"text";let ne=j2([w,A&&A.toAbortSignal()],E),le=null;const z=ne&&ne.unsubscribe&&(()=>{ne.unsubscribe()});let te;try{if(x&&f&&O!=="get"&&O!=="head"&&(te=await y(T,S))!==0){let tt=new n(_,{method:"POST",body:S,duplex:"half"}),Ge;if(q.isFormData(S)&&(Ge=tt.headers.get("content-type"))&&T.setContentType(Ge),tt.body){const[dn,on]=S_(te,qc(C_(x)));S=T_(tt.body,x_,dn,on)}}q.isString(N)||(N=N?"include":"omit");const oe=s&&"credentials"in n.prototype;if(q.isFormData(S)){const tt=T.getContentType();tt&&/^multipart\/form-data/i.test(tt)&&!/boundary=/i.test(tt)&&T.delete("content-type")}const he={...G,signal:ne,method:O.toUpperCase(),headers:T.normalize().toJSON(),body:S,duplex:"half",credentials:oe?N:void 0};le=s&&new n(_,he);let Se=await(s?K(le,G):K(_,he));const Ve=p&&(P==="stream"||P==="response");if(p&&(I||Ve&&z)){const tt={};["status","statusText","headers"].forEach(kn=>{tt[kn]=Se[kn]});const Ge=q.toFiniteNumber(Se.headers.get("content-length")),[dn,on]=I&&S_(Ge,qc(C_(I),!0))||[];Se=new r(T_(Se.body,x_,dn,()=>{on&&on(),z&&z()}),tt)}P=P||"text";let rn=await h[q.findKey(h,P)||"text"](Se,v);return!Ve&&z&&z(),await new Promise((tt,Ge)=>{LS(tt,Ge,{data:rn,headers:Vn.from(Se.headers),status:Se.status,statusText:Se.statusText,config:v,request:le})})}catch(oe){throw z&&z(),oe&&oe.name==="TypeError"&&/Load failed|fetch/i.test(oe.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,v,le,oe&&oe.response),{cause:oe.cause||oe}):Oe.from(oe,oe&&oe.code,v,le,oe&&oe.response)}}},V2=new Map,DS=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,c=a,u,f,p=V2;for(;c--;)u=s[c],f=p.get(u),f===void 0&&p.set(u,f=c?new Map:H2(t)),p=f;return f};DS();const Xh={http:i2,xhr:$2,fetch:{get:DS}};q.forEach(Xh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const P_=e=>`- ${e}`,G2=e=>q.isFunction(e)||e===null||e===!1;function K2(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a<n;a++){r=e[a];let c;if(o=r,!G2(r)&&(o=Xh[(c=String(r)).toLowerCase()],o===void 0))throw new Oe(`Unknown adapter '${c}'`);if(o&&(q.isFunction(o)||(o=o.get(t))))break;s[c||"#"+a]=o}if(!o){const a=Object.entries(s).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=n?a.length>1?`since :
|
|
6
|
-
`+a.map(
|
|
7
|
-
`):" "+
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function vh(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const bt={},bs=[],to=()=>{},Gw=()=>!1,au=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),lu=e=>e.startsWith("onUpdate:"),tn=Object.assign,wh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gI=Object.prototype.hasOwnProperty,dt=(e,t)=>gI.call(e,t),Le=Array.isArray,_s=e=>Ms(e)==="[object Map]",Kw=e=>Ms(e)==="[object Set]",ob=e=>Ms(e)==="[object Date]",yI=e=>Ms(e)==="[object RegExp]",Ne=e=>typeof e=="function",At=e=>typeof e=="string",ir=e=>typeof e=="symbol",ht=e=>e!==null&&typeof e=="object",qw=e=>(ht(e)||Ne(e))&&Ne(e.then)&&Ne(e.catch),Yw=Object.prototype.toString,Ms=e=>Yw.call(e),bI=e=>Ms(e).slice(8,-1),Xw=e=>Ms(e)==="[object Object]",cu=e=>At(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_a=vh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),uu=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},_I=/-\w/g,Ln=uu(e=>e.replace(_I,t=>t.slice(1).toUpperCase())),vI=/\B([A-Z])/g,Ni=uu(e=>e.replace(vI,"-$1").toLowerCase()),fu=uu(e=>e.charAt(0).toUpperCase()+e.slice(1)),yc=uu(e=>e?`on${fu(e)}`:""),Qr=(e,t)=>!Object.is(e,t),va=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Jw=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},wI=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ib;const du=()=>ib||(ib=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bn(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=At(r)?kI(r):Bn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(At(e)||ht(e))return e}const EI=/;(?![^(]*\))/g,SI=/:([^]+)/,CI=/\/\*[^]*?\*\//g;function kI(e){const t={};return e.replace(CI,"").split(EI).forEach(n=>{if(n){const r=n.split(SI);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Tt(e){let t="";if(At(e))t=e;else if(Le(e))for(let n=0;n<e.length;n++){const r=Tt(e[n]);r&&(t+=r+" ")}else if(ht(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ri(e){if(!e)return null;let{class:t,style:n}=e;return t&&!At(t)&&(e.class=Tt(t)),n&&(e.style=Bn(n)),e}const TI="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xI=vh(TI);function Qw(e){return!!e||e===""}function OI(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Eh(e[r],t[r]);return n}function Eh(e,t){if(e===t)return!0;let n=ob(e),r=ob(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ir(e),r=ir(t),n||r)return e===t;if(n=Le(e),r=Le(t),n||r)return n&&r?OI(e,t):!1;if(n=ht(e),r=ht(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const a in e){const c=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(c&&!u||!c&&u||!Eh(e[a],t[a]))return!1}}return String(e)===String(t)}const Zw=e=>!!(e&&e.__v_isRef===!0),Oo=e=>At(e)?e:e==null?"":Le(e)||ht(e)&&(e.toString===Yw||!Ne(e.toString))?Zw(e)?Oo(e.value):JSON.stringify(e,eE,2):String(e),eE=(e,t)=>Zw(t)?eE(e,t.value):_s(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[cd(r,s)+" =>"]=o,n),{})}:Kw(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cd(n))}:ir(t)?cd(t):ht(t)&&!Le(t)&&!Xw(t)?String(t):t,cd=(e,t="")=>{var n;return ir(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Xt;class tE{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Xt&&(Xt.active?(this.parent=Xt,this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const o=this.scopes.slice();for(t=0,n=o.length;t<n;t++)o[t].resume()}const r=this.effects.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}}run(t){if(this._active){const n=Xt;try{return Xt=this,t()}finally{Xt=n}}}on(){++this._on===1&&(this.prevScope=Xt,Xt=this)}off(){if(this._on>0&&--this._on===0){if(Xt===this)Xt=this.prevScope;else{let t=Xt;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const o=this.scopes.slice();for(n=0,r=o.length;n<r;n++)o[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Sh(e){return new tE(e)}function Va(){return Xt}function Ch(e,t=!1){Xt&&Xt.cleanups.push(e)}let Ct;const ud=new WeakSet;class nE{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xt&&(Xt.active?Xt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ud.has(this)&&(ud.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||oE(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,sb(this),iE(this);const t=Ct,n=Ir;Ct=this,Ir=!0;try{return this.fn()}finally{sE(this),Ct=t,Ir=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)xh(t);this.deps=this.depsTail=void 0,sb(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ud.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gp(this)&&this.run()}get dirty(){return gp(this)}}let rE=0,wa,Ea;function oE(e,t=!1){if(e.flags|=8,t){e.next=Ea,Ea=e;return}e.next=wa,wa=e}function kh(){rE++}function Th(){if(--rE>0)return;if(Ea){let t=Ea;for(Ea=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;wa;){let t=wa;for(wa=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function iE(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function sE(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),xh(r),AI(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function gp(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(aE(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function aE(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ra)||(e.globalVersion=Ra,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!gp(e))))return;e.flags|=2;const t=e.dep,n=Ct,r=Ir;Ct=e,Ir=!0;try{iE(e);const o=e.fn(e._value);(t.version===0||Qr(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ct=n,Ir=r,sE(e),e.flags&=-3}}function xh(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)xh(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function AI(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ir=!0;const lE=[];function Ao(){lE.push(Ir),Ir=!1}function Ro(){const e=lE.pop();Ir=e===void 0?!0:e}function sb(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ct;Ct=void 0;try{t()}finally{Ct=n}}}let Ra=0;class RI{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class pu{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Ct||!Ir||Ct===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ct)n=this.activeLink=new RI(Ct,this),Ct.deps?(n.prevDep=Ct.depsTail,Ct.depsTail.nextDep=n,Ct.depsTail=n):Ct.deps=Ct.depsTail=n,cE(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=Ct.depsTail,n.nextDep=void 0,Ct.depsTail.nextDep=n,Ct.depsTail=n,Ct.deps===n&&(Ct.deps=r)}return n}trigger(t){this.version++,Ra++,this.notify(t)}notify(t){kh();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Th()}}}function cE(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)cE(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Lc=new WeakMap,ki=Symbol(""),yp=Symbol(""),Pa=Symbol("");function _n(e,t,n){if(Ir&&Ct){let r=Lc.get(e);r||Lc.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new pu),o.map=r,o.key=n),o.track()}}function Eo(e,t,n,r,o,s){const a=Lc.get(e);if(!a){Ra++;return}const c=u=>{u&&u.trigger()};if(kh(),t==="clear")a.forEach(c);else{const u=Le(e),f=u&&cu(n);if(u&&n==="length"){const p=Number(r);a.forEach((h,g)=>{(g==="length"||g===Pa||!ir(g)&&g>=p)&&c(h)})}else switch((n!==void 0||a.has(void 0))&&c(a.get(n)),f&&c(a.get(Pa)),t){case"add":u?f&&c(a.get("length")):(c(a.get(ki)),_s(e)&&c(a.get(yp)));break;case"delete":u||(c(a.get(ki)),_s(e)&&c(a.get(yp)));break;case"set":_s(e)&&c(a.get(ki));break}}Th()}function PI(e,t){const n=Lc.get(e);return n&&n.get(t)}function es(e){const t=nt(e);return t===e?t:(_n(t,"iterate",Pa),or(e)?t:t.map(Fr))}function hu(e){return _n(e=nt(e),"iterate",Pa),e}function Xr(e,t){return Po(e)?Cs(To(e)?Fr(t):t):Fr(t)}const LI={__proto__:null,[Symbol.iterator](){return fd(this,Symbol.iterator,e=>Xr(this,e))},concat(...e){return es(this).concat(...e.map(t=>Le(t)?es(t):t))},entries(){return fd(this,"entries",e=>(e[1]=Xr(this,e[1]),e))},every(e,t){return mo(this,"every",e,t,void 0,arguments)},filter(e,t){return mo(this,"filter",e,t,n=>n.map(r=>Xr(this,r)),arguments)},find(e,t){return mo(this,"find",e,t,n=>Xr(this,n),arguments)},findIndex(e,t){return mo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mo(this,"findLast",e,t,n=>Xr(this,n),arguments)},findLastIndex(e,t){return mo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mo(this,"forEach",e,t,void 0,arguments)},includes(...e){return dd(this,"includes",e)},indexOf(...e){return dd(this,"indexOf",e)},join(e){return es(this).join(e)},lastIndexOf(...e){return dd(this,"lastIndexOf",e)},map(e,t){return mo(this,"map",e,t,void 0,arguments)},pop(){return na(this,"pop")},push(...e){return na(this,"push",e)},reduce(e,...t){return ab(this,"reduce",e,t)},reduceRight(e,...t){return ab(this,"reduceRight",e,t)},shift(){return na(this,"shift")},some(e,t){return mo(this,"some",e,t,void 0,arguments)},splice(...e){return na(this,"splice",e)},toReversed(){return es(this).toReversed()},toSorted(e){return es(this).toSorted(e)},toSpliced(...e){return es(this).toSpliced(...e)},unshift(...e){return na(this,"unshift",e)},values(){return fd(this,"values",e=>Xr(this,e))}};function fd(e,t,n){const r=hu(e),o=r[t]();return r!==e&&!or(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const II=Array.prototype;function mo(e,t,n,r,o,s){const a=hu(e),c=a!==e&&!or(e),u=a[t];if(u!==II[t]){const h=u.apply(e,s);return c?Fr(h):h}let f=n;a!==e&&(c?f=function(h,g){return n.call(this,Xr(e,h),g,e)}:n.length>2&&(f=function(h,g){return n.call(this,h,g,e)}));const p=u.call(a,f,r);return c&&o?o(p):p}function ab(e,t,n,r){const o=hu(e),s=o!==e&&!or(e);let a=n,c=!1;o!==e&&(s?(c=r.length===0,a=function(f,p,h){return c&&(c=!1,f=Xr(e,f)),n.call(this,f,Xr(e,p),h,e)}):n.length>3&&(a=function(f,p,h){return n.call(this,f,p,h,e)}));const u=o[t](a,...r);return c?Xr(e,u):u}function dd(e,t,n){const r=nt(e);_n(r,"iterate",Pa);const o=r[t](...n);return(o===-1||o===!1)&&yu(n[0])?(n[0]=nt(n[0]),r[t](...n)):o}function na(e,t,n=[]){Ao(),kh();const r=nt(e)[t].apply(e,n);return Th(),Ro(),r}const MI=vh("__proto__,__v_isRef,__isVue"),uE=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ir));function NI(e){ir(e)||(e=String(e));const t=nt(this);return _n(t,"has",e),t.hasOwnProperty(e)}class fE{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?yE:gE:s?mE:hE).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=Le(t);if(!o){let u;if(a&&(u=LI[n]))return u;if(n==="hasOwnProperty")return NI}const c=Reflect.get(t,n,Rt(t)?t:r);if((ir(n)?uE.has(n):MI(n))||(o||_n(t,"get",n),s))return c;if(Rt(c)){const u=a&&cu(n)?c:c.value;return o&&ht(u)?Ss(u):u}return ht(c)?o?Ss(c):Ga(c):c}}class dE extends fE{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const a=Le(t)&&cu(n);if(!this._isShallow){const f=Po(s);if(!or(r)&&!Po(r)&&(s=nt(s),r=nt(r)),!a&&Rt(s)&&!Rt(r))return f||(s.value=r),!0}const c=a?Number(n)<t.length:dt(t,n),u=Reflect.set(t,n,r,Rt(t)?t:o);return t===nt(o)&&u&&(c?Qr(r,s)&&Eo(t,"set",n,r):Eo(t,"add",n,r)),u}deleteProperty(t,n){const r=dt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Eo(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ir(n)||!uE.has(n))&&_n(t,"has",n),r}ownKeys(t){return _n(t,"iterate",Le(t)?"length":ki),Reflect.ownKeys(t)}}class pE extends fE{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const DI=new dE,FI=new pE,$I=new dE(!0),jI=new pE(!0),bp=e=>e,Vl=e=>Reflect.getPrototypeOf(e);function UI(e,t,n){return function(...r){const o=this.__v_raw,s=nt(o),a=_s(s),c=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,f=o[e](...r),p=n?bp:t?Cs:Fr;return!t&&_n(s,"iterate",u?yp:ki),tn(Object.create(f),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[p(h[0]),p(h[1])]:p(h),done:g}}})}}function Gl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function zI(e,t){const n={get(o){const s=this.__v_raw,a=nt(s),c=nt(o);e||(Qr(o,c)&&_n(a,"get",o),_n(a,"get",c));const{has:u}=Vl(a),f=t?bp:e?Cs:Fr;if(u.call(a,o))return f(s.get(o));if(u.call(a,c))return f(s.get(c));s!==a&&s.get(o)},get size(){const o=this.__v_raw;return!e&&_n(nt(o),"iterate",ki),o.size},has(o){const s=this.__v_raw,a=nt(s),c=nt(o);return e||(Qr(o,c)&&_n(a,"has",o),_n(a,"has",c)),o===c?s.has(o):s.has(o)||s.has(c)},forEach(o,s){const a=this,c=a.__v_raw,u=nt(c),f=t?bp:e?Cs:Fr;return!e&&_n(u,"iterate",ki),c.forEach((p,h)=>o.call(s,f(p),f(h),a))}};return tn(n,e?{add:Gl("add"),set:Gl("set"),delete:Gl("delete"),clear:Gl("clear")}:{add(o){const s=nt(this),a=Vl(s),c=nt(o),u=!t&&!or(o)&&!Po(o)?c:o;return a.has.call(s,u)||Qr(o,u)&&a.has.call(s,o)||Qr(c,u)&&a.has.call(s,c)||(s.add(u),Eo(s,"add",u,u)),this},set(o,s){!t&&!or(s)&&!Po(s)&&(s=nt(s));const a=nt(this),{has:c,get:u}=Vl(a);let f=c.call(a,o);f||(o=nt(o),f=c.call(a,o));const p=u.call(a,o);return a.set(o,s),f?Qr(s,p)&&Eo(a,"set",o,s):Eo(a,"add",o,s),this},delete(o){const s=nt(this),{has:a,get:c}=Vl(s);let u=a.call(s,o);u||(o=nt(o),u=a.call(s,o)),c&&c.call(s,o);const f=s.delete(o);return u&&Eo(s,"delete",o,void 0),f},clear(){const o=nt(this),s=o.size!==0,a=o.clear();return s&&Eo(o,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=UI(o,e,t)}),n}function mu(e,t){const n=zI(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(dt(n,o)&&o in r?n:r,o,s)}const BI={get:mu(!1,!1)},WI={get:mu(!1,!0)},HI={get:mu(!0,!1)},VI={get:mu(!0,!0)},hE=new WeakMap,mE=new WeakMap,gE=new WeakMap,yE=new WeakMap;function GI(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ga(e){return Po(e)?e:gu(e,!1,DI,BI,hE)}function bE(e){return gu(e,!1,$I,WI,mE)}function Ss(e){return gu(e,!0,FI,HI,gE)}function KI(e){return gu(e,!0,jI,VI,yE)}function gu(e,t,n,r,o){if(!ht(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const s=o.get(e);if(s)return s;const a=GI(bI(e));if(a===0)return e;const c=new Proxy(e,a===2?r:n);return o.set(e,c),c}function To(e){return Po(e)?To(e.__v_raw):!!(e&&e.__v_isReactive)}function Po(e){return!!(e&&e.__v_isReadonly)}function or(e){return!!(e&&e.__v_isShallow)}function yu(e){return e?!!e.__v_raw:!1}function nt(e){const t=e&&e.__v_raw;return t?nt(t):e}function Oh(e){return!dt(e,"__v_skip")&&Object.isExtensible(e)&&Jw(e,"__v_skip",!0),e}const Fr=e=>ht(e)?Ga(e):e,Cs=e=>ht(e)?Ss(e):e;function Rt(e){return e?e.__v_isRef===!0:!1}function Re(e){return _E(e,!1)}function In(e){return _E(e,!0)}function _E(e,t){return Rt(e)?e:new qI(e,t)}class qI{constructor(t,n){this.dep=new pu,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:nt(t),this._value=n?t:Fr(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||or(t)||Po(t);t=r?t:nt(t),Qr(t,n)&&(this._rawValue=t,this._value=r?t:Fr(t),this.dep.trigger())}}function je(e){return Rt(e)?e.value:e}function en(e){return Ne(e)?e():je(e)}const YI={get:(e,t,n)=>t==="__v_raw"?e:je(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Rt(o)&&!Rt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function vE(e){return To(e)?e:new Proxy(e,YI)}class XI{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new pu,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function wE(e){return new XI(e)}function JI(e){const t=Le(e)?new Array(e.length):{};for(const n in e)t[n]=SE(e,n);return t}class QI{constructor(t,n,r){this._object=t,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._key=ir(n)?n:String(n),this._raw=nt(t);let o=!0,s=t;if(!Le(t)||ir(this._key)||!cu(this._key))do o=!yu(s)||or(s);while(o&&(s=s.__v_raw));this._shallow=o}get value(){let t=this._object[this._key];return this._shallow&&(t=je(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&Rt(this._raw[this._key])){const n=this._object[this._key];if(Rt(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return PI(this._raw,this._key)}}class ZI{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function EE(e,t,n){return Rt(e)?e:Ne(e)?new ZI(e):ht(e)&&arguments.length>1?SE(e,t,n):Re(e)}function SE(e,t,n){return new QI(e,t,n)}class eM{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new pu(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ra-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ct!==this)return oE(this,!0),!0}get value(){const t=this.dep.track();return aE(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function tM(e,t,n=!1){let r,o;return Ne(e)?r=e:(r=e.get,o=e.set),new eM(r,o,n)}const Kl={},Ic=new WeakMap;let vi;function nM(e,t=!1,n=vi){if(n){let r=Ic.get(n);r||Ic.set(n,r=[]),r.push(e)}}function rM(e,t,n=bt){const{immediate:r,deep:o,once:s,scheduler:a,augmentJob:c,call:u}=n,f=E=>o?E:or(E)||o===!1||o===0?So(E,1):So(E);let p,h,g,y,w=!1,_=!1;if(Rt(e)?(h=()=>e.value,w=or(e)):To(e)?(h=()=>f(e),w=!0):Le(e)?(_=!0,w=e.some(E=>To(E)||or(E)),h=()=>e.map(E=>{if(Rt(E))return E.value;if(To(E))return f(E);if(Ne(E))return u?u(E,2):E()})):Ne(e)?t?h=u?()=>u(e,2):e:h=()=>{if(g){Ao();try{g()}finally{Ro()}}const E=vi;vi=p;try{return u?u(e,3,[y]):e(y)}finally{vi=E}}:h=to,t&&o){const E=h,R=o===!0?1/0:o;h=()=>So(E(),R)}const O=Va(),S=()=>{p.stop(),O&&O.active&&wh(O.effects,p)};if(s&&t){const E=t;t=(...R)=>{const A=E(...R);return S(),A}}let v=_?new Array(e.length).fill(Kl):Kl;const T=E=>{if(!(!(p.flags&1)||!p.dirty&&!E))if(t){const R=p.run();if(E||o||w||(_?R.some((A,L)=>Qr(A,v[L])):Qr(R,v))){g&&g();const A=vi;vi=p;try{const L=[R,v===Kl?void 0:_&&v[0]===Kl?[]:v,y];v=R,u?u(t,3,L):t(...L)}finally{vi=A}}}else p.run()};return c&&c(T),p=new nE(h),p.scheduler=a?()=>a(T,!1):T,y=E=>nM(E,!1,p),g=p.onStop=()=>{const E=Ic.get(p);if(E){if(u)u(E,4);else for(const R of E)R();Ic.delete(p)}},t?r?T(!0):v=p.run():a?a(T.bind(null,!0),!0):p.run(),S.pause=p.pause.bind(p),S.resume=p.resume.bind(p),S.stop=S,S}function So(e,t=1/0,n){if(t<=0||!ht(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Rt(e))So(e.value,t,n);else if(Le(e))for(let r=0;r<e.length;r++)So(e[r],t,n);else if(Kw(e)||_s(e))e.forEach(r=>{So(r,t,n)});else if(Xw(e)){for(const r in e)So(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&So(e[r],t,n)}return e}function Ka(e,t,n,r){try{return r?e(...r):e()}catch(o){bu(o,t,n)}}function $r(e,t,n,r){if(Ne(e)){const o=Ka(e,t,n,r);return o&&qw(o)&&o.catch(s=>{bu(s,t,n)}),o}if(Le(e)){const o=[];for(let s=0;s<e.length;s++)o.push($r(e[s],t,n,r));return o}}function bu(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||bt;if(t){let c=t.parent;const u=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const p=c.ec;if(p){for(let h=0;h<p.length;h++)if(p[h](e,u,f)===!1)return}c=c.parent}if(s){Ao(),Ka(s,null,10,[e,u,f]),Ro();return}}oM(e,n,o,r,a)}function oM(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Pn=[];let qr=-1;const vs=[];let Xo=null,us=0;const CE=Promise.resolve();let Mc=null;function Ur(e){const t=Mc||CE;return e?t.then(this?e.bind(this):e):t}function iM(e){let t=qr+1,n=Pn.length;for(;t<n;){const r=t+n>>>1,o=Pn[r],s=La(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Ah(e){if(!(e.flags&1)){const t=La(e),n=Pn[Pn.length-1];!n||!(e.flags&2)&&t>=La(n)?Pn.push(e):Pn.splice(iM(t),0,e),e.flags|=1,kE()}}function kE(){Mc||(Mc=CE.then(xE))}function sM(e){Le(e)?vs.push(...e):Xo&&e.id===-1?Xo.splice(us+1,0,e):e.flags&1||(vs.push(e),e.flags|=1),kE()}function lb(e,t,n=qr+1){for(;n<Pn.length;n++){const r=Pn[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Pn.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function TE(e){if(vs.length){const t=[...new Set(vs)].sort((n,r)=>La(n)-La(r));if(vs.length=0,Xo){Xo.push(...t);return}for(Xo=t,us=0;us<Xo.length;us++){const n=Xo[us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Xo=null,us=0}}const La=e=>e.id==null?e.flags&2?-1:1/0:e.id;function xE(e){try{for(qr=0;qr<Pn.length;qr++){const t=Pn[qr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ka(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;qr<Pn.length;qr++){const t=Pn[qr];t&&(t.flags&=-2)}qr=-1,Pn.length=0,TE(),Mc=null,(Pn.length||vs.length)&&xE()}}let cn=null,OE=null;function Nc(e){const t=cn;return cn=e,OE=e&&e.type.__scopeId||null,t}function Pi(e,t=cn,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Uc(-1);const s=Nc(t),a=xo.length;let c;try{c=e(...o)}finally{for(let u=xo.length;u>a;u--)Dh();Nc(s),r._d&&Uc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function _p(e,t){if(cn===null)return e;const n=Cu(cn),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,a,c,u=bt]=t[o];s&&(Ne(s)&&(s={mounted:s,updated:s}),s.deep&&So(a),r.push({dir:s,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return e}function yi(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let a=0;a<o.length;a++){const c=o[a];s&&(c.oldValue=s[a].value);let u=c.dir[r];u&&(Ao(),$r(u,n,8,[e.el,c,e,t]),Ro())}}function Ti(e,t){if(vn){let n=vn.provides;const r=vn.parent&&vn.parent.provides;r===n&&(n=vn.provides=Object.create(r)),n[e]=t}}function En(e,t,n=!1){const r=ar();if(r||xi){let o=xi?xi._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Ne(t)?t.call(r&&r.proxy):t}}function qa(){return!!(ar()||xi)}const aM=Symbol.for("v-scx"),lM=()=>En(aM);function AE(e,t){return Rh(e,null,t)}function gt(e,t,n){return Rh(e,t,n)}function Rh(e,t,n=bt){const{immediate:r,deep:o,flush:s,once:a}=n,c=tn({},n),u=t&&r||!t&&s!=="post";let f;if(Ma){if(s==="sync"){const y=lM();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!u){const y=()=>{};return y.stop=to,y.resume=to,y.pause=to,y}}const p=vn;c.call=(y,w,_)=>$r(y,p,w,_);let h=!1;s==="post"?c.scheduler=y=>{Qt(y,p&&p.suspense)}:s!=="sync"&&(h=!0,c.scheduler=(y,w)=>{w?y():Ah(y)}),c.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,p&&(y.id=p.uid,y.i=p))};const g=rM(e,t,c);return Ma&&(f?f.push(g):u&&g()),g}function cM(e,t,n){const r=this.proxy,o=At(e)?e.includes(".")?RE(r,e):()=>r[e]:e.bind(r,r);let s;Ne(t)?s=t:(s=t.handler,n=t);const a=Xa(this),c=Rh(o,s.bind(r),n);return a(),c}function RE(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const uM=Symbol("_vte"),fM=e=>e.__isTeleport,pd=Symbol("_leaveCb");function _u(e,t){e.shapeFlag&6&&e.component?(e.transition=t,_u(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 It(e,t){return Ne(e)?tn({name:e.name},t,{setup:e}):e}function PE(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ns(e){const t=ar(),n=In(null);if(t){const o=t.refs===bt?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function cb(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Dc=new WeakMap;function Sa(e,t,n,r,o=!1){if(Le(e)){e.forEach((_,O)=>Sa(_,t&&(Le(t)?t[O]:t),n,r,o));return}if(ei(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Sa(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Cu(r.component):r.el,a=o?null:s,{i:c,r:u}=e,f=t&&t.r,p=c.refs===bt?c.refs={}:c.refs,h=c.setupState,g=nt(h),y=h===bt?Gw:_=>cb(p,_)?!1:dt(g,_),w=(_,O)=>!(O&&cb(p,O));if(f!=null&&f!==u){if(ub(t),At(f))p[f]=null,y(f)&&(h[f]=null);else if(Rt(f)){const _=t;w(f,_.k)&&(f.value=null),_.k&&(p[_.k]=null)}}if(Ne(u))Ka(u,c,12,[a,p]);else{const _=At(u),O=Rt(u);if(_||O){const S=()=>{if(e.f){const v=_?y(u)?h[u]:p[u]:w()||!e.k?u.value:p[e.k];if(o)Le(v)&&wh(v,s);else if(Le(v))v.includes(s)||v.push(s);else if(_)p[u]=[s],y(u)&&(h[u]=p[u]);else{const T=[s];w(u,e.k)&&(u.value=T),e.k&&(p[e.k]=T)}}else _?(p[u]=a,y(u)&&(h[u]=a)):O&&(w(u,e.k)&&(u.value=a),e.k&&(p[e.k]=a))};if(a){const v=()=>{S(),Dc.delete(e)};v.id=-1,Dc.set(e,v),Qt(v,n)}else ub(e),S()}}}function ub(e){const t=Dc.get(e);t&&(t.flags|=8,Dc.delete(e))}du().requestIdleCallback;du().cancelIdleCallback;const ei=e=>!!e.type.__asyncLoader,LE=e=>e.type.__isKeepAlive,dM={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,s=new Set;let a=null;const c=n.suspense,{renderer:{p:u,m:f,um:p,o:{createElement:h}}}=r,g=h("div");r.activate=(v,T,E,R,A)=>{const L=v.component;f(v,T,E,0,c),u(L.vnode,v,T,E,L,c,R,v.slotScopeIds,A),Qt(()=>{L.isDeactivated=!1,L.a&&va(L.a);const x=v.props&&v.props.onVnodeMounted;x&&yr(x,L.parent,v)},c)},r.deactivate=v=>{const T=v.component;$c(T.m),$c(T.a),f(v,g,null,1,c),Qt(()=>{T.da&&va(T.da);const E=v.props&&v.props.onVnodeUnmounted;E&&yr(E,T.parent,v),T.isDeactivated=!0},c)};function y(v){hd(v),p(v,n,c,!0)}function w(v){o.forEach((T,E)=>{const R=kp(ei(T)?T.type.__asyncResolved||{}:T.type);R&&!v(R)&&_(E)})}function _(v){const T=o.get(v);T&&(!a||!fs(T,a))?y(T):a&&hd(a),o.delete(v),s.delete(v)}gt(()=>[e.include,e.exclude],([v,T])=>{v&&w(E=>ua(v,E)),T&&w(E=>!ua(T,E))},{flush:"post",deep:!0});let O=null;const S=()=>{O!=null&&(jc(n.subTree.type)?Qt(()=>{o.set(O,ql(n.subTree))},n.subTree.suspense):o.set(O,ql(n.subTree)))};return Er(S),ME(S),wu(()=>{o.forEach(v=>{const{subTree:T,suspense:E}=n,R=ql(T);if(v.type===R.type&&v.key===R.key){hd(R);const A=R.component.da;A&&Qt(A,E);return}y(v)})}),()=>{if(O=null,!t.default)return a=null;const v=t.default(),T=v[0];if(v.length>1)return a=null,v;if(!ks(T)||!(T.shapeFlag&4)&&!(T.shapeFlag&128))return a=null,T;let E=ql(T);if(E.type===ro)return a=null,E;const R=E.type,A=kp(ei(E)?E.type.__asyncResolved||{}:R),{include:L,exclude:x,max:N}=e;if(L&&(!A||!ua(L,A))||x&&A&&ua(x,A))return E.shapeFlag&=-257,a=E,T;const G=E.key==null?R:E.key,K=o.get(G);return E.el&&(E=Li(E),T.shapeFlag&128&&(T.ssContent=E)),O=G,K?(E.el=K.el,E.component=K.component,E.transition&&_u(E,E.transition),E.shapeFlag|=512,s.delete(G),s.add(G)):(s.add(G),N&&s.size>parseInt(N,10)&&_(s.values().next().value)),E.shapeFlag|=256,a=E,jc(T.type)?T:E}}},pM=dM;function ua(e,t){return Le(e)?e.some(n=>ua(n,t)):At(e)?e.split(",").includes(t):yI(e)?(e.lastIndex=0,e.test(t)):!1}function hM(e,t){IE(e,"a",t)}function mM(e,t){IE(e,"da",t)}function IE(e,t,n=vn){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(vu(t,r,n),n){let o=n.parent;for(;o&&o.parent;)LE(o.parent.vnode)&&gM(r,t,n,o),o=o.parent}}function gM(e,t,n,r){const o=vu(t,e,r,!0);Ds(()=>{wh(r[t],o)},n)}function hd(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ql(e){return e.shapeFlag&128?e.ssContent:e}function vu(e,t,n=vn,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{Ao();const c=Xa(n),u=$r(t,n,e,a);return c(),Ro(),u});return r?o.unshift(s):o.push(s),s}}const Io=e=>(t,n=vn)=>{(!Ma||e==="sp")&&vu(e,(...r)=>t(...r),n)},yM=Io("bm"),Er=Io("m"),bM=Io("bu"),ME=Io("u"),wu=Io("bum"),Ds=Io("um"),_M=Io("sp"),vM=Io("rtg"),wM=Io("rtc");function EM(e,t=vn){vu("ec",e,t)}const Ph="components",SM="directives";function Lh(e,t){return Ih(Ph,e,!0,t)||e}const NE=Symbol.for("v-ndc");function CM(e){return At(e)?Ih(Ph,e,!1)||e:e||NE}function kM(e){return Ih(SM,e)}function Ih(e,t,n=!0,r=!1){const o=cn||vn;if(o){const s=o.type;if(e===Ph){const c=kp(s,!1);if(c&&(c===t||c===Ln(t)||c===fu(Ln(t))))return s}const a=fb(o[e]||s[e],t)||fb(o.appContext[e],t);return!a&&r?s:a}}function fb(e,t){return e&&(e[t]||e[Ln(t)]||e[fu(Ln(t))])}function Fs(e,t,n,r){let o;const s=n&&n[r],a=Le(e);if(a||At(e)){const c=a&&To(e);let u=!1,f=!1;c&&(u=!or(e),f=Po(e),e=hu(e)),o=new Array(e.length);for(let p=0,h=e.length;p<h;p++)o[p]=t(u?f?Cs(Fr(e[p])):Fr(e[p]):e[p],p,void 0,s&&s[p])}else if(typeof e=="number"){o=new Array(e);for(let c=0;c<e;c++)o[c]=t(c+1,c,void 0,s&&s[c])}else if(ht(e))if(e[Symbol.iterator])o=Array.from(e,(c,u)=>t(c,u,void 0,s&&s[u]));else{const c=Object.keys(e);o=new Array(c.length);for(let u=0,f=c.length;u<f;u++){const p=c[u];o[u]=t(e[p],p,u,s&&s[u])}}else o=[];return n&&(n[r]=o),o}function ti(e,t,n={},r,o,s){if(cn.ce||cn.parent&&ei(cn.parent)&&cn.parent.ce){const f=s!=null&&n.key==null?tn({},n,{key:s}):n,p=Object.keys(f).length>0;return t!=="default"&&(f.name=t),Ce(),_t(Ht,null,[Vt("slot",f,r&&r())],p?-2:64)}let a=e[t];a&&a._c&&(a._d=!1);const c=xo.length;Ce();let u;try{const f=a&&DE(a(n)),p=n.key||s||f&&f.key;u=_t(Ht,{key:(p&&!ir(p)?p:`_${t}`)+(!f&&r?"_fb":"")},f||(r?r():[]),f&&e._===1?64:-2)}catch(f){for(let p=xo.length;p>c;p--)Dh();throw f}finally{a&&a._c&&(a._d=!0)}return!o&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),u}function DE(e){return e.some(t=>ks(t)?!(t.type===ro||t.type===Ht&&!DE(t.children)):!0)?e:null}const vp=e=>e?t0(e)?Cu(e):vp(e.parent):null,Ca=tn(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=>vp(e.parent),$root:e=>vp(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$E(e),$forceUpdate:e=>e.f||(e.f=()=>{Ah(e.update)}),$nextTick:e=>e.n||(e.n=Ur.bind(e.proxy)),$watch:e=>cM.bind(e)}),md=(e,t)=>e!==bt&&!e.__isScriptSetup&&dt(e,t),TM={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:c,appContext:u}=e;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(md(r,t))return a[t]=1,r[t];if(o!==bt&&dt(o,t))return a[t]=2,o[t];if(dt(s,t))return a[t]=3,s[t];if(n!==bt&&dt(n,t))return a[t]=4,n[t];wp&&(a[t]=0)}}const f=Ca[t];let p,h;if(f)return t==="$attrs"&&_n(e.attrs,"get",""),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==bt&&dt(n,t))return a[t]=4,n[t];if(h=u.config.globalProperties,dt(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return md(o,t)?(o[t]=n,!0):r!==bt&&dt(r,t)?(r[t]=n,!0):dt(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:o,props:s,type:a}},c){let u;return!!(n[c]||e!==bt&&c[0]!=="$"&&dt(e,c)||md(t,c)||dt(s,c)||dt(r,c)||dt(Ca,c)||dt(o.config.globalProperties,c)||(u=a.__cssModules)&&u[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:dt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function xM(){return OM().attrs}function OM(e){const t=ar();return t.setupContext||(t.setupContext=r0(t))}function db(e){return Le(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let wp=!0;function AM(e){const t=$E(e),n=e.proxy,r=e.ctx;wp=!1,t.beforeCreate&&pb(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:c,provide:u,inject:f,created:p,beforeMount:h,mounted:g,beforeUpdate:y,updated:w,activated:_,deactivated:O,beforeDestroy:S,beforeUnmount:v,destroyed:T,unmounted:E,render:R,renderTracked:A,renderTriggered:L,errorCaptured:x,serverPrefetch:N,expose:G,inheritAttrs:K,components:ae,directives:ue,filters:B}=t;if(f&&RM(f,r,null),a)for(const he in a){const Ee=a[he];Ne(Ee)&&(r[he]=Ee.bind(n))}if(o){const he=o.call(n,n);ht(he)&&(e.data=Ga(he))}if(wp=!0,s)for(const he in s){const Ee=s[he],Ve=Ne(Ee)?Ee.bind(n,n):Ne(Ee.get)?Ee.get.bind(n,n):to,rn=!Ne(Ee)&&Ne(Ee.set)?Ee.set.bind(n):to,tt=ce({get:Ve,set:rn});Object.defineProperty(r,he,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Ge=>tt.value=Ge})}if(c)for(const he in c)FE(c[he],r,n,he);if(u){const he=Ne(u)?u.call(n):u;Reflect.ownKeys(he).forEach(Ee=>{Ti(Ee,he[Ee])})}p&&pb(p,e,"c");function re(he,Ee){Le(Ee)?Ee.forEach(Ve=>he(Ve.bind(n))):Ee&&he(Ee.bind(n))}if(re(yM,h),re(Er,g),re(bM,y),re(ME,w),re(hM,_),re(mM,O),re(EM,x),re(wM,A),re(vM,L),re(wu,v),re(Ds,E),re(_M,N),Le(G))if(G.length){const he=e.exposed||(e.exposed={});G.forEach(Ee=>{Object.defineProperty(he,Ee,{get:()=>n[Ee],set:Ve=>n[Ee]=Ve,enumerable:!0})})}else e.exposed||(e.exposed={});R&&e.render===to&&(e.render=R),K!=null&&(e.inheritAttrs=K),ae&&(e.components=ae),ue&&(e.directives=ue),N&&PE(e)}function RM(e,t,n=to){Le(e)&&(e=Ep(e));for(const r in e){const o=e[r];let s;ht(o)?"default"in o?s=En(o.from||r,o.default,!0):s=En(o.from||r):s=En(o),Rt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function pb(e,t,n){$r(Le(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function FE(e,t,n,r){let o=r.includes(".")?RE(n,r):()=>n[r];if(At(e)){const s=t[e];Ne(s)&>(o,s)}else if(Ne(e))gt(o,e.bind(n));else if(ht(e))if(Le(e))e.forEach(s=>FE(s,t,n,r));else{const s=Ne(e.handler)?e.handler.bind(n):t[e.handler];Ne(s)&>(o,s,e)}}function $E(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(t);let u;return c?u=c:!o.length&&!n&&!r?u=t:(u={},o.length&&o.forEach(f=>Fc(u,f,a,!0)),Fc(u,t,a)),ht(t)&&s.set(t,u),u}function Fc(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Fc(e,s,n,!0),o&&o.forEach(a=>Fc(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=PM[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const PM={data:hb,props:mb,emits:mb,methods:fa,computed:fa,beforeCreate:Rn,created:Rn,beforeMount:Rn,mounted:Rn,beforeUpdate:Rn,updated:Rn,beforeDestroy:Rn,beforeUnmount:Rn,destroyed:Rn,unmounted:Rn,activated:Rn,deactivated:Rn,errorCaptured:Rn,serverPrefetch:Rn,components:fa,directives:fa,watch:IM,provide:hb,inject:LM};function hb(e,t){return t?e?function(){return tn(Ne(e)?e.call(this,this):e,Ne(t)?t.call(this,this):t)}:t:e}function LM(e,t){return fa(Ep(e),Ep(t))}function Ep(e){if(Le(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Rn(e,t){return e?[...new Set([].concat(e,t))]:t}function fa(e,t){return e?tn(Object.create(null),e,t):t}function mb(e,t){return e?Le(e)&&Le(t)?[...new Set([...e,...t])]:tn(Object.create(null),db(e),db(t??{})):t}function IM(e,t){if(!e)return t;if(!t)return e;const n=tn(Object.create(null),e);for(const r in t)n[r]=Rn(e[r],t[r]);return n}function jE(){return{app:null,config:{isNativeTag:Gw,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 MM=0;function NM(e,t){return function(r,o=null){Ne(r)||(r=tn({},r)),o!=null&&!ht(o)&&(o=null);const s=jE(),a=new WeakSet,c=[];let u=!1;const f=s.app={_uid:MM++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:lN,get config(){return s.config},set config(p){},use(p,...h){return a.has(p)||(p&&Ne(p.install)?(a.add(p),p.install(f,...h)):Ne(p)&&(a.add(p),p(f,...h))),f},mixin(p){return s.mixins.includes(p)||s.mixins.push(p),f},component(p,h){return h?(s.components[p]=h,f):s.components[p]},directive(p,h){return h?(s.directives[p]=h,f):s.directives[p]},mount(p,h,g){if(!u){const y=f._ceVNode||Vt(r,o);return y.appContext=s,g===!0?g="svg":g===!1&&(g=void 0),e(y,p,g),u=!0,f._container=p,p.__vue_app__=f,Cu(y.component)}},onUnmount(p){c.push(p)},unmount(){u&&($r(c,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(p,h){return s.provides[p]=h,f},runWithContext(p){const h=xi;xi=f;try{return p()}finally{xi=h}}};return f}}let xi=null;const DM=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ln(t)}Modifiers`]||e[`${Ni(t)}Modifiers`];function FM(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||bt;let o=n;const s=t.startsWith("update:"),a=s&&DM(r,t.slice(7));a&&(a.trim&&(o=n.map(p=>At(p)?p.trim():p)),a.number&&(o=n.map(wI)));let c,u=r[c=yc(t)]||r[c=yc(Ln(t))];!u&&s&&(u=r[c=yc(Ni(t))]),u&&$r(u,e,6,o);const f=r[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,$r(f,e,6,o)}}const $M=new WeakMap;function UE(e,t,n=!1){const r=n?$M:t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},c=!1;if(!Ne(e)){const u=f=>{const p=UE(f,t,!0);p&&(c=!0,tn(a,p))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!c?(ht(e)&&r.set(e,null),null):(Le(s)?s.forEach(u=>a[u]=null):tn(a,s),ht(e)&&r.set(e,a),a)}function Eu(e,t){return!e||!au(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),dt(e,t[0].toLowerCase()+t.slice(1))||dt(e,Ni(t))||dt(e,t))}function gb(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:a,attrs:c,emit:u,render:f,renderCache:p,props:h,data:g,setupState:y,ctx:w,inheritAttrs:_}=e,O=Nc(e);let S,v;try{if(n.shapeFlag&4){const E=o||r,R=E;S=Jr(f.call(R,E,p,h,y,g,w)),v=c}else{const E=t;S=Jr(E.length>1?E(h,{attrs:c,slots:a,emit:u}):E(h,null)),v=t.props?c:jM(c)}}catch(E){xo.length=0,bu(E,e,1),S=Vt(ro)}let T=S;if(v&&_!==!1){const E=Object.keys(v),{shapeFlag:R}=T;E.length&&R&7&&(s&&E.some(lu)&&(v=UM(v,s)),T=Li(T,v,!1,!0))}return n.dirs&&(T=Li(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&_u(T,n.transition),S=T,Nc(O),S}const jM=e=>{let t;for(const n in e)(n==="class"||n==="style"||au(n))&&((t||(t={}))[n]=e[n]);return t},UM=(e,t)=>{const n={};for(const r in e)(!lu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zM(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:c,patchFlag:u}=t,f=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return r?yb(r,a,f):!!a;if(u&8){const p=t.dynamicProps;for(let h=0;h<p.length;h++){const g=p[h];if(zE(a,r,g)&&!Eu(f,g))return!0}}}else return(o||c)&&(!c||!c.$stable)?!0:r===a?!1:r?a?yb(r,a,f):!0:!!a;return!1}function yb(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(zE(t,e,s)&&!Eu(n,s))return!0}return!1}function zE(e,t,n){const r=e[n],o=t[n];return n==="style"&&ht(r)&&ht(o)?!Eh(r,o):r!==o}function BM({vnode:e,parent:t,suspense:n},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=r,e=o),o===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}const BE={},WE=()=>Object.create(BE),HE=e=>Object.getPrototypeOf(e)===BE;function WM(e,t,n,r=!1){const o={},s=WE();e.propsDefaults=Object.create(null),VE(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:bE(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function HM(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,c=nt(o),[u]=e.propsOptions;let f=!1;if((r||a>0)&&!(a&16)){if(a&8){const p=e.vnode.dynamicProps;for(let h=0;h<p.length;h++){let g=p[h];if(Eu(e.emitsOptions,g))continue;const y=t[g];if(u)if(dt(s,g))y!==s[g]&&(s[g]=y,f=!0);else{const w=Ln(g);o[w]=Sp(u,c,w,y,e,!1)}else y!==s[g]&&(s[g]=y,f=!0)}}}else{VE(e,t,o,s)&&(f=!0);let p;for(const h in c)(!t||!dt(t,h)&&((p=Ni(h))===h||!dt(t,p)))&&(u?n&&(n[h]!==void 0||n[p]!==void 0)&&(o[h]=Sp(u,c,h,void 0,e,!0)):delete o[h]);if(s!==c)for(const h in s)(!t||!dt(t,h))&&(delete s[h],f=!0)}f&&Eo(e.attrs,"set","")}function VE(e,t,n,r){const[o,s]=e.propsOptions;let a=!1,c;if(t)for(let u in t){if(_a(u))continue;const f=t[u];let p;o&&dt(o,p=Ln(u))?!s||!s.includes(p)?n[p]=f:(c||(c={}))[p]=f:Eu(e.emitsOptions,u)||(!(u in r)||f!==r[u])&&(r[u]=f,a=!0)}if(s){const u=nt(n),f=c||bt;for(let p=0;p<s.length;p++){const h=s[p];n[h]=Sp(o,u,h,f[h],e,!dt(f,h))}}return a}function Sp(e,t,n,r,o,s){const a=e[n];if(a!=null){const c=dt(a,"default");if(c&&r===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&Ne(u)){const{propsDefaults:f}=o;if(n in f)r=f[n];else{const p=Xa(o);r=f[n]=u.call(null,t),p()}}else r=u;o.ce&&o.ce._setProp(n,r)}a[0]&&(s&&!c?r=!1:a[1]&&(r===""||r===Ni(n))&&(r=!0))}return r}const VM=new WeakMap;function GE(e,t,n=!1){const r=n?VM:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,a={},c=[];let u=!1;if(!Ne(e)){const p=h=>{u=!0;const[g,y]=GE(h,t,!0);tn(a,g),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!s&&!u)return ht(e)&&r.set(e,bs),bs;if(Le(s))for(let p=0;p<s.length;p++){const h=Ln(s[p]);bb(h)&&(a[h]=bt)}else if(s)for(const p in s){const h=Ln(p);if(bb(h)){const g=s[p],y=a[h]=Le(g)||Ne(g)?{type:g}:tn({},g),w=y.type;let _=!1,O=!0;if(Le(w))for(let S=0;S<w.length;++S){const v=w[S],T=Ne(v)&&v.name;if(T==="Boolean"){_=!0;break}else T==="String"&&(O=!1)}else _=Ne(w)&&w.name==="Boolean";y[0]=_,y[1]=O,(_||dt(y,"default"))&&c.push(h)}}const f=[a,c];return ht(e)&&r.set(e,f),f}function bb(e){return e[0]!=="$"&&!_a(e)}const Mh=e=>e==="_"||e==="_ctx"||e==="$stable",Nh=e=>Le(e)?e.map(Jr):[Jr(e)],GM=(e,t,n)=>{if(t._n)return t;const r=Pi((...o)=>Nh(t(...o)),n);return r._c=!1,r},KE=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Mh(o))continue;const s=e[o];if(Ne(s))t[o]=GM(o,s,r);else if(s!=null){const a=Nh(s);t[o]=()=>a}}},qE=(e,t)=>{const n=Nh(t);e.slots.default=()=>n},YE=(e,t,n)=>{for(const r in t)(n||!Mh(r))&&(e[r]=t[r])},KM=(e,t,n)=>{const r=e.slots=WE();if(e.vnode.shapeFlag&32){const o=t._;o?(YE(r,t,n),n&&Jw(r,"_",o,!0)):KE(t,r)}else t&&qE(e,t)},qM=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=bt;if(r.shapeFlag&32){const c=t._;c?n&&c===1?s=!1:YE(o,t,n):(s=!t.$stable,KE(t,o)),a=t}else t&&(qE(e,t),a={default:1});if(s)for(const c in o)!Mh(c)&&a[c]==null&&delete o[c]},Qt=ZM;function YM(e){return XM(e)}function XM(e,t){const n=du();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:g,setScopeId:y=to,insertStaticContent:w}=e,_=(M,F,V,J=null,te=null,Q=null,P=void 0,I=null,j=!!F.dynamicChildren)=>{if(M===F)return;M&&!fs(M,F)&&(J=ee(M),Ge(M,te,Q,!0),M=null),F.patchFlag===-2&&(j=!1,F.dynamicChildren=null);const{type:W,ref:fe,shapeFlag:ie}=F;switch(W){case Ya:O(M,F,V,J);break;case ro:S(M,F,V,J);break;case yd:M==null&&v(F,V,J,P);break;case Ht:ae(M,F,V,J,te,Q,P,I,j);break;default:ie&1?R(M,F,V,J,te,Q,P,I,j):ie&6?ue(M,F,V,J,te,Q,P,I,j):(ie&64||ie&128)&&W.process(M,F,V,J,te,Q,P,I,j,ve)}fe!=null&&te?Sa(fe,M&&M.ref,Q,F||M,!F):fe==null&&M&&M.ref!=null&&Sa(M.ref,null,Q,M,!0)},O=(M,F,V,J)=>{if(M==null)r(F.el=c(F.children),V,J);else{const te=F.el=M.el;F.children!==M.children&&f(te,F.children)}},S=(M,F,V,J)=>{M==null?r(F.el=u(F.children||""),V,J):F.el=M.el},v=(M,F,V,J)=>{[M.el,M.anchor]=w(M.children,F,V,J,M.el,M.anchor)},T=({el:M,anchor:F},V,J)=>{let te;for(;M&&M!==F;)te=g(M),r(M,V,J),M=te;r(F,V,J)},E=({el:M,anchor:F})=>{let V;for(;M&&M!==F;)V=g(M),o(M),M=V;o(F)},R=(M,F,V,J,te,Q,P,I,j)=>{if(F.type==="svg"?P="svg":F.type==="math"&&(P="mathml"),M==null)A(F,V,J,te,Q,P,I,j);else{const W=M.el&&M.el._isVueCE?M.el:null;try{W&&W._beginPatch(),N(M,F,te,Q,P,I,j)}finally{W&&W._endPatch()}}},A=(M,F,V,J,te,Q,P,I)=>{let j,W;const{props:fe,shapeFlag:ie,transition:U,dirs:X}=M;if(j=M.el=a(M.type,Q,fe&&fe.is,fe),ie&8?p(j,M.children):ie&16&&x(M.children,j,null,J,te,gd(M,Q),P,I),X&&yi(M,null,J,"created"),L(j,M,M.scopeId,P,J),fe){for(const ke in fe)ke!=="value"&&!_a(ke)&&s(j,ke,null,fe[ke],Q,J);"value"in fe&&s(j,"value",null,fe.value,Q),(W=fe.onVnodeBeforeMount)&&yr(W,J,M)}X&&yi(M,null,J,"beforeMount");const be=JM(te,U);be&&U.beforeEnter(j),r(j,F,V),((W=fe&&fe.onVnodeMounted)||be||X)&&Qt(()=>{W&&yr(W,J,M),be&&U.enter(j),X&&yi(M,null,J,"mounted")},te)},L=(M,F,V,J,te)=>{if(V&&y(M,V),J)for(let Q=0;Q<J.length;Q++)y(M,J[Q]);if(te){let Q=te.subTree;if(F===Q||jc(Q.type)&&(Q.ssContent===F||Q.ssFallback===F)){const P=te.vnode;L(M,P,P.scopeId,P.slotScopeIds,te.parent)}}},x=(M,F,V,J,te,Q,P,I,j=0)=>{for(let W=j;W<M.length;W++){const fe=M[W]=I?wo(M[W]):Jr(M[W]);_(null,fe,F,V,J,te,Q,P,I)}},N=(M,F,V,J,te,Q,P)=>{const I=F.el=M.el;let{patchFlag:j,dynamicChildren:W,dirs:fe}=F;j|=M.patchFlag&16;const ie=M.props||bt,U=F.props||bt;let X;if(V&&bi(V,!1),(X=U.onVnodeBeforeUpdate)&&yr(X,V,F,M),fe&&yi(F,M,V,"beforeUpdate"),V&&bi(V,!0),W&&(!M.dynamicChildren||M.dynamicChildren.length!==W.length)&&(j=0,P=!1,W=null),(ie.innerHTML&&U.innerHTML==null||ie.textContent&&U.textContent==null)&&p(I,""),W?G(M.dynamicChildren,W,I,V,J,gd(F,te),Q):P||Ee(M,F,I,null,V,J,gd(F,te),Q,!1),j>0){if(j&16)K(I,ie,U,V,te);else if(j&2&&ie.class!==U.class&&s(I,"class",null,U.class,te),j&4&&s(I,"style",ie.style,U.style,te),j&8){const be=F.dynamicProps;for(let ke=0;ke<be.length;ke++){const $e=be[ke],Xe=ie[$e],Ze=U[$e];(Ze!==Xe||$e==="value")&&s(I,$e,Xe,Ze,te,V)}}j&1&&M.children!==F.children&&p(I,F.children)}else!P&&W==null&&K(I,ie,U,V,te);((X=U.onVnodeUpdated)||fe)&&Qt(()=>{X&&yr(X,V,F,M),fe&&yi(F,M,V,"updated")},J)},G=(M,F,V,J,te,Q,P)=>{for(let I=0;I<F.length;I++){const j=M[I],W=F[I],fe=j.el&&(j.type===Ht||!fs(j,W)||j.shapeFlag&198)?h(j.el):V;_(j,W,fe,null,J,te,Q,P,!0)}},K=(M,F,V,J,te)=>{if(F!==V){if(F!==bt)for(const Q in F)!_a(Q)&&!(Q in V)&&s(M,Q,F[Q],null,te,J);for(const Q in V){if(_a(Q))continue;const P=V[Q],I=F[Q];P!==I&&Q!=="value"&&s(M,Q,I,P,te,J)}"value"in V&&s(M,"value",F.value,V.value,te)}},ae=(M,F,V,J,te,Q,P,I,j)=>{const W=F.el=M?M.el:c(""),fe=F.anchor=M?M.anchor:c("");let{patchFlag:ie,dynamicChildren:U,slotScopeIds:X}=F;X&&(I=I?I.concat(X):X),M==null?(r(W,V,J),r(fe,V,J),x(F.children||[],V,fe,te,Q,P,I,j)):ie>0&&ie&64&&U&&M.dynamicChildren&&M.dynamicChildren.length===U.length?(G(M.dynamicChildren,U,V,te,Q,P,I),(F.key!=null||te&&F===te.subTree)&&XE(M,F,!0)):Ee(M,F,V,fe,te,Q,P,I,j)},ue=(M,F,V,J,te,Q,P,I,j)=>{F.slotScopeIds=I,M==null?F.shapeFlag&512?te.ctx.activate(F,V,J,P,j):B(F,V,J,te,Q,P,j):ne(M,F,j)},B=(M,F,V,J,te,Q,P)=>{const I=M.component=rN(M,J,te);if(LE(M)&&(I.ctx.renderer=ve),oN(I,!1,P),I.asyncDep){if(te&&te.registerDep(I,re,P),!M.el){const j=I.subTree=Vt(ro);S(null,j,F,V),M.placeholder=j.el}}else re(I,M,F,V,te,Q,P)},ne=(M,F,V)=>{const J=F.component=M.component;if(zM(M,F,V))if(J.asyncDep&&!J.asyncResolved){he(J,F,V);return}else J.next=F,J.update();else F.el=M.el,J.vnode=F},re=(M,F,V,J,te,Q,P)=>{const I=()=>{if(M.isMounted){let{next:ie,bu:U,u:X,parent:be,vnode:ke}=M;{const Tn=JE(M);if(Tn){ie&&(ie.el=ke.el,he(M,ie,P)),Tn.asyncDep.then(()=>{Qt(()=>{M.isUnmounted||W()},te)});return}}let $e=ie,Xe;bi(M,!1),ie?(ie.el=ke.el,he(M,ie,P)):ie=ke,U&&va(U),(Xe=ie.props&&ie.props.onVnodeBeforeUpdate)&&yr(Xe,be,ie,ke),bi(M,!0);const Ze=gb(M),pn=M.subTree;M.subTree=Ze,_(pn,Ze,h(pn.el),ee(pn),M,te,Q),ie.el=Ze.el,$e===null&&BM(M,Ze.el),X&&Qt(X,te),(Xe=ie.props&&ie.props.onVnodeUpdated)&&Qt(()=>yr(Xe,be,ie,ke),te)}else{let ie;const{el:U,props:X}=F,{bm:be,m:ke,parent:$e,root:Xe,type:Ze}=M,pn=ei(F);bi(M,!1),be&&va(be),!pn&&(ie=X&&X.onVnodeBeforeMount)&&yr(ie,$e,F),bi(M,!0);{Xe.ce&&Xe.ce._hasShadowRoot()&&Xe.ce._injectChildStyle(Ze,M.parent?M.parent.type:void 0);const Tn=M.subTree=gb(M);_(null,Tn,V,J,M,te,Q),F.el=Tn.el}if(ke&&Qt(ke,te),!pn&&(ie=X&&X.onVnodeMounted)){const Tn=F;Qt(()=>yr(ie,$e,Tn),te)}(F.shapeFlag&256||$e&&ei($e.vnode)&&$e.vnode.shapeFlag&256)&&M.a&&Qt(M.a,te),M.isMounted=!0,F=V=J=null}};M.scope.on();const j=M.effect=new nE(I);M.scope.off();const W=M.update=j.run.bind(j),fe=M.job=j.runIfDirty.bind(j);fe.i=M,fe.id=M.uid,j.scheduler=()=>Ah(fe),bi(M,!0),W()},he=(M,F,V)=>{F.component=M;const J=M.vnode.props;M.vnode=F,M.next=null,HM(M,F.props,J,V),qM(M,F.children,V),Ao(),lb(M),Ro()},Ee=(M,F,V,J,te,Q,P,I,j=!1)=>{const W=M&&M.children,fe=M?M.shapeFlag:0,ie=F.children,{patchFlag:U,shapeFlag:X}=F;if(U>0){if(U&128){rn(W,ie,V,J,te,Q,P,I,j);return}else if(U&256){Ve(W,ie,V,J,te,Q,P,I,j);return}}X&8?(fe&16&&Mt(W,te,Q),ie!==W&&p(V,ie)):fe&16?X&16?rn(W,ie,V,J,te,Q,P,I,j):Mt(W,te,Q,!0):(fe&8&&p(V,""),X&16&&x(ie,V,J,te,Q,P,I,j))},Ve=(M,F,V,J,te,Q,P,I,j)=>{M=M||bs,F=F||bs;const W=M.length,fe=F.length,ie=Math.min(W,fe);let U;for(U=0;U<ie;U++){const X=F[U]=j?wo(F[U]):Jr(F[U]);_(M[U],X,V,null,te,Q,P,I,j)}W>fe?Mt(M,te,Q,!0,!1,ie):x(F,V,J,te,Q,P,I,j,ie)},rn=(M,F,V,J,te,Q,P,I,j)=>{let W=0;const fe=F.length;let ie=M.length-1,U=fe-1;for(;W<=ie&&W<=U;){const X=M[W],be=F[W]=j?wo(F[W]):Jr(F[W]);if(fs(X,be))_(X,be,V,null,te,Q,P,I,j);else break;W++}for(;W<=ie&&W<=U;){const X=M[ie],be=F[U]=j?wo(F[U]):Jr(F[U]);if(fs(X,be))_(X,be,V,null,te,Q,P,I,j);else break;ie--,U--}if(W>ie){if(W<=U){const X=U+1,be=X<fe?F[X].el:J;for(;W<=U;)_(null,F[W]=j?wo(F[W]):Jr(F[W]),V,be,te,Q,P,I,j),W++}}else if(W>U)for(;W<=ie;)Ge(M[W],te,Q,!0),W++;else{const X=W,be=W,ke=new Map;for(W=be;W<=U;W++){const sn=F[W]=j?wo(F[W]):Jr(F[W]);sn.key!=null&&ke.set(sn.key,W)}let $e,Xe=0;const Ze=U-be+1;let pn=!1,Tn=0;const io=new Array(Ze);for(W=0;W<Ze;W++)io[W]=0;for(W=X;W<=ie;W++){const sn=M[W];if(Xe>=Ze){Ge(sn,te,Q,!0);continue}let Nn;if(sn.key!=null)Nn=ke.get(sn.key);else for($e=be;$e<=U;$e++)if(io[$e-be]===0&&fs(sn,F[$e])){Nn=$e;break}Nn===void 0?Ge(sn,te,Q,!0):(io[Nn-be]=W+1,Nn>=Tn?Tn=Nn:pn=!0,_(sn,F[Nn],V,null,te,Q,P,I,j),Xe++)}const Fi=pn?QM(io):bs;for($e=Fi.length-1,W=Ze-1;W>=0;W--){const sn=be+W,Nn=F[sn],$i=F[sn+1],ji=sn+1<fe?$i.el||QE($i):J;io[W]===0?_(null,Nn,V,ji,te,Q,P,I,j):pn&&($e<0||W!==Fi[$e]?tt(Nn,V,ji,2):$e--)}}},tt=(M,F,V,J,te=null)=>{const{el:Q,type:P,transition:I,children:j,shapeFlag:W}=M;if(W&6){tt(M.component.subTree,F,V,J);return}if(W&128){M.suspense.move(F,V,J);return}if(W&64){P.move(M,F,V,ve);return}if(P===Ht){r(Q,F,V);for(let ie=0;ie<j.length;ie++)tt(j[ie],F,V,J);r(M.anchor,F,V);return}if(P===yd){T(M,F,V);return}if(J!==2&&W&1&&I)if(J===0)I.persisted&&!Q[pd]?r(Q,F,V):(I.beforeEnter(Q),r(Q,F,V),Qt(()=>I.enter(Q),te));else{const{leave:ie,delayLeave:U,afterLeave:X}=I,be=()=>{M.ctx.isUnmounted?o(Q):r(Q,F,V)},ke=()=>{const $e=Q._isLeaving||!!Q[pd];Q._isLeaving&&Q[pd](!0),I.persisted&&!$e?be():ie(Q,()=>{be(),X&&X()})};U?U(Q,be,ke):ke()}else r(Q,F,V)},Ge=(M,F,V,J=!1,te=!1)=>{const{type:Q,props:P,ref:I,children:j,dynamicChildren:W,shapeFlag:fe,patchFlag:ie,dirs:U,cacheIndex:X,memo:be}=M;if(ie===-2&&(te=!1),I!=null&&(Ao(),Sa(I,null,V,M,!0),Ro()),X!=null&&(F.renderCache[X]=void 0),fe&256){F.ctx.deactivate(M);return}const ke=fe&1&&U,$e=!ei(M);let Xe;if($e&&(Xe=P&&P.onVnodeBeforeUnmount)&&yr(Xe,F,M),fe&6)kn(M.component,V,J);else{if(fe&128){M.suspense.unmount(V,J);return}ke&&yi(M,null,F,"beforeUnmount"),fe&64?M.type.remove(M,F,V,ve,J):W&&!W.hasOnce&&(Q!==Ht||ie>0&&ie&64)?Mt(W,F,V,!1,!0):(Q===Ht&&ie&384||!te&&fe&16)&&Mt(j,F,V),J&&dn(M)}const Ze=be!=null&&X==null;($e&&(Xe=P&&P.onVnodeUnmounted)||ke||Ze)&&Qt(()=>{Xe&&yr(Xe,F,M),ke&&yi(M,null,F,"unmounted"),Ze&&(M.el=null)},V)},dn=M=>{const{type:F,el:V,anchor:J,transition:te}=M;if(F===Ht){on(V,J);return}if(F===yd){E(M);return}const Q=()=>{o(V),te&&!te.persisted&&te.afterLeave&&te.afterLeave()};if(M.shapeFlag&1&&te&&!te.persisted){const{leave:P,delayLeave:I}=te,j=()=>P(V,Q);I?I(M.el,Q,j):j()}else Q()},on=(M,F)=>{let V;for(;M!==F;)V=g(M),o(M),M=V;o(F)},kn=(M,F,V)=>{const{bum:J,scope:te,job:Q,subTree:P,um:I,m:j,a:W}=M;$c(j),$c(W),J&&va(J),te.stop(),Q&&(Q.flags|=8,Ge(P,M,F,V)),I&&Qt(I,F),Qt(()=>{M.isUnmounted=!0},F)},Mt=(M,F,V,J=!1,te=!1,Q=0)=>{for(let P=Q;P<M.length;P++)Ge(M[P],F,V,J,te)},ee=M=>{if(M.shapeFlag&6)return ee(M.component.subTree);if(M.shapeFlag&128)return M.suspense.next();const F=g(M.anchor||M.el),V=F&&F[uM];return V?g(V):F};let ge=!1;const pe=(M,F,V)=>{let J;M==null?F._vnode&&(Ge(F._vnode,null,null,!0),J=F._vnode.component):_(F._vnode||null,M,F,null,null,null,V),F._vnode=M,ge||(ge=!0,lb(J),TE(),ge=!1)},ve={p:_,um:Ge,m:tt,r:dn,mt:B,mc:x,pc:Ee,pbc:G,n:ee,o:e};return{render:pe,hydrate:void 0,createApp:NM(pe)}}function gd({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 bi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function JM(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function XE(e,t,n=!1){const r=e.children,o=t.children;if(Le(r)&&Le(o))for(let s=0;s<r.length;s++){const a=r[s];let c=o[s];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=o[s]=wo(o[s]),c.el=a.el),!n&&c.patchFlag!==-2&&XE(a,c)),c.type===Ya&&(c.patchFlag===-1&&(c=o[s]=wo(c)),c.el=a.el),c.type===ro&&!c.el&&(c.el=a.el)}}function QM(e){const t=e.slice(),n=[0];let r,o,s,a,c;const u=e.length;for(r=0;r<u;r++){const f=e[r];if(f!==0){if(o=n[n.length-1],e[o]<f){t[r]=o,n.push(r);continue}for(s=0,a=n.length-1;s<a;)c=s+a>>1,e[n[c]]<f?s=c+1:a=c;f<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}function JE(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:JE(t)}function $c(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function QE(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?QE(t.subTree):null}const jc=e=>e.__isSuspense;function ZM(e,t){t&&t.pendingBranch?Le(e)?t.effects.push(...e):t.effects.push(e):sM(e)}const Ht=Symbol.for("v-fgt"),Ya=Symbol.for("v-txt"),ro=Symbol.for("v-cmt"),yd=Symbol.for("v-stc"),xo=[];let rr=null;function Ce(e=!1){xo.push(rr=e?null:[])}function Dh(){xo.pop(),rr=xo[xo.length-1]||null}let Ia=1;function Uc(e,t=!1){Ia+=e,e<0&&rr&&t&&(rr.hasOnce=!0)}function ZE(e){return e.dynamicChildren=Ia>0?rr||bs:null,Dh(),Ia>0&&rr&&rr.push(e),e}function pt(e,t,n,r,o,s){return ZE(mt(e,t,n,r,o,s,!0))}function _t(e,t,n,r,o){return ZE(Vt(e,t,n,r,o,!0))}function ks(e){return e?e.__v_isVNode===!0:!1}function fs(e,t){return e.type===t.type&&e.key===t.key}const e0=({key:e})=>e??null,bc=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?At(e)||Rt(e)||Ne(e)?{i:cn,r:e,k:t,f:!!n}:e:null);function mt(e,t=null,n=null,r=0,o=null,s=e===Ht?0:1,a=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&e0(t),ref:t&&bc(t),scopeId:OE,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:cn};return c?(Bc(u,n),s&128&&e.normalize(u)):n&&(u.shapeFlag|=At(n)?8:16),Ia>0&&!a&&rr&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&rr.push(u),u}const Vt=eN;function eN(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===NE)&&(e=ro),ks(e)){const c=Li(e,t,!0);return n&&Bc(c,n),Ia>0&&!s&&rr&&(c.shapeFlag&6?rr[rr.indexOf(e)]=c:rr.push(c)),c.patchFlag=-2,c}if(aN(e)&&(e=e.__vccOpts),t){t=Su(t);let{class:c,style:u}=t;c&&!At(c)&&(t.class=Tt(c)),ht(u)&&(yu(u)&&!Le(u)&&(u=tn({},u)),t.style=Bn(u))}const a=At(e)?1:jc(e)?128:fM(e)?64:ht(e)?4:Ne(e)?2:0;return mt(e,t,n,r,o,a,s,!0)}function Su(e){return e?yu(e)||HE(e)?tn({},e):e:null}function Li(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:a,children:c,transition:u}=e,f=t?Nr(o||{},t):o,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&e0(f),ref:t&&t.ref?n&&s?Le(s)?s.concat(bc(t)):[s,bc(t)]:bc(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ht?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Li(e.ssContent),ssFallback:e.ssFallback&&Li(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&r&&_u(p,u.clone(p)),p}function zc(e=" ",t=0){return Vt(Ya,null,e,t)}function Mr(e="",t=!1){return t?(Ce(),_t(ro,null,e)):Vt(ro,null,e)}function Jr(e){return e==null||typeof e=="boolean"?Vt(ro):Le(e)?Vt(Ht,null,e.slice()):ks(e)?wo(e):Vt(Ya,null,String(e))}function wo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Li(e)}function Bc(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Le(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Bc(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!HE(t)?t._ctx=cn:o===3&&cn&&(cn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Ne(t)){if(r&65){Bc(e,{default:t});return}t={default:t,_ctx:cn},n=32}else t=String(t),r&64?(n=16,t=[zc(t)]):n=8;e.children=t,e.shapeFlag|=n}function Nr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Tt([t.class,r.class]));else if(o==="style")t.style=Bn([t.style,r.style]);else if(au(o)){const s=t[o],a=r[o];a&&s!==a&&!(Le(s)&&s.includes(a))?t[o]=s?[].concat(s,a):a:a==null&&s==null&&!lu(o)&&(t[o]=a)}else o!==""&&(t[o]=r[o])}return t}function yr(e,t,n,r=null){$r(e,t,7,[n,r])}const tN=jE();let nN=0;function rN(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||tN,s={uid:nN++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new tE(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:GE(r,o),emitsOptions:UE(r,o),emit:null,emitted:null,propsDefaults:bt,inheritAttrs:r.inheritAttrs,ctx:bt,data:bt,props:bt,attrs:bt,slots:bt,refs:bt,setupState:bt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=FM.bind(null,s),e.ce&&e.ce(s),s}let vn=null;const ar=()=>vn||cn;let Wc,Cp;{const e=du(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(a=>a(s)):o[0](s)}};Wc=t("__VUE_INSTANCE_SETTERS__",n=>vn=n),Cp=t("__VUE_SSR_SETTERS__",n=>Ma=n)}const Xa=e=>{const t=vn;return Wc(e),e.scope.on(),()=>{e.scope.off(),Wc(t)}},_b=()=>{vn&&vn.scope.off(),Wc(null)};function t0(e){return e.vnode.shapeFlag&4}let Ma=!1;function oN(e,t=!1,n=!1){t&&Cp(t);const{props:r,children:o}=e.vnode,s=t0(e);WM(e,r,s,t),KM(e,o,n||t);const a=s?iN(e,t):void 0;return t&&Cp(!1),a}function iN(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,TM);const{setup:r}=n;if(r){Ao();const o=e.setupContext=r.length>1?r0(e):null,s=Xa(e),a=Ka(r,e,0,[e.props,o]),c=qw(a);if(Ro(),s(),(c||e.sp)&&!ei(e)&&PE(e),c){if(a.then(_b,_b),t)return a.then(u=>{vb(e,u)}).catch(u=>{bu(u,e,0)});e.asyncDep=a}else vb(e,a)}else n0(e)}function vb(e,t,n){Ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ht(t)&&(e.setupState=vE(t)),n0(e)}function n0(e,t,n){const r=e.type;e.render||(e.render=r.render||to);{const o=Xa(e);Ao();try{AM(e)}finally{Ro(),o()}}}const sN={get(e,t){return _n(e,"get",""),e[t]}};function r0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,sN),slots:e.slots,emit:e.emit,expose:t}}function Cu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vE(Oh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ca)return Ca[n](e)},has(t,n){return n in t||n in Ca}})):e.proxy}function kp(e,t=!0){return Ne(e)?e.displayName||e.name:e.name||t&&e.__name}function aN(e){return Ne(e)&&"__vccOpts"in e}const ce=(e,t)=>tM(e,t,Ma);function ri(e,t,n){try{Uc(-1);const r=arguments.length;return r===2?ht(t)&&!Le(t)?ks(t)?Vt(e,null,[t]):Vt(e,t):Vt(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ks(n)&&(n=[n]),Vt(e,t,n))}finally{Uc(1)}}const lN="3.5.40";let Tp;const wb=typeof window<"u"&&window.trustedTypes;if(wb)try{Tp=wb.createPolicy("vue",{createHTML:e=>e})}catch{}const o0=Tp?e=>Tp.createHTML(e):e=>e,cN="http://www.w3.org/2000/svg",uN="http://www.w3.org/1998/Math/MathML",vo=typeof document<"u"?document:null,Eb=vo&&vo.createElement("template"),fN={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 o=t==="svg"?vo.createElementNS(cN,e):t==="mathml"?vo.createElementNS(uN,e):n?vo.createElement(e,{is:n}):vo.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>vo.createTextNode(e),createComment:e=>vo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Eb.innerHTML=o0(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=Eb.content;if(r==="svg"||r==="mathml"){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dN=Symbol("_vtc");function pN(e,t,n){const r=e[dN];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hc=Symbol("_vod"),i0=Symbol("_vsh"),s0={name:"show",beforeMount(e,{value:t},{transition:n}){e[Hc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ra(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),ra(e,!0),r.enter(e)):r.leave(e,()=>{ra(e,!1)}):ra(e,t))},beforeUnmount(e,{value:t}){ra(e,t)}};function ra(e,t){e.style.display=t?e[Hc]:"none",e[i0]=!t}const hN=Symbol(""),mN=/(?:^|;)\s*display\s*:/;function gN(e,t,n){const r=e.style,o=At(n);let s=!1;if(n&&!o){if(t)if(At(t))for(const a of t.split(";")){const c=a.slice(0,a.indexOf(":")).trim();n[c]==null&&da(r,c,"")}else for(const a in t)n[a]==null&&da(r,a,"");for(const a in n){a==="display"&&(s=!0);const c=n[a];c!=null?bN(e,a,!At(t)&&t?t[a]:void 0,c)||da(r,a,c):da(r,a,"")}}else if(o){if(t!==n){const a=r[hN];a&&(n+=";"+a),r.cssText=n,s=mN.test(n)}}else t&&e.removeAttribute("style");Hc in e&&(e[Hc]=s?r.display:"",e[i0]&&(r.display="none"))}const Sb=/\s*!important$/;function da(e,t,n){if(Le(n))n.forEach(r=>da(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yN(e,t);Sb.test(n)?e.setProperty(Ni(r),n.replace(Sb,""),"important"):e[r]=n}}const Cb=["Webkit","Moz","ms"],bd={};function yN(e,t){const n=bd[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return bd[t]=r;r=fu(r);for(let o=0;o<Cb.length;o++){const s=Cb[o]+r;if(s in e)return bd[t]=s}return t}function bN(e,t,n,r){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&At(r)&&n===r}const kb="http://www.w3.org/1999/xlink";function Tb(e,t,n,r,o,s=xI(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(kb,t.slice(6,t.length)):e.setAttributeNS(kb,t,n):n==null||s&&!Qw(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ir(n)?String(n):n)}function xb(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?o0(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Qw(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(o||t)}function _N(e,t,n,r){e.addEventListener(t,n,r)}function vN(e,t,n,r){e.removeEventListener(t,n,r)}const Ob=Symbol("_vei");function wN(e,t,n,r,o=null){const s=e[Ob]||(e[Ob]={}),a=s[t];if(r&&a)a.value=r;else{const[c,u]=CN(t);if(r){const f=s[t]=xN(r,o);_N(e,c,f,u)}else a&&(vN(e,c,a,u),s[t]=void 0)}}const EN=/(Once|Passive|Capture)$/,SN=/^on:?(?:Once|Passive|Capture)$/;function CN(e){let t,n;for(;(n=e.match(EN))&&!SN.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ni(e.slice(2)),t]}let _d=0;const kN=Promise.resolve(),TN=()=>_d||(kN.then(()=>_d=0),_d=Date.now());function xN(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;const o=n.value;if(Le(o)){const s=r.stopImmediatePropagation;r.stopImmediatePropagation=()=>{s.call(r),r._stopped=!0};const a=o.slice(),c=[r];for(let u=0;u<a.length&&!r._stopped;u++){const f=a[u];f&&$r(f,t,5,c)}}else $r(o,t,5,[r])};return n.value=e,n.attached=TN(),n}const Ab=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ON=(e,t,n,r,o,s)=>{const a=o==="svg";t==="class"?pN(e,r,a):t==="style"?gN(e,n,r):au(t)?lu(t)||wN(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):AN(e,t,r,a))?(xb(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Tb(e,t,r,a,s,t!=="value")):e._isVueCE&&(RN(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!At(r)))?xb(e,Ln(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Tb(e,t,r,a))};function AN(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ab(t)&&Ne(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ab(t)&&At(n)?!1:t in e}function RN(e,t){const n=e._def.props;if(!n)return!1;const r=Ln(t);return Array.isArray(n)?n.some(o=>Ln(o)===r):Object.keys(n).some(o=>Ln(o)===r)}const PN=["ctrl","shift","alt","meta"],LN={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)=>PN.some(n=>e[`${n}Key`]&&!t.includes(n))},Rb=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((o,...s)=>{for(let a=0;a<t.length;a++){const c=LN[t[a]];if(c&&c(o,t))return}return e(o,...s)}))},IN=tn({patchProp:ON},fN);let Pb;function MN(){return Pb||(Pb=YM(IN))}const NN=((...e)=>{const t=MN().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=FN(r);if(!o)return;const s=t._component;!Ne(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const a=n(o,!1,DN(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t});function DN(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function FN(e){return At(e)?document.querySelector(e):e}const vd=new WeakMap,$N=(...e)=>{var t;const n=e[0],r=(t=ar())===null||t===void 0?void 0:t.proxy,o=r??Va();if(o==null&&!qa())throw new Error("injectLocal must be called in setup");return o&&vd.has(o)&&n in vd.get(o)?vd.get(o)[n]:En(...e)},jN=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const UN=Object.prototype.toString,zN=e=>UN.call(e)==="[object Object]",BN=()=>{};function a0(...e){if(e.length!==1)return EE(...e);const t=e[0];return typeof t=="function"?Ss(wE(()=>({get:t,set:BN}))):Re(t)}function WN(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const l0=e=>e();function HN(e=l0,t={}){const{initialState:n="active"}=t,r=a0(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:KI(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function Lb(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function wd(e){return Array.isArray(e)?e:[e]}function VN(e){return ar()}function GN(e,t,n={}){const{eventFilter:r=l0,...o}=n;return gt(e,WN(r,t),o)}function KN(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=HN(r,{initialState:o});return{stop:GN(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function c0(e,t=!0,n){VN()?Er(e,n):t?e():Ur(e)}function qN(e=!1,t={}){const{truthyValue:n=!0,falsyValue:r=!1}=t,o=Rt(e),s=In(e);function a(c){if(arguments.length)return s.value=c,s.value;{const u=en(n);return s.value=s.value===u?en(r):u,s.value}}return o?a:[s,a]}function YN(e,t,n){return gt(e,t,{...n,immediate:!0})}const Ei=jN?window:void 0;function u0(e){var t;const n=en(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function xp(...e){const t=(r,o,s,a)=>(r.addEventListener(o,s,a),()=>r.removeEventListener(o,s,a)),n=ce(()=>{const r=wd(en(e[0])).filter(o=>o!=null);return r.every(o=>typeof o!="string")?r:void 0});return YN(()=>{var r,o;return[(r=(o=n.value)===null||o===void 0?void 0:o.map(s=>u0(s)))!==null&&r!==void 0?r:[Ei].filter(s=>s!=null),wd(en(n.value?e[1]:e[0])),wd(je(n.value?e[2]:e[1])),en(n.value?e[3]:e[2])]},([r,o,s,a],c,u)=>{if(!r?.length||!o?.length||!s?.length)return;const f=zN(a)?{...a}:a,p=r.flatMap(h=>o.flatMap(g=>s.map(y=>t(h,g,y,f))));u(()=>{p.forEach(h=>h())})},{flush:"post"})}function XN(){const e=In(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function JN(e){const t=XN();return ce(()=>(t.value,!!e()))}const QN=Symbol("vueuse-ssr-width");function ZN(){const e=qa()?$N(QN,null):null;return typeof e=="number"?e:void 0}function eD(e,t={}){const{window:n=Ei,ssrWidth:r=ZN()}=t,o=JN(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=In(typeof r=="number"),a=In(),c=In(!1),u=f=>{c.value=f.matches};return AE(()=>{if(s.value){s.value=!o.value,c.value=en(e).split(",").some(f=>{const p=f.includes("not all"),h=f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),g=f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let y=!!(h||g);return h&&y&&(y=r>=Lb(h[1])),g&&y&&(y=r<=Lb(g[1])),p?!y:y});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),xp(a,"change",u,{passive:!0}),ce(()=>c.value)}const Yl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xl="__vueuse_ssr_handlers__",tD=nD();function nD(){return Xl in Yl||(Yl[Xl]=Yl[Xl]||{}),Yl[Xl]}function f0(e,t){return tD[e]||t}function rD(e){return eD("(prefers-color-scheme: dark)",e)}function oD(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const iD={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ib="vueuse-storage";function sD(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=Ei,eventFilter:g,onError:y=B=>{console.error(B)},initOnMounted:w}=r,_=(p?In:Re)(typeof t=="function"?t():t),O=ce(()=>en(e));if(!n)try{n=f0("getDefaultStorage",()=>Ei?.localStorage)()}catch(B){y(B)}if(!n)return _;const S=en(t),v=oD(S),T=(o=r.serializer)!==null&&o!==void 0?o:iD[v],{pause:E,resume:R}=KN(_,B=>G(B),{flush:s,deep:a,eventFilter:g});gt(O,()=>ae(),{flush:s});let A=!1;const L=B=>{w&&!A||ae(B)},x=B=>{w&&!A||ue(B)};h&&c&&(n instanceof Storage?xp(h,"storage",L,{passive:!0}):xp(h,Ib,x)),w?c0(()=>{A=!0,ae()}):ae();function N(B,ne){if(h){const re={key:O.value,oldValue:B,newValue:ne,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",re):new CustomEvent(Ib,{detail:re}))}}function G(B){try{const ne=n.getItem(O.value);if(B==null)N(ne,null),n.removeItem(O.value);else{const re=T.write(B);ne!==re&&(n.setItem(O.value,re),N(ne,re))}}catch(ne){y(ne)}}function K(B){const ne=B?B.newValue:n.getItem(O.value);if(ne==null)return u&&S!=null&&n.setItem(O.value,T.write(S)),S;if(!B&&f){const re=T.read(ne);return typeof f=="function"?f(re,S):v==="object"&&!Array.isArray(re)?{...S,...re}:re}else return typeof ne!="string"?ne:T.read(ne)}function ae(B){if(!(B&&B.storageArea!==n)){if(B&&B.key==null){_.value=S;return}if(!(B&&B.key!==O.value)){E();try{const ne=T.write(_.value);(B===void 0||B?.newValue!==ne)&&(_.value=K(B))}catch(ne){y(ne)}finally{B?Ur(R):R()}}}}function ue(B){ae(B.detail)}return _}const aD="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function lD(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=Ei,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=rD({window:o}),y=ce(()=>g.value?"dark":"light"),w=u||(a==null?a0(r):sD(a,r,s,{window:o,listenToStorageChanges:c})),_=ce(()=>w.value==="auto"?y.value:w.value),O=f0("updateHTMLAttrs",(E,R,A)=>{const L=typeof E=="string"?o?.document.querySelector(E):u0(E);if(!L)return;const x=new Set,N=new Set;let G=null;if(R==="class"){const ae=A.split(/\s/g);Object.values(h).flatMap(ue=>(ue||"").split(/\s/g)).filter(Boolean).forEach(ue=>{ae.includes(ue)?x.add(ue):N.add(ue)})}else G={key:R,value:A};if(x.size===0&&N.size===0&&G===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(aD)),o.document.head.appendChild(K));for(const ae of x)L.classList.add(ae);for(const ae of N)L.classList.remove(ae);G&&L.setAttribute(G.key,G.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function S(E){var R;O(t,n,(R=h[E])!==null&&R!==void 0?R:E)}function v(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,v,{flush:"post",immediate:!0}),c0(()=>v(_.value));const T=ce({get(){return f?w.value:_.value},set(E){w.value=E}});return Object.assign(T,{store:w,system:y,state:_})}function cD(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=lD({...e,onChanged:(s,a)=>{var c;e.onChanged?(c=e.onChanged)===null||c===void 0||c.call(e,s==="dark",a,s):a(s)},modes:{dark:t,light:n}}),o=ce(()=>r.system.value);return ce({get(){return r.value==="dark"},set(s){const a=s?"dark":"light";o.value===a?r.value="auto":r.value=a}})}const uD="Comp Hub",fD="main",dD="container",pD="item",hD="/__global_config__",mD="local://",gD="comphubConfig",yD="__remote__",bD="__local__",_D="__admin__",vD="https://api.comphub.cn",wD="http://localhost:7002",ED="http://127.0.0.1:5000",SD="http://localhost:5001",CD="http://localhost:3580",kD="https://apiadmin.comphub.cn",TD="https://admin.comphub.cn",xD="/_module_load_prefix_",OD="/_node_modules_load_prefix_",AD="/_comp_preview_prefix_local_",RD="/__proxy__",PD="/__master__",LD="csrfToken",ID="authorization",MD="x-refresh-token",ND="x-csrf-token",DD="accept-language",FD="comp-hub-db",$D="file-compiled",jD="https://oss.comphub.cn",UD="oss:sts:token",zD="oss:sts:expire",BD="https://prebuild.comphub.cn",WD="/dev",HD="/prod",VD="/node_modules/.prebuild_module",GD="_metadata.json",KD="vue/dist/vue.esm-bundler.js",qD="react-jsx-loader",YD="vue3-sfc-loader",XD="vue2-sfc-loader",JD="sass-compiler",QD="less-compiler",d0="react",ZD={COMP_FRAMEWORK_VUE:"vue",COMP_FRAMEWORK_REACT:d0},eF="comp.json",tF="README.md",nF="main.js",rF="index.vue",oF=["index.jsx","index.js","index.tsx"],iF="/.comp_hub_temp",sF="screenshot_mini.png",aF=1024*1024*10,lF=1024*1024*3,cF=30,p0="list_local",h0="list_remote",uF={COMP_LIST_TYPE_LOCAL:p0,COMP_LIST_TYPE_REMOTE:h0},m0="config",g0="error",y0="dir",b0="preview",_0="extra",v0="deps",w0="readme",E0="upgradeLog",fF={TAB_TYPE_CONFIG:m0,TAB_TYPE_ERROR:g0,TAB_TYPE_DIR:y0,TAB_TYPE_PREVIEW:b0,TAB_TYPE_EXTRA:_0,TAB_TYPE_DEPS:v0,TAB_TYPE_README:w0,TAB_TYPE_UPGRADE_LOG:E0},S0="mini",C0="full",dF={COMP_EDIT_TAB_TYPE_MINI:S0,COMP_EDIT_TAB_TYPE_FULL:C0},k0="EDIT",T0="ADD",pF={DIALOG_TYPE_EDIT:k0,DIALOG_TYPE_ADD:T0},x0="ONLY_INSTALL",O0="AUTO",A0="MAJOR_VERSION",R0="MINOR_VERSION",P0="EXACT_VERSION",hF={COMP_MATCH_TYPE_ONLY_INSTALL:x0,COMP_MATCH_TYPE_AUTO:O0,COMP_MATCH_TYPE_MAJOR_VERSION:A0,COMP_MATCH_TYPE_MINOR_VERSION:R0,COMP_MATCH_TYPE_EXACT_VERSION:P0},L0="online",I0="offline",mF={COMP_UPDATE_TYPE_ONLINE:L0,COMP_UPDATE_TYPE_OFFLINE:I0},M0="NOT_EXIST",N0="EXIST",gF={COMP_CHECK_STATUS_NOT_EXIST:M0,COMP_CHECK_STATUS_EXIST:N0},D0="__id__",yF=0,bF=1,_F=-1,F0="checkPreviewListForm",$0="checkExtraInfoForm",j0="checkCompConfig",U0="checkUpgradeLogForm",z0="getCompError",B0="afterCompDel",W0="afterCompCancelCollect",H0="afterCompRenderRetry",V0="openCompTerminal",vF={COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:F0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:$0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:j0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:U0,COMP_METHOD_KEY_GET_COMP_ERROR:z0,COMP_METHOD_KEY_AFTER_COMP_DEL:B0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:W0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:V0},wF="compListStore",EF="compEditStore",SF="callbacks",CF={CONTAINER:{SHARE:"share",COLLECT:"collect",LOCAL:"local",MINE:"mine",SIMILAR:"similar",TEAM_ALL:"teamAll",TEAM_MINE:"teamMine",TEAM_GROUP:"teamGroup",TEAM_ADD:"teamAdd"},ITEM:{PREVIEW_REMOTE:"previewRemote",PREVIEW_LOCAL:"previewLocal",CAROUSEL_REMOTE:"carouselRemote",CAROUSEL_LOCAL:"carouselLocal",EDIT_PANEL:"editPanel"}},kF="http://127.0.0.1",TF="http://localhost:8095",xF="http://localhost:8096",OF="http://localhost:5198",AF="http://localhost:3056",RF="https://www.comphub.cn",PF="http://localhost:8101",LF="https://render.comphub.cn",IF="/item",MF="/container",NF="CREATE",DF="JOIN",FF="EXIT",$F="teamAddMyComp",jF="teamCompList",UF="teamCompGroupList",zF="teamMyCompList",BF="teamMyCompUpdate",WF="__v__",HF="local",VF="prod",GF="local",KF="prod",qF="http://localhost:5173",YF="https://docs.comphub.cn",XF=20,JF=20,QF="SUPER_ADMIN",ZF="ADMIN",we=Object.freeze(Object.defineProperty({__proto__:null,ACCEPT_LANGUAGE_HEADER_NAME:DD,ADMIN_SERVICE_PREFIX:_D,ADMIN_SERVICE_URL_DEV:CD,ADMIN_SERVICE_URL_PROD:kD,ADMIN_WEB_URL_PROD:TD,AUTHORIZATION_HEADER_NAME:ID,CACHE_KEY_STS_EXPIRE_TIME:zD,CACHE_KEY_STS_TOKEN:UD,COMPHUB_CONFIG_KEY:gD,COMP_ACTION_ICON_HEIGHT:JF,COMP_ACTION_ICON_WIDTH:XF,COMP_CHECK_STATUSES:gF,COMP_CHECK_STATUS_EXIST:N0,COMP_CHECK_STATUS_NOT_EXIST:M0,COMP_CONFIG_FILENAME:eF,COMP_EDIT_TAB_TYPES:dF,COMP_EDIT_TAB_TYPE_FULL:C0,COMP_EDIT_TAB_TYPE_MINI:S0,COMP_ENTRY_FILE:nF,COMP_FIELD_COMP_ID:D0,COMP_FRAMEWORK_REACT:d0,COMP_FRAMEWORK_TYPES:ZD,COMP_FRAMEWORK_VUE:"vue",COMP_HUB_DEV_DOCS_URL:qF,COMP_HUB_PROD_DOCS_URL:YF,COMP_LIST_TYPES:uF,COMP_LIST_TYPE_LOCAL:p0,COMP_LIST_TYPE_REMOTE:h0,COMP_MATCH_TYPES:hF,COMP_MATCH_TYPE_AUTO:O0,COMP_MATCH_TYPE_EXACT_VERSION:P0,COMP_MATCH_TYPE_MAJOR_VERSION:A0,COMP_MATCH_TYPE_MINOR_VERSION:R0,COMP_MATCH_TYPE_ONLY_INSTALL:x0,COMP_METHOD_KEY_AFTER_COMP_CANCEL_COLLECT:W0,COMP_METHOD_KEY_AFTER_COMP_DEL:B0,COMP_METHOD_KEY_AFTER_COMP_RENDER_RETRY:H0,COMP_METHOD_KEY_CHECK_COMP_CONFIG:j0,COMP_METHOD_KEY_CHECK_EXTRA_INFO_FORM:$0,COMP_METHOD_KEY_CHECK_PREVIEW_LIST_FORM:F0,COMP_METHOD_KEY_CHECK_UPGRADE_LOG_FORM:U0,COMP_METHOD_KEY_GET_COMP_ERROR:z0,COMP_METHOD_KEY_OPEN_COMP_TERMINAL:V0,COMP_PREVIEW_PREFIX_LOCAL:AD,COMP_README_FILENAME:tF,COMP_SCREENSHOT_MINI_FILENAME:sF,COMP_SUBMIT_MAX_FILE_COUNT:cF,COMP_SUBMIT_MAX_SINGLE_FILE_SIZE:lF,COMP_SUBMIT_MAX_TOTAL_SIZE:aF,COMP_TEMP_DIR:iF,COMP_UPDATE_TYPES:mF,COMP_UPDATE_TYPE_OFFLINE:I0,COMP_UPDATE_TYPE_ONLINE:L0,COMP_USE_ENTRY_FILE:rF,COMP_USE_ENTRY_FILE_REACT:oF,CSRF_KEY:LD,CSRF_TOKEN_HEADER_NAME:ND,DIALOG_TYPES:pF,DIALOG_TYPE_ADD:T0,DIALOG_TYPE_EDIT:k0,FILE_MANAGER_DIRNAME:mD,GLOBAL_CONFIG_PATH:hD,IFRAME_CONTAINER_WEBSITE_PATH:MF,IFRAME_HOST:kF,IFRAME_ITEM_WEBSITE_PATH:IF,IFRAME_ROUTES:CF,INDEX_DB_NAME:FD,INDEX_DB_TABLE_NAME:$D,LESS_COMPILER_KEY:QD,LOCAL_CHILD_IFRAME_URL:TF,LOCAL_ITEM_EXTRANET_URL:PF,LOCAL_LEAF_IFRAME_URL:xF,LOCAL_MAIN_EXTRANET_URL:AF,LOCAL_MIDWAY_ENV_LOCAL:HF,LOCAL_MIDWAY_ENV_PROD:VF,LOCAL_SERVICE_PREFIX:bD,LOCAL_SERVICE_URL_DEV:ED,LOCAL_SERVICE_URL_DEV_SUB:SD,LOCAL_TOP_IFRAME_URL:OF,MASTER_API_PREFIX:PD,META_FILE_NAME:GD,MODULE_LOAD_PREFIX:xD,NODE_MODULES_LOAD_PREFIX:OD,OSS_CUSTOM_DOMAIN:jD,PREBUILD_HOST:BD,PREBUILD_MAX_SINGLE_FILE_SIZE:52428800,PREBUILD_MODULE_DIR:VD,PREBUILD_MODULE_DIR_DEV:WD,PREBUILD_MODULE_DIR_PROD:HD,PROVIDE_KEYS:vF,PROVIDE_KEY_CALLBACKS:SF,PROVIDE_KEY_COMP_EDIT_STORE:EF,PROVIDE_KEY_COMP_LIST_STORE:wF,PROXY_PATH_PREFIX:RD,REACT_JSX_LOADER_KEY:qD,REFRESH_TOKEN_HEADER_NAME:MD,REMOTE_ITEM_EXTRANET_URL:LF,REMOTE_MAIN_EXTRANET_URL:RF,REMOTE_MIDWAY_ENV_LOCAL:GF,REMOTE_MIDWAY_ENV_PROD:KF,REMOTE_SERVICE_PREFIX:yD,REMOTE_SERVICE_URL_DEV:wD,REMOTE_SERVICE_URL_PROD:vD,ROLE_CODE_ADMIN:ZF,ROLE_CODE_SUPER_ADMIN:QF,ROUTE_STATE_KEY_VERSION:WF,SASS_COMPILER_KEY:JD,SCOPE_ID_TEAM_ADD_MY_COMP:$F,SCOPE_ID_TEAM_COMP_GROUP_LIST:UF,SCOPE_ID_TEAM_COMP_LIST:jF,SCOPE_ID_TEAM_MY_COMP_LIST:zF,SCOPE_ID_TEAM_MY_COMP_UPDATE:BF,SITE_TITLE:uD,TAB_TYPES:fF,TAB_TYPE_CONFIG:m0,TAB_TYPE_DEPS:v0,TAB_TYPE_DIR:y0,TAB_TYPE_ERROR:g0,TAB_TYPE_EXTRA:_0,TAB_TYPE_PREVIEW:b0,TAB_TYPE_README:w0,TAB_TYPE_UPGRADE_LOG:E0,TEAM_OPERATE_TYPE_CREATE:NF,TEAM_OPERATE_TYPE_EXIT:FF,TEAM_OPERATE_TYPE_JOIN:DF,VERSION_COMPARE_GREATER:bF,VERSION_COMPARE_LESS:_F,VERSION_COMPARE_SAME:yF,VUE2_SFC_LOADER_KEY:XD,VUE3_SFC_LOADER_KEY:YD,VUE_ESM_BUNDLER:KD,WEBSITE_PATH_CONTAINER:dD,WEBSITE_PATH_ITEM:pD,WEBSITE_PATH_MAIN:fD},Symbol.toStringTag,{value:"Module"})),e$=[{label:"tag.systemRecommended",value:"XTTJ"},{label:"tag.all",value:"QB"},{label:"tag.latest",value:"ZX"},{label:"tag.hottest",value:"ZR"}],t$=[".css"],n$=[{name:D0,label:"comp.fieldId",required:!0,default:""},{name:"name",label:"comp.fieldName",required:!0,default:""},{name:"version",label:"comp.fieldVersion",required:!0,default:"1.0.0"}],r$=Object.freeze(Object.defineProperty({__proto__:null,COMP_DEFAULT_FIELD:n$,DEFAULT_TAG_GROUP:e$,PREBUILD_MODULE_SKIP_EXT:t$},Symbol.toStringTag,{value:"Module"})),o$="comp-hub-locale",i$=Object.freeze(Object.defineProperty({__proto__:null,LOCALE_KEY:o$},Symbol.toStringTag,{value:"Module"}));function s$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ed={exports:{}},Mb;function a$(){return Mb||(Mb=1,(function(e){var t=(function(){var n=String.fromCharCode,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function a(u,f){if(!s[u]){s[u]={};for(var p=0;p<u.length;p++)s[u][u.charAt(p)]=p}return s[u][f]}var c={compressToBase64:function(u){if(u==null)return"";var f=c._compress(u,6,function(p){return r.charAt(p)});switch(f.length%4){default:case 0:return f;case 1:return f+"===";case 2:return f+"==";case 3:return f+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:c._decompress(u.length,32,function(f){return a(r,u.charAt(f))})},compressToUTF16:function(u){return u==null?"":c._compress(u,15,function(f){return n(f+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:c._decompress(u.length,16384,function(f){return u.charCodeAt(f)-32})},compressToUint8Array:function(u){for(var f=c.compress(u),p=new Uint8Array(f.length*2),h=0,g=f.length;h<g;h++){var y=f.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(u){if(u==null)return c.decompress(u);for(var f=new Array(u.length/2),p=0,h=f.length;p<h;p++)f[p]=u[p*2]*256+u[p*2+1];var g=[];return f.forEach(function(y){g.push(n(y))}),c.decompress(g.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":c._compress(u,6,function(f){return o.charAt(f)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),c._decompress(u.length,32,function(f){return a(o,u.charAt(f))}))},compress:function(u){return c._compress(u,16,function(f){return n(f)})},_compress:function(u,f,p){if(u==null)return"";var h,g,y={},w={},_="",O="",S="",v=2,T=3,E=2,R=[],A=0,L=0,x;for(x=0;x<u.length;x+=1)if(_=u.charAt(x),Object.prototype.hasOwnProperty.call(y,_)||(y[_]=T++,w[_]=!0),O=S+_,Object.prototype.hasOwnProperty.call(y,O))S=O;else{if(Object.prototype.hasOwnProperty.call(w,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)A=A<<1,L==f-1?(L=0,R.push(p(A)),A=0):L++;for(g=S.charCodeAt(0),h=0;h<8;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1}else{for(g=1,h=0;h<E;h++)A=A<<1|g,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1}v--,v==0&&(v=Math.pow(2,E),E++),delete w[S]}else for(g=y[S],h=0;h<E;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1;v--,v==0&&(v=Math.pow(2,E),E++),y[O]=T++,S=String(_)}if(S!==""){if(Object.prototype.hasOwnProperty.call(w,S)){if(S.charCodeAt(0)<256){for(h=0;h<E;h++)A=A<<1,L==f-1?(L=0,R.push(p(A)),A=0):L++;for(g=S.charCodeAt(0),h=0;h<8;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1}else{for(g=1,h=0;h<E;h++)A=A<<1|g,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=0;for(g=S.charCodeAt(0),h=0;h<16;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1}v--,v==0&&(v=Math.pow(2,E),E++),delete w[S]}else for(g=y[S],h=0;h<E;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1;v--,v==0&&(v=Math.pow(2,E),E++)}for(g=2,h=0;h<E;h++)A=A<<1|g&1,L==f-1?(L=0,R.push(p(A)),A=0):L++,g=g>>1;for(;;)if(A=A<<1,L==f-1){R.push(p(A));break}else L++;return R.join("")},decompress:function(u){return u==null?"":u==""?null:c._decompress(u.length,32768,function(f){return u.charCodeAt(f)})},_decompress:function(u,f,p){var h=[],g=4,y=4,w=3,_="",O=[],S,v,T,E,R,A,L,x={val:p(0),position:f,index:1};for(S=0;S<3;S+=1)h[S]=S;for(T=0,R=Math.pow(2,2),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;switch(T){case 0:for(T=0,R=Math.pow(2,8),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;L=n(T);break;case 1:for(T=0,R=Math.pow(2,16),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;L=n(T);break;case 2:return""}for(h[3]=L,v=L,O.push(L);;){if(x.index>u)return"";for(T=0,R=Math.pow(2,w),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;switch(L=T){case 0:for(T=0,R=Math.pow(2,8),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;h[y++]=n(T),L=y-1,g--;break;case 1:for(T=0,R=Math.pow(2,16),A=1;A!=R;)E=x.val&x.position,x.position>>=1,x.position==0&&(x.position=f,x.val=p(x.index++)),T|=(E>0?1:0)*A,A<<=1;h[y++]=n(T),L=y-1,g--;break;case 2:return O.join("")}if(g==0&&(g=Math.pow(2,w),w++),h[L])_=h[L];else if(L===y)_=v+v.charAt(0);else return null;O.push(_),h[y++]=v+_.charAt(0),g--,v=_,g==0&&(g=Math.pow(2,w),w++)}}};return c})();e!=null?e.exports=t:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return t})})(Ed)),Ed.exports}var l$=a$();const Nb=s$(l$),Db=["topOrigin","compType","userId","instanceUid","compId","isSfc"],Mo=()=>{const e=r();function t(a){if(Object.keys(a).filter(u=>!Db.includes(u)).length)throw new Error(`iframe参数键名只能包含${Db.join(", ")}`);return Nb.compressToEncodedURIComponent(JSON.stringify(a))}function n(a){const c=Nb.decompressFromEncodedURIComponent(a);return JSON.parse(c)}function r(){const c=new URLSearchParams(window.location.search).get("params")??"";return n(c)}function o(a){const c={...e,...a};return t(c)}function s(){return new URLSearchParams(window.location.search).get("isDark")}return{params:e,createIframeParams:t,uniteParams:o,getTheme:s}},$s=e=>{const{params:{topOrigin:t}}=Mo();return t},Qe={ITEM_INIT_SET:"item_init_set",ITEM_INIT_GET:"item_init_get",ITEM_INIT_SET_LOCAL:"item_init_set_local",ITEM_INIT_GET_LOCAL:"item_init_get_local",THEME_CHANGE_SET:"theme_change_set",THEME_CHANGE_GET:"theme_change_get",BG_COLOR_SET:"bg_color_set",BG_COLOR_GET:"bg_color_get",COMP_PREVIEW_LIST_SET:"comp_preview_list_set",COMP_PREVIEW_LIST_GET:"comp_preview_list_get",COMP_RENDER_INFO_SET:"comp_render_info_set",COMP_RENDER_INFO_GET:"comp_render_info_get",CAROUSEL_INDEX_SET:"carousel_index_set",CAROUSEL_INDEX_GET:"carousel_index_get",SHOW_REFRESH_BTN_SET:"show_refresh_btn_set",SHOW_REFRESH_BTN_GET:"show_refresh_btn_get",ACTION_REFRESH:"action_refresh",IS_ONLINE_UPDATE_SET:"is_online_update_set",IS_ONLINE_UPDATE_GET:"is_online_update_get",IS_ADD_SET:"is_add_set",IS_ADD_GET:"is_add_get",COMP_EDIT_TAB_TYPE_SET:"comp_edit_tab_type_set",SETTING_DATA_SET:"setting_data_set",SETTING_DATA_GET:"setting_data_get",SETTING_DATA_LEAF_SET:"setting_data_leaf_set",SETTING_DATA_LEAF_GET:"setting_data_leaf_get",LOCALE_SET:"locale_set",LOCALE_GET:"locale_get",COMP_RENDER_ERROR_SET:"comp_render_error_set",COMP_SCREENSHOT_AUTO:"comp_screenshot_auto",COMP_SCREENSHOT_MANUAL_SET:"comp_screenshot_manual_set",SELECTED_FOLDER_SET:"selected_folder_set",SELECTED_FOLDER_GET:"selected_folder_get"};function js(){const e=ar(),t=(a,c,u,f)=>{a.postMessage({type:c,payload:JSON.stringify(u)},f)};return{sendMessageToParent:(a,c,u)=>{window.parent.postMessage({type:a,payload:JSON.stringify(c)},u)},sendMessageToTop:(a,c,u,f)=>{if(!u)throw new Error("targetOrigin 不能为空");window.top?.postMessage({type:a,payload:JSON.stringify(c),instanceUid:f},u)},sendMessageToTargetIframe:t,messageListener:()=>{const a=new Map,c=u=>{const{type:f,payload:p,instanceUid:h}=u.data??{},g=u.source===window.parent||u.source===window.top,y=h?.split(",").some(_=>_===e?.uid.toString()),w=a.get(f);(y||g)&&w?.(JSON.parse(p))};return window.addEventListener("message",c),Ds(()=>{window.removeEventListener("message",c),a.clear()}),{addListener:(u,f)=>{a.set(u,p=>{f(p)})},removeListener:u=>{u?a.delete(u):(a.clear(),window.removeEventListener("message",c))}}},requestResponse:async({targetWindow:a,requestType:c,responseType:u,data:f,targetOrigin:p,timeout:h=1e4})=>a?new Promise(g=>{let y=!1;const w=setTimeout(()=>{y||(y=!0,window.removeEventListener("message",_),g(null))},h),_=O=>{if(!y)try{const{type:S,payload:v}=O.data;S===u&&(y=!0,clearTimeout(w),window.removeEventListener("message",_),g(JSON.parse(v)))}catch{}};window.addEventListener("message",_),t(a,c,f,p)}):null,instanceUid:ce(()=>e?.uid?.toString()??"")}}function c$(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Vc=typeof window<"u",ii=(e,t=!1)=>t?Symbol.for(e):Symbol(e),u$=(e,t,n)=>f$({l:e,k:t,s:n}),f$=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Gt=e=>typeof e=="number"&&isFinite(e),G0=e=>$h(e)==="[object Date]",Ts=e=>$h(e)==="[object RegExp]",ku=e=>et(e)&&Object.keys(e).length===0,Kt=Object.assign,d$=Object.create,vt=(e=null)=>d$(e);let Fb;const Si=()=>Fb||(Fb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:vt());function $b(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function p$(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}const h$=/^\s*javascript\s*(?::|�*58;?|�*3a;?|:?)/i,m$=/^(?:href|src|action|formaction)$/i;function Fh(e){return h$.test(e)}function g$(e){const t=/url\s*\(/gi;let n="",r=0,o;for(;(o=t.exec(e))!==null;){const s=o.index,a=t.lastIndex-1;let c=a+1,u=1,f=null;for(;c<e.length;c++){const g=e[c];if(f){g===f&&(f=null);continue}if(g==='"'||g==="'")f=g;else if(g==="(")u++;else if(g===")"&&(u--,u===0))break}if(u!==0)break;const p=e.slice(a+1,c).trim(),h=p.startsWith('"')&&p.endsWith('"')||p.startsWith("'")&&p.endsWith("'")?p.slice(1,-1).trim():p;n+=e.slice(r,s),n+=Fh(h)?"url(about:blank)":e.slice(s,c+1),r=c+1}return n+e.slice(r)}function jb(e,t){if(m$.test(e)&&Fh(t))return"about:blank";const n=e.toLowerCase()==="style"?g$(t):t;return p$(n)}function y$(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(n,r,o)=>`${r}="${jb(r,o)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(n,r,o)=>`${r}='${jb(r,o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),e=e.replace(/(\s+(?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi,(n,r,o)=>Fh(o)?`${r}about:blank`:n),e}const b$=Object.prototype.hasOwnProperty;function vr(e,t){return b$.call(e,t)}const jt=Array.isArray,Lt=e=>typeof e=="function",ye=e=>typeof e=="string",rt=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",_$=e=>ot(e)&&Lt(e.then)&&Lt(e.catch),K0=Object.prototype.toString,$h=e=>K0.call(e),et=e=>$h(e)==="[object Object]",v$=e=>e==null?"":jt(e)||et(e)&&e.toString===K0?JSON.stringify(e,null,2):String(e);function jh(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Jl=e=>!ot(e)||jt(e);function _c(e,t){if(Jl(e)||Jl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{s!=="__proto__"&&(ot(r[s])&&!ot(o[s])&&(o[s]=Array.isArray(r[s])?[]:vt()),Jl(o[s])||Jl(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}function w$(e,t,n){return{line:e,column:t,offset:n}}function Op(e,t,n){return{start:e,end:t}}const ft={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},E$=17;function Tu(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,c=new SyntaxError(String(a));return c.code=e,t&&(c.location=t),c.domain=r,c}function S$(e){throw e}const Gr=" ",C$="\r",gn=`
|
|
2
|
+
`,k$="\u2028",T$="\u2029";function x$(e){const t=e;let n=0,r=1,o=1,s=0;const a=L=>t[L]===C$&&t[L+1]===gn,c=L=>t[L]===gn,u=L=>t[L]===T$,f=L=>t[L]===k$,p=L=>a(L)||c(L)||u(L)||f(L),h=()=>n,g=()=>r,y=()=>o,w=()=>s,_=L=>a(L)||u(L)||f(L)?gn:t[L],O=()=>_(n),S=()=>_(n+s);function v(){return s=0,p(n)&&(r++,o=0),a(n)&&n++,n++,o++,t[n]}function T(){return a(n+s)&&s++,s++,t[n+s]}function E(){n=0,r=1,o=1,s=0}function R(L=0){s=L}function A(){const L=n+s;for(;L!==n;)v();s=0}return{index:h,line:g,column:y,peekOffset:w,charAt:_,currentChar:O,currentPeek:S,next:v,peek:T,reset:E,resetPeek:R,skipToPeek:A}}const go=void 0,O$=".",Ub="'",A$="tokenizer";function R$(e,t={}){const n=t.location!==!1,r=x$(e),o=()=>r.index(),s=()=>w$(r.line(),r.column(),r.index()),a=s(),c=o(),u={currentType:13,offset:c,startLoc:a,endLoc:a,lastType:13,lastOffset:c,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:p}=t;function h(P,I,j,...W){const fe=f();if(I.column+=j,I.offset+=j,p){const ie=n?Op(fe.startLoc,I):null,U=Tu(P,ie,{domain:A$,args:W});p(U)}}function g(P,I,j){P.endLoc=s(),P.currentType=I;const W={type:I};return n&&(W.loc=Op(P.startLoc,P.endLoc)),j!=null&&(W.value=j),W}const y=P=>g(P,13);function w(P,I){return P.currentChar()===I?(P.next(),I):(h(ft.EXPECTED_TOKEN,s(),0,I),"")}function _(P){let I="";for(;P.currentPeek()===Gr||P.currentPeek()===gn;)I+=P.currentPeek(),P.peek();return I}function O(P){const I=_(P);return P.skipToPeek(),I}function S(P){if(P===go)return!1;const I=P.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I===95}function v(P){if(P===go)return!1;const I=P.charCodeAt(0);return I>=48&&I<=57}function T(P,I){const{currentType:j}=I;if(j!==2)return!1;_(P);const W=S(P.currentPeek());return P.resetPeek(),W}function E(P,I){const{currentType:j}=I;if(j!==2)return!1;_(P);const W=P.currentPeek()==="-"?P.peek():P.currentPeek(),fe=v(W);return P.resetPeek(),fe}function R(P,I){const{currentType:j}=I;if(j!==2)return!1;_(P);const W=P.currentPeek()===Ub;return P.resetPeek(),W}function A(P,I){const{currentType:j}=I;if(j!==7)return!1;_(P);const W=P.currentPeek()===".";return P.resetPeek(),W}function L(P,I){const{currentType:j}=I;if(j!==8)return!1;_(P);const W=S(P.currentPeek());return P.resetPeek(),W}function x(P,I){const{currentType:j}=I;if(!(j===7||j===11))return!1;_(P);const W=P.currentPeek()===":";return P.resetPeek(),W}function N(P,I){const{currentType:j}=I;if(j!==9)return!1;const W=()=>{const ie=P.currentPeek();return ie==="{"?S(P.peek()):ie==="@"||ie==="|"||ie===":"||ie==="."||ie===Gr||!ie?!1:ie===gn?(P.peek(),W()):K(P,!1)},fe=W();return P.resetPeek(),fe}function G(P){_(P);const I=P.currentPeek()==="|";return P.resetPeek(),I}function K(P,I=!0){const j=(fe=!1,ie="")=>{const U=P.currentPeek();return U==="{"||U==="@"||!U?fe:U==="|"?!(ie===Gr||ie===gn):U===Gr?(P.peek(),j(!0,Gr)):U===gn?(P.peek(),j(!0,gn)):!0},W=j();return I&&P.resetPeek(),W}function ae(P,I){const j=P.currentChar();return j===go?go:I(j)?(P.next(),j):null}function ue(P){const I=P.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36}function B(P){return ae(P,ue)}function ne(P){const I=P.charCodeAt(0);return I>=97&&I<=122||I>=65&&I<=90||I>=48&&I<=57||I===95||I===36||I===45}function re(P){return ae(P,ne)}function he(P){const I=P.charCodeAt(0);return I>=48&&I<=57}function Ee(P){return ae(P,he)}function Ve(P){const I=P.charCodeAt(0);return I>=48&&I<=57||I>=65&&I<=70||I>=97&&I<=102}function rn(P){return ae(P,Ve)}function tt(P){let I="",j="";for(;I=Ee(P);)j+=I;return j}function Ge(P){let I="";for(;;){const j=P.currentChar();if(j==="\\"){const W=P.peek();W==="{"||W==="}"||W==="@"||W==="|"||W==="\\"?(I+=j+W,P.next(),P.next()):(P.resetPeek(),I+=j,P.next())}else{if(j==="{"||j==="}"||j==="@"||j==="|"||!j)break;if(j===Gr||j===gn)if(K(P))I+=j,P.next();else{if(G(P))break;I+=j,P.next()}else I+=j,P.next()}}return I}function dn(P){O(P);let I="",j="";for(;I=re(P);)j+=I;const W=P.currentChar();if(W&&W!=="}"&&W!==go&&W!==Gr&&W!==gn&&W!==" "){const fe=ve(P);return h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j+fe),j+fe}return P.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j}function on(P){O(P);let I="";return P.currentChar()==="-"?(P.next(),I+=`-${tt(P)}`):I+=tt(P),P.currentChar()===go&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),I}function kn(P){return P!==Ub&&P!==gn}function Mt(P){O(P),w(P,"'");let I="",j="";for(;I=ae(P,kn);)I==="\\"?j+=ee(P):j+=I;const W=P.currentChar();return W===gn||W===go?(h(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),W===gn&&(P.next(),w(P,"'")),j):(w(P,"'"),j)}function ee(P){const I=P.currentChar();switch(I){case"\\":case"'":return P.next(),`\\${I}`;case"u":return ge(P,I,4);case"U":return ge(P,I,6);default:return h(ft.UNKNOWN_ESCAPE_SEQUENCE,s(),0,I),""}}function ge(P,I,j){w(P,I);let W="";for(let fe=0;fe<j;fe++){const ie=rn(P);if(!ie){h(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${I}${W}${P.currentChar()}`);break}W+=ie}return`\\${I}${W}`}function pe(P){return P!=="{"&&P!=="}"&&P!==Gr&&P!==gn}function ve(P){O(P);let I="",j="";for(;I=ae(P,pe);)j+=I;return j}function ze(P){let I="",j="";for(;I=B(P);)j+=I;return j}function M(P){const I=j=>{const W=P.currentChar();return W==="{"||W==="@"||W==="|"||W==="("||W===")"||!W||W===Gr?j:(j+=W,P.next(),I(j))};return I("")}function F(P){O(P);const I=w(P,"|");return O(P),I}function V(P,I){let j=null;switch(P.currentChar()){case"{":return I.braceNest>=1&&h(ft.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),P.next(),j=g(I,2,"{"),O(P),I.braceNest++,j;case"}":return I.braceNest>0&&I.currentType===2&&h(ft.EMPTY_PLACEHOLDER,s(),0),P.next(),j=g(I,3,"}"),I.braceNest--,I.braceNest>0&&O(P),I.inLinked&&I.braceNest===0&&(I.inLinked=!1),j;case"@":return I.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=J(P,I)||y(I),I.braceNest=0,j;default:{let fe=!0,ie=!0,U=!0;if(G(P))return I.braceNest>0&&h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),j=g(I,1,F(P)),I.braceNest=0,I.inLinked=!1,j;if(I.braceNest>0&&(I.currentType===4||I.currentType===5||I.currentType===6))return h(ft.UNTERMINATED_CLOSING_BRACE,s(),0),I.braceNest=0,te(P,I);if(fe=T(P,I))return j=g(I,4,dn(P)),O(P),j;if(ie=E(P,I))return j=g(I,5,on(P)),O(P),j;if(U=R(P,I))return j=g(I,6,Mt(P)),O(P),j;if(!fe&&!ie&&!U)return j=g(I,12,ve(P)),h(ft.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,j.value),O(P),j;break}}return j}function J(P,I){const{currentType:j}=I;let W=null;const fe=P.currentChar();switch((j===7||j===8||j===11||j===9)&&(fe===gn||fe===Gr)&&h(ft.INVALID_LINKED_FORMAT,s(),0),fe){case"@":return P.next(),W=g(I,7,"@"),I.inLinked=!0,W;case".":return O(P),P.next(),g(I,8,".");case":":return O(P),P.next(),g(I,9,":");default:return G(P)?(W=g(I,1,F(P)),I.braceNest=0,I.inLinked=!1,W):A(P,I)||x(P,I)?(O(P),J(P,I)):L(P,I)?(O(P),g(I,11,ze(P))):N(P,I)?(O(P),fe==="{"?V(P,I)||W:g(I,10,M(P))):(j===7&&h(ft.INVALID_LINKED_FORMAT,s(),0),I.braceNest=0,I.inLinked=!1,te(P,I))}}function te(P,I){let j={type:13};if(I.braceNest>0)return V(P,I)||y(I);if(I.inLinked)return J(P,I)||y(I);switch(P.currentChar()){case"{":return V(P,I)||y(I);case"}":return h(ft.UNBALANCED_CLOSING_BRACE,s(),0),P.next(),g(I,3,"}");case"@":return J(P,I)||y(I);default:{if(G(P))return j=g(I,1,F(P)),I.braceNest=0,I.inLinked=!1,j;if(K(P))return g(I,0,Ge(P));break}}return j}function Q(){const{currentType:P,offset:I,startLoc:j,endLoc:W}=u;return u.lastType=P,u.lastOffset=I,u.lastStartLoc=j,u.lastEndLoc=W,u.offset=o(),u.startLoc=s(),r.currentChar()===go?g(u,13):te(r,u)}return{nextToken:Q,currentOffset:o,currentPosition:s,context:f}}const P$="parser",L$=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,I$=/\\([\\@{}|])/g;function M$(e,t){return t}function N$(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 D$(e={}){const t=e.location!==!1,{onError:n}=e;function r(S,v,T,E,...R){const A=S.currentPosition();if(A.offset+=E,A.column+=E,n){const L=t?Op(T,A):null,x=Tu(v,L,{domain:P$,args:R});n(x)}}function o(S,v,T){const E={type:S};return t&&(E.start=v,E.end=v,E.loc={start:T,end:T}),E}function s(S,v,T,E){t&&(S.end=v,S.loc&&(S.loc.end=T))}function a(S,v){const T=S.context(),E=o(3,T.offset,T.startLoc);return E.value=v.replace(I$,M$),s(E,S.currentOffset(),S.currentPosition()),E}function c(S,v){const T=S.context(),{lastOffset:E,lastStartLoc:R}=T,A=o(5,E,R);return A.index=parseInt(v,10),S.nextToken(),s(A,S.currentOffset(),S.currentPosition()),A}function u(S,v){const T=S.context(),{lastOffset:E,lastStartLoc:R}=T,A=o(4,E,R);return A.key=v,S.nextToken(),s(A,S.currentOffset(),S.currentPosition()),A}function f(S,v){const T=S.context(),{lastOffset:E,lastStartLoc:R}=T,A=o(9,E,R);return A.value=v.replace(L$,N$),S.nextToken(),s(A,S.currentOffset(),S.currentPosition()),A}function p(S){const v=S.nextToken(),T=S.context(),{lastOffset:E,lastStartLoc:R}=T,A=o(8,E,R);return v.type!==11?(r(S,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),A.value="",s(A,E,R),{nextConsumeToken:v,node:A}):(v.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,Kr(v)),A.value=v.value||"",s(A,S.currentOffset(),S.currentPosition()),{node:A})}function h(S,v){const T=S.context(),E=o(7,T.offset,T.startLoc);return E.value=v,s(E,S.currentOffset(),S.currentPosition()),E}function g(S){const v=S.context(),T=o(6,v.offset,v.startLoc);let E=S.nextToken();if(E.type===8){const R=p(S);T.modifier=R.node,E=R.nextConsumeToken||S.nextToken()}switch(E.type!==9&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),E=S.nextToken(),E.type===2&&(E=S.nextToken()),E.type){case 10:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),T.key=h(S,E.value||"");break;case 4:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),T.key=u(S,E.value||"");break;case 5:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),T.key=c(S,E.value||"");break;case 6:E.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(E)),T.key=f(S,E.value||"");break;default:{r(S,ft.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const R=S.context(),A=o(7,R.offset,R.startLoc);return A.value="",s(A,R.offset,R.startLoc),T.key=A,s(T,R.offset,R.startLoc),{nextConsumeToken:E,node:T}}}return s(T,S.currentOffset(),S.currentPosition()),{node:T}}function y(S){const v=S.context(),T=v.currentType===1?S.currentOffset():v.offset,E=v.currentType===1?v.endLoc:v.startLoc,R=o(2,T,E);R.items=[];let A=null;do{const N=A||S.nextToken();switch(A=null,N.type){case 0:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(a(S,N.value||""));break;case 5:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(c(S,N.value||""));break;case 4:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(u(S,N.value||""));break;case 6:N.value==null&&r(S,ft.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Kr(N)),R.items.push(f(S,N.value||""));break;case 7:{const G=g(S);R.items.push(G.node),A=G.nextConsumeToken||null;break}}}while(v.currentType!==13&&v.currentType!==1);const L=v.currentType===1?v.lastOffset:S.currentOffset(),x=v.currentType===1?v.lastEndLoc:S.currentPosition();return s(R,L,x),R}function w(S,v,T,E){const R=S.context();let A=E.items.length===0;const L=o(1,v,T);L.cases=[],L.cases.push(E);do{const x=y(S);A||(A=x.items.length===0),L.cases.push(x)}while(R.currentType!==13);return A&&r(S,ft.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),s(L,S.currentOffset(),S.currentPosition()),L}function _(S){const v=S.context(),{offset:T,startLoc:E}=v,R=y(S);return v.currentType===13?R:w(S,T,E,R)}function O(S){const v=R$(S,Kt({},e)),T=v.context(),E=o(0,T.offset,T.startLoc);return t&&E.loc&&(E.loc.source=S),E.body=_(v),e.onCacheKey&&(E.cacheKey=e.onCacheKey(S)),T.currentType!==13&&r(v,ft.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,S[T.offset]||""),s(E,v.currentOffset(),v.currentPosition()),E}return{parse:O}}function Kr(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function F$(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function zb(e,t){for(let n=0;n<e.length;n++)Uh(e[n],t)}function Uh(e,t){switch(e.type){case 1:zb(e.cases,t),t.helper("plural");break;case 2:zb(e.items,t);break;case 6:{Uh(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 $$(e,t={}){const n=F$(e);n.helper("normalize"),e.body&&Uh(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function j$(e){const t=e.body;return t.type===2?Bb(t):t.cases.forEach(n=>Bb(n)),e}function Bb(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=jh(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function ds(e){switch(e.t=e.type,e.type){case 0:{const t=e;ds(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++)ds(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++)ds(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;ds(t.key),t.k=t.key,delete t.key,t.modifier&&(ds(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}}delete e.type}function U$(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,a={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(a.source=e.loc.source);const c=()=>a;function u(_,O){a.code+=_}function f(_,O=!0){const S=O?r:"";u(o?S+" ".repeat(_):S)}function p(_=!0){const O=++a.indentLevel;_&&f(O)}function h(_=!0){const O=--a.indentLevel;_&&f(O)}function g(){f(a.indentLevel)}return{context:c,push:u,indent:p,deindent:h,newline:g,helper:_=>`_${_}`,needIndent:()=>a.needIndent}}function z$(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),xs(e,t.key),t.modifier?(e.push(", "),xs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function B$(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(xs(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function W$(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(xs(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function H$(e,t){t.body?xs(e,t.body):e.push("null")}function xs(e,t){const{helper:n}=e;switch(t.type){case 0:H$(e,t);break;case 1:W$(e,t);break;case 2:B$(e,t);break;case 6:z$(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}}const V$=(e,t={})=>{const n=ye(t.mode)?t.mode:"normal",r=ye(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
3
|
+
`,s=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],c=U$(e,{filename:r,breakLineCode:o,needIndent:s});c.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(s),a.length>0&&(c.push(`const { ${jh(a.map(p=>`${p}: _${p}`),", ")} } = ctx`),c.newline()),c.push("return "),xs(c,e),c.deindent(s),c.push("}"),delete e.helpers;const{code:u,map:f}=c.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function G$(e,t={}){const n=Kt({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,c=D$(n).parse(e);return r?(s&&j$(c),o&&ds(c),{ast:c,code:""}):($$(c,n),V$(c,n))}function K$(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function no(e){return ot(e)&&zh(e)===0&&(vr(e,"b")||vr(e,"body"))}const q0=["b","body"];function q$(e){return si(e,q0)}const Y0=["c","cases"];function Y$(e){return si(e,Y0,[])}const X0=["s","static"];function X$(e){return si(e,X0)}const J0=["i","items"];function J$(e){return si(e,J0,[])}const Q0=["t","type"];function zh(e){return si(e,Q0)}const Z0=["v","value"];function Ql(e,t){const n=si(e,Z0);if(n!=null)return n;throw Na(t)}const eS=["m","modifier"];function Q$(e){return si(e,eS)}const tS=["k","key"];function Z$(e){const t=si(e,tS);if(t)return t;throw Na(6)}function si(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(vr(e,o)&&e[o]!=null)return e[o]}return n}const nS=[...q0,...Y0,...X0,...J0,...tS,...eS,...Z0,...Q0];function Na(e){return new Error(`unhandled node type: ${e}`)}function Sd(e){return n=>ej(n,e)}function ej(e,t){const n=q$(t);if(n==null)throw Na(0);if(zh(n)===1){const s=Y$(n);return e.plural(s.reduce((a,c)=>[...a,Wb(e,c)],[]))}else return Wb(e,n)}function Wb(e,t){const n=X$(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=J$(t).reduce((o,s)=>[...o,Ap(e,s)],[]);return e.normalize(r)}}function Ap(e,t){const n=zh(t);switch(n){case 3:return Ql(t,n);case 9:return Ql(t,n);case 4:{const r=t;if(vr(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(vr(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Na(n)}case 5:{const r=t;if(vr(r,"i")&&Gt(r.i))return e.interpolate(e.list(r.i));if(vr(r,"index")&&Gt(r.index))return e.interpolate(e.list(r.index));throw Na(n)}case 6:{const r=t,o=Q$(r),s=Z$(r);return e.linked(Ap(e,s),o?Ap(e,o):void 0,e.type)}case 7:return Ql(t,n);case 8:return Ql(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const tj=e=>e;let Zl=vt();function nj(e,t={}){let n=!1;const r=t.onError||S$;return t.onError=o=>{n=!0,r(o)},{...G$(e,t),detectError:n}}function rj(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&ye(e)){rt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||tj)(e),o=Zl[r];if(o)return o;const{ast:s,detectError:a}=nj(e,{...t,location:!1,jit:!0}),c=Sd(s);return a?c:Zl[r]=c}else{const n=e.cacheKey;if(n){const r=Zl[n];return r||(Zl[n]=Sd(e))}else return Sd(e)}}let Da=null;function oj(e){Da=e}function ij(e,t,n){Da&&Da.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const sj=aj("function:translate");function aj(e){return t=>Da&&Da.emit(e,t)}const Co={INVALID_ARGUMENT:E$,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},lj=24;function ko(e){return Tu(e,null,void 0)}function Bh(e,t){return t.locale!=null?Hb(t.locale):Hb(e.locale)}let Cd;function Hb(e){if(ye(e))return e;if(Lt(e)){if(e.resolvedOnce&&Cd!=null)return Cd;if(e.constructor.name==="Function"){const t=e();if(_$(t))throw ko(Co.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Cd=t}else throw ko(Co.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ko(Co.NOT_SUPPORT_LOCALE_TYPE)}function cj(e,t,n){return[...new Set([n,...jt(t)?t:ot(t)?Object.keys(t):ye(t)?[t]:[n]])]}function Rp(e,t,n){const r=ye(n)?n:Fa,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;jt(a);)a=Vb(s,a,t);const c=jt(t)||!et(t)?t:t.default?t.default:null;a=ye(c)?[c]:c,jt(a)&&Vb(s,a,!1),o.__localeChainCache.set(r,s)}return s}function Vb(e,t,n){let r=!0;for(let o=0;o<t.length&&rt(r);o++){const s=t[o];ye(s)&&(r=uj(e,t[o],n))}return r}function uj(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=fj(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function fj(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(jt(n)||et(n))&&n[o]&&(r=n[o])}return r}const ai=[];ai[0]={w:[0],i:[3,0],"[":[4],o:[7]};ai[1]={w:[1],".":[2],"[":[4],o:[7]};ai[2]={w:[2],i:[3,0],0:[3,0]};ai[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ai[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ai[5]={"'":[4,0],o:8,l:[5,0]};ai[6]={'"':[4,0],o:8,l:[6,0]};const dj=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function pj(e){return dj.test(e)}function hj(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 mj(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 gj(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:pj(t)?hj(t):"*"+t}function yj(e){const t=[];let n=-1,r=0,o=0,s,a,c,u,f,p,h;const g=[];g[0]=()=>{a===void 0?a=c:a+=c},g[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},g[2]=()=>{g[0](),o++},g[3]=()=>{if(o>0)o--,r=4,g[0]();else{if(o=0,a===void 0||(a=gj(a),a===!1))return!1;g[1]()}};function y(){const w=e[n+1];if(r===5&&w==="'"||r===6&&w==='"')return n++,c="\\"+w,g[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&y())){if(u=mj(s),h=ai[r],f=h[u]||h.l||8,f===8||(r=f[0],f[1]!==void 0&&(p=g[f[1]],p&&(c=s,p()===!1))))return;if(r===7)return t}}const Gb=new Map;function bj(e,t){return ot(e)?e[t]:null}function _j(e,t){if(!ot(e))return null;let n=Gb.get(t);if(n||(n=yj(t),n&&Gb.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=n[s];if(nS.includes(a)&&no(o)||!ot(o)||!vr(o,a))return null;const c=o[a];if(c===void 0||Lt(o))return null;o=c,s++}return o}const vj="11.4.7",xu=-1,Fa="en-US",Gc="",Kb=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wj(){return{upper:(e,t)=>t==="text"&&ye(e)?e.toUpperCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ye(e)?e.toLowerCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ye(e)?Kb(e):t==="vnode"&&ot(e)&&"__v_isVNode"in e?Kb(e.children):e}}let rS;function Ej(e){rS=e}let oS;function Sj(e){oS=e}let iS;function Cj(e){iS=e}let sS=null;const kj=e=>{sS=e},Tj=()=>sS;let aS=null;const qb=e=>{aS=e},xj=()=>aS;let Yb=0;function Oj(e={}){const t=Lt(e.onWarn)?e.onWarn:c$,n=ye(e.version)?e.version:vj,r=ye(e.locale)||Lt(e.locale)?e.locale:Fa,o=Lt(r)?Fa:r,s=jt(e.fallbackLocale)||et(e.fallbackLocale)||ye(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,a=et(e.messages)?e.messages:kd(o),c=et(e.datetimeFormats)?e.datetimeFormats:kd(o),u=et(e.numberFormats)?e.numberFormats:kd(o),f=Kt(vt(),e.modifiers,wj()),p=e.pluralRules||vt(),h=Lt(e.missing)?e.missing:null,g=rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,w=!!e.fallbackFormat,_=!!e.unresolving,O=Lt(e.postTranslation)?e.postTranslation:null,S=et(e.processor)?e.processor:null,v=rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,E=Lt(e.messageCompiler)?e.messageCompiler:rS,R=Lt(e.messageResolver)?e.messageResolver:oS||bj,A=Lt(e.localeFallbacker)?e.localeFallbacker:iS||cj,L=ot(e.fallbackContext)?e.fallbackContext:void 0,x=e,N=ot(x.__datetimeFormatters)?x.__datetimeFormatters:new Map,G=ot(x.__numberFormatters)?x.__numberFormatters:new Map,K=ot(x.__meta)?x.__meta:{};Yb++;const ae={version:n,cid:Yb,locale:r,fallbackLocale:s,messages:a,modifiers:f,pluralRules:p,missing:h,missingWarn:g,fallbackWarn:y,fallbackFormat:w,unresolving:_,postTranslation:O,processor:S,warnHtmlMessage:v,escapeParameter:T,messageCompiler:E,messageResolver:R,localeFallbacker:A,fallbackContext:L,onWarn:t,__meta:K};return ae.datetimeFormats=c,ae.numberFormats=u,ae.__datetimeFormatters=N,ae.__numberFormatters=G,__INTLIFY_PROD_DEVTOOLS__&&ij(ae,n,K),ae}const kd=e=>({[e]:vt()});function Wh(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const c=s(e,n,t,o);return ye(c)?c:t}else return t}function oa(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Aj(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Rj(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Aj(e,t[r]))return!0;return!1}function Xb(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:c}=e;if(!ye(t[0])&&!G0(t[0])&&!Gt(t[0]))return Gc;const[u,f,p,h]=Pp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,w=Bh(e,p),_=a(e,o,w);if(!ye(u)||u===""){const A=new Intl.DateTimeFormat(w.replace(/!/g,""),h);return y?A.formatToParts(f):A.format(f)}let O={},S,v=null;const T="datetime format";for(let A=0;A<_.length&&(S=_[A],O=n[S]||{},v=O[u],!et(v));A++)Wh(e,u,S,g,T);if(!et(v)||!ye(S))return r?xu:u;let E=`${S}__${u}`;ku(h)||(E=`${E}__${JSON.stringify(h)}`);let R=c.get(E);return R||(R=new Intl.DateTimeFormat(S,Kt({},v,h)),c.set(E,R)),y?R.formatToParts(f):R.format(f)}const lS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Pp(...e){const[t,n,r,o]=e,s=vt();let a=vt(),c;if(ye(t)){const u=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!u)throw ko(Co.INVALID_ISO_DATE_ARGUMENT);const f=u[3]?u[3].trim().startsWith("T")?`${u[1].trim()}${u[3].trim()}`:`${u[1].trim()}T${u[3].trim()}`:u[1].trim();c=new Date(f);try{c.toISOString()}catch{throw ko(Co.INVALID_ISO_DATE_ARGUMENT)}}else if(G0(t)){if(isNaN(t.getTime()))throw ko(Co.INVALID_DATE_ARGUMENT);c=t}else if(Gt(t))c=t;else throw ko(Co.INVALID_ARGUMENT);return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{lS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function Jb(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Qb(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:c}=e;if(!Gt(t[0]))return Gc;const[u,f,p,h]=Lp(...t),g=rt(p.missingWarn)?p.missingWarn:e.missingWarn;rt(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn;const y=!!p.part,w=Bh(e,p),_=a(e,o,w);if(!ye(u)||u===""){const A=new Intl.NumberFormat(w.replace(/!/g,""),h);return y?A.formatToParts(f):A.format(f)}let O={},S,v=null;const T="number format";for(let A=0;A<_.length&&(S=_[A],O=n[S]||{},v=O[u],!et(v));A++)Wh(e,u,S,g,T);if(!et(v)||!ye(S))return r?xu:u;let E=`${S}__${u}`;ku(h)||(E=`${E}__${JSON.stringify(h)}`);let R=c.get(E);return R||(R=new Intl.NumberFormat(S,Kt({},v,h)),c.set(E,R)),y?R.formatToParts(f):R.format(f)}const cS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Lp(...e){const[t,n,r,o]=e,s=vt();let a=vt();if(!Gt(t))throw ko(Co.INVALID_ARGUMENT);const c=t;return ye(n)?s.key=n:et(n)&&Object.keys(n).forEach(u=>{cS.includes(u)?a[u]=n[u]:s[u]=n[u]}),ye(r)?s.locale=r:et(r)&&(a=r),et(o)&&(a=o),[s.key||"",c,s,a]}function Zb(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}const Pj=e=>e,Lj=e=>"",Ij="text",Mj=e=>e.length===0?"":jh(e),Nj=v$;function Td(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function Dj(e){const t=Gt(e.pluralIndex)?e.pluralIndex:-1;return Gt(e.named?.count)?e.named.count:Gt(e.named?.n)?e.named.n:t}function Fj(e={}){const t=e.locale,n=Dj(e),r=ye(t)&&Lt(e.pluralRules?.[t])?e.pluralRules[t]:Td,o=r===Td?void 0:Td,s=S=>S[r(n,S.length,o)],a=e.list||[],c=S=>a[S],u=e.named||vt();Gt(e.pluralIndex)&&(u.count||=e.pluralIndex,u.n||=e.pluralIndex);const f=S=>u[S];function p(S,v){const T=Lt(e.messages)?e.messages(S,!!v):ot(e.messages)?e.messages[S]:!1;return T||(e.parent?e.parent.message(S):Lj)}const h=S=>e.modifiers?e.modifiers[S]:Pj,g=Lt(e.processor?.normalize)?e.processor.normalize:Mj,y=Lt(e.processor?.interpolate)?e.processor.interpolate:Nj,w=ye(e.processor?.type)?e.processor.type:Ij,O={list:c,named:f,plural:s,linked:(S,...v)=>{const[T,E]=v;let R="text",A="";v.length===1?ot(T)?(A=T.modifier||A,R=T.type||R):ye(T)&&(A=T||A):v.length===2&&(ye(T)&&(A=T||A),ye(E)&&(R=E||R));const L=p(S,!0)(O),x=L===""||L===void 0?S:L,N=R==="vnode"&&jt(x)&&A?x[0]:x;return A?h(A)(N,R):N},message:p,type:w,interpolate:y,normalize:g,values:Kt(vt(),a,u)};return O}const e_=()=>"",_r=e=>Lt(e);function t_(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:c}=e,[u,f]=Ip(...t),p=rt(f.missingWarn)?f.missingWarn:e.missingWarn,h=rt(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,g=rt(f.escapeParameter)?f.escapeParameter:e.escapeParameter,y=!!f.resolvedMessage,w=ye(f.default)||rt(f.default)?rt(f.default)?s?u:()=>u:f.default:n?s?u:()=>u:null,_=n||w!=null&&(ye(w)||Lt(w)),O=Bh(e,f);g&&$j(f);let[S,v,T]=y?[u,O,c[O]||vt()]:uS(e,u,O,a,h,p),E=S,R=u;if(!y&&!(ye(E)||no(E)||_r(E))&&_&&(E=w,R=E),!y&&(!(ye(E)||no(E)||_r(E))||!ye(v)))return o?xu:u;let A=!1;const L=()=>{A=!0},x=_r(E)?E:fS(e,u,v,E,R,L);if(A)return E;const N=zj(e,v,T,f),G=Fj(N),K=jj(e,x,G);let ae=r?r(K,u):K;if(g&&ye(ae)&&(ae=y$(ae)),__INTLIFY_PROD_DEVTOOLS__){const ue={timestamp:Date.now(),key:ye(u)?u:_r(E)?E.key:"",locale:v||(_r(E)?E.locale:""),format:ye(E)?E:_r(E)?E.source:"",message:ae};ue.meta=Kt({},e.__meta,Tj()||{}),sj(ue)}return ae}function $j(e){jt(e.list)?e.list=e.list.map(t=>ye(t)?$b(t):t):ot(e.named)&&Object.keys(e.named).forEach(t=>{ye(e.named[t])&&(e.named[t]=$b(e.named[t]))})}function uS(e,t,n,r,o,s){const{messages:a,onWarn:c,messageResolver:u,localeFallbacker:f}=e,p=f(e,r,n);let h=vt(),g,y=null;const w="translate";for(let _=0;_<p.length&&(g=p[_],h=a[g]||vt(),(y=u(h,t))===null&&(y=h[t]),!(ye(y)||no(y)||_r(y)));_++)if(!Rj(g,p)){const O=Wh(e,t,g,s,w);O!==t&&(y=O)}return[y,g,h]}function fS(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:c}=e;if(_r(r)){const f=r;return f.locale=f.locale||n,f.key=f.key||t,f}if(a==null){const f=(()=>r);return f.locale=n,f.key=t,f}const u=a(r,Uj(e,n,o,r,c,s));return u.locale=n,u.key=t,u.source=r,u}function jj(e,t,n){return t(n)}function Ip(...e){const[t,n,r]=e,o=vt();if(!ye(t)&&!Gt(t)&&!_r(t)&&!no(t))throw ko(Co.INVALID_ARGUMENT);const s=Gt(t)?String(t):(_r(t),t);return Gt(n)?o.plural=n:ye(n)?o.default=n:et(n)&&!ku(n)?o.named=n:jt(n)&&(o.list=n),Gt(r)?o.plural=r:ye(r)?o.default=r:et(r)&&Kt(o,r),[s,o]}function Uj(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>u$(t,n,a)}}function zj(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:c,fallbackWarn:u,missingWarn:f,fallbackContext:p}=e,g={locale:t,modifiers:o,pluralRules:s,messages:(y,w)=>{let _=a(n,y);if(_==null&&(p||w)){const[O,,S]=uS(p||e,y,t,c,u,f);_=O??a(S,y)}if(ye(_)||no(_)){let O=!1;const v=fS(e,y,t,_,y,()=>{O=!0});return O?e_:v}else return _r(_)?_:e_}};return e.processor&&(g.processor=e.processor),r.list&&(g.list=r.list),r.named&&(g.named=r.named),Gt(r.plural)&&(g.pluralIndex=r.plural),g}K$();const Bj="11.4.7";function Wj(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Si().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Si().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Si().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Si().__INTLIFY_PROD_DEVTOOLS__=!1)}const Mn={UNEXPECTED_RETURN_TYPE:lj,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Wn(e,...t){return Tu(e,null,void 0)}const Mp=ii("__translateVNode"),Np=ii("__datetimeParts"),Dp=ii("__numberParts"),dS=ii("__setPluralRules"),pS=ii("__injectWithOption"),ms=ii("__dispose");function $a(e){if(!ot(e)||no(e))return e;for(const t in e)if(vr(e,t))if(!t.includes("."))ot(e[t])&&$a(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let a=0;a<r;a++){if(n[a]==="__proto__")throw new Error(`unsafe key: ${n[a]}`);if(n[a]in o||(o[n[a]]=vt()),!ot(o[n[a]])){s=!0;break}o=o[n[a]]}if(s||(no(o)?nS.includes(n[r])||delete e[t]:(o[n[r]]=e[t],delete e[t])),!no(o)){const a=o[n[r]];ot(a)&&$a(a)}}return e}function Hh(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=et(n)?n:jt(r)?vt():{[e]:vt()};if(jt(r)&&r.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:u,resource:f}=c;u?(a[u]=a[u]||vt(),_c(f,a[u])):_c(f,a)}else ye(c)&&_c(JSON.parse(c),a)}),o==null&&s)for(const c in a)vr(a,c)&&$a(a[c]);return a}function hS(e){return e.type}function mS(e,t,n){let r=ot(t.messages)?t.messages:vt();"__i18nGlobal"in n&&(r=Hh(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(ot(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ot(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function n_(e){return Vt(Ya,null,e,0)}function ja(){return ar()}const r_="__INTLIFY_META__",o_=()=>[],Hj=()=>!1;let i_=0;function s_(e){return((t,n,r,o)=>e(n,r,ja()||void 0,o))}const Vj=()=>{const e=ja();let t=null;return e&&(t=hS(e)[r_])?{[r_]:t}:null};function Kc(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,o=e.flatJson,s=Vc?Re:In;let a=rt(e.inheritLocale)?e.inheritLocale:!0;const c=s(t&&a?t.locale.value:ye(e.locale)?e.locale:Fa),u=s(t&&a?t.fallbackLocale.value:ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=s(Hh(c.value,e)),p=s(et(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=s(et(e.numberFormats)?e.numberFormats:{[c.value]:{}});let g=t?t.missingWarn:rt(e.missingWarn)||Ts(e.missingWarn)?e.missingWarn:!0,y=t?t.fallbackWarn:rt(e.fallbackWarn)||Ts(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:rt(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,O=Lt(e.missing)?e.missing:null,S=Lt(e.missing)?s_(e.missing):null,v=Lt(e.postTranslation)?e.postTranslation:null,T=t?t.warnHtmlMessage:rt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const R=t?t.modifiers:et(e.modifiers)?e.modifiers:{};let A=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&qb(null);const U={version:Bj,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:R,pluralRules:A,missing:S===null?void 0:S,missingWarn:g,fallbackWarn:y,fallbackFormat:_,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:T,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};U.datetimeFormats=p.value,U.numberFormats=h.value,U.__datetimeFormatters=et(L)?L.__datetimeFormatters:void 0,U.__numberFormatters=et(L)?L.__numberFormatters:void 0;const X=Oj(U);return r&&qb(X),X})(),oa(L,c.value,u.value);function N(){return[c.value,u.value,f.value,p.value,h.value]}const G=ce({get:()=>c.value,set:U=>{L.locale=U,c.value=U}}),K=ce({get:()=>u.value,set:U=>{L.fallbackLocale=U,u.value=U,oa(L,c.value,U)}}),ae=ce(()=>f.value),ue=ce(()=>p.value),B=ce(()=>h.value);function ne(){return Lt(v)?v:null}function re(U){v=U,L.postTranslation=U}function he(){return O}function Ee(U){U!==null&&(S=s_(U)),O=U,L.missing=S}const Ve=(U,X,be,ke,$e,Xe)=>{N();let Ze;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?xj():void 0),Ze=U(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(be!=="translate exists"&&Gt(Ze)&&Ze===xu||be==="translate exists"&&!Ze){const[pn,Tn]=X();return t&&w?ke(t):$e(pn)}else{if(Xe(Ze))return Ze;throw Wn(Mn.UNEXPECTED_RETURN_TYPE)}};function rn(...U){return Ve(X=>Reflect.apply(t_,null,[X,...U]),()=>Ip(...U),"translate",X=>Reflect.apply(X.t,X,[...U]),X=>X,X=>ye(X))}function tt(...U){const[X,be,ke]=U;if(ke&&!ot(ke))throw Wn(Mn.INVALID_ARGUMENT);return rn(X,be,Kt({resolvedMessage:!0},ke||{}))}function Ge(...U){return Ve(X=>Reflect.apply(Xb,null,[X,...U]),()=>Pp(...U),"datetime format",X=>Reflect.apply(X.d,X,[...U]),()=>Gc,X=>ye(X)||jt(X))}function dn(...U){return Ve(X=>Reflect.apply(Qb,null,[X,...U]),()=>Lp(...U),"number format",X=>Reflect.apply(X.n,X,[...U]),()=>Gc,X=>ye(X)||jt(X))}function on(U){return U.map(X=>ye(X)||Gt(X)||rt(X)?n_(String(X)):X)}const Mt={normalize:on,interpolate:U=>U,type:"vnode"};function ee(...U){return Ve(X=>{let be;const ke=X;try{ke.processor=Mt,be=Reflect.apply(t_,null,[ke,...U])}finally{ke.processor=null}return be},()=>Ip(...U),"translate",X=>X[Mp](...U),X=>[n_(X)],X=>jt(X))}function ge(...U){return Ve(X=>Reflect.apply(Qb,null,[X,...U]),()=>Lp(...U),"number format",X=>X[Dp](...U),o_,X=>ye(X)||jt(X))}function pe(...U){return Ve(X=>Reflect.apply(Xb,null,[X,...U]),()=>Pp(...U),"datetime format",X=>X[Np](...U),o_,X=>ye(X)||jt(X))}function ve(U){A=U,L.pluralRules=A}function ze(U,X){return Ve(()=>{if(!U)return!1;const be=ye(X)?X:c.value,ke=ye(X)?[be]:Rp(L,u.value,be);for(let $e=0;$e<ke.length;$e++){const Xe=V(ke[$e]);let Ze=L.messageResolver(Xe,U);if(Ze===null&&(Ze=Xe[U]),no(Ze)||_r(Ze)||ye(Ze))return!0}return!1},()=>[U],"translate exists",be=>Reflect.apply(be.te,be,[U,X]),Hj,be=>rt(be))}function M(U){let X=null;const be=Rp(L,u.value,c.value);for(let ke=0;ke<be.length;ke++){const $e=f.value[be[ke]]||{},Xe=L.messageResolver($e,U);if(Xe!=null){X=Xe;break}}return X}function F(U){const X=M(U);return X??(t?t.tm(U)||{}:{})}function V(U){return f.value[U]||{}}function J(U,X){if(o){const be={[U]:X};for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U]}f.value[U]=X,L.messages=f.value}function te(U,X){f.value[U]=f.value[U]||{};const be={[U]:X};if(o)for(const ke in be)vr(be,ke)&&$a(be[ke]);X=be[U],_c(X,f.value[U]),L.messages=f.value}function Q(U){return p.value[U]||{}}function P(U,X){p.value[U]=X,L.datetimeFormats=p.value,Jb(L,U,X)}function I(U,X){p.value[U]=Kt(p.value[U]||{},X),L.datetimeFormats=p.value,Jb(L,U,X)}function j(U){return h.value[U]||{}}function W(U,X){h.value[U]=X,L.numberFormats=h.value,Zb(L,U,X)}function fe(U,X){h.value[U]=Kt(h.value[U]||{},X),L.numberFormats=h.value,Zb(L,U,X)}i_++,t&&Vc&&(gt(t.locale,U=>{a&&(c.value=U,L.locale=U,oa(L,c.value,u.value))}),gt(t.fallbackLocale,U=>{a&&(u.value=U,L.fallbackLocale=U,oa(L,c.value,u.value))}));const ie={id:i_,locale:G,fallbackLocale:K,get inheritLocale(){return a},set inheritLocale(U){a=U,U&&t&&(c.value=t.locale.value,u.value=t.fallbackLocale.value,oa(L,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:ae,get modifiers(){return R},get pluralRules(){return A||{}},get isGlobal(){return r},get missingWarn(){return g},set missingWarn(U){g=U,L.missingWarn=g},get fallbackWarn(){return y},set fallbackWarn(U){y=U,L.fallbackWarn=y},get fallbackRoot(){return w},set fallbackRoot(U){w=U},get fallbackFormat(){return _},set fallbackFormat(U){_=U,L.fallbackFormat=_},get warnHtmlMessage(){return T},set warnHtmlMessage(U){T=U,L.warnHtmlMessage=U},get escapeParameter(){return E},set escapeParameter(U){E=U,L.escapeParameter=U},t:rn,getLocaleMessage:V,setLocaleMessage:J,mergeLocaleMessage:te,getPostTranslationHandler:ne,setPostTranslationHandler:re,getMissingHandler:he,setMissingHandler:Ee,[dS]:ve};return ie.datetimeFormats=ue,ie.numberFormats=B,ie.rt=tt,ie.te=ze,ie.tm=F,ie.d=Ge,ie.n=dn,ie.getDateTimeFormat=Q,ie.setDateTimeFormat=P,ie.mergeDateTimeFormat=I,ie.getNumberFormat=j,ie.setNumberFormat=W,ie.mergeNumberFormat=fe,ie[pS]=n,ie[Mp]=ee,ie[Np]=pe,ie[Dp]=ge,ie}function Gj(e){const t=ye(e.locale)?e.locale:Fa,n=ye(e.fallbackLocale)||jt(e.fallbackLocale)||et(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=Lt(e.missing)?e.missing:void 0,o=rt(e.silentTranslationWarn)||Ts(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=rt(e.silentFallbackWarn)||Ts(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=rt(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,u=et(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,p=Lt(e.postTranslation)?e.postTranslation:void 0,h=ye(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,g=!!e.escapeParameterHtml,y=rt(e.sync)?e.sync:!0;let w=e.messages;if(et(e.sharedMessages)){const R=e.sharedMessages;w=Object.keys(R).reduce((L,x)=>{const N=L[x]||(L[x]={});return Kt(N,R[x]),L},w||{})}const{__i18n:_,__root:O,__injectWithOption:S}=e,v=e.datetimeFormats,T=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:E,datetimeFormats:v,numberFormats:T,missing:r,missingWarn:o,fallbackWarn:s,fallbackRoot:a,fallbackFormat:c,modifiers:u,pluralRules:f,postTranslation:p,warnHtmlMessage:h,escapeParameter:g,messageResolver:e.messageResolver,inheritLocale:y,__i18n:_,__root:O,__injectWithOption:S}}function Fp(e={}){const t=Kc(Gj(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return rt(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=rt(o)?!o:o},get silentFallbackWarn(){return rt(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=rt(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,s){return t.te(o,s)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,s){t.setLocaleMessage(o,s)},mergeLocaleMessage(o,s){t.mergeLocaleMessage(o,s)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,s){t.setDateTimeFormat(o,s)},mergeDateTimeFormat(o,s){t.mergeDateTimeFormat(o,s)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,s){t.setNumberFormat(o,s)},mergeNumberFormat(o,s){t.mergeNumberFormat(o,s)}};return r.__extender=n,r}function Kj(e,t,n){return{beforeCreate(){const r=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=t,this===this.$root)this.$i18n=a_(e,s);else{s.__injectWithOption=!0,s.__extender=n.__vueI18nExtend,this.$i18n=Fp(s);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=a_(e,o);else{this.$i18n=Fp({__i18n:o.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&mS(t,o,o),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$te=(s,a)=>this.$i18n.te(s,a),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=ja();if(!r)throw Wn(Mn.UNEXPECTED_ERROR);const o=this.$i18n;o&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o?.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),n.__deleteInstance(r),delete this.$i18n)}}}function a_(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[dS](t.pluralizationRules||e.pluralizationRules);const n=Hh(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 Vh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function qj({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ht?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},vt())}function gS(){return Ht}const Yj=It({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Gt(e)||!isNaN(e)}},Vh),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Di({useScope:e.scope,__useComponent:!0});return()=>{const s=()=>{const u=Object.keys(n).filter(h=>h[0]!=="_"),f=vt();e.locale&&(f.locale=e.locale),e.plural!==void 0&&(f.plural=ye(e.plural)?+e.plural:e.plural);const p=qj(t,u);return o[Mp](e.keypath,p,f)},a=Kt(vt(),r),c=ye(e.tag)||ot(e.tag)?e.tag:gS();return ot(c)?ri(c,a,{default:s}):ri(c,a,s())}}}),l_=Yj;function Xj(e){return jt(e)&&!ye(e[0])}function yS(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a=()=>{const f={part:!0};let p=vt();e.locale&&(f.locale=e.locale),ye(e.format)?f.key=e.format:ot(e.format)&&(ye(e.format.key)&&(f.key=e.format.key),p=Object.keys(e.format).reduce((y,w)=>n.includes(w)?Kt(vt(),y,{[w]:e.format[w]}):y,vt()));const h=r(e.value,f,p);let g=[f.key];return jt(h)?g=h.map((y,w)=>{const _=o[y.type],O=_?_({[y.type]:y.value,index:w,parts:h}):[y.value];return Xj(O)&&(O[0].key=`${y.type}-${w}`),O}):ye(h)&&(g=[h]),g},c=Kt(vt(),s),u=ye(e.tag)||ot(e.tag)?e.tag:gS();return ot(u)?ri(u,c,{default:a}):ri(u,c,a())}}const Jj=It({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Vh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return yS(e,t,cS,(...r)=>n[Dp](...r))}}),c_=Jj;function Qj(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 Zj(e){const t=a=>{const{instance:c,value:u}=a;if(!c||!c.$)throw Wn(Mn.UNEXPECTED_ERROR);const f=Qj(e,c.$),p=u_(u);return[Reflect.apply(f.t,f,[...f_(p)]),f]};return{created:(a,c)=>{const[u,f]=t(c);Vc&&(a.__i18nWatcher=gt(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),a.__composer=f,a.textContent=u},unmounted:a=>{Vc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:c})=>{if(a.__composer){const u=a.__composer,f=u_(c);a.textContent=Reflect.apply(u.t,u,[...f_(f)])}},getSSRProps:a=>{const[c]=t(a);return{textContent:c}}}}function u_(e){if(ye(e))return{path:e};if(et(e)){if(!("path"in e))throw Wn(Mn.REQUIRED_VALUE,"path");return e}else throw Wn(Mn.INVALID_VALUE)}function f_(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},c=r||{};return ye(n)&&(a.locale=n),Gt(o)&&(a.plural=o),Gt(s)&&(a.plural=s),[t,c,a]}function eU(e,t,...n){const r=et(n[0])?n[0]:{};(!rt(r.globalInstall)||r.globalInstall)&&([l_.name,"I18nT"].forEach(s=>e.component(s,l_)),[c_.name,"I18nN"].forEach(s=>e.component(s,c_)),[h_.name,"I18nD"].forEach(s=>e.component(s,h_))),e.directive("t",Zj(t))}const tU=ii("global-vue-i18n");function nU(e={}){const t=__VUE_I18N_LEGACY_API__&&rt(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=rt(e.globalInjection)?e.globalInjection:!0,r=new Map,[o,s]=rU(e,t),a=ii("");function c(h){return r.get(h)||null}function u(h,g){r.set(h,g)}function f(h){r.delete(h)}const p={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(h,...g){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,p),et(g[0])){const _=g[0];p.__composerExtend=_.__composerExtend,p.__vueI18nExtend=_.__vueI18nExtend}let y=null;!t&&n&&(y=uU(h,p.global)),__VUE_I18N_FULL_INSTALL__&&eU(h,p,...g),__VUE_I18N_LEGACY_API__&&t&&h.mixin(Kj(s,s.__composer,p));const w=h.unmount;h.unmount=()=>{y&&y(),p.dispose(),w()}},get global(){return s},dispose(){o.stop()},__instances:r,__getInstance:c,__setInstance:u,__deleteInstance:f};return p}function Di(e={}){const t=ja();if(t==null)throw Wn(Mn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Wn(Mn.NOT_INSTALLED);const n=oU(t),r=sU(n),o=hS(t),s=iU(e,o);if(s==="global")return mS(r,e,o),r;if(s==="parent"){let u=d_(n,t,e.__useComponent);return u==null&&(u=r),u}if(s==="isolated"){if(n.mode!=="composition")throw Wn(Mn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=n,f=Kt({},e),p=d_(n,t);f.__root=p||r;const h=Kc(f);return u.__composerExtend&&(h[ms]=u.__composerExtend(h)),Va()&&Ch(()=>{const y=h[ms];y&&(y(),delete h[ms])}),h}const a=n;let c=a.__getInstance(t);if(c==null){const u=Kt({},e);"__i18n"in o&&(u.__i18n=o.__i18n),r&&(u.__root=r),c=Kc(u),a.__composerExtend&&(c[ms]=a.__composerExtend(c)),lU(a,t,c),a.__setInstance(t,c)}return c}function rU(e,t){const n=Sh(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Fp(e)):n.run(()=>Kc(e));if(r==null)throw Wn(Mn.UNEXPECTED_ERROR);return[n,r]}function oU(e){const t=En(e.isCE?tU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Wn(e.isCE?Mn.NOT_INSTALLED_WITH_PROVIDE:Mn.UNEXPECTED_ERROR);return t}function iU(e,t){return ku(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function sU(e){return e.mode==="composition"?e.global:e.global.__composer}function d_(e,t,n=!1){let r=null;const o=t.root;let s=aU(t,n);for(;s!=null;){const a=e;if(e.mode==="composition")r=a.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=a.__getInstance(s);c!=null&&(r=c.__composer,n&&r&&!r[pS]&&(r=null))}if(r!=null||o===s)break;s=s.parent}return r}function aU(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function lU(e,t,n){Er(()=>{},t),Ds(()=>{const r=n;e.__deleteInstance(t);const o=r[ms];o&&(o(),delete r[ms])},t)}const cU=["locale","fallbackLocale","availableLocales"],p_=["t","rt","d","n","tm","te"];function uU(e,t){const n=Object.create(null);return cU.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Wn(Mn.UNEXPECTED_ERROR);const a=Rt(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,a)}),e.config.globalProperties.$i18n=n,p_.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Wn(Mn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,p_.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const fU=It({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Vh),setup(e,t){const n=e.i18n||Di({useScope:e.scope,__useComponent:!0});return yS(e,t,lS,(...r)=>n[Np](...r))}}),h_=fU;Wj();Ej(rj);Sj(_j);Cj(Rp);if(__INTLIFY_PROD_DEVTOOLS__){const e=Si();e.__INTLIFY__=!0,oj(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const dU=(e,t=!1)=>{const{params:{compId:n="",instanceUid:r}}=Mo(),o=$s(),{messageListener:s,sendMessageToTop:a}=js(),{addListener:c}=s(),u=Re([]),f=t?Qe.SETTING_DATA_LEAF_SET:Qe.SETTING_DATA_SET,p=t?Qe.SETTING_DATA_LEAF_GET:Qe.SETTING_DATA_GET;return c(f,h=>{u.value=h}),a(p,n,o,r),{depsSetting:u}},bS=Symbol("depsSetting"),pU={class:"app-container"},hU=It({__name:"App",setup(e){const{locale:t}=Di(),n=cD(),r=qN(n),{params:{compId:o="",instanceUid:s}}=Mo(),{messageListener:a,sendMessageToTop:c}=js(),{addListener:u}=a(),f=$s(),{depsSetting:p}=dU(!1,!0),h=ce(()=>p.value.length>0);return Ti(bS,p),u(Qe.THEME_CHANGE_SET,g=>{r(g.isDark??!1)}),u(Qe.LOCALE_SET,g=>{t.value=g}),c(Qe.LOCALE_GET,o,f,s),c(Qe.THEME_CHANGE_GET,o,f,s),Er(()=>{const g=document.getElementById("loadingContainer");g&&g.remove()}),(g,y)=>{const w=Lh("router-view");return Ce(),pt("div",pU,[h.value?(Ce(),_t(w,{key:0})):Mr("",!0)])}}}),Sr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},mU=Sr(hU,[["__scopeId","data-v-6efeee9c"]]),ec=window.parent,m_=["postMessage",we.VUE2_SFC_LOADER_KEY,we.VUE3_SFC_LOADER_KEY,we.REACT_JSX_LOADER_KEY];let tc=null;function gU(){return tc||(tc=new Proxy(ec,{get(e,t){if(m_.includes(String(t)))return t==="postMessage"?ec.postMessage.bind(ec):Reflect.get(ec,t);throw new DOMException(`Blocked access to window.parent.${String(t)} by Comp-Hub security policy`,"SecurityError")},set(e,t,n){return console.warn(`🛡️ 阻止设置 parent.${String(t)} =`,n),!1},apply(){console.warn("🛡️ 阻止调用 parent 上的函数")},has(e,t){return m_.includes(String(t))},deleteProperty(e,t){return console.warn(`🛡️ 阻止删除 parent.${String(t)}`),!1}}),tc)}Object.defineProperty(window,"parent",{get(){return gU()},set(){return console.warn("🛡️ 阻止直接赋值 window.parent"),!0},enumerable:!1,configurable:!1});function _S(e,t){return function(){return e.apply(t,arguments)}}const{toString:yU}=Object.prototype,{getPrototypeOf:Ou}=Object,{iterator:Au,toStringTag:vS}=Symbol,Ru=(e=>t=>{const n=yU.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),zr=e=>(e=e.toLowerCase(),t=>Ru(t)===e),Pu=e=>t=>typeof t===e,{isArray:Us}=Array,Os=Pu("undefined");function Ja(e){return e!==null&&!Os(e)&&e.constructor!==null&&!Os(e.constructor)&&Hn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const wS=zr("ArrayBuffer");function bU(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&wS(e.buffer),t}const _U=Pu("string"),Hn=Pu("function"),ES=Pu("number"),Qa=e=>e!==null&&typeof e=="object",vU=e=>e===!0||e===!1,vc=e=>{if(Ru(e)!=="object")return!1;const t=Ou(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(vS in e)&&!(Au in e)},wU=e=>{if(!Qa(e)||Ja(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},EU=zr("Date"),SU=zr("File"),CU=e=>!!(e&&typeof e.uri<"u"),kU=e=>e&&typeof e.getParts<"u",TU=zr("Blob"),xU=zr("FileList"),OU=e=>Qa(e)&&Hn(e.pipe);function AU(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const g_=AU(),y_=typeof g_.FormData<"u"?g_.FormData:void 0,RU=e=>{if(!e)return!1;if(y_&&e instanceof y_)return!0;const t=Ou(e);if(!t||t===Object.prototype||!Hn(e.append))return!1;const n=Ru(e);return n==="formdata"||n==="object"&&Hn(e.toString)&&e.toString()==="[object FormData]"},PU=zr("URLSearchParams"),[LU,IU,MU,NU]=["ReadableStream","Request","Response","Headers"].map(zr),DU=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Za(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Us(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{if(Ja(e))return;const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let c;for(r=0;r<a;r++)c=s[r],t.call(null,e[c],c,e)}}function SS(e,t){if(Ja(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Ci=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,CS=e=>!Os(e)&&e!==Ci;function $p(){const{caseless:e,skipUndefined:t}=CS(this)&&this||{},n={},r=(o,s)=>{if(s==="__proto__"||s==="constructor"||s==="prototype")return;const a=e&&SS(n,s)||s;vc(n[a])&&vc(o)?n[a]=$p(n[a],o):vc(o)?n[a]=$p({},o):Us(o)?n[a]=o.slice():(!t||!Os(o))&&(n[a]=o)};for(let o=0,s=arguments.length;o<s;o++)arguments[o]&&Za(arguments[o],r);return n}const FU=(e,t,n,{allOwnKeys:r}={})=>(Za(t,(o,s)=>{n&&Hn(o)?Object.defineProperty(e,s,{value:_S(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,s,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),$U=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jU=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},UU=(e,t,n,r)=>{let o,s,a;const c={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&Ou(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zU=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},BU=e=>{if(!e)return null;if(Us(e))return e;let t=e.length;if(!ES(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},WU=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ou(Uint8Array)),HU=(e,t)=>{const n=(e&&e[Au]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},VU=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},GU=zr("HTMLFormElement"),KU=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,n,r){return n.toUpperCase()+r}),b_=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),qU=zr("RegExp"),kS=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Za(n,(o,s)=>{let a;(a=t(o,s,e))!==!1&&(r[s]=a||o)}),Object.defineProperties(e,r)},YU=e=>{kS(e,(t,n)=>{if(Hn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Hn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},XU=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Us(e)?r(e):r(String(e).split(t)),n},JU=()=>{},QU=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function ZU(e){return!!(e&&Hn(e.append)&&e[vS]==="FormData"&&e[Au])}const e2=e=>{const t=new Array(10),n=(r,o)=>{if(Qa(r)){if(t.indexOf(r)>=0)return;if(Ja(r))return r;if(!("toJSON"in r)){t[o]=r;const s=Us(r)?[]:{};return Za(r,(a,c)=>{const u=n(a,o+1);!Os(u)&&(s[c]=u)}),t[o]=void 0,s}}return r};return n(e,0)},t2=zr("AsyncFunction"),n2=e=>e&&(Qa(e)||Hn(e))&&Hn(e.then)&&Hn(e.catch),TS=((e,t)=>e?setImmediate:t?((n,r)=>(Ci.addEventListener("message",({source:o,data:s})=>{o===Ci&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ci.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Hn(Ci.postMessage)),r2=typeof queueMicrotask<"u"?queueMicrotask.bind(Ci):typeof process<"u"&&process.nextTick||TS,o2=e=>e!=null&&Hn(e[Au]),q={isArray:Us,isArrayBuffer:wS,isBuffer:Ja,isFormData:RU,isArrayBufferView:bU,isString:_U,isNumber:ES,isBoolean:vU,isObject:Qa,isPlainObject:vc,isEmptyObject:wU,isReadableStream:LU,isRequest:IU,isResponse:MU,isHeaders:NU,isUndefined:Os,isDate:EU,isFile:SU,isReactNativeBlob:CU,isReactNative:kU,isBlob:TU,isRegExp:qU,isFunction:Hn,isStream:OU,isURLSearchParams:PU,isTypedArray:WU,isFileList:xU,forEach:Za,merge:$p,extend:FU,trim:DU,stripBOM:$U,inherits:jU,toFlatObject:UU,kindOf:Ru,kindOfTest:zr,endsWith:zU,toArray:BU,forEachEntry:HU,matchAll:VU,isHTMLForm:GU,hasOwnProperty:b_,hasOwnProp:b_,reduceDescriptors:kS,freezeMethods:YU,toObjectSet:XU,toCamelCase:KU,noop:JU,toFiniteNumber:QU,findKey:SS,global:Ci,isContextDefined:CS,isSpecCompliantForm:ZU,toJSONObject:e2,isAsyncFn:t2,isThenable:n2,setImmediate:TS,asap:r2,isIterable:o2};let Oe=class xS extends Error{static from(t,n,r,o,s,a){const c=new xS(t.message,n||t.code,r,o,s);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),a&&Object.assign(c,a),c}constructor(t,n,r,o,s){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),s&&(this.response=s,this.status=s.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.status}}};Oe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Oe.ERR_BAD_OPTION="ERR_BAD_OPTION";Oe.ECONNABORTED="ECONNABORTED";Oe.ETIMEDOUT="ETIMEDOUT";Oe.ERR_NETWORK="ERR_NETWORK";Oe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Oe.ERR_DEPRECATED="ERR_DEPRECATED";Oe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Oe.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Oe.ERR_CANCELED="ERR_CANCELED";Oe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Oe.ERR_INVALID_URL="ERR_INVALID_URL";Oe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const i2=null;function jp(e){return q.isPlainObject(e)||q.isArray(e)}function OS(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function xd(e,t,n){return e?e.concat(t).map(function(r,o){return r=OS(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function s2(e){return q.isArray(e)&&!e.some(jp)}const a2=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function Lu(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,O){return!q.isUndefined(O[_])});const r=n.metaTokens,o=n.visitor||h,s=n.dots,a=n.indexes,c=n.Blob||typeof Blob<"u"&&Blob,u=n.maxDepth===void 0?100:n.maxDepth,f=c&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function p(_){if(_===null)return"";if(q.isDate(_))return _.toISOString();if(q.isBoolean(_))return _.toString();if(!f&&q.isBlob(_))throw new Oe("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(_)||q.isTypedArray(_)?f&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function h(_,O,S){let v=_;if(q.isReactNative(t)&&q.isReactNativeBlob(_))return t.append(xd(S,O,s),p(_)),!1;if(_&&!S&&typeof _=="object"){if(q.endsWith(O,"{}"))O=r?O:O.slice(0,-2),_=JSON.stringify(_);else if(q.isArray(_)&&s2(_)||(q.isFileList(_)||q.endsWith(O,"[]"))&&(v=q.toArray(_)))return O=OS(O),v.forEach(function(T,E){!(q.isUndefined(T)||T===null)&&t.append(a===!0?xd([O],E,s):a===null?O:O+"[]",p(T))}),!1}return jp(_)?!0:(t.append(xd(S,O,s),p(_)),!1)}const g=[],y=Object.assign(a2,{defaultVisitor:h,convertValue:p,isVisitable:jp});function w(_,O,S=0){if(!q.isUndefined(_)){if(S>u)throw new Oe("Object is too deeply nested ("+S+" levels). Max depth: "+u,Oe.ERR_FORM_DATA_DEPTH_EXCEEDED);if(g.indexOf(_)!==-1)throw Error("Circular reference detected in "+O.join("."));g.push(_),q.forEach(_,function(v,T){(!(q.isUndefined(v)||v===null)&&o.call(t,v,q.isString(T)?T.trim():T,O,y))===!0&&w(v,O?O.concat(T):[T],S+1)}),g.pop()}}if(!q.isObject(e))throw new TypeError("data must be an object");return w(e),t}function __(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Gh(e,t){this._pairs=[],e&&Lu(e,this,t)}const AS=Gh.prototype;AS.append=function(e,t){this._pairs.push([e,t])};AS.toString=function(e){const t=e?function(n){return e.call(this,n,__)}:__;return this._pairs.map(function(n){return t(n[0])+"="+t(n[1])},"").join("&")};function l2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function RS(e,t,n){if(!t)return e;const r=n&&n.encode||l2,o=q.isFunction(n)?{serialize:n}:n,s=o&&o.serialize;let a;if(s?a=s(t,o):a=q.isURLSearchParams(t)?t.toString():new Gh(t,o).toString(r),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class v_{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){q.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Kh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},c2=typeof URLSearchParams<"u"?URLSearchParams:Gh,u2=typeof FormData<"u"?FormData:null,f2=typeof Blob<"u"?Blob:null,d2={isBrowser:!0,classes:{URLSearchParams:c2,FormData:u2,Blob:f2},protocols:["http","https","file","blob","url","data"]},qh=typeof window<"u"&&typeof document<"u",Up=typeof navigator=="object"&&navigator||void 0,p2=qh&&(!Up||["ReactNative","NativeScript","NS"].indexOf(Up.product)<0),h2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",m2=qh&&window.location.href||"http://localhost",g2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:qh,hasStandardBrowserEnv:p2,hasStandardBrowserWebWorkerEnv:h2,navigator:Up,origin:m2},Symbol.toStringTag,{value:"Module"})),wn={...g2,...d2};function y2(e,t){return Lu(e,new wn.classes.URLSearchParams,{visitor:function(n,r,o,s){return wn.isNode&&q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)},...t})}function b2(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function _2(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function PS(e){function t(n,r,o,s){let a=n[s++];if(a==="__proto__")return!0;const c=Number.isFinite(+a),u=s>=n.length;return a=!a&&q.isArray(o)?o.length:a,u?(q.hasOwnProp(o,a)?o[a]=q.isArray(o[a])?o[a].concat(r):[o[a],r]:o[a]=r,!c):((!o[a]||!q.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&q.isArray(o[a])&&(o[a]=_2(o[a])),!c)}if(q.isFormData(e)&&q.isFunction(e.entries)){const n={};return q.forEachEntry(e,(r,o)=>{t(b2(r),o,n,0)}),n}return null}const ts=(e,t)=>e!=null&&q.hasOwnProp(e,t)?e[t]:void 0;function v2(e,t,n){if(q.isString(e))try{return(t||JSON.parse)(e),q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const el={transitional:Kh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(PS(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){const a=ts(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return y2(e,a).toString();if((s=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const c=ts(this,"env"),u=c&&c.FormData;return Lu(s?{"files[]":e}:e,u&&new u,a)}}return o||r?(t.setContentType("application/json",!1),v2(e)):e}],transformResponse:[function(e){const t=ts(this,"transitional")||el.transitional,n=t&&t.forcedJSONParsing,r=ts(this,"responseType"),o=r==="json";if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!r||o)){const s=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,ts(this,"parseReviver"))}catch(a){if(s)throw a.name==="SyntaxError"?Oe.from(a,Oe.ERR_BAD_RESPONSE,this,null,ts(this,"response")):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],e=>{el.headers[e]={}});const w2=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),E2=e=>{const t={};let n,r,o;return e&&e.split(`
|
|
4
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&w2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},w_=Symbol("internals"),S2=/[^\x09\x20-\x7E\x80-\xFF]/g;function C2(e){let t=0,n=e.length;for(;t<n;){const r=e.charCodeAt(t);if(r!==9&&r!==32)break;t+=1}for(;n>t;){const r=e.charCodeAt(n-1);if(r!==9&&r!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}function ia(e){return e&&String(e).trim().toLowerCase()}function k2(e){return C2(e.replace(S2,""))}function wc(e){return e===!1||e==null?e:q.isArray(e)?e.map(wc):k2(String(e))}function T2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const x2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Od(e,t,n,r,o){if(q.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!q.isString(t)){if(q.isString(r))return t.indexOf(r)!==-1;if(q.isRegExp(r))return r.test(t)}}function O2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function A2(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}let Vn=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(c,u,f){const p=ia(u);if(!p)throw new Error("header name must be a non-empty string");const h=q.findKey(o,p);(!h||o[h]===void 0||f===!0||f===void 0&&o[h]!==!1)&&(o[h||u]=wc(c))}const a=(c,u)=>q.forEach(c,(f,p)=>s(f,p,u));if(q.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(q.isString(t)&&(t=t.trim())&&!x2(t))a(E2(t),n);else if(q.isObject(t)&&q.isIterable(t)){let c={},u,f;for(const p of t){if(!q.isArray(p))throw TypeError("Object iterator must return a key-value pair");c[f=p[0]]=(u=c[f])?q.isArray(u)?[...u,p[1]]:[u,p[1]]:p[1]}a(c,n)}else t!=null&&s(n,t,r);return this}get(t,n){if(t=ia(t),t){const r=q.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return T2(o);if(q.isFunction(n))return n.call(this,o,r);if(q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ia(t),t){const r=q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Od(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=ia(a),a){const c=q.findKey(r,a);c&&(!n||Od(r,r[c],c,n))&&(delete r[c],o=!0)}}return q.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Od(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return q.forEach(this,(o,s)=>{const a=q.findKey(r,s);if(a){n[a]=wc(o),delete n[s];return}const c=t?O2(s):String(s).trim();c!==s&&delete n[s],n[c]=wc(o),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return q.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
5
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const n=(this[w_]=this[w_]={accessors:{}}).accessors,r=this.prototype;function o(s){const a=ia(s);n[a]||(A2(r,s),n[a]=!0)}return q.isArray(t)?t.forEach(o):o(t),this}};Vn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.reduceDescriptors(Vn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});q.freezeMethods(Vn);function Ad(e,t){const n=this||el,r=t||n,o=Vn.from(r.headers);let s=r.data;return q.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function LS(e){return!!(e&&e.__CANCEL__)}let tl=class extends Oe{constructor(t,n,r){super(t??"canceled",Oe.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function IS(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Oe("Request failed with status code "+n.status,[Oe.ERR_BAD_REQUEST,Oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function R2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function P2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[s];a||(a=u),n[o]=c,r[o]=u;let p=s,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-a<t)return;const g=f&&u-f;return g?Math.round(h*1e3/g):void 0}}function L2(e,t){let n=0,r=1e3/t,o,s;const a=(c,u=Date.now())=>{n=u,o=null,s&&(clearTimeout(s),s=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=r?a(c,u):(o=c,s||(s=setTimeout(()=>{s=null,a(o)},r-f)))},()=>o&&a(o)]}const qc=(e,t,n=3)=>{let r=0;const o=P2(50,250);return L2(s=>{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=c!=null?Math.min(a,c):a,f=Math.max(0,u-r),p=o(f);r=Math.max(r,u);const h={loaded:u,total:c,progress:c?u/c:void 0,bytes:f,rate:p||void 0,estimated:p&&c?(c-u)/p:void 0,event:s,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(h)},n)},E_=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},S_=e=>(...t)=>q.asap(()=>e(...t)),I2=wn.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,wn.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(wn.origin),wn.navigator&&/(msie|trident)/i.test(wn.navigator.userAgent)):()=>!0,M2=wn.hasStandardBrowserEnv?{write(e,t,n,r,o,s,a){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];q.isNumber(n)&&c.push(`expires=${new Date(n).toUTCString()}`),q.isString(r)&&c.push(`path=${r}`),q.isString(o)&&c.push(`domain=${o}`),s===!0&&c.push("secure"),q.isString(a)&&c.push(`SameSite=${a}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function N2(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function D2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function MS(e,t,n){let r=!N2(t);return e&&(r||n===!1)?D2(e,t):t}const C_=e=>e instanceof Vn?{...e}:e;function Ii(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function r(f,p,h,g){return q.isPlainObject(f)&&q.isPlainObject(p)?q.merge.call({caseless:g},f,p):q.isPlainObject(p)?q.merge({},p):q.isArray(p)?p.slice():p}function o(f,p,h,g){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f,h,g)}else return r(f,p,h,g)}function s(f,p){if(!q.isUndefined(p))return r(void 0,p)}function a(f,p){if(q.isUndefined(p)){if(!q.isUndefined(f))return r(void 0,f)}else return r(void 0,p)}function c(f,p,h){if(q.hasOwnProp(t,h))return r(f,p);if(q.hasOwnProp(e,h))return r(void 0,f)}const u={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:c,headers:(f,p,h)=>o(C_(f),C_(p),h,!0)};return q.forEach(Object.keys({...e,...t}),function(f){if(f==="__proto__"||f==="constructor"||f==="prototype")return;const p=q.hasOwnProp(u,f)?u[f]:o,h=q.hasOwnProp(e,f)?e[f]:void 0,g=q.hasOwnProp(t,f)?t[f]:void 0,y=p(h,g,f);q.isUndefined(y)&&p!==c||(n[f]=y)}),n}const NS=e=>{const t=Ii({},e),n=g=>q.hasOwnProp(t,g)?t[g]:void 0,r=n("data");let o=n("withXSRFToken");const s=n("xsrfHeaderName"),a=n("xsrfCookieName");let c=n("headers");const u=n("auth"),f=n("baseURL"),p=n("allowAbsoluteUrls"),h=n("url");if(t.headers=c=Vn.from(c),t.url=RS(MS(f,h,p),e.params,e.paramsSerializer),u&&c.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),q.isFormData(r)){if(wn.hasStandardBrowserEnv||wn.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if(q.isFunction(r.getHeaders)){const g=r.getHeaders(),y=["content-type","content-length"];Object.entries(g).forEach(([w,_])=>{y.includes(w.toLowerCase())&&c.set(w,_)})}}if(wn.hasStandardBrowserEnv&&(q.isFunction(o)&&(o=o(t)),o===!0||o==null&&I2(t.url))){const g=s&&a&&M2.read(a);g&&c.set(s,g)}return t},F2=typeof XMLHttpRequest<"u",$2=F2&&function(e){return new Promise(function(t,n){const r=NS(e);let o=r.data;const s=Vn.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=r,f,p,h,g,y;function w(){g&&g(),y&&y(),r.cancelToken&&r.cancelToken.unsubscribe(f),r.signal&&r.signal.removeEventListener("abort",f)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function O(){if(!_)return;const v=Vn.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),T={data:!a||a==="text"||a==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:v,config:e,request:_};IS(function(E){t(E),w()},function(E){n(E),w()},T),_=null}"onloadend"in _?_.onloadend=O:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(O)},_.onabort=function(){_&&(n(new Oe("Request aborted",Oe.ECONNABORTED,e,_)),_=null)},_.onerror=function(v){const T=v&&v.message?v.message:"Network Error",E=new Oe(T,Oe.ERR_NETWORK,e,_);E.event=v||null,n(E),_=null},_.ontimeout=function(){let v=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const T=r.transitional||Kh;r.timeoutErrorMessage&&(v=r.timeoutErrorMessage),n(new Oe(v,T.clarifyTimeoutError?Oe.ETIMEDOUT:Oe.ECONNABORTED,e,_)),_=null},o===void 0&&s.setContentType(null),"setRequestHeader"in _&&q.forEach(s.toJSON(),function(v,T){_.setRequestHeader(T,v)}),q.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),a&&a!=="json"&&(_.responseType=r.responseType),u&&([h,y]=qc(u,!0),_.addEventListener("progress",h)),c&&_.upload&&([p,g]=qc(c),_.upload.addEventListener("progress",p),_.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(f=v=>{_&&(n(!v||v.type?new tl(null,e,_):v),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(f),r.signal&&(r.signal.aborted?f():r.signal.addEventListener("abort",f)));const S=R2(r.url);if(S&&wn.protocols.indexOf(S)===-1){n(new Oe("Unsupported protocol "+S+":",Oe.ERR_BAD_REQUEST,e));return}_.send(o||null)})},j2=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(f){if(!o){o=!0,c();const p=f instanceof Error?f:this.reason;r.abort(p instanceof Oe?p:new tl(p instanceof Error?p.message:p))}};let a=t&&setTimeout(()=>{a=null,s(new Oe(`timeout of ${t}ms exceeded`,Oe.ETIMEDOUT))},t);const c=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(s):f.removeEventListener("abort",s)}),e=null)};e.forEach(f=>f.addEventListener("abort",s));const{signal:u}=r;return u.unsubscribe=()=>q.asap(c),u}},U2=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},z2=async function*(e,t){for await(const n of B2(e))yield*U2(n,t)},B2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},k_=(e,t,n,r)=>{const o=z2(e,t);let s=0,a,c=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:p}=await o.next();if(f){c(),u.close();return}let h=p.byteLength;if(n){let g=s+=h;n(g)}u.enqueue(new Uint8Array(p))}catch(f){throw c(f),f}},cancel(u){return c(u),o.return()}},{highWaterMark:2})},T_=64*1024,{isFunction:nc}=q,W2=(({Request:e,Response:t})=>({Request:e,Response:t}))(q.global),{ReadableStream:x_,TextEncoder:O_}=q.global,A_=(e,...t)=>{try{return!!e(...t)}catch{return!1}},H2=e=>{e=q.merge.call({skipUndefined:!0},W2,e);const{fetch:t,Request:n,Response:r}=e,o=t?nc(t):typeof fetch=="function",s=nc(n),a=nc(r);if(!o)return!1;const c=o&&nc(x_),u=o&&(typeof O_=="function"?(w=>_=>w.encode(_))(new O_):async w=>new Uint8Array(await new n(w).arrayBuffer())),f=s&&c&&A_(()=>{let w=!1;const _=new n(wn.origin,{body:new x_,method:"POST",get duplex(){return w=!0,"half"}}),O=_.headers.has("Content-Type");return _.body!=null&&_.body.cancel(),w&&!O}),p=a&&c&&A_(()=>q.isReadableStream(new r("").body)),h={stream:p&&(w=>w.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(w=>{!h[w]&&(h[w]=(_,O)=>{let S=_&&_[w];if(S)return S.call(_);throw new Oe(`Response type '${w}' is not supported`,Oe.ERR_NOT_SUPPORT,O)})});const g=async w=>{if(w==null)return 0;if(q.isBlob(w))return w.size;if(q.isSpecCompliantForm(w))return(await new n(wn.origin,{method:"POST",body:w}).arrayBuffer()).byteLength;if(q.isArrayBufferView(w)||q.isArrayBuffer(w))return w.byteLength;if(q.isURLSearchParams(w)&&(w=w+""),q.isString(w))return(await u(w)).byteLength},y=async(w,_)=>q.toFiniteNumber(w.getContentLength())??g(_);return async w=>{let{url:_,method:O,data:S,signal:v,cancelToken:T,timeout:E,onDownloadProgress:R,onUploadProgress:A,responseType:L,headers:x,withCredentials:N="same-origin",fetchOptions:G}=NS(w),K=t||fetch;L=L?(L+"").toLowerCase():"text";let ae=j2([v,T&&T.toAbortSignal()],E),ue=null;const B=ae&&ae.unsubscribe&&(()=>{ae.unsubscribe()});let ne;try{if(A&&f&&O!=="get"&&O!=="head"&&(ne=await y(x,S))!==0){let tt=new n(_,{method:"POST",body:S,duplex:"half"}),Ge;if(q.isFormData(S)&&(Ge=tt.headers.get("content-type"))&&x.setContentType(Ge),tt.body){const[dn,on]=E_(ne,qc(S_(A)));S=k_(tt.body,T_,dn,on)}}q.isString(N)||(N=N?"include":"omit");const re=s&&"credentials"in n.prototype;if(q.isFormData(S)){const tt=x.getContentType();tt&&/^multipart\/form-data/i.test(tt)&&!/boundary=/i.test(tt)&&x.delete("content-type")}const he={...G,signal:ae,method:O.toUpperCase(),headers:x.normalize().toJSON(),body:S,duplex:"half",credentials:re?N:void 0};ue=s&&new n(_,he);let Ee=await(s?K(ue,G):K(_,he));const Ve=p&&(L==="stream"||L==="response");if(p&&(R||Ve&&B)){const tt={};["status","statusText","headers"].forEach(kn=>{tt[kn]=Ee[kn]});const Ge=q.toFiniteNumber(Ee.headers.get("content-length")),[dn,on]=R&&E_(Ge,qc(S_(R),!0))||[];Ee=new r(k_(Ee.body,T_,dn,()=>{on&&on(),B&&B()}),tt)}L=L||"text";let rn=await h[q.findKey(h,L)||"text"](Ee,w);return!Ve&&B&&B(),await new Promise((tt,Ge)=>{IS(tt,Ge,{data:rn,headers:Vn.from(Ee.headers),status:Ee.status,statusText:Ee.statusText,config:w,request:ue})})}catch(re){throw B&&B(),re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)?Object.assign(new Oe("Network Error",Oe.ERR_NETWORK,w,ue,re&&re.response),{cause:re.cause||re}):Oe.from(re,re&&re.code,w,ue,re&&re.response)}}},V2=new Map,DS=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,s=[r,o,n];let a=s.length,c=a,u,f,p=V2;for(;c--;)u=s[c],f=p.get(u),f===void 0&&p.set(u,f=c?new Map:H2(t)),p=f;return f};DS();const Yh={http:i2,xhr:$2,fetch:{get:DS}};q.forEach(Yh,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const R_=e=>`- ${e}`,G2=e=>q.isFunction(e)||e===null||e===!1;function K2(e,t){e=q.isArray(e)?e:[e];const{length:n}=e;let r,o;const s={};for(let a=0;a<n;a++){r=e[a];let c;if(o=r,!G2(r)&&(o=Yh[(c=String(r)).toLowerCase()],o===void 0))throw new Oe(`Unknown adapter '${c}'`);if(o&&(q.isFunction(o)||(o=o.get(t))))break;s[c||"#"+a]=o}if(!o){const a=Object.entries(s).map(([u,f])=>`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=n?a.length>1?`since :
|
|
6
|
+
`+a.map(R_).join(`
|
|
7
|
+
`):" "+R_(a[0]):"as no adapter specified";throw new Oe("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o}const FS={getAdapter:K2,adapters:Yh};function Rd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tl(null,e)}function P_(e){return Rd(e),e.headers=Vn.from(e.headers),e.data=Ad.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),FS.getAdapter(e.adapter||el.adapter,e)(e).then(function(t){return Rd(e),t.data=Ad.call(e,e.transformResponse,t),t.headers=Vn.from(t.headers),t},function(t){return LS(t)||(Rd(e),t&&t.response&&(t.response.data=Ad.call(e,e.transformResponse,t.response),t.response.headers=Vn.from(t.response.headers))),Promise.reject(t)})}const $S="1.15.2",Iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Iu[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const L_={};Iu.transitional=function(e,t,n){function r(o,s){return"[Axios v"+$S+"] Transitional option '"+o+"'"+s+(n?". "+n:"")}return(o,s,a)=>{if(e===!1)throw new Oe(r(s," has been removed"+(t?" in "+t:"")),Oe.ERR_DEPRECATED);return t&&!L_[s]&&(L_[s]=!0,console.warn(r(s," has been deprecated since v"+t+" and will be removed in the near future"))),e?e(o,s,a):!0}};Iu.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};function q2(e,t,n){if(typeof e!="object")throw new Oe("options must be an object",Oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=Object.prototype.hasOwnProperty.call(t,s)?t[s]:void 0;if(a){const c=e[s],u=c===void 0||a(c,s,e);if(u!==!0)throw new Oe("option "+s+" must be "+u,Oe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Oe("Unknown option "+s,Oe.ERR_BAD_OPTION)}}const Ec={assertOptions:q2,validators:Iu},gr=Ec.validators;let Oi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new v_,response:new v_}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=(()=>{if(!o.stack)return"";const a=o.stack.indexOf(`
|
|
8
8
|
`);return a===-1?"":o.stack.slice(a+1)})();try{if(!r.stack)r.stack=s;else if(s){const a=s.indexOf(`
|
|
9
9
|
`),c=a===-1?-1:s.indexOf(`
|
|
10
10
|
`,a+1),u=c===-1?"":s.slice(c+1);String(r.stack).endsWith(u)||(r.stack+=`
|
|
11
|
-
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Li(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ec.assertOptions(r,{silentJSONParsing:gr.transitional(gr.boolean),forcedJSONParsing:gr.transitional(gr.boolean),clarifyTimeoutError:gr.transitional(gr.boolean),legacyInterceptorReqResOrdering:gr.transitional(gr.boolean)},!1),o!=null&&(q.isFunction(o)?n.paramsSerializer={serialize:o}:Ec.assertOptions(o,{encode:gr.function,serialize:gr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ec.assertOptions(n,{baseUrl:gr.spelling("baseURL"),withXsrfToken:gr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&q.merge(s.common,s[n.method]);s&&q.forEach(["delete","get","head","post","put","patch","common"],v=>{delete s[v]}),n.headers=Vn.concat(a,s);const c=[];let u=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(n)===!1)return;u=u&&v.synchronous;const _=n.transitional||qh;_&&_.legacyInterceptorReqResOrdering?c.unshift(v.fulfilled,v.rejected):c.push(v.fulfilled,v.rejected)});const f=[];this.interceptors.response.forEach(function(v){f.push(v.fulfilled,v.rejected)});let p,h=0,g;if(!u){const v=[I_.bind(this),void 0];for(v.unshift(...c),v.push(...f),g=v.length,p=Promise.resolve(n);h<g;)p=p.then(v[h++],v[h++]);return p}g=c.length;let y=n;for(;h<g;){const v=c[h++],_=c[h++];try{y=v(y)}catch(O){_.call(this,O);break}}try{p=I_.call(this,y)}catch(v){return Promise.reject(v)}for(h=0,g=f.length;h<g;)p=p.then(f[h++],f[h++]);return p}getUri(t){t=Li(this.defaults,t);const n=MS(t.baseURL,t.url,t.allowAbsoluteUrls);return RS(n,t.params,t.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){Oi.prototype[e]=function(t,n){return this.request(Li(n||{},{method:e,url:t,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,s){return this.request(Li(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Oi.prototype[e]=t(),Oi.prototype[e+"Form"]=t(!0)});let Y2=class jS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(c=>{r.subscribe(c),s=c}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new tl(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new jS(function(n){t=n}),cancel:t}}};function X2(e){return function(t){return e.apply(null,t)}}function J2(e){return q.isObject(e)&&e.isAxiosError===!0}const Bp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Bp).forEach(([e,t])=>{Bp[t]=e});function US(e){const t=new Oi(e),n=_S(Oi.prototype.request,t);return q.extend(n,Oi.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return US(Li(e,r))},n}const Bt=US(el);Bt.Axios=Oi;Bt.CanceledError=tl;Bt.CancelToken=Y2;Bt.isCancel=IS;Bt.VERSION=$S;Bt.toFormData=Iu;Bt.AxiosError=Oe;Bt.Cancel=Bt.CanceledError;Bt.all=function(e){return Promise.all(e)};Bt.spread=X2;Bt.isAxiosError=J2;Bt.mergeConfig=Li;Bt.AxiosHeaders=Vn;Bt.formToJSON=e=>PS(q.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=FS.getAdapter;Bt.HttpStatusCode=Bp;Bt.default=Bt;const{Axios:WX,AxiosError:HX,CanceledError:VX,isCancel:GX,CancelToken:KX,VERSION:qX,all:YX,Cancel:XX,isAxiosError:JX,spread:QX,toFormData:ZX,AxiosHeaders:e9,HttpStatusCode:t9,formToJSON:n9,getAdapter:r9,mergeConfig:o9}=Bt,zS=new Map,Q2={baseURL:"",timeout:1e4};function Z2(e,t,n){const r=Bt.create({...Q2,...t});return zS.set(e,{instance:r,urlResolver:n}),r}async function xt(e,t){const n=e.split("/")[0];if(!n)throw new Error("Instance name could not be extracted from url.");const r=zS.get(n);if(!r)throw new Error(`Instance "${n}" not initialized. Call initInstance() first.`);if(!r.urlResolver)throw new Error(`Instance "${n}" has no urlResolver. Pass one to initInstance().`);return e=r.urlResolver(e),r.instance.request({url:e,...t})}const ez=Z2(ve.LOCAL_SERVICE_PREFIX,{baseURL:`/${ve.LOCAL_SERVICE_PREFIX}`},e=>e.replace(ve.LOCAL_SERVICE_PREFIX,""));ez.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const tz={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},nz={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",previewImage:"预览图",previewImageRequired:"请上传或生成预览图",previewImageHint:"在小窗预览面板展示的截图,用于组件市场封面。如自动截图失败,请手动上传 PNG 图片",uploadPreviewImage:"上传预览图",generateScreenshot:"生成截图",previewImageFallbackHint:"预览图仅在组件无法渲染时生效",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarFound:"检测到相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在编辑器中打开",openingInEditor:"在编辑器中打开...",openInExplorer:"在文件管理器中打开",openingInExplorer:"正在打开文件管理器...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},rz={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},oz={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},iz={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},sz={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},az={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",unknownTag:"未知标签"},lz={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},cz={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},uz={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},fz={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},dz={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},pz={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},hz={submit:"提交"},mz={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},gz={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},yz={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},bz={common:tz,comp:nz,team:rz,user:oz,file:iz,message:sz,route:az,markdown:lz,terminal:cz,deps:uz,setting:fz,upgrade:dz,tag:pz,formCreate:hz,validateHash:mz,project:gz,comment:yz},_z={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",ratingReview:"Ratings & Reviews",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",adminSlogan:"Component Management Platform · Admin System",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count",or:"or"},vz={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",previewImage:"Preview Image",previewImageRequired:"Please upload or generate a preview image",previewImageHint:"Screenshot displayed in the mini preview panel, used as the component market cover. If auto-screenshot fails, please manually upload a PNG image",uploadPreviewImage:"Upload Preview Image",generateScreenshot:"Generate Screenshot",previewImageFallbackHint:"Preview image only takes effect when the component fails to render",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarFound:"Similar Components Detected",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in editor",openingInEditor:"Opening in editor...",openInExplorer:"Open in File Explorer",openingInExplorer:"Opening file explorer...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm Overwrite",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},wz={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},Ez={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",bindEmail:"Bind Email",emailBound:"Email bound successfully",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",pleaseBindEmailFirst:"Please bind an email first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},Sz={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},Cz={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful",renameFolder:"Folder name updated successfully"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API",renameFolder:"Folder rename failed, but component was uploaded successfully"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},kz={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",githubCallback:"GitHub Login Callback",unknownTag:"Unknown Tag"},Tz={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},xz={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},Oz={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},Az={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Rz={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Pz={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Iz={submit:"Submit"},Lz={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Mz={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},Nz={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},Dz={common:_z,comp:vz,team:wz,user:Ez,file:Sz,message:Cz,route:kz,markdown:Tz,terminal:xz,deps:Oz,setting:Az,upgrade:Rz,tag:Pz,formCreate:Iz,validateHash:Lz,project:Mz,comment:Nz},Fz={zh:bz,en:Dz},$z=localStorage.getItem(i$.LOCALE_KEY)||"zh",jz=nU({locale:$z,messages:Fz,legacy:!1});function Uz(e){e.use(jz)}let BS;const Mu=e=>BS=e,WS=Symbol();function Wp(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ka;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ka||(ka={}));function zz(){const e=Ch(!0),t=e.run(()=>Re({}));let n=[],r=[];const o=Ah({install(s){Mu(o),o._a=s,s.provide(WS,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const HS=()=>{};function M_(e,t,n,r=HS){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Va()&&kh(o),o}function ns(e,...t){e.forEach(n=>{n(...t)})}const Bz=e=>e(),N_=Symbol(),Pd=Symbol();function Hp(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],o=e[n];Wp(o)&&Wp(r)&&e.hasOwnProperty(n)&&!Rt(r)&&!xo(r)?e[n]=Hp(o,r):e[n]=r}return e}const Wz=Symbol();function Hz(e){return!Wp(e)||!Object.prototype.hasOwnProperty.call(e,Wz)}const{assign:qo}=Object;function Vz(e){return!!(Rt(e)&&e.effect)}function Gz(e,t,n,r){const{state:o,actions:s,getters:a}=t,c=n.state.value[e];let u;function f(){c||(n.state.value[e]=o?o():{});const p=JL(n.state.value[e]);return qo(p,s,Object.keys(a||{}).reduce((h,g)=>(h[g]=Ah(ue(()=>{Mu(n);const y=n._s.get(e);return a[g].call(y,y)})),h),{}))}return u=VS(e,f,t,n,r,!0),u}function VS(e,t,n={},r,o,s){let a;const c=qo({actions:{}},n),u={deep:!0};let f,p,h=new Set,g=new Set,y;const v=r.state.value[e];!s&&!v&&(r.state.value[e]={});let _;function O(T){let N;f=p=!1,typeof T=="function"?(T(r.state.value[e]),N={type:ka.patchFunction,storeId:e,events:y}):(Hp(r.state.value[e],T),N={type:ka.patchObject,payload:T,storeId:e,events:y});const G=_=Symbol();Ur().then(()=>{_===G&&(f=!0)}),p=!0,ns(h,N,r.state.value[e])}const S=s?function(){const{state:N}=n,G=N?N():{};this.$patch(K=>{qo(K,G)})}:HS;function w(){a.stop(),h.clear(),g.clear(),r._s.delete(e)}const A=(T,N="")=>{if(N_ in T)return T[Pd]=N,T;const G=function(){Mu(r);const K=Array.from(arguments),ne=new Set,le=new Set;function z(he){ne.add(he)}function te(he){le.add(he)}ns(g,{args:K,name:G[Pd],store:I,after:z,onError:te});let oe;try{oe=T.apply(this&&this.$id===e?this:I,K)}catch(he){throw ns(le,he),he}return oe instanceof Promise?oe.then(he=>(ns(ne,he),he)).catch(he=>(ns(le,he),Promise.reject(he))):(ns(ne,oe),oe)};return G[N_]=!0,G[Pd]=N,G},E={_p:r,$id:e,$onAction:M_.bind(null,g),$patch:O,$reset:S,$subscribe(T,N={}){const G=M_(h,T,N.detached,()=>K()),K=a.run(()=>gt(()=>r.state.value[e],ne=>{(N.flush==="sync"?p:f)&&T({storeId:e,type:ka.direct,events:y},ne)},qo({},u,N)));return G},$dispose:w},I=Ga(E);r._s.set(e,I);const P=(r._a&&r._a.runWithContext||Bz)(()=>r._e.run(()=>(a=Ch()).run(()=>t({action:A}))));for(const T in P){const N=P[T];if(Rt(N)&&!Vz(N)||xo(N))s||(v&&Hz(N)&&(Rt(N)?N.value=v[T]:Hp(N,v[T])),r.state.value[e][T]=N);else if(typeof N=="function"){const G=A(N,T);P[T]=G,c.actions[T]=N}}return qo(I,P),qo(nt(I),P),Object.defineProperty(I,"$state",{get:()=>r.state.value[e],set:T=>{O(N=>{qo(N,T)})}}),r._p.forEach(T=>{qo(I,a.run(()=>T({store:I,app:r._a,pinia:r,options:c})))}),v&&s&&n.hydrate&&n.hydrate(I.$state,v),f=!0,p=!0,I}function GS(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(a,c){const u=qa();return a=a||(u?En(WS,null):null),a&&Mu(a),a=BS,a._s.has(e)||(o?VS(e,t,r,a):Gz(e,r,a)),a._s.get(e)}return s.$id=e,s}function Kz({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const D_=zz();function qz(e){D_.use(Kz),e.use(D_)}const KS=/^[a-z0-9]+(-[a-z0-9]+)*$/,Nu=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),u=o.pop(),f={provider:o.length>0?o[0]:r,prefix:u,name:c};return t&&!Sc(f)?null:f}const s=o[0],a=s.split("-");if(a.length>1){const c={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Sc(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!Sc(c,n)?null:c}return null},Sc=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Yz(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const c=r[a]&&r[a].parent,u=c&&s(c);u&&(o[a]=[c].concat(u))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const qS=Object.freeze({left:0,top:0,width:16,height:16}),Yc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Du=Object.freeze({...qS,...Yc}),Vp=Object.freeze({...Du,body:"",hidden:!1});function Xz(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function F_(e,t){const n=Xz(e,t);for(const r in Vp)r in Yc?r in e&&!(r in n)&&(n[r]=Yc[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Jz(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function a(c){s=F_(r[c]||o[c],s)}return a(t),n.forEach(a),F_(e,s)}function YS(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Yz(e);for(const o in r){const s=r[o];s&&(t(o,Jz(e,o,s)),n.push(o))}return n}const Qz={provider:"",aliases:{},not_found:{},...qS};function Id(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function XS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Id(e,Qz))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Id(s,Vp))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],a=s.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!Id(s,Vp))return null}return t}const $_=Object.create(null);function Zz(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function As(e,t){const n=$_[e]||($_[e]=Object.create(null));return n[t]||(n[t]=Zz(e,t))}function JS(e,t){return XS(t)?YS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eB(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ua=!1;function QS(e){return typeof e=="boolean"&&(Ua=e),Ua}function tB(e){const t=typeof e=="string"?Nu(e,!0,Ua):e;if(t){const n=As(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nB(e,t){const n=Nu(e,!0,Ua);if(!n)return!1;const r=As(n.provider,n.prefix);return t?eB(r,n.name,t):(r.missing.add(n.name),!0)}function rB(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ua&&!t&&!e.prefix){let r=!1;return XS(e)&&(e.prefix="",YS(e,(o,s)=>{nB(o,s)&&(r=!0)})),r}const n=e.prefix;return Sc({prefix:n,name:"a"})?!!JS(As(t,n),e):!1}const ZS=Object.freeze({width:null,height:null}),eC=Object.freeze({...ZS,...Yc}),oB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,iB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function j_(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oB);if(r===null||!r.length)return e;const o=[];let s=r.shift(),a=iB.test(s);for(;;){if(a){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");a=!a}}function sB(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const a=e.indexOf(">",s);if(a===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function aB(e,t){return e?"<defs>"+e+"</defs>"+t:t}function lB(e,t,n){const r=sB(e);return aB(r.defs,t+r.content+n)}const cB=e=>e==="unset"||e==="undefined"||e==="none";function uB(e,t){const n={...Du,...e},r={...eC,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(_=>{const O=[],S=_.hFlip,w=_.vFlip;let A=_.rotate;S?w?A+=2:(O.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),O.push("scale(-1 1)"),o.top=o.left=0):w&&(O.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),O.push("scale(1 -1)"),o.top=o.left=0);let E;switch(A<0&&(A-=Math.floor(A/4)*4),A=A%4,A){case 1:E=o.height/2+o.top,O.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:O.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,O.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}A%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),O.length&&(s=lB(s,'<g transform="'+O.join(" ")+'">',"</g>"))});const a=r.width,c=r.height,u=o.width,f=o.height;let p,h;a===null?(h=c===null?"1em":c==="auto"?f:c,p=j_(h,u/f)):(p=a==="auto"?u:a,h=c===null?j_(p,f/u):c==="auto"?f:c);const g={},y=(_,O)=>{cB(O)||(g[_]=O.toString())};y("width",p),y("height",h);const v=[o.left,o.top,u,f];return g.viewBox=v.join(" "),{attributes:g,viewBox:v,body:s}}const fB=/\sid="(\S+)"/g,U_=new Map;function dB(e){e=e.replace(/[0-9]+$/,"")||"a";const t=U_.get(e)||0;return U_.set(e,t+1),t?`${e}${t}`:e}function pB(e){const t=[];let n;for(;n=fB.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=dB(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Gp=Object.create(null);function hB(e,t){Gp[e]=t}function Kp(e){return Gp[e]||Gp[""]}function Jh(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Qh=Object.create(null),sa=["https://api.simplesvg.com","https://api.unisvg.com"],Cc=[];for(;sa.length>0;)sa.length===1||Math.random()>.5?Cc.push(sa.shift()):Cc.push(sa.pop());Qh[""]=Jh({resources:["https://api.iconify.design"].concat(Cc)});function mB(e,t){const n=Jh(t);return n===null?!1:(Qh[e]=n,!0)}function Zh(e){return Qh[e]}const gB=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let z_=gB();function yB(e,t){const n=Zh(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function bB(e){return e===404}const _B=(e,t,n)=>{const r=[],o=yB(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((u,f)=>{c+=u.length+1,c>=o&&f>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},c=u.length),a.icons.push(u)}),r.push(a),r};function vB(e){if(typeof e=="string"){const t=Zh(e);if(t)return t.path}return"/"}const wB=(e,t,n)=>{if(!z_){n("abort",424);return}let r=vB(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;z_(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(bB(a)?"abort":"next",a)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},EB={prepare:_B,send:wB};function tC(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function SB(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const a=s.icons,c=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==o)return!0;const f=u.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==c&&(n||tC([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let CB=0;function kB(e,t,n){const r=CB++,o=tC.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),o}function TB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,a=o.prefix,c=o.name,u=n[s]||(n[s]=Object.create(null)),f=u[a]||(u[a]=As(s,a));let p;c in f.icons?p=t.loaded:a===""||f.missing.has(c)?p=t.missing:p=t.pending;const h={provider:s,prefix:a,name:c};p.push(h)}),t}function xB(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Nu(o,t,n):o;s&&r.push(s)}),r}const OB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function AB(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const P=Math.floor(Math.random()*x.length);a.push(x[P]),x=x.slice(0,P).concat(x.slice(P+1))}a=a.concat(x)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let u="pending",f=0,p,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function v(){h&&(clearTimeout(h),h=null)}function _(){u==="pending"&&(u="aborted"),v(),g.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),g=[]}function O(x,P){P&&(y=[]),typeof x=="function"&&y.push(x)}function S(){return{startTime:c,payload:t,status:u,queriesSent:f,queriesPending:g.length,subscribe:O,abort:_}}function w(){u="failed",y.forEach(x=>{x(void 0,p)})}function A(){g.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),g=[]}function E(x,P,T){const N=P!=="success";switch(g=g.filter(G=>G!==x),u){case"pending":break;case"failed":if(N||!e.dataAfterTimeout)return;break;default:return}if(P==="abort"){p=T,w();return}if(N){p=T,g.length||(a.length?I():w());return}if(v(),A(),!e.random){const G=e.resources.indexOf(x.resource);G!==-1&&G!==e.index&&(e.index=G)}u="completed",y.forEach(G=>{G(T)})}function I(){if(u!=="pending")return;v();const x=a.shift();if(x===void 0){if(g.length){h=setTimeout(()=>{v(),u==="pending"&&(A(),w())},e.timeout);return}w();return}const P={status:"pending",resource:x,callback:(T,N)=>{E(P,T,N)}};g.push(P),f++,h=setTimeout(I,e.rotate),n(x,t,P.callback)}return setTimeout(I),S}function nC(e){const t={...OB,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,u){const f=AB(t,a,c,(p,h)=>{r(),u&&u(p,h)});return n.push(f),f}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function B_(){}const Ld=Object.create(null);function RB(e){if(!Ld[e]){const t=Zh(e);if(!t)return;Ld[e]={config:t,redundancy:nC(t)}}return Ld[e]}function PB(e,t,n){let r,o;if(typeof e=="string"){const s=Kp(e);if(!s)return n(void 0,424),B_;o=s.send;const a=RB(e);a&&(r=a.redundancy)}else{const s=Jh(e);if(s){r=nC(s);const a=Kp(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),B_):r.query(t,o,n)().abort}function W_(){}function IB(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,SB(e)}))}function LB(e){const t=[],n=[];return e.forEach(r=>{(r.match(KS)?t:n).push(r)}),{valid:t,invalid:n}}function aa(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!JS(e,n).length){r();return}}catch(o){console.error(o)}r(),IB(e)}function H_(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function MB(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){H_(e.loadIcons(o,r,n),f=>{aa(e,o,f)});return}if(s){o.forEach(f=>{H_(s(f,r,n),p=>{aa(e,[f],p?{prefix:r,icons:{[f]:p}}:null)})});return}const{valid:a,invalid:c}=LB(o);if(c.length&&aa(e,c,null),!a.length)return;const u=r.match(KS)?Kp(n):null;if(!u){aa(e,a,null);return}u.prepare(n,r,a).forEach(f=>{PB(n,f,p=>{aa(e,f.icons,p)})})}))}const NB=(e,t)=>{const n=TB(xB(e,!0,QS()));if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,W_)}),()=>{c=!1}}const r=Object.create(null),o=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:f}=c;if(f===a&&u===s)return;s=u,a=f,o.push(As(u,f));const p=r[u]||(r[u]=Object.create(null));p[f]||(p[f]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:f,name:p}=c,h=As(u,f),g=h.pendingIcons||(h.pendingIcons=new Set);g.has(p)||(g.add(p),r[u][f].push(p))}),o.forEach(c=>{const u=r[c.provider][c.prefix];u.length&&MB(c,u)}),t?kB(t,n,o):W_};function DB(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in ZS?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const FB=/[\s,]+/;function $B(e,t){t.split(FB).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function jB(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function UB(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function zB(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function BB(e){return"data:image/svg+xml,"+zB(e)}function WB(e){return'url("'+BB(e)+'")'}const V_={...eC,inline:!1},HB={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},VB={display:"inline-block"},qp={backgroundColor:"currentColor"},rC={backgroundColor:"transparent"},G_={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},K_={webkitMask:qp,mask:qp,background:rC};for(const e in K_){const t=K_[e];for(const n in G_)t[e+n]=G_[n]}const kc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kc[e+"-flip"]=t,kc[e.slice(0,1)+"-flip"]=t,kc[e+"Flip"]=t});function q_(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Y_=(e,t)=>{const n=DB(V_,t),r={...HB},o=t.mode||"svg",s={},a=t.style,c=typeof a=="object"&&!(a instanceof Array)?a:{};for(let _ in t){const O=t[_];if(O!==void 0)switch(_){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[_]=O===!0||O==="true"||O===1;break;case"flip":typeof O=="string"&&$B(n,O);break;case"color":s.color=O;break;case"rotate":typeof O=="string"?n[_]=jB(O):typeof O=="number"&&(n[_]=O);break;case"ariaHidden":case"aria-hidden":O!==!0&&O!=="true"&&delete r["aria-hidden"];break;default:{const S=kc[_];S?(O===!0||O==="true"||O===1)&&(n[S]=!0):V_[_]===void 0&&(r[_]=O)}}}const u=uB(e,n),f=u.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...c},Object.assign(r,f),r.innerHTML=pB(u.body),ri("svg",r);const{body:p,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:p.indexOf("currentColor")!==-1),v=UB(p,{...f,width:h+"",height:g+""});return r.style={...s,"--svg":WB(v),width:q_(f.width),height:q_(f.height),...VB,...y?qp:rC,...c},ri("span",r)};QS(!0);hB("",EB);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!rB(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;mB(n,o)||console.error(r)}catch{console.error(r)}}}}const GB={...Du,body:""},KB=Lt((e,{emit:t})=>{const n=Re(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Re(!!e.ssr),s=Re(""),a=Ln(null);function c(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return s.value="",{data:f};let p;if(typeof f!="string"||(p=Nu(f,!1,!0))===null)return null;let h=tB(p);if(!h){const v=n.value;return(!v||v.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:NB([p],u)}),null}r(),s.value!==f&&(s.value=f,Ur(()=>{t("load",f)}));const g=e.customise;if(g){h=Object.assign({},h);const v=g(h.body,p.name,p.prefix,p.provider);typeof v=="string"&&(h.body=v)}const y=["iconify"];return p.prefix!==""&&y.push("iconify--"+p.prefix),p.provider!==""&&y.push("iconify--"+p.provider),{data:h,classes:y}}function u(){const f=c();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?u():Er(()=>{o.value=!0,u()}),gt(()=>e.icon,u),Ds(r),()=>{const f=a.value;if(!f)return Y_(GB,e);let p=e;return f.classes&&(p={...e,class:f.classes.join(" ")}),Y_({...Du,...f.data},p)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function qB(e){e.component("Icon",KB)}const Fu="v-loading-mask",oC="v-loading-spinner",iC="v-loading-parent";function YB(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function XB(){const e=document.createElement("div");e.className=Fu,e.innerHTML=`<div class="${oC}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=YB(),t.zIndex="999",t.borderRadius="inherit",e}function JB(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
11
|
+
`+s)}}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ii(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Ec.assertOptions(r,{silentJSONParsing:gr.transitional(gr.boolean),forcedJSONParsing:gr.transitional(gr.boolean),clarifyTimeoutError:gr.transitional(gr.boolean),legacyInterceptorReqResOrdering:gr.transitional(gr.boolean)},!1),o!=null&&(q.isFunction(o)?n.paramsSerializer={serialize:o}:Ec.assertOptions(o,{encode:gr.function,serialize:gr.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ec.assertOptions(n,{baseUrl:gr.spelling("baseURL"),withXsrfToken:gr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=s&&q.merge(s.common,s[n.method]);s&&q.forEach(["delete","get","head","post","put","patch","common"],w=>{delete s[w]}),n.headers=Vn.concat(a,s);const c=[];let u=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;u=u&&w.synchronous;const _=n.transitional||Kh;_&&_.legacyInterceptorReqResOrdering?c.unshift(w.fulfilled,w.rejected):c.push(w.fulfilled,w.rejected)});const f=[];this.interceptors.response.forEach(function(w){f.push(w.fulfilled,w.rejected)});let p,h=0,g;if(!u){const w=[P_.bind(this),void 0];for(w.unshift(...c),w.push(...f),g=w.length,p=Promise.resolve(n);h<g;)p=p.then(w[h++],w[h++]);return p}g=c.length;let y=n;for(;h<g;){const w=c[h++],_=c[h++];try{y=w(y)}catch(O){_.call(this,O);break}}try{p=P_.call(this,y)}catch(w){return Promise.reject(w)}for(h=0,g=f.length;h<g;)p=p.then(f[h++],f[h++]);return p}getUri(t){t=Ii(this.defaults,t);const n=MS(t.baseURL,t.url,t.allowAbsoluteUrls);return RS(n,t.params,t.paramsSerializer)}};q.forEach(["delete","get","head","options"],function(e){Oi.prototype[e]=function(t,n){return this.request(Ii(n||{},{method:e,url:t,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(e){function t(n){return function(r,o,s){return this.request(Ii(s||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Oi.prototype[e]=t(),Oi.prototype[e+"Form"]=t(!0)});let Y2=class jS{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(c=>{r.subscribe(c),s=c}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(o,s,a){r.reason||(r.reason=new tl(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new jS(function(n){t=n}),cancel:t}}};function X2(e){return function(t){return e.apply(null,t)}}function J2(e){return q.isObject(e)&&e.isAxiosError===!0}const zp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(zp).forEach(([e,t])=>{zp[t]=e});function US(e){const t=new Oi(e),n=_S(Oi.prototype.request,t);return q.extend(n,Oi.prototype,t,{allOwnKeys:!0}),q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return US(Ii(e,r))},n}const Bt=US(el);Bt.Axios=Oi;Bt.CanceledError=tl;Bt.CancelToken=Y2;Bt.isCancel=LS;Bt.VERSION=$S;Bt.toFormData=Lu;Bt.AxiosError=Oe;Bt.Cancel=Bt.CanceledError;Bt.all=function(e){return Promise.all(e)};Bt.spread=X2;Bt.isAxiosError=J2;Bt.mergeConfig=Ii;Bt.AxiosHeaders=Vn;Bt.formToJSON=e=>PS(q.isHTMLForm(e)?new FormData(e):e);Bt.getAdapter=FS.getAdapter;Bt.HttpStatusCode=zp;Bt.default=Bt;const{Axios:KX,AxiosError:qX,CanceledError:YX,isCancel:XX,CancelToken:JX,VERSION:QX,all:ZX,Cancel:e9,isAxiosError:t9,spread:n9,toFormData:r9,AxiosHeaders:o9,HttpStatusCode:i9,formToJSON:s9,getAdapter:a9,mergeConfig:l9}=Bt,zS=new Map,Q2={baseURL:"",timeout:1e4};function Z2(e,t,n){const r=Bt.create({...Q2,...t});return zS.set(e,{instance:r,urlResolver:n}),r}async function xt(e,t){const n=e.split("/")[0];if(!n)throw new Error("Instance name could not be extracted from url.");const r=zS.get(n);if(!r)throw new Error(`Instance "${n}" not initialized. Call initInstance() first.`);if(!r.urlResolver)throw new Error(`Instance "${n}" has no urlResolver. Pass one to initInstance().`);return e=r.urlResolver(e),r.instance.request({url:e,...t})}const ez=Z2(we.LOCAL_SERVICE_PREFIX,{baseURL:`/${we.LOCAL_SERVICE_PREFIX}`},e=>e.replace(we.LOCAL_SERVICE_PREFIX,""));ez.interceptors.response.use(e=>e.data,e=>Promise.reject(e));const tz={keyword:"关键词",confirm:"确定",cancel:"取消",close:"关闭",save:"保存",submit:"提交",delete:"删除",edit:"编辑",add:"添加",update:"更新",upload:"上传",download:"下载",refresh:"刷新",loadingText:"加载中",success:"成功",error:"错误",warning:"警告",info:"提示",copy:"复制",copied:"已复制",copySuccess:"复制成功",copyFailed:"复制失败",open:"打开",search:"搜索",reset:"重置",clear:"清空",back:"返回",next:"下一步",prev:"上一步",finish:"完成",operation:"操作",status:"状态",yes:"是",no:"否",name:"名称",description:"描述",version:"版本",time:"时间",date:"日期",author:"作者",type:"类型",category:"分类",tag:"标签",content:"内容",setting:"设置",cache:"缓存",cacheSize:"已使用",clearCache:"清空缓存",clearCacheConfirm:"将清空浏览器单文件编译结果以及模块预编译文件,确认清空缓存吗?",cacheCleared:"缓存已清空",newPage:"新页面打开",terminal:"终端",preview:"预览",doc:"文档",readme:"README.md",upgradeRecord:"更新记录",ratingReview:"评分评论",openInNewPage:"新页面打开",depInstall:"依赖安装",fullscreen:"全屏",exitFullscreen:"退出全屏",maximizeRestore:"最大化/还原",siteSlogan:"原子化组件社区,让组件流通更简单。",siteSubtitle:"Vue 组件共享平台",adminSlogan:"组件管理平台 · 后台管理系统",docsTutorial:"文档教程",empty:"暂无数据",noReadme:"组件没有配置README.md文件",dragSort:"拖拽排序",filter:"筛选",apply:"应用",person:"人",unit:"个",pleaseSelect:"请选择",pleaseInput:"请输入",me:"我",generate:"生成",regenerate:"重新生成",generateSuccess:"生成成功",moreOperations:"更多操作",more:"更多",maxTagCount:"最大标签数量",or:"或"},nz={keywordPlaceholder:"请输入组件名称/描述",title:"组件",name:"组件名称",fieldId:"组件ID",fieldName:"组件名称",fieldVersion:"版本号",desc:"组件描述",remarksDesc:"备注说明",remarksDescRequired:"请输入备注说明",pleaseInputCompName:"请输入组件名称",pleaseInputRemarks:"请输入备注,有助于组件市场检索",pleaseInputTags:"请选择或输入标签",tags:"组件标签",tagsMaxCount:"标签数量不能超过5个",tagsEmpty:"标签不能为空",tagsTooLong:"标签「{tag}」长度不能超过20个字符",tagsInvalidChars:"标签「{tag}」包含非法字符,仅允许中文、英文、数字、连字符和下划线",tagsHelp:"输入文字后按回车键创建新标签,最多5个",compNameRequired:"组件名称不能为空",compNameNamingRule:"组件名只能是「大驼峰(PascalCase)」或「短横线(kebab-case)」命名法",lengthBetween:"长度在 {min} 到 {max} 个字符",previewImage:"预览图",previewImageRequired:"请上传或生成预览图",previewImageHint:"在小窗预览面板展示的截图,用于组件市场封面。如自动截图失败,请手动上传 PNG 图片",uploadPreviewImage:"上传预览图",generateScreenshot:"生成截图",previewImageFallbackHint:"预览图仅在组件无法渲染时生效",version:"组件版本",detail:"组件详情",preview:"组件预览",previewConfig:"预览配置",previewList:"预览列表",uploadPreview:"组件上传预览",updatePreview:"组件更新预览",download:"下载组件",update:"更新组件",upload:"上传组件",submit:"提交组件",edit:"编辑组件",add:"添加组件",delete:"删除组件",local:"本地组件",remote:"远程组件",online:"在线组件",similar:"相似组件",similarFound:"检测到相似组件",similarTeam:"团队内相似组件",dir:"组件目录",file:"组件文件",entry:"入口文件",previewEntry:"预览入口地址",previewEntryFull:"预览入口地址(全屏窗口)",addPreviewEntry:"添加预览入口",maxPreviewEntry:"最多添加{n}个预览入口",pleaseAddPreviewEntry:"请添加预览入口",miniPreviewFile:"小窗预览文件",fullPreviewFile:"全屏预览文件",pleaseSelectPreviewFile:"请选择预览文件",remarkDesc:"备注说明",dep:"组件依赖",localDep:"组件依赖(本地)",onlineDep:"组件依赖(线上)",finalDep:"最终依赖",localVersion:"本地:",onlineVersion:"线上:",onlineDepEmpty:"线上依赖暂无数据!",versionConsistent:"版本一致",versionChange:"版本变化,请手动选择最终版本",versionChangeConfirmed:"已确认",newDep:"新增依赖",miniPanel:"小窗面板",fullPanel:"全屏面板",reload:"重新加载",uploadProtocol:"组件发布协议",bgPanel:"背景板",compLocation:"组件位置",pleaseSelectFolderFirst:"请先选择文件夹",compAlreadyUploaded:"组件已经上传,更新操作请前往我的组件或团队组件",affirmDep:"组件依赖(确认的版本)",checkConfig:"配置检查",checkError:"报错信息",extraInfo:"附加信息",baseInfo:"基础信息",upgradeLog:"更新说明",pleaseInputUpgradeLog:"请填写更新说明",config:"组件配置",configStatus:"组件配置检查状态",configError:"配置异常",configCheckError:"配置检查报错",needUpgrade:"需要升级",fileChanged:"组件文件有变化",versionChanged:"版本号变化",fileNoChange:"文件没有变化",markdownValid:"Markdown预览校验通过",noMarkdown:"没有md文件",hash:"文件哈希",localHash:"本地组件文件hash",remoteHash:"线上组件文件hash",remoteVersion:"线上组件版本号",remoteVersionPrefix:"线上:",localVersionPrefix:"本地:",versionCompare:"版本号比较结果",carouselIndex:"组件预览走马灯index",bgColor:"组件背景颜色",dialogType:"组件弹窗类型",repeat:"组件重复检查",existLocal:"组件在本地存在",scopeId:"作用域id",tempDir:"组件临时目录",submitLimit:"组件提交限制",maxSize:"总大小限制",maxCount:"文件数量限制",matchType:"匹配类型",updateType:"更新类型",updateOnline:"在线更新",updateOffline:"离线更新",compOfflineUpdate:"组件离线更新",compOnlineUpdate:"组件在线更新",folder:"文件夹",compNotInLocal:"组件不在本地,继续更新只能更新组件描述,预览配置等基础信息,是否继续?",selectUpdateFolder:"请选择要更新的文件夹",openInVscode:"在编辑器中打开",openingInEditor:"在编辑器中打开...",openInExplorer:"在文件管理器中打开",openingInExplorer:"正在打开文件管理器...",updateSuccess:"更新成功",downloadVersionConfirm:"当前选择的版本为:{version},确认下载吗?",downloading:"组件下载中...",downloadPathConfirm:"是否下载组件到【{path}】路径下",downloadCoverConfirm:"组件【{name}】已经下载或者有同名组件,是否覆盖?",downloadCoverTitle:"组件覆盖确认",coverConfirm:"确认覆盖",uncollectConfirm:"是否取消收藏组件【{name}】,取消收藏后组件将不再显示在收藏列表中,是否继续?",deleteConfirm:"是否删除组件【{name}】,删除组件后会释放占用的组件名称,是否继续?",collect:"收藏",uncollect:"取消收藏",collected:"已收藏",uncollected:"未收藏",entryFile:"入口文件",configFile:"配置文件",fileChangedNeedVersion:"文件内容改变,请增加版本号",viewFileChanges:"查看文件变化",versionChangedButFileSame:"版本号改变,但文件内容未改变,请还原版本号",errorMsg:"错误信息",versionCannotBeLessThanLatest:"版本号不能小于最新版本{version}",uploadAnyway:"仍然上传",compileError:"组件编译失败",compileWarn:"组件编译警告",formatCode:"格式化代码:",formatCodeTooltip:"仅格式化对比时的文件,不会格式化原始文件",noChanges:"暂无变更",diff:{changed:"M 改变",unchanged:"U 未改变",added:"A 新增",deleted:"D 删除"},uploadConfirmTitle:"上传确认",renameFolderTitle:"文件夹名称不一致",renameFolderTip:"组件名称「{editedName}」与文件夹名称「{folderName}」不一致。",renameFolderQuestion:"是否在上传成功后同步修改文件夹名称?",renameSyncYes:"同步修改文件夹名称",renameSyncNo:"仅上传,不修改文件夹名称"},rz={title:"团队",name:"团队名称",code:"团队码",desc:"团队描述",create:"创建团队",join:"加入团队",exit:"退出团队",exitConfirm:"退出确认",manage:"团队管理",setting:"团队设置",member:"团队成员",memberCount:"成员数",maxMember:"最大成员数",compCount:"组件数量",maxCompCount:"最大组件数量",creator:"创建者",downloadCount:"下载量",collectCount:"收藏量",createTime:"创建时间",myTeam:"我的团队",joinedTeam:"已加入团队",space:"团队空间",noJoined:"暂无加入的团队",noCreated:"暂无创建的团队",createCountLimit:"最大允许创建的团队数量",joinCountLimit:"允许最多加入的团队数量",compList:"团队组件列表",myCompList:"我的组件",compGroup:"团队组件分组",compGroupList:"团队组件分组列表",addMyComp:"团队添加我的组件",compUpdate:"团队我的组件更新",addFromMine:"去我的组件添加",applyList:"申请列表",nickname:"团队昵称",noTeamInfo:"暂无团队信息",compLib:"组件库",groupConfig:"分组配置",compManage:"组件管理",unsavedDataLeave:"分组配置数据未保存,确定要离开吗?",leave:"离开",disbandTeam:"解散团队",applyAudit:"申请审核",teamName:"团队名称",fillTeamCode:"填写团队码",pleaseInputTeamCode:"请输入团队码",teamIdNotExist:"团队ID不存在",joinSuccess:"加入团队成功",applyJoinTeam:"申请加入团队",showRepeatComp:"展示重复组件",allowAuthorDelete:"作者删除组件权限",teamIntro:"团队介绍",fillTeamName:"填写团队名称",pleaseInputTeamName:"请输入团队名称",pleaseInputTeamDesc:"请输入团队介绍",createSuccess:"创建团队成功",charLength:"长度在 {min} 到 {max} 个字符",disbandConfirm:"确定解散团队吗,解散后所有成员和组件将被移除,并且无法恢复?",deleteConfirm:"删除确认",inputAuthCode:"请输入验证码",disbandSuccess:"解散团队成功",reject:"拒绝",agree:"同意",approved:"已同意",rejected:"已拒绝",kickOut:"踢出",teamUserNickname:"团队内昵称",pleaseInputTeamNickname:"请输入你在团队的昵称",normalUser:"普通用户",kickOutConfirm:"确定踢出用户【{name}】吗?",kickOutSuccess:"踢出成功",selectCanUpdateUser:"选择可更新用户",authorAutoAuth:"作者自带授权",updateAuth:"更新授权",updateTime:"更新时间",expandAll:"展开全部",createGroup:"创建分组",unsaved:"未保存",pleaseInputGroupName:"请输入分组名称",addComp:"添加组件",added:"已添加",notAdded:"未添加",defaultGroup:"默认分组",deleteGroupConfirm:"确认删除该分组吗?删除后该分组下的所有组件将被移除分组",addSuccess:"添加成功",isGrouped:"是否分组",grouped:"已分组",ungrouped:"未分组",group:"分组",prevVersion:"升级前版本",newVersion:"升级后版本",upgradeDesc:"升级描述",similarCompInTeam:"团队内相似组件",similarComp:"相似组件",deleteCompConfirm:"是否删除团队组件【{name}】,删除组件后团队成员将无法使用该组件,是否继续?",descTitle:"为业务团队打造专属组件空间",descItem1:"创建私密团队,组件仅对成员可见,保护核心资产",descItem2:"每个账号最多可创建 {count} 个团队",descItem3:"每个账号最多可加入 {count} 个团队",descItem4:"基础版团队支持最多 {count} 名成员",descItem5:"基础版团队可管理最多 {count} 个组件",descItem6:"支持创建分组菜单,灵活组织团队组件"},oz={title:"用户",username:"用户名",account:"账号",password:"密码",newPassword:"新密码",confirmPassword:"确认密码",confirmNewPassword:"确认新密码",pleaseInputNewPassword:"请输入新密码",pleaseConfirmNewPassword:"请确认新密码",passwordModified:"密码修改成功",email:"邮箱",oldEmail:"旧邮箱",newEmail:"新邮箱",phone:"手机号",avatar:"头像",nickname:"昵称",login:"登录",logout:"退出登录",register:"注册",forgotPassword:"忘记密码",resetPassword:"重置密码",changePassword:"修改密码",changeNickname:"修改昵称",pleaseInputNickname:"请输入昵称",changeAvatar:"修改头像",avatarModified:"头像修改成功",changeEmail:"修改邮箱",bindEmail:"绑定邮箱",emailBound:"邮箱绑定成功",basicInfo:"基本信息",securitySettings:"安全设置",loginPassword:"登录密码",passwordTip:"建议定期更换密码,确保账号安全",setPassword:"设置密码",emailLogin:"邮箱登录",emailLoginTip:"允许使用邮箱作为登录账号",pleaseSetPasswordFirst:"请先设置登录密码",pleaseBindEmailFirst:"请先绑定邮箱",emailLoginEnabled:"邮箱登录已开启",emailLoginDisabled:"邮箱登录已关闭",registerTime:"注册时间",notBound:"未绑定",change:"更换",bind:"绑定",authCode:"验证码",oldAuthCode:"旧验证码",newAuthCode:"新验证码",sendAuthCode:"发送验证码",resendAuthCode:"重新发送",getAuthCode:"获取验证码",pleaseInputAuthCode:"请输入验证码",pleaseInputNewAuthCode:"请输入新验证码",resendAfterSeconds:"{n}秒后重新获取",accountLogin:"账号登录",pleaseInputAccount:"请输入账号",pleaseInputUsername:"请输入用户名",pleaseInputPassword:"请输入密码",pleaseInputEmail:"请输入邮箱",pleaseInputOldEmail:"请输入旧邮箱",pleaseInputNewEmail:"请输入新邮箱",pleaseInputCorrectEmail:"请输入正确的邮箱",emailModified:"邮箱修改成功",newAuthCodeSent:"新验证码已发送",authCodeSent:"验证码已发送",skip:"跳过",loginSuccess:"登录成功",loggingIn:"登录中…",pleaseInputAccountAndPassword:"请输入您的账号和密码",invalidAccountOrPassword:"账号或密码错误",userInfo:"用户信息",personalCenter:"个人中心",myComp:"我的组件",notLoggedIn:"未登录",goLogin:"去登录",loginWithGithub:"使用 GitHub 登录",githubLoggingIn:"GitHub 登录中…",githubLoginFailed:"GitHub 登录失败",missingToken:"未获取到授权令牌",returnToLogin:"返回登录"},iz={title:"文件",name:"文件名",path:"文件路径",size:"文件大小",type:"文件类型",dir:"文件夹",selectDir:"选择文件夹",upload:"文件上传",download:"文件下载",select:"选择",multiSelect:"不支持多选",onlyDir:"只能选择文件夹",rootDir:"根目录",projectPath:"项目路径",currentDir:"当前目录",parentDir:"上级目录",refreshDir:"刷新文件夹列表"},sz={success:{download:"下载成功",update:"更新成功",delete:"删除成功",collect:"收藏成功",uncollect:"取消收藏成功",save:"保存成功",submit:"提交成功",upload:"上传成功",copy:"复制成功",operation:"操作成功",sendAuthCode:"验证码已发送",exitTeam:"退出成功",renameFolder:"文件夹名称修改成功"},error:{download:"下载失败",update:"更新失败",delete:"删除失败",collect:"收藏失败",uncollect:"取消收藏失败",save:"保存失败",submit:"提交失败",upload:"上传失败",copy:"复制失败",operation:"操作失败",load:"加载失败",network:"网络错误",timeout:"请求超时",unknown:"未知错误",pleaseFixCompileError:"请先处理编译错误",loginExpired:"登录已过期,请重新登录",refreshFailed:"刷新失败",requestFailed:"请求失败,请联系管理员",storageNotSupported:"浏览器不支持 storage.estimate API",renameFolder:"文件夹重命名失败,但组件已上传成功"},noUpdatePermission:"当前组件您没有更新权限,请联系管理员获取权限",confirm:{delete:"确定删除吗?",submit:"确定提交吗?",update:"确定更新吗?",exit:"确定退出吗?",cancel:"确定取消吗?"},loginRequired:"请先登录",fileExceed:"最多只能选择 {limit} 个文件,本次已选择 {selected} 个,共将上传 {total} 个文件",validate:{required:"必填项",format:"格式不正确",min:"不能小于最小值",max:"不能超过最大值",length:"长度不正确",email:"邮箱格式不正确",phone:"手机号格式不正确",imageFormat:"上传文件只能是图片格式",pleaseSelectFile:"请先选择文件",fileMaxSize:"上传文件大小不能超过 {size}MB!"}},az={404:"页面不存在",share:"组件市场",collect:"收藏组件",collectSimple:"收藏",myComments:"我的评论",mine:"我的组件",mineSimple:"我的",local:"本地组件",localSimple:"本地",team:"团队",upload:"上传组件",uploadSimple:"上传",uploadTeam:"上传团队组件",setting:"设置",userInfo:"用户信息",upgrade:"更新",terminal:"终端",preview:"组件预览",previewLocal:"本地组件预览",previewTeam:"团队组件预览",previewBlank:"预览",similarPreview:"相似组件预览",login:"登录",githubCallback:"GitHub 登录回调",unknownTag:"未知标签"},lz={parse:"解析 Markdown",loading:"加载 Markdown",error:"加载失败",toc:"目录",anchor:"锚点"},cz={title:"终端",open:"打开终端",close:"关闭终端",execute:"执行命令",shutdown:"关闭进程",timeout:"超时时间",disconnected:"终端已断开连接"},uz={title:"依赖",name:"依赖名称",version:"依赖版本",install:"安装依赖",installing:"安装中",installed:"已安装",prebuild:"预构建",prebuildSize:"预构建大小",clearPrebuild:"清空预构建",batchSetting:"批量设置",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"自动",onlyInstall:"仅安装",majorVersion:"主版本",minorVersion:"主次版本",exactVersion:"完全一致"},matchDesc:{auto:"不限制版本,使用当前环境直接渲染",onlyInstall:"不限制版本,仅需模块已安装",majorVersion:"主版本号一致即可(如 2.x)",minorVersion:"主版本和次版本一致(如 2.7.x)",exactVersion:"版本号完全匹配(如 2.7.14)"}},fz={title:"设置",previewRule:"预览规则",other:"其他设置",theme:"主题",language:"语言",darkMode:"暗黑模式",lightMode:"明亮模式"},dz={title:"版本更新",current:"当前版本",latest:"最新版本",check:"检查更新",upgrading:"更新中",upgraded:"已更新",publish:"发布更新",record:"更新记录",log:"更新日志",hasUpdate:"有更新",betaVersion:"内测版",noUpdate:"暂无更新",updateMethod:"更新方式",openTerminalAndRun:"打开终端,执行以下命令:",cannotIgnoreUpdate:"不可忽略此次更新"},pz={systemRecommended:"系统推荐",all:"全部",latest:"最新",hottest:"最热"},hz={submit:"提交"},mz={empty:"不能为空",notString:"必须是字符串类型,当前类型为: {type}",contentEmpty:"内容不能为空",startsWithNumber:'内容不能以数字开头,当前以 "{char}" 开头',invalidCharBacktick:"内容包含反引号(Markdown 语法标记),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharNewline:"内容包含换行符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharCarriageReturn:"内容包含回车符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharTab:"内容包含制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharFormFeed:"内容包含换页符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharVerticalTab:"内容包含垂直制表符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHash:"内容包含 # 字符,特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格",invalidCharHtmlSpecial:'内容包含 HTML 特殊字符 "{char}",特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格',invalidCharUnknown:'内容包含非法字符 "{char}"(Unicode: U+{code}),特殊字符只允许连字符(-)、下划线(_)、中文括号()、空格'},gz={openInEditor:"在编辑器中打开",current:"当前",noRegistered:"暂无已注册项目",deregisterTitle:"注销项目",deregisterConfirm:"确定要注销项目 {hash} ({cwd}) 吗?",deregisterSuccess:"已注销项目 {hash}",deregisterFailed:"注销失败"},yz={myCommentsTitle:"我的评论",tabReceived:"收到的评论",tabMyDiscussions:"我的讨论",noMyCompsComments:"暂无评论",noReceivedComments:"暂无收到的评论",noMyDiscussions:"暂无参与讨论",new:"新",rating:"评分",ratingSuccess:"评分成功",ratingCancelSuccess:"已取消评分",ratingError:"评分失败,请重试",ratingDialogDesc:"正确的评分有助组件曝光,帮助更多人发现优秀组件",ratingThanks:"感谢你的打分,有什么意见请在评论区留言",writePlaceholder:"写下你的评论...",loginPlaceholder:"请先登录后再评论",post:"发表评论",allComments:"全部评论",empty:"暂无评论,来说两句吧",loadError:"加载评论失败",postSuccess:"评论发表成功",postError:"评论失败,请重试",anonymous:"匿名",self:"自己",cancelReply:"取消回复",reply:"回复",replyTo:"回复 {'@'}{name}...",replySuccess:"回复成功",replyError:"回复失败,请重试",expandReplies:"展开 {count} 条回复",collapseReplies:"收起回复",deleteConfirm:"确定删除这条评论吗?删除后不可恢复。",deleteTitle:"确认删除",deleteSuccess:"删除成功",deleteError:"删除失败,请重试",viewAllReplies:"查看全部 {count} 条回复",time:{justNow:"刚刚",minutesAgo:"{n}分钟前",hoursAgo:"{n}小时前",daysAgo:"{n}天前"}},bz={common:tz,comp:nz,team:rz,user:oz,file:iz,message:sz,route:az,markdown:lz,terminal:cz,deps:uz,setting:fz,upgrade:dz,tag:pz,formCreate:hz,validateHash:mz,project:gz,comment:yz},_z={keyword:"Keyword",confirm:"Confirm",cancel:"Cancel",close:"Close",save:"Save",submit:"Submit",delete:"Delete",edit:"Edit",add:"Add",update:"Update",upload:"Upload",download:"Download",refresh:"Refresh",loadingText:"Loading",success:"Success",error:"Error",warning:"Warning",info:"Info",copy:"Copy",copied:"Copied",copySuccess:"Copy successful",copyFailed:"Copy failed",open:"Open",search:"Search",reset:"Reset",clear:"Clear",back:"Back",next:"Next",prev:"Previous",finish:"Finish",operation:"Operation",status:"Status",yes:"Yes",no:"No",name:"Name",description:"Description",version:"Version",time:"Time",date:"Date",author:"Author",type:"Type",category:"Category",tag:"Tag",content:"Content",setting:"Setting",cache:"Cache",cacheSize:"Used",clearCache:"Clear Cache",clearCacheConfirm:"This will clear browser single-file compilation results and module pre-compilation files. Confirm to clear cache?",cacheCleared:"Cache cleared",newPage:"Open in new page",terminal:"Terminal",preview:"Preview",doc:"Documentation",readme:"README.md",upgradeRecord:"Update Record",ratingReview:"Ratings & Reviews",openInNewPage:"Open in new page",depInstall:"Dependency Installation",fullscreen:"Fullscreen",exitFullscreen:"Exit Fullscreen",maximizeRestore:"Maximize/Restore",siteSlogan:"Atomic Component Community, Making Component Sharing Easier.",siteSubtitle:"Vue Component Sharing Platform",adminSlogan:"Component Management Platform · Admin System",docsTutorial:"Documentation",empty:"No data",noReadme:"Component has no README.md file configured",dragSort:"Drag to sort",filter:"Filter",apply:"Apply",person:"people",unit:"items",pleaseSelect:"Please select",pleaseInput:"Please input",me:"Me",generate:"Generate",regenerate:"Regenerate",generateSuccess:"Generated successfully",moreOperations:"More Operations",more:"More",maxTagCount:"Max Tag Count",or:"or"},vz={keywordPlaceholder:"Please input component name or description",title:"Component",name:"Component Name",fieldId:"Component ID",fieldName:"Component Name",fieldVersion:"Version",desc:"Component Description",remarksDesc:"Remarks",remarksDescRequired:"Please enter remarks",pleaseInputCompName:"Please enter component name",pleaseInputRemarks:"Please enter remarks to help with component market search",pleaseInputTags:"Select or enter tags",tags:"Tags",tagsMaxCount:"No more than 5 tags allowed",tagsEmpty:"Tag cannot be empty",tagsTooLong:'Tag "{tag}" cannot exceed 20 characters',tagsInvalidChars:'Tag "{tag}" contains invalid characters, only Chinese, English, numbers, hyphens and underscores are allowed',tagsHelp:"Type and press Enter to create a new tag, max 5",compNameRequired:"Component name is required",compNameNamingRule:"Component name must be in PascalCase or kebab-case",lengthBetween:"Length must be between {min} and {max} characters",previewImage:"Preview Image",previewImageRequired:"Please upload or generate a preview image",previewImageHint:"Screenshot displayed in the mini preview panel, used as the component market cover. If auto-screenshot fails, please manually upload a PNG image",uploadPreviewImage:"Upload Preview Image",generateScreenshot:"Generate Screenshot",previewImageFallbackHint:"Preview image only takes effect when the component fails to render",version:"Component Version",detail:"Component Detail",preview:"Component Preview",previewConfig:"Preview Config",previewList:"Preview List",uploadPreview:"Component Upload Preview",updatePreview:"Component Update Preview",download:"Download Component",update:"Update Component",upload:"Upload Component",submit:"Submit Component",edit:"Edit Component",add:"Add Component",delete:"Delete Component",local:"Local Component",remote:"Remote Component",online:"Online Component",similar:"Similar Components",similarFound:"Similar Components Detected",similarTeam:"Similar Components in Team",dir:"Component Directory",file:"Component File",entry:"Entry File",previewEntry:"Preview Entry Address",previewEntryFull:"Preview Entry Address (Fullscreen)",addPreviewEntry:"Add Preview Entry",maxPreviewEntry:"Maximum {n} preview entries allowed",pleaseAddPreviewEntry:"Please add a preview entry",miniPreviewFile:"Mini Preview File",fullPreviewFile:"Full Preview File",pleaseSelectPreviewFile:"Please select preview file",remarkDesc:"Remarks",dep:"Component Dependencies",localDep:"Component Dependencies (Local)",onlineDep:"Component Dependencies (Online)",finalDep:"Final Dependencies",localVersion:"Local: ",onlineVersion:"Online: ",onlineDepEmpty:"No online dependency data!",versionConsistent:"Version Consistent",versionChange:"Version changed, please select final version",versionChangeConfirmed:"Confirmed",newDep:"New Dependency",miniPanel:"Mini Panel",fullPanel:"Full Panel",reload:"Reload",uploadProtocol:"Upload Protocol",bgPanel:"Background",compLocation:"Component Location",pleaseSelectFolderFirst:"Please select a folder first",compAlreadyUploaded:"Component already uploaded, please go to My Components or Team Components to update",affirmDep:"Component Dependencies (Confirmed Version)",checkConfig:"Config Check",checkError:"Error Info",extraInfo:"Extra Info",baseInfo:"Basic Info",upgradeLog:"Upgrade Log",pleaseInputUpgradeLog:"Please enter upgrade description",config:"Component Config",configStatus:"Component Config Check Status",configError:"Config Error",configCheckError:"Config Check Error",needUpgrade:"Needs Upgrade",fileChanged:"Component files changed",versionChanged:"Version changed",fileNoChange:"Files unchanged",markdownValid:"Markdown preview validation passed",noMarkdown:"No markdown file",hash:"File Hash",localHash:"Local Component File Hash",remoteHash:"Remote Component File Hash",remoteVersion:"Remote Component Version",remoteVersionPrefix:"Online: ",localVersionPrefix:"Local: ",versionCompare:"Version Comparison Result",carouselIndex:"Component Preview Carousel Index",bgColor:"Component Background Color",dialogType:"Component Dialog Type",repeat:"Component Repeat Check",existLocal:"Component exists locally",scopeId:"Scope ID",tempDir:"Component Temp Directory",submitLimit:"Component Submit Limit",maxSize:"Total Size Limit",maxCount:"File Count Limit",matchType:"Match Type",updateType:"Update Type",updateOnline:"Online Update",updateOffline:"Offline Update",compOfflineUpdate:"Component Offline Update",compOnlineUpdate:"Component Online Update",folder:"Folder",compNotInLocal:"Component is not local. Continuing will only update basic information like description and preview config. Continue?",selectUpdateFolder:"Please select folder to update",openInVscode:"Open in editor",openingInEditor:"Opening in editor...",openInExplorer:"Open in File Explorer",openingInExplorer:"Opening file explorer...",updateSuccess:"Update successful",downloadVersionConfirm:"The currently selected version is: {version}, confirm download?",downloading:"Downloading component...",downloadPathConfirm:"Download component to path [{path}]?",downloadCoverConfirm:"Component [{name}] already exists or has a duplicate name, overwrite?",downloadCoverTitle:"Overwrite Confirmation",coverConfirm:"Confirm Overwrite",uncollectConfirm:"Are you sure you want to uncollect component [{name}]? It will no longer appear in your collection list.",deleteConfirm:"Are you sure you want to delete component [{name}]? This will free up the component name and cannot be undone.",collect:"Collect",uncollect:"Uncollect",collected:"Collected",uncollected:"Not Collected",entryFile:"Entry File",configFile:"Config File",fileChangedNeedVersion:"File content changed, please increment version",viewFileChanges:"View File Changes",versionChangedButFileSame:"Version changed but file content unchanged, please revert version",errorMsg:"Error Message",versionCannotBeLessThanLatest:"Version cannot be less than latest version {version}",uploadAnyway:"Upload Anyway",compileError:"Component compilation failed",compileWarn:"Component compilation warning",formatCode:"Format Code:",formatCodeTooltip:"Only formats files during comparison, original files remain unchanged",noChanges:"No changes",diff:{changed:"M Changed",unchanged:"U Unchanged",added:"A Added",deleted:"D Deleted"},uploadConfirmTitle:"Upload Confirmation",renameFolderTitle:"Folder Name Mismatch",renameFolderTip:'Component name "{editedName}" does not match folder name "{folderName}".',renameFolderQuestion:"Do you want to sync the folder name after upload?",renameSyncYes:"Sync folder name",renameSyncNo:"Upload only, do not modify folder name"},wz={title:"Team",name:"Team Name",code:"Team Code",desc:"Team Description",create:"Create Team",join:"Join Team",exit:"Exit Team",exitConfirm:"Exit Confirmation",manage:"Team Management",setting:"Team Settings",member:"Team Members",memberCount:"Member Count",maxMember:"Max Members",compCount:"Component Count",maxCompCount:"Max Components",creator:"Creator",downloadCount:"Downloads",collectCount:"Collections",createTime:"Create Time",myTeam:"My Teams",joinedTeam:"Joined Teams",space:"Team Space",noJoined:"No joined teams",noCreated:"No created teams",createCountLimit:"Max teams allowed to create",joinCountLimit:"Max teams allowed to join",compList:"Team Component List",myCompList:"My Component List",compGroup:"Team Component Group",compGroupList:"Team Component Group List",addMyComp:"Team Add My Component",compUpdate:"Team My Component Update",addFromMine:"Add from My Components",applyList:"Apply List",nickname:"Team Nickname",noTeamInfo:"No team information",compLib:"Component Library",groupConfig:"Group Config",compManage:"Component Management",unsavedDataLeave:"Group configuration data is not saved, are you sure you want to leave?",leave:"Leave",disbandTeam:"Disband Team",applyAudit:"Apply Audit",teamName:"Team Name",fillTeamCode:"Fill in Team Code",pleaseInputTeamCode:"Please enter team code",teamIdNotExist:"Team ID does not exist",joinSuccess:"Joined team successfully",applyJoinTeam:"Apply to Join Team",showRepeatComp:"Show Duplicate Components",allowAuthorDelete:"Allow Author Delete",teamIntro:"Team Introduction",fillTeamName:"Fill in Team Name",pleaseInputTeamName:"Please enter team name",pleaseInputTeamDesc:"Please enter team description",createSuccess:"Team created successfully",charLength:"Length must be between {min} and {max} characters",disbandConfirm:"Are you sure you want to disband the team? All members and components will be removed and cannot be recovered.",deleteConfirm:"Delete Confirmation",inputAuthCode:"Please enter verification code",disbandSuccess:"Team disbanded successfully",reject:"Reject",agree:"Agree",approved:"Approved",rejected:"Rejected",kickOut:"Kick Out",teamUserNickname:"Team Nickname",pleaseInputTeamNickname:"Please enter your team nickname",normalUser:"Normal User",kickOutConfirm:"Are you sure you want to kick out user [{name}]?",kickOutSuccess:"Kicked out successfully",selectCanUpdateUser:"Select users who can update",authorAutoAuth:"Author has default authorization",updateAuth:"Update Authorization",updateTime:"Update Time",expandAll:"Expand All",createGroup:"Create Group",unsaved:"Unsaved",pleaseInputGroupName:"Please enter group name",addComp:"Add Component",added:"Added",notAdded:"Not Added",defaultGroup:"Default Group",deleteGroupConfirm:"Are you sure you want to delete this group? All components in this group will be removed from the group.",addSuccess:"Added successfully",isGrouped:"Is Grouped",grouped:"Grouped",ungrouped:"Ungrouped",group:"Group",prevVersion:"Previous Version",newVersion:"New Version",upgradeDesc:"Upgrade Description",similarCompInTeam:"Similar Components in Team",similarComp:"Similar Components",deleteCompConfirm:"Are you sure you want to delete team component [{name}]? Team members will no longer be able to use this component.",descTitle:"Create an Exclusive Component Space for Your Team",descItem1:"Create a private team where components are only visible to members, protecting core assets",descItem2:"Each account can create up to {count} teams",descItem3:"Each account can join up to {count} teams",descItem4:"Basic team supports up to {count} members",descItem5:"Basic team can manage up to {count} components",descItem6:"Support creating group menus to organize team components flexibly"},Ez={title:"User",username:"Username",account:"Account",password:"Password",newPassword:"New Password",confirmPassword:"Confirm Password",confirmNewPassword:"Confirm New Password",pleaseInputNewPassword:"Please enter new password",pleaseConfirmNewPassword:"Please confirm new password",passwordModified:"Password modified successfully",email:"Email",oldEmail:"Old Email",newEmail:"New Email",phone:"Phone",avatar:"Avatar",nickname:"Nickname",login:"Login",logout:"Logout",register:"Register",forgotPassword:"Forgot Password",resetPassword:"Reset Password",changePassword:"Change Password",changeNickname:"Change Nickname",pleaseInputNickname:"Please enter nickname",changeAvatar:"Change Avatar",avatarModified:"Avatar updated successfully",changeEmail:"Change Email",bindEmail:"Bind Email",emailBound:"Email bound successfully",basicInfo:"Basic Information",securitySettings:"Security Settings",loginPassword:"Login Password",passwordTip:"Regularly change your password to ensure account security",setPassword:"Set Password",emailLogin:"Email Login",emailLoginTip:"Allow using email as login account",pleaseSetPasswordFirst:"Please set login password first",pleaseBindEmailFirst:"Please bind an email first",emailLoginEnabled:"Email login enabled",emailLoginDisabled:"Email login disabled",registerTime:"Registration Time",notBound:"Not Bound",change:"Change",bind:"Bind",authCode:"Verification Code",oldAuthCode:"Old Verification Code",newAuthCode:"New Verification Code",sendAuthCode:"Send Auth Code",resendAuthCode:"Resend",getAuthCode:"Get Code",pleaseInputAuthCode:"Please enter code",pleaseInputNewAuthCode:"Please enter new code",resendAfterSeconds:"Resend in {n}s",accountLogin:"Account Login",pleaseInputAccount:"Please enter account",pleaseInputUsername:"Please enter username",pleaseInputPassword:"Please enter password",pleaseInputEmail:"Please enter email",pleaseInputOldEmail:"Please enter old email",pleaseInputNewEmail:"Please enter new email",pleaseInputCorrectEmail:"Please enter correct email",emailModified:"Email modified successfully",newAuthCodeSent:"New verification code sent",authCodeSent:"Verification code sent",skip:"Skip",loginSuccess:"Login successful",loggingIn:"Logging in...",pleaseInputAccountAndPassword:"Please enter your account and password",invalidAccountOrPassword:"Invalid account or password",userInfo:"User Info",personalCenter:"Personal Center",myComp:"My Components",notLoggedIn:"Not logged in",goLogin:"Go to Login",loginWithGithub:"Login with GitHub",githubLoggingIn:"Logging in with GitHub...",githubLoginFailed:"GitHub Login Failed",missingToken:"Authorization token not received",returnToLogin:"Return to Login"},Sz={title:"File",name:"Filename",path:"File Path",size:"File Size",type:"File Type",dir:"Directory",selectDir:"Select Directory",upload:"File Upload",download:"File Download",select:"Select",multiSelect:"Multiple selection not supported",onlyDir:"Only directories can be selected",rootDir:"Root Directory",projectPath:"Project Path",currentDir:"Current Directory",parentDir:"Parent Directory",refreshDir:"Refresh Directory List"},Cz={success:{download:"Download successful",update:"Update successful",delete:"Delete successful",collect:"Collect successful",uncollect:"Uncollect successful",save:"Save successful",submit:"Submit successful",upload:"Upload successful",copy:"Copy successful",operation:"Operation successful",sendAuthCode:"Verification code sent",exitTeam:"Exit successful",renameFolder:"Folder name updated successfully"},error:{download:"Download failed",update:"Update failed",delete:"Delete failed",collect:"Collect failed",uncollect:"Uncollect failed",save:"Save failed",submit:"Submit failed",upload:"Upload failed",copy:"Copy failed",operation:"Operation failed",load:"Load failed",network:"Network error",timeout:"Request timeout",unknown:"Unknown error",pleaseFixCompileError:"Please fix compilation errors first",loginExpired:"Login expired, please log in again",refreshFailed:"Refresh failed",requestFailed:"Request failed, please contact administrator",storageNotSupported:"Browser does not support storage.estimate API",renameFolder:"Folder rename failed, but component was uploaded successfully"},noUpdatePermission:"You do not have permission to update this component. Please contact the administrator for access.",confirm:{delete:"Are you sure to delete?",submit:"Are you sure to submit?",update:"Are you sure to update?",exit:"Are you sure to exit?",cancel:"Are you sure to cancel?"},loginRequired:"Please login first",fileExceed:"You can select at most {limit} files, {selected} selected this time, {total} total to be uploaded",validate:{required:"Required field",format:"Invalid format",min:"Cannot be less than minimum value",max:"Cannot exceed maximum value",length:"Invalid length",email:"Invalid email format",phone:"Invalid phone format",imageFormat:"Only image files are allowed",pleaseSelectFile:"Please select a file first",fileMaxSize:"File size cannot exceed {size}MB!"}},kz={404:"Page Not Found",share:"Component Market",collect:"Collected Components",collectSimple:"Collection",myComments:"My Comments",mine:"My Components",mineSimple:"Mine",local:"Local Components",localSimple:"Local",team:"Team",upload:"Upload Component",uploadSimple:"Upload",uploadTeam:"Upload Team Component",setting:"Settings",userInfo:"User Info",upgrade:"Upgrade",terminal:"Terminal",preview:"Component Preview",previewLocal:"Local Component Preview",previewTeam:"Team Component Preview",previewBlank:"Preview",similarPreview:"Similar Component Preview",login:"Login",githubCallback:"GitHub Login Callback",unknownTag:"Unknown Tag"},Tz={parse:"Parse Markdown",loading:"Loading Markdown",error:"Load failed",toc:"Table of Contents",anchor:"Anchor"},xz={title:"Terminal",open:"Open Terminal",close:"Close Terminal",execute:"Execute Command",shutdown:"Shutdown Process",timeout:"Timeout",disconnected:"Terminal disconnected"},Oz={title:"Dependencies",name:"Dependency Name",version:"Dependency Version",install:"Install Dependencies",installing:"Installing",installed:"Installed",prebuild:"Prebuild",prebuildSize:"Prebuild Size",clearPrebuild:"Clear Prebuild",batchSetting:"Batch Setting",dependencies:"dependencies",devDependencies:"devDependencies",match:{auto:"Auto",onlyInstall:"Install Only",majorVersion:"Major Version",minorVersion:"Major + Minor",exactVersion:"Exact Match"},matchDesc:{auto:"No version restriction, render with current environment",onlyInstall:"No version restriction, only requires installation",majorVersion:"Major version match (e.g. 2.x)",minorVersion:"Major and minor version match (e.g. 2.7.x)",exactVersion:"Exact version match (e.g. 2.7.14)"}},Az={title:"Settings",previewRule:"Preview Rule",other:"Other Settings",theme:"Theme",language:"Language",darkMode:"Dark Mode",lightMode:"Light Mode"},Rz={title:"Version Update",current:"Current Version",latest:"Latest Version",check:"Check for Updates",upgrading:"Updating",upgraded:"Updated",publish:"Publish Update",record:"Update Record",log:"Changelog",hasUpdate:"Update Available",betaVersion:"Beta",noUpdate:"No updates available",updateMethod:"Update Method",openTerminalAndRun:"Open terminal and run:",cannotIgnoreUpdate:"This update cannot be ignored"},Pz={systemRecommended:"System Recommended",all:"All",latest:"Latest",hottest:"Hottest"},Lz={submit:"Submit"},Iz={empty:"Cannot be empty",notString:"Must be a string type, current type: {type}",contentEmpty:"Content cannot be empty",startsWithNumber:'Content cannot start with a number, currently starts with "{char}"',invalidCharBacktick:"Content contains backtick (Markdown syntax marker), only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharNewline:"Content contains newline character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharCarriageReturn:"Content contains carriage return, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharTab:"Content contains tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharFormFeed:"Content contains form feed character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharVerticalTab:"Content contains vertical tab character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHash:"Content contains # character, only hyphen(-), underscore(_), parentheses(), and spaces are allowed",invalidCharHtmlSpecial:'Content contains HTML special character "{char}", only hyphen(-), underscore(_), parentheses(), and spaces are allowed',invalidCharUnknown:'Content contains invalid character "{char}" (Unicode: U+{code}), only hyphen(-), underscore(_), parentheses(), and spaces are allowed'},Mz={openInEditor:"Open in Editor",current:"Current",noRegistered:"No registered projects",deregisterTitle:"Deregister Project",deregisterConfirm:"Are you sure you want to deregister project {hash} ({cwd})?",deregisterSuccess:"Deregistered project {hash}",deregisterFailed:"Deregister failed"},Nz={myCommentsTitle:"My Comments",tabReceived:"Received",tabMyDiscussions:"My Discussions",noMyCompsComments:"No comments yet",noReceivedComments:"No comments received",noMyDiscussions:"No discussions yet",new:"New",rating:"Rating",ratingSuccess:"Rating submitted",ratingCancelSuccess:"Rating removed",ratingError:"Failed to rate, please try again",ratingDialogDesc:"Accurate ratings help components get more exposure",ratingThanks:"Thank you for your rating! Feel free to leave a comment below.",writePlaceholder:"Write a comment...",loginPlaceholder:"Please login to comment",post:"Post Comment",allComments:"All Comments",empty:"No comments yet. Be the first to comment!",loadError:"Failed to load comments",postSuccess:"Comment posted successfully",postError:"Failed to post comment, please try again",anonymous:"Anonymous",self:"Me",cancelReply:"Cancel Reply",reply:"Reply",replyTo:"Reply to {'@'}{name}...",replySuccess:"Reply posted successfully",replyError:"Failed to reply, please try again",expandReplies:"Expand {count} replies",collapseReplies:"Collapse replies",deleteConfirm:"Are you sure you want to delete this comment? This action cannot be undone.",deleteTitle:"Confirm Delete",deleteSuccess:"Deleted successfully",deleteError:"Failed to delete, please try again",viewAllReplies:"View all {count} replies",time:{justNow:"just now",minutesAgo:"{n} minutes ago",hoursAgo:"{n} hours ago",daysAgo:"{n} days ago"}},Dz={common:_z,comp:vz,team:wz,user:Ez,file:Sz,message:Cz,route:kz,markdown:Tz,terminal:xz,deps:Oz,setting:Az,upgrade:Rz,tag:Pz,formCreate:Lz,validateHash:Iz,project:Mz,comment:Nz},Fz={zh:bz,en:Dz},$z=localStorage.getItem(i$.LOCALE_KEY)||"zh",jz=nU({locale:$z,messages:Fz,legacy:!1});function Uz(e){e.use(jz)}let BS;const Mu=e=>BS=e,WS=Symbol();function Bp(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ka;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ka||(ka={}));function zz(){const e=Sh(!0),t=e.run(()=>Re({}));let n=[],r=[];const o=Oh({install(s){Mu(o),o._a=s,s.provide(WS,o),s.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const HS=()=>{};function I_(e,t,n,r=HS){e.add(t);const o=()=>{e.delete(t)&&r()};return!n&&Va()&&Ch(o),o}function ns(e,...t){e.forEach(n=>{n(...t)})}const Bz=e=>e(),M_=Symbol(),Pd=Symbol();function Wp(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],o=e[n];Bp(o)&&Bp(r)&&e.hasOwnProperty(n)&&!Rt(r)&&!To(r)?e[n]=Wp(o,r):e[n]=r}return e}const Wz=Symbol();function Hz(e){return!Bp(e)||!Object.prototype.hasOwnProperty.call(e,Wz)}const{assign:qo}=Object;function Vz(e){return!!(Rt(e)&&e.effect)}function Gz(e,t,n,r){const{state:o,actions:s,getters:a}=t,c=n.state.value[e];let u;function f(){c||(n.state.value[e]=o?o():{});const p=JI(n.state.value[e]);return qo(p,s,Object.keys(a||{}).reduce((h,g)=>(h[g]=Oh(ce(()=>{Mu(n);const y=n._s.get(e);return a[g].call(y,y)})),h),{}))}return u=VS(e,f,t,n,r,!0),u}function VS(e,t,n={},r,o,s){let a;const c=qo({actions:{}},n),u={deep:!0};let f,p,h=new Set,g=new Set,y;const w=r.state.value[e];!s&&!w&&(r.state.value[e]={});let _;function O(x){let N;f=p=!1,typeof x=="function"?(x(r.state.value[e]),N={type:ka.patchFunction,storeId:e,events:y}):(Wp(r.state.value[e],x),N={type:ka.patchObject,payload:x,storeId:e,events:y});const G=_=Symbol();Ur().then(()=>{_===G&&(f=!0)}),p=!0,ns(h,N,r.state.value[e])}const S=s?function(){const{state:N}=n,G=N?N():{};this.$patch(K=>{qo(K,G)})}:HS;function v(){a.stop(),h.clear(),g.clear(),r._s.delete(e)}const T=(x,N="")=>{if(M_ in x)return x[Pd]=N,x;const G=function(){Mu(r);const K=Array.from(arguments),ae=new Set,ue=new Set;function B(he){ae.add(he)}function ne(he){ue.add(he)}ns(g,{args:K,name:G[Pd],store:R,after:B,onError:ne});let re;try{re=x.apply(this&&this.$id===e?this:R,K)}catch(he){throw ns(ue,he),he}return re instanceof Promise?re.then(he=>(ns(ae,he),he)).catch(he=>(ns(ue,he),Promise.reject(he))):(ns(ae,re),re)};return G[M_]=!0,G[Pd]=N,G},E={_p:r,$id:e,$onAction:I_.bind(null,g),$patch:O,$reset:S,$subscribe(x,N={}){const G=I_(h,x,N.detached,()=>K()),K=a.run(()=>gt(()=>r.state.value[e],ae=>{(N.flush==="sync"?p:f)&&x({storeId:e,type:ka.direct,events:y},ae)},qo({},u,N)));return G},$dispose:v},R=Ga(E);r._s.set(e,R);const L=(r._a&&r._a.runWithContext||Bz)(()=>r._e.run(()=>(a=Sh()).run(()=>t({action:T}))));for(const x in L){const N=L[x];if(Rt(N)&&!Vz(N)||To(N))s||(w&&Hz(N)&&(Rt(N)?N.value=w[x]:Wp(N,w[x])),r.state.value[e][x]=N);else if(typeof N=="function"){const G=T(N,x);L[x]=G,c.actions[x]=N}}return qo(R,L),qo(nt(R),L),Object.defineProperty(R,"$state",{get:()=>r.state.value[e],set:x=>{O(N=>{qo(N,x)})}}),r._p.forEach(x=>{qo(R,a.run(()=>x({store:R,app:r._a,pinia:r,options:c})))}),w&&s&&n.hydrate&&n.hydrate(R.$state,w),f=!0,p=!0,R}function GS(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(a,c){const u=qa();return a=a||(u?En(WS,null):null),a&&Mu(a),a=BS,a._s.has(e)||(o?VS(e,t,r,a):Gz(e,r,a)),a._s.get(e)}return s.$id=e,s}function Kz({store:e}){e.$subscribe((...t)=>{const[n]=t;if(n.type==="direct")throw new Error("不允许直接修改store,建议使用action修改")})}const N_=zz();function qz(e){N_.use(Kz),e.use(N_)}const KS=/^[a-z0-9]+(-[a-z0-9]+)*$/,Nu=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const c=o.pop(),u=o.pop(),f={provider:o.length>0?o[0]:r,prefix:u,name:c};return t&&!Sc(f)?null:f}const s=o[0],a=s.split("-");if(a.length>1){const c={provider:r,prefix:a.shift(),name:a.join("-")};return t&&!Sc(c)?null:c}if(n&&r===""){const c={provider:r,prefix:"",name:s};return t&&!Sc(c,n)?null:c}return null},Sc=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1;function Yz(e,t){const n=e.icons,r=e.aliases||Object.create(null),o=Object.create(null);function s(a){if(n[a])return o[a]=[];if(!(a in o)){o[a]=null;const c=r[a]&&r[a].parent,u=c&&s(c);u&&(o[a]=[c].concat(u))}return o[a]}return Object.keys(n).concat(Object.keys(r)).forEach(s),o}const qS=Object.freeze({left:0,top:0,width:16,height:16}),Yc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Du=Object.freeze({...qS,...Yc}),Hp=Object.freeze({...Du,body:"",hidden:!1});function Xz(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function D_(e,t){const n=Xz(e,t);for(const r in Hp)r in Yc?r in e&&!(r in n)&&(n[r]=Yc[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Jz(e,t,n){const r=e.icons,o=e.aliases||Object.create(null);let s={};function a(c){s=D_(r[c]||o[c],s)}return a(t),n.forEach(a),D_(e,s)}function YS(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Yz(e);for(const o in r){const s=r[o];s&&(t(o,Jz(e,o,s)),n.push(o))}return n}const Qz={provider:"",aliases:{},not_found:{},...qS};function Ld(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function XS(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ld(e,Qz))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o||typeof s.body!="string"||!Ld(s,Hp))return null}const r=t.aliases||Object.create(null);for(const o in r){const s=r[o],a=s.parent;if(!o||typeof a!="string"||!n[a]&&!r[a]||!Ld(s,Hp))return null}return t}const F_=Object.create(null);function Zz(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function As(e,t){const n=F_[e]||(F_[e]=Object.create(null));return n[t]||(n[t]=Zz(e,t))}function JS(e,t){return XS(t)?YS(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function eB(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ua=!1;function QS(e){return typeof e=="boolean"&&(Ua=e),Ua}function tB(e){const t=typeof e=="string"?Nu(e,!0,Ua):e;if(t){const n=As(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function nB(e,t){const n=Nu(e,!0,Ua);if(!n)return!1;const r=As(n.provider,n.prefix);return t?eB(r,n.name,t):(r.missing.add(n.name),!0)}function rB(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ua&&!t&&!e.prefix){let r=!1;return XS(e)&&(e.prefix="",YS(e,(o,s)=>{nB(o,s)&&(r=!0)})),r}const n=e.prefix;return Sc({prefix:n,name:"a"})?!!JS(As(t,n),e):!1}const ZS=Object.freeze({width:null,height:null}),eC=Object.freeze({...ZS,...Yc}),oB=/(-?[0-9.]*[0-9]+[0-9.]*)/g,iB=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function $_(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(oB);if(r===null||!r.length)return e;const o=[];let s=r.shift(),a=iB.test(s);for(;;){if(a){const c=parseFloat(s);isNaN(c)?o.push(s):o.push(Math.ceil(c*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");a=!a}}function sB(e,t="defs"){let n="";const r=e.indexOf("<"+t);for(;r>=0;){const o=e.indexOf(">",r),s=e.indexOf("</"+t);if(o===-1||s===-1)break;const a=e.indexOf(">",s);if(a===-1)break;n+=e.slice(o+1,s).trim(),e=e.slice(0,r).trim()+e.slice(a+1)}return{defs:n,content:e}}function aB(e,t){return e?"<defs>"+e+"</defs>"+t:t}function lB(e,t,n){const r=sB(e);return aB(r.defs,t+r.content+n)}const cB=e=>e==="unset"||e==="undefined"||e==="none";function uB(e,t){const n={...Du,...e},r={...eC,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(_=>{const O=[],S=_.hFlip,v=_.vFlip;let T=_.rotate;S?v?T+=2:(O.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),O.push("scale(-1 1)"),o.top=o.left=0):v&&(O.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),O.push("scale(1 -1)"),o.top=o.left=0);let E;switch(T<0&&(T-=Math.floor(T/4)*4),T=T%4,T){case 1:E=o.height/2+o.top,O.unshift("rotate(90 "+E.toString()+" "+E.toString()+")");break;case 2:O.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:E=o.width/2+o.left,O.unshift("rotate(-90 "+E.toString()+" "+E.toString()+")");break}T%2===1&&(o.left!==o.top&&(E=o.left,o.left=o.top,o.top=E),o.width!==o.height&&(E=o.width,o.width=o.height,o.height=E)),O.length&&(s=lB(s,'<g transform="'+O.join(" ")+'">',"</g>"))});const a=r.width,c=r.height,u=o.width,f=o.height;let p,h;a===null?(h=c===null?"1em":c==="auto"?f:c,p=$_(h,u/f)):(p=a==="auto"?u:a,h=c===null?$_(p,f/u):c==="auto"?f:c);const g={},y=(_,O)=>{cB(O)||(g[_]=O.toString())};y("width",p),y("height",h);const w=[o.left,o.top,u,f];return g.viewBox=w.join(" "),{attributes:g,viewBox:w,body:s}}const fB=/\sid="(\S+)"/g,j_=new Map;function dB(e){e=e.replace(/[0-9]+$/,"")||"a";const t=j_.get(e)||0;return j_.set(e,t+1),t?`${e}${t}`:e}function pB(e){const t=[];let n;for(;n=fB.exec(e);)t.push(n[1]);if(!t.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(o=>{const s=dB(o),a=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const Vp=Object.create(null);function hB(e,t){Vp[e]=t}function Gp(e){return Vp[e]||Vp[""]}function Xh(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Jh=Object.create(null),sa=["https://api.simplesvg.com","https://api.unisvg.com"],Cc=[];for(;sa.length>0;)sa.length===1||Math.random()>.5?Cc.push(sa.shift()):Cc.push(sa.pop());Jh[""]=Xh({resources:["https://api.iconify.design"].concat(Cc)});function mB(e,t){const n=Xh(t);return n===null?!1:(Jh[e]=n,!0)}function Qh(e){return Jh[e]}const gB=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let U_=gB();function yB(e,t){const n=Qh(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;n.resources.forEach(a=>{o=Math.max(o,a.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function bB(e){return e===404}const _B=(e,t,n)=>{const r=[],o=yB(e,t),s="icons";let a={type:s,provider:e,prefix:t,icons:[]},c=0;return n.forEach((u,f)=>{c+=u.length+1,c>=o&&f>0&&(r.push(a),a={type:s,provider:e,prefix:t,icons:[]},c=u.length),a.icons.push(u)}),r.push(a),r};function vB(e){if(typeof e=="string"){const t=Qh(e);if(t)return t.path}return"/"}const wB=(e,t,n)=>{if(!U_){n("abort",424);return}let r=vB(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});r+=s+".json?"+c.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;U_(e+r).then(s=>{const a=s.status;if(a!==200){setTimeout(()=>{n(bB(a)?"abort":"next",a)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{s===404?n("abort",s):n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},EB={prepare:_B,send:wB};function tC(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function SB(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const a=s.icons,c=a.pending.length;a.pending=a.pending.filter(u=>{if(u.prefix!==o)return!0;const f=u.name;if(e.icons[f])a.loaded.push({provider:r,prefix:o,name:f});else if(e.missing.has(f))a.missing.push({provider:r,prefix:o,name:f});else return n=!0,!0;return!1}),a.pending.length!==c&&(n||tC([e],s.id),s.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),s.abort))})}))}let CB=0;function kB(e,t,n){const r=CB++,o=tC.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(s)}),o}function TB(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,a=o.prefix,c=o.name,u=n[s]||(n[s]=Object.create(null)),f=u[a]||(u[a]=As(s,a));let p;c in f.icons?p=t.loaded:a===""||f.missing.has(c)?p=t.missing:p=t.pending;const h={provider:s,prefix:a,name:c};p.push(h)}),t}function xB(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Nu(o,t,n):o;s&&r.push(s)}),r}const OB={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function AB(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let a;if(e.random){let A=e.resources.slice(0);for(a=[];A.length>1;){const L=Math.floor(Math.random()*A.length);a.push(A[L]),A=A.slice(0,L).concat(A.slice(L+1))}a=a.concat(A)}else a=e.resources.slice(s).concat(e.resources.slice(0,s));const c=Date.now();let u="pending",f=0,p,h=null,g=[],y=[];typeof r=="function"&&y.push(r);function w(){h&&(clearTimeout(h),h=null)}function _(){u==="pending"&&(u="aborted"),w(),g.forEach(A=>{A.status==="pending"&&(A.status="aborted")}),g=[]}function O(A,L){L&&(y=[]),typeof A=="function"&&y.push(A)}function S(){return{startTime:c,payload:t,status:u,queriesSent:f,queriesPending:g.length,subscribe:O,abort:_}}function v(){u="failed",y.forEach(A=>{A(void 0,p)})}function T(){g.forEach(A=>{A.status==="pending"&&(A.status="aborted")}),g=[]}function E(A,L,x){const N=L!=="success";switch(g=g.filter(G=>G!==A),u){case"pending":break;case"failed":if(N||!e.dataAfterTimeout)return;break;default:return}if(L==="abort"){p=x,v();return}if(N){p=x,g.length||(a.length?R():v());return}if(w(),T(),!e.random){const G=e.resources.indexOf(A.resource);G!==-1&&G!==e.index&&(e.index=G)}u="completed",y.forEach(G=>{G(x)})}function R(){if(u!=="pending")return;w();const A=a.shift();if(A===void 0){if(g.length){h=setTimeout(()=>{w(),u==="pending"&&(T(),v())},e.timeout);return}v();return}const L={status:"pending",resource:A,callback:(x,N)=>{E(L,x,N)}};g.push(L),f++,h=setTimeout(R,e.rotate),n(A,t,L.callback)}return setTimeout(R),S}function nC(e){const t={...OB,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,c,u){const f=AB(t,a,c,(p,h)=>{r(),u&&u(p,h)});return n.push(f),f}function s(a){return n.find(c=>a(c))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function z_(){}const Id=Object.create(null);function RB(e){if(!Id[e]){const t=Qh(e);if(!t)return;Id[e]={config:t,redundancy:nC(t)}}return Id[e]}function PB(e,t,n){let r,o;if(typeof e=="string"){const s=Gp(e);if(!s)return n(void 0,424),z_;o=s.send;const a=RB(e);a&&(r=a.redundancy)}else{const s=Xh(e);if(s){r=nC(s);const a=Gp(e.resources?e.resources[0]:"");a&&(o=a.send)}}return!r||!o?(n(void 0,424),z_):r.query(t,o,n)().abort}function B_(){}function LB(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,SB(e)}))}function IB(e){const t=[],n=[];return e.forEach(r=>{(r.match(KS)?t:n).push(r)}),{valid:t,invalid:n}}function aa(e,t,n){function r(){const o=e.pendingIcons;t.forEach(s=>{o&&o.delete(s),e.icons[s]||e.missing.add(s)})}if(n&&typeof n=="object")try{if(!JS(e,n).length){r();return}}catch(o){console.error(o)}r(),LB(e)}function W_(e,t){e instanceof Promise?e.then(n=>{t(n)}).catch(()=>{t(null)}):t(e)}function MB(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const s=e.loadIcon;if(e.loadIcons&&(o.length>1||!s)){W_(e.loadIcons(o,r,n),f=>{aa(e,o,f)});return}if(s){o.forEach(f=>{W_(s(f,r,n),p=>{aa(e,[f],p?{prefix:r,icons:{[f]:p}}:null)})});return}const{valid:a,invalid:c}=IB(o);if(c.length&&aa(e,c,null),!a.length)return;const u=r.match(KS)?Gp(n):null;if(!u){aa(e,a,null);return}u.prepare(n,r,a).forEach(f=>{PB(n,f,p=>{aa(e,f.icons,p)})})}))}const NB=(e,t)=>{const n=TB(xB(e,!0,QS()));if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,B_)}),()=>{c=!1}}const r=Object.create(null),o=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:f}=c;if(f===a&&u===s)return;s=u,a=f,o.push(As(u,f));const p=r[u]||(r[u]=Object.create(null));p[f]||(p[f]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:f,name:p}=c,h=As(u,f),g=h.pendingIcons||(h.pendingIcons=new Set);g.has(p)||(g.add(p),r[u][f].push(p))}),o.forEach(c=>{const u=r[c.provider][c.prefix];u.length&&MB(c,u)}),t?kB(t,n,o):B_};function DB(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in ZS?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const FB=/[\s,]+/;function $B(e,t){t.split(FB).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function jB(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function UB(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function zB(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function BB(e){return"data:image/svg+xml,"+zB(e)}function WB(e){return'url("'+BB(e)+'")'}const H_={...eC,inline:!1},HB={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},VB={display:"inline-block"},Kp={backgroundColor:"currentColor"},rC={backgroundColor:"transparent"},V_={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},G_={webkitMask:Kp,mask:Kp,background:rC};for(const e in G_){const t=G_[e];for(const n in V_)t[e+n]=V_[n]}const kc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";kc[e+"-flip"]=t,kc[e.slice(0,1)+"-flip"]=t,kc[e+"Flip"]=t});function K_(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const q_=(e,t)=>{const n=DB(H_,t),r={...HB},o=t.mode||"svg",s={},a=t.style,c=typeof a=="object"&&!(a instanceof Array)?a:{};for(let _ in t){const O=t[_];if(O!==void 0)switch(_){case"icon":case"style":case"onLoad":case"mode":case"ssr":case"customise":break;case"inline":case"hFlip":case"vFlip":n[_]=O===!0||O==="true"||O===1;break;case"flip":typeof O=="string"&&$B(n,O);break;case"color":s.color=O;break;case"rotate":typeof O=="string"?n[_]=jB(O):typeof O=="number"&&(n[_]=O);break;case"ariaHidden":case"aria-hidden":O!==!0&&O!=="true"&&delete r["aria-hidden"];break;default:{const S=kc[_];S?(O===!0||O==="true"||O===1)&&(n[S]=!0):H_[_]===void 0&&(r[_]=O)}}}const u=uB(e,n),f=u.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg")return r.style={...s,...c},Object.assign(r,f),r.innerHTML=pB(u.body),ri("svg",r);const{body:p,width:h,height:g}=e,y=o==="mask"||(o==="bg"?!1:p.indexOf("currentColor")!==-1),w=UB(p,{...f,width:h+"",height:g+""});return r.style={...s,"--svg":WB(w),width:K_(f.width),height:K_(f.height),...VB,...y?Kp:rC,...c},ri("span",r)};QS(!0);hB("",EB);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!rB(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invalid.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;mB(n,o)||console.error(r)}catch{console.error(r)}}}}const GB={...Du,body:""},KB=It((e,{emit:t})=>{const n=Re(null);function r(){n.value&&(n.value.abort?.(),n.value=null)}const o=Re(!!e.ssr),s=Re(""),a=In(null);function c(){const f=e.icon;if(typeof f=="object"&&f!==null&&typeof f.body=="string")return s.value="",{data:f};let p;if(typeof f!="string"||(p=Nu(f,!1,!0))===null)return null;let h=tB(p);if(!h){const w=n.value;return(!w||w.name!==f)&&(h===null?n.value={name:f}:n.value={name:f,abort:NB([p],u)}),null}r(),s.value!==f&&(s.value=f,Ur(()=>{t("load",f)}));const g=e.customise;if(g){h=Object.assign({},h);const w=g(h.body,p.name,p.prefix,p.provider);typeof w=="string"&&(h.body=w)}const y=["iconify"];return p.prefix!==""&&y.push("iconify--"+p.prefix),p.provider!==""&&y.push("iconify--"+p.provider),{data:h,classes:y}}function u(){const f=c();f?f.data!==a.value?.data&&(a.value=f):a.value=null}return o.value?u():Er(()=>{o.value=!0,u()}),gt(()=>e.icon,u),Ds(r),()=>{const f=a.value;if(!f)return q_(GB,e);let p=e;return f.classes&&(p={...e,class:f.classes.join(" ")}),q_({...Du,...f.data},p)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});function qB(e){e.component("Icon",KB)}const Fu="v-loading-mask",oC="v-loading-spinner",iC="v-loading-parent";function YB(){return document.documentElement.classList.contains("dark")?"rgba(0, 0, 0, 0.6)":"rgba(255, 255, 255, 0.7)"}function XB(){const e=document.createElement("div");e.className=Fu,e.innerHTML=`<div class="${oC}"></div>`;const t=e.style;return t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%",t.display="flex",t.alignItems="center",t.justifyContent="center",t.backgroundColor=YB(),t.zIndex="999",t.borderRadius="inherit",e}function JB(){if(document.getElementById("v-loading-spinner-style"))return;const e=document.createElement("style");e.id="v-loading-spinner-style",e.textContent=`
|
|
12
12
|
.${oC} {
|
|
13
13
|
width: 40px;
|
|
14
14
|
height: 40px;
|
|
@@ -22,41 +22,41 @@
|
|
|
22
22
|
0% { transform: rotate(0deg); }
|
|
23
23
|
100% { transform: rotate(360deg); }
|
|
24
24
|
}
|
|
25
|
-
`,document.head.appendChild(e)}const QB=200,rc=new WeakMap;function ZB(e){if(e.querySelector(`.${Fu}`))return;e.classList.add(iC),getComputedStyle(e).position==="static"&&(e.style.position="relative"),JB(),e.appendChild(XB())}function eW(e){const t=e.querySelector(`.${Fu}`);t&&t.remove(),e.classList.remove(iC)}function X_(e,t){const n=rc.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${Fu}`)){const o=setTimeout(()=>{rc.delete(e),ZB(e)},QB);rc.set(e,o)}}else n&&(clearTimeout(n),rc.delete(e)),eW(e)}const tW={mounted(e,t){X_(e,t)},updated(e,t){t.value!==t.oldValue&&X_(e,t)}};function nW(e){qz(e),Uz(e),qB(e),e.directive("loading",tW)}function sC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function rW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sC(e.default)}const ut=Object.assign;function Md(e,t){const n={};for(const r in t){const o=t[r];n[r]=jr(o)?o.map(e):e(o)}return n}const Ta=()=>{},jr=Array.isArray;function J_(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const aC=Symbol("");function Rs(e,t){return ut(new Error,{type:e,[aC]:!0},t)}function bo(e,t){return e instanceof Error&&aC in e&&(t==null||!!(e.type&t))}const oW=Symbol(""),Q_=Symbol(""),em=Symbol(""),lC=Symbol(""),Yp=Symbol("");const ps=typeof document<"u",cC=/#/g,iW=/&/g,sW=/\//g,aW=/=/g,lW=/\?/g,uC=/\+/g,cW=/%5B/g,uW=/%5D/g,fC=/%5E/g,fW=/%60/g,dC=/%7B/g,dW=/%7C/g,pC=/%7D/g,pW=/%20/g;function tm(e){return e==null?"":encodeURI(""+e).replace(dW,"|").replace(cW,"[").replace(uW,"]")}function hW(e){return tm(e).replace(dC,"{").replace(pC,"}").replace(fC,"^")}function Xp(e){return tm(e).replace(uC,"%2B").replace(pW,"+").replace(cC,"%23").replace(iW,"%26").replace(fW,"`").replace(dC,"{").replace(pC,"}").replace(fC,"^")}function mW(e){return Xp(e).replace(aW,"%3D")}function gW(e){return tm(e).replace(cC,"%23").replace(lW,"%3F")}function yW(e){return gW(e).replace(sW,"%2F")}function Xc(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bW=/\/$/,_W=e=>e.replace(bW,"");function Nd(e,t,n="/"){let r,o={},s="",a="";const c=t.indexOf("#");let u=t.indexOf("?");return u=c>=0&&u>c?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,c>0?c:t.length),o=e(s.slice(1))),c>=0&&(r=r||t.slice(0,c),a=t.slice(c,t.length)),r=SW(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:Xc(a)}}function vW(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Z_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wW(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ps(t.matched[r],n.matched[o])&&hC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!EW(e[n],t[n]))return!1;return!0}function EW(e,t){return jr(e)?ev(e,t):jr(t)?ev(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function ev(e,t){return jr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function SW(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,c;for(a=0;a<r.length;a++)if(c=r[a],c!==".")if(c==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const Ho={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function CW(e){if(!e)if(ps){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_W(e)}const kW=/^[^#]+#/;function TW(e,t){return e.replace(kW,"#")+t}function xW(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 $u=()=>({left:window.scrollX,top:window.scrollY});function OW(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=xW(o,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 tv(e,t){return(history.state?history.state.position-t:-1)+e}const Jp=new Map;function AW(e,t){Jp.set(e,t)}function RW(e){const t=Jp.get(e);return Jp.delete(e),t}function PW(e){return typeof e=="string"||e&&typeof e=="object"}function mC(e){return typeof e=="string"||typeof e=="symbol"}function IW(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(uC," "),s=o.indexOf("="),a=Xc(s<0?o:o.slice(0,s)),c=s<0?null:Xc(o.slice(s+1));if(a in t){let u=t[a];jr(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function nv(e){let t="";for(let n in e){const r=e[n];if(n=mW(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jr(r)?r.map(o=>o&&Xp(o)):[r&&Xp(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function LW(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function la(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Jo(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((c,u)=>{const f=g=>{g===!1?u(Rs(4,{from:n,to:t})):g instanceof Error?u(g):PW(g)?u(Rs(2,{from:t,to:g})):(a&&r.enterCallbacks[o]===a&&typeof g=="function"&&a.push(g),c())},p=s(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(p);e.length<3&&(h=h.then(f)),h.catch(g=>u(g))})}function Dd(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const c in a.components){let u=a.components[c];if(!(t!=="beforeRouteEnter"&&!a.instances[c]))if(sC(u)){const f=(u.__vccOpts||u)[t];f&&s.push(Jo(f,n,r,a,c,o))}else{let f=u();s.push(()=>f.then(p=>{if(!p)throw new Error(`Couldn't resolve component "${c}" at "${a.path}"`);const h=rW(p)?p.default:p;a.mods[c]=p,a.components[c]=h;const g=(h.__vccOpts||h)[t];return g&&Jo(g,n,r,a,c,o)()}))}}return s}function MW(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const c=t.matched[a];c&&(e.matched.find(f=>Ps(f,c))?r.push(c):n.push(c));const u=e.matched[a];u&&(t.matched.find(f=>Ps(f,u))||o.push(u))}return[n,r,o]}let NW=()=>location.protocol+"//"+location.host;function gC(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Z_(c,"")}return Z_(n,e)+r+o}function DW(e,t,n,r){let o=[],s=[],a=null;const c=({state:g})=>{const y=gC(e,location),v=n.value,_=t.value;let O=0;if(g){if(n.value=y,t.value=g,a&&a===v){a=null;return}O=_?g.position-_.position:0}else r(y);o.forEach(S=>{S(n.value,v,{delta:O,type:"pop",direction:O?O>0?"forward":"back":""})})};function u(){a=n.value}function f(g){o.push(g);const y=()=>{const v=o.indexOf(g);v>-1&&o.splice(v,1)};return s.push(y),y}function p(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(ut({},g.state,{scroll:$u()}),"")}}function h(){for(const g of s)g();s=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",p),document.removeEventListener("visibilitychange",p)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",p),document.addEventListener("visibilitychange",p),{pauseListeners:u,listen:f,destroy:h}}function rv(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?$u():null}}function FW(e){const{history:t,location:n}=window,r={value:gC(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,f,p){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:NW()+e+u;try{t[p?"replaceState":"pushState"](f,"",g),o.value=f}catch(y){console.error(y),n[p?"replace":"assign"](g)}}function a(u,f){s(u,ut({},t.state,rv(o.value.back,u,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=u}function c(u,f){const p=ut({},o.value,t.state,{forward:u,scroll:$u()});s(p.current,p,!0),s(u,ut({},rv(r.value,u,null),{position:p.position+1},f),!1),r.value=u}return{location:r,state:o,push:c,replace:a}}function $W(e){e=CW(e);const t=FW(e),n=DW(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:TW.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const jW={type:0,value:""},UW=/[a-zA-Z0-9_]/;function zW(e){if(!e)return[[]];if(e==="/")return[[jW]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${f}": ${y}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let c=0,u,f="",p="";function h(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:p,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=u}for(;c<e.length;)switch(u=e[c++],n){case 0:u==="\\"?(r=n,n=4):u==="/"?(f&&h(),a()):u===":"?(h(),n=1):g();break;case 4:g(),n=r;break;case 1:u==="("?n=2:UW.test(u)?g():(h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--);break;case 2:u===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+u:n=3:p+=u;break;case 3:h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--,p="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const ov="[^/]+?",BW={sensitive:!1,strict:!1,start:!0,end:!0},WW=/[.+*?^${}()[\]/\\]/g;function HW(e,t){const n=ut({},BW,t),r=[];let o=n.start?"^":"";const s=[];for(const f of e){const p=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const g=f[h];let y=40+(n.sensitive?.25:0);if(g.type===0)h||(o+="/"),o+=g.value.replace(WW,"\\$&"),y+=40;else if(g.type===1){const{value:v,repeatable:_,optional:O,regexp:S}=g;s.push({name:v,repeatable:_,optional:O});const w=S||ov;if(w!==ov){y+=10;try{new RegExp(`(${w})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${v}" (${w}): `+E.message)}}let A=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(A=O&&f.length<2?`(?:/${A})`:"/"+A),O&&(A+="?"),o+=A,y+=20,O&&(y+=-8),_&&(y+=-20),w===".*"&&(y+=-50)}p.push(y)}r.push(p)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function c(f){const p=f.match(a),h={};if(!p)return null;for(let g=1;g<p.length;g++){const y=p[g]||"",v=s[g-1];h[v.name]=y&&v.repeatable?y.split("/"):y}return h}function u(f){let p="",h=!1;for(const g of e){(!h||!p.endsWith("/"))&&(p+="/"),h=!1;for(const y of g)if(y.type===0)p+=y.value;else if(y.type===1){const{value:v,repeatable:_,optional:O}=y,S=v in f?f[v]:"";if(jr(S)&&!_)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const w=jr(S)?S.join("/"):S;if(!w)if(O)g.length<2&&(p.endsWith("/")?p=p.slice(0,-1):h=!0);else throw new Error(`Missing required param "${v}"`);p+=w}}return p||"/"}return{re:a,score:r,keys:s,parse:c,stringify:u}}function VW(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 yC(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=VW(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(iv(r))return 1;if(iv(o))return-1}return o.length-r.length}function iv(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GW={strict:!1,end:!0,sensitive:!1};function KW(e,t,n){const r=HW(zW(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function qW(e,t){const n=[],r=new Map;t=J_(GW,t);function o(h){return r.get(h)}function s(h,g,y){const v=!y,_=av(h);_.aliasOf=y&&y.record;const O=J_(t,h),S=[_];if("alias"in h){const E=typeof h.alias=="string"?[h.alias]:h.alias;for(const I of E)S.push(av(ut({},_,{components:y?y.record.components:_.components,path:I,aliasOf:y?y.record:_})))}let w,A;for(const E of S){const{path:I}=E;if(g&&I[0]!=="/"){const x=g.record.path,P=x[x.length-1]==="/"?"":"/";E.path=g.record.path+(I&&P+I)}if(w=KW(E,g,O),y?y.alias.push(w):(A=A||w,A!==w&&A.alias.push(w),v&&h.name&&!lv(w)&&a(h.name)),bC(w)&&u(w),_.children){const x=_.children;for(let P=0;P<x.length;P++)s(x[P],w,y&&y.children[P])}y=y||w}return A?()=>{a(A)}:Ta}function a(h){if(mC(h)){const g=r.get(h);g&&(r.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function c(){return n}function u(h){const g=JW(h,n);n.splice(g,0,h),h.record.name&&!lv(h)&&r.set(h.record.name,h)}function f(h,g){let y,v={},_,O;if("name"in h&&h.name){if(y=r.get(h.name),!y)throw Rs(1,{location:h});O=y.record.name,v=ut(sv(g.params,y.keys.filter(A=>!A.optional).concat(y.parent?y.parent.keys.filter(A=>A.optional):[]).map(A=>A.name)),h.params&&sv(h.params,y.keys.map(A=>A.name))),_=y.stringify(v)}else if(h.path!=null)_=h.path,y=n.find(A=>A.re.test(_)),y&&(v=y.parse(_),O=y.record.name,y.keys.forEach(A=>{A.optional&&!v[A.name]&&delete v[A.name]}));else{if(y=g.name?r.get(g.name):n.find(A=>A.re.test(g.path)),!y)throw Rs(1,{location:h,currentLocation:g});O=y.record.name,v=ut({},g.params,h.params),_=y.stringify(v)}const S=[];let w=y;for(;w;)S.unshift(w.record),w=w.parent;return{name:O,path:_,params:v,matched:S,meta:XW(S)}}e.forEach(h=>s(h));function p(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:a,clearRoutes:p,getRoutes:c,getRecordMatcher:o}}function sv(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function av(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:YW(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function YW(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 lv(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XW(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function JW(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;yC(e,t[s])<0?r=s:n=s+1}const o=QW(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function QW(e){let t=e;for(;t=t.parent;)if(bC(t)&&yC(e,t)===0)return t}function bC({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function cv(e){const t=En(em),n=En(lC),r=ue(()=>{const u=je(e.to);return t.resolve(u)}),o=ue(()=>{const{matched:u}=r.value,{length:f}=u,p=u[f-1],h=n.matched;if(!p||!h.length)return-1;const g=h.findIndex(Ps.bind(null,p));if(g>-1)return g;const y=uv(u[f-2]);return f>1&&uv(p)===y&&h[h.length-1].path!==y?h.findIndex(Ps.bind(null,u[f-2])):g}),s=ue(()=>o.value>-1&&nH(n.params,r.value.params)),a=ue(()=>o.value>-1&&o.value===n.matched.length-1&&hC(n.params,r.value.params));function c(u={}){if(tH(u)){const f=t[je(e.replace)?"replace":"push"](je(e.to)).catch(Ta);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:ue(()=>r.value.href),isActive:s,isExactActive:a,navigate:c}}function ZW(e){return e.length===1?e[0]:e}const eH=Lt({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"},viewTransition:Boolean},useLink:cv,setup(e,{slots:t}){const n=Ga(cv(e)),{options:r}=En(em),o=ue(()=>({[fv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ZW(t.default(n));return e.custom?s:ri("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function tH(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 nH(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!jr(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function uv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fv=(e,t,n)=>e??t??n,rH=Lt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=En(Yp),o=ue(()=>e.route||r.value),s=En(Q_,0),a=ue(()=>{let f=je(s);const{matched:p}=o.value;let h;for(;(h=p[f])&&!h.components;)f++;return f}),c=ue(()=>o.value.matched[a.value]);Ti(Q_,ue(()=>a.value+1)),Ti(oW,c),Ti(Yp,o);const u=Re();return gt(()=>[u.value,c.value,e.name],([f,p,h],[g,y,v])=>{p&&(p.instances[h]=f,y&&y!==p&&f&&f===g&&(p.leaveGuards.size||(p.leaveGuards=y.leaveGuards),p.updateGuards.size||(p.updateGuards=y.updateGuards))),f&&p&&(!y||!Ps(p,y)||!g)&&(p.enterCallbacks[h]||[]).forEach(_=>_(f))},{flush:"post"}),()=>{const f=o.value,p=e.name,h=c.value,g=h&&h.components[p];if(!g)return dv(n.default,{Component:g,route:f});const y=h.props[p],v=y?y===!0?f.params:typeof y=="function"?y(f):y:null,O=ri(g,ut({},v,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[p]=null)},ref:u}));return dv(n.default,{Component:O,route:f})||O}}});function dv(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oH=rH;function iH(e){const t=qW(e.routes,e),n=e.parseQuery||IW,r=e.stringifyQuery||nv,o=e.history,s=la(),a=la(),c=la(),u=Ln(Ho);let f=Ho;ps&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Md.bind(null,ee=>""+ee),h=Md.bind(null,yW),g=Md.bind(null,Xc);function y(ee,ge){let pe,we;return mC(ee)?(pe=t.getRecordMatcher(ee),we=ge):we=ee,t.addRoute(we,pe)}function v(ee){const ge=t.getRecordMatcher(ee);ge&&t.removeRoute(ge)}function _(){return t.getRoutes().map(ee=>ee.record)}function O(ee){return!!t.getRecordMatcher(ee)}function S(ee,ge){if(ge=ut({},ge||u.value),typeof ee=="string"){const V=Nd(n,ee,ge.path),J=t.resolve({path:V.path},ge),re=o.createHref(V.fullPath);return ut(V,J,{params:g(J.params),redirectedFrom:void 0,href:re})}let pe;if(ee.path!=null)pe=ut({},ee,{path:Nd(n,ee.path,ge.path).path});else{const V=ut({},ee.params);for(const J in V)V[J]==null&&delete V[J];pe=ut({},ee,{params:h(V)}),ge.params=h(ge.params)}const we=t.resolve(pe,ge),ze=ee.hash||"";we.params=p(g(we.params));const M=vW(r,ut({},ee,{hash:hW(ze),path:we.path})),F=o.createHref(M);return ut({fullPath:M,hash:ze,query:r===nv?LW(ee.query):ee.query||{}},we,{redirectedFrom:void 0,href:F})}function w(ee){return typeof ee=="string"?Nd(n,ee,u.value.path):ut({},ee)}function A(ee,ge){if(f!==ee)return Rs(8,{from:ge,to:ee})}function E(ee){return P(ee)}function I(ee){return E(ut(w(ee),{replace:!0}))}function x(ee,ge){const pe=ee.matched[ee.matched.length-1];if(pe&&pe.redirect){const{redirect:we}=pe;let ze=typeof we=="function"?we(ee,ge):we;return typeof ze=="string"&&(ze=ze.includes("?")||ze.includes("#")?ze=w(ze):{path:ze},ze.params={}),ut({query:ee.query,hash:ee.hash,params:ze.path!=null?{}:ee.params},ze)}}function P(ee,ge){const pe=f=S(ee),we=u.value,ze=ee.state,M=ee.force,F=ee.replace===!0,V=x(pe,we);if(V)return P(ut(w(V),{state:typeof V=="object"?ut({},ze,V.state):ze,force:M,replace:F}),ge||pe);const J=pe;J.redirectedFrom=ge;let re;return!M&&wW(r,we,pe)&&(re=Rs(16,{to:J,from:we}),tt(we,we,!0,!1)),(re?Promise.resolve(re):G(J,we)).catch(Q=>bo(Q)?bo(Q,2)?Q:rn(Q):Se(Q,J,we)).then(Q=>{if(Q){if(bo(Q,2))return P(ut({replace:F},w(Q.to),{state:typeof Q.to=="object"?ut({},ze,Q.to.state):ze,force:M}),ge||J)}else Q=ne(J,we,!0,F,ze);return K(J,we,Q),Q})}function T(ee,ge){const pe=A(ee,ge);return pe?Promise.reject(pe):Promise.resolve()}function N(ee){const ge=on.values().next().value;return ge&&typeof ge.runWithContext=="function"?ge.runWithContext(ee):ee()}function G(ee,ge){let pe;const[we,ze,M]=MW(ee,ge);pe=Dd(we.reverse(),"beforeRouteLeave",ee,ge);for(const V of we)V.leaveGuards.forEach(J=>{pe.push(Jo(J,ee,ge))});const F=T.bind(null,ee,ge);return pe.push(F),Mt(pe).then(()=>{pe=[];for(const V of s.list())pe.push(Jo(V,ee,ge));return pe.push(F),Mt(pe)}).then(()=>{pe=Dd(ze,"beforeRouteUpdate",ee,ge);for(const V of ze)V.updateGuards.forEach(J=>{pe.push(Jo(J,ee,ge))});return pe.push(F),Mt(pe)}).then(()=>{pe=[];for(const V of M)if(V.beforeEnter)if(jr(V.beforeEnter))for(const J of V.beforeEnter)pe.push(Jo(J,ee,ge));else pe.push(Jo(V.beforeEnter,ee,ge));return pe.push(F),Mt(pe)}).then(()=>(ee.matched.forEach(V=>V.enterCallbacks={}),pe=Dd(M,"beforeRouteEnter",ee,ge,N),pe.push(F),Mt(pe))).then(()=>{pe=[];for(const V of a.list())pe.push(Jo(V,ee,ge));return pe.push(F),Mt(pe)}).catch(V=>bo(V,8)?V:Promise.reject(V))}function K(ee,ge,pe){c.list().forEach(we=>N(()=>we(ee,ge,pe)))}function ne(ee,ge,pe,we,ze){const M=A(ee,ge);if(M)return M;const F=ge===Ho,V=ps?history.state:{};pe&&(we||F?o.replace(ee.fullPath,ut({scroll:F&&V&&V.scroll},ze)):o.push(ee.fullPath,ze)),u.value=ee,tt(ee,ge,pe,F),rn()}let le;function z(){le||(le=o.listen((ee,ge,pe)=>{if(!kn.listening)return;const we=S(ee),ze=x(we,kn.currentRoute.value);if(ze){P(ut(ze,{replace:!0,force:!0}),we).catch(Ta);return}f=we;const M=u.value;ps&&AW(tv(M.fullPath,pe.delta),$u()),G(we,M).catch(F=>bo(F,12)?F:bo(F,2)?(P(ut(w(F.to),{force:!0}),we).then(V=>{bo(V,20)&&!pe.delta&&pe.type==="pop"&&o.go(-1,!1)}).catch(Ta),Promise.reject()):(pe.delta&&o.go(-pe.delta,!1),Se(F,we,M))).then(F=>{F=F||ne(we,M,!1),F&&(pe.delta&&!bo(F,8)?o.go(-pe.delta,!1):pe.type==="pop"&&bo(F,20)&&o.go(-1,!1)),K(we,M,F)}).catch(Ta)}))}let te=la(),oe=la(),he;function Se(ee,ge,pe){rn(ee);const we=oe.list();return we.length?we.forEach(ze=>ze(ee,ge,pe)):console.error(ee),Promise.reject(ee)}function Ve(){return he&&u.value!==Ho?Promise.resolve():new Promise((ee,ge)=>{te.add([ee,ge])})}function rn(ee){return he||(he=!ee,z(),te.list().forEach(([ge,pe])=>ee?pe(ee):ge()),te.reset()),ee}function tt(ee,ge,pe,we){const{scrollBehavior:ze}=e;if(!ps||!ze)return Promise.resolve();const M=!pe&&RW(tv(ee.fullPath,0))||(we||!pe)&&history.state&&history.state.scroll||null;return Ur().then(()=>ze(ee,ge,M)).then(F=>ee===u.value&&F&&OW(F)).catch(F=>ee===u.value&&Se(F,ee,ge))}const Ge=ee=>o.go(ee);let dn;const on=new Set,kn={currentRoute:u,listening:!0,addRoute:y,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:O,getRoutes:_,resolve:S,options:e,push:E,replace:I,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:s.add,beforeResolve:a.add,afterEach:c.add,onError:oe.add,isReady:Ve,install(ee){ee.component("RouterLink",eH),ee.component("RouterView",oH),ee.config.globalProperties.$router=kn,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>je(u)}),ps&&!dn&&u.value===Ho&&(dn=!0,E(o.location).catch(we=>{}));const ge={};for(const we in Ho)Object.defineProperty(ge,we,{get:()=>u.value[we],enumerable:!0});ee.provide(em,kn),ee.provide(lC,bE(ge)),ee.provide(Yp,u);const pe=ee.unmount;on.add(ee),ee.unmount=function(){on.delete(ee),on.size<1&&(f=Ho,le&&le(),le=null,u.value=Ho,dn=!1,he=!1),pe()}}};function Mt(ee){return ee.reduce((ge,pe)=>ge.then(()=>N(pe)),Promise.resolve())}return kn}function sH(e){return Va()?(kh(e),!0):!1}const Fd=new WeakMap,aH=(...e)=>{var t;const n=e[0],r=(t=ar())==null?void 0:t.proxy;if(r==null&&!qa())throw new Error("injectLocal must be called in setup");return r&&Fd.has(r)&&n in Fd.get(r)?Fd.get(r)[n]:En(...e)},lH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const cH=Object.prototype.toString,uH=e=>cH.call(e)==="[object Object]",fH=()=>{};function _C(...e){if(e.length!==1)return EE(...e);const t=e[0];return typeof t=="function"?Ss(wE(()=>({get:t,set:fH}))):Re(t)}function dH(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const vC=e=>e();function pH(e=vC,t={}){const{initialState:n="active"}=t,r=_C(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:Ss(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function pv(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function $d(e){return Array.isArray(e)?e:[e]}function hH(e){return ar()}function mH(e,t,n={}){const{eventFilter:r=vC,...o}=n;return gt(e,dH(r,t),o)}function gH(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=pH(r,{initialState:o});return{stop:mH(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function wC(e,t=!0,n){hH()?Er(e,n):t?e():Ur(e)}function yH(e,t,n){return gt(e,t,{...n,immediate:!0})}const za=lH?window:void 0;function EC(e){var t;const n=en(e);return(t=n?.$el)!=null?t:n}function Qp(...e){const t=[],n=()=>{t.forEach(c=>c()),t.length=0},r=(c,u,f,p)=>(c.addEventListener(u,f,p),()=>c.removeEventListener(u,f,p)),o=ue(()=>{const c=$d(en(e[0])).filter(u=>u!=null);return c.every(u=>typeof u!="string")?c:void 0}),s=yH(()=>{var c,u;return[(u=(c=o.value)==null?void 0:c.map(f=>EC(f)))!=null?u:[za].filter(f=>f!=null),$d(en(o.value?e[1]:e[0])),$d(je(o.value?e[2]:e[1])),en(o.value?e[3]:e[2])]},([c,u,f,p])=>{if(n(),!c?.length||!u?.length||!f?.length)return;const h=uH(p)?{...p}:p;t.push(...c.flatMap(g=>u.flatMap(y=>f.map(v=>r(g,y,v,h)))))},{flush:"post"}),a=()=>{s(),n()};return sH(n),a}function bH(){const e=Ln(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function _H(e){const t=bH();return ue(()=>(t.value,!!e()))}const vH=Symbol("vueuse-ssr-width");function wH(){const e=qa()?aH(vH,null):null;return typeof e=="number"?e:void 0}function EH(e,t={}){const{window:n=za,ssrWidth:r=wH()}=t,o=_H(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=Ln(typeof r=="number"),a=Ln(),c=Ln(!1),u=f=>{c.value=f.matches};return AE(()=>{if(s.value){s.value=!o.value;const f=en(e).split(",");c.value=f.some(p=>{const h=p.includes("not all"),g=p.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=p.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(g||y);return g&&v&&(v=r>=pv(g[1])),y&&v&&(v=r<=pv(y[1])),h?!v:v});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),Qp(a,"change",u,{passive:!0}),ue(()=>c.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ic="__vueuse_ssr_handlers__",SH=CH();function CH(){return ic in oc||(oc[ic]=oc[ic]||{}),oc[ic]}function SC(e,t){return SH[e]||t}function kH(e){return EH("(prefers-color-scheme: dark)",e)}function TH(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const xH={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},hv="vueuse-storage";function OH(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=za,eventFilter:g,onError:y=z=>{console.error(z)},initOnMounted:v}=r,_=(p?Ln:Re)(typeof t=="function"?t():t),O=ue(()=>en(e));if(!n)try{n=SC("getDefaultStorage",()=>{var z;return(z=za)==null?void 0:z.localStorage})()}catch(z){y(z)}if(!n)return _;const S=en(t),w=TH(S),A=(o=r.serializer)!=null?o:xH[w],{pause:E,resume:I}=gH(_,z=>G(z),{flush:s,deep:a,eventFilter:g});gt(O,()=>ne(),{flush:s});let x=!1;const P=z=>{v&&!x||ne(z)},T=z=>{v&&!x||le(z)};h&&c&&(n instanceof Storage?Qp(h,"storage",P,{passive:!0}):Qp(h,hv,T)),v?wC(()=>{x=!0,ne()}):ne();function N(z,te){if(h){const oe={key:O.value,oldValue:z,newValue:te,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(hv,{detail:oe}))}}function G(z){try{const te=n.getItem(O.value);if(z==null)N(te,null),n.removeItem(O.value);else{const oe=A.write(z);te!==oe&&(n.setItem(O.value,oe),N(te,oe))}}catch(te){y(te)}}function K(z){const te=z?z.newValue:n.getItem(O.value);if(te==null)return u&&S!=null&&n.setItem(O.value,A.write(S)),S;if(!z&&f){const oe=A.read(te);return typeof f=="function"?f(oe,S):w==="object"&&!Array.isArray(oe)?{...S,...oe}:oe}else return typeof te!="string"?te:A.read(te)}function ne(z){if(!(z&&z.storageArea!==n)){if(z&&z.key==null){_.value=S;return}if(!(z&&z.key!==O.value)){E();try{const te=A.write(_.value);(z===void 0||z?.newValue!==te)&&(_.value=K(z))}catch(te){y(te)}finally{z?Ur(I):I()}}}}function le(z){ne(z.detail)}return _}const AH="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function RH(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=za,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=kH({window:o}),y=ue(()=>g.value?"dark":"light"),v=u||(a==null?_C(r):OH(a,r,s,{window:o,listenToStorageChanges:c})),_=ue(()=>v.value==="auto"?y.value:v.value),O=SC("updateHTMLAttrs",(E,I,x)=>{const P=typeof E=="string"?o?.document.querySelector(E):EC(E);if(!P)return;const T=new Set,N=new Set;let G=null;if(I==="class"){const ne=x.split(/\s/g);Object.values(h).flatMap(le=>(le||"").split(/\s/g)).filter(Boolean).forEach(le=>{ne.includes(le)?T.add(le):N.add(le)})}else G={key:I,value:x};if(T.size===0&&N.size===0&&G===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(AH)),o.document.head.appendChild(K));for(const ne of T)P.classList.add(ne);for(const ne of N)P.classList.remove(ne);G&&P.setAttribute(G.key,G.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function S(E){var I;O(t,n,(I=h[E])!=null?I:E)}function w(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,w,{flush:"post",immediate:!0}),wC(()=>w(_.value));const A=ue({get(){return f?v.value:_.value},set(E){v.value=E}});return Object.assign(A,{store:v,system:y,state:_})}function CC(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=RH({...e,onChanged:(a,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:n}}),o=ue(()=>r.system.value);return ue({get(){return r.value==="dark"},set(a){const c=a?"dark":"light";o.value===c?r.value="auto":r.value=c}})}var sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tc={exports:{}},PH=Tc.exports,mv;function IH(){return mv||(mv=1,(function(e,t){(function(){var n,r="4.18.1",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",g=1,y=2,v=4,_=1,O=2,S=1,w=2,A=4,E=8,I=16,x=32,P=64,T=128,N=256,G=512,K=30,ne="...",le=800,z=16,te=1,oe=2,he=3,Se=1/0,Ve=9007199254740991,rn=17976931348623157e292,tt=NaN,Ge=4294967295,dn=Ge-1,on=Ge>>>1,kn=[["ary",T],["bind",S],["bindKey",w],["curry",E],["curryRight",I],["flip",G],["partial",x],["partialRight",P],["rearg",N]],Mt="[object Arguments]",ee="[object Array]",ge="[object AsyncFunction]",pe="[object Boolean]",we="[object Date]",ze="[object DOMException]",M="[object Error]",F="[object Function]",V="[object GeneratorFunction]",J="[object Map]",re="[object Number]",Q="[object Null]",R="[object Object]",L="[object Promise]",j="[object Proxy]",W="[object RegExp]",fe="[object Set]",se="[object String]",U="[object Symbol]",X="[object Undefined]",be="[object WeakMap]",ke="[object WeakSet]",$e="[object ArrayBuffer]",Xe="[object DataView]",Ze="[object Float32Array]",pn="[object Float64Array]",Tn="[object Int8Array]",so="[object Int16Array]",Fi="[object Int32Array]",sn="[object Uint8Array]",Nn="[object Uint8ClampedArray]",$i="[object Uint16Array]",ji="[object Uint32Array]",jT=/\b__p \+= '';/g,UT=/\b(__p \+=) '' \+/g,zT=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Om=/&(?:amp|lt|gt|quot|#39);/g,Am=/[&<>"']/g,BT=RegExp(Om.source),WT=RegExp(Am.source),HT=/<%-([\s\S]+?)%>/g,VT=/<%([\s\S]+?)%>/g,Rm=/<%=([\s\S]+?)%>/g,GT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,KT=/^\w*$/,qT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yu=/[\\^$.*+?()[\]{}|]/g,YT=RegExp(Yu.source),Xu=/^\s+/,XT=/\s/,JT=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,QT=/\{\n\/\* \[wrapped with (.+)\] \*/,ZT=/,? & /,ex=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Pm=/[()=,{}\[\]\/\s]/,tx=/\\(\\)?/g,nx=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Im=/\w*$/,rx=/^[-+]0x[0-9a-f]+$/i,ox=/^0b[01]+$/i,ix=/^\[object .+?Constructor\]$/,sx=/^0o[0-7]+$/i,ax=/^(?:0|[1-9]\d*)$/,lx=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,cx=/['\n\r\u2028\u2029\\]/g,il="\\ud800-\\udfff",ux="\\u0300-\\u036f",fx="\\ufe20-\\ufe2f",dx="\\u20d0-\\u20ff",Lm=ux+fx+dx,Mm="\\u2700-\\u27bf",Nm="a-z\\xdf-\\xf6\\xf8-\\xff",px="\\xac\\xb1\\xd7\\xf7",hx="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mx="\\u2000-\\u206f",gx=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Dm="A-Z\\xc0-\\xd6\\xd8-\\xde",Fm="\\ufe0e\\ufe0f",$m=px+hx+mx+gx,Ju="['’]",yx="["+il+"]",jm="["+$m+"]",sl="["+Lm+"]",Um="\\d+",bx="["+Mm+"]",zm="["+Nm+"]",Bm="[^"+il+$m+Um+Mm+Nm+Dm+"]",Qu="\\ud83c[\\udffb-\\udfff]",_x="(?:"+sl+"|"+Qu+")",Wm="[^"+il+"]",Zu="(?:\\ud83c[\\udde6-\\uddff]){2}",ef="[\\ud800-\\udbff][\\udc00-\\udfff]",Ui="["+Dm+"]",Hm="\\u200d",Vm="(?:"+zm+"|"+Bm+")",vx="(?:"+Ui+"|"+Bm+")",Gm="(?:"+Ju+"(?:d|ll|m|re|s|t|ve))?",Km="(?:"+Ju+"(?:D|LL|M|RE|S|T|VE))?",qm=_x+"?",Ym="["+Fm+"]?",wx="(?:"+Hm+"(?:"+[Wm,Zu,ef].join("|")+")"+Ym+qm+")*",Ex="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Xm=Ym+qm+wx,Cx="(?:"+[bx,Zu,ef].join("|")+")"+Xm,kx="(?:"+[Wm+sl+"?",sl,Zu,ef,yx].join("|")+")",Tx=RegExp(Ju,"g"),xx=RegExp(sl,"g"),tf=RegExp(Qu+"(?="+Qu+")|"+kx+Xm,"g"),Ox=RegExp([Ui+"?"+zm+"+"+Gm+"(?="+[jm,Ui,"$"].join("|")+")",vx+"+"+Km+"(?="+[jm,Ui+Vm,"$"].join("|")+")",Ui+"?"+Vm+"+"+Gm,Ui+"+"+Km,Sx,Ex,Um,Cx].join("|"),"g"),Ax=RegExp("["+Hm+il+Lm+Fm+"]"),Rx=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Px=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ix=-1,Ot={};Ot[Ze]=Ot[pn]=Ot[Tn]=Ot[so]=Ot[Fi]=Ot[sn]=Ot[Nn]=Ot[$i]=Ot[ji]=!0,Ot[Mt]=Ot[ee]=Ot[$e]=Ot[pe]=Ot[Xe]=Ot[we]=Ot[M]=Ot[F]=Ot[J]=Ot[re]=Ot[R]=Ot[W]=Ot[fe]=Ot[se]=Ot[be]=!1;var Et={};Et[Mt]=Et[ee]=Et[$e]=Et[Xe]=Et[pe]=Et[we]=Et[Ze]=Et[pn]=Et[Tn]=Et[so]=Et[Fi]=Et[J]=Et[re]=Et[R]=Et[W]=Et[fe]=Et[se]=Et[U]=Et[sn]=Et[Nn]=Et[$i]=Et[ji]=!0,Et[M]=Et[F]=Et[be]=!1;var Lx={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Mx={"&":"&","<":"<",">":">",'"':""","'":"'"},Nx={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fx=parseFloat,$x=parseInt,Jm=typeof sc=="object"&&sc&&sc.Object===Object&&sc,jx=typeof self=="object"&&self&&self.Object===Object&&self,an=Jm||jx||Function("return this")(),nf=t&&!t.nodeType&&t,li=nf&&!0&&e&&!e.nodeType&&e,Qm=li&&li.exports===nf,rf=Qm&&Jm.process,cr=(function(){try{var B=li&&li.require&&li.require("util").types;return B||rf&&rf.binding&&rf.binding("util")}catch{}})(),Zm=cr&&cr.isArrayBuffer,eg=cr&&cr.isDate,tg=cr&&cr.isMap,ng=cr&&cr.isRegExp,rg=cr&&cr.isSet,og=cr&&cr.isTypedArray;function qn(B,Z,Y){switch(Y.length){case 0:return B.call(Z);case 1:return B.call(Z,Y[0]);case 2:return B.call(Z,Y[0],Y[1]);case 3:return B.call(Z,Y[0],Y[1],Y[2])}return B.apply(Z,Y)}function Ux(B,Z,Y,_e){for(var Me=-1,st=B==null?0:B.length;++Me<st;){var qt=B[Me];Z(_e,qt,Y(qt),B)}return _e}function Yn(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e&&Z(B[Y],Y,B)!==!1;);return B}function zx(B,Z){for(var Y=B==null?0:B.length;Y--&&Z(B[Y],Y,B)!==!1;);return B}function ig(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e;)if(!Z(B[Y],Y,B))return!1;return!0}function No(B,Z){for(var Y=-1,_e=B==null?0:B.length,Me=0,st=[];++Y<_e;){var qt=B[Y];Z(qt,Y,B)&&(st[Me++]=qt)}return st}function al(B,Z){var Y=B==null?0:B.length;return!!Y&&zi(B,Z,0)>-1}function of(B,Z,Y){for(var _e=-1,Me=B==null?0:B.length;++_e<Me;)if(Y(Z,B[_e]))return!0;return!1}function Pt(B,Z){for(var Y=-1,_e=B==null?0:B.length,Me=Array(_e);++Y<_e;)Me[Y]=Z(B[Y],Y,B);return Me}function Do(B,Z){for(var Y=-1,_e=Z.length,Me=B.length;++Y<_e;)B[Me+Y]=Z[Y];return B}function sf(B,Z,Y,_e){var Me=-1,st=B==null?0:B.length;for(_e&&st&&(Y=B[++Me]);++Me<st;)Y=Z(Y,B[Me],Me,B);return Y}function Bx(B,Z,Y,_e){var Me=B==null?0:B.length;for(_e&&Me&&(Y=B[--Me]);Me--;)Y=Z(Y,B[Me],Me,B);return Y}function af(B,Z){for(var Y=-1,_e=B==null?0:B.length;++Y<_e;)if(Z(B[Y],Y,B))return!0;return!1}var Wx=lf("length");function Hx(B){return B.split("")}function Vx(B){return B.match(ex)||[]}function sg(B,Z,Y){var _e;return Y(B,function(Me,st,qt){if(Z(Me,st,qt))return _e=st,!1}),_e}function ll(B,Z,Y,_e){for(var Me=B.length,st=Y+(_e?1:-1);_e?st--:++st<Me;)if(Z(B[st],st,B))return st;return-1}function zi(B,Z,Y){return Z===Z?r1(B,Z,Y):ll(B,ag,Y)}function Gx(B,Z,Y,_e){for(var Me=Y-1,st=B.length;++Me<st;)if(_e(B[Me],Z))return Me;return-1}function ag(B){return B!==B}function lg(B,Z){var Y=B==null?0:B.length;return Y?uf(B,Z)/Y:tt}function lf(B){return function(Z){return Z==null?n:Z[B]}}function cf(B){return function(Z){return B==null?n:B[Z]}}function cg(B,Z,Y,_e,Me){return Me(B,function(st,qt,wt){Y=_e?(_e=!1,st):Z(Y,st,qt,wt)}),Y}function Kx(B,Z){var Y=B.length;for(B.sort(Z);Y--;)B[Y]=B[Y].value;return B}function uf(B,Z){for(var Y,_e=-1,Me=B.length;++_e<Me;){var st=Z(B[_e]);st!==n&&(Y=Y===n?st:Y+st)}return Y}function ff(B,Z){for(var Y=-1,_e=Array(B);++Y<B;)_e[Y]=Z(Y);return _e}function qx(B,Z){return Pt(Z,function(Y){return[Y,B[Y]]})}function ug(B){return B&&B.slice(0,hg(B)+1).replace(Xu,"")}function Xn(B){return function(Z){return B(Z)}}function df(B,Z){return Pt(Z,function(Y){return B[Y]})}function zs(B,Z){return B.has(Z)}function fg(B,Z){for(var Y=-1,_e=B.length;++Y<_e&&zi(Z,B[Y],0)>-1;);return Y}function dg(B,Z){for(var Y=B.length;Y--&&zi(Z,B[Y],0)>-1;);return Y}function Yx(B,Z){for(var Y=B.length,_e=0;Y--;)B[Y]===Z&&++_e;return _e}var Xx=cf(Lx),Jx=cf(Mx);function Qx(B){return"\\"+Dx[B]}function Zx(B,Z){return B==null?n:B[Z]}function Bi(B){return Ax.test(B)}function e1(B){return Rx.test(B)}function t1(B){for(var Z,Y=[];!(Z=B.next()).done;)Y.push(Z.value);return Y}function pf(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e,Me){Y[++Z]=[Me,_e]}),Y}function pg(B,Z){return function(Y){return B(Z(Y))}}function Fo(B,Z){for(var Y=-1,_e=B.length,Me=0,st=[];++Y<_e;){var qt=B[Y];(qt===Z||qt===h)&&(B[Y]=h,st[Me++]=Y)}return st}function cl(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e){Y[++Z]=_e}),Y}function n1(B){var Z=-1,Y=Array(B.size);return B.forEach(function(_e){Y[++Z]=[_e,_e]}),Y}function r1(B,Z,Y){for(var _e=Y-1,Me=B.length;++_e<Me;)if(B[_e]===Z)return _e;return-1}function o1(B,Z,Y){for(var _e=Y+1;_e--;)if(B[_e]===Z)return _e;return _e}function Wi(B){return Bi(B)?s1(B):Wx(B)}function Cr(B){return Bi(B)?a1(B):Hx(B)}function hg(B){for(var Z=B.length;Z--&&XT.test(B.charAt(Z)););return Z}var i1=cf(Nx);function s1(B){for(var Z=tf.lastIndex=0;tf.test(B);)++Z;return Z}function a1(B){return B.match(tf)||[]}function l1(B){return B.match(Ox)||[]}var c1=(function B(Z){Z=Z==null?an:Hi.defaults(an.Object(),Z,Hi.pick(an,Px));var Y=Z.Array,_e=Z.Date,Me=Z.Error,st=Z.Function,qt=Z.Math,wt=Z.Object,hf=Z.RegExp,u1=Z.String,ur=Z.TypeError,ul=Y.prototype,f1=st.prototype,Vi=wt.prototype,fl=Z["__core-js_shared__"],dl=f1.toString,lt=Vi.hasOwnProperty,d1=0,mg=(function(){var i=/[^.]+$/.exec(fl&&fl.keys&&fl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})(),pl=Vi.toString,p1=dl.call(wt),h1=an._,m1=hf("^"+dl.call(lt).replace(Yu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hl=Qm?Z.Buffer:n,$o=Z.Symbol,ml=Z.Uint8Array,gg=hl?hl.allocUnsafe:n,gl=pg(wt.getPrototypeOf,wt),yg=wt.create,bg=Vi.propertyIsEnumerable,yl=ul.splice,_g=$o?$o.isConcatSpreadable:n,Bs=$o?$o.iterator:n,ci=$o?$o.toStringTag:n,bl=(function(){try{var i=hi(wt,"defineProperty");return i({},"",{}),i}catch{}})(),g1=Z.clearTimeout!==an.clearTimeout&&Z.clearTimeout,y1=_e&&_e.now!==an.Date.now&&_e.now,b1=Z.setTimeout!==an.setTimeout&&Z.setTimeout,_l=qt.ceil,vl=qt.floor,mf=wt.getOwnPropertySymbols,_1=hl?hl.isBuffer:n,vg=Z.isFinite,v1=ul.join,w1=pg(wt.keys,wt),Yt=qt.max,hn=qt.min,E1=_e.now,S1=Z.parseInt,wg=qt.random,C1=ul.reverse,gf=hi(Z,"DataView"),Ws=hi(Z,"Map"),yf=hi(Z,"Promise"),Gi=hi(Z,"Set"),Hs=hi(Z,"WeakMap"),Vs=hi(wt,"create"),wl=Hs&&new Hs,Ki={},k1=mi(gf),T1=mi(Ws),x1=mi(yf),O1=mi(Gi),A1=mi(Hs),El=$o?$o.prototype:n,Gs=El?El.valueOf:n,Eg=El?El.toString:n;function C(i){if($t(i)&&!De(i)&&!(i instanceof Ke)){if(i instanceof fr)return i;if(lt.call(i,"__wrapped__"))return Sy(i)}return new fr(i)}var qi=(function(){function i(){}return function(l){if(!Nt(l))return{};if(yg)return yg(l);i.prototype=l;var d=new i;return i.prototype=n,d}})();function Sl(){}function fr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}C.templateSettings={escape:HT,evaluate:VT,interpolate:Rm,variable:"",imports:{_:C}},C.prototype=Sl.prototype,C.prototype.constructor=C,fr.prototype=qi(Sl.prototype),fr.prototype.constructor=fr;function Ke(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ge,this.__views__=[]}function R1(){var i=new Ke(this.__wrapped__);return i.__actions__=Dn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Dn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Dn(this.__views__),i}function P1(){if(this.__filtered__){var i=new Ke(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function I1(){var i=this.__wrapped__.value(),l=this.__dir__,d=De(i),m=l<0,b=d?i.length:0,k=HO(0,b,this.__views__),D=k.start,$=k.end,H=$-D,ie=m?$:D-1,ae=this.__iteratees__,ce=ae.length,me=0,Ee=hn(H,this.__takeCount__);if(!d||!m&&b==H&&Ee==H)return Gg(i,this.__actions__);var Ae=[];e:for(;H--&&me<Ee;){ie+=l;for(var Be=-1,Te=i[ie];++Be<ce;){var He=ae[Be],Je=He.iteratee,Zn=He.type,An=Je(Te);if(Zn==oe)Te=An;else if(!An){if(Zn==te)continue e;break e}}Ae[me++]=Te}return Ae}Ke.prototype=qi(Sl.prototype),Ke.prototype.constructor=Ke;function ui(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function L1(){this.__data__=Vs?Vs(null):{},this.size=0}function M1(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function N1(i){var l=this.__data__;if(Vs){var d=l[i];return d===f?n:d}return lt.call(l,i)?l[i]:n}function D1(i){var l=this.__data__;return Vs?l[i]!==n:lt.call(l,i)}function F1(i,l){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Vs&&l===n?f:l,this}ui.prototype.clear=L1,ui.prototype.delete=M1,ui.prototype.get=N1,ui.prototype.has=D1,ui.prototype.set=F1;function ao(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function $1(){this.__data__=[],this.size=0}function j1(i){var l=this.__data__,d=Cl(l,i);if(d<0)return!1;var m=l.length-1;return d==m?l.pop():yl.call(l,d,1),--this.size,!0}function U1(i){var l=this.__data__,d=Cl(l,i);return d<0?n:l[d][1]}function z1(i){return Cl(this.__data__,i)>-1}function B1(i,l){var d=this.__data__,m=Cl(d,i);return m<0?(++this.size,d.push([i,l])):d[m][1]=l,this}ao.prototype.clear=$1,ao.prototype.delete=j1,ao.prototype.get=U1,ao.prototype.has=z1,ao.prototype.set=B1;function lo(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function W1(){this.size=0,this.__data__={hash:new ui,map:new(Ws||ao),string:new ui}}function H1(i){var l=Dl(this,i).delete(i);return this.size-=l?1:0,l}function V1(i){return Dl(this,i).get(i)}function G1(i){return Dl(this,i).has(i)}function K1(i,l){var d=Dl(this,i),m=d.size;return d.set(i,l),this.size+=d.size==m?0:1,this}lo.prototype.clear=W1,lo.prototype.delete=H1,lo.prototype.get=V1,lo.prototype.has=G1,lo.prototype.set=K1;function fi(i){var l=-1,d=i==null?0:i.length;for(this.__data__=new lo;++l<d;)this.add(i[l])}function q1(i){return this.__data__.set(i,f),this}function Y1(i){return this.__data__.has(i)}fi.prototype.add=fi.prototype.push=q1,fi.prototype.has=Y1;function kr(i){var l=this.__data__=new ao(i);this.size=l.size}function X1(){this.__data__=new ao,this.size=0}function J1(i){var l=this.__data__,d=l.delete(i);return this.size=l.size,d}function Q1(i){return this.__data__.get(i)}function Z1(i){return this.__data__.has(i)}function eO(i,l){var d=this.__data__;if(d instanceof ao){var m=d.__data__;if(!Ws||m.length<o-1)return m.push([i,l]),this.size=++d.size,this;d=this.__data__=new lo(m)}return d.set(i,l),this.size=d.size,this}kr.prototype.clear=X1,kr.prototype.delete=J1,kr.prototype.get=Q1,kr.prototype.has=Z1,kr.prototype.set=eO;function Sg(i,l){var d=De(i),m=!d&&gi(i),b=!d&&!m&&Wo(i),k=!d&&!m&&!b&&Qi(i),D=d||m||b||k,$=D?ff(i.length,u1):[],H=$.length;for(var ie in i)(l||lt.call(i,ie))&&!(D&&(ie=="length"||b&&(ie=="offset"||ie=="parent")||k&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||fo(ie,H)))&&$.push(ie);return $}function Cg(i){var l=i.length;return l?i[Of(0,l-1)]:n}function tO(i,l){return Fl(Dn(i),di(l,0,i.length))}function nO(i){return Fl(Dn(i))}function bf(i,l,d){(d!==n&&!xr(i[l],d)||d===n&&!(l in i))&&Wr(i,l,d)}function Ks(i,l,d){var m=i[l];(!(lt.call(i,l)&&xr(m,d))||d===n&&!(l in i))&&Wr(i,l,d)}function Cl(i,l){for(var d=i.length;d--;)if(xr(i[d][0],l))return d;return-1}function rO(i,l,d,m){return jo(i,function(b,k,D){l(m,b,d(b),D)}),m}function kg(i,l){return i&&Vr(l,Jt(l),i)}function oO(i,l){return i&&Vr(l,$n(l),i)}function Wr(i,l,d){l=="__proto__"&&bl?bl(i,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[l]=d}function _f(i,l){for(var d=-1,m=l.length,b=Y(m),k=i==null;++d<m;)b[d]=k?n:ed(i,l[d]);return b}function di(i,l,d){return i===i&&(d!==n&&(i=i<=d?i:d),l!==n&&(i=i>=l?i:l)),i}function dr(i,l,d,m,b,k){var D,$=l&g,H=l&y,ie=l&v;if(d&&(D=b?d(i,m,b,k):d(i)),D!==n)return D;if(!Nt(i))return i;var ae=De(i);if(ae){if(D=GO(i),!$)return Dn(i,D)}else{var ce=mn(i),me=ce==F||ce==V;if(Wo(i))return Yg(i,$);if(ce==R||ce==Mt||me&&!b){if(D=H||me?{}:hy(i),!$)return H?NO(i,oO(D,i)):MO(i,kg(D,i))}else{if(!Et[ce])return b?i:{};D=KO(i,ce,$)}}k||(k=new kr);var Ee=k.get(i);if(Ee)return Ee;k.set(i,D),Wy(i)?i.forEach(function(Te){D.add(dr(Te,l,d,Te,i,k))}):zy(i)&&i.forEach(function(Te,He){D.set(He,dr(Te,l,d,He,i,k))});var Ae=ie?H?jf:$f:H?$n:Jt,Be=ae?n:Ae(i);return Yn(Be||i,function(Te,He){Be&&(He=Te,Te=i[He]),Ks(D,He,dr(Te,l,d,He,i,k))}),D}function iO(i){var l=Jt(i);return function(d){return Tg(d,i,l)}}function Tg(i,l,d){var m=d.length;if(i==null)return!m;for(i=wt(i);m--;){var b=d[m],k=l[b],D=i[b];if(D===n&&!(b in i)||!k(D))return!1}return!0}function xg(i,l,d){if(typeof i!="function")throw new ur(a);return ea(function(){i.apply(n,d)},l)}function qs(i,l,d,m){var b=-1,k=al,D=!0,$=i.length,H=[],ie=l.length;if(!$)return H;d&&(l=Pt(l,Xn(d))),m?(k=of,D=!1):l.length>=o&&(k=zs,D=!1,l=new fi(l));e:for(;++b<$;){var ae=i[b],ce=d==null?ae:d(ae);if(ae=m||ae!==0?ae:0,D&&ce===ce){for(var me=ie;me--;)if(l[me]===ce)continue e;H.push(ae)}else k(l,ce,m)||H.push(ae)}return H}var jo=ey(Hr),Og=ey(wf,!0);function sO(i,l){var d=!0;return jo(i,function(m,b,k){return d=!!l(m,b,k),d}),d}function kl(i,l,d){for(var m=-1,b=i.length;++m<b;){var k=i[m],D=l(k);if(D!=null&&($===n?D===D&&!Qn(D):d(D,$)))var $=D,H=k}return H}function aO(i,l,d,m){var b=i.length;for(d=Ue(d),d<0&&(d=-d>b?0:b+d),m=m===n||m>b?b:Ue(m),m<0&&(m+=b),m=d>m?0:Vy(m);d<m;)i[d++]=l;return i}function Ag(i,l){var d=[];return jo(i,function(m,b,k){l(m,b,k)&&d.push(m)}),d}function ln(i,l,d,m,b){var k=-1,D=i.length;for(d||(d=YO),b||(b=[]);++k<D;){var $=i[k];l>0&&d($)?l>1?ln($,l-1,d,m,b):Do(b,$):m||(b[b.length]=$)}return b}var vf=ty(),Rg=ty(!0);function Hr(i,l){return i&&vf(i,l,Jt)}function wf(i,l){return i&&Rg(i,l,Jt)}function Tl(i,l){return No(l,function(d){return po(i[d])})}function pi(i,l){l=zo(l,i);for(var d=0,m=l.length;i!=null&&d<m;)i=i[Tr(l[d++])];return d&&d==m?i:n}function Pg(i,l,d){var m=l(i);return De(i)?m:Do(m,d(i))}function xn(i){return i==null?i===n?X:Q:ci&&ci in wt(i)?WO(i):nA(i)}function Ef(i,l){return i>l}function lO(i,l){return i!=null&<.call(i,l)}function cO(i,l){return i!=null&&l in wt(i)}function uO(i,l,d){return i>=hn(l,d)&&i<Yt(l,d)}function Sf(i,l,d){for(var m=d?of:al,b=i[0].length,k=i.length,D=k,$=Y(k),H=1/0,ie=[];D--;){var ae=i[D];D&&l&&(ae=Pt(ae,Xn(l))),H=hn(ae.length,H),$[D]=!d&&(l||b>=120&&ae.length>=120)?new fi(D&&ae):n}ae=i[0];var ce=-1,me=$[0];e:for(;++ce<b&&ie.length<H;){var Ee=ae[ce],Ae=l?l(Ee):Ee;if(Ee=d||Ee!==0?Ee:0,!(me?zs(me,Ae):m(ie,Ae,d))){for(D=k;--D;){var Be=$[D];if(!(Be?zs(Be,Ae):m(i[D],Ae,d)))continue e}me&&me.push(Ae),ie.push(Ee)}}return ie}function fO(i,l,d,m){return Hr(i,function(b,k,D){l(m,d(b),k,D)}),m}function Ys(i,l,d){l=zo(l,i),i=by(i,l);var m=i==null?i:i[Tr(hr(l))];return m==null?n:qn(m,i,d)}function Ig(i){return $t(i)&&xn(i)==Mt}function dO(i){return $t(i)&&xn(i)==$e}function pO(i){return $t(i)&&xn(i)==we}function Xs(i,l,d,m,b){return i===l?!0:i==null||l==null||!$t(i)&&!$t(l)?i!==i&&l!==l:hO(i,l,d,m,Xs,b)}function hO(i,l,d,m,b,k){var D=De(i),$=De(l),H=D?ee:mn(i),ie=$?ee:mn(l);H=H==Mt?R:H,ie=ie==Mt?R:ie;var ae=H==R,ce=ie==R,me=H==ie;if(me&&Wo(i)){if(!Wo(l))return!1;D=!0,ae=!1}if(me&&!ae)return k||(k=new kr),D||Qi(i)?fy(i,l,d,m,b,k):zO(i,l,H,d,m,b,k);if(!(d&_)){var Ee=ae&<.call(i,"__wrapped__"),Ae=ce&<.call(l,"__wrapped__");if(Ee||Ae){var Be=Ee?i.value():i,Te=Ae?l.value():l;return k||(k=new kr),b(Be,Te,d,m,k)}}return me?(k||(k=new kr),BO(i,l,d,m,b,k)):!1}function mO(i){return $t(i)&&mn(i)==J}function Cf(i,l,d,m){var b=d.length,k=b,D=!m;if(i==null)return!k;for(i=wt(i);b--;){var $=d[b];if(D&&$[2]?$[1]!==i[$[0]]:!($[0]in i))return!1}for(;++b<k;){$=d[b];var H=$[0],ie=i[H],ae=$[1];if(D&&$[2]){if(ie===n&&!(H in i))return!1}else{var ce=new kr;if(m)var me=m(ie,ae,H,i,l,ce);if(!(me===n?Xs(ae,ie,_|O,m,ce):me))return!1}}return!0}function Lg(i){if(!Nt(i)||JO(i))return!1;var l=po(i)?m1:ix;return l.test(mi(i))}function gO(i){return $t(i)&&xn(i)==W}function yO(i){return $t(i)&&mn(i)==fe}function bO(i){return $t(i)&&Wl(i.length)&&!!Ot[xn(i)]}function Mg(i){return typeof i=="function"?i:i==null?jn:typeof i=="object"?De(i)?Fg(i[0],i[1]):Dg(i):rb(i)}function kf(i){if(!Zs(i))return w1(i);var l=[];for(var d in wt(i))lt.call(i,d)&&d!="constructor"&&l.push(d);return l}function _O(i){if(!Nt(i))return tA(i);var l=Zs(i),d=[];for(var m in i)m=="constructor"&&(l||!lt.call(i,m))||d.push(m);return d}function Tf(i,l){return i<l}function Ng(i,l){var d=-1,m=Fn(i)?Y(i.length):[];return jo(i,function(b,k,D){m[++d]=l(b,k,D)}),m}function Dg(i){var l=zf(i);return l.length==1&&l[0][2]?gy(l[0][0],l[0][1]):function(d){return d===i||Cf(d,i,l)}}function Fg(i,l){return Wf(i)&&my(l)?gy(Tr(i),l):function(d){var m=ed(d,i);return m===n&&m===l?td(d,i):Xs(l,m,_|O)}}function xl(i,l,d,m,b){i!==l&&vf(l,function(k,D){if(b||(b=new kr),Nt(k))vO(i,l,D,d,xl,m,b);else{var $=m?m(Vf(i,D),k,D+"",i,l,b):n;$===n&&($=k),bf(i,D,$)}},$n)}function vO(i,l,d,m,b,k,D){var $=Vf(i,d),H=Vf(l,d),ie=D.get(H);if(ie){bf(i,d,ie);return}var ae=k?k($,H,d+"",i,l,D):n,ce=ae===n;if(ce){var me=De(H),Ee=!me&&Wo(H),Ae=!me&&!Ee&&Qi(H);ae=H,me||Ee||Ae?De($)?ae=$:Ut($)?ae=Dn($):Ee?(ce=!1,ae=Yg(H,!0)):Ae?(ce=!1,ae=Xg(H,!0)):ae=[]:ta(H)||gi(H)?(ae=$,gi($)?ae=Gy($):(!Nt($)||po($))&&(ae=hy(H))):ce=!1}ce&&(D.set(H,ae),b(ae,H,m,k,D),D.delete(H)),bf(i,d,ae)}function $g(i,l){var d=i.length;if(d)return l+=l<0?d:0,fo(l,d)?i[l]:n}function jg(i,l,d){l.length?l=Pt(l,function(k){return De(k)?function(D){return pi(D,k.length===1?k[0]:k)}:k}):l=[jn];var m=-1;l=Pt(l,Xn(xe()));var b=Ng(i,function(k,D,$){var H=Pt(l,function(ie){return ie(k)});return{criteria:H,index:++m,value:k}});return Kx(b,function(k,D){return LO(k,D,d)})}function wO(i,l){return Ug(i,l,function(d,m){return td(i,m)})}function Ug(i,l,d){for(var m=-1,b=l.length,k={};++m<b;){var D=l[m],$=pi(i,D);d($,D)&&Js(k,zo(D,i),$)}return k}function EO(i){return function(l){return pi(l,i)}}function xf(i,l,d,m){var b=m?Gx:zi,k=-1,D=l.length,$=i;for(i===l&&(l=Dn(l)),d&&($=Pt(i,Xn(d)));++k<D;)for(var H=0,ie=l[k],ae=d?d(ie):ie;(H=b($,ae,H,m))>-1;)$!==i&&yl.call($,H,1),yl.call(i,H,1);return i}function zg(i,l){for(var d=i?l.length:0,m=d-1;d--;){var b=l[d];if(d==m||b!==k){var k=b;fo(b)?yl.call(i,b,1):Pf(i,b)}}return i}function Of(i,l){return i+vl(wg()*(l-i+1))}function SO(i,l,d,m){for(var b=-1,k=Yt(_l((l-i)/(d||1)),0),D=Y(k);k--;)D[m?k:++b]=i,i+=d;return D}function Af(i,l){var d="";if(!i||l<1||l>Ve)return d;do l%2&&(d+=i),l=vl(l/2),l&&(i+=i);while(l);return d}function We(i,l){return Gf(yy(i,l,jn),i+"")}function CO(i){return Cg(Zi(i))}function kO(i,l){var d=Zi(i);return Fl(d,di(l,0,d.length))}function Js(i,l,d,m){if(!Nt(i))return i;l=zo(l,i);for(var b=-1,k=l.length,D=k-1,$=i;$!=null&&++b<k;){var H=Tr(l[b]),ie=d;if(H==="__proto__"||H==="constructor"||H==="prototype")return i;if(b!=D){var ae=$[H];ie=m?m(ae,H,$):n,ie===n&&(ie=Nt(ae)?ae:fo(l[b+1])?[]:{})}Ks($,H,ie),$=$[H]}return i}var Bg=wl?function(i,l){return wl.set(i,l),i}:jn,TO=bl?function(i,l){return bl(i,"toString",{configurable:!0,enumerable:!1,value:rd(l),writable:!0})}:jn;function xO(i){return Fl(Zi(i))}function pr(i,l,d){var m=-1,b=i.length;l<0&&(l=-l>b?0:b+l),d=d>b?b:d,d<0&&(d+=b),b=l>d?0:d-l>>>0,l>>>=0;for(var k=Y(b);++m<b;)k[m]=i[m+l];return k}function OO(i,l){var d;return jo(i,function(m,b,k){return d=l(m,b,k),!d}),!!d}function Ol(i,l,d){var m=0,b=i==null?m:i.length;if(typeof l=="number"&&l===l&&b<=on){for(;m<b;){var k=m+b>>>1,D=i[k];D!==null&&!Qn(D)&&(d?D<=l:D<l)?m=k+1:b=k}return b}return Rf(i,l,jn,d)}function Rf(i,l,d,m){var b=0,k=i==null?0:i.length;if(k===0)return 0;l=d(l);for(var D=l!==l,$=l===null,H=Qn(l),ie=l===n;b<k;){var ae=vl((b+k)/2),ce=d(i[ae]),me=ce!==n,Ee=ce===null,Ae=ce===ce,Be=Qn(ce);if(D)var Te=m||Ae;else ie?Te=Ae&&(m||me):$?Te=Ae&&me&&(m||!Ee):H?Te=Ae&&me&&!Ee&&(m||!Be):Ee||Be?Te=!1:Te=m?ce<=l:ce<l;Te?b=ae+1:k=ae}return hn(k,dn)}function Wg(i,l){for(var d=-1,m=i.length,b=0,k=[];++d<m;){var D=i[d],$=l?l(D):D;if(!d||!xr($,H)){var H=$;k[b++]=D===0?0:D}}return k}function Hg(i){return typeof i=="number"?i:Qn(i)?tt:+i}function Jn(i){if(typeof i=="string")return i;if(De(i))return Pt(i,Jn)+"";if(Qn(i))return Eg?Eg.call(i):"";var l=i+"";return l=="0"&&1/i==-Se?"-0":l}function Uo(i,l,d){var m=-1,b=al,k=i.length,D=!0,$=[],H=$;if(d)D=!1,b=of;else if(k>=o){var ie=l?null:jO(i);if(ie)return cl(ie);D=!1,b=zs,H=new fi}else H=l?[]:$;e:for(;++m<k;){var ae=i[m],ce=l?l(ae):ae;if(ae=d||ae!==0?ae:0,D&&ce===ce){for(var me=H.length;me--;)if(H[me]===ce)continue e;l&&H.push(ce),$.push(ae)}else b(H,ce,d)||(H!==$&&H.push(ce),$.push(ae))}return $}function Pf(i,l){l=zo(l,i);var d=-1,m=l.length;if(!m)return!0;for(;++d<m;){var b=Tr(l[d]);if(b==="__proto__"&&!lt.call(i,"__proto__")||(b==="constructor"||b==="prototype")&&d<m-1)return!1}var k=by(i,l);return k==null||delete k[Tr(hr(l))]}function Vg(i,l,d,m){return Js(i,l,d(pi(i,l)),m)}function Al(i,l,d,m){for(var b=i.length,k=m?b:-1;(m?k--:++k<b)&&l(i[k],k,i););return d?pr(i,m?0:k,m?k+1:b):pr(i,m?k+1:0,m?b:k)}function Gg(i,l){var d=i;return d instanceof Ke&&(d=d.value()),sf(l,function(m,b){return b.func.apply(b.thisArg,Do([m],b.args))},d)}function If(i,l,d){var m=i.length;if(m<2)return m?Uo(i[0]):[];for(var b=-1,k=Y(m);++b<m;)for(var D=i[b],$=-1;++$<m;)$!=b&&(k[b]=qs(k[b]||D,i[$],l,d));return Uo(ln(k,1),l,d)}function Kg(i,l,d){for(var m=-1,b=i.length,k=l.length,D={};++m<b;){var $=m<k?l[m]:n;d(D,i[m],$)}return D}function Lf(i){return Ut(i)?i:[]}function Mf(i){return typeof i=="function"?i:jn}function zo(i,l){return De(i)?i:Wf(i,l)?[i]:Ey(ct(i))}var AO=We;function Bo(i,l,d){var m=i.length;return d=d===n?m:d,!l&&d>=m?i:pr(i,l,d)}var qg=g1||function(i){return an.clearTimeout(i)};function Yg(i,l){if(l)return i.slice();var d=i.length,m=gg?gg(d):new i.constructor(d);return i.copy(m),m}function Nf(i){var l=new i.constructor(i.byteLength);return new ml(l).set(new ml(i)),l}function RO(i,l){var d=l?Nf(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function PO(i){var l=new i.constructor(i.source,Im.exec(i));return l.lastIndex=i.lastIndex,l}function IO(i){return Gs?wt(Gs.call(i)):{}}function Xg(i,l){var d=l?Nf(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function Jg(i,l){if(i!==l){var d=i!==n,m=i===null,b=i===i,k=Qn(i),D=l!==n,$=l===null,H=l===l,ie=Qn(l);if(!$&&!ie&&!k&&i>l||k&&D&&H&&!$&&!ie||m&&D&&H||!d&&H||!b)return 1;if(!m&&!k&&!ie&&i<l||ie&&d&&b&&!m&&!k||$&&d&&b||!D&&b||!H)return-1}return 0}function LO(i,l,d){for(var m=-1,b=i.criteria,k=l.criteria,D=b.length,$=d.length;++m<D;){var H=Jg(b[m],k[m]);if(H){if(m>=$)return H;var ie=d[m];return H*(ie=="desc"?-1:1)}}return i.index-l.index}function Qg(i,l,d,m){for(var b=-1,k=i.length,D=d.length,$=-1,H=l.length,ie=Yt(k-D,0),ae=Y(H+ie),ce=!m;++$<H;)ae[$]=l[$];for(;++b<D;)(ce||b<k)&&(ae[d[b]]=i[b]);for(;ie--;)ae[$++]=i[b++];return ae}function Zg(i,l,d,m){for(var b=-1,k=i.length,D=-1,$=d.length,H=-1,ie=l.length,ae=Yt(k-$,0),ce=Y(ae+ie),me=!m;++b<ae;)ce[b]=i[b];for(var Ee=b;++H<ie;)ce[Ee+H]=l[H];for(;++D<$;)(me||b<k)&&(ce[Ee+d[D]]=i[b++]);return ce}function Dn(i,l){var d=-1,m=i.length;for(l||(l=Y(m));++d<m;)l[d]=i[d];return l}function Vr(i,l,d,m){var b=!d;d||(d={});for(var k=-1,D=l.length;++k<D;){var $=l[k],H=m?m(d[$],i[$],$,d,i):n;H===n&&(H=i[$]),b?Wr(d,$,H):Ks(d,$,H)}return d}function MO(i,l){return Vr(i,Bf(i),l)}function NO(i,l){return Vr(i,dy(i),l)}function Rl(i,l){return function(d,m){var b=De(d)?Ux:rO,k=l?l():{};return b(d,i,xe(m,2),k)}}function Yi(i){return We(function(l,d){var m=-1,b=d.length,k=b>1?d[b-1]:n,D=b>2?d[2]:n;for(k=i.length>3&&typeof k=="function"?(b--,k):n,D&&On(d[0],d[1],D)&&(k=b<3?n:k,b=1),l=wt(l);++m<b;){var $=d[m];$&&i(l,$,m,k)}return l})}function ey(i,l){return function(d,m){if(d==null)return d;if(!Fn(d))return i(d,m);for(var b=d.length,k=l?b:-1,D=wt(d);(l?k--:++k<b)&&m(D[k],k,D)!==!1;);return d}}function ty(i){return function(l,d,m){for(var b=-1,k=wt(l),D=m(l),$=D.length;$--;){var H=D[i?$:++b];if(d(k[H],H,k)===!1)break}return l}}function DO(i,l,d){var m=l&S,b=Qs(i);function k(){var D=this&&this!==an&&this instanceof k?b:i;return D.apply(m?d:this,arguments)}return k}function ny(i){return function(l){l=ct(l);var d=Bi(l)?Cr(l):n,m=d?d[0]:l.charAt(0),b=d?Bo(d,1).join(""):l.slice(1);return m[i]()+b}}function Xi(i){return function(l){return sf(tb(eb(l).replace(Tx,"")),i,"")}}function Qs(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=qi(i.prototype),m=i.apply(d,l);return Nt(m)?m:d}}function FO(i,l,d){var m=Qs(i);function b(){for(var k=arguments.length,D=Y(k),$=k,H=Ji(b);$--;)D[$]=arguments[$];var ie=k<3&&D[0]!==H&&D[k-1]!==H?[]:Fo(D,H);if(k-=ie.length,k<d)return ay(i,l,Pl,b.placeholder,n,D,ie,n,n,d-k);var ae=this&&this!==an&&this instanceof b?m:i;return qn(ae,this,D)}return b}function ry(i){return function(l,d,m){var b=wt(l);if(!Fn(l)){var k=xe(d,3);l=Jt(l),d=function($){return k(b[$],$,b)}}var D=i(l,d,m);return D>-1?b[k?l[D]:D]:n}}function oy(i){return uo(function(l){var d=l.length,m=d,b=fr.prototype.thru;for(i&&l.reverse();m--;){var k=l[m];if(typeof k!="function")throw new ur(a);if(b&&!D&&Nl(k)=="wrapper")var D=new fr([],!0)}for(m=D?m:d;++m<d;){k=l[m];var $=Nl(k),H=$=="wrapper"?Uf(k):n;H&&Hf(H[0])&&H[1]==(T|E|x|N)&&!H[4].length&&H[9]==1?D=D[Nl(H[0])].apply(D,H[3]):D=k.length==1&&Hf(k)?D[$]():D.thru(k)}return function(){var ie=arguments,ae=ie[0];if(D&&ie.length==1&&De(ae))return D.plant(ae).value();for(var ce=0,me=d?l[ce].apply(this,ie):ae;++ce<d;)me=l[ce].call(this,me);return me}})}function Pl(i,l,d,m,b,k,D,$,H,ie){var ae=l&T,ce=l&S,me=l&w,Ee=l&(E|I),Ae=l&G,Be=me?n:Qs(i);function Te(){for(var He=arguments.length,Je=Y(He),Zn=He;Zn--;)Je[Zn]=arguments[Zn];if(Ee)var An=Ji(Te),er=Yx(Je,An);if(m&&(Je=Qg(Je,m,b,Ee)),k&&(Je=Zg(Je,k,D,Ee)),He-=er,Ee&&He<ie){var zt=Fo(Je,An);return ay(i,l,Pl,Te.placeholder,d,Je,zt,$,H,ie-He)}var Or=ce?d:this,mo=me?Or[i]:i;return He=Je.length,$?Je=rA(Je,$):Ae&&He>1&&Je.reverse(),ae&&H<He&&(Je.length=H),this&&this!==an&&this instanceof Te&&(mo=Be||Qs(mo)),mo.apply(Or,Je)}return Te}function iy(i,l){return function(d,m){return fO(d,i,l(m),{})}}function Il(i,l){return function(d,m){var b;if(d===n&&m===n)return l;if(d!==n&&(b=d),m!==n){if(b===n)return m;typeof d=="string"||typeof m=="string"?(d=Jn(d),m=Jn(m)):(d=Hg(d),m=Hg(m)),b=i(d,m)}return b}}function Df(i){return uo(function(l){return l=Pt(l,Xn(xe())),We(function(d){var m=this;return i(l,function(b){return qn(b,m,d)})})})}function Ll(i,l){l=l===n?" ":Jn(l);var d=l.length;if(d<2)return d?Af(l,i):l;var m=Af(l,_l(i/Wi(l)));return Bi(l)?Bo(Cr(m),0,i).join(""):m.slice(0,i)}function $O(i,l,d,m){var b=l&S,k=Qs(i);function D(){for(var $=-1,H=arguments.length,ie=-1,ae=m.length,ce=Y(ae+H),me=this&&this!==an&&this instanceof D?k:i;++ie<ae;)ce[ie]=m[ie];for(;H--;)ce[ie++]=arguments[++$];return qn(me,b?d:this,ce)}return D}function sy(i){return function(l,d,m){return m&&typeof m!="number"&&On(l,d,m)&&(d=m=n),l=ho(l),d===n?(d=l,l=0):d=ho(d),m=m===n?l<d?1:-1:ho(m),SO(l,d,m,i)}}function Ml(i){return function(l,d){return typeof l=="string"&&typeof d=="string"||(l=mr(l),d=mr(d)),i(l,d)}}function ay(i,l,d,m,b,k,D,$,H,ie){var ae=l&E,ce=ae?D:n,me=ae?n:D,Ee=ae?k:n,Ae=ae?n:k;l|=ae?x:P,l&=~(ae?P:x),l&A||(l&=-4);var Be=[i,l,b,Ee,ce,Ae,me,$,H,ie],Te=d.apply(n,Be);return Hf(i)&&_y(Te,Be),Te.placeholder=m,vy(Te,i,l)}function Ff(i){var l=qt[i];return function(d,m){if(d=mr(d),m=m==null?0:hn(Ue(m),292),m&&vg(d)){var b=(ct(d)+"e").split("e"),k=l(b[0]+"e"+(+b[1]+m));return b=(ct(k)+"e").split("e"),+(b[0]+"e"+(+b[1]-m))}return l(d)}}var jO=Gi&&1/cl(new Gi([,-0]))[1]==Se?function(i){return new Gi(i)}:sd;function ly(i){return function(l){var d=mn(l);return d==J?pf(l):d==fe?n1(l):qx(l,i(l))}}function co(i,l,d,m,b,k,D,$){var H=l&w;if(!H&&typeof i!="function")throw new ur(a);var ie=m?m.length:0;if(ie||(l&=-97,m=b=n),D=D===n?D:Yt(Ue(D),0),$=$===n?$:Ue($),ie-=b?b.length:0,l&P){var ae=m,ce=b;m=b=n}var me=H?n:Uf(i),Ee=[i,l,d,m,b,ae,ce,k,D,$];if(me&&eA(Ee,me),i=Ee[0],l=Ee[1],d=Ee[2],m=Ee[3],b=Ee[4],$=Ee[9]=Ee[9]===n?H?0:i.length:Yt(Ee[9]-ie,0),!$&&l&(E|I)&&(l&=-25),!l||l==S)var Ae=DO(i,l,d);else l==E||l==I?Ae=FO(i,l,$):(l==x||l==(S|x))&&!b.length?Ae=$O(i,l,d,m):Ae=Pl.apply(n,Ee);var Be=me?Bg:_y;return vy(Be(Ae,Ee),i,l)}function cy(i,l,d,m){return i===n||xr(i,Vi[d])&&!lt.call(m,d)?l:i}function uy(i,l,d,m,b,k){return Nt(i)&&Nt(l)&&(k.set(l,i),xl(i,l,n,uy,k),k.delete(l)),i}function UO(i){return ta(i)?n:i}function fy(i,l,d,m,b,k){var D=d&_,$=i.length,H=l.length;if($!=H&&!(D&&H>$))return!1;var ie=k.get(i),ae=k.get(l);if(ie&&ae)return ie==l&&ae==i;var ce=-1,me=!0,Ee=d&O?new fi:n;for(k.set(i,l),k.set(l,i);++ce<$;){var Ae=i[ce],Be=l[ce];if(m)var Te=D?m(Be,Ae,ce,l,i,k):m(Ae,Be,ce,i,l,k);if(Te!==n){if(Te)continue;me=!1;break}if(Ee){if(!af(l,function(He,Je){if(!zs(Ee,Je)&&(Ae===He||b(Ae,He,d,m,k)))return Ee.push(Je)})){me=!1;break}}else if(!(Ae===Be||b(Ae,Be,d,m,k))){me=!1;break}}return k.delete(i),k.delete(l),me}function zO(i,l,d,m,b,k,D){switch(d){case Xe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case $e:return!(i.byteLength!=l.byteLength||!k(new ml(i),new ml(l)));case pe:case we:case re:return xr(+i,+l);case M:return i.name==l.name&&i.message==l.message;case W:case se:return i==l+"";case J:var $=pf;case fe:var H=m&_;if($||($=cl),i.size!=l.size&&!H)return!1;var ie=D.get(i);if(ie)return ie==l;m|=O,D.set(i,l);var ae=fy($(i),$(l),m,b,k,D);return D.delete(i),ae;case U:if(Gs)return Gs.call(i)==Gs.call(l)}return!1}function BO(i,l,d,m,b,k){var D=d&_,$=$f(i),H=$.length,ie=$f(l),ae=ie.length;if(H!=ae&&!D)return!1;for(var ce=H;ce--;){var me=$[ce];if(!(D?me in l:lt.call(l,me)))return!1}var Ee=k.get(i),Ae=k.get(l);if(Ee&&Ae)return Ee==l&&Ae==i;var Be=!0;k.set(i,l),k.set(l,i);for(var Te=D;++ce<H;){me=$[ce];var He=i[me],Je=l[me];if(m)var Zn=D?m(Je,He,me,l,i,k):m(He,Je,me,i,l,k);if(!(Zn===n?He===Je||b(He,Je,d,m,k):Zn)){Be=!1;break}Te||(Te=me=="constructor")}if(Be&&!Te){var An=i.constructor,er=l.constructor;An!=er&&"constructor"in i&&"constructor"in l&&!(typeof An=="function"&&An instanceof An&&typeof er=="function"&&er instanceof er)&&(Be=!1)}return k.delete(i),k.delete(l),Be}function uo(i){return Gf(yy(i,n,Ty),i+"")}function $f(i){return Pg(i,Jt,Bf)}function jf(i){return Pg(i,$n,dy)}var Uf=wl?function(i){return wl.get(i)}:sd;function Nl(i){for(var l=i.name+"",d=Ki[l],m=lt.call(Ki,l)?d.length:0;m--;){var b=d[m],k=b.func;if(k==null||k==i)return b.name}return l}function Ji(i){var l=lt.call(C,"placeholder")?C:i;return l.placeholder}function xe(){var i=C.iteratee||od;return i=i===od?Mg:i,arguments.length?i(arguments[0],arguments[1]):i}function Dl(i,l){var d=i.__data__;return XO(l)?d[typeof l=="string"?"string":"hash"]:d.map}function zf(i){for(var l=Jt(i),d=l.length;d--;){var m=l[d],b=i[m];l[d]=[m,b,my(b)]}return l}function hi(i,l){var d=Zx(i,l);return Lg(d)?d:n}function WO(i){var l=lt.call(i,ci),d=i[ci];try{i[ci]=n;var m=!0}catch{}var b=pl.call(i);return m&&(l?i[ci]=d:delete i[ci]),b}var Bf=mf?function(i){return i==null?[]:(i=wt(i),No(mf(i),function(l){return bg.call(i,l)}))}:ad,dy=mf?function(i){for(var l=[];i;)Do(l,Bf(i)),i=gl(i);return l}:ad,mn=xn;(gf&&mn(new gf(new ArrayBuffer(1)))!=Xe||Ws&&mn(new Ws)!=J||yf&&mn(yf.resolve())!=L||Gi&&mn(new Gi)!=fe||Hs&&mn(new Hs)!=be)&&(mn=function(i){var l=xn(i),d=l==R?i.constructor:n,m=d?mi(d):"";if(m)switch(m){case k1:return Xe;case T1:return J;case x1:return L;case O1:return fe;case A1:return be}return l});function HO(i,l,d){for(var m=-1,b=d.length;++m<b;){var k=d[m],D=k.size;switch(k.type){case"drop":i+=D;break;case"dropRight":l-=D;break;case"take":l=hn(l,i+D);break;case"takeRight":i=Yt(i,l-D);break}}return{start:i,end:l}}function VO(i){var l=i.match(QT);return l?l[1].split(ZT):[]}function py(i,l,d){l=zo(l,i);for(var m=-1,b=l.length,k=!1;++m<b;){var D=Tr(l[m]);if(!(k=i!=null&&d(i,D)))break;i=i[D]}return k||++m!=b?k:(b=i==null?0:i.length,!!b&&Wl(b)&&fo(D,b)&&(De(i)||gi(i)))}function GO(i){var l=i.length,d=new i.constructor(l);return l&&typeof i[0]=="string"&<.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function hy(i){return typeof i.constructor=="function"&&!Zs(i)?qi(gl(i)):{}}function KO(i,l,d){var m=i.constructor;switch(l){case $e:return Nf(i);case pe:case we:return new m(+i);case Xe:return RO(i,d);case Ze:case pn:case Tn:case so:case Fi:case sn:case Nn:case $i:case ji:return Xg(i,d);case J:return new m;case re:case se:return new m(i);case W:return PO(i);case fe:return new m;case U:return IO(i)}}function qO(i,l){var d=l.length;if(!d)return i;var m=d-1;return l[m]=(d>1?"& ":"")+l[m],l=l.join(d>2?", ":" "),i.replace(JT,`{
|
|
25
|
+
`,document.head.appendChild(e)}const QB=200,rc=new WeakMap;function ZB(e){if(e.querySelector(`.${Fu}`))return;e.classList.add(iC),getComputedStyle(e).position==="static"&&(e.style.position="relative"),JB(),e.appendChild(XB())}function eW(e){const t=e.querySelector(`.${Fu}`);t&&t.remove(),e.classList.remove(iC)}function Y_(e,t){const n=rc.get(e);if(t.value){if(n)return;if(!e.querySelector(`.${Fu}`)){const o=setTimeout(()=>{rc.delete(e),ZB(e)},QB);rc.set(e,o)}}else n&&(clearTimeout(n),rc.delete(e)),eW(e)}const tW={mounted(e,t){Y_(e,t)},updated(e,t){t.value!==t.oldValue&&Y_(e,t)}};function nW(e){qz(e),Uz(e),qB(e),e.directive("loading",tW)}function sC(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function rW(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&sC(e.default)}const ut=Object.assign;function Md(e,t){const n={};for(const r in t){const o=t[r];n[r]=jr(o)?o.map(e):e(o)}return n}const Ta=()=>{},jr=Array.isArray;function X_(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}const aC=Symbol("");function Rs(e,t){return ut(new Error,{type:e,[aC]:!0},t)}function yo(e,t){return e instanceof Error&&aC in e&&(t==null||!!(e.type&t))}const oW=Symbol(""),J_=Symbol(""),Zh=Symbol(""),lC=Symbol(""),qp=Symbol("");const ps=typeof document<"u",cC=/#/g,iW=/&/g,sW=/\//g,aW=/=/g,lW=/\?/g,uC=/\+/g,cW=/%5B/g,uW=/%5D/g,fC=/%5E/g,fW=/%60/g,dC=/%7B/g,dW=/%7C/g,pC=/%7D/g,pW=/%20/g;function em(e){return e==null?"":encodeURI(""+e).replace(dW,"|").replace(cW,"[").replace(uW,"]")}function hW(e){return em(e).replace(dC,"{").replace(pC,"}").replace(fC,"^")}function Yp(e){return em(e).replace(uC,"%2B").replace(pW,"+").replace(cC,"%23").replace(iW,"%26").replace(fW,"`").replace(dC,"{").replace(pC,"}").replace(fC,"^")}function mW(e){return Yp(e).replace(aW,"%3D")}function gW(e){return em(e).replace(cC,"%23").replace(lW,"%3F")}function yW(e){return gW(e).replace(sW,"%2F")}function Xc(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bW=/\/$/,_W=e=>e.replace(bW,"");function Nd(e,t,n="/"){let r,o={},s="",a="";const c=t.indexOf("#");let u=t.indexOf("?");return u=c>=0&&u>c?-1:u,u>=0&&(r=t.slice(0,u),s=t.slice(u,c>0?c:t.length),o=e(s.slice(1))),c>=0&&(r=r||t.slice(0,c),a=t.slice(c,t.length)),r=SW(r??t,n),{fullPath:r+s+a,path:r,query:o,hash:Xc(a)}}function vW(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Q_(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wW(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ps(t.matched[r],n.matched[o])&&hC(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ps(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hC(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!EW(e[n],t[n]))return!1;return!0}function EW(e,t){return jr(e)?Z_(e,t):jr(t)?Z_(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Z_(e,t){return jr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function SW(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,c;for(a=0;a<r.length;a++)if(c=r[a],c!==".")if(c==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}const Ho={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};function CW(e){if(!e)if(ps){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),_W(e)}const kW=/^[^#]+#/;function TW(e,t){return e.replace(kW,"#")+t}function xW(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 $u=()=>({left:window.scrollX,top:window.scrollY});function OW(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=xW(o,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 ev(e,t){return(history.state?history.state.position-t:-1)+e}const Xp=new Map;function AW(e,t){Xp.set(e,t)}function RW(e){const t=Xp.get(e);return Xp.delete(e),t}function PW(e){return typeof e=="string"||e&&typeof e=="object"}function mC(e){return typeof e=="string"||typeof e=="symbol"}function LW(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(uC," "),s=o.indexOf("="),a=Xc(s<0?o:o.slice(0,s)),c=s<0?null:Xc(o.slice(s+1));if(a in t){let u=t[a];jr(u)||(u=t[a]=[u]),u.push(c)}else t[a]=c}return t}function tv(e){let t="";for(let n in e){const r=e[n];if(n=mW(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(jr(r)?r.map(o=>o&&Yp(o)):[r&&Yp(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function IW(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=jr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function la(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Jo(e,t,n,r,o,s=a=>a()){const a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((c,u)=>{const f=g=>{g===!1?u(Rs(4,{from:n,to:t})):g instanceof Error?u(g):PW(g)?u(Rs(2,{from:t,to:g})):(a&&r.enterCallbacks[o]===a&&typeof g=="function"&&a.push(g),c())},p=s(()=>e.call(r&&r.instances[o],t,n,f));let h=Promise.resolve(p);e.length<3&&(h=h.then(f)),h.catch(g=>u(g))})}function Dd(e,t,n,r,o=s=>s()){const s=[];for(const a of e)for(const c in a.components){let u=a.components[c];if(!(t!=="beforeRouteEnter"&&!a.instances[c]))if(sC(u)){const f=(u.__vccOpts||u)[t];f&&s.push(Jo(f,n,r,a,c,o))}else{let f=u();s.push(()=>f.then(p=>{if(!p)throw new Error(`Couldn't resolve component "${c}" at "${a.path}"`);const h=rW(p)?p.default:p;a.mods[c]=p,a.components[c]=h;const g=(h.__vccOpts||h)[t];return g&&Jo(g,n,r,a,c,o)()}))}}return s}function MW(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const c=t.matched[a];c&&(e.matched.find(f=>Ps(f,c))?r.push(c):n.push(c));const u=e.matched[a];u&&(t.matched.find(f=>Ps(f,u))||o.push(u))}return[n,r,o]}let NW=()=>location.protocol+"//"+location.host;function gC(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,c=o.slice(a);return c[0]!=="/"&&(c="/"+c),Q_(c,"")}return Q_(n,e)+r+o}function DW(e,t,n,r){let o=[],s=[],a=null;const c=({state:g})=>{const y=gC(e,location),w=n.value,_=t.value;let O=0;if(g){if(n.value=y,t.value=g,a&&a===w){a=null;return}O=_?g.position-_.position:0}else r(y);o.forEach(S=>{S(n.value,w,{delta:O,type:"pop",direction:O?O>0?"forward":"back":""})})};function u(){a=n.value}function f(g){o.push(g);const y=()=>{const w=o.indexOf(g);w>-1&&o.splice(w,1)};return s.push(y),y}function p(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(ut({},g.state,{scroll:$u()}),"")}}function h(){for(const g of s)g();s=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",p),document.removeEventListener("visibilitychange",p)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",p),document.addEventListener("visibilitychange",p),{pauseListeners:u,listen:f,destroy:h}}function nv(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?$u():null}}function FW(e){const{history:t,location:n}=window,r={value:gC(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(u,f,p){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+u:NW()+e+u;try{t[p?"replaceState":"pushState"](f,"",g),o.value=f}catch(y){console.error(y),n[p?"replace":"assign"](g)}}function a(u,f){s(u,ut({},t.state,nv(o.value.back,u,o.value.forward,!0),f,{position:o.value.position}),!0),r.value=u}function c(u,f){const p=ut({},o.value,t.state,{forward:u,scroll:$u()});s(p.current,p,!0),s(u,ut({},nv(r.value,u,null),{position:p.position+1},f),!1),r.value=u}return{location:r,state:o,push:c,replace:a}}function $W(e){e=CW(e);const t=FW(e),n=DW(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:TW.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}const jW={type:0,value:""},UW=/[a-zA-Z0-9_]/;function zW(e){if(!e)return[[]];if(e==="/")return[[jW]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${f}": ${y}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let c=0,u,f="",p="";function h(){f&&(n===0?s.push({type:0,value:f}):n===1||n===2||n===3?(s.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:f,regexp:p,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=u}for(;c<e.length;)switch(u=e[c++],n){case 0:u==="\\"?(r=n,n=4):u==="/"?(f&&h(),a()):u===":"?(h(),n=1):g();break;case 4:g(),n=r;break;case 1:u==="("?n=2:UW.test(u)?g():(h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--);break;case 2:u===")"?p[p.length-1]=="\\"?p=p.slice(0,-1)+u:n=3:p+=u;break;case 3:h(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&c--,p="";break;default:t("Unknown state");break}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),a(),o}const rv="[^/]+?",BW={sensitive:!1,strict:!1,start:!0,end:!0},WW=/[.+*?^${}()[\]/\\]/g;function HW(e,t){const n=ut({},BW,t),r=[];let o=n.start?"^":"";const s=[];for(const f of e){const p=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const g=f[h];let y=40+(n.sensitive?.25:0);if(g.type===0)h||(o+="/"),o+=g.value.replace(WW,"\\$&"),y+=40;else if(g.type===1){const{value:w,repeatable:_,optional:O,regexp:S}=g;s.push({name:w,repeatable:_,optional:O});const v=S||rv;if(v!==rv){y+=10;try{new RegExp(`(${v})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${w}" (${v}): `+E.message)}}let T=_?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;h||(T=O&&f.length<2?`(?:/${T})`:"/"+T),O&&(T+="?"),o+=T,y+=20,O&&(y+=-8),_&&(y+=-20),v===".*"&&(y+=-50)}p.push(y)}r.push(p)}if(n.strict&&n.end){const f=r.length-1;r[f][r[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function c(f){const p=f.match(a),h={};if(!p)return null;for(let g=1;g<p.length;g++){const y=p[g]||"",w=s[g-1];h[w.name]=y&&w.repeatable?y.split("/"):y}return h}function u(f){let p="",h=!1;for(const g of e){(!h||!p.endsWith("/"))&&(p+="/"),h=!1;for(const y of g)if(y.type===0)p+=y.value;else if(y.type===1){const{value:w,repeatable:_,optional:O}=y,S=w in f?f[w]:"";if(jr(S)&&!_)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const v=jr(S)?S.join("/"):S;if(!v)if(O)g.length<2&&(p.endsWith("/")?p=p.slice(0,-1):h=!0);else throw new Error(`Missing required param "${w}"`);p+=v}}return p||"/"}return{re:a,score:r,keys:s,parse:c,stringify:u}}function VW(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 yC(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=VW(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(ov(r))return 1;if(ov(o))return-1}return o.length-r.length}function ov(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const GW={strict:!1,end:!0,sensitive:!1};function KW(e,t,n){const r=HW(zW(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function qW(e,t){const n=[],r=new Map;t=X_(GW,t);function o(h){return r.get(h)}function s(h,g,y){const w=!y,_=sv(h);_.aliasOf=y&&y.record;const O=X_(t,h),S=[_];if("alias"in h){const E=typeof h.alias=="string"?[h.alias]:h.alias;for(const R of E)S.push(sv(ut({},_,{components:y?y.record.components:_.components,path:R,aliasOf:y?y.record:_})))}let v,T;for(const E of S){const{path:R}=E;if(g&&R[0]!=="/"){const A=g.record.path,L=A[A.length-1]==="/"?"":"/";E.path=g.record.path+(R&&L+R)}if(v=KW(E,g,O),y?y.alias.push(v):(T=T||v,T!==v&&T.alias.push(v),w&&h.name&&!av(v)&&a(h.name)),bC(v)&&u(v),_.children){const A=_.children;for(let L=0;L<A.length;L++)s(A[L],v,y&&y.children[L])}y=y||v}return T?()=>{a(T)}:Ta}function a(h){if(mC(h)){const g=r.get(h);g&&(r.delete(h),n.splice(n.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=n.indexOf(h);g>-1&&(n.splice(g,1),h.record.name&&r.delete(h.record.name),h.children.forEach(a),h.alias.forEach(a))}}function c(){return n}function u(h){const g=JW(h,n);n.splice(g,0,h),h.record.name&&!av(h)&&r.set(h.record.name,h)}function f(h,g){let y,w={},_,O;if("name"in h&&h.name){if(y=r.get(h.name),!y)throw Rs(1,{location:h});O=y.record.name,w=ut(iv(g.params,y.keys.filter(T=>!T.optional).concat(y.parent?y.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),h.params&&iv(h.params,y.keys.map(T=>T.name))),_=y.stringify(w)}else if(h.path!=null)_=h.path,y=n.find(T=>T.re.test(_)),y&&(w=y.parse(_),O=y.record.name,y.keys.forEach(T=>{T.optional&&!w[T.name]&&delete w[T.name]}));else{if(y=g.name?r.get(g.name):n.find(T=>T.re.test(g.path)),!y)throw Rs(1,{location:h,currentLocation:g});O=y.record.name,w=ut({},g.params,h.params),_=y.stringify(w)}const S=[];let v=y;for(;v;)S.unshift(v.record),v=v.parent;return{name:O,path:_,params:w,matched:S,meta:XW(S)}}e.forEach(h=>s(h));function p(){n.length=0,r.clear()}return{addRoute:s,resolve:f,removeRoute:a,clearRoutes:p,getRoutes:c,getRecordMatcher:o}}function iv(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function sv(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:YW(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function YW(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 av(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function XW(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function JW(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;yC(e,t[s])<0?r=s:n=s+1}const o=QW(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function QW(e){let t=e;for(;t=t.parent;)if(bC(t)&&yC(e,t)===0)return t}function bC({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function lv(e){const t=En(Zh),n=En(lC),r=ce(()=>{const u=je(e.to);return t.resolve(u)}),o=ce(()=>{const{matched:u}=r.value,{length:f}=u,p=u[f-1],h=n.matched;if(!p||!h.length)return-1;const g=h.findIndex(Ps.bind(null,p));if(g>-1)return g;const y=cv(u[f-2]);return f>1&&cv(p)===y&&h[h.length-1].path!==y?h.findIndex(Ps.bind(null,u[f-2])):g}),s=ce(()=>o.value>-1&&nH(n.params,r.value.params)),a=ce(()=>o.value>-1&&o.value===n.matched.length-1&&hC(n.params,r.value.params));function c(u={}){if(tH(u)){const f=t[je(e.replace)?"replace":"push"](je(e.to)).catch(Ta);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:r,href:ce(()=>r.value.href),isActive:s,isExactActive:a,navigate:c}}function ZW(e){return e.length===1?e[0]:e}const eH=It({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"},viewTransition:Boolean},useLink:lv,setup(e,{slots:t}){const n=Ga(lv(e)),{options:r}=En(Zh),o=ce(()=>({[uv(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[uv(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&ZW(t.default(n));return e.custom?s:ri("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}});function tH(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 nH(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!jr(o)||o.length!==r.length||r.some((s,a)=>s.valueOf()!==o[a].valueOf()))return!1}return!0}function cv(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const uv=(e,t,n)=>e??t??n,rH=It({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=En(qp),o=ce(()=>e.route||r.value),s=En(J_,0),a=ce(()=>{let f=je(s);const{matched:p}=o.value;let h;for(;(h=p[f])&&!h.components;)f++;return f}),c=ce(()=>o.value.matched[a.value]);Ti(J_,ce(()=>a.value+1)),Ti(oW,c),Ti(qp,o);const u=Re();return gt(()=>[u.value,c.value,e.name],([f,p,h],[g,y,w])=>{p&&(p.instances[h]=f,y&&y!==p&&f&&f===g&&(p.leaveGuards.size||(p.leaveGuards=y.leaveGuards),p.updateGuards.size||(p.updateGuards=y.updateGuards))),f&&p&&(!y||!Ps(p,y)||!g)&&(p.enterCallbacks[h]||[]).forEach(_=>_(f))},{flush:"post"}),()=>{const f=o.value,p=e.name,h=c.value,g=h&&h.components[p];if(!g)return fv(n.default,{Component:g,route:f});const y=h.props[p],w=y?y===!0?f.params:typeof y=="function"?y(f):y:null,O=ri(g,ut({},w,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[p]=null)},ref:u}));return fv(n.default,{Component:O,route:f})||O}}});function fv(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const oH=rH;function iH(e){const t=qW(e.routes,e),n=e.parseQuery||LW,r=e.stringifyQuery||tv,o=e.history,s=la(),a=la(),c=la(),u=In(Ho);let f=Ho;ps&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const p=Md.bind(null,ee=>""+ee),h=Md.bind(null,yW),g=Md.bind(null,Xc);function y(ee,ge){let pe,ve;return mC(ee)?(pe=t.getRecordMatcher(ee),ve=ge):ve=ee,t.addRoute(ve,pe)}function w(ee){const ge=t.getRecordMatcher(ee);ge&&t.removeRoute(ge)}function _(){return t.getRoutes().map(ee=>ee.record)}function O(ee){return!!t.getRecordMatcher(ee)}function S(ee,ge){if(ge=ut({},ge||u.value),typeof ee=="string"){const V=Nd(n,ee,ge.path),J=t.resolve({path:V.path},ge),te=o.createHref(V.fullPath);return ut(V,J,{params:g(J.params),redirectedFrom:void 0,href:te})}let pe;if(ee.path!=null)pe=ut({},ee,{path:Nd(n,ee.path,ge.path).path});else{const V=ut({},ee.params);for(const J in V)V[J]==null&&delete V[J];pe=ut({},ee,{params:h(V)}),ge.params=h(ge.params)}const ve=t.resolve(pe,ge),ze=ee.hash||"";ve.params=p(g(ve.params));const M=vW(r,ut({},ee,{hash:hW(ze),path:ve.path})),F=o.createHref(M);return ut({fullPath:M,hash:ze,query:r===tv?IW(ee.query):ee.query||{}},ve,{redirectedFrom:void 0,href:F})}function v(ee){return typeof ee=="string"?Nd(n,ee,u.value.path):ut({},ee)}function T(ee,ge){if(f!==ee)return Rs(8,{from:ge,to:ee})}function E(ee){return L(ee)}function R(ee){return E(ut(v(ee),{replace:!0}))}function A(ee,ge){const pe=ee.matched[ee.matched.length-1];if(pe&&pe.redirect){const{redirect:ve}=pe;let ze=typeof ve=="function"?ve(ee,ge):ve;return typeof ze=="string"&&(ze=ze.includes("?")||ze.includes("#")?ze=v(ze):{path:ze},ze.params={}),ut({query:ee.query,hash:ee.hash,params:ze.path!=null?{}:ee.params},ze)}}function L(ee,ge){const pe=f=S(ee),ve=u.value,ze=ee.state,M=ee.force,F=ee.replace===!0,V=A(pe,ve);if(V)return L(ut(v(V),{state:typeof V=="object"?ut({},ze,V.state):ze,force:M,replace:F}),ge||pe);const J=pe;J.redirectedFrom=ge;let te;return!M&&wW(r,ve,pe)&&(te=Rs(16,{to:J,from:ve}),tt(ve,ve,!0,!1)),(te?Promise.resolve(te):G(J,ve)).catch(Q=>yo(Q)?yo(Q,2)?Q:rn(Q):Ee(Q,J,ve)).then(Q=>{if(Q){if(yo(Q,2))return L(ut({replace:F},v(Q.to),{state:typeof Q.to=="object"?ut({},ze,Q.to.state):ze,force:M}),ge||J)}else Q=ae(J,ve,!0,F,ze);return K(J,ve,Q),Q})}function x(ee,ge){const pe=T(ee,ge);return pe?Promise.reject(pe):Promise.resolve()}function N(ee){const ge=on.values().next().value;return ge&&typeof ge.runWithContext=="function"?ge.runWithContext(ee):ee()}function G(ee,ge){let pe;const[ve,ze,M]=MW(ee,ge);pe=Dd(ve.reverse(),"beforeRouteLeave",ee,ge);for(const V of ve)V.leaveGuards.forEach(J=>{pe.push(Jo(J,ee,ge))});const F=x.bind(null,ee,ge);return pe.push(F),Mt(pe).then(()=>{pe=[];for(const V of s.list())pe.push(Jo(V,ee,ge));return pe.push(F),Mt(pe)}).then(()=>{pe=Dd(ze,"beforeRouteUpdate",ee,ge);for(const V of ze)V.updateGuards.forEach(J=>{pe.push(Jo(J,ee,ge))});return pe.push(F),Mt(pe)}).then(()=>{pe=[];for(const V of M)if(V.beforeEnter)if(jr(V.beforeEnter))for(const J of V.beforeEnter)pe.push(Jo(J,ee,ge));else pe.push(Jo(V.beforeEnter,ee,ge));return pe.push(F),Mt(pe)}).then(()=>(ee.matched.forEach(V=>V.enterCallbacks={}),pe=Dd(M,"beforeRouteEnter",ee,ge,N),pe.push(F),Mt(pe))).then(()=>{pe=[];for(const V of a.list())pe.push(Jo(V,ee,ge));return pe.push(F),Mt(pe)}).catch(V=>yo(V,8)?V:Promise.reject(V))}function K(ee,ge,pe){c.list().forEach(ve=>N(()=>ve(ee,ge,pe)))}function ae(ee,ge,pe,ve,ze){const M=T(ee,ge);if(M)return M;const F=ge===Ho,V=ps?history.state:{};pe&&(ve||F?o.replace(ee.fullPath,ut({scroll:F&&V&&V.scroll},ze)):o.push(ee.fullPath,ze)),u.value=ee,tt(ee,ge,pe,F),rn()}let ue;function B(){ue||(ue=o.listen((ee,ge,pe)=>{if(!kn.listening)return;const ve=S(ee),ze=A(ve,kn.currentRoute.value);if(ze){L(ut(ze,{replace:!0,force:!0}),ve).catch(Ta);return}f=ve;const M=u.value;ps&&AW(ev(M.fullPath,pe.delta),$u()),G(ve,M).catch(F=>yo(F,12)?F:yo(F,2)?(L(ut(v(F.to),{force:!0}),ve).then(V=>{yo(V,20)&&!pe.delta&&pe.type==="pop"&&o.go(-1,!1)}).catch(Ta),Promise.reject()):(pe.delta&&o.go(-pe.delta,!1),Ee(F,ve,M))).then(F=>{F=F||ae(ve,M,!1),F&&(pe.delta&&!yo(F,8)?o.go(-pe.delta,!1):pe.type==="pop"&&yo(F,20)&&o.go(-1,!1)),K(ve,M,F)}).catch(Ta)}))}let ne=la(),re=la(),he;function Ee(ee,ge,pe){rn(ee);const ve=re.list();return ve.length?ve.forEach(ze=>ze(ee,ge,pe)):console.error(ee),Promise.reject(ee)}function Ve(){return he&&u.value!==Ho?Promise.resolve():new Promise((ee,ge)=>{ne.add([ee,ge])})}function rn(ee){return he||(he=!ee,B(),ne.list().forEach(([ge,pe])=>ee?pe(ee):ge()),ne.reset()),ee}function tt(ee,ge,pe,ve){const{scrollBehavior:ze}=e;if(!ps||!ze)return Promise.resolve();const M=!pe&&RW(ev(ee.fullPath,0))||(ve||!pe)&&history.state&&history.state.scroll||null;return Ur().then(()=>ze(ee,ge,M)).then(F=>ee===u.value&&F&&OW(F)).catch(F=>ee===u.value&&Ee(F,ee,ge))}const Ge=ee=>o.go(ee);let dn;const on=new Set,kn={currentRoute:u,listening:!0,addRoute:y,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:O,getRoutes:_,resolve:S,options:e,push:E,replace:R,go:Ge,back:()=>Ge(-1),forward:()=>Ge(1),beforeEach:s.add,beforeResolve:a.add,afterEach:c.add,onError:re.add,isReady:Ve,install(ee){ee.component("RouterLink",eH),ee.component("RouterView",oH),ee.config.globalProperties.$router=kn,Object.defineProperty(ee.config.globalProperties,"$route",{enumerable:!0,get:()=>je(u)}),ps&&!dn&&u.value===Ho&&(dn=!0,E(o.location).catch(ve=>{}));const ge={};for(const ve in Ho)Object.defineProperty(ge,ve,{get:()=>u.value[ve],enumerable:!0});ee.provide(Zh,kn),ee.provide(lC,bE(ge)),ee.provide(qp,u);const pe=ee.unmount;on.add(ee),ee.unmount=function(){on.delete(ee),on.size<1&&(f=Ho,ue&&ue(),ue=null,u.value=Ho,dn=!1,he=!1),pe()}}};function Mt(ee){return ee.reduce((ge,pe)=>ge.then(()=>N(pe)),Promise.resolve())}return kn}function sH(e){return Va()?(Ch(e),!0):!1}const Fd=new WeakMap,aH=(...e)=>{var t;const n=e[0],r=(t=ar())==null?void 0:t.proxy;if(r==null&&!qa())throw new Error("injectLocal must be called in setup");return r&&Fd.has(r)&&n in Fd.get(r)?Fd.get(r)[n]:En(...e)},lH=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const cH=Object.prototype.toString,uH=e=>cH.call(e)==="[object Object]",fH=()=>{};function _C(...e){if(e.length!==1)return EE(...e);const t=e[0];return typeof t=="function"?Ss(wE(()=>({get:t,set:fH}))):Re(t)}function dH(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const vC=e=>e();function pH(e=vC,t={}){const{initialState:n="active"}=t,r=_C(n==="active");function o(){r.value=!1}function s(){r.value=!0}return{isActive:Ss(r),pause:o,resume:s,eventFilter:(...c)=>{r.value&&e(...c)}}}function dv(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function $d(e){return Array.isArray(e)?e:[e]}function hH(e){return ar()}function mH(e,t,n={}){const{eventFilter:r=vC,...o}=n;return gt(e,dH(r,t),o)}function gH(e,t,n={}){const{eventFilter:r,initialState:o="active",...s}=n,{eventFilter:a,pause:c,resume:u,isActive:f}=pH(r,{initialState:o});return{stop:mH(e,t,{...s,eventFilter:a}),pause:c,resume:u,isActive:f}}function wC(e,t=!0,n){hH()?Er(e,n):t?e():Ur(e)}function yH(e,t,n){return gt(e,t,{...n,immediate:!0})}const za=lH?window:void 0;function EC(e){var t;const n=en(e);return(t=n?.$el)!=null?t:n}function Jp(...e){const t=[],n=()=>{t.forEach(c=>c()),t.length=0},r=(c,u,f,p)=>(c.addEventListener(u,f,p),()=>c.removeEventListener(u,f,p)),o=ce(()=>{const c=$d(en(e[0])).filter(u=>u!=null);return c.every(u=>typeof u!="string")?c:void 0}),s=yH(()=>{var c,u;return[(u=(c=o.value)==null?void 0:c.map(f=>EC(f)))!=null?u:[za].filter(f=>f!=null),$d(en(o.value?e[1]:e[0])),$d(je(o.value?e[2]:e[1])),en(o.value?e[3]:e[2])]},([c,u,f,p])=>{if(n(),!c?.length||!u?.length||!f?.length)return;const h=uH(p)?{...p}:p;t.push(...c.flatMap(g=>u.flatMap(y=>f.map(w=>r(g,y,w,h)))))},{flush:"post"}),a=()=>{s(),n()};return sH(n),a}function bH(){const e=In(!1),t=ar();return t&&Er(()=>{e.value=!0},t),e}function _H(e){const t=bH();return ce(()=>(t.value,!!e()))}const vH=Symbol("vueuse-ssr-width");function wH(){const e=qa()?aH(vH,null):null;return typeof e=="number"?e:void 0}function EH(e,t={}){const{window:n=za,ssrWidth:r=wH()}=t,o=_H(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),s=In(typeof r=="number"),a=In(),c=In(!1),u=f=>{c.value=f.matches};return AE(()=>{if(s.value){s.value=!o.value;const f=en(e).split(",");c.value=f.some(p=>{const h=p.includes("not all"),g=p.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=p.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let w=!!(g||y);return g&&w&&(w=r>=dv(g[1])),y&&w&&(w=r<=dv(y[1])),h?!w:w});return}o.value&&(a.value=n.matchMedia(en(e)),c.value=a.value.matches)}),Jp(a,"change",u,{passive:!0}),ce(()=>c.value)}const oc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ic="__vueuse_ssr_handlers__",SH=CH();function CH(){return ic in oc||(oc[ic]=oc[ic]||{}),oc[ic]}function SC(e,t){return SH[e]||t}function kH(e){return EH("(prefers-color-scheme: dark)",e)}function TH(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const xH={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},pv="vueuse-storage";function OH(e,t,n,r={}){var o;const{flush:s="pre",deep:a=!0,listenToStorageChanges:c=!0,writeDefaults:u=!0,mergeDefaults:f=!1,shallow:p,window:h=za,eventFilter:g,onError:y=B=>{console.error(B)},initOnMounted:w}=r,_=(p?In:Re)(typeof t=="function"?t():t),O=ce(()=>en(e));if(!n)try{n=SC("getDefaultStorage",()=>{var B;return(B=za)==null?void 0:B.localStorage})()}catch(B){y(B)}if(!n)return _;const S=en(t),v=TH(S),T=(o=r.serializer)!=null?o:xH[v],{pause:E,resume:R}=gH(_,B=>G(B),{flush:s,deep:a,eventFilter:g});gt(O,()=>ae(),{flush:s});let A=!1;const L=B=>{w&&!A||ae(B)},x=B=>{w&&!A||ue(B)};h&&c&&(n instanceof Storage?Jp(h,"storage",L,{passive:!0}):Jp(h,pv,x)),w?wC(()=>{A=!0,ae()}):ae();function N(B,ne){if(h){const re={key:O.value,oldValue:B,newValue:ne,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",re):new CustomEvent(pv,{detail:re}))}}function G(B){try{const ne=n.getItem(O.value);if(B==null)N(ne,null),n.removeItem(O.value);else{const re=T.write(B);ne!==re&&(n.setItem(O.value,re),N(ne,re))}}catch(ne){y(ne)}}function K(B){const ne=B?B.newValue:n.getItem(O.value);if(ne==null)return u&&S!=null&&n.setItem(O.value,T.write(S)),S;if(!B&&f){const re=T.read(ne);return typeof f=="function"?f(re,S):v==="object"&&!Array.isArray(re)?{...S,...re}:re}else return typeof ne!="string"?ne:T.read(ne)}function ae(B){if(!(B&&B.storageArea!==n)){if(B&&B.key==null){_.value=S;return}if(!(B&&B.key!==O.value)){E();try{const ne=T.write(_.value);(B===void 0||B?.newValue!==ne)&&(_.value=K(B))}catch(ne){y(ne)}finally{B?Ur(R):R()}}}}function ue(B){ae(B.detail)}return _}const AH="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function RH(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=za,storage:s,storageKey:a="vueuse-color-scheme",listenToStorageChanges:c=!0,storageRef:u,emitAuto:f,disableTransition:p=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},g=kH({window:o}),y=ce(()=>g.value?"dark":"light"),w=u||(a==null?_C(r):OH(a,r,s,{window:o,listenToStorageChanges:c})),_=ce(()=>w.value==="auto"?y.value:w.value),O=SC("updateHTMLAttrs",(E,R,A)=>{const L=typeof E=="string"?o?.document.querySelector(E):EC(E);if(!L)return;const x=new Set,N=new Set;let G=null;if(R==="class"){const ae=A.split(/\s/g);Object.values(h).flatMap(ue=>(ue||"").split(/\s/g)).filter(Boolean).forEach(ue=>{ae.includes(ue)?x.add(ue):N.add(ue)})}else G={key:R,value:A};if(x.size===0&&N.size===0&&G===null)return;let K;p&&(K=o.document.createElement("style"),K.appendChild(document.createTextNode(AH)),o.document.head.appendChild(K));for(const ae of x)L.classList.add(ae);for(const ae of N)L.classList.remove(ae);G&&L.setAttribute(G.key,G.value),p&&(o.getComputedStyle(K).opacity,document.head.removeChild(K))});function S(E){var R;O(t,n,(R=h[E])!=null?R:E)}function v(E){e.onChanged?e.onChanged(E,S):S(E)}gt(_,v,{flush:"post",immediate:!0}),wC(()=>v(_.value));const T=ce({get(){return f?w.value:_.value},set(E){w.value=E}});return Object.assign(T,{store:w,system:y,state:_})}function CC(e={}){const{valueDark:t="dark",valueLight:n=""}=e,r=RH({...e,onChanged:(a,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,a==="dark",c,a):c(a)},modes:{dark:t,light:n}}),o=ce(()=>r.system.value);return ce({get(){return r.value==="dark"},set(a){const c=a?"dark":"light";o.value===c?r.value="auto":r.value=c}})}var sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Tc={exports:{}},PH=Tc.exports,hv;function LH(){return hv||(hv=1,(function(e,t){(function(){var n,r="4.18.1",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="Invalid `imports` option passed into `_.template`",f="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",g=1,y=2,w=4,_=1,O=2,S=1,v=2,T=4,E=8,R=16,A=32,L=64,x=128,N=256,G=512,K=30,ae="...",ue=800,B=16,ne=1,re=2,he=3,Ee=1/0,Ve=9007199254740991,rn=17976931348623157e292,tt=NaN,Ge=4294967295,dn=Ge-1,on=Ge>>>1,kn=[["ary",x],["bind",S],["bindKey",v],["curry",E],["curryRight",R],["flip",G],["partial",A],["partialRight",L],["rearg",N]],Mt="[object Arguments]",ee="[object Array]",ge="[object AsyncFunction]",pe="[object Boolean]",ve="[object Date]",ze="[object DOMException]",M="[object Error]",F="[object Function]",V="[object GeneratorFunction]",J="[object Map]",te="[object Number]",Q="[object Null]",P="[object Object]",I="[object Promise]",j="[object Proxy]",W="[object RegExp]",fe="[object Set]",ie="[object String]",U="[object Symbol]",X="[object Undefined]",be="[object WeakMap]",ke="[object WeakSet]",$e="[object ArrayBuffer]",Xe="[object DataView]",Ze="[object Float32Array]",pn="[object Float64Array]",Tn="[object Int8Array]",io="[object Int16Array]",Fi="[object Int32Array]",sn="[object Uint8Array]",Nn="[object Uint8ClampedArray]",$i="[object Uint16Array]",ji="[object Uint32Array]",jT=/\b__p \+= '';/g,UT=/\b(__p \+=) '' \+/g,zT=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xm=/&(?:amp|lt|gt|quot|#39);/g,Om=/[&<>"']/g,BT=RegExp(xm.source),WT=RegExp(Om.source),HT=/<%-([\s\S]+?)%>/g,VT=/<%([\s\S]+?)%>/g,Am=/<%=([\s\S]+?)%>/g,GT=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,KT=/^\w*$/,qT=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yu=/[\\^$.*+?()[\]{}|]/g,YT=RegExp(Yu.source),Xu=/^\s+/,XT=/\s/,JT=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,QT=/\{\n\/\* \[wrapped with (.+)\] \*/,ZT=/,? & /,ex=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Rm=/[()=,{}\[\]\/\s]/,tx=/\\(\\)?/g,nx=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Pm=/\w*$/,rx=/^[-+]0x[0-9a-f]+$/i,ox=/^0b[01]+$/i,ix=/^\[object .+?Constructor\]$/,sx=/^0o[0-7]+$/i,ax=/^(?:0|[1-9]\d*)$/,lx=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ol=/($^)/,cx=/['\n\r\u2028\u2029\\]/g,il="\\ud800-\\udfff",ux="\\u0300-\\u036f",fx="\\ufe20-\\ufe2f",dx="\\u20d0-\\u20ff",Lm=ux+fx+dx,Im="\\u2700-\\u27bf",Mm="a-z\\xdf-\\xf6\\xf8-\\xff",px="\\xac\\xb1\\xd7\\xf7",hx="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",mx="\\u2000-\\u206f",gx=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Nm="A-Z\\xc0-\\xd6\\xd8-\\xde",Dm="\\ufe0e\\ufe0f",Fm=px+hx+mx+gx,Ju="['’]",yx="["+il+"]",$m="["+Fm+"]",sl="["+Lm+"]",jm="\\d+",bx="["+Im+"]",Um="["+Mm+"]",zm="[^"+il+Fm+jm+Im+Mm+Nm+"]",Qu="\\ud83c[\\udffb-\\udfff]",_x="(?:"+sl+"|"+Qu+")",Bm="[^"+il+"]",Zu="(?:\\ud83c[\\udde6-\\uddff]){2}",ef="[\\ud800-\\udbff][\\udc00-\\udfff]",Ui="["+Nm+"]",Wm="\\u200d",Hm="(?:"+Um+"|"+zm+")",vx="(?:"+Ui+"|"+zm+")",Vm="(?:"+Ju+"(?:d|ll|m|re|s|t|ve))?",Gm="(?:"+Ju+"(?:D|LL|M|RE|S|T|VE))?",Km=_x+"?",qm="["+Dm+"]?",wx="(?:"+Wm+"(?:"+[Bm,Zu,ef].join("|")+")"+qm+Km+")*",Ex="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sx="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ym=qm+Km+wx,Cx="(?:"+[bx,Zu,ef].join("|")+")"+Ym,kx="(?:"+[Bm+sl+"?",sl,Zu,ef,yx].join("|")+")",Tx=RegExp(Ju,"g"),xx=RegExp(sl,"g"),tf=RegExp(Qu+"(?="+Qu+")|"+kx+Ym,"g"),Ox=RegExp([Ui+"?"+Um+"+"+Vm+"(?="+[$m,Ui,"$"].join("|")+")",vx+"+"+Gm+"(?="+[$m,Ui+Hm,"$"].join("|")+")",Ui+"?"+Hm+"+"+Vm,Ui+"+"+Gm,Sx,Ex,jm,Cx].join("|"),"g"),Ax=RegExp("["+Wm+il+Lm+Dm+"]"),Rx=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Px=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Lx=-1,Ot={};Ot[Ze]=Ot[pn]=Ot[Tn]=Ot[io]=Ot[Fi]=Ot[sn]=Ot[Nn]=Ot[$i]=Ot[ji]=!0,Ot[Mt]=Ot[ee]=Ot[$e]=Ot[pe]=Ot[Xe]=Ot[ve]=Ot[M]=Ot[F]=Ot[J]=Ot[te]=Ot[P]=Ot[W]=Ot[fe]=Ot[ie]=Ot[be]=!1;var Et={};Et[Mt]=Et[ee]=Et[$e]=Et[Xe]=Et[pe]=Et[ve]=Et[Ze]=Et[pn]=Et[Tn]=Et[io]=Et[Fi]=Et[J]=Et[te]=Et[P]=Et[W]=Et[fe]=Et[ie]=Et[U]=Et[sn]=Et[Nn]=Et[$i]=Et[ji]=!0,Et[M]=Et[F]=Et[be]=!1;var Ix={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Mx={"&":"&","<":"<",">":">",'"':""","'":"'"},Nx={"&":"&","<":"<",">":">",""":'"',"'":"'"},Dx={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Fx=parseFloat,$x=parseInt,Xm=typeof sc=="object"&&sc&&sc.Object===Object&&sc,jx=typeof self=="object"&&self&&self.Object===Object&&self,an=Xm||jx||Function("return this")(),nf=t&&!t.nodeType&&t,li=nf&&!0&&e&&!e.nodeType&&e,Jm=li&&li.exports===nf,rf=Jm&&Xm.process,cr=(function(){try{var z=li&&li.require&&li.require("util").types;return z||rf&&rf.binding&&rf.binding("util")}catch{}})(),Qm=cr&&cr.isArrayBuffer,Zm=cr&&cr.isDate,eg=cr&&cr.isMap,tg=cr&&cr.isRegExp,ng=cr&&cr.isSet,rg=cr&&cr.isTypedArray;function qn(z,Z,Y){switch(Y.length){case 0:return z.call(Z);case 1:return z.call(Z,Y[0]);case 2:return z.call(Z,Y[0],Y[1]);case 3:return z.call(Z,Y[0],Y[1],Y[2])}return z.apply(Z,Y)}function Ux(z,Z,Y,_e){for(var Me=-1,st=z==null?0:z.length;++Me<st;){var qt=z[Me];Z(_e,qt,Y(qt),z)}return _e}function Yn(z,Z){for(var Y=-1,_e=z==null?0:z.length;++Y<_e&&Z(z[Y],Y,z)!==!1;);return z}function zx(z,Z){for(var Y=z==null?0:z.length;Y--&&Z(z[Y],Y,z)!==!1;);return z}function og(z,Z){for(var Y=-1,_e=z==null?0:z.length;++Y<_e;)if(!Z(z[Y],Y,z))return!1;return!0}function No(z,Z){for(var Y=-1,_e=z==null?0:z.length,Me=0,st=[];++Y<_e;){var qt=z[Y];Z(qt,Y,z)&&(st[Me++]=qt)}return st}function al(z,Z){var Y=z==null?0:z.length;return!!Y&&zi(z,Z,0)>-1}function of(z,Z,Y){for(var _e=-1,Me=z==null?0:z.length;++_e<Me;)if(Y(Z,z[_e]))return!0;return!1}function Pt(z,Z){for(var Y=-1,_e=z==null?0:z.length,Me=Array(_e);++Y<_e;)Me[Y]=Z(z[Y],Y,z);return Me}function Do(z,Z){for(var Y=-1,_e=Z.length,Me=z.length;++Y<_e;)z[Me+Y]=Z[Y];return z}function sf(z,Z,Y,_e){var Me=-1,st=z==null?0:z.length;for(_e&&st&&(Y=z[++Me]);++Me<st;)Y=Z(Y,z[Me],Me,z);return Y}function Bx(z,Z,Y,_e){var Me=z==null?0:z.length;for(_e&&Me&&(Y=z[--Me]);Me--;)Y=Z(Y,z[Me],Me,z);return Y}function af(z,Z){for(var Y=-1,_e=z==null?0:z.length;++Y<_e;)if(Z(z[Y],Y,z))return!0;return!1}var Wx=lf("length");function Hx(z){return z.split("")}function Vx(z){return z.match(ex)||[]}function ig(z,Z,Y){var _e;return Y(z,function(Me,st,qt){if(Z(Me,st,qt))return _e=st,!1}),_e}function ll(z,Z,Y,_e){for(var Me=z.length,st=Y+(_e?1:-1);_e?st--:++st<Me;)if(Z(z[st],st,z))return st;return-1}function zi(z,Z,Y){return Z===Z?r1(z,Z,Y):ll(z,sg,Y)}function Gx(z,Z,Y,_e){for(var Me=Y-1,st=z.length;++Me<st;)if(_e(z[Me],Z))return Me;return-1}function sg(z){return z!==z}function ag(z,Z){var Y=z==null?0:z.length;return Y?uf(z,Z)/Y:tt}function lf(z){return function(Z){return Z==null?n:Z[z]}}function cf(z){return function(Z){return z==null?n:z[Z]}}function lg(z,Z,Y,_e,Me){return Me(z,function(st,qt,wt){Y=_e?(_e=!1,st):Z(Y,st,qt,wt)}),Y}function Kx(z,Z){var Y=z.length;for(z.sort(Z);Y--;)z[Y]=z[Y].value;return z}function uf(z,Z){for(var Y,_e=-1,Me=z.length;++_e<Me;){var st=Z(z[_e]);st!==n&&(Y=Y===n?st:Y+st)}return Y}function ff(z,Z){for(var Y=-1,_e=Array(z);++Y<z;)_e[Y]=Z(Y);return _e}function qx(z,Z){return Pt(Z,function(Y){return[Y,z[Y]]})}function cg(z){return z&&z.slice(0,pg(z)+1).replace(Xu,"")}function Xn(z){return function(Z){return z(Z)}}function df(z,Z){return Pt(Z,function(Y){return z[Y]})}function zs(z,Z){return z.has(Z)}function ug(z,Z){for(var Y=-1,_e=z.length;++Y<_e&&zi(Z,z[Y],0)>-1;);return Y}function fg(z,Z){for(var Y=z.length;Y--&&zi(Z,z[Y],0)>-1;);return Y}function Yx(z,Z){for(var Y=z.length,_e=0;Y--;)z[Y]===Z&&++_e;return _e}var Xx=cf(Ix),Jx=cf(Mx);function Qx(z){return"\\"+Dx[z]}function Zx(z,Z){return z==null?n:z[Z]}function Bi(z){return Ax.test(z)}function e1(z){return Rx.test(z)}function t1(z){for(var Z,Y=[];!(Z=z.next()).done;)Y.push(Z.value);return Y}function pf(z){var Z=-1,Y=Array(z.size);return z.forEach(function(_e,Me){Y[++Z]=[Me,_e]}),Y}function dg(z,Z){return function(Y){return z(Z(Y))}}function Fo(z,Z){for(var Y=-1,_e=z.length,Me=0,st=[];++Y<_e;){var qt=z[Y];(qt===Z||qt===h)&&(z[Y]=h,st[Me++]=Y)}return st}function cl(z){var Z=-1,Y=Array(z.size);return z.forEach(function(_e){Y[++Z]=_e}),Y}function n1(z){var Z=-1,Y=Array(z.size);return z.forEach(function(_e){Y[++Z]=[_e,_e]}),Y}function r1(z,Z,Y){for(var _e=Y-1,Me=z.length;++_e<Me;)if(z[_e]===Z)return _e;return-1}function o1(z,Z,Y){for(var _e=Y+1;_e--;)if(z[_e]===Z)return _e;return _e}function Wi(z){return Bi(z)?s1(z):Wx(z)}function Cr(z){return Bi(z)?a1(z):Hx(z)}function pg(z){for(var Z=z.length;Z--&&XT.test(z.charAt(Z)););return Z}var i1=cf(Nx);function s1(z){for(var Z=tf.lastIndex=0;tf.test(z);)++Z;return Z}function a1(z){return z.match(tf)||[]}function l1(z){return z.match(Ox)||[]}var c1=(function z(Z){Z=Z==null?an:Hi.defaults(an.Object(),Z,Hi.pick(an,Px));var Y=Z.Array,_e=Z.Date,Me=Z.Error,st=Z.Function,qt=Z.Math,wt=Z.Object,hf=Z.RegExp,u1=Z.String,ur=Z.TypeError,ul=Y.prototype,f1=st.prototype,Vi=wt.prototype,fl=Z["__core-js_shared__"],dl=f1.toString,lt=Vi.hasOwnProperty,d1=0,hg=(function(){var i=/[^.]+$/.exec(fl&&fl.keys&&fl.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})(),pl=Vi.toString,p1=dl.call(wt),h1=an._,m1=hf("^"+dl.call(lt).replace(Yu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),hl=Jm?Z.Buffer:n,$o=Z.Symbol,ml=Z.Uint8Array,mg=hl?hl.allocUnsafe:n,gl=dg(wt.getPrototypeOf,wt),gg=wt.create,yg=Vi.propertyIsEnumerable,yl=ul.splice,bg=$o?$o.isConcatSpreadable:n,Bs=$o?$o.iterator:n,ci=$o?$o.toStringTag:n,bl=(function(){try{var i=hi(wt,"defineProperty");return i({},"",{}),i}catch{}})(),g1=Z.clearTimeout!==an.clearTimeout&&Z.clearTimeout,y1=_e&&_e.now!==an.Date.now&&_e.now,b1=Z.setTimeout!==an.setTimeout&&Z.setTimeout,_l=qt.ceil,vl=qt.floor,mf=wt.getOwnPropertySymbols,_1=hl?hl.isBuffer:n,_g=Z.isFinite,v1=ul.join,w1=dg(wt.keys,wt),Yt=qt.max,hn=qt.min,E1=_e.now,S1=Z.parseInt,vg=qt.random,C1=ul.reverse,gf=hi(Z,"DataView"),Ws=hi(Z,"Map"),yf=hi(Z,"Promise"),Gi=hi(Z,"Set"),Hs=hi(Z,"WeakMap"),Vs=hi(wt,"create"),wl=Hs&&new Hs,Ki={},k1=mi(gf),T1=mi(Ws),x1=mi(yf),O1=mi(Gi),A1=mi(Hs),El=$o?$o.prototype:n,Gs=El?El.valueOf:n,wg=El?El.toString:n;function C(i){if($t(i)&&!De(i)&&!(i instanceof Ke)){if(i instanceof fr)return i;if(lt.call(i,"__wrapped__"))return Ey(i)}return new fr(i)}var qi=(function(){function i(){}return function(l){if(!Nt(l))return{};if(gg)return gg(l);i.prototype=l;var d=new i;return i.prototype=n,d}})();function Sl(){}function fr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}C.templateSettings={escape:HT,evaluate:VT,interpolate:Am,variable:"",imports:{_:C}},C.prototype=Sl.prototype,C.prototype.constructor=C,fr.prototype=qi(Sl.prototype),fr.prototype.constructor=fr;function Ke(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ge,this.__views__=[]}function R1(){var i=new Ke(this.__wrapped__);return i.__actions__=Dn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Dn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Dn(this.__views__),i}function P1(){if(this.__filtered__){var i=new Ke(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function L1(){var i=this.__wrapped__.value(),l=this.__dir__,d=De(i),m=l<0,b=d?i.length:0,k=HO(0,b,this.__views__),D=k.start,$=k.end,H=$-D,oe=m?$:D-1,se=this.__iteratees__,le=se.length,me=0,Se=hn(H,this.__takeCount__);if(!d||!m&&b==H&&Se==H)return Vg(i,this.__actions__);var Ae=[];e:for(;H--&&me<Se;){oe+=l;for(var Be=-1,Te=i[oe];++Be<le;){var He=se[Be],Je=He.iteratee,Zn=He.type,An=Je(Te);if(Zn==re)Te=An;else if(!An){if(Zn==ne)continue e;break e}}Ae[me++]=Te}return Ae}Ke.prototype=qi(Sl.prototype),Ke.prototype.constructor=Ke;function ui(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function I1(){this.__data__=Vs?Vs(null):{},this.size=0}function M1(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function N1(i){var l=this.__data__;if(Vs){var d=l[i];return d===f?n:d}return lt.call(l,i)?l[i]:n}function D1(i){var l=this.__data__;return Vs?l[i]!==n:lt.call(l,i)}function F1(i,l){var d=this.__data__;return this.size+=this.has(i)?0:1,d[i]=Vs&&l===n?f:l,this}ui.prototype.clear=I1,ui.prototype.delete=M1,ui.prototype.get=N1,ui.prototype.has=D1,ui.prototype.set=F1;function so(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function $1(){this.__data__=[],this.size=0}function j1(i){var l=this.__data__,d=Cl(l,i);if(d<0)return!1;var m=l.length-1;return d==m?l.pop():yl.call(l,d,1),--this.size,!0}function U1(i){var l=this.__data__,d=Cl(l,i);return d<0?n:l[d][1]}function z1(i){return Cl(this.__data__,i)>-1}function B1(i,l){var d=this.__data__,m=Cl(d,i);return m<0?(++this.size,d.push([i,l])):d[m][1]=l,this}so.prototype.clear=$1,so.prototype.delete=j1,so.prototype.get=U1,so.prototype.has=z1,so.prototype.set=B1;function ao(i){var l=-1,d=i==null?0:i.length;for(this.clear();++l<d;){var m=i[l];this.set(m[0],m[1])}}function W1(){this.size=0,this.__data__={hash:new ui,map:new(Ws||so),string:new ui}}function H1(i){var l=Dl(this,i).delete(i);return this.size-=l?1:0,l}function V1(i){return Dl(this,i).get(i)}function G1(i){return Dl(this,i).has(i)}function K1(i,l){var d=Dl(this,i),m=d.size;return d.set(i,l),this.size+=d.size==m?0:1,this}ao.prototype.clear=W1,ao.prototype.delete=H1,ao.prototype.get=V1,ao.prototype.has=G1,ao.prototype.set=K1;function fi(i){var l=-1,d=i==null?0:i.length;for(this.__data__=new ao;++l<d;)this.add(i[l])}function q1(i){return this.__data__.set(i,f),this}function Y1(i){return this.__data__.has(i)}fi.prototype.add=fi.prototype.push=q1,fi.prototype.has=Y1;function kr(i){var l=this.__data__=new so(i);this.size=l.size}function X1(){this.__data__=new so,this.size=0}function J1(i){var l=this.__data__,d=l.delete(i);return this.size=l.size,d}function Q1(i){return this.__data__.get(i)}function Z1(i){return this.__data__.has(i)}function eO(i,l){var d=this.__data__;if(d instanceof so){var m=d.__data__;if(!Ws||m.length<o-1)return m.push([i,l]),this.size=++d.size,this;d=this.__data__=new ao(m)}return d.set(i,l),this.size=d.size,this}kr.prototype.clear=X1,kr.prototype.delete=J1,kr.prototype.get=Q1,kr.prototype.has=Z1,kr.prototype.set=eO;function Eg(i,l){var d=De(i),m=!d&&gi(i),b=!d&&!m&&Wo(i),k=!d&&!m&&!b&&Qi(i),D=d||m||b||k,$=D?ff(i.length,u1):[],H=$.length;for(var oe in i)(l||lt.call(i,oe))&&!(D&&(oe=="length"||b&&(oe=="offset"||oe=="parent")||k&&(oe=="buffer"||oe=="byteLength"||oe=="byteOffset")||uo(oe,H)))&&$.push(oe);return $}function Sg(i){var l=i.length;return l?i[Of(0,l-1)]:n}function tO(i,l){return Fl(Dn(i),di(l,0,i.length))}function nO(i){return Fl(Dn(i))}function bf(i,l,d){(d!==n&&!xr(i[l],d)||d===n&&!(l in i))&&Wr(i,l,d)}function Ks(i,l,d){var m=i[l];(!(lt.call(i,l)&&xr(m,d))||d===n&&!(l in i))&&Wr(i,l,d)}function Cl(i,l){for(var d=i.length;d--;)if(xr(i[d][0],l))return d;return-1}function rO(i,l,d,m){return jo(i,function(b,k,D){l(m,b,d(b),D)}),m}function Cg(i,l){return i&&Vr(l,Jt(l),i)}function oO(i,l){return i&&Vr(l,$n(l),i)}function Wr(i,l,d){l=="__proto__"&&bl?bl(i,l,{configurable:!0,enumerable:!0,value:d,writable:!0}):i[l]=d}function _f(i,l){for(var d=-1,m=l.length,b=Y(m),k=i==null;++d<m;)b[d]=k?n:ed(i,l[d]);return b}function di(i,l,d){return i===i&&(d!==n&&(i=i<=d?i:d),l!==n&&(i=i>=l?i:l)),i}function dr(i,l,d,m,b,k){var D,$=l&g,H=l&y,oe=l&w;if(d&&(D=b?d(i,m,b,k):d(i)),D!==n)return D;if(!Nt(i))return i;var se=De(i);if(se){if(D=GO(i),!$)return Dn(i,D)}else{var le=mn(i),me=le==F||le==V;if(Wo(i))return qg(i,$);if(le==P||le==Mt||me&&!b){if(D=H||me?{}:py(i),!$)return H?NO(i,oO(D,i)):MO(i,Cg(D,i))}else{if(!Et[le])return b?i:{};D=KO(i,le,$)}}k||(k=new kr);var Se=k.get(i);if(Se)return Se;k.set(i,D),By(i)?i.forEach(function(Te){D.add(dr(Te,l,d,Te,i,k))}):Uy(i)&&i.forEach(function(Te,He){D.set(He,dr(Te,l,d,He,i,k))});var Ae=oe?H?jf:$f:H?$n:Jt,Be=se?n:Ae(i);return Yn(Be||i,function(Te,He){Be&&(He=Te,Te=i[He]),Ks(D,He,dr(Te,l,d,He,i,k))}),D}function iO(i){var l=Jt(i);return function(d){return kg(d,i,l)}}function kg(i,l,d){var m=d.length;if(i==null)return!m;for(i=wt(i);m--;){var b=d[m],k=l[b],D=i[b];if(D===n&&!(b in i)||!k(D))return!1}return!0}function Tg(i,l,d){if(typeof i!="function")throw new ur(a);return ea(function(){i.apply(n,d)},l)}function qs(i,l,d,m){var b=-1,k=al,D=!0,$=i.length,H=[],oe=l.length;if(!$)return H;d&&(l=Pt(l,Xn(d))),m?(k=of,D=!1):l.length>=o&&(k=zs,D=!1,l=new fi(l));e:for(;++b<$;){var se=i[b],le=d==null?se:d(se);if(se=m||se!==0?se:0,D&&le===le){for(var me=oe;me--;)if(l[me]===le)continue e;H.push(se)}else k(l,le,m)||H.push(se)}return H}var jo=Zg(Hr),xg=Zg(wf,!0);function sO(i,l){var d=!0;return jo(i,function(m,b,k){return d=!!l(m,b,k),d}),d}function kl(i,l,d){for(var m=-1,b=i.length;++m<b;){var k=i[m],D=l(k);if(D!=null&&($===n?D===D&&!Qn(D):d(D,$)))var $=D,H=k}return H}function aO(i,l,d,m){var b=i.length;for(d=Ue(d),d<0&&(d=-d>b?0:b+d),m=m===n||m>b?b:Ue(m),m<0&&(m+=b),m=d>m?0:Hy(m);d<m;)i[d++]=l;return i}function Og(i,l){var d=[];return jo(i,function(m,b,k){l(m,b,k)&&d.push(m)}),d}function ln(i,l,d,m,b){var k=-1,D=i.length;for(d||(d=YO),b||(b=[]);++k<D;){var $=i[k];l>0&&d($)?l>1?ln($,l-1,d,m,b):Do(b,$):m||(b[b.length]=$)}return b}var vf=ey(),Ag=ey(!0);function Hr(i,l){return i&&vf(i,l,Jt)}function wf(i,l){return i&&Ag(i,l,Jt)}function Tl(i,l){return No(l,function(d){return fo(i[d])})}function pi(i,l){l=zo(l,i);for(var d=0,m=l.length;i!=null&&d<m;)i=i[Tr(l[d++])];return d&&d==m?i:n}function Rg(i,l,d){var m=l(i);return De(i)?m:Do(m,d(i))}function xn(i){return i==null?i===n?X:Q:ci&&ci in wt(i)?WO(i):nA(i)}function Ef(i,l){return i>l}function lO(i,l){return i!=null&<.call(i,l)}function cO(i,l){return i!=null&&l in wt(i)}function uO(i,l,d){return i>=hn(l,d)&&i<Yt(l,d)}function Sf(i,l,d){for(var m=d?of:al,b=i[0].length,k=i.length,D=k,$=Y(k),H=1/0,oe=[];D--;){var se=i[D];D&&l&&(se=Pt(se,Xn(l))),H=hn(se.length,H),$[D]=!d&&(l||b>=120&&se.length>=120)?new fi(D&&se):n}se=i[0];var le=-1,me=$[0];e:for(;++le<b&&oe.length<H;){var Se=se[le],Ae=l?l(Se):Se;if(Se=d||Se!==0?Se:0,!(me?zs(me,Ae):m(oe,Ae,d))){for(D=k;--D;){var Be=$[D];if(!(Be?zs(Be,Ae):m(i[D],Ae,d)))continue e}me&&me.push(Ae),oe.push(Se)}}return oe}function fO(i,l,d,m){return Hr(i,function(b,k,D){l(m,d(b),k,D)}),m}function Ys(i,l,d){l=zo(l,i),i=yy(i,l);var m=i==null?i:i[Tr(hr(l))];return m==null?n:qn(m,i,d)}function Pg(i){return $t(i)&&xn(i)==Mt}function dO(i){return $t(i)&&xn(i)==$e}function pO(i){return $t(i)&&xn(i)==ve}function Xs(i,l,d,m,b){return i===l?!0:i==null||l==null||!$t(i)&&!$t(l)?i!==i&&l!==l:hO(i,l,d,m,Xs,b)}function hO(i,l,d,m,b,k){var D=De(i),$=De(l),H=D?ee:mn(i),oe=$?ee:mn(l);H=H==Mt?P:H,oe=oe==Mt?P:oe;var se=H==P,le=oe==P,me=H==oe;if(me&&Wo(i)){if(!Wo(l))return!1;D=!0,se=!1}if(me&&!se)return k||(k=new kr),D||Qi(i)?uy(i,l,d,m,b,k):zO(i,l,H,d,m,b,k);if(!(d&_)){var Se=se&<.call(i,"__wrapped__"),Ae=le&<.call(l,"__wrapped__");if(Se||Ae){var Be=Se?i.value():i,Te=Ae?l.value():l;return k||(k=new kr),b(Be,Te,d,m,k)}}return me?(k||(k=new kr),BO(i,l,d,m,b,k)):!1}function mO(i){return $t(i)&&mn(i)==J}function Cf(i,l,d,m){var b=d.length,k=b,D=!m;if(i==null)return!k;for(i=wt(i);b--;){var $=d[b];if(D&&$[2]?$[1]!==i[$[0]]:!($[0]in i))return!1}for(;++b<k;){$=d[b];var H=$[0],oe=i[H],se=$[1];if(D&&$[2]){if(oe===n&&!(H in i))return!1}else{var le=new kr;if(m)var me=m(oe,se,H,i,l,le);if(!(me===n?Xs(se,oe,_|O,m,le):me))return!1}}return!0}function Lg(i){if(!Nt(i)||JO(i))return!1;var l=fo(i)?m1:ix;return l.test(mi(i))}function gO(i){return $t(i)&&xn(i)==W}function yO(i){return $t(i)&&mn(i)==fe}function bO(i){return $t(i)&&Wl(i.length)&&!!Ot[xn(i)]}function Ig(i){return typeof i=="function"?i:i==null?jn:typeof i=="object"?De(i)?Dg(i[0],i[1]):Ng(i):nb(i)}function kf(i){if(!Zs(i))return w1(i);var l=[];for(var d in wt(i))lt.call(i,d)&&d!="constructor"&&l.push(d);return l}function _O(i){if(!Nt(i))return tA(i);var l=Zs(i),d=[];for(var m in i)m=="constructor"&&(l||!lt.call(i,m))||d.push(m);return d}function Tf(i,l){return i<l}function Mg(i,l){var d=-1,m=Fn(i)?Y(i.length):[];return jo(i,function(b,k,D){m[++d]=l(b,k,D)}),m}function Ng(i){var l=zf(i);return l.length==1&&l[0][2]?my(l[0][0],l[0][1]):function(d){return d===i||Cf(d,i,l)}}function Dg(i,l){return Wf(i)&&hy(l)?my(Tr(i),l):function(d){var m=ed(d,i);return m===n&&m===l?td(d,i):Xs(l,m,_|O)}}function xl(i,l,d,m,b){i!==l&&vf(l,function(k,D){if(b||(b=new kr),Nt(k))vO(i,l,D,d,xl,m,b);else{var $=m?m(Vf(i,D),k,D+"",i,l,b):n;$===n&&($=k),bf(i,D,$)}},$n)}function vO(i,l,d,m,b,k,D){var $=Vf(i,d),H=Vf(l,d),oe=D.get(H);if(oe){bf(i,d,oe);return}var se=k?k($,H,d+"",i,l,D):n,le=se===n;if(le){var me=De(H),Se=!me&&Wo(H),Ae=!me&&!Se&&Qi(H);se=H,me||Se||Ae?De($)?se=$:Ut($)?se=Dn($):Se?(le=!1,se=qg(H,!0)):Ae?(le=!1,se=Yg(H,!0)):se=[]:ta(H)||gi(H)?(se=$,gi($)?se=Vy($):(!Nt($)||fo($))&&(se=py(H))):le=!1}le&&(D.set(H,se),b(se,H,m,k,D),D.delete(H)),bf(i,d,se)}function Fg(i,l){var d=i.length;if(d)return l+=l<0?d:0,uo(l,d)?i[l]:n}function $g(i,l,d){l.length?l=Pt(l,function(k){return De(k)?function(D){return pi(D,k.length===1?k[0]:k)}:k}):l=[jn];var m=-1;l=Pt(l,Xn(xe()));var b=Mg(i,function(k,D,$){var H=Pt(l,function(oe){return oe(k)});return{criteria:H,index:++m,value:k}});return Kx(b,function(k,D){return IO(k,D,d)})}function wO(i,l){return jg(i,l,function(d,m){return td(i,m)})}function jg(i,l,d){for(var m=-1,b=l.length,k={};++m<b;){var D=l[m],$=pi(i,D);d($,D)&&Js(k,zo(D,i),$)}return k}function EO(i){return function(l){return pi(l,i)}}function xf(i,l,d,m){var b=m?Gx:zi,k=-1,D=l.length,$=i;for(i===l&&(l=Dn(l)),d&&($=Pt(i,Xn(d)));++k<D;)for(var H=0,oe=l[k],se=d?d(oe):oe;(H=b($,se,H,m))>-1;)$!==i&&yl.call($,H,1),yl.call(i,H,1);return i}function Ug(i,l){for(var d=i?l.length:0,m=d-1;d--;){var b=l[d];if(d==m||b!==k){var k=b;uo(b)?yl.call(i,b,1):Pf(i,b)}}return i}function Of(i,l){return i+vl(vg()*(l-i+1))}function SO(i,l,d,m){for(var b=-1,k=Yt(_l((l-i)/(d||1)),0),D=Y(k);k--;)D[m?k:++b]=i,i+=d;return D}function Af(i,l){var d="";if(!i||l<1||l>Ve)return d;do l%2&&(d+=i),l=vl(l/2),l&&(i+=i);while(l);return d}function We(i,l){return Gf(gy(i,l,jn),i+"")}function CO(i){return Sg(Zi(i))}function kO(i,l){var d=Zi(i);return Fl(d,di(l,0,d.length))}function Js(i,l,d,m){if(!Nt(i))return i;l=zo(l,i);for(var b=-1,k=l.length,D=k-1,$=i;$!=null&&++b<k;){var H=Tr(l[b]),oe=d;if(H==="__proto__"||H==="constructor"||H==="prototype")return i;if(b!=D){var se=$[H];oe=m?m(se,H,$):n,oe===n&&(oe=Nt(se)?se:uo(l[b+1])?[]:{})}Ks($,H,oe),$=$[H]}return i}var zg=wl?function(i,l){return wl.set(i,l),i}:jn,TO=bl?function(i,l){return bl(i,"toString",{configurable:!0,enumerable:!1,value:rd(l),writable:!0})}:jn;function xO(i){return Fl(Zi(i))}function pr(i,l,d){var m=-1,b=i.length;l<0&&(l=-l>b?0:b+l),d=d>b?b:d,d<0&&(d+=b),b=l>d?0:d-l>>>0,l>>>=0;for(var k=Y(b);++m<b;)k[m]=i[m+l];return k}function OO(i,l){var d;return jo(i,function(m,b,k){return d=l(m,b,k),!d}),!!d}function Ol(i,l,d){var m=0,b=i==null?m:i.length;if(typeof l=="number"&&l===l&&b<=on){for(;m<b;){var k=m+b>>>1,D=i[k];D!==null&&!Qn(D)&&(d?D<=l:D<l)?m=k+1:b=k}return b}return Rf(i,l,jn,d)}function Rf(i,l,d,m){var b=0,k=i==null?0:i.length;if(k===0)return 0;l=d(l);for(var D=l!==l,$=l===null,H=Qn(l),oe=l===n;b<k;){var se=vl((b+k)/2),le=d(i[se]),me=le!==n,Se=le===null,Ae=le===le,Be=Qn(le);if(D)var Te=m||Ae;else oe?Te=Ae&&(m||me):$?Te=Ae&&me&&(m||!Se):H?Te=Ae&&me&&!Se&&(m||!Be):Se||Be?Te=!1:Te=m?le<=l:le<l;Te?b=se+1:k=se}return hn(k,dn)}function Bg(i,l){for(var d=-1,m=i.length,b=0,k=[];++d<m;){var D=i[d],$=l?l(D):D;if(!d||!xr($,H)){var H=$;k[b++]=D===0?0:D}}return k}function Wg(i){return typeof i=="number"?i:Qn(i)?tt:+i}function Jn(i){if(typeof i=="string")return i;if(De(i))return Pt(i,Jn)+"";if(Qn(i))return wg?wg.call(i):"";var l=i+"";return l=="0"&&1/i==-Ee?"-0":l}function Uo(i,l,d){var m=-1,b=al,k=i.length,D=!0,$=[],H=$;if(d)D=!1,b=of;else if(k>=o){var oe=l?null:jO(i);if(oe)return cl(oe);D=!1,b=zs,H=new fi}else H=l?[]:$;e:for(;++m<k;){var se=i[m],le=l?l(se):se;if(se=d||se!==0?se:0,D&&le===le){for(var me=H.length;me--;)if(H[me]===le)continue e;l&&H.push(le),$.push(se)}else b(H,le,d)||(H!==$&&H.push(le),$.push(se))}return $}function Pf(i,l){l=zo(l,i);var d=-1,m=l.length;if(!m)return!0;for(;++d<m;){var b=Tr(l[d]);if(b==="__proto__"&&!lt.call(i,"__proto__")||(b==="constructor"||b==="prototype")&&d<m-1)return!1}var k=yy(i,l);return k==null||delete k[Tr(hr(l))]}function Hg(i,l,d,m){return Js(i,l,d(pi(i,l)),m)}function Al(i,l,d,m){for(var b=i.length,k=m?b:-1;(m?k--:++k<b)&&l(i[k],k,i););return d?pr(i,m?0:k,m?k+1:b):pr(i,m?k+1:0,m?b:k)}function Vg(i,l){var d=i;return d instanceof Ke&&(d=d.value()),sf(l,function(m,b){return b.func.apply(b.thisArg,Do([m],b.args))},d)}function Lf(i,l,d){var m=i.length;if(m<2)return m?Uo(i[0]):[];for(var b=-1,k=Y(m);++b<m;)for(var D=i[b],$=-1;++$<m;)$!=b&&(k[b]=qs(k[b]||D,i[$],l,d));return Uo(ln(k,1),l,d)}function Gg(i,l,d){for(var m=-1,b=i.length,k=l.length,D={};++m<b;){var $=m<k?l[m]:n;d(D,i[m],$)}return D}function If(i){return Ut(i)?i:[]}function Mf(i){return typeof i=="function"?i:jn}function zo(i,l){return De(i)?i:Wf(i,l)?[i]:wy(ct(i))}var AO=We;function Bo(i,l,d){var m=i.length;return d=d===n?m:d,!l&&d>=m?i:pr(i,l,d)}var Kg=g1||function(i){return an.clearTimeout(i)};function qg(i,l){if(l)return i.slice();var d=i.length,m=mg?mg(d):new i.constructor(d);return i.copy(m),m}function Nf(i){var l=new i.constructor(i.byteLength);return new ml(l).set(new ml(i)),l}function RO(i,l){var d=l?Nf(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.byteLength)}function PO(i){var l=new i.constructor(i.source,Pm.exec(i));return l.lastIndex=i.lastIndex,l}function LO(i){return Gs?wt(Gs.call(i)):{}}function Yg(i,l){var d=l?Nf(i.buffer):i.buffer;return new i.constructor(d,i.byteOffset,i.length)}function Xg(i,l){if(i!==l){var d=i!==n,m=i===null,b=i===i,k=Qn(i),D=l!==n,$=l===null,H=l===l,oe=Qn(l);if(!$&&!oe&&!k&&i>l||k&&D&&H&&!$&&!oe||m&&D&&H||!d&&H||!b)return 1;if(!m&&!k&&!oe&&i<l||oe&&d&&b&&!m&&!k||$&&d&&b||!D&&b||!H)return-1}return 0}function IO(i,l,d){for(var m=-1,b=i.criteria,k=l.criteria,D=b.length,$=d.length;++m<D;){var H=Xg(b[m],k[m]);if(H){if(m>=$)return H;var oe=d[m];return H*(oe=="desc"?-1:1)}}return i.index-l.index}function Jg(i,l,d,m){for(var b=-1,k=i.length,D=d.length,$=-1,H=l.length,oe=Yt(k-D,0),se=Y(H+oe),le=!m;++$<H;)se[$]=l[$];for(;++b<D;)(le||b<k)&&(se[d[b]]=i[b]);for(;oe--;)se[$++]=i[b++];return se}function Qg(i,l,d,m){for(var b=-1,k=i.length,D=-1,$=d.length,H=-1,oe=l.length,se=Yt(k-$,0),le=Y(se+oe),me=!m;++b<se;)le[b]=i[b];for(var Se=b;++H<oe;)le[Se+H]=l[H];for(;++D<$;)(me||b<k)&&(le[Se+d[D]]=i[b++]);return le}function Dn(i,l){var d=-1,m=i.length;for(l||(l=Y(m));++d<m;)l[d]=i[d];return l}function Vr(i,l,d,m){var b=!d;d||(d={});for(var k=-1,D=l.length;++k<D;){var $=l[k],H=m?m(d[$],i[$],$,d,i):n;H===n&&(H=i[$]),b?Wr(d,$,H):Ks(d,$,H)}return d}function MO(i,l){return Vr(i,Bf(i),l)}function NO(i,l){return Vr(i,fy(i),l)}function Rl(i,l){return function(d,m){var b=De(d)?Ux:rO,k=l?l():{};return b(d,i,xe(m,2),k)}}function Yi(i){return We(function(l,d){var m=-1,b=d.length,k=b>1?d[b-1]:n,D=b>2?d[2]:n;for(k=i.length>3&&typeof k=="function"?(b--,k):n,D&&On(d[0],d[1],D)&&(k=b<3?n:k,b=1),l=wt(l);++m<b;){var $=d[m];$&&i(l,$,m,k)}return l})}function Zg(i,l){return function(d,m){if(d==null)return d;if(!Fn(d))return i(d,m);for(var b=d.length,k=l?b:-1,D=wt(d);(l?k--:++k<b)&&m(D[k],k,D)!==!1;);return d}}function ey(i){return function(l,d,m){for(var b=-1,k=wt(l),D=m(l),$=D.length;$--;){var H=D[i?$:++b];if(d(k[H],H,k)===!1)break}return l}}function DO(i,l,d){var m=l&S,b=Qs(i);function k(){var D=this&&this!==an&&this instanceof k?b:i;return D.apply(m?d:this,arguments)}return k}function ty(i){return function(l){l=ct(l);var d=Bi(l)?Cr(l):n,m=d?d[0]:l.charAt(0),b=d?Bo(d,1).join(""):l.slice(1);return m[i]()+b}}function Xi(i){return function(l){return sf(eb(Zy(l).replace(Tx,"")),i,"")}}function Qs(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var d=qi(i.prototype),m=i.apply(d,l);return Nt(m)?m:d}}function FO(i,l,d){var m=Qs(i);function b(){for(var k=arguments.length,D=Y(k),$=k,H=Ji(b);$--;)D[$]=arguments[$];var oe=k<3&&D[0]!==H&&D[k-1]!==H?[]:Fo(D,H);if(k-=oe.length,k<d)return sy(i,l,Pl,b.placeholder,n,D,oe,n,n,d-k);var se=this&&this!==an&&this instanceof b?m:i;return qn(se,this,D)}return b}function ny(i){return function(l,d,m){var b=wt(l);if(!Fn(l)){var k=xe(d,3);l=Jt(l),d=function($){return k(b[$],$,b)}}var D=i(l,d,m);return D>-1?b[k?l[D]:D]:n}}function ry(i){return co(function(l){var d=l.length,m=d,b=fr.prototype.thru;for(i&&l.reverse();m--;){var k=l[m];if(typeof k!="function")throw new ur(a);if(b&&!D&&Nl(k)=="wrapper")var D=new fr([],!0)}for(m=D?m:d;++m<d;){k=l[m];var $=Nl(k),H=$=="wrapper"?Uf(k):n;H&&Hf(H[0])&&H[1]==(x|E|A|N)&&!H[4].length&&H[9]==1?D=D[Nl(H[0])].apply(D,H[3]):D=k.length==1&&Hf(k)?D[$]():D.thru(k)}return function(){var oe=arguments,se=oe[0];if(D&&oe.length==1&&De(se))return D.plant(se).value();for(var le=0,me=d?l[le].apply(this,oe):se;++le<d;)me=l[le].call(this,me);return me}})}function Pl(i,l,d,m,b,k,D,$,H,oe){var se=l&x,le=l&S,me=l&v,Se=l&(E|R),Ae=l&G,Be=me?n:Qs(i);function Te(){for(var He=arguments.length,Je=Y(He),Zn=He;Zn--;)Je[Zn]=arguments[Zn];if(Se)var An=Ji(Te),er=Yx(Je,An);if(m&&(Je=Jg(Je,m,b,Se)),k&&(Je=Qg(Je,k,D,Se)),He-=er,Se&&He<oe){var zt=Fo(Je,An);return sy(i,l,Pl,Te.placeholder,d,Je,zt,$,H,oe-He)}var Or=le?d:this,ho=me?Or[i]:i;return He=Je.length,$?Je=rA(Je,$):Ae&&He>1&&Je.reverse(),se&&H<He&&(Je.length=H),this&&this!==an&&this instanceof Te&&(ho=Be||Qs(ho)),ho.apply(Or,Je)}return Te}function oy(i,l){return function(d,m){return fO(d,i,l(m),{})}}function Ll(i,l){return function(d,m){var b;if(d===n&&m===n)return l;if(d!==n&&(b=d),m!==n){if(b===n)return m;typeof d=="string"||typeof m=="string"?(d=Jn(d),m=Jn(m)):(d=Wg(d),m=Wg(m)),b=i(d,m)}return b}}function Df(i){return co(function(l){return l=Pt(l,Xn(xe())),We(function(d){var m=this;return i(l,function(b){return qn(b,m,d)})})})}function Il(i,l){l=l===n?" ":Jn(l);var d=l.length;if(d<2)return d?Af(l,i):l;var m=Af(l,_l(i/Wi(l)));return Bi(l)?Bo(Cr(m),0,i).join(""):m.slice(0,i)}function $O(i,l,d,m){var b=l&S,k=Qs(i);function D(){for(var $=-1,H=arguments.length,oe=-1,se=m.length,le=Y(se+H),me=this&&this!==an&&this instanceof D?k:i;++oe<se;)le[oe]=m[oe];for(;H--;)le[oe++]=arguments[++$];return qn(me,b?d:this,le)}return D}function iy(i){return function(l,d,m){return m&&typeof m!="number"&&On(l,d,m)&&(d=m=n),l=po(l),d===n?(d=l,l=0):d=po(d),m=m===n?l<d?1:-1:po(m),SO(l,d,m,i)}}function Ml(i){return function(l,d){return typeof l=="string"&&typeof d=="string"||(l=mr(l),d=mr(d)),i(l,d)}}function sy(i,l,d,m,b,k,D,$,H,oe){var se=l&E,le=se?D:n,me=se?n:D,Se=se?k:n,Ae=se?n:k;l|=se?A:L,l&=~(se?L:A),l&T||(l&=-4);var Be=[i,l,b,Se,le,Ae,me,$,H,oe],Te=d.apply(n,Be);return Hf(i)&&by(Te,Be),Te.placeholder=m,_y(Te,i,l)}function Ff(i){var l=qt[i];return function(d,m){if(d=mr(d),m=m==null?0:hn(Ue(m),292),m&&_g(d)){var b=(ct(d)+"e").split("e"),k=l(b[0]+"e"+(+b[1]+m));return b=(ct(k)+"e").split("e"),+(b[0]+"e"+(+b[1]-m))}return l(d)}}var jO=Gi&&1/cl(new Gi([,-0]))[1]==Ee?function(i){return new Gi(i)}:sd;function ay(i){return function(l){var d=mn(l);return d==J?pf(l):d==fe?n1(l):qx(l,i(l))}}function lo(i,l,d,m,b,k,D,$){var H=l&v;if(!H&&typeof i!="function")throw new ur(a);var oe=m?m.length:0;if(oe||(l&=-97,m=b=n),D=D===n?D:Yt(Ue(D),0),$=$===n?$:Ue($),oe-=b?b.length:0,l&L){var se=m,le=b;m=b=n}var me=H?n:Uf(i),Se=[i,l,d,m,b,se,le,k,D,$];if(me&&eA(Se,me),i=Se[0],l=Se[1],d=Se[2],m=Se[3],b=Se[4],$=Se[9]=Se[9]===n?H?0:i.length:Yt(Se[9]-oe,0),!$&&l&(E|R)&&(l&=-25),!l||l==S)var Ae=DO(i,l,d);else l==E||l==R?Ae=FO(i,l,$):(l==A||l==(S|A))&&!b.length?Ae=$O(i,l,d,m):Ae=Pl.apply(n,Se);var Be=me?zg:by;return _y(Be(Ae,Se),i,l)}function ly(i,l,d,m){return i===n||xr(i,Vi[d])&&!lt.call(m,d)?l:i}function cy(i,l,d,m,b,k){return Nt(i)&&Nt(l)&&(k.set(l,i),xl(i,l,n,cy,k),k.delete(l)),i}function UO(i){return ta(i)?n:i}function uy(i,l,d,m,b,k){var D=d&_,$=i.length,H=l.length;if($!=H&&!(D&&H>$))return!1;var oe=k.get(i),se=k.get(l);if(oe&&se)return oe==l&&se==i;var le=-1,me=!0,Se=d&O?new fi:n;for(k.set(i,l),k.set(l,i);++le<$;){var Ae=i[le],Be=l[le];if(m)var Te=D?m(Be,Ae,le,l,i,k):m(Ae,Be,le,i,l,k);if(Te!==n){if(Te)continue;me=!1;break}if(Se){if(!af(l,function(He,Je){if(!zs(Se,Je)&&(Ae===He||b(Ae,He,d,m,k)))return Se.push(Je)})){me=!1;break}}else if(!(Ae===Be||b(Ae,Be,d,m,k))){me=!1;break}}return k.delete(i),k.delete(l),me}function zO(i,l,d,m,b,k,D){switch(d){case Xe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case $e:return!(i.byteLength!=l.byteLength||!k(new ml(i),new ml(l)));case pe:case ve:case te:return xr(+i,+l);case M:return i.name==l.name&&i.message==l.message;case W:case ie:return i==l+"";case J:var $=pf;case fe:var H=m&_;if($||($=cl),i.size!=l.size&&!H)return!1;var oe=D.get(i);if(oe)return oe==l;m|=O,D.set(i,l);var se=uy($(i),$(l),m,b,k,D);return D.delete(i),se;case U:if(Gs)return Gs.call(i)==Gs.call(l)}return!1}function BO(i,l,d,m,b,k){var D=d&_,$=$f(i),H=$.length,oe=$f(l),se=oe.length;if(H!=se&&!D)return!1;for(var le=H;le--;){var me=$[le];if(!(D?me in l:lt.call(l,me)))return!1}var Se=k.get(i),Ae=k.get(l);if(Se&&Ae)return Se==l&&Ae==i;var Be=!0;k.set(i,l),k.set(l,i);for(var Te=D;++le<H;){me=$[le];var He=i[me],Je=l[me];if(m)var Zn=D?m(Je,He,me,l,i,k):m(He,Je,me,i,l,k);if(!(Zn===n?He===Je||b(He,Je,d,m,k):Zn)){Be=!1;break}Te||(Te=me=="constructor")}if(Be&&!Te){var An=i.constructor,er=l.constructor;An!=er&&"constructor"in i&&"constructor"in l&&!(typeof An=="function"&&An instanceof An&&typeof er=="function"&&er instanceof er)&&(Be=!1)}return k.delete(i),k.delete(l),Be}function co(i){return Gf(gy(i,n,ky),i+"")}function $f(i){return Rg(i,Jt,Bf)}function jf(i){return Rg(i,$n,fy)}var Uf=wl?function(i){return wl.get(i)}:sd;function Nl(i){for(var l=i.name+"",d=Ki[l],m=lt.call(Ki,l)?d.length:0;m--;){var b=d[m],k=b.func;if(k==null||k==i)return b.name}return l}function Ji(i){var l=lt.call(C,"placeholder")?C:i;return l.placeholder}function xe(){var i=C.iteratee||od;return i=i===od?Ig:i,arguments.length?i(arguments[0],arguments[1]):i}function Dl(i,l){var d=i.__data__;return XO(l)?d[typeof l=="string"?"string":"hash"]:d.map}function zf(i){for(var l=Jt(i),d=l.length;d--;){var m=l[d],b=i[m];l[d]=[m,b,hy(b)]}return l}function hi(i,l){var d=Zx(i,l);return Lg(d)?d:n}function WO(i){var l=lt.call(i,ci),d=i[ci];try{i[ci]=n;var m=!0}catch{}var b=pl.call(i);return m&&(l?i[ci]=d:delete i[ci]),b}var Bf=mf?function(i){return i==null?[]:(i=wt(i),No(mf(i),function(l){return yg.call(i,l)}))}:ad,fy=mf?function(i){for(var l=[];i;)Do(l,Bf(i)),i=gl(i);return l}:ad,mn=xn;(gf&&mn(new gf(new ArrayBuffer(1)))!=Xe||Ws&&mn(new Ws)!=J||yf&&mn(yf.resolve())!=I||Gi&&mn(new Gi)!=fe||Hs&&mn(new Hs)!=be)&&(mn=function(i){var l=xn(i),d=l==P?i.constructor:n,m=d?mi(d):"";if(m)switch(m){case k1:return Xe;case T1:return J;case x1:return I;case O1:return fe;case A1:return be}return l});function HO(i,l,d){for(var m=-1,b=d.length;++m<b;){var k=d[m],D=k.size;switch(k.type){case"drop":i+=D;break;case"dropRight":l-=D;break;case"take":l=hn(l,i+D);break;case"takeRight":i=Yt(i,l-D);break}}return{start:i,end:l}}function VO(i){var l=i.match(QT);return l?l[1].split(ZT):[]}function dy(i,l,d){l=zo(l,i);for(var m=-1,b=l.length,k=!1;++m<b;){var D=Tr(l[m]);if(!(k=i!=null&&d(i,D)))break;i=i[D]}return k||++m!=b?k:(b=i==null?0:i.length,!!b&&Wl(b)&&uo(D,b)&&(De(i)||gi(i)))}function GO(i){var l=i.length,d=new i.constructor(l);return l&&typeof i[0]=="string"&<.call(i,"index")&&(d.index=i.index,d.input=i.input),d}function py(i){return typeof i.constructor=="function"&&!Zs(i)?qi(gl(i)):{}}function KO(i,l,d){var m=i.constructor;switch(l){case $e:return Nf(i);case pe:case ve:return new m(+i);case Xe:return RO(i,d);case Ze:case pn:case Tn:case io:case Fi:case sn:case Nn:case $i:case ji:return Yg(i,d);case J:return new m;case te:case ie:return new m(i);case W:return PO(i);case fe:return new m;case U:return LO(i)}}function qO(i,l){var d=l.length;if(!d)return i;var m=d-1;return l[m]=(d>1?"& ":"")+l[m],l=l.join(d>2?", ":" "),i.replace(JT,`{
|
|
26
26
|
/* [wrapped with `+l+`] */
|
|
27
|
-
`)}function YO(i){return De(i)||gi(i)||!!(_g&&i&&i[_g])}function fo(i,l){var d=typeof i;return l=l??Ve,!!l&&(d=="number"||d!="symbol"&&ax.test(i))&&i>-1&&i%1==0&&i<l}function On(i,l,d){if(!Nt(d))return!1;var m=typeof l;return(m=="number"?Fn(d)&&fo(l,d.length):m=="string"&&l in d)?xr(d[l],i):!1}function Wf(i,l){if(De(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Qn(i)?!0:KT.test(i)||!GT.test(i)||l!=null&&i in wt(l)}function XO(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Hf(i){var l=Nl(i),d=C[l];if(typeof d!="function"||!(l in Ke.prototype))return!1;if(i===d)return!0;var m=Uf(d);return!!m&&i===m[0]}function JO(i){return!!mg&&mg in i}var QO=fl?po:ld;function Zs(i){var l=i&&i.constructor,d=typeof l=="function"&&l.prototype||Vi;return i===d}function my(i){return i===i&&!Nt(i)}function gy(i,l){return function(d){return d==null?!1:d[i]===l&&(l!==n||i in wt(d))}}function ZO(i){var l=zl(i,function(m){return d.size===p&&d.clear(),m}),d=l.cache;return l}function eA(i,l){var d=i[1],m=l[1],b=d|m,k=b<(S|w|T),D=m==T&&d==E||m==T&&d==N&&i[7].length<=l[8]||m==(T|N)&&l[7].length<=l[8]&&d==E;if(!(k||D))return i;m&S&&(i[2]=l[2],b|=d&S?0:A);var $=l[3];if($){var H=i[3];i[3]=H?Qg(H,$,l[4]):$,i[4]=H?Fo(i[3],h):l[4]}return $=l[5],$&&(H=i[5],i[5]=H?Zg(H,$,l[6]):$,i[6]=H?Fo(i[5],h):l[6]),$=l[7],$&&(i[7]=$),m&T&&(i[8]=i[8]==null?l[8]:hn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=b,i}function tA(i){var l=[];if(i!=null)for(var d in wt(i))l.push(d);return l}function nA(i){return pl.call(i)}function yy(i,l,d){return l=Yt(l===n?i.length-1:l,0),function(){for(var m=arguments,b=-1,k=Yt(m.length-l,0),D=Y(k);++b<k;)D[b]=m[l+b];b=-1;for(var $=Y(l+1);++b<l;)$[b]=m[b];return $[l]=d(D),qn(i,this,$)}}function by(i,l){return l.length<2?i:pi(i,pr(l,0,-1))}function rA(i,l){for(var d=i.length,m=hn(l.length,d),b=Dn(i);m--;){var k=l[m];i[m]=fo(k,d)?b[k]:n}return i}function Vf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var _y=wy(Bg),ea=b1||function(i,l){return an.setTimeout(i,l)},Gf=wy(TO);function vy(i,l,d){var m=l+"";return Gf(i,qO(m,oA(VO(m),d)))}function wy(i){var l=0,d=0;return function(){var m=E1(),b=z-(m-d);if(d=m,b>0){if(++l>=le)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Fl(i,l){var d=-1,m=i.length,b=m-1;for(l=l===n?m:l;++d<l;){var k=Of(d,b),D=i[k];i[k]=i[d],i[d]=D}return i.length=l,i}var Ey=ZO(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(qT,function(d,m,b,k){l.push(b?k.replace(tx,"$1"):m||d)}),l});function Tr(i){if(typeof i=="string"||Qn(i))return i;var l=i+"";return l=="0"&&1/i==-Se?"-0":l}function mi(i){if(i!=null){try{return dl.call(i)}catch{}try{return i+""}catch{}}return""}function oA(i,l){return Yn(kn,function(d){var m="_."+d[0];l&d[1]&&!al(i,m)&&i.push(m)}),i.sort()}function Sy(i){if(i instanceof Ke)return i.clone();var l=new fr(i.__wrapped__,i.__chain__);return l.__actions__=Dn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function iA(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Yt(Ue(l),0);var m=i==null?0:i.length;if(!m||l<1)return[];for(var b=0,k=0,D=Y(_l(m/l));b<m;)D[k++]=pr(i,b,b+=l);return D}function sA(i){for(var l=-1,d=i==null?0:i.length,m=0,b=[];++l<d;){var k=i[l];k&&(b[m++]=k)}return b}function aA(){var i=arguments.length;if(!i)return[];for(var l=Y(i-1),d=arguments[0],m=i;m--;)l[m-1]=arguments[m];return Do(De(d)?Dn(d):[d],ln(l,1))}var lA=We(function(i,l){return Ut(i)?qs(i,ln(l,1,Ut,!0)):[]}),cA=We(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),xe(d,2)):[]}),uA=We(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),n,d):[]});function fA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),pr(i,l<0?0:l,m)):[]}function dA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,0,l<0?0:l)):[]}function pA(i,l){return i&&i.length?Al(i,xe(l,3),!0,!0):[]}function hA(i,l){return i&&i.length?Al(i,xe(l,3),!0):[]}function mA(i,l,d,m){var b=i==null?0:i.length;return b?(d&&typeof d!="number"&&On(i,l,d)&&(d=0,m=b),aO(i,l,d,m)):[]}function Cy(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),ll(i,xe(l,3),b)}function ky(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m-1;return d!==n&&(b=Ue(d),b=d<0?Yt(m+b,0):hn(b,m-1)),ll(i,xe(l,3),b,!0)}function Ty(i){var l=i==null?0:i.length;return l?ln(i,1):[]}function gA(i){var l=i==null?0:i.length;return l?ln(i,Se):[]}function yA(i,l){var d=i==null?0:i.length;return d?(l=l===n?1:Ue(l),ln(i,l)):[]}function bA(i){for(var l=-1,d=i==null?0:i.length,m={};++l<d;){var b=i[l];Wr(m,b[0],b[1])}return m}function xy(i){return i&&i.length?i[0]:n}function _A(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),zi(i,l,b)}function vA(i){var l=i==null?0:i.length;return l?pr(i,0,-1):[]}var wA=We(function(i){var l=Pt(i,Lf);return l.length&&l[0]===i[0]?Sf(l):[]}),EA=We(function(i){var l=hr(i),d=Pt(i,Lf);return l===hr(d)?l=n:d.pop(),d.length&&d[0]===i[0]?Sf(d,xe(l,2)):[]}),SA=We(function(i){var l=hr(i),d=Pt(i,Lf);return l=typeof l=="function"?l:n,l&&d.pop(),d.length&&d[0]===i[0]?Sf(d,n,l):[]});function CA(i,l){return i==null?"":v1.call(i,l)}function hr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function kA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m;return d!==n&&(b=Ue(d),b=b<0?Yt(m+b,0):hn(b,m-1)),l===l?o1(i,l,b):ll(i,ag,b,!0)}function TA(i,l){return i&&i.length?$g(i,Ue(l)):n}var xA=We(Oy);function Oy(i,l){return i&&i.length&&l&&l.length?xf(i,l):i}function OA(i,l,d){return i&&i.length&&l&&l.length?xf(i,l,xe(d,2)):i}function AA(i,l,d){return i&&i.length&&l&&l.length?xf(i,l,n,d):i}var RA=uo(function(i,l){var d=i==null?0:i.length,m=_f(i,l);return zg(i,Pt(l,function(b){return fo(b,d)?+b:b}).sort(Jg)),m});function PA(i,l){var d=[];if(!(i&&i.length))return d;var m=-1,b=[],k=i.length;for(l=xe(l,3);++m<k;){var D=i[m];l(D,m,i)&&(d.push(D),b.push(m))}return zg(i,b),d}function Kf(i){return i==null?i:C1.call(i)}function IA(i,l,d){var m=i==null?0:i.length;return m?(d&&typeof d!="number"&&On(i,l,d)?(l=0,d=m):(l=l==null?0:Ue(l),d=d===n?m:Ue(d)),pr(i,l,d)):[]}function LA(i,l){return Ol(i,l)}function MA(i,l,d){return Rf(i,l,xe(d,2))}function NA(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l);if(m<d&&xr(i[m],l))return m}return-1}function DA(i,l){return Ol(i,l,!0)}function FA(i,l,d){return Rf(i,l,xe(d,2),!0)}function $A(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l,!0)-1;if(xr(i[m],l))return m}return-1}function jA(i){return i&&i.length?Wg(i):[]}function UA(i,l){return i&&i.length?Wg(i,xe(l,2)):[]}function zA(i){var l=i==null?0:i.length;return l?pr(i,1,l):[]}function BA(i,l,d){return i&&i.length?(l=d||l===n?1:Ue(l),pr(i,0,l<0?0:l)):[]}function WA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,l<0?0:l,m)):[]}function HA(i,l){return i&&i.length?Al(i,xe(l,3),!1,!0):[]}function VA(i,l){return i&&i.length?Al(i,xe(l,3)):[]}var GA=We(function(i){return Uo(ln(i,1,Ut,!0))}),KA=We(function(i){var l=hr(i);return Ut(l)&&(l=n),Uo(ln(i,1,Ut,!0),xe(l,2))}),qA=We(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Uo(ln(i,1,Ut,!0),n,l)});function YA(i){return i&&i.length?Uo(i):[]}function XA(i,l){return i&&i.length?Uo(i,xe(l,2)):[]}function JA(i,l){return l=typeof l=="function"?l:n,i&&i.length?Uo(i,n,l):[]}function qf(i){if(!(i&&i.length))return[];var l=0;return i=No(i,function(d){if(Ut(d))return l=Yt(d.length,l),!0}),ff(l,function(d){return Pt(i,lf(d))})}function Ay(i,l){if(!(i&&i.length))return[];var d=qf(i);return l==null?d:Pt(d,function(m){return qn(l,n,m)})}var QA=We(function(i,l){return Ut(i)?qs(i,l):[]}),ZA=We(function(i){return If(No(i,Ut))}),eR=We(function(i){var l=hr(i);return Ut(l)&&(l=n),If(No(i,Ut),xe(l,2))}),tR=We(function(i){var l=hr(i);return l=typeof l=="function"?l:n,If(No(i,Ut),n,l)}),nR=We(qf);function rR(i,l){return Kg(i||[],l||[],Ks)}function oR(i,l){return Kg(i||[],l||[],Js)}var iR=We(function(i){var l=i.length,d=l>1?i[l-1]:n;return d=typeof d=="function"?(i.pop(),d):n,Ay(i,d)});function Ry(i){var l=C(i);return l.__chain__=!0,l}function sR(i,l){return l(i),i}function $l(i,l){return l(i)}var aR=uo(function(i){var l=i.length,d=l?i[0]:0,m=this.__wrapped__,b=function(k){return _f(k,i)};return l>1||this.__actions__.length||!(m instanceof Ke)||!fo(d)?this.thru(b):(m=m.slice(d,+d+(l?1:0)),m.__actions__.push({func:$l,args:[b],thisArg:n}),new fr(m,this.__chain__).thru(function(k){return l&&!k.length&&k.push(n),k}))});function lR(){return Ry(this)}function cR(){return new fr(this.value(),this.__chain__)}function uR(){this.__values__===n&&(this.__values__=Hy(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function fR(){return this}function dR(i){for(var l,d=this;d instanceof Sl;){var m=Sy(d);m.__index__=0,m.__values__=n,l?b.__wrapped__=m:l=m;var b=m;d=d.__wrapped__}return b.__wrapped__=i,l}function pR(){var i=this.__wrapped__;if(i instanceof Ke){var l=i;return this.__actions__.length&&(l=new Ke(this)),l=l.reverse(),l.__actions__.push({func:$l,args:[Kf],thisArg:n}),new fr(l,this.__chain__)}return this.thru(Kf)}function hR(){return Gg(this.__wrapped__,this.__actions__)}var mR=Rl(function(i,l,d){lt.call(i,d)?++i[d]:Wr(i,d,1)});function gR(i,l,d){var m=De(i)?ig:sO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}function yR(i,l){var d=De(i)?No:Ag;return d(i,xe(l,3))}var bR=ry(Cy),_R=ry(ky);function vR(i,l){return ln(jl(i,l),1)}function wR(i,l){return ln(jl(i,l),Se)}function ER(i,l,d){return d=d===n?1:Ue(d),ln(jl(i,l),d)}function Py(i,l){var d=De(i)?Yn:jo;return d(i,xe(l,3))}function Iy(i,l){var d=De(i)?zx:Og;return d(i,xe(l,3))}var SR=Rl(function(i,l,d){lt.call(i,d)?i[d].push(l):Wr(i,d,[l])});function CR(i,l,d,m){i=Fn(i)?i:Zi(i),d=d&&!m?Ue(d):0;var b=i.length;return d<0&&(d=Yt(b+d,0)),Hl(i)?d<=b&&i.indexOf(l,d)>-1:!!b&&zi(i,l,d)>-1}var kR=We(function(i,l,d){var m=-1,b=typeof l=="function",k=Fn(i)?Y(i.length):[];return jo(i,function(D){k[++m]=b?qn(l,D,d):Ys(D,l,d)}),k}),TR=Rl(function(i,l,d){Wr(i,d,l)});function jl(i,l){var d=De(i)?Pt:Ng;return d(i,xe(l,3))}function xR(i,l,d,m){return i==null?[]:(De(l)||(l=l==null?[]:[l]),d=m?n:d,De(d)||(d=d==null?[]:[d]),jg(i,l,d))}var OR=Rl(function(i,l,d){i[d?0:1].push(l)},function(){return[[],[]]});function AR(i,l,d){var m=De(i)?sf:cg,b=arguments.length<3;return m(i,xe(l,4),d,b,jo)}function RR(i,l,d){var m=De(i)?Bx:cg,b=arguments.length<3;return m(i,xe(l,4),d,b,Og)}function PR(i,l){var d=De(i)?No:Ag;return d(i,Bl(xe(l,3)))}function IR(i){var l=De(i)?Cg:CO;return l(i)}function LR(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Ue(l);var m=De(i)?tO:kO;return m(i,l)}function MR(i){var l=De(i)?nO:xO;return l(i)}function NR(i){if(i==null)return 0;if(Fn(i))return Hl(i)?Wi(i):i.length;var l=mn(i);return l==J||l==fe?i.size:kf(i).length}function DR(i,l,d){var m=De(i)?af:OO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}var FR=We(function(i,l){if(i==null)return[];var d=l.length;return d>1&&On(i,l[0],l[1])?l=[]:d>2&&On(l[0],l[1],l[2])&&(l=[l[0]]),jg(i,ln(l,1),[])}),Ul=y1||function(){return an.Date.now()};function $R(i,l){if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){if(--i<1)return l.apply(this,arguments)}}function Ly(i,l,d){return l=d?n:l,l=i&&l==null?i.length:l,co(i,T,n,n,n,n,l)}function My(i,l){var d;if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){return--i>0&&(d=l.apply(this,arguments)),i<=1&&(l=n),d}}var Yf=We(function(i,l,d){var m=S;if(d.length){var b=Fo(d,Ji(Yf));m|=x}return co(i,m,l,d,b)}),Ny=We(function(i,l,d){var m=S|w;if(d.length){var b=Fo(d,Ji(Ny));m|=x}return co(l,m,i,d,b)});function Dy(i,l,d){l=d?n:l;var m=co(i,E,n,n,n,n,n,l);return m.placeholder=Dy.placeholder,m}function Fy(i,l,d){l=d?n:l;var m=co(i,I,n,n,n,n,n,l);return m.placeholder=Fy.placeholder,m}function $y(i,l,d){var m,b,k,D,$,H,ie=0,ae=!1,ce=!1,me=!0;if(typeof i!="function")throw new ur(a);l=mr(l)||0,Nt(d)&&(ae=!!d.leading,ce="maxWait"in d,k=ce?Yt(mr(d.maxWait)||0,l):k,me="trailing"in d?!!d.trailing:me);function Ee(zt){var Or=m,mo=b;return m=b=n,ie=zt,D=i.apply(mo,Or),D}function Ae(zt){return ie=zt,$=ea(He,l),ae?Ee(zt):D}function Be(zt){var Or=zt-H,mo=zt-ie,ob=l-Or;return ce?hn(ob,k-mo):ob}function Te(zt){var Or=zt-H,mo=zt-ie;return H===n||Or>=l||Or<0||ce&&mo>=k}function He(){var zt=Ul();if(Te(zt))return Je(zt);$=ea(He,Be(zt))}function Je(zt){return $=n,me&&m?Ee(zt):(m=b=n,D)}function Zn(){$!==n&&qg($),ie=0,m=H=b=$=n}function An(){return $===n?D:Je(Ul())}function er(){var zt=Ul(),Or=Te(zt);if(m=arguments,b=this,H=zt,Or){if($===n)return Ae(H);if(ce)return qg($),$=ea(He,l),Ee(H)}return $===n&&($=ea(He,l)),D}return er.cancel=Zn,er.flush=An,er}var jR=We(function(i,l){return xg(i,1,l)}),UR=We(function(i,l,d){return xg(i,mr(l)||0,d)});function zR(i){return co(i,G)}function zl(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new ur(a);var d=function(){var m=arguments,b=l?l.apply(this,m):m[0],k=d.cache;if(k.has(b))return k.get(b);var D=i.apply(this,m);return d.cache=k.set(b,D)||k,D};return d.cache=new(zl.Cache||lo),d}zl.Cache=lo;function Bl(i){if(typeof i!="function")throw new ur(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function BR(i){return My(2,i)}var WR=AO(function(i,l){l=l.length==1&&De(l[0])?Pt(l[0],Xn(xe())):Pt(ln(l,1),Xn(xe()));var d=l.length;return We(function(m){for(var b=-1,k=hn(m.length,d);++b<k;)m[b]=l[b].call(this,m[b]);return qn(i,this,m)})}),Xf=We(function(i,l){var d=Fo(l,Ji(Xf));return co(i,x,n,l,d)}),jy=We(function(i,l){var d=Fo(l,Ji(jy));return co(i,P,n,l,d)}),HR=uo(function(i,l){return co(i,N,n,n,n,l)});function VR(i,l){if(typeof i!="function")throw new ur(a);return l=l===n?l:Ue(l),We(i,l)}function GR(i,l){if(typeof i!="function")throw new ur(a);return l=l==null?0:Yt(Ue(l),0),We(function(d){var m=d[l],b=Bo(d,0,l);return m&&Do(b,m),qn(i,this,b)})}function KR(i,l,d){var m=!0,b=!0;if(typeof i!="function")throw new ur(a);return Nt(d)&&(m="leading"in d?!!d.leading:m,b="trailing"in d?!!d.trailing:b),$y(i,l,{leading:m,maxWait:l,trailing:b})}function qR(i){return Ly(i,1)}function YR(i,l){return Xf(Mf(l),i)}function XR(){if(!arguments.length)return[];var i=arguments[0];return De(i)?i:[i]}function JR(i){return dr(i,v)}function QR(i,l){return l=typeof l=="function"?l:n,dr(i,v,l)}function ZR(i){return dr(i,g|v)}function eP(i,l){return l=typeof l=="function"?l:n,dr(i,g|v,l)}function tP(i,l){return l==null||Tg(i,l,Jt(l))}function xr(i,l){return i===l||i!==i&&l!==l}var nP=Ml(Ef),rP=Ml(function(i,l){return i>=l}),gi=Ig((function(){return arguments})())?Ig:function(i){return $t(i)&<.call(i,"callee")&&!bg.call(i,"callee")},De=Y.isArray,oP=Zm?Xn(Zm):dO;function Fn(i){return i!=null&&Wl(i.length)&&!po(i)}function Ut(i){return $t(i)&&Fn(i)}function iP(i){return i===!0||i===!1||$t(i)&&xn(i)==pe}var Wo=_1||ld,sP=eg?Xn(eg):pO;function aP(i){return $t(i)&&i.nodeType===1&&!ta(i)}function lP(i){if(i==null)return!0;if(Fn(i)&&(De(i)||typeof i=="string"||typeof i.splice=="function"||Wo(i)||Qi(i)||gi(i)))return!i.length;var l=mn(i);if(l==J||l==fe)return!i.size;if(Zs(i))return!kf(i).length;for(var d in i)if(lt.call(i,d))return!1;return!0}function cP(i,l){return Xs(i,l)}function uP(i,l,d){d=typeof d=="function"?d:n;var m=d?d(i,l):n;return m===n?Xs(i,l,n,d):!!m}function Jf(i){if(!$t(i))return!1;var l=xn(i);return l==M||l==ze||typeof i.message=="string"&&typeof i.name=="string"&&!ta(i)}function fP(i){return typeof i=="number"&&vg(i)}function po(i){if(!Nt(i))return!1;var l=xn(i);return l==F||l==V||l==ge||l==j}function Uy(i){return typeof i=="number"&&i==Ue(i)}function Wl(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=Ve}function Nt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function $t(i){return i!=null&&typeof i=="object"}var zy=tg?Xn(tg):mO;function dP(i,l){return i===l||Cf(i,l,zf(l))}function pP(i,l,d){return d=typeof d=="function"?d:n,Cf(i,l,zf(l),d)}function hP(i){return By(i)&&i!=+i}function mP(i){if(QO(i))throw new Me(s);return Lg(i)}function gP(i){return i===null}function yP(i){return i==null}function By(i){return typeof i=="number"||$t(i)&&xn(i)==re}function ta(i){if(!$t(i)||xn(i)!=R)return!1;var l=gl(i);if(l===null)return!0;var d=lt.call(l,"constructor")&&l.constructor;return typeof d=="function"&&d instanceof d&&dl.call(d)==p1}var Qf=ng?Xn(ng):gO;function bP(i){return Uy(i)&&i>=-Ve&&i<=Ve}var Wy=rg?Xn(rg):yO;function Hl(i){return typeof i=="string"||!De(i)&&$t(i)&&xn(i)==se}function Qn(i){return typeof i=="symbol"||$t(i)&&xn(i)==U}var Qi=og?Xn(og):bO;function _P(i){return i===n}function vP(i){return $t(i)&&mn(i)==be}function wP(i){return $t(i)&&xn(i)==ke}var EP=Ml(Tf),SP=Ml(function(i,l){return i<=l});function Hy(i){if(!i)return[];if(Fn(i))return Hl(i)?Cr(i):Dn(i);if(Bs&&i[Bs])return t1(i[Bs]());var l=mn(i),d=l==J?pf:l==fe?cl:Zi;return d(i)}function ho(i){if(!i)return i===0?i:0;if(i=mr(i),i===Se||i===-Se){var l=i<0?-1:1;return l*rn}return i===i?i:0}function Ue(i){var l=ho(i),d=l%1;return l===l?d?l-d:l:0}function Vy(i){return i?di(Ue(i),0,Ge):0}function mr(i){if(typeof i=="number")return i;if(Qn(i))return tt;if(Nt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=ug(i);var d=ox.test(i);return d||sx.test(i)?$x(i.slice(2),d?2:8):rx.test(i)?tt:+i}function Gy(i){return Vr(i,$n(i))}function CP(i){return i?di(Ue(i),-Ve,Ve):i===0?i:0}function ct(i){return i==null?"":Jn(i)}var kP=Yi(function(i,l){if(Zs(l)||Fn(l)){Vr(l,Jt(l),i);return}for(var d in l)lt.call(l,d)&&Ks(i,d,l[d])}),Ky=Yi(function(i,l){Vr(l,$n(l),i)}),qy=Yi(function(i,l,d,m){Vr(l,$n(l),i,m)}),Zf=Yi(function(i,l,d,m){Vr(l,Jt(l),i,m)}),TP=uo(_f);function xP(i,l){var d=qi(i);return l==null?d:kg(d,l)}var OP=We(function(i,l){i=wt(i);var d=-1,m=l.length,b=m>2?l[2]:n;for(b&&On(l[0],l[1],b)&&(m=1);++d<m;)for(var k=l[d],D=$n(k),$=-1,H=D.length;++$<H;){var ie=D[$],ae=i[ie];(ae===n||xr(ae,Vi[ie])&&!lt.call(i,ie))&&(i[ie]=k[ie])}return i}),AP=We(function(i){return i.push(n,uy),qn(Yy,n,i)});function RP(i,l){return sg(i,xe(l,3),Hr)}function PP(i,l){return sg(i,xe(l,3),wf)}function IP(i,l){return i==null?i:vf(i,xe(l,3),$n)}function LP(i,l){return i==null?i:Rg(i,xe(l,3),$n)}function MP(i,l){return i&&Hr(i,xe(l,3))}function NP(i,l){return i&&wf(i,xe(l,3))}function DP(i){return i==null?[]:Tl(i,Jt(i))}function FP(i){return i==null?[]:Tl(i,$n(i))}function ed(i,l,d){var m=i==null?n:pi(i,l);return m===n?d:m}function $P(i,l){return i!=null&&py(i,l,lO)}function td(i,l){return i!=null&&py(i,l,cO)}var jP=iy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),i[l]=d},rd(jn)),UP=iy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),lt.call(i,l)?i[l].push(d):i[l]=[d]},xe),zP=We(Ys);function Jt(i){return Fn(i)?Sg(i):kf(i)}function $n(i){return Fn(i)?Sg(i,!0):_O(i)}function BP(i,l){var d={};return l=xe(l,3),Hr(i,function(m,b,k){Wr(d,l(m,b,k),m)}),d}function WP(i,l){var d={};return l=xe(l,3),Hr(i,function(m,b,k){Wr(d,b,l(m,b,k))}),d}var HP=Yi(function(i,l,d){xl(i,l,d)}),Yy=Yi(function(i,l,d,m){xl(i,l,d,m)}),VP=uo(function(i,l){var d={};if(i==null)return d;var m=!1;l=Pt(l,function(k){return k=zo(k,i),m||(m=k.length>1),k}),Vr(i,jf(i),d),m&&(d=dr(d,g|y|v,UO));for(var b=l.length;b--;)Pf(d,l[b]);return d});function GP(i,l){return Xy(i,Bl(xe(l)))}var KP=uo(function(i,l){return i==null?{}:wO(i,l)});function Xy(i,l){if(i==null)return{};var d=Pt(jf(i),function(m){return[m]});return l=xe(l),Ug(i,d,function(m,b){return l(m,b[0])})}function qP(i,l,d){l=zo(l,i);var m=-1,b=l.length;for(b||(b=1,i=n);++m<b;){var k=i==null?n:i[Tr(l[m])];k===n&&(m=b,k=d),i=po(k)?k.call(i):k}return i}function YP(i,l,d){return i==null?i:Js(i,l,d)}function XP(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Js(i,l,d,m)}var Jy=ly(Jt),Qy=ly($n);function JP(i,l,d){var m=De(i),b=m||Wo(i)||Qi(i);if(l=xe(l,4),d==null){var k=i&&i.constructor;b?d=m?new k:[]:Nt(i)?d=po(k)?qi(gl(i)):{}:d={}}return(b?Yn:Hr)(i,function(D,$,H){return l(d,D,$,H)}),d}function QP(i,l){return i==null?!0:Pf(i,l)}function ZP(i,l,d){return i==null?i:Vg(i,l,Mf(d))}function eI(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Vg(i,l,Mf(d),m)}function Zi(i){return i==null?[]:df(i,Jt(i))}function tI(i){return i==null?[]:df(i,$n(i))}function nI(i,l,d){return d===n&&(d=l,l=n),d!==n&&(d=mr(d),d=d===d?d:0),l!==n&&(l=mr(l),l=l===l?l:0),di(mr(i),l,d)}function rI(i,l,d){return l=ho(l),d===n?(d=l,l=0):d=ho(d),i=mr(i),uO(i,l,d)}function oI(i,l,d){if(d&&typeof d!="boolean"&&On(i,l,d)&&(l=d=n),d===n&&(typeof l=="boolean"?(d=l,l=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&l===n?(i=0,l=1):(i=ho(i),l===n?(l=i,i=0):l=ho(l)),i>l){var m=i;i=l,l=m}if(d||i%1||l%1){var b=wg();return hn(i+b*(l-i+Fx("1e-"+((b+"").length-1))),l)}return Of(i,l)}var iI=Xi(function(i,l,d){return l=l.toLowerCase(),i+(d?Zy(l):l)});function Zy(i){return nd(ct(i).toLowerCase())}function eb(i){return i=ct(i),i&&i.replace(lx,Xx).replace(xx,"")}function sI(i,l,d){i=ct(i),l=Jn(l);var m=i.length;d=d===n?m:di(Ue(d),0,m);var b=d;return d-=l.length,d>=0&&i.slice(d,b)==l}function aI(i){return i=ct(i),i&&WT.test(i)?i.replace(Am,Jx):i}function lI(i){return i=ct(i),i&&YT.test(i)?i.replace(Yu,"\\$&"):i}var cI=Xi(function(i,l,d){return i+(d?"-":"")+l.toLowerCase()}),uI=Xi(function(i,l,d){return i+(d?" ":"")+l.toLowerCase()}),fI=ny("toLowerCase");function dI(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;if(!l||m>=l)return i;var b=(l-m)/2;return Ll(vl(b),d)+i+Ll(_l(b),d)}function pI(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?i+Ll(l-m,d):i}function hI(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?Ll(l-m,d)+i:i}function mI(i,l,d){return d||l==null?l=0:l&&(l=+l),S1(ct(i).replace(Xu,""),l||0)}function gI(i,l,d){return(d?On(i,l,d):l===n)?l=1:l=Ue(l),Af(ct(i),l)}function yI(){var i=arguments,l=ct(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var bI=Xi(function(i,l,d){return i+(d?"_":"")+l.toLowerCase()});function _I(i,l,d){return d&&typeof d!="number"&&On(i,l,d)&&(l=d=n),d=d===n?Ge:d>>>0,d?(i=ct(i),i&&(typeof l=="string"||l!=null&&!Qf(l))&&(l=Jn(l),!l&&Bi(i))?Bo(Cr(i),0,d):i.split(l,d)):[]}var vI=Xi(function(i,l,d){return i+(d?" ":"")+nd(l)});function wI(i,l,d){return i=ct(i),d=d==null?0:di(Ue(d),0,i.length),l=Jn(l),i.slice(d,d+l.length)==l}function EI(i,l,d){var m=C.templateSettings;d&&On(i,l,d)&&(l=n),i=ct(i),l=Zf({},l,m,cy);var b=Zf({},l.imports,m.imports,cy),k=Jt(b),D=df(b,k);Yn(k,function(Te){if(Pm.test(Te))throw new Me(u)});var $,H,ie=0,ae=l.interpolate||ol,ce="__p += '",me=hf((l.escape||ol).source+"|"+ae.source+"|"+(ae===Rm?nx:ol).source+"|"+(l.evaluate||ol).source+"|$","g"),Ee="//# sourceURL="+(lt.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ix+"]")+`
|
|
28
|
-
`;i.replace(me,function(Te,He,Je,Zn,An,er){return Je||(Je=Zn),
|
|
27
|
+
`)}function YO(i){return De(i)||gi(i)||!!(bg&&i&&i[bg])}function uo(i,l){var d=typeof i;return l=l??Ve,!!l&&(d=="number"||d!="symbol"&&ax.test(i))&&i>-1&&i%1==0&&i<l}function On(i,l,d){if(!Nt(d))return!1;var m=typeof l;return(m=="number"?Fn(d)&&uo(l,d.length):m=="string"&&l in d)?xr(d[l],i):!1}function Wf(i,l){if(De(i))return!1;var d=typeof i;return d=="number"||d=="symbol"||d=="boolean"||i==null||Qn(i)?!0:KT.test(i)||!GT.test(i)||l!=null&&i in wt(l)}function XO(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function Hf(i){var l=Nl(i),d=C[l];if(typeof d!="function"||!(l in Ke.prototype))return!1;if(i===d)return!0;var m=Uf(d);return!!m&&i===m[0]}function JO(i){return!!hg&&hg in i}var QO=fl?fo:ld;function Zs(i){var l=i&&i.constructor,d=typeof l=="function"&&l.prototype||Vi;return i===d}function hy(i){return i===i&&!Nt(i)}function my(i,l){return function(d){return d==null?!1:d[i]===l&&(l!==n||i in wt(d))}}function ZO(i){var l=zl(i,function(m){return d.size===p&&d.clear(),m}),d=l.cache;return l}function eA(i,l){var d=i[1],m=l[1],b=d|m,k=b<(S|v|x),D=m==x&&d==E||m==x&&d==N&&i[7].length<=l[8]||m==(x|N)&&l[7].length<=l[8]&&d==E;if(!(k||D))return i;m&S&&(i[2]=l[2],b|=d&S?0:T);var $=l[3];if($){var H=i[3];i[3]=H?Jg(H,$,l[4]):$,i[4]=H?Fo(i[3],h):l[4]}return $=l[5],$&&(H=i[5],i[5]=H?Qg(H,$,l[6]):$,i[6]=H?Fo(i[5],h):l[6]),$=l[7],$&&(i[7]=$),m&x&&(i[8]=i[8]==null?l[8]:hn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=b,i}function tA(i){var l=[];if(i!=null)for(var d in wt(i))l.push(d);return l}function nA(i){return pl.call(i)}function gy(i,l,d){return l=Yt(l===n?i.length-1:l,0),function(){for(var m=arguments,b=-1,k=Yt(m.length-l,0),D=Y(k);++b<k;)D[b]=m[l+b];b=-1;for(var $=Y(l+1);++b<l;)$[b]=m[b];return $[l]=d(D),qn(i,this,$)}}function yy(i,l){return l.length<2?i:pi(i,pr(l,0,-1))}function rA(i,l){for(var d=i.length,m=hn(l.length,d),b=Dn(i);m--;){var k=l[m];i[m]=uo(k,d)?b[k]:n}return i}function Vf(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var by=vy(zg),ea=b1||function(i,l){return an.setTimeout(i,l)},Gf=vy(TO);function _y(i,l,d){var m=l+"";return Gf(i,qO(m,oA(VO(m),d)))}function vy(i){var l=0,d=0;return function(){var m=E1(),b=B-(m-d);if(d=m,b>0){if(++l>=ue)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Fl(i,l){var d=-1,m=i.length,b=m-1;for(l=l===n?m:l;++d<l;){var k=Of(d,b),D=i[k];i[k]=i[d],i[d]=D}return i.length=l,i}var wy=ZO(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(qT,function(d,m,b,k){l.push(b?k.replace(tx,"$1"):m||d)}),l});function Tr(i){if(typeof i=="string"||Qn(i))return i;var l=i+"";return l=="0"&&1/i==-Ee?"-0":l}function mi(i){if(i!=null){try{return dl.call(i)}catch{}try{return i+""}catch{}}return""}function oA(i,l){return Yn(kn,function(d){var m="_."+d[0];l&d[1]&&!al(i,m)&&i.push(m)}),i.sort()}function Ey(i){if(i instanceof Ke)return i.clone();var l=new fr(i.__wrapped__,i.__chain__);return l.__actions__=Dn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function iA(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Yt(Ue(l),0);var m=i==null?0:i.length;if(!m||l<1)return[];for(var b=0,k=0,D=Y(_l(m/l));b<m;)D[k++]=pr(i,b,b+=l);return D}function sA(i){for(var l=-1,d=i==null?0:i.length,m=0,b=[];++l<d;){var k=i[l];k&&(b[m++]=k)}return b}function aA(){var i=arguments.length;if(!i)return[];for(var l=Y(i-1),d=arguments[0],m=i;m--;)l[m-1]=arguments[m];return Do(De(d)?Dn(d):[d],ln(l,1))}var lA=We(function(i,l){return Ut(i)?qs(i,ln(l,1,Ut,!0)):[]}),cA=We(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),xe(d,2)):[]}),uA=We(function(i,l){var d=hr(l);return Ut(d)&&(d=n),Ut(i)?qs(i,ln(l,1,Ut,!0),n,d):[]});function fA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),pr(i,l<0?0:l,m)):[]}function dA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,0,l<0?0:l)):[]}function pA(i,l){return i&&i.length?Al(i,xe(l,3),!0,!0):[]}function hA(i,l){return i&&i.length?Al(i,xe(l,3),!0):[]}function mA(i,l,d,m){var b=i==null?0:i.length;return b?(d&&typeof d!="number"&&On(i,l,d)&&(d=0,m=b),aO(i,l,d,m)):[]}function Sy(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),ll(i,xe(l,3),b)}function Cy(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m-1;return d!==n&&(b=Ue(d),b=d<0?Yt(m+b,0):hn(b,m-1)),ll(i,xe(l,3),b,!0)}function ky(i){var l=i==null?0:i.length;return l?ln(i,1):[]}function gA(i){var l=i==null?0:i.length;return l?ln(i,Ee):[]}function yA(i,l){var d=i==null?0:i.length;return d?(l=l===n?1:Ue(l),ln(i,l)):[]}function bA(i){for(var l=-1,d=i==null?0:i.length,m={};++l<d;){var b=i[l];Wr(m,b[0],b[1])}return m}function Ty(i){return i&&i.length?i[0]:n}function _A(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=d==null?0:Ue(d);return b<0&&(b=Yt(m+b,0)),zi(i,l,b)}function vA(i){var l=i==null?0:i.length;return l?pr(i,0,-1):[]}var wA=We(function(i){var l=Pt(i,If);return l.length&&l[0]===i[0]?Sf(l):[]}),EA=We(function(i){var l=hr(i),d=Pt(i,If);return l===hr(d)?l=n:d.pop(),d.length&&d[0]===i[0]?Sf(d,xe(l,2)):[]}),SA=We(function(i){var l=hr(i),d=Pt(i,If);return l=typeof l=="function"?l:n,l&&d.pop(),d.length&&d[0]===i[0]?Sf(d,n,l):[]});function CA(i,l){return i==null?"":v1.call(i,l)}function hr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function kA(i,l,d){var m=i==null?0:i.length;if(!m)return-1;var b=m;return d!==n&&(b=Ue(d),b=b<0?Yt(m+b,0):hn(b,m-1)),l===l?o1(i,l,b):ll(i,sg,b,!0)}function TA(i,l){return i&&i.length?Fg(i,Ue(l)):n}var xA=We(xy);function xy(i,l){return i&&i.length&&l&&l.length?xf(i,l):i}function OA(i,l,d){return i&&i.length&&l&&l.length?xf(i,l,xe(d,2)):i}function AA(i,l,d){return i&&i.length&&l&&l.length?xf(i,l,n,d):i}var RA=co(function(i,l){var d=i==null?0:i.length,m=_f(i,l);return Ug(i,Pt(l,function(b){return uo(b,d)?+b:b}).sort(Xg)),m});function PA(i,l){var d=[];if(!(i&&i.length))return d;var m=-1,b=[],k=i.length;for(l=xe(l,3);++m<k;){var D=i[m];l(D,m,i)&&(d.push(D),b.push(m))}return Ug(i,b),d}function Kf(i){return i==null?i:C1.call(i)}function LA(i,l,d){var m=i==null?0:i.length;return m?(d&&typeof d!="number"&&On(i,l,d)?(l=0,d=m):(l=l==null?0:Ue(l),d=d===n?m:Ue(d)),pr(i,l,d)):[]}function IA(i,l){return Ol(i,l)}function MA(i,l,d){return Rf(i,l,xe(d,2))}function NA(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l);if(m<d&&xr(i[m],l))return m}return-1}function DA(i,l){return Ol(i,l,!0)}function FA(i,l,d){return Rf(i,l,xe(d,2),!0)}function $A(i,l){var d=i==null?0:i.length;if(d){var m=Ol(i,l,!0)-1;if(xr(i[m],l))return m}return-1}function jA(i){return i&&i.length?Bg(i):[]}function UA(i,l){return i&&i.length?Bg(i,xe(l,2)):[]}function zA(i){var l=i==null?0:i.length;return l?pr(i,1,l):[]}function BA(i,l,d){return i&&i.length?(l=d||l===n?1:Ue(l),pr(i,0,l<0?0:l)):[]}function WA(i,l,d){var m=i==null?0:i.length;return m?(l=d||l===n?1:Ue(l),l=m-l,pr(i,l<0?0:l,m)):[]}function HA(i,l){return i&&i.length?Al(i,xe(l,3),!1,!0):[]}function VA(i,l){return i&&i.length?Al(i,xe(l,3)):[]}var GA=We(function(i){return Uo(ln(i,1,Ut,!0))}),KA=We(function(i){var l=hr(i);return Ut(l)&&(l=n),Uo(ln(i,1,Ut,!0),xe(l,2))}),qA=We(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Uo(ln(i,1,Ut,!0),n,l)});function YA(i){return i&&i.length?Uo(i):[]}function XA(i,l){return i&&i.length?Uo(i,xe(l,2)):[]}function JA(i,l){return l=typeof l=="function"?l:n,i&&i.length?Uo(i,n,l):[]}function qf(i){if(!(i&&i.length))return[];var l=0;return i=No(i,function(d){if(Ut(d))return l=Yt(d.length,l),!0}),ff(l,function(d){return Pt(i,lf(d))})}function Oy(i,l){if(!(i&&i.length))return[];var d=qf(i);return l==null?d:Pt(d,function(m){return qn(l,n,m)})}var QA=We(function(i,l){return Ut(i)?qs(i,l):[]}),ZA=We(function(i){return Lf(No(i,Ut))}),eR=We(function(i){var l=hr(i);return Ut(l)&&(l=n),Lf(No(i,Ut),xe(l,2))}),tR=We(function(i){var l=hr(i);return l=typeof l=="function"?l:n,Lf(No(i,Ut),n,l)}),nR=We(qf);function rR(i,l){return Gg(i||[],l||[],Ks)}function oR(i,l){return Gg(i||[],l||[],Js)}var iR=We(function(i){var l=i.length,d=l>1?i[l-1]:n;return d=typeof d=="function"?(i.pop(),d):n,Oy(i,d)});function Ay(i){var l=C(i);return l.__chain__=!0,l}function sR(i,l){return l(i),i}function $l(i,l){return l(i)}var aR=co(function(i){var l=i.length,d=l?i[0]:0,m=this.__wrapped__,b=function(k){return _f(k,i)};return l>1||this.__actions__.length||!(m instanceof Ke)||!uo(d)?this.thru(b):(m=m.slice(d,+d+(l?1:0)),m.__actions__.push({func:$l,args:[b],thisArg:n}),new fr(m,this.__chain__).thru(function(k){return l&&!k.length&&k.push(n),k}))});function lR(){return Ay(this)}function cR(){return new fr(this.value(),this.__chain__)}function uR(){this.__values__===n&&(this.__values__=Wy(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function fR(){return this}function dR(i){for(var l,d=this;d instanceof Sl;){var m=Ey(d);m.__index__=0,m.__values__=n,l?b.__wrapped__=m:l=m;var b=m;d=d.__wrapped__}return b.__wrapped__=i,l}function pR(){var i=this.__wrapped__;if(i instanceof Ke){var l=i;return this.__actions__.length&&(l=new Ke(this)),l=l.reverse(),l.__actions__.push({func:$l,args:[Kf],thisArg:n}),new fr(l,this.__chain__)}return this.thru(Kf)}function hR(){return Vg(this.__wrapped__,this.__actions__)}var mR=Rl(function(i,l,d){lt.call(i,d)?++i[d]:Wr(i,d,1)});function gR(i,l,d){var m=De(i)?og:sO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}function yR(i,l){var d=De(i)?No:Og;return d(i,xe(l,3))}var bR=ny(Sy),_R=ny(Cy);function vR(i,l){return ln(jl(i,l),1)}function wR(i,l){return ln(jl(i,l),Ee)}function ER(i,l,d){return d=d===n?1:Ue(d),ln(jl(i,l),d)}function Ry(i,l){var d=De(i)?Yn:jo;return d(i,xe(l,3))}function Py(i,l){var d=De(i)?zx:xg;return d(i,xe(l,3))}var SR=Rl(function(i,l,d){lt.call(i,d)?i[d].push(l):Wr(i,d,[l])});function CR(i,l,d,m){i=Fn(i)?i:Zi(i),d=d&&!m?Ue(d):0;var b=i.length;return d<0&&(d=Yt(b+d,0)),Hl(i)?d<=b&&i.indexOf(l,d)>-1:!!b&&zi(i,l,d)>-1}var kR=We(function(i,l,d){var m=-1,b=typeof l=="function",k=Fn(i)?Y(i.length):[];return jo(i,function(D){k[++m]=b?qn(l,D,d):Ys(D,l,d)}),k}),TR=Rl(function(i,l,d){Wr(i,d,l)});function jl(i,l){var d=De(i)?Pt:Mg;return d(i,xe(l,3))}function xR(i,l,d,m){return i==null?[]:(De(l)||(l=l==null?[]:[l]),d=m?n:d,De(d)||(d=d==null?[]:[d]),$g(i,l,d))}var OR=Rl(function(i,l,d){i[d?0:1].push(l)},function(){return[[],[]]});function AR(i,l,d){var m=De(i)?sf:lg,b=arguments.length<3;return m(i,xe(l,4),d,b,jo)}function RR(i,l,d){var m=De(i)?Bx:lg,b=arguments.length<3;return m(i,xe(l,4),d,b,xg)}function PR(i,l){var d=De(i)?No:Og;return d(i,Bl(xe(l,3)))}function LR(i){var l=De(i)?Sg:CO;return l(i)}function IR(i,l,d){(d?On(i,l,d):l===n)?l=1:l=Ue(l);var m=De(i)?tO:kO;return m(i,l)}function MR(i){var l=De(i)?nO:xO;return l(i)}function NR(i){if(i==null)return 0;if(Fn(i))return Hl(i)?Wi(i):i.length;var l=mn(i);return l==J||l==fe?i.size:kf(i).length}function DR(i,l,d){var m=De(i)?af:OO;return d&&On(i,l,d)&&(l=n),m(i,xe(l,3))}var FR=We(function(i,l){if(i==null)return[];var d=l.length;return d>1&&On(i,l[0],l[1])?l=[]:d>2&&On(l[0],l[1],l[2])&&(l=[l[0]]),$g(i,ln(l,1),[])}),Ul=y1||function(){return an.Date.now()};function $R(i,l){if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){if(--i<1)return l.apply(this,arguments)}}function Ly(i,l,d){return l=d?n:l,l=i&&l==null?i.length:l,lo(i,x,n,n,n,n,l)}function Iy(i,l){var d;if(typeof l!="function")throw new ur(a);return i=Ue(i),function(){return--i>0&&(d=l.apply(this,arguments)),i<=1&&(l=n),d}}var Yf=We(function(i,l,d){var m=S;if(d.length){var b=Fo(d,Ji(Yf));m|=A}return lo(i,m,l,d,b)}),My=We(function(i,l,d){var m=S|v;if(d.length){var b=Fo(d,Ji(My));m|=A}return lo(l,m,i,d,b)});function Ny(i,l,d){l=d?n:l;var m=lo(i,E,n,n,n,n,n,l);return m.placeholder=Ny.placeholder,m}function Dy(i,l,d){l=d?n:l;var m=lo(i,R,n,n,n,n,n,l);return m.placeholder=Dy.placeholder,m}function Fy(i,l,d){var m,b,k,D,$,H,oe=0,se=!1,le=!1,me=!0;if(typeof i!="function")throw new ur(a);l=mr(l)||0,Nt(d)&&(se=!!d.leading,le="maxWait"in d,k=le?Yt(mr(d.maxWait)||0,l):k,me="trailing"in d?!!d.trailing:me);function Se(zt){var Or=m,ho=b;return m=b=n,oe=zt,D=i.apply(ho,Or),D}function Ae(zt){return oe=zt,$=ea(He,l),se?Se(zt):D}function Be(zt){var Or=zt-H,ho=zt-oe,rb=l-Or;return le?hn(rb,k-ho):rb}function Te(zt){var Or=zt-H,ho=zt-oe;return H===n||Or>=l||Or<0||le&&ho>=k}function He(){var zt=Ul();if(Te(zt))return Je(zt);$=ea(He,Be(zt))}function Je(zt){return $=n,me&&m?Se(zt):(m=b=n,D)}function Zn(){$!==n&&Kg($),oe=0,m=H=b=$=n}function An(){return $===n?D:Je(Ul())}function er(){var zt=Ul(),Or=Te(zt);if(m=arguments,b=this,H=zt,Or){if($===n)return Ae(H);if(le)return Kg($),$=ea(He,l),Se(H)}return $===n&&($=ea(He,l)),D}return er.cancel=Zn,er.flush=An,er}var jR=We(function(i,l){return Tg(i,1,l)}),UR=We(function(i,l,d){return Tg(i,mr(l)||0,d)});function zR(i){return lo(i,G)}function zl(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new ur(a);var d=function(){var m=arguments,b=l?l.apply(this,m):m[0],k=d.cache;if(k.has(b))return k.get(b);var D=i.apply(this,m);return d.cache=k.set(b,D)||k,D};return d.cache=new(zl.Cache||ao),d}zl.Cache=ao;function Bl(i){if(typeof i!="function")throw new ur(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function BR(i){return Iy(2,i)}var WR=AO(function(i,l){l=l.length==1&&De(l[0])?Pt(l[0],Xn(xe())):Pt(ln(l,1),Xn(xe()));var d=l.length;return We(function(m){for(var b=-1,k=hn(m.length,d);++b<k;)m[b]=l[b].call(this,m[b]);return qn(i,this,m)})}),Xf=We(function(i,l){var d=Fo(l,Ji(Xf));return lo(i,A,n,l,d)}),$y=We(function(i,l){var d=Fo(l,Ji($y));return lo(i,L,n,l,d)}),HR=co(function(i,l){return lo(i,N,n,n,n,l)});function VR(i,l){if(typeof i!="function")throw new ur(a);return l=l===n?l:Ue(l),We(i,l)}function GR(i,l){if(typeof i!="function")throw new ur(a);return l=l==null?0:Yt(Ue(l),0),We(function(d){var m=d[l],b=Bo(d,0,l);return m&&Do(b,m),qn(i,this,b)})}function KR(i,l,d){var m=!0,b=!0;if(typeof i!="function")throw new ur(a);return Nt(d)&&(m="leading"in d?!!d.leading:m,b="trailing"in d?!!d.trailing:b),Fy(i,l,{leading:m,maxWait:l,trailing:b})}function qR(i){return Ly(i,1)}function YR(i,l){return Xf(Mf(l),i)}function XR(){if(!arguments.length)return[];var i=arguments[0];return De(i)?i:[i]}function JR(i){return dr(i,w)}function QR(i,l){return l=typeof l=="function"?l:n,dr(i,w,l)}function ZR(i){return dr(i,g|w)}function eP(i,l){return l=typeof l=="function"?l:n,dr(i,g|w,l)}function tP(i,l){return l==null||kg(i,l,Jt(l))}function xr(i,l){return i===l||i!==i&&l!==l}var nP=Ml(Ef),rP=Ml(function(i,l){return i>=l}),gi=Pg((function(){return arguments})())?Pg:function(i){return $t(i)&<.call(i,"callee")&&!yg.call(i,"callee")},De=Y.isArray,oP=Qm?Xn(Qm):dO;function Fn(i){return i!=null&&Wl(i.length)&&!fo(i)}function Ut(i){return $t(i)&&Fn(i)}function iP(i){return i===!0||i===!1||$t(i)&&xn(i)==pe}var Wo=_1||ld,sP=Zm?Xn(Zm):pO;function aP(i){return $t(i)&&i.nodeType===1&&!ta(i)}function lP(i){if(i==null)return!0;if(Fn(i)&&(De(i)||typeof i=="string"||typeof i.splice=="function"||Wo(i)||Qi(i)||gi(i)))return!i.length;var l=mn(i);if(l==J||l==fe)return!i.size;if(Zs(i))return!kf(i).length;for(var d in i)if(lt.call(i,d))return!1;return!0}function cP(i,l){return Xs(i,l)}function uP(i,l,d){d=typeof d=="function"?d:n;var m=d?d(i,l):n;return m===n?Xs(i,l,n,d):!!m}function Jf(i){if(!$t(i))return!1;var l=xn(i);return l==M||l==ze||typeof i.message=="string"&&typeof i.name=="string"&&!ta(i)}function fP(i){return typeof i=="number"&&_g(i)}function fo(i){if(!Nt(i))return!1;var l=xn(i);return l==F||l==V||l==ge||l==j}function jy(i){return typeof i=="number"&&i==Ue(i)}function Wl(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=Ve}function Nt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function $t(i){return i!=null&&typeof i=="object"}var Uy=eg?Xn(eg):mO;function dP(i,l){return i===l||Cf(i,l,zf(l))}function pP(i,l,d){return d=typeof d=="function"?d:n,Cf(i,l,zf(l),d)}function hP(i){return zy(i)&&i!=+i}function mP(i){if(QO(i))throw new Me(s);return Lg(i)}function gP(i){return i===null}function yP(i){return i==null}function zy(i){return typeof i=="number"||$t(i)&&xn(i)==te}function ta(i){if(!$t(i)||xn(i)!=P)return!1;var l=gl(i);if(l===null)return!0;var d=lt.call(l,"constructor")&&l.constructor;return typeof d=="function"&&d instanceof d&&dl.call(d)==p1}var Qf=tg?Xn(tg):gO;function bP(i){return jy(i)&&i>=-Ve&&i<=Ve}var By=ng?Xn(ng):yO;function Hl(i){return typeof i=="string"||!De(i)&&$t(i)&&xn(i)==ie}function Qn(i){return typeof i=="symbol"||$t(i)&&xn(i)==U}var Qi=rg?Xn(rg):bO;function _P(i){return i===n}function vP(i){return $t(i)&&mn(i)==be}function wP(i){return $t(i)&&xn(i)==ke}var EP=Ml(Tf),SP=Ml(function(i,l){return i<=l});function Wy(i){if(!i)return[];if(Fn(i))return Hl(i)?Cr(i):Dn(i);if(Bs&&i[Bs])return t1(i[Bs]());var l=mn(i),d=l==J?pf:l==fe?cl:Zi;return d(i)}function po(i){if(!i)return i===0?i:0;if(i=mr(i),i===Ee||i===-Ee){var l=i<0?-1:1;return l*rn}return i===i?i:0}function Ue(i){var l=po(i),d=l%1;return l===l?d?l-d:l:0}function Hy(i){return i?di(Ue(i),0,Ge):0}function mr(i){if(typeof i=="number")return i;if(Qn(i))return tt;if(Nt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Nt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=cg(i);var d=ox.test(i);return d||sx.test(i)?$x(i.slice(2),d?2:8):rx.test(i)?tt:+i}function Vy(i){return Vr(i,$n(i))}function CP(i){return i?di(Ue(i),-Ve,Ve):i===0?i:0}function ct(i){return i==null?"":Jn(i)}var kP=Yi(function(i,l){if(Zs(l)||Fn(l)){Vr(l,Jt(l),i);return}for(var d in l)lt.call(l,d)&&Ks(i,d,l[d])}),Gy=Yi(function(i,l){Vr(l,$n(l),i)}),Ky=Yi(function(i,l,d,m){Vr(l,$n(l),i,m)}),Zf=Yi(function(i,l,d,m){Vr(l,Jt(l),i,m)}),TP=co(_f);function xP(i,l){var d=qi(i);return l==null?d:Cg(d,l)}var OP=We(function(i,l){i=wt(i);var d=-1,m=l.length,b=m>2?l[2]:n;for(b&&On(l[0],l[1],b)&&(m=1);++d<m;)for(var k=l[d],D=$n(k),$=-1,H=D.length;++$<H;){var oe=D[$],se=i[oe];(se===n||xr(se,Vi[oe])&&!lt.call(i,oe))&&(i[oe]=k[oe])}return i}),AP=We(function(i){return i.push(n,cy),qn(qy,n,i)});function RP(i,l){return ig(i,xe(l,3),Hr)}function PP(i,l){return ig(i,xe(l,3),wf)}function LP(i,l){return i==null?i:vf(i,xe(l,3),$n)}function IP(i,l){return i==null?i:Ag(i,xe(l,3),$n)}function MP(i,l){return i&&Hr(i,xe(l,3))}function NP(i,l){return i&&wf(i,xe(l,3))}function DP(i){return i==null?[]:Tl(i,Jt(i))}function FP(i){return i==null?[]:Tl(i,$n(i))}function ed(i,l,d){var m=i==null?n:pi(i,l);return m===n?d:m}function $P(i,l){return i!=null&&dy(i,l,lO)}function td(i,l){return i!=null&&dy(i,l,cO)}var jP=oy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),i[l]=d},rd(jn)),UP=oy(function(i,l,d){l!=null&&typeof l.toString!="function"&&(l=pl.call(l)),lt.call(i,l)?i[l].push(d):i[l]=[d]},xe),zP=We(Ys);function Jt(i){return Fn(i)?Eg(i):kf(i)}function $n(i){return Fn(i)?Eg(i,!0):_O(i)}function BP(i,l){var d={};return l=xe(l,3),Hr(i,function(m,b,k){Wr(d,l(m,b,k),m)}),d}function WP(i,l){var d={};return l=xe(l,3),Hr(i,function(m,b,k){Wr(d,b,l(m,b,k))}),d}var HP=Yi(function(i,l,d){xl(i,l,d)}),qy=Yi(function(i,l,d,m){xl(i,l,d,m)}),VP=co(function(i,l){var d={};if(i==null)return d;var m=!1;l=Pt(l,function(k){return k=zo(k,i),m||(m=k.length>1),k}),Vr(i,jf(i),d),m&&(d=dr(d,g|y|w,UO));for(var b=l.length;b--;)Pf(d,l[b]);return d});function GP(i,l){return Yy(i,Bl(xe(l)))}var KP=co(function(i,l){return i==null?{}:wO(i,l)});function Yy(i,l){if(i==null)return{};var d=Pt(jf(i),function(m){return[m]});return l=xe(l),jg(i,d,function(m,b){return l(m,b[0])})}function qP(i,l,d){l=zo(l,i);var m=-1,b=l.length;for(b||(b=1,i=n);++m<b;){var k=i==null?n:i[Tr(l[m])];k===n&&(m=b,k=d),i=fo(k)?k.call(i):k}return i}function YP(i,l,d){return i==null?i:Js(i,l,d)}function XP(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Js(i,l,d,m)}var Xy=ay(Jt),Jy=ay($n);function JP(i,l,d){var m=De(i),b=m||Wo(i)||Qi(i);if(l=xe(l,4),d==null){var k=i&&i.constructor;b?d=m?new k:[]:Nt(i)?d=fo(k)?qi(gl(i)):{}:d={}}return(b?Yn:Hr)(i,function(D,$,H){return l(d,D,$,H)}),d}function QP(i,l){return i==null?!0:Pf(i,l)}function ZP(i,l,d){return i==null?i:Hg(i,l,Mf(d))}function eL(i,l,d,m){return m=typeof m=="function"?m:n,i==null?i:Hg(i,l,Mf(d),m)}function Zi(i){return i==null?[]:df(i,Jt(i))}function tL(i){return i==null?[]:df(i,$n(i))}function nL(i,l,d){return d===n&&(d=l,l=n),d!==n&&(d=mr(d),d=d===d?d:0),l!==n&&(l=mr(l),l=l===l?l:0),di(mr(i),l,d)}function rL(i,l,d){return l=po(l),d===n?(d=l,l=0):d=po(d),i=mr(i),uO(i,l,d)}function oL(i,l,d){if(d&&typeof d!="boolean"&&On(i,l,d)&&(l=d=n),d===n&&(typeof l=="boolean"?(d=l,l=n):typeof i=="boolean"&&(d=i,i=n)),i===n&&l===n?(i=0,l=1):(i=po(i),l===n?(l=i,i=0):l=po(l)),i>l){var m=i;i=l,l=m}if(d||i%1||l%1){var b=vg();return hn(i+b*(l-i+Fx("1e-"+((b+"").length-1))),l)}return Of(i,l)}var iL=Xi(function(i,l,d){return l=l.toLowerCase(),i+(d?Qy(l):l)});function Qy(i){return nd(ct(i).toLowerCase())}function Zy(i){return i=ct(i),i&&i.replace(lx,Xx).replace(xx,"")}function sL(i,l,d){i=ct(i),l=Jn(l);var m=i.length;d=d===n?m:di(Ue(d),0,m);var b=d;return d-=l.length,d>=0&&i.slice(d,b)==l}function aL(i){return i=ct(i),i&&WT.test(i)?i.replace(Om,Jx):i}function lL(i){return i=ct(i),i&&YT.test(i)?i.replace(Yu,"\\$&"):i}var cL=Xi(function(i,l,d){return i+(d?"-":"")+l.toLowerCase()}),uL=Xi(function(i,l,d){return i+(d?" ":"")+l.toLowerCase()}),fL=ty("toLowerCase");function dL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;if(!l||m>=l)return i;var b=(l-m)/2;return Il(vl(b),d)+i+Il(_l(b),d)}function pL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?i+Il(l-m,d):i}function hL(i,l,d){i=ct(i),l=Ue(l);var m=l?Wi(i):0;return l&&m<l?Il(l-m,d)+i:i}function mL(i,l,d){return d||l==null?l=0:l&&(l=+l),S1(ct(i).replace(Xu,""),l||0)}function gL(i,l,d){return(d?On(i,l,d):l===n)?l=1:l=Ue(l),Af(ct(i),l)}function yL(){var i=arguments,l=ct(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var bL=Xi(function(i,l,d){return i+(d?"_":"")+l.toLowerCase()});function _L(i,l,d){return d&&typeof d!="number"&&On(i,l,d)&&(l=d=n),d=d===n?Ge:d>>>0,d?(i=ct(i),i&&(typeof l=="string"||l!=null&&!Qf(l))&&(l=Jn(l),!l&&Bi(i))?Bo(Cr(i),0,d):i.split(l,d)):[]}var vL=Xi(function(i,l,d){return i+(d?" ":"")+nd(l)});function wL(i,l,d){return i=ct(i),d=d==null?0:di(Ue(d),0,i.length),l=Jn(l),i.slice(d,d+l.length)==l}function EL(i,l,d){var m=C.templateSettings;d&&On(i,l,d)&&(l=n),i=ct(i),l=Zf({},l,m,ly);var b=Zf({},l.imports,m.imports,ly),k=Jt(b),D=df(b,k);Yn(k,function(Te){if(Rm.test(Te))throw new Me(u)});var $,H,oe=0,se=l.interpolate||ol,le="__p += '",me=hf((l.escape||ol).source+"|"+se.source+"|"+(se===Am?nx:ol).source+"|"+(l.evaluate||ol).source+"|$","g"),Se="//# sourceURL="+(lt.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Lx+"]")+`
|
|
28
|
+
`;i.replace(me,function(Te,He,Je,Zn,An,er){return Je||(Je=Zn),le+=i.slice(oe,er).replace(cx,Qx),He&&($=!0,le+=`' +
|
|
29
29
|
__e(`+He+`) +
|
|
30
|
-
'`),An&&(H=!0,
|
|
30
|
+
'`),An&&(H=!0,le+=`';
|
|
31
31
|
`+An+`;
|
|
32
|
-
__p += '`),Je&&(
|
|
32
|
+
__p += '`),Je&&(le+=`' +
|
|
33
33
|
((__t = (`+Je+`)) == null ? '' : __t) +
|
|
34
|
-
'`),
|
|
35
|
-
`;var Ae=lt.call(l,"variable")&&l.variable;if(!Ae)
|
|
36
|
-
`+
|
|
34
|
+
'`),oe=er+Te.length,Te}),le+=`';
|
|
35
|
+
`;var Ae=lt.call(l,"variable")&&l.variable;if(!Ae)le=`with (obj) {
|
|
36
|
+
`+le+`
|
|
37
37
|
}
|
|
38
|
-
`;else if(
|
|
38
|
+
`;else if(Rm.test(Ae))throw new Me(c);le=(H?le.replace(jT,""):le).replace(UT,"$1").replace(zT,"$1;"),le="function("+(Ae||"obj")+`) {
|
|
39
39
|
`+(Ae?"":`obj || (obj = {});
|
|
40
40
|
`)+"var __t, __p = ''"+($?", __e = _.escape":"")+(H?`, __j = Array.prototype.join;
|
|
41
41
|
function print() { __p += __j.call(arguments, '') }
|
|
42
42
|
`:`;
|
|
43
|
-
`)+
|
|
44
|
-
}`;var Be=nb(function(){return st(k,Ee+"return "+ce).apply(n,D)});if(Be.source=ce,Jf(Be))throw Be;return Be}function SI(i){return ct(i).toLowerCase()}function CI(i){return ct(i).toUpperCase()}function kI(i,l,d){if(i=ct(i),i&&(d||l===n))return ug(i);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=Cr(l),k=fg(m,b),D=dg(m,b)+1;return Bo(m,k,D).join("")}function TI(i,l,d){if(i=ct(i),i&&(d||l===n))return i.slice(0,hg(i)+1);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=dg(m,Cr(l))+1;return Bo(m,0,b).join("")}function xI(i,l,d){if(i=ct(i),i&&(d||l===n))return i.replace(Xu,"");if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=fg(m,Cr(l));return Bo(m,b).join("")}function OI(i,l){var d=K,m=ne;if(Nt(l)){var b="separator"in l?l.separator:b;d="length"in l?Ue(l.length):d,m="omission"in l?Jn(l.omission):m}i=ct(i);var k=i.length;if(Bi(i)){var D=Cr(i);k=D.length}if(d>=k)return i;var $=d-Wi(m);if($<1)return m;var H=D?Bo(D,0,$).join(""):i.slice(0,$);if(b===n)return H+m;if(D&&($+=H.length-$),Qf(b)){if(i.slice($).search(b)){var ie,ae=H;for(b.global||(b=hf(b.source,ct(Im.exec(b))+"g")),b.lastIndex=0;ie=b.exec(ae);)var ce=ie.index;H=H.slice(0,ce===n?$:ce)}}else if(i.indexOf(Jn(b),$)!=$){var me=H.lastIndexOf(b);me>-1&&(H=H.slice(0,me))}return H+m}function AI(i){return i=ct(i),i&&BT.test(i)?i.replace(Om,i1):i}var RI=Xi(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),nd=ny("toUpperCase");function tb(i,l,d){return i=ct(i),l=d?n:l,l===n?e1(i)?l1(i):Vx(i):i.match(l)||[]}var nb=We(function(i,l){try{return qn(i,n,l)}catch(d){return Jf(d)?d:new Me(d)}}),PI=uo(function(i,l){return Yn(l,function(d){d=Tr(d),Wr(i,d,Yf(i[d],i))}),i});function II(i){var l=i==null?0:i.length,d=xe();return i=l?Pt(i,function(m){if(typeof m[1]!="function")throw new ur(a);return[d(m[0]),m[1]]}):[],We(function(m){for(var b=-1;++b<l;){var k=i[b];if(qn(k[0],this,m))return qn(k[1],this,m)}})}function LI(i){return iO(dr(i,g))}function rd(i){return function(){return i}}function MI(i,l){return i==null||i!==i?l:i}var NI=oy(),DI=oy(!0);function jn(i){return i}function od(i){return Mg(typeof i=="function"?i:dr(i,g))}function FI(i){return Dg(dr(i,g))}function $I(i,l){return Fg(i,dr(l,g))}var jI=We(function(i,l){return function(d){return Ys(d,i,l)}}),UI=We(function(i,l){return function(d){return Ys(i,d,l)}});function id(i,l,d){var m=Jt(l),b=Tl(l,m);d==null&&!(Nt(l)&&(b.length||!m.length))&&(d=l,l=i,i=this,b=Tl(l,Jt(l)));var k=!(Nt(d)&&"chain"in d)||!!d.chain,D=po(i);return Yn(b,function($){var H=l[$];i[$]=H,D&&(i.prototype[$]=function(){var ie=this.__chain__;if(k||ie){var ae=i(this.__wrapped__),ce=ae.__actions__=Dn(this.__actions__);return ce.push({func:H,args:arguments,thisArg:i}),ae.__chain__=ie,ae}return H.apply(i,Do([this.value()],arguments))})}),i}function zI(){return an._===this&&(an._=h1),this}function sd(){}function BI(i){return i=Ue(i),We(function(l){return $g(l,i)})}var WI=Df(Pt),HI=Df(ig),VI=Df(af);function rb(i){return Wf(i)?lf(Tr(i)):EO(i)}function GI(i){return function(l){return i==null?n:pi(i,l)}}var KI=sy(),qI=sy(!0);function ad(){return[]}function ld(){return!1}function YI(){return{}}function XI(){return""}function JI(){return!0}function QI(i,l){if(i=Ue(i),i<1||i>Ve)return[];var d=Ge,m=hn(i,Ge);l=xe(l),i-=Ge;for(var b=ff(m,l);++d<i;)l(d);return b}function ZI(i){return De(i)?Pt(i,Tr):Qn(i)?[i]:Dn(Ey(ct(i)))}function eL(i){var l=++d1;return ct(i)+l}var tL=Il(function(i,l){return i+l},0),nL=Ff("ceil"),rL=Il(function(i,l){return i/l},1),oL=Ff("floor");function iL(i){return i&&i.length?kl(i,jn,Ef):n}function sL(i,l){return i&&i.length?kl(i,xe(l,2),Ef):n}function aL(i){return lg(i,jn)}function lL(i,l){return lg(i,xe(l,2))}function cL(i){return i&&i.length?kl(i,jn,Tf):n}function uL(i,l){return i&&i.length?kl(i,xe(l,2),Tf):n}var fL=Il(function(i,l){return i*l},1),dL=Ff("round"),pL=Il(function(i,l){return i-l},0);function hL(i){return i&&i.length?uf(i,jn):0}function mL(i,l){return i&&i.length?uf(i,xe(l,2)):0}return C.after=$R,C.ary=Ly,C.assign=kP,C.assignIn=Ky,C.assignInWith=qy,C.assignWith=Zf,C.at=TP,C.before=My,C.bind=Yf,C.bindAll=PI,C.bindKey=Ny,C.castArray=XR,C.chain=Ry,C.chunk=iA,C.compact=sA,C.concat=aA,C.cond=II,C.conforms=LI,C.constant=rd,C.countBy=mR,C.create=xP,C.curry=Dy,C.curryRight=Fy,C.debounce=$y,C.defaults=OP,C.defaultsDeep=AP,C.defer=jR,C.delay=UR,C.difference=lA,C.differenceBy=cA,C.differenceWith=uA,C.drop=fA,C.dropRight=dA,C.dropRightWhile=pA,C.dropWhile=hA,C.fill=mA,C.filter=yR,C.flatMap=vR,C.flatMapDeep=wR,C.flatMapDepth=ER,C.flatten=Ty,C.flattenDeep=gA,C.flattenDepth=yA,C.flip=zR,C.flow=NI,C.flowRight=DI,C.fromPairs=bA,C.functions=DP,C.functionsIn=FP,C.groupBy=SR,C.initial=vA,C.intersection=wA,C.intersectionBy=EA,C.intersectionWith=SA,C.invert=jP,C.invertBy=UP,C.invokeMap=kR,C.iteratee=od,C.keyBy=TR,C.keys=Jt,C.keysIn=$n,C.map=jl,C.mapKeys=BP,C.mapValues=WP,C.matches=FI,C.matchesProperty=$I,C.memoize=zl,C.merge=HP,C.mergeWith=Yy,C.method=jI,C.methodOf=UI,C.mixin=id,C.negate=Bl,C.nthArg=BI,C.omit=VP,C.omitBy=GP,C.once=BR,C.orderBy=xR,C.over=WI,C.overArgs=WR,C.overEvery=HI,C.overSome=VI,C.partial=Xf,C.partialRight=jy,C.partition=OR,C.pick=KP,C.pickBy=Xy,C.property=rb,C.propertyOf=GI,C.pull=xA,C.pullAll=Oy,C.pullAllBy=OA,C.pullAllWith=AA,C.pullAt=RA,C.range=KI,C.rangeRight=qI,C.rearg=HR,C.reject=PR,C.remove=PA,C.rest=VR,C.reverse=Kf,C.sampleSize=LR,C.set=YP,C.setWith=XP,C.shuffle=MR,C.slice=IA,C.sortBy=FR,C.sortedUniq=jA,C.sortedUniqBy=UA,C.split=_I,C.spread=GR,C.tail=zA,C.take=BA,C.takeRight=WA,C.takeRightWhile=HA,C.takeWhile=VA,C.tap=sR,C.throttle=KR,C.thru=$l,C.toArray=Hy,C.toPairs=Jy,C.toPairsIn=Qy,C.toPath=ZI,C.toPlainObject=Gy,C.transform=JP,C.unary=qR,C.union=GA,C.unionBy=KA,C.unionWith=qA,C.uniq=YA,C.uniqBy=XA,C.uniqWith=JA,C.unset=QP,C.unzip=qf,C.unzipWith=Ay,C.update=ZP,C.updateWith=eI,C.values=Zi,C.valuesIn=tI,C.without=QA,C.words=tb,C.wrap=YR,C.xor=ZA,C.xorBy=eR,C.xorWith=tR,C.zip=nR,C.zipObject=rR,C.zipObjectDeep=oR,C.zipWith=iR,C.entries=Jy,C.entriesIn=Qy,C.extend=Ky,C.extendWith=qy,id(C,C),C.add=tL,C.attempt=nb,C.camelCase=iI,C.capitalize=Zy,C.ceil=nL,C.clamp=nI,C.clone=JR,C.cloneDeep=ZR,C.cloneDeepWith=eP,C.cloneWith=QR,C.conformsTo=tP,C.deburr=eb,C.defaultTo=MI,C.divide=rL,C.endsWith=sI,C.eq=xr,C.escape=aI,C.escapeRegExp=lI,C.every=gR,C.find=bR,C.findIndex=Cy,C.findKey=RP,C.findLast=_R,C.findLastIndex=ky,C.findLastKey=PP,C.floor=oL,C.forEach=Py,C.forEachRight=Iy,C.forIn=IP,C.forInRight=LP,C.forOwn=MP,C.forOwnRight=NP,C.get=ed,C.gt=nP,C.gte=rP,C.has=$P,C.hasIn=td,C.head=xy,C.identity=jn,C.includes=CR,C.indexOf=_A,C.inRange=rI,C.invoke=zP,C.isArguments=gi,C.isArray=De,C.isArrayBuffer=oP,C.isArrayLike=Fn,C.isArrayLikeObject=Ut,C.isBoolean=iP,C.isBuffer=Wo,C.isDate=sP,C.isElement=aP,C.isEmpty=lP,C.isEqual=cP,C.isEqualWith=uP,C.isError=Jf,C.isFinite=fP,C.isFunction=po,C.isInteger=Uy,C.isLength=Wl,C.isMap=zy,C.isMatch=dP,C.isMatchWith=pP,C.isNaN=hP,C.isNative=mP,C.isNil=yP,C.isNull=gP,C.isNumber=By,C.isObject=Nt,C.isObjectLike=$t,C.isPlainObject=ta,C.isRegExp=Qf,C.isSafeInteger=bP,C.isSet=Wy,C.isString=Hl,C.isSymbol=Qn,C.isTypedArray=Qi,C.isUndefined=_P,C.isWeakMap=vP,C.isWeakSet=wP,C.join=CA,C.kebabCase=cI,C.last=hr,C.lastIndexOf=kA,C.lowerCase=uI,C.lowerFirst=fI,C.lt=EP,C.lte=SP,C.max=iL,C.maxBy=sL,C.mean=aL,C.meanBy=lL,C.min=cL,C.minBy=uL,C.stubArray=ad,C.stubFalse=ld,C.stubObject=YI,C.stubString=XI,C.stubTrue=JI,C.multiply=fL,C.nth=TA,C.noConflict=zI,C.noop=sd,C.now=Ul,C.pad=dI,C.padEnd=pI,C.padStart=hI,C.parseInt=mI,C.random=oI,C.reduce=AR,C.reduceRight=RR,C.repeat=gI,C.replace=yI,C.result=qP,C.round=dL,C.runInContext=B,C.sample=IR,C.size=NR,C.snakeCase=bI,C.some=DR,C.sortedIndex=LA,C.sortedIndexBy=MA,C.sortedIndexOf=NA,C.sortedLastIndex=DA,C.sortedLastIndexBy=FA,C.sortedLastIndexOf=$A,C.startCase=vI,C.startsWith=wI,C.subtract=pL,C.sum=hL,C.sumBy=mL,C.template=EI,C.times=QI,C.toFinite=ho,C.toInteger=Ue,C.toLength=Vy,C.toLower=SI,C.toNumber=mr,C.toSafeInteger=CP,C.toString=ct,C.toUpper=CI,C.trim=kI,C.trimEnd=TI,C.trimStart=xI,C.truncate=OI,C.unescape=AI,C.uniqueId=eL,C.upperCase=RI,C.upperFirst=nd,C.each=Py,C.eachRight=Iy,C.first=xy,id(C,(function(){var i={};return Hr(C,function(l,d){lt.call(C.prototype,d)||(i[d]=l)}),i})(),{chain:!1}),C.VERSION=r,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){C[i].placeholder=C}),Yn(["drop","take"],function(i,l){Ke.prototype[i]=function(d){d=d===n?1:Yt(Ue(d),0);var m=this.__filtered__&&!l?new Ke(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,Ge),type:i+(m.__dir__<0?"Right":"")}),m},Ke.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Yn(["filter","map","takeWhile"],function(i,l){var d=l+1,m=d==te||d==he;Ke.prototype[i]=function(b){var k=this.clone();return k.__iteratees__.push({iteratee:xe(b,3),type:d}),k.__filtered__=k.__filtered__||m,k}}),Yn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Ke.prototype[i]=function(){return this[d](1).value()[0]}}),Yn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Ke.prototype[i]=function(){return this.__filtered__?new Ke(this):this[d](1)}}),Ke.prototype.compact=function(){return this.filter(jn)},Ke.prototype.find=function(i){return this.filter(i).head()},Ke.prototype.findLast=function(i){return this.reverse().find(i)},Ke.prototype.invokeMap=We(function(i,l){return typeof i=="function"?new Ke(this):this.map(function(d){return Ys(d,i,l)})}),Ke.prototype.reject=function(i){return this.filter(Bl(xe(i)))},Ke.prototype.slice=function(i,l){i=Ue(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Ke(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=Ue(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Ke.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ke.prototype.toArray=function(){return this.take(Ge)},Hr(Ke.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),m=/^(?:head|last)$/.test(l),b=C[m?"take"+(l=="last"?"Right":""):l],k=m||/^find/.test(l);b&&(C.prototype[l]=function(){var D=this.__wrapped__,$=m?[1]:arguments,H=D instanceof Ke,ie=$[0],ae=H||De(D),ce=function(He){var Je=b.apply(C,Do([He],$));return m&&me?Je[0]:Je};ae&&d&&typeof ie=="function"&&ie.length!=1&&(H=ae=!1);var me=this.__chain__,Ee=!!this.__actions__.length,Ae=k&&!me,Be=H&&!Ee;if(!k&&ae){D=Be?D:new Ke(this);var Te=i.apply(D,$);return Te.__actions__.push({func:$l,args:[ce],thisArg:n}),new fr(Te,me)}return Ae&&Be?i.apply(this,$):(Te=this.thru(ce),Ae?m?Te.value()[0]:Te.value():Te)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(i){var l=ul[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);C.prototype[i]=function(){var b=arguments;if(m&&!this.__chain__){var k=this.value();return l.apply(De(k)?k:[],b)}return this[d](function(D){return l.apply(De(D)?D:[],b)})}}),Hr(Ke.prototype,function(i,l){var d=C[l];if(d){var m=d.name+"";lt.call(Ki,m)||(Ki[m]=[]),Ki[m].push({name:l,func:d})}}),Ki[Pl(n,w).name]=[{name:"wrapper",func:n}],Ke.prototype.clone=R1,Ke.prototype.reverse=P1,Ke.prototype.value=I1,C.prototype.at=aR,C.prototype.chain=lR,C.prototype.commit=cR,C.prototype.next=uR,C.prototype.plant=dR,C.prototype.reverse=pR,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=hR,C.prototype.first=C.prototype.head,Bs&&(C.prototype[Bs]=fR),C}),Hi=c1();li?((li.exports=Hi)._=Hi,nf._=Hi):an._=Hi}).call(PH)})(Tc,Tc.exports)),Tc.exports}var LH=IH();function nm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function MH(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${nm(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function NH(e,t,n="hl"){if(!t?.trim())return e;const r=nm(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function DH(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const kC=e=>e.replace(/[/\\]/g,"/"),FH=(e,t="/")=>e.replace(/[\\/]+/g,t);function $H(){return"#"+LH.random(0,16777215).toString(16).padStart(6,"0")}const jH=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),TC=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Zp=e=>{if(Array.isArray(e))return e.map(n=>Zp(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=TC(n);t[r]=Zp(e[n])}return t};function UH(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function zH(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function xC(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
|
|
45
|
-
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function BH(e){return xC(e).valid}function WH(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function HH(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const VH=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Zp,escapeRegExp:nm,findKeywordLineIndex:DH,generateNumberString:zH,highlightText:NH,isEmail:jH,isValidHash:BH,normalizeTags:WH,randomColor:$H,replaceBackslashWithSlash:kC,replaceSlashWithSpecifiedSeparator:FH,splitTextByKeyword:MH,toCamelCase:TC,validateCompName:UH,validateHash:xC,validateTags:HH},Symbol.toStringTag,{value:"Module"}));function GH(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=kC(n);return`${e.replace(ve.FILE_MANAGER_DIRNAME,"")}${r}`}function KH(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const qH=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:GH,handleDepData:KH},Symbol.toStringTag,{value:"Module"})),gv=/^[\^~>=<]+/,OC=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function YH(e){return OC.test(e)}function io(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(gv),n=t?t[0]:"",r=e.replace(gv,"").match(OC);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",a="0",c]=r,u=parseInt(o,10),f=parseInt(s,10),p=parseInt(a,10);return{raw:e,prefix:n,major:u,minor:f,patch:p,prerelease:c||null,majorVersion:o,version:`${u}.${f}.${p}`}}function XH(e,t){const n=io(e),r=io(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function JH(e){return io(e).majorVersion}function QH(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=io(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function hs(e,t){const n=io(e),r=io(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:a}=ve;return n.major!==r.major?n.major>r.major?a:s:n.minor!==r.minor?n.minor>r.minor?a:s:n.patch!==r.patch?n.patch>r.patch?a:s:o}function ZH(e,t){const n=io(e),r=io(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return hs(e,t.replace(">=",""))>=0;case">":return hs(e,t.replace(">",""))>0;case"<=":return hs(e,t.replace("<=",""))<=0;case"<":return hs(e,t.replace("<",""))<0;case"=":case"":return hs(e,t.replace("=",""))===0;default:return!1}}function eV(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=io(e),n=(c,u)=>{if(c<0||c>999)throw new Error(`版本号${u}位必须在 0-999 之间,当前值:${c}(原始输入:${e})`);return c},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+s;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const yv=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:hs,getMajorVersion:JH,isVersionEqual:XH,parseDependencies:QH,parseVersion:io,satisfiesRange:ZH,validateVersion:YH,versionToNumber:eV},Symbol.toStringTag,{value:"Module"})),pa={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},tV=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case pa.WIDTH_FIRST:s=e/n;break;case pa.HEIGHT_FIRST:s=t/r;break;case pa.CONTAIN:s=Math.min(e/n,t/r);break;case pa.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),s=1;break}const a=n*s,c=r*s,u=(e-a)/2,f=(t-c)/2;return{transform:`translate(${u}px, ${f}px) scale(${s})`,transformOrigin:"left top"}},bv=(e,t=pa.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:tV({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),Qo=0,de=1,Fe=2,Wt=3,kt=4,Br=5,ju=6,bn=7,Un=8,Ye=9,Le=10,Dt=11,qe=12,Ft=13,nl=14,zn=15,Sn=16,Cn=17,Kn=18,lr=19,wr=20,it=21,Pe=22,nn=23,sr=24,fn=25,nV=0;function un(e){return e>=48&&e<=57}function oi(e){return un(e)||e>=65&&e<=70||e>=97&&e<=102}function rm(e){return e>=65&&e<=90}function rV(e){return e>=97&&e<=122}function oV(e){return rm(e)||rV(e)}function iV(e){return e>=128}function Jc(e){return oV(e)||iV(e)||e===95}function AC(e){return Jc(e)||un(e)||e===45}function sV(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Qc(e){return e===10||e===13||e===12}function Mi(e){return Qc(e)||e===32||e===9}function eo(e,t){return!(e!==92||Qc(t)||t===nV)}function xc(e,t,n){return e===45?Jc(t)||t===45||eo(t,n):Jc(e)?!0:e===92?eo(e,t):!1}function jd(e,t,n){return e===43||e===45?un(t)?2:t===46&&un(n)?3:0:e===46?un(t)?2:0:un(e)?1:0}function RC(e){return e===65279||e===65534?1:0}const eh=new Array(128),aV=128,Oc=130,PC=131,om=132,IC=133;for(let e=0;e<eh.length;e++)eh[e]=Mi(e)&&Oc||un(e)&&PC||Jc(e)&&om||sV(e)&&IC||e||aV;function Ud(e){return e<128?eh[e]:om}function ws(e,t){return t<e.length?e.charCodeAt(t):0}function th(e,t,n){return n===13&&ws(e,t+1)===10?2:1}function Es(e,t,n){let r=e.charCodeAt(t);return rm(r)&&(r=r|32),r===n}function Ba(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let o=t;o<n;o++){const s=r.charCodeAt(o-t);let a=e.charCodeAt(o);if(rm(a)&&(a=a|32),a!==s)return!1}return!0}function lV(e,t){for(;t>=0&&Mi(e.charCodeAt(t));t--);return t+1}function ac(e,t){for(;t<e.length&&Mi(e.charCodeAt(t));t++);return t}function zd(e,t){for(;t<e.length&&un(e.charCodeAt(t));t++);return t}function Is(e,t){if(t+=2,oi(ws(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&oi(ws(e,t));t++);const n=ws(e,t);Mi(n)&&(t+=th(e,t,n))}return t}function lc(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!AC(n)){if(eo(n,ws(e,t+1))){t=Is(e,t)-1;continue}break}}return t}function Uu(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),un(n)&&(t=zd(e,t+1),n=e.charCodeAt(t)),n===46&&un(e.charCodeAt(t+1))&&(t+=2,t=zd(e,t)),Es(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),un(n)&&(t=zd(e,t+1+r+1))}return t}function Bd(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}eo(n,ws(e,t+1))&&(t=Is(e,t))}return t}function LC(e){if(e.length===1&&!oi(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const nh=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],cV=16*1024;function Zc(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,cV)):e}const _v=10,uV=12,vv=13;function wv(e){const t=e.source,n=t.length,r=t.length>0?RC(t.charCodeAt(0)):0,o=Zc(e.lines,n),s=Zc(e.columns,n);let a=e.startLine,c=e.startColumn;for(let u=r;u<n;u++){const f=t.charCodeAt(u);o[u]=a,s[u]=c++,(f===_v||f===vv||f===uV)&&(f===vv&&u+1<n&&t.charCodeAt(u+1)===_v&&(u++,o[u]=a,s[u]=c),a++,c=1)}o[n]=a,s[n]=c,e.lines=o,e.columns=s,e.computed=!0}class fV{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||wv(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||wv(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const Ar=16777215,Rr=24,rl=1,zu=2,Zo=new Uint8Array(32);Zo[Fe]=Pe;Zo[it]=Pe;Zo[lr]=wr;Zo[nn]=sr;const Ir=new Uint8Array(32);Ir[Fe]=rl;Ir[it]=rl;Ir[lr]=rl;Ir[nn]=rl;Ir[Pe]=zu;Ir[wr]=zu;Ir[sr]=zu;function Ev(e,t,n){return e<t?t:e>n?n:e}class dV{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,o=Zc(this.offsetAndType,t.length+1),s=Zc(this.balance,t.length+1);let a=0,c=-1,u=0,f=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(p,h,g)=>{const y=a++;if(o[y]=p<<Rr|g,c===-1&&(c=h),s[y]=f,p===u){const v=s[f];s[f]=y,f=v,u=Zo[o[v]>>Rr]}else this.isBlockOpenerTokenType(p)&&(f=y,u=Zo[p])}),o[a]=Qo<<Rr|r,s[a]=a;for(let p=0;p<a;p++){const h=s[p];if(h<=p){const g=s[h];g!==p&&(s[p]=g)}else h>a&&(s[p]=a)}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>Rr:Qo}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return r}return Qo}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return n-this.tokenIndex}return Qo}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?Ba(this.source,this.offsetAndType[t-1]&Ar,this.offsetAndType[t]&Ar,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.offsetAndType[this.tokenCount]&Ar:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[Ev(t,0,this.tokenCount)]&Ar}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[Ev(t,0,this.tokenCount)]>>Rr}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return Ir[t]===rl}isBlockCloserTokenType(t){return Ir[t]===zu}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(Ir[n]===1){const r=this.balance[t],o=this.getTokenType(r);return Zo[n]===o?r:-1}else if(Ir[n]===2){const r=this.balance[t],o=this.getTokenType(r);return Zo[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===Ye&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===Ye&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&Ar,n=this.offsetAndType[n],this.tokenType=n>>Rr,this.tokenEnd=n&Ar):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>Rr,this.tokenEnd=t&Ar):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Qo,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ft||this.tokenType===fn;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,s=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(s=r>0?this.offsetAndType[r-1]&Ar:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Rr)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,s=this.offsetAndType[n],a=s&Ar,c=s>>Rr;r=a,t(c,o,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:nh[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function Bu(e,t){function n(h){return h<c?e.charCodeAt(h):0}function r(){if(f=Uu(e,f),xc(n(f),n(f+1),n(f+2))){p=qe,f=lc(e,f);return}if(n(f)===37){p=Dt,f++;return}p=Le}function o(){const h=f;if(f=lc(e,f),Ba(e,h,f,"url")&&n(f)===40){if(f=ac(e,f+1),n(f)===34||n(f)===39){p=Fe,f=h+4;return}a();return}if(n(f)===40){p=Fe,f++;return}p=de}function s(h){for(h||(h=n(f++)),p=Br;f<e.length;f++){const g=e.charCodeAt(f);switch(Ud(g)){case h:f++;return;case Oc:if(Qc(g)){f+=th(e,f,g),p=ju;return}break;case 92:if(f===e.length-1)break;const y=n(f+1);Qc(y)?f+=th(e,f+1,y):eo(g,y)&&(f=Is(e,f)-1);break}}}function a(){for(p=bn,f=ac(e,f);f<e.length;f++){const h=e.charCodeAt(f);switch(Ud(h)){case 41:f++;return;case Oc:if(f=ac(e,f),n(f)===41||f>=e.length){f<e.length&&f++;return}f=Bd(e,f),p=Un;return;case 34:case 39:case 40:case IC:f=Bd(e,f),p=Un;return;case 92:if(eo(h,n(f+1))){f=Is(e,f)-1;break}f=Bd(e,f),p=Un;return}}}e=String(e||"");const c=e.length;let u=RC(n(0)),f=u,p;for(;f<c;){const h=e.charCodeAt(f);switch(Ud(h)){case Oc:p=Ft,f=ac(e,f+1);break;case 34:s();break;case 35:AC(n(f+1))||eo(n(f+1),n(f+2))?(p=kt,f=lc(e,f+1)):(p=Ye,f++);break;case 39:s();break;case 40:p=it,f++;break;case 41:p=Pe,f++;break;case 43:jd(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 44:p=Kn,f++;break;case 45:jd(h,n(f+1),n(f+2))?r():n(f+1)===45&&n(f+2)===62?(p=zn,f=f+3):xc(h,n(f+1),n(f+2))?o():(p=Ye,f++);break;case 46:jd(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 47:n(f+1)===42?(p=fn,f=e.indexOf("*/",f+2),f=f===-1?e.length:f+2):(p=Ye,f++);break;case 58:p=Sn,f++;break;case 59:p=Cn,f++;break;case 60:n(f+1)===33&&n(f+2)===45&&n(f+3)===45?(p=nl,f=f+4):(p=Ye,f++);break;case 64:xc(n(f+1),n(f+2),n(f+3))?(p=Wt,f=lc(e,f+1)):(p=Ye,f++);break;case 91:p=lr,f++;break;case 92:eo(h,n(f+1))?o():(p=Ye,f++);break;case 93:p=wr,f++;break;case 123:p=nn,f++;break;case 125:p=sr,f++;break;case PC:r();break;case om:o();break;default:p=Ye,f++}t(p,u,u=f)}}let rs=null;class Zt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return Zt.createItem(t)}allocateCursor(t,n){let r;return rs!==null?(r=rs,rs=rs.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=rs,rs=t}updateCursors(t,n,r,o){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=n),s.next===r&&(s.next=o),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const o=Zt.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),s=n,a;for(;o.next!==null;)a=o.next,o.next=a.next,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const s=o.next;if(o.next=s.next,n.call(r,s.data,s,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const s=o.prev;if(o.prev=s.prev,n.call(r,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new Zt;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(Zt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(Zt.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(Zt.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(Zt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(Zt.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function Wu(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
46
|
-
`)}})}const Wd=100,
|
|
43
|
+
`)+le+`return __p
|
|
44
|
+
}`;var Be=tb(function(){return st(k,Se+"return "+le).apply(n,D)});if(Be.source=le,Jf(Be))throw Be;return Be}function SL(i){return ct(i).toLowerCase()}function CL(i){return ct(i).toUpperCase()}function kL(i,l,d){if(i=ct(i),i&&(d||l===n))return cg(i);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=Cr(l),k=ug(m,b),D=fg(m,b)+1;return Bo(m,k,D).join("")}function TL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.slice(0,pg(i)+1);if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=fg(m,Cr(l))+1;return Bo(m,0,b).join("")}function xL(i,l,d){if(i=ct(i),i&&(d||l===n))return i.replace(Xu,"");if(!i||!(l=Jn(l)))return i;var m=Cr(i),b=ug(m,Cr(l));return Bo(m,b).join("")}function OL(i,l){var d=K,m=ae;if(Nt(l)){var b="separator"in l?l.separator:b;d="length"in l?Ue(l.length):d,m="omission"in l?Jn(l.omission):m}i=ct(i);var k=i.length;if(Bi(i)){var D=Cr(i);k=D.length}if(d>=k)return i;var $=d-Wi(m);if($<1)return m;var H=D?Bo(D,0,$).join(""):i.slice(0,$);if(b===n)return H+m;if(D&&($+=H.length-$),Qf(b)){if(i.slice($).search(b)){var oe,se=H;for(b.global||(b=hf(b.source,ct(Pm.exec(b))+"g")),b.lastIndex=0;oe=b.exec(se);)var le=oe.index;H=H.slice(0,le===n?$:le)}}else if(i.indexOf(Jn(b),$)!=$){var me=H.lastIndexOf(b);me>-1&&(H=H.slice(0,me))}return H+m}function AL(i){return i=ct(i),i&&BT.test(i)?i.replace(xm,i1):i}var RL=Xi(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),nd=ty("toUpperCase");function eb(i,l,d){return i=ct(i),l=d?n:l,l===n?e1(i)?l1(i):Vx(i):i.match(l)||[]}var tb=We(function(i,l){try{return qn(i,n,l)}catch(d){return Jf(d)?d:new Me(d)}}),PL=co(function(i,l){return Yn(l,function(d){d=Tr(d),Wr(i,d,Yf(i[d],i))}),i});function LL(i){var l=i==null?0:i.length,d=xe();return i=l?Pt(i,function(m){if(typeof m[1]!="function")throw new ur(a);return[d(m[0]),m[1]]}):[],We(function(m){for(var b=-1;++b<l;){var k=i[b];if(qn(k[0],this,m))return qn(k[1],this,m)}})}function IL(i){return iO(dr(i,g))}function rd(i){return function(){return i}}function ML(i,l){return i==null||i!==i?l:i}var NL=ry(),DL=ry(!0);function jn(i){return i}function od(i){return Ig(typeof i=="function"?i:dr(i,g))}function FL(i){return Ng(dr(i,g))}function $L(i,l){return Dg(i,dr(l,g))}var jL=We(function(i,l){return function(d){return Ys(d,i,l)}}),UL=We(function(i,l){return function(d){return Ys(i,d,l)}});function id(i,l,d){var m=Jt(l),b=Tl(l,m);d==null&&!(Nt(l)&&(b.length||!m.length))&&(d=l,l=i,i=this,b=Tl(l,Jt(l)));var k=!(Nt(d)&&"chain"in d)||!!d.chain,D=fo(i);return Yn(b,function($){var H=l[$];i[$]=H,D&&(i.prototype[$]=function(){var oe=this.__chain__;if(k||oe){var se=i(this.__wrapped__),le=se.__actions__=Dn(this.__actions__);return le.push({func:H,args:arguments,thisArg:i}),se.__chain__=oe,se}return H.apply(i,Do([this.value()],arguments))})}),i}function zL(){return an._===this&&(an._=h1),this}function sd(){}function BL(i){return i=Ue(i),We(function(l){return Fg(l,i)})}var WL=Df(Pt),HL=Df(og),VL=Df(af);function nb(i){return Wf(i)?lf(Tr(i)):EO(i)}function GL(i){return function(l){return i==null?n:pi(i,l)}}var KL=iy(),qL=iy(!0);function ad(){return[]}function ld(){return!1}function YL(){return{}}function XL(){return""}function JL(){return!0}function QL(i,l){if(i=Ue(i),i<1||i>Ve)return[];var d=Ge,m=hn(i,Ge);l=xe(l),i-=Ge;for(var b=ff(m,l);++d<i;)l(d);return b}function ZL(i){return De(i)?Pt(i,Tr):Qn(i)?[i]:Dn(wy(ct(i)))}function eI(i){var l=++d1;return ct(i)+l}var tI=Ll(function(i,l){return i+l},0),nI=Ff("ceil"),rI=Ll(function(i,l){return i/l},1),oI=Ff("floor");function iI(i){return i&&i.length?kl(i,jn,Ef):n}function sI(i,l){return i&&i.length?kl(i,xe(l,2),Ef):n}function aI(i){return ag(i,jn)}function lI(i,l){return ag(i,xe(l,2))}function cI(i){return i&&i.length?kl(i,jn,Tf):n}function uI(i,l){return i&&i.length?kl(i,xe(l,2),Tf):n}var fI=Ll(function(i,l){return i*l},1),dI=Ff("round"),pI=Ll(function(i,l){return i-l},0);function hI(i){return i&&i.length?uf(i,jn):0}function mI(i,l){return i&&i.length?uf(i,xe(l,2)):0}return C.after=$R,C.ary=Ly,C.assign=kP,C.assignIn=Gy,C.assignInWith=Ky,C.assignWith=Zf,C.at=TP,C.before=Iy,C.bind=Yf,C.bindAll=PL,C.bindKey=My,C.castArray=XR,C.chain=Ay,C.chunk=iA,C.compact=sA,C.concat=aA,C.cond=LL,C.conforms=IL,C.constant=rd,C.countBy=mR,C.create=xP,C.curry=Ny,C.curryRight=Dy,C.debounce=Fy,C.defaults=OP,C.defaultsDeep=AP,C.defer=jR,C.delay=UR,C.difference=lA,C.differenceBy=cA,C.differenceWith=uA,C.drop=fA,C.dropRight=dA,C.dropRightWhile=pA,C.dropWhile=hA,C.fill=mA,C.filter=yR,C.flatMap=vR,C.flatMapDeep=wR,C.flatMapDepth=ER,C.flatten=ky,C.flattenDeep=gA,C.flattenDepth=yA,C.flip=zR,C.flow=NL,C.flowRight=DL,C.fromPairs=bA,C.functions=DP,C.functionsIn=FP,C.groupBy=SR,C.initial=vA,C.intersection=wA,C.intersectionBy=EA,C.intersectionWith=SA,C.invert=jP,C.invertBy=UP,C.invokeMap=kR,C.iteratee=od,C.keyBy=TR,C.keys=Jt,C.keysIn=$n,C.map=jl,C.mapKeys=BP,C.mapValues=WP,C.matches=FL,C.matchesProperty=$L,C.memoize=zl,C.merge=HP,C.mergeWith=qy,C.method=jL,C.methodOf=UL,C.mixin=id,C.negate=Bl,C.nthArg=BL,C.omit=VP,C.omitBy=GP,C.once=BR,C.orderBy=xR,C.over=WL,C.overArgs=WR,C.overEvery=HL,C.overSome=VL,C.partial=Xf,C.partialRight=$y,C.partition=OR,C.pick=KP,C.pickBy=Yy,C.property=nb,C.propertyOf=GL,C.pull=xA,C.pullAll=xy,C.pullAllBy=OA,C.pullAllWith=AA,C.pullAt=RA,C.range=KL,C.rangeRight=qL,C.rearg=HR,C.reject=PR,C.remove=PA,C.rest=VR,C.reverse=Kf,C.sampleSize=IR,C.set=YP,C.setWith=XP,C.shuffle=MR,C.slice=LA,C.sortBy=FR,C.sortedUniq=jA,C.sortedUniqBy=UA,C.split=_L,C.spread=GR,C.tail=zA,C.take=BA,C.takeRight=WA,C.takeRightWhile=HA,C.takeWhile=VA,C.tap=sR,C.throttle=KR,C.thru=$l,C.toArray=Wy,C.toPairs=Xy,C.toPairsIn=Jy,C.toPath=ZL,C.toPlainObject=Vy,C.transform=JP,C.unary=qR,C.union=GA,C.unionBy=KA,C.unionWith=qA,C.uniq=YA,C.uniqBy=XA,C.uniqWith=JA,C.unset=QP,C.unzip=qf,C.unzipWith=Oy,C.update=ZP,C.updateWith=eL,C.values=Zi,C.valuesIn=tL,C.without=QA,C.words=eb,C.wrap=YR,C.xor=ZA,C.xorBy=eR,C.xorWith=tR,C.zip=nR,C.zipObject=rR,C.zipObjectDeep=oR,C.zipWith=iR,C.entries=Xy,C.entriesIn=Jy,C.extend=Gy,C.extendWith=Ky,id(C,C),C.add=tI,C.attempt=tb,C.camelCase=iL,C.capitalize=Qy,C.ceil=nI,C.clamp=nL,C.clone=JR,C.cloneDeep=ZR,C.cloneDeepWith=eP,C.cloneWith=QR,C.conformsTo=tP,C.deburr=Zy,C.defaultTo=ML,C.divide=rI,C.endsWith=sL,C.eq=xr,C.escape=aL,C.escapeRegExp=lL,C.every=gR,C.find=bR,C.findIndex=Sy,C.findKey=RP,C.findLast=_R,C.findLastIndex=Cy,C.findLastKey=PP,C.floor=oI,C.forEach=Ry,C.forEachRight=Py,C.forIn=LP,C.forInRight=IP,C.forOwn=MP,C.forOwnRight=NP,C.get=ed,C.gt=nP,C.gte=rP,C.has=$P,C.hasIn=td,C.head=Ty,C.identity=jn,C.includes=CR,C.indexOf=_A,C.inRange=rL,C.invoke=zP,C.isArguments=gi,C.isArray=De,C.isArrayBuffer=oP,C.isArrayLike=Fn,C.isArrayLikeObject=Ut,C.isBoolean=iP,C.isBuffer=Wo,C.isDate=sP,C.isElement=aP,C.isEmpty=lP,C.isEqual=cP,C.isEqualWith=uP,C.isError=Jf,C.isFinite=fP,C.isFunction=fo,C.isInteger=jy,C.isLength=Wl,C.isMap=Uy,C.isMatch=dP,C.isMatchWith=pP,C.isNaN=hP,C.isNative=mP,C.isNil=yP,C.isNull=gP,C.isNumber=zy,C.isObject=Nt,C.isObjectLike=$t,C.isPlainObject=ta,C.isRegExp=Qf,C.isSafeInteger=bP,C.isSet=By,C.isString=Hl,C.isSymbol=Qn,C.isTypedArray=Qi,C.isUndefined=_P,C.isWeakMap=vP,C.isWeakSet=wP,C.join=CA,C.kebabCase=cL,C.last=hr,C.lastIndexOf=kA,C.lowerCase=uL,C.lowerFirst=fL,C.lt=EP,C.lte=SP,C.max=iI,C.maxBy=sI,C.mean=aI,C.meanBy=lI,C.min=cI,C.minBy=uI,C.stubArray=ad,C.stubFalse=ld,C.stubObject=YL,C.stubString=XL,C.stubTrue=JL,C.multiply=fI,C.nth=TA,C.noConflict=zL,C.noop=sd,C.now=Ul,C.pad=dL,C.padEnd=pL,C.padStart=hL,C.parseInt=mL,C.random=oL,C.reduce=AR,C.reduceRight=RR,C.repeat=gL,C.replace=yL,C.result=qP,C.round=dI,C.runInContext=z,C.sample=LR,C.size=NR,C.snakeCase=bL,C.some=DR,C.sortedIndex=IA,C.sortedIndexBy=MA,C.sortedIndexOf=NA,C.sortedLastIndex=DA,C.sortedLastIndexBy=FA,C.sortedLastIndexOf=$A,C.startCase=vL,C.startsWith=wL,C.subtract=pI,C.sum=hI,C.sumBy=mI,C.template=EL,C.times=QL,C.toFinite=po,C.toInteger=Ue,C.toLength=Hy,C.toLower=SL,C.toNumber=mr,C.toSafeInteger=CP,C.toString=ct,C.toUpper=CL,C.trim=kL,C.trimEnd=TL,C.trimStart=xL,C.truncate=OL,C.unescape=AL,C.uniqueId=eI,C.upperCase=RL,C.upperFirst=nd,C.each=Ry,C.eachRight=Py,C.first=Ty,id(C,(function(){var i={};return Hr(C,function(l,d){lt.call(C.prototype,d)||(i[d]=l)}),i})(),{chain:!1}),C.VERSION=r,Yn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){C[i].placeholder=C}),Yn(["drop","take"],function(i,l){Ke.prototype[i]=function(d){d=d===n?1:Yt(Ue(d),0);var m=this.__filtered__&&!l?new Ke(this):this.clone();return m.__filtered__?m.__takeCount__=hn(d,m.__takeCount__):m.__views__.push({size:hn(d,Ge),type:i+(m.__dir__<0?"Right":"")}),m},Ke.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),Yn(["filter","map","takeWhile"],function(i,l){var d=l+1,m=d==ne||d==he;Ke.prototype[i]=function(b){var k=this.clone();return k.__iteratees__.push({iteratee:xe(b,3),type:d}),k.__filtered__=k.__filtered__||m,k}}),Yn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Ke.prototype[i]=function(){return this[d](1).value()[0]}}),Yn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Ke.prototype[i]=function(){return this.__filtered__?new Ke(this):this[d](1)}}),Ke.prototype.compact=function(){return this.filter(jn)},Ke.prototype.find=function(i){return this.filter(i).head()},Ke.prototype.findLast=function(i){return this.reverse().find(i)},Ke.prototype.invokeMap=We(function(i,l){return typeof i=="function"?new Ke(this):this.map(function(d){return Ys(d,i,l)})}),Ke.prototype.reject=function(i){return this.filter(Bl(xe(i)))},Ke.prototype.slice=function(i,l){i=Ue(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Ke(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=Ue(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Ke.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Ke.prototype.toArray=function(){return this.take(Ge)},Hr(Ke.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),m=/^(?:head|last)$/.test(l),b=C[m?"take"+(l=="last"?"Right":""):l],k=m||/^find/.test(l);b&&(C.prototype[l]=function(){var D=this.__wrapped__,$=m?[1]:arguments,H=D instanceof Ke,oe=$[0],se=H||De(D),le=function(He){var Je=b.apply(C,Do([He],$));return m&&me?Je[0]:Je};se&&d&&typeof oe=="function"&&oe.length!=1&&(H=se=!1);var me=this.__chain__,Se=!!this.__actions__.length,Ae=k&&!me,Be=H&&!Se;if(!k&&se){D=Be?D:new Ke(this);var Te=i.apply(D,$);return Te.__actions__.push({func:$l,args:[le],thisArg:n}),new fr(Te,me)}return Ae&&Be?i.apply(this,$):(Te=this.thru(le),Ae?m?Te.value()[0]:Te.value():Te)})}),Yn(["pop","push","shift","sort","splice","unshift"],function(i){var l=ul[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",m=/^(?:pop|shift)$/.test(i);C.prototype[i]=function(){var b=arguments;if(m&&!this.__chain__){var k=this.value();return l.apply(De(k)?k:[],b)}return this[d](function(D){return l.apply(De(D)?D:[],b)})}}),Hr(Ke.prototype,function(i,l){var d=C[l];if(d){var m=d.name+"";lt.call(Ki,m)||(Ki[m]=[]),Ki[m].push({name:l,func:d})}}),Ki[Pl(n,v).name]=[{name:"wrapper",func:n}],Ke.prototype.clone=R1,Ke.prototype.reverse=P1,Ke.prototype.value=L1,C.prototype.at=aR,C.prototype.chain=lR,C.prototype.commit=cR,C.prototype.next=uR,C.prototype.plant=dR,C.prototype.reverse=pR,C.prototype.toJSON=C.prototype.valueOf=C.prototype.value=hR,C.prototype.first=C.prototype.head,Bs&&(C.prototype[Bs]=fR),C}),Hi=c1();li?((li.exports=Hi)._=Hi,nf._=Hi):an._=Hi}).call(PH)})(Tc,Tc.exports)),Tc.exports}var IH=LH();function tm(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function MH(e,t){if(!t?.trim())return[{text:e,isMatch:!1}];const n=new RegExp(`(${tm(t)})`,"gi");return e.split(n).map(r=>({text:r,isMatch:n.test(r)&&r.toLowerCase()===t.toLowerCase()}))}function NH(e,t,n="hl"){if(!t?.trim())return e;const r=tm(t.trim());return e.replace(new RegExp(`(${r})`,"gi"),`<mark class="${n}">$1</mark>`)}function DH(e,t){const n=t?.trim().toLowerCase();return n?e.findIndex(r=>r.toLowerCase().includes(n)):-1}const kC=e=>e.replace(/[/\\]/g,"/"),FH=(e,t="/")=>e.replace(/[\\/]+/g,t);function $H(){return"#"+IH.random(0,16777215).toString(16).padStart(6,"0")}const jH=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),TC=e=>e.replace(/[-_]([a-z])/g,(t,n)=>n.toUpperCase()).replace(/^[A-Z]/,t=>t.toLowerCase()),Qp=e=>{if(Array.isArray(e))return e.map(n=>Qp(n));if(e===null||typeof e!="object")return e;const t={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=TC(n);t[r]=Qp(e[n])}return t};function UH(e){return/(^[A-Z][a-z][a-zA-Z0-9]*$)|(^[a-z]+(-[a-z0-9]+)+$)/.test(e.trim())}function zH(e){if(e<=0)throw new Error("长度必须大于0");let t="";for(;t.length<e;){const n=Math.floor(Math.random()*10);t.length===0&&n===0||(t+=n)}return t}function xC(e){if(e==null)return{valid:!1,reason:"validateHash.empty"};if(typeof e!="string")return{valid:!1,reason:"validateHash.notString",reasonParams:{type:typeof e}};const t=e.startsWith("#")?e.slice(1):e;if(t.length===0)return{valid:!1,reason:"validateHash.contentEmpty"};if(/^\d/.test(t))return{valid:!1,reason:"validateHash.startsWithNumber",reasonParams:{char:t[0]}};const n=t.match(/[^\p{L}\p{N}_\-() ]/u);if(n){const r=n[0],o=r.charCodeAt(0);return r==="`"?{valid:!1,reason:"validateHash.invalidCharBacktick"}:r===`
|
|
45
|
+
`?{valid:!1,reason:"validateHash.invalidCharNewline"}:r==="\r"?{valid:!1,reason:"validateHash.invalidCharCarriageReturn"}:r===" "?{valid:!1,reason:"validateHash.invalidCharTab"}:r==="\f"?{valid:!1,reason:"validateHash.invalidCharFormFeed"}:r==="\v"?{valid:!1,reason:"validateHash.invalidCharVerticalTab"}:r==="#"?{valid:!1,reason:"validateHash.invalidCharHash"}:/[<>\\"'&]/.test(r)?{valid:!1,reason:"validateHash.invalidCharHtmlSpecial",reasonParams:{char:r}}:{valid:!1,reason:"validateHash.invalidCharUnknown",reasonParams:{char:r,code:o.toString(16).toUpperCase().padStart(4,"0")}}}return{valid:!0,normalized:t}}function BH(e){return xC(e).valid}function WH(e){return!e||!Array.isArray(e)?[]:[...new Set(e.map(t=>(t||"").trim().toLowerCase()).filter(Boolean))]}function HH(e){if(!e||e.length===0)return{valid:!0};if(e.length>5)return{valid:!1,error:"tagsMaxCount"};for(const t of e){if(!t)return{valid:!1,error:"tagsEmpty"};if(t.length>20)return{valid:!1,error:"tagsTooLong",tag:t};if(!/^[一-龥a-zA-Z0-9\-_]+$/.test(t))return{valid:!1,error:"tagsInvalidChars",tag:t}}return{valid:!0}}const VH=Object.freeze(Object.defineProperty({__proto__:null,convertKeysToCamelCase:Qp,escapeRegExp:tm,findKeywordLineIndex:DH,generateNumberString:zH,highlightText:NH,isEmail:jH,isValidHash:BH,normalizeTags:WH,randomColor:$H,replaceBackslashWithSlash:kC,replaceSlashWithSpecifiedSeparator:FH,splitTextByKeyword:MH,toCamelCase:TC,validateCompName:UH,validateHash:xC,validateTags:HH},Symbol.toStringTag,{value:"Module"}));function GH(e,t){if(!e||!t.length)throw new Error("组件路径或入口路径为空");const[n]=t.slice(-1);if(!n)throw new Error("入口路径最后一项无效");const r=kC(n);return`${e.replace(we.FILE_MANAGER_DIRNAME,"")}${r}`}function KH(e){const t={};return e.forEach(n=>{n?.parent?t[n?.parent?.name]=n?.parent?.version:t[n.name]=n.version}),Object.entries(t).map(([n,r])=>({name:n,version:r}))}const qH=Object.freeze(Object.defineProperty({__proto__:null,getPreviewUrl:GH,handleDepData:KH},Symbol.toStringTag,{value:"Module"})),mv=/^[\^~>=<]+/,OC=/^(\d+)\.(\d+)\.(\d+)(?:-([a-zA-Z0-9.]+))?(?:\+([a-zA-Z0-9.]+))?$/;function YH(e){return OC.test(e)}function oo(e){if(!e||typeof e!="string")throw new Error(`Invalid version string: ${e}`);const t=e.match(mv),n=t?t[0]:"",r=e.replace(mv,"").match(OC);if(!r)throw new Error(`Invalid semver format: ${e}`);const[,o="0",s="0",a="0",c]=r,u=parseInt(o,10),f=parseInt(s,10),p=parseInt(a,10);return{raw:e,prefix:n,major:u,minor:f,patch:p,prerelease:c||null,majorVersion:o,version:`${u}.${f}.${p}`}}function XH(e,t){const n=oo(e),r=oo(t);return n.major===r.major&&n.minor===r.minor&&n.patch===r.patch}function JH(e){return oo(e).majorVersion}function QH(e){const t={};for(const[n,r]of Object.entries(e))try{t[n]=oo(r)}catch(o){console.warn(`Failed to parse version for ${n}: ${r}`,o)}return t}function hs(e,t){const n=oo(e),r=oo(t),{VERSION_COMPARE_SAME:o,VERSION_COMPARE_LESS:s,VERSION_COMPARE_GREATER:a}=we;return n.major!==r.major?n.major>r.major?a:s:n.minor!==r.minor?n.minor>r.minor?a:s:n.patch!==r.patch?n.patch>r.patch?a:s:o}function ZH(e,t){const n=oo(e),r=oo(t);switch(r.prefix){case"^":return n.major===r.major;case"~":return n.major===r.major&&n.minor===r.minor;case">=":return hs(e,t.replace(">=",""))>=0;case">":return hs(e,t.replace(">",""))>0;case"<=":return hs(e,t.replace("<=",""))<=0;case"<":return hs(e,t.replace("<",""))<0;case"=":case"":return hs(e,t.replace("=",""))===0;default:return!1}}function eV(e){if(!e||typeof e!="string")throw new Error("版本号必须是非空字符串");const t=oo(e),n=(c,u)=>{if(c<0||c>999)throw new Error(`版本号${u}位必须在 0-999 之间,当前值:${c}(原始输入:${e})`);return c},r=n(t.major,"主版本"),o=n(t.minor,"次版本"),s=n(t.patch,"补丁版本"),a=r*1e6+o*1e3+s;if(!Number.isSafeInteger(a))throw new Error(`版本号转换后超出 JavaScript 安全整数范围,结果:${a}(原始输入:${e})`);return a}const gv=Object.freeze(Object.defineProperty({__proto__:null,compareVersions:hs,getMajorVersion:JH,isVersionEqual:XH,parseDependencies:QH,parseVersion:oo,satisfiesRange:ZH,validateVersion:YH,versionToNumber:eV},Symbol.toStringTag,{value:"Module"})),pa={WIDTH_FIRST:"widthFirst",HEIGHT_FIRST:"heightFirst",CONTAIN:"contain",COVER:"cover"},tV=({panelWidth:e,panelHeight:t,width:n,height:r,mode:o})=>{let s=1;switch(o){case pa.WIDTH_FIRST:s=e/n;break;case pa.HEIGHT_FIRST:s=t/r;break;case pa.CONTAIN:s=Math.min(e/n,t/r);break;case pa.COVER:s=Math.max(e/n,t/r);break;default:console.warn(`[panelScale] unknown mode: "${o}", fallback to scale=1`),s=1;break}const a=n*s,c=r*s,u=(e-a)/2,f=(t-c)/2;return{transform:`translate(${u}px, ${f}px) scale(${s})`,transformOrigin:"left top"}},yv=(e,t=pa.CONTAIN,n,r)=>!e||!n||!r?{transform:"translate(0px, 0px) scale(1)",transformOrigin:"left top"}:tV({panelWidth:e.clientWidth,panelHeight:e.clientHeight,width:n,height:r,mode:t}),Qo=0,de=1,Fe=2,Wt=3,kt=4,Br=5,ju=6,bn=7,Un=8,Ye=9,Ie=10,Dt=11,qe=12,Ft=13,nl=14,zn=15,Sn=16,Cn=17,Kn=18,lr=19,wr=20,it=21,Pe=22,nn=23,sr=24,fn=25,nV=0;function un(e){return e>=48&&e<=57}function oi(e){return un(e)||e>=65&&e<=70||e>=97&&e<=102}function nm(e){return e>=65&&e<=90}function rV(e){return e>=97&&e<=122}function oV(e){return nm(e)||rV(e)}function iV(e){return e>=128}function Jc(e){return oV(e)||iV(e)||e===95}function AC(e){return Jc(e)||un(e)||e===45}function sV(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function Qc(e){return e===10||e===13||e===12}function Mi(e){return Qc(e)||e===32||e===9}function eo(e,t){return!(e!==92||Qc(t)||t===nV)}function xc(e,t,n){return e===45?Jc(t)||t===45||eo(t,n):Jc(e)?!0:e===92?eo(e,t):!1}function jd(e,t,n){return e===43||e===45?un(t)?2:t===46&&un(n)?3:0:e===46?un(t)?2:0:un(e)?1:0}function RC(e){return e===65279||e===65534?1:0}const Zp=new Array(128),aV=128,Oc=130,PC=131,rm=132,LC=133;for(let e=0;e<Zp.length;e++)Zp[e]=Mi(e)&&Oc||un(e)&&PC||Jc(e)&&rm||sV(e)&&LC||e||aV;function Ud(e){return e<128?Zp[e]:rm}function ws(e,t){return t<e.length?e.charCodeAt(t):0}function eh(e,t,n){return n===13&&ws(e,t+1)===10?2:1}function Es(e,t,n){let r=e.charCodeAt(t);return nm(r)&&(r=r|32),r===n}function Ba(e,t,n,r){if(n-t!==r.length||t<0||n>e.length)return!1;for(let o=t;o<n;o++){const s=r.charCodeAt(o-t);let a=e.charCodeAt(o);if(nm(a)&&(a=a|32),a!==s)return!1}return!0}function lV(e,t){for(;t>=0&&Mi(e.charCodeAt(t));t--);return t+1}function ac(e,t){for(;t<e.length&&Mi(e.charCodeAt(t));t++);return t}function zd(e,t){for(;t<e.length&&un(e.charCodeAt(t));t++);return t}function Ls(e,t){if(t+=2,oi(ws(e,t-1))){for(const r=Math.min(e.length,t+5);t<r&&oi(ws(e,t));t++);const n=ws(e,t);Mi(n)&&(t+=eh(e,t,n))}return t}function lc(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(!AC(n)){if(eo(n,ws(e,t+1))){t=Ls(e,t)-1;continue}break}}return t}function Uu(e,t){let n=e.charCodeAt(t);if((n===43||n===45)&&(n=e.charCodeAt(t+=1)),un(n)&&(t=zd(e,t+1),n=e.charCodeAt(t)),n===46&&un(e.charCodeAt(t+1))&&(t+=2,t=zd(e,t)),Es(e,t,101)){let r=0;n=e.charCodeAt(t+1),(n===45||n===43)&&(r=1,n=e.charCodeAt(t+2)),un(n)&&(t=zd(e,t+1+r+1))}return t}function Bd(e,t){for(;t<e.length;t++){const n=e.charCodeAt(t);if(n===41){t++;break}eo(n,ws(e,t+1))&&(t=Ls(e,t))}return t}function IC(e){if(e.length===1&&!oi(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const th=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"],cV=16*1024;function Zc(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,cV)):e}const bv=10,uV=12,_v=13;function vv(e){const t=e.source,n=t.length,r=t.length>0?RC(t.charCodeAt(0)):0,o=Zc(e.lines,n),s=Zc(e.columns,n);let a=e.startLine,c=e.startColumn;for(let u=r;u<n;u++){const f=t.charCodeAt(u);o[u]=a,s[u]=c++,(f===bv||f===_v||f===uV)&&(f===_v&&u+1<n&&t.charCodeAt(u+1)===bv&&(u++,o[u]=a,s[u]=c),a++,c=1)}o[n]=a,s[n]=c,e.lines=o,e.columns=s,e.computed=!0}class fV{constructor(t,n,r,o){this.setSource(t,n,r,o),this.lines=null,this.columns=null}setSource(t="",n=0,r=1,o=1){this.source=t,this.startOffset=n,this.startLine=r,this.startColumn=o,this.computed=!1}getLocation(t,n){return this.computed||vv(this),{source:n,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,n,r){return this.computed||vv(this),{source:r,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+n,line:this.lines[n],column:this.columns[n]}}}}const Ar=16777215,Rr=24,rl=1,zu=2,Zo=new Uint8Array(32);Zo[Fe]=Pe;Zo[it]=Pe;Zo[lr]=wr;Zo[nn]=sr;const Lr=new Uint8Array(32);Lr[Fe]=rl;Lr[it]=rl;Lr[lr]=rl;Lr[nn]=rl;Lr[Pe]=zu;Lr[wr]=zu;Lr[sr]=zu;function wv(e,t,n){return e<t?t:e>n?n:e}class dV{constructor(t,n){this.setSource(t,n)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",n=()=>{}){t=String(t||"");const r=t.length,o=Zc(this.offsetAndType,t.length+1),s=Zc(this.balance,t.length+1);let a=0,c=-1,u=0,f=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),n(t,(p,h,g)=>{const y=a++;if(o[y]=p<<Rr|g,c===-1&&(c=h),s[y]=f,p===u){const w=s[f];s[f]=y,f=w,u=Zo[o[w]>>Rr]}else this.isBlockOpenerTokenType(p)&&(f=y,u=Zo[p])}),o[a]=Qo<<Rr|r,s[a]=a;for(let p=0;p<a;p++){const h=s[p];if(h<=p){const g=s[h];g!==p&&(s[p]=g)}else h>a&&(s[p]=a)}this.source=t,this.firstCharOffset=c===-1?0:c,this.tokenCount=a,this.offsetAndType=o,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t]>>Rr:Qo}lookupTypeNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return r}return Qo}lookupOffset(t){return t+=this.tokenIndex,t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.source.length}lookupOffsetNonSC(t){for(let n=this.tokenIndex;n<this.tokenCount;n++){const r=this.offsetAndType[n]>>Rr;if(r!==Ft&&r!==fn&&t--===0)return n-this.tokenIndex}return Qo}lookupValue(t,n){return t+=this.tokenIndex,t<this.tokenCount?Ba(this.source,this.offsetAndType[t-1]&Ar,this.offsetAndType[t]&Ar,n):!1}getTokenStart(t){return t===this.tokenIndex?this.tokenStart:t>0?t<this.tokenCount?this.offsetAndType[t-1]&Ar:this.offsetAndType[this.tokenCount]&Ar:this.firstCharOffset}getTokenEnd(t){return t===this.tokenIndex?this.tokenEnd:this.offsetAndType[wv(t,0,this.tokenCount)]&Ar}getTokenType(t){return t===this.tokenIndex?this.tokenType:this.offsetAndType[wv(t,0,this.tokenCount)]>>Rr}substrToCursor(t){return this.source.substring(t,this.tokenStart)}isBlockOpenerTokenType(t){return Lr[t]===rl}isBlockCloserTokenType(t){return Lr[t]===zu}getBlockTokenPairIndex(t){const n=this.getTokenType(t);if(Lr[n]===1){const r=this.balance[t],o=this.getTokenType(r);return Zo[n]===o?r:-1}else if(Lr[n]===2){const r=this.balance[t],o=this.getTokenType(r);return Zo[o]===n?r:-1}return-1}isBalanceEdge(t){return this.balance[this.tokenIndex]<t}isDelim(t,n){return n?this.lookupType(n)===Ye&&this.source.charCodeAt(this.lookupOffset(n))===t:this.tokenType===Ye&&this.source.charCodeAt(this.tokenStart)===t}skip(t){let n=this.tokenIndex+t;n<this.tokenCount?(this.tokenIndex=n,this.tokenStart=this.offsetAndType[n-1]&Ar,n=this.offsetAndType[n],this.tokenType=n>>Rr,this.tokenEnd=n&Ar):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=this.tokenEnd,t=this.offsetAndType[t],this.tokenType=t>>Rr,this.tokenEnd=t&Ar):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=Qo,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===Ft||this.tokenType===fn;)this.next()}skipUntilBalanced(t,n){let r=t,o=0,s=0;e:for(;r<this.tokenCount;r++){if(o=this.balance[r],o<t)break e;switch(s=r>0?this.offsetAndType[r-1]&Ar:this.firstCharOffset,n(this.source.charCodeAt(s))){case 1:break e;case 2:r++;break e;default:this.isBlockOpenerTokenType(this.offsetAndType[r]>>Rr)&&(r=o)}}this.skip(r-this.tokenIndex)}forEachToken(t){for(let n=0,r=this.firstCharOffset;n<this.tokenCount;n++){const o=r,s=this.offsetAndType[n],a=s&Ar,c=s>>Rr;r=a,t(c,o,a,n)}}dump(){const t=new Array(this.tokenCount);return this.forEachToken((n,r,o,s)=>{t[s]={idx:s,type:th[n],chunk:this.source.substring(r,o),balance:this.balance[s]}}),t}}function Bu(e,t){function n(h){return h<c?e.charCodeAt(h):0}function r(){if(f=Uu(e,f),xc(n(f),n(f+1),n(f+2))){p=qe,f=lc(e,f);return}if(n(f)===37){p=Dt,f++;return}p=Ie}function o(){const h=f;if(f=lc(e,f),Ba(e,h,f,"url")&&n(f)===40){if(f=ac(e,f+1),n(f)===34||n(f)===39){p=Fe,f=h+4;return}a();return}if(n(f)===40){p=Fe,f++;return}p=de}function s(h){for(h||(h=n(f++)),p=Br;f<e.length;f++){const g=e.charCodeAt(f);switch(Ud(g)){case h:f++;return;case Oc:if(Qc(g)){f+=eh(e,f,g),p=ju;return}break;case 92:if(f===e.length-1)break;const y=n(f+1);Qc(y)?f+=eh(e,f+1,y):eo(g,y)&&(f=Ls(e,f)-1);break}}}function a(){for(p=bn,f=ac(e,f);f<e.length;f++){const h=e.charCodeAt(f);switch(Ud(h)){case 41:f++;return;case Oc:if(f=ac(e,f),n(f)===41||f>=e.length){f<e.length&&f++;return}f=Bd(e,f),p=Un;return;case 34:case 39:case 40:case LC:f=Bd(e,f),p=Un;return;case 92:if(eo(h,n(f+1))){f=Ls(e,f)-1;break}f=Bd(e,f),p=Un;return}}}e=String(e||"");const c=e.length;let u=RC(n(0)),f=u,p;for(;f<c;){const h=e.charCodeAt(f);switch(Ud(h)){case Oc:p=Ft,f=ac(e,f+1);break;case 34:s();break;case 35:AC(n(f+1))||eo(n(f+1),n(f+2))?(p=kt,f=lc(e,f+1)):(p=Ye,f++);break;case 39:s();break;case 40:p=it,f++;break;case 41:p=Pe,f++;break;case 43:jd(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 44:p=Kn,f++;break;case 45:jd(h,n(f+1),n(f+2))?r():n(f+1)===45&&n(f+2)===62?(p=zn,f=f+3):xc(h,n(f+1),n(f+2))?o():(p=Ye,f++);break;case 46:jd(h,n(f+1),n(f+2))?r():(p=Ye,f++);break;case 47:n(f+1)===42?(p=fn,f=e.indexOf("*/",f+2),f=f===-1?e.length:f+2):(p=Ye,f++);break;case 58:p=Sn,f++;break;case 59:p=Cn,f++;break;case 60:n(f+1)===33&&n(f+2)===45&&n(f+3)===45?(p=nl,f=f+4):(p=Ye,f++);break;case 64:xc(n(f+1),n(f+2),n(f+3))?(p=Wt,f=lc(e,f+1)):(p=Ye,f++);break;case 91:p=lr,f++;break;case 92:eo(h,n(f+1))?o():(p=Ye,f++);break;case 93:p=wr,f++;break;case 123:p=nn,f++;break;case 125:p=sr,f++;break;case PC:r();break;case rm:o();break;default:p=Ye,f++}t(p,u,u=f)}}let rs=null;class Zt{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return Zt.createItem(t)}allocateCursor(t,n){let r;return rs!==null?(r=rs,rs=rs.cursor,r.prev=t,r.next=n,r.cursor=this.cursor):r={prev:t,next:n,cursor:this.cursor},this.cursor=r,r}releaseCursor(){const{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=rs,rs=t}updateCursors(t,n,r,o){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=n),s.next===r&&(s.next=o),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let n=this.head;n!==null;n=n.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let n=null;this.head=null;for(let r of t){const o=Zt.createItem(r);n!==null?n.next=o:this.head=o,o.prev=n,n=o}return this.tail=n,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,n=this){const r=this.allocateCursor(null,this.head);for(;r.next!==null;){const o=r.next;r.next=o.next,t.call(n,o.data,o,this)}this.releaseCursor()}forEachRight(t,n=this){const r=this.allocateCursor(this.tail,null);for(;r.prev!==null;){const o=r.prev;r.prev=o.prev,t.call(n,o.data,o,this)}this.releaseCursor()}reduce(t,n,r=this){let o=this.allocateCursor(null,this.head),s=n,a;for(;o.next!==null;)a=o.next,o.next=a.next,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,n,r=this){let o=this.allocateCursor(this.tail,null),s=n,a;for(;o.prev!==null;)a=o.prev,o.prev=a.prev,s=t.call(r,s,a.data,a,this);return this.releaseCursor(),s}some(t,n=this){for(let r=this.head;r!==null;r=r.next)if(t.call(n,r.data,r,this))return!0;return!1}map(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)r.appendData(t.call(n,o.data,o,this));return r}filter(t,n=this){const r=new Zt;for(let o=this.head;o!==null;o=o.next)t.call(n,o.data,o,this)&&r.appendData(o.data);return r}nextUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(null,t);for(;o.next!==null;){const s=o.next;if(o.next=s.next,n.call(r,s.data,s,this))break}this.releaseCursor()}prevUntil(t,n,r=this){if(t===null)return;const o=this.allocateCursor(t,null);for(;o.prev!==null;){const s=o.prev;if(o.prev=s.prev,n.call(r,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){const t=new Zt;for(let n of this)t.appendData(n);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(Zt.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(Zt.createItem(t))}insert(t,n=null){if(n!==null)if(this.updateCursors(n.prev,t,n,t),n.prev===null){if(this.head!==n)throw new Error("before doesn't belong to list");this.head=t,n.prev=t,t.next=n,this.updateCursors(null,t)}else n.prev.next=t,t.prev=n.prev,n.prev=t,t.next=n;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,n){return this.insert(Zt.createItem(t),n)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(Zt.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(Zt.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,n){return t.head===null?this:(n!=null?(this.updateCursors(n.prev,t.tail,n,t.head),n.prev!==null?(n.prev.next=t.head,t.head.prev=n.prev):this.head=t.head,n.prev=t.tail,t.tail.next=n):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,n){"head"in n?this.insertList(n,t):this.insert(n,t),this.remove(t)}}function Wu(e,t){const n=Object.create(SyntaxError.prototype),r=new Error;return Object.assign(n,{name:e,message:t,get stack(){return(r.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t}
|
|
46
|
+
`)}})}const Wd=100,Ev=60,Sv=" ";function Cv({source:e,line:t,column:n,baseLine:r,baseColumn:o},s){function a(w,_){return f.slice(w,_).map((O,S)=>String(w+S+1).padStart(g)+" |"+O).join(`
|
|
47
47
|
`)}const c=`
|
|
48
|
-
`.repeat(Math.max(r-1,0)),u=" ".repeat(Math.max(o-1,0)),f=(c+u+e).split(/\r\n?|\n|\f/),p=Math.max(1,t-s)-1,h=Math.min(t+s,f.length+1),g=Math.max(4,String(h).length)+1;let y=0;n+=(
|
|
49
|
-
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function
|
|
50
|
-
`+kv({source:t,line:r,column:o,baseLine:s,baseColumn:a},2)}})}function pV(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case fn:this.next();continue;case Ft:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const os=()=>{},hV=33,mV=35,Hd=59,xv=123,Ov=0,gV={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},yV={createList(){return new Zt},createSingleNodeList(e){return new Zt().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function bV(e){return function(){return this[e]()}}function Vd(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function _V(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Vd(e.atrule),pseudo:Vd(e.pseudo),node:Vd(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=bV(r);break}return{config:t,...t,...t.node}}function vV(e){let t="",n="<unknown>",r=!1,o=os,s=!1;const a=new fV,c=Object.assign(new dV,_V(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:pV,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(p){return p===xv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(p){return p===xv||p===Hd?1:0},consumeUntilExclamationMarkOrSemicolon(p){return p===hV||p===Hd?1:0},consumeUntilSemicolonIncluded(p){return p===Hd?2:0},createList:os,createSingleNodeList:os,getFirstListNode:os,getLastListNode:os,parseWithFallback(p,h){const g=this.tokenIndex;try{return p.call(this)}catch(y){if(s)throw y;this.skip(g-this.tokenIndex);const v=h.call(this);return s=!0,o(y,v),s=!1,v}},lookupNonWSType(p){let h;do if(h=this.lookupType(p++),h!==Ft&&h!==fn)return h;while(h!==Ov);return Ov},charCodeAt(p){return p>=0&&p<t.length?t.charCodeAt(p):0},substring(p,h){return t.substring(p,h)},substrToCursor(p){return this.source.substring(p,this.tokenStart)},cmpChar(p,h){return Es(t,p,h)},cmpStr(p,h,g){return Ba(t,p,h,g)},consume(p){const h=this.tokenStart;return this.eat(p),this.substrToCursor(h)},consumeFunctionName(){const p=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(Fe),p},consumeNumber(p){const h=t.substring(this.tokenStart,Uu(t,this.tokenStart));return this.eat(p),h},eat(p){if(this.tokenType!==p){const h=nh[p].slice(0,-6).replace(/-/g," ").replace(/^./,v=>v.toUpperCase());let g=`${/[[\](){}]/.test(h)?`"${h}"`:h} is expected`,y=this.tokenStart;switch(p){case de:this.tokenType===Fe||this.tokenType===bn?(y=this.tokenEnd-1,g="Identifier is expected but function found"):g="Identifier is expected";break;case kt:this.isDelim(mV)&&(this.next(),y++,g="Name is expected");break;case Dt:this.tokenType===Le&&(y=this.tokenEnd,g="Percent sign is expected");break}this.error(g,y)}this.next()},eatIdent(p){(this.tokenType!==de||this.lookupValue(0,p)===!1)&&this.error(`Identifier "${p}" is expected`),this.next()},eatDelim(p){this.isDelim(p)||this.error(`Delim "${String.fromCharCode(p)}" is expected`),this.next()},getLocation(p,h){return r?a.getLocationRange(p,h,n):null},getLocationFromList(p){if(r){const h=this.getFirstListNode(p),g=this.getLastListNode(p);return a.getLocationRange(h!==null?h.loc.start.offset-a.startOffset:this.tokenStart,g!==null?g.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(p,h){const g=typeof h<"u"&&h<t.length?a.getLocation(h):this.eof?a.getLocation(lV(t,t.length-1)):a.getLocation(this.tokenStart);throw new Tv(p||"Unexpected input",t,g.offset,g.line,g.column,a.startLine,a.startColumn)}}),u=()=>({filename:n,source:t,tokenCount:c.tokenCount,getTokenType:p=>c.getTokenType(p),getTokenTypeName:p=>nh[c.getTokenType(p)],getTokenStart:p=>c.getTokenStart(p),getTokenEnd:p=>c.getTokenEnd(p),getTokenValue:p=>c.source.substring(c.getTokenStart(p),c.getTokenEnd(p)),substring:(p,h)=>c.source.substring(p,h),balance:c.balance.subarray(0,c.tokenCount+1),isBlockOpenerTokenType:c.isBlockOpenerTokenType,isBlockCloserTokenType:c.isBlockCloserTokenType,getBlockTokenPairIndex:p=>c.getBlockTokenPairIndex(p),getLocation:p=>a.getLocation(p,n),getRangeLocation:(p,h)=>a.getLocationRange(p,h,n)});return Object.assign(function(p,h){t=p,h=h||{},c.setSource(t,Bu),a.setSource(t,h.offset,h.line,h.column),n=h.filename||"<unknown>",r=!!h.positions,o=typeof h.onParseError=="function"?h.onParseError:os,s=!1,c.parseAtrulePrelude="parseAtrulePrelude"in h?!!h.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in h?!!h.parseRulePrelude:!0,c.parseValue="parseValue"in h?!!h.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in h?!!h.parseCustomProperty:!1;const{context:g="default",list:y=!0,onComment:v,onToken:_}=h;if(!(g in c.context))throw new Error("Unknown context `"+g+"`");Object.assign(c,y?yV:gV),Array.isArray(_)?c.forEachToken((S,w,A)=>{_.push({type:S,start:w,end:A})}):typeof _=="function"&&c.forEachToken(_.bind(u())),typeof v=="function"&&c.forEachToken((S,w,A)=>{if(S===fn){const E=c.getLocation(w,A),I=Ba(t,A-2,A,"*/")?t.slice(w+2,A-2):t.slice(w+2,A);v(I,E)}});const O=c.context[g].call(c,h);return c.eof||c.error(),O},{SyntaxError:Tv,config:c.config})}var Gd={},cc={},uc={},Av;function wV(){if(Av)return uc;Av=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return uc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},uc.decode=function(t){var n=65,r=90,o=97,s=122,a=48,c=57,u=43,f=47,p=26,h=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+p:a<=t&&t<=c?t-a+h:t==u?62:t==f?63:-1},uc}var Rv;function EV(){if(Rv)return cc;Rv=1;var e=wV(),t=5,n=1<<t,r=n-1,o=n;function s(c){return c<0?(-c<<1)+1:(c<<1)+0}function a(c){var u=(c&1)===1,f=c>>1;return u?-f:f}return cc.encode=function(u){var f="",p,h=s(u);do p=h&r,h>>>=t,h>0&&(p|=o),f+=e.encode(p);while(h>0);return f},cc.decode=function(u,f,p){var h=u.length,g=0,y=0,v,_;do{if(f>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(u.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));v=!!(_&o),_&=r,g=g+(_<<y),y+=t}while(v);p.value=a(g),p.rest=f},cc}var Kd={},Pv;function im(){return Pv||(Pv=1,(function(e){function t(T,N,G){if(N in T)return T[N];if(arguments.length===3)return G;throw new Error('"'+N+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(T){var N=T.match(n);return N?{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}:null}e.urlParse=o;function s(T){var N="";return T.scheme&&(N+=T.scheme+":"),N+="//",T.auth&&(N+=T.auth+"@"),T.host&&(N+=T.host),T.port&&(N+=":"+T.port),T.path&&(N+=T.path),N}e.urlGenerate=s;var a=32;function c(T){var N=[];return function(G){for(var K=0;K<N.length;K++)if(N[K].input===G){var ne=N[0];return N[0]=N[K],N[K]=ne,N[0].result}var le=T(G);return N.unshift({input:G,result:le}),N.length>a&&N.pop(),le}}var u=c(function(N){var G=N,K=o(N);if(K){if(!K.path)return N;G=K.path}for(var ne=e.isAbsolute(G),le=[],z=0,te=0;;)if(z=te,te=G.indexOf("/",z),te===-1){le.push(G.slice(z));break}else for(le.push(G.slice(z,te));te<G.length&&G[te]==="/";)te++;for(var oe,he=0,te=le.length-1;te>=0;te--)oe=le[te],oe==="."?le.splice(te,1):oe===".."?he++:he>0&&(oe===""?(le.splice(te+1,he),he=0):(le.splice(te,2),he--));return G=le.join("/"),G===""&&(G=ne?"/":"."),K?(K.path=G,s(K)):G});e.normalize=u;function f(T,N){T===""&&(T="."),N===""&&(N=".");var G=o(N),K=o(T);if(K&&(T=K.path||"/"),G&&!G.scheme)return K&&(G.scheme=K.scheme),s(G);if(G||N.match(r))return N;if(K&&!K.host&&!K.path)return K.host=N,s(K);var ne=N.charAt(0)==="/"?N:u(T.replace(/\/+$/,"")+"/"+N);return K?(K.path=ne,s(K)):ne}e.join=f,e.isAbsolute=function(T){return T.charAt(0)==="/"||n.test(T)};function p(T,N){T===""&&(T="."),T=T.replace(/\/$/,"");for(var G=0;N.indexOf(T+"/")!==0;){var K=T.lastIndexOf("/");if(K<0||(T=T.slice(0,K),T.match(/^([^\/]+:\/)?\/*$/)))return N;++G}return Array(G+1).join("../")+N.substr(T.length+1)}e.relative=p;var h=(function(){var T=Object.create(null);return!("__proto__"in T)})();function g(T){return T}function y(T){return _(T)?"$"+T:T}e.toSetString=h?g:y;function v(T){return _(T)?T.slice(1):T}e.fromSetString=h?g:v;function _(T){if(!T)return!1;var N=T.length;if(N<9||T.charCodeAt(N-1)!==95||T.charCodeAt(N-2)!==95||T.charCodeAt(N-3)!==111||T.charCodeAt(N-4)!==116||T.charCodeAt(N-5)!==111||T.charCodeAt(N-6)!==114||T.charCodeAt(N-7)!==112||T.charCodeAt(N-8)!==95||T.charCodeAt(N-9)!==95)return!1;for(var G=N-10;G>=0;G--)if(T.charCodeAt(G)!==36)return!1;return!0}function O(T,N,G){var K=E(T.source,N.source);return K!==0||(K=T.originalLine-N.originalLine,K!==0)||(K=T.originalColumn-N.originalColumn,K!==0||G)||(K=T.generatedColumn-N.generatedColumn,K!==0)||(K=T.generatedLine-N.generatedLine,K!==0)?K:E(T.name,N.name)}e.compareByOriginalPositions=O;function S(T,N,G){var K;return K=T.originalLine-N.originalLine,K!==0||(K=T.originalColumn-N.originalColumn,K!==0||G)||(K=T.generatedColumn-N.generatedColumn,K!==0)||(K=T.generatedLine-N.generatedLine,K!==0)?K:E(T.name,N.name)}e.compareByOriginalPositionsNoSource=S;function w(T,N,G){var K=T.generatedLine-N.generatedLine;return K!==0||(K=T.generatedColumn-N.generatedColumn,K!==0||G)||(K=E(T.source,N.source),K!==0)||(K=T.originalLine-N.originalLine,K!==0)||(K=T.originalColumn-N.originalColumn,K!==0)?K:E(T.name,N.name)}e.compareByGeneratedPositionsDeflated=w;function A(T,N,G){var K=T.generatedColumn-N.generatedColumn;return K!==0||G||(K=E(T.source,N.source),K!==0)||(K=T.originalLine-N.originalLine,K!==0)||(K=T.originalColumn-N.originalColumn,K!==0)?K:E(T.name,N.name)}e.compareByGeneratedPositionsDeflatedNoLine=A;function E(T,N){return T===N?0:T===null?1:N===null?-1:T>N?1:-1}function I(T,N){var G=T.generatedLine-N.generatedLine;return G!==0||(G=T.generatedColumn-N.generatedColumn,G!==0)||(G=E(T.source,N.source),G!==0)||(G=T.originalLine-N.originalLine,G!==0)||(G=T.originalColumn-N.originalColumn,G!==0)?G:E(T.name,N.name)}e.compareByGeneratedPositionsInflated=I;function x(T){return JSON.parse(T.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=x;function P(T,N,G){if(N=N||"",T&&(T[T.length-1]!=="/"&&N[0]!=="/"&&(T+="/"),N=T+N),G){var K=o(G);if(!K)throw new Error("sourceMapURL could not be parsed");if(K.path){var ne=K.path.lastIndexOf("/");ne>=0&&(K.path=K.path.substring(0,ne+1))}N=f(s(K),N)}return u(N)}e.computeSourceURL=P})(Kd)),Kd}var qd={},Iv;function SV(){if(Iv)return qd;Iv=1;var e=im(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,a){for(var c=new r,u=0,f=s.length;u<f;u++)c.add(s[u],a);return c},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,a){var c=n?s:e.toSetString(s),u=n?this.has(s):t.call(this._set,c),f=this._array.length;(!u||a)&&this._array.push(s),u||(n?this._set.set(s,f):this._set[c]=f)},r.prototype.has=function(s){if(n)return this._set.has(s);var a=e.toSetString(s);return t.call(this._set,a)},r.prototype.indexOf=function(s){if(n){var a=this._set.get(s);if(a>=0)return a}else{var c=e.toSetString(s);if(t.call(this._set,c))return this._set[c]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},qd.ArraySet=r,qd}var Yd={},Lv;function CV(){if(Lv)return Yd;Lv=1;var e=im();function t(r,o){var s=r.generatedLine,a=o.generatedLine,c=r.generatedColumn,u=o.generatedColumn;return a>s||a==s&&u>=c||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Yd.MappingList=n,Yd}var Mv;function kV(){if(Mv)return Gd;Mv=1;var e=EV(),t=im(),n=SV().ArraySet,r=CV().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(a,c){var u=a.sourceRoot,f=new o(Object.assign(c||{},{file:a.file,sourceRoot:u}));return a.eachMapping(function(p){var h={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(h.source=p.source,u!=null&&(h.source=t.relative(u,h.source)),h.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(h.name=p.name)),f.addMapping(h)}),a.sources.forEach(function(p){var h=p;u!==null&&(h=t.relative(u,p)),f._sources.has(h)||f._sources.add(h);var g=a.sourceContentFor(p);g!=null&&f.setSourceContent(p,g)}),f},o.prototype.addMapping=function(a){var c=t.getArg(a,"generated"),u=t.getArg(a,"original",null),f=t.getArg(a,"source",null),p=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(c,u,f,p)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:p}))},o.prototype.setSourceContent=function(a,c){var u=a;this._sourceRoot!=null&&(u=t.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,c,u){var f=c;if(c==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var p=this._sourceRoot;p!=null&&(f=t.relative(p,f));var h=new n,g=new n;this._mappings.unsortedForEach(function(y){if(y.source===f&&y.originalLine!=null){var v=a.originalPositionFor({line:y.originalLine,column:y.originalColumn});v.source!=null&&(y.source=v.source,u!=null&&(y.source=t.join(u,y.source)),p!=null&&(y.source=t.relative(p,y.source)),y.originalLine=v.line,y.originalColumn=v.column,v.name!=null&&(y.name=v.name))}var _=y.source;_!=null&&!h.has(_)&&h.add(_);var O=y.name;O!=null&&!g.has(O)&&g.add(O)},this),this._sources=h,this._names=g,a.sources.forEach(function(y){var v=a.sourceContentFor(y);v!=null&&(u!=null&&(y=t.join(u,y)),p!=null&&(y=t.relative(p,y)),this.setSourceContent(y,v))},this)},o.prototype._validateMapping=function(a,c,u,f){if(c&&typeof c.line!="number"&&typeof c.column!="number"){var p="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!c&&!u&&!f)){if(a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&a.line>0&&a.column>=0&&c.line>0&&c.column>=0&&u)return;var p="Invalid mapping: "+JSON.stringify({generated:a,source:u,original:c,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}},o.prototype._serializeMappings=function(){for(var a=0,c=1,u=0,f=0,p=0,h=0,g="",y,v,_,O,S=this._mappings.toArray(),w=0,A=S.length;w<A;w++){if(v=S[w],y="",v.generatedLine!==c)for(a=0;v.generatedLine!==c;)y+=";",c++;else if(w>0){if(!t.compareByGeneratedPositionsInflated(v,S[w-1]))continue;y+=","}y+=e.encode(v.generatedColumn-a),a=v.generatedColumn,v.source!=null&&(O=this._sources.indexOf(v.source),y+=e.encode(O-h),h=O,y+=e.encode(v.originalLine-1-f),f=v.originalLine-1,y+=e.encode(v.originalColumn-u),u=v.originalColumn,v.name!=null&&(_=this._names.indexOf(v.name),y+=e.encode(_-p),p=_)),g+=y}return g},o.prototype._generateSourcesContent=function(a,c){return a.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=t.relative(c,u));var f=t.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},o.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Gd.SourceMapGenerator=o,Gd}var TV=kV();const Nv=new Set(["Atrule","Selector","Declaration"]);function xV(e){const t=new TV.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let a=1,c=0,u=!1;const f=e.node;e.node=function(g){if(g.loc&&g.loc.start&&Nv.has(g.type)){const y=g.loc.start.line,v=g.loc.start.column-1;(r.line!==y||r.column!==v)&&(r.line=y,r.column=v,n.line=a,n.column=c,u&&(u=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),u=!0,t.addMapping({source:g.loc.source,original:r,generated:n}))}f.call(this,g),u&&Nv.has(g.type)&&(o.line=a,o.column=c)};const p=e.emit;e.emit=function(g,y,v){for(let _=0;_<g.length;_++)g.charCodeAt(_)===10?(a++,c=0):c++;p(g,y,v)};const h=e.result;return e.result=function(){return u&&t.addMapping(s),{css:h(),map:t}},e}const OV=43,AV=45,Xd=(e,t)=>(e===Ye&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),MC=[[de,de],[de,Fe],[de,bn],[de,Un],[de,"-"],[de,Le],[de,Dt],[de,qe],[de,zn],[de,it],[Wt,de],[Wt,Fe],[Wt,bn],[Wt,Un],[Wt,"-"],[Wt,Le],[Wt,Dt],[Wt,qe],[Wt,zn],[kt,de],[kt,Fe],[kt,bn],[kt,Un],[kt,"-"],[kt,Le],[kt,Dt],[kt,qe],[kt,zn],[qe,de],[qe,Fe],[qe,bn],[qe,Un],[qe,"-"],[qe,Le],[qe,Dt],[qe,qe],[qe,zn],["#",de],["#",Fe],["#",bn],["#",Un],["#","-"],["#",Le],["#",Dt],["#",qe],["#",zn],["-",de],["-",Fe],["-",bn],["-",Un],["-","-"],["-",Le],["-",Dt],["-",qe],["-",zn],[Le,de],[Le,Fe],[Le,bn],[Le,Un],[Le,Le],[Le,Dt],[Le,qe],[Le,"%"],[Le,zn],["@",de],["@",Fe],["@",bn],["@",Un],["@","-"],["@",zn],[".",Le],[".",Dt],[".",qe],["+",Le],["+",Dt],["+",qe],["/","*"]],RV=MC.concat([[de,kt],[qe,kt],[kt,kt],[Wt,it],[Wt,Br],[Wt,Sn],[Dt,Dt],[Dt,qe],[Dt,Fe],[Dt,"-"],[Pe,de],[Pe,Fe],[Pe,Dt],[Pe,qe],[Pe,kt],[Pe,"-"]]);function NC(e){const t=new Set(e.map(([n,r])=>Xd(n)<<16|Xd(r)));return function(n,r,o){const s=Xd(r,o),a=o.charCodeAt(0),c=a===AV&&r!==de&&r!==Fe&&r!==zn||a===OV?t.has((n&65534)<<16|a<<7):t.has((n&65534)<<16|s);return s|c}}const PV=NC(MC),DC=NC(RV),Dv=Object.freeze(Object.defineProperty({__proto__:null,safe:DC,spec:PV},Symbol.toStringTag,{value:"Module"})),IV=92;function LV(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function MV(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,a={node(u){if(t.has(u.type))t.get(u.type).call(c,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:DC,token(u,f,p){s=this.tokenBefore(s,u,f),!p&&s&1&&this.emit(" ",Ft,!0),this.emit(f,u,!1),u===Ye&&f.charCodeAt(0)===IV&&this.emit(`
|
|
51
|
-
`,Ft,!0)},emit(u){o+=u},result(){return o}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=xV(a)),r.mode in
|
|
48
|
+
`.repeat(Math.max(r-1,0)),u=" ".repeat(Math.max(o-1,0)),f=(c+u+e).split(/\r\n?|\n|\f/),p=Math.max(1,t-s)-1,h=Math.min(t+s,f.length+1),g=Math.max(4,String(h).length)+1;let y=0;n+=(Sv.length-1)*(f[t-1].substr(0,n-1).match(/\t/g)||[]).length,n>Wd&&(y=n-Ev+3,n=Ev-2);for(let w=p;w<=h;w++)w>=0&&w<f.length&&(f[w]=f[w].replace(/\t/g,Sv),f[w]=(y>0&&f[w].length>y?"…":"")+f[w].substr(y,Wd-2)+(f[w].length>y+Wd-1?"…":""));return[a(p,t),new Array(n+g+2).join("-")+"^",a(t,h)].filter(Boolean).join(`
|
|
49
|
+
`).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function kv(e,t,n,r,o,s=1,a=1){return Object.assign(Wu("SyntaxError",e),{source:t,offset:n,line:r,column:o,sourceFragment(u){return Cv({source:t,line:r,column:o,baseLine:s,baseColumn:a},isNaN(u)?0:u)},get formattedMessage(){return`Parse error: ${e}
|
|
50
|
+
`+Cv({source:t,line:r,column:o,baseLine:s,baseColumn:a},2)}})}function pV(e){const t=this.createList();let n=!1;const r={recognizer:e};for(;!this.eof;){switch(this.tokenType){case fn:this.next();continue;case Ft:n=!0,this.next();continue}let o=e.getNode.call(this,r);if(o===void 0)break;n&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,o,t,r),n=!1),t.push(o)}return n&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,r),t}const os=()=>{},hV=33,mV=35,Hd=59,Tv=123,xv=0,gV={createList(){return[]},createSingleNodeList(e){return[e]},getFirstListNode(e){return e&&e[0]||null},getLastListNode(e){return e&&e.length>0?e[e.length-1]:null}},yV={createList(){return new Zt},createSingleNodeList(e){return new Zt().appendData(e)},getFirstListNode(e){return e&&e.first},getLastListNode(e){return e&&e.last}};function bV(e){return function(){return this[e]()}}function Vd(e){const t=Object.create(null);for(const n of Object.keys(e)){const r=e[n],o=r.parse||r;o&&(t[n]=o)}return t}function _V(e){const t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:Vd(e.atrule),pseudo:Vd(e.pseudo),node:Vd(e.node)};for(const[n,r]of Object.entries(e.parseContext))switch(typeof r){case"function":t.context[n]=r;break;case"string":t.context[n]=bV(r);break}return{config:t,...t,...t.node}}function vV(e){let t="",n="<unknown>",r=!1,o=os,s=!1;const a=new fV,c=Object.assign(new dV,_V(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:pV,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(p){return p===Tv?1:0},consumeUntilLeftCurlyBracketOrSemicolon(p){return p===Tv||p===Hd?1:0},consumeUntilExclamationMarkOrSemicolon(p){return p===hV||p===Hd?1:0},consumeUntilSemicolonIncluded(p){return p===Hd?2:0},createList:os,createSingleNodeList:os,getFirstListNode:os,getLastListNode:os,parseWithFallback(p,h){const g=this.tokenIndex;try{return p.call(this)}catch(y){if(s)throw y;this.skip(g-this.tokenIndex);const w=h.call(this);return s=!0,o(y,w),s=!1,w}},lookupNonWSType(p){let h;do if(h=this.lookupType(p++),h!==Ft&&h!==fn)return h;while(h!==xv);return xv},charCodeAt(p){return p>=0&&p<t.length?t.charCodeAt(p):0},substring(p,h){return t.substring(p,h)},substrToCursor(p){return this.source.substring(p,this.tokenStart)},cmpChar(p,h){return Es(t,p,h)},cmpStr(p,h,g){return Ba(t,p,h,g)},consume(p){const h=this.tokenStart;return this.eat(p),this.substrToCursor(h)},consumeFunctionName(){const p=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(Fe),p},consumeNumber(p){const h=t.substring(this.tokenStart,Uu(t,this.tokenStart));return this.eat(p),h},eat(p){if(this.tokenType!==p){const h=th[p].slice(0,-6).replace(/-/g," ").replace(/^./,w=>w.toUpperCase());let g=`${/[[\](){}]/.test(h)?`"${h}"`:h} is expected`,y=this.tokenStart;switch(p){case de:this.tokenType===Fe||this.tokenType===bn?(y=this.tokenEnd-1,g="Identifier is expected but function found"):g="Identifier is expected";break;case kt:this.isDelim(mV)&&(this.next(),y++,g="Name is expected");break;case Dt:this.tokenType===Ie&&(y=this.tokenEnd,g="Percent sign is expected");break}this.error(g,y)}this.next()},eatIdent(p){(this.tokenType!==de||this.lookupValue(0,p)===!1)&&this.error(`Identifier "${p}" is expected`),this.next()},eatDelim(p){this.isDelim(p)||this.error(`Delim "${String.fromCharCode(p)}" is expected`),this.next()},getLocation(p,h){return r?a.getLocationRange(p,h,n):null},getLocationFromList(p){if(r){const h=this.getFirstListNode(p),g=this.getLastListNode(p);return a.getLocationRange(h!==null?h.loc.start.offset-a.startOffset:this.tokenStart,g!==null?g.loc.end.offset-a.startOffset:this.tokenStart,n)}return null},error(p,h){const g=typeof h<"u"&&h<t.length?a.getLocation(h):this.eof?a.getLocation(lV(t,t.length-1)):a.getLocation(this.tokenStart);throw new kv(p||"Unexpected input",t,g.offset,g.line,g.column,a.startLine,a.startColumn)}}),u=()=>({filename:n,source:t,tokenCount:c.tokenCount,getTokenType:p=>c.getTokenType(p),getTokenTypeName:p=>th[c.getTokenType(p)],getTokenStart:p=>c.getTokenStart(p),getTokenEnd:p=>c.getTokenEnd(p),getTokenValue:p=>c.source.substring(c.getTokenStart(p),c.getTokenEnd(p)),substring:(p,h)=>c.source.substring(p,h),balance:c.balance.subarray(0,c.tokenCount+1),isBlockOpenerTokenType:c.isBlockOpenerTokenType,isBlockCloserTokenType:c.isBlockCloserTokenType,getBlockTokenPairIndex:p=>c.getBlockTokenPairIndex(p),getLocation:p=>a.getLocation(p,n),getRangeLocation:(p,h)=>a.getLocationRange(p,h,n)});return Object.assign(function(p,h){t=p,h=h||{},c.setSource(t,Bu),a.setSource(t,h.offset,h.line,h.column),n=h.filename||"<unknown>",r=!!h.positions,o=typeof h.onParseError=="function"?h.onParseError:os,s=!1,c.parseAtrulePrelude="parseAtrulePrelude"in h?!!h.parseAtrulePrelude:!0,c.parseRulePrelude="parseRulePrelude"in h?!!h.parseRulePrelude:!0,c.parseValue="parseValue"in h?!!h.parseValue:!0,c.parseCustomProperty="parseCustomProperty"in h?!!h.parseCustomProperty:!1;const{context:g="default",list:y=!0,onComment:w,onToken:_}=h;if(!(g in c.context))throw new Error("Unknown context `"+g+"`");Object.assign(c,y?yV:gV),Array.isArray(_)?c.forEachToken((S,v,T)=>{_.push({type:S,start:v,end:T})}):typeof _=="function"&&c.forEachToken(_.bind(u())),typeof w=="function"&&c.forEachToken((S,v,T)=>{if(S===fn){const E=c.getLocation(v,T),R=Ba(t,T-2,T,"*/")?t.slice(v+2,T-2):t.slice(v+2,T);w(R,E)}});const O=c.context[g].call(c,h);return c.eof||c.error(),O},{SyntaxError:kv,config:c.config})}var Gd={},cc={},uc={},Ov;function wV(){if(Ov)return uc;Ov=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return uc.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},uc.decode=function(t){var n=65,r=90,o=97,s=122,a=48,c=57,u=43,f=47,p=26,h=52;return n<=t&&t<=r?t-n:o<=t&&t<=s?t-o+p:a<=t&&t<=c?t-a+h:t==u?62:t==f?63:-1},uc}var Av;function EV(){if(Av)return cc;Av=1;var e=wV(),t=5,n=1<<t,r=n-1,o=n;function s(c){return c<0?(-c<<1)+1:(c<<1)+0}function a(c){var u=(c&1)===1,f=c>>1;return u?-f:f}return cc.encode=function(u){var f="",p,h=s(u);do p=h&r,h>>>=t,h>0&&(p|=o),f+=e.encode(p);while(h>0);return f},cc.decode=function(u,f,p){var h=u.length,g=0,y=0,w,_;do{if(f>=h)throw new Error("Expected more digits in base 64 VLQ value.");if(_=e.decode(u.charCodeAt(f++)),_===-1)throw new Error("Invalid base64 digit: "+u.charAt(f-1));w=!!(_&o),_&=r,g=g+(_<<y),y+=t}while(w);p.value=a(g),p.rest=f},cc}var Kd={},Rv;function om(){return Rv||(Rv=1,(function(e){function t(x,N,G){if(N in x)return x[N];if(arguments.length===3)return G;throw new Error('"'+N+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(x){var N=x.match(n);return N?{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}:null}e.urlParse=o;function s(x){var N="";return x.scheme&&(N+=x.scheme+":"),N+="//",x.auth&&(N+=x.auth+"@"),x.host&&(N+=x.host),x.port&&(N+=":"+x.port),x.path&&(N+=x.path),N}e.urlGenerate=s;var a=32;function c(x){var N=[];return function(G){for(var K=0;K<N.length;K++)if(N[K].input===G){var ae=N[0];return N[0]=N[K],N[K]=ae,N[0].result}var ue=x(G);return N.unshift({input:G,result:ue}),N.length>a&&N.pop(),ue}}var u=c(function(N){var G=N,K=o(N);if(K){if(!K.path)return N;G=K.path}for(var ae=e.isAbsolute(G),ue=[],B=0,ne=0;;)if(B=ne,ne=G.indexOf("/",B),ne===-1){ue.push(G.slice(B));break}else for(ue.push(G.slice(B,ne));ne<G.length&&G[ne]==="/";)ne++;for(var re,he=0,ne=ue.length-1;ne>=0;ne--)re=ue[ne],re==="."?ue.splice(ne,1):re===".."?he++:he>0&&(re===""?(ue.splice(ne+1,he),he=0):(ue.splice(ne,2),he--));return G=ue.join("/"),G===""&&(G=ae?"/":"."),K?(K.path=G,s(K)):G});e.normalize=u;function f(x,N){x===""&&(x="."),N===""&&(N=".");var G=o(N),K=o(x);if(K&&(x=K.path||"/"),G&&!G.scheme)return K&&(G.scheme=K.scheme),s(G);if(G||N.match(r))return N;if(K&&!K.host&&!K.path)return K.host=N,s(K);var ae=N.charAt(0)==="/"?N:u(x.replace(/\/+$/,"")+"/"+N);return K?(K.path=ae,s(K)):ae}e.join=f,e.isAbsolute=function(x){return x.charAt(0)==="/"||n.test(x)};function p(x,N){x===""&&(x="."),x=x.replace(/\/$/,"");for(var G=0;N.indexOf(x+"/")!==0;){var K=x.lastIndexOf("/");if(K<0||(x=x.slice(0,K),x.match(/^([^\/]+:\/)?\/*$/)))return N;++G}return Array(G+1).join("../")+N.substr(x.length+1)}e.relative=p;var h=(function(){var x=Object.create(null);return!("__proto__"in x)})();function g(x){return x}function y(x){return _(x)?"$"+x:x}e.toSetString=h?g:y;function w(x){return _(x)?x.slice(1):x}e.fromSetString=h?g:w;function _(x){if(!x)return!1;var N=x.length;if(N<9||x.charCodeAt(N-1)!==95||x.charCodeAt(N-2)!==95||x.charCodeAt(N-3)!==111||x.charCodeAt(N-4)!==116||x.charCodeAt(N-5)!==111||x.charCodeAt(N-6)!==114||x.charCodeAt(N-7)!==112||x.charCodeAt(N-8)!==95||x.charCodeAt(N-9)!==95)return!1;for(var G=N-10;G>=0;G--)if(x.charCodeAt(G)!==36)return!1;return!0}function O(x,N,G){var K=E(x.source,N.source);return K!==0||(K=x.originalLine-N.originalLine,K!==0)||(K=x.originalColumn-N.originalColumn,K!==0||G)||(K=x.generatedColumn-N.generatedColumn,K!==0)||(K=x.generatedLine-N.generatedLine,K!==0)?K:E(x.name,N.name)}e.compareByOriginalPositions=O;function S(x,N,G){var K;return K=x.originalLine-N.originalLine,K!==0||(K=x.originalColumn-N.originalColumn,K!==0||G)||(K=x.generatedColumn-N.generatedColumn,K!==0)||(K=x.generatedLine-N.generatedLine,K!==0)?K:E(x.name,N.name)}e.compareByOriginalPositionsNoSource=S;function v(x,N,G){var K=x.generatedLine-N.generatedLine;return K!==0||(K=x.generatedColumn-N.generatedColumn,K!==0||G)||(K=E(x.source,N.source),K!==0)||(K=x.originalLine-N.originalLine,K!==0)||(K=x.originalColumn-N.originalColumn,K!==0)?K:E(x.name,N.name)}e.compareByGeneratedPositionsDeflated=v;function T(x,N,G){var K=x.generatedColumn-N.generatedColumn;return K!==0||G||(K=E(x.source,N.source),K!==0)||(K=x.originalLine-N.originalLine,K!==0)||(K=x.originalColumn-N.originalColumn,K!==0)?K:E(x.name,N.name)}e.compareByGeneratedPositionsDeflatedNoLine=T;function E(x,N){return x===N?0:x===null?1:N===null?-1:x>N?1:-1}function R(x,N){var G=x.generatedLine-N.generatedLine;return G!==0||(G=x.generatedColumn-N.generatedColumn,G!==0)||(G=E(x.source,N.source),G!==0)||(G=x.originalLine-N.originalLine,G!==0)||(G=x.originalColumn-N.originalColumn,G!==0)?G:E(x.name,N.name)}e.compareByGeneratedPositionsInflated=R;function A(x){return JSON.parse(x.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=A;function L(x,N,G){if(N=N||"",x&&(x[x.length-1]!=="/"&&N[0]!=="/"&&(x+="/"),N=x+N),G){var K=o(G);if(!K)throw new Error("sourceMapURL could not be parsed");if(K.path){var ae=K.path.lastIndexOf("/");ae>=0&&(K.path=K.path.substring(0,ae+1))}N=f(s(K),N)}return u(N)}e.computeSourceURL=L})(Kd)),Kd}var qd={},Pv;function SV(){if(Pv)return qd;Pv=1;var e=om(),t=Object.prototype.hasOwnProperty,n=typeof Map<"u";function r(){this._array=[],this._set=n?new Map:Object.create(null)}return r.fromArray=function(s,a){for(var c=new r,u=0,f=s.length;u<f;u++)c.add(s[u],a);return c},r.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(s,a){var c=n?s:e.toSetString(s),u=n?this.has(s):t.call(this._set,c),f=this._array.length;(!u||a)&&this._array.push(s),u||(n?this._set.set(s,f):this._set[c]=f)},r.prototype.has=function(s){if(n)return this._set.has(s);var a=e.toSetString(s);return t.call(this._set,a)},r.prototype.indexOf=function(s){if(n){var a=this._set.get(s);if(a>=0)return a}else{var c=e.toSetString(s);if(t.call(this._set,c))return this._set[c]}throw new Error('"'+s+'" is not in the set.')},r.prototype.at=function(s){if(s>=0&&s<this._array.length)return this._array[s];throw new Error("No element indexed by "+s)},r.prototype.toArray=function(){return this._array.slice()},qd.ArraySet=r,qd}var Yd={},Lv;function CV(){if(Lv)return Yd;Lv=1;var e=om();function t(r,o){var s=r.generatedLine,a=o.generatedLine,c=r.generatedColumn,u=o.generatedColumn;return a>s||a==s&&u>=c||e.compareByGeneratedPositionsInflated(r,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return n.prototype.unsortedForEach=function(o,s){this._array.forEach(o,s)},n.prototype.add=function(o){t(this._last,o)?(this._last=o,this._array.push(o)):(this._sorted=!1,this._array.push(o))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Yd.MappingList=n,Yd}var Iv;function kV(){if(Iv)return Gd;Iv=1;var e=EV(),t=om(),n=SV().ArraySet,r=CV().MappingList;function o(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(s,"ignoreInvalidMapping",!1),this._sources=new n,this._names=new n,this._mappings=new r,this._sourcesContents=null}return o.prototype._version=3,o.fromSourceMap=function(a,c){var u=a.sourceRoot,f=new o(Object.assign(c||{},{file:a.file,sourceRoot:u}));return a.eachMapping(function(p){var h={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(h.source=p.source,u!=null&&(h.source=t.relative(u,h.source)),h.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(h.name=p.name)),f.addMapping(h)}),a.sources.forEach(function(p){var h=p;u!==null&&(h=t.relative(u,p)),f._sources.has(h)||f._sources.add(h);var g=a.sourceContentFor(p);g!=null&&f.setSourceContent(p,g)}),f},o.prototype.addMapping=function(a){var c=t.getArg(a,"generated"),u=t.getArg(a,"original",null),f=t.getArg(a,"source",null),p=t.getArg(a,"name",null);!this._skipValidation&&this._validateMapping(c,u,f,p)===!1||(f!=null&&(f=String(f),this._sources.has(f)||this._sources.add(f)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:c.line,generatedColumn:c.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:f,name:p}))},o.prototype.setSourceContent=function(a,c){var u=a;this._sourceRoot!=null&&(u=t.relative(this._sourceRoot,u)),c!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(u)]=c):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,c,u){var f=c;if(c==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);f=a.file}var p=this._sourceRoot;p!=null&&(f=t.relative(p,f));var h=new n,g=new n;this._mappings.unsortedForEach(function(y){if(y.source===f&&y.originalLine!=null){var w=a.originalPositionFor({line:y.originalLine,column:y.originalColumn});w.source!=null&&(y.source=w.source,u!=null&&(y.source=t.join(u,y.source)),p!=null&&(y.source=t.relative(p,y.source)),y.originalLine=w.line,y.originalColumn=w.column,w.name!=null&&(y.name=w.name))}var _=y.source;_!=null&&!h.has(_)&&h.add(_);var O=y.name;O!=null&&!g.has(O)&&g.add(O)},this),this._sources=h,this._names=g,a.sources.forEach(function(y){var w=a.sourceContentFor(y);w!=null&&(u!=null&&(y=t.join(u,y)),p!=null&&(y=t.relative(p,y)),this.setSourceContent(y,w))},this)},o.prototype._validateMapping=function(a,c,u,f){if(c&&typeof c.line!="number"&&typeof c.column!="number"){var p="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!c&&!u&&!f)){if(a&&"line"in a&&"column"in a&&c&&"line"in c&&"column"in c&&a.line>0&&a.column>=0&&c.line>0&&c.column>=0&&u)return;var p="Invalid mapping: "+JSON.stringify({generated:a,source:u,original:c,name:f});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(p),!1;throw new Error(p)}},o.prototype._serializeMappings=function(){for(var a=0,c=1,u=0,f=0,p=0,h=0,g="",y,w,_,O,S=this._mappings.toArray(),v=0,T=S.length;v<T;v++){if(w=S[v],y="",w.generatedLine!==c)for(a=0;w.generatedLine!==c;)y+=";",c++;else if(v>0){if(!t.compareByGeneratedPositionsInflated(w,S[v-1]))continue;y+=","}y+=e.encode(w.generatedColumn-a),a=w.generatedColumn,w.source!=null&&(O=this._sources.indexOf(w.source),y+=e.encode(O-h),h=O,y+=e.encode(w.originalLine-1-f),f=w.originalLine-1,y+=e.encode(w.originalColumn-u),u=w.originalColumn,w.name!=null&&(_=this._names.indexOf(w.name),y+=e.encode(_-p),p=_)),g+=y}return g},o.prototype._generateSourcesContent=function(a,c){return a.map(function(u){if(!this._sourcesContents)return null;c!=null&&(u=t.relative(c,u));var f=t.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,f)?this._sourcesContents[f]:null},this)},o.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},Gd.SourceMapGenerator=o,Gd}var TV=kV();const Mv=new Set(["Atrule","Selector","Declaration"]);function xV(e){const t=new TV.SourceMapGenerator,n={line:1,column:0},r={line:0,column:0},o={line:1,column:0},s={generated:o};let a=1,c=0,u=!1;const f=e.node;e.node=function(g){if(g.loc&&g.loc.start&&Mv.has(g.type)){const y=g.loc.start.line,w=g.loc.start.column-1;(r.line!==y||r.column!==w)&&(r.line=y,r.column=w,n.line=a,n.column=c,u&&(u=!1,(n.line!==o.line||n.column!==o.column)&&t.addMapping(s)),u=!0,t.addMapping({source:g.loc.source,original:r,generated:n}))}f.call(this,g),u&&Mv.has(g.type)&&(o.line=a,o.column=c)};const p=e.emit;e.emit=function(g,y,w){for(let _=0;_<g.length;_++)g.charCodeAt(_)===10?(a++,c=0):c++;p(g,y,w)};const h=e.result;return e.result=function(){return u&&t.addMapping(s),{css:h(),map:t}},e}const OV=43,AV=45,Xd=(e,t)=>(e===Ye&&(e=t),typeof e=="string"&&(e=Math.min(e.charCodeAt(0),128)<<6),e<<1),MC=[[de,de],[de,Fe],[de,bn],[de,Un],[de,"-"],[de,Ie],[de,Dt],[de,qe],[de,zn],[de,it],[Wt,de],[Wt,Fe],[Wt,bn],[Wt,Un],[Wt,"-"],[Wt,Ie],[Wt,Dt],[Wt,qe],[Wt,zn],[kt,de],[kt,Fe],[kt,bn],[kt,Un],[kt,"-"],[kt,Ie],[kt,Dt],[kt,qe],[kt,zn],[qe,de],[qe,Fe],[qe,bn],[qe,Un],[qe,"-"],[qe,Ie],[qe,Dt],[qe,qe],[qe,zn],["#",de],["#",Fe],["#",bn],["#",Un],["#","-"],["#",Ie],["#",Dt],["#",qe],["#",zn],["-",de],["-",Fe],["-",bn],["-",Un],["-","-"],["-",Ie],["-",Dt],["-",qe],["-",zn],[Ie,de],[Ie,Fe],[Ie,bn],[Ie,Un],[Ie,Ie],[Ie,Dt],[Ie,qe],[Ie,"%"],[Ie,zn],["@",de],["@",Fe],["@",bn],["@",Un],["@","-"],["@",zn],[".",Ie],[".",Dt],[".",qe],["+",Ie],["+",Dt],["+",qe],["/","*"]],RV=MC.concat([[de,kt],[qe,kt],[kt,kt],[Wt,it],[Wt,Br],[Wt,Sn],[Dt,Dt],[Dt,qe],[Dt,Fe],[Dt,"-"],[Pe,de],[Pe,Fe],[Pe,Dt],[Pe,qe],[Pe,kt],[Pe,"-"]]);function NC(e){const t=new Set(e.map(([n,r])=>Xd(n)<<16|Xd(r)));return function(n,r,o){const s=Xd(r,o),a=o.charCodeAt(0),c=a===AV&&r!==de&&r!==Fe&&r!==zn||a===OV?t.has((n&65534)<<16|a<<7):t.has((n&65534)<<16|s);return s|c}}const PV=NC(MC),DC=NC(RV),Nv=Object.freeze(Object.defineProperty({__proto__:null,safe:DC,spec:PV},Symbol.toStringTag,{value:"Module"})),LV=92;function IV(e,t){if(typeof t=="function"){let n=null;e.children.forEach(r=>{n!==null&&t.call(this,n),this.node(r),n=r});return}e.children.forEach(this.node,this)}function MV(e){const t=new Map;for(let[n,r]of Object.entries(e.node))typeof(r.generate||r)=="function"&&t.set(n,r.generate||r);return function(n,r){let o="",s=0,a={node(u){if(t.has(u.type))t.get(u.type).call(c,u);else throw new Error("Unknown node type: "+u.type)},tokenBefore:DC,token(u,f,p){s=this.tokenBefore(s,u,f),!p&&s&1&&this.emit(" ",Ft,!0),this.emit(f,u,!1),u===Ye&&f.charCodeAt(0)===LV&&this.emit(`
|
|
51
|
+
`,Ft,!0)},emit(u){o+=u},result(){return o}};r&&(typeof r.decorator=="function"&&(a=r.decorator(a)),r.sourceMap&&(a=xV(a)),r.mode in Nv&&(a.tokenBefore=Nv[r.mode]));const c={node:u=>a.node(u),children:IV,token:(u,f)=>a.token(u,f),tokenize:u=>Bu(u,(f,p,h)=>{a.token(f,u.slice(p,h),p!==0)})};return a.node(n),a.result()}}function NV(e){return{fromPlainObject(t){return e(t,{enter(n){n.children&&!(n.children instanceof Zt)&&(n.children=new Zt().fromArray(n.children))}}),t},toPlainObject(t){return e(t,{leave(n){n.children&&n.children instanceof Zt&&(n.children=n.children.toArray())}}),t}}}const{hasOwnProperty:im}=Object.prototype,ha=function(){};function Dv(e){return typeof e=="function"?e:ha}function Fv(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function DV(e,t){const n=t.structure,r=[];for(const o in n){if(im.call(n,o)===!1)continue;let s=n[o];const a={name:o,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(const c of s)c===null?a.nullable=!0:typeof c=="string"?a.type="node":Array.isArray(c)&&(a.type="list");a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function FV(e){const t={};for(const n in e.node)if(im.call(e.node,n)){const r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=DV(n,r)}return t}function $v(e,t){const n=e.fields.slice(),r=e.context,o=typeof r=="string";return t&&n.reverse(),function(s,a,c,u){let f;o&&(f=a[r],a[r]=s);for(const p of n){const h=s[p.name];if(!p.nullable||h){if(p.type==="list"){if(t?h.reduceRight(u,!1):h.reduce(u,!1))return!0}else if(c(h))return!0}}o&&(a[r]=f)}}function jv({StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Rule:{StyleSheet:e,Atrule:t,Rule:n,Block:r},Declaration:{StyleSheet:e,Atrule:t,Rule:n,Block:r,DeclarationList:o}}}function $V(e){const t=FV(e),n={},r={},o=Symbol("break-walk"),s=Symbol("skip-node");for(const f in t)im.call(t,f)&&t[f]!==null&&(n[f]=$v(t[f],!1),r[f]=$v(t[f],!0));const a=jv(n),c=jv(r),u=function(f,p){function h(S,v,T){const E=g.call(O,S,v,T);return E===o?!0:E===s?!1:!!(w.hasOwnProperty(S.type)&&w[S.type](S,O,h,_)||y.call(O,S,v,T)===o)}let g=ha,y=ha,w=n,_=(S,v,T,E)=>S||h(v,T,E);const O={break:o,skip:s,root:f,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof p=="function")g=p;else if(p&&(g=Dv(p.enter),y=Dv(p.leave),p.reverse&&(w=r),p.visit)){if(a.hasOwnProperty(p.visit))w=p.reverse?c[p.visit]:a[p.visit];else if(!t.hasOwnProperty(p.visit))throw new Error("Bad value `"+p.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");g=Fv(g,p.visit),y=Fv(y,p.visit)}if(g===ha&&y===ha)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");h(f)};return u.break=o,u.skip=s,u.find=function(f,p){let h=null;return u(f,function(g,y,w){if(p.call(this,g,y,w))return h=g,o}),h},u.findLast=function(f,p){let h=null;return u(f,{reverse:!0,enter(g,y,w){if(p.call(this,g,y,w))return h=g,o}}),h},u.findAll=function(f,p){const h=[];return u(f,function(g,y,w){p.call(this,g,y,w)&&h.push(g)}),h},u}function jV(e){return e}function UV(e){const{min:t,max:n,comma:r}=e;return t===0&&n===0?r?"#?":"*":t===0&&n===1?"?":t===1&&n===0?r?"#":"+":t===1&&n===1?"":(r?"#":"")+(t===n?"{"+t+"}":"{"+t+","+(n!==0?n:"")+"}")}function zV(e){if(e.type==="Range")return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";throw new Error("Unknown node type `"+e.type+"`")}function BV(e,t,n,r){const o=e.combinator===" "||r?e.combinator:" "+e.combinator+" ",s=e.terms.map(a=>eu(a,t,n,r)).join(o);return e.explicit||n?(r||s[0]===","?"[":"[ ")+s+(r?"]":" ]"):s}function eu(e,t,n,r){let o;switch(e.type){case"Group":o=BV(e,t,n,r)+(e.disallowEmpty?"!":"");break;case"Multiplier":return eu(e.term,t,n,r)+t(UV(e),e);case"Boolean":o="<boolean-expr["+eu(e.term,t,n,r)+"]>";break;case"Type":o="<"+e.name+(e.opts?t(zV(e.opts),e.opts):"")+">";break;case"Property":o="<'"+e.name+"'>";break;case"Keyword":o=e.name;break;case"AtKeyword":o="@"+e.name;break;case"Function":o=e.name+"(";break;case"String":case"Token":o=e.value;break;case"Comma":o=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(o,e)}function sm(e,t){let n=jV,r=!1,o=!1;return typeof t=="function"?n=t:t&&(r=!!t.forceBraces,o=!!t.compact,typeof t.decorate=="function"&&(n=t.decorate)),eu(e,n,r,o)}const Uv={offset:0,line:1,column:1};function WV(e,t){const n=e.tokens,r=e.longestMatch,o=r<n.length&&n[r].node||null,s=o!==t?o:null;let a=0,c=0,u=0,f="",p,h;for(let g=0;g<n.length;g++){const y=n[g].value;g===r&&(c=y.length,a=f.length),s!==null&&n[g].node===s&&(g<=r?u++:u=0),f+=y}return r===n.length||u>1?(p=fc(s||t,"end")||ma(Uv,f),h=ma(p)):(p=fc(s,"start")||ma(fc(t,"start")||Uv,f.slice(0,a)),h=fc(s,"end")||ma(p,f.substr(a,c))),{css:f,mismatchOffset:a,mismatchLength:c,start:p,end:h}}function fc(e,t){const n=e&&e.loc&&e.loc[t];return n?"line"in n?ma(n):n:null}function ma({offset:e,line:t,column:n},r){const o={offset:e,line:t,column:n};if(r){const s=r.split(/\n|\r\n?|\f/);o.offset+=r.length,o.line+=s.length-1,o.column=s.length===1?o.column+r.length:s.pop().length+1}return o}const ca=function(e,t){const n=Wu("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},HV=function(e,t,n,r){const o=Wu("SyntaxMatchError",e),{css:s,mismatchOffset:a,mismatchLength:c,start:u,end:f}=WV(r,n);return o.rawMessage=e,o.syntax=t?sm(t):"<generic>",o.css=s,o.mismatchOffset=a,o.mismatchLength=c,o.message=e+`
|
|
52
52
|
syntax: `+o.syntax+`
|
|
53
53
|
value: `+(s||"<empty string>")+`
|
|
54
|
-
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:f},o},dc=new Map,is=new Map,tu=45,Jd=VV,
|
|
54
|
+
--------`+new Array(o.mismatchOffset+1).join("-")+"^",Object.assign(o,u),o.loc={source:n&&n.loc&&n.loc.source||"<unknown>",start:u,end:f},o},dc=new Map,is=new Map,tu=45,Jd=VV,zv=GV;function am(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===tu&&e.charCodeAt(t+1)===tu}function FC(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===tu&&e.charCodeAt(t+1)!==tu){const n=e.indexOf("-",t+2);if(n!==-1)return e.substring(t,n+1)}return""}function VV(e){if(dc.has(e))return dc.get(e);const t=e.toLowerCase();let n=dc.get(t);if(n===void 0){const r=am(t,0),o=r?"":FC(t,0);n=Object.freeze({basename:t.substr(o.length),name:t,prefix:o,vendor:o,custom:r})}return dc.set(e,n),n}function GV(e){if(is.has(e))return is.get(e);let t=e,n=e[0];n==="/"?n=e[1]==="/"?"//":"/":n!=="_"&&n!=="*"&&n!=="$"&&n!=="#"&&n!=="+"&&n!=="&"&&(n="");const r=am(t,n.length);if(!r&&(t=t.toLowerCase(),is.has(t))){const c=is.get(t);return is.set(e,c),c}const o=r?"":FC(t,n.length),s=t.substr(0,n.length+o.length),a=Object.freeze({basename:t.substr(s.length),name:t.substr(n.length),hack:n,vendor:o,prefix:s,custom:r});return is.set(e,a),a}const lm=["initial","inherit","unset","revert","revert-layer"],Wa=43,Yr=45,Qd=110,ss=!0,KV=!1;function nh(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function xa(e,t,n){for(;e!==null&&(e.type===Ft||e.type===fn);)e=n(++t);return t}function Yo(e,t,n,r){if(!e)return 0;const o=e.value.charCodeAt(t);if(o===Wa||o===Yr){if(n)return 0;t++}for(;t<e.value.length;t++)if(!un(e.value.charCodeAt(t)))return 0;return r+1}function Zd(e,t,n){let r=!1,o=xa(e,t,n);if(e=n(o),e===null)return t;if(e.type!==Ie)if(nh(e,Wa)||nh(e,Yr)){if(r=!0,o=xa(n(++o),o,n),e=n(o),e===null||e.type!==Ie)return 0}else return t;if(!r){const s=e.value.charCodeAt(0);if(s!==Wa&&s!==Yr)return 0}return Yo(e,r?0:1,r,o)}function qV(e,t){let n=0;if(!e)return 0;if(e.type===Ie)return Yo(e,0,KV,n);if(e.type===de&&e.value.charCodeAt(0)===Yr){if(!Es(e.value,1,Qd))return 0;switch(e.value.length){case 2:return Zd(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==Yr?0:(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n));default:return e.value.charCodeAt(2)!==Yr?0:Yo(e,3,ss,n)}}else if(e.type===de||nh(e,Wa)&&t(n+1).type===de){if(e.type!==de&&(e=t(++n)),e===null||!Es(e.value,0,Qd))return 0;switch(e.value.length){case 1:return Zd(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==Yr?0:(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n));default:return e.value.charCodeAt(1)!==Yr?0:Yo(e,2,ss,n)}}else if(e.type===qe){let r=e.value.charCodeAt(0),o=r===Wa||r===Yr?1:0,s=o;for(;s<e.value.length&&un(e.value.charCodeAt(s));s++);return s===o||!Es(e.value,s,Qd)?0:s+1===e.value.length?Zd(t(++n),n,t):e.value.charCodeAt(s+1)!==Yr?0:s+2===e.value.length?(n=xa(t(++n),n,t),e=t(n),Yo(e,0,ss,n)):Yo(e,s+2,ss,n)}return 0}const YV=43,$C=45,jC=63,XV=117;function rh(e,t){return e!==null&&e.type===Ye&&e.value.charCodeAt(0)===t}function JV(e,t){return e.value.charCodeAt(0)===t}function ga(e,t,n){let r=0;for(let o=t;o<e.value.length;o++){const s=e.value.charCodeAt(o);if(s===$C&&n&&r!==0)return ga(e,t+r+1,!1),6;if(!oi(s)||++r>6)return 0}return r}function pc(e,t,n){if(!e)return 0;for(;rh(n(t),jC);){if(++e>6)return 0;t++}return t}function QV(e,t){let n=0;if(e===null||e.type!==de||!Es(e.value,0,XV)||(e=t(++n),e===null))return 0;if(rh(e,YV))return e=t(++n),e===null?0:e.type===de?pc(ga(e,0,!0),++n,t):rh(e,jC)?pc(1,++n,t):0;if(e.type===Ie){const r=ga(e,1,!0);return r===0?0:(e=t(++n),e===null?n:e.type===qe||e.type===Ie?!JV(e,$C)||!ga(e,1,!1)?0:n+1:pc(r,n,t))}return e.type===qe?pc(ga(e,1,!0),++n,t):0}const cm=["calc(","-moz-calc(","-webkit-calc("],um=["min(","max(","clamp("],fm=["round(","mod(","rem("],ZV=["sin(","cos(","tan("],e3=["asin(","acos(","atan(","atan2("],t3=["pow(","sqrt(","log(","exp(","sign("],dm=["hypot("],pm=["abs("],Bv=[...cm,...um,...fm,...ZV,...t3,...dm,...pm],n3=[...cm,...um,...fm,...dm,...pm],bo=[...cm,...um,...fm,...e3,...dm,...pm],hm=new Map([[Fe,Pe],[it,Pe],[lr,wr],[nn,sr]]);function Dr(e,t){return t<e.length?e.charCodeAt(t):0}function UC(e,t){return Ba(e,0,e.length,t)}function zC(e,t){for(let n=0;n<t.length;n++)if(UC(e,t[n]))return!0;return!1}function BC(e,t){return t!==e.length-2?!1:Dr(e,t)===92&&un(Dr(e,t+1))}function Hu(e,t,n){if(e&&e.type==="Range"){const r=Number(n!==void 0&&n!==t.length?t.substr(0,n):t);if(isNaN(r)||e.min!==null&&r<e.min&&typeof e.min!="string"||e.max!==null&&r>e.max&&typeof e.max!="string")return!0}return!1}function r3(e,t){let n=0,r=[],o=0;e:do{switch(e.type){case sr:case Pe:case wr:if(e.type!==n)break e;if(n=r.pop(),r.length===0){o++;break e}break;case Fe:case it:case lr:case nn:r.push(n),n=hm.get(e.type);break}o++}while(e=t(o));return o}function br(e,t){return function(n,r,o){return n===null?0:n.type===Fe&&zC(n.value,t)?r3(n,r):e(n,r,o)}}function St(e){return function(t){return t===null||t.type!==e?0:1}}function o3(e){if(e===null||e.type!==de)return 0;const t=e.value.toLowerCase();return zC(t,lm)||UC(t,"default")?0:1}function WC(e){return e===null||e.type!==de||Dr(e.value,0)!==45||Dr(e.value,1)!==45?0:1}function i3(e){return!WC(e)||e.value==="--"?0:1}function s3(e){if(e===null||e.type!==kt)return 0;const t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let n=1;n<t;n++)if(!oi(Dr(e.value,n)))return 0;return 1}function a3(e){return e===null||e.type!==kt||!xc(Dr(e.value,1),Dr(e.value,2),Dr(e.value,3))?0:1}function l3(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ju:case Un:break e;case sr:case Pe:case wr:if(e.type!==n)break e;n=r.pop();break;case Cn:if(n===0)break e;break;case Ye:if(n===0&&e.value==="!")break e;break;case Fe:case it:case lr:case nn:r.push(n),n=hm.get(e.type);break}o++}while(e=t(o));return o}function c3(e,t){if(!e)return 0;let n=0,r=[],o=0;e:do{switch(e.type){case ju:case Un:break e;case sr:case Pe:case wr:if(e.type!==n)break e;n=r.pop();break;case Fe:case it:case lr:case nn:r.push(n),n=hm.get(e.type);break}o++}while(e=t(o));return o}function _o(e){return e&&(e=new Set(e)),function(t,n,r){if(t===null||t.type!==qe)return 0;const o=Uu(t.value,0);if(e!==null){const s=t.value.indexOf("\\",o),a=s===-1||!BC(t.value,s)?t.value.substr(o):t.value.substring(o,s);if(e.has(a.toLowerCase())===!1)return 0}return Hu(r,t.value,o)?0:1}}function u3(e,t,n){return e===null||e.type!==Dt||Hu(n,e.value,e.value.length-1)?0:1}function HC(e){return typeof e!="function"&&(e=function(){return 0}),function(t,n,r){return t!==null&&t.type===Ie&&Number(t.value)===0?1:e(t,n,r)}}function f3(e,t,n){if(e===null)return 0;const r=Uu(e.value,0);return!(r===e.value.length)&&!BC(e.value,r)||Hu(n,e.value,r)?0:1}function d3(e,t,n){if(e===null||e.type!==Ie)return 0;let r=Dr(e.value,0)===43||Dr(e.value,0)===45?1:0;for(;r<e.value.length;r++)if(!un(Dr(e.value,r)))return 0;return Hu(n,e.value,r)?0:1}const p3={"ident-token":St(de),"function-token":St(Fe),"at-keyword-token":St(Wt),"hash-token":St(kt),"string-token":St(Br),"bad-string-token":St(ju),"url-token":St(bn),"bad-url-token":St(Un),"delim-token":St(Ye),"number-token":St(Ie),"percentage-token":St(Dt),"dimension-token":St(qe),"whitespace-token":St(Ft),"CDO-token":St(nl),"CDC-token":St(zn),"colon-token":St(Sn),"semicolon-token":St(Cn),"comma-token":St(Kn),"[-token":St(lr),"]-token":St(wr),"(-token":St(it),")-token":St(Pe),"{-token":St(nn),"}-token":St(sr)},h3={string:St(Br),ident:St(de),percentage:br(u3,n3),zero:HC(),number:br(f3,Bv),integer:br(d3,Bv),"custom-ident":o3,"dashed-ident":WC,"custom-property-name":i3,"hex-color":s3,"id-selector":a3,"an-plus-b":qV,urange:QV,"declaration-value":l3,"any-value":c3},m3=["length","angle","time","frequency","resolution","flex","decibel","semitones"];function g3(e){const{angle:t,decibel:n,frequency:r,flex:o,length:s,resolution:a,semitones:c,time:u}=e||{};return{dimension:br(_o(null),bo),angle:br(_o(t),bo),decibel:br(_o(n),bo),frequency:br(_o(r),bo),flex:br(_o(o),bo),length:br(HC(_o(s)),bo),resolution:br(_o(a),bo),semitones:br(_o(c),bo),time:br(_o(u),bo)}}function y3(e){const t=new Set;for(const n of m3)if(Array.isArray(e[n]))for(const r of e[n])t.add(r.toLowerCase());return function(r){return r===null?0:r.type===Ye&&r.value==="%"||r.type===de&&t.has(r.value.toLowerCase())?1:0}}function b3(e){return{...p3,...h3,...g3(e),"attr-unit":y3(e)}}const _3=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],v3=["deg","grad","rad","turn"],w3=["s","ms"],E3=["hz","khz"],S3=["dpi","dpcm","dppx","x"],C3=["fr"],k3=["db"],T3=["st"],Wv=Object.freeze(Object.defineProperty({__proto__:null,angle:v3,decibel:k3,flex:C3,frequency:E3,length:_3,resolution:S3,semitones:T3,time:w3},Symbol.toStringTag,{value:"Module"}));function x3(e,t,n){return Object.assign(Wu("SyntaxError",e),{input:t,offset:n,rawMessage:e,message:e+`
|
|
55
55
|
`+t+`
|
|
56
|
-
--`+new Array((n||t.length)+1).join("-")+"^"})}const O3=9,A3=10,R3=12,P3=13,I3=32,Vv=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class L3{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&Vv[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==P3&&n!==A3&&n!==R3&&n!==I3&&n!==O3)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new x3(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||Vv[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const M3=9,N3=10,D3=12,F3=13,$3=32,VC=33,gm=35,Gv=38,nu=39,GC=40,KC=41,qC=42,ym=43,bm=44,Kv=45,_m=60,ih=62,ru=63,j3=64,Ha=91,Ls=93,ou=123,qv=124,sh=125,Yv=8734,Xv={" ":1,"&&":2,"||":3,"|":4};function Jv(e){let t=null,n=null;return e.eat(ou),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===bm?(e.pos++,e.skipWs(),e.charCode()!==sh&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(sh),{min:Number(t),max:n?Number(n):0}}function U3(e){let t=null,n=!1;switch(e.charCode()){case qC:e.pos++,t={min:0,max:0};break;case ym:e.pos++,t={min:1,max:0};break;case ru:e.pos++,t={min:0,max:1};break;case gm:e.pos++,n=!0,e.charCode()===ou?t=Jv(e):e.charCode()===ru?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case ou:t=Jv(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Lo(e,t){const n=U3(e);return n!==null?(n.term=t,e.charCode()===gm&&e.charCodeAt(e.pos-1)===ym||e.charCode()===ru&&e.charCodeAt(e.pos-1)===sh?Lo(e,n):n):t}function ep(e){const t=e.peek();return t===""?null:Lo(e,{type:"Token",value:t})}function z3(e){let t;return e.eat(_m),e.eat(nu),t=e.scanWord(),e.eat(nu),e.eat(ih),Lo(e,{type:"Property",name:t})}function B3(e){let t=null,n=null,r=1;return e.eat(Ha),e.charCode()===Kv&&(e.peek(),r=-1),r==-1&&e.charCode()===Yv?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(bm),e.skipWs(),e.charCode()===Yv?e.peek():(r=1,e.charCode()===Kv&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Ls),{type:"Range",min:t,max:n}}function W3(e){let t,n=null;if(e.eat(_m),t=e.scanWord(),t==="boolean-expr"){e.eat(Ha);const r=Vu(e,Ls);return e.eat(Ls),e.eat(ih),Lo(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===GC&&e.nextCharCode()===KC&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ha&&(e.skipWs(),n=B3(e)),e.eat(ih),Lo(e,{type:"Type",name:t,opts:n})}function H3(e){const t=e.scanWord();return e.charCode()===GC?(e.pos++,{type:"Function",name:t}):Lo(e,{type:"Keyword",name:t})}function V3(e,t){function n(o,s){return{type:"Group",terms:o,combinator:s,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,s)=>Xv[o]-Xv[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const a=e[o];a.type==="Combinator"&&(a.value===r?(s===-1&&(s=o-1),e.splice(o,1),o--):(s!==-1&&o-s>1&&(e.splice(s,o-s,n(e.slice(s,o),r)),o=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,o-s,n(e.slice(s,o),r))}return r}function Vu(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,a=!1;for(;e.charCode()!==t;){let c=a?Vu(e,KC):K3(e);if(!c)break;if(c.type!=="Spaces"){if(a){if(c.terms.length===0){a=!1;continue}if(c.combinator===" "){for(;c.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},c.terms.shift());c=c.terms[0]}}c.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[c.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(c),o=c,s=e.pos,a=c.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:V3(r,n)||" ",disallowEmpty:!1,explicit:!1}}function G3(e){let t;return e.eat(Ha),t=Vu(e,Ls),e.eat(Ls),t.explicit=!0,e.charCode()===VC&&(e.pos++,t.disallowEmpty=!0),t}function K3(e){let t=e.charCode();switch(t){case Ls:break;case Ha:return Lo(e,G3(e));case _m:return e.nextCharCode()===nu?z3(e):W3(e);case qv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===qv?2:1))};case Gv:return e.pos++,e.eat(Gv),{type:"Combinator",value:"&&"};case bm:return e.pos++,{type:"Comma"};case nu:return Lo(e,{type:"String",value:e.scanString()});case $3:case M3:case N3:case F3:case D3:return{type:"Spaces",value:e.scanSpaces()};case j3:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):ep(e);case qC:case ym:case ru:case gm:case VC:break;case ou:if(t=e.nextCharCode(),t<48||t>57)return ep(e);break;default:return e.isNameCharCode(t)?H3(e):ep(e)}}function YC(e){const t=new L3(e),n=Vu(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const ya=function(){};function Qv(e){return typeof e=="function"?e:ya}function q3(e,t,n){function r(a){switch(o.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}s.call(n,a)}let o=ya,s=ya;if(typeof t=="function"?o=t:t&&(o=Qv(t.enter),s=Qv(t.leave)),o===ya&&s===ya)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const Y3={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,s){t.push({type:o,value:r,node:s?null:n})},result(){return t}}}};function X3(e){const t=[];return Bu(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function J3(e,t){return typeof e=="string"?X3(e):t.generate(e,Y3)}const at={type:"Match"},yt={type:"Mismatch"},vm={type:"DisallowEmpty"},Q3=40,Z3=41;function yn(e,t,n){return t===at&&n===yt||e===at&&t===at&&n===at?e:(e.type==="If"&&e.else===yt&&t===at&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function XC(e){return e.length>2&&e.charCodeAt(e.length-2)===Q3&&e.charCodeAt(e.length-1)===Z3}function Zv(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&XC(e.name)}function Vo(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Oa(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Oa(e.match,t,n),e.then=Oa(e.then,t,n),e.else=Oa(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function ah(e,t,n){switch(e){case" ":{let r=at;for(let o=t.length-1;o>=0;o--){const s=t[o];r=yn(s,r,yt)}return r}case"|":{let r=yt,o=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(Zv(a)&&(o===null&&s>0&&Zv(t[s-1])&&(o=Object.create(null),r=yn({type:"Enum",map:o},at,r)),o!==null)){const c=(XC(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(c in o)){o[c]=a;continue}}o=null,r=yn(a,at,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=ah(e,t.filter(function(c){return c!==s}),!1):a=at,r=yn(s,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?at:yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=ah(e,t.filter(function(c){return c!==s}),!0):a=at,r=yn(s,a,r)}return r}}}function eG(e){let t=at,n=gs(e.term);if(e.max===0)n=yn(n,vm,yt),t=yn(n,null,yt),t.then=yn(at,at,t),e.comma&&(t.then.else=yn({type:"Comma",syntax:e},t,yt));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,yn(at,at,t),yt);if(e.min===0)t=yn(at,at,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,t,yt);return t}function gs(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=ah(e.combinator,e.terms.map(gs),!1);return e.disallowEmpty&&(t=yn(t,vm,yt)),t}case"Multiplier":return eG(e);case"Boolean":{const t=gs(e.term),n=gs(Vo([Vo([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Vo([{type:"Type",name:"!boolean-group"},Vo([{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=gs(Vo([{type:"Type",name:"!term"},Vo([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Oa(r,{"!term":t,"!self":n}),Oa(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function hc(e,t){return typeof e=="string"&&(e=YC(e)),{type:"MatchGraph",match:gs(e),syntax:t||null,source:e}}const{hasOwnProperty:ew}=Object.prototype,tG=0,nG=1,lh=2,JC=3,tw="Match",rG="Mismatch",oG="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",nw=15e3;function iG(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function tp(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function sG(e){return e.type!==Ye?!1:e.value!=="?"}function rw(e){return e===null?!0:e.type===Kn||e.type===Fe||e.type===it||e.type===lr||e.type===nn||sG(e)}function ow(e){return e===null?!0:e.type===Pe||e.type===wr||e.type===sr||e.type===Ye&&e.value==="/"}function aG(e,t,n){function r(){do w++,S=w<e.length?e[w]:null;while(S!==null&&(S.type===Ft||S.type===fn))}function o(I){const x=w+I;return x<e.length?e[x]:null}function s(I,x){return{nextState:I,matchStack:E,syntaxStack:h,thenStack:g,tokenIndex:w,prev:x}}function a(I){g={nextState:I,matchStack:E,syntaxStack:h,prev:g}}function c(I){y=s(I,y)}function u(){E={type:nG,syntax:t.syntax,token:S,prev:E},r(),v=null,w>A&&(A=w)}function f(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},E={type:lh,syntax:t.syntax,token:E.token,prev:E}}function p(){E.type===lh?E=E.prev:E={type:JC,syntax:h.syntax,token:E.token,prev:E},h=h.prev}let h=null,g=null,y=null,v=null,_=0,O=null,S=null,w=-1,A=0,E={type:tG,syntax:null,token:null,prev:null};for(r();O===null&&++_<nw;)switch(t.type){case"Match":if(g===null){if(S!==null&&(w!==e.length-1||S.value!=="\\0"&&S.value!=="\\9")){t=yt;break}O=tw;break}if(t=g.nextState,t===vm)if(g.matchStack===E){t=yt;break}else t=at;for(;g.syntaxStack!==h;)p();g=g.prev;break;case"Mismatch":if(v!==null&&v!==!1)(y===null||w>y.tokenIndex)&&(y=v,v=!1);else if(y===null){O=rG;break}t=y.nextState,g=y.thenStack,h=y.syntaxStack,E=y.matchStack,w=y.tokenIndex,S=w<e.length?e[w]:null,y=y.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==yt&&c(t.else),t.then!==at&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const P=t.syntax.terms;if(t.index===P.length){if(t.mask===0||t.syntax.all){t=yt;break}t=at;break}if(t.mask===(1<<P.length)-1){t=at;break}for(;t.index<P.length;t.index++){const T=1<<t.index;if((t.mask&T)===0){c(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|T}),t=P[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(S!==null){let P=S.value.toLowerCase();if(P.indexOf("\\")!==-1&&(P=P.replace(/\\[09].*$/,"")),ew.call(t.map,P)){t=t.map[P];break}}t=yt;break;case"Generic":{const P=h!==null?h.opts:null,T=w+Math.floor(t.fn(S,o,P));if(!isNaN(T)&&T>w){for(;w<T;)u();t=at}else t=yt;break}case"Type":case"Property":{const P=t.type==="Type"?"types":"properties",T=ew.call(n,P)?n[P][t.name]:null;if(!T||!T.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(v!==!1&&S!==null&&t.type==="Type"&&(t.name==="custom-ident"&&S.type===de||t.name==="length"&&S.value==="0")){v===null&&(v=s(t,y)),t=yt;break}f(),t=T.matchRef||T.match;break}case"Keyword":{const P=t.name;if(S!==null){let T=S.value;if(T.indexOf("\\")!==-1&&(T=T.replace(/\\[09].*$/,"")),tp(T,P)){u(),t=at;break}}t=yt;break}case"AtKeyword":case"Function":if(S!==null&&tp(S.value,t.name)){u(),t=at;break}t=yt;break;case"Token":if(S!==null&&S.value===t.value){u(),t=at;break}t=yt;break;case"Comma":S!==null&&S.type===Kn?rw(E.token)?t=yt:(u(),t=ow(S)?yt:at):t=rw(E.token)||ow(S)?at:yt;break;case"String":let I="",x=w;for(;x<e.length&&I.length<t.value.length;x++)I+=e[x].value;if(tp(I,t.value)){for(;w<x;)u();t=at}else t=yt;break;default:throw new Error("Unknown node type: "+t.type)}switch(O){case null:console.warn("[csstree-match] BREAK after "+nw+" iterations"),O=oG,E=null;break;case tw:for(;h!==null;)p();break;default:E=null}return{tokens:e,reason:O,iterations:_,match:E,longestMatch:A}}function iw(e,t,n){const r=aG(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const a=[s];for(o=iG(o).prev;o!==null;){switch(o.type){case lh:s.match.push(s={syntax:o.syntax,match:[]}),a.push(s);break;case JC:a.pop(),s=a[a.length-1];break;default:s.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function QC(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let s=0;s<o.match.length;s++)if(n(o.match[s]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function lG(e,t){return wm(this,e,n=>n.type==="Type"&&n.name===t)}function cG(e,t){return wm(this,e,n=>n.type==="Property"&&n.name===t)}function uG(e){return wm(this,e,t=>t.type==="Keyword")}function wm(e,t,n){const r=QC.call(e,t);return r===null?!1:r.some(n)}const fG=Object.freeze(Object.defineProperty({__proto__:null,getTrace:QC,isKeyword:uG,isProperty:cG,isType:lG},Symbol.toStringTag,{value:"Module"}));function ZC(e){return"node"in e?e.node:ZC(e.match[0])}function ek(e){return"node"in e?e.node:ek(e.match[e.match.length-1])}function sw(e,t,n,r,o){function s(c){if(c.syntax!==null&&c.syntax.type===r&&c.syntax.name===o){const u=ZC(c),f=ek(c);e.syntax.walk(t,function(p,h,g){if(p===u){const y=new Zt;do{if(y.appendData(h.data),h.data===f)break;h=h.next}while(h!==null);a.push({parent:g,nodes:y})}})}Array.isArray(c.match)&&c.match.forEach(s)}const a=[];return n.matched!==null&&s(n.matched),a}const{hasOwnProperty:Aa}=Object.prototype;function np(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function aw(e){return!!e&&np(e.offset)&&np(e.line)&&np(e.column)}function dG(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let s in r){let a=!0;if(Aa.call(r,s)!==!1){if(s==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(s==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")s+=".source";else if(!aw(r.loc.start))s+=".start";else if(!aw(r.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let c=0;!a&&c<t[s].length;c++){const u=t[s][c];switch(u){case String:a=typeof r[s]=="string";break;case Boolean:a=typeof r[s]=="boolean";break;case null:a=r[s]===null;break;default:typeof u=="string"?a=r[s]&&r[s].type===u:Array.isArray(u)&&(a=r[s]instanceof Zt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");a||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Aa.call(t,s)&&Aa.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function tk(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(tk(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function pG(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Aa.call(n,s)===!1)continue;const a=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=tk(a,e+"."+s)}return{docs:o,check:dG(e,r)}}function hG(e){const t={};if(e.node){for(const n in e.node)if(Aa.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=pG(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function ch(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:am(e[o].syntax,{compact:t}));return r}function mG(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:am(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&ch(s.descriptors,t,n)};return r}function gG(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function yG(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Pr(e,t,n){return{matched:e,iterations:n,error:t,...fG}}function as(e,t,n,r){const o=J3(n,e.syntax);let s;return gG(o)?Pr(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=iw(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=iw(o,t.match,e),!s.match)?Pr(null,new HV(s.reason,t.syntax,n,s),s.iterations):Pr(s.match,null,s.iterations))}class lw{constructor(t,n,r){if(this.cssWideKeywords=cm,this.syntax=n,this.generic=!1,this.units={...Hv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||hG(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(Hv))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,s]of Object.entries(t.types))this.addType_(o,s);if(t.generic){this.generic=!0;for(const[o,s]of Object.entries(b3(this.units)))this.addType_(o,s)}if(t.atrules)for(const[o,s]of Object.entries(t.atrules))this.addAtrule_(o,s);if(t.properties)for(const[o,s]of Object.entries(t.properties))this.addProperty_(o,s)}this.cssWideKeywordsSyntax=hc(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,a){o.push({node:s,message:a})}const r=this.structure,o=[];return this.syntax.walk(t,function(s){r.hasOwnProperty(s.type)?r[s.type].check(s,n):n(s,"Unknown node type `"+s.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const s={type:n,name:r},a={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=hc(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:YC(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:hc(a.syntax,s)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const c=a.syntax,u=yG(c)?hc({...c,terms:[c.terms[0].term]},s):null;return Object.defineProperty(a,"matchRef",{value:u}),u}})),a}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new ca("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!as(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t),s=Jd(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[s.name]&&!o.descriptors[s.basename])return new ca("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new ca("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return Pr(null,r);const o=this.getAtrule(t);return o.prelude?as(this,o.prelude,n||"",!1):Pr(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return Pr(null,o);const s=this.getAtrule(t),a=Jd(n);return as(this,s.descriptors[a.name]||s.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?Pr(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(Bv(t).custom)return Pr(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?Pr(null,r):as(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?as(this,r,n,!1):Pr(null,new ca("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?Pr(null,new ca("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),as(this,t,n,!1))}findValueFragments(t,n,r,o){return sw(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return sw(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{o.push.apply(o,this.findDeclarationValueFragments(s,n,r))}}),o}getAtrule(t,n=!0){const r=Jd(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=Bv(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(u,f){return f?`<${u}>`:`<'${u}'>`}function n(u,f,p,h){if(p.has(f))return p.get(f);p.set(f,!1),h.syntax!==null&&q3(h.syntax,function(g){if(g.type!=="Type"&&g.type!=="Property")return;const y=g.type==="Type"?u.types:u.properties,v=g.type==="Type"?o:s;hasOwnProperty.call(y,g.name)?n(u,g.name,v,y[g.name])&&(r.push(`${t(f,p===o)} used broken syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0)):(r.push(`${t(f,p===o)} used missed syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0))},this)}const r=[];let o=new Map,s=new Map;for(const u in this.types)n(this,u,o,this.types[u]);for(const u in this.properties)n(this,u,s,this.properties[u]);const a=[...o.keys()].filter(u=>o.get(u)),c=[...s.keys()].filter(u=>s.get(u));return a.length||c.length?{errors:r,types:a,properties:c}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:ch(this.types,!n,t),properties:ch(this.properties,!n,t),atrules:mG(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function rp(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function bG(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function op(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?bG(s,n):s};return r}function uh(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[s,a]of Object.entries(o)){const c=n[r][s]||{},u=n[r][s]={prelude:c.prelude||null,descriptors:{...c.descriptors}};if(a){u.prelude=a.prelude?rp(u.prelude,a.prelude):u.prelude||null;for(const[f,p]of Object.entries(a.descriptors||{}))u.descriptors[f]=p?rp(u.descriptors[f],p):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=rp(n[r][s],a);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=op(e[r],o);break;case"atrule":case"pseudo":n[r]=op(e[r],o,["parse"]);break;case"node":n[r]=op(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function nk(e){const t=vV(e),n=$V(e),r=MV(e),{fromPlainObject:o,toPlainObject:s}=NV(n),a={lexer:null,createLexer:c=>new lw(c,a,a.lexer.structure),tokenize:Bu,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(c){const u=uh({},e);return nk(typeof c=="function"?c(u):uh(u,c))}};return a.lexer=new lw({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const _G=e=>nk(uh({},e)),vG={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}},Zr=43,nr=45,Ac=110,wi=!0,wG=!1;function Rc(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Zr||r===nr)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)un(this.charCodeAt(n))||this.error("Integer is expected",n)}function ys(e){return Rc.call(this,0,e)}function Go(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Ac:n="N is expected";break;case nr:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function ip(){let e=0,t=0,n=this.tokenType;for(;n===Ft||n===fn;)n=this.lookupType(++e);if(n!==Le)if(this.isDelim(Zr,e)||this.isDelim(nr,e)){t=this.isDelim(Zr,e)?Zr:nr;do n=this.lookupType(++e);while(n===Ft||n===fn);n!==Le&&(this.skip(e),ys.call(this,wi))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Zr&&n!==nr&&this.error("Number sign is expected")),ys.call(this,t!==0),t===nr?"-"+this.consume(Le):this.consume(Le)}const EG="AnPlusB",SG={a:[String,null],b:[String,null]};function rk(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Le)ys.call(this,wG),n=this.consume(Le);else if(this.tokenType===de&&this.cmpChar(this.tokenStart,nr))switch(t="-1",Go.call(this,1,Ac),this.tokenEnd-this.tokenStart){case 2:this.next(),n=ip.call(this);break;case 3:Go.call(this,2,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Le);break;default:Go.call(this,2,nr),Rc.call(this,3,wi),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===de||this.isDelim(Zr)&&this.lookupType(1)===de){let r=0;switch(t="1",this.isDelim(Zr)&&(r=1,this.next()),Go.call(this,0,Ac),this.tokenEnd-this.tokenStart){case 1:this.next(),n=ip.call(this);break;case 2:Go.call(this,1,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Le);break;default:Go.call(this,1,nr),Rc.call(this,2,wi),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===qe){const r=this.charCodeAt(this.tokenStart),o=r===Zr||r===nr;let s=this.tokenStart+o;for(;s<this.tokenEnd&&un(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Go.call(this,s-this.tokenStart,Ac),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=ip.call(this)):(Go.call(this,s-this.tokenStart+1,nr),s+2===this.tokenEnd?(this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Le)):(Rc.call(this,s-this.tokenStart+2,wi),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Zr&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Zr&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function CG(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const kG=Object.freeze(Object.defineProperty({__proto__:null,generate:CG,name:EG,parse:rk,structure:SG},Symbol.toStringTag,{value:"Module"}));function cw(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function TG(){for(let e=1,t;t=this.lookupType(e);e++){if(t===sr)return!0;if(t===nn||t===Wt)return!1}return!1}const xG="Atrule",OG="atrule",AG={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function ok(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(Wt),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==nn&&this.tokenType!==Cn&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),cw):o=cw.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Cn:this.next();break;case nn:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(TG.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function RG(e){this.token(Wt,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Cn,";")}const PG=Object.freeze(Object.defineProperty({__proto__:null,generate:RG,name:xG,parse:ok,structure:AG,walkContext:OG},Symbol.toStringTag,{value:"Module"})),IG="AtrulePrelude",LG="atrulePrelude",MG={children:[[]]};function ik(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==nn&&this.tokenType!==Cn&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function NG(e){this.children(e)}const DG=Object.freeze(Object.defineProperty({__proto__:null,generate:NG,name:IG,parse:ik,structure:MG,walkContext:LG},Symbol.toStringTag,{value:"Module"})),FG=36,sk=42,Pc=61,$G=94,fh=124,jG=126;function UG(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(sk)?(t=!0,this.next()):this.isDelim(fh)||this.eat(de),this.isDelim(fh)?this.charCodeAt(this.tokenStart+1)!==Pc?(this.next(),this.eat(de)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function zG(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Pc&&t!==jG&&t!==$G&&t!==FG&&t!==sk&&t!==fh&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Pc&&(this.isDelim(Pc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const BG="AttributeSelector",WG={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function ak(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(lr),this.skipSC(),t=UG.call(this),this.skipSC(),this.tokenType!==wr&&(this.tokenType!==de&&(n=zG.call(this),this.skipSC(),r=this.tokenType===Br?this.String():this.Identifier(),this.skipSC()),this.tokenType===de&&(o=this.consume(de),this.skipSC())),this.eat(wr),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function HG(e){this.token(Ye,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(de,e.flags),this.token(Ye,"]")}const VG=Object.freeze(Object.defineProperty({__proto__:null,generate:HG,name:BG,parse:ak,structure:WG},Symbol.toStringTag,{value:"Module"})),GG=38;function lk(){return this.Raw(null,!0)}function uw(){return this.parseWithFallback(this.Rule,lk)}function fw(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function KG(){if(this.tokenType===Cn)return fw.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,fw);return this.tokenType===Cn&&this.next(),e}const qG="Block",YG="block",XG={children:[["Atrule","Rule","Declaration"]]};function ck(e){const t=e?KG:uw,n=this.tokenStart;let r=this.createList();this.eat(nn);e:for(;!this.eof;)switch(this.tokenType){case sr:break e;case Ft:case fn:this.next();break;case Wt:r.push(this.parseWithFallback(this.Atrule.bind(this,e),lk));break;default:e&&this.isDelim(GG)?r.push(uw.call(this)):r.push(t.call(this))}return this.eof||this.eat(sr),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function JG(e){this.token(nn,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")}),this.token(sr,"}")}const QG=Object.freeze(Object.defineProperty({__proto__:null,generate:JG,name:qG,parse:ck,structure:XG,walkContext:YG},Symbol.toStringTag,{value:"Module"})),ZG="Brackets",e4={children:[[]]};function uk(e,t){const n=this.tokenStart;let r=null;return this.eat(lr),r=e.call(this,t),this.eof||this.eat(wr),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function t4(e){this.token(Ye,"["),this.children(e),this.token(Ye,"]")}const n4=Object.freeze(Object.defineProperty({__proto__:null,generate:t4,name:ZG,parse:uk,structure:e4},Symbol.toStringTag,{value:"Module"})),r4="CDC",o4=[];function fk(){const e=this.tokenStart;return this.eat(zn),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function i4(){this.token(zn,"-->")}const s4=Object.freeze(Object.defineProperty({__proto__:null,generate:i4,name:r4,parse:fk,structure:o4},Symbol.toStringTag,{value:"Module"})),a4="CDO",l4=[];function dk(){const e=this.tokenStart;return this.eat(nl),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function c4(){this.token(nl,"<!--")}const u4=Object.freeze(Object.defineProperty({__proto__:null,generate:c4,name:a4,parse:dk,structure:l4},Symbol.toStringTag,{value:"Module"})),f4=46,d4="ClassSelector",p4={name:String};function pk(){return this.eatDelim(f4),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(de)}}function h4(e){this.token(Ye,"."),this.token(de,e.name)}const m4=Object.freeze(Object.defineProperty({__proto__:null,generate:h4,name:d4,parse:pk,structure:p4},Symbol.toStringTag,{value:"Module"})),g4=43,dw=47,y4=62,b4=126,_4="Combinator",v4={name:String};function hk(){const e=this.tokenStart;let t;switch(this.tokenType){case Ft:t=" ";break;case Ye:switch(this.charCodeAt(this.tokenStart)){case y4:case g4:case b4:this.next();break;case dw:this.next(),this.eatIdent("deep"),this.eatDelim(dw);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function w4(e){this.tokenize(e.name)}const E4=Object.freeze(Object.defineProperty({__proto__:null,generate:w4,name:_4,parse:hk,structure:v4},Symbol.toStringTag,{value:"Module"})),S4=42,C4=47,k4="Comment",T4={value:String};function mk(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(fn),t-e+2>=2&&this.charCodeAt(t-2)===S4&&this.charCodeAt(t-1)===C4&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function x4(e){this.token(fn,"/*"+e.value+"*/")}const O4=Object.freeze(Object.defineProperty({__proto__:null,generate:x4,name:k4,parse:mk,structure:T4},Symbol.toStringTag,{value:"Module"})),A4=new Set([Sn,Pe,Qo]),R4="Condition",P4={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function pw(e){return this.lookupTypeNonSC(1)===de&&A4.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const I4={media:pw,container:pw,supports(){return this.SupportsDeclaration()}};function gk(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case fn:case Ft:this.next();continue;case de:t.push(this.Identifier());break;case it:{let n=this.parseWithFallback(()=>I4[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(it);const r=this.Condition(e);return this.eat(Pe),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case Fe:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function L4(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(it,"("),this.node(t),this.token(Pe,")")):this.node(t)})}const M4=Object.freeze(Object.defineProperty({__proto__:null,generate:L4,name:R4,parse:gk,structure:P4},Symbol.toStringTag,{value:"Module"})),yk=33,N4=35,D4=36,F4=38,$4=42,j4=43,hw=47;function U4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function z4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function B4(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==Cn&&this.isDelim(yk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const W4="Declaration",H4="declaration",V4={important:[Boolean,String],property:String,value:["Value","Raw"]};function bk(){const e=this.tokenStart,t=this.tokenIndex,n=K4.call(this),r=lm(n),o=r?this.parseCustomProperty:this.parseValue,s=r?z4:U4;let a=!1,c;this.skipSC(),this.eat(Sn);const u=this.tokenIndex;if(r||this.skipSC(),o?c=this.parseWithFallback(B4,s):c=s.call(this,this.tokenIndex),r&&c.type==="Value"&&c.children.isEmpty){for(let f=u-this.tokenIndex;f<=0;f++)if(this.lookupType(f)===Ft){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(yk)&&(a=q4.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Cn&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:c}}function G4(e){this.token(de,e.property),this.token(Sn,":"),this.node(e.value),e.important&&(this.token(Ye,"!"),this.token(de,e.important===!0?"important":e.important))}function K4(){const e=this.tokenStart;if(this.tokenType===Ye)switch(this.charCodeAt(this.tokenStart)){case $4:case D4:case j4:case N4:case F4:this.next();break;case hw:this.next(),this.isDelim(hw)&&this.next();break}return this.tokenType===kt?this.eat(kt):this.eat(de),this.substrToCursor(e)}function q4(){this.eat(Ye),this.skipSC();const e=this.consume(de);return e==="important"?!0:e}const Y4=Object.freeze(Object.defineProperty({__proto__:null,generate:G4,name:W4,parse:bk,structure:V4,walkContext:H4},Symbol.toStringTag,{value:"Module"})),X4=38;function sp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const J4="DeclarationList",Q4={children:[["Declaration","Atrule","Rule"]]};function _k(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ft:case fn:case Cn:this.next();break;case Wt:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),sp));break;default:this.isDelim(X4)?e.push(this.parseWithFallback(this.Rule,sp)):e.push(this.parseWithFallback(this.Declaration,sp))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Z4(e){this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")})}const eK=Object.freeze(Object.defineProperty({__proto__:null,generate:Z4,name:J4,parse:_k,structure:Q4},Symbol.toStringTag,{value:"Module"})),tK="Dimension",nK={value:String,unit:String};function vk(){const e=this.tokenStart,t=this.consumeNumber(qe);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function rK(e){this.token(qe,e.value+e.unit)}const oK=Object.freeze(Object.defineProperty({__proto__:null,generate:rK,name:tK,parse:vk,structure:nK},Symbol.toStringTag,{value:"Module"})),iK=47,sK="Feature",aK={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function wk(e){const t=this.tokenStart;let n,r=null;if(this.eat(it),this.skipSC(),n=this.consume(de),this.skipSC(),this.tokenType!==Pe){switch(this.eat(Sn),this.skipSC(),this.tokenType){case Le:this.lookupNonWSType(1)===Ye?r=this.Ratio():r=this.Number();break;case qe:r=this.Dimension();break;case de:r=this.Identifier();break;case Fe:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(iK)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(Pe),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function lK(e){this.token(it,"("),this.token(de,e.name),e.value!==null&&(this.token(Sn,":"),this.node(e.value)),this.token(Pe,")")}const cK=Object.freeze(Object.defineProperty({__proto__:null,generate:lK,name:sK,parse:wk,structure:aK},Symbol.toStringTag,{value:"Module"})),uK="FeatureFunction",fK={kind:String,feature:String,value:["Declaration","Selector"]};function dK(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Ek(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=dK.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(Pe),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function pK(e){this.token(Fe,e.feature+"("),this.node(e.value),this.token(Pe,")")}const hK=Object.freeze(Object.defineProperty({__proto__:null,generate:pK,name:uK,parse:Ek,structure:fK},Symbol.toStringTag,{value:"Module"})),mw=47,mK=60,gw=61,gK=62,yK="FeatureRange",bK={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function ap(){switch(this.skipSC(),this.tokenType){case Le:return this.isDelim(mw,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case qe:return this.Dimension();case de:return this.Identifier();case Fe:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(mw)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function yw(e){if(this.skipSC(),this.isDelim(mK)||this.isDelim(gK)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(gw)?(this.next(),t+"="):t}if(this.isDelim(gw))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Sk(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(it);const n=ap.call(this),r=yw.call(this,n.type==="Identifier"),o=ap.call(this);let s=null,a=null;return this.lookupNonWSType(0)!==Pe&&(s=yw.call(this),a=ap.call(this)),this.skipSC(),this.eat(Pe),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:a}}function _K(e){this.token(it,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(Pe,")")}const vK=Object.freeze(Object.defineProperty({__proto__:null,generate:_K,name:yK,parse:Sk,structure:bK},Symbol.toStringTag,{value:"Module"})),wK="Function",EK="function",SK={name:String,children:[[]]};function Ck(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let s;return s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Pe),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function CK(e){this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")")}const kK=Object.freeze(Object.defineProperty({__proto__:null,generate:CK,name:wK,parse:Ck,structure:SK,walkContext:EK},Symbol.toStringTag,{value:"Module"})),TK="GeneralEnclosed",xK={kind:String,function:[String,null],children:[[]]};function kk(e){const t=this.tokenStart;let n=null;this.tokenType===Fe?n=this.consumeFunctionName():this.eat(it);const r=this.parseWithFallback(()=>{const o=this.tokenIndex,s=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),s},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(Pe),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function OK(e){e.function?this.token(Fe,e.function+"("):this.token(it,"("),this.children(e),this.token(Pe,")")}const AK=Object.freeze(Object.defineProperty({__proto__:null,generate:OK,name:TK,parse:kk,structure:xK},Symbol.toStringTag,{value:"Module"})),RK="XXX",PK="Hash",IK={value:String};function Tk(){const e=this.tokenStart;return this.eat(kt),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function LK(e){this.token(kt,"#"+e.value)}const MK=Object.freeze(Object.defineProperty({__proto__:null,generate:LK,name:PK,parse:Tk,structure:IK,xxx:RK},Symbol.toStringTag,{value:"Module"})),NK="Identifier",DK={name:String};function xk(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(de)}}function FK(e){this.token(de,e.name)}const $K=Object.freeze(Object.defineProperty({__proto__:null,generate:FK,name:NK,parse:xk,structure:DK},Symbol.toStringTag,{value:"Module"})),jK="IdSelector",UK={name:String};function Ok(){const e=this.tokenStart;return this.eat(kt),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function zK(e){this.token(Ye,"#"+e.name)}const BK=Object.freeze(Object.defineProperty({__proto__:null,generate:zK,name:jK,parse:Ok,structure:UK},Symbol.toStringTag,{value:"Module"})),WK=46,HK="Layer",VK={name:String};function Ak(){let e=this.tokenStart,t=this.consume(de);for(;this.isDelim(WK);)this.eat(Ye),t+="."+this.consume(de);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function GK(e){this.tokenize(e.name)}const KK=Object.freeze(Object.defineProperty({__proto__:null,generate:GK,name:HK,parse:Ak,structure:VK},Symbol.toStringTag,{value:"Module"})),qK="LayerList",YK={children:[["Layer"]]};function Rk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Kn);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function XK(e){this.children(e,()=>this.token(Kn,","))}const JK=Object.freeze(Object.defineProperty({__proto__:null,generate:XK,name:qK,parse:Rk,structure:YK},Symbol.toStringTag,{value:"Module"})),QK="MediaQuery",ZK={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Pk(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===de&&this.lookupTypeNonSC(1)!==it){const o=this.consume(de),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(de)):n=o,this.lookupTypeNonSC(0)){case de:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case nn:case Cn:case Kn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case de:case it:case Fe:{r=this.Condition("media");break}case nn:case Cn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function eq(e){e.mediaType?(e.modifier&&this.token(de,e.modifier),this.token(de,e.mediaType),e.condition&&(this.token(de,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const tq=Object.freeze(Object.defineProperty({__proto__:null,generate:eq,name:QK,parse:Pk,structure:ZK},Symbol.toStringTag,{value:"Module"})),nq="MediaQueryList",rq={children:[["MediaQuery"]]};function Ik(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Kn);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function oq(e){this.children(e,()=>this.token(Kn,","))}const iq=Object.freeze(Object.defineProperty({__proto__:null,generate:oq,name:nq,parse:Ik,structure:rq},Symbol.toStringTag,{value:"Module"})),sq=38,aq="NestingSelector",lq={};function Lk(){const e=this.tokenStart;return this.eatDelim(sq),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function cq(){this.token(Ye,"&")}const uq=Object.freeze(Object.defineProperty({__proto__:null,generate:cq,name:aq,parse:Lk,structure:lq},Symbol.toStringTag,{value:"Module"})),fq="Nth",dq={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Mk(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function pq(e){this.node(e.nth),e.selector!==null&&(this.token(de,"of"),this.node(e.selector))}const hq=Object.freeze(Object.defineProperty({__proto__:null,generate:pq,name:fq,parse:Mk,structure:dq},Symbol.toStringTag,{value:"Module"})),mq="Number",gq={value:String};function Nk(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Le)}}function yq(e){this.token(Le,e.value)}const bq=Object.freeze(Object.defineProperty({__proto__:null,generate:yq,name:mq,parse:Nk,structure:gq},Symbol.toStringTag,{value:"Module"})),_q="Operator",vq={value:String};function Dk(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function wq(e){this.tokenize(e.value)}const Eq=Object.freeze(Object.defineProperty({__proto__:null,generate:wq,name:_q,parse:Dk,structure:vq},Symbol.toStringTag,{value:"Module"})),Sq="Parentheses",Cq={children:[[]]};function Fk(e,t){const n=this.tokenStart;let r=null;return this.eat(it),r=e.call(this,t),this.eof||this.eat(Pe),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function kq(e){this.token(it,"("),this.children(e),this.token(Pe,")")}const Tq=Object.freeze(Object.defineProperty({__proto__:null,generate:kq,name:Sq,parse:Fk,structure:Cq},Symbol.toStringTag,{value:"Module"})),xq="Percentage",Oq={value:String};function $k(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Dt)}}function Aq(e){this.token(Dt,e.value+"%")}const Rq=Object.freeze(Object.defineProperty({__proto__:null,generate:Aq,name:xq,parse:$k,structure:Oq},Symbol.toStringTag,{value:"Module"})),Pq="PseudoClassSelector",Iq="function",Lq={name:String,children:[["Raw"],null]};function jk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(de),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Mq(e){this.token(Sn,":"),e.children===null?this.token(de,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const Nq=Object.freeze(Object.defineProperty({__proto__:null,generate:Mq,name:Pq,parse:jk,structure:Lq,walkContext:Iq},Symbol.toStringTag,{value:"Module"})),Dq="PseudoElementSelector",Fq="function",$q={name:String,children:[["Raw"],null]};function Uk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(de),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function jq(e){this.token(Sn,":"),this.token(Sn,":"),e.children===null?this.token(de,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const Uq=Object.freeze(Object.defineProperty({__proto__:null,generate:jq,name:Dq,parse:Uk,structure:$q,walkContext:Fq},Symbol.toStringTag,{value:"Module"})),bw=47;function _w(){switch(this.skipSC(),this.tokenType){case Le:return this.Number();case Fe:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const zq="Ratio",Bq={left:["Number","Function"],right:["Number","Function",null]};function zk(){const e=this.tokenStart,t=_w.call(this);let n=null;return this.skipSC(),this.isDelim(bw)&&(this.eatDelim(bw),n=_w.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Wq(e){this.node(e.left),this.token(Ye,"/"),e.right?this.node(e.right):this.node(Le,1)}const Hq=Object.freeze(Object.defineProperty({__proto__:null,generate:Wq,name:zq,parse:zk,structure:Bq},Symbol.toStringTag,{value:"Module"}));function Vq(){return this.tokenIndex>0&&this.lookupType(-1)===Ft?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const Gq="Raw",Kq={value:String};function Bk(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=Vq.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function qq(e){this.tokenize(e.value)}const Yq=Object.freeze(Object.defineProperty({__proto__:null,generate:qq,name:Gq,parse:Bk,structure:Kq},Symbol.toStringTag,{value:"Module"}));function vw(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Xq(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==nn&&this.error(),e}const Jq="Rule",Qq="rule",Zq={prelude:["SelectorList","Raw"],block:["Block"]};function Wk(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(Xq,vw):n=vw.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function e8(e){this.node(e.prelude),this.node(e.block)}const t8=Object.freeze(Object.defineProperty({__proto__:null,generate:e8,name:Jq,parse:Wk,structure:Zq,walkContext:Qq},Symbol.toStringTag,{value:"Module"})),n8="Scope",r8={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Hk(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===it&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),this.lookupNonWSType(0)===de&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(it),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function o8(e){e.root&&(this.token(it,"("),this.node(e.root),this.token(Pe,")")),e.limit&&(this.token(de,"to"),this.token(it,"("),this.node(e.limit),this.token(Pe,")"))}const i8=Object.freeze(Object.defineProperty({__proto__:null,generate:o8,name:n8,parse:Hk,structure:r8},Symbol.toStringTag,{value:"Module"})),s8="Selector",a8={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Vk(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function l8(e){this.children(e)}const c8=Object.freeze(Object.defineProperty({__proto__:null,generate:l8,name:s8,parse:Vk,structure:a8},Symbol.toStringTag,{value:"Module"})),u8="SelectorList",f8="selector",d8={children:[["Selector","Raw"]]};function Gk(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Kn){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function p8(e){this.children(e,()=>this.token(Kn,","))}const h8=Object.freeze(Object.defineProperty({__proto__:null,generate:p8,name:u8,parse:Gk,structure:d8,walkContext:f8},Symbol.toStringTag,{value:"Module"})),dh=92,Kk=34,m8=39;function qk(e){const t=e.length,n=e.charCodeAt(0),r=n===Kk||n===m8?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let a=r;a<=o;a++){let c=e.charCodeAt(a);if(c===dh){if(a===o){a!==t-1&&(s=e.substr(a+1));break}if(c=e.charCodeAt(++a),eo(dh,c)){const u=a-1,f=Is(e,u);a=f-1,s+=LC(e.substring(u+1,f))}else c===13&&e.charCodeAt(a+1)===10&&a++}else s+=e[a]}return s}function g8(e,t){const r=Kk;let o="",s=!1;for(let a=0;a<e.length;a++){const c=e.charCodeAt(a);if(c===0){o+="�";continue}if(c<=31||c===127){o+="\\"+c.toString(16),s=!0;continue}c===r||c===dh?(o+="\\"+e.charAt(a),s=!1):(s&&(oi(c)||Mi(c))&&(o+=" "),o+=e.charAt(a),s=!1)}return'"'+o+'"'}const y8="String",b8={value:String};function Yk(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:qk(this.consume(Br))}}function _8(e){this.token(Br,g8(e.value))}const v8=Object.freeze(Object.defineProperty({__proto__:null,generate:_8,name:y8,parse:Yk,structure:b8},Symbol.toStringTag,{value:"Module"})),w8=33;function ww(){return this.Raw(null,!1)}const E8="StyleSheet",S8="stylesheet",C8={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Xk(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ft:this.next();continue;case fn:if(this.charCodeAt(this.tokenStart+2)!==w8){this.next();continue}n=this.Comment();break;case nl:n=this.CDO();break;case zn:n=this.CDC();break;case Wt:n=this.parseWithFallback(this.Atrule,ww);break;default:n=this.parseWithFallback(this.Rule,ww)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function k8(e){this.children(e)}const T8=Object.freeze(Object.defineProperty({__proto__:null,generate:k8,name:E8,parse:Xk,structure:C8,walkContext:S8},Symbol.toStringTag,{value:"Module"})),x8="SupportsDeclaration",O8={declaration:"Declaration"};function Jk(){const e=this.tokenStart;this.eat(it),this.skipSC();const t=this.Declaration();return this.eof||this.eat(Pe),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function A8(e){this.token(it,"("),this.node(e.declaration),this.token(Pe,")")}const R8=Object.freeze(Object.defineProperty({__proto__:null,generate:A8,name:x8,parse:Jk,structure:O8},Symbol.toStringTag,{value:"Module"})),P8=42,Ew=124;function lp(){this.tokenType!==de&&this.isDelim(P8)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const I8="TypeSelector",L8={name:String};function Qk(){const e=this.tokenStart;return this.isDelim(Ew)?(this.next(),lp.call(this)):(lp.call(this),this.isDelim(Ew)&&(this.next(),lp.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function M8(e){this.tokenize(e.name)}const N8=Object.freeze(Object.defineProperty({__proto__:null,generate:M8,name:I8,parse:Qk,structure:L8},Symbol.toStringTag,{value:"Module"})),Zk=43,eT=45,ph=63;function ba(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===eT&&t&&n!==0)return ba.call(this,e+n+1,!1),-1;oi(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function mc(e){let t=0;for(;this.isDelim(ph);)++t>e&&this.error("Too many question marks"),this.next()}function D8(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Zk?"Plus sign":"Hyphen minus")+" is expected")}function F8(){let e=0;switch(this.tokenType){case Le:if(e=ba.call(this,1,!0),this.isDelim(ph)){mc.call(this,6-e);break}if(this.tokenType===qe||this.tokenType===Le){D8.call(this,eT),ba.call(this,1,!1);break}break;case qe:e=ba.call(this,1,!0),e>0&&mc.call(this,6-e);break;default:if(this.eatDelim(Zk),this.tokenType===de){e=ba.call(this,0,!0),e>0&&mc.call(this,6-e);break}if(this.isDelim(ph)){this.next(),mc.call(this,5);break}this.error("Hex digit or question mark is expected")}}const $8="UnicodeRange",j8={value:String};function tT(){const e=this.tokenStart;return this.eatIdent("u"),F8.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function U8(e){this.tokenize(e.value)}const z8=Object.freeze(Object.defineProperty({__proto__:null,generate:U8,name:$8,parse:tT,structure:j8},Symbol.toStringTag,{value:"Module"})),B8=32,hh=92,W8=34,H8=39,V8=40,nT=41;function G8(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===nT?t-2:t-1,o="";for(;n<r&&Mi(e.charCodeAt(n));)n++;for(;n<r&&Mi(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let a=e.charCodeAt(s);if(a===hh){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(a=e.charCodeAt(++s),eo(hh,a)){const c=s-1,u=Is(e,c);s=u-1,o+=LC(e.substring(c+1,u))}else a===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function K8(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===B8||o===hh||o===W8||o===H8||o===V8||o===nT?(t+="\\"+e.charAt(r),n=!1):(n&&oi(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const q8="Url",Y8={value:String};function rT(){const e=this.tokenStart;let t;switch(this.tokenType){case bn:t=G8(this.consume(bn));break;case Fe:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(Fe),this.skipSC(),t=qk(this.consume(Br)),this.skipSC(),this.eof||this.eat(Pe);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function X8(e){this.token(bn,K8(e.value))}const J8=Object.freeze(Object.defineProperty({__proto__:null,generate:X8,name:q8,parse:rT,structure:Y8},Symbol.toStringTag,{value:"Module"})),Q8="Value",Z8={children:[[]]};function oT(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function eY(e){this.children(e)}const tY=Object.freeze(Object.defineProperty({__proto__:null,generate:eY,name:Q8,parse:oT,structure:Z8},Symbol.toStringTag,{value:"Module"})),nY=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),rY="WhiteSpace",oY={value:String};function iT(){return this.eat(Ft),nY}function iY(e){this.token(Ft,e.value)}const sY=Object.freeze(Object.defineProperty({__proto__:null,generate:iY,name:rY,parse:iT,structure:oY},Symbol.toStringTag,{value:"Module"})),sT=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:kG,Atrule:PG,AtrulePrelude:DG,AttributeSelector:VG,Block:QG,Brackets:n4,CDC:s4,CDO:u4,ClassSelector:m4,Combinator:E4,Comment:O4,Condition:M4,Declaration:Y4,DeclarationList:eK,Dimension:oK,Feature:cK,FeatureFunction:hK,FeatureRange:vK,Function:kK,GeneralEnclosed:AK,Hash:MK,IdSelector:BK,Identifier:$K,Layer:KK,LayerList:JK,MediaQuery:tq,MediaQueryList:iq,NestingSelector:uq,Nth:hq,Number:bq,Operator:Eq,Parentheses:Tq,Percentage:Rq,PseudoClassSelector:Nq,PseudoElementSelector:Uq,Ratio:Hq,Raw:Yq,Rule:t8,Scope:i8,Selector:c8,SelectorList:h8,String:v8,StyleSheet:T8,SupportsDeclaration:R8,TypeSelector:N8,UnicodeRange:z8,Url:J8,Value:tY,WhiteSpace:sY},Symbol.toStringTag,{value:"Module"})),aY={generic:!0,cssWideKeywords:cm,...vG,node:sT},lY=35,cY=42,Sw=43,uY=45,fY=47,dY=117;function aT(e){switch(this.tokenType){case kt:return this.Hash();case Kn:return this.Operator();case it:return this.Parentheses(this.readSequence,e.recognizer);case lr:return this.Brackets(this.readSequence,e.recognizer);case Br:return this.String();case qe:return this.Dimension();case Dt:return this.Percentage();case Le:return this.Number();case Fe:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case bn:return this.Url();case de:return this.cmpChar(this.tokenStart,dY)&&this.cmpChar(this.tokenStart+1,Sw)?this.UnicodeRange():this.Identifier();case Ye:{const t=this.charCodeAt(this.tokenStart);if(t===fY||t===cY||t===Sw||t===uY)return this.Operator();t===lY&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const pY={getNode:aT},hY=35,mY=38,gY=42,yY=43,bY=47,Cw=46,_Y=62,vY=124,wY=126;function EY(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function SY(){switch(this.tokenType){case lr:return this.AttributeSelector();case kt:return this.IdSelector();case Sn:return this.lookupType(1)===Sn?this.PseudoElementSelector():this.PseudoClassSelector();case de:return this.TypeSelector();case Le:case Dt:return this.Percentage();case qe:this.charCodeAt(this.tokenStart)===Cw&&this.error("Identifier is expected",this.tokenStart+1);break;case Ye:{switch(this.charCodeAt(this.tokenStart)){case yY:case _Y:case wY:case bY:return this.Combinator();case Cw:return this.ClassSelector();case gY:case vY:return this.TypeSelector();case hY:return this.IdSelector();case mY:return this.NestingSelector()}break}}}const CY={onWhiteSpace:EY,getNode:SY};function kY(){return this.createSingleNodeList(this.Raw(null,!1))}function TY(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Kn){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===Ft){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function kw(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const xY={getNode:aT,onWhiteSpace(e,t){kw(e)&&(e.value=" "+e.value),kw(t.last)&&(t.last.value+=" ")},expression:kY,var:TY},OY=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:pY,Selector:CY,Value:xY},Symbol.toStringTag,{value:"Module"})),AY=new Set(["none","and","not","or"]),RY={parse:{prelude(){const e=this.createList();if(this.tokenType===de){const t=this.substring(this.tokenStart,this.tokenEnd);AY.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},PY={parse:{prelude:null,block(){return this.Block(!0)}}};function cp(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==Pe&&this.error()}},t||(()=>this.Raw(null,!0)))}const Tw={layer(){this.skipSC();const e=this.createList(),t=cp.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=cp.call(this,this.Declaration,()=>cp.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},IY={parse:{prelude(){const e=this.createList();switch(this.tokenType){case Br:e.push(this.String());break;case bn:case Fe:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===de&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,Tw)),this.skipSC(),this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,Tw)),(this.lookupNonWSType(0)===de||this.lookupNonWSType(0)===it)&&e.push(this.MediaQueryList()),e},block:null}},LY={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},MY={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},NY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},DY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},FY={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},$Y={parse:{prelude:null,block(e=!1){return this.Block(e)}}},jY={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},UY={container:RY,"font-face":PY,import:IY,layer:LY,media:MY,nest:NY,page:DY,scope:FY,"starting-style":$Y,supports:jY};function zY(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case de:e.push(this.Identifier());break;case Br:e.push(this.String());break;case Kn:e.push(this.Operator());break;case Pe:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const _i={parse(){return this.createSingleNodeList(this.SelectorList())}},up={parse(){return this.createSingleNodeList(this.Selector())}},BY={parse(){return this.createSingleNodeList(this.Identifier())}},WY={parse:zY},gc={parse(){return this.createSingleNodeList(this.Nth())}},HY={dir:BY,has:_i,lang:WY,matches:_i,is:_i,"-moz-any":_i,"-webkit-any":_i,where:_i,not:_i,"nth-child":gc,"nth-last-child":gc,"nth-last-of-type":gc,"nth-of-type":gc,slotted:up,host:up,"host-context":up},VY=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:rk,Atrule:ok,AtrulePrelude:ik,AttributeSelector:ak,Block:ck,Brackets:uk,CDC:fk,CDO:dk,ClassSelector:pk,Combinator:hk,Comment:mk,Condition:gk,Declaration:bk,DeclarationList:_k,Dimension:vk,Feature:wk,FeatureFunction:Ek,FeatureRange:Sk,Function:Ck,GeneralEnclosed:kk,Hash:Tk,IdSelector:Ok,Identifier:xk,Layer:Ak,LayerList:Rk,MediaQuery:Pk,MediaQueryList:Ik,NestingSelector:Lk,Nth:Mk,Number:Nk,Operator:Dk,Parentheses:Fk,Percentage:$k,PseudoClassSelector:jk,PseudoElementSelector:Uk,Ratio:zk,Raw:Bk,Rule:Wk,Scope:Hk,Selector:Vk,SelectorList:Gk,String:Yk,StyleSheet:Xk,SupportsDeclaration:Jk,TypeSelector:Qk,UnicodeRange:tT,Url:rT,Value:oT,WhiteSpace:iT},Symbol.toStringTag,{value:"Module"})),GY={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:OY,atrule:UY,pseudo:HY,node:VY},KY={node:sT},qY=_G({...aY,...GY,...KY}),{tokenize:i9,parse:YY,generate:XY,lexer:s9,createLexer:a9,walk:JY,find:l9,findLast:c9,findAll:u9,toPlainObject:f9,fromPlainObject:d9,fork:p9}=qY;function QY(e,t,n){if(!e.includes("url("))return e;const r=YY(e,{positions:!1});return JY(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const c=new URL(s,t),u=n?.find(f=>c.href.endsWith(f.path));u?o.value=u.signedUrl:o.value=c.href}}}),XY(r)}function ZY(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function e6(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}function xw(e){return fetch(e).then(t=>t.blob()).then(t=>new Promise((n,r)=>{const o=new FileReader;o.onloadend=()=>n(o.result),o.onerror=r,o.readAsDataURL(t)}))}async function t6(e){const t=[],n=Array.from(e.querySelectorAll("*")),r=[];for(const o of n){const s=o,a=s.style?.backgroundImage||"",c=a.match(/url\(["']?(blob:[^"')]*)["']?\)/);if(c){const u=c[1];r.push(xw(u).then(f=>{s.style.backgroundImage=a.replace(u,f),t.push(()=>{s.style.backgroundImage=a})}).catch(()=>{}))}if(s instanceof HTMLImageElement&&s.src.startsWith("blob:")){const u=s.src;r.push(xw(u).then(f=>{s.src=f,t.push(()=>{s.src=u})}).catch(()=>{}))}}return await Promise.all(r),()=>t.forEach(o=>o())}function n6(e,t,n){const r=[];let o="";for(const s of t){const a=o+s;e.measureText(a).width>n&&o.length>0?(r.push(o),o=s):o=a}return o&&r.push(o),r.length?r:[t]}function r6(e,t="跨域内容无法截图"){const n=e.querySelectorAll("canvas"),r=[];return n.forEach(o=>{const s=o.parentNode;if(!s)return;const a=o.offsetWidth||300,c=o.offsetHeight||200,u=document.createElement("canvas");u.width=a,u.height=c,u.style.width=o.style.width||`${a}px`,u.style.height=o.style.height||`${c}px`,u.style.display=o.style.display||"block";const f=u.getContext("2d");if(f){f.fillStyle="#f5f5f5",f.fillRect(0,0,a,c),f.setLineDash([6,4]),f.strokeStyle="#ccc",f.lineWidth=1.5,f.strokeRect(4,4,a-8,c-8),f.setLineDash([]);const p=Math.max(12,Math.min(16,Math.floor(a/30)));f.fillStyle="#999",f.font=`${p}px sans-serif`,f.textAlign="center",f.textBaseline="middle";const h=n6(f,t,a-40),g=p*1.6,y=h.length*g,v=c/2-y/2+g/2;h.forEach((_,O)=>{f.fillText(_,a/2,v+O*g)})}s.replaceChild(u,o),r.push({parent:s,placeholder:u,original:o})}),r}function o6(e){e.forEach(({parent:t,placeholder:n,original:r})=>{t.replaceChild(r,n)})}const mh=(e,t)=>t.some(n=>e instanceof n);let Ow,Aw;function i6(){return Ow||(Ow=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function s6(){return Aw||(Aw=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const gh=new WeakMap,fp=new WeakMap,Gu=new WeakMap;function a6(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{n(Ai(e.result)),o()},a=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",a)});return Gu.set(t,e),t}function l6(e){if(gh.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{n(),o()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});gh.set(e,t)}let yh={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return gh.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ai(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function lT(e){yh=e(yh)}function c6(e){return s6().includes(e)?function(...t){return e.apply(bh(this),t),Ai(this.request)}:function(...t){return Ai(e.apply(bh(this),t))}}function u6(e){return typeof e=="function"?c6(e):(e instanceof IDBTransaction&&l6(e),mh(e,i6())?new Proxy(e,yh):e)}function Ai(e){if(e instanceof IDBRequest)return a6(e);if(fp.has(e))return fp.get(e);const t=u6(e);return t!==e&&(fp.set(e,t),Gu.set(t,e)),t}const bh=e=>Gu.get(e);function f6(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const a=indexedDB.open(e,t),c=Ai(a);return r&&a.addEventListener("upgradeneeded",u=>{r(Ai(a.result),u.oldVersion,u.newVersion,Ai(a.transaction),u)}),n&&a.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),c.then(u=>{s&&u.addEventListener("close",()=>s()),o&&u.addEventListener("versionchange",f=>o(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}const d6=["get","getKey","getAll","getAllKeys","count"],p6=["put","add","delete","clear"],dp=new Map;function Rw(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(dp.get(t))return dp.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=p6.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||d6.includes(n)))return;const s=async function(a,...c){const u=this.transaction(a,o?"readwrite":"readonly");let f=u.store;return r&&(f=f.index(c.shift())),(await Promise.all([f[n](...c),o&&u.done]))[0]};return dp.set(t,s),s}lT(e=>({...e,get:(t,n,r)=>Rw(t,n)||e.get(t,n,r),has:(t,n)=>!!Rw(t,n)||e.has(t,n)}));const h6=["continue","continuePrimaryKey","advance"],Pw={},_h=new WeakMap,cT=new WeakMap,m6={get(e,t){if(!h6.includes(t))return e[t];let n=Pw[t];return n||(n=Pw[t]=function(...r){_h.set(this,cT.get(this)[t](...r))}),n}};async function*g6(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,m6);for(cT.set(n,t),Gu.set(n,bh(t));t;)yield n,t=await(_h.get(n)||t.continue()),_h.delete(n)}function Iw(e,t){return t===Symbol.asyncIterator&&mh(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&mh(e,[IDBIndex,IDBObjectStore])}lT(e=>({...e,get(t,n,r){return Iw(t,n)?g6:e.get(t,n,r)},has(t,n){return Iw(t,n)||e.has(t,n)}}));let Ko=null;const Lw=GS("indexedDB",{actions:{async open(e=1){return Ko||(Ko=await f6(ve.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(ve.INDEX_DB_TABLE_NAME)||t.createObjectStore(ve.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),Ko)},async get(e,t){return(await this.open()).get(e,t)},async put(e,t){return(await this.open()).put(e,t)},async remove(e,t){return(await this.open()).delete(e,t)},close(){Ko?.close(),Ko=null},async deleteDatabase(){if(Ko){const e=Ko.name;this.close(),indexedDB.deleteDatabase(e)}}}});async function Mw(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
|
|
57
|
-
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}const uT=GS("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null,reactLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},setReactLoader(e){this.$patch(t=>{t.reactLoader=e})},async loadSfcLoader(e,t){const{isDev:n=!1,isSfc:r=!1,scriptPath:o}=t,s=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(s)return s;const a=e==="vue3"?
|
|
56
|
+
--`+new Array((n||t.length)+1).join("-")+"^"})}const O3=9,A3=10,R3=12,P3=13,L3=32,Hv=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0);class I3{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}isNameCharCode(t=this.charCode()){return t<128&&Hv[t]===1}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}skipWs(){this.pos=this.findWsEnd(this.pos)}findWsEnd(t){for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n!==P3&&n!==A3&&n!==R3&&n!==L3&&n!==O3)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new x3(t,this.str,this.pos)}scanSpaces(){return this.substringToPos(this.findWsEnd(this.pos))}scanWord(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n>=128||Hv[n]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t<this.str.length;t++){const n=this.str.charCodeAt(t);if(n<48||n>57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){const t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}const M3=9,N3=10,D3=12,F3=13,$3=32,VC=33,mm=35,Vv=38,nu=39,GC=40,KC=41,qC=42,gm=43,ym=44,Gv=45,bm=60,oh=62,ru=63,j3=64,Ha=91,Is=93,ou=123,Kv=124,ih=125,qv=8734,Yv={" ":1,"&&":2,"||":3,"|":4};function Xv(e){let t=null,n=null;return e.eat(ou),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===ym?(e.pos++,e.skipWs(),e.charCode()!==ih&&(n=e.scanNumber(e),e.skipWs())):n=t,e.eat(ih),{min:Number(t),max:n?Number(n):0}}function U3(e){let t=null,n=!1;switch(e.charCode()){case qC:e.pos++,t={min:0,max:0};break;case gm:e.pos++,t={min:1,max:0};break;case ru:e.pos++,t={min:0,max:1};break;case mm:e.pos++,n=!0,e.charCode()===ou?t=Xv(e):e.charCode()===ru?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case ou:t=Xv(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function Lo(e,t){const n=U3(e);return n!==null?(n.term=t,e.charCode()===mm&&e.charCodeAt(e.pos-1)===gm||e.charCode()===ru&&e.charCodeAt(e.pos-1)===ih?Lo(e,n):n):t}function ep(e){const t=e.peek();return t===""?null:Lo(e,{type:"Token",value:t})}function z3(e){let t;return e.eat(bm),e.eat(nu),t=e.scanWord(),e.eat(nu),e.eat(oh),Lo(e,{type:"Property",name:t})}function B3(e){let t=null,n=null,r=1;return e.eat(Ha),e.charCode()===Gv&&(e.peek(),r=-1),r==-1&&e.charCode()===qv?e.peek():(t=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(ym),e.skipWs(),e.charCode()===qv?e.peek():(r=1,e.charCode()===Gv&&(e.peek(),r=-1),n=r*Number(e.scanNumber(e)),e.isNameCharCode()&&(n+=e.scanWord())),e.eat(Is),{type:"Range",min:t,max:n}}function W3(e){let t,n=null;if(e.eat(bm),t=e.scanWord(),t==="boolean-expr"){e.eat(Ha);const r=Vu(e,Is);return e.eat(Is),e.eat(oh),Lo(e,{type:"Boolean",term:r.terms.length===1?r.terms[0]:r})}return e.charCode()===GC&&e.nextCharCode()===KC&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===Ha&&(e.skipWs(),n=B3(e)),e.eat(oh),Lo(e,{type:"Type",name:t,opts:n})}function H3(e){const t=e.scanWord();return e.charCode()===GC?(e.pos++,{type:"Function",name:t}):Lo(e,{type:"Keyword",name:t})}function V3(e,t){function n(o,s){return{type:"Group",terms:o,combinator:s,disallowEmpty:!1,explicit:!1}}let r;for(t=Object.keys(t).sort((o,s)=>Yv[o]-Yv[s]);t.length>0;){r=t.shift();let o=0,s=0;for(;o<e.length;o++){const a=e[o];a.type==="Combinator"&&(a.value===r?(s===-1&&(s=o-1),e.splice(o,1),o--):(s!==-1&&o-s>1&&(e.splice(s,o-s,n(e.slice(s,o),r)),o=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,o-s,n(e.slice(s,o),r))}return r}function Vu(e,t=-1){const n=Object.create(null),r=[];let o=null,s=e.pos,a=!1;for(;e.charCode()!==t;){let c=a?Vu(e,KC):K3(e);if(!c)break;if(c.type!=="Spaces"){if(a){if(c.terms.length===0){a=!1;continue}if(c.combinator===" "){for(;c.terms.length>1;)n[" "]=!0,r.push({type:"Combinator",value:" "},c.terms.shift());c=c.terms[0]}}c.type==="Combinator"?((o===null||o.type==="Combinator")&&(e.pos=s,e.error("Unexpected combinator")),n[c.value]=!0):o!==null&&o.type!=="Combinator"&&(n[" "]=!0,r.push({type:"Combinator",value:" "})),r.push(c),o=c,s=e.pos,a=c.type==="Function"}}return o!==null&&o.type==="Combinator"&&(e.pos-=s,e.error("Unexpected combinator")),{type:"Group",terms:r,combinator:V3(r,n)||" ",disallowEmpty:!1,explicit:!1}}function G3(e){let t;return e.eat(Ha),t=Vu(e,Is),e.eat(Is),t.explicit=!0,e.charCode()===VC&&(e.pos++,t.disallowEmpty=!0),t}function K3(e){let t=e.charCode();switch(t){case Is:break;case Ha:return Lo(e,G3(e));case bm:return e.nextCharCode()===nu?z3(e):W3(e);case Kv:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===Kv?2:1))};case Vv:return e.pos++,e.eat(Vv),{type:"Combinator",value:"&&"};case ym:return e.pos++,{type:"Comma"};case nu:return Lo(e,{type:"String",value:e.scanString()});case $3:case M3:case N3:case F3:case D3:return{type:"Spaces",value:e.scanSpaces()};case j3:return t=e.nextCharCode(),e.isNameCharCode(t)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):ep(e);case qC:case gm:case ru:case mm:case VC:break;case ou:if(t=e.nextCharCode(),t<48||t>57)return ep(e);break;default:return e.isNameCharCode(t)?H3(e):ep(e)}}function YC(e){const t=new I3(e),n=Vu(t);return t.pos!==e.length&&t.error("Unexpected input"),n.terms.length===1&&n.terms[0].type==="Group"?n.terms[0]:n}const ya=function(){};function Jv(e){return typeof e=="function"?e:ya}function q3(e,t,n){function r(a){switch(o.call(n,a),a.type){case"Group":a.terms.forEach(r);break;case"Multiplier":case"Boolean":r(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}s.call(n,a)}let o=ya,s=ya;if(typeof t=="function"?o=t:t&&(o=Jv(t.enter),s=Jv(t.leave)),o===ya&&s===ya)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");r(e)}const Y3={decorator(e){const t=[];let n=null;return{...e,node(r){const o=n;n=r,e.node.call(this,r),n=o},emit(r,o,s){t.push({type:o,value:r,node:s?null:n})},result(){return t}}}};function X3(e){const t=[];return Bu(e,(n,r,o)=>t.push({type:n,value:e.slice(r,o),node:null})),t}function J3(e,t){return typeof e=="string"?X3(e):t.generate(e,Y3)}const at={type:"Match"},yt={type:"Mismatch"},_m={type:"DisallowEmpty"},Q3=40,Z3=41;function yn(e,t,n){return t===at&&n===yt||e===at&&t===at&&n===at?e:(e.type==="If"&&e.else===yt&&t===at&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function XC(e){return e.length>2&&e.charCodeAt(e.length-2)===Q3&&e.charCodeAt(e.length-1)===Z3}function Qv(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&XC(e.name)}function Vo(e,t=" ",n=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:n}}function Oa(e,t,n=new Set){if(!n.has(e))switch(n.add(e),e.type){case"If":e.match=Oa(e.match,t,n),e.then=Oa(e.then,t,n),e.else=Oa(e.else,t,n);break;case"Type":return t[e.name]||e}return e}function sh(e,t,n){switch(e){case" ":{let r=at;for(let o=t.length-1;o>=0;o--){const s=t[o];r=yn(s,r,yt)}return r}case"|":{let r=yt,o=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(Qv(a)&&(o===null&&s>0&&Qv(t[s-1])&&(o=Object.create(null),r=yn({type:"Enum",map:o},at,r)),o!==null)){const c=(XC(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(c in o)){o[c]=a;continue}}o=null,r=yn(a,at,r)}return r}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let r=yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=sh(e,t.filter(function(c){return c!==s}),!1):a=at,r=yn(s,a,r)}return r}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let r=n?at:yt;for(let o=t.length-1;o>=0;o--){const s=t[o];let a;t.length>1?a=sh(e,t.filter(function(c){return c!==s}),!0):a=at,r=yn(s,a,r)}return r}}}function eG(e){let t=at,n=gs(e.term);if(e.max===0)n=yn(n,_m,yt),t=yn(n,null,yt),t.then=yn(at,at,t),e.comma&&(t.then.else=yn({type:"Comma",syntax:e},t,yt));else for(let r=e.min||1;r<=e.max;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,yn(at,at,t),yt);if(e.min===0)t=yn(at,at,t);else for(let r=0;r<e.min-1;r++)e.comma&&t!==at&&(t=yn({type:"Comma",syntax:e},t,yt)),t=yn(n,t,yt);return t}function gs(e){if(typeof e=="function")return{type:"Generic",fn:e};switch(e.type){case"Group":{let t=sh(e.combinator,e.terms.map(gs),!1);return e.disallowEmpty&&(t=yn(t,_m,yt)),t}case"Multiplier":return eG(e);case"Boolean":{const t=gs(e.term),n=gs(Vo([Vo([{type:"Keyword",name:"not"},{type:"Type",name:"!boolean-group"}]),Vo([{type:"Type",name:"!boolean-group"},Vo([{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"and"},{type:"Type",name:"!boolean-group"}])},{type:"Multiplier",comma:!1,min:0,max:0,term:Vo([{type:"Keyword",name:"or"},{type:"Type",name:"!boolean-group"}])}],"|")])],"|")),r=gs(Vo([{type:"Type",name:"!term"},Vo([{type:"Token",value:"("},{type:"Type",name:"!self"},{type:"Token",value:")"}]),{type:"Type",name:"general-enclosed"}],"|"));return Oa(r,{"!term":t,"!self":n}),Oa(n,{"!boolean-group":r}),n}case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return e.value.length===3?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}function hc(e,t){return typeof e=="string"&&(e=YC(e)),{type:"MatchGraph",match:gs(e),syntax:t||null,source:e}}const{hasOwnProperty:Zv}=Object.prototype,tG=0,nG=1,ah=2,JC=3,ew="Match",rG="Mismatch",oG="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",tw=15e3;function iG(e){let t=null,n=null,r=e;for(;r!==null;)n=r.prev,r.prev=t,t=r,r=n;return t}function tp(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const r=t.charCodeAt(n);let o=e.charCodeAt(n);if(o>=65&&o<=90&&(o=o|32),o!==r)return!1}return!0}function sG(e){return e.type!==Ye?!1:e.value!=="?"}function nw(e){return e===null?!0:e.type===Kn||e.type===Fe||e.type===it||e.type===lr||e.type===nn||sG(e)}function rw(e){return e===null?!0:e.type===Pe||e.type===wr||e.type===sr||e.type===Ye&&e.value==="/"}function aG(e,t,n){function r(){do v++,S=v<e.length?e[v]:null;while(S!==null&&(S.type===Ft||S.type===fn))}function o(R){const A=v+R;return A<e.length?e[A]:null}function s(R,A){return{nextState:R,matchStack:E,syntaxStack:h,thenStack:g,tokenIndex:v,prev:A}}function a(R){g={nextState:R,matchStack:E,syntaxStack:h,prev:g}}function c(R){y=s(R,y)}function u(){E={type:nG,syntax:t.syntax,token:S,prev:E},r(),w=null,v>T&&(T=v)}function f(){h={syntax:t.syntax,opts:t.syntax.opts||h!==null&&h.opts||null,prev:h},E={type:ah,syntax:t.syntax,token:E.token,prev:E}}function p(){E.type===ah?E=E.prev:E={type:JC,syntax:h.syntax,token:E.token,prev:E},h=h.prev}let h=null,g=null,y=null,w=null,_=0,O=null,S=null,v=-1,T=0,E={type:tG,syntax:null,token:null,prev:null};for(r();O===null&&++_<tw;)switch(t.type){case"Match":if(g===null){if(S!==null&&(v!==e.length-1||S.value!=="\\0"&&S.value!=="\\9")){t=yt;break}O=ew;break}if(t=g.nextState,t===_m)if(g.matchStack===E){t=yt;break}else t=at;for(;g.syntaxStack!==h;)p();g=g.prev;break;case"Mismatch":if(w!==null&&w!==!1)(y===null||v>y.tokenIndex)&&(y=w,w=!1);else if(y===null){O=rG;break}t=y.nextState,g=y.thenStack,h=y.syntaxStack,E=y.matchStack,v=y.tokenIndex,S=v<e.length?e[v]:null,y=y.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==yt&&c(t.else),t.then!==at&&a(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":{const L=t.syntax.terms;if(t.index===L.length){if(t.mask===0||t.syntax.all){t=yt;break}t=at;break}if(t.mask===(1<<L.length)-1){t=at;break}for(;t.index<L.length;t.index++){const x=1<<t.index;if((t.mask&x)===0){c(t),a({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|x}),t=L[t.index++];break}}break}case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(S!==null){let L=S.value.toLowerCase();if(L.indexOf("\\")!==-1&&(L=L.replace(/\\[09].*$/,"")),Zv.call(t.map,L)){t=t.map[L];break}}t=yt;break;case"Generic":{const L=h!==null?h.opts:null,x=v+Math.floor(t.fn(S,o,L));if(!isNaN(x)&&x>v){for(;v<x;)u();t=at}else t=yt;break}case"Type":case"Property":{const L=t.type==="Type"?"types":"properties",x=Zv.call(n,L)?n[L][t.name]:null;if(!x||!x.match)throw new Error("Bad syntax reference: "+(t.type==="Type"?"<"+t.name+">":"<'"+t.name+"'>"));if(w!==!1&&S!==null&&t.type==="Type"&&(t.name==="custom-ident"&&S.type===de||t.name==="length"&&S.value==="0")){w===null&&(w=s(t,y)),t=yt;break}f(),t=x.matchRef||x.match;break}case"Keyword":{const L=t.name;if(S!==null){let x=S.value;if(x.indexOf("\\")!==-1&&(x=x.replace(/\\[09].*$/,"")),tp(x,L)){u(),t=at;break}}t=yt;break}case"AtKeyword":case"Function":if(S!==null&&tp(S.value,t.name)){u(),t=at;break}t=yt;break;case"Token":if(S!==null&&S.value===t.value){u(),t=at;break}t=yt;break;case"Comma":S!==null&&S.type===Kn?nw(E.token)?t=yt:(u(),t=rw(S)?yt:at):t=nw(E.token)||rw(S)?at:yt;break;case"String":let R="",A=v;for(;A<e.length&&R.length<t.value.length;A++)R+=e[A].value;if(tp(R,t.value)){for(;v<A;)u();t=at}else t=yt;break;default:throw new Error("Unknown node type: "+t.type)}switch(O){case null:console.warn("[csstree-match] BREAK after "+tw+" iterations"),O=oG,E=null;break;case ew:for(;h!==null;)p();break;default:E=null}return{tokens:e,reason:O,iterations:_,match:E,longestMatch:T}}function ow(e,t,n){const r=aG(e,t,n||{});if(r.match===null)return r;let o=r.match,s=r.match={syntax:t.syntax||null,match:[]};const a=[s];for(o=iG(o).prev;o!==null;){switch(o.type){case ah:s.match.push(s={syntax:o.syntax,match:[]}),a.push(s);break;case JC:a.pop(),s=a[a.length-1];break;default:s.match.push({syntax:o.syntax||null,token:o.token.value,node:o.token.node})}o=o.prev}return r}function QC(e){function t(o){return o===null?!1:o.type==="Type"||o.type==="Property"||o.type==="Keyword"}function n(o){if(Array.isArray(o.match)){for(let s=0;s<o.match.length;s++)if(n(o.match[s]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}let r=null;return this.matched!==null&&n(this.matched),r}function lG(e,t){return vm(this,e,n=>n.type==="Type"&&n.name===t)}function cG(e,t){return vm(this,e,n=>n.type==="Property"&&n.name===t)}function uG(e){return vm(this,e,t=>t.type==="Keyword")}function vm(e,t,n){const r=QC.call(e,t);return r===null?!1:r.some(n)}const fG=Object.freeze(Object.defineProperty({__proto__:null,getTrace:QC,isKeyword:uG,isProperty:cG,isType:lG},Symbol.toStringTag,{value:"Module"}));function ZC(e){return"node"in e?e.node:ZC(e.match[0])}function ek(e){return"node"in e?e.node:ek(e.match[e.match.length-1])}function iw(e,t,n,r,o){function s(c){if(c.syntax!==null&&c.syntax.type===r&&c.syntax.name===o){const u=ZC(c),f=ek(c);e.syntax.walk(t,function(p,h,g){if(p===u){const y=new Zt;do{if(y.appendData(h.data),h.data===f)break;h=h.next}while(h!==null);a.push({parent:g,nodes:y})}})}Array.isArray(c.match)&&c.match.forEach(s)}const a=[];return n.matched!==null&&s(n.matched),a}const{hasOwnProperty:Aa}=Object.prototype;function np(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function sw(e){return!!e&&np(e.offset)&&np(e.line)&&np(e.column)}function dG(e,t){return function(r,o){if(!r||r.constructor!==Object)return o(r,"Type of node should be an Object");for(let s in r){let a=!0;if(Aa.call(r,s)!==!1){if(s==="type")r.type!==e&&o(r,"Wrong node type `"+r.type+"`, expected `"+e+"`");else if(s==="loc"){if(r.loc===null)continue;if(r.loc&&r.loc.constructor===Object)if(typeof r.loc.source!="string")s+=".source";else if(!sw(r.loc.start))s+=".start";else if(!sw(r.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let c=0;!a&&c<t[s].length;c++){const u=t[s][c];switch(u){case String:a=typeof r[s]=="string";break;case Boolean:a=typeof r[s]=="boolean";break;case null:a=r[s]===null;break;default:typeof u=="string"?a=r[s]&&r[s].type===u:Array.isArray(u)&&(a=r[s]instanceof Zt)}}}else o(r,"Unknown field `"+s+"` for "+e+" node type");a||o(r,"Bad value for `"+e+"."+s+"`")}}for(const s in t)Aa.call(t,s)&&Aa.call(r,s)===!1&&o(r,"Field `"+e+"."+s+"` is missed")}}function tk(e,t){const n=[];for(let r=0;r<e.length;r++){const o=e[r];if(o===String||o===Boolean)n.push(o.name.toLowerCase());else if(o===null)n.push("null");else if(typeof o=="string")n.push(o);else if(Array.isArray(o))n.push("List<"+(tk(o,t)||"any")+">");else throw new Error("Wrong value `"+o+"` in `"+t+"` structure definition")}return n.join(" | ")}function pG(e,t){const n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(const s in n){if(Aa.call(n,s)===!1)continue;const a=r[s]=Array.isArray(n[s])?n[s].slice():[n[s]];o[s]=tk(a,e+"."+s)}return{docs:o,check:dG(e,r)}}function hG(e){const t={};if(e.node){for(const n in e.node)if(Aa.call(e.node,n)){const r=e.node[n];if(r.structure)t[n]=pG(n,r);else throw new Error("Missed `structure` field in `"+n+"` node type definition")}}return t}function lh(e,t,n){const r={};for(const o in e)e[o].syntax&&(r[o]=n?e[o].syntax:sm(e[o].syntax,{compact:t}));return r}function mG(e,t,n){const r={};for(const[o,s]of Object.entries(e))r[o]={prelude:s.prelude&&(n?s.prelude.syntax:sm(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&lh(s.descriptors,t,n)};return r}function gG(e){for(let t=0;t<e.length;t++)if(e[t].value.toLowerCase()==="var(")return!0;return!1}function yG(e){const t=e.terms[0];return e.explicit===!1&&e.terms.length===1&&t.type==="Multiplier"&&t.comma===!0}function Pr(e,t,n){return{matched:e,iterations:n,error:t,...fG}}function as(e,t,n,r){const o=J3(n,e.syntax);let s;return gG(o)?Pr(null,new Error("Matching for a tree with var() is not supported")):(r&&(s=ow(o,e.cssWideKeywordsSyntax,e)),(!r||!s.match)&&(s=ow(o,t.match,e),!s.match)?Pr(null,new HV(s.reason,t.syntax,n,s),s.iterations):Pr(s.match,null,s.iterations))}class aw{constructor(t,n,r){if(this.cssWideKeywords=lm,this.syntax=n,this.generic=!1,this.units={...Wv},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=r||hG(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(const o of Object.keys(Wv))Array.isArray(t.units[o])&&(this.units[o]=t.units[o]);if(t.types)for(const[o,s]of Object.entries(t.types))this.addType_(o,s);if(t.generic){this.generic=!0;for(const[o,s]of Object.entries(b3(this.units)))this.addType_(o,s)}if(t.atrules)for(const[o,s]of Object.entries(t.atrules))this.addAtrule_(o,s);if(t.properties)for(const[o,s]of Object.entries(t.properties))this.addProperty_(o,s)}this.cssWideKeywordsSyntax=hc(this.cssWideKeywords.join(" | "))}checkStructure(t){function n(s,a){o.push({node:s,message:a})}const r=this.structure,o=[];return this.syntax.walk(t,function(s){r.hasOwnProperty(s.type)?r[s.type].check(s,n):n(s,"Unknown node type `"+s.type+"`")}),o.length?o:!1}createDescriptor(t,n,r,o=null){const s={type:n,name:r},a={type:n,name:r,parent:o,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=hc(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:YC(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:hc(a.syntax,s)}),a.match}}),n==="Property"&&Object.defineProperty(a,"matchRef",{get(){const c=a.syntax,u=yG(c)?hc({...c,terms:[c.terms[0].term]},s):null;return Object.defineProperty(a,"matchRef",{value:u}),u}})),a}addAtrule_(t,n){n&&(this.atrules[t]={type:"Atrule",name:t,prelude:n.prelude?this.createDescriptor(n.prelude,"AtrulePrelude",t):null,descriptors:n.descriptors?Object.keys(n.descriptors).reduce((r,o)=>(r[o]=this.createDescriptor(n.descriptors[o],"AtruleDescriptor",o,t),r),Object.create(null)):null})}addProperty_(t,n){n&&(this.properties[t]=this.createDescriptor(n,"Property",t))}addType_(t,n){n&&(this.types[t]=this.createDescriptor(n,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new ca("Unknown at-rule","@"+t)}checkAtrulePrelude(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t);if(!o.prelude&&n)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(o.prelude&&!n&&!as(this,o.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,n){const r=this.checkAtruleName(t);if(r)return r;const o=this.getAtrule(t),s=Jd(n);if(!o.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!o.descriptors[s.name]&&!o.descriptors[s.basename])return new ca("Unknown at-rule descriptor",n)}checkPropertyName(t){if(!this.getProperty(t))return new ca("Unknown property",t)}matchAtrulePrelude(t,n){const r=this.checkAtrulePrelude(t,n);if(r)return Pr(null,r);const o=this.getAtrule(t);return o.prelude?as(this,o.prelude,n||"",!1):Pr(null,null)}matchAtruleDescriptor(t,n,r){const o=this.checkAtruleDescriptorName(t,n);if(o)return Pr(null,o);const s=this.getAtrule(t),a=Jd(n);return as(this,s.descriptors[a.name]||s.descriptors[a.basename],r,!1)}matchDeclaration(t){return t.type!=="Declaration"?Pr(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,n){if(zv(t).custom)return Pr(null,new Error("Lexer matching doesn't applicable for custom properties"));const r=this.checkPropertyName(t);return r?Pr(null,r):as(this,this.getProperty(t),n,!0)}matchType(t,n){const r=this.getType(t);return r?as(this,r,n,!1):Pr(null,new ca("Unknown type",t))}match(t,n){return typeof t!="string"&&(!t||!t.type)?Pr(null,new ca("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),as(this,t,n,!1))}findValueFragments(t,n,r,o){return iw(this,n,this.matchProperty(t,n),r,o)}findDeclarationValueFragments(t,n,r){return iw(this,t.value,this.matchDeclaration(t),n,r)}findAllFragments(t,n,r){const o=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{o.push.apply(o,this.findDeclarationValueFragments(s,n,r))}}),o}getAtrule(t,n=!0){const r=Jd(t);return(r.vendor&&n?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null}getAtrulePrelude(t,n=!0){const r=this.getAtrule(t,n);return r&&r.prelude||null}getAtruleDescriptor(t,n){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[n]||null}getProperty(t,n=!0){const r=zv(t);return(r.vendor&&n?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(u,f){return f?`<${u}>`:`<'${u}'>`}function n(u,f,p,h){if(p.has(f))return p.get(f);p.set(f,!1),h.syntax!==null&&q3(h.syntax,function(g){if(g.type!=="Type"&&g.type!=="Property")return;const y=g.type==="Type"?u.types:u.properties,w=g.type==="Type"?o:s;hasOwnProperty.call(y,g.name)?n(u,g.name,w,y[g.name])&&(r.push(`${t(f,p===o)} used broken syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0)):(r.push(`${t(f,p===o)} used missed syntax definition ${t(g.name,g.type==="Type")}`),p.set(f,!0))},this)}const r=[];let o=new Map,s=new Map;for(const u in this.types)n(this,u,o,this.types[u]);for(const u in this.properties)n(this,u,s,this.properties[u]);const a=[...o.keys()].filter(u=>o.get(u)),c=[...s.keys()].filter(u=>s.get(u));return a.length||c.length?{errors:r,types:a,properties:c}:null}dump(t,n){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:lh(this.types,!n,t),properties:lh(this.properties,!n,t),atrules:mG(this.atrules,!n,t)}}toString(){return JSON.stringify(this.dump())}}function rp(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function bG(e,t){const n=Object.create(null);for(const r of Object.keys(e))t.includes(r)&&(n[r]=e[r]);return n}function op(e,t,n){const r={...e};for(const[o,s]of Object.entries(t))r[o]={...r[o],...n?bG(s,n):s};return r}function ch(e,t){const n={...e};for(const[r,o]of Object.entries(t))switch(r){case"generic":n[r]=!!o;break;case"cssWideKeywords":n[r]=e[r]?[...e[r],...o]:o||[];break;case"units":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=Array.isArray(a)?a:[];break;case"atrules":n[r]={...e[r]};for(const[s,a]of Object.entries(o)){const c=n[r][s]||{},u=n[r][s]={prelude:c.prelude||null,descriptors:{...c.descriptors}};if(a){u.prelude=a.prelude?rp(u.prelude,a.prelude):u.prelude||null;for(const[f,p]of Object.entries(a.descriptors||{}))u.descriptors[f]=p?rp(u.descriptors[f],p):null;Object.keys(u.descriptors).length||(u.descriptors=null)}}break;case"types":case"properties":n[r]={...e[r]};for(const[s,a]of Object.entries(o))n[r][s]=rp(n[r][s],a);break;case"parseContext":n[r]={...e[r],...o};break;case"scope":case"features":n[r]=op(e[r],o);break;case"atrule":case"pseudo":n[r]=op(e[r],o,["parse"]);break;case"node":n[r]=op(e[r],o,["name","structure","parse","generate","walkContext"]);break}return n}function nk(e){const t=vV(e),n=$V(e),r=MV(e),{fromPlainObject:o,toPlainObject:s}=NV(n),a={lexer:null,createLexer:c=>new aw(c,a,a.lexer.structure),tokenize:Bu,parse:t,generate:r,walk:n,find:n.find,findLast:n.findLast,findAll:n.findAll,fromPlainObject:o,toPlainObject:s,fork(c){const u=ch({},e);return nk(typeof c=="function"?c(u):ch(u,c))}};return a.lexer=new aw({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}const _G=e=>nk(ch({},e)),vG={generic:!0,cssWideKeywords:["initial","inherit","unset","revert","revert-layer"],units:{angle:["deg","grad","rad","turn"],decibel:["db"],flex:["fr"],frequency:["hz","khz"],length:["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],resolution:["dpi","dpcm","dppx","x"],semitones:["st"],time:["s","ms"]},types:{"abs()":"abs( <calc-sum> )","absolute-size":"xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large","acos()":"acos( <calc-sum> )","alpha-value":"<number>|<percentage>","an+b":"odd|even|<integer>|<n-dimension>|'+'? † n|-n|<ndashdigit-dimension>|'+'? † <ndashdigit-ident>|<dashndashdigit-ident>|<n-dimension> <signed-integer>|'+'? † n <signed-integer>|-n <signed-integer>|<ndash-dimension> <signless-integer>|'+'? † n- <signless-integer>|-n- <signless-integer>|<n-dimension> ['+'|'-'] <signless-integer>|'+'? † n ['+'|'-'] <signless-integer>|-n ['+'|'-'] <signless-integer>","anchor()":"anchor( <anchor-name>?&&<anchor-side> , <length-percentage>? )","anchor-name":"<dashed-ident>","anchor-side":"inside|outside|top|left|right|bottom|start|end|self-start|self-end|<percentage>|center","anchor-size":"width|height|block|inline|self-block|self-inline","anchor-size()":"anchor-size( [<anchor-name>||<anchor-size>]? , <length-percentage>? )","angle-percentage":"<angle>|<percentage>","angular-color-hint":"<angle-percentage>|<zero>","angular-color-stop":"<color> <color-stop-angle>?","angular-color-stop-list":"<angular-color-stop> , [<angular-color-hint>? , <angular-color-stop>]#?","animateable-feature":"scroll-position|contents|<custom-ident>","animation-action":"none|play|play-once|play-forwards|play-backwards|pause|reset|replay","asin()":"asin( <calc-sum> )","atan()":"atan( <calc-sum> )","atan2()":"atan2( <calc-sum> , <calc-sum> )",attachment:"scroll|fixed|local","attr()":"attr( <attr-name> <attr-type>? , <declaration-value>? )","attr-matcher":"['~'|'|'|'^'|'$'|'*']? '='","attr-modifier":"i|s","attr-type":"type( <syntax> )|raw-string|number|<attr-unit>","attribute-selector":"'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'","auto-repeat":"repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )","auto-track-list":"[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?",axis:"block|inline|x|y","baseline-position":"[first|last]? baseline","basic-shape":"<inset()>|<xywh()>|<rect()>|<circle()>|<ellipse()>|<polygon()>|<path()>","basic-shape-rect":"<inset()>|<rect()>|<xywh()>","bg-clip":"<visual-box>|border-area|text","bg-image":"<image>|none","bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>","bg-position":"[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]","bg-size":"[<length-percentage [0,∞]>|auto]{1,2}|cover|contain","blend-mode":"normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity","blur()":"blur( <length>? )","brightness()":"brightness( [<number>|<percentage>]? )","calc()":"calc( <calc-sum> )","calc-constant":"e|pi|infinity|-infinity|NaN","calc-product":"<calc-value> ['*' <calc-value>|'/' <number>]*","calc-size()":"calc-size( <calc-size-basis> , <calc-sum> )","calc-size-basis":"<intrinsic-size-keyword>|<calc-size()>|any|<calc-sum>","calc-sum":"<calc-product> [['+'|'-'] <calc-product>]*","calc-value":"<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )","cf-final-image":"<image>|<color>","cf-mixing-image":"<percentage>?&&<image>","circle()":"circle( <radial-size>? [at <position>]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<color-base>|currentColor|<system-color>|<device-cmyk()>|<light-dark()>|<-non-standard-color>","color()":"color( <colorspace-params> [/ [<alpha-value>|none]]? )","color-base":"<hex-color>|<color-function>|<named-color>|<color-mix()>|transparent","color-function":"<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<oklab()>|<oklch()>|<color()>","color-interpolation-method":"in [<rectangular-color-space>|<polar-color-space> <hue-interpolation-method>?|<custom-color-space>]","color-mix()":"color-mix( <color-interpolation-method> , [<color>&&<percentage [0,100]>?]#{2} )","color-stop":"<color-stop-length>|<color-stop-angle>","color-stop-angle":"[<angle-percentage>|<zero>]{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"<linear-color-stop> , [<linear-color-hint>? , <linear-color-stop>]#?","colorspace-params":"[<predefined-rgb-params>|<xyz-params>]",combinator:"'>'|'+'|'~'|['|' '|']","common-lig-values":"[common-ligatures|no-common-ligatures]","compat-auto":"searchfield|textarea|checkbox|radio|menulist|listbox|meter|progress-bar|button","compat-special":"textfield|menulist-button","complex-selector":"<complex-selector-unit> [<combinator>? <complex-selector-unit>]*","complex-selector-list":"<complex-selector>#","composite-style":"clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor","compositing-operator":"add|subtract|intersect|exclude","compound-selector":"[<type-selector>? <subclass-selector>*]!","compound-selector-list":"<compound-selector>#","conic-gradient()":"conic-gradient( [<conic-gradient-syntax>] )","conic-gradient-syntax":"[[[from [<angle>|<zero>]]? [at <position>]?]||<color-interpolation-method>]? , <angular-color-stop-list>","container-condition":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","container-name":"<custom-ident>","container-query":"not <query-in-parens>|<query-in-parens> [[and <query-in-parens>]*|[or <query-in-parens>]*]","content-distribution":"space-between|space-around|space-evenly|stretch","content-list":"[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+","content-position":"center|start|end|flex-start|flex-end","content-replacement":"<image>","contextual-alt-values":"[contextual|no-contextual]","contrast()":"contrast( [<number>|<percentage>]? )","coord-box":"content-box|padding-box|border-box|fill-box|stroke-box|view-box","corner-shape-value":"round|scoop|bevel|notch|square|squircle|<superellipse()>","cos()":"cos( <calc-sum> )",counter:"<counter()>|<counters()>","counter()":"counter( <counter-name> , <counter-style>? )","counter-name":"<custom-ident>","counter-style":"<counter-style-name>|symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <counter-name> , <string> , <counter-style>? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier()":"cubic-bezier( [<number [0,1]> , <number>]#{2} )","cubic-bezier-easing-function":"ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )","cursor-predefined":"auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing","custom-color-space":"<dashed-ident>","custom-params":"<dashed-ident> [<number>|<percentage>|none]+",dasharray:"[[<length-percentage>|<number>]+]#","dashndashdigit-ident":"<ident-token>","deprecated-system-color":"ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonHighlight|ButtonShadow|CaptionText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText","discretionary-lig-values":"[discretionary-ligatures|no-discretionary-ligatures]","display-box":"contents|none","display-inside":"flow|flow-root|table|flex|grid|ruby","display-internal":"table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container","display-legacy":"inline-block|inline-list-item|inline-table|inline-flex|inline-grid","display-listitem":"<display-outside>?&&[flow|flow-root]?&&list-item","display-outside":"block|inline|run-in","drop-shadow()":"drop-shadow( [<color>?&&<length>{2,3}] )","dynamic-range-limit-mix()":"dynamic-range-limit-mix( [<'dynamic-range-limit'>&&<percentage [0,100]>]#{2,} )","easing-function":"<linear-easing-function>|<cubic-bezier-easing-function>|<step-easing-function>","east-asian-variant-values":"[jis78|jis83|jis90|jis04|simplified|traditional]","east-asian-width-values":"[full-width|proportional-width]","element()":"element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )","ellipse()":"ellipse( <radial-size>? [at <position>]? )","env()":"env( <custom-ident> , <declaration-value>? )","exp()":"exp( <calc-sum> )","explicit-track-list":"[<line-names>? <track-size>]+ <line-names>?","family-name":"<string>|<custom-ident>+","feature-tag-value":"<string> [<integer>|on|off]?","feature-type":"@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","filter-function":"<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>","filter-value-list":"[<filter-function>|<url>]+","final-bg-layer":"<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<visual-box>||<visual-box>||<'background-color'>","fit-content()":"fit-content( <length-percentage [0,∞]> )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <fixed-size>]+ <line-names>? )","fixed-size":"<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>","font-variant-css2":"normal|small-caps","font-weight-absolute":"normal|bold|<number [1,1000]>","font-width-css3":"normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","form-control-identifier":"select","frequency-percentage":"<frequency>|<percentage>","generic-complete":"serif|sans-serif|system-ui|cursive|fantasy|math|monospace","general-enclosed":"[<function-token> <any-value>? )]|[( <any-value>? )]","generic-family":"<generic-script-specific>|<generic-complete>|<generic-incomplete>|<-non-standard-generic-family>","generic-incomplete":"ui-serif|ui-sans-serif|ui-monospace|ui-rounded","geometry-box":"<shape-box>|fill-box|stroke-box|view-box",gradient:"<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>","grayscale()":"grayscale( [<number>|<percentage>]? )","grid-line":"auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]","historical-lig-values":"[historical-ligatures|no-historical-ligatures]","hsl()":"hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsl( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hsla()":"hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )|hsla( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )",hue:"<number>|<angle>","hue-interpolation-method":"[shorter|longer|increasing|decreasing] hue","hue-rotate()":"hue-rotate( [<angle>|<zero>]? )","hwb()":"hwb( [<hue>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","hypot()":"hypot( <calc-sum># )",image:"<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>","image()":"image( <image-tags>? [<image-src>? , <color>?]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[<image>|<string>] [<resolution>||type( <string> )]","image-src":"<url>|<string>","image-tags":"ltr|rtl","inflexible-breadth":"<length-percentage>|min-content|max-content|auto","inset()":"inset( <length-percentage>{1,4} [round <'border-radius'>]? )","invert()":"invert( [<number>|<percentage>]? )","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-selector":"from|to|<percentage [0,100]>|<timeline-range-name> <percentage>","keyframes-name":"<custom-ident>|<string>","lab()":"lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","layer()":"layer( <layer-name> )","layer-name":"<ident> ['.' <ident>]*","lch()":"lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","leader()":"leader( <leader-type> )","leader-type":"dotted|solid|space|<string>","length-percentage":"<length>|<percentage>","light-dark()":"light-dark( <color> , <color> )","line-name-list":"[<line-names>|<name-repeat>]+","line-names":"'[' <custom-ident>* ']'","line-style":"none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset","line-width":"<length>|thin|medium|thick","linear()":"linear( [<number>&&<percentage>{0,2}]# )","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-easing-function":"linear|<linear()>","linear-gradient()":"linear-gradient( [<linear-gradient-syntax>] )","linear-gradient-syntax":"[[<angle>|<zero>|to <side-or-corner>]||<color-interpolation-method>]? , <color-stop-list>","log()":"log( <calc-sum> , <calc-sum>? )","mask-layer":"<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>","mask-position":"[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?","mask-reference":"none|<image>|<mask-source>","mask-source":"<url>","masking-mode":"alpha|luminance|match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [and <media-in-parens>]+","media-condition":"<media-not>|<media-and>|<media-or>|<media-in-parens>","media-condition-without-or":"<media-not>|<media-and>|<media-in-parens>","media-feature":"( [<mf-plain>|<mf-boolean>|<mf-range>] )","media-in-parens":"( <media-condition> )|<media-feature>|<general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [or <media-in-parens>]+","media-query":"<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number>|<dimension>|<ident>|<ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )","mod()":"mod( <calc-sum> , <calc-sum> )","n-dimension":"<dimension-token>","name-repeat":"repeat( [<integer [1,∞]>|auto-fill] , <line-names>+ )","named-color":"aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen","namespace-prefix":"<ident>","ndash-dimension":"<dimension-token>","ndashdigit-dimension":"<dimension-token>","ndashdigit-ident":"<ident-token>","ns-prefix":"[<ident-token>|'*']? '|'","number-percentage":"<number>|<percentage>","numeric-figure-values":"[lining-nums|oldstyle-nums]","numeric-fraction-values":"[diagonal-fractions|stacked-fractions]","numeric-spacing-values":"[proportional-nums|tabular-nums]","offset-path":"<ray()>|<url>|<basic-shape>","oklab()":"oklab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )","oklch()":"oklch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )","opacity()":"opacity( [<number>|<percentage>]? )","opacity-value":"<number>|<percentage>","outline-line-style":"none|dotted|dashed|solid|double|groove|ridge|inset|outset","outline-radius":"<length>|<percentage>","overflow-position":"unsafe|safe","page-body":"<declaration>? [; <page-body>]?|<page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom","page-selector":"<pseudo-page>+|<ident> <pseudo-page>*","page-selector-list":"[<page-selector>#]?","page-size":"A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger",paint:"none|<color>|<url> [none|<color>]?|context-fill|context-stroke","paint()":"paint( <ident> , <declaration-value>? )","paint-box":"<visual-box>|fill-box|stroke-box","palette-identifier":"<dashed-ident>","palette-mix()":"palette-mix( <color-interpolation-method> , [[normal|light|dark|<palette-identifier>|<palette-mix()>]&&<percentage [0,100]>?]#{2} )","path()":"path( <'fill-rule'>? , <string> )","perspective()":"perspective( [<length [0,∞]>|none] )","polar-color-space":"hsl|hwb|lch|oklch","polygon()":"polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )",position:"[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]","position-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|center|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|center|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]","pow()":"pow( <calc-sum> , <calc-sum> )","predefined-rgb":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020","predefined-rgb-params":"<predefined-rgb> [<number>|<percentage>|none]{3}","pseudo-class-selector":"':' <ident-token>|':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>|<legacy-pseudo-element-selector>","pseudo-page":": [left|right|first|blank]","query-in-parens":"( <container-condition> )|( <size-feature> )|style( <style-query> )|<general-enclosed>",quote:"open-quote|close-quote|no-open-quote|no-close-quote","radial-extent":"closest-corner|closest-side|farthest-corner|farthest-side","radial-gradient()":"radial-gradient( [<radial-gradient-syntax>] )","radial-gradient-syntax":"[[[<radial-shape>||<radial-size>]? [at <position>]?]||<color-interpolation-method>]? , <color-stop-list>","radial-shape":"circle|ellipse","radial-size":"<radial-extent>|<length [0,∞]>|<length-percentage [0,∞]>{2}",ratio:"<number [0,∞]> [/ <number [0,∞]>]?","ray()":"ray( <angle>&&<ray-size>?&&contain?&&[at <position>]? )","ray-size":"closest-side|closest-corner|farthest-side|farthest-corner|sides","rect()":"rect( [<length-percentage>|auto]{4} [round <'border-radius'>]? )","rectangular-color-space":"srgb|srgb-linear|display-p3|display-p3-linear|a98-rgb|prophoto-rgb|rec2020|lab|oklab|xyz|xyz-d50|xyz-d65","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger|smaller","rem()":"rem( <calc-sum> , <calc-sum> )","repeat-style":"repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}","repeating-conic-gradient()":"repeating-conic-gradient( [<conic-gradient-syntax>] )","repeating-linear-gradient()":"repeating-linear-gradient( [<linear-gradient-syntax>] )","repeating-radial-gradient()":"repeating-radial-gradient( [<radial-gradient-syntax>] )","reversed-counter-name":"reversed( <counter-name> )","rgb()":"rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )|rgb( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rgba()":"rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )|rgba( [<number>|<percentage>|none]{3} [/ [<alpha-value>|none]]? )","rotate()":"rotate( [<angle>|<zero>] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )","rotateX()":"rotateX( [<angle>|<zero>] )","rotateY()":"rotateY( [<angle>|<zero>] )","rotateZ()":"rotateZ( [<angle>|<zero>] )","round()":"round( <rounding-strategy>? , <calc-sum> , <calc-sum> )","rounding-strategy":"nearest|up|down|to-zero","saturate()":"saturate( [<number>|<percentage>]? )","scale()":"scale( [<number>|<percentage>]#{1,2} )","scale3d()":"scale3d( [<number>|<percentage>]#{3} )","scaleX()":"scaleX( [<number>|<percentage>] )","scaleY()":"scaleY( [<number>|<percentage>] )","scaleZ()":"scaleZ( [<number>|<percentage>] )","scope-end":"<forgiving-selector-list>","scope-start":"<forgiving-selector-list>","scroll()":"scroll( [<scroller>||<axis>]? )",scroller:"root|nearest|self","scroll-state-feature":"<media-query-list>","scroll-state-in-parens":"( <scroll-state-query> )|( <scroll-state-feature> )|<general-enclosed>","scroll-state-query":"not <scroll-state-in-parens>|<scroll-state-in-parens> [[and <scroll-state-in-parens>]*|[or <scroll-state-in-parens>]*]|<scroll-state-feature>","selector-list":"<complex-selector-list>","self-position":"center|start|end|self-start|self-end|flex-start|flex-end","sepia()":"sepia( [<number>|<percentage>]? )",shadow:"inset?&&<length>{2,4}&&<color>?","shadow-t":"[<length>{2,3}&&<color>?]",shape:"rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )","shape-box":"<visual-box>|margin-box","side-or-corner":"[left|right]||[top|bottom]","sign()":"sign( <calc-sum> )","signed-integer":"<number-token>","signless-integer":"<number-token>","sin()":"sin( <calc-sum> )","single-animation":"<'animation-duration'>||<easing-function>||<'animation-delay'>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]||<single-animation-timeline>","single-animation-composition":"replace|add|accumulate","single-animation-direction":"normal|reverse|alternate|alternate-reverse","single-animation-fill-mode":"none|forwards|backwards|both","single-animation-iteration-count":"infinite|<number>","single-animation-play-state":"running|paused","single-animation-timeline":"auto|none|<dashed-ident>|<scroll()>|<view()>","single-transition":"[none|<single-transition-property>]||<time>||<easing-function>||<time>||<transition-behavior-value>","single-transition-property":"all|<custom-ident>",size:"closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}","size-feature":"<mf-plain>|<mf-boolean>|<mf-range>","skew()":"skew( [<angle>|<zero>] , [<angle>|<zero>]? )","skewX()":"skewX( [<angle>|<zero>] )","skewY()":"skewY( [<angle>|<zero>] )","sqrt()":"sqrt( <calc-sum> )","step-position":"jump-start|jump-end|jump-none|jump-both|start|end","step-easing-function":"step-start|step-end|<steps()>","steps()":"steps( <integer> , <step-position>? )","style-feature":"<declaration>","style-in-parens":"( <style-condition> )|( <style-feature> )|<general-enclosed>","style-query":"<style-condition>|<style-feature>","subclass-selector":"<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>","superellipse()":"superellipse( [<number>|infinity|-infinity] )","supports-condition":"not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*","supports-decl":"( <declaration> )","supports-feature":"<supports-decl>|<supports-selector-fn>","supports-in-parens":"( <supports-condition> )|<supports-feature>|<general-enclosed>","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string>|<image>|<custom-ident>","symbols()":"symbols( <symbols-type>? [<string>|<image>]+ )","symbols-type":"cyclic|numeric|alphabetic|symbolic|fixed","system-color":"AccentColor|AccentColorText|ActiveText|ButtonBorder|ButtonFace|ButtonText|Canvas|CanvasText|Field|FieldText|GrayText|Highlight|HighlightText|LinkText|Mark|MarkText|SelectedItem|SelectedItemText|VisitedText","system-family-name":"caption|icon|menu|message-box|small-caption|status-bar","tan()":"tan( <calc-sum> )",target:"<target-counter()>|<target-counters()>|<target-text()>","target-counter()":"target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [<string>|<url>] , [content|before|after|first-letter]? )","text-edge":"[text|cap|ex|ideographic|ideographic-ink] [text|alphabetic|ideographic|ideographic-ink]?","time-percentage":"<time>|<percentage>","timeline-range-name":"cover|contain|entry|exit|entry-crossing|exit-crossing","track-breadth":"<length-percentage>|<flex>|min-content|max-content|auto","track-list":"[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?","track-repeat":"repeat( [<integer [1,∞]>] , [<line-names>? <track-size>]+ <line-names>? )","track-size":"<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )","transform-function":"<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>","transform-list":"<transform-function>+","transition-behavior-value":"normal|allow-discrete","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","try-size":"most-width|most-height|most-block-size|most-inline-size","try-tactic":"flip-block||flip-inline||flip-start","type-or-unit":"string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%","type-selector":"<wq-name>|<ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","view()":"view( [<axis>||<'view-timeline-inset'>]? )","viewport-length":"auto|<length-percentage>","visual-box":"content-box|padding-box|border-box","wq-name":"<ns-prefix>? <ident-token>","xywh()":"xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [round <'border-radius'>]? )",xyz:"xyz|xyz-d50|xyz-d65","xyz-params":"<xyz-space> [<number>|<percentage>|none]{3}","-legacy-gradient":"<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[<angle>|<side-or-corner>]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side|closest-corner|farthest-side|farthest-corner|contain|cover","-legacy-radial-gradient-shape":"circle|ellipse","-non-standard-font":"-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text","-non-standard-image-rendering":"optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast","-non-standard-overflow":"overlay|-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable","-non-standard-size":"intrinsic|min-intrinsic|-webkit-fill-available|-webkit-fit-content|-webkit-min-content|-webkit-max-content|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )","-webkit-gradient-color-stop":"from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )","-webkit-gradient-point":"[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]","-webkit-gradient-radius":"<length>|<percentage>","-webkit-gradient-type":"linear|radial","-webkit-mask-box-repeat":"repeat|stretch|round","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid>|<-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]","-ms-filter-function-legacy":"<ident-token>|<function-token> <any-value>? )",age:"child|young|old","attr-name":"<wq-name>","attr-fallback":"<any-value>",autospace:"no-autospace|[ideograph-alpha||ideograph-numeric||punctuation]||[insert|replace]",bottom:"<length>|auto","generic-voice":"[<age>? <gender> <integer>?]",gender:"male|female|neutral","generic-script-specific":"generic( kai )|generic( fangsong )|generic( nastaliq )","-non-standard-generic-family":"-apple-system|BlinkMacSystemFont","intrinsic-size-keyword":"min-content|max-content|fit-content",left:"<length>|auto","device-cmyk()":"<legacy-device-cmyk-syntax>|<modern-device-cmyk-syntax>","legacy-device-cmyk-syntax":"device-cmyk( <number>#{4} )","modern-device-cmyk-syntax":"device-cmyk( <cmyk-component>{4} [/ [<alpha-value>|none]]? )","cmyk-component":"<number>|<percentage>|none","color-space":"<rectangular-color-space>|<polar-color-space>|<custom-color-space>",right:"<length>|auto","forgiving-selector-list":"<complex-real-selector-list>","forgiving-relative-selector-list":"<relative-real-selector-list>","complex-real-selector-list":"<complex-real-selector>#","simple-selector-list":"<simple-selector>#","relative-real-selector-list":"<relative-real-selector>#","complex-selector-unit":"[<compound-selector>? <pseudo-compound-selector>*]!","complex-real-selector":"<compound-selector> [<combinator>? <compound-selector>]*","relative-real-selector":"<combinator>? <complex-real-selector>","pseudo-compound-selector":"<pseudo-element-selector> <pseudo-class-selector>*","simple-selector":"<type-selector>|<subclass-selector>","legacy-pseudo-element-selector":"':' [before|after|first-line|first-letter]","svg-length":"<percentage>|<length>|<number>","svg-writing-mode":"lr-tb|rl-tb|tb-rl|lr|rl|tb",top:"<length>|auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? ['!' important]?","declaration-list":"[<declaration>? ';']* <declaration>?",url:"url( <string> <url-modifier>* )|<url-token>","url-modifier":"<ident>|<function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","xyz-space":"xyz|xyz-d50|xyz-d65","style-condition":"not <style-in-parens>|<style-in-parens> [[and <style-in-parens>]*|[or <style-in-parens>]*]","-non-standard-display":"-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box","inset-area":"[[left|center|right|span-left|span-right|x-start|x-end|span-x-start|span-x-end|x-self-start|x-self-end|span-x-self-start|span-x-self-end|span-all]||[top|center|bottom|span-top|span-bottom|y-start|y-end|span-y-start|span-y-end|y-self-start|y-self-end|span-y-self-start|span-y-self-end|span-all]|[block-start|center|block-end|span-block-start|span-block-end|span-all]||[inline-start|center|inline-end|span-inline-start|span-inline-end|span-all]|[self-block-start|self-block-end|span-self-block-start|span-self-block-end|span-all]||[self-inline-start|self-inline-end|span-self-inline-start|span-self-inline-end|span-all]|[start|center|end|span-start|span-end|span-all]{1,2}|[self-start|center|self-end|span-self-start|span-self-end|span-all]{1,2}]",syntax:"'*'|<syntax-component> [<syntax-combinator> <syntax-component>]*|<syntax-string>","syntax-component":"<syntax-single-component> <syntax-multiplier>?|'<' transform-list '>'","syntax-single-component":"'<' <syntax-type-name> '>'|<ident>","syntax-type-name":"angle|color|custom-ident|image|integer|length|length-percentage|number|percentage|resolution|string|time|url|transform-function","syntax-combinator":"'|'","syntax-multiplier":"'#'|'+'","syntax-string":"<string>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false|true","-ms-block-progression":"tb|rl|bt|lr","-ms-content-zoom-chaining":"none|chained","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> )|snapList( <percentage># )","-ms-content-zoom-snap-type":"none|proximity|mandatory","-ms-content-zooming":"none|zoom","-ms-filter":"<string>","-ms-flow-from":"[none|<custom-ident>]#","-ms-flow-into":"[none|<custom-ident>]#","-ms-grid-columns":"none|<track-list>|<auto-track-list>","-ms-grid-rows":"none|<track-list>|<auto-track-list>","-ms-high-contrast-adjust":"auto|none","-ms-hyphenate-limit-chars":"auto|<integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit|<integer>","-ms-hyphenate-limit-zone":"<percentage>|<length>","-ms-ime-align":"auto|after","-ms-overflow-style":"auto|none|scrollbar|-ms-autohiding-scrollbar","-ms-scroll-chaining":"chained|none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto|<length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto|<length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none|railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )","-ms-scroll-snap-type":"none|proximity|mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none|vertical-to-horizontal","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-text-autospace":"none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space","-ms-touch-select":"grippers|none","-ms-user-select":"none|element|text","-ms-wrap-flow":"auto|both|start|end|maximum|clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap|none","-moz-appearance":"none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized","-moz-binding":"<url>|none","-moz-border-bottom-colors":"<color>+|none","-moz-border-left-colors":"<color>+|none","-moz-border-right-colors":"<color>+|none","-moz-border-top-colors":"<color>+|none","-moz-context-properties":"none|[fill|fill-opacity|stroke|stroke-opacity]#","-moz-float-edge":"border-box|content-box|margin-box|padding-box","-moz-force-broken-image-icon":"0|1","-moz-orient":"inline|block|horizontal|vertical","-moz-outline-radius":"<outline-radius>{1,4} [/ <outline-radius>{1,4}]?","-moz-outline-radius-bottomleft":"<outline-radius>","-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore|stretch-to-fit","-moz-text-blink":"none|blink","-moz-user-focus":"ignore|normal|select-after|select-before|select-menu|select-same|select-all|none","-moz-user-input":"auto|none|enabled|disabled","-moz-user-modify":"read-only|read-write|write-only","-moz-window-dragging":"drag|no-drag","-moz-window-shadow":"default|menu|tooltip|sheet|none","-webkit-appearance":"none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button","-webkit-border-before":"<'border-width'>||<'border-style'>||<color>","-webkit-border-before-color":"<color>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[above|below|right|left]? <length>? <image>?","-webkit-line-clamp":"none|<integer>","-webkit-mask":"[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<visual-box>|border|padding|content|text]||[<visual-box>|border|padding|content]]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[<coord-box>|no-clip|border|padding|content|text]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[<coord-box>|border|padding|content]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[<length-percentage>|left|center|right]#","-webkit-mask-position-y":"[<length-percentage>|top|center|bottom]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat|no-repeat|space|round","-webkit-mask-repeat-y":"repeat|no-repeat|space|round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto|touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length>||<color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default|none","-webkit-user-modify":"read-only|read-write|read-write-plaintext-only","-webkit-user-select":"auto|none|text|all","accent-color":"auto|<color>","align-content":"normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>","align-items":"normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]|anchor-center","align-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>|anchor-center","align-tracks":"[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#","alignment-baseline":"auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical",all:"initial|inherit|unset|revert|revert-layer","anchor-name":"none|<dashed-ident>#","anchor-scope":"none|all|<dashed-ident>#",animation:"<single-animation>#","animation-composition":"<single-animation-composition>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"[auto|<time [0s,∞]>]#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[none|<keyframes-name>]#","animation-play-state":"<single-animation-play-state>#","animation-range":"[<'animation-range-start'> <'animation-range-end'>?]#","animation-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","animation-timeline":"<single-animation-timeline>#","animation-timing-function":"<easing-function>#","animation-trigger":"[none|[<dashed-ident> <animation-action>+]+]#",appearance:"none|auto|<compat-auto>|<compat-special>","aspect-ratio":"auto||<ratio>","backdrop-filter":"none|<filter-value-list>","backface-visibility":"visible|hidden",background:"<bg-layer>#? , <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<bg-clip>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<visual-box>#","background-position":"<bg-position>#","background-position-x":"[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#","background-position-y":"[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","baseline-shift":"baseline|sub|super|<svg-length>","baseline-source":"auto|first|last","block-size":"<'width'>",border:"<line-width>||<line-style>||<color>","border-block":"<'border-block-start'>","border-block-color":"<'border-top-color'>{1,2}","border-block-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-block-style":"<'border-top-style'>{1,2}","border-block-width":"<'border-top-width'>{1,2}","border-bottom":"<line-width>||<line-style>||<color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-right-radius":"<length-percentage [0,∞]>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"separate|collapse","border-color":"<color>{1,4}","border-end-end-radius":"<'border-top-left-radius'>","border-end-start-radius":"<'border-top-left-radius'>","border-image":"<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>","border-image-outset":"[<length [0,∞]>|<number [0,∞]>]{1,4}","border-image-repeat":"[stretch|repeat|round|space]{1,2}","border-image-slice":"[<number [0,∞]>|<percentage [0,∞]>]{1,4}&&fill?","border-image-source":"none|<image>","border-image-width":"[<length-percentage [0,∞]>|<number [0,∞]>|auto]{1,4}","border-inline":"<'border-block-start'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-end":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'>||<'border-top-style'>||<color>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-inline-style":"<'border-top-style'>{1,2}","border-inline-width":"<'border-top-width'>{1,2}","border-left":"<line-width>||<line-style>||<color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage [0,∞]>{1,4} [/ <length-percentage [0,∞]>{1,4}]?","border-right":"<line-width>||<line-style>||<color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length>{1,2}","border-start-end-radius":"<'border-top-left-radius'>","border-start-start-radius":"<'border-top-left-radius'>","border-style":"<line-style>{1,4}","border-top":"<line-width>||<line-style>||<color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage [0,∞]>{1,2}","border-top-right-radius":"<length-percentage [0,∞]>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"auto|<length-percentage>|<anchor()>|<anchor-size()>","box-align":"start|center|end|baseline|stretch","box-decoration-break":"slice|clone","box-direction":"normal|reverse|inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single|multiple","box-ordinal-group":"<integer>","box-orient":"horizontal|vertical|inline-axis|block-axis|inherit","box-pack":"start|center|end|justify","box-shadow":"none|<shadow>#","box-sizing":"content-box|border-box","break-after":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-before":"auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region","break-inside":"auto|avoid|avoid-page|avoid-column|avoid-region","caption-side":"top|bottom",caret:"<'caret-color'>||<'caret-animation'>||<'caret-shape'>","caret-animation":"auto|manual","caret-color":"auto|<color>","caret-shape":"auto|bar|block|underscore",clear:"none|left|right|both|inline-start|inline-end",clip:"<shape>|auto","clip-path":"<clip-source>|[<basic-shape>||<geometry-box>]|none","clip-rule":"nonzero|evenodd",color:"<color>","color-interpolation-filters":"auto|sRGB|linearRGB","color-scheme":"normal|[light|dark|<custom-ident>]+&&only?","column-count":"<integer>|auto","column-fill":"auto|balance","column-gap":"normal|<length-percentage>","column-height":"auto|<length [0,∞]>","column-rule":"<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none|all","column-width":"auto|<length [0,∞]>","column-wrap":"auto|nowrap|wrap",columns:"[<'column-width'>||<'column-count'>] [/ <'column-height'>]?",contain:"none|strict|content|[[size||inline-size]||layout||style||paint]","contain-intrinsic-block-size":"auto? [none|<length>]","contain-intrinsic-height":"auto? [none|<length>]","contain-intrinsic-inline-size":"auto? [none|<length>]","contain-intrinsic-size":"[auto? [none|<length>]]{1,2}","contain-intrinsic-width":"auto? [none|<length>]",container:"<'container-name'> [/ <'container-type'>]?","container-name":"none|<custom-ident>+","container-type":"normal||[size|inline-size]",content:"normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>|<attr()>]+]?","content-visibility":"visible|auto|hidden","corner-block-end-shape":"<corner-shape-value>{1,2}","corner-block-start-shape":"<corner-shape-value>{1,2}","corner-bottom-shape":"<corner-shape-value>{1,2}","corner-bottom-left-shape":"<corner-shape-value>","corner-bottom-right-shape":"<corner-shape-value>","corner-end-end-shape":"<corner-shape-value>","corner-end-start-shape":"<corner-shape-value>","corner-inline-end-shape":"<corner-shape-value>{1,2}","corner-inline-start-shape":"<corner-shape-value>{1,2}","corner-left-shape":"<corner-shape-value>{1,2}","corner-right-shape":"<corner-shape-value>{1,2}","corner-shape":"<corner-shape-value>{1,4}","corner-start-start-shape":"<corner-shape-value>","corner-start-end-shape":"<corner-shape-value>","corner-top-shape":"<corner-shape-value>{1,2}","corner-top-left-shape":"<corner-shape-value>","corner-top-right-shape":"<corner-shape-value>","counter-increment":"[<counter-name> <integer>?]+|none","counter-reset":"[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none","counter-set":"[<counter-name> <integer>?]+|none",cursor:"[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]",cx:"<length>|<percentage>",cy:"<length>|<percentage>",d:"none|path( <string> )",direction:"ltr|rtl",display:"[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>","dominant-baseline":"auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge","dynamic-range-limit":"standard|no-limit|constrained|<dynamic-range-limit-mix()>","empty-cells":"show|hide","field-sizing":"content|fixed",fill:"<paint>","fill-opacity":"<number-zero-one>|<percentage>","fill-rule":"nonzero|evenodd",filter:"none|<filter-value-list>|<-ms-filter-function-list>",flex:"none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]","flex-basis":"content|<'width'>","flex-direction":"row|row-reverse|column|column-reverse","flex-flow":"<'flex-direction'>||<'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap|wrap|wrap-reverse",float:"left|right|none|inline-start|inline-end","flood-color":"<color>","flood-opacity":"<'opacity'>",font:"[[<'font-style'>||<font-variant-css2>||<'font-weight'>||<font-width-css3>]? <'font-size'> [/ <'line-height'>]? <'font-family'>#]|<system-family-name>|<-non-standard-font>","font-family":"[<family-name>|<generic-family>]#","font-feature-settings":"normal|<feature-tag-value>#","font-kerning":"auto|normal|none","font-language-override":"normal|<string>","font-optical-sizing":"auto|none","font-palette":"normal|light|dark|<palette-identifier>|<palette-mix()>","font-size":"<absolute-size>|<relative-size>|<length-percentage [0,∞]>|math","font-size-adjust":"none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]","font-smooth":"auto|never|always|<absolute-size>|<length>","font-stretch":"<font-stretch-absolute>","font-style":"normal|italic|oblique <angle>?","font-synthesis":"none|[weight||style||small-caps||position]","font-synthesis-position":"auto|none","font-synthesis-small-caps":"auto|none","font-synthesis-style":"auto|none","font-synthesis-weight":"auto|none","font-variant":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-alternates":"normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]","font-variant-caps":"normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps","font-variant-east-asian":"normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]","font-variant-emoji":"normal|text|emoji|unicode","font-variant-ligatures":"normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]","font-variant-numeric":"normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]","font-variant-position":"normal|sub|super","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>|bolder|lighter","font-width":"normal|<percentage [0,∞]>|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded","forced-color-adjust":"auto|none|preserve-parent-color",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [/ <grid-line>]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[row|column]||dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [/ <grid-line>]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [/ <grid-line>]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?","grid-template-areas":"none|<string>+","grid-template-columns":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","grid-template-rows":"none|<track-list>|<auto-track-list>|subgrid <line-name-list>?","hanging-punctuation":"none|[first||[force-end|allow-end]||last]",height:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","hyphenate-character":"auto|<string>","hyphenate-limit-chars":"[auto|<integer>]{1,3}",hyphens:"none|manual|auto","image-orientation":"from-image|<angle>|[<angle>? flip]","image-rendering":"auto|crisp-edges|pixelated|smooth|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>","image-resolution":"[from-image||<resolution>]&&snap?","ime-mode":"auto|normal|active|inactive|disabled","initial-letter":"normal|[<number> <integer>?]","initial-letter-align":"[auto|alphabetic|hanging|ideographic]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>","interpolate-size":"numeric-only|allow-keywords",isolation:"auto|isolate",interactivity:"auto|inert","interest-delay":"<'interest-delay-start'>{1,2}","interest-delay-end":"normal|<time>","interest-delay-start":"normal|<time>","justify-content":"normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]","justify-items":"normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]|anchor-center","justify-self":"auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|anchor-center","justify-tracks":"[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#",left:"auto|<length-percentage>|<anchor()>|<anchor-size()>","letter-spacing":"normal|<length-percentage>","lighting-color":"<color>","line-break":"auto|loose|normal|strict|anywhere","line-clamp":"none|<integer>","line-height":"normal|<number>|<length>|<percentage>","line-height-step":"<length>","list-style":"<'list-style-type'>||<'list-style-position'>||<'list-style-image'>","list-style-image":"<image>|none","list-style-position":"inside|outside","list-style-type":"<counter-style>|<string>|none",margin:"<'margin-top'>{1,4}","margin-block":"<'margin-top'>{1,2}","margin-block-end":"<'margin-top'>","margin-block-start":"<'margin-top'>","margin-bottom":"<length-percentage>|auto|<anchor-size()>","margin-inline":"<'margin-top'>{1,2}","margin-inline-end":"<'margin-top'>","margin-inline-start":"<'margin-top'>","margin-left":"<length-percentage>|auto|<anchor-size()>","margin-right":"<length-percentage>|auto|<anchor-size()>","margin-top":"<length-percentage>|auto|<anchor-size()>","margin-trim":"none|in-flow|all",marker:"none|<url>","marker-end":"none|<url>","marker-mid":"none|<url>","marker-start":"none|<url>",mask:"<mask-layer>#","mask-border":"<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>","mask-border-mode":"luminance|alpha","mask-border-outset":"[<length>|<number>]{1,4}","mask-border-repeat":"[stretch|repeat|round|space]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none|<image>","mask-border-width":"[<length-percentage>|<number>|auto]{1,4}","mask-clip":"[<coord-box>|no-clip]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<coord-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance|alpha","masonry-auto-flow":"[pack|next]||[definite-first|ordered]","math-depth":"auto-add|add( <integer> )|<integer>","math-shift":"normal|compact","math-style":"normal|compact","max-block-size":"<'max-width'>","max-height":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","max-inline-size":"<'max-width'>","max-lines":"none|<integer>","max-width":"none|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-block-size":"<'min-width'>","min-height":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","min-inline-size":"<'min-width'>","min-width":"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","mix-blend-mode":"<blend-mode>|plus-darker|plus-lighter","object-fit":"fill|contain|cover|none|scale-down","object-position":"<position>","object-view-box":"none|<basic-shape-rect>",offset:"[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?","offset-anchor":"auto|<position>","offset-distance":"<length-percentage>","offset-path":"none|<offset-path>||<coord-box>","offset-position":"normal|auto|<position>","offset-rotate":"[auto|reverse]||<angle>",opacity:"<opacity-value>",order:"<integer>",orphans:"<integer>",outline:"<'outline-width'>||<'outline-style'>||<'outline-color'>","outline-color":"auto|<color>","outline-offset":"<length>","outline-style":"auto|<outline-line-style>","outline-width":"<line-width>",overflow:"[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>","overflow-anchor":"auto|none","overflow-block":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-clip-box":"padding-box|content-box","overflow-clip-margin":"<visual-box>||<length [0,∞]>","overflow-inline":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-wrap":"normal|break-word|anywhere","overflow-x":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>","overflow-y":"visible|hidden|clip|scroll|auto|<-non-standard-overflow>",overlay:"none|auto","overscroll-behavior":"[contain|none|auto]{1,2}","overscroll-behavior-block":"contain|none|auto","overscroll-behavior-inline":"contain|none|auto","overscroll-behavior-x":"contain|none|auto","overscroll-behavior-y":"contain|none|auto",padding:"<'padding-top'>{1,4}","padding-block":"<'padding-top'>{1,2}","padding-block-end":"<'padding-top'>","padding-block-start":"<'padding-top'>","padding-bottom":"<length-percentage [0,∞]>","padding-inline":"<'padding-top'>{1,2}","padding-inline-end":"<'padding-top'>","padding-inline-start":"<'padding-top'>","padding-left":"<length-percentage [0,∞]>","padding-right":"<length-percentage [0,∞]>","padding-top":"<length-percentage [0,∞]>",page:"auto|<custom-ident>","page-break-after":"auto|always|avoid|left|right|recto|verso","page-break-before":"auto|always|avoid|left|right|recto|verso","page-break-inside":"auto|avoid","paint-order":"normal|[fill||stroke||markers]",perspective:"none|<length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit",position:"static|relative|absolute|sticky|fixed|-webkit-sticky","position-anchor":"auto|none|<anchor-name>","position-area":"none|<position-area>","position-try":"<'position-try-order'>? <'position-try-fallbacks'>","position-try-fallbacks":"none|[[<dashed-ident>||<try-tactic>]|<'position-area'>]#","position-try-order":"normal|<try-size>","position-visibility":"always|[anchors-valid||anchors-visible||no-overflow]","print-color-adjust":"economy|exact",quotes:"none|auto|[<string> <string>]+",r:"<length>|<percentage>","reading-flow":"normal|source-order|flex-visual|flex-flow|grid-rows|grid-columns|grid-order","reading-order":"<integer>",resize:"none|both|horizontal|vertical|block|inline",right:"auto|<length-percentage>|<anchor()>|<anchor-size()>",rotate:"none|<angle>|[x|y|z|<number>{3}]&&<angle>","row-gap":"normal|<length-percentage>","ruby-align":"start|center|space-between|space-around","ruby-merge":"separate|collapse|auto","ruby-overhang":"auto|none","ruby-position":"[alternate||[over|under]]|inter-character",rx:"<length>|<percentage>",ry:"<length>|<percentage>",scale:"none|[<number>|<percentage>]{1,3}","scroll-behavior":"auto|smooth","scroll-initial-target":"none|nearest","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-end":"<length>","scroll-margin-block-start":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-end":"<length>","scroll-margin-inline-start":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-marker-group":"none|before|after","scroll-padding":"[auto|<length-percentage>]{1,4}","scroll-padding-block":"[auto|<length-percentage>]{1,2}","scroll-padding-block-end":"auto|<length-percentage>","scroll-padding-block-start":"auto|<length-percentage>","scroll-padding-bottom":"auto|<length-percentage>","scroll-padding-inline":"[auto|<length-percentage>]{1,2}","scroll-padding-inline-end":"auto|<length-percentage>","scroll-padding-inline-start":"auto|<length-percentage>","scroll-padding-left":"auto|<length-percentage>","scroll-padding-right":"auto|<length-percentage>","scroll-padding-top":"auto|<length-percentage>","scroll-snap-align":"[none|start|end|center]{1,2}","scroll-snap-coordinate":"none|<position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none|repeat( <length-percentage> )","scroll-snap-points-y":"none|repeat( <length-percentage> )","scroll-snap-stop":"normal|always","scroll-snap-type":"none|[x|y|block|inline|both] [mandatory|proximity]?","scroll-snap-type-x":"none|mandatory|proximity","scroll-snap-type-y":"none|mandatory|proximity","scroll-target-group":"none|auto","scroll-timeline":"[<'scroll-timeline-name'> <'scroll-timeline-axis'>?]#","scroll-timeline-axis":"[block|inline|x|y]#","scroll-timeline-name":"[none|<dashed-ident>]#","scrollbar-color":"auto|<color>{2}","scrollbar-gutter":"auto|stable&&both-edges?","scrollbar-width":"auto|thin|none","shape-image-threshold":"<opacity-value>","shape-margin":"<length-percentage>","shape-outside":"none|[<shape-box>||<basic-shape>]|<image>","shape-rendering":"auto|optimizeSpeed|crispEdges|geometricPrecision","speak-as":"normal|spell-out||digits||[literal-punctuation|no-punctuation]","stop-color":"<'color'>","stop-opacity":"<'opacity'>",stroke:"<paint>","stroke-color":"<color>","stroke-dasharray":"none|[<svg-length>+]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt|round|square","stroke-linejoin":"miter|round|bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<'opacity'>","stroke-width":"<svg-length>","tab-size":"<integer>|<length>","table-layout":"auto|fixed","text-align":"start|end|left|right|center|justify|match-parent","text-align-last":"auto|start|end|left|right|center|justify","text-anchor":"start|middle|end","text-autospace":"normal|<autospace>|auto","text-box":"normal|<'text-box-trim'>||<'text-box-edge'>","text-box-edge":"auto|<text-edge>","text-box-trim":"none|trim-start|trim-end|trim-both","text-combine-upright":"none|all|[digits <integer>?]","text-decoration":"<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>","text-decoration-color":"<color>","text-decoration-inset":"<length>{1,2}|auto","text-decoration-line":"none|[underline||overline||line-through||blink]|spelling-error|grammar-error","text-decoration-skip":"none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]","text-decoration-skip-ink":"auto|all|none","text-decoration-style":"solid|double|dotted|dashed|wavy","text-decoration-thickness":"auto|from-font|<length>|<percentage>","text-emphasis":"<'text-emphasis-style'>||<'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"auto|[over|under]&&[right|left]?","text-emphasis-style":"none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>","text-indent":"<length-percentage>&&hanging?&&each-line?","text-justify":"auto|inter-character|inter-word|none","text-orientation":"mixed|upright|sideways","text-overflow":"[clip|ellipsis|<string>]{1,2}","text-rendering":"auto|optimizeSpeed|optimizeLegibility|geometricPrecision","text-shadow":"none|<shadow-t>#","text-size-adjust":"none|auto|<percentage>","text-spacing-trim":"space-all|normal|space-first|trim-start","text-transform":"none|[capitalize|uppercase|lowercase]||full-width||full-size-kana|math-auto","text-underline-offset":"auto|<length>|<percentage>","text-underline-position":"auto|from-font|[under||[left|right]]","text-wrap":"<'text-wrap-mode'>||<'text-wrap-style'>","text-wrap-mode":"wrap|nowrap","text-wrap-style":"auto|balance|stable|pretty","timeline-scope":"none|<dashed-ident>#","timeline-trigger":"none|[<'timeline-trigger-name'> <'timeline-trigger-source'> <'timeline-trigger-range'> ['/' <'timeline-trigger-exit-range'>]?]#","timeline-trigger-name":"none|<dashed-ident>#","timeline-trigger-exit-range":"[<'timeline-trigger-exit-range-start'> <'timeline-trigger-exit-range-end'>?]#","timeline-trigger-exit-range-end":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-exit-range-start":"[auto|normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range":"[<'timeline-trigger-range-start'> <'timeline-trigger-range-end'>?]#","timeline-trigger-range-end":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-range-start":"[normal|<length-percentage>|<timeline-range-name> <length-percentage>?]#","timeline-trigger-source":"<single-animation-timeline>#",top:"auto|<length-percentage>|<anchor()>|<anchor-size()>","touch-action":"auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation",transform:"none|<transform-list>","transform-box":"content-box|border-box|fill-box|stroke-box|view-box","transform-origin":"[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?","transform-style":"flat|preserve-3d",transition:"<single-transition>#","transition-behavior":"<transition-behavior-value>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none|<single-transition-property>#","transition-timing-function":"<easing-function>#",translate:"none|<length-percentage> [<length-percentage> <length>?]?","trigger-scope":"none|all|<dashed-ident>#","unicode-bidi":"normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext","user-select":"auto|text|none|all","vector-effect":"none|non-scaling-stroke|non-scaling-size|non-rotation|fixed-position","vertical-align":"baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>","view-timeline":"[<'view-timeline-name'> [<'view-timeline-axis'>||<'view-timeline-inset'>]?]#","view-timeline-axis":"[block|inline|x|y]#","view-timeline-inset":"[[auto|<length-percentage>]{1,2}]#","view-timeline-name":"[none|<dashed-ident>]#","view-transition-class":"none|<custom-ident>+","view-transition-name":"none|<custom-ident>|match-element",visibility:"visible|hidden|collapse","white-space":"normal|pre|pre-wrap|pre-line|<'white-space-collapse'>||<'text-wrap-mode'>","white-space-collapse":"collapse|preserve|preserve-breaks|preserve-spaces|break-spaces",widows:"<integer>",width:"auto|<length-percentage [0,∞]>|min-content|max-content|fit-content|fit-content( <length-percentage [0,∞]> )|<calc-size()>|<anchor-size()>|stretch|<-non-standard-size>","will-change":"auto|<animateable-feature>#","word-break":"normal|break-all|keep-all|break-word|auto-phrase","word-spacing":"normal|<length>","word-wrap":"normal|break-word","writing-mode":"horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>",x:"<length>|<percentage>",y:"<length>|<percentage>","z-index":"auto|<integer>",zoom:"normal|reset|<number [0,∞]>||<percentage [0,∞]>","-moz-background-clip":"padding|border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-control-character-visibility":"visible|hidden","-moz-osx-font-smoothing":"auto|grayscale","-moz-user-select":"none|text|all|-moz-none","-ms-flex-align":"start|end|center|baseline|stretch","-ms-flex-item-align":"auto|start|end|center|baseline|stretch","-ms-flex-line-pack":"start|end|center|justify|distribute|stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start|end|center|justify|distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor|bicubic","-ms-grid-column-align":"start|end|center|stretch","-ms-grid-row-align":"start|end|center|stretch","-ms-hyphenate-limit-last":"none|always|column|page|spread","-webkit-background-clip":"[<visual-box>|border|padding|content|text]#","-webkit-column-break-after":"always|auto|avoid","-webkit-column-break-before":"always|auto|avoid","-webkit-column-break-inside":"always|auto|avoid","-webkit-font-smoothing":"auto|none|antialiased|subpixel-antialiased","-webkit-mask-box-image":"[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?","-webkit-print-color-adjust":"economy|exact","-webkit-text-security":"none|circle|disc|square","-webkit-user-drag":"none|element|auto",behavior:"<url>+",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>?|none","cue-before":"<url> <decibel>?|none","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto|<svg-length>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time>|none|x-weak|weak|medium|strong|x-strong","pause-before":"<time>|none|x-weak|weak|medium|strong|x-strong","position-try-options":"<'position-try-fallbacks'>",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time>|none|x-weak|weak|medium|strong|x-strong","rest-before":"<time>|none|x-weak|weak|medium|strong|x-strong",speak:"auto|never|always","voice-balance":"<number>|left|center|right|leftwards|rightwards","voice-duration":"auto|<time>","voice-family":"[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve","voice-pitch":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-range":"<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]","voice-rate":"[normal|x-slow|slow|medium|fast|x-fast]||<percentage>","voice-stress":"normal|strong|moderate|none|reduced","voice-volume":"silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]","white-space-trim":"none|discard-before||discard-after||discard-inner"},atrules:{charset:{prelude:"<string>",descriptors:null},"counter-style":{prelude:"<counter-style-name>",descriptors:{"additive-symbols":"[<integer [0,∞]>&&<symbol>]#",fallback:"<counter-style-name>",negative:"<symbol> <symbol>?",pad:"<integer [0,∞]>&&<symbol>",prefix:"<symbol>",range:"[[<integer>|infinite]{2}]#|auto","speak-as":"auto|bullets|numbers|words|spell-out|<counter-style-name>",suffix:"<symbol>",symbols:"<symbol>+",system:"cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]"}},container:{prelude:"[<container-name>]? <container-condition>",descriptors:null},document:{prelude:"[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#",descriptors:null},"font-face":{prelude:null,descriptors:{"ascent-override":"normal|<percentage>","descent-override":"normal|<percentage>","font-display":"auto|block|swap|fallback|optional","font-family":"<family-name>","font-feature-settings":"normal|<feature-tag-value>#","font-stretch":"<font-stretch-absolute>{1,2}","font-style":"normal|italic|oblique <angle>{0,2}","font-variation-settings":"normal|[<string> <number>]#","font-weight":"<font-weight-absolute>{1,2}","line-gap-override":"normal|<percentage>","size-adjust":"<percentage>",src:"[<url> [format( <string># )]?|local( <family-name> )]#","unicode-range":"<urange>#"}},"font-feature-values":{prelude:"<family-name>#",descriptors:null},"font-palette-values":{prelude:"<dashed-ident>",descriptors:{"base-palette":"light|dark|<integer [0,∞]>","font-family":"<family-name>#","override-colors":"[<integer [0,∞]> <color>]#"}},import:{prelude:"[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?",descriptors:null},keyframes:{prelude:"<keyframes-name>",descriptors:null},layer:{prelude:"[<layer-name>#|<layer-name>?]",descriptors:null},media:{prelude:"<media-query-list>",descriptors:null},namespace:{prelude:"<namespace-prefix>? [<string>|<url>]",descriptors:null},page:{prelude:"<page-selector-list>",descriptors:{bleed:"auto|<length>",marks:"none|[crop||cross]","page-orientation":"upright|rotate-left|rotate-right",size:"<length [0,∞]>{1,2}|auto|[<page-size>||[portrait|landscape]]"}},"position-try":{prelude:"<dashed-ident>",descriptors:{top:"<'top'>",left:"<'left'>",bottom:"<'bottom'>",right:"<'right'>","inset-block-start":"<'inset-block-start'>","inset-block-end":"<'inset-block-end'>","inset-inline-start":"<'inset-inline-start'>","inset-inline-end":"<'inset-inline-end'>","inset-block":"<'inset-block'>","inset-inline":"<'inset-inline'>",inset:"<'inset'>","margin-top":"<'margin-top'>","margin-left":"<'margin-left'>","margin-bottom":"<'margin-bottom'>","margin-right":"<'margin-right'>","margin-block-start":"<'margin-block-start'>","margin-block-end":"<'margin-block-end'>","margin-inline-start":"<'margin-inline-start'>","margin-inline-end":"<'margin-inline-end'>",margin:"<'margin'>","margin-block":"<'margin-block'>","margin-inline":"<'margin-inline'>",width:"<'width'>",height:"<'height'>","min-width":"<'min-width'>","min-height":"<'min-height'>","max-width":"<'max-width'>","max-height":"<'max-height'>","block-size":"<'block-size'>","inline-size":"<'inline-size'>","min-block-size":"<'min-block-size'>","min-inline-size":"<'min-inline-size'>","max-block-size":"<'max-block-size'>","max-inline-size":"<'max-inline-size'>","align-self":"<'align-self'>|anchor-center","justify-self":"<'justify-self'>|anchor-center"}},property:{prelude:"<custom-property-name>",descriptors:{inherits:"true|false","initial-value":"<declaration-value>?",syntax:"<string>"}},scope:{prelude:"[( <scope-start> )]? [to ( <scope-end> )]?",descriptors:null},"starting-style":{prelude:null,descriptors:null},supports:{prelude:"<supports-condition>",descriptors:null},"view-transition":{prelude:null,descriptors:{navigation:"auto|none",types:"none|<custom-ident>+"}},"font-features-values":{prelude:"[<string>|<custom-ident>]+",descriptors:{"font-display":"auto|block|swap|fallback|optional"}}}},Zr=43,nr=45,Ac=110,wi=!0,wG=!1;function Rc(e,t){let n=this.tokenStart+e;const r=this.charCodeAt(n);for((r===Zr||r===nr)&&(t&&this.error("Number sign is not allowed"),n++);n<this.tokenEnd;n++)un(this.charCodeAt(n))||this.error("Integer is expected",n)}function ys(e){return Rc.call(this,0,e)}function Go(e,t){if(!this.cmpChar(this.tokenStart+e,t)){let n="";switch(t){case Ac:n="N is expected";break;case nr:n="HyphenMinus is expected";break}this.error(n,this.tokenStart+e)}}function ip(){let e=0,t=0,n=this.tokenType;for(;n===Ft||n===fn;)n=this.lookupType(++e);if(n!==Ie)if(this.isDelim(Zr,e)||this.isDelim(nr,e)){t=this.isDelim(Zr,e)?Zr:nr;do n=this.lookupType(++e);while(n===Ft||n===fn);n!==Ie&&(this.skip(e),ys.call(this,wi))}else return null;return e>0&&this.skip(e),t===0&&(n=this.charCodeAt(this.tokenStart),n!==Zr&&n!==nr&&this.error("Number sign is expected")),ys.call(this,t!==0),t===nr?"-"+this.consume(Ie):this.consume(Ie)}const EG="AnPlusB",SG={a:[String,null],b:[String,null]};function rk(){const e=this.tokenStart;let t=null,n=null;if(this.tokenType===Ie)ys.call(this,wG),n=this.consume(Ie);else if(this.tokenType===de&&this.cmpChar(this.tokenStart,nr))switch(t="-1",Go.call(this,1,Ac),this.tokenEnd-this.tokenStart){case 2:this.next(),n=ip.call(this);break;case 3:Go.call(this,2,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie);break;default:Go.call(this,2,nr),Rc.call(this,3,wi),this.next(),n=this.substrToCursor(e+2)}else if(this.tokenType===de||this.isDelim(Zr)&&this.lookupType(1)===de){let r=0;switch(t="1",this.isDelim(Zr)&&(r=1,this.next()),Go.call(this,0,Ac),this.tokenEnd-this.tokenStart){case 1:this.next(),n=ip.call(this);break;case 2:Go.call(this,1,nr),this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie);break;default:Go.call(this,1,nr),Rc.call(this,2,wi),this.next(),n=this.substrToCursor(e+r+1)}}else if(this.tokenType===qe){const r=this.charCodeAt(this.tokenStart),o=r===Zr||r===nr;let s=this.tokenStart+o;for(;s<this.tokenEnd&&un(this.charCodeAt(s));s++);s===this.tokenStart+o&&this.error("Integer is expected",this.tokenStart+o),Go.call(this,s-this.tokenStart,Ac),t=this.substring(e,s),s+1===this.tokenEnd?(this.next(),n=ip.call(this)):(Go.call(this,s-this.tokenStart+1,nr),s+2===this.tokenEnd?(this.next(),this.skipSC(),ys.call(this,wi),n="-"+this.consume(Ie)):(Rc.call(this,s-this.tokenStart+2,wi),this.next(),n=this.substrToCursor(s+1)))}else this.error();return t!==null&&t.charCodeAt(0)===Zr&&(t=t.substr(1)),n!==null&&n.charCodeAt(0)===Zr&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.tokenStart),a:t,b:n}}function CG(e){if(e.a){const t=e.a==="+1"&&"n"||e.a==="1"&&"n"||e.a==="-1"&&"-n"||e.a+"n";if(e.b){const n=e.b[0]==="-"||e.b[0]==="+"?e.b:"+"+e.b;this.tokenize(t+n)}else this.tokenize(t)}else this.tokenize(e.b)}const kG=Object.freeze(Object.defineProperty({__proto__:null,generate:CG,name:EG,parse:rk,structure:SG},Symbol.toStringTag,{value:"Module"}));function lw(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function TG(){for(let e=1,t;t=this.lookupType(e);e++){if(t===sr)return!0;if(t===nn||t===Wt)return!1}return!1}const xG="Atrule",OG="atrule",AG={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]};function ok(e=!1){const t=this.tokenStart;let n,r,o=null,s=null;switch(this.eat(Wt),n=this.substrToCursor(t+1),r=n.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==nn&&this.tokenType!==Cn&&(this.parseAtrulePrelude?o=this.parseWithFallback(this.AtrulePrelude.bind(this,n,e),lw):o=lw.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case Cn:this.next();break;case nn:hasOwnProperty.call(this.atrule,r)&&typeof this.atrule[r].block=="function"?s=this.atrule[r].block.call(this,e):s=this.Block(TG.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:n,prelude:o,block:s}}function RG(e){this.token(Wt,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(Cn,";")}const PG=Object.freeze(Object.defineProperty({__proto__:null,generate:RG,name:xG,parse:ok,structure:AG,walkContext:OG},Symbol.toStringTag,{value:"Module"})),LG="AtrulePrelude",IG="atrulePrelude",MG={children:[[]]};function ik(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==nn&&this.tokenType!==Cn&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function NG(e){this.children(e)}const DG=Object.freeze(Object.defineProperty({__proto__:null,generate:NG,name:LG,parse:ik,structure:MG,walkContext:IG},Symbol.toStringTag,{value:"Module"})),FG=36,sk=42,Pc=61,$G=94,uh=124,jG=126;function UG(){this.eof&&this.error("Unexpected end of input");const e=this.tokenStart;let t=!1;return this.isDelim(sk)?(t=!0,this.next()):this.isDelim(uh)||this.eat(de),this.isDelim(uh)?this.charCodeAt(this.tokenStart+1)!==Pc?(this.next(),this.eat(de)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function zG(){const e=this.tokenStart,t=this.charCodeAt(e);return t!==Pc&&t!==jG&&t!==$G&&t!==FG&&t!==sk&&t!==uh&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==Pc&&(this.isDelim(Pc)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}const BG="AttributeSelector",WG={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]};function ak(){const e=this.tokenStart;let t,n=null,r=null,o=null;return this.eat(lr),this.skipSC(),t=UG.call(this),this.skipSC(),this.tokenType!==wr&&(this.tokenType!==de&&(n=zG.call(this),this.skipSC(),r=this.tokenType===Br?this.String():this.Identifier(),this.skipSC()),this.tokenType===de&&(o=this.consume(de),this.skipSC())),this.eat(wr),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:n,value:r,flags:o}}function HG(e){this.token(Ye,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(de,e.flags),this.token(Ye,"]")}const VG=Object.freeze(Object.defineProperty({__proto__:null,generate:HG,name:BG,parse:ak,structure:WG},Symbol.toStringTag,{value:"Module"})),GG=38;function lk(){return this.Raw(null,!0)}function cw(){return this.parseWithFallback(this.Rule,lk)}function uw(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function KG(){if(this.tokenType===Cn)return uw.call(this,this.tokenIndex);const e=this.parseWithFallback(this.Declaration,uw);return this.tokenType===Cn&&this.next(),e}const qG="Block",YG="block",XG={children:[["Atrule","Rule","Declaration"]]};function ck(e){const t=e?KG:cw,n=this.tokenStart;let r=this.createList();this.eat(nn);e:for(;!this.eof;)switch(this.tokenType){case sr:break e;case Ft:case fn:this.next();break;case Wt:r.push(this.parseWithFallback(this.Atrule.bind(this,e),lk));break;default:e&&this.isDelim(GG)?r.push(cw.call(this)):r.push(t.call(this))}return this.eof||this.eat(sr),{type:"Block",loc:this.getLocation(n,this.tokenStart),children:r}}function JG(e){this.token(nn,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")}),this.token(sr,"}")}const QG=Object.freeze(Object.defineProperty({__proto__:null,generate:JG,name:qG,parse:ck,structure:XG,walkContext:YG},Symbol.toStringTag,{value:"Module"})),ZG="Brackets",e4={children:[[]]};function uk(e,t){const n=this.tokenStart;let r=null;return this.eat(lr),r=e.call(this,t),this.eof||this.eat(wr),{type:"Brackets",loc:this.getLocation(n,this.tokenStart),children:r}}function t4(e){this.token(Ye,"["),this.children(e),this.token(Ye,"]")}const n4=Object.freeze(Object.defineProperty({__proto__:null,generate:t4,name:ZG,parse:uk,structure:e4},Symbol.toStringTag,{value:"Module"})),r4="CDC",o4=[];function fk(){const e=this.tokenStart;return this.eat(zn),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function i4(){this.token(zn,"-->")}const s4=Object.freeze(Object.defineProperty({__proto__:null,generate:i4,name:r4,parse:fk,structure:o4},Symbol.toStringTag,{value:"Module"})),a4="CDO",l4=[];function dk(){const e=this.tokenStart;return this.eat(nl),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function c4(){this.token(nl,"<!--")}const u4=Object.freeze(Object.defineProperty({__proto__:null,generate:c4,name:a4,parse:dk,structure:l4},Symbol.toStringTag,{value:"Module"})),f4=46,d4="ClassSelector",p4={name:String};function pk(){return this.eatDelim(f4),{type:"ClassSelector",loc:this.getLocation(this.tokenStart-1,this.tokenEnd),name:this.consume(de)}}function h4(e){this.token(Ye,"."),this.token(de,e.name)}const m4=Object.freeze(Object.defineProperty({__proto__:null,generate:h4,name:d4,parse:pk,structure:p4},Symbol.toStringTag,{value:"Module"})),g4=43,fw=47,y4=62,b4=126,_4="Combinator",v4={name:String};function hk(){const e=this.tokenStart;let t;switch(this.tokenType){case Ft:t=" ";break;case Ye:switch(this.charCodeAt(this.tokenStart)){case y4:case g4:case b4:this.next();break;case fw:this.next(),this.eatIdent("deep"),this.eatDelim(fw);break;default:this.error("Combinator is expected")}t=this.substrToCursor(e);break}return{type:"Combinator",loc:this.getLocation(e,this.tokenStart),name:t}}function w4(e){this.tokenize(e.name)}const E4=Object.freeze(Object.defineProperty({__proto__:null,generate:w4,name:_4,parse:hk,structure:v4},Symbol.toStringTag,{value:"Module"})),S4=42,C4=47,k4="Comment",T4={value:String};function mk(){const e=this.tokenStart;let t=this.tokenEnd;return this.eat(fn),t-e+2>=2&&this.charCodeAt(t-2)===S4&&this.charCodeAt(t-1)===C4&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.tokenStart),value:this.substring(e+2,t)}}function x4(e){this.token(fn,"/*"+e.value+"*/")}const O4=Object.freeze(Object.defineProperty({__proto__:null,generate:x4,name:k4,parse:mk,structure:T4},Symbol.toStringTag,{value:"Module"})),A4=new Set([Sn,Pe,Qo]),R4="Condition",P4={kind:String,children:[["Identifier","Feature","FeatureFunction","FeatureRange","SupportsDeclaration"]]};function dw(e){return this.lookupTypeNonSC(1)===de&&A4.has(this.lookupTypeNonSC(2))?this.Feature(e):this.FeatureRange(e)}const L4={media:dw,container:dw,supports(){return this.SupportsDeclaration()}};function gk(e="media"){const t=this.createList();e:for(;!this.eof;)switch(this.tokenType){case fn:case Ft:this.next();continue;case de:t.push(this.Identifier());break;case it:{let n=this.parseWithFallback(()=>L4[e].call(this,e),()=>null);n||(n=this.parseWithFallback(()=>{this.eat(it);const r=this.Condition(e);return this.eat(Pe),r},()=>this.GeneralEnclosed(e))),t.push(n);break}case Fe:{let n=this.parseWithFallback(()=>this.FeatureFunction(e),()=>null);n||(n=this.GeneralEnclosed(e)),t.push(n);break}default:break e}return t.isEmpty&&this.error("Condition is expected"),{type:"Condition",loc:this.getLocationFromList(t),kind:e,children:t}}function I4(e){e.children.forEach(t=>{t.type==="Condition"?(this.token(it,"("),this.node(t),this.token(Pe,")")):this.node(t)})}const M4=Object.freeze(Object.defineProperty({__proto__:null,generate:I4,name:R4,parse:gk,structure:P4},Symbol.toStringTag,{value:"Module"})),yk=33,N4=35,D4=36,F4=38,$4=42,j4=43,pw=47;function U4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!0)}function z4(){return this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1)}function B4(){const e=this.tokenIndex,t=this.Value();return t.type!=="Raw"&&this.eof===!1&&this.tokenType!==Cn&&this.isDelim(yk)===!1&&this.isBalanceEdge(e)===!1&&this.error(),t}const W4="Declaration",H4="declaration",V4={important:[Boolean,String],property:String,value:["Value","Raw"]};function bk(){const e=this.tokenStart,t=this.tokenIndex,n=K4.call(this),r=am(n),o=r?this.parseCustomProperty:this.parseValue,s=r?z4:U4;let a=!1,c;this.skipSC(),this.eat(Sn);const u=this.tokenIndex;if(r||this.skipSC(),o?c=this.parseWithFallback(B4,s):c=s.call(this,this.tokenIndex),r&&c.type==="Value"&&c.children.isEmpty){for(let f=u-this.tokenIndex;f<=0;f++)if(this.lookupType(f)===Ft){c.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.isDelim(yk)&&(a=q4.call(this),this.skipSC()),this.eof===!1&&this.tokenType!==Cn&&this.isBalanceEdge(t)===!1&&this.error(),{type:"Declaration",loc:this.getLocation(e,this.tokenStart),important:a,property:n,value:c}}function G4(e){this.token(de,e.property),this.token(Sn,":"),this.node(e.value),e.important&&(this.token(Ye,"!"),this.token(de,e.important===!0?"important":e.important))}function K4(){const e=this.tokenStart;if(this.tokenType===Ye)switch(this.charCodeAt(this.tokenStart)){case $4:case D4:case j4:case N4:case F4:this.next();break;case pw:this.next(),this.isDelim(pw)&&this.next();break}return this.tokenType===kt?this.eat(kt):this.eat(de),this.substrToCursor(e)}function q4(){this.eat(Ye),this.skipSC();const e=this.consume(de);return e==="important"?!0:e}const Y4=Object.freeze(Object.defineProperty({__proto__:null,generate:G4,name:W4,parse:bk,structure:V4,walkContext:H4},Symbol.toStringTag,{value:"Module"})),X4=38;function sp(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}const J4="DeclarationList",Q4={children:[["Declaration","Atrule","Rule"]]};function _k(){const e=this.createList();for(;!this.eof;)switch(this.tokenType){case Ft:case fn:case Cn:this.next();break;case Wt:e.push(this.parseWithFallback(this.Atrule.bind(this,!0),sp));break;default:this.isDelim(X4)?e.push(this.parseWithFallback(this.Rule,sp)):e.push(this.parseWithFallback(this.Declaration,sp))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}}function Z4(e){this.children(e,t=>{t.type==="Declaration"&&this.token(Cn,";")})}const eK=Object.freeze(Object.defineProperty({__proto__:null,generate:Z4,name:J4,parse:_k,structure:Q4},Symbol.toStringTag,{value:"Module"})),tK="Dimension",nK={value:String,unit:String};function vk(){const e=this.tokenStart,t=this.consumeNumber(qe);return{type:"Dimension",loc:this.getLocation(e,this.tokenStart),value:t,unit:this.substring(e+t.length,this.tokenStart)}}function rK(e){this.token(qe,e.value+e.unit)}const oK=Object.freeze(Object.defineProperty({__proto__:null,generate:rK,name:tK,parse:vk,structure:nK},Symbol.toStringTag,{value:"Module"})),iK=47,sK="Feature",aK={kind:String,name:String,value:["Identifier","Number","Dimension","Ratio","Function",null]};function wk(e){const t=this.tokenStart;let n,r=null;if(this.eat(it),this.skipSC(),n=this.consume(de),this.skipSC(),this.tokenType!==Pe){switch(this.eat(Sn),this.skipSC(),this.tokenType){case Ie:this.lookupNonWSType(1)===Ye?r=this.Ratio():r=this.Number();break;case qe:r=this.Dimension();break;case de:r=this.Identifier();break;case Fe:r=this.parseWithFallback(()=>{const o=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(iK)&&this.error(),o},()=>this.Ratio());break;default:this.error("Number, dimension, ratio or identifier is expected")}this.skipSC()}return this.eof||this.eat(Pe),{type:"Feature",loc:this.getLocation(t,this.tokenStart),kind:e,name:n,value:r}}function lK(e){this.token(it,"("),this.token(de,e.name),e.value!==null&&(this.token(Sn,":"),this.node(e.value)),this.token(Pe,")")}const cK=Object.freeze(Object.defineProperty({__proto__:null,generate:lK,name:sK,parse:wk,structure:aK},Symbol.toStringTag,{value:"Module"})),uK="FeatureFunction",fK={kind:String,feature:String,value:["Declaration","Selector"]};function dK(e,t){const r=(this.features[e]||{})[t];return typeof r!="function"&&this.error(`Unknown feature ${t}()`),r}function Ek(e="unknown"){const t=this.tokenStart,n=this.consumeFunctionName(),r=dK.call(this,e,n.toLowerCase());this.skipSC();const o=this.parseWithFallback(()=>{const s=this.tokenIndex,a=r.call(this);return this.eof===!1&&this.isBalanceEdge(s)===!1&&this.error(),a},()=>this.Raw(null,!1));return this.eof||this.eat(Pe),{type:"FeatureFunction",loc:this.getLocation(t,this.tokenStart),kind:e,feature:n,value:o}}function pK(e){this.token(Fe,e.feature+"("),this.node(e.value),this.token(Pe,")")}const hK=Object.freeze(Object.defineProperty({__proto__:null,generate:pK,name:uK,parse:Ek,structure:fK},Symbol.toStringTag,{value:"Module"})),hw=47,mK=60,mw=61,gK=62,yK="FeatureRange",bK={kind:String,left:["Identifier","Number","Dimension","Ratio","Function"],leftComparison:String,middle:["Identifier","Number","Dimension","Ratio","Function"],rightComparison:[String,null],right:["Identifier","Number","Dimension","Ratio","Function",null]};function ap(){switch(this.skipSC(),this.tokenType){case Ie:return this.isDelim(hw,this.lookupOffsetNonSC(1))?this.Ratio():this.Number();case qe:return this.Dimension();case de:return this.Identifier();case Fe:return this.parseWithFallback(()=>{const e=this.Function(this.readSequence,this.scope.Value);return this.skipSC(),this.isDelim(hw)&&this.error(),e},()=>this.Ratio());default:this.error("Number, dimension, ratio or identifier is expected")}}function gw(e){if(this.skipSC(),this.isDelim(mK)||this.isDelim(gK)){const t=this.source[this.tokenStart];return this.next(),this.isDelim(mw)?(this.next(),t+"="):t}if(this.isDelim(mw))return"=";this.error(`Expected ${e?'":", ':""}"<", ">", "=" or ")"`)}function Sk(e="unknown"){const t=this.tokenStart;this.skipSC(),this.eat(it);const n=ap.call(this),r=gw.call(this,n.type==="Identifier"),o=ap.call(this);let s=null,a=null;return this.lookupNonWSType(0)!==Pe&&(s=gw.call(this),a=ap.call(this)),this.skipSC(),this.eat(Pe),{type:"FeatureRange",loc:this.getLocation(t,this.tokenStart),kind:e,left:n,leftComparison:r,middle:o,rightComparison:s,right:a}}function _K(e){this.token(it,"("),this.node(e.left),this.tokenize(e.leftComparison),this.node(e.middle),e.right&&(this.tokenize(e.rightComparison),this.node(e.right)),this.token(Pe,")")}const vK=Object.freeze(Object.defineProperty({__proto__:null,generate:_K,name:yK,parse:Sk,structure:bK},Symbol.toStringTag,{value:"Module"})),wK="Function",EK="function",SK={name:String,children:[[]]};function Ck(e,t){const n=this.tokenStart,r=this.consumeFunctionName(),o=r.toLowerCase();let s;return s=t.hasOwnProperty(o)?t[o].call(this,t):e.call(this,t),this.eof||this.eat(Pe),{type:"Function",loc:this.getLocation(n,this.tokenStart),name:r,children:s}}function CK(e){this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")")}const kK=Object.freeze(Object.defineProperty({__proto__:null,generate:CK,name:wK,parse:Ck,structure:SK,walkContext:EK},Symbol.toStringTag,{value:"Module"})),TK="GeneralEnclosed",xK={kind:String,function:[String,null],children:[[]]};function kk(e){const t=this.tokenStart;let n=null;this.tokenType===Fe?n=this.consumeFunctionName():this.eat(it);const r=this.parseWithFallback(()=>{const o=this.tokenIndex,s=this.readSequence(this.scope.Value);return this.eof===!1&&this.isBalanceEdge(o)===!1&&this.error(),s},()=>this.createSingleNodeList(this.Raw(null,!1)));return this.eof||this.eat(Pe),{type:"GeneralEnclosed",loc:this.getLocation(t,this.tokenStart),kind:e,function:n,children:r}}function OK(e){e.function?this.token(Fe,e.function+"("):this.token(it,"("),this.children(e),this.token(Pe,")")}const AK=Object.freeze(Object.defineProperty({__proto__:null,generate:OK,name:TK,parse:kk,structure:xK},Symbol.toStringTag,{value:"Module"})),RK="XXX",PK="Hash",LK={value:String};function Tk(){const e=this.tokenStart;return this.eat(kt),{type:"Hash",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e+1)}}function IK(e){this.token(kt,"#"+e.value)}const MK=Object.freeze(Object.defineProperty({__proto__:null,generate:IK,name:PK,parse:Tk,structure:LK,xxx:RK},Symbol.toStringTag,{value:"Module"})),NK="Identifier",DK={name:String};function xk(){return{type:"Identifier",loc:this.getLocation(this.tokenStart,this.tokenEnd),name:this.consume(de)}}function FK(e){this.token(de,e.name)}const $K=Object.freeze(Object.defineProperty({__proto__:null,generate:FK,name:NK,parse:xk,structure:DK},Symbol.toStringTag,{value:"Module"})),jK="IdSelector",UK={name:String};function Ok(){const e=this.tokenStart;return this.eat(kt),{type:"IdSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e+1)}}function zK(e){this.token(Ye,"#"+e.name)}const BK=Object.freeze(Object.defineProperty({__proto__:null,generate:zK,name:jK,parse:Ok,structure:UK},Symbol.toStringTag,{value:"Module"})),WK=46,HK="Layer",VK={name:String};function Ak(){let e=this.tokenStart,t=this.consume(de);for(;this.isDelim(WK);)this.eat(Ye),t+="."+this.consume(de);return{type:"Layer",loc:this.getLocation(e,this.tokenStart),name:t}}function GK(e){this.tokenize(e.name)}const KK=Object.freeze(Object.defineProperty({__proto__:null,generate:GK,name:HK,parse:Ak,structure:VK},Symbol.toStringTag,{value:"Module"})),qK="LayerList",YK={children:[["Layer"]]};function Rk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.Layer()),this.lookupTypeNonSC(0)===Kn);)this.skipSC(),this.next(),this.skipSC();return{type:"LayerList",loc:this.getLocationFromList(e),children:e}}function XK(e){this.children(e,()=>this.token(Kn,","))}const JK=Object.freeze(Object.defineProperty({__proto__:null,generate:XK,name:qK,parse:Rk,structure:YK},Symbol.toStringTag,{value:"Module"})),QK="MediaQuery",ZK={modifier:[String,null],mediaType:[String,null],condition:["Condition",null]};function Pk(){const e=this.tokenStart;let t=null,n=null,r=null;if(this.skipSC(),this.tokenType===de&&this.lookupTypeNonSC(1)!==it){const o=this.consume(de),s=o.toLowerCase();switch(s==="not"||s==="only"?(this.skipSC(),t=s,n=this.consume(de)):n=o,this.lookupTypeNonSC(0)){case de:{this.skipSC(),this.eatIdent("and"),r=this.Condition("media");break}case nn:case Cn:case Kn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}}else switch(this.tokenType){case de:case it:case Fe:{r=this.Condition("media");break}case nn:case Cn:case Qo:break;default:this.error("Identifier or parenthesis is expected")}return{type:"MediaQuery",loc:this.getLocation(e,this.tokenStart),modifier:t,mediaType:n,condition:r}}function eq(e){e.mediaType?(e.modifier&&this.token(de,e.modifier),this.token(de,e.mediaType),e.condition&&(this.token(de,"and"),this.node(e.condition))):e.condition&&this.node(e.condition)}const tq=Object.freeze(Object.defineProperty({__proto__:null,generate:eq,name:QK,parse:Pk,structure:ZK},Symbol.toStringTag,{value:"Module"})),nq="MediaQueryList",rq={children:[["MediaQuery"]]};function Lk(){const e=this.createList();for(this.skipSC();!this.eof&&(e.push(this.MediaQuery()),this.tokenType===Kn);)this.next();return{type:"MediaQueryList",loc:this.getLocationFromList(e),children:e}}function oq(e){this.children(e,()=>this.token(Kn,","))}const iq=Object.freeze(Object.defineProperty({__proto__:null,generate:oq,name:nq,parse:Lk,structure:rq},Symbol.toStringTag,{value:"Module"})),sq=38,aq="NestingSelector",lq={};function Ik(){const e=this.tokenStart;return this.eatDelim(sq),{type:"NestingSelector",loc:this.getLocation(e,this.tokenStart)}}function cq(){this.token(Ye,"&")}const uq=Object.freeze(Object.defineProperty({__proto__:null,generate:cq,name:aq,parse:Ik,structure:lq},Symbol.toStringTag,{value:"Module"})),fq="Nth",dq={nth:["AnPlusB","Identifier"],selector:["SelectorList",null]};function Mk(){this.skipSC();const e=this.tokenStart;let t=e,n=null,r;return this.lookupValue(0,"odd")||this.lookupValue(0,"even")?r=this.Identifier():r=this.AnPlusB(),t=this.tokenStart,this.skipSC(),this.lookupValue(0,"of")&&(this.next(),n=this.SelectorList(),t=this.tokenStart),{type:"Nth",loc:this.getLocation(e,t),nth:r,selector:n}}function pq(e){this.node(e.nth),e.selector!==null&&(this.token(de,"of"),this.node(e.selector))}const hq=Object.freeze(Object.defineProperty({__proto__:null,generate:pq,name:fq,parse:Mk,structure:dq},Symbol.toStringTag,{value:"Module"})),mq="Number",gq={value:String};function Nk(){return{type:"Number",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consume(Ie)}}function yq(e){this.token(Ie,e.value)}const bq=Object.freeze(Object.defineProperty({__proto__:null,generate:yq,name:mq,parse:Nk,structure:gq},Symbol.toStringTag,{value:"Module"})),_q="Operator",vq={value:String};function Dk(){const e=this.tokenStart;return this.next(),{type:"Operator",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function wq(e){this.tokenize(e.value)}const Eq=Object.freeze(Object.defineProperty({__proto__:null,generate:wq,name:_q,parse:Dk,structure:vq},Symbol.toStringTag,{value:"Module"})),Sq="Parentheses",Cq={children:[[]]};function Fk(e,t){const n=this.tokenStart;let r=null;return this.eat(it),r=e.call(this,t),this.eof||this.eat(Pe),{type:"Parentheses",loc:this.getLocation(n,this.tokenStart),children:r}}function kq(e){this.token(it,"("),this.children(e),this.token(Pe,")")}const Tq=Object.freeze(Object.defineProperty({__proto__:null,generate:kq,name:Sq,parse:Fk,structure:Cq},Symbol.toStringTag,{value:"Module"})),xq="Percentage",Oq={value:String};function $k(){return{type:"Percentage",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:this.consumeNumber(Dt)}}function Aq(e){this.token(Dt,e.value+"%")}const Rq=Object.freeze(Object.defineProperty({__proto__:null,generate:Aq,name:xq,parse:$k,structure:Oq},Symbol.toStringTag,{value:"Module"})),Pq="PseudoClassSelector",Lq="function",Iq={name:String,children:[["Raw"],null]};function jk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(de),{type:"PseudoClassSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function Mq(e){this.token(Sn,":"),e.children===null?this.token(de,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const Nq=Object.freeze(Object.defineProperty({__proto__:null,generate:Mq,name:Pq,parse:jk,structure:Iq,walkContext:Lq},Symbol.toStringTag,{value:"Module"})),Dq="PseudoElementSelector",Fq="function",$q={name:String,children:[["Raw"],null]};function Uk(){const e=this.tokenStart;let t=null,n,r;return this.eat(Sn),this.eat(Sn),this.tokenType===Fe?(n=this.consumeFunctionName(),r=n.toLowerCase(),this.lookupNonWSType(0)==Pe?t=this.createList():hasOwnProperty.call(this.pseudo,r)?(this.skipSC(),t=this.pseudo[r].call(this),this.skipSC()):(t=this.createList(),t.push(this.Raw(null,!1))),this.eat(Pe)):n=this.consume(de),{type:"PseudoElementSelector",loc:this.getLocation(e,this.tokenStart),name:n,children:t}}function jq(e){this.token(Sn,":"),this.token(Sn,":"),e.children===null?this.token(de,e.name):(this.token(Fe,e.name+"("),this.children(e),this.token(Pe,")"))}const Uq=Object.freeze(Object.defineProperty({__proto__:null,generate:jq,name:Dq,parse:Uk,structure:$q,walkContext:Fq},Symbol.toStringTag,{value:"Module"})),yw=47;function bw(){switch(this.skipSC(),this.tokenType){case Ie:return this.Number();case Fe:return this.Function(this.readSequence,this.scope.Value);default:this.error("Number of function is expected")}}const zq="Ratio",Bq={left:["Number","Function"],right:["Number","Function",null]};function zk(){const e=this.tokenStart,t=bw.call(this);let n=null;return this.skipSC(),this.isDelim(yw)&&(this.eatDelim(yw),n=bw.call(this)),{type:"Ratio",loc:this.getLocation(e,this.tokenStart),left:t,right:n}}function Wq(e){this.node(e.left),this.token(Ye,"/"),e.right?this.node(e.right):this.node(Ie,1)}const Hq=Object.freeze(Object.defineProperty({__proto__:null,generate:Wq,name:zq,parse:zk,structure:Bq},Symbol.toStringTag,{value:"Module"}));function Vq(){return this.tokenIndex>0&&this.lookupType(-1)===Ft?this.tokenIndex>1?this.getTokenStart(this.tokenIndex-1):this.firstCharOffset:this.tokenStart}const Gq="Raw",Kq={value:String};function Bk(e,t){const n=this.getTokenStart(this.tokenIndex);let r;return this.skipUntilBalanced(this.tokenIndex,e||this.consumeUntilBalanceEnd),t&&this.tokenStart>n?r=Vq.call(this):r=this.tokenStart,{type:"Raw",loc:this.getLocation(n,r),value:this.substring(n,r)}}function qq(e){this.tokenize(e.value)}const Yq=Object.freeze(Object.defineProperty({__proto__:null,generate:qq,name:Gq,parse:Bk,structure:Kq},Symbol.toStringTag,{value:"Module"}));function _w(){return this.Raw(this.consumeUntilLeftCurlyBracket,!0)}function Xq(){const e=this.SelectorList();return e.type!=="Raw"&&this.eof===!1&&this.tokenType!==nn&&this.error(),e}const Jq="Rule",Qq="rule",Zq={prelude:["SelectorList","Raw"],block:["Block"]};function Wk(){const e=this.tokenIndex,t=this.tokenStart;let n,r;return this.parseRulePrelude?n=this.parseWithFallback(Xq,_w):n=_w.call(this,e),r=this.Block(!0),{type:"Rule",loc:this.getLocation(t,this.tokenStart),prelude:n,block:r}}function e8(e){this.node(e.prelude),this.node(e.block)}const t8=Object.freeze(Object.defineProperty({__proto__:null,generate:e8,name:Jq,parse:Wk,structure:Zq,walkContext:Qq},Symbol.toStringTag,{value:"Module"})),n8="Scope",r8={root:["SelectorList","Raw",null],limit:["SelectorList","Raw",null]};function Hk(){let e=null,t=null;this.skipSC();const n=this.tokenStart;return this.tokenType===it&&(this.next(),this.skipSC(),e=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),this.lookupNonWSType(0)===de&&(this.skipSC(),this.eatIdent("to"),this.skipSC(),this.eat(it),this.skipSC(),t=this.parseWithFallback(this.SelectorList,()=>this.Raw(!1,!0)),this.skipSC(),this.eat(Pe)),{type:"Scope",loc:this.getLocation(n,this.tokenStart),root:e,limit:t}}function o8(e){e.root&&(this.token(it,"("),this.node(e.root),this.token(Pe,")")),e.limit&&(this.token(de,"to"),this.token(it,"("),this.node(e.limit),this.token(Pe,")"))}const i8=Object.freeze(Object.defineProperty({__proto__:null,generate:o8,name:n8,parse:Hk,structure:r8},Symbol.toStringTag,{value:"Module"})),s8="Selector",a8={children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator"]]};function Vk(){const e=this.readSequence(this.scope.Selector);return this.getFirstListNode(e)===null&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}}function l8(e){this.children(e)}const c8=Object.freeze(Object.defineProperty({__proto__:null,generate:l8,name:s8,parse:Vk,structure:a8},Symbol.toStringTag,{value:"Module"})),u8="SelectorList",f8="selector",d8={children:[["Selector","Raw"]]};function Gk(){const e=this.createList();for(;!this.eof;){if(e.push(this.Selector()),this.tokenType===Kn){this.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}}function p8(e){this.children(e,()=>this.token(Kn,","))}const h8=Object.freeze(Object.defineProperty({__proto__:null,generate:p8,name:u8,parse:Gk,structure:d8,walkContext:f8},Symbol.toStringTag,{value:"Module"})),fh=92,Kk=34,m8=39;function qk(e){const t=e.length,n=e.charCodeAt(0),r=n===Kk||n===m8?1:0,o=r===1&&t>1&&e.charCodeAt(t-1)===n?t-2:t-1;let s="";for(let a=r;a<=o;a++){let c=e.charCodeAt(a);if(c===fh){if(a===o){a!==t-1&&(s=e.substr(a+1));break}if(c=e.charCodeAt(++a),eo(fh,c)){const u=a-1,f=Ls(e,u);a=f-1,s+=IC(e.substring(u+1,f))}else c===13&&e.charCodeAt(a+1)===10&&a++}else s+=e[a]}return s}function g8(e,t){const r=Kk;let o="",s=!1;for(let a=0;a<e.length;a++){const c=e.charCodeAt(a);if(c===0){o+="�";continue}if(c<=31||c===127){o+="\\"+c.toString(16),s=!0;continue}c===r||c===fh?(o+="\\"+e.charAt(a),s=!1):(s&&(oi(c)||Mi(c))&&(o+=" "),o+=e.charAt(a),s=!1)}return'"'+o+'"'}const y8="String",b8={value:String};function Yk(){return{type:"String",loc:this.getLocation(this.tokenStart,this.tokenEnd),value:qk(this.consume(Br))}}function _8(e){this.token(Br,g8(e.value))}const v8=Object.freeze(Object.defineProperty({__proto__:null,generate:_8,name:y8,parse:Yk,structure:b8},Symbol.toStringTag,{value:"Module"})),w8=33;function vw(){return this.Raw(null,!1)}const E8="StyleSheet",S8="stylesheet",C8={children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]};function Xk(){const e=this.tokenStart,t=this.createList();let n;for(;!this.eof;){switch(this.tokenType){case Ft:this.next();continue;case fn:if(this.charCodeAt(this.tokenStart+2)!==w8){this.next();continue}n=this.Comment();break;case nl:n=this.CDO();break;case zn:n=this.CDC();break;case Wt:n=this.parseWithFallback(this.Atrule,vw);break;default:n=this.parseWithFallback(this.Rule,vw)}t.push(n)}return{type:"StyleSheet",loc:this.getLocation(e,this.tokenStart),children:t}}function k8(e){this.children(e)}const T8=Object.freeze(Object.defineProperty({__proto__:null,generate:k8,name:E8,parse:Xk,structure:C8,walkContext:S8},Symbol.toStringTag,{value:"Module"})),x8="SupportsDeclaration",O8={declaration:"Declaration"};function Jk(){const e=this.tokenStart;this.eat(it),this.skipSC();const t=this.Declaration();return this.eof||this.eat(Pe),{type:"SupportsDeclaration",loc:this.getLocation(e,this.tokenStart),declaration:t}}function A8(e){this.token(it,"("),this.node(e.declaration),this.token(Pe,")")}const R8=Object.freeze(Object.defineProperty({__proto__:null,generate:A8,name:x8,parse:Jk,structure:O8},Symbol.toStringTag,{value:"Module"})),P8=42,ww=124;function lp(){this.tokenType!==de&&this.isDelim(P8)===!1&&this.error("Identifier or asterisk is expected"),this.next()}const L8="TypeSelector",I8={name:String};function Qk(){const e=this.tokenStart;return this.isDelim(ww)?(this.next(),lp.call(this)):(lp.call(this),this.isDelim(ww)&&(this.next(),lp.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function M8(e){this.tokenize(e.name)}const N8=Object.freeze(Object.defineProperty({__proto__:null,generate:M8,name:L8,parse:Qk,structure:I8},Symbol.toStringTag,{value:"Module"})),Zk=43,eT=45,dh=63;function ba(e,t){let n=0;for(let r=this.tokenStart+e;r<this.tokenEnd;r++){const o=this.charCodeAt(r);if(o===eT&&t&&n!==0)return ba.call(this,e+n+1,!1),-1;oi(o)||this.error(t&&n!==0?"Hyphen minus"+(n<6?" or hex digit":"")+" is expected":n<6?"Hex digit is expected":"Unexpected input",r),++n>6&&this.error("Too many hex digits",r)}return this.next(),n}function mc(e){let t=0;for(;this.isDelim(dh);)++t>e&&this.error("Too many question marks"),this.next()}function D8(e){this.charCodeAt(this.tokenStart)!==e&&this.error((e===Zk?"Plus sign":"Hyphen minus")+" is expected")}function F8(){let e=0;switch(this.tokenType){case Ie:if(e=ba.call(this,1,!0),this.isDelim(dh)){mc.call(this,6-e);break}if(this.tokenType===qe||this.tokenType===Ie){D8.call(this,eT),ba.call(this,1,!1);break}break;case qe:e=ba.call(this,1,!0),e>0&&mc.call(this,6-e);break;default:if(this.eatDelim(Zk),this.tokenType===de){e=ba.call(this,0,!0),e>0&&mc.call(this,6-e);break}if(this.isDelim(dh)){this.next(),mc.call(this,5);break}this.error("Hex digit or question mark is expected")}}const $8="UnicodeRange",j8={value:String};function tT(){const e=this.tokenStart;return this.eatIdent("u"),F8.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.tokenStart),value:this.substrToCursor(e)}}function U8(e){this.tokenize(e.value)}const z8=Object.freeze(Object.defineProperty({__proto__:null,generate:U8,name:$8,parse:tT,structure:j8},Symbol.toStringTag,{value:"Module"})),B8=32,ph=92,W8=34,H8=39,V8=40,nT=41;function G8(e){const t=e.length;let n=4,r=e.charCodeAt(t-1)===nT?t-2:t-1,o="";for(;n<r&&Mi(e.charCodeAt(n));)n++;for(;n<r&&Mi(e.charCodeAt(r));)r--;for(let s=n;s<=r;s++){let a=e.charCodeAt(s);if(a===ph){if(s===r){s!==t-1&&(o=e.substr(s+1));break}if(a=e.charCodeAt(++s),eo(ph,a)){const c=s-1,u=Ls(e,c);s=u-1,o+=IC(e.substring(c+1,u))}else a===13&&e.charCodeAt(s+1)===10&&s++}else o+=e[s]}return o}function K8(e){let t="",n=!1;for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(o===0){t+="�";continue}if(o<=31||o===127){t+="\\"+o.toString(16),n=!0;continue}o===B8||o===ph||o===W8||o===H8||o===V8||o===nT?(t+="\\"+e.charAt(r),n=!1):(n&&oi(o)&&(t+=" "),t+=e.charAt(r),n=!1)}return"url("+t+")"}const q8="Url",Y8={value:String};function rT(){const e=this.tokenStart;let t;switch(this.tokenType){case bn:t=G8(this.consume(bn));break;case Fe:this.cmpStr(this.tokenStart,this.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(Fe),this.skipSC(),t=qk(this.consume(Br)),this.skipSC(),this.eof||this.eat(Pe);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(e,this.tokenStart),value:t}}function X8(e){this.token(bn,K8(e.value))}const J8=Object.freeze(Object.defineProperty({__proto__:null,generate:X8,name:q8,parse:rT,structure:Y8},Symbol.toStringTag,{value:"Module"})),Q8="Value",Z8={children:[[]]};function oT(){const e=this.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.tokenStart),children:t}}function eY(e){this.children(e)}const tY=Object.freeze(Object.defineProperty({__proto__:null,generate:eY,name:Q8,parse:oT,structure:Z8},Symbol.toStringTag,{value:"Module"})),nY=Object.freeze({type:"WhiteSpace",loc:null,value:" "}),rY="WhiteSpace",oY={value:String};function iT(){return this.eat(Ft),nY}function iY(e){this.token(Ft,e.value)}const sY=Object.freeze(Object.defineProperty({__proto__:null,generate:iY,name:rY,parse:iT,structure:oY},Symbol.toStringTag,{value:"Module"})),sT=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:kG,Atrule:PG,AtrulePrelude:DG,AttributeSelector:VG,Block:QG,Brackets:n4,CDC:s4,CDO:u4,ClassSelector:m4,Combinator:E4,Comment:O4,Condition:M4,Declaration:Y4,DeclarationList:eK,Dimension:oK,Feature:cK,FeatureFunction:hK,FeatureRange:vK,Function:kK,GeneralEnclosed:AK,Hash:MK,IdSelector:BK,Identifier:$K,Layer:KK,LayerList:JK,MediaQuery:tq,MediaQueryList:iq,NestingSelector:uq,Nth:hq,Number:bq,Operator:Eq,Parentheses:Tq,Percentage:Rq,PseudoClassSelector:Nq,PseudoElementSelector:Uq,Ratio:Hq,Raw:Yq,Rule:t8,Scope:i8,Selector:c8,SelectorList:h8,String:v8,StyleSheet:T8,SupportsDeclaration:R8,TypeSelector:N8,UnicodeRange:z8,Url:J8,Value:tY,WhiteSpace:sY},Symbol.toStringTag,{value:"Module"})),aY={generic:!0,cssWideKeywords:lm,...vG,node:sT},lY=35,cY=42,Ew=43,uY=45,fY=47,dY=117;function aT(e){switch(this.tokenType){case kt:return this.Hash();case Kn:return this.Operator();case it:return this.Parentheses(this.readSequence,e.recognizer);case lr:return this.Brackets(this.readSequence,e.recognizer);case Br:return this.String();case qe:return this.Dimension();case Dt:return this.Percentage();case Ie:return this.Number();case Fe:return this.cmpStr(this.tokenStart,this.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case bn:return this.Url();case de:return this.cmpChar(this.tokenStart,dY)&&this.cmpChar(this.tokenStart+1,Ew)?this.UnicodeRange():this.Identifier();case Ye:{const t=this.charCodeAt(this.tokenStart);if(t===fY||t===cY||t===Ew||t===uY)return this.Operator();t===lY&&this.error("Hex or identifier is expected",this.tokenStart+1);break}}}const pY={getNode:aT},hY=35,mY=38,gY=42,yY=43,bY=47,Sw=46,_Y=62,vY=124,wY=126;function EY(e,t){t.last!==null&&t.last.type!=="Combinator"&&e!==null&&e.type!=="Combinator"&&t.push({type:"Combinator",loc:null,name:" "})}function SY(){switch(this.tokenType){case lr:return this.AttributeSelector();case kt:return this.IdSelector();case Sn:return this.lookupType(1)===Sn?this.PseudoElementSelector():this.PseudoClassSelector();case de:return this.TypeSelector();case Ie:case Dt:return this.Percentage();case qe:this.charCodeAt(this.tokenStart)===Sw&&this.error("Identifier is expected",this.tokenStart+1);break;case Ye:{switch(this.charCodeAt(this.tokenStart)){case yY:case _Y:case wY:case bY:return this.Combinator();case Sw:return this.ClassSelector();case gY:case vY:return this.TypeSelector();case hY:return this.IdSelector();case mY:return this.NestingSelector()}break}}}const CY={onWhiteSpace:EY,getNode:SY};function kY(){return this.createSingleNodeList(this.Raw(null,!1))}function TY(){const e=this.createList();if(this.skipSC(),e.push(this.Identifier()),this.skipSC(),this.tokenType===Kn){e.push(this.Operator());const t=this.tokenIndex,n=this.parseCustomProperty?this.Value(null):this.Raw(this.consumeUntilExclamationMarkOrSemicolon,!1);if(n.type==="Value"&&n.children.isEmpty){for(let r=t-this.tokenIndex;r<=0;r++)if(this.lookupType(r)===Ft){n.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(n)}return e}function Cw(e){return e!==null&&e.type==="Operator"&&(e.value[e.value.length-1]==="-"||e.value[e.value.length-1]==="+")}const xY={getNode:aT,onWhiteSpace(e,t){Cw(e)&&(e.value=" "+e.value),Cw(t.last)&&(t.last.value+=" ")},expression:kY,var:TY},OY=Object.freeze(Object.defineProperty({__proto__:null,AtrulePrelude:pY,Selector:CY,Value:xY},Symbol.toStringTag,{value:"Module"})),AY=new Set(["none","and","not","or"]),RY={parse:{prelude(){const e=this.createList();if(this.tokenType===de){const t=this.substring(this.tokenStart,this.tokenEnd);AY.has(t.toLowerCase())||e.push(this.Identifier())}return e.push(this.Condition("container")),e},block(e=!1){return this.Block(e)}}},PY={parse:{prelude:null,block(){return this.Block(!0)}}};function cp(e,t){return this.parseWithFallback(()=>{try{return e.call(this)}finally{this.skipSC(),this.lookupNonWSType(0)!==Pe&&this.error()}},t||(()=>this.Raw(null,!0)))}const kw={layer(){this.skipSC();const e=this.createList(),t=cp.call(this,this.Layer);return(t.type!=="Raw"||t.value!=="")&&e.push(t),e},supports(){this.skipSC();const e=this.createList(),t=cp.call(this,this.Declaration,()=>cp.call(this,()=>this.Condition("supports")));return(t.type!=="Raw"||t.value!=="")&&e.push(t),e}},LY={parse:{prelude(){const e=this.createList();switch(this.tokenType){case Br:e.push(this.String());break;case bn:case Fe:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.skipSC(),this.tokenType===de&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer")?e.push(this.Identifier()):this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"layer(")&&e.push(this.Function(null,kw)),this.skipSC(),this.tokenType===Fe&&this.cmpStr(this.tokenStart,this.tokenEnd,"supports(")&&e.push(this.Function(null,kw)),(this.lookupNonWSType(0)===de||this.lookupNonWSType(0)===it)&&e.push(this.MediaQueryList()),e},block:null}},IY={parse:{prelude(){return this.createSingleNodeList(this.LayerList())},block(){return this.Block(!1)}}},MY={parse:{prelude(){return this.createSingleNodeList(this.MediaQueryList())},block(e=!1){return this.Block(e)}}},NY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},DY={parse:{prelude(){return this.createSingleNodeList(this.SelectorList())},block(){return this.Block(!0)}}},FY={parse:{prelude(){return this.createSingleNodeList(this.Scope())},block(e=!1){return this.Block(e)}}},$Y={parse:{prelude:null,block(e=!1){return this.Block(e)}}},jY={parse:{prelude(){return this.createSingleNodeList(this.Condition("supports"))},block(e=!1){return this.Block(e)}}},UY={container:RY,"font-face":PY,import:LY,layer:IY,media:MY,nest:NY,page:DY,scope:FY,"starting-style":$Y,supports:jY};function zY(){const e=this.createList();this.skipSC();e:for(;!this.eof;){switch(this.tokenType){case de:e.push(this.Identifier());break;case Br:e.push(this.String());break;case Kn:e.push(this.Operator());break;case Pe:break e;default:this.error("Identifier, string or comma is expected")}this.skipSC()}return e}const _i={parse(){return this.createSingleNodeList(this.SelectorList())}},up={parse(){return this.createSingleNodeList(this.Selector())}},BY={parse(){return this.createSingleNodeList(this.Identifier())}},WY={parse:zY},gc={parse(){return this.createSingleNodeList(this.Nth())}},HY={dir:BY,has:_i,lang:WY,matches:_i,is:_i,"-moz-any":_i,"-webkit-any":_i,where:_i,not:_i,"nth-child":gc,"nth-last-child":gc,"nth-last-of-type":gc,"nth-of-type":gc,slotted:up,host:up,"host-context":up},VY=Object.freeze(Object.defineProperty({__proto__:null,AnPlusB:rk,Atrule:ok,AtrulePrelude:ik,AttributeSelector:ak,Block:ck,Brackets:uk,CDC:fk,CDO:dk,ClassSelector:pk,Combinator:hk,Comment:mk,Condition:gk,Declaration:bk,DeclarationList:_k,Dimension:vk,Feature:wk,FeatureFunction:Ek,FeatureRange:Sk,Function:Ck,GeneralEnclosed:kk,Hash:Tk,IdSelector:Ok,Identifier:xk,Layer:Ak,LayerList:Rk,MediaQuery:Pk,MediaQueryList:Lk,NestingSelector:Ik,Nth:Mk,Number:Nk,Operator:Dk,Parentheses:Fk,Percentage:$k,PseudoClassSelector:jk,PseudoElementSelector:Uk,Ratio:zk,Raw:Bk,Rule:Wk,Scope:Hk,Selector:Vk,SelectorList:Gk,String:Yk,StyleSheet:Xk,SupportsDeclaration:Jk,TypeSelector:Qk,UnicodeRange:tT,Url:rT,Value:oT,WhiteSpace:iT},Symbol.toStringTag,{value:"Module"})),GY={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",condition(e){return this.Condition(e.kind)},rule:"Rule",selectorList:"SelectorList",selector:"Selector",block(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},features:{supports:{selector(){return this.Selector()}},container:{style(){return this.Declaration()}}},scope:OY,atrule:UY,pseudo:HY,node:VY},KY={node:sT},qY=_G({...aY,...GY,...KY}),{tokenize:c9,parse:YY,generate:XY,lexer:u9,createLexer:f9,walk:JY,find:d9,findLast:p9,findAll:h9,toPlainObject:m9,fromPlainObject:g9,fork:y9}=qY;function QY(e,t,n){if(!e.includes("url("))return e;const r=YY(e,{positions:!1});return JY(r,o=>{if(o.type==="Url"&&o.value){const s=typeof o.value=="string"?o.value.replace(/["']/g,""):o.value;if(!s.startsWith("/")&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.startsWith("data:")){const c=new URL(s,t),u=n?.find(f=>c.href.endsWith(f.path));u?o.value=u.signedUrl:o.value=c.href}}}),XY(r)}function ZY(e){const n=new URL(e).pathname;return n.slice(n.lastIndexOf("."))}async function e6(e){try{return(await fetch(e)).ok}catch(t){return console.log(`Error fetching ${e}:`,t.message),!1}}function Tw(e){return fetch(e).then(t=>t.blob()).then(t=>new Promise((n,r)=>{const o=new FileReader;o.onloadend=()=>n(o.result),o.onerror=r,o.readAsDataURL(t)}))}async function t6(e){const t=[],n=Array.from(e.querySelectorAll("*")),r=[];for(const o of n){const s=o,a=s.style?.backgroundImage||"",c=a.match(/url\(["']?(blob:[^"')]*)["']?\)/);if(c){const u=c[1];r.push(Tw(u).then(f=>{s.style.backgroundImage=a.replace(u,f),t.push(()=>{s.style.backgroundImage=a})}).catch(()=>{}))}if(s instanceof HTMLImageElement&&s.src.startsWith("blob:")){const u=s.src;r.push(Tw(u).then(f=>{s.src=f,t.push(()=>{s.src=u})}).catch(()=>{}))}}return await Promise.all(r),()=>t.forEach(o=>o())}function n6(e,t,n){const r=[];let o="";for(const s of t){const a=o+s;e.measureText(a).width>n&&o.length>0?(r.push(o),o=s):o=a}return o&&r.push(o),r.length?r:[t]}function r6(e,t="跨域内容无法截图"){const n=e.querySelectorAll("canvas"),r=[];return n.forEach(o=>{const s=o.parentNode;if(!s)return;const a=o.offsetWidth||300,c=o.offsetHeight||200,u=document.createElement("canvas");u.width=a,u.height=c,u.style.width=o.style.width||`${a}px`,u.style.height=o.style.height||`${c}px`,u.style.display=o.style.display||"block";const f=u.getContext("2d");if(f){f.fillStyle="#f5f5f5",f.fillRect(0,0,a,c),f.setLineDash([6,4]),f.strokeStyle="#ccc",f.lineWidth=1.5,f.strokeRect(4,4,a-8,c-8),f.setLineDash([]);const p=Math.max(12,Math.min(16,Math.floor(a/30)));f.fillStyle="#999",f.font=`${p}px sans-serif`,f.textAlign="center",f.textBaseline="middle";const h=n6(f,t,a-40),g=p*1.6,y=h.length*g,w=c/2-y/2+g/2;h.forEach((_,O)=>{f.fillText(_,a/2,w+O*g)})}s.replaceChild(u,o),r.push({parent:s,placeholder:u,original:o})}),r}function o6(e){e.forEach(({parent:t,placeholder:n,original:r})=>{t.replaceChild(r,n)})}const hh=(e,t)=>t.some(n=>e instanceof n);let xw,Ow;function i6(){return xw||(xw=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function s6(){return Ow||(Ow=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const mh=new WeakMap,fp=new WeakMap,Gu=new WeakMap;function a6(e){const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("success",s),e.removeEventListener("error",a)},s=()=>{n(Ai(e.result)),o()},a=()=>{r(e.error),o()};e.addEventListener("success",s),e.addEventListener("error",a)});return Gu.set(t,e),t}function l6(e){if(mh.has(e))return;const t=new Promise((n,r)=>{const o=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",a),e.removeEventListener("abort",a)},s=()=>{n(),o()},a=()=>{r(e.error||new DOMException("AbortError","AbortError")),o()};e.addEventListener("complete",s),e.addEventListener("error",a),e.addEventListener("abort",a)});mh.set(e,t)}let gh={get(e,t,n){if(e instanceof IDBTransaction){if(t==="done")return mh.get(e);if(t==="store")return n.objectStoreNames[1]?void 0:n.objectStore(n.objectStoreNames[0])}return Ai(e[t])},set(e,t,n){return e[t]=n,!0},has(e,t){return e instanceof IDBTransaction&&(t==="done"||t==="store")?!0:t in e}};function lT(e){gh=e(gh)}function c6(e){return s6().includes(e)?function(...t){return e.apply(yh(this),t),Ai(this.request)}:function(...t){return Ai(e.apply(yh(this),t))}}function u6(e){return typeof e=="function"?c6(e):(e instanceof IDBTransaction&&l6(e),hh(e,i6())?new Proxy(e,gh):e)}function Ai(e){if(e instanceof IDBRequest)return a6(e);if(fp.has(e))return fp.get(e);const t=u6(e);return t!==e&&(fp.set(e,t),Gu.set(t,e)),t}const yh=e=>Gu.get(e);function f6(e,t,{blocked:n,upgrade:r,blocking:o,terminated:s}={}){const a=indexedDB.open(e,t),c=Ai(a);return r&&a.addEventListener("upgradeneeded",u=>{r(Ai(a.result),u.oldVersion,u.newVersion,Ai(a.transaction),u)}),n&&a.addEventListener("blocked",u=>n(u.oldVersion,u.newVersion,u)),c.then(u=>{s&&u.addEventListener("close",()=>s()),o&&u.addEventListener("versionchange",f=>o(f.oldVersion,f.newVersion,f))}).catch(()=>{}),c}const d6=["get","getKey","getAll","getAllKeys","count"],p6=["put","add","delete","clear"],dp=new Map;function Aw(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t=="string"))return;if(dp.get(t))return dp.get(t);const n=t.replace(/FromIndex$/,""),r=t!==n,o=p6.includes(n);if(!(n in(r?IDBIndex:IDBObjectStore).prototype)||!(o||d6.includes(n)))return;const s=async function(a,...c){const u=this.transaction(a,o?"readwrite":"readonly");let f=u.store;return r&&(f=f.index(c.shift())),(await Promise.all([f[n](...c),o&&u.done]))[0]};return dp.set(t,s),s}lT(e=>({...e,get:(t,n,r)=>Aw(t,n)||e.get(t,n,r),has:(t,n)=>!!Aw(t,n)||e.has(t,n)}));const h6=["continue","continuePrimaryKey","advance"],Rw={},bh=new WeakMap,cT=new WeakMap,m6={get(e,t){if(!h6.includes(t))return e[t];let n=Rw[t];return n||(n=Rw[t]=function(...r){bh.set(this,cT.get(this)[t](...r))}),n}};async function*g6(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;t=t;const n=new Proxy(t,m6);for(cT.set(n,t),Gu.set(n,yh(t));t;)yield n,t=await(bh.get(n)||t.continue()),bh.delete(n)}function Pw(e,t){return t===Symbol.asyncIterator&&hh(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&hh(e,[IDBIndex,IDBObjectStore])}lT(e=>({...e,get(t,n,r){return Pw(t,n)?g6:e.get(t,n,r)},has(t,n){return Pw(t,n)||e.has(t,n)}}));let Ko=null;const Lw=GS("indexedDB",{actions:{async open(e=1){return Ko||(Ko=await f6(we.INDEX_DB_NAME,e,{upgrade(t){t.objectStoreNames.contains(we.INDEX_DB_TABLE_NAME)||t.createObjectStore(we.INDEX_DB_TABLE_NAME,{keyPath:"hash",autoIncrement:!1}).createIndex("by-hash","hash")},blocked(){console.warn("IndexedDB 被其它标签页占用")}}),Ko)},async get(e,t){return(await this.open()).get(e,t)},async put(e,t){return(await this.open()).put(e,t)},async remove(e,t){return(await this.open()).delete(e,t)},close(){Ko?.close(),Ko=null},async deleteDatabase(){if(Ko){const e=Ko.name;this.close(),indexedDB.deleteDatabase(e)}}}});async function Iw(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
|
|
57
|
+
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}const uT=GS("sfcLoader",{state:()=>({vue3SfcLoader:null,vue2SfcLoader:null,reactLoader:null}),actions:{setVue3SfcLoader(e){this.$patch(t=>{t.vue3SfcLoader=e})},setVue2SfcLoader(e){this.$patch(t=>{t.vue2SfcLoader=e})},setReactLoader(e){this.$patch(t=>{t.reactLoader=e})},async loadSfcLoader(e,t){const{isDev:n=!1,isSfc:r=!1,scriptPath:o}=t,s=e==="vue3"?this.vue3SfcLoader:this.vue2SfcLoader;if(s)return s;const a=e==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,u=r||n?window:window.parent;let f=u[a];return f||(await Iw(o),f=u[a]),e==="vue3"?this.setVue3SfcLoader(f):this.setVue2SfcLoader(f),f},async loadReactLoader(e){const{isDev:t=!1,isSfc:n=!1,scriptPath:r}=e;if(this.reactLoader)return this.reactLoader;const o=we.REACT_JSX_LOADER_KEY,a=n||t?window:window.parent;let c=a[o];return c||(await Iw(r),c=a[o]),this.setReactLoader(c),c}}}),fT=[".png",".jpg",".jpeg",".gif",".webp",".avif",".apng",".svg",".tif",".tiff",".bmp",".raw",".cr2",".nef",".psd",".ai",".cdr",".heic",".heif",".ico",".pcx",".tga",".jp2",".j2k",".djvu"],dT=[".mp3",".wav",".ogg",".oga",".flac",".aac",".m4a",".wma",".mp4",".webm",".ogv",".avi",".mov",".flv",".mkv"],y6=e=>fT.includes(e)||dT.includes(e),pT=(e={})=>{const{errorCallBack:t,label:n="loader"}=e;return{async set(r,o){try{await Lw().put(we.INDEX_DB_TABLE_NAME,{hash:r,code:o})}catch(s){console.error(`[${n}] IndexedDB 写入失败:`,s)}},async get(r){try{return(await Lw().get(we.INDEX_DB_TABLE_NAME,r))?.code??void 0}catch(o){console.error(`[${n}] IndexedDB 读取失败:`,o),t?.(o);return}}}},hT=(e,t)=>(n,...r)=>{n==="error"?e?.(new Error(r.join(`
|
|
58
58
|
`))):n==="warn"&&t?.(r.join(`
|
|
59
|
-
`))},mT=(e,t,n)=>{const{moduleCache:r,pathResolve:o,getResource:s}=n,a=function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`require(${JSON.stringify(h)}) failed. module not found in moduleCache`)},c=async function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`Dynamic import(${JSON.stringify(h)}) failed. module not found in moduleCache`)},u={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(u.exports,u.exports,a,u,e,o({refPath:e,relPath:"."},n),c),u},gT=async e=>{const t=e.toString(),n=new URL(e).pathname;if(fT.some(o=>n.endsWith(o))||dT.some(o=>n.endsWith(o))){const o=await fetch(t);if(!o.ok)throw Object.assign(new Error(`${o.statusText} ${e}`),{res:o});const s=await o.blob();return URL.createObjectURL(s)}const r=await fetch(t);if(!r.ok)throw Object.assign(new Error(`${r.statusText} ${e}`),{res:r});return{type:ZY(r.url),getContentData:o=>o?r.arrayBuffer():r.text()}},yT=(e={})=>{const{signedUrls:t}=e;return async function(r,o,s){let a=r;s&&r&&(a=QY(r,s,t||[])),o&&document.head.querySelector(`style#${o}`)?.remove();const c=Object.assign(document.createElement("style"),{textContent:a,...o?{id:o}:{}});document.head.appendChild(c)}},bT=({depToFile:e,signedUrls:t,sourceExtensions:n,resolveDepUrl:r})=>function({refPath:s,relPath:a},c){if(a===".")return s;if(c.moduleCache[a])return a;const u=e[a];if(u){const f=r(u);if(f)return f}if(t?.length&&s){const{origin:f,pathname:p}=new URL(s),h=`${f}${p}`,g=new URL(a,h);for(const
|
|
60
|
-
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function w6(e){return e==="less"?ve.LESS_COMPILER_KEY:ve.SASS_COMPILER_KEY}async function Nw(e,t=_6){const n=w6(e);if(pp[n])return pp[n];let r=window[n];if(!r)try{const o=window.parent;o&&o!==window&&(r=o[n])}catch{r=null}if(!r){const o=t(n);await v6(o),r=window[n]}if(!r)throw new Error(`[getCssCompiler] CSS 预编译器 ${e} 加载失败`);return pp[n]=r,r}async function E6(e,t,n){return t==="less"?(await(await Nw("less",n)).render(e)).css:(await Nw(t,n)).compileString(e).css}const vT=e=>{const{warnCallBack:t,scriptPathResolver:n}=e;return async(r,o)=>{if(r.trim()&&o)try{return await E6(r,o,n)}catch(a){throw t?.(`[processStyles] 浏览器端 CSS 预编译失败: ${a?.message||a}`),a}return r}},S6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s,cssCompilerScriptPathResolver:a,resolveDepUrl:c})=>{const u=vT({warnCallBack:o,scriptPathResolver:a}),f=yT({signedUrls:n}),p=_T(f,u),g=bT({depToFile:t,signedUrls:n,sourceExtensions:[".vue",".js",".ts"],resolveDepUrl:c??(v=>new URL(`${ve.MODULE_LOAD_PREFIX}/${v}`,window.location.origin).href)});return{moduleCache:e,...s?{templateCompiler:s}:{},pathResolve:g,getFile:gT,addStyle:f,processStyles:u,handleModule:p,compiledCache:pT({errorCallBack:r,label:"vue3-sfc-loader"}),log:hT(r,o),createCJSModule:mT}},C6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,cssCompilerScriptPathResolver:s})=>{const a=yT({signedUrls:n}),c=vT({warnCallBack:o,scriptPathResolver:s}),u=_T(a,c),f=bT({depToFile:t,signedUrls:n,sourceExtensions:[".jsx",".js",".tsx",".ts"],resolveDepUrl(h){return new URL(`${ve.MODULE_LOAD_PREFIX}/${h}`,window.location.origin).href}});return{moduleCache:e,pathResolve:f,getFile:gT,addStyle:a,handleModule:u,compiledCache:pT({errorCallBack:r,label:"react-jsx-loader"}),log:hT(r,o),createCJSModule:mT}},Em=e=>e.some(t=>t.name==="react");async function wT(e,t,n,r){const o=[...e];return o.sort((a,c)=>{for(const u of n){if(a.name===u)return-1;if(c.name===u)return 1}return 0}),await o.reduce(async(a,c)=>{const{name:u}=c,f=await a,p=t[u];if(!p||r$.PREBUILD_MODULE_SKIP_EXT.find(g=>p.endsWith(g)))return f;try{const y=await import(r?r(u,p):`${ve.MODULE_LOAD_PREFIX}/${p}`);f[u]={...y.default,...y,__esModule:!0}}catch(g){const y=g instanceof Error?g.message:String(g);console.warn(`[cacheModule] dep "${u}" preload failed, will be handled by loader:`,y)}return f},Promise.resolve({}))}const k6=["id","aria-label","aria-disabled"],T6=["onClick"],x6=["name","value","checked","disabled","onChange"],O6={class:"segmented__label"},A6=Lt({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Re(),s=Re({opacity:"0"}),a=ue(()=>n.segProps?.value||"value"),c=ue(()=>n.segProps?.label||"label"),u=ue(()=>n.segProps?.disabled||"disabled");function f(O){return typeof O=="object"&&O!==null?O[a.value]:O}function p(O){return typeof O=="object"&&O!==null?O[c.value]:O}function h(O){return n.disabled?!0:typeof O=="object"&&O!==null?!!O[u.value]:!1}const g=ue(()=>n.options.map(O=>typeof O=="object"&&O!==null?{...O,[a.value]:O[a.value],[c.value]:O[c.value],[u.value]:O[u.value]}:O));function y(O){return f(O)===n.modelValue}function v(O){if(h(O))return;const S=f(O);S!==n.modelValue&&(r("update:modelValue",S),r("change",S))}function _(){Ur(()=>{const O=o.value?.parentElement;if(!O)return;const S=O.querySelectorAll(".segmented__item");let w=null;for(let I=0;I<S.length;I++){const x=S.item(I);if(x&&x.classList.contains("is-selected")){w=x;break}}if(!w){s.value={opacity:"0"};return}const A=O.getBoundingClientRect(),E=w.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateY(${E.top-A.top}px)`}:s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateX(${E.left-A.left}px)`}})}return gt(()=>n.modelValue,_),gt(()=>n.options,_),gt(()=>n.direction,_),Er(_),(O,S)=>(Ce(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Tt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Ce(!0),pt(Ht,null,Fs(g.value,(w,A)=>(Ce(),pt("label",{key:f(w),class:Tt(["segmented__item",{"is-selected":y(w),"is-disabled":h(w)}]),onClick:E=>v(w)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(w),checked:y(w),disabled:h(w),onChange:E=>v(w)},null,40,x6),mt("span",O6,[ti(O.$slots,"default",{item:w,index:A},()=>[zc(Ao(p(w)),1)],!0)])],10,T6))),128))],10,k6))}}),R6=Sr(A6,[["__scopeId","data-v-652cb401"]]),P6={class:"ec-list"},I6={class:"ec-actions"},L6=Lt({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Di(),n=CC();return(r,o)=>(Ce(),pt("div",{class:Tt(["ec-outer",je(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:Tt(["ec-inner",je(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:Tt(["ec-title",je(n)?"ec-title--dark":"ec-title--light"])},Ao(je(t)("comp.compileError")),3),mt("div",P6,[(Ce(!0),pt(Ht,null,Fs(e.error,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["ec-item",je(n)?"ec-item--dark":"ec-item--light"])},Ao(s),3))),128))]),mt("div",I6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),Dw=Sr(L6,[["__scopeId","data-v-50d3a8b1"]]),M6={class:"wc-list"},N6={class:"wc-actions"},D6=Lt({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Di(),n=CC();return(r,o)=>(Ce(),pt("div",{class:Tt(["wc-outer",je(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:Tt(["wc-inner",je(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:Tt(["wc-title",je(n)?"wc-title--dark":"wc-title--light"])},Ao(je(t)("comp.compileWarn")),3),mt("div",M6,[(Ce(!0),pt(Ht,null,Fs(e.warn,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["wc-item",je(n)?"wc-item--dark":"wc-item--light"])},Ao(s),3))),128))]),mt("div",N6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),F6=Sr(D6,[["__scopeId","data-v-c171e829"]]),$6=Lt({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ns("bodyRef");return t({bodyRef:n}),(r,o)=>(Ce(),pt("div",{class:Tt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Ce(),pt("div",{key:0,class:Tt(["card__header",e.headerClass])},[ti(r.$slots,"header",{},()=>[zc(Ao(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:Tt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ti(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Ce(),pt("div",{key:1,class:Tt(["card__footer",e.footerClass])},[ti(r.$slots,"footer",{},()=>[zc(Ao(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),ET=Sr($6,[["__scopeId","data-v-9e044e5b"]]),j6=Lt({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=Re(r.initialIndex),a=Re(!1),c=Re(!1),u=Re(),f=Re([]);function p(z){f.value.push(z)}function h(z){const te=f.value.findIndex(oe=>oe.uid===z);te!==-1&&(f.value.splice(te,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ue(()=>r.direction==="vertical"),y=ue(()=>r.type==="card"),v=ue(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:v,translating:ue(()=>a.value),animating:ue(()=>a.value),slideTo:I});const _=ue(()=>{const z={};return r.height&&r.height!=="auto"&&(z.height=r.height),z}),O=ue(()=>{if(y.value)return{};if(f.value.length===0)return{};const te=-s.value*100;return g.value?{transform:`translateY(${te}%)`}:{transform:`translateX(${te}%)`}}),S=ue(()=>r.trigger==="click"?"click":"mouseenter"),w=ue(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),A=ue(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function E(z){const te=f.value.length;return te===0?0:r.loop?(z%te+te)%te:Math.max(0,Math.min(z,te-1))}function I(z){if(f.value.length===0)return;const oe=E(z);if(oe===s.value)return;const he=s.value;s.value=oe,a.value=!0,o("change",oe,he),setTimeout(()=>{a.value=!1},400)}function x(){I(s.value+1)}function P(){I(s.value-1)}function T(z){if(typeof z=="number"){I(z);return}const te=f.value.findIndex(oe=>oe.name===z);te!==-1&&I(te)}let N=null;function G(){K(),!(!r.autoplay||f.value.length<=1)&&(N=setInterval(()=>{c.value&&r.pauseOnHover||x()},r.interval))}function K(){N!==null&&(clearInterval(N),N=null)}function ne(){c.value=!0}function le(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&G()}),gt(()=>r.autoplay,z=>{z?G():K()}),gt(()=>r.interval,()=>{r.autoplay&&G()}),Er(()=>{r.autoplay&&G()}),wu(()=>{K()}),t({activeIndex:s,setActiveItem:T,prev:P,next:x}),(z,te)=>(Ce(),pt("div",{ref_key:"carouselRef",ref:u,class:Tt(["carousel",[`carousel--${e.direction}`]]),style:Bn(_.value),onMouseenter:ne,onMouseleave:le},[mt("div",{class:Tt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:Tt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(O.value)},[ti(z.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:0,class:Tt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(w.value),onClick:Pb(P,["stop"])},[...te[0]||(te[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:1,class:Tt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(A.value),onClick:Pb(x,["stop"])},[...te[1]||(te[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Ce(),pt("ul",{key:2,class:Tt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Ce(!0),pt(Ht,null,Fs(f.value,(oe,he)=>(Ce(),pt("li",Nr({key:oe.uid,class:["carousel__indicator",{"carousel__indicator--active":he===s.value}]},{[yc(S.value)]:Se=>T(he)}),[mt("span",null,Ao(oe.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),ST=Sr(j6,[["__scopeId","data-v-92d048b7"]]),U6=Lt({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Re(!1),r=En("carousel"),o=Re(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),wu(()=>{r?.removeItem(o.value)});const s=ue(()=>r?.items.value??[]),a=ue(()=>r?.activeIndex.value??0),c=ue(()=>r?.isCard.value??!1),u=ue(()=>r?.cardScale.value??.83),f=ue(()=>s.value.findIndex(_=>_.uid===o.value)),p=ue(()=>f.value===a.value),h=ue(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value-1+_)%_}),g=ue(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value+1)%_}),y=ue(()=>{if(c.value&&s.value.length>1){const _=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${_})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${_})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${_})`,zIndex:1,opacity:0}}return{}});function v(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(_,O)=>vp((Ce(),pt("div",{class:Tt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:v},[ti(_.$slots,"default",{},void 0,!0)],6)),[[s0,n.value]])}}),CT=Sr(U6,[["__scopeId","data-v-6046a978"]]),z6={class:"async-comp-wrapper"},B6={key:0,class:"async-comp-error screenshot-fallback"},W6={class:"toggle-btn active error"},H6=["src"],V6={key:1,class:"async-comp-error"},G6={key:2,class:"async-comp-error"},K6={class:"toggle-btn active warn"},q6=Lt({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ns("compContainer"),o=Re(!0),s=Re(!1),a=ue(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Lh("Icon"),p=kM("loading");return vp((Ce(),pt("div",z6,[vp(mt("div",{ref_key:"compContainer",ref:r,class:Tt(["async-comp-container",e.classObj])},null,2),[[s0,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Ce(),pt("div",B6,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",W6,[o.value?(Ce(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Ce(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Ce(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,H6)):(Ce(),_t(je(Dw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Ce(),pt("div",V6,[Vt(je(Dw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Ce(),pt("div",G6,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",K6,[s.value?(Ce(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Ce(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Ce(),_t(je(F6),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),kT=Sr(q6,[["__scopeId","data-v-d88466a0"]]),TT=Symbol("compRenderEvent");function Y6(){const e=Re(0);return Ti(TT,()=>{e.value++}),{renderEvent:e}}function X6(){const e=En(TT,null);return{notifyRendered:()=>e?.()}}function xT(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=js(),s=$s(),{params:{instanceUid:a}}=oo(),{notifyRendered:c}=X6(),u=Re(!1),f=Re(""),p=Re(""),h=Re(""),g=Re(""),y=Re([]),v=ue(()=>({"async-comp-overflow-auto":e.panelType===ve.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===ve.COMP_EDIT_TAB_TYPE_MINI})),_=ue(()=>{const ne=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(ne)]}),O=ue(()=>{const ne=[h.value,...r.value].filter(Boolean);return[...new Set(ne)]}),S=ue(()=>e.signedUrls?.length&&e.signedUrls.find(le=>le.path===`/${ve.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),w=ne=>ne instanceof Error?ne.message:typeof ne=="string"?ne:"未知错误",A=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},E=new Set;let I=null;const x=ne=>{E.forEach(({params:le,callback:z})=>{z(bv(ne,le.mode,le.width,le.height))})},P=ne=>{if(e.panelType!==ve.COMP_EDIT_TAB_TYPE_MINI||I)return;const le=ne();le&&(I=new ResizeObserver(()=>{const z=ne();z&&x(z)}),I.observe(le))},T=(ne,le,z)=>{const te={params:ne,callback:le};return E.add(te),z&&le(bv(z,ne.mode,ne.width,ne.height)),()=>{E.delete(te)}},N=()=>{I?.disconnect(),I=null,E.clear()},G=()=>{const z=(e.dep||[]).filter(oe=>!e.depToFile[oe.name]).map(oe=>`${oe.parent?.name||oe.name}${oe.version||""} uninstalled`),te=[...new Set(z)];te.length&&(g.value=te.join(", "))};function K(ne){gt(()=>e.finalEntryUrl,async le=>{ne.unmount(),le&&(await Ur(),await ne.handleCompRender())},{immediate:!0}),gt(()=>[_.value,O.value],([le,z])=>{!le.length&&!z.length||le.length>0&&ne.unmount()}),gt(()=>({hasError:_.value.length>0,hasWarn:O.value.length>0}),({hasError:le,hasWarn:z})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:le,hasWarn:z},s,a)},{immediate:!0}),Ds(()=>{ne.unmount(),N()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:v,currentRenderError:_,currentRenderWarn:O,screenshotUrl:S,getErrorMessage:w,resetAllError:A,notifyScaleListeners:x,setupScaleObserver:P,addScaleListener:T,checkDepModuleExist:G,setupLifecycle:K}}var hp,Fw;function J6(){if(Fw)return hp;Fw=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,v=-1,_=0;_<=y;++_){if(_===y){if(g>y){if(a.charCodeAt(p+_)===47)return a.slice(p+_+1);if(_===0)return a.slice(p+_)}else f>y&&(s.charCodeAt(c+_)===47?v=_:_===0&&(v=0));break}var O=s.charCodeAt(c+_),S=a.charCodeAt(p+_);if(O!==S)break;O===47&&(v=_)}var w="";for(_=c+v+1;_<=u;++_)(_===u||s.charCodeAt(_)===47)&&(w.length===0?w+="..":w+="/..");return w.length>0?w+a.slice(p+v):(p+=v,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,v=s.length-1,_=0;v>=f;--v){if(c=s.charCodeAt(v),c===47){if(!y){h=v+1;break}continue}g===-1&&(y=!1,g=v+1),c===46?p===-1?p=v:_!==1&&(_=1):p!==-1&&(_=-1)}return p===-1||g===-1||_===0||_===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,hp=r,hp}var mp=J6();async function Q6(e,t){return xt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function Z6(e,t){return xt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function e5(e,t){return xt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function t5(e,t){return xt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function n5(e,t){return xt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function r5(e,t){return xt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function o5(e,t){return xt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function i5(e,t){return xt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function s5(e,t){return xt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function a5(e,t){return xt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function l5(e,t){return xt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function c5(e,t){return xt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function u5(e,t){return xt("__local__/api/comp/openCompPathInExplorer",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function f5(e,t){return xt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function d5(e){return xt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function p5(e,t){return xt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function h5(e,t){return xt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function m5(e,t){return xt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function g5(e,t){return xt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function y5(e,t){return xt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const b5=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:Q6,compcontrollerCheckcomprepeat:Z6,compcontrollerCompfilehash:e5,compcontrollerCompfilesosssignedurl:t5,compcontrollerDep:n5,compcontrollerDir:r5,compcontrollerDownload:o5,compcontrollerFile:i5,compcontrollerGeneratecompjson:s5,compcontrollerLocalcompdetailbypathhash:a5,compcontrollerLocalcomps:l5,compcontrollerLocalcompsbyids:c5,compcontrollerOpencomppathinexplorer:u5,compcontrollerOpencomppathinvscode:f5,compcontrollerPackagejson:d5,compcontrollerRenamedir:p5,compcontrollerSubmit:h5,compcontrollerUpdate:m5,compcontrollerUpdateversion:g5,compcontrollerWritefile:y5},Symbol.toStringTag,{value:"Module"}));async function _5(e,t){return xt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function v5(e){return xt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function w5(e,t){return xt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function E5(e){return xt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const S5=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:_5,modulecontrollerClearprebuild:v5,modulecontrollerPrebuild:w5,modulecontrollerPrebuildsize:E5},Symbol.toStringTag,{value:"Module"}));async function C5(e,t){return xt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const k5=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:C5},Symbol.toStringTag,{value:"Module"}));async function T5(e,t){return xt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const x5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:T5},Symbol.toStringTag,{value:"Module"})),O5={comp:b5,module:S5,oss:k5,vuefinder:x5},Sm=Lt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(bS),s=xT(t,{loaderError:Re(""),loaderWarn:Re([])}),a=Ns("layoutRef"),c=ue(()=>a.value?.compContainer??null),u=uT();let f=()=>{},p=0;const h=ue(()=>n?.value?.find(I=>I.name==="vue")?.version||""),g=I=>{t.panelType===ve.COMP_EDIT_TAB_TYPE_MINI&&(I.$onScaleChange=(x,P)=>s.addScaleListener(x,P,c.value))},y=async I=>{if(t.localCompRootPath){const x=mp.join(t.localCompRootPath,ve.COMP_ENTRY_FILE);await e6(x)&&await I(x)}else if(t.signedUrls?.length){const x=t.signedUrls.find(P=>P.path===`/${ve.COMP_ENTRY_FILE}`);x&&await I(x.signedUrl)}},v=async I=>{try{const{params:{isSfc:x}}=oo(),P=!1,T=mp.join(`/${ve.WEBSITE_PATH_CONTAINER}/js/`,`${ve.VUE3_SFC_LOADER_KEY}.js`),N=await u.loadSfcLoader("vue3",{isDev:P,isSfc:x,scriptPath:T}),{loadModule:G}=N,K=await G("vue",I),{createApp:ne,defineAsyncComponent:le}=K;if(!ne||!le)return s.compRenderError.value="createApp or defineAsyncComponent is not defined",null;const z=le({loader:async()=>await G(t.finalEntryUrl,I),delay:100,timeout:2e4,onError:(oe,he,Se)=>{if(console.error(`onError:${oe.message}`),s.compRenderError.value=oe.message,oe)return Se()}}),te=ne({template:"<AsyncComp />"});return K.app=te,await y(async oe=>{await G(oe,I)}),te.component("AsyncComp",z),g(te.config.globalProperties),te.config.errorHandler=oe=>{console.error(oe),console.error(`errorHandler:${oe}`),s.compCodeError.value=oe,s.loading.value=!1},te.config.warnHandler=function(oe){console.warn(oe),console.warn(`warnHandler:${oe}`),s.compCodeWarn.value=oe,s.loading.value=!1},te}catch(x){console.error(x);const P=s.getErrorMessage(x);return console.error(`sfcLoaderError:${P}`),s.loaderError.value=P,null}},_=async I=>{try{const{params:{isSfc:x}}=oo(),P=!1,T=mp.join(`/${ve.WEBSITE_PATH_CONTAINER}/js/`,`${ve.VUE2_SFC_LOADER_KEY}.js`),N=await u.loadSfcLoader("vue2",{isDev:P,isSfc:x,scriptPath:T}),{loadModule:G}=N,K=await G("vue",I);g(K.default.prototype),K.default.config.errorHandler=function(le){console.error(le),console.error(`errorHandler:${le}`),s.compCodeError.value=le,s.loading.value=!1},K.default.config.warnHandler=function(le){console.warn(le),console.warn(`warnHandler:${le}`),s.compCodeWarn.value=le,s.loading.value=!1},await y(async le=>{await G(le,I)});const ne=await G(t.finalEntryUrl,I);return new K.default(ne)}catch(x){console.error(x);const P=s.getErrorMessage(x);return console.error(`sfcLoaderError:${P}`),s.loaderError.value=P,null}},O=(I,x)=>I.mount?(I.mount(x),P=>{console.log("vue3组件卸载"),I?.unmount(),x.remove(),P?.()}):(I.$mount(x),P=>{console.log("vue2组件卸载"),I?.$destroy(),x.remove(),P?.()}),S=async I=>{if(yv.getMajorVersion(I)!=="2")return null;const P="__vue2TemplateCompiler__",T=window;if(T[P])return T[P];try{const N=await O5.module.modulecontrollerBuildtemplatecompiler({vueVersion:I}),{fileName:G}=N.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${G}`);const K=new URL(`${ve.MODULE_LOAD_PREFIX}/${G}`,window.location.origin).href;await new Promise((le,z)=>{const te=document.createElement("script");te.src=K,te.onload=()=>le(),te.onerror=()=>z(new Error(`加载 ${K} 失败`)),document.head.appendChild(te)});const ne=T.VueTemplateCompiler;return ne?(T[P]=ne,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${ne.version})`),ne):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(N){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(N)},回退到默认 compiler`),null}},w=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const I=yv.getMajorVersion(h.value),x=await wT(t.dep,t.depToFile,["vue"]),P=await S(h.value),T=S6({moduleCache:x,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:P,errorCallBack:N=>{console.error(N);const G=s.getErrorMessage(N);console.error(`sfcLoaderError:${G}`),s.loaderError.value=G},warnCallBack:N=>{console.warn(N),s.loaderWarn.value=[...s.loaderWarn.value,N]}});return I==="3"?await v(T):I==="2"?await _(T):null}catch(I){console.error(I);const x=s.getErrorMessage(I);return console.error(`loadAsyncComp error:${x}`),s.loaderError.value=x,null}finally{s.loading.value=!1}};async function A(){const I=c.value;if(!I){console.error("组件挂载点不存在");return}p++;const x=p,P=document.createElement("div");P.style.height="100%",P.style.width="100%",I.appendChild(P);const T=()=>{P.parentNode&&P.remove()};try{const N=await w();if(x!==p){N?O(N,P)(()=>{}):T();return}if(!N){console.error("组件实例创建失败"),T();return}f=O(N,P),s.setupScaleObserver(()=>c.value),setTimeout(()=>{s.notifyRendered()},0)}catch(N){console.error(N),console.error(`handleCompRender error:${s.getErrorMessage(N)}`),T()}}const E=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:E,handleCompRender:A}),(I,x)=>(Ce(),_t(kT,{ref_key:"layoutRef",ref:a,loading:je(s).loading.value,"class-obj":je(s).classObj.value,"current-render-error":je(s).currentRenderError.value,"current-render-warn":je(s).currentRenderWarn.value,"screenshot-url":je(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),Cm=Lt({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=xT(t,{loaderError:Re(""),loaderWarn:Re([])}),s=Ns("layoutRef"),a=ue(()=>s.value?.compContainer??null),c=uT(),u=`/${ve.WEBSITE_PATH_CONTAINER}/js/${ve.REACT_JSX_LOADER_KEY}.js`;let f=null,p=null,h=0,g=null;const y=async w=>{try{const{params:{isSfc:A}}=oo(),I=await c.loadReactLoader({isDev:!1,isSfc:A,scriptPath:u}),{loadModule:x}=I,P=C6({moduleCache:w,depToFile:t.depToFile,signedUrls:t.signedUrls,errorCallBack:G=>{o.loaderError.value=G.message},warnCallBack:G=>{o.loaderWarn.value=[...o.loaderWarn.value,G]}}),T=await x("react",P);if(!T)return o.loaderError.value="React runtime not found",null;const N=await x(t.finalEntryUrl,P);return!N||!N.default?(o.compRenderError.value="Component has no default export",null):{React:T,Component:N.default,loadModule:x,options:P}}catch(A){console.error(A);const E=o.getErrorMessage(A);return console.error(`loadReactComp error:${E}`),o.loaderError.value=E,null}},v=async({React:w,Component:A,loadModule:E,options:I},x)=>{let P;try{P=await E("react-dom/client",I)}catch{try{P=await E("react-dom",I)}catch{return o.loaderError.value="ReactDOM runtime not found",null}}if(!P)return o.loaderError.value="ReactDOM runtime not found",null;const T=typeof P?.default?.createRoot=="function",N=class extends w.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(le){return{hasError:!0,errorMessage:le.message}}componentDidCatch(le){console.error(`React render error:${le?.message||le}`),o.compCodeError.value=le?.message||String(le)}render(){return this.state.hasError?w.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}},G=console.error,K=/^Warning:/;console.error=(...le)=>{const z=le.join(" ");K.test(z)&&(o.compCodeWarn.value=z),G.apply(console,le)};const ne=()=>{const le={};return g&&(le.onScaleChange=g.onScaleChange),w.createElement(N,null,w.createElement(A,le))};if(T){const le=P.default.createRoot(x);return le.render(w.createElement(ne)),{root:le,unmount:()=>{console.log("React组件卸载"),console.error=G,le.unmount(),x.remove()}}}else return P.default.render(w.createElement(ne),x),{root:null,unmount:()=>{console.log("React组件卸载"),console.error=G,P.default.unmountComponentAtNode(x),x.remove()}}},_=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const w=await wT(t.dep,t.depToFile,["react","react-dom"]);return await y(w)}catch(w){console.error(w);const A=o.getErrorMessage(w);return console.error(`loadAsyncComp error:${A}`),o.loaderError.value=A,null}finally{o.loading.value=!1}},O=async()=>{const w=a.value;if(!w){console.error("组件挂载点不存在");return}h++;const A=h;t.panelType===ve.COMP_EDIT_TAB_TYPE_MINI&&(g={onScaleChange:(I,x)=>o.addScaleListener(I,x,a.value)}),p=document.createElement("div"),p.style.height="100%",p.style.width="100%",w.appendChild(p);const E=()=>{p?.parentNode&&p.remove(),p=null};try{const I=await _();if(A!==h){E();return}if(!I){console.error("React组件加载失败"),E();return}const x=await v(I,p);if(!x){E();return}const{root:P,unmount:T}=x;f=P,p.__unmount=T,o.setupScaleObserver(()=>a.value),setTimeout(()=>{o.notifyRendered()},0)}catch(I){console.error(I),console.error(`handleCompRender error:${o.getErrorMessage(I)}`),E()}},S=()=>{p&&p.__unmount&&(p.__unmount(),p=null,f=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:S,handleCompRender:O}),(w,A)=>(Ce(),_t(kT,{ref_key:"layoutRef",ref:s,loading:je(o).loading.value,"class-obj":je(o).classObj.value,"current-render-error":je(o).currentRenderError.value,"current-render-warn":je(o).currentRenderWarn.value,"screenshot-url":je(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),A5=Lt({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:ve.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=xM(),n=e,r=ue(()=>{const{previews:s,...a}=n;return a}),o=ue(()=>n.framework===ve.COMP_FRAMEWORK_REACT||Em(n.dep));return(s,a)=>(Ce(),_t(je(ST),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},je(t)),{default:Pi(()=>[(Ce(!0),pt(Ht,null,Fs(e.previews,(c,u)=>(Ce(),_t(je(CT),{key:u,class:"comp-mini-carousel-item"},{default:Pi(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Ce(),_t(Sm,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Ce(),_t(Cm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ku=Sr(A5,[["__scopeId","data-v-dbb4f146"]]);function OT(e=3,t=ve.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=oo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=ue(()=>u.value?.item),p=ue(()=>u.value?.dep??[]),h=ue(()=>u.value?.depToFile??{}),g=ue(()=>{if(!f.value)return[];const v=t===ve.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(_=>v?_.miniPath?.length:_.fullPath?.length||_.miniPath?.length).slice(0,e).map(_=>{const O=v?_.miniPath:_.fullPath?.length?_.fullPath:_.miniPath,S=qH.getPreviewUrl(f.value.path,O);return{finalEntryUrl:`${ve.COMP_PREVIEW_PREFIX_LOCAL}/${S}`}})}),y=ue(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(ve.FILE_MANAGER_DIRNAME,ve.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,v=>{u.value=v}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const R5=Lt({__name:"index",setup(e){const{carouselBind:t}=OT(3,ve.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Ce(),_t(Ku,Ri(Su(je(t))),null,16))}});function AT(e=3,t=ve.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=oo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=Re(),p=ue(()=>u.value?.item),h=ue(()=>u.value?.depEntryNameToFile),g=ue(()=>u.value?.versionToFileAccessPath),y=ue(()=>u.value?.item?.version??""),v=ue(()=>{if(!Object.keys(p.value??{}).length)return[];const w=g.value??[],A=new Map(w.map(({path:I,signedUrl:x})=>[I,x])),E=t===ve.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(I=>E?I.miniPath?.length:I.fullPath?.length||I.miniPath?.length).slice(0,e).map(I=>{const x=E?I.miniPath:I.fullPath?.length?I.fullPath:I.miniPath,P=VH.replaceBackslashWithSlash(x?.at(-1)??"");return{finalEntryUrl:A.get(P)??""}})}),_=ue(()=>({previews:v.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let O=()=>{};function S(w){O=w}return c(Qe.ITEM_INIT_SET,w=>{u.value=w}),c(Qe.BG_COLOR_SET,w=>{f.value=w}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,w=>{w&&O(w)},{once:!0}),{compAttrs:p,carouselBind:_,setInitVersion:S}}const P5=Lt({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=AT(3),r=Re(""),o=ue(()=>({...t.value,panelType:ve.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(Ku,Ri(Su(o.value)),null,16))}});function I5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const L5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ni(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let ls=null;function RT(e={}){return ls||(e.includeStyleProperties?(ls=e.includeStyleProperties,ls):(ls=ni(window.getComputedStyle(document.documentElement)),ls))}function iu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function M5(e){const t=iu(e,"border-left-width"),n=iu(e,"border-right-width");return e.clientWidth+t+n}function N5(e){const t=iu(e,"border-top-width"),n=iu(e,"border-bottom-width");return e.clientHeight+t+n}function PT(e,t={}){const n=t.width||M5(e),r=t.height||N5(e);return{width:n,height:r}}function D5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function F5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function su(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function $5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function j5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),$5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function U5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function z5(e,t){return RT(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function B5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?U5(n):z5(n,r);return document.createTextNode(`${o}{${s}}`)}function $w(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=L5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(B5(a,n,o,r)),t.appendChild(c)}function W5(e,t,n){$w(e,t,":before",n),$w(e,t,":after",n)}const jw="application/font-woff",Uw="image/jpeg",H5={woff:jw,woff2:jw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Uw,jpeg:Uw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function V5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function km(e){const t=V5(e).toLowerCase();return H5[t]||""}function G5(e){return e.split(/,/)[1]}function vh(e){return e.search(/^(data:)/)!==-1}function K5(e,t){return`data:${t};base64,${e}`}async function IT(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const gp={};function q5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function Tm(e,t,n){const r=q5(e,t,n.includeQueryParams);if(gp[r]!=null)return gp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await IT(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),G5(c)));o=K5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return gp[r]=o,o}async function Y5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):su(t)}async function X5(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return su(c)}const n=e.poster,r=km(n),o=await Tm(n,r,t);return su(o)}async function J5(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await qu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function Q5(e,t){return Gn(e,HTMLCanvasElement)?Y5(e):Gn(e,HTMLVideoElement)?X5(e,t):Gn(e,HTMLIFrameElement)?J5(e,t):e.cloneNode(LT(e))}const Z5=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",LT=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function eX(e,t,n){var r,o;if(LT(t))return t;let s=[];return Z5(e)&&e.assignedNodes?s=ni(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ni(e.contentDocument.body.childNodes):s=ni(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>qu(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function tX(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):RT(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function nX(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function rX(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function oX(e,t,n){return Gn(t,Element)&&(tX(e,t,n),W5(e,t,n),nX(e,t),rX(e,t)),t}async function iX(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await qu(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function qu(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>Q5(r,t)).then(r=>eX(e,r,t)).then(r=>oX(e,r,t)).then(r=>iX(r,t))}const MT=/url\((['"]?)([^'"]+?)\1\)/g,sX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,aX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function lX(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function cX(e){const t=[];return e.replace(MT,(n,r,o)=>(t.push(o),n)),t.filter(n=>!vh(n))}async function uX(e,t,n,r,o){try{const s=n?I5(t,n):t,a=km(t);let c;return o||(c=await Tm(s,a,r)),e.replace(lX(t),`$1${c}$3`)}catch{}return e}function fX(e,{preferredFontFormat:t}){return t?e.replace(aX,n=>{for(;;){const[r,,o]=sX.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function NT(e){return e.search(MT)!==-1}async function DT(e,t,n){if(!NT(e))return e;const r=fX(e,n);return cX(r).reduce((s,a)=>s.then(c=>uX(c,a,t,n)),Promise.resolve(r))}async function cs(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await DT(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function dX(e,t){await cs("background",e,t)||await cs("background-image",e,t),await cs("mask",e,t)||await cs("-webkit-mask",e,t)||await cs("mask-image",e,t)||await cs("-webkit-mask-image",e,t)}async function pX(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!vh(e.src))&&!(Gn(e,SVGImageElement)&&!vh(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await Tm(r,km(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function hX(e,t){const r=ni(e.childNodes).map(o=>FT(o,t));await Promise.all(r).then(()=>e)}async function FT(e,t){Gn(e,Element)&&(await dX(e,t),await pX(e,t),await hX(e,t))}function mX(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const zw={};async function Bw(e){let t=zw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},zw[e]=t,t}async function Ww(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),IT(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Hw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function gX(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Bw(u).then(p=>Ww(p,t)).then(p=>Hw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Bw(o.href).then(c=>Ww(c,t)).then(c=>Hw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function yX(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>NT(t.style.getPropertyValue("src")))}async function bX(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ni(e.ownerDocument.styleSheets),r=await gX(n,t);return yX(r)}function $T(e){return e.trim().replace(/["']/g,"")}function _X(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add($T(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function vX(e,t){const n=await bX(e,t),r=_X(e);return(await Promise.all(n.filter(s=>r.has($T(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return DT(s.cssText,a,t)}))).join(`
|
|
61
|
-
`)}async function
|
|
62
|
-
${
|
|
59
|
+
`))},mT=(e,t,n)=>{const{moduleCache:r,pathResolve:o,getResource:s}=n,a=function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`require(${JSON.stringify(h)}) failed. module not found in moduleCache`)},c=async function(p){const{id:h}=s({refPath:e,relPath:p},n);if(h in r)return r[h];throw new Error(`Dynamic import(${JSON.stringify(h)}) failed. module not found in moduleCache`)},u={exports:{}};return Function("exports","require","module","__filename","__dirname","__vsfcl_import__",t).call(u.exports,u.exports,a,u,e,o({refPath:e,relPath:"."},n),c),u},gT=async e=>{const t=e.toString(),n=new URL(e).pathname;if(fT.some(o=>n.endsWith(o))||dT.some(o=>n.endsWith(o))){const o=await fetch(t);if(!o.ok)throw Object.assign(new Error(`${o.statusText} ${e}`),{res:o});const s=await o.blob();return URL.createObjectURL(s)}const r=await fetch(t);if(!r.ok)throw Object.assign(new Error(`${r.statusText} ${e}`),{res:r});return{type:ZY(r.url),getContentData:o=>o?r.arrayBuffer():r.text()}},yT=(e={})=>{const{signedUrls:t}=e;return async function(r,o,s){let a=r;s&&r&&(a=QY(r,s,t||[])),o&&document.head.querySelector(`style#${o}`)?.remove();const c=Object.assign(document.createElement("style"),{textContent:a,...o?{id:o}:{}});document.head.appendChild(c)}},bT=({depToFile:e,signedUrls:t,sourceExtensions:n,resolveDepUrl:r})=>function({refPath:s,relPath:a},c){if(a===".")return s;if(c.moduleCache[a])return a;const u=e[a];if(u){const f=r(u);if(f)return f}if(t?.length&&s){const{origin:f,pathname:p}=new URL(s),h=`${f}${p}`,g=new URL(a,h);for(const w of n){const _=t.find(O=>O.signedUrl.startsWith(g.href+w));if(_)return _.signedUrl}const y=t.find(w=>w.signedUrl.startsWith(g.href));if(y)return y.signedUrl}return String(new URL(a,s??window.location.href))},b6={".scss":"scss",".sass":"sass",".less":"less"},_T=(e,t)=>async function(r,o,s){if(y6(r))return await o(!1);switch(r){case".css":{const a=await o(!1);return typeof a=="string"&&await e(a,void 0,s),null}case".less":case".scss":case".sass":{const a=await o(!1),c=b6[r];if(typeof a=="string"){const u=a.trim();if(u){const f=t?await t(u,c):u;await e(f,void 0,s)}}return null}}},pp={},_6=e=>`/${we.WEBSITE_PATH_CONTAINER}/js/${e}.js`;async function v6(e){let t;try{t=await fetch(e)}catch(s){throw new Error(`[loadScript] 网络请求失败: ${e}
|
|
60
|
+
${s?.message||s}`)}if(!t.ok)throw new Error(`[loadScript] HTTP ${t.status} ${t.statusText}: ${e}`);const n=await t.text(),r=new Blob([n],{type:"application/javascript"}),o=URL.createObjectURL(r);return new Promise((s,a)=>{const c=document.createElement("script");c.src=o,c.onload=()=>{URL.revokeObjectURL(o),s()},c.onerror=()=>{URL.revokeObjectURL(o),a(new Error(`[loadScript] 脚本执行失败: ${e}`))},document.head.appendChild(c)})}function w6(e){return e==="less"?we.LESS_COMPILER_KEY:we.SASS_COMPILER_KEY}async function Mw(e,t=_6){const n=w6(e);if(pp[n])return pp[n];let r=window[n];if(!r)try{const o=window.parent;o&&o!==window&&(r=o[n])}catch{r=null}if(!r){const o=t(n);await v6(o),r=window[n]}if(!r)throw new Error(`[getCssCompiler] CSS 预编译器 ${e} 加载失败`);return pp[n]=r,r}async function E6(e,t,n){return t==="less"?(await(await Mw("less",n)).render(e)).css:(await Mw(t,n)).compileString(e).css}const vT=e=>{const{warnCallBack:t,scriptPathResolver:n}=e;return async(r,o)=>{if(r.trim()&&o)try{return await E6(r,o,n)}catch(a){throw t?.(`[processStyles] 浏览器端 CSS 预编译失败: ${a?.message||a}`),a}return r}},S6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,templateCompiler:s,cssCompilerScriptPathResolver:a,resolveDepUrl:c})=>{const u=vT({warnCallBack:o,scriptPathResolver:a}),f=yT({signedUrls:n}),p=_T(f,u),g=bT({depToFile:t,signedUrls:n,sourceExtensions:[".vue",".js",".ts"],resolveDepUrl:c??(w=>new URL(`${we.MODULE_LOAD_PREFIX}/${w}`,window.location.origin).href)});return{moduleCache:e,...s?{templateCompiler:s}:{},pathResolve:g,getFile:gT,addStyle:f,processStyles:u,handleModule:p,compiledCache:pT({errorCallBack:r,label:"vue3-sfc-loader"}),log:hT(r,o),createCJSModule:mT}},C6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",k6=e=>{const{loadSfcLoader:t,entryUrl:n,loadMainJs:r,useAsyncComponent:o=!1,installExtensions:s,callbacks:a={}}=e,{setLoading:c,onRenderError:u,onLoaderError:f,onCompCodeError:p,onCompCodeWarn:h,getErrorMessage:g=C6}=a,y=S=>{S.config.errorHandler=v=>{const T=g(v);console.error(`[vue3] errorHandler: ${T}`),p?.(T),c?.(!1)},S.config.warnHandler=v=>{console.warn(`[vue3] warnHandler: ${v}`),h?.(v),c?.(!1)}},w=S=>{S.config.errorHandler=function(v){const T=g(v);console.error(`[vue2] errorHandler: ${T}`),p?.(T),c?.(!1)},S.config.warnHandler=function(v){console.warn(`[vue2] warnHandler: ${v}`),h?.(v),c?.(!1)}};return{loadVue3Comp:async S=>{let v;try{v=await t("vue3")}catch(T){const E=g(T);return console.error("[loadVue3Comp] sfcLoader 加载失败:",E),u?.(E),null}try{const{loadModule:T}=v,E=S?.moduleCache?.vue??await T("vue",S);if(!E?.createApp)return u?.("Vue 3 runtime not found in deps"),null;let R;if(o){const{defineAsyncComponent:A}=E;if(!A)return u?.("defineAsyncComponent is not defined"),null;const L=A({loader:async()=>await T(n,S),delay:100,timeout:2e4,onError:(x,N,G)=>{if(console.error(`onError:${x.message}`),u?.(x.message),x)return G()}});R=E.createApp({template:"<AsyncComp />"}),R.component("AsyncComp",L)}else{const A=await T(n,S);R=E.createApp(A)}return E.app=R,s?.vue3?.(R.config.globalProperties),y(R),await r(async A=>await T(A,S)),R}catch(T){const E=g(T);return console.error(`[loadVue3Comp] error: ${E}`),f?.(E),null}},loadVue2Comp:async S=>{let v;try{v=await t("vue2")}catch(T){const E=g(T);return console.error("[loadVue2Comp] sfcLoader 加载失败:",E),u?.(E),null}try{const{loadModule:T}=v,E=await T("vue",S);if(!E?.default)return u?.("Vue 2 runtime not found in deps"),null;s?.vue2?.(E.default.prototype),w(E.default),await r(async A=>await T(A,S));const R=await T(n,S);return new E.default(R)}catch(T){const E=g(T);return console.error(`[loadVue2Comp] error: ${E}`),f?.(E),null}}}},T6=({moduleCache:e,depToFile:t,signedUrls:n,errorCallBack:r,warnCallBack:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a})=>{const c=yT({signedUrls:n}),u=vT({warnCallBack:o,scriptPathResolver:s}),f=_T(c,u),h=bT({depToFile:t,signedUrls:n,sourceExtensions:[".jsx",".js",".tsx",".ts"],resolveDepUrl:a??(y=>new URL(`${we.MODULE_LOAD_PREFIX}/${y}`,window.location.origin).href)});return{moduleCache:e,pathResolve:h,getFile:gT,addStyle:c,handleModule:f,compiledCache:pT({errorCallBack:r,label:"react-jsx-loader"}),log:hT(r,o),createCJSModule:mT}},wm=e=>e.some(t=>t.name==="react"),x6=e=>e instanceof Error?e.message:typeof e=="string"?e:"未知错误",O6=e=>{const{loadReactLoader:t,entryUrl:n,depToFile:r,signedUrls:o,cssCompilerScriptPathResolver:s,resolveDepUrl:a,enableWarnPatch:c=!1,extraProps:u,runtimeNotFoundMsg:f="React runtime not found",reactDomNotFoundMsg:p="ReactDOM runtime not found",callbacks:h={}}=e,{onLoaderError:g,onCompileError:y,onCompileWarn:w,onCompCodeError:_,onConsoleWarn:O,onCompRenderError:S,getErrorMessage:v=x6}=h;return{loadReactComp:async R=>{try{const A=await t(),{loadModule:L}=A,x=T6({moduleCache:R,depToFile:r,signedUrls:o,errorCallBack:K=>y?.(K.message),warnCallBack:K=>w?.(K),...s?{cssCompilerScriptPathResolver:s}:{},...a?{resolveDepUrl:a}:{}}),N=await L("react",x);if(!N)return g?.(f),null;const G=await L(n,x);return G?.default?{React:N,Component:G.default,loadModule:L,options:x}:(S?.("Component has no default export"),null)}catch(A){const L=v(A);return console.error(`loadReactComp error: ${L}`),g?.(L),null}},mountReactApp:async({React:R,Component:A,loadModule:L,options:x},N)=>{let G;try{G=await L("react-dom/client",x)}catch{try{G=await L("react-dom",x)}catch{return g?.(p),null}}if(!G)return g?.(p),null;const K=typeof G?.default?.createRoot=="function",ae=class extends R.Component{state={hasError:!1,errorMessage:""};static getDerivedStateFromError(re){return{hasError:!0,errorMessage:re.message}}componentDidCatch(re){console.error(`React render error: ${re?.message||re}`),_?.(re?.message||String(re))}render(){return this.state.hasError?R.createElement("div",{style:{color:"red",padding:"16px"}},`Component render error: ${this.state.errorMessage}`):this.props.children}};let ue=null;if(c){ue=console.error;const re=/^Warning:/;console.error=(...he)=>{const Ee=he.join(" ");re.test(Ee)&&O?.(Ee),ue.apply(console,he)}}const B=()=>{ue&&(console.error=ue)},ne=()=>{const re=u?.()??{};return R.createElement(ae,null,R.createElement(A,re))};if(K){const re=G.default.createRoot(N);return re.render(R.createElement(ne)),{root:re,unmount:()=>{console.log("React组件卸载"),B(),re.unmount(),N.remove()}}}else return G.default.render(R.createElement(ne),N),{root:null,unmount:()=>{console.log("React组件卸载"),B(),G.default.unmountComponentAtNode(N),N.remove()}}}}};async function wT(e,t,n,r){const o=[...e];return o.sort((a,c)=>{for(const u of n){if(a.name===u)return-1;if(c.name===u)return 1}return 0}),await o.reduce(async(a,c)=>{const{name:u}=c,f=await a,p=t[u];if(!p||r$.PREBUILD_MODULE_SKIP_EXT.find(g=>p.endsWith(g)))return f;try{const y=await import(r?r(u,p):`${we.MODULE_LOAD_PREFIX}/${p}`);f[u]={...y.default,...y,__esModule:!0}}catch(g){const y=g instanceof Error?g.message:String(g);console.warn(`[cacheModule] dep "${u}" preload failed, will be handled by loader:`,y)}return f},Promise.resolve({}))}const A6=["id","aria-label","aria-disabled"],R6=["onClick"],P6=["name","value","checked","disabled","onChange"],L6={class:"segmented__label"},I6=It({__name:"Segmented",props:{modelValue:{type:[String,Number,Boolean],default:void 0},options:{default:()=>[]},segProps:{default:void 0},size:{default:void 0},block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},validateEvent:{type:Boolean,default:!0},name:{default:void 0},id:{default:void 0},ariaLabel:{default:void 0},direction:{default:"horizontal"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=e,r=t,o=Re(),s=Re({opacity:"0"}),a=ce(()=>n.segProps?.value||"value"),c=ce(()=>n.segProps?.label||"label"),u=ce(()=>n.segProps?.disabled||"disabled");function f(O){return typeof O=="object"&&O!==null?O[a.value]:O}function p(O){return typeof O=="object"&&O!==null?O[c.value]:O}function h(O){return n.disabled?!0:typeof O=="object"&&O!==null?!!O[u.value]:!1}const g=ce(()=>n.options.map(O=>typeof O=="object"&&O!==null?{...O,[a.value]:O[a.value],[c.value]:O[c.value],[u.value]:O[u.value]}:O));function y(O){return f(O)===n.modelValue}function w(O){if(h(O))return;const S=f(O);S!==n.modelValue&&(r("update:modelValue",S),r("change",S))}function _(){Ur(()=>{const O=o.value?.parentElement;if(!O)return;const S=O.querySelectorAll(".segmented__item");let v=null;for(let R=0;R<S.length;R++){const A=S.item(R);if(A&&A.classList.contains("is-selected")){v=A;break}}if(!v){s.value={opacity:"0"};return}const T=O.getBoundingClientRect(),E=v.getBoundingClientRect();n.direction==="vertical"?s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateY(${E.top-T.top}px)`}:s.value={opacity:"1",width:`${E.width}px`,height:`${E.height}px`,transform:`translateX(${E.left-T.left}px)`}})}return gt(()=>n.modelValue,_),gt(()=>n.options,_),gt(()=>n.direction,_),Er(_),(O,S)=>(Ce(),pt("div",{id:e.id,"aria-label":e.ariaLabel,role:"radiogroup","aria-disabled":e.disabled,class:Tt(["segmented",[`segmented--${e.direction}`,e.size&&`segmented--${e.size}`,{"segmented--block":e.block,"is-disabled":e.disabled}]])},[mt("div",{ref_key:"indicatorRef",ref:o,class:"segmented__indicator",style:Bn(s.value)},null,4),(Ce(!0),pt(Ht,null,Fs(g.value,(v,T)=>(Ce(),pt("label",{key:f(v),class:Tt(["segmented__item",{"is-selected":y(v),"is-disabled":h(v)}]),onClick:E=>w(v)},[mt("input",{type:"radio",class:"segmented__input",name:e.name,value:f(v),checked:y(v),disabled:h(v),onChange:E=>w(v)},null,40,P6),mt("span",L6,[ti(O.$slots,"default",{item:v,index:T},()=>[zc(Oo(p(v)),1)],!0)])],10,R6))),128))],10,A6))}}),M6=Sr(I6,[["__scopeId","data-v-1ee57095"]]),N6={class:"ec-list"},D6={class:"ec-actions"},F6=It({__name:"ErrorComponent",props:{error:{}},setup(e){const{t}=Di(),n=CC();return(r,o)=>(Ce(),pt("div",{class:Tt(["ec-outer",je(n)?"ec-outer--dark":"ec-outer--light"])},[mt("div",{class:Tt(["ec-inner",je(n)?"ec-inner--dark":"ec-inner--light"])},[o[0]||(o[0]=mt("div",{class:"ec-icon"},"🔧",-1)),mt("h4",{class:Tt(["ec-title",je(n)?"ec-title--dark":"ec-title--light"])},Oo(je(t)("comp.compileError")),3),mt("div",N6,[(Ce(!0),pt(Ht,null,Fs(e.error,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["ec-item",je(n)?"ec-item--dark":"ec-item--light"])},Oo(s),3))),128))]),mt("div",D6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),Nw=Sr(F6,[["__scopeId","data-v-5cf301e4"]]),$6={class:"wc-list"},j6={class:"wc-actions"},U6=It({__name:"WarnComponent",props:{warn:{}},setup(e){const{t}=Di(),n=CC();return(r,o)=>(Ce(),pt("div",{class:Tt(["wc-outer",je(n)?"wc-outer--dark":"wc-outer--light"])},[mt("div",{class:Tt(["wc-inner",je(n)?"wc-inner--dark":"wc-inner--light"])},[o[0]||(o[0]=mt("div",{class:"wc-icon"},"⚠️",-1)),mt("h4",{class:Tt(["wc-title",je(n)?"wc-title--dark":"wc-title--light"])},Oo(je(t)("comp.compileWarn")),3),mt("div",$6,[(Ce(!0),pt(Ht,null,Fs(e.warn,(s,a)=>(Ce(),pt("div",{key:a,class:Tt(["wc-item",je(n)?"wc-item--dark":"wc-item--light"])},Oo(s),3))),128))]),mt("div",j6,[ti(r.$slots,"actions",{},void 0,!0)])],2)],2))}}),z6=Sr(U6,[["__scopeId","data-v-cce09743"]]),B6=It({__name:"Card",props:{header:{default:""},footer:{default:""},bodyStyle:{default:()=>({})},shadow:{default:"always"},headerClass:{default:""},bodyClass:{default:""},footerClass:{default:""}},setup(e,{expose:t}){const n=Ns("bodyRef");return t({bodyRef:n}),(r,o)=>(Ce(),pt("div",{class:Tt(["card",[`is-${e.shadow}-shadow`,{"is-always-shadow":e.shadow==="always"}]])},[r.$slots.header||e.header?(Ce(),pt("div",{key:0,class:Tt(["card__header",e.headerClass])},[ti(r.$slots,"header",{},()=>[zc(Oo(e.header),1)],!0)],2)):Mr("",!0),mt("div",{ref_key:"bodyRef",ref:n,class:Tt(["card__body",e.bodyClass]),style:Bn(e.bodyStyle)},[ti(r.$slots,"default",{},void 0,!0)],6),r.$slots.footer||e.footer?(Ce(),pt("div",{key:1,class:Tt(["card__footer",e.footerClass])},[ti(r.$slots,"footer",{},()=>[zc(Oo(e.footer),1)],!0)],2)):Mr("",!0)],2))}}),ET=Sr(B6,[["__scopeId","data-v-36db9d87"]]),W6=It({__name:"Carousel",props:{height:{default:""},initialIndex:{default:0},trigger:{default:"hover"},autoplay:{type:Boolean,default:!0},interval:{default:3e3},arrow:{default:"hover"},type:{default:""},cardScale:{default:.83},loop:{type:Boolean,default:!0},direction:{default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}},emits:["change"],setup(e,{expose:t,emit:n}){const r=e,o=n,s=Re(r.initialIndex),a=Re(!1),c=Re(!1),u=Re(),f=Re([]);function p(B){f.value.push(B)}function h(B){const ne=f.value.findIndex(re=>re.uid===B);ne!==-1&&(f.value.splice(ne,1),s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)))}const g=ce(()=>r.direction==="vertical"),y=ce(()=>r.type==="card"),w=ce(()=>r.cardScale);Ti("carousel",{items:f,addItem:p,removeItem:h,activeIndex:s,isVertical:g,isCard:y,cardScale:w,translating:ce(()=>a.value),animating:ce(()=>a.value),slideTo:R});const _=ce(()=>{const B={};return r.height&&r.height!=="auto"&&(B.height=r.height),B}),O=ce(()=>{if(y.value)return{};if(f.value.length===0)return{};const ne=-s.value*100;return g.value?{transform:`translateY(${ne}%)`}:{transform:`translateX(${ne}%)`}}),S=ce(()=>r.trigger==="click"?"click":"mouseenter"),v=ce(()=>g.value?{top:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{}),T=ce(()=>g.value?{bottom:"16px",left:"50%",transform:"translateX(-50%) rotate(90deg)"}:{});function E(B){const ne=f.value.length;return ne===0?0:r.loop?(B%ne+ne)%ne:Math.max(0,Math.min(B,ne-1))}function R(B){if(f.value.length===0)return;const re=E(B);if(re===s.value)return;const he=s.value;s.value=re,a.value=!0,o("change",re,he),setTimeout(()=>{a.value=!1},400)}function A(){R(s.value+1)}function L(){R(s.value-1)}function x(B){if(typeof B=="number"){R(B);return}const ne=f.value.findIndex(re=>re.name===B);ne!==-1&&R(ne)}let N=null;function G(){K(),!(!r.autoplay||f.value.length<=1)&&(N=setInterval(()=>{c.value&&r.pauseOnHover||A()},r.interval))}function K(){N!==null&&(clearInterval(N),N=null)}function ae(){c.value=!0}function ue(){c.value=!1}return gt(()=>f.value.length,()=>{s.value>=f.value.length&&(s.value=Math.max(0,f.value.length-1)),r.autoplay&&G()}),gt(()=>r.autoplay,B=>{B?G():K()}),gt(()=>r.interval,()=>{r.autoplay&&G()}),Er(()=>{r.autoplay&&G()}),wu(()=>{K()}),t({activeIndex:s,setActiveItem:x,prev:L,next:A}),(B,ne)=>(Ce(),pt("div",{ref_key:"carouselRef",ref:u,class:Tt(["carousel",[`carousel--${e.direction}`]]),style:Bn(_.value),onMouseenter:ae,onMouseleave:ue},[mt("div",{class:Tt(["carousel__viewport",{"carousel__viewport--card":e.type==="card"}])},[mt("div",{class:Tt(["carousel__track",{"carousel__track--card":e.type==="card","carousel__track--animating":a.value,"carousel__track--motion-blur":e.motionBlur&&a.value}]),style:Bn(O.value)},[ti(B.$slots,"default",{},void 0,!0)],6)],2),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:0,class:Tt(["carousel__arrow carousel__arrow--left",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(v.value),onClick:Rb(L,["stop"])},[...ne[0]||(ne[0]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--left"},null,-1)])],6)):Mr("",!0),e.arrow!=="never"&&f.value.length>1?(Ce(),pt("button",{key:1,class:Tt(["carousel__arrow carousel__arrow--right",{"carousel__arrow--always":e.arrow==="always"}]),style:Bn(T.value),onClick:Rb(A,["stop"])},[...ne[1]||(ne[1]=[mt("span",{class:"carousel__arrow-icon carousel__arrow-icon--right"},null,-1)])],6)):Mr("",!0),f.value.length>1?(Ce(),pt("ul",{key:2,class:Tt(["carousel__indicators",{"carousel__indicators--vertical":e.direction==="vertical"}])},[(Ce(!0),pt(Ht,null,Fs(f.value,(re,he)=>(Ce(),pt("li",Nr({key:re.uid,class:["carousel__indicator",{"carousel__indicator--active":he===s.value}]},{[yc(S.value)]:Ee=>x(he)}),[mt("span",null,Oo(re.label||""),1)],16))),128))],2)):Mr("",!0)],38))}}),ST=Sr(W6,[["__scopeId","data-v-44ca82d0"]]),H6=It({__name:"CarouselItem",props:{name:{default:""},label:{default:""}},setup(e){const t=e,n=Re(!1),r=En("carousel"),o=Re(0);Er(()=>{o.value=Math.random(),r?.addItem({uid:o.value,name:t.name,label:t.label}),n.value=!0}),wu(()=>{r?.removeItem(o.value)});const s=ce(()=>r?.items.value??[]),a=ce(()=>r?.activeIndex.value??0),c=ce(()=>r?.isCard.value??!1),u=ce(()=>r?.cardScale.value??.83),f=ce(()=>s.value.findIndex(_=>_.uid===o.value)),p=ce(()=>f.value===a.value),h=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value-1+_)%_}),g=ce(()=>{if(!c.value)return!1;const _=s.value.length;return _<=1?!1:f.value===(a.value+1)%_}),y=ce(()=>{if(c.value&&s.value.length>1){const _=u.value;return p.value?{transform:"translateX(0) scale(1)",zIndex:3,opacity:1}:h.value?{transform:`translateX(-30%) scale(${_})`,zIndex:2,opacity:.6}:g.value?{transform:`translateX(30%) scale(${_})`,zIndex:2,opacity:.6}:{transform:`translateX(0) scale(${_})`,zIndex:1,opacity:0}}return{}});function w(){c.value&&(p.value||(h.value||g.value)&&r?.slideTo(f.value))}return(_,O)=>_p((Ce(),pt("div",{class:Tt(["carousel-item",{"carousel-item--card":c.value,"carousel-item--active":p.value,"carousel-item--prev":h.value,"carousel-item--next":g.value}]),style:Bn(y.value),onClick:w},[ti(_.$slots,"default",{},void 0,!0)],6)),[[s0,n.value]])}}),CT=Sr(H6,[["__scopeId","data-v-6046a978"]]),V6={class:"async-comp-wrapper"},G6={key:0,class:"async-comp-error screenshot-fallback"},K6={class:"toggle-btn active error"},q6=["src"],Y6={key:1,class:"async-comp-error"},X6={key:2,class:"async-comp-error"},J6={class:"toggle-btn active warn"},Q6=It({__name:"index",props:{loading:{type:Boolean},classObj:{},currentRenderError:{},currentRenderWarn:{},screenshotUrl:{}},setup(e,{expose:t}){const n=e,r=Ns("compContainer"),o=Re(!0),s=Re(!1),a=ce(()=>n.currentRenderError.length>0?!1:n.currentRenderWarn.length>0?!s.value:!0);return t({compContainer:r}),(c,u)=>{const f=Lh("Icon"),p=kM("loading");return _p((Ce(),pt("div",V6,[_p(mt("div",{ref_key:"compContainer",ref:r,class:Tt(["async-comp-container",e.classObj])},null,2),[[s0,a.value]]),e.currentRenderError.length&&e.screenshotUrl?(Ce(),pt("div",G6,[mt("div",{class:"screenshot-toggle",onClick:u[0]||(u[0]=h=>o.value=!o.value)},[mt("div",K6,[o.value?(Ce(),_t(f,{key:0,icon:"material-symbols:error-outline-rounded"})):(Ce(),_t(f,{key:1,icon:"material-symbols:broken-image-outline-rounded"}))])]),o.value?(Ce(),pt("img",{key:0,src:e.screenshotUrl,class:"screenshot-img",alt:"组件预览截图"},null,8,q6)):(Ce(),_t(je(Nw),{key:1,error:e.currentRenderError},null,8,["error"]))])):e.currentRenderError.length?(Ce(),pt("div",Y6,[Vt(je(Nw),{error:e.currentRenderError},null,8,["error"])])):e.currentRenderWarn.length?(Ce(),pt("div",X6,[mt("div",{class:"screenshot-toggle",onClick:u[1]||(u[1]=h=>s.value=!s.value)},[mt("div",J6,[s.value?(Ce(),_t(f,{key:1,icon:"material-symbols:visibility-outline-rounded"})):(Ce(),_t(f,{key:0,icon:"material-symbols:warning-outline-rounded"}))])]),s.value?(Ce(),_t(je(z6),{key:0,warn:e.currentRenderWarn},null,8,["warn"])):Mr("",!0)])):Mr("",!0)])),[[p,e.loading]])}}}),kT=Sr(Q6,[["__scopeId","data-v-d88466a0"]]),TT=Symbol("compRenderEvent");function Z6(){const e=Re(0);return Ti(TT,()=>{e.value++}),{renderEvent:e}}function e5(){const e=En(TT,null);return{notifyRendered:()=>e?.()}}function xT(e,t){const{loaderError:n,loaderWarn:r}=t,{sendMessageToTop:o}=js(),s=$s(),{params:{instanceUid:a}}=Mo(),{notifyRendered:c}=e5(),u=Re(!1),f=Re(""),p=Re(""),h=Re(""),g=Re(""),y=Re([]),w=ce(()=>({"async-comp-overflow-auto":e.panelType===we.COMP_EDIT_TAB_TYPE_FULL,"async-comp-overflow-hidden":e.panelType===we.COMP_EDIT_TAB_TYPE_MINI})),_=ce(()=>{const ae=[...y.value,f.value,p.value,n.value,g.value].filter(Boolean);return[...new Set(ae)]}),O=ce(()=>{const ae=[h.value,...r.value].filter(Boolean);return[...new Set(ae)]}),S=ce(()=>e.signedUrls?.length&&e.signedUrls.find(ue=>ue.path===`/${we.COMP_SCREENSHOT_MINI_FILENAME}`)?.signedUrl||null),v=ae=>ae instanceof Error?ae.message:typeof ae=="string"?ae:"未知错误",T=()=>{f.value="",p.value="",h.value="",n.value="",r.value=[],g.value="",y.value=[]},E=new Set;let R=null;const A=ae=>{E.forEach(({params:ue,callback:B})=>{B(yv(ae,ue.mode,ue.width,ue.height))})},L=ae=>{if(e.panelType!==we.COMP_EDIT_TAB_TYPE_MINI||R)return;const ue=ae();ue&&(R=new ResizeObserver(()=>{const B=ae();B&&A(B)}),R.observe(ue))},x=(ae,ue,B)=>{const ne={params:ae,callback:ue};return E.add(ne),B&&ue(yv(B,ae.mode,ae.width,ae.height)),()=>{E.delete(ne)}},N=()=>{R?.disconnect(),R=null,E.clear()},G=()=>{const B=(e.dep||[]).filter(re=>!e.depToFile[re.name]).map(re=>`${re.parent?.name||re.name}${re.version||""} uninstalled`),ne=[...new Set(B)];ne.length&&(g.value=ne.join(", "))};function K(ae){gt(()=>e.finalEntryUrl,async ue=>{ae.unmount(),ue&&(await Ur(),await ae.handleCompRender())},{immediate:!0}),gt(()=>[_.value,O.value],([ue,B])=>{!ue.length&&!B.length||ue.length>0&&ae.unmount()}),gt(()=>({hasError:_.value.length>0,hasWarn:O.value.length>0}),({hasError:ue,hasWarn:B})=>{o(Qe.COMP_RENDER_ERROR_SET,{hasError:ue,hasWarn:B},s,a)},{immediate:!0}),Ds(()=>{ae.unmount(),N()})}return{sendMessageToTop:o,topOrigin:s,instanceUid:a,notifyRendered:c,loading:u,compRenderError:f,compCodeError:p,compCodeWarn:h,moduleNotInstalledError:g,modulesLoadError:y,loaderError:n,loaderWarn:r,classObj:w,currentRenderError:_,currentRenderWarn:O,screenshotUrl:S,getErrorMessage:v,resetAllError:T,notifyScaleListeners:A,setupScaleObserver:L,addScaleListener:x,checkDepModuleExist:G,setupLifecycle:K}}var hp,Dw;function t5(){if(Dw)return hp;Dw=1;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function t(o,s){for(var a="",c=0,u=-1,f=0,p,h=0;h<=o.length;++h){if(h<o.length)p=o.charCodeAt(h);else{if(p===47)break;p=47}if(p===47){if(!(u===h-1||f===1))if(u!==h-1&&f===2){if(a.length<2||c!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",c=0):(a=a.slice(0,g),c=a.length-1-a.lastIndexOf("/")),u=h,f=0;continue}}else if(a.length===2||a.length===1){a="",c=0,u=h,f=0;continue}}s&&(a.length>0?a+="/..":a="..",c=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),c=h-u-1;u=h,f=0}else p===46&&f!==-1?++f:f=-1}return a}function n(o,s){var a=s.dir||s.root,c=s.base||(s.name||"")+(s.ext||"");return a?a===s.root?a+c:a+o+c:c}var r={resolve:function(){for(var s="",a=!1,c,u=arguments.length-1;u>=-1&&!a;u--){var f;u>=0?f=arguments[u]:(c===void 0&&(c=process.cwd()),f=c),e(f),f.length!==0&&(s=f+"/"+s,a=f.charCodeAt(0)===47)}return s=t(s,!a),a?s.length>0?"/"+s:"/":s.length>0?s:"."},normalize:function(s){if(e(s),s.length===0)return".";var a=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return s=t(s,!a),s.length===0&&!a&&(s="."),s.length>0&&c&&(s+="/"),a?"/"+s:s},isAbsolute:function(s){return e(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,a=0;a<arguments.length;++a){var c=arguments[a];e(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":r.normalize(s)},relative:function(s,a){if(e(s),e(a),s===a||(s=r.resolve(s),a=r.resolve(a),s===a))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var u=s.length,f=u-c,p=1;p<a.length&&a.charCodeAt(p)===47;++p);for(var h=a.length,g=h-p,y=f<g?f:g,w=-1,_=0;_<=y;++_){if(_===y){if(g>y){if(a.charCodeAt(p+_)===47)return a.slice(p+_+1);if(_===0)return a.slice(p+_)}else f>y&&(s.charCodeAt(c+_)===47?w=_:_===0&&(w=0));break}var O=s.charCodeAt(c+_),S=a.charCodeAt(p+_);if(O!==S)break;O===47&&(w=_)}var v="";for(_=c+w+1;_<=u;++_)(_===u||s.charCodeAt(_)===47)&&(v.length===0?v+="..":v+="/..");return v.length>0?v+a.slice(p+w):(p+=w,a.charCodeAt(p)===47&&++p,a.slice(p))},_makeLong:function(s){return s},dirname:function(s){if(e(s),s.length===0)return".";for(var a=s.charCodeAt(0),c=a===47,u=-1,f=!0,p=s.length-1;p>=1;--p)if(a=s.charCodeAt(p),a===47){if(!f){u=p;break}}else f=!1;return u===-1?c?"/":".":c&&u===1?"//":s.slice(0,u)},basename:function(s,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(s);var c=0,u=-1,f=!0,p;if(a!==void 0&&a.length>0&&a.length<=s.length){if(a.length===s.length&&a===s)return"";var h=a.length-1,g=-1;for(p=s.length-1;p>=0;--p){var y=s.charCodeAt(p);if(y===47){if(!f){c=p+1;break}}else g===-1&&(f=!1,g=p+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=p):(h=-1,u=g))}return c===u?u=g:u===-1&&(u=s.length),s.slice(c,u)}else{for(p=s.length-1;p>=0;--p)if(s.charCodeAt(p)===47){if(!f){c=p+1;break}}else u===-1&&(f=!1,u=p+1);return u===-1?"":s.slice(c,u)}},extname:function(s){e(s);for(var a=-1,c=0,u=-1,f=!0,p=0,h=s.length-1;h>=0;--h){var g=s.charCodeAt(h);if(g===47){if(!f){c=h+1;break}continue}u===-1&&(f=!1,u=h+1),g===46?a===-1?a=h:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||u===-1||p===0||p===1&&a===u-1&&a===c+1?"":s.slice(a,u)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return n("/",s)},parse:function(s){e(s);var a={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return a;var c=s.charCodeAt(0),u=c===47,f;u?(a.root="/",f=1):f=0;for(var p=-1,h=0,g=-1,y=!0,w=s.length-1,_=0;w>=f;--w){if(c=s.charCodeAt(w),c===47){if(!y){h=w+1;break}continue}g===-1&&(y=!1,g=w+1),c===46?p===-1?p=w:_!==1&&(_=1):p!==-1&&(_=-1)}return p===-1||g===-1||_===0||_===1&&p===g-1&&p===h+1?g!==-1&&(h===0&&u?a.base=a.name=s.slice(1,g):a.base=a.name=s.slice(h,g)):(h===0&&u?(a.name=s.slice(1,p),a.base=s.slice(1,g)):(a.name=s.slice(h,p),a.base=s.slice(h,g)),a.ext=s.slice(p,g)),h>0?a.dir=s.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,hp=r,hp}var Fw=t5();async function n5(e,t){return xt("__local__/api/comp/check",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function r5(e,t){return xt("__local__/api/comp/checkCompRepeat",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function o5(e,t){return xt("__local__/api/comp/compFileHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function i5(e,t){return xt("__local__/api/comp/compFilesOssSignedUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function s5(e,t){return xt("__local__/api/comp/dep",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function a5(e,t){return xt("__local__/api/comp/dir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function l5(e,t){return xt("__local__/api/comp/download",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function c5(e,t){return xt("__local__/api/comp/file",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function u5(e,t){return xt("__local__/api/comp/generateCompJson",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function f5(e,t){return xt("__local__/api/comp/localCompDetailByPathHash",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function d5(e,t){return xt("__local__/api/comp/localComps",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function p5(e,t){return xt("__local__/api/comp/localCompsByIds",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function h5(e,t){return xt("__local__/api/comp/openCompPathInExplorer",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function m5(e,t){return xt("__local__/api/comp/openCompPathInVscode",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function g5(e){return xt("__local__/api/comp/packageJson",{method:"POST",...e||{}})}async function y5(e,t){return xt("__local__/api/comp/renameDir",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function b5(e,t){return xt("__local__/api/comp/submit",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function _5(e,t){return xt("__local__/api/comp/update",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function v5(e,t){return xt("__local__/api/comp/updateVersion",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function w5(e,t){return xt("__local__/api/comp/writeFile",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const E5=Object.freeze(Object.defineProperty({__proto__:null,compcontrollerCheck:n5,compcontrollerCheckcomprepeat:r5,compcontrollerCompfilehash:o5,compcontrollerCompfilesosssignedurl:i5,compcontrollerDep:s5,compcontrollerDir:a5,compcontrollerDownload:l5,compcontrollerFile:c5,compcontrollerGeneratecompjson:u5,compcontrollerLocalcompdetailbypathhash:f5,compcontrollerLocalcomps:d5,compcontrollerLocalcompsbyids:p5,compcontrollerOpencomppathinexplorer:h5,compcontrollerOpencomppathinvscode:m5,compcontrollerPackagejson:g5,compcontrollerRenamedir:y5,compcontrollerSubmit:b5,compcontrollerUpdate:_5,compcontrollerUpdateversion:v5,compcontrollerWritefile:w5},Symbol.toStringTag,{value:"Module"}));async function S5(e,t){return xt("__local__/api/module/buildTemplateCompiler",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function C5(e){return xt("__local__/api/module/clearPreBuild",{method:"POST",...e||{}})}async function k5(e,t){return xt("__local__/api/module/preBuild",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}async function T5(e){return xt("__local__/api/module/preBuildSize",{method:"POST",...e||{}})}const x5=Object.freeze(Object.defineProperty({__proto__:null,modulecontrollerBuildtemplatecompiler:S5,modulecontrollerClearprebuild:C5,modulecontrollerPrebuild:k5,modulecontrollerPrebuildsize:T5},Symbol.toStringTag,{value:"Module"}));async function O5(e,t){return xt("__local__/api/oss/fileSignUrl",{method:"POST",headers:{"Content-Type":"application/json"},data:e,...t||{}})}const A5=Object.freeze(Object.defineProperty({__proto__:null,osscontrollerFilesignurl:O5},Symbol.toStringTag,{value:"Module"}));async function R5(e,t){return xt("__local__/api/vuefinder/list",{method:"GET",params:{...e},...t||{}})}const P5=Object.freeze(Object.defineProperty({__proto__:null,vuefindercontrollerList:R5},Symbol.toStringTag,{value:"Module"})),L5={comp:E5,module:x5,oss:A5,vuefinder:P5},Em=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,n=En(bS),s=xT(t,{loaderError:Re(""),loaderWarn:Re([])}),a=Ns("layoutRef"),c=ce(()=>a.value?.compContainer??null),u=uT();let f=()=>{},p=0;const h=ce(()=>n?.value?.find(R=>R.name==="vue")?.version||""),g=R=>{t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(R.$onScaleChange=(A,L)=>s.addScaleListener(A,L,c.value))},y=async R=>{if(t.localCompRootPath){const A=Fw.join(t.localCompRootPath,we.COMP_ENTRY_FILE);await e6(A)&&await R(A)}else if(t.signedUrls?.length){const A=t.signedUrls.find(L=>L.path===`/${we.COMP_ENTRY_FILE}`);A&&await R(A.signedUrl)}},{loadVue3Comp:w,loadVue2Comp:_}=k6({loadSfcLoader:async R=>{const{params:{isSfc:A}}=Mo(),L=!1,x=R==="vue3"?we.VUE3_SFC_LOADER_KEY:we.VUE2_SFC_LOADER_KEY,N=Fw.join(`/${we.WEBSITE_PATH_CONTAINER}/js/`,`${x}.js`);return u.loadSfcLoader(R,{isDev:L,isSfc:A,scriptPath:N})},entryUrl:t.finalEntryUrl,loadMainJs:y,useAsyncComponent:!0,installExtensions:{vue3:R=>g(R),vue2:R=>g(R)},callbacks:{setLoading:R=>s.loading.value=R,onRenderError:R=>s.compRenderError.value=R,onLoaderError:R=>s.loaderError.value=R,onCompCodeError:R=>s.compCodeError.value=R,onCompCodeWarn:R=>s.compCodeWarn.value=R,getErrorMessage:s.getErrorMessage}}),O=(R,A)=>R.mount?(R.mount(A),L=>{console.log("vue3组件卸载"),R?.unmount(),A.remove(),L?.()}):(R.$mount(A),L=>{console.log("vue2组件卸载"),R?.$destroy(),A.remove(),L?.()}),S=async R=>{if(gv.getMajorVersion(R)!=="2")return null;const L="__vue2TemplateCompiler__",x=window;if(x[L])return x[L];try{const N=await L5.module.modulecontrollerBuildtemplatecompiler({vueVersion:R}),{fileName:G}=N.data;console.log(`[loadTemplateCompiler] 服务端构建完成: ${G}`);const K=new URL(`${we.MODULE_LOAD_PREFIX}/${G}`,window.location.origin).href;await new Promise((ue,B)=>{const ne=document.createElement("script");ne.src=K,ne.onload=()=>ue(),ne.onerror=()=>B(new Error(`加载 ${K} 失败`)),document.head.appendChild(ne)});const ae=x.VueTemplateCompiler;return ae?(x[L]=ae,console.log(`[loadTemplateCompiler] 已加载 compiler (version: ${ae.version})`),ae):(console.warn("[loadTemplateCompiler] window.VueTemplateCompiler 未找到,回退到默认 compiler"),null)}catch(N){return console.warn(`[loadTemplateCompiler] ${s.getErrorMessage(N)},回退到默认 compiler`),null}},v=async()=>{s.loading.value=!0,s.resetAllError();try{if(s.checkDepModuleExist(),s.moduleNotInstalledError.value)return null;const R=gv.getMajorVersion(h.value),A=await wT(t.dep,t.depToFile,["vue"]),L=await S(h.value),x=S6({moduleCache:A,depToFile:t.depToFile,signedUrls:t.signedUrls,templateCompiler:L,errorCallBack:N=>{console.error(N);const G=s.getErrorMessage(N);console.error(`sfcLoaderError:${G}`),s.loaderError.value=G},warnCallBack:N=>{console.warn(N),s.loaderWarn.value=[...s.loaderWarn.value,N]}});return R==="3"?await w(x):R==="2"?await _(x):null}catch(R){console.error(R);const A=s.getErrorMessage(R);return console.error(`loadAsyncComp error:${A}`),s.loaderError.value=A,null}finally{s.loading.value=!1}};async function T(){const R=c.value;if(!R){console.error("组件挂载点不存在");return}p++;const A=p,L=document.createElement("div");L.style.height="100%",L.style.width="100%",R.appendChild(L);const x=()=>{L.parentNode&&L.remove()};try{const N=await v();if(A!==p){N?O(N,L)(()=>{}):x();return}if(!N){console.error("组件实例创建失败"),x();return}f=O(N,L),s.setupScaleObserver(()=>c.value),setTimeout(()=>{s.notifyRendered()},200)}catch(N){console.error(N),console.error(`handleCompRender error:${s.getErrorMessage(N)}`),x()}}const E=()=>{f(()=>{c.value&&(c.value.innerHTML="")})};return s.setupLifecycle({unmount:E,handleCompRender:T}),(R,A)=>(Ce(),_t(kT,{ref_key:"layoutRef",ref:a,loading:je(s).loading.value,"class-obj":je(s).classObj.value,"current-render-error":je(s).currentRenderError.value,"current-render-warn":je(s).currentRenderWarn.value,"screenshot-url":je(s).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),Sm=It({__name:"index",props:{finalEntryUrl:{},dep:{},depToFile:{},panelType:{},signedUrls:{},localCompRootPath:{}},setup(e){const t=e,o=xT(t,{loaderError:Re(""),loaderWarn:Re([])}),s=Ns("layoutRef"),a=ce(()=>s.value?.compContainer??null),c=uT(),u=`/${we.WEBSITE_PATH_CONTAINER}/js/${we.REACT_JSX_LOADER_KEY}.js`;let f=null,p=null,h=0,g=null;const{loadReactComp:y,mountReactApp:w}=O6({loadReactLoader:async()=>{const{params:{isSfc:v}}=Mo();return c.loadReactLoader({isDev:!1,isSfc:v,scriptPath:u})},entryUrl:t.finalEntryUrl,depToFile:t.depToFile,signedUrls:t.signedUrls,enableWarnPatch:!0,extraProps:()=>{const v={};return g&&(v.onScaleChange=g.onScaleChange),v},callbacks:{onLoaderError:v=>o.loaderError.value=v,onCompileError:v=>o.loaderError.value=v,onCompileWarn:v=>o.loaderWarn.value=[...o.loaderWarn.value,v],onCompCodeError:v=>o.compCodeError.value=v,onConsoleWarn:v=>o.compCodeWarn.value=v,onCompRenderError:v=>o.compRenderError.value=v,getErrorMessage:o.getErrorMessage}}),_=async()=>{o.loading.value=!0,o.resetAllError();try{if(o.checkDepModuleExist(),o.moduleNotInstalledError.value)return null;const v=await wT(t.dep,t.depToFile,["react","react-dom"]);return await y(v)}catch(v){console.error(v);const T=o.getErrorMessage(v);return console.error(`loadAsyncComp error:${T}`),o.loaderError.value=T,null}finally{o.loading.value=!1}},O=async()=>{const v=a.value;if(!v){console.error("组件挂载点不存在");return}h++;const T=h;t.panelType===we.COMP_EDIT_TAB_TYPE_MINI&&(g={onScaleChange:(R,A)=>o.addScaleListener(R,A,a.value)}),p=document.createElement("div"),p.style.height="100%",p.style.width="100%",v.appendChild(p);const E=()=>{p?.parentNode&&p.remove(),p=null};try{const R=await _();if(T!==h){E();return}if(!R){console.error("React组件加载失败"),E();return}const A=await w(R,p);if(!A){E();return}const{root:L,unmount:x}=A;f=L,p.__unmount=x,o.setupScaleObserver(()=>a.value),setTimeout(()=>{o.notifyRendered()},200)}catch(R){console.error(R),console.error(`handleCompRender error:${o.getErrorMessage(R)}`),E()}},S=()=>{p&&p.__unmount&&(p.__unmount(),p=null,f=null),a.value&&(a.value.innerHTML="")};return o.setupLifecycle({unmount:S,handleCompRender:O}),(v,T)=>(Ce(),_t(kT,{ref_key:"layoutRef",ref:s,loading:je(o).loading.value,"class-obj":je(o).classObj.value,"current-render-error":je(o).currentRenderError.value,"current-render-warn":je(o).currentRenderWarn.value,"screenshot-url":je(o).screenshotUrl.value},null,8,["loading","class-obj","current-render-error","current-render-warn","screenshot-url"]))}}),I5=It({__name:"index",props:{previews:{},dep:{},depToFile:{},panelType:{default:we.COMP_EDIT_TAB_TYPE_MINI},signedUrls:{default:()=>[]},localCompRootPath:{default:""},bgColor:{default:""},framework:{default:void 0}},setup(e){const t=xM(),n=e,r=ce(()=>{const{previews:s,...a}=n;return a}),o=ce(()=>n.framework===we.COMP_FRAMEWORK_REACT||wm(n.dep));return(s,a)=>(Ce(),_t(je(ST),Nr({class:"comp-mini-carousel",trigger:"click",arrow:"never"},je(t)),{default:Pi(()=>[(Ce(!0),pt(Ht,null,Fs(e.previews,(c,u)=>(Ce(),_t(je(CT),{key:u,class:"comp-mini-carousel-item"},{default:Pi(()=>[mt("div",{class:"comp-mini-carousel-slide",style:Bn({backgroundColor:n.bgColor})},[c.finalEntryUrl&&!o.value?(Ce(),_t(Em,Nr({key:0,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):c.finalEntryUrl&&o.value?(Ce(),_t(Sm,Nr({key:1,finalEntryUrl:c.finalEntryUrl},{ref_for:!0},r.value),null,16,["finalEntryUrl"])):Mr("",!0)],4)]),_:2},1024))),128))]),_:1},16))}}),Ku=Sr(I5,[["__scopeId","data-v-dbb4f146"]]);function OT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=ce(()=>u.value?.item),p=ce(()=>u.value?.dep??[]),h=ce(()=>u.value?.depToFile??{}),g=ce(()=>{if(!f.value)return[];const w=t===we.COMP_EDIT_TAB_TYPE_MINI;return f.value?.previewConfigs.filter(_=>w?_.miniPath?.length:_.fullPath?.length||_.miniPath?.length).slice(0,e).map(_=>{const O=w?_.miniPath:_.fullPath?.length?_.fullPath:_.miniPath,S=qH.getPreviewUrl(f.value.path,O);return{finalEntryUrl:`${we.COMP_PREVIEW_PREFIX_LOCAL}/${S}`}})}),y=ce(()=>({previews:g.value,dep:p.value,depToFile:h.value,localCompRootPath:f.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"),framework:u.value?.framework}));return c(Qe.ITEM_INIT_SET_LOCAL,w=>{u.value=w}),s(Qe.ITEM_INIT_GET_LOCAL,n,a,r),{compAttrs:f,carouselBind:y,localDep:p,depToFile:h}}const M5=It({__name:"index",setup(e){const{carouselBind:t}=OT(3,we.COMP_EDIT_TAB_TYPE_MINI);return(n,r)=>(Ce(),_t(Ku,Ri(Su(je(t))),null,16))}});function AT(e=3,t=we.COMP_EDIT_TAB_TYPE_MINI){const{params:{compId:n,instanceUid:r}}=Mo(),{messageListener:o,sendMessageToTop:s}=js(),a=$s(),{addListener:c}=o(),u=Re(),f=Re(),p=ce(()=>u.value?.item),h=ce(()=>u.value?.depEntryNameToFile),g=ce(()=>u.value?.versionToFileAccessPath),y=ce(()=>u.value?.item?.version??""),w=ce(()=>{if(!Object.keys(p.value??{}).length)return[];const v=g.value??[],T=new Map(v.map(({path:R,signedUrl:A})=>[R,A])),E=t===we.COMP_EDIT_TAB_TYPE_MINI;return p.value?.previewConfigs.filter(R=>E?R.miniPath?.length:R.fullPath?.length||R.miniPath?.length).slice(0,e).map(R=>{const A=E?R.miniPath:R.fullPath?.length?R.fullPath:R.miniPath,L=VH.replaceBackslashWithSlash(A?.at(-1)??"");return{finalEntryUrl:T.get(L)??""}})}),_=ce(()=>({previews:w.value??[],dep:p.value?.dep??[],signedUrls:g.value??[],depToFile:h.value??{},bgColor:f.value??p.value?.bgColor??"",framework:u.value?.framework}));let O=()=>{};function S(v){O=v}return c(Qe.ITEM_INIT_SET,v=>{u.value=v}),c(Qe.BG_COLOR_SET,v=>{f.value=v}),s(Qe.ITEM_INIT_GET,n,a,r),s(Qe.BG_COLOR_GET,"",a,r),gt(()=>y.value,v=>{v&&O(v)},{once:!0}),{compAttrs:p,carouselBind:_,setInitVersion:S}}const N5=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=AT(3),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_MINI}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(Ku,Ri(Su(o.value)),null,16))}});function D5(e,t){if(e.match(/^[a-z]+:\/\//i))return e;if(e.match(/^\/\//))return window.location.protocol+e;if(e.match(/^[a-z]+:/i))return e;const n=document.implementation.createHTMLDocument(),r=n.createElement("base"),o=n.createElement("a");return n.head.appendChild(r),n.body.appendChild(o),t&&(r.href=t),o.href=e,o.href}const F5=(()=>{let e=0;const t=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(e+=1,`u${t()}${e}`)})();function ni(e){const t=[];for(let n=0,r=e.length;n<r;n++)t.push(e[n]);return t}let ls=null;function RT(e={}){return ls||(e.includeStyleProperties?(ls=e.includeStyleProperties,ls):(ls=ni(window.getComputedStyle(document.documentElement)),ls))}function iu(e,t){const r=(e.ownerDocument.defaultView||window).getComputedStyle(e).getPropertyValue(t);return r?parseFloat(r.replace("px","")):0}function $5(e){const t=iu(e,"border-left-width"),n=iu(e,"border-right-width");return e.clientWidth+t+n}function j5(e){const t=iu(e,"border-top-width"),n=iu(e,"border-bottom-width");return e.clientHeight+t+n}function PT(e,t={}){const n=t.width||$5(e),r=t.height||j5(e);return{width:n,height:r}}function U5(){let e,t;try{t=process}catch{}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}const tr=16384;function z5(e){(e.width>tr||e.height>tr)&&(e.width>tr&&e.height>tr?e.width>e.height?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr):e.width>tr?(e.height*=tr/e.width,e.width=tr):(e.width*=tr/e.height,e.height=tr))}function su(e){return new Promise((t,n)=>{const r=new Image;r.onload=()=>{r.decode().then(()=>{requestAnimationFrame(()=>t(r))})},r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e})}async function B5(e){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(e)).then(encodeURIComponent).then(t=>`data:image/svg+xml;charset=utf-8,${t}`)}async function W5(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),s=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),s.setAttribute("width","100%"),s.setAttribute("height","100%"),s.setAttribute("x","0"),s.setAttribute("y","0"),s.setAttribute("externalResourcesRequired","true"),o.appendChild(s),s.appendChild(e),B5(o)}const Gn=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return n===null?!1:n.constructor.name===t.name||Gn(n,t)};function H5(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}function V5(e,t){return RT(t).map(n=>{const r=e.getPropertyValue(n),o=e.getPropertyPriority(n);return`${n}: ${r}${o?" !important":""};`}).join(" ")}function G5(e,t,n,r){const o=`.${e}:${t}`,s=n.cssText?H5(n):V5(n,r);return document.createTextNode(`${o}{${s}}`)}function $w(e,t,n,r){const o=window.getComputedStyle(e,n),s=o.getPropertyValue("content");if(s===""||s==="none")return;const a=F5();try{t.className=`${t.className} ${a}`}catch{return}const c=document.createElement("style");c.appendChild(G5(a,n,o,r)),t.appendChild(c)}function K5(e,t,n){$w(e,t,":before",n),$w(e,t,":after",n)}const jw="application/font-woff",Uw="image/jpeg",q5={woff:jw,woff2:jw,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:Uw,jpeg:Uw,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function Y5(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}function Cm(e){const t=Y5(e).toLowerCase();return q5[t]||""}function X5(e){return e.split(/,/)[1]}function _h(e){return e.search(/^(data:)/)!==-1}function J5(e,t){return`data:${t};base64,${e}`}async function LT(e,t,n){const r=await fetch(e,t);if(r.status===404)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise((s,a)=>{const c=new FileReader;c.onerror=a,c.onloadend=()=>{try{s(n({res:r,result:c.result}))}catch(u){a(u)}},c.readAsDataURL(o)})}const mp={};function Q5(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}async function km(e,t,n){const r=Q5(e,t,n.includeQueryParams);if(mp[r]!=null)return mp[r];n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+new Date().getTime());let o;try{const s=await LT(e,n.fetchRequestInit,({res:a,result:c})=>(t||(t=a.headers.get("Content-Type")||""),X5(c)));o=J5(s,t)}catch(s){o=n.imagePlaceholder||"";let a=`Failed to fetch resource: ${e}`;s&&(a=typeof s=="string"?s:s.message),a&&console.warn(a)}return mp[r]=o,o}async function Z5(e){const t=e.toDataURL();return t==="data:,"?e.cloneNode(!1):su(t)}async function eX(e,t){if(e.currentSrc){const s=document.createElement("canvas"),a=s.getContext("2d");s.width=e.clientWidth,s.height=e.clientHeight,a?.drawImage(e,0,0,s.width,s.height);const c=s.toDataURL();return su(c)}const n=e.poster,r=Cm(n),o=await km(n,r,t);return su(o)}async function tX(e,t){var n;try{if(!((n=e?.contentDocument)===null||n===void 0)&&n.body)return await qu(e.contentDocument.body,t,!0)}catch{}return e.cloneNode(!1)}async function nX(e,t){return Gn(e,HTMLCanvasElement)?Z5(e):Gn(e,HTMLVideoElement)?eX(e,t):Gn(e,HTMLIFrameElement)?tX(e,t):e.cloneNode(IT(e))}const rX=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SLOT",IT=e=>e.tagName!=null&&e.tagName.toUpperCase()==="SVG";async function oX(e,t,n){var r,o;if(IT(t))return t;let s=[];return rX(e)&&e.assignedNodes?s=ni(e.assignedNodes()):Gn(e,HTMLIFrameElement)&&(!((r=e.contentDocument)===null||r===void 0)&&r.body)?s=ni(e.contentDocument.body.childNodes):s=ni(((o=e.shadowRoot)!==null&&o!==void 0?o:e).childNodes),s.length===0||Gn(e,HTMLVideoElement)||await s.reduce((a,c)=>a.then(()=>qu(c,n)).then(u=>{u&&t.appendChild(u)}),Promise.resolve()),t}function iX(e,t,n){const r=t.style;if(!r)return;const o=window.getComputedStyle(e);o.cssText?(r.cssText=o.cssText,r.transformOrigin=o.transformOrigin):RT(n).forEach(s=>{let a=o.getPropertyValue(s);s==="font-size"&&a.endsWith("px")&&(a=`${Math.floor(parseFloat(a.substring(0,a.length-2)))-.1}px`),Gn(e,HTMLIFrameElement)&&s==="display"&&a==="inline"&&(a="block"),s==="d"&&t.getAttribute("d")&&(a=`path(${t.getAttribute("d")})`),r.setProperty(s,a,o.getPropertyPriority(s))})}function sX(e,t){Gn(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),Gn(e,HTMLInputElement)&&t.setAttribute("value",e.value)}function aX(e,t){if(Gn(e,HTMLSelectElement)){const r=Array.from(t.children).find(o=>e.value===o.getAttribute("value"));r&&r.setAttribute("selected","")}}function lX(e,t,n){return Gn(t,Element)&&(iX(e,t,n),K5(e,t,n),sX(e,t),aX(e,t)),t}async function cX(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(n.length===0)return e;const r={};for(let s=0;s<n.length;s++){const c=n[s].getAttribute("xlink:href");if(c){const u=e.querySelector(c),f=document.querySelector(c);!u&&f&&!r[c]&&(r[c]=await qu(f,t,!0))}}const o=Object.values(r);if(o.length){const s="http://www.w3.org/1999/xhtml",a=document.createElementNS(s,"svg");a.setAttribute("xmlns",s),a.style.position="absolute",a.style.width="0",a.style.height="0",a.style.overflow="hidden",a.style.display="none";const c=document.createElementNS(s,"defs");a.appendChild(c);for(let u=0;u<o.length;u++)c.appendChild(o[u]);e.appendChild(a)}return e}async function qu(e,t,n){return!n&&t.filter&&!t.filter(e)?null:Promise.resolve(e).then(r=>nX(r,t)).then(r=>oX(e,r,t)).then(r=>lX(e,r,t)).then(r=>cX(r,t))}const MT=/url\((['"]?)([^'"]+?)\1\)/g,uX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,fX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function dX(e){const t=e.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${t})(['"]?\\))`,"g")}function pX(e){const t=[];return e.replace(MT,(n,r,o)=>(t.push(o),n)),t.filter(n=>!_h(n))}async function hX(e,t,n,r,o){try{const s=n?D5(t,n):t,a=Cm(t);let c;return o||(c=await km(s,a,r)),e.replace(dX(t),`$1${c}$3`)}catch{}return e}function mX(e,{preferredFontFormat:t}){return t?e.replace(fX,n=>{for(;;){const[r,,o]=uX.exec(n)||[];if(!o)return"";if(o===t)return`src: ${r};`}}):e}function NT(e){return e.search(MT)!==-1}async function DT(e,t,n){if(!NT(e))return e;const r=mX(e,n);return pX(r).reduce((s,a)=>s.then(c=>hX(c,a,t,n)),Promise.resolve(r))}async function cs(e,t,n){var r;const o=(r=t.style)===null||r===void 0?void 0:r.getPropertyValue(e);if(o){const s=await DT(o,null,n);return t.style.setProperty(e,s,t.style.getPropertyPriority(e)),!0}return!1}async function gX(e,t){await cs("background",e,t)||await cs("background-image",e,t),await cs("mask",e,t)||await cs("-webkit-mask",e,t)||await cs("mask-image",e,t)||await cs("-webkit-mask-image",e,t)}async function yX(e,t){const n=Gn(e,HTMLImageElement);if(!(n&&!_h(e.src))&&!(Gn(e,SVGImageElement)&&!_h(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await km(r,Cm(r),t);await new Promise((s,a)=>{e.onload=s,e.onerror=t.onImageErrorHandler?(...u)=>{try{s(t.onImageErrorHandler(...u))}catch(f){a(f)}}:a;const c=e;c.decode&&(c.decode=s),c.loading==="lazy"&&(c.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o})}async function bX(e,t){const r=ni(e.childNodes).map(o=>FT(o,t));await Promise.all(r).then(()=>e)}async function FT(e,t){Gn(e,Element)&&(await gX(e,t),await yX(e,t),await bX(e,t))}function _X(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;return r!=null&&Object.keys(r).forEach(o=>{n[o]=r[o]}),e}const zw={};async function Bw(e){let t=zw[e];if(t!=null)return t;const r=await(await fetch(e)).text();return t={url:e,cssText:r},zw[e]=t,t}async function Ww(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,s=(n.match(/url\([^)]+\)/g)||[]).map(async a=>{let c=a.replace(r,"$1");return c.startsWith("https://")||(c=new URL(c,e.url).href),LT(c,t.fetchRequestInit,({result:u})=>(n=n.replace(a,`url(${u})`),[a,u]))});return Promise.all(s).then(()=>n)}function Hw(e){if(e==null)return[];const t=[],n=/(\/\*[\s\S]*?\*\/)/gi;let r=e.replace(n,"");const o=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const u=o.exec(r);if(u===null)break;t.push(u[0])}r=r.replace(o,"");const s=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,a="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",c=new RegExp(a,"gi");for(;;){let u=s.exec(r);if(u===null){if(u=c.exec(r),u===null)break;s.lastIndex=c.lastIndex}else c.lastIndex=s.lastIndex;t.push(u[0])}return t}async function vX(e,t){const n=[],r=[];return e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach((s,a)=>{if(s.type===CSSRule.IMPORT_RULE){let c=a+1;const u=s.href,f=Bw(u).then(p=>Ww(p,t)).then(p=>Hw(p).forEach(h=>{try{o.insertRule(h,h.startsWith("@import")?c+=1:o.cssRules.length)}catch(g){console.error("Error inserting rule from remote css",{rule:h,error:g})}})).catch(p=>{console.error("Error loading remote css",p.toString())});r.push(f)}})}catch(s){const a=e.find(c=>c.href==null)||document.styleSheets[0];o.href!=null&&r.push(Bw(o.href).then(c=>Ww(c,t)).then(c=>Hw(c).forEach(u=>{a.insertRule(u,a.cssRules.length)})).catch(c=>{console.error("Error loading remote stylesheet",c)})),console.error("Error inlining remote css file",s)}}),Promise.all(r).then(()=>(e.forEach(o=>{if("cssRules"in o)try{ni(o.cssRules||[]).forEach(s=>{n.push(s)})}catch(s){console.error(`Error while reading CSS rules from ${o.href}`,s)}}),n))}function wX(e){return e.filter(t=>t.type===CSSRule.FONT_FACE_RULE).filter(t=>NT(t.style.getPropertyValue("src")))}async function EX(e,t){if(e.ownerDocument==null)throw new Error("Provided element is not within a Document");const n=ni(e.ownerDocument.styleSheets),r=await vX(n,t);return wX(r)}function $T(e){return e.trim().replace(/["']/g,"")}function SX(e){const t=new Set;function n(r){(r.style.fontFamily||getComputedStyle(r).fontFamily).split(",").forEach(s=>{t.add($T(s))}),Array.from(r.children).forEach(s=>{s instanceof HTMLElement&&n(s)})}return n(e),t}async function CX(e,t){const n=await EX(e,t),r=SX(e);return(await Promise.all(n.filter(s=>r.has($T(s.style.fontFamily))).map(s=>{const a=s.parentStyleSheet?s.parentStyleSheet.href:null;return DT(s.cssText,a,t)}))).join(`
|
|
61
|
+
`)}async function kX(e,t){const n=t.fontEmbedCSS!=null?t.fontEmbedCSS:t.skipFonts?null:await CX(e,t);if(n){const r=document.createElement("style"),o=document.createTextNode(n);r.appendChild(o),e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r)}}async function TX(e,t={}){const{width:n,height:r}=PT(e,t),o=await qu(e,t,!0);return await kX(o,t),await FT(o,t),_X(o,t),await W5(o,n,r)}async function xX(e,t={}){const{width:n,height:r}=PT(e,t),o=await TX(e,t),s=await su(o),a=document.createElement("canvas"),c=a.getContext("2d"),u=t.pixelRatio||U5(),f=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=f*u,a.height=p*u,t.skipAutoScale||z5(a),a.style.width=`${f}`,a.style.height=`${p}`,t.backgroundColor&&(c.fillStyle=t.backgroundColor,c.fillRect(0,0,a.width,a.height)),c.drawImage(s,0,0,a.width,a.height),a}async function Vw(e,t={}){return(await xX(e,t)).toDataURL()}const OX={class:"panel-mini-wrapper"},AX=It({__name:"index",props:{bg:{},miniEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e,{expose:t}){const n=Ns("cardRef");t({getBodyEl:()=>n.value?.bodyRef});const r=e,o=ce(()=>r.framework===we.COMP_FRAMEWORK_REACT||wm(r.dep)),s=ce(()=>({finalEntryUrl:r.miniEntryUrl,dep:r.dep,depToFile:r.depToFile,signedUrls:r.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_MINI,localCompRootPath:r.localCompRootPath}));return(a,c)=>(Ce(),pt("div",OX,[Vt(je(ET),{ref_key:"cardRef",ref:n,"body-class":"panel-mini-card-body",class:"panel-mini-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[o.value?(Ce(),_t(Sm,Ri(Nr({key:1},s.value)),null,16)):(Ce(),_t(Em,Ri(Nr({key:0},s.value)),null,16))]),_:1},8,["style"])]))}}),RX=Sr(AX,[["__scopeId","data-v-be9162a6"]]),PX=It({__name:"index",props:{bg:{},fullEntryUrl:{},localCompRootPath:{},dep:{},depToFile:{},signedUrls:{},framework:{}},setup(e){const t=e,n=ce(()=>t.framework===we.COMP_FRAMEWORK_REACT||wm(t.dep)),r=ce(()=>({finalEntryUrl:t.fullEntryUrl,localCompRootPath:t.localCompRootPath,dep:t.dep,depToFile:t.depToFile,signedUrls:t.signedUrls,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(o,s)=>(Ce(),_t(je(ET),{"body-class":"panel-full-card-body",class:"panel-full-card",style:Bn({backgroundColor:e.bg})},{default:Pi(()=>[n.value?(Ce(),_t(Sm,Ri(Nr({key:1},r.value)),null,16)):(Ce(),_t(Em,Ri(Nr({key:0},r.value)),null,16))]),_:1},8,["style"]))}}),LX=Sr(PX,[["__scopeId","data-v-df175804"]]),IX={key:0,class:"edit-panel"},MX={class:"edit-panel__content"},NX={class:"edit-panel__tools"},DX=["onClick"],FX=It({__name:"index",setup(e){const{t}=Di(),{messageListener:n,sendMessageToTop:r}=js(),{addListener:o}=n(),s=$s(),{params:{instanceUid:a}}=Mo(),{renderEvent:c}=Z6(),u=Ns("carousel"),f=Re([]),p=Re({entryNameToFile:{},compDep:[]}),h=Re(),g=Re(!1),y=Re(!1),w=Re(!1),_=Re(""),O=Re({});function S(B,ne){B&&(O.value[ne]=B)}const v=Re(!1),T=Re(!1),E=ce(()=>[{label:t("comp.miniPanel"),value:we.COMP_EDIT_TAB_TYPE_MINI},{label:t("comp.fullPanel"),value:we.COMP_EDIT_TAB_TYPE_FULL}]),R=ce(()=>p.value.compDep.length>0);async function A(B){if(!f.value[B]?.miniEntryUrl)return;const re=O.value[B]?.getBodyEl?.();if(!re)return;let he="";const Ee=await t6(re);try{he=await ue(re)}finally{Ee()}he&&r(Qe.COMP_SCREENSHOT_AUTO,{screenshot:he},s,a)}gt(c,async()=>{if(!(!f.value[0]?.miniEntryUrl||v.value)){v.value=!0,console.log("自动截图");try{await A(0)}catch(B){console.error("自动截图失败:",B)}}});const L=ce(()=>Object.keys(h.value??{}).length>0?h.value?.path.replace(we.FILE_MANAGER_DIRNAME,we.COMP_PREVIEW_PREFIX_LOCAL+"/"):""),x=ce(()=>({dep:p.value.compDep,depToFile:p.value.entryNameToFile,signedUrls:p.value.signedUrls,localCompRootPath:L.value,bg:_.value,framework:p.value.framework}));function N(B){return B===we.COMP_EDIT_TAB_TYPE_MINI?RX:LX}function G(B,ne){K(B,ne)}function K(B,ne){if(!B._id)return;const re={...B,activeTab:ne};r(Qe.COMP_EDIT_TAB_TYPE_SET,re,s,a)}function ae(B){r(Qe.ACTION_REFRESH,B,s,a)}async function ue(B){try{return await Vw(B,{cacheBust:!0})}catch(ne){if(ne instanceof DOMException&&ne.name==="SecurityError"){const re=`截图中部分内容被浏览器安全策略限制
|
|
62
|
+
${ne.message}`,he=r6(B,re);try{return await Vw(B,{cacheBust:!0})}finally{o6(he)}}throw ne}}return o(Qe.COMP_PREVIEW_LIST_SET,B=>{f.value=B,v.value=!1}),o(Qe.COMP_RENDER_INFO_SET,B=>{p.value=B}),o(Qe.SELECTED_FOLDER_SET,B=>{h.value=B}),o(Qe.SHOW_REFRESH_BTN_SET,B=>{g.value=B}),o(Qe.IS_ONLINE_UPDATE_SET,B=>{y.value=B}),o(Qe.IS_ADD_SET,B=>{w.value=B}),o(Qe.CAROUSEL_INDEX_SET,B=>{u.value?.setActiveItem(B)}),o(Qe.COMP_SCREENSHOT_MANUAL_SET,async()=>{if(!T.value){T.value=!0;try{u.value?.setActiveItem(0),f.value[0]&&f.value[0].activeTab!==we.COMP_EDIT_TAB_TYPE_MINI&&(f.value[0].activeTab=we.COMP_EDIT_TAB_TYPE_MINI,await Ur()),await new Promise(B=>setTimeout(B,500)),await A(0)}catch(B){console.error("手动截图失败:",B)}finally{T.value=!1}}}),o(Qe.BG_COLOR_SET,B=>{_.value=B}),r(Qe.COMP_PREVIEW_LIST_GET,"",s,a),r(Qe.COMP_RENDER_INFO_GET,"",s,a),r(Qe.SELECTED_FOLDER_GET,"",s,a),r(Qe.SHOW_REFRESH_BTN_GET,"",s,a),r(Qe.IS_ONLINE_UPDATE_GET,"",s,a),r(Qe.IS_ADD_GET,"",s,a),r(Qe.CAROUSEL_INDEX_GET,"",s,a),r(Qe.BG_COLOR_GET,"",s,a),(B,ne)=>{const re=Lh("Icon");return R.value?(Ce(),pt("div",IX,[Vt(je(ST),{ref:"carousel",class:"edit-panel__carousel",loop:!1,autoplay:!1,arrow:"always"},{default:Pi(()=>[(Ce(!0),pt(Ht,null,Fs(f.value,(he,Ee)=>(Ce(),_t(je(CT),{key:Ee},{default:Pi(()=>[mt("div",MX,[mt("div",NX,[Vt(je(M6),{options:E.value,"model-value":he.activeTab,onChange:Ve=>G(he,Ve)},null,8,["options","model-value","onChange"]),g.value?(Ce(),pt("span",{key:0,class:"edit-panel__refresh-btn",onClick:Ve=>ae(he)},[Vt(re,{icon:"material-symbols:refresh-rounded"})],8,DX)):Mr("",!0)]),(Ce(),_t(pM,null,[(Ce(),_t(CM(N(he.activeTab)),Nr({ref_for:!0,ref:Ve=>S(Ve,Ee)},{ref_for:!0},{miniEntryUrl:he.miniEntryUrl,fullEntryUrl:he.fullEntryUrl,...x.value}),null,16))],1024))])]),_:2},1024))),128))]),_:1},512)])):Mr("",!0)}}}),$X=Sr(FX,[["__scopeId","data-v-ac7bd25f"]]),jX=It({__name:"index",setup(e){const{carouselBind:t}=OT(5,we.COMP_EDIT_TAB_TYPE_FULL),n=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return(r,o)=>(Ce(),_t(Ku,Ri(Su(n.value)),null,16))}}),UX=It({__name:"index",setup(e){const{carouselBind:t,setInitVersion:n}=AT(5,we.COMP_EDIT_TAB_TYPE_FULL),r=Re(""),o=ce(()=>({...t.value,panelType:we.COMP_EDIT_TAB_TYPE_FULL}));return n(s=>{r.value=s}),(s,a)=>(Ce(),_t(Ku,Nr(o.value,{"show-indicator":!0}),null,16))}}),zX={carouselLocal:M5,carouselRemote:N5,editPanel:$X,previewLocal:jX,previewRemote:UX};function BX(){const e=[],t=we.IFRAME_ROUTES.ITEM;for(const n in t){const o=t[n],s=zX[o];if(!s)throw new Error(`未找到路由组件 ${o}`);e.push({path:`/${o}`,name:o,component:s})}return e}const WX=iH({history:$W(`/${we.WEBSITE_PATH_ITEM}/`),routes:BX()}),Tm=NN(mU);nW(Tm);Tm.use(WX);Tm.mount("#app");
|