@nuxtjs/sitemap 7.2.5 → 7.2.6
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/dist/client/200.html +7 -277
- package/dist/client/404.html +7 -277
- package/dist/client/_nuxt/BI6MZ3sL.js +168 -0
- package/dist/client/_nuxt/BQoSv7ci.js +1 -0
- package/dist/client/_nuxt/{AObogYnP.js → DPbdKKAQ.js} +1 -1
- package/dist/client/_nuxt/{HnIlIngO.js → N6K0xJAA.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/b965478f-e46e-47df-b159-c5b9298ea26e.json +1 -0
- package/dist/client/index.html +7 -277
- package/dist/module.cjs +3 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -0
- package/dist/runtime/server/routes/sitemap_index.xml.js +2 -2
- package/dist/runtime/server/sitemap/builder/sitemap-index.js +2 -1
- package/dist/runtime/server/sitemap/builder/sitemap.js +2 -1
- package/dist/runtime/server/sitemap/nitro.js +3 -2
- package/dist/runtime/types.d.ts +7 -4
- package/package.json +7 -7
- package/dist/client/_nuxt/-30QC5Em.js +0 -1
- package/dist/client/_nuxt/-71hrkjd.js +0 -1
- package/dist/client/_nuxt/0BrjI7ue.js +0 -1
- package/dist/client/_nuxt/2V0Ap-uE.js +0 -1
- package/dist/client/_nuxt/3e1v2bzS.js +0 -1
- package/dist/client/_nuxt/3xVqZejG.js +0 -1
- package/dist/client/_nuxt/5LuOXUq_.js +0 -1
- package/dist/client/_nuxt/727ZlQH0.js +0 -1
- package/dist/client/_nuxt/7A4Fjokl.js +0 -1
- package/dist/client/_nuxt/8jXJkYXT.js +0 -1
- package/dist/client/_nuxt/9C6ErRqt.js +0 -1
- package/dist/client/_nuxt/B-_AxZdj.js +0 -1
- package/dist/client/_nuxt/B0XVJmRM.js +0 -1
- package/dist/client/_nuxt/B0m2ddpp.js +0 -1
- package/dist/client/_nuxt/B0qRVHPH.js +0 -1
- package/dist/client/_nuxt/B14Poo8t.js +0 -1
- package/dist/client/_nuxt/B1bQXN8T.js +0 -1
- package/dist/client/_nuxt/B3ZDOciz.js +0 -1
- package/dist/client/_nuxt/B430Bg39.js +0 -1
- package/dist/client/_nuxt/B48N-Iqd.js +0 -1
- package/dist/client/_nuxt/B5lbUyaz.js +0 -1
- package/dist/client/_nuxt/B6U2uXNT.js +0 -1
- package/dist/client/_nuxt/B6W0miNI.js +0 -1
- package/dist/client/_nuxt/B7mTdjB0.js +0 -1
- package/dist/client/_nuxt/B9wLZaAG.js +0 -1
- package/dist/client/_nuxt/BAng5TT0.js +0 -1
- package/dist/client/_nuxt/BAxNRJcx.js +0 -1
- package/dist/client/_nuxt/BBT0u3iQ.js +0 -1
- package/dist/client/_nuxt/BCMa2Tx6.js +0 -1
- package/dist/client/_nuxt/BDiHrqA7.js +0 -1
- package/dist/client/_nuxt/BEBZ7ncR.js +0 -1
- package/dist/client/_nuxt/BFOHcciG.js +0 -1
- package/dist/client/_nuxt/BHyGnp0Z.js +0 -1
- package/dist/client/_nuxt/BLCLeV30.js +0 -1
- package/dist/client/_nuxt/BLmoVg8f.js +0 -1
- package/dist/client/_nuxt/BMR_PYu6.js +0 -1
- package/dist/client/_nuxt/BMj5Y0dO.js +0 -1
- package/dist/client/_nuxt/BNioltXt.js +0 -1
- package/dist/client/_nuxt/BPhBrDlE.js +0 -1
- package/dist/client/_nuxt/BR4n0CG2.js +0 -1
- package/dist/client/_nuxt/BSxZ-RaX.js +0 -1
- package/dist/client/_nuxt/BWx0ALLs.js +0 -1
- package/dist/client/_nuxt/BX77sIaO.js +0 -1
- package/dist/client/_nuxt/BXW1EomU.js +0 -1
- package/dist/client/_nuxt/BXkSAIEj.js +0 -1
- package/dist/client/_nuxt/BXl-Qilg.js +0 -1
- package/dist/client/_nuxt/BY-TUvya.js +0 -1
- package/dist/client/_nuxt/BZ4qjH1z.js +0 -1
- package/dist/client/_nuxt/B_7mSSNY.js +0 -1
- package/dist/client/_nuxt/B_m7g4N7.js +0 -1
- package/dist/client/_nuxt/Ba6QCfRf.js +0 -1
- package/dist/client/_nuxt/Bbt-fWo2.js +0 -1
- package/dist/client/_nuxt/BcOcwvcX.js +0 -1
- package/dist/client/_nuxt/BceOnUsB.js +0 -1
- package/dist/client/_nuxt/BekpkmYp.js +0 -1
- package/dist/client/_nuxt/BfHTSMKl.js +0 -1
- package/dist/client/_nuxt/BfivnA6A.js +0 -1
- package/dist/client/_nuxt/BfjtVDDH.js +0 -1
- package/dist/client/_nuxt/Bg-kzb6g.js +0 -1
- package/dist/client/_nuxt/BgDCqdQA.js +0 -1
- package/dist/client/_nuxt/Bi2Xjx-o.js +0 -1
- package/dist/client/_nuxt/Bid6LQhH.js +0 -1
- package/dist/client/_nuxt/BixDBq5F.js +0 -1
- package/dist/client/_nuxt/BjABl1g7.js +0 -1
- package/dist/client/_nuxt/Bjjh7dxw.js +0 -1
- package/dist/client/_nuxt/BkR1g5rb.js +0 -1
- package/dist/client/_nuxt/BknIz3MU.js +0 -1
- package/dist/client/_nuxt/Bkuqu6BP.js +0 -1
- package/dist/client/_nuxt/Bl1h29GH.js +0 -1
- package/dist/client/_nuxt/Blx2zv3z.js +0 -1
- package/dist/client/_nuxt/BnLMxUhr.js +0 -1
- package/dist/client/_nuxt/BnZ6J9ez.js +0 -1
- package/dist/client/_nuxt/BoXegm-a.js +0 -1
- package/dist/client/_nuxt/Bp6g37R7.js +0 -1
- package/dist/client/_nuxt/BpWG_bgh.js +0 -1
- package/dist/client/_nuxt/BthQWCQV.js +0 -1
- package/dist/client/_nuxt/Bvotw-X0.js +0 -1
- package/dist/client/_nuxt/Bw1r3vCz.js +0 -1
- package/dist/client/_nuxt/Bw305WKR.js +0 -1
- package/dist/client/_nuxt/BxugDVxS.js +0 -1
- package/dist/client/_nuxt/BzEH12SI.js +0 -1
- package/dist/client/_nuxt/BzJJZx-M.js +0 -1
- package/dist/client/_nuxt/C-_shW-Y.js +0 -1
- package/dist/client/_nuxt/C1YtDkjL.js +0 -1
- package/dist/client/_nuxt/C1w2a3ep.js +0 -1
- package/dist/client/_nuxt/C39BiMTA.js +0 -1
- package/dist/client/_nuxt/C3FkfJm5.js +0 -1
- package/dist/client/_nuxt/C3TFZlTA.js +0 -1
- package/dist/client/_nuxt/C3khCPGq.js +0 -1
- package/dist/client/_nuxt/C3mMm8J8.js +0 -1
- package/dist/client/_nuxt/C3t2pwGQ.js +0 -1
- package/dist/client/_nuxt/C4-SGcC-.js +0 -1
- package/dist/client/_nuxt/C5AohmeQ.js +0 -1
- package/dist/client/_nuxt/C5wWYbrZ.js +0 -1
- package/dist/client/_nuxt/C7L56vO4.js +0 -1
- package/dist/client/_nuxt/C7gG9l05.js +0 -1
- package/dist/client/_nuxt/C8E1IXHE.js +0 -1
- package/dist/client/_nuxt/C8M2exoo.js +0 -1
- package/dist/client/_nuxt/C8lEn-DE.js +0 -1
- package/dist/client/_nuxt/C9e09xm7.js +0 -1
- package/dist/client/_nuxt/CAQ2eGtk.js +0 -1
- package/dist/client/_nuxt/CCQEdssC.js +0 -1
- package/dist/client/_nuxt/CCbUEAxs.js +0 -1
- package/dist/client/_nuxt/CD_QflpE.js +0 -1
- package/dist/client/_nuxt/CG6Dc4jp.js +0 -1
- package/dist/client/_nuxt/CHVitPdg.js +0 -1
- package/dist/client/_nuxt/CJaU5se_.js +0 -1
- package/dist/client/_nuxt/CLEBXJYW.js +0 -1
- package/dist/client/_nuxt/CM8KxXT1.js +0 -1
- package/dist/client/_nuxt/COJ4H7py.js +0 -1
- package/dist/client/_nuxt/COl1u60l.js +0 -1
- package/dist/client/_nuxt/COyJrUc7.js +0 -1
- package/dist/client/_nuxt/CQ5q8R2W.js +0 -1
- package/dist/client/_nuxt/CQPZbkWf.js +0 -1
- package/dist/client/_nuxt/CQjiPCtT.js +0 -1
- package/dist/client/_nuxt/CR_dl2Bk.js +0 -1
- package/dist/client/_nuxt/CS3Unz2-.js +0 -1
- package/dist/client/_nuxt/CSHBycmS.js +0 -1
- package/dist/client/_nuxt/CSHvh9SD.js +0 -1
- package/dist/client/_nuxt/CTRr51gU.js +0 -1
- package/dist/client/_nuxt/CUnW07Te.js +0 -1
- package/dist/client/_nuxt/CV3OApzZ.js +0 -32
- package/dist/client/_nuxt/CVw76BM1.js +0 -1
- package/dist/client/_nuxt/CWGUrYGm.js +0 -1
- package/dist/client/_nuxt/CWgbWrzg.js +0 -1
- package/dist/client/_nuxt/CX-D33aM.js +0 -1
- package/dist/client/_nuxt/CXkZqcqC.js +0 -1
- package/dist/client/_nuxt/CafNBF8u.js +0 -1
- package/dist/client/_nuxt/CbfX1IO0.js +0 -1
- package/dist/client/_nuxt/Cbu_jgUK.js +0 -1
- package/dist/client/_nuxt/Cc5clBb7.js +0 -1
- package/dist/client/_nuxt/CdO5JTpU.js +0 -1
- package/dist/client/_nuxt/CeaQPKDP.js +0 -1
- package/dist/client/_nuxt/CfQXZHmo.js +0 -1
- package/dist/client/_nuxt/Cg69lM4A.js +0 -1
- package/dist/client/_nuxt/CiNAsHKU.js +0 -1
- package/dist/client/_nuxt/CjDtw9vr.js +0 -1
- package/dist/client/_nuxt/CjTSRSzG.js +0 -1
- package/dist/client/_nuxt/CkXjmgJE.js +0 -1
- package/dist/client/_nuxt/Cksrkzhi.js +0 -1
- package/dist/client/_nuxt/Cl11rDh_.js +0 -1
- package/dist/client/_nuxt/ClJifeiK.js +0 -1
- package/dist/client/_nuxt/CmCqftbK.js +0 -1
- package/dist/client/_nuxt/CsSk9TLD.js +0 -1
- package/dist/client/_nuxt/Csfq5Kiy.js +0 -1
- package/dist/client/_nuxt/CsiB4_CF.js +0 -1
- package/dist/client/_nuxt/CucaAMjX.js +0 -1
- package/dist/client/_nuxt/Cuk6v7N8.js +0 -1
- package/dist/client/_nuxt/Cv9koXgw.js +0 -1
- package/dist/client/_nuxt/CwjWoCRV.js +0 -1
- package/dist/client/_nuxt/CyZx4btO.js +0 -1
- package/dist/client/_nuxt/CyktbL80.js +0 -1
- package/dist/client/_nuxt/CzouJOBO.js +0 -1
- package/dist/client/_nuxt/D-2ljcwZ.js +0 -1
- package/dist/client/_nuxt/D08_rs9c.js +0 -1
- package/dist/client/_nuxt/D33VVPhb.js +0 -1
- package/dist/client/_nuxt/D3T736Ml.js +0 -1
- package/dist/client/_nuxt/D4h5O-jR.js +0 -1
- package/dist/client/_nuxt/D5KoaKCx.js +0 -1
- package/dist/client/_nuxt/D7oLnXFd.js +0 -1
- package/dist/client/_nuxt/D8P4R8x9.js +0 -1
- package/dist/client/_nuxt/DAi9KRSo.js +0 -1
- package/dist/client/_nuxt/DBPt_AfP.js +0 -1
- package/dist/client/_nuxt/DBtIRQT_.js +0 -1
- package/dist/client/_nuxt/DCE3LsBG.js +0 -1
- package/dist/client/_nuxt/DDhM2Lry.js +0 -1
- package/dist/client/_nuxt/DEEqWFGm.js +0 -1
- package/dist/client/_nuxt/DEIpsLCJ.js +0 -1
- package/dist/client/_nuxt/DERFIACx.js +0 -1
- package/dist/client/_nuxt/DFAwn6Qs.js +0 -1
- package/dist/client/_nuxt/DFERiEu9.js +0 -1
- package/dist/client/_nuxt/DH5Ifo-i.js +0 -1
- package/dist/client/_nuxt/DHJKELXO.js +0 -1
- package/dist/client/_nuxt/DHo0CJ0O.js +0 -1
- package/dist/client/_nuxt/DJlmqQ1C.js +0 -1
- package/dist/client/_nuxt/DKOGybHv.js +0 -1
- package/dist/client/_nuxt/DLbgOhZU.js +0 -1
- package/dist/client/_nuxt/DLdrzW0n.js +0 -1
- package/dist/client/_nuxt/DNTbO5Kf.js +0 -1
- package/dist/client/_nuxt/DPWDxuKt.js +0 -1
- package/dist/client/_nuxt/DPvbFsQx.js +0 -1
- package/dist/client/_nuxt/DRW-0cLl.js +0 -1
- package/dist/client/_nuxt/DSrUkfvF.js +0 -1
- package/dist/client/_nuxt/DTAJTTim.js +0 -1
- package/dist/client/_nuxt/DUszq2jm.js +0 -1
- package/dist/client/_nuxt/DVMEJ2y_.js +0 -1
- package/dist/client/_nuxt/DWedfzmr.js +0 -1
- package/dist/client/_nuxt/DXbdFlpD.js +0 -1
- package/dist/client/_nuxt/DYoNaHQp.js +0 -1
- package/dist/client/_nuxt/D_iqerNF.js +0 -1
- package/dist/client/_nuxt/DaDNKYhP.js +0 -1
- package/dist/client/_nuxt/Dayu4EKP.js +0 -1
- package/dist/client/_nuxt/DbcauaCG.js +0 -1
- package/dist/client/_nuxt/Dbxjm_CC.js +0 -1
- package/dist/client/_nuxt/Ddn3lr0y.js +0 -1
- package/dist/client/_nuxt/Ddv68eIx.js +0 -1
- package/dist/client/_nuxt/DhMKtDLN.js +0 -1
- package/dist/client/_nuxt/Dhn9LcZ4.js +0 -1
- package/dist/client/_nuxt/Dj6nwHGl.js +0 -1
- package/dist/client/_nuxt/DjCbjd0V.js +0 -1
- package/dist/client/_nuxt/DjP-tqRL.js +0 -1
- package/dist/client/_nuxt/DlaVQbPD.js +0 -1
- package/dist/client/_nuxt/DlqU7Mzb.js +0 -1
- package/dist/client/_nuxt/Dn00JSTd.js +0 -1
- package/dist/client/_nuxt/DnAB7knh.js +0 -1
- package/dist/client/_nuxt/DnULxvSX.js +0 -1
- package/dist/client/_nuxt/Dp08fnRF.js +0 -1
- package/dist/client/_nuxt/DpGQfXhQ.js +0 -1
- package/dist/client/_nuxt/DqDt7uUl.js +0 -1
- package/dist/client/_nuxt/DqwNpetd.js +0 -1
- package/dist/client/_nuxt/Ds-gbosJ.js +0 -1
- package/dist/client/_nuxt/DsBKuouk.js +0 -1
- package/dist/client/_nuxt/DtFQj3wx.js +0 -1
- package/dist/client/_nuxt/Dtn5OO9k.js +0 -1
- package/dist/client/_nuxt/Du268qiB.js +0 -1
- package/dist/client/_nuxt/Du5NY7AG.js +0 -1
- package/dist/client/_nuxt/DxSadP1t.js +0 -1
- package/dist/client/_nuxt/DyGSH8sA.js +0 -1
- package/dist/client/_nuxt/E3gJ1_iC.js +0 -1
- package/dist/client/_nuxt/ISJeQQUc.js +0 -1
- package/dist/client/_nuxt/IuBKFhSY.js +0 -1
- package/dist/client/_nuxt/JqZropPD.js +0 -1
- package/dist/client/_nuxt/L9t79GZl.js +0 -1
- package/dist/client/_nuxt/LGGdnPYs.js +0 -1
- package/dist/client/_nuxt/LKU2TuZ1.js +0 -1
- package/dist/client/_nuxt/MxEea5SM.js +0 -1
- package/dist/client/_nuxt/Olw6fvns.js +0 -1
- package/dist/client/_nuxt/PoHY5YXO.js +0 -1
- package/dist/client/_nuxt/R5DMG1SI.js +0 -1
- package/dist/client/_nuxt/RJ4jLoVH.js +0 -1
- package/dist/client/_nuxt/RvZl2ZSs.js +0 -1
- package/dist/client/_nuxt/SKMF96pI.js +0 -1
- package/dist/client/_nuxt/SPD3sf1n.js +0 -1
- package/dist/client/_nuxt/T-Tgc4AT.js +0 -1
- package/dist/client/_nuxt/UP2u2qKn.js +0 -1
- package/dist/client/_nuxt/WlOKAcJ7.js +0 -1
- package/dist/client/_nuxt/XBlWyCtg.js +0 -1
- package/dist/client/_nuxt/YJb9dmdj.js +0 -1
- package/dist/client/_nuxt/YSxxb8je.js +0 -1
- package/dist/client/_nuxt/a8RH-YUw.js +0 -1
- package/dist/client/_nuxt/aBZrgJR0.js +0 -1
- package/dist/client/_nuxt/ahYVQIuB.js +0 -1
- package/dist/client/_nuxt/ajMbGru0.js +0 -1
- package/dist/client/_nuxt/bCA53EVm.js +0 -1
- package/dist/client/_nuxt/bN70gL4F.js +0 -1
- package/dist/client/_nuxt/builds/meta/fde9927c-67b7-46e2-bc4b-f2cf5fcca69b.json +0 -1
- package/dist/client/_nuxt/cPjAOO0u.js +0 -1
- package/dist/client/_nuxt/eHy1PpK4.js +0 -1
- package/dist/client/_nuxt/eg146-Ew.js +0 -1
- package/dist/client/_nuxt/fje9CFhw.js +0 -1
- package/dist/client/_nuxt/hegEt444.js +0 -1
- package/dist/client/_nuxt/ifBTmRxC.js +0 -1
- package/dist/client/_nuxt/jOnvO7K6.js +0 -1
- package/dist/client/_nuxt/jY9aw0fr.js +0 -1
- package/dist/client/_nuxt/kP2iUUCn.js +0 -1
- package/dist/client/_nuxt/k_46elR7.js +0 -1
- package/dist/client/_nuxt/m4uW47V2.js +0 -1
- package/dist/client/_nuxt/mD5xMClh.js +0 -1
- package/dist/client/_nuxt/otdIdbsQ.js +0 -1
- package/dist/client/_nuxt/qVXJnTkO.js +0 -1
- package/dist/client/_nuxt/qmhIZ77x.js +0 -1
- package/dist/client/_nuxt/rAlqSFiP.js +0 -1
- package/dist/client/_nuxt/s0gpj0oJ.js +0 -1
- package/dist/client/_nuxt/sY1Cc3Se.js +0 -1
- package/dist/client/_nuxt/sdHcTMYB.js +0 -1
- package/dist/client/_nuxt/tpHetfZQ.js +0 -1
- package/dist/client/_nuxt/ulE5f4OK.js +0 -1
- package/dist/client/_nuxt/xI-RfyKK.js +0 -1
- package/dist/client/_nuxt/xW4inM5L.js +0 -1
- package/dist/client/_nuxt/yNdrVPqT.js +0 -1
- package/dist/client/_nuxt/ySlJ1b_l.js +0 -1
- package/dist/client/_nuxt/z307i-ZX.js +0 -1
- package/dist/client/_nuxt/zocC4JxJ.js +0 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./N6K0xJAA.js","./error-404.CGmvdXdH.css","./DPbdKKAQ.js","./error-500.DloGOj8k.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Sp=Object.defineProperty;var xp=Object.getPrototypeOf;var kp=Reflect.get;var xl=e=>{throw TypeError(e)};var Ap=(e,t,n)=>t in e?Sp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var k=(e,t,n)=>Ap(e,typeof t!="symbol"?t+"":t,n),Qo=(e,t,n)=>t.has(e)||xl("Cannot "+n);var qe=(e,t,n)=>(Qo(e,t,"read from private field"),n?n.call(e):t.get(e)),bn=(e,t,n)=>t.has(e)?xl("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),yt=(e,t,n,r)=>(Qo(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Yo=(e,t,n)=>(Qo(e,t,"access private method"),n);var kl=(e,t,n)=>kp(xp(e),n,t);/**
|
|
3
|
+
* @vue/shared v3.5.13
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Ea(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ye={},er=[],$t=()=>{},Tp=()=>!1,ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ra=e=>e.startsWith("onUpdate:"),ze=Object.assign,Pa=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ep=Object.prototype.hasOwnProperty,ge=(e,t)=>Ep.call(e,t),te=Array.isArray,tr=e=>os(e)==="[object Map]",Tu=e=>os(e)==="[object Set]",Al=e=>os(e)==="[object Date]",ee=e=>typeof e=="function",ke=e=>typeof e=="string",St=e=>typeof e=="symbol",_e=e=>e!==null&&typeof e=="object",$a=e=>(_e(e)||ee(e))&&ee(e.then)&&ee(e.catch),Eu=Object.prototype.toString,os=e=>Eu.call(e),Rp=e=>os(e).slice(8,-1),Ru=e=>os(e)==="[object Object]",Na=e=>ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nr=Ea(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Co=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pp=/-(\w)/g,pt=Co(e=>e.replace(Pp,(t,n)=>n?n.toUpperCase():"")),$p=/\B([A-Z])/g,pn=Co(e=>e.replace($p,"-$1").toLowerCase()),So=Co(e=>e.charAt(0).toUpperCase()+e.slice(1)),Zo=Co(e=>e?`on${So(e)}`:""),on=(e,t)=>!Object.is(e,t),Rs=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pu=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Np=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Op=e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Tl;const xo=()=>Tl||(Tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $n(e){if(te(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=ke(r)?Dp(r):$n(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(ke(e)||_e(e))return e}const Ip=/;(?![^(]*\))/g,Lp=/:([^]+)/,Mp=/\/\*[^]*?\*\//g;function Dp(e){const t={};return e.replace(Mp,"").split(Ip).forEach(n=>{if(n){const r=n.split(Lp);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function $e(e){let t="";if(ke(e))t=e;else if(te(e))for(let n=0;n<e.length;n++){const r=$e(e[n]);r&&(t+=r+" ")}else if(_e(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $u(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ke(t)&&(e.class=$e(t)),n&&(e.style=$n(n)),e}const Hp="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fp=Ea(Hp);function Nu(e){return!!e||e===""}function Bp(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Fs(e[r],t[r]);return n}function Fs(e,t){if(e===t)return!0;let n=Al(e),r=Al(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=St(e),r=St(t),n||r)return e===t;if(n=te(e),r=te(t),n||r)return n&&r?Bp(e,t):!1;if(n=_e(e),r=_e(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Fs(e[i],t[i]))return!1}}return String(e)===String(t)}const Ou=e=>!!(e&&e.__v_isRef===!0),De=e=>ke(e)?e:e==null?"":te(e)||_e(e)&&(e.toString===Eu||!ee(e.toString))?Ou(e)?De(e.value):JSON.stringify(e,Iu,2):String(e),Iu=(e,t)=>Ou(t)?Iu(e,t.value):tr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ei(r,o)+" =>"]=s,n),{})}:Tu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ei(n))}:St(t)?ei(t):_e(t)&&!te(t)&&!Ru(t)?String(t):t,ei=(e,t="")=>{var n;return St(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.5.13
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let Xe;class Lu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xe,!t&&Xe&&(this.index=(Xe.scopes||(Xe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Xe;try{return Xe=this,t()}finally{Xe=n}}}on(){Xe=this}off(){Xe=this.parent}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){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function jp(e){return new Lu(e)}function Oa(){return Xe}function Gp(e,t=!1){Xe&&Xe.cleanups.push(e)}let Ce;const ti=new WeakSet;class Mu{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,Xe&&Xe.active&&Xe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ti.has(this)&&(ti.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Hu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,El(this),Fu(this);const t=Ce,n=bt;Ce=this,bt=!0;try{return this.fn()}finally{Bu(this),Ce=t,bt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ma(t);this.deps=this.depsTail=void 0,El(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ti.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Oi(this)&&this.run()}get dirty(){return Oi(this)}}let Du=0,Rr,Pr;function Hu(e,t=!1){if(e.flags|=8,t){e.next=Pr,Pr=e;return}e.next=Rr,Rr=e}function Ia(){Du++}function La(){if(--Du>0)return;if(Pr){let t=Pr;for(Pr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Rr;){let t=Rr;for(Rr=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 Fu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Bu(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Ma(r),Up(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function Oi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ju(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ju(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Gr))return;e.globalVersion=Gr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Oi(e)){e.flags&=-3;return}const n=Ce,r=bt;Ce=e,bt=!0;try{Fu(e);const s=e.fn(e._value);(t.version===0||on(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Ce=n,bt=r,Bu(e),e.flags&=-3}}function Ma(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Ma(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Up(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let bt=!0;const Gu=[];function gn(){Gu.push(bt),bt=!1}function mn(){const e=Gu.pop();bt=e===void 0?!0:e}function El(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ce;Ce=void 0;try{t()}finally{Ce=n}}}let Gr=0;class Wp{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 ko{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}track(t){if(!Ce||!bt||Ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ce)n=this.activeLink=new Wp(Ce,this),Ce.deps?(n.prevDep=Ce.depsTail,Ce.depsTail.nextDep=n,Ce.depsTail=n):Ce.deps=Ce.depsTail=n,Uu(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=Ce.depsTail,n.nextDep=void 0,Ce.depsTail.nextDep=n,Ce.depsTail=n,Ce.deps===n&&(Ce.deps=r)}return n}trigger(t){this.version++,Gr++,this.notify(t)}notify(t){Ia();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{La()}}}function Uu(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)Uu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Bs=new WeakMap,Nn=Symbol(""),Ii=Symbol(""),Ur=Symbol("");function Ue(e,t,n){if(bt&&Ce){let r=Bs.get(e);r||Bs.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ko),s.map=r,s.key=n),s.track()}}function Wt(e,t,n,r,s,o){const i=Bs.get(e);if(!i){Gr++;return}const a=l=>{l&&l.trigger()};if(Ia(),t==="clear")i.forEach(a);else{const l=te(e),c=l&&Na(n);if(l&&n==="length"){const u=Number(r);i.forEach((f,h)=>{(h==="length"||h===Ur||!St(h)&&h>=u)&&a(f)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),c&&a(i.get(Ur)),t){case"add":l?c&&a(i.get("length")):(a(i.get(Nn)),tr(e)&&a(i.get(Ii)));break;case"delete":l||(a(i.get(Nn)),tr(e)&&a(i.get(Ii)));break;case"set":tr(e)&&a(i.get(Nn));break}}La()}function Vp(e,t){const n=Bs.get(e);return n&&n.get(t)}function Vn(e){const t=pe(e);return t===e?t:(Ue(t,"iterate",Ur),dt(e)?t:t.map(We))}function Ao(e){return Ue(e=pe(e),"iterate",Ur),e}const zp={__proto__:null,[Symbol.iterator](){return ni(this,Symbol.iterator,We)},concat(...e){return Vn(this).concat(...e.map(t=>te(t)?Vn(t):t))},entries(){return ni(this,"entries",e=>(e[1]=We(e[1]),e))},every(e,t){return Ft(this,"every",e,t,void 0,arguments)},filter(e,t){return Ft(this,"filter",e,t,n=>n.map(We),arguments)},find(e,t){return Ft(this,"find",e,t,We,arguments)},findIndex(e,t){return Ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ft(this,"findLast",e,t,We,arguments)},findLastIndex(e,t){return Ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return ri(this,"includes",e)},indexOf(...e){return ri(this,"indexOf",e)},join(e){return Vn(this).join(e)},lastIndexOf(...e){return ri(this,"lastIndexOf",e)},map(e,t){return Ft(this,"map",e,t,void 0,arguments)},pop(){return xr(this,"pop")},push(...e){return xr(this,"push",e)},reduce(e,...t){return Rl(this,"reduce",e,t)},reduceRight(e,...t){return Rl(this,"reduceRight",e,t)},shift(){return xr(this,"shift")},some(e,t){return Ft(this,"some",e,t,void 0,arguments)},splice(...e){return xr(this,"splice",e)},toReversed(){return Vn(this).toReversed()},toSorted(e){return Vn(this).toSorted(e)},toSpliced(...e){return Vn(this).toSpliced(...e)},unshift(...e){return xr(this,"unshift",e)},values(){return ni(this,"values",We)}};function ni(e,t,n){const r=Ao(e),s=r[t]();return r!==e&&!dt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const qp=Array.prototype;function Ft(e,t,n,r,s,o){const i=Ao(e),a=i!==e&&!dt(e),l=i[t];if(l!==qp[t]){const f=l.apply(e,o);return a?We(f):f}let c=n;i!==e&&(a?c=function(f,h){return n.call(this,We(f),h,e)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,e)}));const u=l.call(i,c,r);return a&&s?s(u):u}function Rl(e,t,n,r){const s=Ao(e);let o=n;return s!==e&&(dt(e)?n.length>3&&(o=function(i,a,l){return n.call(this,i,a,l,e)}):o=function(i,a,l){return n.call(this,i,We(a),l,e)}),s[t](o,...r)}function ri(e,t,n){const r=pe(e);Ue(r,"iterate",Ur);const s=r[t](...n);return(s===-1||s===!1)&&Fa(n[0])?(n[0]=pe(n[0]),r[t](...n)):s}function xr(e,t,n=[]){gn(),Ia();const r=pe(e)[t].apply(e,n);return La(),mn(),r}const Kp=Ea("__proto__,__v_isRef,__isVue"),Wu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(St));function Jp(e){St(e)||(e=String(e));const t=pe(this);return Ue(t,"has",e),t.hasOwnProperty(e)}class Vu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?og:Ju:o?Ku:qu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=te(t);if(!s){let l;if(i&&(l=zp[n]))return l;if(n==="hasOwnProperty")return Jp}const a=Reflect.get(t,n,Le(t)?t:r);return(St(n)?Wu.has(n):Kp(n))||(s||Ue(t,"get",n),o)?a:Le(a)?i&&Na(n)?a:a.value:_e(a)?s?To(a):un(a):a}}class zu extends Vu{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const l=fn(o);if(!dt(r)&&!fn(r)&&(o=pe(o),r=pe(r)),!te(t)&&Le(o)&&!Le(r))return l?!1:(o.value=r,!0)}const i=te(t)&&Na(n)?Number(n)<t.length:ge(t,n),a=Reflect.set(t,n,r,Le(t)?t:s);return t===pe(s)&&(i?on(r,o)&&Wt(t,"set",n,r):Wt(t,"add",n,r)),a}deleteProperty(t,n){const r=ge(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Wt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!St(n)||!Wu.has(n))&&Ue(t,"has",n),r}ownKeys(t){return Ue(t,"iterate",te(t)?"length":Nn),Reflect.ownKeys(t)}}class Xp extends Vu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qp=new zu,Yp=new Xp,Zp=new zu(!0);const Li=e=>e,hs=e=>Reflect.getPrototypeOf(e);function eg(e,t,n){return function(...r){const s=this.__v_raw,o=pe(s),i=tr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),u=n?Li:t?Mi:We;return!t&&Ue(o,"iterate",l?Ii:Nn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tg(e,t){const n={get(s){const o=this.__v_raw,i=pe(o),a=pe(s);e||(on(s,a)&&Ue(i,"get",s),Ue(i,"get",a));const{has:l}=hs(i),c=t?Li:e?Mi:We;if(l.call(i,s))return c(o.get(s));if(l.call(i,a))return c(o.get(a));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ue(pe(s),"iterate",Nn),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=pe(o),a=pe(s);return e||(on(s,a)&&Ue(i,"has",s),Ue(i,"has",a)),s===a?o.has(s):o.has(s)||o.has(a)},forEach(s,o){const i=this,a=i.__v_raw,l=pe(a),c=t?Li:e?Mi:We;return!e&&Ue(l,"iterate",Nn),a.forEach((u,f)=>s.call(o,c(u),c(f),i))}};return ze(n,e?{add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear")}:{add(s){!t&&!dt(s)&&!fn(s)&&(s=pe(s));const o=pe(this);return hs(o).has.call(o,s)||(o.add(s),Wt(o,"add",s,s)),this},set(s,o){!t&&!dt(o)&&!fn(o)&&(o=pe(o));const i=pe(this),{has:a,get:l}=hs(i);let c=a.call(i,s);c||(s=pe(s),c=a.call(i,s));const u=l.call(i,s);return i.set(s,o),c?on(o,u)&&Wt(i,"set",s,o):Wt(i,"add",s,o),this},delete(s){const o=pe(this),{has:i,get:a}=hs(o);let l=i.call(o,s);l||(s=pe(s),l=i.call(o,s)),a&&a.call(o,s);const c=o.delete(s);return l&&Wt(o,"delete",s,void 0),c},clear(){const s=pe(this),o=s.size!==0,i=s.clear();return o&&Wt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=eg(s,e,t)}),n}function Da(e,t){const n=tg(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ge(n,s)&&s in r?n:r,s,o)}const ng={get:Da(!1,!1)},rg={get:Da(!1,!0)},sg={get:Da(!0,!1)};const qu=new WeakMap,Ku=new WeakMap,Ju=new WeakMap,og=new WeakMap;function ig(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ag(e){return e.__v_skip||!Object.isExtensible(e)?0:ig(Rp(e))}function un(e){return fn(e)?e:Ha(e,!1,Qp,ng,qu)}function Qn(e){return Ha(e,!1,Zp,rg,Ku)}function To(e){return Ha(e,!0,Yp,sg,Ju)}function Ha(e,t,n,r,s){if(!_e(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=ag(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function On(e){return fn(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function dt(e){return!!(e&&e.__v_isShallow)}function Fa(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function lg(e){return!ge(e,"__v_skip")&&Object.isExtensible(e)&&Pu(e,"__v_skip",!0),e}const We=e=>_e(e)?un(e):e,Mi=e=>_e(e)?To(e):e;function Le(e){return e?e.__v_isRef===!0:!1}function Ae(e){return Xu(e,!1)}function Di(e){return Xu(e,!0)}function Xu(e,t){return Le(e)?e:new cg(e,t)}class cg{constructor(t,n){this.dep=new ko,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||dt(t)||fn(t);t=r?t:pe(t),on(t,n)&&(this._rawValue=t,this._value=r?t:We(t),this.dep.trigger())}}function ie(e){return Le(e)?e.value:e}function In(e){return ee(e)?e():ie(e)}const ug={get:(e,t,n)=>t==="__v_raw"?e:ie(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Le(s)&&!Le(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Qu(e){return On(e)?e:new Proxy(e,ug)}class fg{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new ko,{get:r,set:s}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=s}get value(){return this._value=this._get()}set value(t){this._set(t)}}function hg(e){return new fg(e)}class dg{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Vp(pe(this._object),this._key)}}class pg{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 Yu(e,t,n){return Le(e)?e:ee(e)?new pg(e):_e(e)&&arguments.length>1?gg(e,t,n):Ae(e)}function gg(e,t,n){const r=e[t];return Le(r)?r:new dg(e,t,n)}class mg{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ko(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Gr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Ce!==this)return Hu(this,!0),!0}get value(){const t=this.dep.track();return ju(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yg(e,t,n=!1){let r,s;return ee(e)?r=e:(r=e.get,s=e.set),new mg(r,s,n)}const ps={},js=new WeakMap;let kn;function _g(e,t=!1,n=kn){if(n){let r=js.get(n);r||js.set(n,r=[]),r.push(e)}}function vg(e,t,n=ye){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:a,call:l}=n,c=b=>s?b:dt(b)||s===!1||s===0?Vt(b,1):Vt(b);let u,f,h,d,p=!1,m=!1;if(Le(e)?(f=()=>e.value,p=dt(e)):On(e)?(f=()=>c(e),p=!0):te(e)?(m=!0,p=e.some(b=>On(b)||dt(b)),f=()=>e.map(b=>{if(Le(b))return b.value;if(On(b))return c(b);if(ee(b))return l?l(b,2):b()})):ee(e)?t?f=l?()=>l(e,2):e:f=()=>{if(h){gn();try{h()}finally{mn()}}const b=kn;kn=u;try{return l?l(e,3,[d]):e(d)}finally{kn=b}}:f=$t,t&&s){const b=f,C=s===!0?1/0:s;f=()=>Vt(b(),C)}const y=Oa(),v=()=>{u.stop(),y&&y.active&&Pa(y.effects,u)};if(o&&t){const b=t;t=(...C)=>{b(...C),v()}}let S=m?new Array(e.length).fill(ps):ps;const g=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const C=u.run();if(s||p||(m?C.some((T,x)=>on(T,S[x])):on(C,S))){h&&h();const T=kn;kn=u;try{const x=[C,S===ps?void 0:m&&S[0]===ps?[]:S,d];l?l(t,3,x):t(...x),S=C}finally{kn=T}}}else u.run()};return a&&a(g),u=new Mu(f),u.scheduler=i?()=>i(g,!1):g,d=b=>_g(b,!1,u),h=u.onStop=()=>{const b=js.get(u);if(b){if(l)l(b,4);else for(const C of b)C();js.delete(u)}},t?r?g(!0):S=u.run():i?i(g.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function Vt(e,t=1/0,n){if(t<=0||!_e(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Le(e))Vt(e.value,t,n);else if(te(e))for(let r=0;r<e.length;r++)Vt(e[r],t,n);else if(Tu(e)||tr(e))e.forEach(r=>{Vt(r,t,n)});else if(Ru(e)){for(const r in e)Vt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Vt(e[r],t,n)}return e}/**
|
|
11
|
+
* @vue/runtime-core v3.5.13
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function is(e,t,n,r){try{return r?e(...r):e()}catch(s){_r(s,t,n)}}function Lt(e,t,n,r){if(ee(e)){const s=is(e,t,n,r);return s&&$a(s)&&s.catch(o=>{_r(o,t,n)}),s}if(te(e)){const s=[];for(let o=0;o<e.length;o++)s.push(Lt(e[o],t,n,r));return s}}function _r(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ye;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(o){gn(),is(o,null,10,[e,l,c]),mn();return}}bg(e,n,s,r,i)}function bg(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Qe=[];let Et=-1;const rr=[];let Zt=null,qn=0;const Zu=Promise.resolve();let Gs=null;function Bn(e){const t=Gs||Zu;return e?t.then(this?e.bind(this):e):t}function wg(e){let t=Et+1,n=Qe.length;for(;t<n;){const r=t+n>>>1,s=Qe[r],o=Wr(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function Ba(e){if(!(e.flags&1)){const t=Wr(e),n=Qe[Qe.length-1];!n||!(e.flags&2)&&t>=Wr(n)?Qe.push(e):Qe.splice(wg(t),0,e),e.flags|=1,ef()}}function ef(){Gs||(Gs=Zu.then(tf))}function Hi(e){te(e)?rr.push(...e):Zt&&e.id===-1?Zt.splice(qn+1,0,e):e.flags&1||(rr.push(e),e.flags|=1),ef()}function Pl(e,t,n=Et+1){for(;n<Qe.length;n++){const r=Qe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Us(e){if(rr.length){const t=[...new Set(rr)].sort((n,r)=>Wr(n)-Wr(r));if(rr.length=0,Zt){Zt.push(...t);return}for(Zt=t,qn=0;qn<Zt.length;qn++){const n=Zt[qn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Zt=null,qn=0}}const Wr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function tf(e){try{for(Et=0;Et<Qe.length;Et++){const t=Qe[Et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),is(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Et<Qe.length;Et++){const t=Qe[Et];t&&(t.flags&=-2)}Et=-1,Qe.length=0,Us(),Gs=null,(Qe.length||rr.length)&&tf()}}let Ie=null,Eo=null;function Ws(e){const t=Ie;return Ie=e,Eo=e&&e.type.__scopeId||null,t}function Cg(e){Eo=e}function Sg(){Eo=null}const xg=e=>ae;function ae(e,t=Ie,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ul(-1);const o=Ws(t);let i;try{i=e(...s)}finally{Ws(o),r._d&&Ul(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function kg(e,t){if(Ie===null)return e;const n=Oo(Ie),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,a,l=ye]=t[s];o&&(ee(o)&&(o={mounted:o,updated:o}),o.deep&&Vt(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Rt(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(gn(),Lt(l,n,8,[e.el,a,e,t]),mn())}}const Ag=Symbol("_vte"),Tg=e=>e.__isTeleport;function ja(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ja(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function et(e,t){return ee(e)?ze({name:e.name},t,{setup:e}):e}function Ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Vr(e,t,n,r,s=!1){if(te(e)){e.forEach((p,m)=>Vr(p,t&&(te(t)?t[m]:t),n,r,s));return}if(Ln(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Vr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Oo(r.component):r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,u=a.refs===ye?a.refs={}:a.refs,f=a.setupState,h=pe(f),d=f===ye?()=>!1:p=>ge(h,p);if(c!=null&&c!==l&&(ke(c)?(u[c]=null,d(c)&&(f[c]=null)):Le(c)&&(c.value=null)),ee(l))is(l,a,12,[i,u]);else{const p=ke(l),m=Le(l);if(p||m){const y=()=>{if(e.f){const v=p?d(l)?f[l]:u[l]:l.value;s?te(v)&&Pa(v,o):te(v)?v.includes(o)||v.push(o):p?(u[l]=[o],d(l)&&(f[l]=u[l])):(l.value=[o],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,d(l)&&(f[l]=i)):m&&(l.value=i,e.k&&(u[e.k]=i))};i?(y.id=-1,ot(y,n)):y()}}}let $l=!1;const zn=()=>{$l||(console.error("Hydration completed but contains mismatches."),$l=!0)},Eg=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Rg=e=>e.namespaceURI.includes("MathML"),gs=e=>{if(e.nodeType===1){if(Eg(e))return"svg";if(Rg(e))return"mathml"}},Yn=e=>e.nodeType===8;function Pg(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(g,b)=>{if(!b.hasChildNodes()){n(null,g,b),Us(),b._vnode=g;return}f(b.firstChild,g,null,null,null),Us(),b._vnode=g},f=(g,b,C,T,x,M=!1)=>{M=M||!!b.dynamicChildren;const H=Yn(g)&&g.data==="[",O=()=>m(g,b,C,T,x,H),{type:D,ref:G,shapeFlag:X,patchFlag:re}=b;let he=g.nodeType;b.el=g,re===-2&&(M=!1,b.dynamicChildren=null);let W=null;switch(D){case Dn:he!==3?b.children===""?(l(b.el=s(""),i(g),g),W=g):W=O():(g.data!==b.children&&(zn(),g.data=b.children),W=o(g));break;case xt:S(g)?(W=o(g),v(b.el=g.content.firstChild,g,C)):he!==8||H?W=O():W=o(g);break;case Nr:if(H&&(g=o(g),he=g.nodeType),he===1||he===3){W=g;const Y=!b.children.length;for(let z=0;z<b.staticCount;z++)Y&&(b.children+=W.nodeType===1?W.outerHTML:W.data),z===b.staticCount-1&&(b.anchor=W),W=o(W);return H?o(W):W}else O();break;case Se:H?W=p(g,b,C,T,x,M):W=O();break;default:if(X&1)(he!==1||b.type.toLowerCase()!==g.tagName.toLowerCase())&&!S(g)?W=O():W=h(g,b,C,T,x,M);else if(X&6){b.slotScopeIds=x;const Y=i(g);if(H?W=y(g):Yn(g)&&g.data==="teleport start"?W=y(g,g.data,"teleport end"):W=o(g),t(b,Y,null,C,T,gs(Y),M),Ln(b)&&!b.type.__asyncResolved){let z;H?(z=q(Se),z.anchor=W?W.previousSibling:Y.lastChild):z=g.nodeType===3?ce(""):q("div"),z.el=g,b.component.subTree=z}}else X&64?he!==8?W=O():W=b.type.hydrate(g,b,C,T,x,M,e,d):X&128&&(W=b.type.hydrate(g,b,C,T,gs(i(g)),x,M,e,f))}return G!=null&&Vr(G,null,T,b),W},h=(g,b,C,T,x,M)=>{M=M||!!b.dynamicChildren;const{type:H,props:O,patchFlag:D,shapeFlag:G,dirs:X,transition:re}=b,he=H==="input"||H==="option";if(he||D!==-1){X&&Rt(b,null,C,"created");let W=!1;if(S(g)){W=Tf(null,re)&&C&&C.vnode.props&&C.vnode.props.appear;const z=g.content.firstChild;W&&re.beforeEnter(z),v(z,g,C),b.el=g=z}if(G&16&&!(O&&(O.innerHTML||O.textContent))){let z=d(g.firstChild,b,g,C,T,x,M);for(;z;){ms(g,1)||zn();const ve=z;z=z.nextSibling,a(ve)}}else if(G&8){let z=b.children;z[0]===`
|
|
15
|
+
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(z=z.slice(1)),g.textContent!==z&&(ms(g,0)||zn(),g.textContent=b.children)}if(O){if(he||!M||D&48){const z=g.tagName.includes("-");for(const ve in O)(he&&(ve.endsWith("value")||ve==="indeterminate")||ss(ve)&&!nr(ve)||ve[0]==="."||z)&&r(g,ve,null,O[ve],void 0,C)}else if(O.onClick)r(g,"onClick",null,O.onClick,void 0,C);else if(D&4&&On(O.style))for(const z in O.style)O.style[z]}let Y;(Y=O&&O.onVnodeBeforeMount)&<(Y,C,b),X&&Rt(b,null,C,"beforeMount"),((Y=O&&O.onVnodeMounted)||X||W)&&Lf(()=>{Y&<(Y,C,b),W&&re.enter(g),X&&Rt(b,null,C,"mounted")},T)}return g.nextSibling},d=(g,b,C,T,x,M,H)=>{H=H||!!b.dynamicChildren;const O=b.children,D=O.length;for(let G=0;G<D;G++){const X=H?O[G]:O[G]=it(O[G]),re=X.type===Dn;g?(re&&!H&&G+1<D&&it(O[G+1]).type===Dn&&(l(s(g.data.slice(X.children.length)),C,o(g)),g.data=X.children),g=f(g,X,T,x,M,H)):re&&!X.children?l(X.el=s(""),C):(ms(C,1)||zn(),n(null,X,C,null,T,x,gs(C),M))}return g},p=(g,b,C,T,x,M)=>{const{slotScopeIds:H}=b;H&&(x=x?x.concat(H):H);const O=i(g),D=d(o(g),b,O,C,T,x,M);return D&&Yn(D)&&D.data==="]"?o(b.anchor=D):(zn(),l(b.anchor=c("]"),O,D),D)},m=(g,b,C,T,x,M)=>{if(ms(g.parentElement,1)||zn(),b.el=null,M){const D=y(g);for(;;){const G=o(g);if(G&&G!==D)a(G);else break}}const H=o(g),O=i(g);return a(g),n(null,b,O,H,C,T,gs(O),x),C&&(C.vnode.el=b.el,$o(C,b.el)),H},y=(g,b="[",C="]")=>{let T=0;for(;g;)if(g=o(g),g&&Yn(g)&&(g.data===b&&T++,g.data===C)){if(T===0)return o(g);T--}return g},v=(g,b,C)=>{const T=b.parentNode;T&&T.replaceChild(g,b);let x=C;for(;x;)x.vnode.el===b&&(x.vnode.el=x.subTree.el=g),x=x.parent},S=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}const Nl="data-allow-mismatch",$g={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ms(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Nl);)e=e.parentElement;const n=e&&e.getAttribute(Nl);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes($g[t])}}xo().requestIdleCallback;xo().cancelIdleCallback;function Ng(e,t){if(Yn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Yn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const Ln=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Ol(e){ee(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,hydrate:o,timeout:i,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const h=()=>(f++,c=null,d()),d=()=>{let p;return c||(p=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((y,v)=>{l(m,()=>y(h()),()=>v(m),f+1)});throw m}).then(m=>p!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return et({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(p,m,y){const v=o?()=>{const S=o(y,g=>Ng(p,g));S&&(m.bum||(m.bum=[])).push(S)}:y;u?v():d().then(()=>!m.isUnmounted&&v())},get __asyncResolved(){return u},setup(){const p=Oe;if(Ga(p),u)return()=>si(u,p);const m=g=>{c=null,_r(g,p,13,!r)};if(a&&p.suspense||dr)return d().then(g=>()=>si(g,p)).catch(g=>(m(g),()=>r?q(r,{error:g}):null));const y=Ae(!1),v=Ae(),S=Ae(!!s);return s&&setTimeout(()=>{S.value=!1},s),i!=null&&setTimeout(()=>{if(!y.value&&!v.value){const g=new Error(`Async component timed out after ${i}ms.`);m(g),v.value=g}},i),d().then(()=>{y.value=!0,p.parent&&Ua(p.parent.vnode)&&p.parent.update()}).catch(g=>{m(g),v.value=g}),()=>{if(y.value&&u)return si(u,p);if(v.value&&r)return q(r,{error:v.value});if(n&&!S.value)return q(n)}}})}function si(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=q(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Ua=e=>e.type.__isKeepAlive;function nf(e,t){sf(e,"a",t)}function rf(e,t){sf(e,"da",t)}function sf(e,t,n=Oe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Ro(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ua(s.parent.vnode)&&Og(r,t,n,s),s=s.parent}}function Og(e,t,n,r){const s=Ro(t,e,r,!0);of(()=>{Pa(r[t],s)},n)}function Ro(e,t,n=Oe,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{gn();const a=Hn(n),l=Lt(t,n,e,i);return a(),mn(),l});return r?s.unshift(o):s.push(o),o}}const Jt=e=>(t,n=Oe)=>{(!dr||e==="sp")&&Ro(e,(...r)=>t(...r),n)},Ig=Jt("bm"),Wa=Jt("m"),Lg=Jt("bu"),Mg=Jt("u"),Va=Jt("bum"),of=Jt("um"),Dg=Jt("sp"),Hg=Jt("rtg"),Fg=Jt("rtc");function af(e,t=Oe){Ro("ec",e,t)}const lf="components";function hn(e,t){return uf(lf,e,!0,t)||e}const cf=Symbol.for("v-ndc");function Bg(e){return ke(e)?uf(lf,e,!1)||e:e||cf}function uf(e,t,n=!0,r=!1){const s=Ie||Oe;if(s){const o=s.type;{const a=Pm(o,!1);if(a&&(a===t||a===pt(t)||a===So(pt(t))))return o}const i=Il(s[e]||o[e],t)||Il(s.appContext[e],t);return!i&&r?o:i}}function Il(e,t){return e&&(e[t]||e[pt(t)]||e[So(pt(t))])}function Kn(e,t,n,r){let s;const o=n,i=te(e);if(i||ke(e)){const a=i&&On(e);let l=!1;a&&(l=!dt(e),e=Ao(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(l?We(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o)}else if(_e(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,o));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];s[l]=t(e[u],u,l,o)}}else s=[];return s}function Ye(e,t,n={},r,s){if(Ie.ce||Ie.parent&&Ln(Ie.parent)&&Ie.parent.ce)return t!=="default"&&(n.name=t),U(),xe(Se,null,[q("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),U();const i=o&&ff(o(n)),a=n.key||i&&i.key,l=xe(Se,{key:(a&&!St(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function ff(e){return e.some(t=>fr(t)?!(t.type===xt||t.type===Se&&!ff(t.children)):!0)?e:null}const Fi=e=>e?Ff(e)?Oo(e):Fi(e.parent):null,$r=ze(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=>Fi(e.parent),$root:e=>Fi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>df(e),$forceUpdate:e=>e.f||(e.f=()=>{Ba(e.update)}),$nextTick:e=>e.n||(e.n=Bn.bind(e.proxy)),$watch:e=>am.bind(e)}),oi=(e,t)=>e!==ye&&!e.__isScriptSetup&&ge(e,t),jg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=i[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(oi(r,t))return i[t]=1,r[t];if(s!==ye&&ge(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ge(c,t))return i[t]=3,o[t];if(n!==ye&&ge(n,t))return i[t]=4,n[t];Bi&&(i[t]=0)}}const u=$r[t];let f,h;if(u)return t==="$attrs"&&Ue(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==ye&&ge(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,ge(h,t))return h[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return oi(s,t)?(s[t]=n,!0):r!==ye&&ge(r,t)?(r[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==ye&&ge(e,i)||oi(t,i)||(a=o[0])&&ge(a,i)||ge(r,i)||ge($r,i)||ge(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ll(e){return te(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Gg(e){const t=as();let n=e();return Vi(),$a(n)&&(n=n.catch(r=>{throw Hn(t),r})),[n,()=>Hn(t)]}let Bi=!0;function Ug(e){const t=df(e),n=e.proxy,r=e.ctx;Bi=!1,t.beforeCreate&&Ml(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:p,activated:m,deactivated:y,beforeDestroy:v,beforeUnmount:S,destroyed:g,unmounted:b,render:C,renderTracked:T,renderTriggered:x,errorCaptured:M,serverPrefetch:H,expose:O,inheritAttrs:D,components:G,directives:X,filters:re}=t;if(c&&Wg(c,r,null),i)for(const Y in i){const z=i[Y];ee(z)&&(r[Y]=z.bind(n))}if(s){const Y=s.call(n,n);_e(Y)&&(e.data=un(Y))}if(Bi=!0,o)for(const Y in o){const z=o[Y],ve=ee(z)?z.bind(n,n):ee(z.get)?z.get.bind(n,n):$t,Un=!ee(z)&&ee(z.set)?z.set.bind(n):$t,vn=Pe({get:ve,set:Un});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>vn.value,set:kt=>vn.value=kt})}if(a)for(const Y in a)hf(a[Y],r,n,Y);if(l){const Y=ee(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(z=>{gf(z,Y[z])})}u&&Ml(u,e,"c");function W(Y,z){te(z)?z.forEach(ve=>Y(ve.bind(n))):z&&Y(z.bind(n))}if(W(Ig,f),W(Wa,h),W(Lg,d),W(Mg,p),W(nf,m),W(rf,y),W(af,M),W(Fg,T),W(Hg,x),W(Va,S),W(of,b),W(Dg,H),te(O))if(O.length){const Y=e.exposed||(e.exposed={});O.forEach(z=>{Object.defineProperty(Y,z,{get:()=>n[z],set:ve=>n[z]=ve})})}else e.exposed||(e.exposed={});C&&e.render===$t&&(e.render=C),D!=null&&(e.inheritAttrs=D),G&&(e.components=G),X&&(e.directives=X),H&&Ga(e)}function Wg(e,t,n=$t){te(e)&&(e=ji(e));for(const r in e){const s=e[r];let o;_e(s)?"default"in s?o=sr(s.from||r,s.default,!0):o=sr(s.from||r):o=sr(s),Le(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ml(e,t,n){Lt(te(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hf(e,t,n,r){let s=r.includes(".")?$f(n,r):()=>n[r];if(ke(e)){const o=t[e];ee(o)&&Kt(s,o)}else if(ee(e))Kt(s,e.bind(n));else if(_e(e))if(te(e))e.forEach(o=>hf(o,t,n,r));else{const o=ee(e.handler)?e.handler.bind(n):t[e.handler];ee(o)&&Kt(s,o,e)}}function df(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Vs(l,c,i,!0)),Vs(l,t,i)),_e(t)&&o.set(t,l),l}function Vs(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Vs(e,o,n,!0),s&&s.forEach(i=>Vs(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Vg[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Vg={data:Dl,props:Hl,emits:Hl,methods:Tr,computed:Tr,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:Tr,directives:Tr,watch:qg,provide:Dl,inject:zg};function Dl(e,t){return t?e?function(){return ze(ee(e)?e.call(this,this):e,ee(t)?t.call(this,this):t)}:t:e}function zg(e,t){return Tr(ji(e),ji(t))}function ji(e){if(te(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ke(e,t){return e?[...new Set([].concat(e,t))]:t}function Tr(e,t){return e?ze(Object.create(null),e,t):t}function Hl(e,t){return e?te(e)&&te(t)?[...new Set([...e,...t])]:ze(Object.create(null),Ll(e),Ll(t??{})):t}function qg(e,t){if(!e)return t;if(!t)return e;const n=ze(Object.create(null),e);for(const r in t)n[r]=Ke(e[r],t[r]);return n}function pf(){return{app:null,config:{isNativeTag:Tp,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 Kg=0;function Jg(e,t){return function(r,s=null){ee(r)||(r=ze({},r)),s!=null&&!_e(s)&&(s=null);const o=pf(),i=new WeakSet,a=[];let l=!1;const c=o.app={_uid:Kg++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:jf,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ee(u.install)?(i.add(u),u.install(c,...f)):ee(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,h){if(!l){const d=c._ceVNode||q(r,s);return d.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),f&&t?t(d,u):e(d,u,h),l=!0,c._container=u,u.__vue_app__=c,Oo(d.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Lt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=Mn;Mn=c;try{return u()}finally{Mn=f}}};return c}}let Mn=null;function gf(e,t){if(Oe){let n=Oe.provides;const r=Oe.parent&&Oe.parent.provides;r===n&&(n=Oe.provides=Object.create(r)),n[e]=t}}function sr(e,t,n=!1){const r=Oe||Ie;if(r||Mn){const s=Mn?Mn._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ee(t)?t.call(r&&r.proxy):t}}function mf(){return!!(Oe||Ie||Mn)}const yf={},_f=()=>Object.create(yf),vf=e=>Object.getPrototypeOf(e)===yf;function Xg(e,t,n,r=!1){const s={},o=_f();e.propsDefaults=Object.create(null),bf(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:Qn(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Qg(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=pe(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(Po(e.emitsOptions,h))continue;const d=t[h];if(l)if(ge(o,h))d!==o[h]&&(o[h]=d,c=!0);else{const p=pt(h);s[p]=Gi(l,a,p,d,e,!1)}else d!==o[h]&&(o[h]=d,c=!0)}}}else{bf(e,t,s,o)&&(c=!0);let u;for(const f in a)(!t||!ge(t,f)&&((u=pn(f))===f||!ge(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Gi(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!ge(t,f))&&(delete o[f],c=!0)}c&&Wt(e.attrs,"set","")}function bf(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(nr(l))continue;const c=t[l];let u;s&&ge(s,u=pt(l))?!o||!o.includes(u)?n[u]=c:(a||(a={}))[u]=c:Po(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=pe(n),c=a||ye;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Gi(s,l,f,c[f],e,!ge(c,f))}}return i}function Gi(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=ge(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ee(l)){const{propsDefaults:c}=s;if(n in c)r=c[n];else{const u=Hn(s);r=c[n]=l.call(null,t),u()}}else r=l;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===pn(n))&&(r=!0))}return r}const Yg=new WeakMap;function wf(e,t,n=!1){const r=n?Yg:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ee(e)){const u=f=>{l=!0;const[h,d]=wf(f,t,!0);ze(i,h),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!l)return _e(e)&&r.set(e,er),er;if(te(o))for(let u=0;u<o.length;u++){const f=pt(o[u]);Fl(f)&&(i[f]=ye)}else if(o)for(const u in o){const f=pt(u);if(Fl(f)){const h=o[u],d=i[f]=te(h)||ee(h)?{type:h}:ze({},h),p=d.type;let m=!1,y=!0;if(te(p))for(let v=0;v<p.length;++v){const S=p[v],g=ee(S)&&S.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(y=!1)}else m=ee(p)&&p.name==="Boolean";d[0]=m,d[1]=y,(m||ge(d,"default"))&&a.push(f)}}const c=[i,a];return _e(e)&&r.set(e,c),c}function Fl(e){return e[0]!=="$"&&!nr(e)}const Cf=e=>e[0]==="_"||e==="$stable",za=e=>te(e)?e.map(it):[it(e)],Zg=(e,t,n)=>{if(t._n)return t;const r=ae((...s)=>za(t(...s)),n);return r._c=!1,r},Sf=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Cf(s))continue;const o=e[s];if(ee(o))t[s]=Zg(s,o,r);else if(o!=null){const i=za(o);t[s]=()=>i}}},xf=(e,t)=>{const n=za(t);e.slots.default=()=>n},kf=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},em=(e,t,n)=>{const r=e.slots=_f();if(e.vnode.shapeFlag&32){const s=t._;s?(kf(r,t,n),n&&Pu(r,"_",s,!0)):Sf(t,r)}else t&&xf(e,t)},tm=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ye;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:kf(s,t,n):(o=!t.$stable,Sf(t,s)),i=t}else t&&(xf(e,t),i={default:1});if(o)for(const a in s)!Cf(a)&&i[a]==null&&delete s[a]},ot=Lf;function nm(e){return Af(e)}function rm(e){return Af(e,Pg)}function Af(e,t){const n=xo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=$t,insertStaticContent:p}=e,m=(_,w,A,$=null,E=null,R=null,j=void 0,B=null,F=!!w.dynamicChildren)=>{if(_===w)return;_&&!nn(_,w)&&($=fs(_),kt(_,E,R,!0),_=null),w.patchFlag===-2&&(F=!1,w.dynamicChildren=null);const{type:N,ref:Z,shapeFlag:V}=w;switch(N){case Dn:y(_,w,A,$);break;case xt:v(_,w,A,$);break;case Nr:_==null&&S(w,A,$,j);break;case Se:G(_,w,A,$,E,R,j,B,F);break;default:V&1?C(_,w,A,$,E,R,j,B,F):V&6?X(_,w,A,$,E,R,j,B,F):(V&64||V&128)&&N.process(_,w,A,$,E,R,j,B,F,Wn)}Z!=null&&E&&Vr(Z,_&&_.ref,R,w||_,!w)},y=(_,w,A,$)=>{if(_==null)r(w.el=a(w.children),A,$);else{const E=w.el=_.el;w.children!==_.children&&c(E,w.children)}},v=(_,w,A,$)=>{_==null?r(w.el=l(w.children||""),A,$):w.el=_.el},S=(_,w,A,$)=>{[_.el,_.anchor]=p(_.children,w,A,$,_.el,_.anchor)},g=({el:_,anchor:w},A,$)=>{let E;for(;_&&_!==w;)E=h(_),r(_,A,$),_=E;r(w,A,$)},b=({el:_,anchor:w})=>{let A;for(;_&&_!==w;)A=h(_),s(_),_=A;s(w)},C=(_,w,A,$,E,R,j,B,F)=>{w.type==="svg"?j="svg":w.type==="math"&&(j="mathml"),_==null?T(w,A,$,E,R,j,B,F):H(_,w,E,R,j,B,F)},T=(_,w,A,$,E,R,j,B)=>{let F,N;const{props:Z,shapeFlag:V,transition:Q,dirs:se}=_;if(F=_.el=i(_.type,R,Z&&Z.is,Z),V&8?u(F,_.children):V&16&&M(_.children,F,null,$,E,ii(_,R),j,B),se&&Rt(_,null,$,"created"),x(F,_,_.scopeId,j,$),Z){for(const be in Z)be!=="value"&&!nr(be)&&o(F,be,null,Z[be],R,$);"value"in Z&&o(F,"value",null,Z.value,R),(N=Z.onVnodeBeforeMount)&<(N,$,_)}se&&Rt(_,null,$,"beforeMount");const ue=Tf(E,Q);ue&&Q.beforeEnter(F),r(F,w,A),((N=Z&&Z.onVnodeMounted)||ue||se)&&ot(()=>{N&<(N,$,_),ue&&Q.enter(F),se&&Rt(_,null,$,"mounted")},E)},x=(_,w,A,$,E)=>{if(A&&d(_,A),$)for(let R=0;R<$.length;R++)d(_,$[R]);if(E){let R=E.subTree;if(w===R||Of(R.type)&&(R.ssContent===w||R.ssFallback===w)){const j=E.vnode;x(_,j,j.scopeId,j.slotScopeIds,E.parent)}}},M=(_,w,A,$,E,R,j,B,F=0)=>{for(let N=F;N<_.length;N++){const Z=_[N]=B?en(_[N]):it(_[N]);m(null,Z,w,A,$,E,R,j,B)}},H=(_,w,A,$,E,R,j)=>{const B=w.el=_.el;let{patchFlag:F,dynamicChildren:N,dirs:Z}=w;F|=_.patchFlag&16;const V=_.props||ye,Q=w.props||ye;let se;if(A&&wn(A,!1),(se=Q.onVnodeBeforeUpdate)&<(se,A,w,_),Z&&Rt(w,_,A,"beforeUpdate"),A&&wn(A,!0),(V.innerHTML&&Q.innerHTML==null||V.textContent&&Q.textContent==null)&&u(B,""),N?O(_.dynamicChildren,N,B,A,$,ii(w,E),R):j||z(_,w,B,null,A,$,ii(w,E),R,!1),F>0){if(F&16)D(B,V,Q,A,E);else if(F&2&&V.class!==Q.class&&o(B,"class",null,Q.class,E),F&4&&o(B,"style",V.style,Q.style,E),F&8){const ue=w.dynamicProps;for(let be=0;be<ue.length;be++){const me=ue[be],tt=V[me],Be=Q[me];(Be!==tt||me==="value")&&o(B,me,tt,Be,E,A)}}F&1&&_.children!==w.children&&u(B,w.children)}else!j&&N==null&&D(B,V,Q,A,E);((se=Q.onVnodeUpdated)||Z)&&ot(()=>{se&<(se,A,w,_),Z&&Rt(w,_,A,"updated")},$)},O=(_,w,A,$,E,R,j)=>{for(let B=0;B<w.length;B++){const F=_[B],N=w[B],Z=F.el&&(F.type===Se||!nn(F,N)||F.shapeFlag&70)?f(F.el):A;m(F,N,Z,null,$,E,R,j,!0)}},D=(_,w,A,$,E)=>{if(w!==A){if(w!==ye)for(const R in w)!nr(R)&&!(R in A)&&o(_,R,w[R],null,E,$);for(const R in A){if(nr(R))continue;const j=A[R],B=w[R];j!==B&&R!=="value"&&o(_,R,B,j,E,$)}"value"in A&&o(_,"value",w.value,A.value,E)}},G=(_,w,A,$,E,R,j,B,F)=>{const N=w.el=_?_.el:a(""),Z=w.anchor=_?_.anchor:a("");let{patchFlag:V,dynamicChildren:Q,slotScopeIds:se}=w;se&&(B=B?B.concat(se):se),_==null?(r(N,A,$),r(Z,A,$),M(w.children||[],A,Z,E,R,j,B,F)):V>0&&V&64&&Q&&_.dynamicChildren?(O(_.dynamicChildren,Q,A,E,R,j,B),(w.key!=null||E&&w===E.subTree)&&Ef(_,w,!0)):z(_,w,A,Z,E,R,j,B,F)},X=(_,w,A,$,E,R,j,B,F)=>{w.slotScopeIds=B,_==null?w.shapeFlag&512?E.ctx.activate(w,A,$,j,F):re(w,A,$,E,R,j,F):he(_,w,F)},re=(_,w,A,$,E,R,j)=>{const B=_.component=km(_,$,E);if(Ua(_)&&(B.ctx.renderer=Wn),Am(B,!1,j),B.asyncDep){if(E&&E.registerDep(B,W,j),!_.el){const F=B.subTree=q(xt);v(null,F,w,A)}}else W(B,_,w,A,E,R,j)},he=(_,w,A)=>{const $=w.component=_.component;if(dm(_,w,A))if($.asyncDep&&!$.asyncResolved){Y($,w,A);return}else $.next=w,$.update();else w.el=_.el,$.vnode=w},W=(_,w,A,$,E,R,j)=>{const B=()=>{if(_.isMounted){let{next:V,bu:Q,u:se,parent:ue,vnode:be}=_;{const nt=Rf(_);if(nt){V&&(V.el=be.el,Y(_,V,j)),nt.asyncDep.then(()=>{_.isUnmounted||B()});return}}let me=V,tt;wn(_,!1),V?(V.el=be.el,Y(_,V,j)):V=be,Q&&Rs(Q),(tt=V.props&&V.props.onVnodeBeforeUpdate)&<(tt,ue,V,be),wn(_,!0);const Be=ai(_),mt=_.subTree;_.subTree=Be,m(mt,Be,f(mt.el),fs(mt),_,E,R),V.el=Be.el,me===null&&$o(_,Be.el),se&&ot(se,E),(tt=V.props&&V.props.onVnodeUpdated)&&ot(()=>lt(tt,ue,V,be),E)}else{let V;const{el:Q,props:se}=w,{bm:ue,m:be,parent:me,root:tt,type:Be}=_,mt=Ln(w);if(wn(_,!1),ue&&Rs(ue),!mt&&(V=se&&se.onVnodeBeforeMount)&<(V,me,w),wn(_,!0),Q&&Xo){const nt=()=>{_.subTree=ai(_),Xo(Q,_.subTree,_,E,null)};mt&&Be.__asyncHydrate?Be.__asyncHydrate(Q,_,nt):nt()}else{tt.ce&&tt.ce._injectChildStyle(Be);const nt=_.subTree=ai(_);m(null,nt,A,$,_,E,R),w.el=nt.el}if(be&&ot(be,E),!mt&&(V=se&&se.onVnodeMounted)){const nt=w;ot(()=>lt(V,me,nt),E)}(w.shapeFlag&256||me&&Ln(me.vnode)&&me.vnode.shapeFlag&256)&&_.a&&ot(_.a,E),_.isMounted=!0,w=A=$=null}};_.scope.on();const F=_.effect=new Mu(B);_.scope.off();const N=_.update=F.run.bind(F),Z=_.job=F.runIfDirty.bind(F);Z.i=_,Z.id=_.uid,F.scheduler=()=>Ba(Z),wn(_,!0),N()},Y=(_,w,A)=>{w.component=_;const $=_.vnode.props;_.vnode=w,_.next=null,Qg(_,w.props,$,A),tm(_,w.children,A),gn(),Pl(_),mn()},z=(_,w,A,$,E,R,j,B,F=!1)=>{const N=_&&_.children,Z=_?_.shapeFlag:0,V=w.children,{patchFlag:Q,shapeFlag:se}=w;if(Q>0){if(Q&128){Un(N,V,A,$,E,R,j,B,F);return}else if(Q&256){ve(N,V,A,$,E,R,j,B,F);return}}se&8?(Z&16&&Cr(N,E,R),V!==N&&u(A,V)):Z&16?se&16?Un(N,V,A,$,E,R,j,B,F):Cr(N,E,R,!0):(Z&8&&u(A,""),se&16&&M(V,A,$,E,R,j,B,F))},ve=(_,w,A,$,E,R,j,B,F)=>{_=_||er,w=w||er;const N=_.length,Z=w.length,V=Math.min(N,Z);let Q;for(Q=0;Q<V;Q++){const se=w[Q]=F?en(w[Q]):it(w[Q]);m(_[Q],se,A,null,E,R,j,B,F)}N>Z?Cr(_,E,R,!0,!1,V):M(w,A,$,E,R,j,B,F,V)},Un=(_,w,A,$,E,R,j,B,F)=>{let N=0;const Z=w.length;let V=_.length-1,Q=Z-1;for(;N<=V&&N<=Q;){const se=_[N],ue=w[N]=F?en(w[N]):it(w[N]);if(nn(se,ue))m(se,ue,A,null,E,R,j,B,F);else break;N++}for(;N<=V&&N<=Q;){const se=_[V],ue=w[Q]=F?en(w[Q]):it(w[Q]);if(nn(se,ue))m(se,ue,A,null,E,R,j,B,F);else break;V--,Q--}if(N>V){if(N<=Q){const se=Q+1,ue=se<Z?w[se].el:$;for(;N<=Q;)m(null,w[N]=F?en(w[N]):it(w[N]),A,ue,E,R,j,B,F),N++}}else if(N>Q)for(;N<=V;)kt(_[N],E,R,!0),N++;else{const se=N,ue=N,be=new Map;for(N=ue;N<=Q;N++){const rt=w[N]=F?en(w[N]):it(w[N]);rt.key!=null&&be.set(rt.key,N)}let me,tt=0;const Be=Q-ue+1;let mt=!1,nt=0;const Sr=new Array(Be);for(N=0;N<Be;N++)Sr[N]=0;for(N=se;N<=V;N++){const rt=_[N];if(tt>=Be){kt(rt,E,R,!0);continue}let At;if(rt.key!=null)At=be.get(rt.key);else for(me=ue;me<=Q;me++)if(Sr[me-ue]===0&&nn(rt,w[me])){At=me;break}At===void 0?kt(rt,E,R,!0):(Sr[At-ue]=N+1,At>=nt?nt=At:mt=!0,m(rt,w[At],A,null,E,R,j,B,F),tt++)}const Cl=mt?sm(Sr):er;for(me=Cl.length-1,N=Be-1;N>=0;N--){const rt=ue+N,At=w[rt],Sl=rt+1<Z?w[rt+1].el:$;Sr[N]===0?m(null,At,A,Sl,E,R,j,B,F):mt&&(me<0||N!==Cl[me]?vn(At,A,Sl,2):me--)}}},vn=(_,w,A,$,E=null)=>{const{el:R,type:j,transition:B,children:F,shapeFlag:N}=_;if(N&6){vn(_.component.subTree,w,A,$);return}if(N&128){_.suspense.move(w,A,$);return}if(N&64){j.move(_,w,A,Wn);return}if(j===Se){r(R,w,A);for(let V=0;V<F.length;V++)vn(F[V],w,A,$);r(_.anchor,w,A);return}if(j===Nr){g(_,w,A);return}if($!==2&&N&1&&B)if($===0)B.beforeEnter(R),r(R,w,A),ot(()=>B.enter(R),E);else{const{leave:V,delayLeave:Q,afterLeave:se}=B,ue=()=>r(R,w,A),be=()=>{V(R,()=>{ue(),se&&se()})};Q?Q(R,ue,be):be()}else r(R,w,A)},kt=(_,w,A,$=!1,E=!1)=>{const{type:R,props:j,ref:B,children:F,dynamicChildren:N,shapeFlag:Z,patchFlag:V,dirs:Q,cacheIndex:se}=_;if(V===-2&&(E=!1),B!=null&&Vr(B,null,A,_,!0),se!=null&&(w.renderCache[se]=void 0),Z&256){w.ctx.deactivate(_);return}const ue=Z&1&&Q,be=!Ln(_);let me;if(be&&(me=j&&j.onVnodeBeforeUnmount)&<(me,w,_),Z&6)Cp(_.component,A,$);else{if(Z&128){_.suspense.unmount(A,$);return}ue&&Rt(_,null,w,"beforeUnmount"),Z&64?_.type.remove(_,w,A,Wn,$):N&&!N.hasOnce&&(R!==Se||V>0&&V&64)?Cr(N,w,A,!1,!0):(R===Se&&V&384||!E&&Z&16)&&Cr(F,w,A),$&&bl(_)}(be&&(me=j&&j.onVnodeUnmounted)||ue)&&ot(()=>{me&<(me,w,_),ue&&Rt(_,null,w,"unmounted")},A)},bl=_=>{const{type:w,el:A,anchor:$,transition:E}=_;if(w===Se){wp(A,$);return}if(w===Nr){b(_);return}const R=()=>{s(A),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(_.shapeFlag&1&&E&&!E.persisted){const{leave:j,delayLeave:B}=E,F=()=>j(A,R);B?B(_.el,R,F):F()}else R()},wp=(_,w)=>{let A;for(;_!==w;)A=h(_),s(_),_=A;s(w)},Cp=(_,w,A)=>{const{bum:$,scope:E,job:R,subTree:j,um:B,m:F,a:N}=_;Bl(F),Bl(N),$&&Rs($),E.stop(),R&&(R.flags|=8,kt(j,_,w,A)),B&&ot(B,w),ot(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},Cr=(_,w,A,$=!1,E=!1,R=0)=>{for(let j=R;j<_.length;j++)kt(_[j],w,A,$,E)},fs=_=>{if(_.shapeFlag&6)return fs(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const w=h(_.anchor||_.el),A=w&&w[Ag];return A?h(A):w};let Ko=!1;const wl=(_,w,A)=>{_==null?w._vnode&&kt(w._vnode,null,null,!0):m(w._vnode||null,_,w,null,null,null,A),w._vnode=_,Ko||(Ko=!0,Pl(),Us(),Ko=!1)},Wn={p:m,um:kt,m:vn,r:bl,mt:re,mc:M,pc:z,pbc:O,n:fs,o:e};let Jo,Xo;return t&&([Jo,Xo]=t(Wn)),{render:wl,hydrate:Jo,createApp:Jg(wl,Jo)}}function ii({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 wn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ef(e,t,n=!1){const r=e.children,s=t.children;if(te(r)&&te(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=en(s[o]),a.el=i.el),!n&&a.patchFlag!==-2&&Ef(i,a)),a.type===Dn&&(a.el=i.el)}}function sm(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Rf(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Rf(t)}function Bl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const om=Symbol.for("v-scx"),im=()=>sr(om);function Pf(e,t){return qa(e,null,t)}function Kt(e,t,n){return qa(e,t,n)}function qa(e,t,n=ye){const{immediate:r,deep:s,flush:o,once:i}=n,a=ze({},n),l=t&&r||!t&&o!=="post";let c;if(dr){if(o==="sync"){const d=im();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=$t,d.resume=$t,d.pause=$t,d}}const u=Oe;a.call=(d,p,m)=>Lt(d,u,p,m);let f=!1;o==="post"?a.scheduler=d=>{ot(d,u&&u.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(d,p)=>{p?d():Ba(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=vg(e,t,a);return dr&&(c?c.push(h):l&&h()),h}function am(e,t,n){const r=this.proxy,s=ke(e)?e.includes(".")?$f(r,e):()=>r[e]:e.bind(r,r);let o;ee(t)?o=t:(o=t.handler,n=t);const i=Hn(this),a=qa(s,o.bind(r),n);return i(),a}function $f(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const lm=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${pt(t)}Modifiers`]||e[`${pn(t)}Modifiers`];function cm(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ye;let s=n;const o=t.startsWith("update:"),i=o&&lm(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>ke(u)?u.trim():u)),i.number&&(s=n.map(Np)));let a,l=r[a=Zo(t)]||r[a=Zo(pt(t))];!l&&o&&(l=r[a=Zo(pn(t))]),l&&Lt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Lt(c,e,6,s)}}function Nf(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ee(e)){const l=c=>{const u=Nf(c,t,!0);u&&(a=!0,ze(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(_e(e)&&r.set(e,null),null):(te(o)?o.forEach(l=>i[l]=null):ze(i,o),_e(e)&&r.set(e,i),i)}function Po(e,t){return!e||!ss(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,pn(t))||ge(e,t))}function ai(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:p,inheritAttrs:m}=e,y=Ws(e);let v,S;try{if(n.shapeFlag&4){const b=s||r,C=b;v=it(c.call(C,b,u,f,d,h,p)),S=a}else{const b=t;v=it(b.length>1?b(f,{attrs:a,slots:i,emit:l}):b(f,null)),S=t.props?a:fm(a)}}catch(b){Or.length=0,_r(b,e,1),v=q(xt)}let g=v;if(S&&m!==!1){const b=Object.keys(S),{shapeFlag:C}=g;b.length&&C&7&&(o&&b.some(Ra)&&(S=hm(S,o)),g=hr(g,S,!1,!0))}return n.dirs&&(g=hr(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&ja(g,n.transition),v=g,Ws(y),v}function um(e,t=!0){let n;for(let r=0;r<e.length;r++){const s=e[r];if(fr(s)){if(s.type!==xt||s.children==="v-if"){if(n)return;n=s}}else return}return n}const fm=e=>{let t;for(const n in e)(n==="class"||n==="style"||ss(n))&&((t||(t={}))[n]=e[n]);return t},hm=(e,t)=>{const n={};for(const r in e)(!Ra(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function dm(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?jl(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(i[h]!==r[h]&&!Po(c,h))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?jl(r,i,c):!0:!!i;return!1}function jl(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Po(n,o))return!0}return!1}function $o({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Of=e=>e.__isSuspense;let Ui=0;const pm={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){if(e==null)mm(t,n,r,s,o,i,a,l,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ym(e,t,n,r,s,i,a,l,c)}},hydrate:_m,normalize:vm},gm=pm;function zr(e,t){const n=e.props&&e.props[t];ee(n)&&n()}function mm(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),h=e.suspense=If(e,s,r,t,f,n,o,i,a,l);c(null,h.pendingBranch=e.ssContent,f,null,r,h,o,i),h.deps>0?(zr(e,"onPending"),zr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),or(h,e.ssFallback)):h.resolve(!1,!0)}function ym(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const h=t.ssContent,d=t.ssFallback,{activeBranch:p,pendingBranch:m,isInFallback:y,isHydrating:v}=f;if(m)f.pendingBranch=h,nn(h,m)?(l(m,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():y&&(v||(l(p,d,n,r,s,null,o,i,a),or(f,d)))):(f.pendingId=Ui++,v?(f.isHydrating=!1,f.activeBranch=m):c(m,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),y?(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(p,d,n,r,s,null,o,i,a),or(f,d))):p&&nn(h,p)?(l(p,h,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(p&&nn(h,p))l(p,h,n,r,s,f,o,i,a),or(f,h);else if(zr(t,"onPending"),f.pendingBranch=h,h.shapeFlag&512?f.pendingId=h.component.suspenseId:f.pendingId=Ui++,l(null,h,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0)f.resolve();else{const{timeout:S,pendingId:g}=f;S>0?setTimeout(()=>{f.pendingId===g&&f.fallback(d)},S):S===0&&f.fallback(d)}}function If(e,t,n,r,s,o,i,a,l,c,u=!1){const{p:f,m:h,um:d,n:p,o:{parentNode:m,remove:y}}=c;let v;const S=bm(e);S&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Op(e.props.timeout):void 0,b=o,C={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:s,deps:0,pendingId:Ui++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(T=!1,x=!1){const{vnode:M,activeBranch:H,pendingBranch:O,pendingId:D,effects:G,parentComponent:X,container:re}=C;let he=!1;C.isHydrating?C.isHydrating=!1:T||(he=H&&O.transition&&O.transition.mode==="out-in",he&&(H.transition.afterLeave=()=>{D===C.pendingId&&(h(O,re,o===b?p(H):o,0),Hi(G))}),H&&(m(H.el)===re&&(o=p(H)),d(H,X,C,!0)),he||h(O,re,o,0)),or(C,O),C.pendingBranch=null,C.isInFallback=!1;let W=C.parent,Y=!1;for(;W;){if(W.pendingBranch){W.effects.push(...G),Y=!0;break}W=W.parent}!Y&&!he&&Hi(G),C.effects=[],S&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!x&&t.resolve()),zr(M,"onResolve")},fallback(T){if(!C.pendingBranch)return;const{vnode:x,activeBranch:M,parentComponent:H,container:O,namespace:D}=C;zr(x,"onFallback");const G=p(M),X=()=>{C.isInFallback&&(f(null,T,O,G,H,null,D,a,l),or(C,T))},re=T.transition&&T.transition.mode==="out-in";re&&(M.transition.afterLeave=X),C.isInFallback=!0,d(M,H,null,!0),re||X()},move(T,x,M){C.activeBranch&&h(C.activeBranch,T,x,M),C.container=T},next(){return C.activeBranch&&p(C.activeBranch)},registerDep(T,x,M){const H=!!C.pendingBranch;H&&C.deps++;const O=T.vnode.el;T.asyncDep.catch(D=>{_r(D,T,0)}).then(D=>{if(T.isUnmounted||C.isUnmounted||C.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:G}=T;zi(T,D),O&&(G.el=O);const X=!O&&T.subTree.el;x(T,G,m(O||T.subTree.el),O?null:p(T.subTree),C,i,M),X&&y(X),$o(T,G.el),H&&--C.deps===0&&C.resolve()})},unmount(T,x){C.isUnmounted=!0,C.activeBranch&&d(C.activeBranch,n,T,x),C.pendingBranch&&d(C.pendingBranch,n,T,x)}};return C}function _m(e,t,n,r,s,o,i,a,l){const c=t.suspense=If(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),u}function vm(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Gl(r?n.default:n),e.ssFallback=r?Gl(n.fallback):q(xt)}function Gl(e){let t;if(ee(e)){const n=ur&&e._c;n&&(e._d=!1,U()),e=e(),n&&(e._d=!0,t=Ze,Mf())}return te(e)&&(e=um(e)),e=it(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Lf(e,t){t&&t.pendingBranch?te(e)?t.effects.push(...e):t.effects.push(e):Hi(e)}function or(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,r&&r.subTree===n&&(r.vnode.el=s,$o(r,s))}function bm(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Se=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),Nr=Symbol.for("v-stc"),Or=[];let Ze=null;function U(e=!1){Or.push(Ze=e?null:[])}function Mf(){Or.pop(),Ze=Or[Or.length-1]||null}let ur=1;function Ul(e,t=!1){ur+=e,e<0&&Ze&&t&&(Ze.hasOnce=!0)}function Df(e){return e.dynamicChildren=ur>0?Ze||er:null,Mf(),ur>0&&Ze&&Ze.push(e),e}function ne(e,t,n,r,s,o){return Df(L(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return Df(q(e,t,n,r,s,!0))}function fr(e){return e?e.__v_isVNode===!0:!1}function nn(e,t){return e.type===t.type&&e.key===t.key}const Hf=({key:e})=>e??null,Ps=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ke(e)||Le(e)||ee(e)?{i:Ie,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,r=0,s=null,o=e===Se?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hf(t),ref:t&&Ps(t),scopeId:Eo,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ie};return a?(Ja(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ke(n)?8:16),ur>0&&!i&&Ze&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ze.push(l),l}const q=wm;function wm(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===cf)&&(e=xt),fr(e)){const a=hr(e,t,!0);return n&&Ja(a,n),ur>0&&!o&&Ze&&(a.shapeFlag&6?Ze[Ze.indexOf(e)]=a:Ze.push(a)),a.patchFlag=-2,a}if($m(e)&&(e=e.__vccOpts),t){t=Ka(t);let{class:a,style:l}=t;a&&!ke(a)&&(t.class=$e(a)),_e(l)&&(Fa(l)&&!te(l)&&(l=ze({},l)),t.style=$n(l))}const i=ke(e)?1:Of(e)?128:Tg(e)?64:_e(e)?4:ee(e)?2:0;return L(e,t,n,r,s,i,o,!0)}function Ka(e){return e?Fa(e)||vf(e)?ze({},e):e:null}function hr(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:a,transition:l}=e,c=t?No(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Hf(c),ref:t&&t.ref?n&&o?te(o)?o.concat(Ps(t)):[o,Ps(t)]:Ps(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&hr(e.ssContent),ssFallback:e.ssFallback&&hr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&ja(u,l.clone(u)),u}function ce(e=" ",t=0){return q(Dn,null,e,t)}function Cm(e,t){const n=q(Nr,null,e);return n.staticCount=t,n}function He(e="",t=!1){return t?(U(),xe(xt,null,e)):q(xt,null,e)}function it(e){return e==null||typeof e=="boolean"?q(xt):te(e)?q(Se,null,e.slice()):fr(e)?en(e):q(Dn,null,String(e))}function en(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:hr(e)}function Ja(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(te(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ja(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!vf(t)?t._ctx=Ie:s===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ee(t)?(t={default:t,_ctx:Ie},n=32):(t=String(t),r&64?(n=16,t=[ce(t)]):n=8);e.children=t,e.shapeFlag|=n}function No(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=$e([t.class,r.class]));else if(s==="style")t.style=$n([t.style,r.style]);else if(ss(s)){const o=t[s],i=r[s];i&&o!==i&&!(te(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function lt(e,t,n,r=null){Lt(e,t,7,[n,r])}const Sm=pf();let xm=0;function km(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Sm,o={uid:xm++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Lu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:wf(r,s),emitsOptions:Nf(r,s),emit:null,emitted:null,propsDefaults:ye,inheritAttrs:r.inheritAttrs,ctx:ye,data:ye,props:ye,attrs:ye,slots:ye,refs:ye,setupState:ye,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=cm.bind(null,o),e.ce&&e.ce(o),o}let Oe=null;const as=()=>Oe||Ie;let zs,Wi;{const e=xo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};zs=t("__VUE_INSTANCE_SETTERS__",n=>Oe=n),Wi=t("__VUE_SSR_SETTERS__",n=>dr=n)}const Hn=e=>{const t=Oe;return zs(e),e.scope.on(),()=>{e.scope.off(),zs(t)}},Vi=()=>{Oe&&Oe.scope.off(),zs(null)};function Ff(e){return e.vnode.shapeFlag&4}let dr=!1;function Am(e,t=!1,n=!1){t&&Wi(t);const{props:r,children:s}=e.vnode,o=Ff(e);Xg(e,r,o,t),em(e,s,n);const i=o?Tm(e,t):void 0;return t&&Wi(!1),i}function Tm(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jg);const{setup:r}=n;if(r){gn();const s=e.setupContext=r.length>1?Rm(e):null,o=Hn(e),i=is(r,e,0,[e.props,s]),a=$a(i);if(mn(),o(),(a||e.sp)&&!Ln(e)&&Ga(e),a){if(i.then(Vi,Vi),t)return i.then(l=>{zi(e,l)}).catch(l=>{_r(l,e,0)});e.asyncDep=i}else zi(e,i)}else Bf(e)}function zi(e,t,n){ee(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:_e(t)&&(e.setupState=Qu(t)),Bf(e)}function Bf(e,t,n){const r=e.type;e.render||(e.render=r.render||$t);{const s=Hn(e);gn();try{Ug(e)}finally{mn(),s()}}}const Em={get(e,t){return Ue(e,"get",""),e[t]}};function Rm(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Em),slots:e.slots,emit:e.emit,expose:t}}function Oo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Qu(lg(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $r)return $r[n](e)},has(t,n){return n in t||n in $r}})):e.proxy}function Pm(e,t=!0){return ee(e)?e.displayName||e.name:e.name||t&&e.__name}function $m(e){return ee(e)&&"__vccOpts"in e}const Pe=(e,t)=>yg(e,t,dr);function qs(e,t,n){const r=arguments.length;return r===2?_e(t)&&!te(t)?fr(t)?q(e,null,[t]):q(e,t):q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&fr(n)&&(n=[n]),q(e,t,n))}const jf="3.5.13";/**
|
|
16
|
+
* @vue/runtime-dom v3.5.13
|
|
17
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
+
* @license MIT
|
|
19
|
+
**/let qi;const Wl=typeof window<"u"&&window.trustedTypes;if(Wl)try{qi=Wl.createPolicy("vue",{createHTML:e=>e})}catch{}const Gf=qi?e=>qi.createHTML(e):e=>e,Nm="http://www.w3.org/2000/svg",Om="http://www.w3.org/1998/Math/MathML",jt=typeof document<"u"?document:null,Vl=jt&&jt.createElement("template"),Im={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?jt.createElementNS(Nm,e):t==="mathml"?jt.createElementNS(Om,e):n?jt.createElement(e,{is:n}):jt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Vl.innerHTML=Gf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Vl.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Lm=Symbol("_vtc");function Mm(e,t,n){const r=e[Lm];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zl=Symbol("_vod"),Dm=Symbol("_vsh"),Hm=Symbol(""),Fm=/(^|;)\s*display\s*:/;function Bm(e,t,n){const r=e.style,s=ke(n);let o=!1;if(n&&!s){if(t)if(ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&$s(r,a,"")}else for(const i in t)n[i]==null&&$s(r,i,"");for(const i in n)i==="display"&&(o=!0),$s(r,i,n[i])}else if(s){if(t!==n){const i=r[Hm];i&&(n+=";"+i),r.cssText=n,o=Fm.test(n)}}else t&&e.removeAttribute("style");zl in e&&(e[zl]=o?r.display:"",e[Dm]&&(r.display="none"))}const ql=/\s*!important$/;function $s(e,t,n){if(te(n))n.forEach(r=>$s(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jm(e,t);ql.test(n)?e.setProperty(pn(r),n.replace(ql,""),"important"):e[r]=n}}const Kl=["Webkit","Moz","ms"],li={};function jm(e,t){const n=li[t];if(n)return n;let r=pt(t);if(r!=="filter"&&r in e)return li[t]=r;r=So(r);for(let s=0;s<Kl.length;s++){const o=Kl[s]+r;if(o in e)return li[t]=o}return t}const Jl="http://www.w3.org/1999/xlink";function Xl(e,t,n,r,s,o=Fp(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Jl,t.slice(6,t.length)):e.setAttributeNS(Jl,t,n):n==null||o&&!Nu(n)?e.removeAttribute(t):e.setAttribute(t,o?"":St(n)?String(n):n)}function Ql(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Gf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Nu(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Uf(e,t,n,r){e.addEventListener(t,n,r)}function Gm(e,t,n,r){e.removeEventListener(t,n,r)}const Yl=Symbol("_vei");function Um(e,t,n,r,s=null){const o=e[Yl]||(e[Yl]={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=Wm(t);if(r){const c=o[t]=qm(r,s);Uf(e,a,c,l)}else i&&(Gm(e,a,i,l),o[t]=void 0)}}const Zl=/(?:Once|Passive|Capture)$/;function Wm(e){let t;if(Zl.test(e)){t={};let r;for(;r=e.match(Zl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pn(e.slice(2)),t]}let ci=0;const Vm=Promise.resolve(),zm=()=>ci||(Vm.then(()=>ci=0),ci=Date.now());function qm(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Lt(Km(r,n.value),t,5,[r])};return n.value=e,n.attached=zm(),n}function Km(e,t){if(te(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const ec=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Jm=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Mm(e,r,i):t==="style"?Bm(e,n,r):ss(t)?Ra(t)||Um(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xm(e,t,r,i))?(Ql(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Xl(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ke(r))?Ql(e,pt(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Xl(e,t,r,i))};function Xm(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ec(t)&&ee(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ec(t)&&ke(n)?!1:t in e}const tc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return te(t)?n=>Rs(t,n):t},ui=Symbol("_assign"),Qm={created(e,{value:t},n){e.checked=Fs(t,n.props.value),e[ui]=tc(n),Uf(e,"change",()=>{e[ui](Ym(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ui]=tc(r),t!==n&&(e.checked=Fs(t,r.props.value))}};function Ym(e){return"_value"in e?e._value:e.value}const Zm={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ey=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=pn(s.key);if(t.some(i=>i===o||Zm[i]===o))return e(s)})},Wf=ze({patchProp:Jm},Im);let Ir,nc=!1;function ty(){return Ir||(Ir=nm(Wf))}function ny(){return Ir=nc?Ir:rm(Wf),nc=!0,Ir}const Vf=(...e)=>{const t=ty().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=qf(r);if(!s)return;const o=t._component;!ee(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,zf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},ry=(...e)=>{const t=ny().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=qf(r);if(s)return n(s,!0,zf(s))},t};function zf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qf(e){return ke(e)?document.querySelector(e):e}const sy=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,oy=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,iy=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ay(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){ly(e);return}return t}function ly(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ks(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!iy.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(sy.test(e)||oy.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ay)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const cy=/#/g,uy=/&/g,fy=/\//g,hy=/=/g,Xa=/\+/g,dy=/%5e/gi,py=/%60/gi,gy=/%7c/gi,my=/%20/gi;function yy(e){return encodeURI(""+e).replace(gy,"|")}function Ki(e){return yy(typeof e=="string"?e:JSON.stringify(e)).replace(Xa,"%2B").replace(my,"+").replace(cy,"%23").replace(uy,"%26").replace(py,"`").replace(dy,"^").replace(fy,"%2F")}function fi(e){return Ki(e).replace(hy,"%3D")}function Js(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function _y(e){return Js(e.replace(Xa," "))}function vy(e){return Js(e.replace(Xa," "))}function Qa(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const s=_y(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=vy(r[2]||"");t[s]===void 0?t[s]=o:Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]}return t}function by(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${fi(e)}=${Ki(n)}`).join("&"):`${fi(e)}=${Ki(t)}`:fi(e)}function Kf(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>by(t,e[t])).filter(Boolean).join("&")}const wy=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Cy=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Sy=/^([/\\]\s*){2,}[^/\\]/,xy=/^[\s\0]*(blob|data|javascript|vbscript):$/i,ky=/\/$|\/\?|\/#/,Ay=/^\.?\//;function yn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?wy.test(e):Cy.test(e)||(t.acceptRelative?Sy.test(e):!1)}function Ty(e){return!!e&&xy.test(e)}function Ji(e="",t){return t?ky.test(e):e.endsWith("/")}function Io(e="",t){if(!t)return(Ji(e)?e.slice(0,-1):e)||"/";if(!Ji(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),r=e.slice(s));const[o,...i]=n.split("?");return((o.endsWith("/")?o.slice(0,-1):o)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function Xs(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ji(e,!0))return e||"/";let n=e,r="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),r=e.slice(s),!n))return r;const[o,...i]=n.split("?");return o+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ey(e=""){return e.startsWith("/")}function rc(e=""){return Ey(e)?e:"/"+e}function Ry(e,t){if(Xf(t)||yn(e))return e;const n=Io(t);return e.startsWith(n)?e:vr(n,e)}function Py(e,t){if(Xf(t))return e;const n=Io(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Jf(e,t){const n=Oy(e),r={...Qa(n.search),...t};return n.search=Kf(r),Zf(n)}function Xf(e){return!e||e==="/"}function $y(e){return e&&e!=="/"}function vr(e,...t){let n=e||"";for(const r of t.filter(s=>$y(s)))if(n){const s=r.replace(Ay,"");n=Xs(n)+s}else n=r;return n}function Qf(...e){var i,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[f,h]of u.split(t).entries())if(!(!h||h===".")){if(h===".."){if(r.length===1&&yn(r[0]))continue;r.pop(),s--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+h;continue}r.push(h),s++}}let o=r.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!o.startsWith("/")?o="/"+o:(l=n[0])!=null&&l.startsWith("./")&&!o.startsWith("./")&&(o="./"+o):o="../".repeat(-1*s)+o,(c=n[n.length-1])!=null&&c.endsWith("/")&&!o.endsWith("/")&&(o+="/"),o}function Ny(e,t,n={}){return n.trailingSlash||(e=Xs(e),t=Xs(t)),n.leadingSlash||(e=rc(e),t=rc(t)),n.encoding||(e=Js(e),t=Js(t)),e===t}const Yf=Symbol.for("ufo:protocolRelative");function Oy(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,h=""]=n;return{protocol:f.toLowerCase(),pathname:h,href:f+h,auth:"",host:"",search:"",hash:""}}if(!yn(e,{acceptRelative:!0}))return sc(e);const[,r="",s,o=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=o.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=sc(a);return{protocol:r.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:c,hash:u,[Yf]:!r}}function sc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Zf(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",s=e.auth?e.auth+"@":"",o=e.host||"";return(e.protocol||e[Yf]?(e.protocol||"")+"//":"")+s+o+t+n+r}class Iy extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Ly(e){var l,c,u,f,h;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((h=e.request)==null?void 0:h.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(r)}`,o=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${o}${t?` ${t}`:""}`,a=new Iy(i,e.error?{cause:e.error}:void 0);for(const d of["request","options","response"])Object.defineProperty(a,d,{get(){return e[d]}});for(const[d,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,d,{get(){return e.response&&e.response[p]}});return a}const My=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function oc(e="GET"){return My.has(e.toUpperCase())}function Dy(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const Hy=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Fy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function By(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Fy.test(t)?"json":Hy.has(t)||t.startsWith("text/")?"text":"blob"}function jy(e,t,n,r){const s=Gy((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let o;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(o={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:o,params:o,headers:s}}function Gy(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[s,o]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(s,o);return r}async function ys(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const Uy=new Set([408,409,425,429,500,502,503,504]),Wy=new Set([101,204,205,304]);function eh(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function s(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=oc(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Uy.has(f))){const h=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return h>0&&await new Promise(d=>setTimeout(d,h)),o(a.request,{...a.options,retry:u-1})}}const c=Ly(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,o),c}const o=async function(l,c={}){const u={request:l,options:jy(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await ys(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Ry(u.request,u.options.baseURL)),u.options.query&&(u.request=Jf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&oc(u.options.method)&&(Dy(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const d=new r;f=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,d.abort(p)},u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await ys(u,u.options.onRequestError),await s(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Wy.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||By(u.response.headers.get("content-type")||"");switch(d){case"json":{const p=await u.response.text(),m=u.options.parseResponse||Ks;u.response._data=m(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await ys(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await ys(u,u.options.onResponseError),await s(u)):u.response},i=async function(l,c){return(await o(l,c))._data};return i.raw=o,i.native=(...a)=>t(...a),i.create=(a={},l={})=>eh({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Qs=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Vy=Qs.fetch?(...e)=>Qs.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),zy=Qs.Headers,qy=Qs.AbortController,Ky=eh({fetch:Vy,Headers:zy,AbortController:qy}),Jy=Ky,Xy=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ys=Xy().app,Qy=()=>Ys.baseURL,Yy=()=>Ys.buildAssetsDir,Ya=(...e)=>Qf(th(),Yy(),...e),th=(...e)=>{const t=Ys.cdnURL||Ys.baseURL;return e.length?Qf(t,...e):t};globalThis.__buildAssetsURL=Ya,globalThis.__publicAssetsURL=th;globalThis.$fetch||(globalThis.$fetch=Jy.create({baseURL:Qy()}));function Xi(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Xi(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Zy={run:e=>e()},e_=()=>Zy,nh=typeof console.createTask<"u"?console.createTask:e_;function t_(e,t){const n=t.shift(),r=nh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function n_(e,t){const n=t.shift(),r=nh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function hi(e,t){for(const n of[...e])n(t)}class r_{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Xi(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Xi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(t_,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(n_,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&hi(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&hi(this._after,s)}):(this._after&&s&&hi(this._after,s),o)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function rh(){return new r_}function s_(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Qi.add(c);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{Qi.delete(c)}}}}function o_(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=s_({...e,...r})),t[n]}}}const Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ic="__unctx__",i_=Zs[ic]||(Zs[ic]=o_()),a_=(e,t={})=>i_.get(e,t),ac="__unctx_async_handlers__",Qi=Zs[ac]||(Zs[ac]=new Set);function sh(e){const t=[];for(const s of Qi){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const l_={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},c_=null,u_="#__nuxt",oh="nuxt-app",lc=36e5,f_="vite:preloadError";function ih(e=oh){return a_(e,{asyncContext:!1})}const h_="__nuxt_plugin";function d_(e){var s;let t=0;const n={_id:e.id||oh||"nuxt-app",_scope:jp(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.4"},get vue(){return n.vueApp.version}},payload:Qn({...((s=e.ssrContext)==null?void 0:s.payload)||{},data:Qn({}),state:un({}),once:new Set,_errors:Qn({})}),static:{data:{}},runWithContext(o){return n._scope.active&&!Oa()?n._scope.run(()=>cc(n,o)):cc(n,o)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Qn({}),_payloadRevivers:{},...e};{const o=window.__NUXT__;if(o)for(const i in o)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],o[i]);break;default:n.payload[i]=o[i]}}n.hooks=rh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,i)=>{const a="$"+o;_s(n,a,i),_s(n.vueApp.config.globalProperties,a,i)},_s(n.vueApp,"$nuxt",n),_s(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(f_,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||Ee;const o=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}function p_(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function g_(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function m_(e,t){const n=[],r=[],s=[],o=[];let i=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(h=>h._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=g_(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([h,d])=>{h.has(l._name)&&(h.delete(l._name),h.size===0&&(i++,await a(d)))})))});l.parallel?s.push(f.catch(h=>o.push(h))):await f}}for(const l of t)p_(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(o.length)throw o[0]}function Ht(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[h_]:!0,_name:t})}function cc(e,t,n){const r=()=>t();return ih(e._id).set(e),e.vueApp.runWithContext(r)}function y_(e){var n;let t;return mf()&&(t=(n=as())==null?void 0:n.appContext.app.$nuxt),t=t||ih(e).tryUse(),t||null}function Ee(e){const t=y_(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function pr(e){return Ee().$config}function _s(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function __(e,t){return{ctx:{table:e},matchAll:n=>lh(n,e)}}function ah(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,s])=>[r,ah(s)])):new Map(Object.entries(e[n]));return t}function v_(e){return __(ah(e))}function lh(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[o,i]of uc(t.wildcard))(e===o||e.startsWith(o+"/"))&&r.push(i);for(const[o,i]of uc(t.dynamic))if(e.startsWith(o+"/")){const a="/"+e.slice(o.length).split("/").splice(2).join("/");r.push(...lh(a,i))}const s=t.static.get(e);return s&&r.push(s),r.filter(Boolean)}function uc(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function di(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Yi(e,t,n=".",r){if(!di(t))return Yi(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:di(i)&&di(s[o])?s[o]=Yi(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function b_(e){return(...t)=>t.reduce((n,r)=>Yi(n,r,"",e),{})}const w_=b_();function C_(e,t){try{return t in e}catch{return!1}}class Zi extends Error{constructor(n,r={}){super(n,r);k(this,"statusCode",500);k(this,"fatal",!1);k(this,"unhandled",!1);k(this,"statusMessage");k(this,"data");k(this,"cause");r.cause&&!this.cause&&(this.cause=r.cause)}toJSON(){const n={message:this.message,statusCode:ea(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=ch(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}k(Zi,"__h3_error__",!0);function S_(e){if(typeof e=="string")return new Zi(e);if(x_(e))return e;const t=new Zi(e.message??e.statusMessage??"",{cause:e.cause||e});if(C_(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ea(e.statusCode,t.statusCode):e.status&&(t.statusCode=ea(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ch(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function x_(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const k_=/[^\u0009\u0020-\u007E]/g;function ch(e=""){return e.replace(k_,"")}function ea(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const uh=Symbol("route"),Mt=()=>{var e;return(e=Ee())==null?void 0:e.$router},fh=()=>mf()?sr(uh,Ee()._route):Ee()._route;const A_=()=>{try{if(Ee()._processingMiddleware)return!0}catch{return!1}return!1},hh=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?ta(e):Mt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,h])=>h!==void 0).map(([f,h])=>`${f.toLowerCase()}=${h}`).join(", ");return open(n,l,u),Promise.resolve()}const r=yn(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||r;if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Ty(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=A_();if(!s&&o)return t!=null&&t.replace?typeof e=="string"?{path:e,replace:!0}:{...e,replace:!0}:e;const i=Mt(),a=Ee();return s?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function ta(e){return Jf(e.path||"",e.query||{})+(e.hash||"")}const dh="__nuxt_error",Za=()=>Yu(Ee().payload,"error"),T_=e=>{const t=el(e);try{const n=Ee(),r=Za();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},E_=async(e={})=>{const t=Ee(),n=Za();t.callHook("app:error:cleared",e),e.redirect&&await Mt().replace(e.redirect),n.value=c_},R_=e=>!!e&&typeof e=="object"&&dh in e,el=e=>{const t=S_(e);return Object.defineProperty(t,dh,{value:!0,configurable:!1,writable:!1}),t};function fc(e){const t=$_(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let s=0;s<n.byteLength;s++)r.setUint8(s,t.charCodeAt(s));return n}const P_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function $_(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let s=0;s<e.length;s++)n<<=6,n|=P_.indexOf(e[s]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const N_=-1,O_=-2,I_=-3,L_=-4,M_=-5,D_=-6;function H_(e,t){return F_(JSON.parse(e),t)}function F_(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===N_)return;if(o===I_)return NaN;if(o===L_)return 1/0;if(o===M_)return-1/0;if(o===D_)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;d<a.length;d+=1)u.add(s(a[d]));break;case"Map":const f=new Map;r[o]=f;for(let d=1;d<a.length;d+=2)f.set(s(a[d]),s(a[d+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const h=Object.create(null);r[o]=h;for(let d=1;d<a.length;d+=2)h[a[d]]=s(a[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const d=globalThis[l],p=a[1],m=fc(p),y=new d(m);r[o]=y;break}case"ArrayBuffer":{const d=a[1],p=fc(d);r[o]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==O_&&(l[c]=s(u))}}else{const l={};r[o]=l;for(const c in a){const u=a[c];l[c]=s(u)}}return r[o]}return s(0)}const B_=new Set(["title","titleTemplate","script","style","noscript"]),Ns=new Set(["base","meta","link","style","script","noscript"]),j_=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),G_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ph=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),U_=typeof window<"u";function eo(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function na(e){if(e._h)return e._h;if(e._d)return eo(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return eo(t)}function W_(e,t){return e instanceof Promise?e.then(t):t(e)}function ra(e,t,n,r){const s=r||mh(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(s instanceof Promise)return s.then(i=>ra(e,t,n,i));const o={tag:e,props:s};for(const i of ph){const a=o.props[i]!==void 0?o.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||B_.has(o.tag))&&(o[i==="children"?"innerHTML":i]=a),delete o.props[i])}return o.props.body&&(o.tagPosition="bodyClose",delete o.props.body),o.tag==="script"&&typeof o.innerHTML=="object"&&(o.innerHTML=JSON.stringify(o.innerHTML),o.props.type=o.props.type||"application/json"),Array.isArray(o.props.content)?o.props.content.map(i=>({...o,props:{...o.props,content:i}})):o}function V_(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,o])=>e==="style"?`${s}:${o}`:s)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(s=>!!s.trim()).join(n)}function gh(e,t,n,r){for(let s=r;s<n.length;s+=1){const o=n[s];if(o==="class"||o==="style"){e[o]=V_(o,e[o]);continue}if(e[o]instanceof Promise)return e[o].then(i=>(e[o]=i,gh(e,t,n,s)));if(!t&&!ph.has(o)){const i=String(e[o]),a=o.startsWith("data-");i==="true"||i===""?e[o]=a?"true":!0:e[o]||(a&&i==="false"?e[o]="false":delete e[o])}}}function mh(e,t=!1){const n=gh(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const z_=10;function yh(e,t,n){for(let r=n;r<t.length;r+=1){const s=t[r];if(s instanceof Promise)return s.then(o=>(t[r]=o,yh(e,t,r)));Array.isArray(s)?e.push(...s):e.push(s)}}function q_(e){const t=[],n=e.resolvedInput;for(const s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const o=n[s];if(!(o===void 0||!j_.has(s))){if(Array.isArray(o)){for(const i of o)t.push(ra(s,i,e));continue}t.push(ra(s,o,e))}}if(t.length===0)return[];const r=[];return W_(yh(r,t,0),()=>r.map((s,o)=>(s._e=e._i,e.mode&&(s._m=e.mode),s._p=(e._i<<z_)+o,s)))}const hc=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),dc={base:-10,title:10},pc={critical:-80,high:-10,low:20};function to(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in dc&&(n=dc[e.tag]),t&&t in pc?n+pc[t]:n}const K_=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],J_=["name","property","http-equiv"];function _h(e){const{props:t,tag:n}=e;if(G_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of J_)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const tn="%separator";function X_(e,t,n=!1){var s;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");r=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const Q_=new RegExp(`${tn}(?:\\s*${tn})*`,"g");function vs(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(tn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===tn||!o.includes(a))return a;const l=X_(t,a.slice(1),r);return l!==void 0?l:a}).trim(),i&&(e.endsWith(tn)&&(e=e.slice(0,-tn.length)),e.startsWith(tn)&&(e=e.slice(tn.length)),e=e.replace(Q_,n).trim()),e}function gc(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function vh(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async s=>{var f;const o=(await e.resolveTags()).map(h=>({tag:h,id:Ns.has(h.tag)?na(h):h.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const h=new Set;for(const d of["body","head"]){const p=(f=n[d])==null?void 0:f.children;for(const m of p){const y=m.tagName.toLowerCase();if(!Ns.has(y))continue;const v={tag:y,props:await mh(m.getAttributeNames().reduce((C,T)=>({...C,[T]:m.getAttribute(T)}),{})),innerHTML:m.innerHTML},S=_h(v);let g=S,b=1;for(;g&&h.has(g);)g=`${S}:${b++}`;g&&(v._d=g,h.add(g)),i.elMap[m.getAttribute("data-hid")||na(v)]=m}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(h,d,p){const m=`${h}:${d}`;i.sideEffects[m]=p,delete i.pendingSideEffects[m]}function l({id:h,$el:d,tag:p}){const m=p.tag.endsWith("Attrs");if(i.elMap[h]=d,m||(p.textContent&&p.textContent!==d.textContent&&(d.textContent=p.textContent),p.innerHTML&&p.innerHTML!==d.innerHTML&&(d.innerHTML=p.innerHTML),a(h,"el",()=>{var y;(y=i.elMap[h])==null||y.remove(),delete i.elMap[h]})),p._eventHandlers)for(const y in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,y)&&d.getAttribute(`data-${y}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(y.substring(2),p._eventHandlers[y].bind(d)),d.setAttribute(`data-${y}`,""));for(const y in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,y))continue;const v=p.props[y],S=`attr:${y}`;if(y==="class"){if(!v)continue;for(const g of v.split(" "))m&&a(h,`${S}:${g}`,()=>d.classList.remove(g)),!d.classList.contains(g)&&d.classList.add(g)}else if(y==="style"){if(!v)continue;for(const g of v.split(";")){const b=g.indexOf(":"),C=g.substring(0,b).trim(),T=g.substring(b+1).trim();a(h,`${S}:${C}`,()=>{d.style.removeProperty(C)}),d.style.setProperty(C,T)}}else d.getAttribute(y)!==v&&d.setAttribute(y,v===!0?"":String(v)),m&&a(h,S,()=>d.removeAttribute(y))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of o){const{tag:d,shouldRender:p,id:m}=h;if(p){if(d.tag==="title"){n.title=d.textContent;continue}h.$el=h.$el||i.elMap[m],h.$el?l(h):Ns.has(d.tag)&&c.push(h)}}for(const h of c){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),l(h),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(h.$el)}for(const h of o)await e.hooks.callHook("dom:renderTag",h,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const h in i.pendingSideEffects)i.pendingSideEffects[h]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),s()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Y_(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>vh(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function Z_(e){return t=>{var r,s;const n=((s=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":o=>{Y_(o,e)}}}}}const e0=new Set(["templateParams","htmlAttrs","bodyAttrs"]),t0={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=_h(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const s=(r.key?`${r.tag}:${r.key}`:r._d)||na(r),o=t[s];if(o){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&e0.has(r.tag)&&(a="merge"),a==="merge"){const l=o.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[s].props={...l,...r.props};continue}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);continue}else if(to(r)>to(o))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&Ns.has(r.tag)){delete t[s];continue}t[s]=r}const n=[];for(const r in t){const s=t[r],o=s._duped;n.push(s),o&&(delete s._duped,n.push(...o))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},n0=new Set(["script","link","bodyAttrs"]),r0=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!n0.has(n.tag))continue;const r=n.props;for(const s in r){if(s[0]!=="o"||s[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,s))continue;const o=r[s];typeof o=="function"&&(e.ssr&&hc.has(s)?r[s]=`this.dataset.${s}fired = true`:delete r[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=o)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||eo(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var s,o;const r=t==null?void 0:t.dataset;if(r)for(const i in r){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);hc.has(a)&&((o=(s=n._eventHandlers)==null?void 0:s[a])==null||o.call(t,new Event(a.substring(2))))}}}}),s0=new Set(["link","style","script","noscript"]),o0={hooks:{"tag:normalise":({tag:e})=>{e.key&&s0.has(e.tag)&&(e.props["data-hid"]=e._h=eo(e.key))}}},i0={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},a0={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:s}of K_){if(!n.tagPriority.startsWith(r))continue;const o=n.tagPriority.substring(r.length),i=(t=e.tags.find(a=>a._d===o))==null?void 0:t._p;if(i!==void 0){n._p=i+s;break}}e.tags.sort((n,r)=>{const s=to(n),o=to(r);return s<o?-1:s>o?1:n._p-r._p})}}},l0={meta:"content",link:"href",htmlAttrs:"lang"},c0=["innerHTML","textContent"],u0=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const s=r||{},o=s.separator||"|";delete s.separator,s.pageTitle=vs(s.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",s,o);for(const a of n){if(a.processTemplateParams===!1)continue;const l=l0[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=vs(a.props[l],s,o);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of c0)typeof a[c]=="string"&&(a[c]=vs(a[c],s,o,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=s,e._separator=o},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const s=t[r];s.tag==="title"&&s.processTemplateParams!==!1&&(n=s)}n!=null&&n.textContent&&(n.textContent=vs(n.textContent,e._templateParams,e._separator))}}}),f0={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let s=0;s<t.length;s+=1){const o=t[s];o.tag==="title"?n=o:o.tag==="titleTemplate"&&(r=o)}if(r&&n){const s=gc(r.textContent,n.textContent);s!==null?n.textContent=s||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const s=gc(r.textContent);s!==null&&(r.textContent=s,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},h0={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let bh;function d0(e={}){const t=p0(e);return t.use(Z_()),bh=t}function mc(e,t){return!e||e==="server"&&t||e==="client"&&!t}function p0(e={}){const t=rh();t.addHooks(e.hooks||{}),e.document=e.document||(U_?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,o=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return o},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),mc(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:s++,input:l,...c};return mc(u.mode,n)&&(o.push(u),r()),{dispose(){o=o.filter(f=>f._i!==u._i),r()},patch(f){for(const h of o)h._i===u._i&&(h.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...o]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await q_(c)){const h={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",h),l.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[t0,i0,r0,o0,a0,u0,f0,h0,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function g0(){return bh}const m0=jf[0]==="3";function y0(e){return typeof e=="function"?e():ie(e)}function no(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=y0(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>no(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=ie(t[r]);continue}n[r]=no(t[r])}return n}return t}const _0={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=no(t.input)}}},wh="usehead";function v0(e){return{install(n){m0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(wh,e))}}.install}function b0(e={}){e.domDelayFn=e.domDelayFn||(n=>Bn(()=>setTimeout(()=>n(),0)));const t=d0(e);return t.use(_0),t.install=v0(t),t}const sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oa="__unhead_injection_handler__";function w0(e){sa[oa]=e}function C0(){return oa in sa?sa[oa]():sr(wh)||g0()}function S0(e,t={}){const n=t.head||C0();if(n)return n.ssr?n.push(e,t):x0(n,e,t)}function x0(e,t,n={}){const r=Ae(!1),s=Ae({});Pf(()=>{s.value=r.value?{}:no(t)});const o=e.push(s.value,n);return Kt(s,a=>{o.patch(a)}),as()&&(Va(()=>{o.dispose()}),rf(()=>{r.value=!0}),nf(()=>{r.value=!1})),o}const k0="modulepreload",A0=function(e,t){return new URL(e,t).href},yc={},Lr=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){const i=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));s=Promise.allSettled(n.map(c=>{if(c=A0(c,r),c in yc)return;yc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let p=i.length-1;p>=0;p--){const m=i[p];if(m.href===c&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":k0,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((p,m)=>{d.addEventListener("load",p),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return s.then(i=>{for(const a of i||[])a.status==="rejected"&&o(a.reason);return t().catch(o)})};let Os,Is;function T0(){return Os=$fetch(Ya(`builds/meta/${pr().app.buildId}.json`),{responseType:"json"}),Os.then(e=>{Is=v_(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Os}function Lo(){return Os||T0()}async function tl(e){const t=typeof e=="string"?e:e.path;if(await Lo(),!Is)return console.error("[nuxt] Error creating app manifest matcher.",Is),{};try{return w_({},...Is.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function _c(e,t={}){const n=await R0(e,t),r=Ee(),s=r._payloadCache=r._payloadCache||{};return n in s?s[n]||null:(s[n]=Sh(e).then(o=>o?Ch(n).then(i=>i||(delete s[n],null)):(s[n]=null,null)),s[n])}const E0="_payload.json";async function R0(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||yn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=pr(),s=t.hash||(t.fresh?Date.now():r.app.buildId),o=r.app.cdnURL,i=o&&await Sh(e)?o:r.app.baseURL;return vr(i,n.pathname,E0+(s?`?${s}`:""))}async function Ch(e){const t=fetch(e).then(n=>n.text().then(xh));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Sh(e=fh().path){const t=Ee();return e=Io(e),(await Lo()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const r=await tl({path:e});return!!r.prerender&&!r.redirect})}let Cn=null;async function P0(){var r;if(Cn)return Cn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await xh(e.textContent||""),n=e.dataset.src?await Ch(e.dataset.src):void 0;return Cn={...t,...n,...window.__NUXT__},(r=Cn.config)!=null&&r.public&&(Cn.config.public=un(Cn.config.public)),Cn}async function xh(e){return await H_(e,Ee()._payloadRevivers)}function $0(e,t){Ee()._payloadRevivers[e]=t}const N0=[["NuxtError",e=>el(e)],["EmptyShallowRef",e=>Di(e==="_"?void 0:e==="0n"?BigInt(0):Ks(e))],["EmptyRef",e=>Ae(e==="_"?void 0:e==="0n"?BigInt(0):Ks(e))],["ShallowRef",e=>Di(e)],["ShallowReactive",e=>Qn(e)],["Ref",e=>Ae(e)],["Reactive",e=>un(e)]],O0=Ht({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,s]of N0)$0(r,s);Object.assign(e.payload,([t,n]=sh(()=>e.runWithContext(P0)),t=await t,n(),t)),window.__NUXT__=e.payload}}),I0=[],L0=Ht({name:"nuxt:head",enforce:"pre",setup(e){const t=b0({plugins:I0});w0(()=>Ee().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await vh(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),M0=async e=>{let t,n;const r=([t,n]=sh(()=>tl({path:e.path})),t=await t,n(),t);if(r.redirect)return yn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},D0=[M0];function pi(e){typeof e=="object"&&(e=Zf({pathname:e.path||"",search:Kf(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:Qa(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const H0=Ht({name:"nuxt:router",enforce:"pre",setup(e){const t=Py(window.location.pathname,pr().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},s=(f,h)=>(r[f].push(h),()=>r[f].splice(r[f].indexOf(h),1)),o=pr().app.baseURL,i=un(pi(t));async function a(f,h){try{const d=pi(f);for(const p of r["navigate:before"]){const m=await p(d,i);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return a(m,!0)}for(const p of r["resolve:before"])await p(d,i);Object.assign(i,d),window.history[h?"replaceState":"pushState"]({},"",vr(o,d.fullPath)),e.isHydrating||await e.runWithContext(E_);for(const p of r["navigate:after"])await p(d,i)}catch(d){for(const p of r.error)await p(d)}}const c={currentRoute:Pe(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>s("resolve:before",f),beforeEach:f=>s("navigate:before",f),afterEach:f=>s("navigate:after",f),onError:f=>s("error",f),resolve:pi,addRoute:(f,h)=>{n.push(h)},getRoutes:()=>n,hasRoute:f=>n.some(h=>h.name===f),removeRoute:f=>{const h=n.findIndex(d=>d.name===f);h!==-1&&n.splice(h,1)}};e.vueApp.component("RouterLink",et({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:h})=>{const d=()=>a(f.to,f.replace);return()=>{var m;const p=c.resolve(f.to);return f.custom?(m=h.default)==null?void 0:m.call(h,{href:f.to,navigate:d,route:p}):qs("a",{href:f.to,onClick:y=>(y.preventDefault(),d())},h)}}})),window.addEventListener("popstate",f=>{const h=f.target.location;c.replace(h.href.replace(h.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,h)=>{f.meta=un(f.meta||{}),e.isHydrating&&u&&!fn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const d=new Set([...D0,...e._middleware.global]);{const p=await e.runWithContext(()=>tl({path:f.path}));if(p.appMiddleware)for(const m in p.appMiddleware){const y=e._middleware.named[m];if(!y)return;p.appMiddleware[m]?d.add(y):d.delete(y)}}for(const p of d){const m=await e.runWithContext(()=>p(f,h));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Ny(i.fullPath,t)||await e.runWithContext(()=>hh(i.fullPath))}),{provide:{route:i,router:c}}}}),ia=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),F0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Mo=e=>{const t=Ee();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ia(()=>e())}):ia(()=>e())},B0=Ht({name:"nuxt:payload",setup(e){Mt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await _c(t.path);r&&Object.assign(e.static.data,r.data)}),Mo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await _c(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Lo,1e3)})}}),j0=Ht(()=>{const e=Mt();Mo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),G0=Ht(e=>{let t;async function n(){const r=await Lo();t&&clearTimeout(t),t=setTimeout(n,lc);try{const s=await $fetch(Ya("builds/latest.json")+`?${Date.now()}`);s.id!==r.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}Mo(()=>{t=setTimeout(n,lc)})});function U0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ks(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ee().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const W0=Ht({name:"nuxt:chunk-reload",setup(e){const t=Mt(),n=pr(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:o})=>{r.add(o)});function s(o){const a="href"in o&&o.href[0]==="#"?n.app.baseURL+o.href:vr(n.app.baseURL,o.fullPath);U0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((o,i)=>{r.has(o)&&s(i)})}}),V0=Ht({name:"nuxt:global-components"}),z0=Ht(()=>{}),q0=["top","right","bottom","left"],vc=["start","end"],bc=q0.reduce((e,t)=>e.concat(t,t+"-"+vc[0],t+"-"+vc[1]),[]),qr=Math.min,An=Math.max,K0={left:"right",right:"left",bottom:"top",top:"bottom"},J0={start:"end",end:"start"};function aa(e,t,n){return An(e,qr(t,n))}function jn(e,t){return typeof e=="function"?e(t):e}function Dt(e){return e.split("-")[0]}function wt(e){return e.split("-")[1]}function kh(e){return e==="x"?"y":"x"}function nl(e){return e==="y"?"height":"width"}function Fn(e){return["top","bottom"].includes(Dt(e))?"y":"x"}function rl(e){return kh(Fn(e))}function Ah(e,t,n){n===void 0&&(n=!1);const r=wt(e),s=rl(e),o=nl(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=so(i)),[i,so(i)]}function X0(e){const t=so(e);return[ro(e),t,ro(t)]}function ro(e){return e.replace(/start|end/g,t=>J0[t])}function Q0(e,t,n){const r=["left","right"],s=["right","left"],o=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?o:i;default:return[]}}function Y0(e,t,n,r){const s=wt(e);let o=Q0(Dt(e),n==="start",r);return s&&(o=o.map(i=>i+"-"+s),t&&(o=o.concat(o.map(ro)))),o}function so(e){return e.replace(/left|right|bottom|top/g,t=>K0[t])}function Z0(e){return{top:0,right:0,bottom:0,left:0,...e}}function Th(e){return typeof e!="number"?Z0(e):{top:e,right:e,bottom:e,left:e}}function Mr(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function wc(e,t,n){let{reference:r,floating:s}=e;const o=Fn(t),i=rl(t),a=nl(i),l=Dt(t),c=o==="y",u=r.x+r.width/2-s.width/2,f=r.y+r.height/2-s.height/2,h=r[a]/2-s[a]/2;let d;switch(l){case"top":d={x:u,y:r.y-s.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-s.width,y:f};break;default:d={x:r.x,y:r.y}}switch(wt(t)){case"start":d[i]-=h*(n&&c?-1:1);break;case"end":d[i]+=h*(n&&c?-1:1);break}return d}const ev=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:f}=wc(c,r,l),h=r,d={},p=0;for(let m=0;m<a.length;m++){const{name:y,fn:v}=a[m],{x:S,y:g,data:b,reset:C}=await v({x:u,y:f,initialPlacement:r,placement:h,strategy:s,middlewareData:d,rects:c,platform:i,elements:{reference:e,floating:t}});u=S??u,f=g??f,d={...d,[y]:{...d[y],...b}},C&&p<=50&&(p++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(c=C.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):C.rects),{x:u,y:f}=wc(c,h,l)),m=-1)}return{x:u,y:f,placement:h,strategy:s,middlewareData:d}};async function Do(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=jn(t,e),p=Th(d),y=a[h?f==="floating"?"reference":"floating":f],v=Mr(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(y)))==null||n?y:y.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),S=f==="floating"?{x:r,y:s,width:i.floating.width,height:i.floating.height}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(g))?await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1}:{x:1,y:1},C=Mr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:S,offsetParent:g,strategy:l}):S);return{top:(v.top-C.top+p.top)/b.y,bottom:(C.bottom-v.bottom+p.bottom)/b.y,left:(v.left-C.left+p.left)/b.x,right:(C.right-v.right+p.right)/b.x}}const tv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=jn(e,t)||{};if(c==null)return{};const f=Th(u),h={x:n,y:r},d=rl(s),p=nl(d),m=await i.getDimensions(c),y=d==="y",v=y?"top":"left",S=y?"bottom":"right",g=y?"clientHeight":"clientWidth",b=o.reference[p]+o.reference[d]-h[d]-o.floating[p],C=h[d]-o.reference[d],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let x=T?T[g]:0;(!x||!await(i.isElement==null?void 0:i.isElement(T)))&&(x=a.floating[g]||o.floating[p]);const M=b/2-C/2,H=x/2-m[p]/2-1,O=qr(f[v],H),D=qr(f[S],H),G=O,X=x-m[p]-D,re=x/2-m[p]/2+M,he=aa(G,re,X),W=!l.arrow&&wt(s)!=null&&re!==he&&o.reference[p]/2-(re<G?O:D)-m[p]/2<0,Y=W?re<G?re-G:re-X:0;return{[d]:h[d]+Y,data:{[d]:he,centerOffset:re-he-Y,...W&&{alignmentOffset:Y}},reset:W}}});function nv(e,t,n){return(e?[...n.filter(s=>wt(s)===e),...n.filter(s=>wt(s)!==e)]:n.filter(s=>Dt(s)===s)).filter(s=>e?wt(s)===e||(t?ro(s)!==s:!1):!0)}const rv=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:h=bc,autoAlignment:d=!0,...p}=jn(e,t),m=f!==void 0||h===bc?nv(f||null,d,h):h,y=await Do(t,p),v=((n=i.autoPlacement)==null?void 0:n.index)||0,S=m[v];if(S==null)return{};const g=Ah(S,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==S)return{reset:{placement:m[0]}};const b=[y[Dt(S)],y[g[0]],y[g[1]]],C=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:S,overflows:b}],T=m[v+1];if(T)return{data:{index:v+1,overflows:C},reset:{placement:T}};const x=C.map(O=>{const D=wt(O.placement);return[O.placement,D&&u?O.overflows.slice(0,2).reduce((G,X)=>G+X,0):O.overflows[0],O.overflows]}).sort((O,D)=>O[1]-D[1]),H=((s=x.filter(O=>O[2].slice(0,wt(O[0])?2:3).every(D=>D<=0))[0])==null?void 0:s[0])||x[0][0];return H!==a?{data:{index:v+1,overflows:C},reset:{placement:H}}:{}}}},sv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:s,middlewareData:o,rects:i,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...y}=jn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const v=Dt(s),S=Fn(a),g=Dt(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=h||(g||!m?[so(a)]:X0(a)),T=p!=="none";!h&&T&&C.push(...Y0(a,m,p,b));const x=[a,...C],M=await Do(t,y),H=[];let O=((r=o.flip)==null?void 0:r.overflows)||[];if(u&&H.push(M[v]),f){const re=Ah(s,i,b);H.push(M[re[0]],M[re[1]])}if(O=[...O,{placement:s,overflows:H}],!H.every(re=>re<=0)){var D,G;const re=(((D=o.flip)==null?void 0:D.index)||0)+1,he=x[re];if(he)return{data:{index:re,overflows:O},reset:{placement:he}};let W=(G=O.filter(Y=>Y.overflows[0]<=0).sort((Y,z)=>Y.overflows[1]-z.overflows[1])[0])==null?void 0:G.placement;if(!W)switch(d){case"bestFit":{var X;const Y=(X=O.filter(z=>{if(T){const ve=Fn(z.placement);return ve===S||ve==="y"}return!0}).map(z=>[z.placement,z.overflows.filter(ve=>ve>0).reduce((ve,Un)=>ve+Un,0)]).sort((z,ve)=>z[1]-ve[1])[0])==null?void 0:X[0];Y&&(W=Y);break}case"initialPlacement":W=a;break}if(s!==W)return{reset:{placement:W}}}return{}}}};async function ov(e,t){const{placement:n,platform:r,elements:s}=e,o=await(r.isRTL==null?void 0:r.isRTL(s.floating)),i=Dt(n),a=wt(n),l=Fn(n)==="y",c=["left","top"].includes(i)?-1:1,u=o&&l?-1:1,f=jn(t,e);let{mainAxis:h,crossAxis:d,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof p=="number"&&(d=a==="end"?p*-1:p),l?{x:d*u,y:h*c}:{x:h*c,y:d*u}}const iv=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:o,placement:i,middlewareData:a}=t,l=await ov(t,e);return i===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+l.x,y:o+l.y,data:{...l,placement:i}}}}},av=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:y=>{let{x:v,y:S}=y;return{x:v,y:S}}},...l}=jn(e,t),c={x:n,y:r},u=await Do(t,l),f=Fn(Dt(s)),h=kh(f);let d=c[h],p=c[f];if(o){const y=h==="y"?"top":"left",v=h==="y"?"bottom":"right",S=d+u[y],g=d-u[v];d=aa(S,d,g)}if(i){const y=f==="y"?"top":"left",v=f==="y"?"bottom":"right",S=p+u[y],g=p-u[v];p=aa(S,p,g)}const m=a.fn({...t,[h]:d,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:o,[f]:i}}}}}},lv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:o,platform:i,elements:a}=t,{apply:l=()=>{},...c}=jn(e,t),u=await Do(t,c),f=Dt(s),h=wt(s),d=Fn(s)==="y",{width:p,height:m}=o.floating;let y,v;f==="top"||f==="bottom"?(y=f,v=h===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(v=f,y=h==="end"?"top":"bottom");const S=m-u.top-u.bottom,g=p-u.left-u.right,b=qr(m-u[y],S),C=qr(p-u[v],g),T=!t.middlewareData.shift;let x=b,M=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(x=S),T&&!h){const O=An(u.left,0),D=An(u.right,0),G=An(u.top,0),X=An(u.bottom,0);d?M=p-2*(O!==0||D!==0?O+D:An(u.left,u.right)):x=m-2*(G!==0||X!==0?G+X:An(u.top,u.bottom))}await l({...t,availableWidth:M,availableHeight:x});const H=await i.getDimensions(a.floating);return p!==H.width||m!==H.height?{reset:{rects:!0}}:{}}}};function ft(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nt(e){return ft(e).getComputedStyle(e)}const Cc=Math.min,Dr=Math.max,oo=Math.round;function Eh(e){const t=Nt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=oo(n)!==s||oo(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function dn(e){return Ph(e)?(e.nodeName||"").toLowerCase():""}let bs;function Rh(){if(bs)return bs;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(bs=e.brands.map(t=>t.brand+"/"+t.version).join(" "),bs):navigator.userAgent}function Ot(e){return e instanceof ft(e).HTMLElement}function an(e){return e instanceof ft(e).Element}function Ph(e){return e instanceof ft(e).Node}function Sc(e){return typeof ShadowRoot>"u"?!1:e instanceof ft(e).ShadowRoot||e instanceof ShadowRoot}function Ho(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Nt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function cv(e){return["table","td","th"].includes(dn(e))}function la(e){const t=/firefox/i.test(Rh()),n=Nt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function $h(){return!/^((?!chrome|android).)*safari/i.test(Rh())}function sl(e){return["html","body","#document"].includes(dn(e))}function Nh(e){return an(e)?e:e.contextElement}const Oh={x:1,y:1};function ir(e){const t=Nh(e);if(!Ot(t))return Oh;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=Eh(t);let i=(o?oo(n.width):n.width)/r,a=(o?oo(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Kr(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Nh(e);let l=Oh;t&&(r?an(r)&&(l=ir(r)):l=ir(e));const c=a?ft(a):window,u=!$h()&&n;let f=(i.left+(u&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,h=(i.top+(u&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,d=i.width/l.x,p=i.height/l.y;if(a){const m=ft(a),y=r&&an(r)?ft(r):r;let v=m.frameElement;for(;v&&r&&y!==m;){const S=ir(v),g=v.getBoundingClientRect(),b=getComputedStyle(v);g.x+=(v.clientLeft+parseFloat(b.paddingLeft))*S.x,g.y+=(v.clientTop+parseFloat(b.paddingTop))*S.y,f*=S.x,h*=S.y,d*=S.x,p*=S.y,f+=g.x,h+=g.y,v=ft(v).frameElement}}return{width:d,height:p,top:h,right:f+d,bottom:h+p,left:f,x:f,y:h}}function ln(e){return((Ph(e)?e.ownerDocument:e.document)||window.document).documentElement}function Fo(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ih(e){return Kr(ln(e)).left+Fo(e).scrollLeft}function Jr(e){if(dn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Sc(e)&&e.host||ln(e);return Sc(t)?t.host:t}function Lh(e){const t=Jr(e);return sl(t)?t.ownerDocument.body:Ot(t)&&Ho(t)?t:Lh(t)}function io(e,t){var n;t===void 0&&(t=[]);const r=Lh(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=ft(r);return s?t.concat(o,o.visualViewport||[],Ho(r)?r:[]):t.concat(r,io(r))}function xc(e,t,n){return t==="viewport"?Mr(function(r,s){const o=ft(r),i=ln(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const h=$h();(h||!h&&s==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):an(t)?Mr(function(r,s){const o=Kr(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=Ot(r)?ir(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Mr(function(r){const s=ln(r),o=Fo(r),i=r.ownerDocument.body,a=Dr(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Dr(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+Ih(r);const u=-o.scrollTop;return Nt(i).direction==="rtl"&&(c+=Dr(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(ln(e)))}function kc(e){return Ot(e)&&Nt(e).position!=="fixed"?e.offsetParent:null}function Ac(e){const t=ft(e);let n=kc(e);for(;n&&cv(n)&&Nt(n).position==="static";)n=kc(n);return n&&(dn(n)==="html"||dn(n)==="body"&&Nt(n).position==="static"&&!la(n))?t:n||function(r){let s=Jr(r);for(;Ot(s)&&!sl(s);){if(la(s))return s;s=Jr(s)}return null}(e)||t}function uv(e,t,n){const r=Ot(t),s=ln(t),o=Kr(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((dn(t)!=="body"||Ho(s))&&(i=Fo(t)),Ot(t)){const l=Kr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=Ih(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const fv={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let h=io(c).filter(y=>an(y)&&dn(y)!=="body"),d=null;const p=Nt(c).position==="fixed";let m=p?Jr(c):c;for(;an(m)&&!sl(m);){const y=Nt(m),v=la(m);(p?v||d:v||y.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=y:h=h.filter(S=>S!==m),m=Jr(m)}return u.set(c,h),h}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,u)=>{const f=xc(t,u,s);return c.top=Dr(f.top,c.top),c.right=Cc(f.right,c.right),c.bottom=Cc(f.bottom,c.bottom),c.left=Dr(f.left,c.left),c},xc(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Ot(n),o=ln(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((dn(n)!=="body"||Ho(o))&&(i=Fo(n)),Ot(n))){const c=Kr(n);a=ir(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:an,getDimensions:function(e){return Ot(e)?Eh(e):e.getBoundingClientRect()},getOffsetParent:Ac,getDocumentElement:ln,getScale:ir,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Ac,o=this.getDimensions;return{reference:uv(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Nt(e).direction==="rtl"},hv=(e,t,n)=>{const r=new Map,s={platform:fv,...n},o={...s.platform,_c:r};return ev(e,t,{...s,platform:o})};function Mh(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Mh(e[n],t[n]):e[n]=t[n])}const Ct={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Xr(e,t){let n=Ct.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Ct.themes[n.$extend]||{}:(n=null,r=Ct[t]):n=null;while(n);return r}function dv(e){const t=[e];let n=Ct.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Ct.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Tc(e){const t=[e];let n=Ct.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Ct.themes[n.$extend]||{}):n=null;while(n);return t}let gr=!1;if(typeof window<"u"){gr=!1;try{const e=Object.defineProperty({},"passive",{get(){gr=!0}});window.addEventListener("test",null,e)}catch{}}let Dh=!1;typeof window<"u"&&typeof navigator<"u"&&(Dh=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Hh=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Ec={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Rc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Pc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function gi(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const vt=[];let Sn=null;const $c={};function Nc(e){let t=$c[e];return t||(t=$c[e]=[]),t}let ca=function(){};typeof window<"u"&&(ca=window.Element);function fe(e){return function(t){return Xr(t.theme,e)}}const mi="__floating-vue__popper",Fh=()=>et({name:"VPopper",provide(){return{[mi]:{parentPopper:this}}},inject:{[mi]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:fe("disabled")},positioningDisabled:{type:Boolean,default:fe("positioningDisabled")},placement:{type:String,default:fe("placement"),validator:e=>Hh.includes(e)},delay:{type:[String,Number,Object],default:fe("delay")},distance:{type:[Number,String],default:fe("distance")},skidding:{type:[Number,String],default:fe("skidding")},triggers:{type:Array,default:fe("triggers")},showTriggers:{type:[Array,Function],default:fe("showTriggers")},hideTriggers:{type:[Array,Function],default:fe("hideTriggers")},popperTriggers:{type:Array,default:fe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:fe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:fe("popperHideTriggers")},container:{type:[String,Object,ca,Boolean],default:fe("container")},boundary:{type:[String,ca],default:fe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:fe("strategy")},autoHide:{type:[Boolean,Function],default:fe("autoHide")},handleResize:{type:Boolean,default:fe("handleResize")},instantMove:{type:Boolean,default:fe("instantMove")},eagerMount:{type:Boolean,default:fe("eagerMount")},popperClass:{type:[String,Array,Object],default:fe("popperClass")},computeTransformOrigin:{type:Boolean,default:fe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:fe("autoMinSize")},autoSize:{type:[Boolean,String],default:fe("autoSize")},autoMaxSize:{type:Boolean,default:fe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:fe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:fe("preventOverflow")},overflowPadding:{type:[Number,String],default:fe("overflowPadding")},arrowPadding:{type:[Number,String],default:fe("arrowPadding")},arrowOverflow:{type:Boolean,default:fe("arrowOverflow")},flip:{type:Boolean,default:fe("flip")},shift:{type:Boolean,default:fe("shift")},shiftCrossAxis:{type:Boolean,default:fe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:fe("noAutoFocus")},disposeTimeout:{type:Number,default:fe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[mi])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(iv({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(rv({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(av({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(sv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(tv({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(lv({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await hv(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Sn&&this.instantMove&&Sn.instantMove&&Sn!==this.parentPopper){Sn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Sn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await gi(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...io(this.$_referenceNode),...io(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<vt.length;n++)t=vt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}vt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Tc(this.theme))Nc(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await gi(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Pc(vt,this),vt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Tc(this.theme)){const r=Nc(n);Pc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Sn===this&&(Sn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await gi(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Ec,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Ec,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Rc,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Rc,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,gr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Hr>=e.left&&Hr<=e.right&&Fr>=e.top&&Fr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Hr-Xt,r=Fr-Qt,s=t.left+t.width/2-Xt+(t.top+t.height/2)-Qt+t.width+t.height,o=Xt+n*s,i=Qt+r*s;return ws(Xt,Qt,o,i,t.left,t.top,t.left,t.bottom)||ws(Xt,Qt,o,i,t.left,t.top,t.right,t.top)||ws(Xt,Qt,o,i,t.right,t.top,t.right,t.bottom)||ws(Xt,Qt,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Dh){const e=gr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Oc(t,!0),e),document.addEventListener("touchend",t=>Ic(t,!0),e)}else window.addEventListener("mousedown",e=>Oc(e,!1),!0),window.addEventListener("click",e=>Ic(e,!1),!0);window.addEventListener("resize",gv)}function Oc(e,t){if(Ct.autoHideOnMousedown)Bh(e,t);else for(let n=0;n<vt.length;n++){const r=vt[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Ic(e,t){Ct.autoHideOnMousedown||Bh(e,t)}function Bh(e,t){const n={};for(let r=vt.length-1;r>=0;r--){const s=vt[r];try{const o=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&&Lc(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&Lc(i,i.containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Lc(e,t,n){return n.closeAllPopover||n.closePopover&&t||pv(e,n)&&!t}function pv(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function gv(){for(let e=0;e<vt.length;e++)vt[e].$_computePosition()}let Xt=0,Qt=0,Hr=0,Fr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Xt=Hr,Qt=Fr,Hr=e.clientX,Fr=e.clientY},gr?{passive:!0}:void 0);function ws(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const mv={extends:Fh()},Bo=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function yv(e,t,n,r,s,o){return U(),ne("div",{ref:"reference",class:$e(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Ye(e.$slots,"default",$u(Ka(e.slotData)))],2)}const _v=Bo(mv,[["render",yv]]);function vv(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Ls;function ua(){ua.init||(ua.init=!0,Ls=vv()!==-1)}var jo={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ua(),Bn(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Ls&&this.$el.appendChild(e),e.data="about:blank",Ls||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Ls&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const bv=xg();Cg("data-v-b329ee4c");const wv={class:"resize-observer",tabindex:"-1"};Sg();const Cv=bv((e,t,n,r,s,o)=>(U(),xe("div",wv)));jo.render=Cv;jo.__scopeId="data-v-b329ee4c";jo.__file="src/components/ResizeObserver.vue";const jh=(e="theme")=>({computed:{themeClass(){return dv(this[e])}}}),Sv=et({name:"VPopperContent",components:{ResizeObserver:jo},mixins:[jh()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),xv=["id","aria-hidden","tabindex","data-popper-placement"],kv={ref:"inner",class:"v-popper__inner"},Av=L("div",{class:"v-popper__arrow-outer"},null,-1),Tv=L("div",{class:"v-popper__arrow-inner"},null,-1),Ev=[Av,Tv];function Rv(e,t,n,r,s,o){const i=hn("ResizeObserver");return U(),ne("div",{id:e.popperId,ref:"popover",class:$e(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:$n(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=ey(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[L("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),L("div",{class:"v-popper__wrapper",style:$n(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[L("div",kv,[e.mounted?(U(),ne(Se,{key:0},[L("div",null,[Ye(e.$slots,"default")]),e.handleResize?(U(),xe(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):He("",!0)],64)):He("",!0)],512),L("div",{ref:"arrow",class:"v-popper__arrow-container",style:$n(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ev,4)],4)],46,xv)}const Gh=Bo(Sv,[["render",Rv]]),Uh={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let fa=function(){};typeof window<"u"&&(fa=window.Element);const Pv=et({name:"VPopperWrapper",components:{Popper:_v,PopperContent:Gh},mixins:[Uh,jh("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,fa,Boolean],default:void 0},boundary:{type:[String,fa],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function $v(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return U(),xe(a,No({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ae(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,show:d,hide:p,handleResize:m,onResize:y,classes:v,result:S})=>[Ye(e.$slots,"default",{shown:c,show:d,hide:p}),q(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":m,classes:v,result:S,onHide:p,onResize:y},{default:ae(()=>[Ye(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ol=Bo(Pv,[["render",$v]]),Nv={...ol,name:"VDropdown",vPopperTheme:"dropdown"},Ov={...ol,name:"VMenu",vPopperTheme:"menu"},Iv={...ol,name:"VTooltip",vPopperTheme:"tooltip"},Lv=et({name:"VTooltipDirective",components:{Popper:Fh(),PopperContent:Gh},mixins:[Uh],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Xr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Xr(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),Mv=["innerHTML"],Dv=["textContent"];function Hv(e,t,n,r,s,o){const i=hn("PopperContent"),a=hn("Popper");return U(),xe(a,No({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ae(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:h,hide:d,handleResize:p,onResize:m,classes:y,result:v})=>[q(i,{ref:"popperContent",class:$e({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":h,"handle-resize":p,classes:y,result:v,onHide:d,onResize:m},{default:ae(()=>[e.html?(U(),ne("div",{key:0,innerHTML:e.finalContent},null,8,Mv)):(U(),ne("div",{key:1,textContent:De(e.finalContent)},null,8,Dv))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Fv=Bo(Lv,[["render",Hv]]),Wh="v-popper--has-tooltip";function Bv(e,t){let n=e.placement;if(!n&&t)for(const r of Hh)t[r]&&(n=r);return n||(n=Xr(e.theme||"tooltip","placement")),n}function Vh(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=Bv(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let yi,Qr,jv=0;function Gv(){if(yi)return;Qr=Ae([]),yi=Vf({name:"VTooltipDirectiveApp",setup(){return{directives:Qr}},render(){return this.directives.map(t=>qs(Fv,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),yi.mount(e)}function Uv(e,t,n){Gv();const r=Ae(Vh(e,t,n)),s=Ae(!1),o={id:jv++,options:r,shown:s};return Qr.value.push(o),e.classList&&e.classList.add(Wh),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function zh(e){if(e.$_popper){const t=Qr.value.indexOf(e.$_popper.item);t!==-1&&Qr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Wh)}function Mc(e,{value:t,modifiers:n}){const r=Vh(e,t,n);if(!r.content||Xr(r.theme||"tooltip","disabled"))zh(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=Uv(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const Wv={beforeMount:Mc,updated:Mc,beforeUnmount(e){zh(e)}};function Dc(e){e.addEventListener("mousedown",ao),e.addEventListener("click",ao),e.addEventListener("touchstart",qh,gr?{passive:!0}:!1)}function Hc(e){e.removeEventListener("mousedown",ao),e.removeEventListener("click",ao),e.removeEventListener("touchstart",qh),e.removeEventListener("touchend",Kh),e.removeEventListener("touchcancel",Jh)}function ao(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function qh(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Kh),t.addEventListener("touchcancel",Jh)}}function Kh(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Jh(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Vv={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Dc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Dc(e):Hc(e))},beforeUnmount(e){Hc(e)}};function zv(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Mh(Ct,t),e.directive("tooltip",Wv),e.directive("close-popper",Vv),e.component("VTooltip",Iv),e.component("VDropdown",Nv),e.component("VMenu",Ov))}const qv={version:"5.2.2",install:zv,options:Ct},Kv=Ht(e=>{e.vueApp.use(qv)}),Jv=[O0,L0,H0,B0,j0,G0,W0,V0,z0,Kv],il=et({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(U(),ne("div",{class:$e(["n-icon",t.icon])},null,2))}}),Go=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Xv={},Qv={class:"n-badge"};function Yv(e,t){return U(),ne("span",Qv,[Ye(e.$slots,"default")])}const Xh=Go(Xv,[["render",Yv]]);async function Qh(e,t=Mt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Qh(e,t));t._routePreloaded.add(n);const o=r.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const Zv=(...e)=>e.find(t=>t!==void 0);function eb(e){const t=e.componentName||"NuxtLink";function n(o){return typeof o=="string"&&o.startsWith("#")}function r(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Fc(o,e.trailingSlash);const a="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Fc(a,e.trailingSlash)}}function s(o){const i=Mt(),a=pr(),l=Pe(()=>!!o.target&&o.target!=="_self"),c=Pe(()=>{const y=o.to||o.href||"";return typeof y=="string"&&yn(y,{acceptRelative:!0})}),u=hn("RouterLink"),f=u&&typeof u!="string"?u.useLink:void 0,h=Pe(()=>{if(o.external)return!0;const y=o.to||o.href||"";return typeof y=="object"?!1:y===""||c.value}),d=Pe(()=>{const y=o.to||o.href||"";return h.value?y:r(y,i.resolve)}),p=h.value||f==null?void 0:f({...o,to:d}),m=Pe(()=>{var y;if(!d.value||c.value||n(d.value))return d.value;if(h.value){const v=typeof d.value=="object"&&"path"in d.value?ta(d.value):d.value,S=typeof v=="object"?i.resolve(v).href:v;return r(S,i.resolve)}return typeof d.value=="object"?((y=i.resolve(d.value))==null?void 0:y.href)??null:r(vr(a.app.baseURL,d.value),i.resolve)});return{to:d,hasTarget:l,isAbsoluteUrl:c,isExternal:h,href:m,isActive:(p==null?void 0:p.isActive)??Pe(()=>d.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??Pe(()=>d.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??Pe(()=>i.resolve(d.value)),async navigate(){await hh(m.value,{replace:o.replace,external:h.value||l.value})}}}return et({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:s,setup(o,{slots:i}){const a=Mt(),{to:l,href:c,navigate:u,isExternal:f,hasTarget:h,isAbsoluteUrl:d}=s(o),p=Ae(!1),m=Ae(null),y=g=>{var b;m.value=o.custom?(b=g==null?void 0:g.$el)==null?void 0:b.nextElementSibling:g==null?void 0:g.$el};function v(g){var b,C;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===g:((b=o.prefetchOn)==null?void 0:b[g])??((C=e.prefetchOn)==null?void 0:C[g]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!sb()}async function S(g=Ee()){if(p.value)return;p.value=!0;const b=typeof l.value=="string"?l.value:f.value?ta(l.value):a.resolve(l.value).fullPath,C=f.value?new URL(b,window.location.href).href:b;await Promise.all([g.hooks.callHook("link:prefetch",C).catch(()=>{}),!f.value&&!h.value&&Qh(l.value,a).catch(()=>{})])}if(v("visibility")){const g=Ee();let b,C=null;Wa(()=>{const T=nb();Mo(()=>{b=ia(()=>{var x;(x=m==null?void 0:m.value)!=null&&x.tagName&&(C=T.observe(m.value,async()=>{C==null||C(),C=null,await S(g)}))})})}),Va(()=>{b&&F0(b),C==null||C(),C=null})}return()=>{var C;if(!f.value&&!h.value&&!n(l.value)){const T={ref:y,to:l.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(v("interaction")&&(T.onPointerenter=S.bind(null,void 0),T.onFocus=S.bind(null,void 0)),p.value&&(T.class=o.prefetchedClass||e.prefetchedClass),T.rel=o.rel||void 0),qs(hn("RouterLink"),T,i.default)}const g=o.target||null,b=Zv(o.noRel?"":o.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:c.value,navigate:u,prefetch:S,get route(){if(!c.value)return;const T=new URL(c.value,window.location.href);return{path:T.pathname,fullPath:T.pathname,get query(){return Qa(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:b,target:g,isExternal:f.value||h.value,isActive:!1,isExactActive:!1}):null:qs("a",{ref:m,href:c.value||null,rel:b,target:g},(C=i.default)==null?void 0:C.call(i))}}})}const tb=eb(l_);function Fc(e,t){const n=t==="append"?Xs:Io;return yn(e)&&!e.startsWith("http")?e:n(e,!0)}function nb(){const e=Ee();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t==null||t.unobserve(o),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:r}}const rb=/2g/;function sb(){const e=navigator.connection;return!!(e&&(e.saveData||rb.test(e.effectiveType)))}const ob={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},Yh=et({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Pe(()=>t.href||t.to);return(r,s)=>{const o=tb;return U(),xe(o,No(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:ae(()=>[Ye(r.$slots,"default"),n.value&&r.target==="_blank"?(U(),ne("div",ob)):He("",!0)]),_:3},16,["class"])}}}),ib={},ab={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function lb(e,t){return U(),ne("svg",ab,t[0]||(t[0]=[Cm('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const cb=Go(ib,[["render",lb]]),ub={},fb={class:"n-loading n-panel-grids-center"},hb={class:"flex flex-col animate-pulse items-center text-lg"};function db(e,t){return U(),ne("div",fb,[L("div",hb,[t[1]||(t[1]=L("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Ye(e.$slots,"default",{},()=>[t[0]||(t[0]=ce(" Loading... "))])])])}const pb=Go(ub,[["render",db]]);let Ve=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function gb(e){return al(e)}function al(e){return Array.isArray(e)?mb(e):e instanceof RegExp?e:typeof e=="object"?yb(e):e}function mb(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=al(e[n]);return t}function yb(e){let t={};for(let n in e)t[n]=al(e[n]);return t}function Zh(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function ed(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?ed(e.substring(0,e.length-1)):e.substr(~t+1)}var _i=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Cs=class{static hasCaptures(e){return e===null?!1:(_i.lastIndex=0,_i.test(e))}static replaceCaptures(e,t,n){return e.replace(_i,(r,s,o,i)=>{let a=n[parseInt(s||o,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function td(e,t){return e<t?-1:e>t?1:0}function nd(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let s=0;s<n;s++){let o=td(e[s],t[s]);if(o!==0)return o}return 0}return n-r}function Bc(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function rd(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var sd=class{constructor(e){k(this,"cache",new Map);this.fn=e}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},lo=class{constructor(e,t,n){k(this,"_cachedMatchRoot",new sd(e=>this._root.match(e)));this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(bb(e),t)}static createFromParsedTheme(e,t){return Cb(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(s=>_b(e.parent,s.parentScopes));return r?new od(r.fontStyle,r.foreground,r.background):null}},vi=class Ms{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ms(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ms(n,t[r]);return n}push(t){return new Ms(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function _b(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],s=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],s=!0}for(;e&&!vb(e.scopeName,r);){if(s)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function vb(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var od=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function bb(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let s=0,o=t.length;s<o;s++){let i=t[s];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let h=0,d=f.length;h<d;h++)switch(f[h]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&Bc(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Bc(i.settings.background)&&(u=i.settings.background);for(let f=0,h=a.length;f<h;f++){let p=a[f].trim().split(" "),m=p[p.length-1],y=null;p.length>1&&(y=p.slice(0,p.length-1),y.reverse()),n[r++]=new wb(m,y,s,l,c,u)}}return n}var wb=class{constructor(e,t,n,r,s,o){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=s,this.background=o}},qt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(qt||{});function Cb(e,t){e.sort((l,c)=>{let u=td(l.scope,c.scope);return u!==0||(u=nd(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",s="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(s=l.background)}let o=new Sb(t),i=new od(n,o.getId(r),o.getId(s)),a=new kb(new ha(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new lo(o,i,a)}var Sb=class{constructor(e){k(this,"_isFrozen");k(this,"_lastColorId");k(this,"_id2color");k(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},xb=Object.freeze([]),ha=class id{constructor(t,n,r,s,o){k(this,"scopeDepth");k(this,"parentScopes");k(this,"fontStyle");k(this,"foreground");k(this,"background");this.scopeDepth=t,this.parentScopes=n||xb,this.fontStyle=r,this.foreground=s,this.background=o}clone(){return new id(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,s=t.length;r<s;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,s){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),s!==0&&(this.background=s)}},kb=class da{constructor(t,n=[],r={}){k(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,s=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[s]===">"&&s++,!(r>=t.parentScopes.length||s>=n.parentScopes.length);){const o=n.parentScopes[s].length-t.parentScopes[r].length;if(o!==0)return o;r++,s++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),s,o;if(r===-1?(s=t,o=""):(s=t.substring(0,r),o=t.substring(r+1)),this._children.hasOwnProperty(s))return this._children[s].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(da._cmpBySpecificity),n}insert(t,n,r,s,o,i){if(n===""){this._doInsertHere(t,r,s,o,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new da(this._mainRule.clone(),ha.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,s,o,i)}_doInsertHere(t,n,r,s,o){if(n===null){this._mainRule.acceptOverwrite(t,r,s,o);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(nd(l.parentScopes,n)===0){l.acceptOverwrite(t,r,s,o);return}}r===-1&&(r=this._mainRule.fontStyle),s===0&&(s=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new ha(t,n,r,s,o))}},mr=class at{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=at.getLanguageId(t),r=at.getTokenType(t),s=at.getFontStyle(t),o=at.getForeground(t),i=at.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,s,o,i,a){let l=at.getLanguageId(t),c=at.getTokenType(t),u=at.containsBalancedBrackets(t)?1:0,f=at.getFontStyle(t),h=at.getForeground(t),d=at.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),s!==null&&(u=s?1:0),o!==-1&&(f=o),i!==0&&(h=i),a!==0&&(d=a),(l<<0|c<<8|u<<10|f<<11|h<<15|d<<24)>>>0}};function co(e,t){const n=[],r=Ab(e);let s=r.next();for(;s!==null;){let l=0;if(s.length===2&&s.charAt(1)===":"){switch(s.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${s} in scope selector`)}s=r.next()}let c=i();if(n.push({matcher:c,priority:l}),s!==",")break;s=r.next()}return n;function o(){if(s==="-"){s=r.next();const l=o();return c=>!!l&&!l(c)}if(s==="("){s=r.next();const l=a();return s===")"&&(s=r.next()),l}if(jc(s)){const l=[];do l.push(s),s=r.next();while(jc(s));return c=>t(l,c)}return null}function i(){const l=[];let c=o();for(;c;)l.push(c),c=o();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),s==="|"||s===",");){do s=r.next();while(s==="|"||s===",");c=i()}return u=>l.some(f=>f(u))}}function jc(e){return!!e&&!!e.match(/[\w\.:]+/)}function Ab(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function ad(e){typeof e.dispose=="function"&&e.dispose()}var Yr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},Tb=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},Eb=class{constructor(){k(this,"_references",[]);k(this,"_seenReferenceKeys",new Set);k(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},Rb=class{constructor(e,t){k(this,"seenFullScopeRequests",new Set);k(this,"seenPartialScopeRequests",new Set);k(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Yr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new Eb;for(const n of e)Pb(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof Yr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function Pb(e,t,n,r){const s=n.lookup(e.scopeName);if(!s){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const o=n.lookup(t);e instanceof Yr?Ds({baseGrammar:o,selfGrammar:s},r):pa(e.ruleName,{baseGrammar:o,selfGrammar:s,repository:s.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Yr(a))}function pa(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];uo([r],t,n)}}function Ds(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&uo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&uo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function uo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const s=r.repository?Zh({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&uo(r.patterns,{...t,repository:s},n);const o=r.include;if(!o)continue;const i=ld(o);switch(i.kind){case 0:Ds({...t,selfGrammar:t.baseGrammar},n);break;case 1:Ds(t,n);break;case 2:pa(i.ruleName,{...t,repository:s},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:s};i.kind===4?pa(i.ruleName,l,n):Ds(l,n)}else i.kind===4?n.add(new Tb(i.scopeName,i.ruleName)):n.add(new Yr(i.scopeName));break}}}var $b=class{constructor(){k(this,"kind",0)}},Nb=class{constructor(){k(this,"kind",1)}},Ob=class{constructor(e){k(this,"kind",2);this.ruleName=e}},Ib=class{constructor(e){k(this,"kind",3);this.scopeName=e}},Lb=class{constructor(e,t){k(this,"kind",4);this.scopeName=e,this.ruleName=t}};function ld(e){if(e==="$base")return new $b;if(e==="$self")return new Nb;const t=e.indexOf("#");if(t===-1)return new Ib(e);if(t===0)return new Ob(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Lb(n,r)}}var Mb=/\\(\d+)/,Gc=/\\(\d+)/g,Db=-1,cd=-2;var ls=class{constructor(e,t,n,r){k(this,"$location");k(this,"id");k(this,"_nameIsCapturing");k(this,"_name");k(this,"_contentNameIsCapturing");k(this,"_contentName");this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Cs.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Cs.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${ed(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Cs.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Cs.replaceCaptures(this._contentName,e,t)}},Hb=class extends ls{constructor(t,n,r,s,o){super(t,n,r,s);k(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,s){throw new Error("Not supported!")}},Fb=class extends ls{constructor(t,n,r,s,o){super(t,n,r,null);k(this,"_match");k(this,"captures");k(this,"_cachedCompiledPatterns");this._match=new Zr(s,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Uc=class extends ls{constructor(t,n,r,s,o){super(t,n,r,s);k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new es,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ga=class extends ls{constructor(t,n,r,s,o,i,a,l,c,u){super(t,n,r,s);k(this,"_begin");k(this,"beginCaptures");k(this,"_end");k(this,"endHasBackReferences");k(this,"endCaptures");k(this,"applyEndPatternLast");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this._end=new Zr(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,s)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},fo=class extends ls{constructor(t,n,r,s,o,i,a,l,c){super(t,n,r,s);k(this,"_begin");k(this,"beginCaptures");k(this,"whileCaptures");k(this,"_while");k(this,"whileHasBackReferences");k(this,"hasMissingPatterns");k(this,"patterns");k(this,"_cachedCompiledPatterns");k(this,"_cachedCompiledWhilePatterns");this._begin=new Zr(o,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Zr(a,cd),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,s){return this._getCachedCompiledPatterns(t).compileAG(t,r,s)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new es;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,s){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,s)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new es,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},ud=class je{static createCaptureRule(t,n,r,s,o){return t.registerRule(i=>new Hb(n,i,r,s,o))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(s=>{if(t.id=s,t.match)return new Fb(t.$vscodeTextmateLocation,t.id,t.name,t.match,je._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Zh({},r,t.repository));let o=t.patterns;return typeof o>"u"&&t.include&&(o=[{include:t.include}]),new Uc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,je._compilePatterns(o,n,r))}return t.while?new fo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,je._compileCaptures(t.whileCaptures||t.captures,n,r),je._compilePatterns(t.patterns,n,r)):new ga(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,je._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,je._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let s=[];if(t){let o=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>o&&(o=a)}for(let i=0;i<=o;i++)s[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=je.getCompiledRuleId(t[i],n,r)),s[a]=je.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return s}static _compilePatterns(t,n,r){let s=[];if(t)for(let o=0,i=t.length;o<i;o++){const a=t[o];let l=-1;if(a.include){const c=ld(a.include);switch(c.kind){case 0:case 1:l=je.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=je.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,h=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(h){let p=d.repository[h];p&&(l=je.getCompiledRuleId(p,n,d.repository))}else l=je.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=je.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Uc||c instanceof ga||c instanceof fo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;s.push(l)}}return{patterns:s,hasMissingPatterns:(t?t.length:0)!==s.length}}},Zr=class fd{constructor(t,n){k(this,"source");k(this,"ruleId");k(this,"hasAnchor");k(this,"hasBackReferences");k(this,"_anchorCache");if(t&&typeof t=="string"){const r=t.length;let s=0,o=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(o.push(t.substring(s,a)),o.push("$(?!\\n)(?<!\\n)"),s=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,s===0?this.source=t:(o.push(t.substring(s,r)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Mb.test(this.source):this.hasBackReferences=!1}clone(){return new fd(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(s=>t.substring(s.start,s.end));return Gc.lastIndex=0,this.source.replace(Gc,(s,o)=>rd(r[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],s=[],o,i,a,l;for(o=0,i=this.source.length;o<i;o++)a=this.source.charAt(o),t[o]=a,n[o]=a,r[o]=a,s[o]=a,a==="\\"&&o+1<i&&(l=this.source.charAt(o+1),l==="A"?(t[o+1]="",n[o+1]="",r[o+1]="A",s[o+1]="A"):l==="G"?(t[o+1]="",n[o+1]="G",r[o+1]="",s[o+1]="G"):(t[o+1]=l,n[o+1]=l,r[o+1]=l,s[o+1]=l),o++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:s.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},es=class{constructor(){k(this,"_items");k(this,"_hasAnchors");k(this,"_cached");k(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Wc(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(s=>s.resolveAnchors(t,n));return new Wc(e,r,this._items.map(s=>s.ruleId))}},Wc=class{constructor(e,t,n){k(this,"scanner");this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
20
|
+
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},bi=class{constructor(e,t){this.languageId=e,this.tokenType=t}},zt,Bb=(zt=class{constructor(t,n){k(this,"_defaultAttributes");k(this,"_embeddedLanguagesMatcher");k(this,"_getBasicScopeAttributes",new sd(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new bi(n,r)}));this._defaultAttributes=new bi(t,8),this._embeddedLanguagesMatcher=new jb(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?zt._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(zt.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},k(zt,"_NULL_SCOPE_METADATA",new bi(0,0)),k(zt,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),zt),jb=class{constructor(e){k(this,"values");k(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>rd(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Vc=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function hd(e,t,n,r,s,o,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const d=Gb(e,t,n,r,s,o);s=d.stack,r=d.linePos,n=d.isFirstLine,u=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Vc(s,!0);h()}return new Vc(s,!1);function h(){const d=Ub(e,t,n,r,s,u);if(!d){o.produce(s,l),c=!0;return}const p=d.captureIndices,m=d.matchedRuleId,y=p&&p.length>0?p[0].end>r:!1;if(m===Db){const v=s.getRule(e);o.produce(s,p[0].start),s=s.withContentNameScopesList(s.nameScopesList),Er(e,t,n,s,o,v.endCaptures,p),o.produce(s,p[0].end);const S=s;if(s=s.parent,u=S.getAnchorPos(),!y&&S.getEnterPos()===r){s=S,o.produce(s,l),c=!0;return}}else{const v=e.getRule(m);o.produce(s,p[0].start);const S=s,g=v.getName(t.content,p),b=s.contentNameScopesList.pushAttributed(g,e);if(s=s.push(m,r,u,p[0].end===l,null,b,b),v instanceof ga){const C=v;Er(e,t,n,s,o,C.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const T=C.getContentName(t.content,p),x=b.pushAttributed(T,e);if(s=s.withContentNameScopesList(x),C.endHasBackReferences&&(s=s.withEndRule(C.getEndWithResolvedBackReferences(t.content,p))),!y&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(v instanceof fo){const C=v;Er(e,t,n,s,o,C.beginCaptures,p),o.produce(s,p[0].end),u=p[0].end;const T=C.getContentName(t.content,p),x=b.pushAttributed(T,e);if(s=s.withContentNameScopesList(x),C.whileHasBackReferences&&(s=s.withEndRule(C.getWhileWithResolvedBackReferences(t.content,p))),!y&&S.hasSameRuleAs(s)){s=s.pop(),o.produce(s,l),c=!0;return}}else if(Er(e,t,n,s,o,v.captures,p),o.produce(s,p[0].end),s=s.pop(),!y){s=s.safePop(),o.produce(s,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function Gb(e,t,n,r,s,o){let i=s.beginRuleCapturedEOL?0:-1;const a=[];for(let l=s;l;l=l.pop()){const c=l.getRule(e);c instanceof fo&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=zb(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==cd){s=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(o.produce(l.stack,f.captureIndices[0].start),Er(e,t,n,l.stack,o,l.rule.whileCaptures,f.captureIndices),o.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{s=l.stack.pop();break}}return{stack:s,linePos:r,anchorPosition:i,isFirstLine:n}}function Ub(e,t,n,r,s,o){const i=Wb(e,t,n,r,s,o),a=e.getInjections();if(a.length===0)return i;const l=Vb(a,e,t,n,r,s,o);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function Wb(e,t,n,r,s,o){const i=s.getRule(e),{ruleScanner:a,findOptions:l}=dd(i,e,s.endRule,n,r===o),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Vb(e,t,n,r,s,o,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=o.contentNameScopesList.getScopeNames();for(let h=0,d=e.length;h<d;h++){const p=e[h];if(!p.matcher(f))continue;const m=t.getRule(p.ruleId),{ruleScanner:y,findOptions:v}=dd(m,t,null,r,s===i),S=y.findNextMatchSync(n,s,v);if(!S)continue;const g=S.captureIndices[0].start;if(!(g>=a)&&(a=g,l=S.captureIndices,c=S.ruleId,u=p.priority,a===s))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function dd(e,t,n,r,s){return{ruleScanner:e.compileAG(t,n,r,s),findOptions:0}}function zb(e,t,n,r,s){return{ruleScanner:e.compileWhileAG(t,n,r,s),findOptions:0}}function Er(e,t,n,r,s,o,i){if(o.length===0)return;const a=t.content,l=Math.min(o.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const h=o[f];if(h===null)continue;const d=i[f];if(d.length===0)continue;if(d.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?s.produceFromScopes(c[c.length-1].scopes,d.start):s.produce(r,d.start),h.retokenizeCapturedWithRuleId){const m=h.getName(a,i),y=r.contentNameScopesList.pushAttributed(m,e),v=h.getContentName(a,i),S=y.pushAttributed(v,e),g=r.push(h.retokenizeCapturedWithRuleId,d.start,-1,!1,null,y,S),b=e.createOnigString(a.substring(0,d.end));hd(e,b,n&&d.start===0,d.start,g,s,!1,0),ad(b);continue}const p=h.getName(a,i);if(p!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new qb(y,d.end))}}for(;c.length>0;)s.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var qb=class{constructor(e,t){k(this,"scopes");k(this,"endPos");this.scopes=e,this.endPos=t}};function Kb(e,t,n,r,s,o,i,a){return new Xb(e,t,n,r,s,o,i,a)}function zc(e,t,n,r,s){const o=co(t,ho),i=ud.getCompiledRuleId(n,r,s.repository);for(const a of o)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:s,priority:a.priority})}function ho(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let s=n;s<t.length;s++)if(Jb(t[s],r))return n=s+1,!0;return!1})}function Jb(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var Xb=class{constructor(e,t,n,r,s,o,i,a){k(this,"_rootId");k(this,"_lastRuleId");k(this,"_ruleId2desc");k(this,"_includedGrammars");k(this,"_grammarRepository");k(this,"_grammar");k(this,"_injections");k(this,"_basicScopeAttributesProvider");k(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=o,this._onigLib=a,this._basicScopeAttributesProvider=new Bb(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=qc(t,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const l of Object.keys(s)){const c=co(l,ho);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:s[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const s=r.injections;if(s)for(let i in s)zc(t,i,s[i],this,r);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&zc(t,l,a,this,a)}})}return t.sort((s,o)=>s.priority-o.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=qc(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=ud.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!t||t===ma.NULL){s=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=mr.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),h=this.getRule(this._rootId).getName(null,null);let d;h?d=Br.createRootAndLookUpScopeName(h,f,this):d=Br.createRoot("unknown",f),t=new ma(null,this._rootId,-1,-1,!1,null,d,d)}else s=!1,t.reset();e=e+`
|
|
21
|
+
`;const o=this.createOnigString(e),i=o.content.length,a=new Yb(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=hd(this,o,s,0,t,a,!0,r);return ad(o),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function qc(e,t){return e=gb(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Br=class Tt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,s=(t==null?void 0:t.scopePath)??null;for(const o of n)s=vi.push(s,o.scopeNames),r=new Tt(r,s,o.encodedTokenAttributes);return r}static createRoot(t,n){return new Tt(null,new vi(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const s=r.getMetadataForScope(t),o=new vi(null,t),i=r.themeProvider.themeMatch(o),a=Tt.mergeAttributes(n,s,i);return new Tt(null,o,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Tt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let s=-1,o=0,i=0;return r!==null&&(s=r.fontStyle,o=r.foregroundId,i=r.backgroundId),mr.set(t,n.languageId,n.tokenType,null,s,o,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Tt._pushAttributed(this,t,n);const r=t.split(/ /g);let s=this;for(const o of r)s=Tt._pushAttributed(s,o,n);return s}static _pushAttributed(t,n,r){const s=r.getMetadataForScope(n),o=t.scopePath.push(n),i=r.themeProvider.themeMatch(o),a=Tt.mergeAttributes(t.tokenAttributes,s,i);return new Tt(t,o,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var s;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((s=r.parent)==null?void 0:s.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},ct,ma=(ct=class{constructor(t,n,r,s,o,i,a,l){k(this,"_stackElementBrand");k(this,"_enterPos");k(this,"_anchorPos");k(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=o,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=s}equals(t){return t===null?!1:ct._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Br.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ct._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,s,o,i,a){return new ct(this,t,n,r,s,o,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,s;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(s=this.contentNameScopesList)==null?void 0:s.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ct(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Br.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new ct(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Br.fromExtension(r,n.contentNameScopesList))}},k(ct,"NULL",new ct(null,0,0,0,!1,null,null,null)),ct),Qb=class{constructor(e,t){k(this,"balancedBracketScopes");k(this,"unbalancedBracketScopes");k(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):co(n,ho).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>co(n,ho).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Yb=class{constructor(e,t,n,r){k(this,"_emitBinaryTokens");k(this,"_lineText");k(this,"_tokens");k(this,"_binaryTokens");k(this,"_lastTokenEndIndex");k(this,"_tokenTypeOverrides");this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let s=(e==null?void 0:e.tokenAttributes)??0,o=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(s=mr.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(i))}if(o&&(s=mr.set(s,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,s=this._binaryTokens.length;r<s;r++)n[r]=this._binaryTokens[r];return n}},Zb=class{constructor(e,t){k(this,"_grammars",new Map);k(this,"_rawGrammars",new Map);k(this,"_injectionGrammars",new Map);k(this,"_theme");this._onigLib=t,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,s){if(!this._grammars.has(e)){let o=this._rawGrammars.get(e);if(!o)return null;this._grammars.set(e,Kb(e,o,t,n,r,s,this,this._onigLib))}return this._grammars.get(e)}},ew=class{constructor(t){k(this,"_options");k(this,"_syncRegistry");k(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Zb(lo.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(lo.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new Qb(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,s,o){const i=new Rb(this._syncRegistry,t);for(;i.Q.length>0;)i.Q.map(a=>this._loadSingleGrammar(a.scopeName)),i.processQueue();return this._grammarForScopeName(t,n,r,s,o)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,s=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,s)}_grammarForScopeName(t,n=0,r=null,s=null,o=null){return this._syncRegistry.grammarForScopeName(t,n,r,s,o)}},ya=ma.NULL;const tw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class cs{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}cs.prototype.property={};cs.prototype.normal={};cs.prototype.space=null;function pd(e,t){const n={},r={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(r,e[s].normal);return new cs(n,r,t)}function _a(e){return e.toLowerCase()}class gt{constructor(t,n){this.property=t,this.attribute=n}}gt.prototype.space=null;gt.prototype.boolean=!1;gt.prototype.booleanish=!1;gt.prototype.overloadedBoolean=!1;gt.prototype.number=!1;gt.prototype.commaSeparated=!1;gt.prototype.spaceSeparated=!1;gt.prototype.commaOrSpaceSeparated=!1;gt.prototype.mustUseProperty=!1;gt.prototype.defined=!1;let nw=0;const oe=Gn(),Re=Gn(),gd=Gn(),I=Gn(),we=Gn(),ar=Gn(),st=Gn();function Gn(){return 2**++nw}const va=Object.freeze(Object.defineProperty({__proto__:null,boolean:oe,booleanish:Re,commaOrSpaceSeparated:st,commaSeparated:ar,number:I,overloadedBoolean:gd,spaceSeparated:we},Symbol.toStringTag,{value:"Module"})),wi=Object.keys(va);class ll extends gt{constructor(t,n,r,s){let o=-1;if(super(t,n),Kc(this,"space",s),typeof r=="number")for(;++o<wi.length;){const i=wi[o];Kc(this,wi[o],(r&va[i])===va[i])}}}ll.prototype.defined=!0;function Kc(e,t,n){n&&(e[t]=n)}const rw={}.hasOwnProperty;function br(e){const t={},n={};let r;for(r in e.properties)if(rw.call(e.properties,r)){const s=e.properties[r],o=new ll(r,e.transform(e.attributes||{},r),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[_a(r)]=r,n[_a(o.attribute)]=r}return new cs(t,n,e.space)}const md=br({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),yd=br({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function _d(e,t){return t in e?e[t]:t}function vd(e,t){return _d(e,t.toLowerCase())}const bd=br({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:vd,properties:{xmlns:null,xmlnsXLink:null}}),wd=br({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Re,ariaAutoComplete:null,ariaBusy:Re,ariaChecked:Re,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:we,ariaCurrent:null,ariaDescribedBy:we,ariaDetails:null,ariaDisabled:Re,ariaDropEffect:we,ariaErrorMessage:null,ariaExpanded:Re,ariaFlowTo:we,ariaGrabbed:Re,ariaHasPopup:null,ariaHidden:Re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:we,ariaLevel:I,ariaLive:null,ariaModal:Re,ariaMultiLine:Re,ariaMultiSelectable:Re,ariaOrientation:null,ariaOwns:we,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:Re,ariaReadOnly:Re,ariaRelevant:null,ariaRequired:Re,ariaRoleDescription:we,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:Re,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),sw=br({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:vd,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ar,acceptCharset:we,accessKey:we,action:null,allow:null,allowFullScreen:oe,allowPaymentRequest:oe,allowUserMedia:oe,alt:null,as:null,async:oe,autoCapitalize:null,autoComplete:we,autoFocus:oe,autoPlay:oe,blocking:we,capture:null,charSet:null,checked:oe,cite:null,className:we,cols:I,colSpan:null,content:null,contentEditable:Re,controls:oe,controlsList:we,coords:I|ar,crossOrigin:null,data:null,dateTime:null,decoding:null,default:oe,defer:oe,dir:null,dirName:null,disabled:oe,download:gd,draggable:Re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:oe,formTarget:null,headers:we,height:I,hidden:oe,high:I,href:null,hrefLang:null,htmlFor:we,httpEquiv:we,id:null,imageSizes:null,imageSrcSet:null,inert:oe,inputMode:null,integrity:null,is:null,isMap:oe,itemId:null,itemProp:we,itemRef:we,itemScope:oe,itemType:we,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:oe,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:oe,muted:oe,name:null,nonce:null,noModule:oe,noValidate:oe,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:oe,optimum:I,pattern:null,ping:we,placeholder:null,playsInline:oe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:oe,referrerPolicy:null,rel:we,required:oe,reversed:oe,rows:I,rowSpan:I,sandbox:we,scope:null,scoped:oe,seamless:oe,selected:oe,shadowRootClonable:oe,shadowRootDelegatesFocus:oe,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:Re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:oe,useMap:null,value:Re,width:I,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:we,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:oe,declare:oe,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:oe,noHref:oe,noShade:oe,noWrap:oe,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:Re,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:oe,disableRemotePlayback:oe,prefix:null,property:null,results:I,security:null,unselectable:null}}),ow=br({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:_d,properties:{about:st,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:we,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:oe,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:ar,g2:ar,glyphName:ar,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:st,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:I,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:we,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:st,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:st,rev:st,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:st,requiredFeatures:st,requiredFonts:st,requiredFormats:st,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:st,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:st,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:st,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),iw=/^data[-\w.:]+$/i,Jc=/-[a-z]/g,aw=/[A-Z]/g;function lw(e,t){const n=_a(t);let r=t,s=gt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&iw.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Jc,uw);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Jc.test(o)){let i=o.replace(aw,cw);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}s=ll}return new s(r,t)}function cw(e){return"-"+e.toLowerCase()}function uw(e){return e.charAt(1).toUpperCase()}const fw=pd([yd,md,bd,wd,sw],"html"),Cd=pd([yd,md,bd,wd,ow],"svg"),Xc={}.hasOwnProperty;function hw(e,t){const n=t||{};function r(s,...o){let i=r.invalid;const a=r.handlers;if(s&&Xc.call(s,e)){const l=String(s[e]);i=Xc.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,s,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const dw=/["&'<>`]/g,pw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,gw=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,mw=/[|\\{}()[\]^$+*?.]/g,Qc=new WeakMap;function yw(e,t){if(e=e.replace(t.subset?_w(t.subset):dw,r),t.subset||t.escapeOnly)return e;return e.replace(pw,n).replace(gw,r);function n(s,o,i){return t.format((s.charCodeAt(0)-55296)*1024+s.charCodeAt(1)-56320+65536,i.charCodeAt(o+2),t)}function r(s,o,i){return t.format(s.charCodeAt(0),i.charCodeAt(o+1),t)}}function _w(e){let t=Qc.get(e);return t||(t=vw(e),Qc.set(e,t)),t}function vw(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(mw,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const bw=/[\dA-Fa-f]/;function ww(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!bw.test(String.fromCharCode(t))?r:r+";"}const Cw=/\d/;function Sw(e,t,n){const r="&#"+String(e);return n&&t&&!Cw.test(String.fromCharCode(t))?r:r+";"}const xw=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ci={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},kw=["cent","copy","divide","gt","lt","not","para","times"],Sd={}.hasOwnProperty,ba={};let Ss;for(Ss in Ci)Sd.call(Ci,Ss)&&(ba[Ci[Ss]]=Ss);const Aw=/[^\dA-Za-z]/;function Tw(e,t,n,r){const s=String.fromCharCode(e);if(Sd.call(ba,s)){const o=ba[s],i="&"+o;return n&&xw.includes(o)&&!kw.includes(o)&&(!r||t&&t!==61&&Aw.test(String.fromCharCode(t)))?i:i+";"}return""}function Ew(e,t,n){let r=ww(e,t,n.omitOptionalSemicolons),s;if((n.useNamedReferences||n.useShortestReferences)&&(s=Tw(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!s)&&n.useShortestReferences){const o=Sw(e,t,n.omitOptionalSemicolons);o.length<r.length&&(r=o)}return s&&(!n.useShortestReferences||s.length<r.length)?s:r}function lr(e,t){return yw(e,Object.assign({format:Ew},t))}const Rw=/^>|^->|<!--|-->|--!>|<!-$/g,Pw=[">"],$w=["<",">"];function Nw(e,t,n,r){return r.settings.bogusComments?"<?"+lr(e.value,Object.assign({},r.settings.characterReferences,{subset:Pw}))+">":"<!--"+e.value.replace(Rw,s)+"-->";function s(o){return lr(o,Object.assign({},r.settings.characterReferences,{subset:$w}))}}function Ow(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Yc(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,s=n.indexOf(t);for(;s!==-1;)r++,s=n.indexOf(t,s+t.length);return r}function Iw(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function Lw(e){return e.join(" ").trim()}const Mw=/[ \t\n\f\r]/g;function cl(e){return typeof e=="object"?e.type==="text"?Zc(e.value):!1:Zc(e)}function Zc(e){return e.replace(Mw,"")===""}const Me=kd(1),xd=kd(-1),Dw=[];function kd(e){return t;function t(n,r,s){const o=n?n.children:Dw;let i=(r||0)+e,a=o[i];if(!s)for(;a&&cl(a);)i+=e,a=o[i];return a}}const Hw={}.hasOwnProperty;function Ad(e){return t;function t(n,r,s){return Hw.call(e,n.tagName)&&e[n.tagName](n,r,s)}}const ul=Ad({body:Bw,caption:Si,colgroup:Si,dd:Ww,dt:Uw,head:Si,html:Fw,li:Gw,optgroup:Vw,option:zw,p:jw,rp:eu,rt:eu,tbody:Kw,td:tu,tfoot:Jw,th:tu,thead:qw,tr:Xw});function Si(e,t,n){const r=Me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&cl(r.value.charAt(0)))}function Fw(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function Bw(e,t,n){const r=Me(n,t);return!r||r.type!=="comment"}function jw(e,t,n){const r=Me(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Gw(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Uw(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Ww(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function eu(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Vw(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function zw(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function qw(e,t,n){const r=Me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Kw(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Jw(e,t,n){return!Me(n,t)}function Xw(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function tu(e,t,n){const r=Me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Qw=Ad({body:eC,colgroup:tC,head:Zw,html:Yw,tbody:nC});function Yw(e){const t=Me(e,-1);return!t||t.type!=="comment"}function Zw(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function eC(e){const t=Me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&cl(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function tC(e,t,n){const r=xd(n,t),s=Me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ul(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="col")}function nC(e,t,n){const r=xd(n,t),s=Me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ul(r,n.children.indexOf(r),n)?!1:!!(s&&s.type==="element"&&s.tagName==="tr")}const xs={name:[[`
|
|
22
|
+
\f\r &/=>`.split(""),`
|
|
23
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
24
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
25
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
26
|
+
\f\r &>`.split(""),`\0
|
|
27
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
28
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
29
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function rC(e,t,n,r){const s=r.schema,o=s.space==="svg"?!1:r.settings.omitOptionalTags;let i=s.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;s.space==="html"&&e.tagName==="svg"&&(r.schema=Cd);const c=sC(r,e.properties),u=r.all(s.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=s,u&&(i=!1),(c||!o||!Qw(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(s.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!o||!ul(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function sC(e,t){const n=[];let r=-1,s;if(t){for(s in t)if(t[s]!==null&&t[s]!==void 0){const o=oC(e,s,t[s]);o&&n.push(o)}}for(;++r<n.length;){const o=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&o!=='"'&&o!=="'"&&(n[r]+=" ")}return n.join("")}function oC(e,t,n){const r=lw(e.schema,t),s=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,o=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=lr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:xs.name[s][o]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?Iw:Lw)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=lr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:xs.unquoted[s][o]}))),a!==n&&(e.settings.quoteSmart&&Yc(n,i)>Yc(n,e.alternative)&&(i=e.alternative),a=i+lr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?xs.single:xs.double)[s][o],attribute:!0}))+i),l+(a&&"="+a))}const iC=["<","&"];function Td(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:lr(e.value,Object.assign({},r.settings.characterReferences,{subset:iC}))}function aC(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Td(e,t,n,r)}function lC(e,t,n,r){return r.all(e)}const cC=hw("type",{invalid:uC,unknown:fC,handlers:{comment:Nw,doctype:Ow,element:rC,raw:aC,root:lC,text:Td}});function uC(e){throw new Error("Expected node, not `"+e+"`")}function fC(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const hC={},dC={},pC=[];function gC(e,t){const n=t||hC,r=n.quote||'"',s=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:mC,all:yC,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||tw,characterReferences:n.characterReferences||dC,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Cd:fw,quote:r,alternative:s}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function mC(e,t,n){return cC(e,t,n,this)}function yC(e){const t=[],n=e&&e.children||pC;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function po(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[s,o]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof o=="string"?n[s]=o:s===r&&Object.assign(n,o);return n}function Tn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function _C(e){return Array.isArray(e)?e:[e]}async function Ed(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function fl(e){return!e||["plaintext","txt","text","plain"].includes(e)}function vC(e){return e==="ansi"||fl(e)}function hl(e){return e==="none"}function bC(e){return hl(e)}function Rd(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const s of n)s&&!e.properties.class.includes(s)&&e.properties.class.push(s);return e}function Uo(e,t=!1){var o;const n=e.split(/(\r?\n)/g);let r=0;const s=[];for(let i=0;i<n.length;i+=2){const a=t?n[i]+(n[i+1]||""):n[i];s.push([a,r]),r+=n[i].length,r+=((o=n[i+1])==null?void 0:o.length)||0}return s}function wC(e){const t=Uo(e,!0).map(([s])=>s);function n(s){if(s===e.length)return{line:t.length-1,character:t[t.length-1].length};let o=s,i=0;for(const a of t){if(o<a.length)break;o-=a.length,i++}return{line:i,character:o}}function r(s,o){let i=0;for(let a=0;a<s;a++)i+=t[a].length;return i+=o,i}return{lines:t,indexToPos:n,posToIndex:r}}function CC(e,t){let n=0;const r=[];for(const s of t)s>n&&r.push({...e,content:e.content.slice(n,s),offset:e.offset+n}),n=s;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function SC(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,s)=>r-s);return n.length?e.map(r=>r.flatMap(s=>{const o=n.filter(i=>s.offset<i&&i<s.offset+s.content.length).map(i=>i-s.offset).sort((i,a)=>i-a);return o.length?CC(s,o):s})):e}function xC(e,t,n,r){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(l=>Pd(e.variants[l])),i=new Set(o.flatMap(l=>Object.keys(l))),a={};return o.forEach((l,c)=>{for(const u of i){const f=l[u]||"inherit";if(c===0&&r)a[u]=f;else{const h=u==="color"?"":u==="background-color"?"-bg":`-${u}`,d=n+t[c]+(u==="color"?"":h);a[d]=f}}}),s.htmlStyle=a,s}function Pd(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&qt.Italic&&(t["font-style"]="italic"),e.fontStyle&qt.Bold&&(t["font-weight"]="bold"),e.fontStyle&qt.Underline&&(t["text-decoration"]="underline")),t}function kC(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const $d=new WeakMap;function Wo(e,t){$d.set(e,t)}function ts(e){return $d.get(e)}class wr{constructor(...t){k(this,"_stacks",{});k(this,"lang");if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,s]=t;this.lang=r,this._stacks={[s]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new wr(Object.fromEntries(_C(n).map(r=>[r,ya])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return AC(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function AC(e){const t=[],n=new Set;function r(s){var i;if(n.has(s))return;n.add(s);const o=(i=s==null?void 0:s.nameScopesList)==null?void 0:i.scopeName;o&&t.push(o),s.parent&&r(s.parent)}return r(e),t}function TC(e,t){if(!(e instanceof wr))throw new Ve("Invalid grammar state");return e.getInternalStack(t)}function EC(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(i){if(typeof i=="number"){if(i<0||i>n.source.length)throw new Ve(`Invalid decoration offset: ${i}. Code length: ${n.source.length}`);return{...s.indexToPos(i),offset:i}}else{const a=s.lines[i.line];if(a===void 0)throw new Ve(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${s.lines.length}`);if(i.character<0||i.character>a.length)throw new Ve(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,offset:s.posToIndex(i.line,i.character)}}};const s=wC(n.source),o=(n.options.decorations||[]).map(i=>({...i,start:r(i.start),end:r(i.end)}));RC(o),e.set(n.meta,{decorations:o,converter:s,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var i;if(!((i=this.options.decorations)!=null&&i.length))return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return SC(n,s)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),s=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==r.converter.lines.length)throw new Ve(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function o(f,h,d,p){const m=s[f];let y="",v=-1,S=-1;if(h===0&&(v=0),d===0&&(S=0),d===Number.POSITIVE_INFINITY&&(S=m.children.length),v===-1||S===-1)for(let b=0;b<m.children.length;b++)y+=Nd(m.children[b]),v===-1&&y.length===h&&(v=b+1),S===-1&&y.length===d&&(S=b+1);if(v===-1)throw new Ve(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(S===-1)throw new Ve(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const g=m.children.slice(v,S);if(!p.alwaysWrap&&g.length===m.children.length)a(m,p,"line");else if(!p.alwaysWrap&&g.length===1&&g[0].type==="element")a(g[0],p,"token");else{const b={type:"element",tagName:"span",properties:{},children:g};a(b,p,"wrapper"),m.children.splice(v,g.length,b)}}function i(f,h){s[f]=a(s[f],h,"line")}function a(f,h,d){var y;const p=h.properties||{},m=h.transform||(v=>v);return f.tagName=h.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},(y=h.properties)!=null&&y.class&&Rd(f,h.properties.class),f=m(f,d)||f,f}const l=[],c=r.decorations.sort((f,h)=>h.start.offset-f.start.offset||f.end.offset-h.end.offset);for(const f of c){const{start:h,end:d}=f;if(h.line===d.line)o(h.line,h.character,d.character,f);else if(h.line<d.line){o(h.line,h.character,Number.POSITIVE_INFINITY,f);for(let p=h.line+1;p<d.line;p++)l.unshift(()=>i(p,f));o(d.line,0,d.character,f)}}l.forEach(f=>f())}}}function RC(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new Ve(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const s=e[r],o=n.start.offset<=s.start.offset&&s.start.offset<n.end.offset,i=n.start.offset<s.end.offset&&s.end.offset<=n.end.offset,a=s.start.offset<=n.start.offset&&n.start.offset<s.end.offset,l=s.start.offset<n.end.offset&&n.end.offset<=s.end.offset;if(o||i||a||l){if(o&&i||a&&l)continue;throw new Ve(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(s.start)} intersect.`)}}}}function Nd(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Nd).join(""):""}const PC=[EC()];function go(e){return[...e.transformers||[],...PC]}var En=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],xi={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function $C(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function nu(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function NC(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)xi[r]&&t.push({type:"setDecoration",value:xi[r]});else if(r<=29){const s=xi[r-20];s&&(t.push({type:"resetDecoration",value:s}),s==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:En[r-30]}});else if(r===38){const s=nu(e);s&&t.push({type:"setForegroundColor",value:s})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:En[r-40]}});else if(r===48){const s=nu(e);s&&t.push({type:"setBackgroundColor",value:s})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:En[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:En[r-100+8]}})}return t}function OC(){let e=null,t=null,n=new Set;return{parse(r){const s=[];let o=0;do{const i=$C(r,o),a=i.sequence?r.substring(o,i.startPosition):r.substring(o);if(a.length>0&&s.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=NC(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}o=i.position}while(o<r.length);return s}}}var IC={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function LC(e=IC){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function s(){if(r)return r;r=[];for(let c=0;c<En.length;c++)r.push(t(En[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function o(a){return s()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function MC(e,t,n){const r=po(e,n),s=Uo(t),o=LC(Object.fromEntries(En.map(a=>{var l;return[a,(l=e.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),i=OC();return s.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?o.value(l.background):e.bg,u=l.foreground?o.value(l.foreground):e.fg):(c=l.foreground?o.value(l.foreground):e.fg,u=l.background?o.value(l.background):void 0),c=Tn(c,r),u=Tn(u,r),l.decorations.has("dim")&&(c=DC(c));let f=qt.None;return l.decorations.has("bold")&&(f|=qt.Bold),l.decorations.has("italic")&&(f|=qt.Italic),l.decorations.has("underline")&&(f|=qt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function DC(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function dl(e,t,n={}){const{lang:r="text",theme:s=e.getLoadedThemes()[0]}=n;if(fl(r)||hl(s))return Uo(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:o,colorMap:i}=e.setTheme(s);if(r==="ansi")return MC(o,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new Ve(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(o.name))throw new Ve(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return FC(t,a,o,i,n)}function HC(...e){if(e.length===2)return ts(e[1]);const[t,n,r={}]=e,{lang:s="text",theme:o=t.getLoadedThemes()[0]}=r;if(fl(s)||hl(o))throw new Ve("Plain language does not have grammar state");if(s==="ansi")throw new Ve("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(o),l=t.getLanguage(s);return new wr(mo(n,l,i,a,r).stateStack,l.name,i.name)}function FC(e,t,n,r,s){const o=mo(e,t,n,r,s),i=new wr(mo(e,t,n,r,s).stateStack,t.name,n.name);return Wo(o.tokens,i),o.tokens}function mo(e,t,n,r,s){const o=po(n,s),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=s,l=Uo(e);let c=s.grammarState?TC(s.grammarState,n.name)??ya:s.grammarContextCode!=null?mo(s.grammarContextCode,t,n,r,{...s,grammarState:void 0,grammarContextCode:void 0}).stateStack:ya,u=[];const f=[];for(let h=0,d=l.length;h<d;h++){const[p,m]=l[h];if(p===""){u=[],f.push([]);continue}if(i>0&&p.length>=i){u=[],f.push([{content:p,offset:m,color:"",fontStyle:0}]);continue}let y,v,S;s.includeExplanation&&(y=t.tokenizeLine(p,c,a),v=y.tokens,S=0);const g=t.tokenizeLine2(p,c,a),b=g.tokens.length/2;for(let C=0;C<b;C++){const T=g.tokens[2*C],x=C+1<b?g.tokens[2*C+2]:p.length;if(T===x)continue;const M=g.tokens[2*C+1],H=Tn(r[mr.getForeground(M)],o),O=mr.getFontStyle(M),D={content:p.substring(T,x),offset:m+T,color:H,fontStyle:O};if(s.includeExplanation){const G=[];if(s.includeExplanation!=="scopeName")for(const re of n.settings){let he;switch(typeof re.scope){case"string":he=re.scope.split(/,/).map(W=>W.trim());break;case"object":he=re.scope;break;default:continue}G.push({settings:re,selectors:he.map(W=>W.split(/ /))})}D.explanation=[];let X=0;for(;T+X<x;){const re=v[S],he=p.substring(re.startIndex,re.endIndex);X+=he.length,D.explanation.push({content:he,scopes:s.includeExplanation==="scopeName"?BC(re.scopes):jC(G,re.scopes)}),S+=1}}u.push(D)}f.push(u),u=[],c=g.ruleStack}return{tokens:f,stateStack:c}}function BC(e){return e.map(t=>({scopeName:t}))}function jC(e,t){const n=[];for(let r=0,s=t.length;r<s;r++){const o=t[r];n[r]={scopeName:o,themeMatches:UC(e,o,t.slice(0,r))}}return n}function ru(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function GC(e,t,n){if(!ru(e[e.length-1],t))return!1;let r=e.length-2,s=n.length-1;for(;r>=0&&s>=0;)ru(e[r],n[s])&&(r-=1),s-=1;return r===-1}function UC(e,t,n){const r=[];for(const{selectors:s,settings:o}of e)for(const i of s)if(GC(i,t,n)){r.push(o);break}return r}function Od(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),s=r.map(l=>{const c=dl(e,t,{...n,theme:l.theme}),u=ts(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:u,theme:f}}),o=WC(...s.map(l=>l.tokens)),i=o[0].map((l,c)=>l.map((u,f)=>{const h={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(h.explanation=u.explanation),o.forEach((d,p)=>{const{content:m,explanation:y,offset:v,...S}=d[c][f];h.variants[r[p].color]=S}),h})),a=s[0].state?new wr(Object.fromEntries(s.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),s[0].state.lang):void 0;return a&&Wo(i,a),i}function WC(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const s=e.map(l=>l[r]),o=t.map(()=>[]);t.forEach((l,c)=>l.push(o[c]));const i=s.map(()=>0),a=s.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(o[c].push(u),i[c]+=1,a[c]=s[c][i[c]]):(o[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}function yo(e,t,n){let r,s,o,i,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-"}=n,f=Object.entries(n.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,v)=>y.color===c?-1:v.color===c?1:0);if(f.length===0)throw new Ve("`themes` option must not be empty");const h=Od(e,t,n);if(l=ts(h),c&&!f.find(y=>y.color===c))throw new Ve(`\`themes\` option must contain the defaultColor key \`${c}\``);const d=f.map(y=>e.getTheme(y.theme)),p=f.map(y=>y.color);o=h.map(y=>y.map(v=>xC(v,p,u,c))),l&&Wo(o,l);const m=f.map(y=>po(y.theme,n));s=f.map((y,v)=>(v===0&&c?"":`${u+y.color}:`)+(Tn(d[v].fg,m[v])||"inherit")).join(";"),r=f.map((y,v)=>(v===0&&c?"":`${u+y.color}-bg:`)+(Tn(d[v].bg,m[v])||"inherit")).join(";"),i=`shiki-themes ${d.map(y=>y.name).join(" ")}`,a=c?void 0:[s,r].join(";")}else if("theme"in n){const c=po(n.theme,n);o=dl(e,t,n);const u=e.getTheme(n.theme);r=Tn(u.bg,c),s=Tn(u.fg,c),i=u.name,l=ts(o)}else throw new Ve("Invalid options, either `theme` or `themes` must be provided");return{tokens:o,fg:s,bg:r,themeName:i,rootStyle:a,grammarState:l}}function _o(e,t,n,r={meta:{},options:n,codeToHast:(s,o)=>_o(e,s,o),codeToTokens:(s,o)=>yo(e,s,o)}){var d,p;let s=t;for(const m of go(n))s=((d=m.preprocess)==null?void 0:d.call(r,s,n))||s;let{tokens:o,fg:i,bg:a,themeName:l,rootStyle:c,grammarState:u}=yo(e,s,n);const{mergeWhitespaces:f=!0}=n;f===!0?o=zC(o):f==="never"&&(o=qC(o));const h={...r,get source(){return s}};for(const m of go(n))o=((p=m.tokens)==null?void 0:p.call(h,o))||o;return VC(o,{...n,fg:i,bg:a,themeName:l,rootStyle:c},h,u)}function VC(e,t,n,r=ts(e)){var p,m,y;const s=go(t),o=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t;let c={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([v])=>!v.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:o};const f=[],h={...n,structure:a,addClassToHast:Rd,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return c},get code(){return u},get lines(){return f}};if(e.forEach((v,S)=>{var C,T;S&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&o.push({type:"text",value:`
|
|
30
|
+
`}));let g={type:"element",tagName:"span",properties:{class:"line"},children:[]},b=0;for(const x of v){let M={type:"element",tagName:"span",properties:{...x.htmlAttrs},children:[{type:"text",value:x.content}]};const H=kC(x.htmlStyle||Pd(x));H&&(M.properties.style=H);for(const O of s)M=((C=O==null?void 0:O.span)==null?void 0:C.call(h,M,S+1,b,g,x))||M;a==="inline"?i.children.push(M):a==="classic"&&g.children.push(M),b+=x.content.length}if(a==="classic"){for(const x of s)g=((T=x==null?void 0:x.line)==null?void 0:T.call(h,g,S+1))||g;f.push(g),o.push(g)}}),a==="classic"){for(const v of s)u=((p=v==null?void 0:v.code)==null?void 0:p.call(h,u))||u;c.children.push(u);for(const v of s)c=((m=v==null?void 0:v.pre)==null?void 0:m.call(h,c))||c;i.children.push(c)}let d=i;for(const v of s)d=((y=v==null?void 0:v.root)==null?void 0:y.call(h,d))||d;return r&&Wo(d,r),d}function zC(e){return e.map(t=>{const n=[];let r="",s=0;return t.forEach((o,i)=>{const l=!(o.fontStyle&&o.fontStyle&qt.Underline);l&&o.content.match(/^\s+$/)&&t[i+1]?(s||(s=o.offset),r+=o.content):r?(l?n.push({...o,offset:s,content:r+o.content}):n.push({content:r,offset:s},o),s=0,r=""):n.push(o)}),n})}function qC(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,s,o,i]=r;if(!s&&!i)return n;const a=[{...n,offset:n.offset+s.length,content:o}];return s&&a.unshift({content:s,offset:n.offset}),i&&a.push({content:i,offset:n.offset+s.length+o.length}),a}))}const KC=gC;function JC(e,t,n){var o;const r={meta:{},options:n,codeToHast:(i,a)=>_o(e,i,a),codeToTokens:(i,a)=>yo(e,i,a)};let s=KC(_o(e,t,n,r));for(const i of go(n))s=((o=i.postprocess)==null?void 0:o.call(r,s,n))||s;return s}const su={light:"#333333",dark:"#bbbbbb"},ou={light:"#fffffe",dark:"#1e1e1e"},iu="__shiki_resolved";function pl(e){var a,l,c,u,f;if(e!=null&&e[iu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const h=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;(a=h==null?void 0:h.settings)!=null&&a.foreground&&(r=h.settings.foreground),(l=h==null?void 0:h.settings)!=null&&l.background&&(n=h.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?su.light:su.dark),n||(n=t.type==="light"?ou.light:ou.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let s=0;const o=new Map;function i(h){var p;if(o.has(h))return o.get(h);s+=1;const d=`#${s.toString(16).padStart(8,"0").toLowerCase()}`;return(p=t.colorReplacements)!=null&&p[`#${d}`]?i(h):(o.set(h,d),d)}t.settings=t.settings.map(h=>{var y,v;const d=((y=h.settings)==null?void 0:y.foreground)&&!h.settings.foreground.startsWith("#"),p=((v=h.settings)==null?void 0:v.background)&&!h.settings.background.startsWith("#");if(!d&&!p)return h;const m={...h,settings:{...h.settings}};if(d){const S=i(h.settings.foreground);t.colorReplacements[S]=h.settings.foreground,m.settings.foreground=S}if(p){const S=i(h.settings.background);t.colorReplacements[S]=h.settings.background,m.settings.background=S}return m});for(const h of Object.keys(t.colors||{}))if((h==="editor.foreground"||h==="editor.background"||h.startsWith("terminal.ansi"))&&!((f=t.colors[h])!=null&&f.startsWith("#"))){const d=i(t.colors[h]);t.colorReplacements[d]=t.colors[h],t.colors[h]=d}return Object.defineProperty(t,iu,{enumerable:!1,writable:!1,value:!0}),t}async function Id(e){return Array.from(new Set((await Promise.all(e.filter(t=>!vC(t)).map(async t=>await Ed(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Ld(e){return(await Promise.all(e.map(async n=>bC(n)?null:pl(await Ed(n))))).filter(n=>!!n)}let XC=3;function QC(e,t=3){t>XC||console.trace(`[SHIKI DEPRECATE]: ${e}`)}class Zn extends Error{constructor(t){super(t),this.name="ShikiError"}}class YC extends ew{constructor(n,r,s,o={}){super(n);k(this,"_resolvedThemes",new Map);k(this,"_resolvedGrammars",new Map);k(this,"_langMap",new Map);k(this,"_langGraph",new Map);k(this,"_textmateThemeCache",new WeakMap);k(this,"_loadedThemesCache",null);k(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=s,this._alias=o,this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(n){return typeof n=="string"?this._resolvedThemes.get(n):this.loadTheme(n)}loadTheme(n){const r=pl(n);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=lo.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new Zn(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars.get(n)}loadLanguage(n){var i,a,l,c;if(this.getGrammar(n.name))return;const r=new Set([...this._langMap.values()].filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const s={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const o=this.loadGrammarWithConfiguration(n.scopeName,1,s);if(o.name=n.name,this._resolvedGrammars.set(n.name,o),n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)this._resolvedGrammars.delete(u.name),this._loadedLanguagesCache=null,(a=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||a.delete(u.scopeName),(c=(l=this._syncRegistry)==null?void 0:l._grammars)==null||c.delete(u.scopeName),this.loadLanguage(this._langMap.get(u.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(n){for(const o of n)this.resolveEmbeddedLanguages(o);const r=Array.from(this._langGraph.entries()),s=r.filter(([o,i])=>!i);if(s.length){const o=r.filter(([i,a])=>{var l;return a&&((l=a.embeddedLangs)==null?void 0:l.some(c=>s.map(([u])=>u).includes(c)))}).filter(i=>!s.includes(i));throw new Zn(`Missing languages ${s.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of r)this._resolver.addLanguage(i);for(const[o,i]of r)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap.set(n.name,n),this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap.get(r))}}class ZC{constructor(t,n){k(this,"_langs",new Map);k(this,"_scopeToLang",new Map);k(this,"_injections",new Map);k(this,"_onigLib");this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let s=1;s<=n.length;s++){const o=n.slice(0,s).join(".");r=[...r,...this._injections.get(o)||[]]}return r}}let kr=0;function e1(e){kr+=1,e.warnings!==!1&&kr>=10&&kr%10===0&&console.warn(`[Shiki] ${kr} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Zn("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(pl),s=new ZC(e.engine,n),o=new YC(s,r,n,e.langAlias);let i;function a(S){y();const g=o.getGrammar(typeof S=="string"?S:S.name);if(!g)throw new Zn(`Language \`${S}\` not found, you may need to load it first`);return g}function l(S){if(S==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const g=o.getTheme(S);if(!g)throw new Zn(`Theme \`${S}\` not found, you may need to load it first`);return g}function c(S){y();const g=l(S);i!==S&&(o.setTheme(g),i=S);const b=o.getColorMap();return{theme:g,colorMap:b}}function u(){return y(),o.getLoadedThemes()}function f(){return y(),o.getLoadedLanguages()}function h(...S){y(),o.loadLanguages(S.flat(1))}async function d(...S){return h(await Id(S))}function p(...S){y();for(const g of S.flat(1))o.loadTheme(g)}async function m(...S){return y(),p(await Ld(S))}function y(){if(t)throw new Zn("Shiki instance has been disposed")}function v(){t||(t=!0,o.dispose(),kr-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadLanguageSync:h,loadTheme:m,loadThemeSync:p,dispose:v,[Symbol.dispose]:v}}async function t1(e){e.engine||QC("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([Ld(e.themes||[]),Id(e.langs||[]),e.engine]);return e1({...e,themes:t,langs:n,engine:r})}async function n1(e){const t=await t1(e);return{getLastGrammarState:(...n)=>HC(t,...n),codeToTokensBase:(n,r)=>dl(t,n,r),codeToTokensWithThemes:(n,r)=>Od(t,n,r),codeToTokens:(n,r)=>yo(t,n,r),codeToHast:(n,r)=>_o(t,n,r),codeToHtml:(n,r)=>JC(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const gl=String.raw,au=gl`(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})`,lu=gl`\u{E0061}-\u{E007A}`,r1=()=>new RegExp(gl`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${lu}]{2}[\u{E0030}-\u{E0039}${lu}]{1,3}\u{E007F}|${au}(?:\u200D${au})*`,"gu"),s1=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function o1(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function i1(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const ht=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function ml(e,t,n,r){const s=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),o=[!1];let i=0,a="";for(const l of e.matchAll(s)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!r||r===ht.DEFAULT==!i)){n instanceof Function?a+=n(l,{context:i?ht.CHAR_CLASS:ht.DEFAULT,negated:o[o.length-1]}):a+=n;continue}c[0]==="["?(i++,o.push(c[1]==="^")):c==="]"&&i&&(i--,o.pop()),a+=c}return a}function Md(e,t,n,r){ml(e,t,n,r)}function a1(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const s=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");s.lastIndex=n;let o=0,i;for(;i=s.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!r||r===ht.DEFAULT==!o))return i;a==="["?o++:a==="]"&&o&&o--,s.lastIndex==i.index&&s.lastIndex++}return null}function ks(e,t,n){return!!a1(e,t,0,n)}function l1(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,s=0,o=1,i;for(;i=n.exec(e);){const[a]=i;if(a==="[")s++;else if(s)a==="]"&&s--;else if(a==="(")o++;else if(a===")"&&(o--,!o)){r=i.index;break}}return e.slice(t,r)}const cu=new RegExp(String.raw`(?<noncapturingStart>${s1})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function c1(e,t){const n=(t==null?void 0:t.hiddenCaptures)??[];let r=(t==null?void 0:t.captureTransfers)??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const s="(?>",o="(?:(?=(",i=[0],a=[];let l=0,c=0,u=NaN,f;do{f=!1;let h=0,d=0,p=!1,m;for(cu.lastIndex=Number.isNaN(u)?0:u+o.length;m=cu.exec(e);){const{0:y,index:v,groups:{capturingStart:S,noncapturingStart:g}}=m;if(y==="[")h++;else if(h)y==="]"&&h--;else if(y===s&&!p)u=v,p=!0;else if(p&&g)d++;else if(S)p?d++:(l++,i.push(l+c));else if(y===")"&&p){if(!d){c++;const b=l+c;if(e=`${e.slice(0,u)}${o}${e.slice(u+s.length,v)}))<$$${b}>)${e.slice(v+1)}`,f=!0,a.push(b),o1(n,b),r.size){const C=new Map;r.forEach((T,x)=>{C.set(x>=b?x+1:x,T.map(M=>M>=b?M+1:M))}),r=C}break}d--}}}while(f);return n.push(...a),e=ml(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:h,groups:{backrefNum:d,wrappedBackrefNum:p}})=>{if(d){const m=+d;if(m>i.length-1)throw new Error(`Backref "${h}" greater than number of captures`);return`\\${i[m]}`}return`\\${p}`},ht.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const Dd=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,ki=new RegExp(String.raw`
|
|
31
|
+
\\(?: \d+
|
|
32
|
+
| c[A-Za-z]
|
|
33
|
+
| [gk]<[^>]+>
|
|
34
|
+
| [pPu]\{[^\}]+\}
|
|
35
|
+
| u[A-Fa-f\d]{4}
|
|
36
|
+
| x[A-Fa-f\d]{2}
|
|
37
|
+
)
|
|
38
|
+
| \((?: \? (?: [:=!>]
|
|
39
|
+
| <(?:[=!]|[^>]+>)
|
|
40
|
+
| [A-Za-z\-]+:
|
|
41
|
+
| \(DEFINE\)
|
|
42
|
+
))?
|
|
43
|
+
| (?<qBase>${Dd})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
|
|
44
|
+
| \\?.
|
|
45
|
+
`.replace(/\s+/g,""),"gsu");function u1(e){if(!new RegExp(`${Dd}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,s="",o=0,i;for(ki.lastIndex=0;i=ki.exec(e);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:f}}=i;if(a==="[")o||(r=l),o++;else if(a==="]")o?o--:r=null;else if(!o)if(u==="+"&&s&&!s.startsWith("(")){if(f)throw new Error(`Invalid quantifier "${a}"`);let h=-1;if(/^\{\d+\}$/.test(c))e=i1(e,l+c.length,u,"");else{if(s===")"||s==="]"){const d=s===")"?n:r;if(d===null)throw new Error(`Invalid unmatched "${s}"`);e=`${e.slice(0,d)}(?>${e.slice(d,l)}${c})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-s.length)}(?>${s}${c})${e.slice(l+a.length)}`;h+=4}ki.lastIndex+=h}else a[0]==="("?t.push(l):a===")"&&(n=t.length?t.pop():null);s=a}return{pattern:e}}const ut=String.raw,f1=ut`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,wa=ut`\(\?R=(?<rDepth>[^\)]+)\)|${f1}`,Vo=ut`\(\?<(?![=!])(?<captureName>[^>]+)>`,Hd=ut`${Vo}|(?<unnamed>\()(?!\?)`,xn=new RegExp(ut`${Vo}|${wa}|\(\?|\\?.`,"gsu"),Ai="Cannot use multiple overlapping recursions";function h1(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let s=(t==null?void 0:t.captureTransfers)??new Map;if(!new RegExp(wa,"su").test(e))return{pattern:e,captureTransfers:s,hiddenCaptures:n};if(r==="plugin"&&ks(e,ut`\(\?\(DEFINE\)`,ht.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const o=[],i=ks(e,ut`\\[1-9]`,ht.DEFAULT),a=new Map,l=[];let c=!1,u=0,f=0,h;for(xn.lastIndex=0;h=xn.exec(e);){const{0:d,groups:{captureName:p,rDepth:m,gRNameOrNum:y,gRDepth:v}}=h;if(d==="[")u++;else if(u)d==="]"&&u--;else if(m){if(uu(m),c)throw new Error(Ai);if(i)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const S=e.slice(0,h.index),g=e.slice(xn.lastIndex);if(ks(g,wa,ht.DEFAULT))throw new Error(Ai);const b=+m-1;e=fu(S,g,b,!1,n,o,f),s=du(s,S,b,o.length,0,f);break}else if(y){uu(v);let S=!1;for(const G of l)if(G.name===y||G.num===+y){if(S=!0,G.hasRecursedWithin)throw new Error(Ai);break}if(!S)throw new Error(ut`Recursive \g cannot be used outside the referenced group "${r==="external"?y:ut`\g<${y}&R=${v}>`}"`);const g=a.get(y),b=l1(e,g);if(i&&ks(b,ut`${Vo}|\((?!\?)`,ht.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const C=e.slice(g,h.index),T=b.slice(C.length+d.length),x=o.length,M=+v-1,H=fu(C,T,M,!0,n,o,f);s=du(s,C,M,o.length-x,x,f);const O=e.slice(0,g),D=e.slice(g+b.length);e=`${O}${H}${D}`,xn.lastIndex+=H.length-d.length-C.length-T.length,l.forEach(G=>G.hasRecursedWithin=!0),c=!0}else if(p)f++,a.set(String(f),xn.lastIndex),a.set(p,xn.lastIndex),l.push({num:f,name:p});else if(d[0]==="("){const S=d==="(";S&&(f++,a.set(String(f),xn.lastIndex)),l.push(S?{num:f}:{})}else d===")"&&l.pop()}return n.push(...o),{pattern:e,captureTransfers:s,hiddenCaptures:n}}function uu(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function fu(e,t,n,r,s,o,i){const a=new Set;r&&Md(e+t,Vo,({groups:{captureName:c}})=>{a.add(c)},ht.DEFAULT);const l=[n,r?a:null,s,o,i];return`${e}${hu(`(?:${e}`,"forward",...l)}(?:)${hu(`${t})`,"backward",...l)}${t}`}function hu(e,t,n,r,s,o,i){const l=u=>t==="forward"?u+2:n-u+2-1;let c="";for(let u=0;u<n;u++){const f=l(u);c+=ml(e,ut`${Hd}|\\k<(?<backref>[^>]+)>`,({0:h,groups:{captureName:d,unnamed:p,backref:m}})=>{if(m&&r&&!r.has(m))return h;const y=`_$${f}`;if(p||d){const v=i+o.length+1;return o.push(v),d1(s,v),p?h:`(?<${d}${y}>`}return ut`\k<${m}${y}>`},ht.DEFAULT)}return c}function d1(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function du(e,t,n,r,s,o){if(e.size&&r){let i=0;Md(t,Hd,()=>i++,ht.DEFAULT);const a=o-i+s,l=new Map;return e.forEach((c,u)=>{const f=(r-i*n)/n,h=i*n,d=u>a+i?u+r:u,p=[];for(const m of c)if(m<=a)p.push(m);else if(m>a+i+f)p.push(m+r);else if(m<=a+i)for(let y=0;y<=n;y++)p.push(m+i*y);else for(let y=0;y<=n;y++)p.push(m+h+f*y);l.set(d,p)}),l}return e}var Ne=String.fromCodePoint,J=String.raw,p1=(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),g1=(()=>{try{new RegExp("","v")}catch{return!1}return!0})();function vo(e,{enable:t,disable:n}){return{dotAll:!(n!=null&&n.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(n!=null&&n.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}function yr(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Ca(e,t){return pu[e]>=pu[t]}function It(e,t){if(!e)throw new Error(t??"Value expected");return e}var pu={ES2025:2025,ES2024:2024,ES2018:2018},m1={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function Fd(e){if((e==null?void 0:e.target)!==void 0&&!m1[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e==null?void 0:e.rules}};return t.target==="auto"&&(t.target=p1?"ES2025":g1?"ES2024":"ES2018"),t}var y1=new Set([Ne(304),Ne(305)]);function Bd(e){if(y1.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),s=w1.get(n),o=v1.get(n),i=b1.get(n);return[...r].length===1&&t.add(r),i&&t.add(i),s&&t.add(s),t.add(n),o&&t.add(o),[...t]}var jd=new Set(`C Other
|
|
46
|
+
Cc Control cntrl
|
|
47
|
+
Cf Format
|
|
48
|
+
Cn Unassigned
|
|
49
|
+
Co Private_Use
|
|
50
|
+
Cs Surrogate
|
|
51
|
+
L Letter
|
|
52
|
+
LC Cased_Letter
|
|
53
|
+
Ll Lowercase_Letter
|
|
54
|
+
Lm Modifier_Letter
|
|
55
|
+
Lo Other_Letter
|
|
56
|
+
Lt Titlecase_Letter
|
|
57
|
+
Lu Uppercase_Letter
|
|
58
|
+
M Mark Combining_Mark
|
|
59
|
+
Mc Spacing_Mark
|
|
60
|
+
Me Enclosing_Mark
|
|
61
|
+
Mn Nonspacing_Mark
|
|
62
|
+
N Number
|
|
63
|
+
Nd Decimal_Number digit
|
|
64
|
+
Nl Letter_Number
|
|
65
|
+
No Other_Number
|
|
66
|
+
P Punctuation punct
|
|
67
|
+
Pc Connector_Punctuation
|
|
68
|
+
Pd Dash_Punctuation
|
|
69
|
+
Pe Close_Punctuation
|
|
70
|
+
Pf Final_Punctuation
|
|
71
|
+
Pi Initial_Punctuation
|
|
72
|
+
Po Other_Punctuation
|
|
73
|
+
Ps Open_Punctuation
|
|
74
|
+
S Symbol
|
|
75
|
+
Sc Currency_Symbol
|
|
76
|
+
Sk Modifier_Symbol
|
|
77
|
+
Sm Math_Symbol
|
|
78
|
+
So Other_Symbol
|
|
79
|
+
Z Separator
|
|
80
|
+
Zl Line_Separator
|
|
81
|
+
Zp Paragraph_Separator
|
|
82
|
+
Zs Space_Separator
|
|
83
|
+
ASCII
|
|
84
|
+
ASCII_Hex_Digit AHex
|
|
85
|
+
Alphabetic Alpha
|
|
86
|
+
Any
|
|
87
|
+
Assigned
|
|
88
|
+
Bidi_Control Bidi_C
|
|
89
|
+
Bidi_Mirrored Bidi_M
|
|
90
|
+
Case_Ignorable CI
|
|
91
|
+
Cased
|
|
92
|
+
Changes_When_Casefolded CWCF
|
|
93
|
+
Changes_When_Casemapped CWCM
|
|
94
|
+
Changes_When_Lowercased CWL
|
|
95
|
+
Changes_When_NFKC_Casefolded CWKCF
|
|
96
|
+
Changes_When_Titlecased CWT
|
|
97
|
+
Changes_When_Uppercased CWU
|
|
98
|
+
Dash
|
|
99
|
+
Default_Ignorable_Code_Point DI
|
|
100
|
+
Deprecated Dep
|
|
101
|
+
Diacritic Dia
|
|
102
|
+
Emoji
|
|
103
|
+
Emoji_Component EComp
|
|
104
|
+
Emoji_Modifier EMod
|
|
105
|
+
Emoji_Modifier_Base EBase
|
|
106
|
+
Emoji_Presentation EPres
|
|
107
|
+
Extended_Pictographic ExtPict
|
|
108
|
+
Extender Ext
|
|
109
|
+
Grapheme_Base Gr_Base
|
|
110
|
+
Grapheme_Extend Gr_Ext
|
|
111
|
+
Hex_Digit Hex
|
|
112
|
+
IDS_Binary_Operator IDSB
|
|
113
|
+
IDS_Trinary_Operator IDST
|
|
114
|
+
ID_Continue IDC
|
|
115
|
+
ID_Start IDS
|
|
116
|
+
Ideographic Ideo
|
|
117
|
+
Join_Control Join_C
|
|
118
|
+
Logical_Order_Exception LOE
|
|
119
|
+
Lowercase Lower
|
|
120
|
+
Math
|
|
121
|
+
Noncharacter_Code_Point NChar
|
|
122
|
+
Pattern_Syntax Pat_Syn
|
|
123
|
+
Pattern_White_Space Pat_WS
|
|
124
|
+
Quotation_Mark QMark
|
|
125
|
+
Radical
|
|
126
|
+
Regional_Indicator RI
|
|
127
|
+
Sentence_Terminal STerm
|
|
128
|
+
Soft_Dotted SD
|
|
129
|
+
Terminal_Punctuation Term
|
|
130
|
+
Unified_Ideograph UIdeo
|
|
131
|
+
Uppercase Upper
|
|
132
|
+
Variation_Selector VS
|
|
133
|
+
White_Space space
|
|
134
|
+
XID_Continue XIDC
|
|
135
|
+
XID_Start XIDS`.split(/\s/)),Gd=new Map;for(const e of jd)Gd.set(zo(e),e);var _1=new Set(["Basic_Emoji","Emoji_Keycap_Sequence","RGI_Emoji","RGI_Emoji_Flag_Sequence","RGI_Emoji_Modifier_Sequence","RGI_Emoji_Tag_Sequence","RGI_Emoji_ZWJ_Sequence"]),Ud=new Map;for(const e of _1)Ud.set(zo(e),e);var v1=new Map([["s",Ne(383)],[Ne(383),"s"]]),b1=new Map([[Ne(223),Ne(7838)],[Ne(107),Ne(8490)],[Ne(229),Ne(8491)],[Ne(969),Ne(8486)]]),w1=new Map([Yt(453),Yt(456),Yt(459),Yt(498),...Ti(8072,8079),...Ti(8088,8095),...Ti(8104,8111),Yt(8124),Yt(8140),Yt(8188)]),Wd=new Map([["alnum",J`[\p{Alpha}\p{Nd}]`],["alpha",J`\p{Alpha}`],["ascii",J`\p{ASCII}`],["blank",J`[\p{Zs}\t]`],["cntrl",J`\p{cntrl}`],["digit",J`\p{Nd}`],["graph",J`[\P{space}&&\P{cntrl}&&\P{Cn}&&\P{Cs}]`],["lower",J`\p{Lower}`],["print",J`[[\P{space}&&\P{cntrl}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",J`[\p{P}\p{S}]`],["space",J`\p{space}`],["upper",J`\p{Upper}`],["word",J`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",J`\p{AHex}`]]),C1=new Set(["alnum","blank","graph","print","word","xdigit"]);function S1(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function zo(e){return e.replace(/[- _]+/g,"").toLowerCase()}function Yt(e){const t=Ne(e);return[t.toLowerCase(),t]}function Ti(e,t){return S1(e,t).map(n=>Yt(n))}var Vd=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]),K={Alternator:"Alternator",Assertion:"Assertion",Backreference:"Backreference",Character:"Character",CharacterClassClose:"CharacterClassClose",CharacterClassHyphen:"CharacterClassHyphen",CharacterClassIntersector:"CharacterClassIntersector",CharacterClassOpen:"CharacterClassOpen",CharacterSet:"CharacterSet",Directive:"Directive",GroupClose:"GroupClose",GroupOpen:"GroupOpen",Subroutine:"Subroutine",Quantifier:"Quantifier",VariableLengthCharacterSet:"VariableLengthCharacterSet",EscapedNumber:"EscapedNumber"},Fe={any:"any",digit:"digit",dot:"dot",hex:"hex",non_newline:"non_newline",posix:"posix",property:"property",space:"space",word:"word"},qo={flags:"flags",keep:"keep"},Ge={absent_repeater:"absent_repeater",atomic:"atomic",capturing:"capturing",group:"group",lookahead:"lookahead",lookbehind:"lookbehind"},gu=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]),zd=J`\[\^?`,qd=`c.? | C(?:-.?)?|${J`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${J`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${J`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${J`o\{[^\}]*\}?`}|${J`\d{1,3}`}`,Kd=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,As=new RegExp(J`
|
|
136
|
+
\\ (?:
|
|
137
|
+
${qd}
|
|
138
|
+
| [gk]<[^>]*>?
|
|
139
|
+
| [gk]'[^']*'?
|
|
140
|
+
| .
|
|
141
|
+
)
|
|
142
|
+
| \( (?: \? (?:
|
|
143
|
+
[:=!>(]
|
|
144
|
+
| <[=!]
|
|
145
|
+
| <[^>]*>
|
|
146
|
+
| '[^']*'
|
|
147
|
+
| ~\|?
|
|
148
|
+
| # (?:[^)\\] | \\.?)*
|
|
149
|
+
| [imx\-]+[:)]
|
|
150
|
+
)?)?
|
|
151
|
+
| ${Kd.source}
|
|
152
|
+
| ${zd}
|
|
153
|
+
| .
|
|
154
|
+
`.replace(/\s+/g,""),"gsu"),Ei=new RegExp(J`
|
|
155
|
+
\\ (?:
|
|
156
|
+
${qd}
|
|
157
|
+
| .
|
|
158
|
+
)
|
|
159
|
+
| \[:(?:\^?\p{Alpha}+|\^):\]
|
|
160
|
+
| ${zd}
|
|
161
|
+
| &&
|
|
162
|
+
| .
|
|
163
|
+
`.replace(/\s+/g,""),"gsu");function Jd(e,t="",n){if(n={captureGroup:!1,singleline:!1,...n},typeof e!="string")throw new Error("String expected as pattern");if(!/^[imxDSW]*$/.test(t))throw new Error(`Flags "${t}" includes unsupported value`);const r=t.includes("x"),s=[r],o={captureGroup:n.captureGroup,getCurrentModX:()=>s.at(-1),numOpenGroups:0,popModX(){s.pop()},pushModX(f){s.push(f)},replaceCurrentModX(f){s[s.length-1]=f},singleline:n.singleline};let i=[],a;for(As.lastIndex=0;a=As.exec(e);){const f=x1(o,e,a[0],As.lastIndex);f.tokens?i.push(...f.tokens):f.token&&i.push(f.token),f.lastIndex!==void 0&&(As.lastIndex=f.lastIndex)}const l=[];let c=0;i.forEach(f=>{f.type===K.GroupOpen&&(f.kind===Ge.capturing?f.number=++c:f.raw==="("&&l.push(f))}),c||l.forEach((f,h)=>{f.kind=Ge.capturing,f.number=h+1});const u=c||l.length;return i=i.map(f=>f.type===K.EscapedNumber?O1(f,u):f).flat(),{tokens:i,flags:{ignoreCase:t.includes("i"),dotAll:t.includes("m"),extended:r,digitIsAscii:t.includes("D"),spaceIsAscii:t.includes("S"),wordIsAscii:t.includes("W")},rules:n}}function x1(e,t,n,r){const[s,o,i]=n;if(s==="["){const a=k1(t,n,r);return{tokens:a.tokens,lastIndex:a.lastIndex}}if(s==="\\"){if("AbBGzZ".includes(o))return{token:le(K.Assertion,n,{kind:n})};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:le(K.Subroutine,n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:le(K.Backreference,n)}}if(o==="K")return{token:le(K.Directive,n,{kind:qo.keep})};if(o==="N")return{token:le(K.CharacterSet,n,{kind:Fe.non_newline})};if(o==="O")return{token:le(K.CharacterSet,n,{kind:Fe.any})};if("RX".includes(o))return{token:le(K.VariableLengthCharacterSet,n,{kind:n})};if("yY".includes(o))throw new Error(`Unsupported grapheme boundary "${n}"`);const a=Xd(n,{inCharClass:!1});return Array.isArray(a)?{tokens:a}:{token:a}}if(s==="("){if(i==="#"){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if("-imx".includes(i))return{token:E1(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:le(K.GroupOpen,n,{kind:Ge.group})};if(n==="(?>")return{token:le(K.GroupOpen,n,{kind:Ge.atomic})};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:le(K.GroupOpen,n,{kind:i==="<"?Ge.lookbehind:Ge.lookahead,negate:n.endsWith("!")})};if(i==="<"||i==="'"||n==="("&&e.captureGroup){const a=le(K.GroupOpen,n,{kind:Ge.capturing});return n!=="("&&(a.name=n.slice(3,-1)),{token:a}}if(i==="~"){if(n==="(?~|")throw new Error(`Unsupported absent function kind "${n}"`);return{token:le(K.GroupOpen,n,{kind:Ge.absent_repeater})}}throw i==="("?new Error(`Unsupported conditional "${n}"`):n==="(?"?new Error("Invalid group"):new Error(`Unexpected group "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:le(K.GroupClose,n)}}if(n==="#"&&e.getCurrentModX()){const a=t.indexOf(`
|
|
164
|
+
`,r);return{lastIndex:a===-1?t.length:a}}if(/^\s$/.test(n)&&e.getCurrentModX()){const a=/\s+/y;return a.lastIndex=r,{lastIndex:a.exec(t)?a.lastIndex:r}}if(n===".")return{token:le(K.CharacterSet,n,{kind:Fe.dot})};if(n==="^"||n==="$"){const a=e.singleline?{"^":J`\A`,$:J`\Z`}[n]:n;return{token:le(K.Assertion,n,{kind:a})}}return n==="|"?{token:le(K.Alternator,n)}:Kd.test(n)?{token:R1(n)}:(Qd(n),{token:le(K.Character,n,{value:n.codePointAt(0)})})}function k1(e,t,n){const r=[le(K.CharacterClassOpen,t,{negate:t[1]==="^"})];let s=1,o;for(Ei.lastIndex=n;o=Ei.exec(e);){const i=o[0];if(i[0]==="["&&i[1]!==":")s++,r.push(le(K.CharacterClassOpen,i,{negate:i[1]==="^"}));else if(i==="]"){if(r.at(-1).type===K.CharacterClassOpen)r.push(le(K.Character,i,{value:93}));else if(s--,r.push(le(K.CharacterClassClose,i)),!s)break}else{const a=A1(i);Array.isArray(a)?r.push(...a):r.push(a)}}return{tokens:r,lastIndex:Ei.lastIndex||e.length}}function A1(e){if(e[0]==="\\")return Xd(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!Wd.get(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return le(K.CharacterSet,e,{kind:Fe.posix,negate:!!t.groups.negate,value:t.groups.name})}return e==="-"?le(K.CharacterClassHyphen,e):e==="&&"?le(K.CharacterClassIntersector,e):(Qd(e),le(K.Character,e,{value:e.codePointAt(0)}))}function Xd(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return T1(e);if("dDhHsSwW".includes(n))return P1(e);if(e.startsWith(J`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return $1(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(a=>parseInt(a,16)),s=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),o=new TextEncoder;return[...s].map(a=>{const l=[...o.encode(a)].map(c=>`\\x${c.toString(16)}`).join("");return le(K.Character,l,{value:a.codePointAt(0)})})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return le(K.Character,e,{value:N1(e)});if(gu.has(n))return le(K.Character,e,{value:gu.get(n)});if(/\d/.test(n))return le(K.EscapedNumber,e,{inCharClass:t});if(e==="\\")throw new Error(J`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return le(K.Character,e,{value:e.codePointAt(1)});throw new Error(`Unexpected escape "${e}"`)}function le(e,t,n){return{type:e,raw:t,...n}}function T1(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return le(K.Character,e,{value:t.toUpperCase().codePointAt(0)-64})}function E1(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[imx\-]*))?/.exec(e).groups;r??(r="");const s=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),o=mu(n),i=mu(r),a={};if(o&&(a.enable=o),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(s),le(K.Directive,e,{kind:qo.flags,flags:a});if(e.endsWith(":")){t.pushModX(s),t.numOpenGroups++;const l=le(K.GroupOpen,e,{kind:Ge.group});return(o||i)&&(l.flags=a),l}throw new Error(`Unexpected flag modifier "${e}"`)}function R1(e){const t={};if(e[0]==="{"){const{min:n,max:r}=/^\{(?<min>\d*)(?:,(?<max>\d*))?/.exec(e).groups,s=1e5;if(+n>s||+r>s)throw new Error("Quantifier value unsupported in Oniguruma");t.min=+n,t.max=r===void 0?+n:r===""?1/0:+r,t.greedy=!e.endsWith("?"),t.possessive=!1}else t.min=e[0]==="+"?1:0,t.max=e[0]==="?"?1:1/0,t.greedy=e[1]!=="?",t.possessive=e[1]==="+";return le(K.Quantifier,e,t)}function P1(e){const t=e[1].toLowerCase();return le(K.CharacterSet,e,{kind:{d:Fe.digit,h:Fe.hex,s:Fe.space,w:Fe.word}[t],negate:e[1]!==t})}function $1(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups,s=t==="P"&&!n||t==="p"&&!!n;return le(K.CharacterSet,e,{kind:Fe.property,negate:s,value:r})}function mu(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function N1(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function O1(e,t){const{raw:n,inCharClass:r}=e,s=n.slice(1);if(!r&&(s!=="0"&&s.length===1||s[0]!=="0"&&+s<=t))return[le(K.Backreference,n)];const o=[],i=s.match(/^[0-7]+|\d/g);for(let a=0;a<i.length;a++){const l=i[a];let c;if(a===0&&l!=="8"&&l!=="9"){if(c=parseInt(l,8),c>127)throw new Error(J`Octal encoded byte above 177 unsupported "${n}"`)}else c=l.codePointAt(0);o.push(le(K.Character,(a===0?"\\":"")+l,{value:c}))}return o}function Qd(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`)}function yl({alternatives:e},t){return e.length===1&&e[0].elements.length===1&&(!t||t(e[0].elements[0]))}function I1({type:e}){return e===P.Assertion||e===P.Directive}function L1(e){const t=[P.Character,P.CharacterClass,P.CharacterSet];return t.includes(e.type)||e.type===P.Quantifier&&e.min&&t.includes(e.element.type)}function Yd({type:e}){return e===P.CapturingGroup||e===P.Group}function us({type:e,kind:t}){return e===P.Assertion&&(t===de.lookahead||t===de.lookbehind)}function cr(e,t,n){let r=e.node;for(;r.parent;)r=r.parent;function s(i,a){for(let l=0;l<i.length;l++){const c=o(i[l],a,l,i);l=Math.max(-1,l+c)}}function o(i,a=null,l=null,c=null){let u=0,f=!1;const h={node:i,parent:a,key:l,container:c,ast:r,remove(){It(c,"Container expected").splice(Math.max(0,l+u),1),u-=1},removeAllNextSiblings(){return It(c,"Container expected").splice(l+1)},removeAllPrevSiblings(){const v=l+u;return u-=v,It(c,"Container expected").splice(0,Math.max(0,v))},replaceWith(v){D1(v,a),c?c[Math.max(0,l+u)]=v:a[l]=v},skip(){f=!0}},d=M1(i).find(v=>!!n[v]),p=d&&n[d],m=typeof p=="function"?p:p==null?void 0:p.enter,y=p==null?void 0:p.exit;if(m==null||m(h,t),!f)switch(i.type){case P.Regex:o(i.pattern,i,"pattern"),o(i.flags,i,"flags");break;case P.Alternative:case P.CharacterClass:s(i.elements,i);break;case P.Assertion:us(i)&&s(i.alternatives,i);break;case P.Backreference:case P.Character:case P.CharacterSet:case P.Directive:case P.Flags:case P.Recursion:case P.Subroutine:case P.VariableLengthCharacterSet:break;case P.AbsentFunction:case P.CapturingGroup:case P.Group:case P.Pattern:s(i.alternatives,i);break;case P.CharacterClassIntersection:s(i.classes,i);break;case P.CharacterClassRange:o(i.min,i,"min"),o(i.max,i,"max");break;case P.Quantifier:o(i.element,i,"element");break;default:throw new Error(`Unexpected node type "${i.type}"`)}return y==null||y(h,t),u}o(e.node,e.parent,e.key,e.container)}var yu={AnyGroup:"AnyGroup",AnyNode:"AnyNode"};function M1(e){const t=[yu.AnyNode];return(Yd(e)||us(e))&&t.push(yu.AnyGroup),t.push(e.type),t}function D1(e,t){"parent"in t&&(e.parent=t)}var P={AbsentFunction:"AbsentFunction",Alternative:"Alternative",Assertion:"Assertion",Backreference:"Backreference",CapturingGroup:"CapturingGroup",Character:"Character",CharacterClass:"CharacterClass",CharacterClassIntersection:"CharacterClassIntersection",CharacterClassRange:"CharacterClassRange",CharacterSet:"CharacterSet",Directive:"Directive",Flags:"Flags",Group:"Group",Pattern:"Pattern",Quantifier:"Quantifier",Regex:"Regex",Subroutine:"Subroutine",VariableLengthCharacterSet:"VariableLengthCharacterSet",Recursion:"Recursion"},H1={repeater:"repeater"},de={line_end:"line_end",line_start:"line_start",lookahead:"lookahead",lookbehind:"lookbehind",search_start:"search_start",string_end:"string_end",string_end_newline:"string_end_newline",string_start:"string_start",word_boundary:"word_boundary"},Te=Fe,Hs=qo,bo={grapheme:"grapheme",newline:"newline"};function Zd({tokens:e,flags:t,rules:n},r){const s={skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,verbose:!1,...r},o={capturingGroups:[],current:0,hasNumberedRef:!1,namedGroupsByName:new Map,parent:null,skipBackrefValidation:s.skipBackrefValidation,skipLookbehindValidation:s.skipLookbehindValidation,skipPropertyNameValidation:s.skipPropertyNameValidation,subroutines:[],token:null,tokens:e,verbose:s.verbose,walk:i};function i(d,p){const m=e[o.current];switch(o.parent=d,o.token=m,o.current++,m.type){case K.Alternator:return _n();case K.Assertion:return q1(m);case K.Backreference:return F1(o);case K.Character:return np(m.value,{useLastValid:!!p.isCheckingRangeEnd});case K.CharacterClassHyphen:return B1(o,p);case K.CharacterClassOpen:return j1(o,p);case K.CharacterSet:return G1(o);case K.Directive:return Q1(m);case K.GroupOpen:return U1(o,p);case K.Quantifier:return W1(o);case K.Subroutine:return V1(o);case K.VariableLengthCharacterSet:return nS(m.kind);default:throw new Error(`Unexpected token type "${m.type}"`)}}const a=eS(Z1(),Y1(t));let l=a.pattern.alternatives[0];for(;o.current<e.length;){const d=i(l,{});d.type===P.Alternative?(a.pattern.alternatives.push(d),l=d):l.elements.push(d)}const{capturingGroups:c,hasNumberedRef:u,namedGroupsByName:f,subroutines:h}=o;if(u&&f.size&&!n.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:d}of h)if(typeof d=="number"){if(d>c.length)throw new Error("Subroutine uses a group number that's not defined")}else if(f.has(d)){if(f.get(d).length>1)throw new Error(J`Subroutine uses a duplicate group name "\g<${d}>"`)}else throw new Error(J`Subroutine uses a group name that's not defined "\g<${d}>"`);return cr({node:a},null,{AnyNode({node:d,parent:p}){d.parent=p}}),a}function F1(e){const{raw:t}=e.token,n=/^\\k[<']/.test(t),r=n?t.slice(3,-1):t.slice(1),s=(o,i=!1)=>{const a=e.capturingGroups.length;let l=!1;if(o>a)if(e.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${t}"`);return e.hasNumberedRef=!0,Sa(i?a+1-o:o,{orphan:l})};if(n){const o=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(o)return s(+o.groups.num,!!o.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${t}"`);if(!e.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${t}"`);return Sa(r)}return s(+r)}function B1(e,t){const{parent:n,tokens:r,walk:s}=e,o=n.elements.at(-1),i=r[e.current];if(!t.isCheckingRangeEnd&&o&&o.type!==P.CharacterClass&&o.type!==P.CharacterClassRange&&i&&i.type!==K.CharacterClassOpen&&i.type!==K.CharacterClassClose&&i.type!==K.CharacterClassIntersector){const a=s(n,{...t,isCheckingRangeEnd:!0});if(o.type===P.Character&&a.type===P.Character)return n.elements.pop(),X1(o,a);throw new Error("Invalid character class range")}return np(45)}function j1(e,t){const{token:n,tokens:r,verbose:s,walk:o}=e,i=r[e.current];let a=xa({negate:n.negate});const l=a.elements[0];let c=_u(i);for(;c.type!==K.CharacterClassClose;){if(c.type===K.CharacterClassIntersector)l.classes.push(xa({negate:!1,baseOnly:!0})),e.current++;else{const u=l.classes.at(-1);u.elements.push(o(u,t))}c=_u(r[e.current],i)}if(s||iS(l),l.classes.length===1){const u=l.classes[0];u.negate=a.negate!==u.negate,a=u}return e.current++,a}function G1({token:e,skipPropertyNameValidation:t}){let{kind:n,negate:r,value:s}=e;if(n===Fe.property){const o=zo(s);if(C1.has(o))n=Fe.posix,s=o;else return Jn(s,{negate:r,skipPropertyNameValidation:t})}return n===Fe.posix?{type:P.CharacterSet,kind:Te.posix,negate:r,value:s}:ka(n,{negate:r})}function U1(e,t){const{token:n,tokens:r,capturingGroups:s,namedGroupsByName:o,skipLookbehindValidation:i,verbose:a,walk:l}=e;let c=K1(n);const u=c.type===P.AbsentFunction,f=c.kind===de.lookbehind,h=f&&c.negate;if(c.type===P.CapturingGroup&&(s.push(c),c.name&&yr(o,c.name,[]).push(c)),u&&t.isInAbsentFunction)throw new Error("Nested absent function not supported by Oniguruma");let d=vu(r[e.current]);for(;d.type!==K.GroupClose;){if(d.type===K.Alternator)c.alternatives.push(_n()),e.current++;else{const p=c.alternatives.at(-1),m=l(p,{...t,isInAbsentFunction:t.isInAbsentFunction||u,isInLookbehind:t.isInLookbehind||f,isInNegLookbehind:t.isInNegLookbehind||h});if(p.elements.push(m),(f||t.isInLookbehind)&&!i){const y="Lookbehind includes a pattern not allowed by Oniguruma";if(h||t.isInNegLookbehind){if(m.kind===de.lookahead||m.type===P.CapturingGroup)throw new Error(y)}else if(m.kind===de.lookahead||m.kind===de.lookbehind&&m.negate)throw new Error(y)}}d=vu(r[e.current])}return a||(c=sS(c)),e.current++,c}function W1({token:e,parent:t}){const{min:n,max:r,greedy:s,possessive:o}=e,i=t.elements.at(-1);if(!i||i.type===P.Assertion||i.type===P.Directive)throw new Error("Quantifier requires a repeatable token");const a=rp(i,n,r,s,o);return t.elements.pop(),a}function V1(e){const{token:t,capturingGroups:n,subroutines:r}=e;let s=t.raw.slice(3,-1);const o=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(s);if(o){const a=+o.groups.num,l=n.length;if(e.hasNumberedRef=!0,s={"":a,"+":l+a,"-":l+1-a}[o.groups.sign],s<1)throw new Error("Invalid subroutine number")}else s==="0"&&(s=0);const i=tS(s);return r.push(i),i}function z1(e){return{type:P.AbsentFunction,kind:e,alternatives:[_n()]}}function _n(){return{type:P.Alternative,elements:[]}}function ep(e,t){const n=!!(t!=null&&t.negate);return{type:P.Assertion,kind:e,...e===de.word_boundary&&{negate:n}}}function q1({kind:e}){return ep(It({"^":de.line_start,$:de.line_end,"\\A":de.string_start,"\\b":de.word_boundary,"\\B":de.word_boundary,"\\G":de.search_start,"\\z":de.string_end,"\\Z":de.string_end_newline}[e],`Unexpected assertion kind "${e}"`),{negate:e===J`\B`})}function Sa(e,t){const n=!!(t!=null&&t.orphan);return{type:P.Backreference,...n&&{orphan:n},ref:e}}function K1({flags:e,kind:t,name:n,negate:r,number:s}){switch(t){case Ge.absent_repeater:return z1(H1.repeater);case Ge.atomic:return Pt({atomic:!0});case Ge.capturing:return tp(s,n);case Ge.group:return Pt({flags:e});case Ge.lookahead:case Ge.lookbehind:return jr({behind:t===Ge.lookbehind,negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function tp(e,t){const n=t!==void 0;if(n&&!oS(t))throw new Error(`Group name "${t}" invalid in Oniguruma`);return{type:P.CapturingGroup,number:e,...n&&{name:t},alternatives:[_n()]}}function np(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:P.Character,value:e}}function xa(e){const t={baseOnly:!1,negate:!1,...e};return{type:P.CharacterClass,negate:t.negate,elements:t.baseOnly?[]:[J1()]}}function J1(){return{type:P.CharacterClassIntersection,classes:[xa({negate:!1,baseOnly:!0})]}}function X1(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:P.CharacterClassRange,min:e,max:t}}function ka(e,{negate:t}){const n={type:P.CharacterSet,kind:It(Te[e],`Unexpected character set kind "${e}"`)};return(e===Fe.digit||e===Fe.hex||e===Fe.space||e===Fe.word)&&(n.negate=t),n}function Q1({kind:e,flags:t}){const n={type:P.Directive,kind:It(Hs[e],`Unexpected directive kind "${e}"`)};return e===qo.flags&&(n.flags=t),n}function Y1({ignoreCase:e,dotAll:t,extended:n,digitIsAscii:r,spaceIsAscii:s,wordIsAscii:o}){return{type:P.Flags,ignoreCase:e,dotAll:t,extended:n,digitIsAscii:r,spaceIsAscii:s,wordIsAscii:o}}function Pt(e){const t=e==null?void 0:e.atomic,n=e==null?void 0:e.flags;return{type:P.Group,...t&&{atomic:t},...n&&{flags:n},alternatives:[_n()]}}function jr(e){const t={behind:!1,negate:!1,...e};return{type:P.Assertion,kind:t.behind?de.lookbehind:de.lookahead,negate:t.negate,alternatives:[_n()]}}function Z1(){return{type:P.Pattern,alternatives:[_n()]}}function rp(e,t,n,r=!0,s=!1){const o={type:P.Quantifier,min:t,max:n,greedy:r,possessive:s,element:e};return n<t?{...o,min:n,max:t,possessive:!0}:o}function eS(e,t){return{type:P.Regex,pattern:e,flags:t}}function tS(e){return{type:P.Subroutine,ref:e}}function Jn(e,t){const n={negate:!1,skipPropertyNameValidation:!1,...t};return{type:P.CharacterSet,kind:Te.property,value:n.skipPropertyNameValidation?e:rS(e),negate:n.negate}}function nS(e){return{type:P.VariableLengthCharacterSet,kind:It({"\\R":bo.newline,"\\X":bo.grapheme}[e],`Unexpected varcharset kind "${e}"`)}}function rS(e){const t=zo(e);if(Ud.has(t))throw new Error(J`Unicode property "\p{${e}}" unsupported in Oniguruma`);const n=Gd.get(t);return n||e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,r=>r[0].toUpperCase()+r.slice(1).toLowerCase())}function sS(e){const t=e.alternatives[0].elements[0];return e.type===P.Group&&yl(e,n=>n.type===P.Group)&&!(e.atomic&&t.flags)&&!(e.flags&&(t.atomic||t.flags))?(e.atomic?t.atomic=!0:e.flags&&(t.flags=e.flags),t):e}function oS(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function iS(e){for(let t=0;t<e.classes.length;t++){const n=e.classes[t],r=n.elements[0];n.elements.length===1&&r.type===P.CharacterClass&&(e.classes[t]=r,r.negate=n.negate!==r.negate)}}function _u(e,t){return It(e,`${(t==null?void 0:t.value)===93?"Empty":"Unclosed"} character class`)}function vu(e){return It(e,"Unclosed group")}function aS(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t},r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Ca(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};cr({node:e},r,sp);const s={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},o={currentFlags:s,prevFlags:null,globalFlags:s,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};cr({node:e},o,op);const i={groupsByName:o.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:o.reffedNodesByReferencer};return cr({node:e},i,lS),e._originMap=o.groupOriginByCopy,e._strategy=r.strategy,e}var sp={AbsentFunction({node:e,replaceWith:t}){const n=Gt(Pt(),[ns(jr({negate:!0}),e.alternatives),Jn("Any")]),r=rp(n,0,1/0);n.parent=r,t(Gt(Pt(),[r]))},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const s=e.elements.filter(o=>o.kind===Hs.flags);for(let o=n+1;o<t.alternatives.length;o++){const i=t.alternatives[o];yr(r,i,[]).push(...s)}},exit({node:e},{flagDirectivesByAlt:t}){var n;if((n=t.get(e))!=null&&n.length){const r=ap(t.get(e));if(r){const s=Gt(Pt({flags:r}),e.elements);s.parent=e,e.elements=[s]}}}},Assertion({node:e,key:t,container:n,ast:r,remove:s,replaceWith:o},i){const{kind:a,negate:l}=e,{asciiWordBoundaries:c,avoidSubclass:u,supportedGNodes:f,wordIsAscii:h}=i;if(a===de.line_end)o(_t(J`(?=\z|\n)`));else if(a===de.line_start)o(_t(J`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}));else if(a===de.lookbehind)i.passedLookbehind=!0;else if(a===de.search_start)if(f.has(e))r.flags.sticky=!0,s();else{const d=n[t-1];if(d&&L1(d))o(Gt(jr({negate:!0})));else{if(u)throw new Error(J`Uses "\G" in a way that requires a subclass`);o(ep(de.string_start)),i.strategy="clip_search"}}else if(a===de.string_end_newline)o(_t(J`(?=\n?\z)`));else if(a===de.word_boundary&&!h&&!c){const d=`(?:(?<=${Bt})(?!${Bt})|(?<!${Bt})(?=${Bt}))`,p=`(?:(?<=${Bt})(?=${Bt})|(?<!${Bt})(?!${Bt}))`;o(_t(l?p:d))}},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Pi(n)&&(n=Ri(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!Pi(r)&&(r=Ri(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterSet({node:e,replaceWith:t},{accuracy:n,minTargetEs2024:r,digitIsAscii:s,spaceIsAscii:o,wordIsAscii:i}){const{kind:a,negate:l,value:c}=e;if(s&&(a===Te.digit||c==="digit")){t(ka(Te.digit,{negate:l}));return}if(o&&(a===Te.space||c==="space")){t($i(_t(cS),l));return}if(i&&(a===Te.word||c==="word")){t(ka(Te.word,{negate:l}));return}if(a===Te.any)t(Jn("Any"));else if(a===Te.digit)t(Jn("Nd",{negate:l}));else if(a===Te.hex)t(Jn("AHex",{negate:l}));else if(a===Te.non_newline)t(_t(J`[^\n]`));else if(a===Te.space)t(Jn("space",{negate:l}));else if(a===Te.word)t($i(_t(Bt),l));else if(a===Te.property)jd.has(c)||(e.key="sc");else if(a===Te.posix)if(!r&&(c==="graph"||c==="print")){if(n==="strict")throw new Error(`POSIX class "${c}" requires min target ES2024 or non-strict accuracy`);let u={graph:"!-~",print:" -~"}[c];l&&(u=`\0-${Ne(u.codePointAt(0)-1)}${Ne(u.codePointAt(2)+1)}-`),t(_t(`[${u}]`))}else t($i(_t(Wd.get(c)),l))},Directive(e,t){const{node:n,parent:r,ast:s,remove:o,replaceWith:i,removeAllPrevSiblings:a,removeAllNextSiblings:l}=e,{kind:c,flags:u}=n;if(c===Hs.flags)if(!u.enable&&!u.disable)o();else{const f=Gt(Pt({flags:u}),l());i(f),fp(f,e,t,sp)}else if(c===Hs.keep){const f=s.pattern.alternatives[0].elements[0],d=yl(s.pattern,p=>p.type===P.Group)&&f.alternatives.length===1?f:s.pattern;if(r.parent!==d||d.alternatives.length>1)throw new Error(J`Uses "\K" in a way that's unsupported`);i(Gt(jr({behind:!0}),a()))}},Flags({node:e,parent:t}){["digitIsAscii","extended","spaceIsAscii","wordIsAscii"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t!=null&&t.extended&&delete t.extended,n!=null&&n.extended&&delete n.extended,t!=null&&t.dotAll&&(n!=null&&n.dotAll)&&delete t.dotAll,t!=null&&t.ignoreCase&&(n!=null&&n.ignoreCase)&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},Pattern:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,s=!1;for(const o of e.alternatives)if(o.elements.length===1&&o.elements[0].kind===de.search_start)o.elements.pop();else{const i=cp(o.elements);i?(r=!0,Array.isArray(i)?n.push(...i):n.push(i)):s=!0}r&&!s&&n.forEach(o=>t.add(o))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(J`Uses "\G" in a way that requires non-strict accuracy`)}},Quantifier({node:e}){if(e.element.type===P.Quantifier){const t=Gt(Pt(),[e.element]);t.parent=e,e.element=t}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Pi(n)&&(n=Ri(n,t),e.ref=n)},VariableLengthCharacterSet({node:e,replaceWith:t},{accuracy:n,minTargetEs2024:r}){const{kind:s}=e;if(s===bo.newline)t(_t(`(?>\r
|
|
165
|
+
?|[
|
|
166
|
+
\v\f
\u2028\u2029])`));else if(s===bo.grapheme){if(n==="strict")throw new Error(J`Use of "\X" requires non-strict accuracy`);const o=r?J`\p{RGI_Emoji}`:r1().source.replace(/\\u\{/g,"\\x{");t(_t(J`(?>\r\n|${o}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}))}else throw new Error(`Unexpected varcharset kind "${s}"`)}},op={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:s}=e;r||n.set(e,[...t.get(s).map(({node:o})=>o)])},CapturingGroup:{enter({node:e,replaceWith:t,skip:n},{groupOriginByCopy:r,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:i,reffedNodesByReferencer:a}){const l=r.get(e);if(l&&i.has(e.number)){const u=bu(e.number);a.set(u,i.get(e.number)),t(u),n();return}i.set(e.number,e),o.set(e.number,[]),e.name&&yr(o,e.name,[]);const c=o.get(e.name??e.number);for(let u=0;u<c.length;u++){const f=c[u];if(l===f.node||l&&l===f.origin||e===f.origin){c.splice(u,1);break}}if(o.get(e.number).push({node:e,origin:l}),e.name&&o.get(e.name).push({node:e,origin:l}),e.name){const u=yr(s,e.name,new Map);let f=!1;if(l)f=!0;else for(const h of u.values())if(!h.hasDuplicateNameToRemove){f=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:f})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=vo(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Recursion({node:e,parent:t},{reffedNodesByReferencer:n}){const{ref:r}=e;let s=t;for(;(s=s.parent)&&!(s.type===P.CapturingGroup&&(s.name===r||s.number===r)););n.set(e,s)},Subroutine(e,t){const{node:n,replaceWith:r}=e,{ref:s}=n,o=t.subroutineRefMap.get(s),i=s===0,a=i?bu(0):ip(o,t.groupOriginByCopy,null);let l=a;if(!i){const c=ap(hS(o,f=>f.type===P.Group&&!!f.flags)),u=c?vo(t.globalFlags,c):t.globalFlags;uS(u,t.currentFlags)||(l=Gt(Pt({flags:dS(u)}),[a]))}r(l),i||fp(l,e,t,op)}},lS={Backreference({node:e,replaceWith:t},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const s=n.reffedNodesByReferencer.get(e).filter(o=>fS(o,e));if(!s.length)t(Gt(jr({negate:!0})));else if(s.length>1){const o=s.map(i=>ns(_n(),[Sa(i.number)]));t(ns(Pt(),o))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Recursion({node:e},t){e.ref!==0&&(e.ref=t.reffedNodesByReferencer.get(e).number)},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const s=tp();e.pattern.alternatives.at(-1).elements.push(s)}}}},cS="[ -\r ]",Bt=J`[\p{L}\p{M}\p{N}\p{Pc}]`;function ns(e,t){return t.forEach(n=>n.parent=e),e[_l(e)]=t,e}function uS(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function fS(e,t){let n=t;do{if(n.type===P.Pattern)return!1;if(n.type===P.Alternative)continue;if(n===e)return!1;const r=lp(n.parent);for(const s of r){if(s===n)break;if(s===e||up(s,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function ip(e,t,n,r){const s=Array.isArray(e)?[]:{};for(const[o,i]of Object.entries(e))o==="parent"?s.parent=Array.isArray(n)?r:n:i&&typeof i=="object"?s[o]=ip(i,t,s,n):(o==="type"&&i===P.CapturingGroup&&t.set(s,t.get(e)??e),s[o]=i);return s}function bu(e){return{type:P.Recursion,ref:e}}function hS(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function Ri(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function _l(e){for(const t of["alternatives","classes","elements"])if(e[t])return t;return null}function ap(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(s=>{var o,i;(o=r.enable)!=null&&o[s]&&(delete n.disable[s],n.enable[s]=!0),(i=r.disable)!=null&&i[s]&&(n.disable[s]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function dS({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function lp(e){if(!e)throw new Error("Node expected");if(e.type===P.Quantifier)return[e.element];const t=_l(e);return t&&e[t]}function cp(e){const t=e.find(n=>n.kind===de.search_start||pS(n,{negate:!1})||!I1(n));if(!t)return null;if(t.kind===de.search_start)return t;if(us(t))return t.alternatives[0].elements[0];if(Yd(t)){const n=[];for(const r of t.alternatives){const s=cp(r.elements);if(!s)return null;Array.isArray(s)?n.push(...s):n.push(s)}return n}return null}function up(e,t){const n=lp(e)??[];for(const r of n)if(r===t||up(r,t))return!0;return!1}function pS(e,t){const n={negate:null,...t};return us(e)&&(n.negate===null||e.negate===n.negate)&&yl(e,r=>r.kind===de.search_start)}function Pi(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function _t(e,t){const r=Zd(Jd(e),t).pattern.alternatives;return r.length>1||r[0].elements.length>1?ns(Pt(),r):r[0].elements[0]}function Gt(e,t){const n=_l(e);return e[n][0].parent=e,t&&ns(e[n][0],t),e}function $i(e,t){return e.negate=t,e}function fp(e,{parent:t,key:n,container:r},s,o){cr({node:e,parent:t,key:n,container:r},s,o)}function gS(e,t){const n=Fd(t),r=Ca(n.target,"ES2024"),s=Ca(n.target,"ES2025"),o=n.rules.recursionLimit;if(!Number.isInteger(o)||o<2||o>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!s){const d=[e.flags.ignoreCase];cr({node:e},{getCurrentModI:()=>d.at(-1),popModI(){d.pop()},pushModI(p){d.push(p)},setHasCasedChar(){d.at(-1)?i=!0:a=!0}},mS)}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=null;const u={accuracy:n.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:o,useAppliedIgnoreCase:!!(!s&&i&&a),useFlagMods:s,useFlagV:r,verbose:n.verbose};function f(d){switch(u.lastNode=c,c=d,d.type){case P.Regex:return{pattern:f(d.pattern),flags:f(d.flags),options:{...d.options}};case P.Alternative:return d.elements.map(f).join("");case P.Assertion:return wS(d,u,f);case P.Backreference:return CS(d,u);case P.CapturingGroup:return SS(d,u,f);case P.Character:return xS(d,u);case P.CharacterClass:return kS(d,u,f);case P.CharacterClassIntersection:if(!u.useFlagV)throw new Error("Use of class intersection requires min target ES2024");return d.classes.map(f).join("&&");case P.CharacterClassRange:return AS(d,u);case P.CharacterSet:return TS(d,u);case P.Flags:return ES(d,u);case P.Group:return RS(d,u,f);case P.Pattern:return d.alternatives.map(f).join("|");case P.Quantifier:return f(d.element)+OS(d);case P.Recursion:return PS(d,u);default:throw new Error(`Unexpected node type "${d.type}"`)}}const h=f(e);return r||(delete h.options.force.v,h.options.disable.v=!0,h.options.unicodeSetsPlugin=null),h._captureTransfers=new Map,h._hiddenCaptures=[],u.captureMap.forEach((d,p)=>{d.hidden&&h._hiddenCaptures.push(p),d.transferTo&&yr(h._captureTransfers,d.transferTo,[]).push(p)}),h}var mS={AnyGroup:{enter({node:e},t){const n=t.getCurrentModI();t.pushModI(e.flags?vo({ignoreCase:n},e.flags).ignoreCase:n)},exit(e,t){t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){vl(Ne(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),hp(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind===Te.property&&Vd.has(e.value)&&t.setHasCasedChar()}},yS=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),_S=new Set(["-","\\","]","^","["]),vS=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),wu=new Map([[9,J`\t`],[10,J`\n`],[11,J`\v`],[12,J`\f`],[13,J`\r`],[8232,J`\u2028`],[8233,J`\u2029`],[65279,J`\uFEFF`]]),bS=new RegExp("^\\p{Cased}$","u");function vl(e){return bS.test(e)}function wS(e,t,n){const{kind:r,negate:s,alternatives:o}=e;if(us(e))return`(?${`${r===de.lookahead?"":"<"}${s?"!":"="}`}${o.map(n).join("|")})`;if(r===de.string_end)return"$";if(r===de.string_start)return"^";if(r===de.word_boundary)return s?J`\B`:J`\b`;throw new Error(`Unexpected assertion kind "${r}"`)}function CS({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e}function SS(e,t,n){const{name:r,number:s,alternatives:o}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,s>a.number&&(i.transferTo=a.number)),t.captureMap.set(s,i),`(${r?`?<${r}>`:""}${o.map(n).join("|")})`}function xS({value:e},t){const n=Ne(e),r=Xn(e,{isAfterBackref:t.lastNode.type===P.Backreference,inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&vl(n)){const s=Bd(n);return t.inCharClass?s.join(""):s.length>1?`[${s.join("")}]`:s[0]}return n}function kS({negate:e,parent:t,elements:n},r,s){var a;const o=()=>`[${e?"^":""}${n.map(s).join("")}]`;if(!r.inCharClass){r.inCharClass=!0;const l=o();return r.inCharClass=!1,l}const i=(a=n[0])==null?void 0:a.type;if(!e&&i&&((!r.useFlagV||!r.verbose)&&t.type===P.CharacterClass&&i!==P.CharacterClassIntersection||!r.verbose&&t.type===P.CharacterClassIntersection&&n.length===1&&i!==P.CharacterClass&&i!==P.CharacterClassRange))return n.map(s).join("");if(!r.useFlagV&&t.type===P.CharacterClass)throw new Error("Use of nested character class requires min target ES2024");return o()}function AS(e,t){const n=e.min.value,r=e.max.value,s={isAfterBackref:!1,inCharClass:!0,useFlagV:t.useFlagV},o=Xn(n,s),i=Xn(r,s),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=hp(e);$S(l).forEach(u=>{a.add(Array.isArray(u)?`${Xn(u[0],s)}-${Xn(u[1],s)}`:Xn(u,s))})}return`${o}-${i}${[...a].join("")}`}function TS({kind:e,negate:t,value:n,key:r},s){if(e===Te.dot)return s.currentFlags.dotAll?s.appliedGlobalFlags.dotAll||s.useFlagMods?".":"[^]":J`[^\n]`;if(e===Te.digit)return t?J`\D`:J`\d`;if(e===Te.property){if(s.useAppliedIgnoreCase&&s.currentFlags.ignoreCase&&Vd.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?J`\P`:J`\p`}{${r?`${r}=`:""}${n}}`}if(e===Te.word)return t?J`\W`:J`\w`;throw new Error(`Unexpected character set kind "${e}"`)}function ES(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")}function RS({atomic:e,flags:t,parent:n,alternatives:r},s,o){const i=s.currentFlags;t&&(s.currentFlags=vo(i,t));const a=r.map(o).join("|"),l=!s.verbose&&r.length===1&&n.type!==P.Quantifier&&!e&&(!s.useFlagMods||!t)?a:`(?${NS(e,t,s.useFlagMods)}${a})`;return s.currentFlags=i,l}function PS({ref:e},t){const n=t.recursionLimit;return e===0?`(?R=${n})`:J`\g<${e}&R=${n}>`}function hp(e,t){const n=!!(t!=null&&t.firstOnly),r=e.min.value,s=e.max.value,o=[];if(r<65&&(s===65535||s>=131071)||r===65536&&s>=131071)return o;for(let i=r;i<=s;i++){const a=Ne(i);if(!vl(a))continue;const l=Bd(a).filter(c=>{const u=c.codePointAt(0);return u<r||u>s});if(l.length&&(o.push(...l),n))break}return o}function Xn(e,{isAfterBackref:t,inCharClass:n,useFlagV:r}){if(wu.has(e))return wu.get(e);if(e<32||e>126&&e<160||e>262143||t&&IS(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const s=n?r?vS:_S:yS,o=Ne(e);return(s.has(o)?"\\":"")+o}function $S(e){const t=e.map(s=>s.codePointAt(0)).sort((s,o)=>s-o),n=[];let r=null;for(let s=0;s<t.length;s++)t[s+1]===t[s]+1?r??(r=t[s]):r===null?n.push(t[s]):(n.push([r,t[s]]),r=null);return n}function NS(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:s,disable:o}=t;r=(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")+(o?"-":"")+(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")}return`${r}:`}function OS({min:e,max:t,greedy:n,possessive:r}){let s;return!e&&t===1?s="?":!e&&t===1/0?s="*":e===1&&t===1/0?s="+":e===t?s=`{${e}}`:s=`{${e},${t===1/0?"":t}}`,s+(r?"+":n?"":"?")}function IS(e){return e>47&&e<58}var rn,Ut,Rn,sn,Pn,rs,Aa,cn,LS=(cn=class extends RegExp{constructor(n,r,s){var t=(...uA)=>(super(...uA),bn(this,rs),bn(this,rn,new Map),bn(this,Ut,null),bn(this,Rn),bn(this,sn,null),bn(this,Pn,null),k(this,"rawOptions",{}),this);const o=!!(s!=null&&s.lazyCompile);if(n instanceof RegExp){if(s)throw new Error("Cannot provide options when copying a regexp");const i=n;t(i,r),yt(this,Rn,i.source),i instanceof cn&&(yt(this,rn,qe(i,rn)),yt(this,sn,qe(i,sn)),yt(this,Pn,qe(i,Pn)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...s};t(o?"":n,r),yt(this,Rn,n),yt(this,rn,DS(i.hiddenCaptures,i.transfers)),yt(this,Pn,i.strategy),this.rawOptions=s??{}}o||yt(this,Ut,this)}get source(){return qe(this,Rn)||"(?:)"}exec(n){if(!qe(this,Ut)){const{lazyCompile:o,...i}=this.rawOptions;yt(this,Ut,new cn(qe(this,Rn),this.flags,i))}const r=this.global||this.sticky,s=this.lastIndex;if(qe(this,Pn)==="clip_search"&&r&&s){this.lastIndex=0;const o=Yo(this,rs,Aa).call(this,n.slice(s));return o&&(MS(o,s,n,this.hasIndices),this.lastIndex+=s),o}return Yo(this,rs,Aa).call(this,n)}},rn=new WeakMap,Ut=new WeakMap,Rn=new WeakMap,sn=new WeakMap,Pn=new WeakMap,rs=new WeakSet,Aa=function(n){qe(this,Ut).lastIndex=this.lastIndex;const r=kl(cn.prototype,this,"exec").call(qe(this,Ut),n);if(this.lastIndex=qe(this,Ut).lastIndex,!r||!qe(this,rn).size)return r;const s=[...r];r.length=1;let o;this.hasIndices&&(o=[...r.indices],r.indices.length=1);const i=[0];for(let a=1;a<s.length;a++){const{hidden:l,transferTo:c}=qe(this,rn).get(a)??{};if(l?i.push(null):(i.push(r.length),r.push(s[a]),this.hasIndices&&r.indices.push(o[a])),c&&s[a]!==void 0){const u=It(i[c]);if(r[u]=s[a],this.hasIndices&&(r.indices[u]=o[a]),r.groups){qe(this,sn)||yt(this,sn,HS(this.source));const f=qe(this,sn).get(c);f&&(r.groups[f]=s[a],this.hasIndices&&(r.indices.groups[f]=o[a]))}}}return r},cn);function MS(e,t,n,r){if(e.index+=t,e.input=n,r){const s=e.indices;for(let i=0;i<s.length;i++){const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])}const o=s.groups;o&&Object.keys(o).forEach(i=>{const a=o[i];a&&(o[i]=[a[0]+t,a[1]+t])})}}function DS(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,s]of t)for(const o of s)yr(n,o,{}).transferTo=r;return n}function HS(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,s=0,o;for(;o=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=o;i==="["?r++:r?i==="]"&&r--:a&&(s++,l&&n.set(s,l))}return n}function FS(e,t){const n=BS(e,t);return n.options?new LS(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function BS(e,t){const n=Fd(t),r=Jd(e,n.flags,{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}),s=Zd(r,{skipBackrefValidation:n.rules.allowOrphanBackrefs,verbose:n.verbose}),o=aS(s,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=gS(o,n),a=h1(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),l=u1(a.pattern),c=c1(l.pattern,{captureTransfers:a.captureTransfers,hiddenCaptures:a.hiddenCaptures}),u={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const f=c.hiddenCaptures.sort((m,y)=>m-y),h=Array.from(c.captureTransfers),d=o._strategy,p=u.pattern.length>=n.lazyCompileLength;(f.length||h.length||d||p)&&(u.options={...f.length&&{hiddenCaptures:f},...h.length&&{transfers:h},...d&&{strategy:d},...p&&{lazyCompile:p}})}return u}const Cu=4294967295;class jS{constructor(t,n={}){k(this,"regexps");this.patterns=t,this.options=n;const{forgiving:r=!1,cache:s,regexConstructor:o}=n;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(i=>{if(typeof i!="string")return i;const a=s==null?void 0:s.get(i);if(a){if(a instanceof RegExp)return a;if(r)return null;throw a}try{const l=o(i);return s==null||s.set(i,l),l}catch(l){if(s==null||s.set(i,l),r)return null;throw l}})}findNextMatchSync(t,n,r){const s=typeof t=="string"?t:t.content,o=[];function i(a,l,c=0){return{index:a,captureIndices:l.indices.map(u=>u==null?{start:Cu,end:Cu,length:0}:{start:u[0]+c,end:u[1]+c,length:u[1]-u[0]})}}for(let a=0;a<this.regexps.length;a++){const l=this.regexps[a];if(l)try{l.lastIndex=n;const c=l.exec(s);if(!c)continue;if(c.index===n)return i(a,c,0);o.push([a,c,0])}catch(c){if(this.options.forgiving)continue;throw c}}if(o.length){const a=Math.min(...o.map(l=>l[1].index));for(const[l,c,u]of o)if(c.index===a)return i(l,c,u)}return null}}function GS(e,t){return FS(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function US(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||(t.regexConstructor=n=>GS(n,{target:t.target})),{createScanner(n){return new jS(n,t)},createString(n){return{content:n}}}}let WS;const Ar=[];function VS(e){if(Ar.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Ar.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Ar.forEach(n=>n(t))},get(){return WS.value},configurable:!0}),()=>{Ar.splice(Ar.indexOf(e),1)}}const Je=Ae(null);async function dp(){Ta.value&&(Je.value=await Ta.value("/__sitemap__/debug.json"))}const Ta=Ae(),pp=Ae(),gp=Ae();VS(async e=>{Ta.value=e.host.app.$fetch,Pf(()=>{gp.value=e.host.app.colorMode.value}),pp.value=e.devtools,dp()});const mp=Ae();function zS(){return n1({themes:[Lr(()=>import("./CVO1_9PV.js"),[],import.meta.url),Lr(()=>import("./D0r3Knsf.js"),[],import.meta.url)],langs:[Lr(()=>import("./BQoSv7ci.js"),[],import.meta.url)],engine:US()}).then(e=>{mp.value=e})}function yp(e,t){return Pe(()=>{var r;const n=((r=pp.value)==null?void 0:r.colorMode)||"light";return mp.value.codeToHtml(In(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const qS=["innerHTML"],_p=et({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=Pe(()=>{const r=yp(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,s)=>(U(),ne("pre",{class:$e(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,qS))}}),KS={flex:"~ gap-3","items-center":""},JS=et({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(U(),ne("div",KS,[t.icon?(U(),ne("div",{key:0,class:$e(t.icon)},null,2)):He("",!0),Ye(t.$slots,"default",{},()=>[L("div",null,De(t.text),1)])]))}});function XS(e){return Oa()?(Gp(e),!0):!1}const QS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const YS=e=>typeof e<"u",ZS=Object.prototype.toString,ex=e=>ZS.call(e)==="[object Object]",tx=()=>{};function nx(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const vp=e=>e();function rx(e=vp,t={}){const{initialState:n="active"}=t,r=ox(n==="active");function s(){r.value=!1}function o(){r.value=!0}const i=(...a)=>{r.value&&e(...a)};return{isActive:To(r),pause:s,resume:o,eventFilter:i}}function sx(e){return as()}function Ni(e){return Array.isArray(e)?e:[e]}function ox(...e){if(e.length!==1)return Yu(...e);const t=e[0];return typeof t=="function"?To(hg(()=>({get:t,set:tx}))):Ae(t)}function ix(e,t,n={}){const{eventFilter:r=vp,...s}=n;return Kt(e,nx(r,t),s)}function ax(e,t,n={}){const{eventFilter:r,initialState:s="active",...o}=n,{eventFilter:i,pause:a,resume:l,isActive:c}=rx(r,{initialState:s});return{stop:ix(e,t,{...o,eventFilter:i}),pause:a,resume:l,isActive:c}}function lx(e,t=!0,n){sx()?Wa(e,n):t?e():Bn(e)}function cx(e,t,n){return Kt(e,t,{...n,immediate:!0})}const wo=QS?window:void 0;function ux(e){var t;const n=In(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Su(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,c,u)=>(a.addEventListener(l,c,u),()=>a.removeEventListener(l,c,u)),s=Pe(()=>{const a=Ni(In(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),o=cx(()=>{var a,l;return[(l=(a=s.value)==null?void 0:a.map(c=>ux(c)))!=null?l:[wo].filter(c=>c!=null),Ni(In(s.value?e[1]:e[0])),Ni(ie(s.value?e[2]:e[1])),In(s.value?e[3]:e[2])]},([a,l,c,u])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(c!=null&&c.length))return;const f=ex(u)?{...u}:u;t.push(...a.flatMap(h=>l.flatMap(d=>c.map(p=>r(h,d,p,f)))))},{flush:"post"}),i=()=>{o(),n()};return XS(n),i}function fx(e){return JSON.parse(JSON.stringify(e))}const Ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Es="__vueuse_ssr_handlers__",hx=dx();function dx(){return Es in Ts||(Ts[Es]=Ts[Es]||{}),Ts[Es]}function px(e,t){return hx[e]||t}function gx(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 mx={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()}},xu="vueuse-storage";function yx(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=wo,eventFilter:h,onError:d=D=>{console.error(D)},initOnMounted:p}=r,m=(u?Di:Ae)(t),y=Pe(()=>In(e));if(!n)try{n=px("getDefaultStorage",()=>{var D;return(D=wo)==null?void 0:D.localStorage})()}catch(D){d(D)}if(!n)return m;const v=In(t),S=gx(v),g=(s=r.serializer)!=null?s:mx[S],{pause:b,resume:C}=ax(m,()=>x(m.value),{flush:o,deep:i,eventFilter:h});Kt(y,()=>H(),{flush:o}),f&&a&&lx(()=>{n instanceof Storage?Su(f,"storage",H,{passive:!0}):Su(f,xu,O),p&&H()}),p||H();function T(D,G){if(f){const X={key:y.value,oldValue:D,newValue:G,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",X):new CustomEvent(xu,{detail:X}))}}function x(D){try{const G=n.getItem(y.value);if(D==null)T(G,null),n.removeItem(y.value);else{const X=g.write(D);G!==X&&(n.setItem(y.value,X),T(G,X))}}catch(G){d(G)}}function M(D){const G=D?D.newValue:n.getItem(y.value);if(G==null)return l&&v!=null&&n.setItem(y.value,g.write(v)),v;if(!D&&c){const X=g.read(G);return typeof c=="function"?c(X,v):S==="object"&&!Array.isArray(X)?{...v,...X}:X}else return typeof G!="string"?G:g.read(G)}function H(D){if(!(D&&D.storageArea!==n)){if(D&&D.key==null){m.value=v;return}if(!(D&&D.key!==y.value)){b();try{(D==null?void 0:D.newValue)!==g.write(m.value)&&(m.value=M(D))}catch(G){d(G)}finally{D?Bn(C):C()}}}}function O(D){H(D.detail)}return m}function _x(e,t,n={}){const{window:r=wo}=n;return yx(e,t,r==null?void 0:r.localStorage,n)}function vx(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:h}=r,d=as(),p=(d==null?void 0:d.emit)||((s=d==null?void 0:d.$emit)==null?void 0:s.bind(d))||((i=(o=d==null?void 0:d.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(d==null?void 0:d.proxy));let m=c;m=m||`update:${t.toString()}`;const y=g=>a?typeof a=="function"?a(g):fx(g):g,v=()=>YS(e[t])?y(e[t]):f,S=g=>{h?h(g)&&p(m,g):p(m,g)};if(l){const g=v(),b=Ae(g);let C=!1;return Kt(()=>e[t],T=>{C||(C=!0,b.value=y(T),Bn(()=>C=!1))}),Kt(b,T=>{!C&&(T!==e[t]||u)&&S(T)},{deep:u}),b}else return Pe({get(){return v()},set(g){S(g)}})}const bx=["open"],wx={"text-base":""},Cx={key:0,"text-sm":"",op50:""},Sx=et({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=vx(e,"open");function r(s){n.value=s.target.open}return(s,o)=>{const i=il,a=JS;return U(),ne(Se,null,[L("details",{open:ie(n),onToggle:r},[L("summary",{class:$e(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",s.collapse?"":"pointer-events-none"])},[q(a,{icon:s.icon,text:s.text,"text-xl":"",transition:"",class:$e([ie(n)?"op100":"op60",s.headerClass])},{default:ae(()=>[L("div",null,[L("div",wx,[Ye(s.$slots,"text",{},()=>[ce(De(s.text),1)],!0)]),s.description||s.$slots.description?(U(),ne("div",Cx,[Ye(s.$slots,"description",{},()=>[ce(De(s.description),1)],!0)])):He("",!0)]),o[0]||(o[0]=L("div",{class:"flex-auto"},null,-1)),Ye(s.$slots,"actions",{},void 0,!0),s.collapse?(U(),xe(i,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):He("",!0)]),_:3},8,["icon","text","class"])],2),L("div",{class:$e(["flex flex-col flex-gap2 pb6 pt2",typeof s.padding=="string"?s.padding:s.padding?"px4":""])},[Ye(s.$slots,"details",{},void 0,!0),L("div",{class:$e([s.containerClass,"mt1"])},[Ye(s.$slots,"default",{},void 0,!0)],2),Ye(s.$slots,"footer",{},void 0,!0)],2)],40,bx),o[1]||(o[1]=L("div",{class:"x-divider"},null,-1))],64)}}}),bp=Go(Sx,[["__scopeId","data-v-1b9488bc"]]),xx={class:"flex space-x-5"},kx={class:"opacity-80 text-base mb-1 flex space-x-3 items-center"},Ax={key:0,class:"flex space-x-2"},Tx={key:0,class:"opacity-60 text-sm"},Ex={class:"flex items-center space-x-3"},Rx={key:0},Px={key:1,class:"text-xs mt-1 opacity-70"},$x={key:0},Nx={key:2,class:"px-3 py-3 mt-2 dark:bg-gray-900/50 bg-gray-50/50 opacity-70"},Ox={class:"list-disc ml-5"},Ix=["innerHTML"],Lx=et({__name:"Source",props:{source:{},showContext:{type:Boolean}},setup(e){const t=e,n=Pe(()=>{var o;const s=typeof t.source.fetch=="string"?t.source.fetch:t.source.fetch[0];return s.includes("http")?s:vr(((o=Je.value)==null?void 0:o.nitroOrigin)||"localhost",s)});function r(s){return s.replace(/`([^`]+)`/g,"<code>$1</code>")}return(s,o)=>{const i=il,a=Xh,l=Yh,c=_p,u=bp;return U(),xe(u,null,{text:ae(()=>[L("div",xx,[L("h3",kx,[s.source.fetch?(U(),ne("div",Ax,[q(i,{icon:"carbon:api-1",class:"opacity-50 text-lg"}),s.source.timeTakenMs?(U(),ne("div",Tx,De(s.source.timeTakenMs)+"ms ",1)):He("",!0)])):He("",!0),L("div",null,De(s.source.context.name),1),L("div",null,[q(a,null,{default:ae(()=>{var f;return[ce(De(((f=s.source.urls)==null?void 0:f.length)||0),1)]}),_:1})])])])]),description:ae(()=>[L("div",Ex,[s.source.fetch?(U(),ne("div",Rx,[q(l,{href:ie(n),target:"_blank"},{default:ae(()=>[ce(De(s.source.fetch),1)]),_:1},8,["href"])])):He("",!0),s.source.context.description?(U(),ne("div",Px,De(s.source.context.description),1)):He("",!0)])]),default:ae(()=>{var f;return[s.source.error?(U(),ne("div",$x,[q(i,{icon:"carbon:warning",class:"text-red-500"}),ce(" "+De(s.source.error),1)])):(U(),xe(c,{key:1,class:"max-h-[250px] overflow-y-auto",code:JSON.stringify(s.source.urls,null,2),lang:"json"},null,8,["code"])),(f=s.source.context.tips)!=null&&f.length?(U(),ne("div",Nx,[o[0]||(o[0]=L("h3",{class:"text-sm font-bold mb-1"}," Hints ",-1)),L("ul",Ox,[(U(!0),ne(Se,null,Kn(s.source.context.tips,(h,d)=>(U(),ne("li",{key:d,class:"text-sm opacity-80 mb-1",innerHTML:r(h)},null,8,Ix))),128))])])):He("",!0)]}),_:1})}}}),Mx={class:"relative n-bg-base flex flex-col"},Dx={class:"sticky top-0 z-2 px-4 pt-4"},Hx={class:"flex justify-between items-start",mb2:""},Fx={class:"flex space-x-5"},Bx={"text-xl":"",flex:"","items-center":"","gap-2":""},jx={class:"flex items-center space-x-3 text-xl"},Gx={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},Ux={class:"px-5 py-2"},Wx={"text-lg":"",flex:"","items-center":""},Vx={class:"px-5 py-2"},zx={"text-lg":"",flex:"","items-center":""},qx={class:"px-5 py-2"},Kx={"text-lg":"",flex:"","items-center":""},Jx={class:"px-5 py-2"},Xx={"text-lg":"",flex:"","items-center":""},Qx={class:"px-5 py-2"},Yx={"text-lg":"",flex:"","items-center":""},Zx=["value","title"],ek={class:"items-center space-x-3 hidden lg:flex"},tk={class:"opacity-80 text-sm"},nk={class:"opacity-80 text-sm"},rk={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},sk={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},ok={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},ik={key:0,class:"space-y-5"},ak={class:"opacity-80 text-base mb-1"},lk={class:"px-3 py-2 space-y-5"},ck={key:0},uk={class:"text-sm opacity-70"},fk={key:0,class:"flex space-x-5"},hk={class:"flex-grow"},dk={class:"flex space-x-5"},pk={class:"flex-grow flex flex-col justify-center"},gk={key:0,class:"opacity-70"},mk={key:1,class:"opacity-70"},yk={class:"opacity-50 text-xs mt-2"},_k={class:"flex space-x-5"},vk={class:"n-bg-base/20 flex-grow"},bk={key:1,class:"space-y-5"},wk={key:2,class:"space-y-5"},Ck={key:3,class:"h-full max-h-full overflow-hidden"},Sk={class:"opacity-80 text-base mb-1"},xk={class:"px-3 py-2 space-y-5"},kk={key:4,class:"h-full max-h-full overflow-hidden"},Ak=et({__name:"app",async setup(e){let t,n;[t,n]=Gg(()=>zS()),await t,n();const r=Ae(!1);async function s(){r.value=!0,Je.value=null,await dp(),setTimeout(()=>{r.value=!1},300)}const o=_x("@nuxtjs/sitemap:tab","sitemaps");function i(f){return Je.value?f==="sitemap"||f==="sitemap.xml"?`${Je.value.nitroOrigin}sitemap.xml`:f==="index"?`${Je.value.nitroOrigin}sitemap_index.xml`:`${Je.value.nitroOrigin}${f}-sitemap.xml`:""}function a(f){const h={};return Object.entries(f).forEach(([d,p])=>{p!==void 0&&(!Array.isArray(p)||p.length>0)&&d!=="includeAppSources"&&(h[d]=p)}),h}S0({htmlAttrs:{class:()=>gp.value||""}});const l=Pe(()=>{var f,h;return((h=(f=Je.value)==null?void 0:f.runtimeConfig)==null?void 0:h.excludeAppSources)||[]}),c=Pe(()=>{var f;return(((f=Je.value)==null?void 0:f.globalSources)||[]).filter(h=>h.sourceType==="app")}),u=Pe(()=>{var f;return(((f=Je.value)==null?void 0:f.globalSources)||[]).filter(h=>h.sourceType==="user")});return(f,h)=>{var T;const d=il,p=Xh,m=hn("VTooltip"),y=Yh,v=cb,S=pb,g=Lx,b=_p,C=bp;return U(),ne("div",Mx,[L("header",Dx,[L("div",Hx,[L("div",Fx,[L("h1",Bx,[q(d,{icon:"carbon:load-balancer-application",class:"text-blue-300"}),h[2]||(h[2]=ce(" Sitemap ")),q(p,{class:"text-sm"},{default:ae(()=>{var x,M;return[ce(De((M=(x=ie(Je))==null?void 0:x.runtimeConfig)==null?void 0:M.version),1)]}),_:1})])]),L("div",jx,[L("fieldset",Gx,[(U(),ne(Se,null,Kn(["sitemaps","user-sources","app-sources","debug","docs"],(x,M)=>L("label",{key:M,class:$e(["relative n-border-base hover:n-bg-active cursor-pointer",[M?"border-l n-border-base ml--1px":"",x===ie(o)?"n-bg-active":""]])},[x==="sitemaps"?(U(),ne("div",{key:0,class:$e([x===ie(o)?"":"op35"])},[q(m,null,{popper:ae(()=>h[3]||(h[3]=[ce(" Sitemaps ")])),default:ae(()=>[L("div",Ux,[L("h2",Wx,[q(d,{icon:"carbon:load-balancer-application opacity-50"}),q(p,{class:"text-sm"},{default:ae(()=>{var H;return[ce(De(Object.keys(((H=ie(Je))==null?void 0:H.sitemaps)||{}).length||0),1)]}),_:1})])])]),_:1})],2)):He("",!0),x==="user-sources"?(U(),ne("div",{key:1,class:$e([x===ie(o)?"":"op35"])},[q(m,null,{popper:ae(()=>h[4]||(h[4]=[ce(" User Sources ")])),default:ae(()=>[L("div",Vx,[L("h2",zx,[q(d,{icon:"carbon:group-account opacity-50"}),q(p,{class:"text-sm"},{default:ae(()=>[ce(De(u.value.length),1)]),_:1})])])]),_:1})],2)):He("",!0),x==="app-sources"?(U(),ne("div",{key:2,class:$e([x===ie(o)?"":"op35"])},[q(m,null,{popper:ae(()=>h[5]||(h[5]=[ce(" App Sources ")])),default:ae(()=>[L("div",qx,[L("h2",Kx,[q(d,{icon:"carbon:bot opacity-50"}),q(p,{class:"text-sm"},{default:ae(()=>[ce(De(c.value.length),1)]),_:1})])])]),_:1})],2)):x==="debug"?(U(),ne("div",{key:3,class:$e([x===ie(o)?"":"op35"])},[q(m,null,{popper:ae(()=>h[6]||(h[6]=[ce(" Debug ")])),default:ae(()=>[L("div",Jx,[L("h2",Xx,[q(d,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):x==="docs"?(U(),ne("div",{key:4,class:$e([x===ie(o)?"":"op35"])},[q(m,null,{popper:ae(()=>h[7]||(h[7]=[ce(" Documentation ")])),default:ae(()=>[L("div",Qx,[L("h2",Yx,[q(d,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):He("",!0),kg(L("input",{"onUpdate:modelValue":h[0]||(h[0]=H=>Le(o)?o.value=H:null),type:"radio",value:x,title:x,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,Zx),[[Qm,ie(o)]])],2)),64))]),q(m,null,{popper:ae(()=>h[8]||(h[8]=[ce(" Refresh ")])),default:ae(()=>[L("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:s},[q(d,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),L("div",ek,[L("div",tk,[q(y,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:ae(()=>[q(d,{icon:"carbon:favorite",class:"mr-[2px]"}),h[9]||(h[9]=ce(" Sponsor "))]),_:1})]),L("div",nk,[q(y,{href:"https://github.com/nuxt-modules/sitemap",target:"_blank"},{default:ae(()=>[q(d,{icon:"logos:github-icon",class:"mr-[2px]"}),h[10]||(h[10]=ce(" Submit an issue "))]),_:1})]),L("a",rk,[q(v)])])])]),L("div",sk,[L("main",ok,[!((T=ie(Je))!=null&&T.globalSources)||r.value?(U(),xe(S,{key:0})):(U(),ne(Se,{key:1},[ie(o)==="sitemaps"?(U(),ne("div",ik,[h[23]||(h[23]=L("div",null,[L("h2",{class:"text-lg mb-1"}," Sitemaps "),L("p",{"text-xs":"",op60:""}," The sitemaps generated from your site. ")],-1)),(U(!0),ne(Se,null,Kn(ie(Je).sitemaps,(x,M)=>(U(),xe(C,{key:M},{text:ae(()=>[L("h3",ak,[ce(De(x.sitemapName)+" ",1),(x.sources||[]).some(H=>!!H.error)?(U(),xe(d,{key:0,icon:"carbon:warning",class:"text-red-500"})):He("",!0)])]),description:ae(()=>[q(y,{target:"_blank",href:i(x.sitemapName)},{default:ae(()=>[ce(De(i(x.sitemapName)),1)]),_:2},1032,["href"])]),default:ae(()=>[L("div",lk,[x.sitemapName==="index"?(U(),ne("div",ck,[h[14]||(h[14]=L("div",{class:"text-sm mb-1 opacity-80"}," This is a special sitemap file that links to your other sitemaps. ",-1)),L("div",uk,[h[12]||(h[12]=ce(" You can learn about this on the ")),q(y,{underline:"",target:"_blank",href:"https://developers.google.com/search/docs/crawling-indexing/sitemaps/large-sitemaps"},{default:ae(()=>h[11]||(h[11]=[ce(" Google Search Central ")])),_:1}),h[13]||(h[13]=ce(". "))])])):(U(),ne(Se,{key:1},[x.sources&&x.sources.length?(U(),ne("div",fk,[h[15]||(h[15]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," Sources "),L("div",{class:"opacity-40 text-xs max-w-60"},[ce(" Local sources associated with just this sitemap."),L("br"),ce("Example: Load in a dynamic list of URLs from an API endpoint. ")])],-1)),L("div",hk,[(U(!0),ne(Se,null,Kn(x.sources,(H,O)=>(U(),xe(g,{key:O,source:H},null,8,["source"]))),128))])])):He("",!0),L("div",dk,[h[21]||(h[21]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," App Sources "),L("div",{class:"opacity-40 text-xs max-w-60"},[ce(" Configured with the "),L("code",null,"includeAppSources"),ce(" option. ")])],-1)),L("div",pk,[x.includeAppSources&&l.value!==!0?(U(),ne("div",gk,[q(d,{icon:"carbon:checkmark",class:"text-green-500 text-lg"}),h[16]||(h[16]=ce(" Enabled "))])):(U(),ne("div",mk,[q(d,{icon:"carbon:close",class:"text-red-500 text-lg"}),h[17]||(h[17]=ce(" Disabled "))])),L("div",yk,[h[19]||(h[19]=ce(" Switch to ")),q(y,{underline:"",class:"cursor-pointer",onClick:h[1]||(h[1]=H=>o.value="app-sources")},{default:ae(()=>h[18]||(h[18]=[ce(" App sources ")])),_:1}),h[20]||(h[20]=ce(" to learn more. "))])])]),L("div",_k,[h[22]||(h[22]=L("div",{class:"w-40"},[L("div",{class:"font-bold text-sm mb-1"}," Sitemap Options "),L("div",{class:"opacity-40 text-xs max-w-60"}," Extra options used to filter the URLs on the final sitemap and set defaults. ")],-1)),L("div",vk,[q(b,{class:"max-h-[350px] min-h-full overflow-y-auto",code:JSON.stringify(a(x),null,2),lang:"json"},null,8,["code"])])])],64))])]),_:2},1024))),128))])):ie(o)==="app-sources"?(U(),ne("div",bk,[h[24]||(h[24]=L("div",null,[L("h2",{class:"text-lg mb-1"}," App Sources "),L("p",{"text-xs":"",op60:""}," Automatic global sources generated from your application. ")],-1)),(U(!0),ne(Se,null,Kn(c.value,(x,M)=>(U(),xe(g,{key:M,source:x},null,8,["source"]))),128))])):ie(o)==="user-sources"?(U(),ne("div",wk,[h[25]||(h[25]=L("div",null,[L("h2",{class:"text-lg mb-1"}," User Sources "),L("p",{"text-xs":"",op60:""}," Manually provided global sources provided by you. ")],-1)),(U(!0),ne(Se,null,Kn(u.value,(x,M)=>(U(),xe(g,{key:M,source:x},null,8,["source"]))),128))])):ie(o)==="debug"?(U(),ne("div",Ck,[q(C,null,{text:ae(()=>[L("h3",Sk,[q(d,{icon:"carbon:settings",class:"mr-1"}),h[26]||(h[26]=ce(" Runtime Config "))])]),default:ae(()=>{var x;return[L("div",xk,[q(b,{code:ie(yp)(JSON.stringify((x=ie(Je))==null?void 0:x.runtimeConfig,null,2),"json").value,lang:"json"},null,8,["code"])])]}),_:1})])):ie(o)==="docs"?(U(),ne("div",kk,h[27]||(h[27]=[L("iframe",{src:"https://nuxtseo.com/sitemap",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):He("",!0)],64))])])])}}}),Tk={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
167
|
+
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
168
|
+
`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=s?Ol(()=>Lr(()=>import("./N6K0xJAA.js"),__vite__mapDeps([0,1]),import.meta.url)):Ol(()=>Lr(()=>import("./DPbdKKAQ.js"),__vite__mapDeps([2,3]),import.meta.url));return(f,h)=>(U(),xe(ie(u),$u(Ka({statusCode:ie(r),statusMessage:ie(o),description:ie(i),stack:ie(a)})),null,16))}},Ek={key:0},ku={__name:"nuxt-root",setup(e){const t=()=>null,n=Ee(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Mt().beforeEach(l)}const s=!1;gf(uh,fh()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const o=Za(),i=!1;af((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),R_(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>T_(l)),!1});const a=!1;return(l,c)=>(U(),xe(gm,{onResolve:ie(r)},{default:ae(()=>[ie(i)?(U(),ne("div",Ek)):ie(o)?(U(),xe(ie(Tk),{key:1,error:ie(o)},null,8,["error"])):ie(a)?(U(),xe(ie(t),{key:2,context:ie(a)},null,8,["context"])):ie(s)?(U(),xe(Bg(ie(s)),{key:3})):(U(),xe(ie(Ak),{key:4}))]),_:1},8,["onResolve"]))}};let Au;{let e;Au=async function(){var i,a;if(e)return e;const r=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?ry(ku):Vf(ku),s=d_({vueApp:r});async function o(l){await s.callHook("app:error",l),s.payload.error=s.payload.error||el(l)}r.config.errorHandler=o,s.hook("app:suspense:resolve",()=>{r.config.errorHandler===o&&(r.config.errorHandler=void 0)});try{await m_(s,Jv)}catch(l){o(l)}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount(u_),await s.hooks.callHook("app:mounted",r),await Bn()}catch(l){o(l)}return r},e=Au().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Go as _,L as a,q as b,ne as c,ce as d,tb as e,U as o,De as t,S0 as u,ae as w};
|