nuxt-ignis 0.4.0 → 0.5.0-rc.2
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/.data/content/contents.sqlite +0 -0
- package/.env +1 -1
- package/.nuxt/app.config.mjs +8 -3
- package/.nuxt/components.d.ts +287 -749
- package/.nuxt/content/components.ts +118 -116
- package/.nuxt/dev/index.mjs +1074 -355
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.json +2 -2
- package/.nuxt/dist/server/client.manifest.mjs +2 -2
- package/.nuxt/eslint-typegen.d.ts +144 -21
- package/.nuxt/eslint.config.d.mts +3 -3
- package/.nuxt/eslint.config.mjs +11 -11
- package/.nuxt/i18n-route-resources.mjs +3 -0
- package/.nuxt/imports.d.ts +79 -86
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-highlighter.mjs +1 -1
- package/.nuxt/mdc-image-component.mjs +1 -1
- package/.nuxt/mdc-imports.mjs +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +12 -12
- package/.nuxt/module/nuxt-seo-utils.assets.d.ts +1 -1
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +11 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +48 -0
- package/.nuxt/nitro.json +5 -5
- package/.nuxt/nuxt.d.ts +18 -19
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +30 -0
- package/.nuxt/nuxt.shared.d.ts +5 -0
- package/.nuxt/tsconfig.app.json +483 -0
- package/.nuxt/tsconfig.json +310 -301
- package/.nuxt/tsconfig.node.json +235 -0
- package/.nuxt/tsconfig.server.json +198 -167
- package/.nuxt/tsconfig.shared.json +283 -0
- package/.nuxt/types/app.config.d.ts +8 -2
- package/.nuxt/types/build.d.ts +3 -2
- package/.nuxt/types/components.d.ts +309 -0
- package/.nuxt/types/i18n-plugin.d.ts +25 -6
- package/.nuxt/types/imports.d.ts +710 -714
- package/.nuxt/types/modules.d.ts +599 -0
- package/.nuxt/types/neon.d.ts +11 -8
- package/.nuxt/types/nitro-imports.d.ts +394 -355
- package/.nuxt/types/nitro-middleware.d.ts +5 -0
- package/.nuxt/types/nitro-nuxt.d.ts +30 -2
- package/.nuxt/types/nitro-routes.d.ts +28 -25
- package/.nuxt/types/plugins.d.ts +42 -39
- package/.nuxt/types/runtime-config.d.ts +1018 -0
- package/.nuxt/types/ui.d.ts +3 -3
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/command-palette.ts +2 -1
- package/.nuxt/ui/drawer.ts +1 -1
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/input.ts +1 -1
- package/.nuxt/ui/kbd.ts +167 -3
- package/.nuxt/ui/select.ts +7 -7
- package/.nuxt/ui/table.ts +8 -0
- package/.nuxt/ui/tabs.ts +4 -2
- package/.nuxt/ui/textarea.ts +1 -1
- package/.nuxt/ui/toast.ts +8 -15
- package/.nuxt/ui/tooltip.ts +1 -1
- package/.nuxt/ui-image-component.ts +1 -1
- package/.output/nitro.json +15 -0
- package/.output/public/__nuxt_content/content/sql_dump.txt +1 -0
- package/.output/public/_fonts/31PZhXd_YTCmsoiPQZc-xVtAWAkLogRFRj5mWplmKFE-6WsTw05QKugcwLySGc_b9CIheG8j8LRyo47qPL430Mk.woff2 +0 -0
- package/.output/public/_fonts/9FWLUGCSCYLRIRMtCzLrt4Go7DMFXOeN_pyCOJD_44Y-Yh2wNaqrq_e759vVlc3tX81lMwRu9ktkQJX_Svgs-VI.woff2 +0 -0
- package/.output/public/_fonts/BQnDL9FFy0Q_jvURlmv87luvmXLSMbSuXsfZv_R2Rkk-y5MVrLtP4J_1al8rz8R-MDaUOMAHckAWCwDrKhw25fY.woff2 +0 -0
- package/.output/public/_fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-6h0m1Bf2RaAhaXNIrP4eW5ztakwJFN8JcCXPea_zL8E.woff2 +0 -0
- package/.output/public/_fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-8R9ucQ623nsXJTayzizuOYtVntUNPQzR8aWYpk8a8d8.woff2 +0 -0
- package/.output/public/_fonts/JSrPAbQHsQEdUrIE5Ts6fIQ2ymsa4i7HhiCpui6ulCc-_AoyGWssOn06OMh3ZY_GddBBPRny4Igxin4fT_1K6F4.woff2 +0 -0
- package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
- package/.output/public/_fonts/M-60tFLmAJxdPjHsK-2ILWom5zPbu37lb3Qex2waL14-A9y4QcXALPi_RvQsmRsSFUxrT3_J213W4zPFIXetlbw.woff2 +0 -0
- package/.output/public/_fonts/T-ozk-QJ_Ck37B2RHPl2i-s_gAGGo7suFgagWoJ8bO4-maDXQ_nEXKAaLHm4Joud3DJR9EVzS7QXWMWK8YOTIcs.woff2 +0 -0
- package/.output/public/_fonts/TTYbISAfwy-y4uVGS9AH32sK7b2xJsoCESo64ryf8LU-y87nRMqBGo42rUOW9tWZa06o4oTa0USJrAMMoKDamgs.woff2 +0 -0
- package/.output/public/_fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-s6NA3uLuPs0vnwZNhOTJ1g_7NVire0Uvng_2zP6mjNQ.woff2 +0 -0
- package/.output/public/_fonts/Y_5DOsLit49q2i2tbcNxnyUen9__GPCX8mwAi03q1aA-pBCjVKDT5tBT3BJckh9uzNkfUWeUIBPz9Y8T55vcj8E.woff2 +0 -0
- package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
- package/.output/public/_fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-t7L_F0sYO8m44V7ZmFyCOiGNJDIBFFLVfLeLwCIUhsI.woff2 +0 -0
- package/.output/public/_fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-4s8awL3_7NCZIzHTaY2tD681prJPuNHGqkbChz7OJeE.woff2 +0 -0
- package/.output/public/_fonts/h9PwCjip_BNPVO50hT4v29USWFv6H3ZlYx_IestfqgY-sYfLVuZXl9E1aYbn1S0pAr4zfdQ_WT7iBZhrgQY6N-4.woff2 +0 -0
- package/.output/public/_fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-BgCmQXkW3N6talUbQSKexB2sHUT0qGEzmM4uMcnDAbI.woff +0 -0
- package/.output/public/_fonts/l00UCz_-QvI_NO8AGcu7ooAcrFDlxYUdxCSCh6gBwd4-vPjTZ3ztgw27A2TnHeCycxPvUtXWEVpG33_97ra6su8.woff2 +0 -0
- package/.output/public/_fonts/nuenOq7ZFSZ65QudJO7uQ0sOjDqow2WjfXrQh4S9gEc-uF81rxcswER5srfhzyLfPoGlKNAIt2C_BvkXFOc19rw.woff2 +0 -0
- package/.output/public/_fonts/pWMvGwciZ-EfQsfR2ueelhC7Jnt5K-8Px8PjPK0mDII-eT9iD0iZ9WWhTJs6V5GxXr0iaUwx_WxgGGriOiGb81o.woff2 +0 -0
- package/.output/public/_fonts/y3mP_zJcojQwJn30TpF_XxDzgeM6Nbk7MaRg1Ne0YcI-lFx13nqMCMgk_S70gRmwEHXlE5BLp1B4W82RpFihpMs.woff2 +0 -0
- package/.output/public/_fonts/zr3WxpLd5PmlBr7e4PWGkhZv6XTg70Pi4sCbC-CEV0Q-v2yL98XOiD3FkbiYlYYeAeTSVSkgAckeOp55Q5kHJmU.woff2 +0 -0
- package/.output/public/_ignis-config.json +1989 -0
- package/.output/public/_nuxt/1soVlS0z.js +1 -0
- package/.output/public/_nuxt/B7rsWaa2.js +1 -0
- package/.output/public/_nuxt/BFreiu22.js +1 -0
- package/.output/public/_nuxt/BLcTglbc.js +1 -0
- package/.output/public/_nuxt/Bhd4_yFT.js +1 -0
- package/.output/public/_nuxt/Bhpb4lc3.js +1 -0
- package/.output/public/_nuxt/Bi2eMDmd.js +1 -0
- package/.output/public/_nuxt/Bm30MqE0.js +1 -0
- package/.output/public/_nuxt/BqsN2CZp.js +1 -0
- package/.output/public/_nuxt/Bs3IGOdt.js +1 -0
- package/.output/public/_nuxt/ByaiRTkI.js +1 -0
- package/.output/public/_nuxt/C9ePPGPX.js +94 -0
- package/.output/public/_nuxt/CA578xwz.js +1 -0
- package/.output/public/_nuxt/CDttUXKg.js +1 -0
- package/.output/public/_nuxt/CQozUI2A.js +1 -0
- package/.output/public/_nuxt/CSN71QT8.js +1 -0
- package/.output/public/_nuxt/CqCaqSd2.js +1 -0
- package/.output/public/_nuxt/D8v-efI7.js +1 -0
- package/.output/public/_nuxt/DBJqMhGy.js +35 -0
- package/.output/public/_nuxt/DR4hWRk7.js +1 -0
- package/.output/public/_nuxt/DRroQ-Xq.js +1 -0
- package/.output/public/_nuxt/DStnBfJS.js +1 -0
- package/.output/public/_nuxt/DXTYyv-V.js +1 -0
- package/.output/public/_nuxt/DeS1g0YT.js +1 -0
- package/.output/public/_nuxt/Deb6R53f.js +1 -0
- package/.output/public/_nuxt/DiDHllLr.js +1 -0
- package/.output/public/_nuxt/DvwlldUy.js +1 -0
- package/.output/public/_nuxt/DyCICqRh.js +1 -0
- package/.output/public/_nuxt/DzT4wm3Y.js +1 -0
- package/.output/public/_nuxt/E8nje24C.js +1 -0
- package/.output/public/_nuxt/ProsePre.D5orA6B_.css +1 -0
- package/.output/public/_nuxt/RbPLLy5S.js +1 -0
- package/.output/public/_nuxt/aetvq4w9.js +6767 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/cbc9377a-971e-4db1-b4b1-01807b82ee58.json +1 -0
- package/.output/public/_nuxt/entry.whtwWr_z.css +1 -0
- package/.output/public/_nuxt/error-404.Cq535Uij.css +1 -0
- package/.output/public/_nuxt/error-500.BHm_N15n.css +1 -0
- package/.output/public/_nuxt/jpnxxCHq.js +1 -0
- package/.output/public/_nuxt/sHsV3x2B.js +1 -0
- package/.output/public/_nuxt/sQEqbbg2.js +1 -0
- package/.output/public/_nuxt/vueform.ChEauysg.css +1 -0
- package/.output/public/favicon.ico +0 -0
- package/.output/public/nuxt-ignis.png +0 -0
- package/.output/public/nuxt-spec.png +0 -0
- package/.output/public/unsplash.jpg +0 -0
- package/.output/server/chunks/_/error-500.mjs +10 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/i18n.config.mjs +39 -0
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -0
- package/.output/server/chunks/_/nitro.mjs +12953 -0
- package/.output/server/chunks/_/nitro.mjs.map +1 -0
- package/.output/server/chunks/build/client.manifest.mjs +511 -0
- package/.output/server/chunks/build/client.manifest.mjs.map +1 -0
- package/.output/server/chunks/build/database.compressed.mjs +4 -0
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -0
- package/.output/server/chunks/raw/headers.mjs +5 -0
- package/.output/server/chunks/raw/headers.mjs.map +1 -0
- package/.output/server/chunks/routes/api/neonTest.mjs +41 -0
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +352 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/chunks/virtual/child-sources.mjs +4 -0
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -0
- package/.output/server/chunks/virtual/global-sources.mjs +48 -0
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -0
- package/.output/server/index.mjs +49 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/convertor/create.cjs +32 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data-patch.cjs +7 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data.cjs +97 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/generate.cjs +135 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/index.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/parse.cjs +588 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/tokenizer.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/walk.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/create.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/sourceMap.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/token-before.cjs +170 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/index.cjs +63 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/Lexer.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/error.cjs +128 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-const.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-urange.cjs +149 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic.cjs +573 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match-graph.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match.cjs +632 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/prepare-tokens.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/search.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/structure.cjs +168 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/trace.cjs +73 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/SyntaxError.cjs +69 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/create.cjs +336 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/sequence.cjs +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/font-face.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/import.cjs +37 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/index.cjs +17 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/media.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/page.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/supports.cjs +77 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/lexer.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/mix.cjs +142 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/parser.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/walker.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/create.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/expression.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/var.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/index.cjs +14 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AnPlusB.cjs +293 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Atrule.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Block.cjs +90 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Brackets.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDC.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDO.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/ClassSelector.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Combinator.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Comment.cjs +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Declaration.cjs +166 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/DeclarationList.cjs +50 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Dimension.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Function.cjs +45 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Hash.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/IdSelector.cjs +33 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Identifier.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaFeature.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQuery.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Nth.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Number.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Operator.cjs +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Parentheses.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Percentage.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Ratio.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Raw.cjs +48 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Rule.cjs +58 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Selector.cjs +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/SelectorList.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/String.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/StyleSheet.cjs +83 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/TypeSelector.cjs +59 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Url.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Value.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index-parse.cjs +85 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index.cjs +85 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/pseudo/index.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/default.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/index.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/selector.cjs +84 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/value.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/TokenStream.cjs +264 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/index.cjs +554 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/names.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/types.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/utils.cjs +261 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/List.cjs +473 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/clone.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/create-custom-error.cjs +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/ident.cjs +102 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/names.cjs +113 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/string.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/url.cjs +108 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/version.cjs +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/walker/create.cjs +291 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/data/patch.json +739 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/package.json +127 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/convertor/create.cjs +32 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data-patch.cjs +7 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/SyntaxError.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/generate.cjs +135 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/index.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/parse.cjs +588 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/tokenizer.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/walk.cjs +56 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/create.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/sourceMap.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/token-before.cjs +170 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/index.cjs +63 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/Lexer.cjs +470 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/error.cjs +128 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-an-plus-b.cjs +235 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-const.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-urange.cjs +149 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic.cjs +573 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match-graph.cjs +459 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match.cjs +632 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/prepare-tokens.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/search.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/structure.cjs +168 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/trace.cjs +73 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/units.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/SyntaxError.cjs +69 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/create.cjs +336 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/sequence.cjs +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/font-face.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/import.cjs +37 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/index.cjs +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/media.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/nest.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/page.cjs +16 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/supports.cjs +77 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/lexer.cjs +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/mix.cjs +119 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/parser.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/walker.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/create.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/expression.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/var.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/index.cjs +14 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AnPlusB.cjs +293 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Atrule.cjs +103 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AtrulePrelude.cjs +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AttributeSelector.cjs +148 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Block.cjs +96 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Brackets.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDC.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDO.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/ClassSelector.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Combinator.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Comment.cjs +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Declaration.cjs +166 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/DeclarationList.cjs +62 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Dimension.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Function.cjs +45 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Hash.cjs +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/IdSelector.cjs +33 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Identifier.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaFeature.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQuery.cjs +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQueryList.cjs +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/NestingSelector.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Nth.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Number.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Operator.cjs +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Parentheses.cjs +38 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Percentage.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoClassSelector.cjs +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoElementSelector.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Ratio.cjs +67 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Raw.cjs +48 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Rule.cjs +58 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Selector.cjs +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/SelectorList.cjs +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/String.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/StyleSheet.cjs +83 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/TypeSelector.cjs +59 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/UnicodeRange.cjs +158 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Url.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Value.cjs +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/WhiteSpace.cjs +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index-parse.cjs +87 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index.cjs +87 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/pseudo/index.cjs +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/atrulePrelude.cjs +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/default.cjs +76 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/index.cjs +11 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/selector.cjs +88 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/value.cjs +29 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/OffsetToLocation.cjs +91 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/TokenStream.cjs +264 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/adopt-buffer.cjs +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/char-code-definitions.cjs +231 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/index.cjs +554 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/names.cjs +31 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/types.cjs +57 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/utils.cjs +261 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/List.cjs +473 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/clone.cjs +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/create-custom-error.cjs +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/ident.cjs +102 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/names.cjs +113 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/string.cjs +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/url.cjs +108 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/version.cjs +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/walker/create.cjs +291 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/data/patch.json +725 -0
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/package.json +126 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode.js +536 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode_codepoint.js +76 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/encode.js +77 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/escape.js +122 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +9 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +9 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/encode-html.js +12 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/index.js +126 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/package.json +90 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/at-rules.json +620 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/properties.json +9297 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/syntaxes.json +794 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/package.json +38 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/at-rules.json +620 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/properties.json +9626 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/syntaxes.json +866 -0
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/package.json +38 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +18 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +59 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +68 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +28 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +322 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +7 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +567 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +10 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +8 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +58 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +44 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +25 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +26 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +28 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/types.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +93 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/index.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/aria.js +61 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/find.js +97 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/hast-to-react.js +30 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/html.js +322 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/normalize.js +12 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/svg.js +567 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-insensitive-transform.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/case-sensitive-transform.js +11 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/create.js +69 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/defined-info.js +60 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/info.js +32 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/merge.js +27 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/schema.js +29 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +13 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xlink.js +17 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xml.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/xmlns.js +9 -0
- package/.output/server/node_modules/.nitro/property-information@7.1.0/package.json +121 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-7RS6HCBK.js +36 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSA56AE7.js +26 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-JSBRDJBE.js +30 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-RHMXMP27.js +202 -0
- package/.output/server/node_modules/@adonisjs/hash/build/chunk-WB54OA6N.js +193 -0
- package/.output/server/node_modules/@adonisjs/hash/build/index.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/build/src/drivers/scrypt.js +9 -0
- package/.output/server/node_modules/@adonisjs/hash/package.json +150 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14595 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@fastify/accept-negotiator/index.js +170 -0
- package/.output/server/node_modules/@fastify/accept-negotiator/package.json +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +350 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +188 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +90 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +168 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +14 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +33 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +84 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +231 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +164 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +216 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +113 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +104 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +75 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +97 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +45 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +54 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +16 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +182 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +22 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +46 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +66 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +51 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +62 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +161 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.mjs +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +59 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +92 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +17 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +119 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +30 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +9 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +19 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +83 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +70 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +5 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +11 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +8 -0
- package/.output/server/node_modules/@iconify/utils/package.json +447 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +31 -0
- package/.output/server/node_modules/@intlify/core/package.json +82 -0
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +1886 -0
- package/.output/server/node_modules/@intlify/core-base/package.json +80 -0
- package/.output/server/node_modules/@intlify/h3/dist/index.mjs +61 -0
- package/.output/server/node_modules/@intlify/h3/package.json +89 -0
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1530 -0
- package/.output/server/node_modules/@intlify/message-compiler/package.json +79 -0
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +281 -0
- package/.output/server/node_modules/@intlify/shared/package.json +69 -0
- package/.output/server/node_modules/@intlify/utils/dist/h3.mjs +89 -0
- package/.output/server/node_modules/@intlify/utils/dist/index.mjs +121 -0
- package/.output/server/node_modules/@intlify/utils/dist/shared/utils.12d9adcd.mjs +133 -0
- package/.output/server/node_modules/@intlify/utils/dist/shared/utils.9f8159f5.mjs +108 -0
- package/.output/server/node_modules/@intlify/utils/package.json +129 -0
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +34 -0
- package/.output/server/node_modules/@lukeed/ms/package.json +48 -0
- package/.output/server/node_modules/@neondatabase/serverless/index.mjs +1374 -0
- package/.output/server/node_modules/@neondatabase/serverless/package.json +115 -0
- package/.output/server/node_modules/@phc/format/index.js +229 -0
- package/.output/server/node_modules/@phc/format/package.json +60 -0
- package/.output/server/node_modules/@poppinss/exception/build/index.js +63 -0
- package/.output/server/node_modules/@poppinss/exception/package.json +106 -0
- package/.output/server/node_modules/@poppinss/object-builder/build/index.js +49 -0
- package/.output/server/node_modules/@poppinss/object-builder/package.json +112 -0
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +407 -0
- package/.output/server/node_modules/@poppinss/string/build/index.js +6 -0
- package/.output/server/node_modules/@poppinss/string/package.json +128 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-2KG3PWR4.js +17 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-4V5ON6P7.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-EJKUJ44Y.js +12 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-H54AK3PI.js +7 -0
- package/.output/server/node_modules/@poppinss/utils/build/chunk-XHQBV7AF.js +39 -0
- package/.output/server/node_modules/@poppinss/utils/build/index.js +365 -0
- package/.output/server/node_modules/@poppinss/utils/build/lodash/main.cjs +39 -0
- package/.output/server/node_modules/@poppinss/utils/package.json +153 -0
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +2333 -0
- package/.output/server/node_modules/@shikijs/core/package.json +49 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +52 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +22 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/dist/shared/engine-javascript.hzpS1_41.mjs +93 -0
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +39 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +448 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +42 -0
- package/.output/server/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/.output/server/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/.output/server/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/.output/server/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/.output/server/node_modules/@shikijs/langs/package.json +357 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/package.json +98 -0
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +744 -0
- package/.output/server/node_modules/@shikijs/transformers/package.json +37 -0
- package/.output/server/node_modules/@shikijs/types/dist/index.mjs +8 -0
- package/.output/server/node_modules/@shikijs/types/package.json +36 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/.output/server/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/.output/server/node_modules/@sindresorhus/is/dist/index.js +434 -0
- package/.output/server/node_modules/@sindresorhus/is/package.json +96 -0
- package/.output/server/node_modules/@trysound/sax/lib/sax.js +1413 -0
- package/.output/server/node_modules/@trysound/sax/package.json +30 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/serialize.js +171 -0
- package/.output/server/node_modules/@ungap/structured-clone/esm/types.js +11 -0
- package/.output/server/node_modules/@ungap/structured-clone/package.json +54 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6741 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +689 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1411 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1807 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +6732 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1703 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +879 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +55 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +604 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/bail/index.js +12 -0
- package/.output/server/node_modules/bail/package.json +73 -0
- package/.output/server/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/.output/server/node_modules/better-sqlite3/lib/database.js +90 -0
- package/.output/server/node_modules/better-sqlite3/lib/index.js +3 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/aggregate.js +43 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/backup.js +67 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/function.js +31 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/inspect.js +7 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/pragma.js +12 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/serialize.js +16 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/table.js +189 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/transaction.js +78 -0
- package/.output/server/node_modules/better-sqlite3/lib/methods/wrappers.js +54 -0
- package/.output/server/node_modules/better-sqlite3/lib/sqlite-error.js +20 -0
- package/.output/server/node_modules/better-sqlite3/lib/util.js +12 -0
- package/.output/server/node_modules/better-sqlite3/package.json +62 -0
- package/.output/server/node_modules/bindings/bindings.js +221 -0
- package/.output/server/node_modules/bindings/package.json +28 -0
- package/.output/server/node_modules/boolbase/index.js +8 -0
- package/.output/server/node_modules/boolbase/package.json +23 -0
- package/.output/server/node_modules/bytes/index.js +170 -0
- package/.output/server/node_modules/bytes/package.json +42 -0
- package/.output/server/node_modules/case-anything/dist/core.js +242 -0
- package/.output/server/node_modules/case-anything/dist/index.js +1 -0
- package/.output/server/node_modules/case-anything/dist/utils.js +90 -0
- package/.output/server/node_modules/case-anything/package.json +61 -0
- package/.output/server/node_modules/ccount/index.js +27 -0
- package/.output/server/node_modules/ccount/package.json +71 -0
- package/.output/server/node_modules/char-regex/index.js +39 -0
- package/.output/server/node_modules/char-regex/package.json +44 -0
- package/.output/server/node_modules/character-entities/index.js +2132 -0
- package/.output/server/node_modules/character-entities/package.json +78 -0
- package/.output/server/node_modules/character-entities-html4/index.js +259 -0
- package/.output/server/node_modules/character-entities-html4/package.json +79 -0
- package/.output/server/node_modules/character-entities-legacy/index.js +113 -0
- package/.output/server/node_modules/character-entities-legacy/package.json +77 -0
- package/.output/server/node_modules/character-reference-invalid/index.js +35 -0
- package/.output/server/node_modules/character-reference-invalid/package.json +83 -0
- package/.output/server/node_modules/color/index.js +496 -0
- package/.output/server/node_modules/color/package.json +47 -0
- package/.output/server/node_modules/color-convert/conversions.js +839 -0
- package/.output/server/node_modules/color-convert/index.js +81 -0
- package/.output/server/node_modules/color-convert/package.json +48 -0
- package/.output/server/node_modules/color-convert/route.js +97 -0
- package/.output/server/node_modules/color-name/index.js +152 -0
- package/.output/server/node_modules/color-name/package.json +28 -0
- package/.output/server/node_modules/color-string/index.js +242 -0
- package/.output/server/node_modules/color-string/package.json +39 -0
- package/.output/server/node_modules/comma-separated-tokens/index.js +74 -0
- package/.output/server/node_modules/comma-separated-tokens/package.json +72 -0
- package/.output/server/node_modules/consola/dist/chunks/prompt.mjs +280 -0
- package/.output/server/node_modules/consola/dist/core.mjs +512 -0
- package/.output/server/node_modules/consola/dist/index.mjs +651 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DRwqZj3T.mjs +72 -0
- package/.output/server/node_modules/consola/dist/shared/consola.DXBYu-KD.mjs +288 -0
- package/.output/server/node_modules/consola/package.json +136 -0
- package/.output/server/node_modules/cookie-es/dist/index.mjs +262 -0
- package/.output/server/node_modules/cookie-es/package.json +46 -0
- package/.output/server/node_modules/css-select/lib/attributes.js +236 -0
- package/.output/server/node_modules/css-select/lib/compile.js +151 -0
- package/.output/server/node_modules/css-select/lib/general.js +148 -0
- package/.output/server/node_modules/css-select/lib/index.js +154 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
- package/.output/server/node_modules/css-select/lib/sort.js +84 -0
- package/.output/server/node_modules/css-select/package.json +81 -0
- package/.output/server/node_modules/css-what/lib/commonjs/index.js +23 -0
- package/.output/server/node_modules/css-what/lib/commonjs/parse.js +425 -0
- package/.output/server/node_modules/css-what/lib/commonjs/stringify.js +138 -0
- package/.output/server/node_modules/css-what/lib/commonjs/types.js +42 -0
- package/.output/server/node_modules/css-what/package.json +59 -0
- package/.output/server/node_modules/cssfilter/lib/css.js +110 -0
- package/.output/server/node_modules/cssfilter/lib/default.js +398 -0
- package/.output/server/node_modules/cssfilter/lib/index.js +32 -0
- package/.output/server/node_modules/cssfilter/lib/parser.js +74 -0
- package/.output/server/node_modules/cssfilter/lib/util.js +35 -0
- package/.output/server/node_modules/cssfilter/package.json +49 -0
- package/.output/server/node_modules/csso/cjs/clean/Atrule.cjs +73 -0
- package/.output/server/node_modules/csso/cjs/clean/Comment.cjs +7 -0
- package/.output/server/node_modules/csso/cjs/clean/Declaration.cjs +18 -0
- package/.output/server/node_modules/csso/cjs/clean/Raw.cjs +13 -0
- package/.output/server/node_modules/csso/cjs/clean/Rule.cjs +104 -0
- package/.output/server/node_modules/csso/cjs/clean/TypeSelector.cjs +23 -0
- package/.output/server/node_modules/csso/cjs/clean/WhiteSpace.cjs +7 -0
- package/.output/server/node_modules/csso/cjs/clean/index.cjs +32 -0
- package/.output/server/node_modules/csso/cjs/clean/utils.cjs +12 -0
- package/.output/server/node_modules/csso/cjs/compress.cjs +200 -0
- package/.output/server/node_modules/csso/cjs/index.cjs +127 -0
- package/.output/server/node_modules/csso/cjs/replace/Atrule.cjs +13 -0
- package/.output/server/node_modules/csso/cjs/replace/AttributeSelector.cjs +32 -0
- package/.output/server/node_modules/csso/cjs/replace/Dimension.cjs +67 -0
- package/.output/server/node_modules/csso/cjs/replace/Number.cjs +45 -0
- package/.output/server/node_modules/csso/cjs/replace/Percentage.cjs +41 -0
- package/.output/server/node_modules/csso/cjs/replace/Url.cjs +8 -0
- package/.output/server/node_modules/csso/cjs/replace/Value.cjs +29 -0
- package/.output/server/node_modules/csso/cjs/replace/atrule/keyframes.cjs +25 -0
- package/.output/server/node_modules/csso/cjs/replace/color.cjs +504 -0
- package/.output/server/node_modules/csso/cjs/replace/index.cjs +36 -0
- package/.output/server/node_modules/csso/cjs/replace/property/background.cjs +54 -0
- package/.output/server/node_modules/csso/cjs/replace/property/border.cjs +20 -0
- package/.output/server/node_modules/csso/cjs/replace/property/font-weight.cjs +26 -0
- package/.output/server/node_modules/csso/cjs/replace/property/font.cjs +34 -0
- package/.output/server/node_modules/csso/cjs/restructure/1-mergeAtrule.cjs +109 -0
- package/.output/server/node_modules/csso/cjs/restructure/2-initialMergeRuleset.cjs +51 -0
- package/.output/server/node_modules/csso/cjs/restructure/3-disjoinRuleset.cjs +46 -0
- package/.output/server/node_modules/csso/cjs/restructure/4-restructShorthand.cjs +429 -0
- package/.output/server/node_modules/csso/cjs/restructure/6-restructBlock.cjs +307 -0
- package/.output/server/node_modules/csso/cjs/restructure/7-mergeRuleset.cjs +90 -0
- package/.output/server/node_modules/csso/cjs/restructure/8-restructRuleset.cjs +175 -0
- package/.output/server/node_modules/csso/cjs/restructure/index.cjs +39 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/createDeclarationIndexer.cjs +34 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/index.cjs +45 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/processSelector.cjs +101 -0
- package/.output/server/node_modules/csso/cjs/restructure/prepare/specificity.cjs +133 -0
- package/.output/server/node_modules/csso/cjs/restructure/utils.cjs +151 -0
- package/.output/server/node_modules/csso/cjs/syntax.cjs +60 -0
- package/.output/server/node_modules/csso/cjs/usage.cjs +75 -0
- package/.output/server/node_modules/csso/cjs/utils.cjs +14 -0
- package/.output/server/node_modules/csso/cjs/version.cjs +5 -0
- package/.output/server/node_modules/csso/package.json +82 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/decode-named-character-reference/index.js +19 -0
- package/.output/server/node_modules/decode-named-character-reference/package.json +89 -0
- package/.output/server/node_modules/defu/dist/defu.mjs +69 -0
- package/.output/server/node_modules/defu/package.json +43 -0
- package/.output/server/node_modules/destr/dist/index.mjs +72 -0
- package/.output/server/node_modules/destr/package.json +47 -0
- package/.output/server/node_modules/detab/index.js +45 -0
- package/.output/server/node_modules/detab/package.json +71 -0
- package/.output/server/node_modules/detect-libc/lib/detect-libc.js +267 -0
- package/.output/server/node_modules/detect-libc/lib/filesystem.js +41 -0
- package/.output/server/node_modules/detect-libc/lib/process.js +24 -0
- package/.output/server/node_modules/detect-libc/package.json +41 -0
- package/.output/server/node_modules/devalue/index.js +3 -0
- package/.output/server/node_modules/devalue/package.json +37 -0
- package/.output/server/node_modules/devalue/src/base64.js +110 -0
- package/.output/server/node_modules/devalue/src/constants.js +6 -0
- package/.output/server/node_modules/devalue/src/parse.js +195 -0
- package/.output/server/node_modules/devalue/src/stringify.js +261 -0
- package/.output/server/node_modules/devalue/src/uneval.js +402 -0
- package/.output/server/node_modules/devalue/src/utils.js +114 -0
- package/.output/server/node_modules/devlop/lib/default.js +9 -0
- package/.output/server/node_modules/devlop/package.json +80 -0
- package/.output/server/node_modules/dom-serializer/lib/foreignNames.js +103 -0
- package/.output/server/node_modules/dom-serializer/lib/index.js +229 -0
- package/.output/server/node_modules/dom-serializer/package.json +69 -0
- package/.output/server/node_modules/domelementtype/lib/index.js +55 -0
- package/.output/server/node_modules/domelementtype/package.json +54 -0
- package/.output/server/node_modules/domhandler/lib/index.js +165 -0
- package/.output/server/node_modules/domhandler/lib/node.js +474 -0
- package/.output/server/node_modules/domhandler/package.json +73 -0
- package/.output/server/node_modules/domutils/lib/feeds.js +190 -0
- package/.output/server/node_modules/domutils/lib/helpers.js +142 -0
- package/.output/server/node_modules/domutils/lib/index.js +33 -0
- package/.output/server/node_modules/domutils/lib/legacy.js +168 -0
- package/.output/server/node_modules/domutils/lib/manipulation.js +142 -0
- package/.output/server/node_modules/domutils/lib/querying.js +155 -0
- package/.output/server/node_modules/domutils/lib/stringify.js +91 -0
- package/.output/server/node_modules/domutils/lib/traversal.js +125 -0
- package/.output/server/node_modules/domutils/package.json +79 -0
- package/.output/server/node_modules/emojilib/emojis.json +9422 -0
- package/.output/server/node_modules/emojilib/index.js +5 -0
- package/.output/server/node_modules/emojilib/ordered.json +1572 -0
- package/.output/server/node_modules/emojilib/package.json +41 -0
- package/.output/server/node_modules/emoticon/index.js +480 -0
- package/.output/server/node_modules/emoticon/package.json +88 -0
- package/.output/server/node_modules/escape-string-regexp/index.js +11 -0
- package/.output/server/node_modules/escape-string-regexp/package.json +40 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/etag/index.js +131 -0
- package/.output/server/node_modules/etag/package.json +47 -0
- package/.output/server/node_modules/extend/index.js +117 -0
- package/.output/server/node_modules/extend/package.json +42 -0
- package/.output/server/node_modules/fast-xml-parser/package.json +90 -0
- package/.output/server/node_modules/fast-xml-parser/src/fxp.js +14 -0
- package/.output/server/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/.output/server/node_modules/fast-xml-parser/src/util.js +68 -0
- package/.output/server/node_modules/fast-xml-parser/src/validator.js +425 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +285 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +134 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +369 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +46 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +606 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +71 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/node2json.js +119 -0
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +40 -0
- package/.output/server/node_modules/file-uri-to-path/index.js +66 -0
- package/.output/server/node_modules/file-uri-to-path/package.json +32 -0
- package/.output/server/node_modules/flat/index.js +157 -0
- package/.output/server/node_modules/flat/package.json +49 -0
- package/.output/server/node_modules/flattie/dist/index.mjs +25 -0
- package/.output/server/node_modules/flattie/package.json +48 -0
- package/.output/server/node_modules/github-slugger/index.js +77 -0
- package/.output/server/node_modules/github-slugger/package.json +71 -0
- package/.output/server/node_modules/github-slugger/regex.js +3 -0
- package/.output/server/node_modules/h3/dist/index.mjs +2478 -0
- package/.output/server/node_modules/h3/package.json +75 -0
- package/.output/server/node_modules/has-flag/index.js +8 -0
- package/.output/server/node_modules/has-flag/package.json +46 -0
- package/.output/server/node_modules/hast-util-embedded/index.js +1 -0
- package/.output/server/node_modules/hast-util-embedded/lib/index.js +33 -0
- package/.output/server/node_modules/hast-util-embedded/package.json +78 -0
- package/.output/server/node_modules/hast-util-format/index.js +2 -0
- package/.output/server/node_modules/hast-util-format/lib/index.js +186 -0
- package/.output/server/node_modules/hast-util-format/package.json +124 -0
- package/.output/server/node_modules/hast-util-from-parse5/index.js +2 -0
- package/.output/server/node_modules/hast-util-from-parse5/lib/index.js +337 -0
- package/.output/server/node_modules/hast-util-from-parse5/package.json +120 -0
- package/.output/server/node_modules/hast-util-has-property/index.js +1 -0
- package/.output/server/node_modules/hast-util-has-property/lib/index.js +29 -0
- package/.output/server/node_modules/hast-util-has-property/package.json +79 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/index.js +46 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/lib/index.js +38 -0
- package/.output/server/node_modules/hast-util-is-body-ok-link/package.json +52 -0
- package/.output/server/node_modules/hast-util-is-element/index.js +7 -0
- package/.output/server/node_modules/hast-util-is-element/lib/index.js +278 -0
- package/.output/server/node_modules/hast-util-is-element/package.json +82 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/index.js +69 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/block.js +61 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/content.js +7 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/index.js +377 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/lib/skippable.js +20 -0
- package/.output/server/node_modules/hast-util-minify-whitespace/package.json +56 -0
- package/.output/server/node_modules/hast-util-parse-selector/index.js +1 -0
- package/.output/server/node_modules/hast-util-parse-selector/lib/index.js +87 -0
- package/.output/server/node_modules/hast-util-parse-selector/package.json +79 -0
- package/.output/server/node_modules/hast-util-phrasing/index.js +1 -0
- package/.output/server/node_modules/hast-util-phrasing/lib/index.js +78 -0
- package/.output/server/node_modules/hast-util-phrasing/package.json +83 -0
- package/.output/server/node_modules/hast-util-raw/index.js +2 -0
- package/.output/server/node_modules/hast-util-raw/lib/index.js +682 -0
- package/.output/server/node_modules/hast-util-raw/package.json +123 -0
- package/.output/server/node_modules/hast-util-to-html/index.js +8 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/.output/server/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/.output/server/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/.output/server/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/.output/server/node_modules/hast-util-to-html/package.json +106 -0
- package/.output/server/node_modules/hast-util-to-mdast/index.js +13 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/a.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/base.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/blockquote.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/br.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/code.js +65 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/comment.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/del.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/dl.js +144 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/em.js +24 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/heading.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/hr.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/iframe.js +35 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/img.js +27 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/index.js +233 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/inline-code.js +22 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/input.js +137 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/li.js +147 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/list.js +47 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/media.js +82 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/p.js +30 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/q.js +43 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/root.js +28 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/select.js +34 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/strong.js +24 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-cell.js +38 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table-row.js +29 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/table.js +203 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/text.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/textarea.js +22 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/handlers/wbr.js +20 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/index.js +111 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/state.js +389 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/drop-surrounding-breaks.js +23 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/find-selected-options.js +90 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/list-items-spread.js +25 -0
- package/.output/server/node_modules/hast-util-to-mdast/lib/util/wrap.js +223 -0
- package/.output/server/node_modules/hast-util-to-mdast/package.json +124 -0
- package/.output/server/node_modules/hast-util-to-parse5/index.js +6 -0
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +338 -0
- package/.output/server/node_modules/hast-util-to-parse5/package.json +87 -0
- package/.output/server/node_modules/hast-util-to-string/index.js +46 -0
- package/.output/server/node_modules/hast-util-to-string/lib/index.js +54 -0
- package/.output/server/node_modules/hast-util-to-string/package.json +54 -0
- package/.output/server/node_modules/hast-util-to-text/index.js +6 -0
- package/.output/server/node_modules/hast-util-to-text/lib/index.js +633 -0
- package/.output/server/node_modules/hast-util-to-text/package.json +87 -0
- package/.output/server/node_modules/hast-util-whitespace/index.js +1 -0
- package/.output/server/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/.output/server/node_modules/hast-util-whitespace/package.json +83 -0
- package/.output/server/node_modules/hastscript/index.js +7 -0
- package/.output/server/node_modules/hastscript/lib/create-h.js +365 -0
- package/.output/server/node_modules/hastscript/lib/index.js +27 -0
- package/.output/server/node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +46 -0
- package/.output/server/node_modules/hastscript/package.json +126 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +290 -0
- package/.output/server/node_modules/hookable/package.json +49 -0
- package/.output/server/node_modules/html-void-elements/index.js +27 -0
- package/.output/server/node_modules/html-void-elements/package.json +79 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/index.js +28 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/lib/index.js +9 -0
- package/.output/server/node_modules/html-whitespace-sensitive-tag-names/package.json +48 -0
- package/.output/server/node_modules/image-meta/dist/index.mjs +785 -0
- package/.output/server/node_modules/image-meta/package.json +46 -0
- package/.output/server/node_modules/ipx/dist/index.mjs +52 -0
- package/.output/server/node_modules/ipx/dist/shared/ipx.e4d5b25d.mjs +761 -0
- package/.output/server/node_modules/ipx/package.json +72 -0
- package/.output/server/node_modules/iron-webcrypto/dist/index.js +298 -0
- package/.output/server/node_modules/iron-webcrypto/package.json +72 -0
- package/.output/server/node_modules/is-absolute-url/index.js +18 -0
- package/.output/server/node_modules/is-absolute-url/package.json +37 -0
- package/.output/server/node_modules/is-alphabetical/index.js +16 -0
- package/.output/server/node_modules/is-alphabetical/package.json +73 -0
- package/.output/server/node_modules/is-alphanumerical/index.js +13 -0
- package/.output/server/node_modules/is-alphanumerical/package.json +79 -0
- package/.output/server/node_modules/is-arrayish/index.js +9 -0
- package/.output/server/node_modules/is-arrayish/package.json +45 -0
- package/.output/server/node_modules/is-decimal/index.js +13 -0
- package/.output/server/node_modules/is-decimal/package.json +73 -0
- package/.output/server/node_modules/is-hexadecimal/index.js +17 -0
- package/.output/server/node_modules/is-hexadecimal/package.json +73 -0
- package/.output/server/node_modules/is-plain-obj/index.js +8 -0
- package/.output/server/node_modules/is-plain-obj/package.json +41 -0
- package/.output/server/node_modules/jose/dist/webapi/index.js +30 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +165 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +165 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +187 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
- package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +119 -0
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +86 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +116 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/sign.js +73 -0
- package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/encrypt.js +108 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
- package/.output/server/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
- package/.output/server/node_modules/jose/dist/webapi/key/export.js +11 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
- package/.output/server/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
- package/.output/server/node_modules/jose/dist/webapi/key/import.js +57 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js +16 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +247 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/base64.js +22 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/cek.js +19 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js +7 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js +7 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js +8 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +126 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +147 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js +106 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +127 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/digest.js +4 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js +74 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +92 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/epoch.js +1 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +12 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js +21 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/is_object.js +16 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/iv.js +19 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +109 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +185 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js +176 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js +37 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/private_symbols.js +1 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/secs.js +55 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/sign.js +9 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js +31 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/verify.js +14 -0
- package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +30 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
- package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
- package/.output/server/node_modules/jose/dist/webapi/util/errors.js +99 -0
- package/.output/server/node_modules/jose/package.json +200 -0
- package/.output/server/node_modules/longest-streak/index.js +36 -0
- package/.output/server/node_modules/longest-streak/package.json +73 -0
- package/.output/server/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/.output/server/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/.output/server/node_modules/lru-cache/package.json +116 -0
- package/.output/server/node_modules/markdown-table/index.js +393 -0
- package/.output/server/node_modules/markdown-table/package.json +77 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/index.js +11 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/lib/index.js +261 -0
- package/.output/server/node_modules/mdast-util-find-and-replace/package.json +85 -0
- package/.output/server/node_modules/mdast-util-from-markdown/index.js +2 -0
- package/.output/server/node_modules/mdast-util-from-markdown/lib/index.js +1177 -0
- package/.output/server/node_modules/mdast-util-from-markdown/package.json +139 -0
- package/.output/server/node_modules/mdast-util-gfm/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm/lib/index.js +63 -0
- package/.output/server/node_modules/mdast-util-gfm/package.json +125 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/index.js +4 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +280 -0
- package/.output/server/node_modules/mdast-util-gfm-autolink-literal/package.json +106 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/lib/index.js +212 -0
- package/.output/server/node_modules/mdast-util-gfm-footnote/package.json +111 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/index.js +5 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/lib/index.js +106 -0
- package/.output/server/node_modules/mdast-util-gfm-strikethrough/package.json +99 -0
- package/.output/server/node_modules/mdast-util-gfm-table/index.js +2 -0
- package/.output/server/node_modules/mdast-util-gfm-table/lib/index.js +300 -0
- package/.output/server/node_modules/mdast-util-gfm-table/package.json +101 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/index.js +4 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/lib/index.js +141 -0
- package/.output/server/node_modules/mdast-util-gfm-task-list-item/package.json +90 -0
- package/.output/server/node_modules/mdast-util-phrasing/index.js +1 -0
- package/.output/server/node_modules/mdast-util-phrasing/lib/index.js +45 -0
- package/.output/server/node_modules/mdast-util-phrasing/package.json +78 -0
- package/.output/server/node_modules/mdast-util-to-hast/index.js +7 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/footer.js +252 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/break.js +26 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/code.js +50 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/delete.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/heading.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/html.js +31 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +41 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image.js +36 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/index.js +64 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +35 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +46 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link.js +37 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +125 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list.js +56 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/root.js +26 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/strong.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +32 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +69 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/text.js +25 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +30 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/index.js +106 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/revert.js +55 -0
- package/.output/server/node_modules/mdast-util-to-hast/lib/state.js +473 -0
- package/.output/server/node_modules/mdast-util-to-hast/package.json +118 -0
- package/.output/server/node_modules/mdast-util-to-markdown/index.js +3 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/configure.js +79 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +29 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/break.js +30 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/code.js +75 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/definition.js +76 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +69 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/heading.js +75 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/html.js +20 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +63 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/image.js +82 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/index.js +45 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +76 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +63 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/link.js +114 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +62 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/list.js +100 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +20 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/root.js +23 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/strong.js +69 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/text.js +15 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/index.js +187 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/join.js +39 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/unsafe.js +146 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/association.js +33 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +38 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +21 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/compile-pattern.js +24 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-flow.js +84 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/container-phrasing.js +125 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +11 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/encode-info.js +82 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +22 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +34 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +34 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/indent-lines.js +35 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +41 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/safe.js +174 -0
- package/.output/server/node_modules/mdast-util-to-markdown/lib/util/track.js +55 -0
- package/.output/server/node_modules/mdast-util-to-markdown/package.json +132 -0
- package/.output/server/node_modules/mdast-util-to-string/index.js +5 -0
- package/.output/server/node_modules/mdast-util-to-string/lib/index.js +108 -0
- package/.output/server/node_modules/mdast-util-to-string/package.json +78 -0
- package/.output/server/node_modules/micromark/index.js +60 -0
- package/.output/server/node_modules/micromark/lib/compile.js +1060 -0
- package/.output/server/node_modules/micromark/lib/constructs.js +85 -0
- package/.output/server/node_modules/micromark/lib/create-tokenizer.js +611 -0
- package/.output/server/node_modules/micromark/lib/initialize/content.js +79 -0
- package/.output/server/node_modules/micromark/lib/initialize/document.js +362 -0
- package/.output/server/node_modules/micromark/lib/initialize/flow.js +58 -0
- package/.output/server/node_modules/micromark/lib/initialize/text.js +212 -0
- package/.output/server/node_modules/micromark/lib/parse.js +56 -0
- package/.output/server/node_modules/micromark/lib/postprocess.js +18 -0
- package/.output/server/node_modules/micromark/lib/preprocess.js +115 -0
- package/.output/server/node_modules/micromark/package.json +100 -0
- package/.output/server/node_modules/micromark-core-commonmark/index.js +22 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/attention.js +241 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/autolink.js +233 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/blank-line.js +61 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/block-quote.js +143 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/character-escape.js +64 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/character-reference.js +149 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-fenced.js +460 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-indented.js +177 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/code-text.js +225 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/content.js +163 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/definition.js +254 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +60 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/heading-atx.js +195 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/html-flow.js +876 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/html-text.js +678 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-end.js +560 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-image.js +102 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/label-start-link.js +55 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/line-ending.js +33 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/list.js +213 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/setext-underline.js +185 -0
- package/.output/server/node_modules/micromark-core-commonmark/lib/thematic-break.js +102 -0
- package/.output/server/node_modules/micromark-core-commonmark/package.json +74 -0
- package/.output/server/node_modules/micromark-extension-gfm/index.js +69 -0
- package/.output/server/node_modules/micromark-extension-gfm/package.json +107 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/html.js +60 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +854 -0
- package/.output/server/node_modules/micromark-extension-gfm-autolink-literal/package.json +116 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/index.js +3 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/html.js +154 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +485 -0
- package/.output/server/node_modules/micromark-extension-gfm-footnote/package.json +132 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/index.js +3 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/html.js +26 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +142 -0
- package/.output/server/node_modules/micromark-extension-gfm-strikethrough/package.json +129 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/edit-map.js +202 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/html.js +130 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/infer.js +52 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/lib/syntax.js +819 -0
- package/.output/server/node_modules/micromark-extension-gfm-table/package.json +128 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/index.js +1 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/lib/index.js +51 -0
- package/.output/server/node_modules/micromark-extension-gfm-tagfilter/package.json +82 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/index.js +2 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/html.js +29 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +158 -0
- package/.output/server/node_modules/micromark-extension-gfm-task-list-item/package.json +131 -0
- package/.output/server/node_modules/micromark-factory-destination/index.js +206 -0
- package/.output/server/node_modules/micromark-factory-destination/package.json +57 -0
- package/.output/server/node_modules/micromark-factory-label/index.js +148 -0
- package/.output/server/node_modules/micromark-factory-label/package.json +60 -0
- package/.output/server/node_modules/micromark-factory-space/index.js +64 -0
- package/.output/server/node_modules/micromark-factory-space/package.json +55 -0
- package/.output/server/node_modules/micromark-factory-title/index.js +158 -0
- package/.output/server/node_modules/micromark-factory-title/package.json +58 -0
- package/.output/server/node_modules/micromark-factory-whitespace/index.js +44 -0
- package/.output/server/node_modules/micromark-factory-whitespace/package.json +57 -0
- package/.output/server/node_modules/micromark-util-character/index.js +246 -0
- package/.output/server/node_modules/micromark-util-character/package.json +57 -0
- package/.output/server/node_modules/micromark-util-chunked/index.js +81 -0
- package/.output/server/node_modules/micromark-util-chunked/package.json +57 -0
- package/.output/server/node_modules/micromark-util-classify-character/index.js +27 -0
- package/.output/server/node_modules/micromark-util-classify-character/package.json +59 -0
- package/.output/server/node_modules/micromark-util-combine-extensions/index.js +143 -0
- package/.output/server/node_modules/micromark-util-combine-extensions/package.json +52 -0
- package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/index.js +32 -0
- package/.output/server/node_modules/micromark-util-decode-numeric-character-reference/package.json +59 -0
- package/.output/server/node_modules/micromark-util-decode-string/index.js +45 -0
- package/.output/server/node_modules/micromark-util-decode-string/package.json +63 -0
- package/.output/server/node_modules/micromark-util-encode/index.js +33 -0
- package/.output/server/node_modules/micromark-util-encode/package.json +47 -0
- package/.output/server/node_modules/micromark-util-html-tag-name/index.js +93 -0
- package/.output/server/node_modules/micromark-util-html-tag-name/package.json +47 -0
- package/.output/server/node_modules/micromark-util-normalize-identifier/index.js +33 -0
- package/.output/server/node_modules/micromark-util-normalize-identifier/package.json +58 -0
- package/.output/server/node_modules/micromark-util-resolve-all/index.js +32 -0
- package/.output/server/node_modules/micromark-util-resolve-all/package.json +48 -0
- package/.output/server/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/.output/server/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/.output/server/node_modules/micromark-util-subtokenize/index.js +228 -0
- package/.output/server/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +251 -0
- package/.output/server/node_modules/micromark-util-subtokenize/package.json +60 -0
- package/.output/server/node_modules/minimark/dist/hast.mjs +39 -0
- package/.output/server/node_modules/minimark/package.json +40 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/node-emoji/lib/index.js +174 -0
- package/.output/server/node_modules/node-emoji/package.json +118 -0
- package/.output/server/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -0
- package/.output/server/node_modules/node-fetch-native/dist/index.mjs +1 -0
- package/.output/server/node_modules/node-fetch-native/dist/node.mjs +19 -0
- package/.output/server/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +1 -0
- package/.output/server/node_modules/node-fetch-native/package.json +138 -0
- package/.output/server/node_modules/node-mock-http/dist/_polyfill/buffer/node.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/dist/_polyfill/events/node.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/dist/index.mjs +1 -0
- package/.output/server/node_modules/node-mock-http/package.json +63 -0
- package/.output/server/node_modules/nth-check/lib/compile.js +121 -0
- package/.output/server/node_modules/nth-check/lib/index.js +70 -0
- package/.output/server/node_modules/nth-check/lib/parse.js +77 -0
- package/.output/server/node_modules/nth-check/package.json +78 -0
- package/.output/server/node_modules/oauth4webapi/build/index.js +2492 -0
- package/.output/server/node_modules/oauth4webapi/package.json +105 -0
- package/.output/server/node_modules/ofetch/dist/node.mjs +32 -0
- package/.output/server/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs +333 -0
- package/.output/server/node_modules/ofetch/package.json +96 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/.output/server/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/.output/server/node_modules/oniguruma-parser/package.json +64 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +1876 -0
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/.output/server/node_modules/oniguruma-to-es/package.json +61 -0
- package/.output/server/node_modules/openid-client/build/index.js +1310 -0
- package/.output/server/node_modules/openid-client/package.json +122 -0
- package/.output/server/node_modules/parse-entities/index.js +3 -0
- package/.output/server/node_modules/parse-entities/lib/index.js +407 -0
- package/.output/server/node_modules/parse-entities/package.json +91 -0
- package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
- package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
- package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
- package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
- package/.output/server/node_modules/parse5/dist/index.js +42 -0
- package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
- package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/.output/server/node_modules/parse5/package.json +50 -0
- package/.output/server/node_modules/pathe/dist/index.mjs +1 -0
- package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
- package/.output/server/node_modules/pathe/package.json +48 -0
- package/.output/server/node_modules/pluralize/package.json +40 -0
- package/.output/server/node_modules/pluralize/pluralize.js +503 -0
- package/.output/server/node_modules/radix3/dist/index.mjs +262 -0
- package/.output/server/node_modules/radix3/package.json +52 -0
- package/.output/server/node_modules/regex/package.json +60 -0
- package/.output/server/node_modules/regex/src/atomic.js +221 -0
- package/.output/server/node_modules/regex/src/internals.js +2 -0
- package/.output/server/node_modules/regex/src/subclass.js +98 -0
- package/.output/server/node_modules/regex/src/utils-internals.js +33 -0
- package/.output/server/node_modules/regex-recursion/package.json +47 -0
- package/.output/server/node_modules/regex-recursion/src/index.js +365 -0
- package/.output/server/node_modules/regex-utilities/package.json +35 -0
- package/.output/server/node_modules/regex-utilities/src/index.js +170 -0
- package/.output/server/node_modules/rehype-external-links/index.js +10 -0
- package/.output/server/node_modules/rehype-external-links/lib/index.js +179 -0
- package/.output/server/node_modules/rehype-external-links/package.json +86 -0
- package/.output/server/node_modules/rehype-minify-whitespace/index.js +47 -0
- package/.output/server/node_modules/rehype-minify-whitespace/lib/index.js +26 -0
- package/.output/server/node_modules/rehype-minify-whitespace/package.json +56 -0
- package/.output/server/node_modules/rehype-raw/index.js +5 -0
- package/.output/server/node_modules/rehype-raw/lib/index.js +36 -0
- package/.output/server/node_modules/rehype-raw/package.json +82 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/index.js +29 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/lib/index.js +130 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/lib/schema.js +15 -0
- package/.output/server/node_modules/rehype-sort-attribute-values/package.json +56 -0
- package/.output/server/node_modules/rehype-sort-attributes/index.js +30 -0
- package/.output/server/node_modules/rehype-sort-attributes/lib/index.js +120 -0
- package/.output/server/node_modules/rehype-sort-attributes/package.json +54 -0
- package/.output/server/node_modules/remark-emoji/index.js +76 -0
- package/.output/server/node_modules/remark-emoji/package.json +85 -0
- package/.output/server/node_modules/remark-gfm/index.js +2 -0
- package/.output/server/node_modules/remark-gfm/lib/index.js +41 -0
- package/.output/server/node_modules/remark-gfm/package.json +125 -0
- package/.output/server/node_modules/remark-mdc/dist/index.mjs +2010 -0
- package/.output/server/node_modules/remark-mdc/package.json +84 -0
- package/.output/server/node_modules/remark-parse/index.js +2 -0
- package/.output/server/node_modules/remark-parse/lib/index.js +43 -0
- package/.output/server/node_modules/remark-parse/package.json +72 -0
- package/.output/server/node_modules/remark-rehype/index.js +10 -0
- package/.output/server/node_modules/remark-rehype/lib/index.js +175 -0
- package/.output/server/node_modules/remark-rehype/package.json +86 -0
- package/.output/server/node_modules/remark-stringify/index.js +2 -0
- package/.output/server/node_modules/remark-stringify/lib/index.js +42 -0
- package/.output/server/node_modules/remark-stringify/package.json +71 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/package.json +4 -0
- package/.output/server/node_modules/safe-stable-stringify/esm/wrapper.js +6 -0
- package/.output/server/node_modules/safe-stable-stringify/index.js +625 -0
- package/.output/server/node_modules/safe-stable-stringify/package.json +65 -0
- package/.output/server/node_modules/scule/dist/index.mjs +80 -0
- package/.output/server/node_modules/scule/package.json +43 -0
- package/.output/server/node_modules/secure-json-parse/index.js +126 -0
- package/.output/server/node_modules/secure-json-parse/package.json +75 -0
- package/.output/server/node_modules/semver/classes/semver.js +319 -0
- package/.output/server/node_modules/semver/functions/coerce.js +62 -0
- package/.output/server/node_modules/semver/functions/compare.js +7 -0
- package/.output/server/node_modules/semver/functions/gte.js +5 -0
- package/.output/server/node_modules/semver/functions/parse.js +18 -0
- package/.output/server/node_modules/semver/internal/constants.js +37 -0
- package/.output/server/node_modules/semver/internal/debug.js +11 -0
- package/.output/server/node_modules/semver/internal/identifiers.js +25 -0
- package/.output/server/node_modules/semver/internal/parse-options.js +17 -0
- package/.output/server/node_modules/semver/internal/re.js +223 -0
- package/.output/server/node_modules/semver/package.json +78 -0
- package/.output/server/node_modules/sharp/build/Release/libglib-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libgobject-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libvips-42.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/libvips-cpp.dll +0 -0
- package/.output/server/node_modules/sharp/build/Release/sharp-win32-x64.node +0 -0
- package/.output/server/node_modules/sharp/lib/channel.js +174 -0
- package/.output/server/node_modules/sharp/lib/colour.js +184 -0
- package/.output/server/node_modules/sharp/lib/composite.js +210 -0
- package/.output/server/node_modules/sharp/lib/constructor.js +439 -0
- package/.output/server/node_modules/sharp/lib/index.js +16 -0
- package/.output/server/node_modules/sharp/lib/input.js +631 -0
- package/.output/server/node_modules/sharp/lib/is.js +155 -0
- package/.output/server/node_modules/sharp/lib/libvips.js +140 -0
- package/.output/server/node_modules/sharp/lib/operation.js +919 -0
- package/.output/server/node_modules/sharp/lib/output.js +1413 -0
- package/.output/server/node_modules/sharp/lib/platform.js +30 -0
- package/.output/server/node_modules/sharp/lib/resize.js +582 -0
- package/.output/server/node_modules/sharp/lib/sharp.js +38 -0
- package/.output/server/node_modules/sharp/lib/utility.js +287 -0
- package/.output/server/node_modules/sharp/package.json +204 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/THIRD-PARTY-NOTICES.md +43 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/harfbuzz/hb-cplusplus.hh +223 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/vips/vips8 +60 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libglib-2.0.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0-0.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libgobject-2.0.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips-42.dll +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/lib/libvips.lib +0 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/platform.json +1 -0
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/versions.json +31 -0
- package/.output/server/node_modules/shiki/dist/engine-javascript.mjs +1 -0
- package/.output/server/node_modules/shiki/dist/engine-oniguruma.mjs +1 -0
- package/.output/server/node_modules/shiki/dist/wasm.mjs +2 -0
- package/.output/server/node_modules/shiki/package.json +70 -0
- package/.output/server/node_modules/simple-swizzle/index.js +29 -0
- package/.output/server/node_modules/simple-swizzle/package.json +36 -0
- package/.output/server/node_modules/skin-tone/index.js +25 -0
- package/.output/server/node_modules/skin-tone/package.json +45 -0
- package/.output/server/node_modules/slugify/package.json +42 -0
- package/.output/server/node_modules/slugify/slugify.js +69 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +121 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +140 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +67 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +111 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +79 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +132 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1188 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +444 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +413 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +594 -0
- package/.output/server/node_modules/source-map-js/package.json +71 -0
- package/.output/server/node_modules/source-map-js/source-map.js +8 -0
- package/.output/server/node_modules/space-separated-tokens/index.js +24 -0
- package/.output/server/node_modules/space-separated-tokens/package.json +67 -0
- package/.output/server/node_modules/sqlstring/index.js +1 -0
- package/.output/server/node_modules/sqlstring/lib/SqlString.js +237 -0
- package/.output/server/node_modules/sqlstring/package.json +47 -0
- package/.output/server/node_modules/stringify-entities/index.js +6 -0
- package/.output/server/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/core.js +117 -0
- package/.output/server/node_modules/stringify-entities/lib/index.js +36 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/.output/server/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/.output/server/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/.output/server/node_modules/stringify-entities/package.json +86 -0
- package/.output/server/node_modules/strnum/package.json +31 -0
- package/.output/server/node_modules/strnum/strnum.js +129 -0
- package/.output/server/node_modules/supports-color/index.js +135 -0
- package/.output/server/node_modules/supports-color/package.json +53 -0
- package/.output/server/node_modules/svgo/lib/builtin.js +57 -0
- package/.output/server/node_modules/svgo/lib/parser.js +262 -0
- package/.output/server/node_modules/svgo/lib/path.js +380 -0
- package/.output/server/node_modules/svgo/lib/stringifier.js +295 -0
- package/.output/server/node_modules/svgo/lib/style.js +336 -0
- package/.output/server/node_modules/svgo/lib/svgo/css-select-adapter.js +120 -0
- package/.output/server/node_modules/svgo/lib/svgo/plugins.js +61 -0
- package/.output/server/node_modules/svgo/lib/svgo/tools.js +245 -0
- package/.output/server/node_modules/svgo/lib/svgo-node.js +85 -0
- package/.output/server/node_modules/svgo/lib/svgo.js +102 -0
- package/.output/server/node_modules/svgo/lib/xast.js +87 -0
- package/.output/server/node_modules/svgo/package.json +108 -0
- package/.output/server/node_modules/svgo/plugins/_collections.js +2339 -0
- package/.output/server/node_modules/svgo/plugins/_path.js +815 -0
- package/.output/server/node_modules/svgo/plugins/_transforms.js +410 -0
- package/.output/server/node_modules/svgo/plugins/addAttributesToSVGElement.js +82 -0
- package/.output/server/node_modules/svgo/plugins/addClassesToSVGElement.js +82 -0
- package/.output/server/node_modules/svgo/plugins/applyTransforms.js +388 -0
- package/.output/server/node_modules/svgo/plugins/cleanupAttrs.js +49 -0
- package/.output/server/node_modules/svgo/plugins/cleanupEnableBackground.js +165 -0
- package/.output/server/node_modules/svgo/plugins/cleanupIds.js +265 -0
- package/.output/server/node_modules/svgo/plugins/cleanupListOfValues.js +147 -0
- package/.output/server/node_modules/svgo/plugins/cleanupNumericValues.js +106 -0
- package/.output/server/node_modules/svgo/plugins/collapseGroups.js +134 -0
- package/.output/server/node_modules/svgo/plugins/convertColors.js +144 -0
- package/.output/server/node_modules/svgo/plugins/convertEllipseToCircle.js +37 -0
- package/.output/server/node_modules/svgo/plugins/convertOneStopGradients.js +168 -0
- package/.output/server/node_modules/svgo/plugins/convertPathData.js +1284 -0
- package/.output/server/node_modules/svgo/plugins/convertShapeToPath.js +170 -0
- package/.output/server/node_modules/svgo/plugins/convertStyleToAttrs.js +136 -0
- package/.output/server/node_modules/svgo/plugins/convertTransform.js +418 -0
- package/.output/server/node_modules/svgo/plugins/inlineStyles.js +390 -0
- package/.output/server/node_modules/svgo/plugins/mergePaths.js +148 -0
- package/.output/server/node_modules/svgo/plugins/mergeStyles.js +98 -0
- package/.output/server/node_modules/svgo/plugins/minifyStyles.js +141 -0
- package/.output/server/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +128 -0
- package/.output/server/node_modules/svgo/plugins/moveGroupAttrsToElems.js +65 -0
- package/.output/server/node_modules/svgo/plugins/prefixIds.js +268 -0
- package/.output/server/node_modules/svgo/plugins/preset-default.js +82 -0
- package/.output/server/node_modules/svgo/plugins/removeAttributesBySelector.js +97 -0
- package/.output/server/node_modules/svgo/plugins/removeAttrs.js +151 -0
- package/.output/server/node_modules/svgo/plugins/removeComments.js +51 -0
- package/.output/server/node_modules/svgo/plugins/removeDesc.js +39 -0
- package/.output/server/node_modules/svgo/plugins/removeDimensions.js +43 -0
- package/.output/server/node_modules/svgo/plugins/removeDoctype.js +40 -0
- package/.output/server/node_modules/svgo/plugins/removeEditorsNSData.js +64 -0
- package/.output/server/node_modules/svgo/plugins/removeElementsByAttr.js +73 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyAttrs.js +31 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyContainers.js +59 -0
- package/.output/server/node_modules/svgo/plugins/removeEmptyText.js +51 -0
- package/.output/server/node_modules/svgo/plugins/removeHiddenElems.js +440 -0
- package/.output/server/node_modules/svgo/plugins/removeMetadata.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +38 -0
- package/.output/server/node_modules/svgo/plugins/removeOffCanvasPaths.js +136 -0
- package/.output/server/node_modules/svgo/plugins/removeRasterImages.js +31 -0
- package/.output/server/node_modules/svgo/plugins/removeScriptElement.js +70 -0
- package/.output/server/node_modules/svgo/plugins/removeStyleElement.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeTitle.js +27 -0
- package/.output/server/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +212 -0
- package/.output/server/node_modules/svgo/plugins/removeUnusedNS.js +59 -0
- package/.output/server/node_modules/svgo/plugins/removeUselessDefs.js +65 -0
- package/.output/server/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +139 -0
- package/.output/server/node_modules/svgo/plugins/removeViewBox.js +49 -0
- package/.output/server/node_modules/svgo/plugins/removeXMLNS.js +29 -0
- package/.output/server/node_modules/svgo/plugins/removeXMLProcInst.js +28 -0
- package/.output/server/node_modules/svgo/plugins/removeXlink.js +226 -0
- package/.output/server/node_modules/svgo/plugins/reusePaths.js +195 -0
- package/.output/server/node_modules/svgo/plugins/sortAttrs.js +108 -0
- package/.output/server/node_modules/svgo/plugins/sortDefsChildren.js +58 -0
- package/.output/server/node_modules/trim-lines/index.js +69 -0
- package/.output/server/node_modules/trim-lines/package.json +67 -0
- package/.output/server/node_modules/trim-trailing-lines/index.js +23 -0
- package/.output/server/node_modules/trim-trailing-lines/package.json +65 -0
- package/.output/server/node_modules/trough/index.js +9 -0
- package/.output/server/node_modules/trough/lib/index.js +206 -0
- package/.output/server/node_modules/trough/package.json +77 -0
- package/.output/server/node_modules/truncatise/index.js +188 -0
- package/.output/server/node_modules/truncatise/package.json +36 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +638 -0
- package/.output/server/node_modules/ufo/package.json +47 -0
- package/.output/server/node_modules/ultrahtml/dist/index.js +1 -0
- package/.output/server/node_modules/ultrahtml/package.json +79 -0
- package/.output/server/node_modules/uncrypto/dist/crypto.node.mjs +16 -0
- package/.output/server/node_modules/uncrypto/package.json +60 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +101 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +689 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BpRRHAhY.mjs +194 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CApf5sj3.mjs +148 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DH45uomy.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DQc16pHI.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +70 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.Djo8ep_Y.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.yem5I2v_.mjs +38 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +101 -0
- package/.output/server/node_modules/unicode-emoji-modifier-base/index.js +86 -0
- package/.output/server/node_modules/unicode-emoji-modifier-base/package.json +44 -0
- package/.output/server/node_modules/unified/index.js +2 -0
- package/.output/server/node_modules/unified/lib/callable-instance.js +44 -0
- package/.output/server/node_modules/unified/lib/index.js +1323 -0
- package/.output/server/node_modules/unified/package.json +120 -0
- package/.output/server/node_modules/unist-util-find-after/index.js +1 -0
- package/.output/server/node_modules/unist-util-find-after/lib/index.js +130 -0
- package/.output/server/node_modules/unist-util-find-after/package.json +84 -0
- package/.output/server/node_modules/unist-util-is/index.js +7 -0
- package/.output/server/node_modules/unist-util-is/lib/index.js +291 -0
- package/.output/server/node_modules/unist-util-is/package.json +100 -0
- package/.output/server/node_modules/unist-util-position/index.js +1 -0
- package/.output/server/node_modules/unist-util-position/lib/index.js +95 -0
- package/.output/server/node_modules/unist-util-position/package.json +76 -0
- package/.output/server/node_modules/unist-util-stringify-position/index.js +1 -0
- package/.output/server/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/.output/server/node_modules/unist-util-stringify-position/package.json +80 -0
- package/.output/server/node_modules/unist-util-visit/index.js +2 -0
- package/.output/server/node_modules/unist-util-visit/lib/index.js +313 -0
- package/.output/server/node_modules/unist-util-visit/package.json +113 -0
- package/.output/server/node_modules/unist-util-visit-parents/index.js +2 -0
- package/.output/server/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
- package/.output/server/node_modules/unist-util-visit-parents/lib/index.js +398 -0
- package/.output/server/node_modules/unist-util-visit-parents/package.json +101 -0
- package/.output/server/node_modules/vfile/index.js +2 -0
- package/.output/server/node_modules/vfile/lib/index.js +643 -0
- package/.output/server/node_modules/vfile/lib/minpath.js +1 -0
- package/.output/server/node_modules/vfile/lib/minproc.js +1 -0
- package/.output/server/node_modules/vfile/lib/minurl.js +2 -0
- package/.output/server/node_modules/vfile/lib/minurl.shared.js +31 -0
- package/.output/server/node_modules/vfile/package.json +134 -0
- package/.output/server/node_modules/vfile-location/index.js +2 -0
- package/.output/server/node_modules/vfile-location/lib/index.js +93 -0
- package/.output/server/node_modules/vfile-location/package.json +115 -0
- package/.output/server/node_modules/vfile-message/index.js +5 -0
- package/.output/server/node_modules/vfile-message/lib/index.js +314 -0
- package/.output/server/node_modules/vfile-message/package.json +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +301 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +55 -0
- package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +1218 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1557 -0
- package/.output/server/node_modules/vue-router/package.json +154 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/web-namespaces/index.js +13 -0
- package/.output/server/node_modules/web-namespaces/package.json +81 -0
- package/.output/server/node_modules/xss/lib/default.js +461 -0
- package/.output/server/node_modules/xss/lib/index.js +51 -0
- package/.output/server/node_modules/xss/lib/parser.js +257 -0
- package/.output/server/node_modules/xss/lib/util.js +34 -0
- package/.output/server/node_modules/xss/lib/xss.js +232 -0
- package/.output/server/node_modules/xss/package.json +65 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +90 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-doc.js +45 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/.output/server/node_modules/yaml/dist/compose/compose-scalar.js +88 -0
- package/.output/server/node_modules/yaml/dist/compose/composer.js +222 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-map.js +117 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-scalar.js +200 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +51 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-end.js +39 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +209 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-scalar.js +225 -0
- package/.output/server/node_modules/yaml/dist/compose/resolve-props.js +148 -0
- package/.output/server/node_modules/yaml/dist/compose/util-contains-newline.js +36 -0
- package/.output/server/node_modules/yaml/dist/compose/util-empty-scalar-position.js +28 -0
- package/.output/server/node_modules/yaml/dist/compose/util-flow-indent-check.js +17 -0
- package/.output/server/node_modules/yaml/dist/compose/util-map-includes.js +15 -0
- package/.output/server/node_modules/yaml/dist/doc/Document.js +337 -0
- package/.output/server/node_modules/yaml/dist/doc/anchors.js +76 -0
- package/.output/server/node_modules/yaml/dist/doc/applyReviver.js +57 -0
- package/.output/server/node_modules/yaml/dist/doc/createNode.js +90 -0
- package/.output/server/node_modules/yaml/dist/doc/directives.js +178 -0
- package/.output/server/node_modules/yaml/dist/errors.js +62 -0
- package/.output/server/node_modules/yaml/dist/index.js +50 -0
- package/.output/server/node_modules/yaml/dist/log.js +19 -0
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +116 -0
- package/.output/server/node_modules/yaml/dist/nodes/Collection.js +151 -0
- package/.output/server/node_modules/yaml/dist/nodes/Node.js +40 -0
- package/.output/server/node_modules/yaml/dist/nodes/Pair.js +39 -0
- package/.output/server/node_modules/yaml/dist/nodes/Scalar.js +27 -0
- package/.output/server/node_modules/yaml/dist/nodes/YAMLMap.js +147 -0
- package/.output/server/node_modules/yaml/dist/nodes/YAMLSeq.js +115 -0
- package/.output/server/node_modules/yaml/dist/nodes/addPairToJSMap.js +65 -0
- package/.output/server/node_modules/yaml/dist/nodes/identity.js +53 -0
- package/.output/server/node_modules/yaml/dist/nodes/toJS.js +39 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-scalar.js +218 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-stringify.js +63 -0
- package/.output/server/node_modules/yaml/dist/parse/cst-visit.js +99 -0
- package/.output/server/node_modules/yaml/dist/parse/cst.js +112 -0
- package/.output/server/node_modules/yaml/dist/parse/lexer.js +719 -0
- package/.output/server/node_modules/yaml/dist/parse/line-counter.js +41 -0
- package/.output/server/node_modules/yaml/dist/parse/parser.js +972 -0
- package/.output/server/node_modules/yaml/dist/public-api.js +107 -0
- package/.output/server/node_modules/yaml/dist/schema/Schema.js +39 -0
- package/.output/server/node_modules/yaml/dist/schema/common/map.js +19 -0
- package/.output/server/node_modules/yaml/dist/schema/common/null.js +17 -0
- package/.output/server/node_modules/yaml/dist/schema/common/seq.js +19 -0
- package/.output/server/node_modules/yaml/dist/schema/common/string.js +16 -0
- package/.output/server/node_modules/yaml/dist/schema/core/bool.js +21 -0
- package/.output/server/node_modules/yaml/dist/schema/core/float.js +47 -0
- package/.output/server/node_modules/yaml/dist/schema/core/int.js +42 -0
- package/.output/server/node_modules/yaml/dist/schema/core/schema.js +25 -0
- package/.output/server/node_modules/yaml/dist/schema/json/schema.js +64 -0
- package/.output/server/node_modules/yaml/dist/schema/tags.js +99 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/binary.js +70 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/bool.js +29 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/float.js +50 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/int.js +76 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/merge.js +68 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/omap.js +77 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +82 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/schema.js +41 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/set.js +96 -0
- package/.output/server/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +105 -0
- package/.output/server/node_modules/yaml/dist/stringify/foldFlowLines.js +151 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringify.js +131 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyCollection.js +145 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyComment.js +24 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyDocument.js +87 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +26 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +152 -0
- package/.output/server/node_modules/yaml/dist/stringify/stringifyString.js +338 -0
- package/.output/server/node_modules/yaml/dist/visit.js +236 -0
- package/.output/server/node_modules/yaml/package.json +96 -0
- package/.output/server/node_modules/zwitch/index.js +118 -0
- package/.output/server/node_modules/zwitch/package.json +72 -0
- package/.output/server/package.json +241 -0
- package/README.md +4 -0
- package/{app.vue → app/app.vue} +3 -2
- package/{assets → app/assets}/css/ignis-open-props.css +4 -5
- package/{components → app/components}/CurrentTime.vue +9 -2
- package/{components/ignis/IgnisInfo.vue → app/components/ignis/IgnisContent.vue} +3 -3
- package/{components/ignis/IgnisConfig.vue → app/components/ignis/IgnisContentConfig.vue} +5 -1
- package/app/components/ignis/IgnisContentFeatures.vue +102 -0
- package/{components/ignis/IgnisWelcome.vue → app/components/ignis/IgnisContentWelcome.vue} +3 -3
- package/app/components/ignis/IgnisFooter.vue +24 -0
- package/{composables → app/composables}/useTranslation.ts +2 -2
- package/app/pages/_ignis-config.vue +3 -0
- package/app/pages/_ignis-info.vue +3 -0
- package/app/pages/_ignis-welcome.vue +3 -0
- package/{pages → app/pages}/index.vue +2 -2
- package/app/utils/date.ts +12 -0
- package/{utils → app/utils}/i18n-sources.ts +2 -2
- package/app/utils/validation.ts +25 -0
- package/bin/cli.js +59 -0
- package/bin/set-app-vue.js +18 -0
- package/bin/set-css.js +18 -0
- package/bin/set-eslint.js +16 -0
- package/bin/setup.js +255 -0
- package/content.config.ts +1 -1
- package/eslint.config.mjs +0 -3
- package/features.ts +52 -41
- package/formkit.config.ts +1 -1
- package/i18n/i18n.config.ts +2 -0
- package/nuxt.config.ts +19 -21
- package/package.json +30 -29
- package/public/_ignis-config.json +1894 -3
- package/test/config/css-multiple.txt +30 -24
- package/test/config/css-nuxt-ui.txt +34 -28
- package/test/config/css-open-props.txt +1812 -1763
- package/test/config/css-single.txt +28 -22
- package/test/config/css-tailwind.txt +55 -48
- package/test/config/custom-lang.txt +27 -21
- package/test/config/db-neon.txt +28 -22
- package/test/config/db-supabase.txt +31 -25
- package/test/config/default.txt +27 -21
- package/test/config/equipment-1-composable.txt +33 -27
- package/test/config/equipment-2-plugins.txt +34 -28
- package/test/config/equipment-all.txt +38 -32
- package/test/config/forms-formkit.txt +32 -26
- package/test/config/forms-vueform.txt +28 -22
- package/test/config/i18n.txt +36 -30
- package/test/config/no-default-css.txt +24 -18
- package/test/config/open-props.txt +1811 -1762
- package/test/config/seo-ssr-false.txt +35 -29
- package/test/config/ui-nuxt-ui.txt +33 -27
- package/test/config/ui-tailwind.txt +54 -47
- package/test/features.test.ts +34 -34
- package/tsconfig.json +16 -5
- package/vitest.config.ts +5 -0
- package/vueform.config.ts +2 -0
- package/.nuxt/i18n.options.mjs +0 -165
- package/.nuxt/module/@nuxtjs-sitemap.d.ts +0 -29
- package/.nuxt/nuxt-i18n-logger.mjs +0 -1
- package/.nuxt/types/app-defaults.d.ts +0 -7
- package/.nuxt/types/schema.d.ts +0 -1756
- package/bin/make-eslint.js +0 -55
- package/components/ignis/IgnisFeatureList.vue +0 -111
- package/components/ignis/IgnisFooter.vue +0 -16
- package/pages/_ignis-config.vue +0 -3
- package/pages/_ignis-info.vue +0 -3
- package/server/tsconfig.json +0 -3
- /package/{assets → app/assets}/css/ignis-nuxt-ui.css +0 -0
- /package/{assets → app/assets}/css/ignis-tailwind.css +0 -0
- /package/{assets → app/assets}/css/ignis.css +0 -0
- /package/{components/ignis/IgnisFeature.vue → app/components/ignis/IgnisContentFeaturesDetail.vue} +0 -0
- /package/{components → app/components}/ignis/IgnisHeader.vue +0 -0
- /package/{composables → app/composables}/useValibot.ts +0 -0
- /package/{composables → app/composables}/useZod.ts +0 -0
- /package/{plugins → app/plugins}/errorHandler.ts +0 -0
- /package/{utils → app/utils}/config/content.ts +0 -0
- /package/{utils → app/utils}/config/formkit.ts +0 -0
- /package/{utils → app/utils}/config/vueform.ts +0 -0
- /package/{utils → app/utils}/consola.ts +0 -0
- /package/{utils → app/utils}/content.ts +0 -0
- /package/{utils → app/utils}/formkit.ts +0 -0
- /package/{utils → app/utils}/ignis-types.ts +0 -0
- /package/{utils → app/utils}/pslo-utils.ts +0 -0
- /package/{utils → app/utils}/tailwind.ts +0 -0
- /package/{utils → app/utils}/vueform.ts +0 -0
|
@@ -0,0 +1,1557 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* vue-router v4.6.3
|
|
3
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/
|
|
6
|
+
import { ErrorTypes, NavigationDirection, NavigationFailureType, NavigationType, START, START_LOCATION_NORMALIZED, addDevtools, applyToParams, assign, computeScrollPosition, createHref, createRouterError, decode, encodeHash, encodeParam, extractChangingRecords, extractComponentsGuards, getSavedScrollPosition, getScrollKey, guardToPromiseFn, isArray, isBrowser, isNavigationFailure, isRouteLocation, isRouteName, isSameRouteLocation, isSameRouteLocationParams, isSameRouteRecord, loadRouteLocation, matchedRouteKey, mergeOptions, noop, normalizeBase, normalizeQuery, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, parseURL, routeLocationKey, routerKey, routerViewLocationKey, saveScrollPosition, scrollToPosition, stringifyQuery, stringifyURL, stripBase, useCallbacks, viewDepthKey, warn as warn$1 } from "./devtools-BLCumUwL.mjs";
|
|
7
|
+
import { computed, defineComponent, getCurrentInstance, h, inject, nextTick, provide, reactive, ref, shallowReactive, shallowRef, unref, watch, watchEffect } from "vue";
|
|
8
|
+
|
|
9
|
+
//#region src/history/html5.ts
|
|
10
|
+
let createBaseLocation = () => location.protocol + "//" + location.host;
|
|
11
|
+
/**
|
|
12
|
+
* Creates a normalized history location from a window.location object
|
|
13
|
+
* @param base - The base path
|
|
14
|
+
* @param location - The window.location object
|
|
15
|
+
*/
|
|
16
|
+
function createCurrentLocation(base, location$1) {
|
|
17
|
+
const { pathname, search, hash } = location$1;
|
|
18
|
+
const hashPos = base.indexOf("#");
|
|
19
|
+
if (hashPos > -1) {
|
|
20
|
+
let slicePos = hash.includes(base.slice(hashPos)) ? base.slice(hashPos).length : 1;
|
|
21
|
+
let pathFromHash = hash.slice(slicePos);
|
|
22
|
+
if (pathFromHash[0] !== "/") pathFromHash = "/" + pathFromHash;
|
|
23
|
+
return stripBase(pathFromHash, "");
|
|
24
|
+
}
|
|
25
|
+
return stripBase(pathname, base) + search + hash;
|
|
26
|
+
}
|
|
27
|
+
function useHistoryListeners(base, historyState, currentLocation, replace) {
|
|
28
|
+
let listeners = [];
|
|
29
|
+
let teardowns = [];
|
|
30
|
+
let pauseState = null;
|
|
31
|
+
const popStateHandler = ({ state }) => {
|
|
32
|
+
const to = createCurrentLocation(base, location);
|
|
33
|
+
const from = currentLocation.value;
|
|
34
|
+
const fromState = historyState.value;
|
|
35
|
+
let delta = 0;
|
|
36
|
+
if (state) {
|
|
37
|
+
currentLocation.value = to;
|
|
38
|
+
historyState.value = state;
|
|
39
|
+
if (pauseState && pauseState === from) {
|
|
40
|
+
pauseState = null;
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
delta = fromState ? state.position - fromState.position : 0;
|
|
44
|
+
} else replace(to);
|
|
45
|
+
listeners.forEach((listener) => {
|
|
46
|
+
listener(currentLocation.value, from, {
|
|
47
|
+
delta,
|
|
48
|
+
type: NavigationType.pop,
|
|
49
|
+
direction: delta ? delta > 0 ? NavigationDirection.forward : NavigationDirection.back : NavigationDirection.unknown
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
function pauseListeners() {
|
|
54
|
+
pauseState = currentLocation.value;
|
|
55
|
+
}
|
|
56
|
+
function listen(callback) {
|
|
57
|
+
listeners.push(callback);
|
|
58
|
+
const teardown = () => {
|
|
59
|
+
const index = listeners.indexOf(callback);
|
|
60
|
+
if (index > -1) listeners.splice(index, 1);
|
|
61
|
+
};
|
|
62
|
+
teardowns.push(teardown);
|
|
63
|
+
return teardown;
|
|
64
|
+
}
|
|
65
|
+
function beforeUnloadListener() {
|
|
66
|
+
if (document.visibilityState === "hidden") {
|
|
67
|
+
const { history: history$1 } = window;
|
|
68
|
+
if (!history$1.state) return;
|
|
69
|
+
history$1.replaceState(assign({}, history$1.state, { scroll: computeScrollPosition() }), "");
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function destroy() {
|
|
73
|
+
for (const teardown of teardowns) teardown();
|
|
74
|
+
teardowns = [];
|
|
75
|
+
window.removeEventListener("popstate", popStateHandler);
|
|
76
|
+
window.removeEventListener("pagehide", beforeUnloadListener);
|
|
77
|
+
document.removeEventListener("visibilitychange", beforeUnloadListener);
|
|
78
|
+
}
|
|
79
|
+
window.addEventListener("popstate", popStateHandler);
|
|
80
|
+
window.addEventListener("pagehide", beforeUnloadListener);
|
|
81
|
+
document.addEventListener("visibilitychange", beforeUnloadListener);
|
|
82
|
+
return {
|
|
83
|
+
pauseListeners,
|
|
84
|
+
listen,
|
|
85
|
+
destroy
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Creates a state object
|
|
90
|
+
*/
|
|
91
|
+
function buildState(back, current, forward, replaced = false, computeScroll = false) {
|
|
92
|
+
return {
|
|
93
|
+
back,
|
|
94
|
+
current,
|
|
95
|
+
forward,
|
|
96
|
+
replaced,
|
|
97
|
+
position: window.history.length,
|
|
98
|
+
scroll: computeScroll ? computeScrollPosition() : null
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
function useHistoryStateNavigation(base) {
|
|
102
|
+
const { history: history$1, location: location$1 } = window;
|
|
103
|
+
const currentLocation = { value: createCurrentLocation(base, location$1) };
|
|
104
|
+
const historyState = { value: history$1.state };
|
|
105
|
+
if (!historyState.value) changeLocation(currentLocation.value, {
|
|
106
|
+
back: null,
|
|
107
|
+
current: currentLocation.value,
|
|
108
|
+
forward: null,
|
|
109
|
+
position: history$1.length - 1,
|
|
110
|
+
replaced: true,
|
|
111
|
+
scroll: null
|
|
112
|
+
}, true);
|
|
113
|
+
function changeLocation(to, state, replace$1) {
|
|
114
|
+
/**
|
|
115
|
+
* if a base tag is provided, and we are on a normal domain, we have to
|
|
116
|
+
* respect the provided `base` attribute because pushState() will use it and
|
|
117
|
+
* potentially erase anything before the `#` like at
|
|
118
|
+
* https://github.com/vuejs/router/issues/685 where a base of
|
|
119
|
+
* `/folder/#` but a base of `/` would erase the `/folder/` section. If
|
|
120
|
+
* there is no host, the `<base>` tag makes no sense and if there isn't a
|
|
121
|
+
* base tag we can just use everything after the `#`.
|
|
122
|
+
*/
|
|
123
|
+
const hashIndex = base.indexOf("#");
|
|
124
|
+
const url = hashIndex > -1 ? (location$1.host && document.querySelector("base") ? base : base.slice(hashIndex)) + to : createBaseLocation() + base + to;
|
|
125
|
+
try {
|
|
126
|
+
history$1[replace$1 ? "replaceState" : "pushState"](state, "", url);
|
|
127
|
+
historyState.value = state;
|
|
128
|
+
} catch (err) {
|
|
129
|
+
if (process.env.NODE_ENV !== "production") warn$1("Error with push/replace State", err);
|
|
130
|
+
else console.error(err);
|
|
131
|
+
location$1[replace$1 ? "replace" : "assign"](url);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function replace(to, data) {
|
|
135
|
+
changeLocation(to, assign({}, history$1.state, buildState(historyState.value.back, to, historyState.value.forward, true), data, { position: historyState.value.position }), true);
|
|
136
|
+
currentLocation.value = to;
|
|
137
|
+
}
|
|
138
|
+
function push(to, data) {
|
|
139
|
+
const currentState = assign({}, historyState.value, history$1.state, {
|
|
140
|
+
forward: to,
|
|
141
|
+
scroll: computeScrollPosition()
|
|
142
|
+
});
|
|
143
|
+
if (process.env.NODE_ENV !== "production" && !history$1.state) warn$1("history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:\n\nhistory.replaceState(history.state, '', url)\n\nYou can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state");
|
|
144
|
+
changeLocation(currentState.current, currentState, true);
|
|
145
|
+
changeLocation(to, assign({}, buildState(currentLocation.value, to, null), { position: currentState.position + 1 }, data), false);
|
|
146
|
+
currentLocation.value = to;
|
|
147
|
+
}
|
|
148
|
+
return {
|
|
149
|
+
location: currentLocation,
|
|
150
|
+
state: historyState,
|
|
151
|
+
push,
|
|
152
|
+
replace
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Creates an HTML5 history. Most common history for single page applications.
|
|
157
|
+
*
|
|
158
|
+
* @param base -
|
|
159
|
+
*/
|
|
160
|
+
function createWebHistory(base) {
|
|
161
|
+
base = normalizeBase(base);
|
|
162
|
+
const historyNavigation = useHistoryStateNavigation(base);
|
|
163
|
+
const historyListeners = useHistoryListeners(base, historyNavigation.state, historyNavigation.location, historyNavigation.replace);
|
|
164
|
+
function go(delta, triggerListeners = true) {
|
|
165
|
+
if (!triggerListeners) historyListeners.pauseListeners();
|
|
166
|
+
history.go(delta);
|
|
167
|
+
}
|
|
168
|
+
const routerHistory = assign({
|
|
169
|
+
location: "",
|
|
170
|
+
base,
|
|
171
|
+
go,
|
|
172
|
+
createHref: createHref.bind(null, base)
|
|
173
|
+
}, historyNavigation, historyListeners);
|
|
174
|
+
Object.defineProperty(routerHistory, "location", {
|
|
175
|
+
enumerable: true,
|
|
176
|
+
get: () => historyNavigation.location.value
|
|
177
|
+
});
|
|
178
|
+
Object.defineProperty(routerHistory, "state", {
|
|
179
|
+
enumerable: true,
|
|
180
|
+
get: () => historyNavigation.state.value
|
|
181
|
+
});
|
|
182
|
+
return routerHistory;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
//#endregion
|
|
186
|
+
//#region src/history/memory.ts
|
|
187
|
+
/**
|
|
188
|
+
* Creates an in-memory based history. The main purpose of this history is to handle SSR. It starts in a special location that is nowhere.
|
|
189
|
+
* It's up to the user to replace that location with the starter location by either calling `router.push` or `router.replace`.
|
|
190
|
+
*
|
|
191
|
+
* @param base - Base applied to all urls, defaults to '/'
|
|
192
|
+
* @returns a history object that can be passed to the router constructor
|
|
193
|
+
*/
|
|
194
|
+
function createMemoryHistory(base = "") {
|
|
195
|
+
let listeners = [];
|
|
196
|
+
let queue = [[START, {}]];
|
|
197
|
+
let position = 0;
|
|
198
|
+
base = normalizeBase(base);
|
|
199
|
+
function setLocation(location$1, state = {}) {
|
|
200
|
+
position++;
|
|
201
|
+
if (position !== queue.length) queue.splice(position);
|
|
202
|
+
queue.push([location$1, state]);
|
|
203
|
+
}
|
|
204
|
+
function triggerListeners(to, from, { direction, delta }) {
|
|
205
|
+
const info = {
|
|
206
|
+
direction,
|
|
207
|
+
delta,
|
|
208
|
+
type: NavigationType.pop
|
|
209
|
+
};
|
|
210
|
+
for (const callback of listeners) callback(to, from, info);
|
|
211
|
+
}
|
|
212
|
+
const routerHistory = {
|
|
213
|
+
location: START,
|
|
214
|
+
state: {},
|
|
215
|
+
base,
|
|
216
|
+
createHref: createHref.bind(null, base),
|
|
217
|
+
replace(to, state) {
|
|
218
|
+
queue.splice(position--, 1);
|
|
219
|
+
setLocation(to, state);
|
|
220
|
+
},
|
|
221
|
+
push(to, state) {
|
|
222
|
+
setLocation(to, state);
|
|
223
|
+
},
|
|
224
|
+
listen(callback) {
|
|
225
|
+
listeners.push(callback);
|
|
226
|
+
return () => {
|
|
227
|
+
const index = listeners.indexOf(callback);
|
|
228
|
+
if (index > -1) listeners.splice(index, 1);
|
|
229
|
+
};
|
|
230
|
+
},
|
|
231
|
+
destroy() {
|
|
232
|
+
listeners = [];
|
|
233
|
+
queue = [[START, {}]];
|
|
234
|
+
position = 0;
|
|
235
|
+
},
|
|
236
|
+
go(delta, shouldTrigger = true) {
|
|
237
|
+
const from = this.location;
|
|
238
|
+
const direction = delta < 0 ? NavigationDirection.back : NavigationDirection.forward;
|
|
239
|
+
position = Math.max(0, Math.min(position + delta, queue.length - 1));
|
|
240
|
+
if (shouldTrigger) triggerListeners(this.location, from, {
|
|
241
|
+
direction,
|
|
242
|
+
delta
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
Object.defineProperty(routerHistory, "location", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: () => queue[position][0]
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(routerHistory, "state", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: () => queue[position][1]
|
|
253
|
+
});
|
|
254
|
+
return routerHistory;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
//#endregion
|
|
258
|
+
//#region src/history/hash.ts
|
|
259
|
+
/**
|
|
260
|
+
* Creates a hash history. Useful for web applications with no host (e.g. `file://`) or when configuring a server to
|
|
261
|
+
* handle any URL is not possible.
|
|
262
|
+
*
|
|
263
|
+
* @param base - optional base to provide. Defaults to `location.pathname + location.search` If there is a `<base>` tag
|
|
264
|
+
* in the `head`, its value will be ignored in favor of this parameter **but note it affects all the history.pushState()
|
|
265
|
+
* calls**, meaning that if you use a `<base>` tag, it's `href` value **has to match this parameter** (ignoring anything
|
|
266
|
+
* after the `#`).
|
|
267
|
+
*
|
|
268
|
+
* @example
|
|
269
|
+
* ```js
|
|
270
|
+
* // at https://example.com/folder
|
|
271
|
+
* createWebHashHistory() // gives a url of `https://example.com/folder#`
|
|
272
|
+
* createWebHashHistory('/folder/') // gives a url of `https://example.com/folder/#`
|
|
273
|
+
* // if the `#` is provided in the base, it won't be added by `createWebHashHistory`
|
|
274
|
+
* createWebHashHistory('/folder/#/app/') // gives a url of `https://example.com/folder/#/app/`
|
|
275
|
+
* // you should avoid doing this because it changes the original url and breaks copying urls
|
|
276
|
+
* createWebHashHistory('/other-folder/') // gives a url of `https://example.com/other-folder/#`
|
|
277
|
+
*
|
|
278
|
+
* // at file:///usr/etc/folder/index.html
|
|
279
|
+
* // for locations with no `host`, the base is ignored
|
|
280
|
+
* createWebHashHistory('/iAmIgnored') // gives a url of `file:///usr/etc/folder/index.html#`
|
|
281
|
+
* ```
|
|
282
|
+
*/
|
|
283
|
+
function createWebHashHistory(base) {
|
|
284
|
+
base = location.host ? base || location.pathname + location.search : "";
|
|
285
|
+
if (!base.includes("#")) base += "#";
|
|
286
|
+
if (process.env.NODE_ENV !== "production" && !base.endsWith("#/") && !base.endsWith("#")) warn$1(`A hash base must end with a "#":\n"${base}" should be "${base.replace(/#.*$/, "#")}".`);
|
|
287
|
+
return createWebHistory(base);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
//#endregion
|
|
291
|
+
//#region src/matcher/pathTokenizer.ts
|
|
292
|
+
let TokenType = /* @__PURE__ */ function(TokenType$1) {
|
|
293
|
+
TokenType$1[TokenType$1["Static"] = 0] = "Static";
|
|
294
|
+
TokenType$1[TokenType$1["Param"] = 1] = "Param";
|
|
295
|
+
TokenType$1[TokenType$1["Group"] = 2] = "Group";
|
|
296
|
+
return TokenType$1;
|
|
297
|
+
}({});
|
|
298
|
+
var TokenizerState = /* @__PURE__ */ function(TokenizerState$1) {
|
|
299
|
+
TokenizerState$1[TokenizerState$1["Static"] = 0] = "Static";
|
|
300
|
+
TokenizerState$1[TokenizerState$1["Param"] = 1] = "Param";
|
|
301
|
+
TokenizerState$1[TokenizerState$1["ParamRegExp"] = 2] = "ParamRegExp";
|
|
302
|
+
TokenizerState$1[TokenizerState$1["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
|
|
303
|
+
TokenizerState$1[TokenizerState$1["EscapeNext"] = 4] = "EscapeNext";
|
|
304
|
+
return TokenizerState$1;
|
|
305
|
+
}(TokenizerState || {});
|
|
306
|
+
const ROOT_TOKEN = {
|
|
307
|
+
type: TokenType.Static,
|
|
308
|
+
value: ""
|
|
309
|
+
};
|
|
310
|
+
const VALID_PARAM_RE = /[a-zA-Z0-9_]/;
|
|
311
|
+
function tokenizePath(path) {
|
|
312
|
+
if (!path) return [[]];
|
|
313
|
+
if (path === "/") return [[ROOT_TOKEN]];
|
|
314
|
+
if (!path.startsWith("/")) throw new Error(process.env.NODE_ENV !== "production" ? `Route paths should start with a "/": "${path}" should be "/${path}".` : `Invalid path "${path}"`);
|
|
315
|
+
function crash(message) {
|
|
316
|
+
throw new Error(`ERR (${state})/"${buffer}": ${message}`);
|
|
317
|
+
}
|
|
318
|
+
let state = TokenizerState.Static;
|
|
319
|
+
let previousState = state;
|
|
320
|
+
const tokens = [];
|
|
321
|
+
let segment;
|
|
322
|
+
function finalizeSegment() {
|
|
323
|
+
if (segment) tokens.push(segment);
|
|
324
|
+
segment = [];
|
|
325
|
+
}
|
|
326
|
+
let i = 0;
|
|
327
|
+
let char;
|
|
328
|
+
let buffer = "";
|
|
329
|
+
let customRe = "";
|
|
330
|
+
function consumeBuffer() {
|
|
331
|
+
if (!buffer) return;
|
|
332
|
+
if (state === TokenizerState.Static) segment.push({
|
|
333
|
+
type: TokenType.Static,
|
|
334
|
+
value: buffer
|
|
335
|
+
});
|
|
336
|
+
else if (state === TokenizerState.Param || state === TokenizerState.ParamRegExp || state === TokenizerState.ParamRegExpEnd) {
|
|
337
|
+
if (segment.length > 1 && (char === "*" || char === "+")) crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);
|
|
338
|
+
segment.push({
|
|
339
|
+
type: TokenType.Param,
|
|
340
|
+
value: buffer,
|
|
341
|
+
regexp: customRe,
|
|
342
|
+
repeatable: char === "*" || char === "+",
|
|
343
|
+
optional: char === "*" || char === "?"
|
|
344
|
+
});
|
|
345
|
+
} else crash("Invalid state to consume buffer");
|
|
346
|
+
buffer = "";
|
|
347
|
+
}
|
|
348
|
+
function addCharToBuffer() {
|
|
349
|
+
buffer += char;
|
|
350
|
+
}
|
|
351
|
+
while (i < path.length) {
|
|
352
|
+
char = path[i++];
|
|
353
|
+
if (char === "\\" && state !== TokenizerState.ParamRegExp) {
|
|
354
|
+
previousState = state;
|
|
355
|
+
state = TokenizerState.EscapeNext;
|
|
356
|
+
continue;
|
|
357
|
+
}
|
|
358
|
+
switch (state) {
|
|
359
|
+
case TokenizerState.Static:
|
|
360
|
+
if (char === "/") {
|
|
361
|
+
if (buffer) consumeBuffer();
|
|
362
|
+
finalizeSegment();
|
|
363
|
+
} else if (char === ":") {
|
|
364
|
+
consumeBuffer();
|
|
365
|
+
state = TokenizerState.Param;
|
|
366
|
+
} else addCharToBuffer();
|
|
367
|
+
break;
|
|
368
|
+
case TokenizerState.EscapeNext:
|
|
369
|
+
addCharToBuffer();
|
|
370
|
+
state = previousState;
|
|
371
|
+
break;
|
|
372
|
+
case TokenizerState.Param:
|
|
373
|
+
if (char === "(") state = TokenizerState.ParamRegExp;
|
|
374
|
+
else if (VALID_PARAM_RE.test(char)) addCharToBuffer();
|
|
375
|
+
else {
|
|
376
|
+
consumeBuffer();
|
|
377
|
+
state = TokenizerState.Static;
|
|
378
|
+
if (char !== "*" && char !== "?" && char !== "+") i--;
|
|
379
|
+
}
|
|
380
|
+
break;
|
|
381
|
+
case TokenizerState.ParamRegExp:
|
|
382
|
+
if (char === ")") if (customRe[customRe.length - 1] == "\\") customRe = customRe.slice(0, -1) + char;
|
|
383
|
+
else state = TokenizerState.ParamRegExpEnd;
|
|
384
|
+
else customRe += char;
|
|
385
|
+
break;
|
|
386
|
+
case TokenizerState.ParamRegExpEnd:
|
|
387
|
+
consumeBuffer();
|
|
388
|
+
state = TokenizerState.Static;
|
|
389
|
+
if (char !== "*" && char !== "?" && char !== "+") i--;
|
|
390
|
+
customRe = "";
|
|
391
|
+
break;
|
|
392
|
+
default:
|
|
393
|
+
crash("Unknown state");
|
|
394
|
+
break;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (state === TokenizerState.ParamRegExp) crash(`Unfinished custom RegExp for param "${buffer}"`);
|
|
398
|
+
consumeBuffer();
|
|
399
|
+
finalizeSegment();
|
|
400
|
+
return tokens;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
//#endregion
|
|
404
|
+
//#region src/matcher/pathParserRanker.ts
|
|
405
|
+
const BASE_PARAM_PATTERN = "[^/]+?";
|
|
406
|
+
const BASE_PATH_PARSER_OPTIONS = {
|
|
407
|
+
sensitive: false,
|
|
408
|
+
strict: false,
|
|
409
|
+
start: true,
|
|
410
|
+
end: true
|
|
411
|
+
};
|
|
412
|
+
var PathScore = /* @__PURE__ */ function(PathScore$1) {
|
|
413
|
+
PathScore$1[PathScore$1["_multiplier"] = 10] = "_multiplier";
|
|
414
|
+
PathScore$1[PathScore$1["Root"] = 90] = "Root";
|
|
415
|
+
PathScore$1[PathScore$1["Segment"] = 40] = "Segment";
|
|
416
|
+
PathScore$1[PathScore$1["SubSegment"] = 30] = "SubSegment";
|
|
417
|
+
PathScore$1[PathScore$1["Static"] = 40] = "Static";
|
|
418
|
+
PathScore$1[PathScore$1["Dynamic"] = 20] = "Dynamic";
|
|
419
|
+
PathScore$1[PathScore$1["BonusCustomRegExp"] = 10] = "BonusCustomRegExp";
|
|
420
|
+
PathScore$1[PathScore$1["BonusWildcard"] = -50] = "BonusWildcard";
|
|
421
|
+
PathScore$1[PathScore$1["BonusRepeatable"] = -20] = "BonusRepeatable";
|
|
422
|
+
PathScore$1[PathScore$1["BonusOptional"] = -8] = "BonusOptional";
|
|
423
|
+
PathScore$1[PathScore$1["BonusStrict"] = .7000000000000001] = "BonusStrict";
|
|
424
|
+
PathScore$1[PathScore$1["BonusCaseSensitive"] = .25] = "BonusCaseSensitive";
|
|
425
|
+
return PathScore$1;
|
|
426
|
+
}(PathScore || {});
|
|
427
|
+
const REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g;
|
|
428
|
+
/**
|
|
429
|
+
* Creates a path parser from an array of Segments (a segment is an array of Tokens)
|
|
430
|
+
*
|
|
431
|
+
* @param segments - array of segments returned by tokenizePath
|
|
432
|
+
* @param extraOptions - optional options for the regexp
|
|
433
|
+
* @returns a PathParser
|
|
434
|
+
*/
|
|
435
|
+
function tokensToParser(segments, extraOptions) {
|
|
436
|
+
const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);
|
|
437
|
+
const score = [];
|
|
438
|
+
let pattern = options.start ? "^" : "";
|
|
439
|
+
const keys = [];
|
|
440
|
+
for (const segment of segments) {
|
|
441
|
+
const segmentScores = segment.length ? [] : [PathScore.Root];
|
|
442
|
+
if (options.strict && !segment.length) pattern += "/";
|
|
443
|
+
for (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {
|
|
444
|
+
const token = segment[tokenIndex];
|
|
445
|
+
let subSegmentScore = PathScore.Segment + (options.sensitive ? PathScore.BonusCaseSensitive : 0);
|
|
446
|
+
if (token.type === TokenType.Static) {
|
|
447
|
+
if (!tokenIndex) pattern += "/";
|
|
448
|
+
pattern += token.value.replace(REGEX_CHARS_RE, "\\$&");
|
|
449
|
+
subSegmentScore += PathScore.Static;
|
|
450
|
+
} else if (token.type === TokenType.Param) {
|
|
451
|
+
const { value, repeatable, optional, regexp } = token;
|
|
452
|
+
keys.push({
|
|
453
|
+
name: value,
|
|
454
|
+
repeatable,
|
|
455
|
+
optional
|
|
456
|
+
});
|
|
457
|
+
const re$1 = regexp ? regexp : BASE_PARAM_PATTERN;
|
|
458
|
+
if (re$1 !== BASE_PARAM_PATTERN) {
|
|
459
|
+
subSegmentScore += PathScore.BonusCustomRegExp;
|
|
460
|
+
try {
|
|
461
|
+
`${re$1}`;
|
|
462
|
+
} catch (err) {
|
|
463
|
+
throw new Error(`Invalid custom RegExp for param "${value}" (${re$1}): ` + err.message);
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
let subPattern = repeatable ? `((?:${re$1})(?:/(?:${re$1}))*)` : `(${re$1})`;
|
|
467
|
+
if (!tokenIndex) subPattern = optional && segment.length < 2 ? `(?:/${subPattern})` : "/" + subPattern;
|
|
468
|
+
if (optional) subPattern += "?";
|
|
469
|
+
pattern += subPattern;
|
|
470
|
+
subSegmentScore += PathScore.Dynamic;
|
|
471
|
+
if (optional) subSegmentScore += PathScore.BonusOptional;
|
|
472
|
+
if (repeatable) subSegmentScore += PathScore.BonusRepeatable;
|
|
473
|
+
if (re$1 === ".*") subSegmentScore += PathScore.BonusWildcard;
|
|
474
|
+
}
|
|
475
|
+
segmentScores.push(subSegmentScore);
|
|
476
|
+
}
|
|
477
|
+
score.push(segmentScores);
|
|
478
|
+
}
|
|
479
|
+
if (options.strict && options.end) {
|
|
480
|
+
const i = score.length - 1;
|
|
481
|
+
score[i][score[i].length - 1] += PathScore.BonusStrict;
|
|
482
|
+
}
|
|
483
|
+
if (!options.strict) pattern += "/?";
|
|
484
|
+
if (options.end) pattern += "$";
|
|
485
|
+
else if (options.strict && !pattern.endsWith("/")) pattern += "(?:/|$)";
|
|
486
|
+
const re = new RegExp(pattern, options.sensitive ? "" : "i");
|
|
487
|
+
function parse(path) {
|
|
488
|
+
const match = path.match(re);
|
|
489
|
+
const params = {};
|
|
490
|
+
if (!match) return null;
|
|
491
|
+
for (let i = 1; i < match.length; i++) {
|
|
492
|
+
const value = match[i] || "";
|
|
493
|
+
const key = keys[i - 1];
|
|
494
|
+
params[key.name] = value && key.repeatable ? value.split("/") : value;
|
|
495
|
+
}
|
|
496
|
+
return params;
|
|
497
|
+
}
|
|
498
|
+
function stringify(params) {
|
|
499
|
+
let path = "";
|
|
500
|
+
let avoidDuplicatedSlash = false;
|
|
501
|
+
for (const segment of segments) {
|
|
502
|
+
if (!avoidDuplicatedSlash || !path.endsWith("/")) path += "/";
|
|
503
|
+
avoidDuplicatedSlash = false;
|
|
504
|
+
for (const token of segment) if (token.type === TokenType.Static) path += token.value;
|
|
505
|
+
else if (token.type === TokenType.Param) {
|
|
506
|
+
const { value, repeatable, optional } = token;
|
|
507
|
+
const param = value in params ? params[value] : "";
|
|
508
|
+
if (isArray(param) && !repeatable) throw new Error(`Provided param "${value}" is an array but it is not repeatable (* or + modifiers)`);
|
|
509
|
+
const text = isArray(param) ? param.join("/") : param;
|
|
510
|
+
if (!text) if (optional) {
|
|
511
|
+
if (segment.length < 2) if (path.endsWith("/")) path = path.slice(0, -1);
|
|
512
|
+
else avoidDuplicatedSlash = true;
|
|
513
|
+
} else throw new Error(`Missing required param "${value}"`);
|
|
514
|
+
path += text;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
return path || "/";
|
|
518
|
+
}
|
|
519
|
+
return {
|
|
520
|
+
re,
|
|
521
|
+
score,
|
|
522
|
+
keys,
|
|
523
|
+
parse,
|
|
524
|
+
stringify
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Compares an array of numbers as used in PathParser.score and returns a
|
|
529
|
+
* number. This function can be used to `sort` an array
|
|
530
|
+
*
|
|
531
|
+
* @param a - first array of numbers
|
|
532
|
+
* @param b - second array of numbers
|
|
533
|
+
* @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b
|
|
534
|
+
* should be sorted first
|
|
535
|
+
*/
|
|
536
|
+
function compareScoreArray(a, b) {
|
|
537
|
+
let i = 0;
|
|
538
|
+
while (i < a.length && i < b.length) {
|
|
539
|
+
const diff = b[i] - a[i];
|
|
540
|
+
if (diff) return diff;
|
|
541
|
+
i++;
|
|
542
|
+
}
|
|
543
|
+
if (a.length < b.length) return a.length === 1 && a[0] === PathScore.Static + PathScore.Segment ? -1 : 1;
|
|
544
|
+
else if (a.length > b.length) return b.length === 1 && b[0] === PathScore.Static + PathScore.Segment ? 1 : -1;
|
|
545
|
+
return 0;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Compare function that can be used with `sort` to sort an array of PathParser
|
|
549
|
+
*
|
|
550
|
+
* @param a - first PathParser
|
|
551
|
+
* @param b - second PathParser
|
|
552
|
+
* @returns 0 if both are equal, < 0 if a should be sorted first, > 0 if b
|
|
553
|
+
*/
|
|
554
|
+
function comparePathParserScore(a, b) {
|
|
555
|
+
let i = 0;
|
|
556
|
+
const aScore = a.score;
|
|
557
|
+
const bScore = b.score;
|
|
558
|
+
while (i < aScore.length && i < bScore.length) {
|
|
559
|
+
const comp = compareScoreArray(aScore[i], bScore[i]);
|
|
560
|
+
if (comp) return comp;
|
|
561
|
+
i++;
|
|
562
|
+
}
|
|
563
|
+
if (Math.abs(bScore.length - aScore.length) === 1) {
|
|
564
|
+
if (isLastScoreNegative(aScore)) return 1;
|
|
565
|
+
if (isLastScoreNegative(bScore)) return -1;
|
|
566
|
+
}
|
|
567
|
+
return bScore.length - aScore.length;
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* This allows detecting splats at the end of a path: /home/:id(.*)*
|
|
571
|
+
*
|
|
572
|
+
* @param score - score to check
|
|
573
|
+
* @returns true if the last entry is negative
|
|
574
|
+
*/
|
|
575
|
+
function isLastScoreNegative(score) {
|
|
576
|
+
const last = score[score.length - 1];
|
|
577
|
+
return score.length > 0 && last[last.length - 1] < 0;
|
|
578
|
+
}
|
|
579
|
+
const PATH_PARSER_OPTIONS_DEFAULTS = {
|
|
580
|
+
strict: false,
|
|
581
|
+
end: true,
|
|
582
|
+
sensitive: false
|
|
583
|
+
};
|
|
584
|
+
|
|
585
|
+
//#endregion
|
|
586
|
+
//#region src/matcher/pathMatcher.ts
|
|
587
|
+
function createRouteRecordMatcher(record, parent, options) {
|
|
588
|
+
const parser = tokensToParser(tokenizePath(record.path), options);
|
|
589
|
+
if (process.env.NODE_ENV !== "production") {
|
|
590
|
+
const existingKeys = /* @__PURE__ */ new Set();
|
|
591
|
+
for (const key of parser.keys) {
|
|
592
|
+
if (existingKeys.has(key.name)) warn$1(`Found duplicated params with name "${key.name}" for path "${record.path}". Only the last one will be available on "$route.params".`);
|
|
593
|
+
existingKeys.add(key.name);
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
const matcher = assign(parser, {
|
|
597
|
+
record,
|
|
598
|
+
parent,
|
|
599
|
+
children: [],
|
|
600
|
+
alias: []
|
|
601
|
+
});
|
|
602
|
+
if (parent) {
|
|
603
|
+
if (!matcher.record.aliasOf === !parent.record.aliasOf) parent.children.push(matcher);
|
|
604
|
+
}
|
|
605
|
+
return matcher;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
//#endregion
|
|
609
|
+
//#region src/matcher/index.ts
|
|
610
|
+
/**
|
|
611
|
+
* Creates a Router Matcher.
|
|
612
|
+
*
|
|
613
|
+
* @internal
|
|
614
|
+
* @param routes - array of initial routes
|
|
615
|
+
* @param globalOptions - global route options
|
|
616
|
+
*/
|
|
617
|
+
function createRouterMatcher(routes, globalOptions) {
|
|
618
|
+
const matchers = [];
|
|
619
|
+
const matcherMap = /* @__PURE__ */ new Map();
|
|
620
|
+
globalOptions = mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS, globalOptions);
|
|
621
|
+
function getRecordMatcher(name) {
|
|
622
|
+
return matcherMap.get(name);
|
|
623
|
+
}
|
|
624
|
+
function addRoute(record, parent, originalRecord) {
|
|
625
|
+
const isRootAdd = !originalRecord;
|
|
626
|
+
const mainNormalizedRecord = normalizeRouteRecord(record);
|
|
627
|
+
if (process.env.NODE_ENV !== "production") checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent);
|
|
628
|
+
mainNormalizedRecord.aliasOf = originalRecord && originalRecord.record;
|
|
629
|
+
const options = mergeOptions(globalOptions, record);
|
|
630
|
+
const normalizedRecords = [mainNormalizedRecord];
|
|
631
|
+
if ("alias" in record) {
|
|
632
|
+
const aliases = typeof record.alias === "string" ? [record.alias] : record.alias;
|
|
633
|
+
for (const alias of aliases) normalizedRecords.push(normalizeRouteRecord(assign({}, mainNormalizedRecord, {
|
|
634
|
+
components: originalRecord ? originalRecord.record.components : mainNormalizedRecord.components,
|
|
635
|
+
path: alias,
|
|
636
|
+
aliasOf: originalRecord ? originalRecord.record : mainNormalizedRecord
|
|
637
|
+
})));
|
|
638
|
+
}
|
|
639
|
+
let matcher;
|
|
640
|
+
let originalMatcher;
|
|
641
|
+
for (const normalizedRecord of normalizedRecords) {
|
|
642
|
+
const { path } = normalizedRecord;
|
|
643
|
+
if (parent && path[0] !== "/") {
|
|
644
|
+
const parentPath = parent.record.path;
|
|
645
|
+
const connectingSlash = parentPath[parentPath.length - 1] === "/" ? "" : "/";
|
|
646
|
+
normalizedRecord.path = parent.record.path + (path && connectingSlash + path);
|
|
647
|
+
}
|
|
648
|
+
if (process.env.NODE_ENV !== "production" && normalizedRecord.path === "*") throw new Error("Catch all routes (\"*\") must now be defined using a param with a custom regexp.\nSee more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.");
|
|
649
|
+
matcher = createRouteRecordMatcher(normalizedRecord, parent, options);
|
|
650
|
+
if (process.env.NODE_ENV !== "production" && parent && path[0] === "/") checkMissingParamsInAbsolutePath(matcher, parent);
|
|
651
|
+
if (originalRecord) {
|
|
652
|
+
originalRecord.alias.push(matcher);
|
|
653
|
+
if (process.env.NODE_ENV !== "production") checkSameParams(originalRecord, matcher);
|
|
654
|
+
} else {
|
|
655
|
+
originalMatcher = originalMatcher || matcher;
|
|
656
|
+
if (originalMatcher !== matcher) originalMatcher.alias.push(matcher);
|
|
657
|
+
if (isRootAdd && record.name && !isAliasRecord(matcher)) {
|
|
658
|
+
if (process.env.NODE_ENV !== "production") checkSameNameAsAncestor(record, parent);
|
|
659
|
+
removeRoute(record.name);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
if (isMatchable(matcher)) insertMatcher(matcher);
|
|
663
|
+
if (mainNormalizedRecord.children) {
|
|
664
|
+
const children = mainNormalizedRecord.children;
|
|
665
|
+
for (let i = 0; i < children.length; i++) addRoute(children[i], matcher, originalRecord && originalRecord.children[i]);
|
|
666
|
+
}
|
|
667
|
+
originalRecord = originalRecord || matcher;
|
|
668
|
+
}
|
|
669
|
+
return originalMatcher ? () => {
|
|
670
|
+
removeRoute(originalMatcher);
|
|
671
|
+
} : noop;
|
|
672
|
+
}
|
|
673
|
+
function removeRoute(matcherRef) {
|
|
674
|
+
if (isRouteName(matcherRef)) {
|
|
675
|
+
const matcher = matcherMap.get(matcherRef);
|
|
676
|
+
if (matcher) {
|
|
677
|
+
matcherMap.delete(matcherRef);
|
|
678
|
+
matchers.splice(matchers.indexOf(matcher), 1);
|
|
679
|
+
matcher.children.forEach(removeRoute);
|
|
680
|
+
matcher.alias.forEach(removeRoute);
|
|
681
|
+
}
|
|
682
|
+
} else {
|
|
683
|
+
const index = matchers.indexOf(matcherRef);
|
|
684
|
+
if (index > -1) {
|
|
685
|
+
matchers.splice(index, 1);
|
|
686
|
+
if (matcherRef.record.name) matcherMap.delete(matcherRef.record.name);
|
|
687
|
+
matcherRef.children.forEach(removeRoute);
|
|
688
|
+
matcherRef.alias.forEach(removeRoute);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
function getRoutes() {
|
|
693
|
+
return matchers;
|
|
694
|
+
}
|
|
695
|
+
function insertMatcher(matcher) {
|
|
696
|
+
const index = findInsertionIndex(matcher, matchers);
|
|
697
|
+
matchers.splice(index, 0, matcher);
|
|
698
|
+
if (matcher.record.name && !isAliasRecord(matcher)) matcherMap.set(matcher.record.name, matcher);
|
|
699
|
+
}
|
|
700
|
+
function resolve(location$1, currentLocation) {
|
|
701
|
+
let matcher;
|
|
702
|
+
let params = {};
|
|
703
|
+
let path;
|
|
704
|
+
let name;
|
|
705
|
+
if ("name" in location$1 && location$1.name) {
|
|
706
|
+
matcher = matcherMap.get(location$1.name);
|
|
707
|
+
if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location: location$1 });
|
|
708
|
+
if (process.env.NODE_ENV !== "production") {
|
|
709
|
+
const invalidParams = Object.keys(location$1.params || {}).filter((paramName) => !matcher.keys.find((k) => k.name === paramName));
|
|
710
|
+
if (invalidParams.length) warn$1(`Discarded invalid param(s) "${invalidParams.join("\", \"")}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
|
|
711
|
+
}
|
|
712
|
+
name = matcher.record.name;
|
|
713
|
+
params = assign(pickParams(currentLocation.params, matcher.keys.filter((k) => !k.optional).concat(matcher.parent ? matcher.parent.keys.filter((k) => k.optional) : []).map((k) => k.name)), location$1.params && pickParams(location$1.params, matcher.keys.map((k) => k.name)));
|
|
714
|
+
path = matcher.stringify(params);
|
|
715
|
+
} else if (location$1.path != null) {
|
|
716
|
+
path = location$1.path;
|
|
717
|
+
if (process.env.NODE_ENV !== "production" && !path.startsWith("/")) warn$1(`The Matcher cannot resolve relative paths but received "${path}". Unless you directly called \`matcher.resolve("${path}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`);
|
|
718
|
+
matcher = matchers.find((m) => m.re.test(path));
|
|
719
|
+
if (matcher) {
|
|
720
|
+
params = matcher.parse(path);
|
|
721
|
+
name = matcher.record.name;
|
|
722
|
+
}
|
|
723
|
+
} else {
|
|
724
|
+
matcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m) => m.re.test(currentLocation.path));
|
|
725
|
+
if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, {
|
|
726
|
+
location: location$1,
|
|
727
|
+
currentLocation
|
|
728
|
+
});
|
|
729
|
+
name = matcher.record.name;
|
|
730
|
+
params = assign({}, currentLocation.params, location$1.params);
|
|
731
|
+
path = matcher.stringify(params);
|
|
732
|
+
}
|
|
733
|
+
const matched = [];
|
|
734
|
+
let parentMatcher = matcher;
|
|
735
|
+
while (parentMatcher) {
|
|
736
|
+
matched.unshift(parentMatcher.record);
|
|
737
|
+
parentMatcher = parentMatcher.parent;
|
|
738
|
+
}
|
|
739
|
+
return {
|
|
740
|
+
name,
|
|
741
|
+
path,
|
|
742
|
+
params,
|
|
743
|
+
matched,
|
|
744
|
+
meta: mergeMetaFields(matched)
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
routes.forEach((route) => addRoute(route));
|
|
748
|
+
function clearRoutes() {
|
|
749
|
+
matchers.length = 0;
|
|
750
|
+
matcherMap.clear();
|
|
751
|
+
}
|
|
752
|
+
return {
|
|
753
|
+
addRoute,
|
|
754
|
+
resolve,
|
|
755
|
+
removeRoute,
|
|
756
|
+
clearRoutes,
|
|
757
|
+
getRoutes,
|
|
758
|
+
getRecordMatcher
|
|
759
|
+
};
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* Picks an object param to contain only specified keys.
|
|
763
|
+
*
|
|
764
|
+
* @param params - params object to pick from
|
|
765
|
+
* @param keys - keys to pick
|
|
766
|
+
*/
|
|
767
|
+
function pickParams(params, keys) {
|
|
768
|
+
const newParams = {};
|
|
769
|
+
for (const key of keys) if (key in params) newParams[key] = params[key];
|
|
770
|
+
return newParams;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Normalizes a RouteRecordRaw. Creates a copy
|
|
774
|
+
*
|
|
775
|
+
* @param record
|
|
776
|
+
* @returns the normalized version
|
|
777
|
+
*/
|
|
778
|
+
function normalizeRouteRecord(record) {
|
|
779
|
+
const normalized = {
|
|
780
|
+
path: record.path,
|
|
781
|
+
redirect: record.redirect,
|
|
782
|
+
name: record.name,
|
|
783
|
+
meta: record.meta || {},
|
|
784
|
+
aliasOf: record.aliasOf,
|
|
785
|
+
beforeEnter: record.beforeEnter,
|
|
786
|
+
props: normalizeRecordProps(record),
|
|
787
|
+
children: record.children || [],
|
|
788
|
+
instances: {},
|
|
789
|
+
leaveGuards: /* @__PURE__ */ new Set(),
|
|
790
|
+
updateGuards: /* @__PURE__ */ new Set(),
|
|
791
|
+
enterCallbacks: {},
|
|
792
|
+
components: "components" in record ? record.components || null : record.component && { default: record.component }
|
|
793
|
+
};
|
|
794
|
+
Object.defineProperty(normalized, "mods", { value: {} });
|
|
795
|
+
return normalized;
|
|
796
|
+
}
|
|
797
|
+
/**
|
|
798
|
+
* Normalize the optional `props` in a record to always be an object similar to
|
|
799
|
+
* components. Also accept a boolean for components.
|
|
800
|
+
* @param record
|
|
801
|
+
*/
|
|
802
|
+
function normalizeRecordProps(record) {
|
|
803
|
+
const propsObject = {};
|
|
804
|
+
const props = record.props || false;
|
|
805
|
+
if ("component" in record) propsObject.default = props;
|
|
806
|
+
else for (const name in record.components) propsObject[name] = typeof props === "object" ? props[name] : props;
|
|
807
|
+
return propsObject;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Checks if a record or any of its parent is an alias
|
|
811
|
+
* @param record
|
|
812
|
+
*/
|
|
813
|
+
function isAliasRecord(record) {
|
|
814
|
+
while (record) {
|
|
815
|
+
if (record.record.aliasOf) return true;
|
|
816
|
+
record = record.parent;
|
|
817
|
+
}
|
|
818
|
+
return false;
|
|
819
|
+
}
|
|
820
|
+
/**
|
|
821
|
+
* Merge meta fields of an array of records
|
|
822
|
+
*
|
|
823
|
+
* @param matched - array of matched records
|
|
824
|
+
*/
|
|
825
|
+
function mergeMetaFields(matched) {
|
|
826
|
+
return matched.reduce((meta, record) => assign(meta, record.meta), {});
|
|
827
|
+
}
|
|
828
|
+
function isSameParam(a, b) {
|
|
829
|
+
return a.name === b.name && a.optional === b.optional && a.repeatable === b.repeatable;
|
|
830
|
+
}
|
|
831
|
+
/**
|
|
832
|
+
* Check if a path and its alias have the same required params
|
|
833
|
+
*
|
|
834
|
+
* @param a - original record
|
|
835
|
+
* @param b - alias record
|
|
836
|
+
*/
|
|
837
|
+
function checkSameParams(a, b) {
|
|
838
|
+
for (const key of a.keys) if (!key.optional && !b.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias "${b.record.path}" and the original record: "${a.record.path}" must have the exact same param named "${key.name}"`);
|
|
839
|
+
for (const key of b.keys) if (!key.optional && !a.keys.find(isSameParam.bind(null, key))) return warn$1(`Alias "${b.record.path}" and the original record: "${a.record.path}" must have the exact same param named "${key.name}"`);
|
|
840
|
+
}
|
|
841
|
+
/**
|
|
842
|
+
* A route with a name and a child with an empty path without a name should warn when adding the route
|
|
843
|
+
*
|
|
844
|
+
* @param mainNormalizedRecord - RouteRecordNormalized
|
|
845
|
+
* @param parent - RouteRecordMatcher
|
|
846
|
+
*/
|
|
847
|
+
function checkChildMissingNameWithEmptyPath(mainNormalizedRecord, parent) {
|
|
848
|
+
if (parent && parent.record.name && !mainNormalizedRecord.name && !mainNormalizedRecord.path) warn$1(`The route named "${String(parent.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);
|
|
849
|
+
}
|
|
850
|
+
function checkSameNameAsAncestor(record, parent) {
|
|
851
|
+
for (let ancestor = parent; ancestor; ancestor = ancestor.parent) if (ancestor.record.name === record.name) throw new Error(`A route named "${String(record.name)}" has been added as a ${parent === ancestor ? "child" : "descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`);
|
|
852
|
+
}
|
|
853
|
+
function checkMissingParamsInAbsolutePath(record, parent) {
|
|
854
|
+
for (const key of parent.keys) if (!record.keys.find(isSameParam.bind(null, key))) return warn$1(`Absolute path "${record.record.path}" must have the exact same param named "${key.name}" as its parent "${parent.record.path}".`);
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* Performs a binary search to find the correct insertion index for a new matcher.
|
|
858
|
+
*
|
|
859
|
+
* Matchers are primarily sorted by their score. If scores are tied then we also consider parent/child relationships,
|
|
860
|
+
* with descendants coming before ancestors. If there's still a tie, new routes are inserted after existing routes.
|
|
861
|
+
*
|
|
862
|
+
* @param matcher - new matcher to be inserted
|
|
863
|
+
* @param matchers - existing matchers
|
|
864
|
+
*/
|
|
865
|
+
function findInsertionIndex(matcher, matchers) {
|
|
866
|
+
let lower = 0;
|
|
867
|
+
let upper = matchers.length;
|
|
868
|
+
while (lower !== upper) {
|
|
869
|
+
const mid = lower + upper >> 1;
|
|
870
|
+
if (comparePathParserScore(matcher, matchers[mid]) < 0) upper = mid;
|
|
871
|
+
else lower = mid + 1;
|
|
872
|
+
}
|
|
873
|
+
const insertionAncestor = getInsertionAncestor(matcher);
|
|
874
|
+
if (insertionAncestor) {
|
|
875
|
+
upper = matchers.lastIndexOf(insertionAncestor, upper - 1);
|
|
876
|
+
if (process.env.NODE_ENV !== "production" && upper < 0) warn$1(`Finding ancestor route "${insertionAncestor.record.path}" failed for "${matcher.record.path}"`);
|
|
877
|
+
}
|
|
878
|
+
return upper;
|
|
879
|
+
}
|
|
880
|
+
function getInsertionAncestor(matcher) {
|
|
881
|
+
let ancestor = matcher;
|
|
882
|
+
while (ancestor = ancestor.parent) if (isMatchable(ancestor) && comparePathParserScore(matcher, ancestor) === 0) return ancestor;
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
* Checks if a matcher can be reachable. This means if it's possible to reach it as a route. For example, routes without
|
|
886
|
+
* a component, or name, or redirect, are just used to group other routes.
|
|
887
|
+
* @param matcher
|
|
888
|
+
* @param matcher.record record of the matcher
|
|
889
|
+
* @returns
|
|
890
|
+
*/
|
|
891
|
+
function isMatchable({ record }) {
|
|
892
|
+
return !!(record.name || record.components && Object.keys(record.components).length || record.redirect);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
//#endregion
|
|
896
|
+
//#region src/RouterLink.ts
|
|
897
|
+
/**
|
|
898
|
+
* Returns the internal behavior of a {@link RouterLink} without the rendering part.
|
|
899
|
+
*
|
|
900
|
+
* @param props - a `to` location and an optional `replace` flag
|
|
901
|
+
*/
|
|
902
|
+
function useLink(props) {
|
|
903
|
+
const router = inject(routerKey);
|
|
904
|
+
const currentRoute = inject(routeLocationKey);
|
|
905
|
+
let hasPrevious = false;
|
|
906
|
+
let previousTo = null;
|
|
907
|
+
const route = computed(() => {
|
|
908
|
+
const to = unref(props.to);
|
|
909
|
+
if (process.env.NODE_ENV !== "production" && (!hasPrevious || to !== previousTo)) {
|
|
910
|
+
if (!isRouteLocation(to)) if (hasPrevious) warn$1(`Invalid value for prop "to" in useLink()\n- to:`, to, `\n- previous to:`, previousTo, `\n- props:`, props);
|
|
911
|
+
else warn$1(`Invalid value for prop "to" in useLink()\n- to:`, to, `\n- props:`, props);
|
|
912
|
+
previousTo = to;
|
|
913
|
+
hasPrevious = true;
|
|
914
|
+
}
|
|
915
|
+
return router.resolve(to);
|
|
916
|
+
});
|
|
917
|
+
const activeRecordIndex = computed(() => {
|
|
918
|
+
const { matched } = route.value;
|
|
919
|
+
const { length } = matched;
|
|
920
|
+
const routeMatched = matched[length - 1];
|
|
921
|
+
const currentMatched = currentRoute.matched;
|
|
922
|
+
if (!routeMatched || !currentMatched.length) return -1;
|
|
923
|
+
const index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));
|
|
924
|
+
if (index > -1) return index;
|
|
925
|
+
const parentRecordPath = getOriginalPath(matched[length - 2]);
|
|
926
|
+
return length > 1 && getOriginalPath(routeMatched) === parentRecordPath && currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index;
|
|
927
|
+
});
|
|
928
|
+
const isActive = computed(() => activeRecordIndex.value > -1 && includesParams(currentRoute.params, route.value.params));
|
|
929
|
+
const isExactActive = computed(() => activeRecordIndex.value > -1 && activeRecordIndex.value === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.value.params));
|
|
930
|
+
function navigate(e = {}) {
|
|
931
|
+
if (guardEvent(e)) {
|
|
932
|
+
const p = router[unref(props.replace) ? "replace" : "push"](unref(props.to)).catch(noop);
|
|
933
|
+
if (props.viewTransition && typeof document !== "undefined" && "startViewTransition" in document) document.startViewTransition(() => p);
|
|
934
|
+
return p;
|
|
935
|
+
}
|
|
936
|
+
return Promise.resolve();
|
|
937
|
+
}
|
|
938
|
+
if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser) {
|
|
939
|
+
const instance = getCurrentInstance();
|
|
940
|
+
if (instance) {
|
|
941
|
+
const linkContextDevtools = {
|
|
942
|
+
route: route.value,
|
|
943
|
+
isActive: isActive.value,
|
|
944
|
+
isExactActive: isExactActive.value,
|
|
945
|
+
error: null
|
|
946
|
+
};
|
|
947
|
+
instance.__vrl_devtools = instance.__vrl_devtools || [];
|
|
948
|
+
instance.__vrl_devtools.push(linkContextDevtools);
|
|
949
|
+
watchEffect(() => {
|
|
950
|
+
linkContextDevtools.route = route.value;
|
|
951
|
+
linkContextDevtools.isActive = isActive.value;
|
|
952
|
+
linkContextDevtools.isExactActive = isExactActive.value;
|
|
953
|
+
linkContextDevtools.error = isRouteLocation(unref(props.to)) ? null : "Invalid \"to\" value";
|
|
954
|
+
}, { flush: "post" });
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* NOTE: update {@link _RouterLinkI}'s `$slots` type when updating this
|
|
959
|
+
*/
|
|
960
|
+
return {
|
|
961
|
+
route,
|
|
962
|
+
href: computed(() => route.value.href),
|
|
963
|
+
isActive,
|
|
964
|
+
isExactActive,
|
|
965
|
+
navigate
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
function preferSingleVNode(vnodes) {
|
|
969
|
+
return vnodes.length === 1 ? vnodes[0] : vnodes;
|
|
970
|
+
}
|
|
971
|
+
const RouterLinkImpl = /* @__PURE__ */ defineComponent({
|
|
972
|
+
name: "RouterLink",
|
|
973
|
+
compatConfig: { MODE: 3 },
|
|
974
|
+
props: {
|
|
975
|
+
to: {
|
|
976
|
+
type: [String, Object],
|
|
977
|
+
required: true
|
|
978
|
+
},
|
|
979
|
+
replace: Boolean,
|
|
980
|
+
activeClass: String,
|
|
981
|
+
exactActiveClass: String,
|
|
982
|
+
custom: Boolean,
|
|
983
|
+
ariaCurrentValue: {
|
|
984
|
+
type: String,
|
|
985
|
+
default: "page"
|
|
986
|
+
},
|
|
987
|
+
viewTransition: Boolean
|
|
988
|
+
},
|
|
989
|
+
useLink,
|
|
990
|
+
setup(props, { slots }) {
|
|
991
|
+
const link = reactive(useLink(props));
|
|
992
|
+
const { options } = inject(routerKey);
|
|
993
|
+
const elClass = computed(() => ({
|
|
994
|
+
[getLinkClass(props.activeClass, options.linkActiveClass, "router-link-active")]: link.isActive,
|
|
995
|
+
[getLinkClass(props.exactActiveClass, options.linkExactActiveClass, "router-link-exact-active")]: link.isExactActive
|
|
996
|
+
}));
|
|
997
|
+
return () => {
|
|
998
|
+
const children = slots.default && preferSingleVNode(slots.default(link));
|
|
999
|
+
return props.custom ? children : h("a", {
|
|
1000
|
+
"aria-current": link.isExactActive ? props.ariaCurrentValue : null,
|
|
1001
|
+
href: link.href,
|
|
1002
|
+
onClick: link.navigate,
|
|
1003
|
+
class: elClass.value
|
|
1004
|
+
}, children);
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
});
|
|
1008
|
+
/**
|
|
1009
|
+
* Component to render a link that triggers a navigation on click.
|
|
1010
|
+
*/
|
|
1011
|
+
const RouterLink = RouterLinkImpl;
|
|
1012
|
+
function guardEvent(e) {
|
|
1013
|
+
if (e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) return;
|
|
1014
|
+
if (e.defaultPrevented) return;
|
|
1015
|
+
if (e.button !== void 0 && e.button !== 0) return;
|
|
1016
|
+
if (e.currentTarget && e.currentTarget.getAttribute) {
|
|
1017
|
+
const target = e.currentTarget.getAttribute("target");
|
|
1018
|
+
if (/\b_blank\b/i.test(target)) return;
|
|
1019
|
+
}
|
|
1020
|
+
if (e.preventDefault) e.preventDefault();
|
|
1021
|
+
return true;
|
|
1022
|
+
}
|
|
1023
|
+
function includesParams(outer, inner) {
|
|
1024
|
+
for (const key in inner) {
|
|
1025
|
+
const innerValue = inner[key];
|
|
1026
|
+
const outerValue = outer[key];
|
|
1027
|
+
if (typeof innerValue === "string") {
|
|
1028
|
+
if (innerValue !== outerValue) return false;
|
|
1029
|
+
} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value !== outerValue[i])) return false;
|
|
1030
|
+
}
|
|
1031
|
+
return true;
|
|
1032
|
+
}
|
|
1033
|
+
/**
|
|
1034
|
+
* Get the original path value of a record by following its aliasOf
|
|
1035
|
+
* @param record
|
|
1036
|
+
*/
|
|
1037
|
+
function getOriginalPath(record) {
|
|
1038
|
+
return record ? record.aliasOf ? record.aliasOf.path : record.path : "";
|
|
1039
|
+
}
|
|
1040
|
+
/**
|
|
1041
|
+
* Utility class to get the active class based on defaults.
|
|
1042
|
+
* @param propClass
|
|
1043
|
+
* @param globalClass
|
|
1044
|
+
* @param defaultClass
|
|
1045
|
+
*/
|
|
1046
|
+
const getLinkClass = (propClass, globalClass, defaultClass) => propClass != null ? propClass : globalClass != null ? globalClass : defaultClass;
|
|
1047
|
+
|
|
1048
|
+
//#endregion
|
|
1049
|
+
//#region src/RouterView.ts
|
|
1050
|
+
const RouterViewImpl = /* @__PURE__ */ defineComponent({
|
|
1051
|
+
name: "RouterView",
|
|
1052
|
+
inheritAttrs: false,
|
|
1053
|
+
props: {
|
|
1054
|
+
name: {
|
|
1055
|
+
type: String,
|
|
1056
|
+
default: "default"
|
|
1057
|
+
},
|
|
1058
|
+
route: Object
|
|
1059
|
+
},
|
|
1060
|
+
compatConfig: { MODE: 3 },
|
|
1061
|
+
setup(props, { attrs, slots }) {
|
|
1062
|
+
process.env.NODE_ENV !== "production" && warnDeprecatedUsage();
|
|
1063
|
+
const injectedRoute = inject(routerViewLocationKey);
|
|
1064
|
+
const routeToDisplay = computed(() => props.route || injectedRoute.value);
|
|
1065
|
+
const injectedDepth = inject(viewDepthKey, 0);
|
|
1066
|
+
const depth = computed(() => {
|
|
1067
|
+
let initialDepth = unref(injectedDepth);
|
|
1068
|
+
const { matched } = routeToDisplay.value;
|
|
1069
|
+
let matchedRoute;
|
|
1070
|
+
while ((matchedRoute = matched[initialDepth]) && !matchedRoute.components) initialDepth++;
|
|
1071
|
+
return initialDepth;
|
|
1072
|
+
});
|
|
1073
|
+
const matchedRouteRef = computed(() => routeToDisplay.value.matched[depth.value]);
|
|
1074
|
+
provide(viewDepthKey, computed(() => depth.value + 1));
|
|
1075
|
+
provide(matchedRouteKey, matchedRouteRef);
|
|
1076
|
+
provide(routerViewLocationKey, routeToDisplay);
|
|
1077
|
+
const viewRef = ref();
|
|
1078
|
+
watch(() => [
|
|
1079
|
+
viewRef.value,
|
|
1080
|
+
matchedRouteRef.value,
|
|
1081
|
+
props.name
|
|
1082
|
+
], ([instance, to, name], [oldInstance, from, oldName]) => {
|
|
1083
|
+
if (to) {
|
|
1084
|
+
to.instances[name] = instance;
|
|
1085
|
+
if (from && from !== to && instance && instance === oldInstance) {
|
|
1086
|
+
if (!to.leaveGuards.size) to.leaveGuards = from.leaveGuards;
|
|
1087
|
+
if (!to.updateGuards.size) to.updateGuards = from.updateGuards;
|
|
1088
|
+
}
|
|
1089
|
+
}
|
|
1090
|
+
if (instance && to && (!from || !isSameRouteRecord(to, from) || !oldInstance)) (to.enterCallbacks[name] || []).forEach((callback) => callback(instance));
|
|
1091
|
+
}, { flush: "post" });
|
|
1092
|
+
return () => {
|
|
1093
|
+
const route = routeToDisplay.value;
|
|
1094
|
+
const currentName = props.name;
|
|
1095
|
+
const matchedRoute = matchedRouteRef.value;
|
|
1096
|
+
const ViewComponent = matchedRoute && matchedRoute.components[currentName];
|
|
1097
|
+
if (!ViewComponent) return normalizeSlot(slots.default, {
|
|
1098
|
+
Component: ViewComponent,
|
|
1099
|
+
route
|
|
1100
|
+
});
|
|
1101
|
+
const routePropsOption = matchedRoute.props[currentName];
|
|
1102
|
+
const routeProps = routePropsOption ? routePropsOption === true ? route.params : typeof routePropsOption === "function" ? routePropsOption(route) : routePropsOption : null;
|
|
1103
|
+
const onVnodeUnmounted = (vnode) => {
|
|
1104
|
+
if (vnode.component.isUnmounted) matchedRoute.instances[currentName] = null;
|
|
1105
|
+
};
|
|
1106
|
+
const component = h(ViewComponent, assign({}, routeProps, attrs, {
|
|
1107
|
+
onVnodeUnmounted,
|
|
1108
|
+
ref: viewRef
|
|
1109
|
+
}));
|
|
1110
|
+
if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser && component.ref) {
|
|
1111
|
+
const info = {
|
|
1112
|
+
depth: depth.value,
|
|
1113
|
+
name: matchedRoute.name,
|
|
1114
|
+
path: matchedRoute.path,
|
|
1115
|
+
meta: matchedRoute.meta
|
|
1116
|
+
};
|
|
1117
|
+
(isArray(component.ref) ? component.ref.map((r) => r.i) : [component.ref.i]).forEach((instance) => {
|
|
1118
|
+
instance.__vrv_devtools = info;
|
|
1119
|
+
});
|
|
1120
|
+
}
|
|
1121
|
+
return normalizeSlot(slots.default, {
|
|
1122
|
+
Component: component,
|
|
1123
|
+
route
|
|
1124
|
+
}) || component;
|
|
1125
|
+
};
|
|
1126
|
+
}
|
|
1127
|
+
});
|
|
1128
|
+
function normalizeSlot(slot, data) {
|
|
1129
|
+
if (!slot) return null;
|
|
1130
|
+
const slotContent = slot(data);
|
|
1131
|
+
return slotContent.length === 1 ? slotContent[0] : slotContent;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
* Component to display the current route the user is at.
|
|
1135
|
+
*/
|
|
1136
|
+
const RouterView = RouterViewImpl;
|
|
1137
|
+
function warnDeprecatedUsage() {
|
|
1138
|
+
const instance = getCurrentInstance();
|
|
1139
|
+
const parentName = instance.parent && instance.parent.type.name;
|
|
1140
|
+
const parentSubTreeType = instance.parent && instance.parent.subTree && instance.parent.subTree.type;
|
|
1141
|
+
if (parentName && (parentName === "KeepAlive" || parentName.includes("Transition")) && typeof parentSubTreeType === "object" && parentSubTreeType.name === "RouterView") {
|
|
1142
|
+
const comp = parentName === "KeepAlive" ? "keep-alive" : "transition";
|
|
1143
|
+
warn$1(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
|
|
1144
|
+
Use slot props instead:
|
|
1145
|
+
|
|
1146
|
+
<router-view v-slot="{ Component }">
|
|
1147
|
+
<${comp}>\n <component :is="Component" />\n </${comp}>\n</router-view>`);
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
//#endregion
|
|
1152
|
+
//#region src/router.ts
|
|
1153
|
+
/**
|
|
1154
|
+
* Creates a Router instance that can be used by a Vue app.
|
|
1155
|
+
*
|
|
1156
|
+
* @param options - {@link RouterOptions}
|
|
1157
|
+
*/
|
|
1158
|
+
function createRouter(options) {
|
|
1159
|
+
const matcher = createRouterMatcher(options.routes, options);
|
|
1160
|
+
const parseQuery$1 = options.parseQuery || parseQuery;
|
|
1161
|
+
const stringifyQuery$1 = options.stringifyQuery || stringifyQuery;
|
|
1162
|
+
const routerHistory = options.history;
|
|
1163
|
+
if (process.env.NODE_ENV !== "production" && !routerHistory) throw new Error("Provide the \"history\" option when calling \"createRouter()\": https://router.vuejs.org/api/interfaces/RouterOptions.html#history");
|
|
1164
|
+
const beforeGuards = useCallbacks();
|
|
1165
|
+
const beforeResolveGuards = useCallbacks();
|
|
1166
|
+
const afterGuards = useCallbacks();
|
|
1167
|
+
const currentRoute = shallowRef(START_LOCATION_NORMALIZED);
|
|
1168
|
+
let pendingLocation = START_LOCATION_NORMALIZED;
|
|
1169
|
+
if (isBrowser && options.scrollBehavior && "scrollRestoration" in history) history.scrollRestoration = "manual";
|
|
1170
|
+
const normalizeParams = applyToParams.bind(null, (paramValue) => "" + paramValue);
|
|
1171
|
+
const encodeParams = applyToParams.bind(null, encodeParam);
|
|
1172
|
+
const decodeParams = applyToParams.bind(null, decode);
|
|
1173
|
+
function addRoute(parentOrRoute, route) {
|
|
1174
|
+
let parent;
|
|
1175
|
+
let record;
|
|
1176
|
+
if (isRouteName(parentOrRoute)) {
|
|
1177
|
+
parent = matcher.getRecordMatcher(parentOrRoute);
|
|
1178
|
+
if (process.env.NODE_ENV !== "production" && !parent) warn$1(`Parent route "${String(parentOrRoute)}" not found when adding child route`, route);
|
|
1179
|
+
record = route;
|
|
1180
|
+
} else record = parentOrRoute;
|
|
1181
|
+
return matcher.addRoute(record, parent);
|
|
1182
|
+
}
|
|
1183
|
+
function removeRoute(name) {
|
|
1184
|
+
const recordMatcher = matcher.getRecordMatcher(name);
|
|
1185
|
+
if (recordMatcher) matcher.removeRoute(recordMatcher);
|
|
1186
|
+
else if (process.env.NODE_ENV !== "production") warn$1(`Cannot remove non-existent route "${String(name)}"`);
|
|
1187
|
+
}
|
|
1188
|
+
function getRoutes() {
|
|
1189
|
+
return matcher.getRoutes().map((routeMatcher) => routeMatcher.record);
|
|
1190
|
+
}
|
|
1191
|
+
function hasRoute(name) {
|
|
1192
|
+
return !!matcher.getRecordMatcher(name);
|
|
1193
|
+
}
|
|
1194
|
+
function resolve(rawLocation, currentLocation) {
|
|
1195
|
+
currentLocation = assign({}, currentLocation || currentRoute.value);
|
|
1196
|
+
if (typeof rawLocation === "string") {
|
|
1197
|
+
const locationNormalized = parseURL(parseQuery$1, rawLocation, currentLocation.path);
|
|
1198
|
+
const matchedRoute$1 = matcher.resolve({ path: locationNormalized.path }, currentLocation);
|
|
1199
|
+
const href$1 = routerHistory.createHref(locationNormalized.fullPath);
|
|
1200
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1201
|
+
if (href$1.startsWith("//")) warn$1(`Location "${rawLocation}" resolved to "${href$1}". A resolved location cannot start with multiple slashes.`);
|
|
1202
|
+
else if (!matchedRoute$1.matched.length) warn$1(`No match found for location with path "${rawLocation}"`);
|
|
1203
|
+
}
|
|
1204
|
+
return assign(locationNormalized, matchedRoute$1, {
|
|
1205
|
+
params: decodeParams(matchedRoute$1.params),
|
|
1206
|
+
hash: decode(locationNormalized.hash),
|
|
1207
|
+
redirectedFrom: void 0,
|
|
1208
|
+
href: href$1
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1211
|
+
if (process.env.NODE_ENV !== "production" && !isRouteLocation(rawLocation)) {
|
|
1212
|
+
warn$1(`router.resolve() was passed an invalid location. This will fail in production.\n- Location:`, rawLocation);
|
|
1213
|
+
return resolve({});
|
|
1214
|
+
}
|
|
1215
|
+
let matcherLocation;
|
|
1216
|
+
if (rawLocation.path != null) {
|
|
1217
|
+
if (process.env.NODE_ENV !== "production" && "params" in rawLocation && !("name" in rawLocation) && Object.keys(rawLocation.params).length) warn$1(`Path "${rawLocation.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`);
|
|
1218
|
+
matcherLocation = assign({}, rawLocation, { path: parseURL(parseQuery$1, rawLocation.path, currentLocation.path).path });
|
|
1219
|
+
} else {
|
|
1220
|
+
const targetParams = assign({}, rawLocation.params);
|
|
1221
|
+
for (const key in targetParams) if (targetParams[key] == null) delete targetParams[key];
|
|
1222
|
+
matcherLocation = assign({}, rawLocation, { params: encodeParams(targetParams) });
|
|
1223
|
+
currentLocation.params = encodeParams(currentLocation.params);
|
|
1224
|
+
}
|
|
1225
|
+
const matchedRoute = matcher.resolve(matcherLocation, currentLocation);
|
|
1226
|
+
const hash = rawLocation.hash || "";
|
|
1227
|
+
if (process.env.NODE_ENV !== "production" && hash && !hash.startsWith("#")) warn$1(`A \`hash\` should always start with the character "#". Replace "${hash}" with "#${hash}".`);
|
|
1228
|
+
matchedRoute.params = normalizeParams(decodeParams(matchedRoute.params));
|
|
1229
|
+
const fullPath = stringifyURL(stringifyQuery$1, assign({}, rawLocation, {
|
|
1230
|
+
hash: encodeHash(hash),
|
|
1231
|
+
path: matchedRoute.path
|
|
1232
|
+
}));
|
|
1233
|
+
const href = routerHistory.createHref(fullPath);
|
|
1234
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1235
|
+
if (href.startsWith("//")) warn$1(`Location "${rawLocation}" resolved to "${href}". A resolved location cannot start with multiple slashes.`);
|
|
1236
|
+
else if (!matchedRoute.matched.length) warn$1(`No match found for location with path "${rawLocation.path != null ? rawLocation.path : rawLocation}"`);
|
|
1237
|
+
}
|
|
1238
|
+
return assign({
|
|
1239
|
+
fullPath,
|
|
1240
|
+
hash,
|
|
1241
|
+
query: stringifyQuery$1 === stringifyQuery ? normalizeQuery(rawLocation.query) : rawLocation.query || {}
|
|
1242
|
+
}, matchedRoute, {
|
|
1243
|
+
redirectedFrom: void 0,
|
|
1244
|
+
href
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
function locationAsObject(to) {
|
|
1248
|
+
return typeof to === "string" ? parseURL(parseQuery$1, to, currentRoute.value.path) : assign({}, to);
|
|
1249
|
+
}
|
|
1250
|
+
function checkCanceledNavigation(to, from) {
|
|
1251
|
+
if (pendingLocation !== to) return createRouterError(ErrorTypes.NAVIGATION_CANCELLED, {
|
|
1252
|
+
from,
|
|
1253
|
+
to
|
|
1254
|
+
});
|
|
1255
|
+
}
|
|
1256
|
+
function push(to) {
|
|
1257
|
+
return pushWithRedirect(to);
|
|
1258
|
+
}
|
|
1259
|
+
function replace(to) {
|
|
1260
|
+
return push(assign(locationAsObject(to), { replace: true }));
|
|
1261
|
+
}
|
|
1262
|
+
function handleRedirectRecord(to, from) {
|
|
1263
|
+
const lastMatched = to.matched[to.matched.length - 1];
|
|
1264
|
+
if (lastMatched && lastMatched.redirect) {
|
|
1265
|
+
const { redirect } = lastMatched;
|
|
1266
|
+
let newTargetLocation = typeof redirect === "function" ? redirect(to, from) : redirect;
|
|
1267
|
+
if (typeof newTargetLocation === "string") {
|
|
1268
|
+
newTargetLocation = newTargetLocation.includes("?") || newTargetLocation.includes("#") ? newTargetLocation = locationAsObject(newTargetLocation) : { path: newTargetLocation };
|
|
1269
|
+
newTargetLocation.params = {};
|
|
1270
|
+
}
|
|
1271
|
+
if (process.env.NODE_ENV !== "production" && newTargetLocation.path == null && !("name" in newTargetLocation)) {
|
|
1272
|
+
warn$1(`Invalid redirect found:\n${JSON.stringify(newTargetLocation, null, 2)}\n when navigating to "${to.fullPath}". A redirect must contain a name or path. This will break in production.`);
|
|
1273
|
+
throw new Error("Invalid redirect");
|
|
1274
|
+
}
|
|
1275
|
+
return assign({
|
|
1276
|
+
query: to.query,
|
|
1277
|
+
hash: to.hash,
|
|
1278
|
+
params: newTargetLocation.path != null ? {} : to.params
|
|
1279
|
+
}, newTargetLocation);
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
function pushWithRedirect(to, redirectedFrom) {
|
|
1283
|
+
const targetLocation = pendingLocation = resolve(to);
|
|
1284
|
+
const from = currentRoute.value;
|
|
1285
|
+
const data = to.state;
|
|
1286
|
+
const force = to.force;
|
|
1287
|
+
const replace$1 = to.replace === true;
|
|
1288
|
+
const shouldRedirect = handleRedirectRecord(targetLocation, from);
|
|
1289
|
+
if (shouldRedirect) return pushWithRedirect(assign(locationAsObject(shouldRedirect), {
|
|
1290
|
+
state: typeof shouldRedirect === "object" ? assign({}, data, shouldRedirect.state) : data,
|
|
1291
|
+
force,
|
|
1292
|
+
replace: replace$1
|
|
1293
|
+
}), redirectedFrom || targetLocation);
|
|
1294
|
+
const toLocation = targetLocation;
|
|
1295
|
+
toLocation.redirectedFrom = redirectedFrom;
|
|
1296
|
+
let failure;
|
|
1297
|
+
if (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {
|
|
1298
|
+
failure = createRouterError(ErrorTypes.NAVIGATION_DUPLICATED, {
|
|
1299
|
+
to: toLocation,
|
|
1300
|
+
from
|
|
1301
|
+
});
|
|
1302
|
+
handleScroll(from, from, true, false);
|
|
1303
|
+
}
|
|
1304
|
+
return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure$1) => {
|
|
1305
|
+
if (failure$1) {
|
|
1306
|
+
if (isNavigationFailure(failure$1, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {
|
|
1307
|
+
if (process.env.NODE_ENV !== "production" && isSameRouteLocation(stringifyQuery$1, resolve(failure$1.to), toLocation) && redirectedFrom && (redirectedFrom._count = redirectedFrom._count ? redirectedFrom._count + 1 : 1) > 30) {
|
|
1308
|
+
warn$1(`Detected a possibly infinite redirection in a navigation guard when going from "${from.fullPath}" to "${toLocation.fullPath}". Aborting to avoid a Stack Overflow.\n Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`);
|
|
1309
|
+
return Promise.reject(/* @__PURE__ */ new Error("Infinite redirect in navigation guard"));
|
|
1310
|
+
}
|
|
1311
|
+
return pushWithRedirect(assign({ replace: replace$1 }, locationAsObject(failure$1.to), {
|
|
1312
|
+
state: typeof failure$1.to === "object" ? assign({}, data, failure$1.to.state) : data,
|
|
1313
|
+
force
|
|
1314
|
+
}), redirectedFrom || toLocation);
|
|
1315
|
+
}
|
|
1316
|
+
} else failure$1 = finalizeNavigation(toLocation, from, true, replace$1, data);
|
|
1317
|
+
triggerAfterEach(toLocation, from, failure$1);
|
|
1318
|
+
return failure$1;
|
|
1319
|
+
});
|
|
1320
|
+
}
|
|
1321
|
+
/**
|
|
1322
|
+
* Helper to reject and skip all navigation guards if a new navigation happened
|
|
1323
|
+
* @param to
|
|
1324
|
+
* @param from
|
|
1325
|
+
*/
|
|
1326
|
+
function checkCanceledNavigationAndReject(to, from) {
|
|
1327
|
+
const error = checkCanceledNavigation(to, from);
|
|
1328
|
+
return error ? Promise.reject(error) : Promise.resolve();
|
|
1329
|
+
}
|
|
1330
|
+
function runWithContext(fn) {
|
|
1331
|
+
const app = installedApps.values().next().value;
|
|
1332
|
+
return app && typeof app.runWithContext === "function" ? app.runWithContext(fn) : fn();
|
|
1333
|
+
}
|
|
1334
|
+
function navigate(to, from) {
|
|
1335
|
+
let guards;
|
|
1336
|
+
const [leavingRecords, updatingRecords, enteringRecords] = extractChangingRecords(to, from);
|
|
1337
|
+
guards = extractComponentsGuards(leavingRecords.reverse(), "beforeRouteLeave", to, from);
|
|
1338
|
+
for (const record of leavingRecords) record.leaveGuards.forEach((guard) => {
|
|
1339
|
+
guards.push(guardToPromiseFn(guard, to, from));
|
|
1340
|
+
});
|
|
1341
|
+
const canceledNavigationCheck = checkCanceledNavigationAndReject.bind(null, to, from);
|
|
1342
|
+
guards.push(canceledNavigationCheck);
|
|
1343
|
+
return runGuardQueue(guards).then(() => {
|
|
1344
|
+
guards = [];
|
|
1345
|
+
for (const guard of beforeGuards.list()) guards.push(guardToPromiseFn(guard, to, from));
|
|
1346
|
+
guards.push(canceledNavigationCheck);
|
|
1347
|
+
return runGuardQueue(guards);
|
|
1348
|
+
}).then(() => {
|
|
1349
|
+
guards = extractComponentsGuards(updatingRecords, "beforeRouteUpdate", to, from);
|
|
1350
|
+
for (const record of updatingRecords) record.updateGuards.forEach((guard) => {
|
|
1351
|
+
guards.push(guardToPromiseFn(guard, to, from));
|
|
1352
|
+
});
|
|
1353
|
+
guards.push(canceledNavigationCheck);
|
|
1354
|
+
return runGuardQueue(guards);
|
|
1355
|
+
}).then(() => {
|
|
1356
|
+
guards = [];
|
|
1357
|
+
for (const record of enteringRecords) if (record.beforeEnter) if (isArray(record.beforeEnter)) for (const beforeEnter of record.beforeEnter) guards.push(guardToPromiseFn(beforeEnter, to, from));
|
|
1358
|
+
else guards.push(guardToPromiseFn(record.beforeEnter, to, from));
|
|
1359
|
+
guards.push(canceledNavigationCheck);
|
|
1360
|
+
return runGuardQueue(guards);
|
|
1361
|
+
}).then(() => {
|
|
1362
|
+
to.matched.forEach((record) => record.enterCallbacks = {});
|
|
1363
|
+
guards = extractComponentsGuards(enteringRecords, "beforeRouteEnter", to, from, runWithContext);
|
|
1364
|
+
guards.push(canceledNavigationCheck);
|
|
1365
|
+
return runGuardQueue(guards);
|
|
1366
|
+
}).then(() => {
|
|
1367
|
+
guards = [];
|
|
1368
|
+
for (const guard of beforeResolveGuards.list()) guards.push(guardToPromiseFn(guard, to, from));
|
|
1369
|
+
guards.push(canceledNavigationCheck);
|
|
1370
|
+
return runGuardQueue(guards);
|
|
1371
|
+
}).catch((err) => isNavigationFailure(err, ErrorTypes.NAVIGATION_CANCELLED) ? err : Promise.reject(err));
|
|
1372
|
+
}
|
|
1373
|
+
function triggerAfterEach(to, from, failure) {
|
|
1374
|
+
afterGuards.list().forEach((guard) => runWithContext(() => guard(to, from, failure)));
|
|
1375
|
+
}
|
|
1376
|
+
/**
|
|
1377
|
+
* - Cleans up any navigation guards
|
|
1378
|
+
* - Changes the url if necessary
|
|
1379
|
+
* - Calls the scrollBehavior
|
|
1380
|
+
*/
|
|
1381
|
+
function finalizeNavigation(toLocation, from, isPush, replace$1, data) {
|
|
1382
|
+
const error = checkCanceledNavigation(toLocation, from);
|
|
1383
|
+
if (error) return error;
|
|
1384
|
+
const isFirstNavigation = from === START_LOCATION_NORMALIZED;
|
|
1385
|
+
const state = !isBrowser ? {} : history.state;
|
|
1386
|
+
if (isPush) if (replace$1 || isFirstNavigation) routerHistory.replace(toLocation.fullPath, assign({ scroll: isFirstNavigation && state && state.scroll }, data));
|
|
1387
|
+
else routerHistory.push(toLocation.fullPath, data);
|
|
1388
|
+
currentRoute.value = toLocation;
|
|
1389
|
+
handleScroll(toLocation, from, isPush, isFirstNavigation);
|
|
1390
|
+
markAsReady();
|
|
1391
|
+
}
|
|
1392
|
+
let removeHistoryListener;
|
|
1393
|
+
function setupListeners() {
|
|
1394
|
+
if (removeHistoryListener) return;
|
|
1395
|
+
removeHistoryListener = routerHistory.listen((to, _from, info) => {
|
|
1396
|
+
if (!router.listening) return;
|
|
1397
|
+
const toLocation = resolve(to);
|
|
1398
|
+
const shouldRedirect = handleRedirectRecord(toLocation, router.currentRoute.value);
|
|
1399
|
+
if (shouldRedirect) {
|
|
1400
|
+
pushWithRedirect(assign(shouldRedirect, {
|
|
1401
|
+
replace: true,
|
|
1402
|
+
force: true
|
|
1403
|
+
}), toLocation).catch(noop);
|
|
1404
|
+
return;
|
|
1405
|
+
}
|
|
1406
|
+
pendingLocation = toLocation;
|
|
1407
|
+
const from = currentRoute.value;
|
|
1408
|
+
if (isBrowser) saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());
|
|
1409
|
+
navigate(toLocation, from).catch((error) => {
|
|
1410
|
+
if (isNavigationFailure(error, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_CANCELLED)) return error;
|
|
1411
|
+
if (isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {
|
|
1412
|
+
pushWithRedirect(assign(locationAsObject(error.to), { force: true }), toLocation).then((failure) => {
|
|
1413
|
+
if (isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED) && !info.delta && info.type === NavigationType.pop) routerHistory.go(-1, false);
|
|
1414
|
+
}).catch(noop);
|
|
1415
|
+
return Promise.reject();
|
|
1416
|
+
}
|
|
1417
|
+
if (info.delta) routerHistory.go(-info.delta, false);
|
|
1418
|
+
return triggerError(error, toLocation, from);
|
|
1419
|
+
}).then((failure) => {
|
|
1420
|
+
failure = failure || finalizeNavigation(toLocation, from, false);
|
|
1421
|
+
if (failure) {
|
|
1422
|
+
if (info.delta && !isNavigationFailure(failure, ErrorTypes.NAVIGATION_CANCELLED)) routerHistory.go(-info.delta, false);
|
|
1423
|
+
else if (info.type === NavigationType.pop && isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED)) routerHistory.go(-1, false);
|
|
1424
|
+
}
|
|
1425
|
+
triggerAfterEach(toLocation, from, failure);
|
|
1426
|
+
}).catch(noop);
|
|
1427
|
+
});
|
|
1428
|
+
}
|
|
1429
|
+
let readyHandlers = useCallbacks();
|
|
1430
|
+
let errorListeners = useCallbacks();
|
|
1431
|
+
let ready;
|
|
1432
|
+
/**
|
|
1433
|
+
* Trigger errorListeners added via onError and throws the error as well
|
|
1434
|
+
*
|
|
1435
|
+
* @param error - error to throw
|
|
1436
|
+
* @param to - location we were navigating to when the error happened
|
|
1437
|
+
* @param from - location we were navigating from when the error happened
|
|
1438
|
+
* @returns the error as a rejected promise
|
|
1439
|
+
*/
|
|
1440
|
+
function triggerError(error, to, from) {
|
|
1441
|
+
markAsReady(error);
|
|
1442
|
+
const list = errorListeners.list();
|
|
1443
|
+
if (list.length) list.forEach((handler) => handler(error, to, from));
|
|
1444
|
+
else {
|
|
1445
|
+
if (process.env.NODE_ENV !== "production") warn$1("uncaught error during route navigation:");
|
|
1446
|
+
console.error(error);
|
|
1447
|
+
}
|
|
1448
|
+
return Promise.reject(error);
|
|
1449
|
+
}
|
|
1450
|
+
function isReady() {
|
|
1451
|
+
if (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve();
|
|
1452
|
+
return new Promise((resolve$1, reject) => {
|
|
1453
|
+
readyHandlers.add([resolve$1, reject]);
|
|
1454
|
+
});
|
|
1455
|
+
}
|
|
1456
|
+
function markAsReady(err) {
|
|
1457
|
+
if (!ready) {
|
|
1458
|
+
ready = !err;
|
|
1459
|
+
setupListeners();
|
|
1460
|
+
readyHandlers.list().forEach(([resolve$1, reject]) => err ? reject(err) : resolve$1());
|
|
1461
|
+
readyHandlers.reset();
|
|
1462
|
+
}
|
|
1463
|
+
return err;
|
|
1464
|
+
}
|
|
1465
|
+
function handleScroll(to, from, isPush, isFirstNavigation) {
|
|
1466
|
+
const { scrollBehavior } = options;
|
|
1467
|
+
if (!isBrowser || !scrollBehavior) return Promise.resolve();
|
|
1468
|
+
const scrollPosition = !isPush && getSavedScrollPosition(getScrollKey(to.fullPath, 0)) || (isFirstNavigation || !isPush) && history.state && history.state.scroll || null;
|
|
1469
|
+
return nextTick().then(() => scrollBehavior(to, from, scrollPosition)).then((position) => position && scrollToPosition(position)).catch((err) => triggerError(err, to, from));
|
|
1470
|
+
}
|
|
1471
|
+
const go = (delta) => routerHistory.go(delta);
|
|
1472
|
+
let started;
|
|
1473
|
+
const installedApps = /* @__PURE__ */ new Set();
|
|
1474
|
+
const router = {
|
|
1475
|
+
currentRoute,
|
|
1476
|
+
listening: true,
|
|
1477
|
+
addRoute,
|
|
1478
|
+
removeRoute,
|
|
1479
|
+
clearRoutes: matcher.clearRoutes,
|
|
1480
|
+
hasRoute,
|
|
1481
|
+
getRoutes,
|
|
1482
|
+
resolve,
|
|
1483
|
+
options,
|
|
1484
|
+
push,
|
|
1485
|
+
replace,
|
|
1486
|
+
go,
|
|
1487
|
+
back: () => go(-1),
|
|
1488
|
+
forward: () => go(1),
|
|
1489
|
+
beforeEach: beforeGuards.add,
|
|
1490
|
+
beforeResolve: beforeResolveGuards.add,
|
|
1491
|
+
afterEach: afterGuards.add,
|
|
1492
|
+
onError: errorListeners.add,
|
|
1493
|
+
isReady,
|
|
1494
|
+
install(app) {
|
|
1495
|
+
app.component("RouterLink", RouterLink);
|
|
1496
|
+
app.component("RouterView", RouterView);
|
|
1497
|
+
app.config.globalProperties.$router = router;
|
|
1498
|
+
Object.defineProperty(app.config.globalProperties, "$route", {
|
|
1499
|
+
enumerable: true,
|
|
1500
|
+
get: () => unref(currentRoute)
|
|
1501
|
+
});
|
|
1502
|
+
if (isBrowser && !started && currentRoute.value === START_LOCATION_NORMALIZED) {
|
|
1503
|
+
started = true;
|
|
1504
|
+
push(routerHistory.location).catch((err) => {
|
|
1505
|
+
if (process.env.NODE_ENV !== "production") warn$1("Unexpected error when starting the router:", err);
|
|
1506
|
+
});
|
|
1507
|
+
}
|
|
1508
|
+
const reactiveRoute = {};
|
|
1509
|
+
for (const key in START_LOCATION_NORMALIZED) Object.defineProperty(reactiveRoute, key, {
|
|
1510
|
+
get: () => currentRoute.value[key],
|
|
1511
|
+
enumerable: true
|
|
1512
|
+
});
|
|
1513
|
+
app.provide(routerKey, router);
|
|
1514
|
+
app.provide(routeLocationKey, shallowReactive(reactiveRoute));
|
|
1515
|
+
app.provide(routerViewLocationKey, currentRoute);
|
|
1516
|
+
const unmountApp = app.unmount;
|
|
1517
|
+
installedApps.add(app);
|
|
1518
|
+
app.unmount = function() {
|
|
1519
|
+
installedApps.delete(app);
|
|
1520
|
+
if (installedApps.size < 1) {
|
|
1521
|
+
pendingLocation = START_LOCATION_NORMALIZED;
|
|
1522
|
+
removeHistoryListener && removeHistoryListener();
|
|
1523
|
+
removeHistoryListener = null;
|
|
1524
|
+
currentRoute.value = START_LOCATION_NORMALIZED;
|
|
1525
|
+
started = false;
|
|
1526
|
+
ready = false;
|
|
1527
|
+
}
|
|
1528
|
+
unmountApp();
|
|
1529
|
+
};
|
|
1530
|
+
if ((process.env.NODE_ENV !== "production" || __VUE_PROD_DEVTOOLS__) && isBrowser) addDevtools(app, router, matcher);
|
|
1531
|
+
}
|
|
1532
|
+
};
|
|
1533
|
+
function runGuardQueue(guards) {
|
|
1534
|
+
return guards.reduce((promise, guard) => promise.then(() => runWithContext(guard)), Promise.resolve());
|
|
1535
|
+
}
|
|
1536
|
+
return router;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
//#endregion
|
|
1540
|
+
//#region src/useApi.ts
|
|
1541
|
+
/**
|
|
1542
|
+
* Returns the router instance. Equivalent to using `$router` inside
|
|
1543
|
+
* templates.
|
|
1544
|
+
*/
|
|
1545
|
+
function useRouter() {
|
|
1546
|
+
return inject(routerKey);
|
|
1547
|
+
}
|
|
1548
|
+
/**
|
|
1549
|
+
* Returns the current route location. Equivalent to using `$route` inside
|
|
1550
|
+
* templates.
|
|
1551
|
+
*/
|
|
1552
|
+
function useRoute(_name) {
|
|
1553
|
+
return inject(routeLocationKey);
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
//#endregion
|
|
1557
|
+
export { NavigationFailureType, RouterLink, RouterView, START_LOCATION_NORMALIZED as START_LOCATION, createMemoryHistory, createRouter, createRouterMatcher, createWebHashHistory, createWebHistory, isNavigationFailure, loadRouteLocation, matchedRouteKey, onBeforeRouteLeave, onBeforeRouteUpdate, parseQuery, routeLocationKey, routerKey, routerViewLocationKey, stringifyQuery, useLink, useRoute, useRouter, viewDepthKey };
|