valaxy 0.3.11 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -4
- package/{src/client → client}/App.vue +0 -0
- package/{src/client/composables/search/index.ts → client/app/data.ts} +0 -0
- package/{src/client → client}/components/AppLink.vue +0 -0
- package/client/components/PostCard.vue +84 -0
- package/{src/client → client}/components/PostList.vue +0 -0
- package/{src/client → client}/components/README.md +0 -0
- package/{src/client → client}/components/ValaxyBg.vue +0 -0
- package/{src/client → client}/components/ValaxyCopyright.vue +0 -0
- package/{src/client → client}/components/ValaxyFooter.vue +1 -1
- package/{src/client → client}/components/ValaxyHamburger.vue +0 -0
- package/{src/client → client}/components/ValaxyMd.vue +1 -5
- package/{src/client → client}/components/ValaxyOverlay.vue +0 -0
- package/{src/client → client}/components/ValaxyPagination.vue +0 -0
- package/{src/client → client}/components/ValaxyRightSidebar.vue +0 -0
- package/{src/client → client}/components/ValaxySidebar.vue +0 -0
- package/{src/client → client}/components/ValaxyToc.vue +3 -3
- package/{src/client → client}/composables/category.ts +0 -0
- package/{src/client → client}/composables/comments/index.ts +0 -0
- package/{src/client → client}/composables/comments/twikoo.ts +0 -0
- package/{src/client → client}/composables/comments/waline.ts +0 -0
- package/{src/client → client}/composables/common.ts +0 -0
- package/{src/client → client}/composables/dark.ts +0 -0
- package/client/composables/features/index.ts +0 -0
- package/{src/client → client}/composables/helper.ts +0 -0
- package/{src/client → client}/composables/index.ts +1 -1
- package/{src/client → client}/composables/layout.ts +0 -0
- package/client/composables/outline.ts +181 -0
- package/{src/client → client}/composables/post.ts +0 -0
- package/client/composables/search/index.ts +0 -0
- package/{src/client → client}/composables/sidebar.ts +68 -9
- package/{src/client → client}/composables/tag.ts +0 -0
- package/{src/client → client}/composables/widgets/aplayer.ts +0 -0
- package/{src/client → client}/composables/widgets/backToTop.ts +0 -0
- package/{src/client → client}/composables/widgets/codepen.ts +0 -0
- package/{src/client → client}/composables/widgets/index.ts +0 -0
- package/client/config.ts +75 -0
- package/{src/client → client}/index.html +0 -0
- package/{src/client → client}/index.ts +0 -0
- package/{src/client → client}/layouts/404.vue +0 -0
- package/{src/client → client}/layouts/README.md +0 -0
- package/{src/client → client}/locales/README.md +0 -0
- package/{src/client → client}/locales/en.yml +1 -0
- package/{src/client → client}/locales/zh-CN.yml +4 -3
- package/{src/client → client}/main.ts +8 -1
- package/{src/client → client}/modules/README.md +0 -0
- package/{src/client → client}/modules/nprogress.ts +0 -0
- package/{src/client → client}/modules/pinia.ts +0 -0
- package/{src/client → client}/modules/valaxy.ts +34 -9
- package/{src/client → client}/pages/README.md +0 -0
- package/{src/client → client}/pages/[...all].vue +0 -0
- package/{src/client → client}/pages/hi/[name].vue +0 -0
- package/{src/client → client}/pages/index.vue +0 -0
- package/{src/client → client}/pages/page/[page].vue +0 -0
- package/{src/client → client}/shims.d.ts +7 -1
- package/{src/client → client}/stores/app.ts +0 -0
- package/{src/client → client}/stores/user.ts +0 -0
- package/{src/client → client}/styles/common/button.scss +0 -0
- package/{src/client → client}/styles/common/code.scss +0 -0
- package/{src/client → client}/styles/common/custom-blocks.scss +0 -0
- package/{src/client → client}/styles/common/hamburger.scss +0 -0
- package/{src/client → client}/styles/common/markdown.scss +5 -1
- package/client/styles/common/scrollbar.scss +28 -0
- package/{src/client → client}/styles/common/sidebar.scss +0 -0
- package/{src/client → client}/styles/common/transition.scss +0 -0
- package/{src/client → client}/styles/css-vars.scss +0 -0
- package/{src/client → client}/styles/global/helper.scss +0 -0
- package/{src/client → client}/styles/global/i18n.scss +0 -0
- package/{src/client → client}/styles/global/index.scss +0 -0
- package/{src/client → client}/styles/global/nprogress.scss +0 -0
- package/{src/client → client}/styles/global/reset.scss +0 -0
- package/{src/client → client}/styles/index.scss +0 -0
- package/{src/client → client}/styles/mixins/config.scss +0 -0
- package/{src/client → client}/styles/mixins/index.scss +0 -0
- package/{src/client → client}/styles/mixins/size.scss +0 -0
- package/{src/client → client}/styles/mixins/variable.scss +0 -0
- package/{src/client → client}/styles/palette.scss +6 -2
- package/client/styles/third/katex.scss +3 -0
- package/{src/client → client}/styles/vars.scss +0 -0
- package/{src/client → client}/styles/widgets/banner.scss +0 -0
- package/{src/client → client}/types.ts +0 -0
- package/{src/client → client}/utils/helper.ts +22 -0
- package/{src/client → client}/utils/index.ts +0 -0
- package/client/utils/sidebar.ts +26 -0
- package/{src/client → client}/utils/time.ts +0 -0
- package/config/index.ts +18 -0
- package/dist/chunk-CP3UCJ2D.js +34 -0
- package/dist/chunk-EAN2KU6W.mjs +1 -0
- package/dist/chunk-HCVZ2UUO.mjs +34 -0
- package/dist/chunk-U5OMNIOK.js +1 -0
- package/dist/{config-de04677b.d.ts → config-ad23e743.d.ts} +28 -14
- package/dist/index.d.ts +67 -111
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node/cli.js +7 -11
- package/dist/node/cli.mjs +7 -11
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/node/index.mjs +1 -1
- package/{src/index.ts → index.ts} +1 -0
- package/{src/node → node}/build.ts +0 -0
- package/{src/node → node}/cli.ts +3 -2
- package/node/config.ts +156 -0
- package/{src/node → node}/index.ts +0 -0
- package/{src/node → node}/markdown/check.ts +0 -0
- package/{src/node → node}/markdown/highlight.ts +0 -0
- package/{src/node → node}/markdown/index.ts +21 -13
- package/{src/node → node}/markdown/markdown-it/container.ts +0 -0
- package/{src/node → node}/markdown/markdown-it/headings.ts +0 -0
- package/{src/node → node}/markdown/markdown-it/highlightLines.ts +0 -0
- package/{src/node → node}/markdown/markdown-it/katex.ts +0 -0
- package/{src/node → node}/markdown/markdown-it/parseHeader.ts +0 -0
- package/node/markdown/markdownToVue.ts +253 -0
- package/{src/node → node}/markdown/slugify.ts +0 -0
- package/{src/node → node}/options.ts +18 -2
- package/{src/node → node}/plugins/extendConfig.ts +6 -3
- package/node/plugins/index.ts +224 -0
- package/{src/node → node}/plugins/preset.ts +6 -36
- package/{src/node → node}/plugins/unocss.ts +0 -0
- package/{src/node → node}/plugins/valaxy.ts +0 -0
- package/{src/node → node}/rss.ts +1 -1
- package/{src/node → node}/server.ts +6 -4
- package/{src/node → node}/shims.d.ts +0 -0
- package/{src/node → node}/utils/cli.ts +1 -1
- package/node/utils/getGitTimestamp.ts +13 -0
- package/node/utils/index.ts +59 -0
- package/node/utils/net.ts +20 -0
- package/{src/node → node}/vite.ts +5 -1
- package/package.json +33 -13
- package/shared/index.ts +1 -0
- package/tsup.config.ts +7 -4
- package/{src/types → types}/config.ts +31 -108
- package/types/data.ts +31 -0
- package/{src/types → types}/index.ts +1 -0
- package/{src/types → types}/posts.ts +6 -1
- package/dist/chunk-6LIOFBAA.mjs +0 -1
- package/dist/chunk-ABPVSNYI.js +0 -83
- package/dist/chunk-QOANGHSR.mjs +0 -83
- package/dist/chunk-V3BMKLEW.js +0 -1
- package/src/client/components/PostCard.vue +0 -68
- package/src/client/composables/features/index.ts +0 -1
- package/src/client/composables/features/katex.ts +0 -15
- package/src/client/composables/search/algolia.ts +0 -115
- package/src/client/config.ts +0 -51
- package/src/client/modules/pwa.ts +0 -12
- package/src/client/styles/common/scrollbar.scss +0 -34
- package/src/node/config.ts +0 -52
- package/src/node/plugins/index.ts +0 -120
- package/src/node/plugins/markdown.ts +0 -57
- package/src/node/utils/index.ts +0 -26
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{a as de,c as P,d as C,e as ie}from"./chunk-EAN2KU6W.mjs";var wr=C(Pe=>{Pe.remove=fn;var Re=[{base:" ",chars:"\xA0"},{base:"0",chars:"\u07C0"},{base:"A",chars:"\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",chars:"\uA732"},{base:"AE",chars:"\xC6\u01FC\u01E2"},{base:"AO",chars:"\uA734"},{base:"AU",chars:"\uA736"},{base:"AV",chars:"\uA738\uA73A"},{base:"AY",chars:"\uA73C"},{base:"B",chars:"\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0181"},{base:"C",chars:"\u24B8\uFF23\uA73E\u1E08\u0106C\u0108\u010A\u010C\xC7\u0187\u023B"},{base:"D",chars:"\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018A\u0189\u1D05\uA779"},{base:"Dh",chars:"\xD0"},{base:"DZ",chars:"\u01F1\u01C4"},{base:"Dz",chars:"\u01F2\u01C5"},{base:"E",chars:"\u025B\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E\u1D07"},{base:"F",chars:"\uA77C\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",chars:"\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E\u0262"},{base:"H",chars:"\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",chars:"\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",chars:"\u24BF\uFF2A\u0134\u0248\u0237"},{base:"K",chars:"\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",chars:"\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",chars:"\u01C7"},{base:"Lj",chars:"\u01C8"},{base:"M",chars:"\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C\u03FB"},{base:"N",chars:"\uA7A4\u0220\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u019D\uA790\u1D0E"},{base:"NJ",chars:"\u01CA"},{base:"Nj",chars:"\u01CB"},{base:"O",chars:"\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OE",chars:"\u0152"},{base:"OI",chars:"\u01A2"},{base:"OO",chars:"\uA74E"},{base:"OU",chars:"\u0222"},{base:"P",chars:"\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",chars:"\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",chars:"\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",chars:"\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",chars:"\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"Th",chars:"\xDE"},{base:"TZ",chars:"\uA728"},{base:"U",chars:"\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",chars:"\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",chars:"\uA760"},{base:"W",chars:"\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",chars:"\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",chars:"\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",chars:"\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",chars:"\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250\u0251"},{base:"aa",chars:"\uA733"},{base:"ae",chars:"\xE6\u01FD\u01E3"},{base:"ao",chars:"\uA735"},{base:"au",chars:"\uA737"},{base:"av",chars:"\uA739\uA73B"},{base:"ay",chars:"\uA73D"},{base:"b",chars:"\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253\u0182"},{base:"c",chars:"\uFF43\u24D2\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",chars:"\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\u018B\u13E7\u0501\uA7AA"},{base:"dh",chars:"\xF0"},{base:"dz",chars:"\u01F3\u01C6"},{base:"e",chars:"\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u01DD"},{base:"f",chars:"\u24D5\uFF46\u1E1F\u0192"},{base:"ff",chars:"\uFB00"},{base:"fi",chars:"\uFB01"},{base:"fl",chars:"\uFB02"},{base:"ffi",chars:"\uFB03"},{base:"ffl",chars:"\uFB04"},{base:"g",chars:"\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\uA77F\u1D79"},{base:"h",chars:"\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",chars:"\u0195"},{base:"i",chars:"\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",chars:"\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",chars:"\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",chars:"\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747\u026D"},{base:"lj",chars:"\u01C9"},{base:"m",chars:"\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",chars:"\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u043B\u0509"},{base:"nj",chars:"\u01CC"},{base:"o",chars:"\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\uA74B\uA74D\u0275\u0254\u1D11"},{base:"oe",chars:"\u0153"},{base:"oi",chars:"\u01A3"},{base:"oo",chars:"\uA74F"},{base:"ou",chars:"\u0223"},{base:"p",chars:"\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755\u03C1"},{base:"q",chars:"\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",chars:"\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",chars:"\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u0282"},{base:"ss",chars:"\xDF"},{base:"t",chars:"\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"th",chars:"\xFE"},{base:"tz",chars:"\uA729"},{base:"u",chars:"\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",chars:"\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",chars:"\uA761"},{base:"w",chars:"\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",chars:"\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",chars:"\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",chars:"\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],Ye={};for(he=0;he<Re.length;he+=1)for(ze=Re[he].chars,Oe=0;Oe<ze.length;Oe+=1)Ye[ze[Oe]]=Re[he].base;var ze,Oe,he;function fn(e){return e.replace(/[^\u0000-\u007e]/g,function(r){return Ye[r]||r})}Pe.replacementList=Re;Pe.diacriticsMap=Ye});var qr=C((ji,Lr)=>{var{hasOwnProperty:er}=Object.prototype,rr=typeof process<"u"&&process.platform==="win32"?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`,tr=(e,r)=>{let t=[],n="";typeof r=="string"?r={section:r,whitespace:!1}:(r=r||Object.create(null),r.whitespace=r.whitespace===!0);let o=r.whitespace?" = ":"=";for(let s of Object.keys(e)){let i=e[s];if(i&&Array.isArray(i))for(let c of i)n+=ae(s+"[]")+o+ae(c)+`
|
|
4
|
+
`;else i&&typeof i=="object"?t.push(s):n+=ae(s)+o+ae(i)+rr}r.section&&n.length&&(n="["+ae(r.section)+"]"+rr+n);for(let s of t){let i=Tr(s).join("\\."),c=(r.section?r.section+".":"")+i,{whitespace:f}=r,l=tr(e[s],{section:c,whitespace:f});n.length&&l.length&&(n+=rr),n+=l}return n},Tr=e=>e.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(r=>r.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")),Mr=e=>{let r=Object.create(null),t=r,n=null,o=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,s=e.split(/[\r\n]+/g);for(let c of s){if(!c||c.match(/^\s*[;#]/))continue;let f=c.match(o);if(!f)continue;if(f[1]!==void 0){if(n=$e(f[1]),n==="__proto__"){t=Object.create(null);continue}t=r[n]=r[n]||Object.create(null);continue}let l=$e(f[2]),a=l.length>2&&l.slice(-2)==="[]",p=a?l.slice(0,-2):l;if(p==="__proto__")continue;let u=f[3]?$e(f[4]):!0,A=u==="true"||u==="false"||u==="null"?JSON.parse(u):u;a&&(er.call(t,p)?Array.isArray(t[p])||(t[p]=[t[p]]):t[p]=[]),Array.isArray(t[p])?t[p].push(A):t[p]=A}let i=[];for(let c of Object.keys(r)){if(!er.call(r,c)||typeof r[c]!="object"||Array.isArray(r[c]))continue;let f=Tr(c),l=r,a=f.pop(),p=a.replace(/\\\./g,".");for(let u of f)u!=="__proto__"&&((!er.call(l,u)||typeof l[u]!="object")&&(l[u]=Object.create(null)),l=l[u]);l===r&&p===a||(l[p]=r[c],i.push(c))}for(let c of i)delete r[c];return r},Nr=e=>e.charAt(0)==='"'&&e.slice(-1)==='"'||e.charAt(0)==="'"&&e.slice(-1)==="'",ae=e=>typeof e!="string"||e.match(/[=\r\n]/)||e.match(/^\[/)||e.length>1&&Nr(e)||e!==e.trim()?JSON.stringify(e):e.replace(/;/g,"\\;").replace(/#/g,"\\#"),$e=(e,r)=>{if(e=(e||"").trim(),Nr(e)){e.charAt(0)==="'"&&(e=e.substr(1,e.length-2));try{e=JSON.parse(e)}catch{}}else{let t=!1,n="";for(let o=0,s=e.length;o<s;o++){let i=e.charAt(o);if(t)"\\;#".indexOf(i)!==-1?n+=i:n+="\\"+i,t=!1;else{if(";#".indexOf(i)!==-1)break;i==="\\"?t=!0:n+=i}}return t&&(n+="\\"),n.trim()}return e};Lr.exports={parse:Mr,decode:Mr,stringify:tr,encode:tr,safe:ae,unsafe:$e}});var or=C(H=>{"use strict";var I=P("path"),nr=P("os"),Ie=P("fs"),Ln=qr(),Ce=process.platform==="win32",Vr=e=>{try{return Ln.parse(Ie.readFileSync(e,"utf8")).prefix}catch{}},qn=()=>Object.keys(process.env).reduce((e,r)=>/^npm_config_prefix$/i.test(r)?process.env[r]:e,void 0),Vn=()=>{if(Ce&&process.env.APPDATA)return I.join(process.env.APPDATA,"/npm/etc/npmrc");if(process.execPath.includes("/Cellar/node")){let e=process.execPath.slice(0,process.execPath.indexOf("/Cellar/node"));return I.join(e,"/lib/node_modules/npm/npmrc")}if(process.execPath.endsWith("/bin/node")){let e=I.dirname(I.dirname(process.execPath));return I.join(e,"/etc/npmrc")}},Un=()=>Ce?I.dirname(process.execPath):I.dirname(I.dirname(process.execPath)),Wn=()=>{let e=qn();if(e)return e;let r=Vr(I.join(nr.homedir(),".npmrc"));if(r)return r;if(process.env.PREFIX)return process.env.PREFIX;let t=Vr(Vn());return t||Un()},Ee=I.resolve(Wn()),Ur=()=>{if(Ce&&process.env.LOCALAPPDATA){let e=I.join(process.env.LOCALAPPDATA,"Yarn");if(Ie.existsSync(e))return e}return!1},Gn=()=>{if(process.env.PREFIX)return process.env.PREFIX;let e=Ur();if(e)return e;let r=I.join(nr.homedir(),".config/yarn");if(Ie.existsSync(r))return r;let t=I.join(nr.homedir(),".yarn-config");return Ie.existsSync(t)?t:Ee};H.npm={};H.npm.prefix=Ee;H.npm.packages=I.join(Ee,Ce?"node_modules":"lib/node_modules");H.npm.binaries=Ce?Ee:I.join(Ee,"bin");var Wr=I.resolve(Gn());H.yarn={};H.yarn.prefix=Wr;H.yarn.packages=I.join(Wr,Ur()?"Data/global/node_modules":"global/node_modules");H.yarn.binaries=I.join(H.yarn.packages,".bin")});var zr=C((Mi,Gr)=>{"use strict";var sr=P("path");Gr.exports=(e,r)=>{let t=sr.relative(r,e);return Boolean(t&&t!==".."&&!t.startsWith(`..${sr.sep}`)&&t!==sr.resolve(e))}});var Kr=C((Ti,Hr)=>{"use strict";var zn=P("fs"),Yr=or(),Jr=zr();Hr.exports=(()=>{try{return Jr(__dirname,Yr.yarn.packages)||Jr(__dirname,zn.realpathSync(Yr.npm.packages))}catch{return!1}})()});var ir=C((Ni,Xr)=>{"use strict";var Yn=P("os");Xr.exports=Yn.homedir||function(){var r=process.env.HOME,t=process.env.LOGNAME||process.env.USER||process.env.LNAME||process.env.USERNAME;return process.platform==="win32"?process.env.USERPROFILE||process.env.HOMEDRIVE+process.env.HOMEPATH||r||null:process.platform==="darwin"?r||(t?"/Users/"+t:null):process.platform==="linux"?r||(process.getuid()===0?"/root":t?"/home/"+t:null):r||null}});var ar=C((Li,Zr)=>{Zr.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(t,n){return n};var r=new Error().stack;return Error.prepareStackTrace=e,r[2].getFileName()}});var Qr=C((qi,be)=>{"use strict";var Jn=process.platform==="win32",Hn=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/,ur={};function Kn(e){return Hn.exec(e).slice(1)}ur.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=Kn(e);if(!r||r.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0]===r[1]?r[0]:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}};var Xn=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/,cr={};function Zn(e){return Xn.exec(e).slice(1)}cr.parse=function(e){if(typeof e!="string")throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e);var r=Zn(e);if(!r||r.length!==5)throw new TypeError("Invalid path '"+e+"'");return{root:r[1],dir:r[0].slice(0,-1),base:r[2],ext:r[4],name:r[3]}};Jn?be.exports=ur.parse:be.exports=cr.parse;be.exports.posix=cr.parse;be.exports.win32=ur.parse});var lr=C((Vi,nt)=>{var tt=P("path"),et=tt.parse||Qr(),rt=function(r,t){var n="/";/^([A-Za-z]:)/.test(r)?n="":/^\\\\/.test(r)&&(n="\\\\");for(var o=[r],s=et(r);s.dir!==o[o.length-1];)o.push(s.dir),s=et(s.dir);return o.reduce(function(i,c){return i.concat(t.map(function(f){return tt.resolve(n,c,f)}))},[])};nt.exports=function(r,t,n){var o=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths=="function")return t.paths(n,r,function(){return rt(r,o)},t);var s=rt(r,o);return t&&t.paths?s.concat(t.paths):s}});var fr=C((Ui,ot)=>{ot.exports=function(e,r){return r||{}}});var it=C((Wi,st)=>{"use strict";var Qn="Function.prototype.bind called on incompatible ",pr=Array.prototype.slice,eo=Object.prototype.toString,ro="[object Function]";st.exports=function(r){var t=this;if(typeof t!="function"||eo.call(t)!==ro)throw new TypeError(Qn+t);for(var n=pr.call(arguments,1),o,s=function(){if(this instanceof o){var a=t.apply(this,n.concat(pr.call(arguments)));return Object(a)===a?a:this}else return t.apply(r,n.concat(pr.call(arguments)))},i=Math.max(0,t.length-n.length),c=[],f=0;f<i;f++)c.push("$"+f);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(s),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o}});var ut=C((Gi,at)=>{"use strict";var to=it();at.exports=Function.prototype.bind||to});var lt=C((zi,ct)=>{"use strict";var no=ut();ct.exports=no.call(Function.call,Object.prototype.hasOwnProperty)});var ft=C((Yi,oo)=>{oo.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],"node:test":">= 18",timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var je=C((Ji,mt)=>{"use strict";var so=lt();function io(e,r){for(var t=e.split("."),n=r.split(" "),o=n.length>1?n[0]:"=",s=(n.length>1?n[1]:n[0]).split("."),i=0;i<3;++i){var c=parseInt(t[i]||0,10),f=parseInt(s[i]||0,10);if(c!==f)return o==="<"?c<f:o===">="?c>=f:!1}return o===">="}function pt(e,r){var t=r.split(/ ?&& ?/);if(t.length===0)return!1;for(var n=0;n<t.length;++n)if(!io(e,t[n]))return!1;return!0}function ao(e,r){if(typeof r=="boolean")return r;var t=typeof e>"u"?process.versions&&process.versions.node:e;if(typeof t!="string")throw new TypeError(typeof e>"u"?"Unable to determine current node version":"If provided, a valid node version is required");if(r&&typeof r=="object"){for(var n=0;n<r.length;++n)if(pt(t,r[n]))return!0;return!1}return pt(t,r)}var dt=ft();mt.exports=function(r,t){return so(dt,r)&&ao(t,dt[r])}});var yt=C((Hi,gt)=>{var te=P("fs"),uo=ir(),$=P("path"),co=ar(),lo=lr(),fo=fr(),po=je(),mo=te.realpath&&typeof te.realpath.native=="function"?te.realpath.native:te.realpath,ht=uo(),ho=function(){return[$.join(ht,".node_modules"),$.join(ht,".node_libraries")]},go=function(r,t){te.stat(r,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?t(null,!1):t(n):t(null,o.isFile()||o.isFIFO())})},yo=function(r,t){te.stat(r,function(n,o){return n?n.code==="ENOENT"||n.code==="ENOTDIR"?t(null,!1):t(n):t(null,o.isDirectory())})},vo=function(r,t){mo(r,function(n,o){n&&n.code!=="ENOENT"?t(n):t(null,n?r:o)})},xe=function(r,t,n,o){n&&n.preserveSymlinks===!1?r(t,o):o(null,t)},Eo=function(r,t,n){r(t,function(o,s){if(o)n(o);else try{var i=JSON.parse(s);n(null,i)}catch{n(null)}})},Co=function(r,t,n){for(var o=lo(t,n,r),s=0;s<o.length;s++)o[s]=$.join(o[s],r);return o};gt.exports=function(r,t,n){var o=n,s=t;if(typeof t=="function"&&(o=s,s={}),typeof r!="string"){var i=new TypeError("Path must be a string.");return process.nextTick(function(){o(i)})}s=fo(r,s);var c=s.isFile||go,f=s.isDirectory||yo,l=s.readFile||te.readFile,a=s.realpath||vo,p=s.readPackage||Eo;if(s.readFile&&s.readPackage){var u=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick(function(){o(u)})}var A=s.packageIterator,S=s.extensions||[".js"],v=s.includeCoreModules!==!1,h=s.basedir||$.dirname(co()),w=s.filename||h;s.paths=s.paths||ho();var F=$.resolve(h);xe(a,F,s,function(d,m){d?o(d):B(m)});var k;function B(d){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(r))k=$.resolve(d,r),(r==="."||r===".."||r.slice(-1)==="/")&&(k+="/"),/\/$/.test(r)&&k===d?x(k,s.package,Y):M(k,s.package,Y);else{if(v&&po(r))return o(null,r);V(r,d,function(m,b,y){if(m)o(m);else{if(b)return xe(a,b,s,function(G,R){G?o(G):o(null,R,y)});var D=new Error("Cannot find module '"+r+"' from '"+w+"'");D.code="MODULE_NOT_FOUND",o(D)}})}}function Y(d,m,b){d?o(d):m?o(null,m,b):x(k,function(y,D,G){if(y)o(y);else if(D)xe(a,D,s,function(O,q){O?o(O):o(null,q,G)});else{var R=new Error("Cannot find module '"+r+"' from '"+w+"'");R.code="MODULE_NOT_FOUND",o(R)}})}function M(d,m,b){var y=m,D=b;typeof y=="function"&&(D=y,y=void 0);var G=[""].concat(S);R(G,d,y);function R(O,q,K){if(O.length===0)return D(null,void 0,K);var re=q+O[0],J=K;J?T(null,J):g($.dirname(re),T);function T(Z,se,X){if(J=se,Z)return D(Z);if(X&&J&&s.pathFilter){var ke=$.relative(X,re),De=ke.slice(0,ke.length-O[0].length),pe=s.pathFilter(J,q,De);if(pe)return R([""].concat(S.slice()),$.resolve(X,pe),J)}c(re,we)}function we(Z,se){if(Z)return D(Z);if(se)return D(null,re,J);R(O.slice(1),q,J)}}}function g(d,m){if(d===""||d==="/"||process.platform==="win32"&&/^\w:[/\\]*$/.test(d)||/[/\\]node_modules[/\\]*$/.test(d))return m(null);xe(a,d,s,function(b,y){if(b)return g($.dirname(d),m);var D=$.join(y,"package.json");c(D,function(G,R){if(!R)return g($.dirname(d),m);p(l,D,function(O,q){O&&m(O);var K=q;K&&s.packageFilter&&(K=s.packageFilter(K,D)),m(null,K,d)})})})}function x(d,m,b){var y=b,D=m;typeof D=="function"&&(y=D,D=s.package),xe(a,d,s,function(G,R){if(G)return y(G);var O=$.join(R,"package.json");c(O,function(q,K){if(q)return y(q);if(!K)return M($.join(d,"index"),D,y);p(l,O,function(re,J){if(re)return y(re);var T=J;if(T&&s.packageFilter&&(T=s.packageFilter(T,O)),T&&T.main){if(typeof T.main!="string"){var we=new TypeError("package \u201C"+T.name+"\u201D `main` must be a string");return we.code="INVALID_PACKAGE_MAIN",y(we)}(T.main==="."||T.main==="./")&&(T.main="index"),M($.resolve(d,T.main),T,function(Z,se,X){if(Z)return y(Z);if(se)return y(null,se,X);if(!X)return M($.join(d,"index"),X,y);var ke=$.resolve(d,X.main);x(ke,X,function(De,pe,xr){if(De)return y(De);if(pe)return y(null,pe,xr);M($.join(d,"index"),xr,y)})});return}M($.join(d,"/index"),T,y)})})})}function E(d,m){if(m.length===0)return d(null,void 0);var b=m[0];f($.dirname(b),y);function y(R,O){if(R)return d(R);if(!O)return E(d,m.slice(1));M(b,s.package,D)}function D(R,O,q){if(R)return d(R);if(O)return d(null,O,q);x(b,s.package,G)}function G(R,O,q){if(R)return d(R);if(O)return d(null,O,q);E(d,m.slice(1))}}function V(d,m,b){var y=function(){return Co(d,m,s)};E(b,A?A(d,m,y,s):y())}}});var vt=C((Ki,bo)=>{bo.exports={assert:!0,"node:assert":[">= 14.18 && < 15",">= 16"],"assert/strict":">= 15","node:assert/strict":">= 16",async_hooks:">= 8","node:async_hooks":[">= 14.18 && < 15",">= 16"],buffer_ieee754:">= 0.5 && < 0.9.7",buffer:!0,"node:buffer":[">= 14.18 && < 15",">= 16"],child_process:!0,"node:child_process":[">= 14.18 && < 15",">= 16"],cluster:">= 0.5","node:cluster":[">= 14.18 && < 15",">= 16"],console:!0,"node:console":[">= 14.18 && < 15",">= 16"],constants:!0,"node:constants":[">= 14.18 && < 15",">= 16"],crypto:!0,"node:crypto":[">= 14.18 && < 15",">= 16"],_debug_agent:">= 1 && < 8",_debugger:"< 8",dgram:!0,"node:dgram":[">= 14.18 && < 15",">= 16"],diagnostics_channel:[">= 14.17 && < 15",">= 15.1"],"node:diagnostics_channel":[">= 14.18 && < 15",">= 16"],dns:!0,"node:dns":[">= 14.18 && < 15",">= 16"],"dns/promises":">= 15","node:dns/promises":">= 16",domain:">= 0.7.12","node:domain":[">= 14.18 && < 15",">= 16"],events:!0,"node:events":[">= 14.18 && < 15",">= 16"],freelist:"< 6",fs:!0,"node:fs":[">= 14.18 && < 15",">= 16"],"fs/promises":[">= 10 && < 10.1",">= 14"],"node:fs/promises":[">= 14.18 && < 15",">= 16"],_http_agent:">= 0.11.1","node:_http_agent":[">= 14.18 && < 15",">= 16"],_http_client:">= 0.11.1","node:_http_client":[">= 14.18 && < 15",">= 16"],_http_common:">= 0.11.1","node:_http_common":[">= 14.18 && < 15",">= 16"],_http_incoming:">= 0.11.1","node:_http_incoming":[">= 14.18 && < 15",">= 16"],_http_outgoing:">= 0.11.1","node:_http_outgoing":[">= 14.18 && < 15",">= 16"],_http_server:">= 0.11.1","node:_http_server":[">= 14.18 && < 15",">= 16"],http:!0,"node:http":[">= 14.18 && < 15",">= 16"],http2:">= 8.8","node:http2":[">= 14.18 && < 15",">= 16"],https:!0,"node:https":[">= 14.18 && < 15",">= 16"],inspector:">= 8","node:inspector":[">= 14.18 && < 15",">= 16"],_linklist:"< 8",module:!0,"node:module":[">= 14.18 && < 15",">= 16"],net:!0,"node:net":[">= 14.18 && < 15",">= 16"],"node-inspect/lib/_inspect":">= 7.6 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6 && < 12",os:!0,"node:os":[">= 14.18 && < 15",">= 16"],path:!0,"node:path":[">= 14.18 && < 15",">= 16"],"path/posix":">= 15.3","node:path/posix":">= 16","path/win32":">= 15.3","node:path/win32":">= 16",perf_hooks:">= 8.5","node:perf_hooks":[">= 14.18 && < 15",">= 16"],process:">= 1","node:process":[">= 14.18 && < 15",">= 16"],punycode:">= 0.5","node:punycode":[">= 14.18 && < 15",">= 16"],querystring:!0,"node:querystring":[">= 14.18 && < 15",">= 16"],readline:!0,"node:readline":[">= 14.18 && < 15",">= 16"],"readline/promises":">= 17","node:readline/promises":">= 17",repl:!0,"node:repl":[">= 14.18 && < 15",">= 16"],smalloc:">= 0.11.5 && < 3",_stream_duplex:">= 0.9.4","node:_stream_duplex":[">= 14.18 && < 15",">= 16"],_stream_transform:">= 0.9.4","node:_stream_transform":[">= 14.18 && < 15",">= 16"],_stream_wrap:">= 1.4.1","node:_stream_wrap":[">= 14.18 && < 15",">= 16"],_stream_passthrough:">= 0.9.4","node:_stream_passthrough":[">= 14.18 && < 15",">= 16"],_stream_readable:">= 0.9.4","node:_stream_readable":[">= 14.18 && < 15",">= 16"],_stream_writable:">= 0.9.4","node:_stream_writable":[">= 14.18 && < 15",">= 16"],stream:!0,"node:stream":[">= 14.18 && < 15",">= 16"],"stream/consumers":">= 16.7","node:stream/consumers":">= 16.7","stream/promises":">= 15","node:stream/promises":">= 16","stream/web":">= 16.5","node:stream/web":">= 16.5",string_decoder:!0,"node:string_decoder":[">= 14.18 && < 15",">= 16"],sys:[">= 0.4 && < 0.7",">= 0.8"],"node:sys":[">= 14.18 && < 15",">= 16"],timers:!0,"node:timers":[">= 14.18 && < 15",">= 16"],"timers/promises":">= 15","node:timers/promises":">= 16",_tls_common:">= 0.11.13","node:_tls_common":[">= 14.18 && < 15",">= 16"],_tls_legacy:">= 0.11.3 && < 10",_tls_wrap:">= 0.11.3","node:_tls_wrap":[">= 14.18 && < 15",">= 16"],tls:!0,"node:tls":[">= 14.18 && < 15",">= 16"],trace_events:">= 10","node:trace_events":[">= 14.18 && < 15",">= 16"],tty:!0,"node:tty":[">= 14.18 && < 15",">= 16"],url:!0,"node:url":[">= 14.18 && < 15",">= 16"],util:!0,"node:util":[">= 14.18 && < 15",">= 16"],"util/types":">= 15.3","node:util/types":">= 16","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/consarray":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/csvparser":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/logreader":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/profile_view":[">= 4.4 && < 5",">= 5.2 && < 12"],"v8/tools/splaytree":[">= 4.4 && < 5",">= 5.2 && < 12"],v8:">= 1","node:v8":[">= 14.18 && < 15",">= 16"],vm:!0,"node:vm":[">= 14.18 && < 15",">= 16"],wasi:">= 13.4 && < 13.5",worker_threads:">= 11.7","node:worker_threads":[">= 14.18 && < 15",">= 16"],zlib:">= 0.5","node:zlib":[">= 14.18 && < 15",">= 16"]}});var xt=C((Xi,bt)=>{var xo=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function Fo(e){for(var r=e.split(" "),t=r.length>1?r[0]:"=",n=(r.length>1?r[1]:r[0]).split("."),o=0;o<3;++o){var s=parseInt(xo[o]||0,10),i=parseInt(n[o]||0,10);if(s!==i)return t==="<"?s<i:t===">="?s>=i:!1}return t===">="}function Et(e){var r=e.split(/ ?&& ?/);if(r.length===0)return!1;for(var t=0;t<r.length;++t)if(!Fo(r[t]))return!1;return!0}function Ao(e){if(typeof e=="boolean")return e;if(e&&typeof e=="object"){for(var r=0;r<e.length;++r)if(Et(e[r]))return!0;return!1}return Et(e)}var dr=vt(),Ct={};for(Be in dr)Object.prototype.hasOwnProperty.call(dr,Be)&&(Ct[Be]=Ao(dr[Be]));var Be;bt.exports=Ct});var At=C((Zi,Ft)=>{var _o=je();Ft.exports=function(r){return _o(r)}});var kt=C((Qi,wt)=>{var wo=je(),ne=P("fs"),N=P("path"),ko=ir(),Do=ar(),Oo=lr(),Ro=fr(),Po=ne.realpathSync&&typeof ne.realpathSync.native=="function"?ne.realpathSync.native:ne.realpathSync,_t=ko(),So=function(){return[N.join(_t,".node_modules"),N.join(_t,".node_libraries")]},$o=function(r){try{var t=ne.statSync(r,{throwIfNoEntry:!1})}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return!1;throw n}return!!t&&(t.isFile()||t.isFIFO())},Io=function(r){try{var t=ne.statSync(r,{throwIfNoEntry:!1})}catch(n){if(n&&(n.code==="ENOENT"||n.code==="ENOTDIR"))return!1;throw n}return!!t&&t.isDirectory()},jo=function(r){try{return Po(r)}catch(t){if(t.code!=="ENOENT")throw t}return r},Fe=function(r,t,n){return n&&n.preserveSymlinks===!1?r(t):t},Bo=function(r,t){var n=r(t);try{var o=JSON.parse(n);return o}catch{}},Mo=function(r,t,n){for(var o=Oo(t,n,r),s=0;s<o.length;s++)o[s]=N.join(o[s],r);return o};wt.exports=function(r,t){if(typeof r!="string")throw new TypeError("Path must be a string.");var n=Ro(r,t),o=n.isFile||$o,s=n.readFileSync||ne.readFileSync,i=n.isDirectory||Io,c=n.realpathSync||jo,f=n.readPackageSync||Bo;if(n.readFileSync&&n.readPackageSync)throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.");var l=n.packageIterator,a=n.extensions||[".js"],p=n.includeCoreModules!==!1,u=n.basedir||N.dirname(Do()),A=n.filename||u;n.paths=n.paths||So();var S=Fe(c,N.resolve(u),n);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(r)){var v=N.resolve(S,r);(r==="."||r===".."||r.slice(-1)==="/")&&(v+="/");var h=k(v)||Y(v);if(h)return Fe(c,h,n)}else{if(p&&wo(r))return r;var w=M(r,S);if(w)return Fe(c,w,n)}var F=new Error("Cannot find module '"+r+"' from '"+A+"'");throw F.code="MODULE_NOT_FOUND",F;function k(g){var x=B(N.dirname(g));if(x&&x.dir&&x.pkg&&n.pathFilter){var E=N.relative(x.dir,g),V=n.pathFilter(x.pkg,g,E);V&&(g=N.resolve(x.dir,V))}if(o(g))return g;for(var d=0;d<a.length;d++){var m=g+a[d];if(o(m))return m}}function B(g){if(!(g===""||g==="/")&&!(process.platform==="win32"&&/^\w:[/\\]*$/.test(g))&&!/[/\\]node_modules[/\\]*$/.test(g)){var x=N.join(Fe(c,g,n),"package.json");if(!o(x))return B(N.dirname(g));var E=f(s,x);return E&&n.packageFilter&&(E=n.packageFilter(E,g)),{pkg:E,dir:g}}}function Y(g){var x=N.join(Fe(c,g,n),"/package.json");if(o(x)){try{var E=f(s,x)}catch{}if(E&&n.packageFilter&&(E=n.packageFilter(E,g)),E&&E.main){if(typeof E.main!="string"){var V=new TypeError("package \u201C"+E.name+"\u201D `main` must be a string");throw V.code="INVALID_PACKAGE_MAIN",V}(E.main==="."||E.main==="./")&&(E.main="index");try{var d=k(N.resolve(g,E.main));if(d)return d;var m=Y(N.resolve(g,E.main));if(m)return m}catch{}}}return k(N.join(g,"/index"))}function M(g,x){for(var E=function(){return Mo(g,x,n)},V=l?l(g,x,E,n):E(),d=0;d<V.length;d++){var m=V[d];if(i(N.dirname(m))){var b=k(m);if(b)return b;var y=Y(m);if(y)return y}}}}});var Ot=C((ea,Dt)=>{var Me=yt();Me.core=xt();Me.isCore=At();Me.sync=kt();Dt.exports=Me});var Tt=C((ha,gr)=>{var Go=P("tty"),zo=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||Go.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),_=(e,r,t=e)=>n=>{let o=""+n,s=o.indexOf(r,e.length);return~s?e+Bt(o,r,t,s)+r:e+o+r},Bt=(e,r,t,n)=>{let o=e.substring(0,n)+t,s=e.substring(n+r.length),i=s.indexOf(r);return~i?o+Bt(s,r,t,i):o+s},Mt=(e=zo)=>({isColorSupported:e,reset:e?r=>`\x1B[0m${r}\x1B[0m`:String,bold:e?_("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:e?_("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:e?_("\x1B[3m","\x1B[23m"):String,underline:e?_("\x1B[4m","\x1B[24m"):String,inverse:e?_("\x1B[7m","\x1B[27m"):String,hidden:e?_("\x1B[8m","\x1B[28m"):String,strikethrough:e?_("\x1B[9m","\x1B[29m"):String,black:e?_("\x1B[30m","\x1B[39m"):String,red:e?_("\x1B[31m","\x1B[39m"):String,green:e?_("\x1B[32m","\x1B[39m"):String,yellow:e?_("\x1B[33m","\x1B[39m"):String,blue:e?_("\x1B[34m","\x1B[39m"):String,magenta:e?_("\x1B[35m","\x1B[39m"):String,cyan:e?_("\x1B[36m","\x1B[39m"):String,white:e?_("\x1B[37m","\x1B[39m"):String,gray:e?_("\x1B[90m","\x1B[39m"):String,bgBlack:e?_("\x1B[40m","\x1B[49m"):String,bgRed:e?_("\x1B[41m","\x1B[49m"):String,bgGreen:e?_("\x1B[42m","\x1B[49m"):String,bgYellow:e?_("\x1B[43m","\x1B[49m"):String,bgBlue:e?_("\x1B[44m","\x1B[49m"):String,bgMagenta:e?_("\x1B[45m","\x1B[49m"):String,bgCyan:e?_("\x1B[46m","\x1B[49m"):String,bgWhite:e?_("\x1B[47m","\x1B[49m"):String});gr.exports=Mt();gr.exports.createColors=Mt});var Lt=C((ga,Nt)=>{var ue=1e3,ce=ue*60,le=ce*60,oe=le*24,Yo=oe*7,Jo=oe*365.25;Nt.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return Ho(e);if(t==="number"&&isFinite(e))return r.long?Xo(e):Ko(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ho(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!r){var t=parseFloat(r[1]),n=(r[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return t*Jo;case"weeks":case"week":case"w":return t*Yo;case"days":case"day":case"d":return t*oe;case"hours":case"hour":case"hrs":case"hr":case"h":return t*le;case"minutes":case"minute":case"mins":case"min":case"m":return t*ce;case"seconds":case"second":case"secs":case"sec":case"s":return t*ue;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Ko(e){var r=Math.abs(e);return r>=oe?Math.round(e/oe)+"d":r>=le?Math.round(e/le)+"h":r>=ce?Math.round(e/ce)+"m":r>=ue?Math.round(e/ue)+"s":e+"ms"}function Xo(e){var r=Math.abs(e);return r>=oe?Ne(e,r,oe,"day"):r>=le?Ne(e,r,le,"hour"):r>=ce?Ne(e,r,ce,"minute"):r>=ue?Ne(e,r,ue,"second"):e+" ms"}function Ne(e,r,t,n){var o=r>=t*1.5;return Math.round(e/t)+" "+n+(o?"s":"")}});var yr=C((ya,qt)=>{function Zo(e){t.debug=t,t.default=t,t.coerce=f,t.disable=s,t.enable=o,t.enabled=i,t.humanize=Lt(),t.destroy=l,Object.keys(e).forEach(a=>{t[a]=e[a]}),t.names=[],t.skips=[],t.formatters={};function r(a){let p=0;for(let u=0;u<a.length;u++)p=(p<<5)-p+a.charCodeAt(u),p|=0;return t.colors[Math.abs(p)%t.colors.length]}t.selectColor=r;function t(a){let p,u=null,A,S;function v(...h){if(!v.enabled)return;let w=v,F=Number(new Date),k=F-(p||F);w.diff=k,w.prev=p,w.curr=F,p=F,h[0]=t.coerce(h[0]),typeof h[0]!="string"&&h.unshift("%O");let B=0;h[0]=h[0].replace(/%([a-zA-Z%])/g,(M,g)=>{if(M==="%%")return"%";B++;let x=t.formatters[g];if(typeof x=="function"){let E=h[B];M=x.call(w,E),h.splice(B,1),B--}return M}),t.formatArgs.call(w,h),(w.log||t.log).apply(w,h)}return v.namespace=a,v.useColors=t.useColors(),v.color=t.selectColor(a),v.extend=n,v.destroy=t.destroy,Object.defineProperty(v,"enabled",{enumerable:!0,configurable:!1,get:()=>u!==null?u:(A!==t.namespaces&&(A=t.namespaces,S=t.enabled(a)),S),set:h=>{u=h}}),typeof t.init=="function"&&t.init(v),v}function n(a,p){let u=t(this.namespace+(typeof p>"u"?":":p)+a);return u.log=this.log,u}function o(a){t.save(a),t.namespaces=a,t.names=[],t.skips=[];let p,u=(typeof a=="string"?a:"").split(/[\s,]+/),A=u.length;for(p=0;p<A;p++)!u[p]||(a=u[p].replace(/\*/g,".*?"),a[0]==="-"?t.skips.push(new RegExp("^"+a.slice(1)+"$")):t.names.push(new RegExp("^"+a+"$")))}function s(){let a=[...t.names.map(c),...t.skips.map(c).map(p=>"-"+p)].join(",");return t.enable(""),a}function i(a){if(a[a.length-1]==="*")return!0;let p,u;for(p=0,u=t.skips.length;p<u;p++)if(t.skips[p].test(a))return!1;for(p=0,u=t.names.length;p<u;p++)if(t.names[p].test(a))return!0;return!1}function c(a){return a.toString().substring(2,a.toString().length-2).replace(/\.\*\?$/,"*")}function f(a){return a instanceof Error?a.stack||a.message:a}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return t.enable(t.load()),t}qt.exports=Zo});var Vt=C((W,Le)=>{W.formatArgs=es;W.save=rs;W.load=ts;W.useColors=Qo;W.storage=ns();W.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();W.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Qo(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function es(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+Le.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let t=0,n=0;e[0].replace(/%[a-zA-Z%]/g,o=>{o!=="%%"&&(t++,o==="%c"&&(n=t))}),e.splice(n,0,r)}W.log=console.debug||console.log||(()=>{});function rs(e){try{e?W.storage.setItem("debug",e):W.storage.removeItem("debug")}catch{}}function ts(){let e;try{e=W.storage.getItem("debug")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function ns(){try{return localStorage}catch{}}Le.exports=yr()(W);var{formatters:os}=Le.exports;os.j=function(e){try{return JSON.stringify(e)}catch(r){return"[UnexpectedJSONParseError]: "+r.message}}});var Wt=C((va,Ut)=>{"use strict";Ut.exports=(e,r)=>{r=r||process.argv;let t=e.startsWith("-")?"":e.length===1?"-":"--",n=r.indexOf(t+e),o=r.indexOf("--");return n!==-1&&(o===-1?!0:n<o)}});var zt=C((Ea,Gt)=>{"use strict";var ss=P("os"),z=Wt(),L=process.env,fe;z("no-color")||z("no-colors")||z("color=false")?fe=!1:(z("color")||z("colors")||z("color=true")||z("color=always"))&&(fe=!0);"FORCE_COLOR"in L&&(fe=L.FORCE_COLOR.length===0||parseInt(L.FORCE_COLOR,10)!==0);function is(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function as(e){if(fe===!1)return 0;if(z("color=16m")||z("color=full")||z("color=truecolor"))return 3;if(z("color=256"))return 2;if(e&&!e.isTTY&&fe!==!0)return 0;let r=fe?1:0;if(process.platform==="win32"){let t=ss.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in L)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in L)||L.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in L)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(L.TEAMCITY_VERSION)?1:0;if(L.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in L){let t=parseInt((L.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(L.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(L.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(L.TERM)||"COLORTERM"in L?1:(L.TERM==="dumb",r)}function vr(e){let r=as(e);return is(r)}Gt.exports={supportsColor:vr,stdout:vr(process.stdout),stderr:vr(process.stderr)}});var Jt=C((j,Ve)=>{var us=P("tty"),qe=P("util");j.init=hs;j.log=ps;j.formatArgs=ls;j.save=ds;j.load=ms;j.useColors=cs;j.destroy=qe.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");j.colors=[6,2,3,4,5,1];try{let e=zt();e&&(e.stderr||e).level>=2&&(j.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}j.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,r)=>{let t=r.substring(6).toLowerCase().replace(/_([a-z])/g,(o,s)=>s.toUpperCase()),n=process.env[r];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[t]=n,e},{});function cs(){return"colors"in j.inspectOpts?Boolean(j.inspectOpts.colors):us.isatty(process.stderr.fd)}function ls(e){let{namespace:r,useColors:t}=this;if(t){let n=this.color,o="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${o};1m${r} \x1B[0m`;e[0]=s+e[0].split(`
|
|
5
|
+
`).join(`
|
|
6
|
+
`+s),e.push(o+"m+"+Ve.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=fs()+r+" "+e[0]}function fs(){return j.inspectOpts.hideDate?"":new Date().toISOString()+" "}function ps(...e){return process.stderr.write(qe.format(...e)+`
|
|
7
|
+
`)}function ds(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function ms(){return process.env.DEBUG}function hs(e){e.inspectOpts={};let r=Object.keys(j.inspectOpts);for(let t=0;t<r.length;t++)e.inspectOpts[r[t]]=j.inspectOpts[r[t]]}Ve.exports=yr()(j);var{formatters:Yt}=Ve.exports;Yt.o=function(e){return this.inspectOpts.colors=this.useColors,qe.inspect(e,this.inspectOpts).split(`
|
|
8
|
+
`).map(r=>r.trim()).join(" ")};Yt.O=function(e){return this.inspectOpts.colors=this.useColors,qe.inspect(e,this.inspectOpts)}});var Ht=C((Ca,Er)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Er.exports=Vt():Er.exports=Jt()});import{createServer as Hs,mergeConfig as Ks}from"vite";import{dirname as zs,join as Ys}from"path";import{splitVendorChunkPlugin as Js}from"vite";import sn from"fs";import js from"consola";import Bs from"markdown-it";import Ms from"gray-matter";import Ts from"@vitejs/plugin-vue";import Ns from"vite-plugin-pages";import Ls from"vite-plugin-vue-layouts";import qs from"unplugin-vue-components/vite";import Vs from"@intlify/vite-plugin-vue-i18n";import Us from"vite-plugin-inspect";import{dim as Ws,yellow as Gs}from"kolorist";import An from"markdown-it";import Ir from"markdown-it-anchor";import _n from"markdown-it-emoji";import wn from"markdown-it-link-attributes";import kn from"markdown-it-table-of-contents";import Dn from"markdown-it-task-lists";import On from"markdown-it-attrs";import Fr from"katex";function Ar(e,r){let t=e.posMax,n=!0,o=!0,s=r>0?e.src.charCodeAt(r-1):-1,i=r+1<=t?e.src.charCodeAt(r+1):-1;return(s===32||s===9||i>=48&&i<=57)&&(o=!1),(i===32||i===9)&&(n=!1),{can_open:n,can_close:o}}function cn(e,r){let t,n,o,s;if(e.src[e.pos]!=="$")return!1;if(o=Ar(e,e.pos),!o.can_open)return r||(e.pending+="$"),e.pos+=1,!0;let i=e.pos+1;for(t=i;(t=e.src.indexOf("$",t))!==-1;){for(s=t-1;e.src[s]==="\\";)s-=1;if((t-s)%2===1)break;t+=1}return t===-1?(r||(e.pending+="$"),e.pos=i,!0):t-i===0?(r||(e.pending+="$$"),e.pos=i+1,!0):(o=Ar(e,t),o.can_close?(r||(n=e.push("math_inline","math",0),n.markup="$",n.content=e.src.slice(i,t)),e.pos=t+1,!0):(r||(e.pending+="$"),e.pos=i,!0))}function ln(e,r,t,n){let o,s,i,c,f=!1,l=e.bMarks[r]+e.tShift[r],a=e.eMarks[r];if(l+2>a||e.src.slice(l,l+2)!=="$$")return!1;if(l+=2,o=e.src.slice(l,a),n)return!0;for(o.trim().slice(-2)==="$$"&&(o=o.trim().slice(0,-2),f=!0),i=r;!f&&(i++,!(i>=t||(l=e.bMarks[i]+e.tShift[i],a=e.eMarks[i],l<a&&e.tShift[i]<e.blkIndent)));)e.src.slice(l,a).trim().slice(-2)==="$$"&&(c=e.src.slice(0,a).lastIndexOf("$$"),s=e.src.slice(l,c),f=!0);e.line=i+1;let p=e.push("math_block","math",0);return p.block=!0,p.content=(o&&o.trim()?`${o}
|
|
9
|
+
`:"")+e.getLines(r+1,i,e.tShift[r],!0)+(s&&s.trim()?s:""),p.map=[r,e.line],p.markup="$$",!0}function We(e,r){r=r||{};let t=function(i){r.displayMode=!1;try{return Fr.renderToString(i,r)}catch(c){return r.throwOnError&&console.warn(c),i}},n=function(i,c){return t(i[c].content)},o=function(i){r.displayMode=!0;try{return`<p>${Fr.renderToString(i,r)}</p>`}catch(c){return r.throwOnError&&console.warn(c),i}},s=function(i,c){return`${o(i[c].content)}
|
|
10
|
+
`};e.inline.ruler.after("escape","math_inline",cn),e.block.ruler.after("blockquote","math_block",ln,{alt:["paragraph","reference","blockquote","list"]}),e.renderer.rules.math_inline=n,e.renderer.rules.math_block=s}import Ge from"markdown-it-container";function me(e,r){return[Ge,e,{render(t,n){let o=t[n],s=o.info.trim().slice(e.length).trim();return o.nesting===1?e==="details"?`<details class="${e} custom-block">${`<summary>${s}</summary>`}
|
|
11
|
+
`:`<div class="${e} custom-block"><p class="custom-block-title">${s||r}</p>
|
|
12
|
+
`:e==="details"?`</details>
|
|
13
|
+
`:`</div>
|
|
14
|
+
`}}]}var _r=e=>{e.use(...me("tip","TIP")).use(...me("info","INFO")).use(...me("warning","WARNING")).use(...me("danger","WARNING")).use(...me("details","Details")).use(Ge,"v-pre",{render:(t,n)=>t[n].nesting===1?`<div v-pre>
|
|
15
|
+
`:`</div>
|
|
16
|
+
`}),["zh-CN","en"].forEach(t=>{e.use(Ge,t,{render:(n,o)=>n[o].nesting===1?`<div lang="${t}">
|
|
17
|
+
`:`</div>
|
|
18
|
+
`})})};var kr=ie(wr()),pn=/[\u0000-\u001F]/g,dn=/[\s~`!@#$%^&*()\-_+=[\]{}|\\;:"'<>,.…?/]+/g,ge=e=>(0,kr.remove)(e).replace(pn,"").replace(dn,"-").replace(/\-{2,}/g,"-").replace(/^\-+|\-+$/g,"").replace(/^(\d)/,"_$1").toLowerCase();import mn from"markdown-it-emoji/lib/data/full.json";var hn=e=>e.replace(/:(.+?):/g,(r,t)=>mn[t]||r),gn=e=>e.replace(/"/g,'"').replace(/'/g,"'").replace(/:/g,":").replace(/</g,"<").replace(/>/g,">"),yn=e=>e.replace(/(\[(.[^\]]+)\]\((.[^)]+)\))/g,"$2").replace(/(`|\*{1,3}|_)(.*?[^\\])\1/g,"$2").replace(/(\\)(\*|_|`|\!|<|\$)/g,"$2"),vn=e=>e.replace(/\{#([a-z0-9\-_]+?)\}\s*$/,""),En=e=>e.trim(),Cn=e=>String(e).replace(/(^|[^><`\\])<.*>([^><`]|$)/g,"$1$2"),Dr=(...e)=>e.length===0?r=>r:e.length===1?e[0]:e.reduce((r,t)=>n=>t(r(n))),Je=Dr(gn,hn,vn,yn,En),ye=Dr(Cn,Je);var Or=(e,r=[1,2,3,4])=>{e.renderer.rules.heading_open=(t,n,o,s,i)=>{let c=t[n];if(r.map(l=>`h${l}`).includes(c.tag)){let l=t[n+1].content,a=c.attrs.find(([F])=>F==="id"),p=a&&a[1],u=e.__data,A=u.headers||(u.headers=[]),S=l.indexOf("{"),v=S===-1?l:l.slice(0,S).trim(),h=l.match(/\{lang=\"(.*)\"\}/),w=h?h[1]:"";A.push({level:parseInt(c.tag.slice(1),10),title:ye(v),slug:p||ge(v),lang:w})}return i.renderToken(t,n,o)}};import bn from"consola";import xn from"escape-html";import Se from"prismjs";var Rr=P("prismjs/components/index");Rr(["markup","css","javascript"]);function He(e,r){return r==="text"&&(e=xn(e)),`<pre v-pre><code>${e}</code></pre>`}var Pr=(e,r)=>{if(!r)return He(e,"text");r=r.toLowerCase();let t=r;if((r==="vue"||r==="html")&&(r="markup"),r==="md"&&(r="markdown"),r==="ts"&&(r="typescript"),r==="py"&&(r="python"),!Se.languages[r])try{Rr([r])}catch{bn.warn(`[valaxy] Syntax highlight for language "${r}" is not supported.`)}if(Se.languages[r]){let n=Se.highlight(e,Se.languages[r],r);return He(n,t)}return He(e,"text")};var Fn=/^<pre .*?><code>/,Sr=e=>{let r=e.renderer.rules.fence;e.renderer.rules.fence=(...t)=>{let[n,o,s]=t,i=n[o],c=i.attrs&&i.attrs[0];if(!c)return r(...t);let f=c[0];if(!f||!/[\d,-]+/.test(f))return r(...t);let l=f.split(",").map(S=>S.split("-").map(v=>parseInt(v,10))),a=s.highlight?s.highlight(i.content,i.info,""):i.content;return`<div class="highlight-lines">${a.replace(Fn,"").split(`
|
|
19
|
+
`).map((S,v)=>{let h=v+1;return l.some(([F,k])=>F&&k?h>=F&&h<=k:h===F)?'<div class="highlighted"> </div>':"<br>"}).join("")}</div>`+a}},$r=e=>{let r=e.renderer.rules.fence;e.renderer.rules.fence=(...t)=>{let[n,o]=t,s=n[o],i=r(...t);return`<div class="language-${s.info.trim()}">${i}</div>`}};function Ke(e,r={}){var n;e.set({highlight:Pr}),e.use(Sr).use($r).use(_r).use(On).use(Or,(n=r==null?void 0:r.toc)==null?void 0:n.includeLevel),e.use(wn,{matcher:o=>/^https?:\/\//.test(o),attrs:{target:"_blank",rel:"noopener"}}),e.use(We,r.katex).use(Ir,{slugify:ge,permalink:Ir.permalink.ariaHidden({})}).use(kn,de({slugify:ge,includeLevel:[2,3,4],format:Je},r.toc)).use(_n).use(Dn);let t=e.render;return e.render=(...o)=>(e.__data={},t.call(e,...o)),e}var jr=async(e,r={},t="/")=>{let n=An(de({html:!0,linkify:!0},r));return Ke(n),n};function Xe(e){return e!==null&&typeof e=="object"}function Ze(e,r,t=".",n){if(!Xe(r))return Ze(e,{},t,n);let o=Object.assign({},r);for(let s in e){if(s==="__proto__"||s==="constructor")continue;let i=e[s];i!=null&&(n&&n(o,s,i,t)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=i.concat(o[s]):Xe(i)&&Xe(o[s])?o[s]=Ze(i,o[s],(t?`${t}.`:"")+s.toString(),n):o[s]=i))}return o}function Qe(e){return(...r)=>r.reduce((t,n)=>Ze(t,n,"",e),{})}var ve=Qe(),Di=Qe((e,r,t,n)=>{if(typeof e[r]<"u"&&typeof t=="function")return e[r]=t(e[r]),!0}),Oi=Qe((e,r,t,n)=>{if(Array.isArray(e[r])&&typeof t=="function")return e[r]=t(e[r]),!0});import Rn from"unocss/vite";import{presetAttributify as Pn,presetIcons as Sn,presetTypography as $n,presetUno as In,presetWebFonts as jn,transformerDirectives as Bn,transformerVariantGroup as Mn}from"unocss";var Tn=async e=>{let{generateSafelist:r}=await import(`valaxy-theme-${e.theme}`),t=["i-ri-archive-line","i-ri-folder-2-line","i-ri-price-tag-3-line","i-ri-cloud-line"],n=[];typeof r=="function"&&(n=r(e.themeConfig));let o="animate-fade-in m-auto text-left".split(" ").concat(["rotate-y-180"]).concat(t).concat(n);return e.social.length&&e.social.forEach(s=>o.push(s.icon)),e.sponsor.methods.length&&e.sponsor.methods.forEach(s=>o.push(s.icon)),o},Nn=async e=>{let r={shortcuts:[["yun-main","lt-md:pl-0"],["yun-card","transition yun-transition shadow hover:shadow-lg"],["btn","px-4 py-1 rounded inline-block bg-sky-600 text-white cursor-pointer hover:bg-sky-700 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50"],["icon-btn","inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-sky-600"],["va-card","shadow hover:shadow-lg"]],presets:[In(),Pn(),Sn({scale:1.2}),$n(),jn({fonts:{serif:[{name:"Noto Serif SC",weights:[900]}]}})],rules:[["yun-transition",{"transition-duration":"var(--va-transition-duration)"}],["yun-text-light",{color:"var(--va-c-text-light)"}],["font-serif",{"font-family":"var(--va-font-serif)"}],["font-sans",{"font-family":"var(--va-font-sans)"}],["font-mono",{"font-family":"var(--va-font-mono)"}]],transformers:[Bn(),Mn()],safelist:await Tn(e.config)};return ve(e.config.unocss,r)},Br=async e=>{let r=await Nn(e);return Rn(r)};import{resolve as Ae}from"path";import{mergeConfig as qo}from"vite";var St=ie(Kr()),mr=ie(or()),$t=ie(Ot());import{join as Pt}from"path";import No from"consola";import{spawn as To}from"cross-spawn";function Rt(e){return new Promise((r,t)=>{let n=To("git",["log","-1",'--pretty="%ci"',e]),o="";n.stdout.on("data",s=>o+=String(s)),n.on("close",()=>{r(+new Date(o))}),n.on("error",t)})}var hr=e=>`JSON.parse(${JSON.stringify(JSON.stringify(e))})`;function Q(e){return e.replace(/\\/g,"/")}function Lo(e,r){return r.startsWith(e)?r:e+r}function U(e){return`/@fs${Lo("/",Q(e))}`}function Te(e,r=!1){try{return(0,$t.sync)(e,{preserveSymlinks:!1})}catch{}if(St.default){try{return P.resolve(Pt(mr.default.yarn.packages,e))}catch{}try{return P.resolve(Pt(mr.default.npm.packages,e))}catch{}}if(r)throw new Error(`Failed to resolve package ${e}`);No.error(`Failed to resolve package ${e}`)}function It(e){return{name:"valaxy:config",config(r){let t={resolve:{alias:{"@/":`${U(e.userRoot)}/`,"~/":`${U(e.clientRoot)}/`,"valaxy/client":`${U(e.clientRoot)}/`,valaxy:U(Ae(e.clientRoot,"index.ts")),"@valaxyjs/client":`${U(e.clientRoot)}/`,"@valaxyjs/config":"/@valaxyjs/config","@valaxyjs/context":"/@valaxyjs/context","valaxy/package.json":U(Ae(e.clientRoot,"../../package.json")),[`valaxy-theme-${e.theme}/`]:`${U(Ae(e.themeRoot))}/`,[`valaxy-theme-${e.theme}`]:`${U(Ae(e.themeRoot))}/index.ts`}},optimizeDeps:{entries:[Ae(e.clientRoot,"main.ts"),e.configFile],include:["vue","vue-router","@vueuse/core","@vueuse/head","dayjs","nprogress"],exclude:["@docsearch/js"]}};return qo(r,t)}}}import br from"fs";import{join as Ue,relative as Ss}from"path";import Vo from"fs";import{loadConfig as Uo}from"unconfig";var Wo={url:"/",lang:"en",title:"Valaxy Blog",description:"A blog generated by Valaxy.",subtitle:"Next Generation Static Blog Framework.",author:{avatar:"https://cdn.jsdelivr.net/gh/YunYouJun/yun/images/meme/yun-good-with-bg.jpg",email:"me@yunyoujun.cn",link:"https://www.yunyoujun.cn",name:"YunYouJun",status:{emoji:"\u{1F60A}",message:"All at sea."}},favicon:"/favicon.svg",feed:{name:"",favicon:"favicon.svg"},social:[],lastUpdated:!0,license:{enabled:!0,language:"",type:"by-nc-sa"},sponsor:{enable:!0,title:"\u6211\u5F88\u53EF\u7231\uFF0C\u8BF7\u7ED9\u6211\u94B1",methods:[{name:"\u652F\u4ED8\u5B9D",url:"https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/alipay-qrcode.jpg",color:"#00A3EE",icon:"i-ri-alipay-line"},{name:"QQ \u652F\u4ED8",url:"https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/qqpay-qrcode.png",color:"#12B7F5",icon:"i-ri-qq-line"},{name:"\u5FAE\u4FE1\u652F\u4ED8",url:"https://cdn.jsdelivr.net/gh/YunYouJun/cdn/img/donate/wechatpay-qrcode.jpg",color:"#2DC100",icon:"i-ri-wechat-pay-line"}]},search:{enable:!0,algolia:{enable:!1,appId:"",apiKey:"",indexName:""}},comment:{waline:{enable:!1,serverURL:""},twikoo:{enable:!1,envId:"https://twikoo.vercel.app"}},features:{katex:!0},theme:"yun",themeConfig:{pkg:{name:"",version:""}},unocss:{},markdownIt:{toc:{includeLevel:[1,2,3,4],listType:"ol"},katex:{}}};async function jt(e={}){let{config:r,sources:t}=await Uo({sources:[{files:"valaxy.config",extensions:["ts","js","mjs","cjs","json"]}],merge:!1}),n=t[0],o=ve(r,Wo),s=e.theme||o.theme||"yun";try{let{defaultThemeConfig:i}=await import(`valaxy-theme-${s}`);o.themeConfig=ve(o.themeConfig,i)}catch{console.error(`valaxy-theme-${s} doesn't have default config`)}try{let i=Vo.readFileSync(P.resolve(`valaxy-theme-${s}/package.json`),"utf-8");o.themeConfig.pkg=JSON.parse(i)}catch{console.error(`valaxy-theme-${s} doesn't have package.json`)}return{config:o,configFile:n,theme:s}}var _e=ie(Tt()),rn=ie(Ht());import Xt from"fs";import ee from"path";import gs from"gray-matter";import ys from"lru-cache";var Kt=/^https?:/i;var Zt=(0,rn.default)("vitepress:md"),Qt=new ys({max:1024}),vs=/<!--\s*@include:\s*(.*?)\s*-->/g,Es=(e,r)=>{if(e.title)return ye(e.title);let t=r.match(/^\s*#+\s+(.*)/m);return t?ye(t[1].trim()):""},Cs=(e,r)=>{if(!e||!e.length)return;let t=e.find(([n,o={}])=>n==="meta"&&o.name===r&&o.content);return t&&t[1].content},bs=e=>{let{description:r,head:t}=e;return r!==void 0?r:t&&Cs(t,"description")||""};async function tn(e,r={},t,n,o=!1,s="/",i=!1){let c=await jr(e,r,s);t=t.map(l=>Q(l.replace(/\.md$/,"")));let f=n?new RegExp(`\\b(${Object.keys(n).map(l=>l.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")).join("|")})`,"g"):null;return async(l,a,p)=>{let u=Q(ee.relative(e,a)),A=ee.dirname(a),S=Qt.get(l);if(S)return Zt(`[cache hit] ${u}`),S;let v=Date.now(),h=[];l=l.replace(vs,(d,m)=>{let b=ee.join(A,m),y=Xt.readFileSync(b,"utf-8");return h.push(Q(b)),y});let{content:w,data:F}=gs(l);c.__path=a,c.__relativePath=u;let k=c.render(w),B=c.__data;o&&(k=k.replace(/\bimport\.meta/g,"import.<wbr/>meta").replace(/\bprocess\.env/g,"process.<wbr/>env"),f&&(k=k.replace(f,d=>`${d[0]}<wbr/>${d.slice(1)}`)));let Y=[],M=d=>{console.warn(_e.default.yellow(`
|
|
20
|
+
(!) Found dead link ${_e.default.cyan(d)} in file ${_e.default.white(_e.default.dim(a))}`)),Y.push(d)};if(B.links){let d=ee.dirname(a);for(let m of B.links){if(/\.(?!html|md)\w+($|\?)/i.test(m))continue;if(m.replace(Kt,"").startsWith("//localhost:")){M(m);continue}m=m.replace(/[?#].*$/,"").replace(/\.(html|md)$/,""),m.endsWith("/")&&(m+="index");let b=decodeURIComponent(Q(m.startsWith("/")?m.slice(1):ee.relative(e,ee.resolve(d,m))));!t.includes(b)&&!Xt.existsSync(ee.resolve(d,p,`${b}.html`))&&M(m)}}let g={title:Es(F,w),titleTemplate:F.titleTemplate,description:bs(F),frontmatter:F,headers:B.headers||[],relativePath:u,path:ee.join(e,u)};i&&(g.lastUpdated=await Rt(a));let x="ValaxyMd",E=`${ks(B.hoistedTags||[],g).join(`
|
|
21
|
+
`)}
|
|
22
|
+
<template><${x} :frontmatter="frontmatter">${k}</${x}></template>`;Zt(`[render] ${a} in ${Date.now()-v}ms.`);let V={vueSrc:E,pageData:g,deadLinks:Y,includes:h};return Qt.set(l,V),V}}var en=/<\/script>/,xs=/<\s*script[^>]*\blang=['"]ts['"][^>]*/,Fs=/<\s*script[^>]*\bsetup\b[^>]*/,As=/<\s*script[^>]*\bclient\b[^>]*/,_s=/((?:^|\n|;)\s*)export(\s*)default/,ws=/((?:^|\n|;)\s*)export(.+)as(\s*)default/;function ks(e,r){let t=`
|
|
23
|
+
export const __pageData = ${hr(r)}`,n=e.findIndex(i=>en.test(i)&&!Fs.test(i)&&!As.test(i)),o=e.findIndex(i=>xs.test(i))>-1,s=`
|
|
24
|
+
export default {
|
|
25
|
+
name:'${r.relativePath}',
|
|
26
|
+
data() {
|
|
27
|
+
return {frontmatter:${hr(r.frontmatter)}}
|
|
28
|
+
}
|
|
29
|
+
}`;if(n>-1){let i=e[n],c=_s.test(i)||ws.test(i);e[n]=i.replace(en,`${t+(c?"":`
|
|
30
|
+
${s}`)}<\/script>`)}else e.unshift(`<script ${o?'lang="ts"':""}>${t}
|
|
31
|
+
${s}<\/script>`);return e}import{cyan as Ds,red as Os,yellow as Rs}from"kolorist";import Ps from"consola";function nn(e,r){e.includes("{%")&&e.includes("%}")&&Ps.error(`${`${r}
|
|
32
|
+
`} Please ${Os("remove")} ${Ds("{% %}")}, because it conflicts with ${Rs("markdown-it-attrs")}.`)}var Cr="@valaxyjs/config";function $s(e,r){let t=[];r.config.features.katex&&(t.push(`import "${U(Te("katex/dist/katex.min.css",!0))}"`),t.push(`import "${Ue(r.clientRoot,"styles/third/katex.scss")}"`));for(let n of e){let o=[];["index","css-vars"].forEach(i=>{o.push(Ue(n,"styles",`${i}.css`)),o.push(Ue(n,"styles",`${i}.scss`))});for(let i of o)br.existsSync(i)&&t.push(`import "${U(i)}"`)}return t.join(`
|
|
33
|
+
`)}function Is(e){let r=['const messages = { "zh-CN": {}, en: {} }'],t=["zh-CN","en"];return e.forEach((n,o)=>{t.forEach(s=>{let i=`${n}/locales/${s}.yml`;if(br.existsSync(i)&&br.readFileSync(i,"utf-8")){let c=s.replace("-","")+o;r.push(`import ${c} from "${U(i)}"`),r.push(`Object.assign(messages['${s}'], ${c})`)}})}),r.push("export default messages"),r.join(`
|
|
34
|
+
`)}function on(e,r={}){let t="/@valaxy",n=e.config,o=[e.clientRoot,e.themeRoot,e.userRoot],s,i=!1,c;return{name:"valaxy",enforce:"pre",async configResolved(f){c=f,s=await tn(e.userRoot,e.config.markdownIt,e.pages,c.define,c.command==="build",c.base,e.config.lastUpdated)},configureServer(f){f.watcher.add([e.configFile,e.userRoot,e.themeRoot])},resolveId(f){return f.startsWith(t)?f:null},load(f){if(f===`/${Cr}`)return`export default ${JSON.stringify(JSON.stringify(n))}`;if(f==="/@valaxyjs/context")return`export default ${JSON.stringify(JSON.stringify({userRoot:e.userRoot}))}`;if(f==="/@valaxyjs/styles")return $s(o,e);if(f==="/@valaxyjs/locales")return Is(o);if(f.startsWith(t))return""},async transform(f,l){if(l.endsWith(".md")){nn(f,l),f.replace("{%","{%"),f.replace("%}","%}");let{vueSrc:a,deadLinks:p,includes:u}=await s(f,l,c.publicDir);return p.length&&(i=!0),u.length&&u.forEach(A=>{this.addWatchFile(A)}),a}},renderStart(){if(i)throw new Error("One or more pages contain dead links.")},async handleHotUpdate(f){var v;let{file:l,server:a,read:p}=f;if(l!==e.configFile)return;if(l.endsWith(".md")){let h=await p(),{pageData:w,vueSrc:F}=await s(h,l,Ue(e.userRoot,"public")),B={path:`/${Q(Ss(`${e.userRoot}/pages`,l))}`,pageData:w};a.ws.send({type:"custom",event:"valaxy:pageData",data:B}),f.read=()=>F}let{config:u}=await jt();(v=r.onConfigReload)==null||v.call(r,u,e.config),Object.assign(e.config,u),n=u;let A=[`/${Cr}`,"/@valaxyjs/context"];return[...Array.from(A).map(h=>a.moduleGraph.getModuleById(h))].filter(h=>!!h)}}}async function an(e,r={},t={}){let{clientRoot:n,themeRoot:o,userRoot:s}=e,i=await Br(e),c=on(e,r),f=new Bs({html:!0});Ke(f,e.config.markdownIt);let l=[n,o,s],{default:a}=await import(`valaxy-theme-${e.theme}`),p=new Set(["annotation","math","menclose","mfrac","mglyph","mi","mlabeledtr","mn","mo","mover","mpadded","mphantom","mroot","mrow","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics","meting-js"]);return[Ts({include:[/\.vue$/,/\.md$/],template:{compilerOptions:{isCustomElement:u=>p.has(u)}}}),It(e),c,a(e.config.themeConfig),Ns({extensions:["vue","md"],dirs:l.map(u=>`${u}/pages`),extendRoute(u){let A=u.component;u.meta||(u.meta={}),u.path==="/"&&(u.meta.layout="home"),l.forEach(w=>{let F=w+u.component;sn.existsSync(F)&&(A=F)});let S=sn.readFileSync(A,"utf-8"),{data:v,excerpt:h}=Ms(S,{excerpt_separator:"<!-- more -->"});return u.path.startsWith("/posts/")&&(u.meta.layout="post",v.date||js.warn(`You forgot to write ${Gs("date")} for post: ${Ws(`${u.component}`)}`)),u.meta=Object.assign(u.meta,{frontmatter:Object.assign({date:new Date},v),excerpt:h?f.render(h):""}),u.meta.frontmatter.updated&&(u.meta.frontmatter.updated=u.meta.frontmatter.date),v.layout&&(u.meta.layout=v.layout),u}}),Ls({layoutsDirs:l.map(u=>`${u}/layouts`)}),qs(de({extensions:["vue","md"],include:[/\.vue$/,/\.vue\?vue/,/\.md$/],exclude:[],allowOverrides:!0,dirs:l.map(u=>`${u}/components`).concat(["src/components","components"]),dts:`${e.userRoot}/components.d.ts`},t)),i,Vs({runtimeOnly:!0,compositionOnly:!0,include:l.map(u=>`${u}/locales/**`)}),e.mode==="dev"&&Us()]}async function un(e,r={}){return{define:{__DEV__:e.mode==="dev"?"true":"false",__ALGOLIA__:!!e.config.search.algolia.enable},root:e.clientRoot,publicDir:Ys(e.userRoot,"public"),plugins:[await an(e,r,{}),Js()],server:{fs:{allow:[e.clientRoot,e.themeRoot,e.userRoot,zs(Te("katex/package.json",!0))]}}}}async function pu(e,r={},t={}){return process.env.EDITOR=process.env.EDITOR||"code",await Hs(Ks(r,await un(e,t)))}export{Tn as a,Te as b,jt as c,Ht as d,un as e,pu as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var j=Object.create;var e=Object.defineProperty,k=Object.defineProperties,l=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertyNames,g=Object.getOwnPropertySymbols,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var h=(b,a,c)=>a in b?e(b,a,{enumerable:!0,configurable:!0,writable:!0,value:c}):b[a]=c,r= exports.a =(b,a)=>{for(var c in a||(a={}))i.call(a,c)&&h(b,c,a[c]);if(g)for(var c of g(a))p.call(a,c)&&h(b,c,a[c]);return b},s= exports.b =(b,a)=>k(b,m(a));var t=(b=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(b,{get:(a,c)=>(typeof require!="undefined"?require:a)[c]}):b)(function(b){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+b+'" is not supported')});var u=(b,a)=>()=>(a||b((a={exports:{}}).exports,a),a.exports);var q=(b,a,c,f)=>{if(a&&typeof a=="object"||typeof a=="function")for(let d of n(a))!i.call(b,d)&&d!==c&&e(b,d,{get:()=>a[d],enumerable:!(f=l(a,d))||f.enumerable});return b};var v=(b,a,c)=>(c=b!=null?j(o(b)):{},q(a||!b||!b.__esModule?e(c,"default",{value:b,enumerable:!0}):c,b));exports.a = r; exports.b = s; exports.c = t; exports.d = u; exports.e = v;
|
|
@@ -3,7 +3,6 @@ import { VitePluginConfig } from 'unocss/vite';
|
|
|
3
3
|
import MarkdownIt from 'markdown-it';
|
|
4
4
|
import Anchor from 'markdown-it-anchor';
|
|
5
5
|
import { KatexOptions } from 'katex';
|
|
6
|
-
import Markdown from 'vite-plugin-md';
|
|
7
6
|
|
|
8
7
|
interface MarkdownOptions extends MarkdownIt.Options {
|
|
9
8
|
config?: (md: MarkdownIt) => void;
|
|
@@ -17,8 +16,6 @@ interface MarkdownOptions extends MarkdownIt.Options {
|
|
|
17
16
|
katex?: KatexOptions;
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
declare type ViteMdOptions = Parameters<typeof Markdown>[0];
|
|
21
|
-
|
|
22
19
|
declare type ValaxyThemeConfig = Record<string, any>;
|
|
23
20
|
interface SocialLink {
|
|
24
21
|
/**
|
|
@@ -33,6 +30,16 @@ interface SocialLink {
|
|
|
33
30
|
icon: string;
|
|
34
31
|
color: string;
|
|
35
32
|
}
|
|
33
|
+
interface AlgoliaSearchOptions {
|
|
34
|
+
enable: boolean;
|
|
35
|
+
appId: string;
|
|
36
|
+
apiKey: string;
|
|
37
|
+
indexName: string;
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
searchParameters?: any;
|
|
40
|
+
disableUserPersonalization?: boolean;
|
|
41
|
+
initialQuery?: string;
|
|
42
|
+
}
|
|
36
43
|
interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
37
44
|
/**
|
|
38
45
|
* Default language
|
|
@@ -43,6 +50,7 @@ interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
|
43
50
|
/**
|
|
44
51
|
* You site url in web, required for ssg & rss
|
|
45
52
|
* @description 站点的 URL,SSG & RSS 需要(譬如生成版权处文章永久链接)
|
|
53
|
+
* @default '/'
|
|
46
54
|
*/
|
|
47
55
|
url: string;
|
|
48
56
|
/**
|
|
@@ -84,6 +92,10 @@ interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
|
84
92
|
message: string;
|
|
85
93
|
};
|
|
86
94
|
};
|
|
95
|
+
/**
|
|
96
|
+
* show last updated time by git
|
|
97
|
+
*/
|
|
98
|
+
lastUpdated: boolean;
|
|
87
99
|
/**
|
|
88
100
|
* icon for your website
|
|
89
101
|
*/
|
|
@@ -104,13 +116,8 @@ interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
|
104
116
|
* search
|
|
105
117
|
*/
|
|
106
118
|
search: {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
appId: string;
|
|
110
|
-
apiKey: string;
|
|
111
|
-
indexName: string;
|
|
112
|
-
chunkSize: number;
|
|
113
|
-
};
|
|
119
|
+
enable: boolean;
|
|
120
|
+
algolia: AlgoliaSearchOptions;
|
|
114
121
|
};
|
|
115
122
|
/**
|
|
116
123
|
* comment: waline/...
|
|
@@ -125,6 +132,15 @@ interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
|
125
132
|
envId: string;
|
|
126
133
|
};
|
|
127
134
|
};
|
|
135
|
+
/**
|
|
136
|
+
* Markdown Feature
|
|
137
|
+
*/
|
|
138
|
+
features: {
|
|
139
|
+
/**
|
|
140
|
+
* enable katex for global
|
|
141
|
+
*/
|
|
142
|
+
katex: boolean;
|
|
143
|
+
};
|
|
128
144
|
/**
|
|
129
145
|
* The name of theme
|
|
130
146
|
* @description 主题名称
|
|
@@ -189,14 +205,12 @@ interface ValaxyConfig<T = ValaxyThemeConfig> {
|
|
|
189
205
|
/**
|
|
190
206
|
* for markdown
|
|
191
207
|
*/
|
|
192
|
-
markdown: ViteMdOptions;
|
|
193
208
|
markdownIt: MarkdownOptions;
|
|
194
209
|
}
|
|
195
210
|
/**
|
|
196
211
|
* Valaxy User Config
|
|
197
212
|
* @description Valaxy 用户配置
|
|
198
213
|
*/
|
|
199
|
-
declare type UserConfig<
|
|
200
|
-
declare const defaultValaxyConfig: ValaxyConfig;
|
|
214
|
+
declare type UserConfig<ThemeConfig = ValaxyThemeConfig> = PartialDeep<ValaxyConfig<ThemeConfig>>;
|
|
201
215
|
|
|
202
|
-
export { SocialLink as S, UserConfig as U, ValaxyConfig as V, ValaxyThemeConfig as a
|
|
216
|
+
export { AlgoliaSearchOptions as A, SocialLink as S, UserConfig as U, ValaxyConfig as V, ValaxyThemeConfig as a };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { InjectionKey, ComputedRef, Ref, StyleValue } from 'vue';
|
|
3
|
-
import { V as ValaxyConfig, a as ValaxyThemeConfig } from './config-
|
|
4
|
-
export { S as SocialLink, U as UserConfig, V as ValaxyConfig, a as ValaxyThemeConfig
|
|
3
|
+
import { V as ValaxyConfig, a as ValaxyThemeConfig, U as UserConfig } from './config-ad23e743.js';
|
|
4
|
+
export { A as AlgoliaSearchOptions, S as SocialLink, U as UserConfig, V as ValaxyConfig, a as ValaxyThemeConfig } from './config-ad23e743.js';
|
|
5
|
+
import * as valaxy_theme_yun from 'valaxy-theme-yun';
|
|
6
|
+
import { ThemeConfig, YunTheme } from 'valaxy-theme-yun';
|
|
7
|
+
import * as type_fest_source_partial_deep from 'type-fest/source/partial-deep';
|
|
5
8
|
import 'type-fest';
|
|
6
9
|
import 'unocss/vite';
|
|
7
10
|
import 'markdown-it';
|
|
8
11
|
import 'markdown-it-anchor';
|
|
9
12
|
import 'katex';
|
|
10
|
-
import 'vite-plugin-md';
|
|
11
13
|
|
|
12
14
|
interface Post extends Record<string, any> {
|
|
13
15
|
/**
|
|
@@ -113,120 +115,51 @@ interface Post extends Record<string, any> {
|
|
|
113
115
|
* @description 是否为草稿
|
|
114
116
|
*/
|
|
115
117
|
draft?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* cover
|
|
120
|
+
* @description 封面图片
|
|
121
|
+
*/
|
|
122
|
+
cover?: string;
|
|
116
123
|
/**
|
|
117
124
|
* enable markdown-body class
|
|
118
125
|
* @description 是否启用默认的 markdown 样式
|
|
119
126
|
*/
|
|
120
|
-
markdown
|
|
127
|
+
markdown?: boolean;
|
|
121
128
|
}
|
|
122
129
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
safelist: string[];
|
|
128
|
-
colors: {
|
|
129
|
-
/**
|
|
130
|
-
* primary color
|
|
131
|
-
* @default '#0078E7'
|
|
132
|
-
*/
|
|
133
|
-
primary: string;
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* 首页标语
|
|
137
|
-
*/
|
|
138
|
-
banner: {
|
|
139
|
-
enable: boolean;
|
|
140
|
-
/**
|
|
141
|
-
* 标题
|
|
142
|
-
*/
|
|
143
|
-
title: string;
|
|
144
|
-
};
|
|
145
|
-
bg_image: {
|
|
146
|
-
enable: boolean;
|
|
147
|
-
url: string;
|
|
148
|
-
dark?: string;
|
|
149
|
-
opacity?: number;
|
|
150
|
-
};
|
|
151
|
-
/**
|
|
152
|
-
* say something
|
|
153
|
-
* https://say.elpsy.cn
|
|
154
|
-
*/
|
|
155
|
-
say: {
|
|
156
|
-
enable: boolean;
|
|
157
|
-
api: string;
|
|
158
|
-
hitokoto: {
|
|
159
|
-
enable: boolean;
|
|
160
|
-
api: string;
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
pages: {
|
|
164
|
-
name: string;
|
|
165
|
-
url: string;
|
|
166
|
-
icon: string;
|
|
167
|
-
color: string;
|
|
168
|
-
}[];
|
|
169
|
-
/**
|
|
170
|
-
* footer
|
|
171
|
-
*/
|
|
172
|
-
footer: {
|
|
173
|
-
/**
|
|
174
|
-
* 建站于
|
|
175
|
-
*/
|
|
176
|
-
since: number;
|
|
177
|
-
/**
|
|
178
|
-
* Icon between year and copyright info.
|
|
179
|
-
*/
|
|
180
|
-
icon: {
|
|
181
|
-
/**
|
|
182
|
-
* icon name, i-xxx
|
|
183
|
-
*/
|
|
184
|
-
name: string;
|
|
185
|
-
animated: boolean;
|
|
186
|
-
color: string;
|
|
187
|
-
url: string;
|
|
188
|
-
title: string;
|
|
189
|
-
};
|
|
190
|
-
/**
|
|
191
|
-
* Powered by valaxy & valaxy-theme-${name}, default is yun
|
|
192
|
-
*/
|
|
193
|
-
powered: boolean;
|
|
194
|
-
/**
|
|
195
|
-
* Chinese Users | 中国用户
|
|
196
|
-
* 备案 ICP
|
|
197
|
-
* 国内用户需要在网站页脚展示备案 ICP 号
|
|
198
|
-
* https://beian.miit.gov.cn/
|
|
199
|
-
*/
|
|
200
|
-
beian: {
|
|
201
|
-
enable: boolean;
|
|
202
|
-
/**
|
|
203
|
-
* 苏ICP备xxxxxxxx号
|
|
204
|
-
*/
|
|
205
|
-
icp: string;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
/**
|
|
209
|
-
* post card types
|
|
210
|
-
*/
|
|
211
|
-
types: Record<string, {
|
|
212
|
-
color: string;
|
|
213
|
-
icon: string;
|
|
214
|
-
}>;
|
|
130
|
+
interface Header {
|
|
131
|
+
level: number;
|
|
132
|
+
title: string;
|
|
133
|
+
slug: string;
|
|
215
134
|
/**
|
|
216
|
-
*
|
|
135
|
+
* i18n
|
|
217
136
|
*/
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
137
|
+
lang?: string;
|
|
138
|
+
}
|
|
139
|
+
interface PageData {
|
|
140
|
+
path: string;
|
|
141
|
+
relativePath: string;
|
|
142
|
+
title: string;
|
|
143
|
+
titleTemplate?: string;
|
|
144
|
+
description: string;
|
|
145
|
+
headers: Header[];
|
|
146
|
+
frontmatter: Post;
|
|
147
|
+
lastUpdated?: number;
|
|
148
|
+
}
|
|
149
|
+
interface PageDataPayload {
|
|
150
|
+
path: string;
|
|
151
|
+
pageData: PageData;
|
|
225
152
|
}
|
|
153
|
+
declare type HeadConfig = [string, Record<string, string>] | [string, Record<string, string>, string];
|
|
226
154
|
|
|
155
|
+
interface ValaxyContext {
|
|
156
|
+
userRoot: string;
|
|
157
|
+
}
|
|
227
158
|
declare const valaxyConfigSymbol: InjectionKey<ComputedRef<ValaxyConfig<ThemeConfig>>>;
|
|
228
159
|
declare const valaxyConfigRef: vue.ShallowRef<ValaxyConfig<ValaxyThemeConfig>>;
|
|
160
|
+
declare const valaxyContextRef: vue.ShallowRef<ValaxyContext>;
|
|
229
161
|
declare function initConfig(): ComputedRef<ValaxyConfig<ValaxyThemeConfig>>;
|
|
162
|
+
declare function initContext(): ComputedRef<ValaxyContext>;
|
|
230
163
|
declare function useConfig(): ComputedRef<ValaxyConfig<ThemeConfig>>;
|
|
231
164
|
/**
|
|
232
165
|
* getThemeConfig
|
|
@@ -240,6 +173,10 @@ declare function useThemeConfig(): ComputedRef<ThemeConfig & {
|
|
|
240
173
|
homepage?: string | undefined;
|
|
241
174
|
};
|
|
242
175
|
}>;
|
|
176
|
+
interface ValaxyData<T = any> {
|
|
177
|
+
page: Ref<PageData>;
|
|
178
|
+
theme: Ref<T>;
|
|
179
|
+
}
|
|
243
180
|
|
|
244
181
|
interface BaseCategory {
|
|
245
182
|
total: number;
|
|
@@ -273,7 +210,10 @@ declare function usePostList(params?: {
|
|
|
273
210
|
* get all page
|
|
274
211
|
* @returns
|
|
275
212
|
*/
|
|
276
|
-
declare function usePageList(): vue.ComputedRef<
|
|
213
|
+
declare function usePageList(): vue.ComputedRef<({
|
|
214
|
+
path: string;
|
|
215
|
+
excerpt: unknown;
|
|
216
|
+
} & Post)[]>;
|
|
277
217
|
/**
|
|
278
218
|
* get prev and next post
|
|
279
219
|
* @param path
|
|
@@ -324,11 +264,6 @@ declare function useFrontmatter(): vue.ComputedRef<Post>;
|
|
|
324
264
|
*/
|
|
325
265
|
declare function useFullUrl(): vue.ComputedRef<string>;
|
|
326
266
|
|
|
327
|
-
/**
|
|
328
|
-
* use katex css cdn
|
|
329
|
-
*/
|
|
330
|
-
declare function useKatex(): void;
|
|
331
|
-
|
|
332
267
|
/**
|
|
333
268
|
* trigger show invisible element
|
|
334
269
|
* @param target
|
|
@@ -369,7 +304,18 @@ declare function useBackToTop(options?: {
|
|
|
369
304
|
|
|
370
305
|
declare function useCodePen(): void;
|
|
371
306
|
|
|
307
|
+
declare function useSidebar(): {
|
|
308
|
+
isOpen: Ref<boolean>;
|
|
309
|
+
sidebar: vue.ComputedRef<any>;
|
|
310
|
+
hasSidebar: vue.ComputedRef<boolean>;
|
|
311
|
+
open: () => void;
|
|
312
|
+
close: () => void;
|
|
313
|
+
toggle: () => void;
|
|
314
|
+
};
|
|
372
315
|
declare function useActiveSidebarLinks(container: Ref<HTMLElement>, marker: Ref<HTMLElement>): void;
|
|
316
|
+
declare function useOutline(): {
|
|
317
|
+
hasOutline: vue.ComputedRef<boolean>;
|
|
318
|
+
};
|
|
373
319
|
|
|
374
320
|
declare function useTwikoo(options?: {}): void;
|
|
375
321
|
|
|
@@ -389,6 +335,7 @@ declare function wrap(el: HTMLElement, className: string): void;
|
|
|
389
335
|
* 包裹表格,添加 class 以控制 table 样式
|
|
390
336
|
*/
|
|
391
337
|
declare const wrapTable: (container?: HTMLElement | Document) => void;
|
|
338
|
+
declare function throttleAndDebounce(fn: () => void, delay: number): () => void;
|
|
392
339
|
|
|
393
340
|
/**
|
|
394
341
|
* use dayjs format date
|
|
@@ -404,4 +351,13 @@ declare function formatDate(date: string | number | Date, template?: string): st
|
|
|
404
351
|
*/
|
|
405
352
|
declare function sortByDate(posts: Post[], desc?: boolean): Post[];
|
|
406
353
|
|
|
407
|
-
|
|
354
|
+
/**
|
|
355
|
+
* Type config helper
|
|
356
|
+
*/
|
|
357
|
+
declare function defineConfig(config: UserConfig<YunTheme.Config>): type_fest_source_partial_deep.PartialObjectDeep<ValaxyConfig<valaxy_theme_yun.ThemeConfig>>;
|
|
358
|
+
/**
|
|
359
|
+
* Type config helper for custom theme config
|
|
360
|
+
*/
|
|
361
|
+
declare function defineConfigWithTheme<ThemeConfig>(config: UserConfig<ThemeConfig>): type_fest_source_partial_deep.PartialObjectDeep<ValaxyConfig<ThemeConfig>>;
|
|
362
|
+
|
|
363
|
+
export { BaseCategory, Categories, Category, HeadConfig, Header, PageData, PageDataPayload, ParentCategory, Post, PostCategory, Tags, ValaxyData, defineConfig, defineConfigWithTheme, formatDate, initConfig, initContext, isDark, isParentCategory, random, sortByDate, throttleAndDebounce, toggleDark, useActiveSidebarLinks, useAplayer, useBackToTop, useCategory, useCodePen, useConfig, useFrontmatter, useFullUrl, useInvisibleElement, useLayout, useOutline, usePageList, usePostList, usePostProperty, usePostTitle, usePrevNext, useSidebar, useTag, useTags, useThemeConfig, useTwikoo, useWaline, valaxyConfigRef, valaxyConfigSymbol, valaxyContextRef, wrap, wrapTable };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkV3BMKLEWjs = require('./chunk-V3BMKLEW.js');var _config = require('@valaxyjs/config'); var _config2 = _interopRequireDefault(_config);var _vue = require('vue');function C(t){let e=JSON.parse(t);return import.meta.env.DEV?_vue.readonly.call(void 0, e):e}var U=Symbol("valaxy:config"),T= exports.valaxyConfigRef =_vue.shallowRef.call(void 0, C(_config2.default));import.meta.hot&&import.meta.hot.accept("/@valaxyjs/config",t=>{T.value=C(t.default)});function Ct(){return _vue.computed.call(void 0, ()=>T.value)}function g(){let t=_vue.inject.call(void 0, U);if(!t)throw new Error("[Valaxy] config not properly injected in qpp");return t}function P(){let t=g();return _vue.computed.call(void 0, ()=>t.value.themeConfig)}var _vuerouter = require('vue-router');var _vuei18n = require('vue-i18n');function Pt(t,e){return Math.random()*(e-t)+t}function q(t,e){let o=document.createElement("div");o.className=e,t.parentNode.insertBefore(o,t),t.parentNode.removeChild(t),o.appendChild(t)}var bt=(t=document)=>{t.querySelectorAll("table").forEach(e=>{let o=document.createElement("div");o.className="table-container",q(e,"table-container")})};var _dayjs = require('dayjs'); var _dayjs2 = _interopRequireDefault(_dayjs);function Et(t,e="YYYY-MM-DD"){return _dayjs2.default.call(void 0, t).format(e)}function y(t,e=!0){return t.sort((o,n)=>{let s=+new Date(o.date||""),r=+new Date(n.date||"");return e?r-s:s-r})}var Ut=t=>{let{locale:e}=_vuei18n.useI18n.call(void 0, );return _vue.computed.call(void 0, ()=>{let o=e.value==="zh-CN"?"zh":e.value;return t.value[`title_${o}`]||t.value.title})};function h(t={}){let e=_vuerouter.useRouter.call(void 0, );return _vue.computed.call(void 0, ()=>{let o=e.getRoutes().filter(r=>r.path.startsWith("/posts")&&r.meta.frontmatter&&r.meta.frontmatter.date).filter(r=>!r.path.endsWith(".html")).filter(r=>!t.type||r.meta.frontmatter.type===t.type).map(r=>Object.assign({path:r.path,excerpt:r.meta.excerpt},r.meta.frontmatter)),n=y(o.filter(r=>r.top)).sort((r,l)=>l.top-r.top),s=y(o.filter(r=>!r.top));return n.concat(s)})}function qt(){let t=_vuerouter.useRouter.call(void 0, );return _vue.computed.call(void 0, ()=>t.getRoutes().map(o=>Object.assign({path:o.path,excerpt:o.meta.excerpt},o.meta.frontmatter)))}function Bt(t){let e=_vuerouter.useRoute.call(void 0, ),o=_vue.computed.call(void 0, ()=>t||e.path),n=h(),s=_vue.computed.call(void 0, ()=>{let i=-1;return n.value.find((a,c)=>a.path===o.value?(i=c,!0):!1),i}),r=_vue.computed.call(void 0, ()=>s.value-1>=0?n.value[s.value-1]:null),l=_vue.computed.call(void 0, ()=>s.value+1<n.value.length?n.value[s.value+1]:null);return[r,l]}function zt(t){if(!t)return{color:"",icon:"",styles:{}};let e=P();t in e.value.types||(t="link");let o=e.value.types[t].color,n=e.value.types[t].icon,s=_vue.computed.call(void 0, ()=>({"--card-c-primary":t&&o}));return{color:o,icon:n,styles:s}}var Yt=t=>t.children;function $t(t,e=[]){var s;e.length||(e=_vue.unref.call(void 0, h()));let o={total:e.length,children:new Map([["Uncategorized",{total:0,posts:[]}]])},n=o.children.get("Uncategorized");if(e.forEach(r=>{if(r.categories)if(Array.isArray(r.categories)){let l=r.categories.length,i=o;r.categories.forEach((a,c)=>{var m,d,f;if(c===l-1)if(i.children.has(a)){let u=i.children.get(a);u.posts&&(u.total+=1,u.posts.push(r))}else(m=i.children)==null||m.set(a,{total:1,posts:[r]});else if((d=i.children)!=null&&d.has(a)){let u=i.children.get(a);u.total+=1,i=u}else{let u={total:1,children:new Map};(f=i.children)==null||f.set(a,u),i=u}})}else{let l=r.categories;if(o.children.has(l)){let i=o.children.get(l);i.total+=1,i.posts.push(r)}else o.children.set(l,{total:1,posts:[r]})}else n.total+=1,n.posts.push(r)}),n.total===0&&((s=o.children)==null||s.delete("Uncategorized")),t){let r=o.children.get(t);return r?{total:r==null?void 0:r.total,children:new Map([[t,r]])}:(console.warn(`Do not have category: ${t}`),o)}else return o}var _tinycolor = require('@ctrl/tinycolor');function Jt(t={primary:"#0078E7"}){let e=W(),o=new (0, _tinycolor.TinyColor)("#999999"),n=new (0, _tinycolor.TinyColor)(t.primary);return{tags:e,getTagStyle:r=>{let l=Array.from(e).map(([d,f])=>f.count),i=Math.max(...l),a=Math.min(...l),c=i-a,m=(r-a)/c;return{"--yun-tag-color":o.mix(n,m*100).toString(),fontSize:`${m*36+12}px`}}}}function W(){let t=h(),e=new Map;return t.value.forEach(o=>{if(o.tags){let n;typeof o.tags=="string"?n=[o.tags]:n=o.tags,n.forEach(s=>{if(e.has(s)){let r=e.get(s);e.set(s,_chunkV3BMKLEWjs.b.call(void 0, _chunkV3BMKLEWjs.a.call(void 0, {},r),{count:r.count+1}))}else e.set(s,{count:1})})}}),e}var _core = require('@vueuse/core');function ee(){let t=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>t.meta.frontmatter)}function oe(){let t=g(),e=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>((t.value.url.endsWith("/")?t.value.url.slice(0,-1):t.value.url)||_core.isClient&&window.location.origin)+e.path)}var _head = require('@vueuse/head');function se(){_head.useHead.call(void 0, {link:[{rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css"}]})}function me(t){let e=_vue.ref.call(void 0, !1),{top:o}=_core.useElementBounding.call(void 0, t);return _core.useIntersectionObserver.call(void 0, t,([{isIntersecting:s}])=>{e.value=s}),{show:()=>{e.value||window.scrollTo(0,o.value)}}}var Q=_core.useDark.call(void 0, ),de= exports.toggleDark =_core.useToggle.call(void 0, Q);function xe(t){let e=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>e.meta.layout===t)}function Te(){_head.useHead.call(void 0, {link:[{rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css"}]}),_core.useScriptTag.call(void 0, "https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js",()=>{_core.useScriptTag.call(void 0, "https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js")})}function Le(t={offset:100}){if(!_core.isClient)return{percentage:_vue.ref.call(void 0, 0),show:_vue.ref.call(void 0, !1)};let{y:e}=_core.useWindowScroll.call(void 0, ),o=_vue.computed.call(void 0, ()=>e.value/(document.body.scrollHeight-window.innerHeight)),n=_vue.computed.call(void 0, ()=>e.value>t.offset);return{percentage:o,show:n}}function Ae(){_head.useHead.call(void 0, {script:[{src:"https://static.codepen.io/assets/embed/ei.js",async:!0}]})}function Ve(t,e){let o=at(n,200);function n(){let i=[].slice.call(document.querySelectorAll(".va-toc a.toc-link-item")),a=[].slice.call(document.querySelectorAll("main .header-anchor")).filter(c=>i.some(m=>m.hash===c.hash));for(let c=0;c<a.length;c++){let m=a[c],d=a[c+1],[f,u]=it(c,m,d);if(f){history.replaceState(null,document.title,u||" "),r(u);return}}}let s=null;function r(i){l(s);let a=s=i==null?null:t.value.querySelector(`.va-toc a[href="${i}"]`);a?(a.classList.add("active"),e.value.style.opacity="1",e.value.style.top=`${a.offsetTop+2}px`):(e.value.style.opacity="0",e.value.style.top="54px")}function l(i){i&&i.classList.remove("active")}_vue.onMounted.call(void 0, ()=>{requestAnimationFrame(n),window.addEventListener("scroll",o)}),_vue.onUnmounted.call(void 0, ()=>{window.removeEventListener("scroll",o)})}function H(t){return t.parentElement.offsetTop-50}function it(t,e,o){let n=window.scrollY;return t===0&&n===0?[!0,null]:n<H(e)?[!1,null]:!o||n<H(o)?[!0,decodeURIComponent(e.hash)]:[!1,null]}function at(t,e){let o,n=!1;return()=>{o&&clearTimeout(o),n?o=setTimeout(t,e):(t(),n=!0,setTimeout(()=>{n=!1},e))}}function Ie(t={}){let e=_vuerouter.useRoute.call(void 0, ),{locale:o}=_vuei18n.useI18n.call(void 0, );function n(s={}){if(!_core.isClient)return;let r={el:".comment #tcomment",lang:o.value,path:e.path},l=Object.assign(r,s);return window.twikoo.init(l)}_core.useScriptTag.call(void 0, "//cdn.jsdelivr.net/npm/twikoo@1.5.1/dist/twikoo.all.min.js",()=>{n(t)})}function _e(t={}){_head.useHead.call(void 0, {link:[{rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/@waline/client/dist/waline.css"}]});let e=_vuerouter.useRoute.call(void 0, ),{locale:o}=_vuei18n.useI18n.call(void 0, ),n;function s(r={}){if(!_core.isClient)return;let l={el:".comment #waline",lang:o.value,dark:"html.dark",emoji:["https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/bilibili","https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/qq","https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/weibo"],path:e.path},i=Object.assign(l,r);return window.Waline.init(i)}return _core.useScriptTag.call(void 0, "//cdn.jsdelivr.net/npm/@waline/client/dist/waline.js",()=>{n=s(t)}),_vue.watch.call(void 0, ()=>e.path,r=>{!n||n.update({path:r})}),_vue.watch.call(void 0, o,r=>{!n||n.update({lang:r})}),_vue.onUnmounted.call(void 0, ()=>{!n||n.destroy()}),n}exports.defaultValaxyConfig = _chunkV3BMKLEWjs.f; exports.formatDate = Et; exports.initConfig = Ct; exports.isDark = Q; exports.isParentCategory = Yt; exports.random = Pt; exports.sortByDate = y; exports.toggleDark = de; exports.useActiveSidebarLinks = Ve; exports.useAplayer = Te; exports.useBackToTop = Le; exports.useCategory = $t; exports.useCodePen = Ae; exports.useConfig = g; exports.useFrontmatter = ee; exports.useFullUrl = oe; exports.useInvisibleElement = me; exports.useKatex = se; exports.useLayout = xe; exports.usePageList = qt; exports.usePostList = h; exports.usePostProperty = zt; exports.usePostTitle = Ut; exports.usePrevNext = Bt; exports.useTag = W; exports.useTags = Jt; exports.useThemeConfig = P; exports.useTwikoo = Ie; exports.useWaline = _e; exports.valaxyConfigRef = T; exports.valaxyConfigSymbol = U; exports.wrap = q; exports.wrapTable = bt;
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }var _chunkU5OMNIOKjs = require('./chunk-U5OMNIOK.js');var _config = require('@valaxyjs/config'); var _config2 = _interopRequireDefault(_config);var _context = require('@valaxyjs/context'); var _context2 = _interopRequireDefault(_context);var _vue = require('vue');function h(t){let e=JSON.parse(t);return import.meta.env.DEV?_vue.readonly.call(void 0, e):e}var N=Symbol("valaxy:config"),j= exports.valaxyConfigRef =_vue.shallowRef.call(void 0, h(_config2.default)),A= exports.valaxyContextRef =_vue.shallowRef.call(void 0, h(_context2.default));import.meta.hot&&(import.meta.hot.accept("/@valaxyjs/config",t=>{j.value=h(t.default)}),import.meta.hot.accept("/@valaxyjs/context",t=>{A.value=h(t.default)}));function Et(){return _vue.computed.call(void 0, ()=>j.value)}function Mt(){return _vue.computed.call(void 0, ()=>A.value)}function v(){let t=_vue.inject.call(void 0, N);if(!t)throw new Error("[Valaxy] config not properly injected in app");return t}function y(){let t=v();return _vue.computed.call(void 0, ()=>t.value.themeConfig)}var _vuerouter = require('vue-router');var _vuei18n = require('vue-i18n');function St(t,e){return Math.random()*(e-t)+t}function $(t,e){let o=document.createElement("div");o.className=e,t.parentNode.insertBefore(o,t),t.parentNode.removeChild(t),o.appendChild(t)}var Dt=(t=document)=>{t.querySelectorAll("table").forEach(e=>{let o=document.createElement("div");o.className="table-container",$(e,"table-container")})};function Ht(t,e){let o,n=!1;return()=>{o&&clearTimeout(o),n?o=setTimeout(t,e):(t(),n=!0,setTimeout(()=>{n=!1},e))}}var _dayjs = require('dayjs'); var _dayjs2 = _interopRequireDefault(_dayjs);function Ot(t,e="YYYY-MM-DD"){return _dayjs2.default.call(void 0, t).format(e)}function C(t,e=!0){return t.sort((o,n)=>{let i=+new Date(o.date||""),r=+new Date(n.date||"");return e?r-i:i-r})}var Ft=t=>{let{locale:e}=_vuei18n.useI18n.call(void 0, );return _vue.computed.call(void 0, ()=>{let o=e.value==="zh-CN"?"zh":e.value;return t.value[`title_${o}`]||t.value.title})};function g(t={}){let e=_vuerouter.useRouter.call(void 0, );return _vue.computed.call(void 0, ()=>{let o=e.getRoutes().filter(r=>r.path.startsWith("/posts")&&r.meta.frontmatter&&r.meta.frontmatter.date).filter(r=>!r.path.endsWith(".html")).filter(r=>!t.type||r.meta.frontmatter.type===t.type).map(r=>Object.assign({path:r.path,excerpt:r.meta.excerpt},r.meta.frontmatter)),n=C(o.filter(r=>r.top)).sort((r,a)=>a.top-r.top),i=C(o.filter(r=>!r.top));return n.concat(i)})}function Kt(){let t=_vuerouter.useRouter.call(void 0, );return _vue.computed.call(void 0, ()=>t.getRoutes().map(o=>Object.assign({path:o.path,excerpt:o.meta.excerpt},o.meta.frontmatter)))}function _t(t){let e=_vuerouter.useRoute.call(void 0, ),o=_vue.computed.call(void 0, ()=>t||e.path),n=g(),i=_vue.computed.call(void 0, ()=>{let s=-1;return n.value.find((l,u)=>l.path===o.value?(s=u,!0):!1),s}),r=_vue.computed.call(void 0, ()=>i.value-1>=0?n.value[i.value-1]:null),a=_vue.computed.call(void 0, ()=>i.value+1<n.value.length?n.value[i.value+1]:null);return[r,a]}function Jt(t){if(!t)return{color:"",icon:"",styles:{}};let e=y();t in e.value.types||(t="link");let o=e.value.types[t].color,n=e.value.types[t].icon,i=_vue.computed.call(void 0, ()=>({"--card-c-primary":t&&o}));return{color:o,icon:n,styles:i}}var Zt=t=>t.children;function te(t,e=[]){var i;e.length||(e=_vue.unref.call(void 0, g()));let o={total:e.length,children:new Map([["Uncategorized",{total:0,posts:[]}]])},n=o.children.get("Uncategorized");if(e.forEach(r=>{if(r.categories)if(Array.isArray(r.categories)){let a=r.categories.length,s=o;r.categories.forEach((l,u)=>{var m,d,p;if(u===a-1)if(s.children.has(l)){let c=s.children.get(l);c.posts&&(c.total+=1,c.posts.push(r))}else(m=s.children)==null||m.set(l,{total:1,posts:[r]});else if((d=s.children)!=null&&d.has(l)){let c=s.children.get(l);c.total+=1,s=c}else{let c={total:1,children:new Map};(p=s.children)==null||p.set(l,c),s=c}})}else{let a=r.categories;if(o.children.has(a)){let s=o.children.get(a);s.total+=1,s.posts.push(r)}else o.children.set(a,{total:1,posts:[r]})}else n.total+=1,n.posts.push(r)}),n.total===0&&((i=o.children)==null||i.delete("Uncategorized")),t){let r=o.children.get(t);return r?{total:r==null?void 0:r.total,children:new Map([[t,r]])}:(console.warn(`Do not have category: ${t}`),o)}else return o}var _tinycolor = require('@ctrl/tinycolor');function ne(t={primary:"#0078E7"}){let e=G(),o=new (0, _tinycolor.TinyColor)("#999999"),n=new (0, _tinycolor.TinyColor)(t.primary);return{tags:e,getTagStyle:r=>{let a=Array.from(e).map(([d,p])=>p.count),s=Math.max(...a),l=Math.min(...a),u=s-l,m=(r-l)/u;return{"--yun-tag-color":o.mix(n,m*100).toString(),fontSize:`${m*36+12}px`}}}}function G(){let t=g(),e=new Map;return t.value.forEach(o=>{if(o.tags){let n;typeof o.tags=="string"?n=[o.tags]:n=o.tags,n.forEach(i=>{if(e.has(i)){let r=e.get(i);e.set(i,_chunkU5OMNIOKjs.b.call(void 0, _chunkU5OMNIOKjs.a.call(void 0, {},r),{count:r.count+1}))}else e.set(i,{count:1})})}}),e}var _core = require('@vueuse/core');function S(){let t=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>t.meta.frontmatter)}function ce(){let t=v(),e=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>((t.value.url.endsWith("/")?t.value.url.slice(0,-1):t.value.url)||_core.isClient&&window.location.origin)+e.path)}function de(t){let e=_vue.ref.call(void 0, !1),{top:o}=_core.useElementBounding.call(void 0, t);return _core.useIntersectionObserver.call(void 0, t,([{isIntersecting:i}])=>{e.value=i}),{show:()=>{e.value||window.scrollTo(0,o.value)}}}var rt=_core.useDark.call(void 0, ),ye= exports.toggleDark =_core.useToggle.call(void 0, rt);function Te(t){let e=_vuerouter.useRoute.call(void 0, );return _vue.computed.call(void 0, ()=>e.meta.layout===t)}var _head = require('@vueuse/head');function je(){_head.useHead.call(void 0, {link:[{rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css"}]}),_core.useScriptTag.call(void 0, "https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js",()=>{_core.useScriptTag.call(void 0, "https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js")})}function Me(t={offset:100}){if(!_core.isClient)return{percentage:_vue.ref.call(void 0, 0),show:_vue.ref.call(void 0, !1)};let{y:e}=_core.useWindowScroll.call(void 0, ),o=_vue.computed.call(void 0, ()=>e.value/(document.body.scrollHeight-window.innerHeight)),n=_vue.computed.call(void 0, ()=>e.value>t.offset);return{percentage:o,show:n}}function De(){_head.useHead.call(void 0, {script:[{src:"https://static.codepen.io/assets/embed/ei.js",async:!0}]})}var _utils = require('@antfu/utils');function O(t,e){if(Array.isArray(t))return t;e=_utils.ensurePrefix.call(void 0, "/",e);for(let o in t)if(e.startsWith(_utils.ensurePrefix.call(void 0, "/",o)))return t[o];return[]}function $e(){let t=_vuerouter.useRoute.call(void 0, ),e=S(),o=y(),n=_vue.ref.call(void 0, !1),i=_vue.computed.call(void 0, ()=>{let u=o.value.sidebar,m=t.path;return u?O(u,m):[]}),r=_vue.computed.call(void 0, ()=>e.value.sidebar!==!1);function a(){n.value=!0}function s(){n.value=!1}function l(){n.value?s():a()}return{isOpen:n,sidebar:i,hasSidebar:r,open:a,close:s,toggle:l}}function Fe(t,e){let o=dt(n,200);function n(){let s=[].slice.call(document.querySelectorAll(".va-toc a.toc-link-item")),l=[].slice.call(document.querySelectorAll("main .header-anchor")).filter(u=>s.some(m=>m.hash===u.hash));for(let u=0;u<l.length;u++){let m=l[u],d=l[u+1],[p,c]=pt(u,m,d);if(p){history.replaceState(null,document.title,c||" "),r(c);return}}}let i=null;function r(s){a(i);let l=i=s==null?null:t.value.querySelector(`.va-toc a[href="${s}"]`);e.value&&(l?(l.classList.add("active"),e.value.style.opacity="1",e.value.style.top=`${l.offsetTop+2}px`):(e.value.style.opacity="0",e.value.style.top="54px"))}function a(s){s&&s.classList.remove("active")}_vue.onMounted.call(void 0, ()=>{requestAnimationFrame(n),window.addEventListener("scroll",o)}),_vue.onUnmounted.call(void 0, ()=>{window.removeEventListener("scroll",o)})}function U(t){return t.parentElement.offsetTop-50}function pt(t,e,o){let n=window.scrollY;return t===0&&n===0?[!0,null]:n<U(e)?[!1,null]:!o||n<U(o)?[!0,decodeURIComponent(e.hash)]:[!1,null]}function dt(t,e){let o,n=!1;return()=>{o&&clearTimeout(o),n?o=setTimeout(t,e):(t(),n=!0,setTimeout(()=>{n=!1},e))}}function Ke(){let t=_vuerouter.useRoute.call(void 0, );return{hasOutline:_vue.computed.call(void 0, ()=>t.meta.headers.length>0)}}function Xe(t={}){let e=_vuerouter.useRoute.call(void 0, ),{locale:o}=_vuei18n.useI18n.call(void 0, );function n(i={}){if(!_core.isClient)return;let r={el:".comment #tcomment",lang:o.value,path:e.path},a=Object.assign(r,i);return window.twikoo.init(a)}_core.useScriptTag.call(void 0, "//cdn.jsdelivr.net/npm/twikoo@1.5.1/dist/twikoo.all.min.js",()=>{n(t)})}function io(t={}){_head.useHead.call(void 0, {link:[{rel:"stylesheet",href:"https://cdn.jsdelivr.net/npm/@waline/client/dist/waline.css"}]});let e=_vuerouter.useRoute.call(void 0, ),{locale:o}=_vuei18n.useI18n.call(void 0, ),n;function i(r={}){if(!_core.isClient)return;let a={el:".comment #waline",lang:o.value,dark:"html.dark",emoji:["https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/bilibili","https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/qq","https://cdn.jsdelivr.net/gh/walinejs/emojis@1.0.0/weibo"],path:e.path},s=Object.assign(a,r);return window.Waline.init(s)}return _core.useScriptTag.call(void 0, "//cdn.jsdelivr.net/npm/@waline/client/dist/waline.js",()=>{n=i(t)}),_vue.watch.call(void 0, ()=>e.path,r=>{!n||n.update({path:r})}),_vue.watch.call(void 0, o,r=>{!n||n.update({lang:r})}),_vue.onUnmounted.call(void 0, ()=>{!n||n.destroy()}),n}function Mo(t){return t}function Ro(t){return t}exports.defineConfig = Mo; exports.defineConfigWithTheme = Ro; exports.formatDate = Ot; exports.initConfig = Et; exports.initContext = Mt; exports.isDark = rt; exports.isParentCategory = Zt; exports.random = St; exports.sortByDate = C; exports.throttleAndDebounce = Ht; exports.toggleDark = ye; exports.useActiveSidebarLinks = Fe; exports.useAplayer = je; exports.useBackToTop = Me; exports.useCategory = te; exports.useCodePen = De; exports.useConfig = v; exports.useFrontmatter = S; exports.useFullUrl = ce; exports.useInvisibleElement = de; exports.useLayout = Te; exports.useOutline = Ke; exports.usePageList = Kt; exports.usePostList = g; exports.usePostProperty = Jt; exports.usePostTitle = Ft; exports.usePrevNext = _t; exports.useSidebar = $e; exports.useTag = G; exports.useTags = ne; exports.useThemeConfig = y; exports.useTwikoo = Xe; exports.useWaline = io; exports.valaxyConfigRef = j; exports.valaxyConfigSymbol = N; exports.valaxyContextRef = A; exports.wrap = $; exports.wrapTable = Dt;
|