@phosart/devtool 0.2.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/build/client/_app/immutable/assets/0.Bd8J-lYu.css +1 -0
- package/build/client/_app/immutable/assets/0.Bd8J-lYu.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Bd8J-lYu.css.gz +0 -0
- package/build/client/_app/immutable/assets/ArrowUp.DZBJbgKC.css +1 -0
- package/build/client/_app/immutable/assets/ArrowUp.DZBJbgKC.css.br +0 -0
- package/build/client/_app/immutable/assets/ArrowUp.DZBJbgKC.css.gz +0 -0
- package/build/client/_app/immutable/assets/Modal.CeVxwqrD.css +1 -0
- package/build/client/_app/immutable/assets/Modal.CeVxwqrD.css.br +0 -0
- package/build/client/_app/immutable/assets/Modal.CeVxwqrD.css.gz +0 -0
- package/build/client/_app/immutable/assets/TextBox.CXTVejeF.css +1 -0
- package/build/client/_app/immutable/assets/TextBox.CXTVejeF.css.br +0 -0
- package/build/client/_app/immutable/assets/TextBox.CXTVejeF.css.gz +0 -0
- package/build/client/_app/immutable/assets/Tooltip.CP1SAIN7.css +1 -0
- package/build/client/_app/immutable/assets/Tooltip.CP1SAIN7.css.br +0 -0
- package/build/client/_app/immutable/assets/Tooltip.CP1SAIN7.css.gz +0 -0
- package/build/client/_app/immutable/assets/codicon.ngg6Pgfi.ttf +0 -0
- package/build/client/_app/immutable/assets/editor.obiHEwuq.css +1 -0
- package/build/client/_app/immutable/assets/editor.obiHEwuq.css.br +0 -0
- package/build/client/_app/immutable/assets/editor.obiHEwuq.css.gz +0 -0
- package/build/client/_app/immutable/assets/fa-brands-400.BfBXV7Mm.woff2 +0 -0
- package/build/client/_app/immutable/assets/fa-regular-400.BVHPE7da.woff2 +0 -0
- package/build/client/_app/immutable/assets/fa-solid-900.8GirhLYJ.woff2 +0 -0
- package/build/client/_app/immutable/chunks/8DN0m2PX.js +1 -0
- package/build/client/_app/immutable/chunks/8DN0m2PX.js.br +0 -0
- package/build/client/_app/immutable/chunks/8DN0m2PX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8SOpv6rk.js +1 -0
- package/build/client/_app/immutable/chunks/8SOpv6rk.js.br +0 -0
- package/build/client/_app/immutable/chunks/8SOpv6rk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9HpZscsL.js +2 -0
- package/build/client/_app/immutable/chunks/9HpZscsL.js.br +0 -0
- package/build/client/_app/immutable/chunks/9HpZscsL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0wafx7r.js +1 -0
- package/build/client/_app/immutable/chunks/B0wafx7r.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0wafx7r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B8OfTtLu.js +1 -0
- package/build/client/_app/immutable/chunks/B8OfTtLu.js.br +0 -0
- package/build/client/_app/immutable/chunks/B8OfTtLu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBUBE1dy.js +1 -0
- package/build/client/_app/immutable/chunks/BBUBE1dy.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBUBE1dy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBc9UKZt.js +1 -0
- package/build/client/_app/immutable/chunks/BBc9UKZt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBc9UKZt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BDtDVThU.js +1 -0
- package/build/client/_app/immutable/chunks/BDtDVThU.js.br +0 -0
- package/build/client/_app/immutable/chunks/BDtDVThU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEZ4BwEV.js +1 -0
- package/build/client/_app/immutable/chunks/BEZ4BwEV.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEZ4BwEV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BEgZUVRK.js +1 -0
- package/build/client/_app/immutable/chunks/BEgZUVRK.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEgZUVRK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFbS_uKR.js +1 -0
- package/build/client/_app/immutable/chunks/BFbS_uKR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFbS_uKR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFxVWTOG.js +1 -0
- package/build/client/_app/immutable/chunks/BFxVWTOG.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFxVWTOG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BG73LgW2.js +1 -0
- package/build/client/_app/immutable/chunks/BG73LgW2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BG73LgW2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNV8aWpA.js +3 -0
- package/build/client/_app/immutable/chunks/BNV8aWpA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNV8aWpA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOWzgE0W.js +1 -0
- package/build/client/_app/immutable/chunks/BOWzgE0W.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOWzgE0W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOtBlQCF.js +1 -0
- package/build/client/_app/immutable/chunks/BOtBlQCF.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOtBlQCF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPhDTwHR.js +1 -0
- package/build/client/_app/immutable/chunks/BPhDTwHR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPhDTwHR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTesnYfV.js +298 -0
- package/build/client/_app/immutable/chunks/BTesnYfV.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTesnYfV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_LQs9wL.js +2 -0
- package/build/client/_app/immutable/chunks/B_LQs9wL.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_LQs9wL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbWJElDN.js +1 -0
- package/build/client/_app/immutable/chunks/BbWJElDN.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbWJElDN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bd8akH9Z.js +1 -0
- package/build/client/_app/immutable/chunks/Bd8akH9Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bd8akH9Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Be6d8HVb.js +2 -0
- package/build/client/_app/immutable/chunks/Be6d8HVb.js.br +0 -0
- package/build/client/_app/immutable/chunks/Be6d8HVb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BeJ5waoc.js +1 -0
- package/build/client/_app/immutable/chunks/BeJ5waoc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BeJ5waoc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bef2gKm2.js +1 -0
- package/build/client/_app/immutable/chunks/Bef2gKm2.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bef2gKm2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bf6VGUru.js +1 -0
- package/build/client/_app/immutable/chunks/Bf6VGUru.js.br +6 -0
- package/build/client/_app/immutable/chunks/Bf6VGUru.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BkW5O-1t.js +1 -0
- package/build/client/_app/immutable/chunks/BkW5O-1t.js.br +0 -0
- package/build/client/_app/immutable/chunks/BkW5O-1t.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BlNEE0v7.js +1 -0
- package/build/client/_app/immutable/chunks/BlNEE0v7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BlNEE0v7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmPG8j70.js +1 -0
- package/build/client/_app/immutable/chunks/BmPG8j70.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmPG8j70.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Brw8urJB.js +2 -0
- package/build/client/_app/immutable/chunks/Brw8urJB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Brw8urJB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs9aos_-.js +1 -0
- package/build/client/_app/immutable/chunks/Bs9aos_-.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs9aos_-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bs9z6M-B.js +1 -0
- package/build/client/_app/immutable/chunks/Bs9z6M-B.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bs9z6M-B.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Btyra-wh.js +1 -0
- package/build/client/_app/immutable/chunks/Btyra-wh.js.br +0 -0
- package/build/client/_app/immutable/chunks/Btyra-wh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bu5POkcn.js +1 -0
- package/build/client/_app/immutable/chunks/Bu5POkcn.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bu5POkcn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bw9ernYp.js +1 -0
- package/build/client/_app/immutable/chunks/Bw9ernYp.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bw9ernYp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwHxbl9M.js +1 -0
- package/build/client/_app/immutable/chunks/BwHxbl9M.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwHxbl9M.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxJiqAUM.js +1 -0
- package/build/client/_app/immutable/chunks/BxJiqAUM.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxJiqAUM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzKRNQWT.js +1 -0
- package/build/client/_app/immutable/chunks/BzKRNQWT.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzKRNQWT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C5h3_Ot-.js +22 -0
- package/build/client/_app/immutable/chunks/C5h3_Ot-.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5h3_Ot-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBJaRo0y.js +3 -0
- package/build/client/_app/immutable/chunks/CBJaRo0y.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBJaRo0y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCpTyc2V.js +3 -0
- package/build/client/_app/immutable/chunks/CCpTyc2V.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCpTyc2V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFznDFnq.js +2 -0
- package/build/client/_app/immutable/chunks/CFznDFnq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFznDFnq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHwy0fLd.js +1 -0
- package/build/client/_app/immutable/chunks/CHwy0fLd.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHwy0fLd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJmd_6j2.js +1 -0
- package/build/client/_app/immutable/chunks/CJmd_6j2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJmd_6j2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/COWaemsV.js +1 -0
- package/build/client/_app/immutable/chunks/COWaemsV.js.br +0 -0
- package/build/client/_app/immutable/chunks/COWaemsV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXBNlu9o.js +1 -0
- package/build/client/_app/immutable/chunks/CXBNlu9o.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXBNlu9o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_tMU-Nz.js +1 -0
- package/build/client/_app/immutable/chunks/C_tMU-Nz.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_tMU-Nz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CiqrrVzr.js +1 -0
- package/build/client/_app/immutable/chunks/CiqrrVzr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CiqrrVzr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClhHkBeG.js +1 -0
- package/build/client/_app/immutable/chunks/ClhHkBeG.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClhHkBeG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Clqpx6Fc.js +908 -0
- package/build/client/_app/immutable/chunks/Clqpx6Fc.js.br +0 -0
- package/build/client/_app/immutable/chunks/Clqpx6Fc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CnS9iZB_.js +1 -0
- package/build/client/_app/immutable/chunks/CnS9iZB_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CnS9iZB_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CnmFD0ga.js +1 -0
- package/build/client/_app/immutable/chunks/CnmFD0ga.js.br +0 -0
- package/build/client/_app/immutable/chunks/CnmFD0ga.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Co3qMtFm.js +1 -0
- package/build/client/_app/immutable/chunks/Co3qMtFm.js.br +0 -0
- package/build/client/_app/immutable/chunks/Co3qMtFm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CocnycG-.js +1 -0
- package/build/client/_app/immutable/chunks/CocnycG-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CocnycG-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CpKCa_gu.js +1 -0
- package/build/client/_app/immutable/chunks/CpKCa_gu.js.br +0 -0
- package/build/client/_app/immutable/chunks/CpKCa_gu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqXO7rUv.js +1 -0
- package/build/client/_app/immutable/chunks/CqXO7rUv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqXO7rUv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqY3AcBN.js +1 -0
- package/build/client/_app/immutable/chunks/CqY3AcBN.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqY3AcBN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Csy3S7wG.js +1 -0
- package/build/client/_app/immutable/chunks/Csy3S7wG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Csy3S7wG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cyyb5UIc.js +1 -0
- package/build/client/_app/immutable/chunks/Cyyb5UIc.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cyyb5UIc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzKyBacq.js +1 -0
- package/build/client/_app/immutable/chunks/CzKyBacq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzKyBacq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-4FJmMZ.js +1 -0
- package/build/client/_app/immutable/chunks/D-4FJmMZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-4FJmMZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9hQfWCl.js +1 -0
- package/build/client/_app/immutable/chunks/D9hQfWCl.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9hQfWCl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDbagcfB.js +11 -0
- package/build/client/_app/immutable/chunks/DDbagcfB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDbagcfB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DEkLMHay.js +1 -0
- package/build/client/_app/immutable/chunks/DEkLMHay.js.br +0 -0
- package/build/client/_app/immutable/chunks/DEkLMHay.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DL-ZACyf.js +1 -0
- package/build/client/_app/immutable/chunks/DL-ZACyf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DL-ZACyf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLDM7-KI.js +1 -0
- package/build/client/_app/immutable/chunks/DLDM7-KI.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLDM7-KI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNDY2TF8.js +1 -0
- package/build/client/_app/immutable/chunks/DNDY2TF8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNDY2TF8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSh2-awV.js +1 -0
- package/build/client/_app/immutable/chunks/DSh2-awV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSh2-awV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DW2Pu8pP.js +1 -0
- package/build/client/_app/immutable/chunks/DW2Pu8pP.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW2Pu8pP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZ9N6dCE.js +1 -0
- package/build/client/_app/immutable/chunks/DZ9N6dCE.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZ9N6dCE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0IVjzk.js +1 -0
- package/build/client/_app/immutable/chunks/Db0IVjzk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0IVjzk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db0cS2oM.js +1 -0
- package/build/client/_app/immutable/chunks/Db0cS2oM.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db0cS2oM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DdJfP1eB.js +3 -0
- package/build/client/_app/immutable/chunks/DdJfP1eB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DdJfP1eB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhhrKZdn.js +1 -0
- package/build/client/_app/immutable/chunks/DhhrKZdn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhhrKZdn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DiGEiffF.js +4 -0
- package/build/client/_app/immutable/chunks/DiGEiffF.js.br +0 -0
- package/build/client/_app/immutable/chunks/DiGEiffF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DiJ1NA_G.js +1 -0
- package/build/client/_app/immutable/chunks/DiJ1NA_G.js.br +0 -0
- package/build/client/_app/immutable/chunks/DiJ1NA_G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dm6ycUr_.js +1 -0
- package/build/client/_app/immutable/chunks/Dm6ycUr_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dm6ycUr_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmeGPVcC.js +1 -0
- package/build/client/_app/immutable/chunks/DmeGPVcC.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmeGPVcC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dnu-v4kV.js +1 -0
- package/build/client/_app/immutable/chunks/Dnu-v4kV.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dnu-v4kV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dod547Wj.js +1 -0
- package/build/client/_app/immutable/chunks/Dod547Wj.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dod547Wj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DtV1sZF8.js +1 -0
- package/build/client/_app/immutable/chunks/DtV1sZF8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DtV1sZF8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DtZ0uQbO.js +1 -0
- package/build/client/_app/immutable/chunks/DtZ0uQbO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DtZ0uQbO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dvj4DoMA.js +7 -0
- package/build/client/_app/immutable/chunks/Dvj4DoMA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dvj4DoMA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FsbNKlUV.js +1 -0
- package/build/client/_app/immutable/chunks/FsbNKlUV.js.br +0 -0
- package/build/client/_app/immutable/chunks/FsbNKlUV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IqRq0SNw.js +5 -0
- package/build/client/_app/immutable/chunks/IqRq0SNw.js.br +0 -0
- package/build/client/_app/immutable/chunks/IqRq0SNw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Kd9XrMLS.js +1 -0
- package/build/client/_app/immutable/chunks/Kd9XrMLS.js.br +0 -0
- package/build/client/_app/immutable/chunks/Kd9XrMLS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MTeUycsA.js +1 -0
- package/build/client/_app/immutable/chunks/MTeUycsA.js.br +0 -0
- package/build/client/_app/immutable/chunks/MTeUycsA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OQPjhzqD.js +1 -0
- package/build/client/_app/immutable/chunks/OQPjhzqD.js.br +0 -0
- package/build/client/_app/immutable/chunks/OQPjhzqD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OrD6JF1K.js +1 -0
- package/build/client/_app/immutable/chunks/OrD6JF1K.js.br +0 -0
- package/build/client/_app/immutable/chunks/OrD6JF1K.js.gz +0 -0
- package/build/client/_app/immutable/chunks/P3QnGgP5.js +1 -0
- package/build/client/_app/immutable/chunks/P3QnGgP5.js.br +0 -0
- package/build/client/_app/immutable/chunks/P3QnGgP5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js +1 -0
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/PPVm8Dsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/PahG7c26.js +1 -0
- package/build/client/_app/immutable/chunks/PahG7c26.js.br +0 -0
- package/build/client/_app/immutable/chunks/PahG7c26.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Tj8iQEiI.js +1 -0
- package/build/client/_app/immutable/chunks/Tj8iQEiI.js.br +2 -0
- package/build/client/_app/immutable/chunks/Tj8iQEiI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ub6l9XKa.js +1 -0
- package/build/client/_app/immutable/chunks/Ub6l9XKa.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ub6l9XKa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ufa143ku.js +1 -0
- package/build/client/_app/immutable/chunks/Ufa143ku.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ufa143ku.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y6nb8tq_.js +1 -0
- package/build/client/_app/immutable/chunks/Y6nb8tq_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y6nb8tq_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ZoU2KXpG.js +1 -0
- package/build/client/_app/immutable/chunks/ZoU2KXpG.js.br +0 -0
- package/build/client/_app/immutable/chunks/ZoU2KXpG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/acbASCJo.js +1 -0
- package/build/client/_app/immutable/chunks/acbASCJo.js.br +0 -0
- package/build/client/_app/immutable/chunks/acbASCJo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cTPe9QuQ.js +1 -0
- package/build/client/_app/immutable/chunks/cTPe9QuQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/cTPe9QuQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/cl7-CwDS.js +1 -0
- package/build/client/_app/immutable/chunks/cl7-CwDS.js.br +0 -0
- package/build/client/_app/immutable/chunks/cl7-CwDS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/dnIQExd9.js +12 -0
- package/build/client/_app/immutable/chunks/dnIQExd9.js.br +0 -0
- package/build/client/_app/immutable/chunks/dnIQExd9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/j7ic8hl3.js +1 -0
- package/build/client/_app/immutable/chunks/j7ic8hl3.js.br +0 -0
- package/build/client/_app/immutable/chunks/j7ic8hl3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s7OhZKlX.js +1 -0
- package/build/client/_app/immutable/chunks/s7OhZKlX.js.br +0 -0
- package/build/client/_app/immutable/chunks/s7OhZKlX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/tScXyioY.js +1 -0
- package/build/client/_app/immutable/chunks/tScXyioY.js.br +0 -0
- package/build/client/_app/immutable/chunks/tScXyioY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vHIfCaH5.js +1 -0
- package/build/client/_app/immutable/chunks/vHIfCaH5.js.br +0 -0
- package/build/client/_app/immutable/chunks/vHIfCaH5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wabKUHyo.js +1 -0
- package/build/client/_app/immutable/chunks/wabKUHyo.js.br +0 -0
- package/build/client/_app/immutable/chunks/wabKUHyo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ysghqVTL.js +1 -0
- package/build/client/_app/immutable/chunks/ysghqVTL.js.br +0 -0
- package/build/client/_app/immutable/chunks/ysghqVTL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/zBfavPgS.js +1 -0
- package/build/client/_app/immutable/chunks/zBfavPgS.js.br +0 -0
- package/build/client/_app/immutable/chunks/zBfavPgS.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.PoJNINhw.js +2 -0
- package/build/client/_app/immutable/entry/app.PoJNINhw.js.br +0 -0
- package/build/client/_app/immutable/entry/app.PoJNINhw.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.B4uoplFo.js +1 -0
- package/build/client/_app/immutable/entry/start.B4uoplFo.js.br +2 -0
- package/build/client/_app/immutable/entry/start.B4uoplFo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DCzg76Qe.js +1 -0
- package/build/client/_app/immutable/nodes/0.DCzg76Qe.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DCzg76Qe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.ClgiyYll.js +1 -0
- package/build/client/_app/immutable/nodes/1.ClgiyYll.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.ClgiyYll.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.C7teRzrj.js +1 -0
- package/build/client/_app/immutable/nodes/2.C7teRzrj.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.C7teRzrj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.sKteAMND.js +1 -0
- package/build/client/_app/immutable/nodes/3.sKteAMND.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.sKteAMND.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CPQMLUHZ.js +1 -0
- package/build/client/_app/immutable/nodes/4.CPQMLUHZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CPQMLUHZ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.N_zF592T.js +1 -0
- package/build/client/_app/immutable/nodes/5.N_zF592T.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.N_zF592T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.BUSb4Ab1.js +1 -0
- package/build/client/_app/immutable/nodes/6.BUSb4Ab1.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.BUSb4Ab1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.BJFxlTn2.js +1 -0
- package/build/client/_app/immutable/nodes/7.BJFxlTn2.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BJFxlTn2.js.gz +0 -0
- package/build/client/_app/immutable/workers/css.worker-DBVD8oXr.js +93 -0
- package/build/client/_app/immutable/workers/css.worker-DBVD8oXr.js.br +0 -0
- package/build/client/_app/immutable/workers/css.worker-DBVD8oXr.js.gz +0 -0
- package/build/client/_app/immutable/workers/html.worker-CwpTb9lJ.js +470 -0
- package/build/client/_app/immutable/workers/html.worker-CwpTb9lJ.js.br +0 -0
- package/build/client/_app/immutable/workers/html.worker-CwpTb9lJ.js.gz +0 -0
- package/build/client/_app/immutable/workers/json.worker-BoL8UZqY.js +58 -0
- package/build/client/_app/immutable/workers/json.worker-BoL8UZqY.js.br +0 -0
- package/build/client/_app/immutable/workers/json.worker-BoL8UZqY.js.gz +0 -0
- package/build/client/_app/immutable/workers/ts.worker-BH9nVgjN.js +67718 -0
- package/build/client/_app/immutable/workers/ts.worker-BH9nVgjN.js.br +0 -0
- package/build/client/_app/immutable/workers/ts.worker-BH9nVgjN.js.gz +0 -0
- package/build/client/_app/version.json +1 -0
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/client/robots.txt +3 -0
- package/build/env.js +45 -0
- package/build/handler.js +1390 -0
- package/build/index.js +344 -0
- package/build/server/chunks/0-DhRNco_L.js +57 -0
- package/build/server/chunks/0-DhRNco_L.js.map +1 -0
- package/build/server/chunks/1-BKryxqI3.js +9 -0
- package/build/server/chunks/1-BKryxqI3.js.map +1 -0
- package/build/server/chunks/2-DhpJoOvO.js +77 -0
- package/build/server/chunks/2-DhpJoOvO.js.map +1 -0
- package/build/server/chunks/3-CJrNENYa.js +31 -0
- package/build/server/chunks/3-CJrNENYa.js.map +1 -0
- package/build/server/chunks/4-C67qM_o9.js +31 -0
- package/build/server/chunks/4-C67qM_o9.js.map +1 -0
- package/build/server/chunks/5-Pn0OLSS6.js +34 -0
- package/build/server/chunks/5-Pn0OLSS6.js.map +1 -0
- package/build/server/chunks/6-CV402NdJ.js +110 -0
- package/build/server/chunks/6-CV402NdJ.js.map +1 -0
- package/build/server/chunks/7-CoIOnWs-.js +35 -0
- package/build/server/chunks/7-CoIOnWs-.js.map +1 -0
- package/build/server/chunks/ActionButton-oTjd-GJn.js +48 -0
- package/build/server/chunks/ActionButton-oTjd-GJn.js.map +1 -0
- package/build/server/chunks/Checkbox-DChMOPT3.js +30 -0
- package/build/server/chunks/Checkbox-DChMOPT3.js.map +1 -0
- package/build/server/chunks/Modal-DA7zbP8z.js +131 -0
- package/build/server/chunks/Modal-DA7zbP8z.js.map +1 -0
- package/build/server/chunks/SearchInput-B3TKAvNh.js +43 -0
- package/build/server/chunks/SearchInput-B3TKAvNh.js.map +1 -0
- package/build/server/chunks/TagEdit-3SsU_fnj.js +263 -0
- package/build/server/chunks/TagEdit-3SsU_fnj.js.map +1 -0
- package/build/server/chunks/TextBox-C3S0hJ__.js +293 -0
- package/build/server/chunks/TextBox-C3S0hJ__.js.map +1 -0
- package/build/server/chunks/TextInput-CQElFTug.js +132 -0
- package/build/server/chunks/TextInput-CQElFTug.js.map +1 -0
- package/build/server/chunks/Tooltip-Dslr47kD.js +31 -0
- package/build/server/chunks/Tooltip-Dslr47kD.js.map +1 -0
- package/build/server/chunks/_layout.svelte-uqx4gk2F.js +274 -0
- package/build/server/chunks/_layout.svelte-uqx4gk2F.js.map +1 -0
- package/build/server/chunks/_page.svelte-BKgp53kc.js +158 -0
- package/build/server/chunks/_page.svelte-BKgp53kc.js.map +1 -0
- package/build/server/chunks/_page.svelte-BmTpqcII.js +302 -0
- package/build/server/chunks/_page.svelte-BmTpqcII.js.map +1 -0
- package/build/server/chunks/_page.svelte-BohS7rrY.js +286 -0
- package/build/server/chunks/_page.svelte-BohS7rrY.js.map +1 -0
- package/build/server/chunks/_page.svelte-CSUOqbhb.js +945 -0
- package/build/server/chunks/_page.svelte-CSUOqbhb.js.map +1 -0
- package/build/server/chunks/_page.svelte-DU5g6zzB.js +54 -0
- package/build/server/chunks/_page.svelte-DU5g6zzB.js.map +1 -0
- package/build/server/chunks/_page.svelte-DWtiWgQo.js +151 -0
- package/build/server/chunks/_page.svelte-DWtiWgQo.js.map +1 -0
- package/build/server/chunks/_server.ts-4-hzH_go.js +10 -0
- package/build/server/chunks/_server.ts-4-hzH_go.js.map +1 -0
- package/build/server/chunks/_server.ts-BKog1rxr.js +15 -0
- package/build/server/chunks/_server.ts-BKog1rxr.js.map +1 -0
- package/build/server/chunks/_server.ts-BrqT_2HC.js +52 -0
- package/build/server/chunks/_server.ts-BrqT_2HC.js.map +1 -0
- package/build/server/chunks/_server.ts-C2U0cCog.js +299 -0
- package/build/server/chunks/_server.ts-C2U0cCog.js.map +1 -0
- package/build/server/chunks/_server.ts-Co_H4e3-.js +44 -0
- package/build/server/chunks/_server.ts-Co_H4e3-.js.map +1 -0
- package/build/server/chunks/_server.ts-CwlbssxP.js +115 -0
- package/build/server/chunks/_server.ts-CwlbssxP.js.map +1 -0
- package/build/server/chunks/_server.ts-D8TszUMI.js +31 -0
- package/build/server/chunks/_server.ts-D8TszUMI.js.map +1 -0
- package/build/server/chunks/_server.ts-DCWa9uDh.js +91 -0
- package/build/server/chunks/_server.ts-DCWa9uDh.js.map +1 -0
- package/build/server/chunks/_server.ts-DMGTsh97.js +62 -0
- package/build/server/chunks/_server.ts-DMGTsh97.js.map +1 -0
- package/build/server/chunks/_server.ts-DY6A2fS3.js +42 -0
- package/build/server/chunks/_server.ts-DY6A2fS3.js.map +1 -0
- package/build/server/chunks/_server.ts-DbamEmru.js +26 -0
- package/build/server/chunks/_server.ts-DbamEmru.js.map +1 -0
- package/build/server/chunks/_server.ts-Dql5jGEn.js +16 -0
- package/build/server/chunks/_server.ts-Dql5jGEn.js.map +1 -0
- package/build/server/chunks/_server.ts-HN2ayIwi.js +35 -0
- package/build/server/chunks/_server.ts-HN2ayIwi.js.map +1 -0
- package/build/server/chunks/_server.ts-oLkwtpyY.js +98 -0
- package/build/server/chunks/_server.ts-oLkwtpyY.js.map +1 -0
- package/build/server/chunks/_server.ts-oUZBPZtX.js +22 -0
- package/build/server/chunks/_server.ts-oUZBPZtX.js.map +1 -0
- package/build/server/chunks/cache-DMIdk3dZ.js +72 -0
- package/build/server/chunks/cache-DMIdk3dZ.js.map +1 -0
- package/build/server/chunks/client-CkT7wwfA.js +30 -0
- package/build/server/chunks/client-CkT7wwfA.js.map +1 -0
- package/build/server/chunks/context-FIVNPyAB.js +342 -0
- package/build/server/chunks/context-FIVNPyAB.js.map +1 -0
- package/build/server/chunks/error.svelte-CbpgiAbz.js +14 -0
- package/build/server/chunks/error.svelte-CbpgiAbz.js.map +1 -0
- package/build/server/chunks/fileutil-DypIDpac.js +39 -0
- package/build/server/chunks/fileutil-DypIDpac.js.map +1 -0
- package/build/server/chunks/fileutil2-CRs5tSRN.js +12 -0
- package/build/server/chunks/fileutil2-CRs5tSRN.js.map +1 -0
- package/build/server/chunks/galleryoverride.svelte-B2ZVvDFe.js +83 -0
- package/build/server/chunks/galleryoverride.svelte-B2ZVvDFe.js.map +1 -0
- package/build/server/chunks/galleryutil-BkuoU13t.js +50 -0
- package/build/server/chunks/galleryutil-BkuoU13t.js.map +1 -0
- package/build/server/chunks/index-CoD1IJuy.js +190 -0
- package/build/server/chunks/index-CoD1IJuy.js.map +1 -0
- package/build/server/chunks/index-FDRDdWKb.js +68 -0
- package/build/server/chunks/index-FDRDdWKb.js.map +1 -0
- package/build/server/chunks/index2-ChX94GIg.js +1000 -0
- package/build/server/chunks/index2-ChX94GIg.js.map +1 -0
- package/build/server/chunks/index3-C8If0R4G.js +25 -0
- package/build/server/chunks/index3-C8If0R4G.js.map +1 -0
- package/build/server/chunks/log-Dgdg632G.js +88 -0
- package/build/server/chunks/log-Dgdg632G.js.map +1 -0
- package/build/server/chunks/paths-COyPzvhX.js +11 -0
- package/build/server/chunks/paths-COyPzvhX.js.map +1 -0
- package/build/server/chunks/routing-Cz2vwfLK.js +81 -0
- package/build/server/chunks/routing-Cz2vwfLK.js.map +1 -0
- package/build/server/chunks/state.svelte-B_f7G8yO.js +9 -0
- package/build/server/chunks/state.svelte-B_f7G8yO.js.map +1 -0
- package/build/server/chunks/util-tN3TRq5K.js +39 -0
- package/build/server/chunks/util-tN3TRq5K.js.map +1 -0
- package/build/server/index.js +7874 -0
- package/build/server/index.js.map +1 -0
- package/build/server/manifest.js +191 -0
- package/build/server/manifest.js.map +1 -0
- package/build/shims.js +32 -0
- package/package.json +83 -0
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","ASYMMETRIC","AUTHORIZATION","BINARY","BOTH","CASE","CAST","CHECK","COLLATE","COLLATION","COLUMN","CONCURRENTLY","CONSTRAINT","CREATE","CROSS","CURRENT_CATALOG","CURRENT_DATE","CURRENT_ROLE","CURRENT_SCHEMA","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","DEFAULT","DEFERRABLE","DESC","DISTINCT","DO","ELSE","END","EXCEPT","FALSE","FETCH","FOR","FOREIGN","FREEZE","FROM","FULL","GRANT","GROUP","HAVING","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LATERAL","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","NATURAL","NOT","NOTNULL","NULL","OFFSET","ON","ONLY","OR","ORDER","OUTER","OVERLAPS","PLACING","PRIMARY","REFERENCES","RETURNING","RIGHT","SELECT","SESSION_USER","SIMILAR","SOME","SYMMETRIC","TABLE","TABLESAMPLE","THEN","TO","TRAILING","TRUE","UNION","UNIQUE","USER","USING","VARIADIC","VERBOSE","WHEN","WHERE","WINDOW","WITH"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["abbrev","abs","acldefault","aclexplode","acos","acosd","acosh","age","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","ascii","asin","asind","asinh","atan","atan2","atan2d","atand","atanh","avg","bit","bit_and","bit_count","bit_length","bit_or","bit_xor","bool_and","bool_or","bound_box","box","brin_desummarize_range","brin_summarize_new_values","brin_summarize_range","broadcast","btrim","cardinality","cbrt","ceil","ceiling","center","char_length","character_length","chr","circle","clock_timestamp","coalesce","col_description","concat","concat_ws","convert","convert_from","convert_to","corr","cos","cosd","cosh","cot","cotd","count","covar_pop","covar_samp","cume_dist","current_catalog","current_database","current_date","current_query","current_role","current_schema","current_schemas","current_setting","current_time","current_timestamp","current_user","currval","cursor_to_xml","cursor_to_xmlschema","date_bin","date_part","date_trunc","database_to_xml","database_to_xml_and_xmlschema","database_to_xmlschema","decode","degrees","dense_rank","diagonal","diameter","div","encode","enum_first","enum_last","enum_range","every","exp","extract","factorial","family","first_value","floor","format","format_type","gcd","gen_random_uuid","generate_series","generate_subscripts","get_bit","get_byte","get_current_ts_config","gin_clean_pending_list","greatest","grouping","has_any_column_privilege","has_column_privilege","has_database_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_schema_privilege","has_sequence_privilege","has_server_privilege","has_table_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","initcap","isclosed","isempty","isfinite","isopen","json_agg","json_array_elements","json_array_elements_text","json_array_length","json_build_array","json_build_object","json_each","json_each_text","json_extract_path","json_extract_path_text","json_object","json_object_agg","json_object_keys","json_populate_record","json_populate_recordset","json_strip_nulls","json_to_record","json_to_recordset","json_to_tsvector","json_typeof","jsonb_agg","jsonb_array_elements","jsonb_array_elements_text","jsonb_array_length","jsonb_build_array","jsonb_build_object","jsonb_each","jsonb_each_text","jsonb_extract_path","jsonb_extract_path_text","jsonb_insert","jsonb_object","jsonb_object_agg","jsonb_object_keys","jsonb_path_exists","jsonb_path_match","jsonb_path_query","jsonb_path_query_array","jsonb_path_exists_tz","jsonb_path_query_first","jsonb_path_query_array_tz","jsonb_path_query_first_tz","jsonb_path_query_tz","jsonb_path_match_tz","jsonb_populate_record","jsonb_populate_recordset","jsonb_pretty","jsonb_set","jsonb_set_lax","jsonb_strip_nulls","jsonb_to_record","jsonb_to_recordset","jsonb_to_tsvector","jsonb_typeof","justify_days","justify_hours","justify_interval","lag","last_value","lastval","lcm","lead","least","left","length","line","ln","localtime","localtimestamp","log","log10","lower","lower_inc","lower_inf","lpad","lseg","ltrim","macaddr8_set7bit","make_date","make_interval","make_time","make_timestamp","make_timestamptz","makeaclitem","masklen","max","md5","min","min_scale","mod","mode","multirange","netmask","network","nextval","normalize","now","npoints","nth_value","ntile","nullif","num_nonnulls","num_nulls","numnode","obj_description","octet_length","overlay","parse_ident","path","pclose","percent_rank","percentile_cont","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backend_pid","pg_backup_start_time","pg_blocking_pids","pg_cancel_backend","pg_client_encoding","pg_collation_actual_version","pg_collation_is_visible","pg_column_compression","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_copy_logical_replication_slot","pg_copy_physical_replication_slot","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_logfile","pg_current_snapshot","pg_current_wal_flush_lsn","pg_current_wal_insert_lsn","pg_current_wal_lsn","pg_current_xact_id","pg_current_xact_id_if_assigned","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_event_trigger_ddl_commands","pg_event_trigger_dropped_objects","pg_event_trigger_table_rewrite_oid","pg_event_trigger_table_rewrite_reason","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_catalog_foreign_keys","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_statisticsobjdef","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_get_wal_replay_pause_state","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_import_system_collations","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_wal_replay_paused","pg_is_xlog_replay_paused","pg_jit_available","pg_last_committed_xact","pg_last_wal_receive_lsn","pg_last_wal_replay_lsn","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_log_backend_memory_contexts","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_archive_statusdir","pg_ls_dir","pg_ls_logdir","pg_ls_tmpdir","pg_ls_waldir","pg_mcv_list_items","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_partition_ancestors","pg_partition_root","pg_partition_tree","pg_postmaster_start_time","pg_promote","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_advance","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_replication_slot_advance","pg_rotate_logfile","pg_safe_snapshot_blocking_pids","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_snapshot_xip","pg_snapshot_xmax","pg_snapshot_xmin","pg_start_backup","pg_stat_file","pg_statistics_obj_is_visible","pg_stop_backup","pg_switch_wal","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_terminate_backend","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_visible_in_snapshot","pg_wal_lsn_diff","pg_wal_replay_pause","pg_wal_replay_resume","pg_walfile_name","pg_walfile_name_offset","pg_xact_commit_timestamp","pg_xact_commit_timestamp_origin","pg_xact_status","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","pi","plainto_tsquery","point","polygon","popen","position","power","pqserverversion","query_to_xml","query_to_xml_and_xmlschema","query_to_xmlschema","querytree","quote_ident","quote_literal","quote_nullable","radians","radius","random","range_agg","range_intersect_agg","range_merge","rank","regexp_count","regexp_instr","regexp_like","regexp_match","regexp_matches","regexp_replace","regexp_split_to_array","regexp_split_to_table","regexp_substr","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","repeat","replace","reverse","right","round","row_number","row_security_active","row_to_json","rpad","rtrim","scale","schema_to_xml","schema_to_xml_and_xmlschema","schema_to_xmlschema","session_user","set_bit","set_byte","set_config","set_masklen","setseed","setval","setweight","sha224","sha256","sha384","sha512","shobj_description","sign","sin","sind","sinh","slope","split_part","sprintf","sqrt","starts_with","statement_timestamp","stddev","stddev_pop","stddev_samp","string_agg","string_to_array","string_to_table","strip","strpos","substr","substring","sum","suppress_redundant_updates_trigger","table_to_xml","table_to_xml_and_xmlschema","table_to_xmlschema","tan","tand","tanh","text","timeofday","timezone","to_ascii","to_char","to_date","to_hex","to_json","to_number","to_regclass","to_regcollation","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_timestamp","to_tsquery","to_tsvector","transaction_timestamp","translate","trim","trim_array","trim_scale","trunc","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_if_assigned","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_status","txid_visible_in_snapshot","unistr","unnest","upper","upper_inc","upper_inf","user","var_pop","var_samp","variance","version","websearch_to_tsquery","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@keywords":"keyword","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}};export{e as conf,_ as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as t}from"./Clqpx6Fc.js";const e=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:t.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${e.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:t.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/@@@@/],[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@comment"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/[ \t\r\n]+/],[/[^<@]+/]],doctype:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/@[^@]/,{token:"@rematch",switchTo:"@razorInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],razorInSimpleState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3"}]],razorInEmbeddedState:[[/@\*/,"comment.cs","@razorBlockCommentTopLevel"],[/@[{(]/,"metatag.cs","@razorRootTopLevel"],[/(@)(\s*[\w]+)/,["metatag.cs",{token:"identifier.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],[/[})]/,{token:"metatag.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],[/\*@/,{token:"comment.cs",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}]],razorBlockCommentTopLevel:[[/\*@/,"@rematch","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorBlockComment:[[/\*@/,"comment.cs","@pop"],[/[^*]+/,"comment.cs"],[/./,"comment.cs"]],razorRootTopLevel:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/[})]/,"@rematch","@pop"],{include:"razorCommon"}],razorRoot:[[/\{/,"delimiter.bracket.cs","@razorRoot"],[/\(/,"delimiter.parenthesis.cs","@razorRoot"],[/\}/,"delimiter.bracket.cs","@pop"],[/\)/,"delimiter.parenthesis.cs","@pop"],{include:"razorCommon"}],razorCommon:[[/[a-zA-Z_]\w*/,{cases:{"@razorKeywords":{token:"keyword.cs"},"@default":"identifier.cs"}}],[/[\[\]]/,"delimiter.array.cs"],[/[ \t\r\n]+/],[/\/\/.*$/,"comment.cs"],[/@\*/,"comment.cs","@razorBlockComment"],[/"([^"]*)"/,"string.cs"],[/'([^']*)'/,"string.cs"],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<\/)([\w\-]+)(>)/,["delimiter.html","tag.html","delimiter.html"]],[/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/,"delimiter.cs"],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float.cs"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float.cs"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex.cs"],[/0[0-7']*[0-7]/,"number.octal.cs"],[/0[bB][0-1']*[0-1]/,"number.binary.cs"],[/\d[\d']*/,"number.cs"],[/\d/,"number.cs"]]},razorKeywords:["abstract","as","async","await","base","bool","break","by","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","descending","explicit","event","extern","else","enum","false","finally","fixed","float","for","foreach","from","goto","group","if","implicit","in","int","interface","internal","into","is","lock","long","nameof","new","null","namespace","object","operator","out","override","orderby","params","private","protected","public","readonly","ref","return","switch","struct","sbyte","sealed","short","sizeof","stackalloc","static","string","select","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","var","virtual","volatile","void","when","while","where","yield","model","inject"],escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/};export{o as conf,m as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=["true","false"],t={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],autoCloseBefore:`.,=}])>'
|
|
2
|
+
`,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},n={defaultToken:"",tokenPostfix:".proto",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:["syntax","import","weak","public","package","option","repeated","oneof","map","reserved","to","max","enum","message","service","rpc","stream","returns","package","optional","true","false"],builtinTypes:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],operators:["=","+","-"],namedLiterals:e,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",identifier:/[a-zA-Z]\w*/,fullIdentifier:/@identifier(?:\s*\.\s*@identifier)*/,optionName:/(?:@identifier|\(\s*@fullIdentifier\s*\))(?:\s*\.\s*@identifier)*/,messageName:/@identifier/,enumName:/@identifier/,messageType:/\.?\s*(?:@identifier\s*\.\s*)*@messageName/,enumType:/\.?\s*(?:@identifier\s*\.\s*)*@enumName/,floatLit:/[0-9]+\s*\.\s*[0-9]*(?:@exponent)?|[0-9]+@exponent|\.[0-9]+(?:@exponent)?/,exponent:/[eE]\s*[+-]?\s*[0-9]+/,boolLit:/true\b|false\b/,decimalLit:/[1-9][0-9]*/,octalLit:/0[0-7]*/,hexLit:/0[xX][0-9a-fA-F]+/,type:/double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes|@messageType|@enumType/,keyType:/int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string/,tokenizer:{root:[{include:"@whitespace"},[/syntax/,"keyword"],[/=/,"operators"],[/;/,"delimiter"],[/(")(proto3)(")/,["string.quote","string",{token:"string.quote",switchTo:"@topLevel.proto3"}]],[/(")(proto2)(")/,["string.quote","string",{token:"string.quote",switchTo:"@topLevel.proto2"}]],[/.*?/,{token:"",switchTo:"@topLevel.proto2"}]],topLevel:[{include:"@whitespace"},{include:"@constant"},[/=/,"operators"],[/[;.]/,"delimiter"],[/@fullIdentifier/,{cases:{option:{token:"keyword",next:"@option.$S2"},enum:{token:"keyword",next:"@enumDecl.$S2"},message:{token:"keyword",next:"@messageDecl.$S2"},service:{token:"keyword",next:"@serviceDecl.$S2"},extend:{cases:{"$S2==proto2":{token:"keyword",next:"@extendDecl.$S2"}}},"@keywords":"keyword","@default":"identifier"}}]],enumDecl:[{include:"@whitespace"},[/@identifier/,"type.identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@enumBody.$S2"}]],enumBody:[{include:"@whitespace"},{include:"@constant"},[/=/,"operators"],[/;/,"delimiter"],[/option\b/,"keyword","@option.$S2"],[/@identifier/,"identifier"],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],messageDecl:[{include:"@whitespace"},[/@identifier/,"type.identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@messageBody.$S2"}]],messageBody:[{include:"@whitespace"},{include:"@constant"},[/=/,"operators"],[/;/,"delimiter"],["(map)(s*)(<)",["keyword","white",{token:"@brackets",bracket:"@open",next:"@map.$S2"}]],[/@identifier/,{cases:{option:{token:"keyword",next:"@option.$S2"},enum:{token:"keyword",next:"@enumDecl.$S2"},message:{token:"keyword",next:"@messageDecl.$S2"},oneof:{token:"keyword",next:"@oneofDecl.$S2"},extensions:{cases:{"$S2==proto2":{token:"keyword",next:"@reserved.$S2"}}},reserved:{token:"keyword",next:"@reserved.$S2"},"(?:repeated|optional)":{token:"keyword",next:"@field.$S2"},required:{cases:{"$S2==proto2":{token:"keyword",next:"@field.$S2"}}},"$S2==proto3":{token:"@rematch",next:"@field.$S2"}}}],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],extendDecl:[{include:"@whitespace"},[/@identifier/,"type.identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@extendBody.$S2"}]],extendBody:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],[/(?:repeated|optional|required)/,"keyword","@field.$S2"],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],options:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],[/@optionName/,"annotation"],[/[()]/,"annotation.brackets"],[/=/,"operator"],[/\]/,{token:"@brackets",bracket:"@close",next:"@pop"}]],option:[{include:"@whitespace"},[/@optionName/,"annotation"],[/[()]/,"annotation.brackets"],[/=/,"operator","@pop"]],oneofDecl:[{include:"@whitespace"},[/@identifier/,"identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@oneofBody.$S2"}]],oneofBody:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],[/(@identifier)(\s*)(=)/,["identifier","white","delimiter"]],[/@fullIdentifier|\./,{cases:{"@builtinTypes":"keyword","@default":"type.identifier"}}],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],reserved:[{include:"@whitespace"},[/,/,"delimiter"],[/;/,"delimiter","@pop"],{include:"@constant"},[/to\b|max\b/,"keyword"]],map:[{include:"@whitespace"},[/@fullIdentifier|\./,{cases:{"@builtinTypes":"keyword","@default":"type.identifier"}}],[/,/,"delimiter"],[/>/,{token:"@brackets",bracket:"@close",switchTo:"identifier"}]],field:[{include:"@whitespace"},["group",{cases:{"$S2==proto2":{token:"keyword",switchTo:"@groupDecl.$S2"}}}],[/(@identifier)(\s*)(=)/,["identifier","white",{token:"delimiter",next:"@pop"}]],[/@fullIdentifier|\./,{cases:{"@builtinTypes":"keyword","@default":"type.identifier"}}]],groupDecl:[{include:"@whitespace"},[/@identifier/,"identifier"],["=","operator"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@messageBody.$S2"}],{include:"@constant"}],type:[{include:"@whitespace"},[/@identifier/,"type.identifier","@pop"],[/./,"delimiter"]],identifier:[{include:"@whitespace"},[/@identifier/,"identifier","@pop"]],serviceDecl:[{include:"@whitespace"},[/@identifier/,"identifier"],[/{/,{token:"@brackets",bracket:"@open",switchTo:"@serviceBody.$S2"}]],serviceBody:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],[/option\b/,"keyword","@option.$S2"],[/rpc\b/,"keyword","@rpc.$S2"],[/\[/,{token:"@brackets",bracket:"@open",next:"@options.$S2"}],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],rpc:[{include:"@whitespace"},[/@identifier/,"identifier"],[/\(/,{token:"@brackets",bracket:"@open",switchTo:"@request.$S2"}],[/{/,{token:"@brackets",bracket:"@open",next:"@methodOptions.$S2"}],[/;/,"delimiter","@pop"]],request:[{include:"@whitespace"},[/@messageType/,{cases:{stream:{token:"keyword",next:"@type.$S2"},"@default":"type.identifier"}}],[/\)/,{token:"@brackets",bracket:"@close",switchTo:"@returns.$S2"}]],returns:[{include:"@whitespace"},[/returns\b/,"keyword"],[/\(/,{token:"@brackets",bracket:"@open",switchTo:"@response.$S2"}]],response:[{include:"@whitespace"},[/@messageType/,{cases:{stream:{token:"keyword",next:"@type.$S2"},"@default":"type.identifier"}}],[/\)/,{token:"@brackets",bracket:"@close",switchTo:"@rpc.$S2"}]],methodOptions:[{include:"@whitespace"},{include:"@constant"},[/;/,"delimiter"],["option","keyword"],[/@optionName/,"annotation"],[/[()]/,"annotation.brackets"],[/=/,"operator"],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],constant:[["@boolLit","keyword.constant"],["@hexLit","number.hex"],["@octalLit","number.octal"],["@decimalLit","number"],["@floatLit","number.float"],[/("([^"\\]|\\.)*|'([^'\\]|\\.)*)$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],[/'/,{token:"string.quote",bracket:"@open",next:"@stringSingle"}],[/{/,{token:"@brackets",bracket:"@open",next:"@prototext"}],[/identifier/,"identifier"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],prototext:[{include:"@whitespace"},{include:"@constant"},[/@identifier/,"identifier"],[/[:;]/,"delimiter"],[/}/,{token:"@brackets",bracket:"@close",next:"@pop"}]]}};export{t as conf,n as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"--",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},_={defaultToken:"",tokenPostfix:".sql",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["AES128","AES256","ALL","ALLOWOVERWRITE","ANALYSE","ANALYZE","AND","ANY","ARRAY","AS","ASC","AUTHORIZATION","AZ64","BACKUP","BETWEEN","BINARY","BLANKSASNULL","BOTH","BYTEDICT","BZIP2","CASE","CAST","CHECK","COLLATE","COLUMN","CONSTRAINT","CREATE","CREDENTIALS","CROSS","CURRENT_DATE","CURRENT_TIME","CURRENT_TIMESTAMP","CURRENT_USER","CURRENT_USER_ID","DEFAULT","DEFERRABLE","DEFLATE","DEFRAG","DELTA","DELTA32K","DESC","DISABLE","DISTINCT","DO","ELSE","EMPTYASNULL","ENABLE","ENCODE","ENCRYPT","ENCRYPTION","END","EXCEPT","EXPLICIT","FALSE","FOR","FOREIGN","FREEZE","FROM","FULL","GLOBALDICT256","GLOBALDICT64K","GRANT","GROUP","GZIP","HAVING","IDENTITY","IGNORE","ILIKE","IN","INITIALLY","INNER","INTERSECT","INTO","IS","ISNULL","JOIN","LANGUAGE","LEADING","LEFT","LIKE","LIMIT","LOCALTIME","LOCALTIMESTAMP","LUN","LUNS","LZO","LZOP","MINUS","MOSTLY16","MOSTLY32","MOSTLY8","NATURAL","NEW","NOT","NOTNULL","NULL","NULLS","OFF","OFFLINE","OFFSET","OID","OLD","ON","ONLY","OPEN","OR","ORDER","OUTER","OVERLAPS","PARALLEL","PARTITION","PERCENT","PERMISSIONS","PLACING","PRIMARY","RAW","READRATIO","RECOVER","REFERENCES","RESPECT","REJECTLOG","RESORT","RESTORE","RIGHT","SELECT","SESSION_USER","SIMILAR","SNAPSHOT","SOME","SYSDATE","SYSTEM","TABLE","TAG","TDES","TEXT255","TEXT32K","THEN","TIMESTAMP","TO","TOP","TRAILING","TRUE","TRUNCATECOLUMNS","UNION","UNIQUE","USER","USING","VERBOSE","WALLET","WHEN","WHERE","WITH","WITHOUT"],operators:["AND","BETWEEN","IN","LIKE","NOT","OR","IS","NULL","INTERSECT","UNION","INNER","JOIN","LEFT","OUTER","RIGHT"],builtinFunctions:["current_schema","current_schemas","has_database_privilege","has_schema_privilege","has_table_privilege","age","current_time","current_timestamp","localtime","isfinite","now","ascii","get_bit","get_byte","set_bit","set_byte","to_ascii","approximate percentile_disc","avg","count","listagg","max","median","min","percentile_cont","stddev_samp","stddev_pop","sum","var_samp","var_pop","bit_and","bit_or","bool_and","bool_or","cume_dist","first_value","lag","last_value","lead","nth_value","ratio_to_report","dense_rank","ntile","percent_rank","rank","row_number","case","coalesce","decode","greatest","least","nvl","nvl2","nullif","add_months","at time zone","convert_timezone","current_date","date_cmp","date_cmp_timestamp","date_cmp_timestamptz","date_part_year","dateadd","datediff","date_part","date_trunc","extract","getdate","interval_cmp","last_day","months_between","next_day","sysdate","timeofday","timestamp_cmp","timestamp_cmp_date","timestamp_cmp_timestamptz","timestamptz_cmp","timestamptz_cmp_date","timestamptz_cmp_timestamp","timezone","to_timestamp","trunc","abs","acos","asin","atan","atan2","cbrt","ceil","ceiling","checksum","cos","cot","degrees","dexp","dlog1","dlog10","exp","floor","ln","log","mod","pi","power","radians","random","round","sin","sign","sqrt","tan","to_hex","bpcharcmp","btrim","bttext_pattern_cmp","char_length","character_length","charindex","chr","concat","crc32","func_sha1","initcap","left and rights","len","length","lower","lpad and rpads","ltrim","md5","octet_length","position","quote_ident","quote_literal","regexp_count","regexp_instr","regexp_replace","regexp_substr","repeat","replace","replicate","reverse","rtrim","split_part","strpos","strtol","substring","textlen","translate","trim","upper","cast","convert","to_char","to_date","to_number","json_array_length","json_extract_array_element_text","json_extract_path_text","current_setting","pg_cancel_backend","pg_terminate_backend","set_config","current_database","current_user","current_user_id","pg_backend_pid","pg_last_copy_count","pg_last_copy_id","pg_last_query_id","pg_last_unload_count","session_user","slice_num","user","version","abbrev","acosd","any","area","array_agg","array_append","array_cat","array_dims","array_fill","array_length","array_lower","array_ndims","array_position","array_positions","array_prepend","array_remove","array_replace","array_to_json","array_to_string","array_to_tsvector","array_upper","asind","atan2d","atand","bit","bit_length","bound_box","box","brin_summarize_new_values","broadcast","cardinality","center","circle","clock_timestamp","col_description","concat_ws","convert_from","convert_to","corr","cosd","cotd","covar_pop","covar_samp","current_catalog","current_query","current_role","currval","cursor_to_xml","diameter","div","encode","enum_first","enum_last","enum_range","every","family","format","format_type","generate_series","generate_subscripts","get_current_ts_config","gin_clean_pending_list","grouping","has_any_column_privilege","has_column_privilege","has_foreign_data_wrapper_privilege","has_function_privilege","has_language_privilege","has_sequence_privilege","has_server_privilege","has_tablespace_privilege","has_type_privilege","height","host","hostmask","inet_client_addr","inet_client_port","inet_merge","inet_same_family","inet_server_addr","inet_server_port","isclosed","isempty","isopen","json_agg","json_object","json_object_agg","json_populate_record","json_populate_recordset","json_to_record","json_to_recordset","jsonb_agg","jsonb_object_agg","justify_days","justify_hours","justify_interval","lastval","left","line","localtimestamp","lower_inc","lower_inf","lpad","lseg","make_date","make_interval","make_time","make_timestamp","make_timestamptz","masklen","mode","netmask","network","nextval","npoints","num_nonnulls","num_nulls","numnode","obj_description","overlay","parse_ident","path","pclose","percentile_disc","pg_advisory_lock","pg_advisory_lock_shared","pg_advisory_unlock","pg_advisory_unlock_all","pg_advisory_unlock_shared","pg_advisory_xact_lock","pg_advisory_xact_lock_shared","pg_backup_start_time","pg_blocking_pids","pg_client_encoding","pg_collation_is_visible","pg_column_size","pg_conf_load_time","pg_control_checkpoint","pg_control_init","pg_control_recovery","pg_control_system","pg_conversion_is_visible","pg_create_logical_replication_slot","pg_create_physical_replication_slot","pg_create_restore_point","pg_current_xlog_flush_location","pg_current_xlog_insert_location","pg_current_xlog_location","pg_database_size","pg_describe_object","pg_drop_replication_slot","pg_export_snapshot","pg_filenode_relation","pg_function_is_visible","pg_get_constraintdef","pg_get_expr","pg_get_function_arguments","pg_get_function_identity_arguments","pg_get_function_result","pg_get_functiondef","pg_get_indexdef","pg_get_keywords","pg_get_object_address","pg_get_owned_sequence","pg_get_ruledef","pg_get_serial_sequence","pg_get_triggerdef","pg_get_userbyid","pg_get_viewdef","pg_has_role","pg_identify_object","pg_identify_object_as_address","pg_index_column_has_property","pg_index_has_property","pg_indexam_has_property","pg_indexes_size","pg_is_in_backup","pg_is_in_recovery","pg_is_other_temp_schema","pg_is_xlog_replay_paused","pg_last_committed_xact","pg_last_xact_replay_timestamp","pg_last_xlog_receive_location","pg_last_xlog_replay_location","pg_listening_channels","pg_logical_emit_message","pg_logical_slot_get_binary_changes","pg_logical_slot_get_changes","pg_logical_slot_peek_binary_changes","pg_logical_slot_peek_changes","pg_ls_dir","pg_my_temp_schema","pg_notification_queue_usage","pg_opclass_is_visible","pg_operator_is_visible","pg_opfamily_is_visible","pg_options_to_table","pg_postmaster_start_time","pg_read_binary_file","pg_read_file","pg_relation_filenode","pg_relation_filepath","pg_relation_size","pg_reload_conf","pg_replication_origin_create","pg_replication_origin_drop","pg_replication_origin_oid","pg_replication_origin_progress","pg_replication_origin_session_is_setup","pg_replication_origin_session_progress","pg_replication_origin_session_reset","pg_replication_origin_session_setup","pg_replication_origin_xact_reset","pg_replication_origin_xact_setup","pg_rotate_logfile","pg_size_bytes","pg_size_pretty","pg_sleep","pg_sleep_for","pg_sleep_until","pg_start_backup","pg_stat_file","pg_stop_backup","pg_switch_xlog","pg_table_is_visible","pg_table_size","pg_tablespace_databases","pg_tablespace_location","pg_tablespace_size","pg_total_relation_size","pg_trigger_depth","pg_try_advisory_lock","pg_try_advisory_lock_shared","pg_try_advisory_xact_lock","pg_try_advisory_xact_lock_shared","pg_ts_config_is_visible","pg_ts_dict_is_visible","pg_ts_parser_is_visible","pg_ts_template_is_visible","pg_type_is_visible","pg_typeof","pg_xact_commit_timestamp","pg_xlog_location_diff","pg_xlog_replay_pause","pg_xlog_replay_resume","pg_xlogfile_name","pg_xlogfile_name_offset","phraseto_tsquery","plainto_tsquery","point","polygon","popen","pqserverversion","query_to_xml","querytree","quote_nullable","radius","range_merge","regexp_matches","regexp_split_to_array","regexp_split_to_table","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","right","row_security_active","row_to_json","rpad","scale","set_masklen","setseed","setval","setweight","shobj_description","sind","sprintf","statement_timestamp","stddev","string_agg","string_to_array","strip","substr","table_to_xml","table_to_xml_and_xmlschema","tand","text","to_json","to_regclass","to_regnamespace","to_regoper","to_regoperator","to_regproc","to_regprocedure","to_regrole","to_regtype","to_tsquery","to_tsvector","transaction_timestamp","ts_debug","ts_delete","ts_filter","ts_headline","ts_lexize","ts_parse","ts_rank","ts_rank_cd","ts_rewrite","ts_stat","ts_token_type","tsquery_phrase","tsvector_to_array","tsvector_update_trigger","tsvector_update_trigger_column","txid_current","txid_current_snapshot","txid_snapshot_xip","txid_snapshot_xmax","txid_snapshot_xmin","txid_visible_in_snapshot","unnest","upper_inc","upper_inf","variance","width","width_bucket","xml_is_well_formed","xml_is_well_formed_content","xml_is_well_formed_document","xmlagg","xmlcomment","xmlconcat","xmlelement","xmlexists","xmlforest","xmlparse","xmlpi","xmlroot","xmlserialize","xpath","xpath_exists"],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@comments"},{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@complexIdentifiers"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],comments:[[/--+.*/,"comment"],[/\/\*/,{token:"comment.quote",next:"@comment"}]],comment:[[/[^*/]+/,"comment"],[/\*\//,{token:"comment.quote",next:"@pop"}],[/./,"comment"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],complexIdentifiers:[[/"/,{token:"identifier.quote",next:"@quotedIdentifier"}]],quotedIdentifier:[[/[^"]+/,"identifier"],[/""/,"identifier"],[/"/,{token:"identifier.quote",next:"@pop"}]],scopes:[]}};export{e as conf,_ as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"],["begin","end"],["case","endcase"],["casex","endcase"],["casez","endcase"],["checker","endchecker"],["class","endclass"],["clocking","endclocking"],["config","endconfig"],["function","endfunction"],["generate","endgenerate"],["group","endgroup"],["interface","endinterface"],["module","endmodule"],["package","endpackage"],["primitive","endprimitive"],["program","endprogram"],["property","endproperty"],["specify","endspecify"],["sequence","endsequence"],["table","endtable"],["task","endtask"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{offSide:!1,markers:{start:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),end:new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")}}},n={defaultToken:"",tokenPostfix:".sv",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","null","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],builtin_gates:["and","nand","nor","or","xor","xnor","buf","not","bufif0","bufif1","notif1","notif0","cmos","nmos","pmos","rcmos","rnmos","rpmos","tran","tranif1","tranif0","rtran","rtranif1","rtranif0"],operators:["=","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>+","<<<=",">>>=","?",":","+","-","!","~","&","~&","|","~|","^","~^","^~","+","-","*","/","%","==","!=","===","!==","==?","!=?","&&","||","**","<","<=",">",">=","&","|","^",">>","<<",">>>","<<<","++","--","->","<->","inside","dist","::","+:","-:","*>","&&&","|->","|=>","#=#"],symbols:/[=><!~?:&|+\-*\/\^%#]+/,escapes:/%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,identifier:/(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,systemcall:/[$][a-zA-Z0-9_]+/,timeunits:/s|ms|us|ns|ps|fs/,tokenizer:{root:[[/^(\s*)(@identifier)/,["",{cases:{"@builtin_gates":{token:"keyword.$2",next:"@module_instance"},table:{token:"keyword.$2",next:"@table"},"@keywords":{token:"keyword.$2"},"@default":{token:"identifier",next:"@module_instance"}}}]],[/^\s*`include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*`\s*\w+/,"keyword"],{include:"@identifier_or_keyword"},{include:"@whitespace"},[/\(\*.*\*\)/,"annotation"],[/@systemcall/,"variable.predefined"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],{include:"@numbers"},[/[;,.]/,"delimiter"],{include:"@strings"}],identifier_or_keyword:[[/@identifier/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}]],numbers:[[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/,"number.float"],[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/,"number.float"],[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/,"number"],[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/,"number.binary"],[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/,"number.octal"],[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/,"number.hex"],[/1step/,"number"],[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/,"number"],[/'[01xXzZ]+/,"number"]],module_instance:[{include:"@whitespace"},[/(#?)(\()/,["",{token:"@brackets",next:"@port_connection"}]],[/@identifier\s*[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@symbols|[;={}\[\],]/,{token:"@rematch",next:"@pop"}],[/@identifier/,"type"],[/;/,"delimiter","@pop"]],port_connection:[{include:"@identifier_or_keyword"},{include:"@whitespace"},[/@systemcall/,"variable.predefined"],{include:"@numbers"},{include:"@strings"},[/[,]/,"delimiter"],[/\(/,"@brackets","@port_connection"],[/\)/,"@brackets","@pop"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],include:[[/(\s*)(")([\w*\/*]*)(.\w*)(")/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]],[/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,["","string.include.identifier","string.include.identifier","string.include.identifier",{token:"string.include.identifier",next:"@pop"}]]],table:[{include:"@whitespace"},[/[()]/,"@brackets"],[/[:;]/,"delimiter"],[/[01\-*?xXbBrRfFpPnN]/,"variable.predefined"],["endtable","keyword.endtable","@pop"]]}};export{e as conf,n as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=e=>`\\b${e}\\b`,n=e=>`(?!${e})`,i="[_a-zA-Z]",r="[_a-zA-Z0-9]",t=o(`${i}${r}*`),s=o("[_a-zA-Z-0-9]+"),c=["import","model","scalar","namespace","op","interface","union","using","is","extends","enum","alias","return","void","if","else","projection","dec","extern","fn"],a=["true","false","null","unknown","never"],g="[ \\t\\r\\n]",l="[0-9]+",k={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],indentationRules:{decreaseIndentPattern:new RegExp("^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$"),increaseIndentPattern:new RegExp("^((?!//).)*(\\{([^}\"'`/]*|(\\t|[ ])*//.*)|\\([^)\"'`/]*|\\[[^\\]\"'`/]*)$"),unIndentedLinePattern:new RegExp("^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!/))*)?$")}},x={defaultToken:"",tokenPostfix:".tsp",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=:;<>]+/,keywords:c,namedLiterals:a,escapes:'\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|"|\\${)',tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:'(|"|"")[^"]',action:{token:"string"}},{regex:`"""${n('"')}`,action:{token:"string",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:'[^\\\\"$]+',action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:'"',action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"@expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:g},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:'"""',action:{token:"string",next:"@stringVerbatim"}},{regex:`"${n('""')}`,action:{token:"string",next:"@stringLiteral"}},{regex:l,action:{token:"number"}},{regex:t,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}},{regex:`@${t}`,action:{token:"tag"}},{regex:`#${s}`,action:{token:"directive"}}]}};export{k as conf,x as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const E={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},S={defaultToken:"",tokenPostfix:".redis",ignoreCase:!0,brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["APPEND","AUTH","BGREWRITEAOF","BGSAVE","BITCOUNT","BITFIELD","BITOP","BITPOS","BLPOP","BRPOP","BRPOPLPUSH","CLIENT","KILL","LIST","GETNAME","PAUSE","REPLY","SETNAME","CLUSTER","ADDSLOTS","COUNT-FAILURE-REPORTS","COUNTKEYSINSLOT","DELSLOTS","FAILOVER","FORGET","GETKEYSINSLOT","INFO","KEYSLOT","MEET","NODES","REPLICATE","RESET","SAVECONFIG","SET-CONFIG-EPOCH","SETSLOT","SLAVES","SLOTS","COMMAND","COUNT","GETKEYS","CONFIG","GET","REWRITE","SET","RESETSTAT","DBSIZE","DEBUG","OBJECT","SEGFAULT","DECR","DECRBY","DEL","DISCARD","DUMP","ECHO","EVAL","EVALSHA","EXEC","EXISTS","EXPIRE","EXPIREAT","FLUSHALL","FLUSHDB","GEOADD","GEOHASH","GEOPOS","GEODIST","GEORADIUS","GEORADIUSBYMEMBER","GETBIT","GETRANGE","GETSET","HDEL","HEXISTS","HGET","HGETALL","HINCRBY","HINCRBYFLOAT","HKEYS","HLEN","HMGET","HMSET","HSET","HSETNX","HSTRLEN","HVALS","INCR","INCRBY","INCRBYFLOAT","KEYS","LASTSAVE","LINDEX","LINSERT","LLEN","LPOP","LPUSH","LPUSHX","LRANGE","LREM","LSET","LTRIM","MGET","MIGRATE","MONITOR","MOVE","MSET","MSETNX","MULTI","PERSIST","PEXPIRE","PEXPIREAT","PFADD","PFCOUNT","PFMERGE","PING","PSETEX","PSUBSCRIBE","PUBSUB","PTTL","PUBLISH","PUNSUBSCRIBE","QUIT","RANDOMKEY","READONLY","READWRITE","RENAME","RENAMENX","RESTORE","ROLE","RPOP","RPOPLPUSH","RPUSH","RPUSHX","SADD","SAVE","SCARD","SCRIPT","FLUSH","LOAD","SDIFF","SDIFFSTORE","SELECT","SETBIT","SETEX","SETNX","SETRANGE","SHUTDOWN","SINTER","SINTERSTORE","SISMEMBER","SLAVEOF","SLOWLOG","SMEMBERS","SMOVE","SORT","SPOP","SRANDMEMBER","SREM","STRLEN","SUBSCRIBE","SUNION","SUNIONSTORE","SWAPDB","SYNC","TIME","TOUCH","TTL","TYPE","UNSUBSCRIBE","UNLINK","UNWATCH","WAIT","WATCH","ZADD","ZCARD","ZCOUNT","ZINCRBY","ZINTERSTORE","ZLEXCOUNT","ZRANGE","ZRANGEBYLEX","ZREVRANGEBYLEX","ZRANGEBYSCORE","ZRANK","ZREM","ZREMRANGEBYLEX","ZREMRANGEBYRANK","ZREMRANGEBYSCORE","ZREVRANGE","ZREVRANGEBYSCORE","ZREVRANK","ZSCORE","ZUNIONSTORE","SCAN","SSCAN","HSCAN","ZSCAN"],operators:[],builtinFunctions:[],builtinVariables:[],pseudoColumns:[],tokenizer:{root:[{include:"@whitespace"},{include:"@pseudoColumns"},{include:"@numbers"},{include:"@strings"},{include:"@scopes"},[/[;,.]/,"delimiter"],[/[()]/,"@brackets"],[/[\w@#$]+/,{cases:{"@keywords":"keyword","@operators":"operator","@builtinVariables":"predefined","@builtinFunctions":"predefined","@default":"identifier"}}],[/[<>=!%&+\-*/|~^]/,"operator"]],whitespace:[[/\s+/,"white"]],pseudoColumns:[[/[$][A-Za-z_][\w@#$]*/,{cases:{"@pseudoColumns":"predefined","@default":"identifier"}}]],numbers:[[/0[xX][0-9a-fA-F]*/,"number"],[/[$][+-]*\d*(\.\d*)?/,"number"],[/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/,"number"]],strings:[[/'/,{token:"string",next:"@string"}],[/"/,{token:"string.double",next:"@stringDouble"}]],string:[[/[^']+/,"string"],[/''/,"string"],[/'/,{token:"string",next:"@pop"}]],stringDouble:[[/[^"]+/,"string.double"],[/""/,"string.double"],[/"/,{token:"string.double",next:"@pop"}]],scopes:[]}};export{E as conf,S as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},t={keywords:["namespace","open","import","export","as","operation","function","body","adjoint","newtype","struct","controlled","if","elif","else","repeat","until","fixup","for","in","while","return","fail","within","apply","Adjoint","Controlled","Adj","Ctl","is","self","auto","distribute","invert","intrinsic","let","set","w/","new","not","and","or","use","borrow","using","borrowing","mutable","internal"],typeKeywords:["Unit","Int","BigInt","Double","Bool","String","Qubit","Result","Pauli","Range"],invalidKeywords:["abstract","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","enum","event","explicit","extern","finally","fixed","float","foreach","goto","implicit","int","interface","lock","long","null","object","operator","out","override","params","private","protected","public","readonly","ref","sbyte","sealed","short","sizeof","stackalloc","static","string","switch","this","throw","try","typeof","unit","ulong","unchecked","unsafe","ushort","virtual","void","volatile"],constants:["true","false","PauliI","PauliX","PauliY","PauliZ","One","Zero"],builtin:["X","Y","Z","H","HY","S","T","SWAP","CNOT","CCNOT","MultiX","R","RFrac","Rx","Ry","Rz","R1","R1Frac","Exp","ExpFrac","Measure","M","MultiM","Message","Length","Assert","AssertProb","AssertEqual"],operators:["and=","<-","->","*","*=","@","!","^","^=",":","::",".","..","==","...","=","=>",">",">=","<","<=","-","-=","!=","or=","%","%=","|","+","+=","?","/","/=","&&&","&&&=","^^^","^^^=",">>>",">>>=","<<<","<<<=","|||","|||=","~~~","_","w/","w/="],namespaceFollows:["namespace","open"],importsFollows:["import"],symbols:/[=><!~?:&|+\-*\/\^%@._]+/,escapes:/\\[\s\S]/,tokenizer:{root:[[/[a-zA-Z_$][\w$]*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@importsFollows":{token:"keyword.$0",next:"@imports"},"@typeKeywords":"type","@keywords":"keyword","@constants":"constant","@builtin":"keyword","@invalidKeywords":"invalid","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],namespace:[{include:"@whitespace"},[/[A-Za-z]\w*/,"namespace"],[/[\.]/,"delimiter"],["","","@pop"]],imports:[{include:"@whitespace"},[/[A-Za-z]\w*(?=\.)/,"namespace"],[/[A-Za-z]\w*/,"identifier"],[/\*/,"wildcard"],[/[\.,]/,"delimiter"],["","","@pop"]],whitespace:[[/[ \t\r\n]+/,"white"],[/(\/\/).*/,"comment"]]}};export{e as conf,t as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},s={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}};export{e as conf,s as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},n={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}};export{e as conf,n as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},t={tokenPostfix:".rust",defaultToken:"invalid",keywords:["as","async","await","box","break","const","continue","crate","dyn","else","enum","extern","false","fn","for","if","impl","in","let","loop","match","mod","move","mut","pub","ref","return","self","static","struct","super","trait","true","try","type","unsafe","use","where","while","catch","default","union","static","abstract","alignof","become","do","final","macro","offsetof","override","priv","proc","pure","sizeof","typeof","unsized","virtual","yield"],typeKeywords:["Self","m32","m64","m128","f80","f16","f128","int","uint","float","char","bool","u8","u16","u32","u64","f32","f64","i8","i16","i32","i64","str","Option","Either","c_float","c_double","c_void","FILE","fpos_t","DIR","dirent","c_char","c_schar","c_uchar","c_short","c_ushort","c_int","c_uint","c_long","c_ulong","size_t","ptrdiff_t","clock_t","time_t","c_longlong","c_ulonglong","intptr_t","uintptr_t","off_t","dev_t","ino_t","pid_t","mode_t","ssize_t"],constants:["true","false","Some","None","Left","Right","Ok","Err"],supportConstants:["EXIT_FAILURE","EXIT_SUCCESS","RAND_MAX","EOF","SEEK_SET","SEEK_CUR","SEEK_END","_IOFBF","_IONBF","_IOLBF","BUFSIZ","FOPEN_MAX","FILENAME_MAX","L_tmpnam","TMP_MAX","O_RDONLY","O_WRONLY","O_RDWR","O_APPEND","O_CREAT","O_EXCL","O_TRUNC","S_IFIFO","S_IFCHR","S_IFBLK","S_IFDIR","S_IFREG","S_IFMT","S_IEXEC","S_IWRITE","S_IREAD","S_IRWXU","S_IXUSR","S_IWUSR","S_IRUSR","F_OK","R_OK","W_OK","X_OK","STDIN_FILENO","STDOUT_FILENO","STDERR_FILENO"],supportMacros:["format!","print!","println!","panic!","format_args!","unreachable!","write!","writeln!"],operators:["!","!=","%","%=","&","&=","&&","*","*=","+","+=","-","-=","->",".","..","...","/","/=",":",";","<<","<<=","<","<=","=","==","=>",">",">=",">>",">>=","@","^","^=","|","|=","||","_","?","#"],escapes:/\\([nrt0\"''\\]|x\h{2}|u\{\h{1,6}\})/,delimiters:/[,]/,symbols:/[\#\!\%\&\*\+\-\.\/\:\;\<\=\>\@\^\|_\?]+/,intSuffixes:/[iu](8|16|32|64|128|size)/,floatSuffixes:/f(32|64)/,tokenizer:{root:[[/r(#*)"/,{token:"string.quote",bracket:"@open",next:"@stringraw.$1"}],[/[a-zA-Z][a-zA-Z0-9_]*!?|_[a-zA-Z0-9_]+/,{cases:{"@typeKeywords":"keyword.type","@keywords":"keyword","@supportConstants":"keyword","@supportMacros":"keyword","@constants":"keyword","@default":"identifier"}}],[/\$/,"identifier"],[/'[a-zA-Z_][a-zA-Z0-9_]*(?=[^\'])/,"identifier"],[/'(\S|@escapes)'/,"string.byteliteral"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}],{include:"@numbers"},{include:"@whitespace"},[/@delimiters/,{cases:{"@keywords":"keyword","@default":"delimiter"}}],[/[{}()\[\]<>]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@push"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],stringraw:[[/[^"#]+/,{token:"string"}],[/"(#*)/,{cases:{"$1==$S2":{token:"string.quote",bracket:"@close",next:"@pop"},"@default":{token:"string"}}}],[/["#]/,{token:"string"}]],numbers:[[/(0o[0-7_]+)(@intSuffixes)?/,{token:"number"}],[/(0b[0-1_]+)(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(\.[\d][\d_]*)?[eE][+-][\d_]+(@floatSuffixes)?/,{token:"number"}],[/\b(\d\.?[\d_]*)(@floatSuffixes)?\b/,{token:"number"}],[/(0x[\da-fA-F]+)_?(@intSuffixes)?/,{token:"number"}],[/[\d][\d_]*(@intSuffixes?)?/,{token:"number"}]]}};export{e as conf,t as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import{a as ne,a_ as se,s as Ce,g as N}from"./DZ9N6dCE.js";const[Ae,Be]=se();function ut(){const t=ne({epoch:0});Be(t)}function ht(){return Ae()}function Me(t){return{href:t.href,protocol:t.protocol,username:t.username,password:t.password,host:t.host,hostname:t.hostname,port:t.port,pathname:t.pathname,search:t.search,searchParams:[...t.searchParams].map(([e,r])=>({key:e,value:r})),hash:t.hash,origin:t.origin}}const H={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]};function G(t,e,r,n=!1){const o=String(e),l=(h,u)=>`\x1B[${u[0]}m${h}\x1B[${u[1]}m`,a=(h,u)=>u!=null&&typeof u=="string"?l(h,H[u]):u!=null&&Array.isArray(u)?u.reduce((y,m)=>a(y,m),h):u!=null&&u[h.trim()]!=null?a(h,u[h.trim()]):u!=null&&u["*"]!=null?a(h,u["*"]):h,f=null;return o.replace(/{{(.+?)}}/g,(h,u)=>{const y=r[u]!=null?String(r[u]):n?"":h;return t.stylePrettyLogs?a(y,t?.prettyLogStyles?.[u]??f)+l("",H.reset):y})}function P(t,e=2,r=0){return t!=null&&isNaN(t)?"":(t=t!=null?t+r:t,e===2?t==null?"--":t<10?"0"+t:t.toString():t==null?"---":t<10?"00"+t:t<100?"0"+t:t.toString())}function ie(t,e){if(e==null)return{text:"",template:t.prettyLogTemplate,placeholders:{}};let r=t.prettyLogTemplate;const n={};r.includes("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}")?r=r.replace("{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}}","{{dateIsoStr}}"):t.prettyLogTimeZone==="UTC"?(n.yyyy=e.date?.getUTCFullYear()??"----",n.mm=P(e.date?.getUTCMonth(),2,1),n.dd=P(e.date?.getUTCDate(),2),n.hh=P(e.date?.getUTCHours(),2),n.MM=P(e.date?.getUTCMinutes(),2),n.ss=P(e.date?.getUTCSeconds(),2),n.ms=P(e.date?.getUTCMilliseconds(),3)):(n.yyyy=e.date?.getFullYear()??"----",n.mm=P(e.date?.getMonth(),2,1),n.dd=P(e.date?.getDate(),2),n.hh=P(e.date?.getHours(),2),n.MM=P(e.date?.getMinutes(),2),n.ss=P(e.date?.getSeconds(),2),n.ms=P(e.date?.getMilliseconds(),3));const o=t.prettyLogTimeZone==="UTC"?e.date:e.date!=null?new Date(e.date.getTime()-e.date.getTimezoneOffset()*6e4):void 0;n.rawIsoStr=o?.toISOString()??"",n.dateIsoStr=o?.toISOString().replace("T"," ").replace("Z","")??"",n.logLevelName=e.logLevelName,n.fileNameWithLine=e.path?.fileNameWithLine??"",n.filePathWithLine=e.path?.filePathWithLine??"",n.fullFilePath=e.path?.fullFilePath??"";let l=t.parentNames?.join(t.prettyErrorParentNamesSeparator);l=l!=null&&e.name!=null?l+t.prettyErrorParentNamesSeparator:void 0;const a=e.name!=null||l!=null?`${l??""}${e.name??""}`:"";return n.name=a,n.nameWithDelimiterPrefix=a.length>0?t.prettyErrorLoggerNameDelimiter+a:"",n.nameWithDelimiterSuffix=a.length>0?a+t.prettyErrorLoggerNameDelimiter:"",t.overwrite?.addPlaceholders!=null&&t.overwrite.addPlaceholders(e,n),{text:G(t,r,n),template:r,placeholders:n}}const oe=[/(?:^|[\\/])node_modules[\\/].*tslog/i,/(?:^|[\\/])deps[\\/].*tslog/i,/tslog[\\/]+src[\\/]+internal[\\/]/i,/tslog[\\/]+src[\\/]BaseLogger/i,/tslog[\\/]+src[\\/]index/i];function Fe(t){const e=typeof t?.stack=="string"?t.stack:void 0;return e==null||e.length===0?[]:e.split(`
|
|
2
|
+
`).map(r=>r.trimEnd())}function _e(t){return t.filter(e=>e.length>0&&!/^\s*Error\b/.test(e))}function De(t,e){const r=[];for(const n of t){const o=e(n);o!=null&&r.push(o)}return r}function $e(t,e=oe){for(let r=0;r<t.length;r+=1){const n=t[r],o=n.filePath??"",l=n.fullFilePath??"";if(!e.some(a=>a.test(o)||a.test(l)))return r}return 0}function Re(t){return _e(Fe(t))}function v(t,e){return De(Re(t),e)}function Q(t,e){return t<0?0:t>=e?Math.max(0,e-1):t}function q(){return[...oe]}const Ie=5;function xe(t,e={}){const r=e.maxDepth??Ie,n=[],o=new Set;let l=t,a=0;for(;l!=null&&a<r;){const f=l?.cause;if(f==null||o.has(f))break;o.add(f),n.push(ae(f)),l=f,a+=1}return n}function ae(t){if(t instanceof Error)return t;const e=new Error(typeof t=="string"?t:JSON.stringify(t));return typeof t=="object"&&t!=null&&Object.assign(e,t),e}function le(t){const e=new Set;return JSON.stringify(t,(r,n)=>{if(typeof n=="object"&&n!==null){if(e.has(n))return"[Circular]";e.add(n)}return typeof n=="bigint"?`${n}`:typeof n>"u"?"[undefined]":n})}function T(t,e){const r={seen:[],stylize:ce};return e!=null&&ge(r,e),F(r.showHidden)&&(r.showHidden=!1),F(r.depth)&&(r.depth=2),F(r.colors)&&(r.colors=!0),F(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=ze),x(r,t,r.depth)}T.colors=H;T.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function We(t){return typeof t=="boolean"}function F(t){return t===void 0}function ce(t){return t}function ze(t,e){const r=T.styles[e];return r!=null&&T?.colors?.[r]?.[0]!=null&&T?.colors?.[r]?.[1]!=null?"\x1B["+T.colors[r][0]+"m"+t+"\x1B["+T.colors[r][1]+"m":t}function I(t){return typeof t=="function"}function fe(t){return typeof t=="string"}function ve(t){return typeof t=="number"}function ue(t){return t===null}function he(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function V(t){return W(t)&&Z(t)==="[object RegExp]"}function W(t){return typeof t=="object"&&t!==null}function U(t){return W(t)&&(Z(t)==="[object Error]"||t instanceof Error)}function ee(t){return W(t)&&Z(t)==="[object Date]"}function Z(t){return Object.prototype.toString.call(t)}function Ve(t){const e={};return t.forEach(r=>{e[r]=!0}),e}function Ue(t,e,r,n,o){const l=[];for(let a=0,f=e.length;a<f;++a)he(e,String(a))?l.push(J(t,e,r,n,String(a),!0)):l.push("");return o.forEach(a=>{a.match(/^\d+$/)||l.push(J(t,e,r,n,a,!0))}),l}function K(t){return"["+Error.prototype.toString.call(t)+"]"}function x(t,e,r=0){if(t.customInspect&&e!=null&&I(e)&&e?.inspect!==T&&!(e?.constructor&&e?.constructor.prototype===e)){if(typeof e.inspect!="function"&&e.toString!=null)return e.toString();let y=e?.inspect(r,t);return fe(y)||(y=x(t,y,r)),y}const n=B(t,e);if(n)return n;let o=Object.keys(e);const l=Ve(o);try{t.showHidden&&Object.getOwnPropertyNames&&(o=Object.getOwnPropertyNames(e))}catch{}if(U(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return K(e);if(o.length===0)if(I(t.stylize)){if(I(e)){const y=e.name?": "+e.name:"";return t.stylize("[Function"+y+"]","special")}if(V(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(ee(e))return t.stylize(Date.prototype.toISOString.call(e),"date");if(U(e))return K(e)}else return e;let a="",f=!1,h=[`{
|
|
3
|
+
`,`
|
|
4
|
+
}`];if(Array.isArray(e)&&(f=!0,h=[`[
|
|
5
|
+
`,`
|
|
6
|
+
]`]),I(e)&&(a=" [Function"+(e.name?": "+e.name:"")+"]"),V(e)&&(a=" "+RegExp.prototype.toString.call(e)),ee(e)&&(a=" "+Date.prototype.toUTCString.call(e)),U(e)&&(a=" "+K(e)),o.length===0&&(!f||e.length==0))return h[0]+a+h[1];if(r<0)return V(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);let u;return f?u=Ue(t,e,r,l,o):u=o.map(y=>J(t,e,r,l,y,f)),t.seen.pop(),Ke(u,a,h)}function J(t,e,r,n,o,l){let a,f,h={value:void 0};try{h.value=e[o]}catch{}try{Object.getOwnPropertyDescriptor&&(h=Object.getOwnPropertyDescriptor(e,o)||h)}catch{}if(h.get?h.set?f=t.stylize("[Getter/Setter]","special"):f=t.stylize("[Getter]","special"):h.set&&(f=t.stylize("[Setter]","special")),he(n,o)||(a="["+o+"]"),f||(t.seen.indexOf(h.value)<0?(ue(r)?f=x(t,h.value,void 0):f=x(t,h.value,r-1),f.indexOf(`
|
|
7
|
+
`)>-1&&(l?f=f.split(`
|
|
8
|
+
`).map(u=>" "+u).join(`
|
|
9
|
+
`).substr(2):f=`
|
|
10
|
+
`+f.split(`
|
|
11
|
+
`).map(u=>" "+u).join(`
|
|
12
|
+
`))):f=t.stylize("[Circular]","special")),F(a)){if(l&&o.match(/^\d+$/))return f;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,"\\'").replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+f}function B(t,e){if(F(e))return t.stylize("undefined","undefined");if(fe(e)){const r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,"\\'")+"'";return t.stylize(r,"string")}if(ve(e))return t.stylize(""+e,"number");if(We(e))return t.stylize(""+e,"boolean");if(ue(e))return t.stylize("null","null")}function Ke(t,e,r){return r[0]+(e===""?"":e+`
|
|
13
|
+
`)+" "+t.join(`,
|
|
14
|
+
`)+" "+r[1]}function ge(t,e){const r={...t};if(!e||!W(e))return t;const n={...e},o=Object.keys(e);let l=o.length;for(;l--;)r[o[l]]=n[o[l]];return r}function He(t,...e){const r={seen:[],stylize:ce};t!=null&&ge(r,t);const n=e[0];let o=0,l="",a="";if(typeof n=="string"){if(e.length===1)return n;let f,h=0;for(let u=0;u<n.length-1;u++)if(n.charCodeAt(u)===37){const y=n.charCodeAt(++u);if(o+1!==e.length){switch(y){case 115:{const m=e[++o];typeof m=="number"||typeof m=="bigint"?f=B(r,m):typeof m!="object"||m===null?f=String(m):f=T(m,{...t,compact:3,colors:!1,depth:0});break}case 106:f=le(e[++o]);break;case 100:{const m=e[++o];typeof m=="bigint"?f=B(r,m):typeof m=="symbol"?f="NaN":f=B(r,m);break}case 79:f=T(e[++o],t);break;case 111:f=T(e[++o],{...t,showHidden:!0,showProxy:!0,depth:4});break;case 105:{const m=e[++o];typeof m=="bigint"?f=B(r,m):typeof m=="symbol"?f="NaN":f=B(r,parseInt(f));break}case 102:{const m=e[++o];typeof m=="symbol"?f="NaN":f=B(r,parseInt(m));break}case 99:o+=1,f="";break;case 37:l+=n.slice(h,u),h=u+1;continue;default:continue}h!==u-1&&(l+=n.slice(h,u-1)),l+=f,h=u+1}else y===37&&(l+=n.slice(h,u),h=u+1)}h!==0&&(o++,a=" ",h<n.length&&(l+=n.slice(h)))}for(;o<e.length;){const f=e[o];l+=a,l+=typeof f!="string"?T(f,t):f,a=" ",o++}return l}function Ge(){try{const t=globalThis?.process;if(typeof t?.cwd=="function")return t.cwd()}catch{}try{const t=globalThis?.Deno;if(typeof t?.cwd=="function")return t.cwd()}catch{}}function de(){return typeof window<"u"&&typeof document<"u"}function Je(){if(!de())return!1;const e=globalThis?.navigator?.userAgent??"";return/firefox/i.test(e)||globalThis?.CSS?.supports?.("color","#000")?!0:/safari/i.test(e)&&!/chrome/i.test(e)}function Ze(){const t=Le(),e=we(t),r=t.name==="browser"||t.name==="worker",n=r?[...q(),/node_modules[\\/].*tslog/i]:[...q(),/node:(?:internal|vm)/i,/\binternal[\\/]/i];let o;const l={getMeta(s,i,c,g,d,p){return Object.assign({},e,{name:d,parentNames:p,date:new Date,logLevelId:s,logLevelName:i,path:g?void 0:l.getCallerStackFrame(c)})},getCallerStackFrame(s,i=new Error){const c=v(i,b=>a(b));if(c.length===0)return{};const g=$e(c,n),d=Number.isFinite(s)&&s>=0,p=Q(d?s:g,c.length);return c[p]??{}},getErrorTrace(s){return v(s,i=>a(i))},isError(s){return Ne(s)},isBuffer(s){return typeof Buffer<"u"&&typeof Buffer.isBuffer=="function"?Buffer.isBuffer(s):!1},prettyFormatLogObj(s,i){return s.reduce((c,g)=>(l.isError(g)?c.errors.push(l.prettyFormatErrorObj(g,i)):c.args.push(g),c),{args:[],errors:[]})},prettyFormatErrorObj(s,i){const c=u(l.getErrorTrace(s),i),g=xe(s).map((p,b)=>{const O=`Caused by (${b+1}): ${p.name??"Error"}${p.message?`: ${p.message}`:""}`,w=u(v(p,S=>a(S)),i);return[O,...w].join(`
|
|
15
|
+
`)}),d={errorName:` ${s.name} `,errorMessage:y(s),errorStack:[...c,...g].join(`
|
|
16
|
+
`)};return G(i,i.prettyErrorTemplate,d)},transportFormatted(s,i,c,g,d){const p=d.stylePrettyLogs!==!1,b=(c.length>0&&i.length>0?`
|
|
17
|
+
`:"")+c.join(`
|
|
18
|
+
`),O=k(s),w=p?s:O;if(m(p)){d.prettyInspectOptions.colors=!1;const L=Y(d.prettyInspectOptions,i),E=g!=null?A(d,g):{text:O,styles:[]},j=E.text.length>0&&E.styles.length>0,_=(j?E.text:O)+L+b;j?console.log(_,...E.styles):console.log(_);return}d.prettyInspectOptions.colors=p;const S=Y(d.prettyInspectOptions,i);console.log(w+S+b)},transportJSON(s){console.log(le(s))}};return ke()==="test"&&(l.__resetWorkingDirectoryCacheForTests=()=>{o=void 0}),l;function a(s){return r?h(s):f(s)}function f(s){if(typeof s!="string"||s.length===0)return;const i=s.trim();if(!i.includes(" at ")&&!i.startsWith("at "))return;const c=i.replace(/^at\s+/,"");let g,d=c;const p=c.match(/^(.*?)\s+\((.*)\)$/);p&&(g=p[1],d=p[2]);const b=d.replace(/^\(/,"").replace(/\)$/,""),O=b.replace(/\?.*$/,"");let w,S,L=O;const E=O.split(":");E.length>=3&&/^\d+$/.test(E[E.length-1]??"")?(S=E.pop(),w=E.pop(),L=E.join(":")):E.length>=2&&/^\d+$/.test(E[E.length-1]??"")&&(w=E.pop(),L=E.join(":"));let j=L.replace(/^file:\/\//,"");const $=ye();$!=null&&j.startsWith($)&&(j=j.slice($.length),j=j.replace(/^[\\/]/,"")),j.length===0&&(j=L);const _=Ee(j),R=_.length>0?_:j,X=R.split(/\\|\//),z=X[X.length-1],Pe=z&&w?`${z}:${w}`:void 0,Te=R&&w?`${R}:${w}`:void 0;return{fullFilePath:b,fileName:z,fileNameWithLine:Pe,fileColumn:S,fileLine:w,filePath:R,filePathWithLine:Te,method:g}}function h(s){const i=globalThis.location?.origin;if(s==null)return;const c=s.match(qe);if(!c)return;const g=c[1]?.replace(/\?.*$/,"");if(g==null)return;const d=g.split("/"),p=c[2],b=c[3],O=d[d.length-1];return{fullFilePath:i?`${i}${g}`:g,fileName:O,fileNameWithLine:O&&p?`${O}:${p}`:void 0,fileColumn:b,fileLine:p,filePath:g,filePathWithLine:p?`${g}:${p}`:void 0,method:void 0}}function u(s,i){return s.map(c=>G(i,i.prettyErrorStackTemplate,{...c},!0))}function y(s){return Object.getOwnPropertyNames(s).filter(i=>i!=="stack"&&i!=="cause").reduce((i,c)=>{const g=s[c];return typeof g=="function"||i.push(String(g)),i},[]).join(", ")}function m(s){return s&&(t.name==="browser"||t.name==="worker")&&Je()}function k(s){return s.replace(Ye,"")}function A(s,i){if(i==null)return{text:"",styles:[]};const{template:c,placeholders:g}=ie(s,i),d=[],p=[];let b=0;const O=/{{(.+?)}}/g;let w;for(;(w=O.exec(c))!=null;){w.index>b&&d.push(c.slice(b,w.index));const S=w[1],L=g[S]!=null?String(g[S]):"",E=M(s.prettyLogStyles?.[S],L),j=pe(E);j.length>0?(d.push(`%c${L}%c`),p.push(j,"")):d.push(L),b=O.lastIndex}return b<c.length&&d.push(c.slice(b)),{text:d.join(""),styles:p}}function M(s,i){if(s==null)return[];if(typeof s=="string")return[s];if(Array.isArray(s))return s.flatMap(c=>M(c,i));if(typeof s=="object"){const c=i.trim(),g=s[c]??s["*"];return g==null?[]:M(g,i)}return[]}function pe(s){const i=new Set,c=[];for(const g of s){const d=me(g);d!=null&&d.length>0&&!i.has(d)&&(i.add(d),c.push(d))}return c.join("; ")}function me(s){const i=Xe[s];if(i!=null)return`color: ${i}`;const c=Qe[s];if(c!=null)return`background-color: ${c}`;switch(s){case"bold":return"font-weight: bold";case"dim":return"opacity: 0.75";case"italic":return"font-style: italic";case"underline":return"text-decoration: underline";case"overline":return"text-decoration: overline";case"inverse":return"filter: invert(1)";case"hidden":return"visibility: hidden";case"strikethrough":return"text-decoration: line-through";default:return}}function ye(){return o===void 0&&(o=Ge()??null),o??void 0}function be(){return t.name==="node"||t.name==="deno"||t.name==="bun"}function Oe(){return t.name==="node"||t.name==="deno"||t.name==="bun"}function we(s){if(s.name==="browser"||s.name==="worker")return{runtime:s.name,browser:s.userAgent};const i={runtime:s.name};return Oe()&&(i.runtimeVersion=s.version??"unknown"),be()&&(i.hostname=s.hostname??"unknown"),i}function Y(s,i){try{return He(s,...i)}catch{return i.map(Se).join(" ")}}function Se(s){if(typeof s=="string")return s;try{return JSON.stringify(s)}catch{return String(s)}}function Ee(s){if(typeof s!="string"||s.length===0)return s;const i=s.replace(/\\+/g,"\\").replace(/\\/g,"/"),c=i.startsWith("//"),g=i.startsWith("/")&&!c,d=i.match(/^[A-Za-z]:/),p=d?d[0]:"",O=(p?i.slice(p.length):i).split("/"),w=[];for(const L of O)if(!(L===""||L===".")){if(L===".."){w.length>0&&w.pop();continue}w.push(L)}let S=w.join("/");return c?S=`//${S}`:g?S=`/${S}`:p!==""&&(S=`${p}${S.length>0?`/${S}`:""}`),S.length===0?s:S}function Le(){if(de())return{name:"browser",userAgent:globalThis.navigator?.userAgent};const s=globalThis;if(typeof s.importScripts=="function")return{name:"worker",userAgent:s.navigator?.userAgent};const i=globalThis;if(i.Bun!=null){const c=i.Bun.version;return{name:"bun",version:c!=null?`bun/${c}`:void 0,hostname:D(i.process,i.Deno,i.Bun,i.location)}}if(i.Deno!=null){const c=je(i.Deno),g=i.Deno?.version?.deno;return{name:"deno",version:g!=null?`deno/${g}`:void 0,hostname:c??D(i.process,i.Deno,i.Bun,i.location)}}return i.process?.versions?.node!=null||i.process?.version!=null?{name:"node",version:i.process?.versions?.node??i.process?.version,hostname:D(i.process,i.Deno,i.Bun,i.location)}:i.process!=null?{name:"node",version:"unknown",hostname:D(i.process,i.Deno,i.Bun,i.location)}:{name:"unknown"}}function D(s,i,c,g){const d=s?.env?.HOSTNAME??s?.env?.HOST??s?.env?.COMPUTERNAME;if(d!=null&&d.length>0)return d;const p=c?.env?.HOSTNAME??c?.env?.HOST??c?.env?.COMPUTERNAME;if(p!=null&&p.length>0)return p;try{const b=i?.env?.get;if(typeof b=="function"){const O=b("HOSTNAME");if(O!=null&&O.length>0)return O}}catch{}if(g?.hostname!=null&&g.hostname.length>0)return g.hostname}function je(s){try{if(typeof s?.hostname=="function"){const c=s.hostname();if(c!=null&&c.length>0)return c}}catch{}const i=globalThis.location?.hostname;if(i!=null&&i.length>0)return i}function ke(){return globalThis?.process?.env?.NODE_ENV}function Ne(s){if(s instanceof Error)return!0;if(s!=null&&typeof s=="object"){const i=Object.prototype.toString.call(s);if(/\[object .*Error\]/.test(i))return!0;const c=s.name;if(typeof c=="string"&&c.endsWith("Error"))return!0}return!1}}const Ye=/\u001b\[[0-9;]*m/g,Xe={black:"#000000",red:"#ef5350",green:"#66bb6a",yellow:"#fdd835",blue:"#42a5f5",magenta:"#ab47bc",cyan:"#26c6da",white:"#fafafa",blackBright:"#424242",redBright:"#ff7043",greenBright:"#81c784",yellowBright:"#ffe082",blueBright:"#64b5f6",magentaBright:"#ce93d8",cyanBright:"#4dd0e1",whiteBright:"#ffffff"},Qe={bgBlack:"#000000",bgRed:"#ef5350",bgGreen:"#66bb6a",bgYellow:"#fdd835",bgBlue:"#42a5f5",bgMagenta:"#ab47bc",bgCyan:"#26c6da",bgWhite:"#fafafa",bgBlackBright:"#424242",bgRedBright:"#ff7043",bgGreenBright:"#81c784",bgYellowBright:"#ffe082",bgBlueBright:"#64b5f6",bgMagentaBright:"#ce93d8",bgCyanBright:"#4dd0e1",bgWhiteBright:"#ffffff"},qe=/(?:(?:file|https?|global code|[^@]+)@)?(?:file:)?((?:\/[^:/]+){2,})(?::(\d+))?(?::(\d+))?/,C=Ze();class et{constructor(e,r,n=Number.NaN){this.logObj=r,this.stackDepthLevel=n,this.runtime=C,this.maxErrorCauseDepth=5,this.settings={type:e?.type??"pretty",name:e?.name,parentNames:e?.parentNames,minLevel:e?.minLevel??0,argumentsArrayName:e?.argumentsArrayName,hideLogPositionForProduction:e?.hideLogPositionForProduction??!1,prettyLogTemplate:e?.prettyLogTemplate??"{{yyyy}}.{{mm}}.{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}} {{logLevelName}} {{filePathWithLine}}{{nameWithDelimiterPrefix}} ",prettyErrorTemplate:e?.prettyErrorTemplate??`
|
|
19
|
+
{{errorName}} {{errorMessage}}
|
|
20
|
+
error stack:
|
|
21
|
+
{{errorStack}}`,prettyErrorStackTemplate:e?.prettyErrorStackTemplate??` • {{fileName}} {{method}}
|
|
22
|
+
{{filePathWithLine}}`,prettyErrorParentNamesSeparator:e?.prettyErrorParentNamesSeparator??":",prettyErrorLoggerNameDelimiter:e?.prettyErrorLoggerNameDelimiter??" ",stylePrettyLogs:e?.stylePrettyLogs??!0,prettyLogTimeZone:e?.prettyLogTimeZone??"UTC",prettyLogStyles:e?.prettyLogStyles??{logLevelName:{"*":["bold","black","bgWhiteBright","dim"],SILLY:["bold","white"],TRACE:["bold","whiteBright"],DEBUG:["bold","green"],INFO:["bold","blue"],WARN:["bold","yellow"],ERROR:["bold","red"],FATAL:["bold","redBright"]},dateIsoStr:"white",filePathWithLine:"white",name:["white","bold"],nameWithDelimiterPrefix:["white","bold"],nameWithDelimiterSuffix:["white","bold"],errorName:["bold","bgRedBright","whiteBright"],fileName:["yellow"],fileNameWithLine:"white"},prettyInspectOptions:e?.prettyInspectOptions??{colors:!0,compact:!1,depth:1/0},metaProperty:e?.metaProperty??"_meta",maskPlaceholder:e?.maskPlaceholder??"[***]",maskValuesOfKeys:e?.maskValuesOfKeys??["password"],maskValuesOfKeysCaseInsensitive:e?.maskValuesOfKeysCaseInsensitive??!1,maskValuesRegEx:e?.maskValuesRegEx,prefix:[...e?.prefix??[]],attachedTransports:[...e?.attachedTransports??[]],overwrite:{mask:e?.overwrite?.mask,toLogObj:e?.overwrite?.toLogObj,addMeta:e?.overwrite?.addMeta,addPlaceholders:e?.overwrite?.addPlaceholders,formatMeta:e?.overwrite?.formatMeta,formatLogObj:e?.overwrite?.formatLogObj,transportFormatted:e?.overwrite?.transportFormatted,transportJSON:e?.overwrite?.transportJSON}},this.captureStackForMeta=this._shouldCaptureStack()}log(e,r,...n){if(e<this.settings.minLevel)return;const o=this._resolveLogArguments(n),l=[...this.settings.prefix,...o],a=this.settings.overwrite?.mask!=null?this.settings.overwrite?.mask(l):this.settings.maskValuesOfKeys!=null&&this.settings.maskValuesOfKeys.length>0?this._mask(l):l,f=this.logObj!=null?this._recursiveCloneAndExecuteFunctions(this.logObj):void 0,h=this.settings.overwrite?.toLogObj!=null?this.settings.overwrite?.toLogObj(a,f):this._toLogObj(a,f),u=this.settings.overwrite?.addMeta!=null?this.settings.overwrite?.addMeta(h,e,r):this._addMetaToLogObj(h,e,r),y=u?.[this.settings.metaProperty];let m,k;if(this.settings.overwrite?.formatMeta!=null&&(m=this.settings.overwrite?.formatMeta(u?.[this.settings.metaProperty])),this.settings.overwrite?.formatLogObj!=null&&(k=this.settings.overwrite?.formatLogObj(a,this.settings)),this.settings.type==="pretty"&&(m=m??this._prettyFormatLogObjMeta(u?.[this.settings.metaProperty]),k=k??C.prettyFormatLogObj(a,this.settings)),m!=null&&k!=null)if(this.settings.overwrite?.transportFormatted!=null){const A=this.settings.overwrite.transportFormatted,M=A.length;M<4?A(m,k.args,k.errors):M===4?A(m,k.args,k.errors,y):A(m,k.args,k.errors,y,this.settings)}else C.transportFormatted(m,k.args,k.errors,y,this.settings);else this.settings.overwrite?.transportJSON!=null?this.settings.overwrite.transportJSON(u):this.settings.type!=="hidden"&&C.transportJSON(u);return this.settings.attachedTransports!=null&&this.settings.attachedTransports.length>0&&this.settings.attachedTransports.forEach(A=>{A(u)}),u}attachTransport(e){this.settings.attachedTransports.push(e)}getSubLogger(e,r){const n={...this.settings,...e,parentNames:this.settings?.parentNames!=null&&this.settings?.name!=null?[...this.settings.parentNames,this.settings.name]:this.settings?.name!=null?[this.settings.name]:void 0,prefix:[...this.settings.prefix,...e?.prefix??[]]};return new this.constructor(n,r??this.logObj,this.stackDepthLevel)}_mask(e){const r=this._getMaskKeys();return e?.map(n=>this._recursiveCloneAndMaskValuesOfKeys(n,r))}_getMaskKeys(){const e=this.settings.maskValuesOfKeys??[],r=e.map(String).join("|");if(this.settings.maskValuesOfKeysCaseInsensitive===!0){if(this.maskKeysCache?.source===e&&this.maskKeysCache.caseInsensitive===!0&&this.maskKeysCache.signature===r)return this.maskKeysCache.normalized;const n=e.map(o=>typeof o=="string"?o.toLowerCase():String(o).toLowerCase());return this.maskKeysCache={source:e,caseInsensitive:!0,normalized:n,signature:r},n}return this.maskKeysCache={source:e,caseInsensitive:!1,normalized:e,signature:r},e}_resolveLogArguments(e){if(e.length===1&&typeof e[0]=="function"){const r=e[0];if(r.length===0){const n=r();return Array.isArray(n)?n:[n]}}return e}_recursiveCloneAndMaskValuesOfKeys(e,r,n=[]){if(n.includes(e))return{...e};if(typeof e=="object"&&e!==null&&n.push(e),C.isError(e)||C.isBuffer(e))return e;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Array.isArray(e))return e.map(o=>this._recursiveCloneAndMaskValuesOfKeys(o,r,n));if(e instanceof Date)return new Date(e.getTime());if(e instanceof URL)return Me(e);if(e!==null&&typeof e=="object"){const o=C.isError(e)?this._cloneError(e):Object.create(Object.getPrototypeOf(e));return Object.getOwnPropertyNames(e).reduce((l,a)=>{const f=this.settings?.maskValuesOfKeysCaseInsensitive!==!0?a:typeof a=="string"?a.toLowerCase():String(a).toLowerCase();return l[a]=r.includes(f)?this.settings.maskPlaceholder:(()=>{try{return this._recursiveCloneAndMaskValuesOfKeys(e[a],r,n)}catch{return null}})(),l},o)}else{if(typeof e=="string"){let o=e;for(const l of this.settings?.maskValuesRegEx||[])o=o.replace(l,this.settings?.maskPlaceholder||"");return o}return e}}_recursiveCloneAndExecuteFunctions(e,r=[]){return this.isObjectOrArray(e)&&r.includes(e)?this.shallowCopy(e):(this.isObjectOrArray(e)&&r.push(e),Array.isArray(e)?e.map(n=>this._recursiveCloneAndExecuteFunctions(n,r)):e instanceof Date?new Date(e.getTime()):this.isObject(e)?Object.getOwnPropertyNames(e).reduce((n,o)=>{const l=Object.getOwnPropertyDescriptor(e,o);if(l){Object.defineProperty(n,o,l);const a=e[o];n[o]=typeof a=="function"?a():this._recursiveCloneAndExecuteFunctions(a,r)}return n},Object.create(Object.getPrototypeOf(e))):e)}isObjectOrArray(e){return typeof e=="object"&&e!==null}isObject(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}shallowCopy(e){return Array.isArray(e)?[...e]:{...e}}_toLogObj(e,r={}){return e=e?.map(n=>C.isError(n)?this._toErrorObject(n):n),this.settings.argumentsArrayName==null?e.length===1&&!Array.isArray(e[0])&&C.isBuffer(e[0])!==!0&&!(e[0]instanceof Date)?r=typeof e[0]=="object"&&e[0]!=null?{...e[0],...r}:{0:e[0],...r}:r={...r,...e}:r={...r,[this.settings.argumentsArrayName]:e},r}_cloneError(e){const r=new e.constructor;return Object.getOwnPropertyNames(e).forEach(n=>{r[n]=e[n]}),r}_toErrorObject(e,r=0,n=new Set){n.has(e)||n.add(e);const o={nativeError:e,name:e.name??"Error",message:e.message,stack:C.getErrorTrace(e)};if(r>=this.maxErrorCauseDepth)return o;const l=e.cause;if(l!=null){const a=ae(l);n.has(a)||(o.cause=this._toErrorObject(a,r+1,n))}return o}_addMetaToLogObj(e,r,n){return{...e,[this.settings.metaProperty]:C.getMeta(r,n,this.stackDepthLevel,!this.captureStackForMeta,this.settings.name,this.settings.parentNames)}}_shouldCaptureStack(){if(this.settings.hideLogPositionForProduction)return!1;if(this.settings.type==="json")return!0;const e=this.settings.prettyLogTemplate??"";return!!/{{\s*(file(Name|Path|Line|PathWithLine|NameWithLine)|fullFilePath)\s*}}/.test(e)}_prettyFormatLogObjMeta(e){return ie(this.settings,e).text}}class tt extends et{constructor(e,r){const n=typeof window<"u"&&typeof document<"u",o={...e??{}};n&&(o.stylePrettyLogs=e?.stylePrettyLogs??!0),super(o,r,Number.NaN)}log(e,r,...n){return super.log(e,r,...n)}silly(...e){return super.log(0,"SILLY",...e)}trace(...e){return super.log(1,"TRACE",...e)}debug(...e){return super.log(2,"DEBUG",...e)}info(...e){return super.log(3,"INFO",...e)}warn(...e){return super.log(4,"WARN",...e)}error(...e){return super.log(5,"ERROR",...e)}fatal(...e){return super.log(6,"FATAL",...e)}getSubLogger(e,r){return super.getSubLogger(e,r)}}var te={};class rt{#e;#t;#n;#r;constructor(e){this.#e=[],this.#t=0,this.#n=0,this.#r=e}get length(){return this.#n}get#s(){return(this.#t-this.#n+this.#r)%this.#r}push(e){this.#n=Math.min(this.#n+1,this.#r),this.#e[this.#t]=e,this.#t=(this.#t+1)%this.#r}pop(){return this.length===0?null:(this.#t=(this.#t-1+this.#r)%this.#r,this.#n--,this.#e[this.#t])}get(e){if(e>=this.length||e<-this.length)throw new Error(`Index out of bounds: ${e} < ${-this.length} or ${e} >= ${this.length}`);return e<0?this.#e[(this.#t+e+this.#r)%this.#r]:this.#e[(this.#s+e)%this.#r]}get unwrapped(){const e=[];for(let r=0;r<this.length;r++)e.push(this.get(r));return e}}const nt=new rt(100);function st(t){nt.push(t)}function it(){const t=new tt({minLevel:ot()});return typeof process<"u"?t.attachTransport(st):(t.settings.stylePrettyLogs=!1,t.settings.overwrite={transportFormatted(e,r,n,o){console.log(...r,{_meta:o})}}),t}function ot(t=1){if(typeof process>"u"||!te.LOG_LEVEL)return t;try{return parseInt(te.LOG_LEVEL)}catch{return t}}const re=it();class at{#e=Ce(ne({overrides:{}}));reset(){re.debug("Resetting overrides"),N(this.#e).overrides={}}get(e,r,n,o){const l=JSON.stringify(e);return n?N(this.#e).overrides[l]?.[r]?.alts[n]??(o!==void 0?N(this.#e).overrides[l]?.[r]?.alts[o]:null)??null:N(this.#e).overrides[l]?.[r]?.main??null}setFromNew(e,r){const n=URL.createObjectURL(r);r.type.startsWith("video")?(this.setVideoFull(e,n),this.setVideoThumb(e,n)):this.setImage(e,n)}setImage(e,r){this.#t(e,"image",r)}setVideoFull(e,r){this.#t(e,"videoFull",r)}setVideoThumb(e,r){this.#t(e,"videoThumb",r)}#t(e,r,n){re.debug("Setting override for",e,"@",r);const o=JSON.stringify(e),l=this.#n(o,e.piece??"character",e.alt);l[r]&&URL.revokeObjectURL(l[r]);const a=this.#n(o,e.piece??"character",e.altIndex);a[r]&&URL.revokeObjectURL(a[r]),l[r]=n??void 0,a[r]=n??void 0}#n(e,r,n){return N(this.#e).overrides[e]||(N(this.#e).overrides[e]={}),N(this.#e).overrides[e][r]||(N(this.#e).overrides[e][r]={main:{},alts:{}}),n&&!N(this.#e).overrides[e][r].alts[n]&&(N(this.#e).overrides[e][r].alts[n]={}),n?N(this.#e).overrides[e][r].alts[n]:N(this.#e).overrides[e][r].main}}const[lt,ct]=se();function gt(){ct(new at)}function dt(){return lt()}export{ht as a,gt as b,ut as c,it as d,dt as g};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const e={wordPattern:/(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},t={defaultToken:"",tokenPostfix:".scss",ws:`[
|
|
2
|
+
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@variabledeclaration"},{include:"@warndebug"},["[@](include)",{token:"keyword",next:"@includedeclaration"}],["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["[@](function)",{token:"keyword",next:"@functiondeclaration"}],["[@](mixin)",{token:"keyword",next:"@mixindeclaration"}],["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@controlstatement"},{include:"@selectorname"},["[&\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.curly",next:"@selectorbody"}]],selectorbody:[["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],{include:"@selector"},["[@](extend)",{token:"keyword",next:"@extendbody"}],["[@](return)",{token:"keyword",next:"@declarationbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],selectorname:[["#{",{token:"meta",next:"@variableinterpolation"}],["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["url(\\-prefix)?\\(",{token:"meta",next:"@urldeclaration"}],{include:"@functioninvocation"},{include:"@numbers"},{include:"@strings"},{include:"@variablereference"},["(and\\b|or\\b|not\\b)","operator"],{include:"@name"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","operator"],[",","delimiter"],["!default","literal"],["\\(",{token:"delimiter.parenthesis",next:"@parenthizedterm"}]],rulevalue:[{include:"@term"},["!important","literal"],[";","delimiter","@pop"],["{",{token:"delimiter.curly",switchTo:"@nestedproperty"}],["(?=})",{token:"",next:"@pop"}]],nestedproperty:[["[*_]?@identifier@ws:","attribute.name","@rulevalue"],{include:"@comments"},["}",{token:"delimiter.curly",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],variabledeclaration:[["\\$@identifier@ws:","variable.decl","@declarationbody"]],urldeclaration:[{include:"@strings"},[`[^)\r
|
|
3
|
+
]+`,"string"],["\\)",{token:"meta",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],extendbody:[{include:"@selectorname"},["!optional","literal"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],variablereference:[["\\$@identifier","variable.ref"],["\\.\\.\\.","operator"],["#{",{token:"meta",next:"@variableinterpolation"}]],variableinterpolation:[{include:"@variablereference"},["}",{token:"meta",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],name:[["@identifier","attribute.value"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","number.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","number","@pop"]],functiondeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["{",{token:"delimiter.curly",switchTo:"@functionbody"}]],mixindeclaration:[["@identifier@ws\\(",{token:"meta",next:"@parameterdeclaration"}],["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],parameterdeclaration:[["\\$@identifier@ws:","variable.decl"],["\\.\\.\\.","operator"],[",","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],includedeclaration:[{include:"@functioninvocation"},["@identifier","meta"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}],["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],keyframedeclaration:[["@identifier","meta"],["{",{token:"delimiter.curly",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.curly",next:"@selectorbody"}],["}",{token:"delimiter.curly",next:"@pop"}]],controlstatement:[["[@](if|else|for|while|each|media)",{token:"keyword.flow",next:"@controlstatementdeclaration"}]],controlstatementdeclaration:[["(in|from|through|if|to)\\b",{token:"keyword.flow"}],{include:"@term"},["{",{token:"delimiter.curly",switchTo:"@selectorbody"}]],functionbody:[["[@](return)",{token:"keyword"}],{include:"@variabledeclaration"},{include:"@term"},{include:"@controlstatement"},[";","delimiter"],["}",{token:"delimiter.curly",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"meta",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"meta",next:"@pop"}]],strings:[['~?"',{token:"string.delimiter",next:"@stringenddoublequote"}],["~?'",{token:"string.delimiter",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string.delimiter",next:"@pop"}],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string.delimiter",next:"@pop"}],[".","string"]]}};export{e as conf,t as language};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{n as ke,b2 as St,o as He,s as x,g as O,d as N,t as oe,b3 as Je,b4 as At}from"./DZ9N6dCE.js";const M=[];function Oe(e,t=ke){let n=null;const r=new Set;function a(s){if(St(e,s)&&(e=s,n)){const c=!M.length;for(const l of r)l[1](),M.push(l,e);if(c){for(let l=0;l<M.length;l+=2)M[l][0](M[l+1]);M.length=0}}}function o(s){a(s(e))}function i(s,c=ke){const l=[s,c];return r.add(l),r.size===1&&(n=t(a,o)||ke),s(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:o,subscribe:i}}class ge{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ne{constructor(t,n){this.status=t,this.location=n}}class je extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function Rt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Tt(e){return e.split("%25").map(decodeURI).join("%25")}function It(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ee({href:e}){return e.split("#")[0]}function Ut(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;const Lt=new TextDecoder;function Pt(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Ct=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&K.delete($e(e)),Ct(e,t));const K=new Map;function xt(e,t){const n=$e(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&K.set(n,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=Pt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,t)}function Ot(e,t,n){if(K.size>0){const r=$e(e,n),a=K.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);K.delete(r)}}return window.fetch(t,n)}function $e(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${Ut(...a)}"]`}return r}const Nt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function jt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${at(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return t.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return Se(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Se(String.fromCharCode(...c.slice(2).split("-").map(v=>parseInt(v,16))));const u=Nt.exec(c),[,h,p,f,d]=u;return t.push({name:f,matcher:d,optional:!!h,rest:!!p,chained:p?l===1&&i[0]==="":!1}),p?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Se(c)}).join("")}).join("")}/?$`),params:t}}function $t(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function at(e){return e.slice(1).split("/").filter($t)}function Dt(e,t,n){const r={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=a[s-i];if(c.chained&&c.rest&&i&&(l=a.slice(s-i,s+1).filter(u=>u).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=t[s+1],h=a[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function Se(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const Bt=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function In(e,t){const n=at(e),r=e!="/"&&e.endsWith("/");return"/"+n.map(a=>a.replace(Bt,(o,i,s,c)=>{const l=t[c];if(!l){if(i||s&&l!==void 0)return"";throw new Error(`Missing parameter '${c}' in route ${e}`)}if(l.startsWith("/")||l.endsWith("/"))throw new Error(`Parameter '${c}' in route ${e} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return l})).filter(Boolean).join("/")+(r?"/":"")}function Ft({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,u]])=>{const{pattern:h,params:p}=jt(s),f={id:s,exec:d=>{const v=h.exec(d);if(v)return Dt(v,p,r)},errors:[1,...u||[]].map(d=>e[d]),layouts:[0,...l||[]].map(i),leaf:o(c)};return f.errors.length=f.layouts.length=Math.max(f.errors.length,f.layouts.length),f});function o(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function ot(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Xe(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const L=globalThis.__sveltekit_1fd97hz?.base??"",Mt=globalThis.__sveltekit_1fd97hz?.assets??L??"",Vt="1767521272334",st="sveltekit:snapshot",it="sveltekit:scroll",ct="sveltekit:states",qt="sveltekit:pageurl",q="sveltekit:history",X="sveltekit:navigation",B={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},te=location.origin;function De(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function me(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Ze={...B,"":B.hover};function lt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function ft(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=lt(e)}}function Ie(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";r.hash=`#${s}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,o=!r||!!a||we(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=r?.origin===te&&e.hasAttribute("download");return{url:r,external:o,target:a,download:i}}function se(e){let t=null,n=null,r=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=V(s,"preload-code")),a===null&&(a=V(s,"preload-data")),t===null&&(t=V(s,"keepfocus")),n===null&&(n=V(s,"noscroll")),o===null&&(o=V(s,"reload")),i===null&&(i=V(s,"replacestate")),s=lt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Ze[r??"off"],preload_data:Ze[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(o),replace_state:c(i)}}function Qe(e){const t=Oe(e);let n=!0;function r(){n=!0,t.update(i=>i)}function a(i){n=!1,t.set(i)}function o(i){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}const ut={v:()=>{}};function zt(){const{set:e,subscribe:t}=Oe(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Mt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Vt;return i&&(e(!0),ut.v(),clearTimeout(n)),i}catch{return!1}}return{subscribe:t,check:r}}function we(e,t,n){return e.origin!==te||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Un(e){}function Wt(e){const t=Yt(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let a=0;a<n.byteLength;a++)r.setUint8(a,t.charCodeAt(a));return n}const Gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Yt(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let a=0;a<e.length;a++)n<<=6,n|=Gt.indexOf(e[a]),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 Kt=-1,Ht=-2,Jt=-3,Xt=-4,Zt=-5,Qt=-6;function en(e,t){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function a(o,i=!1){if(o===Kt)return;if(o===Jt)return NaN;if(o===Xt)return 1/0;if(o===Zt)return-1/0;if(o===Qt)return-0;if(i||typeof o!="number")throw new Error("Invalid input");if(o in r)return r[o];const s=n[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=t&&Object.hasOwn(t,c)?t[c]:void 0;if(l){let u=s[1];return typeof u!="number"&&(u=n.push(s[1])-1),r[o]=l(a(u))}switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let f=1;f<s.length;f+=1)u.add(a(s[f]));break;case"Map":const h=new Map;r[o]=h;for(let f=1;f<s.length;f+=2)h.set(a(s[f]),a(s[f+1]));break;case"RegExp":r[o]=new RegExp(s[1],s[2]);break;case"Object":r[o]=Object(s[1]);break;case"BigInt":r[o]=BigInt(s[1]);break;case"null":const p=Object.create(null);r[o]=p;for(let f=1;f<s.length;f+=2)p[s[f]]=a(s[f+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 f=globalThis[c],d=new f(a(s[1]));r[o]=s[2]!==void 0?d.subarray(s[2],s[3]):d;break}case"ArrayBuffer":{const f=s[1],d=Wt(f);r[o]=d;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{const f=c.slice(9);r[o]=Temporal[f].from(s[1]);break}case"URL":{const f=new URL(s[1]);r[o]=f;break}case"URLSearchParams":{const f=new URLSearchParams(s[1]);r[o]=f;break}default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);r[o]=c;for(let l=0;l<s.length;l+=1){const u=s[l];u!==Ht&&(c[l]=a(u))}}else{const c={};r[o]=c;for(const l in s){if(l==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");const u=s[l];c[l]=a(u)}}return r[o]}return a(0)}const dt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...dt];const tn=new Set([...dt]);[...tn];function nn(e){return e.filter(t=>t!=null)}const rn="x-sveltekit-invalidated",an="x-sveltekit-trailing-slash";function ie(e){return e instanceof ge||e instanceof je?e.status:500}function on(e){return e instanceof je?e.text:"Internal Error"}let R,Z,Ae;const sn=He.toString().includes("$$")||/function \w+\(\) \{\}/.test(He.toString());sn?(R={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Z={current:null},Ae={current:!1}):(R=new class{#e=x({});get data(){return O(this.#e)}set data(t){N(this.#e,t)}#t=x(null);get form(){return O(this.#t)}set form(t){N(this.#t,t)}#n=x(null);get error(){return O(this.#n)}set error(t){N(this.#n,t)}#r=x({});get params(){return O(this.#r)}set params(t){N(this.#r,t)}#a=x({id:null});get route(){return O(this.#a)}set route(t){N(this.#a,t)}#o=x({});get state(){return O(this.#o)}set state(t){N(this.#o,t)}#s=x(-1);get status(){return O(this.#s)}set status(t){N(this.#s,t)}#i=x(new URL("https://example.com"));get url(){return O(this.#i)}set url(t){N(this.#i,t)}},Z=new class{#e=x(null);get current(){return O(this.#e)}set current(t){N(this.#e,t)}},Ae=new class{#e=x(!1);get current(){return O(this.#e)}set current(t){N(this.#e,t)}},ut.v=()=>Ae.current=!0);function Be(e){Object.assign(R,e)}const cn="/__data.json",ln=".html__data.json";function fn(e){return e.endsWith(".html")?e.replace(/\.html$/,ln):e.replace(/\/$/,"")+cn}const un=new Set(["icon","shortcut icon","apple-touch-icon"]),F=ot(it)??{},Q=ot(st)??{},D={url:Qe({}),page:Qe({}),navigating:Oe(null),updated:zt()};function Fe(e){F[e]=me()}function dn(e,t){let n=e+1;for(;F[n];)delete F[n],n+=1;for(n=t+1;Q[n];)delete Q[n],n+=1}function G(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function ht(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}function Ue(){}let Me,Le,ce,j,Pe,k;const le=[],fe=[];let T=null;function ue(){T?.fork?.then(e=>e?.discard()),T=null}const ae=new Map,pt=new Set,hn=new Set,H=new Set;let m={branch:[],error:null,url:null},Ve=!1,de=!1,et=!0,ee=!1,Y=!1,_t=!1,ne=!1,ye,A,U,$;const J=new Set;let Re;const he=new Map;async function xn(e,t,n){globalThis.__sveltekit_1fd97hz?.data&&globalThis.__sveltekit_1fd97hz.data,document.URL!==location.href&&(location.href=location.href),k=e,await e.hooks.init?.(),Me=Ft(e),j=document.documentElement,Pe=t,Le=e.nodes[0],ce=e.nodes[1],Le(),ce(),A=history.state?.[q],U=history.state?.[X],A||(A=U=Date.now(),history.replaceState({...history.state,[q]:A,[X]:U},""));const r=F[A];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Sn(Pe,n)):(await z({type:"enter",url:De(k.hash?Rn(new URL(location.href)):location.href),replace_state:!0}),a()),En()}async function pn(e=!0,t=!0){if(await(Re||=Promise.resolve()),!Re)return;Re=null;const n=$={},r=await re(m.url,!0);if(ue(),ne&&he.forEach(({resource:a})=>{a.refresh?.()}),e){const a=R.state,o=r&&await Ge(r);if(!o||n!==$)return;if(o.type==="redirect")return qe(new URL(o.location,m.url).href,{replaceState:!0},1,n);t||(o.props.page.state=a),Be(o.props.page),m=o.state,Ce(),ye.$set(o.props)}else Ce();await Promise.all([...he.values()].map(({resource:a})=>a)).catch(Ue)}function Ce(){le.length=0,ne=!1}function gt(e){fe.some(t=>t?.snapshot)&&(Q[e]=fe.map(t=>t?.snapshot?.capture()))}function mt(e){Q[e]?.forEach((t,n)=>{fe[n]?.snapshot?.restore(t)})}function tt(){Fe(A),Xe(it,F),gt(U),Xe(st,Q)}async function qe(e,t,n,r){let a;t.invalidateAll&&ue(),await z({type:"goto",url:De(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(ne=!0,a=[...he.keys()]),t.invalidate&&t.invalidate.forEach(kn)}}),t.invalidateAll&&oe().then(oe).then(()=>{he.forEach(({resource:o},i)=>{a?.includes(i)&&o.refresh?.()})})}async function _n(e){if(e.id!==T?.id){ue();const t={};if(J.add(t),T={id:e.id,token:t,promise:Ge({...e,preload:t}).then(n=>(J.delete(t),n.type==="loaded"&&n.state.error&&ue(),n)),fork:null},Je){const n=T;n.fork=n.promise.then(r=>{if(n===T&&r.type==="loaded")try{return Je(()=>{ye.$set(r.props),Be(r.props.page)})}catch{}return null})}}return T.promise}async function Te(e){const t=(await re(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}async function wt(e,t,n){m=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(R,e.props.page),ye=new k.root({target:t,props:{...e.props,stores:D,components:fe},hydrate:n,sync:!1}),await Promise.resolve(),mt(U),n){const a={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};H.forEach(o=>o(a))}de=!0}function pe({url:e,params:t,branch:n,status:r,error:a,route:o,form:i}){let s="never";if(L&&(e.pathname===L||e.pathname===L+"/"))s="always";else for(const f of n)f?.slash!==void 0&&(s=f.slash);e.pathname=Rt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:nn(n).map(f=>f.node.component),page:Ke(R)}};i!==void 0&&(c.props.form=i);let l={},u=!R,h=0;for(let f=0;f<Math.max(n.length,m.branch.length);f+=1){const d=n[f],v=m.branch[f];d?.data!==v?.data&&(u=!0),d&&(l={...l,...d.data},u&&(c.props[`data_${h}`]=l),h+=1)}return(!m.url||e.href!==m.url.href||m.error!==a||i!==void 0&&i!==R.form||u)&&(c.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:r,url:new URL(e),form:i??null,data:u?l:R.data}),c}async function ze({loader:e,parent:t,url:n,params:r,route:a,server_data_node:o}){let i=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:o,universal:c.universal?.load?{type:"data",data:i,uses:s}:null,data:i??o?.data??null,slash:c.universal?.trailingSlash??o?.slash}}function gn(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const o=de?Ot(r,a.href,t):xt(r,t);return{resolved:a,promise:o}}function nt(e,t,n,r,a,o){if(ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==m.params[i])return!0;for(const i of a.dependencies)if(le.some(s=>s(new URL(i))))return!0;return!1}function We(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function mn(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),o=t.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&n.delete(r)}return n}function rt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Ke(R),constructors:[]}}}async function Ge({id:e,invalidating:t,url:n,params:r,route:a,preload:o}){if(T?.id===e)return J.delete(T.token),T.promise;const{errors:i,layouts:s,leaf:c}=a,l=[...s,c];i.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));let u=null;const h=m.url?e!==_e(m.url):!1,p=m.route?a.id!==m.route.id:!1,f=mn(m.url,n);let d=!1;{const g=l.map((w,b)=>{const S=m.branch[b],y=!!w?.[0]&&(S?.loader!==w[1]||nt(d,p,h,f,S.server?.uses,r));return y&&(d=!0),y});if(g.some(Boolean)){try{u=await bt(n,g)}catch(w){const b=await W(w,{url:n,params:r,route:{id:e}});return J.has(o)?rt({error:b,url:n,params:r,route:a}):ve({status:ie(w),error:b,url:n,route:a})}if(u.type==="redirect")return u}}const v=u?.nodes;let E=!1;const _=l.map(async(g,w)=>{if(!g)return;const b=m.branch[w],S=v?.[w];if((!S||S.type==="skip")&&g[1]===b?.loader&&!nt(E,p,h,f,b.universal?.uses,r))return b;if(E=!0,S?.type==="error")throw S;return ze({loader:g[1],url:n,params:r,route:a,parent:async()=>{const C={};for(let I=0;I<w;I+=1)Object.assign(C,(await _[I])?.data);return C},server_data_node:We(S===void 0&&g[0]?{type:"skip"}:S??null,g[0]?b?.server:void 0)})});for(const g of _)g.catch(()=>{});const P=[];for(let g=0;g<l.length;g+=1)if(l[g])try{P.push(await _[g])}catch(w){if(w instanceof Ne)return{type:"redirect",location:w.location};if(J.has(o))return rt({error:await W(w,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=ie(w),S;if(v?.includes(w))b=w.status??b,S=w.error;else if(w instanceof ge)S=w.body;else{if(await D.updated.check())return await ht(),await G(n);S=await W(w,{params:r,url:n,route:{id:a.id}})}const y=await wn(g,P,i);return y?pe({url:n,params:r,branch:P.slice(0,y.idx).concat(y.node),status:b,error:S,route:a}):await vt(n,{id:a.id},S,b)}else P.push(void 0);return pe({url:n,params:r,branch:P,status:200,error:null,route:a,form:t?void 0:null})}async function wn(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function ve({status:e,error:t,url:n,route:r}){const a={};let o=null;if(k.server_loads[0]===0)try{const s=await bt(n,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;o=s.nodes[0]??null}catch{(n.origin!==te||n.pathname!==location.pathname||Ve)&&await G(n)}try{const i=await ze({loader:Le,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:We(o)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:n,params:a,branch:[i,s],status:e,error:t,route:null})}catch(i){if(i instanceof Ne)return qe(new URL(i.location,location.href),{},0);throw i}}async function yn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await k.hooks.reroute({url:new URL(e),fetch:async(o,i)=>gn(o,i,e).promise})??e;if(typeof a=="string"){const o=new URL(e);k.hash?o.hash=a:o.pathname=a,a=o}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function re(e,t){if(e&&!we(e,L,k.hash)){const n=await yn(e);if(!n)return;const r=vn(n);for(const a of Me){const o=a.exec(r);if(o)return{id:_e(e),invalidating:t,route:a,params:It(o),url:e}}}}function vn(e){return Tt(k.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function _e(e){return(k.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function yt({url:e,type:t,intent:n,delta:r,event:a}){let o=!1;const i=Ye(m,n,e,t);r!==void 0&&(i.navigation.delta=r),a!==void 0&&(i.navigation.event=a);const s={...i.navigation,cancel:()=>{o=!0,i.reject(new Error("navigation cancelled"))}};return ee||pt.forEach(c=>c(s)),o?null:i}async function z({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ue,block:u=Ue,event:h}){const p=$;$=c;const f=await re(t,!1),d=e==="enter"?Ye(m,f,t,e):yt({url:t,type:e,delta:n?.delta,intent:f,event:h});if(!d){u(),$===c&&($=p);return}const v=A,E=U;l(),ee=!0,de&&d.navigation.type!=="enter"&&D.navigating.set(Z.current=d.navigation);let _=f&&await Ge(f);if(!_){if(we(t,L,k.hash))return await G(t,o);_=await vt(t,{id:null},await W(new je(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,o)}if(t=f?.url||t,$!==c)return d.reject(new Error("navigation aborted")),!1;if(_.type==="redirect"){if(s<20){await z({type:e,url:new URL(_.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:o,state:i,redirect_count:s+1,nav_token:c}),d.fulfil(void 0);return}_=await ve({status:500,error:await W(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else _.props.page.status>=400&&await D.updated.check()&&(await ht(),await G(t,o));if(Ce(),Fe(v),gt(E),_.props.page.url.pathname!==t.pathname&&(t.pathname=_.props.page.url.pathname),i=n?n.state:i,!n){const y=o?0:1,C={[q]:A+=y,[X]:U+=y,[ct]:i};(o?history.replaceState:history.pushState).call(history,C,"",t),o||dn(A,U)}const P=f&&T?.id===f.id?T.fork:null;T=null,_.props.page.state=i;let g;if(de){const y=(await Promise.all(Array.from(hn,I=>I(d.navigation)))).filter(I=>typeof I=="function");if(y.length>0){let I=function(){y.forEach(be=>{H.delete(be)})};y.push(I),y.forEach(be=>{H.add(be)})}m=_.state,_.props.page&&(_.props.page.url=t);const C=P&&await P;C?g=C.commit():(ye.$set(_.props),Be(_.props.page),g=At?.()),_t=!0}else await wt(_,Pe,!1);const{activeElement:w}=document;await g,await oe(),await oe();let b=n?n.scroll:a?me():null;if(et){const y=t.hash&&document.getElementById(Et(t));if(b)scrollTo(b.x,b.y);else if(y){y.scrollIntoView();const{top:C,left:I}=y.getBoundingClientRect();b={x:pageXOffset+I,y:pageYOffset+C}}else scrollTo(0,0)}const S=document.activeElement!==w&&document.activeElement!==document.body;!r&&!S&&An(t,b),et=!0,_.props.page&&Object.assign(R,_.props.page),ee=!1,e==="popstate"&&mt(U),d.fulfil(void 0),H.forEach(y=>y(d.navigation)),D.navigating.set(Z.current=null)}async function vt(e,t,n,r,a){return e.origin===te&&e.pathname===location.pathname&&!Ve?await ve({status:r,error:n,url:e,route:t}):await G(e,a)}function bn(){let e,t,n;j.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{o(c,B.hover)},20)});function r(s){s.defaultPrevented||o(s.composedPath()[0],B.tap)}j.addEventListener("mousedown",r),j.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(Te(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function o(s,c){const l=ft(s,j),u=l===t&&c>=n;if(!l||u)return;const{url:h,external:p,download:f}=Ie(l,L,k.hash);if(p||f)return;const d=se(l),v=h&&_e(m.url)===_e(h);if(!(d.reload||v))if(c<=d.preload_data){t=l,n=B.tap;const E=await re(h,!1);if(!E)return;_n(E)}else c<=d.preload_code&&(t=l,n=c,Te(h))}function i(){a.disconnect();for(const s of j.querySelectorAll("a")){const{url:c,external:l,download:u}=Ie(s,L,k.hash);if(l||u)continue;const h=se(s);h.reload||(h.preload_code===B.viewport&&a.observe(s),h.preload_code===B.eager&&Te(c))}}H.add(i),i()}function W(e,t){if(e instanceof ge)return e.body;const n=ie(e),r=on(e);return k.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function On(e,t={}){return e=new URL(De(e)),e.origin!==te?Promise.reject(new Error("goto: invalid URL")):qe(e,t,0)}function kn(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(n=>n.href===t)}}function Nn(){return ne=!0,pn()}function En(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(tt(),!ee){const r=Ye(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};pt.forEach(o=>o(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&tt()}),navigator.connection?.saveData||bn(),j.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=ft(t.composedPath()[0],j);if(!n)return;const{url:r,external:a,target:o,download:i}=Ie(n,L,k.hash);if(!r)return;if(o==="_parent"||o==="_top"){if(window.parent!==window)return}else if(o&&o!=="_self")return;const s=se(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;const[l,u]=(k.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===Ee(location);if(a||s.reload&&(!h||!u)){yt({url:r,type:"link",event:t})?ee=!0:t.preventDefault();return}if(u!==void 0&&h){const[,p]=m.url.href.split("#");if(p===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const f=n.ownerDocument.getElementById(decodeURIComponent(u));f&&(f.scrollIntoView(),f.focus())}return}if(Y=!0,Fe(A),e(r),!s.replace_state)return;Y=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await z({type:"link",url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),j.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const i=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(we(i,L,!1))return;const s=t.target,c=se(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,r);i.search=new URLSearchParams(l).toString(),z({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!xe){if(t.state?.[q]){const n=t.state[q];if($={},n===A)return;const r=F[n],a=t.state[ct]??{},o=new URL(t.state[qt]??location.href),i=t.state[X],s=m.url?Ee(location)===Ee(m.url):!1;if(i===U&&(_t||s)){a!==R.state&&(R.state=a),e(o),F[A]=me(),r&&scrollTo(r.x,r.y),A=n;return}const l=n-A;await z({type:"popstate",url:o,popped:{state:a,scroll:r,delta:l},accept:()=>{A=n,U=i},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!Y){const n=new URL(location.href);e(n),k.hash&&location.reload()}}}),addEventListener("hashchange",()=>{Y&&(Y=!1,history.replaceState({...history.state,[q]:++A,[X]:U},"",location.href))});for(const t of document.querySelectorAll("link"))un.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Z.current=null)});function e(t){m.url=R.url=t,D.page.set(Ke(R)),D.page.notify()}}async function Sn(e,{status:t=200,error:n,node_ids:r,params:a,route:o,server_route:i,data:s,form:c}){Ve=!0;const l=new URL(location.href);let u;({params:a={},route:o={id:null}}=await re(l,!1)||{}),u=Me.find(({id:f})=>f===o.id);let h,p=!0;try{const f=r.map(async(v,E)=>{const _=s[E];return _?.uses&&(_.uses=kt(_.uses)),ze({loader:k.nodes[v],url:l,params:a,route:o,parent:async()=>{const P={};for(let g=0;g<E;g+=1)Object.assign(P,(await f[g]).data);return P},server_data_node:We(_)})}),d=await Promise.all(f);if(u){const v=u.layouts;for(let E=0;E<v.length;E++)v[E]||d.splice(E,0,void 0)}h=pe({url:l,params:a,branch:d,status:t,error:n,form:c,route:u??null})}catch(f){if(f instanceof Ne){await G(new URL(f.location,location.href));return}h=await ve({status:ie(f),error:await W(f,{url:l,params:a,route:o}),url:l,route:o}),e.textContent="",p=!1}h.props.page&&(h.props.page.state={}),await wt(h,e,p)}async function bt(e,t){const n=new URL(e);n.pathname=fn(e.pathname),e.pathname.endsWith("/")&&n.searchParams.append(an,"1"),n.searchParams.append(rn,t.map(o=>o?"1":"0").join(""));const r=window.fetch,a=await r(n.href,{});if(!a.ok){let o;throw a.headers.get("content-type")?.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ge(a.status,o)}return new Promise(async o=>{const i=new Map,s=a.body.getReader();function c(u){return en(u,{...k.decoders,Promise:h=>new Promise((p,f)=>{i.set(h,{fulfil:p,reject:f})})})}let l="";for(;;){const{done:u,value:h}=await s.read();if(u&&!l)break;for(l+=!h&&l?`
|
|
2
|
+
`:Lt.decode(h,{stream:!0});;){const p=l.indexOf(`
|
|
3
|
+
`);if(p===-1)break;const f=JSON.parse(l.slice(0,p));if(l=l.slice(p+1),f.type==="redirect")return o(f);if(f.type==="data")f.nodes?.forEach(d=>{d?.type==="data"&&(d.uses=kt(d.uses),d.data=c(d.data))}),o(f);else if(f.type==="chunk"){const{id:d,data:v,error:E}=f,_=i.get(d);i.delete(d),E?_.reject(c(E)):_.fulfil(c(v))}}}})}function kt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let xe=!1;function An(e,t=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=Et(e);if(r&&document.getElementById(r)){const{x:o,y:i}=t??me();setTimeout(()=>{const s=history.state;xe=!0,location.replace(`#${r}`),k.hash&&location.replace(e.hash),history.replaceState(s,"",e.hash),scrollTo(o,i),xe=!1})}else{const o=document.body,i=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),i!==null?o.setAttribute("tabindex",i):o.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const o=[];for(let i=0;i<a.rangeCount;i+=1)o.push(a.getRangeAt(i));setTimeout(()=>{if(a.rangeCount===o.length){for(let i=0;i<a.rangeCount;i+=1){const s=o[i],c=a.getRangeAt(i);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ye(e,t,n,r){let a,o;const i=new Promise((c,l)=>{a=c,o=l});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:r,complete:i},fulfil:a,reject:o}}function Ke(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Rn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function Et(e){let t;if(k.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xn as a,L as b,On as g,Nn as i,Un as l,Z as n,R as p,In as r,D as s};
|
|
Binary file
|
|
Binary file
|