nuxt-ignis 0.5.1 → 0.5.3
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 +3 -2
- package/.nuxt/app.config.mjs +25 -1
- package/.nuxt/components.d.ts +480 -480
- package/.nuxt/content/components.ts +185 -208
- package/.nuxt/dev/index.mjs +660 -588
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.mjs +1 -1
- package/.nuxt/dist/server/client.precomputed.mjs +1 -1
- package/.nuxt/eslint-typegen.d.ts +22 -1
- package/.nuxt/eslint.config.d.mts +3 -3
- package/.nuxt/eslint.config.mjs +10 -10
- package/.nuxt/image/providers.d.ts +52 -0
- package/.nuxt/imports.d.ts +79 -68
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-highlighter.mjs +4 -3
- package/.nuxt/mdc-image-component.mjs +1 -1
- package/.nuxt/mdc-imports.mjs +2 -2
- package/.nuxt/module/nuxt-robots.d.ts +13 -12
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
- package/.nuxt/nitro.json +5 -5
- package/.nuxt/nuxt.d.ts +11 -12
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +12 -11
- package/.nuxt/nuxt.shared.d.ts +1 -0
- package/.nuxt/tsconfig.app.json +234 -241
- package/.nuxt/tsconfig.json +237 -244
- package/.nuxt/tsconfig.node.json +133 -132
- package/.nuxt/tsconfig.server.json +154 -162
- package/.nuxt/tsconfig.shared.json +69 -75
- package/.nuxt/types/app.config.d.ts +25 -1
- package/.nuxt/types/build.d.ts +1 -2
- package/.nuxt/types/components.d.ts +480 -480
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +395 -362
- package/.nuxt/types/modules.d.ts +24 -46
- package/.nuxt/types/nitro-imports.d.ts +390 -390
- package/.nuxt/types/nitro-nuxt.d.ts +2 -1
- package/.nuxt/types/nitro-routes.d.ts +25 -25
- package/.nuxt/types/plugins.d.ts +42 -42
- package/.nuxt/types/runtime-config.d.ts +56 -2
- package/.nuxt/types/ui.d.ts +3 -2
- package/.nuxt/ui/auth-form.ts +20 -0
- package/.nuxt/ui/badge.ts +1 -1
- package/.nuxt/ui/banner.ts +108 -0
- package/.nuxt/ui/blog-post.ts +142 -0
- package/.nuxt/ui/blog-posts.ts +9 -0
- package/.nuxt/ui/button.ts +1 -1
- package/.nuxt/ui/calendar.ts +221 -9
- package/.nuxt/ui/changelog-version.ts +41 -0
- package/.nuxt/ui/changelog-versions.ts +8 -0
- package/.nuxt/ui/chat-message.ts +136 -0
- package/.nuxt/ui/chat-messages.ts +14 -0
- package/.nuxt/ui/chat-palette.ts +8 -0
- package/.nuxt/ui/chat-prompt-submit.ts +5 -0
- package/.nuxt/ui/chat-prompt.ts +35 -0
- package/.nuxt/ui/checkbox-group.ts +4 -1
- package/.nuxt/ui/checkbox.ts +5 -4
- package/.nuxt/ui/color-picker.ts +2 -2
- package/.nuxt/ui/command-palette.ts +12 -2
- package/.nuxt/ui/content/content-navigation.ts +368 -0
- package/.nuxt/ui/content/content-search-button.ts +15 -0
- package/.nuxt/ui/content/content-search.ts +13 -0
- package/.nuxt/ui/content/content-surround.ts +34 -0
- package/.nuxt/ui/content/content-toc.ts +155 -0
- package/.nuxt/ui/context-menu.ts +3 -1
- package/.nuxt/ui/dashboard-group.ts +3 -0
- package/.nuxt/ui/dashboard-navbar.ts +21 -0
- package/.nuxt/ui/dashboard-panel.ts +17 -0
- package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
- package/.nuxt/ui/dashboard-search-button.ts +15 -0
- package/.nuxt/ui/dashboard-search.ts +13 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar.ts +37 -0
- package/.nuxt/ui/dashboard-toolbar.ts +7 -0
- package/.nuxt/ui/dropdown-menu.ts +3 -1
- package/.nuxt/ui/empty.ts +83 -0
- package/.nuxt/ui/error.ts +9 -0
- package/.nuxt/ui/footer-columns.ts +28 -0
- package/.nuxt/ui/footer.ts +11 -0
- package/.nuxt/ui/header.ts +25 -0
- package/.nuxt/ui/index.ts +57 -2
- package/.nuxt/ui/input-date.ts +343 -0
- package/.nuxt/ui/input-menu.ts +13 -3
- package/.nuxt/ui/input-number.ts +26 -15
- package/.nuxt/ui/input-tags.ts +1 -1
- package/.nuxt/ui/input-time.ts +342 -0
- package/.nuxt/ui/input.ts +1 -1
- package/.nuxt/ui/kbd.ts +1 -1
- package/.nuxt/ui/main.ts +3 -0
- package/.nuxt/ui/marquee.ts +66 -0
- package/.nuxt/ui/modal.ts +36 -5
- package/.nuxt/ui/navigation-menu.ts +2 -0
- package/.nuxt/ui/page-anchors.ts +30 -0
- package/.nuxt/ui/page-aside.ts +10 -0
- package/.nuxt/ui/page-body.ts +3 -0
- package/.nuxt/ui/page-card.ts +279 -0
- package/.nuxt/ui/page-columns.ts +3 -0
- package/.nuxt/ui/page-cta.ts +70 -0
- package/.nuxt/ui/page-feature.ts +26 -0
- package/.nuxt/ui/page-grid.ts +3 -0
- package/.nuxt/ui/page-header.ts +18 -0
- package/.nuxt/ui/page-hero.ts +44 -0
- package/.nuxt/ui/page-links.ts +25 -0
- package/.nuxt/ui/page-list.ts +8 -0
- package/.nuxt/ui/page-logos.ts +15 -0
- package/.nuxt/ui/page-section.ts +84 -0
- package/.nuxt/ui/page.ts +32 -0
- package/.nuxt/ui/pricing-plan.ts +101 -0
- package/.nuxt/ui/pricing-plans.ts +22 -0
- package/.nuxt/ui/pricing-table.ts +51 -0
- package/.nuxt/ui/prose/a.ts +6 -0
- package/.nuxt/ui/prose/accordion-item.ts +3 -0
- package/.nuxt/ui/prose/accordion.ts +6 -0
- package/.nuxt/ui/prose/badge.ts +3 -0
- package/.nuxt/ui/prose/blockquote.ts +3 -0
- package/.nuxt/ui/prose/callout.ts +129 -0
- package/.nuxt/ui/prose/card-group.ts +3 -0
- package/.nuxt/ui/prose/card.ts +119 -0
- package/.nuxt/ui/prose/code-collapse.ts +19 -0
- package/.nuxt/ui/prose/code-group.ts +13 -0
- package/.nuxt/ui/prose/code-icon.ts +66 -0
- package/.nuxt/ui/prose/code-preview.ts +14 -0
- package/.nuxt/ui/prose/code-tree.ts +28 -0
- package/.nuxt/ui/prose/code.ts +27 -0
- package/.nuxt/ui/prose/collapsible.ts +12 -0
- package/.nuxt/ui/prose/em.ts +3 -0
- package/.nuxt/ui/prose/field-group.ts +3 -0
- package/.nuxt/ui/prose/field.ts +11 -0
- package/.nuxt/ui/prose/h1.ts +6 -0
- package/.nuxt/ui/prose/h2.ts +14 -0
- package/.nuxt/ui/prose/h3.ts +14 -0
- package/.nuxt/ui/prose/h4.ts +6 -0
- package/.nuxt/ui/prose/hr.ts +3 -0
- package/.nuxt/ui/prose/icon.ts +3 -0
- package/.nuxt/ui/prose/img.ts +23 -0
- package/.nuxt/ui/prose/index.ts +41 -0
- package/.nuxt/ui/prose/kbd.ts +3 -0
- package/.nuxt/ui/prose/li.ts +3 -0
- package/.nuxt/ui/prose/ol.ts +3 -0
- package/.nuxt/ui/prose/p.ts +3 -0
- package/.nuxt/ui/prose/pre.ts +17 -0
- package/.nuxt/ui/prose/steps.ts +19 -0
- package/.nuxt/ui/prose/strong.ts +3 -0
- package/.nuxt/ui/prose/table.ts +6 -0
- package/.nuxt/ui/prose/tabs-item.ts +3 -0
- package/.nuxt/ui/prose/tabs.ts +5 -0
- package/.nuxt/ui/prose/tbody.ts +3 -0
- package/.nuxt/ui/prose/td.ts +3 -0
- package/.nuxt/ui/prose/th.ts +3 -0
- package/.nuxt/ui/prose/thead.ts +3 -0
- package/.nuxt/ui/prose/tr.ts +3 -0
- package/.nuxt/ui/prose/ul.ts +3 -0
- package/.nuxt/ui/radio-group.ts +5 -3
- package/.nuxt/ui/select-menu.ts +13 -3
- package/.nuxt/ui/select.ts +5 -3
- package/.nuxt/ui/switch.ts +4 -3
- package/.nuxt/ui/table.ts +8 -2
- package/.nuxt/ui/textarea.ts +1 -1
- package/.nuxt/ui/tree.ts +24 -10
- package/.nuxt/ui/user.ts +101 -0
- package/.nuxt/ui-image-component.ts +1 -1
- package/.nuxt/ui.css +6 -0
- package/.output/nitro.json +3 -3
- package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-4kZc4IwOXqryLeYzsaTvEKd54SPfeeGKPyDAZei18kw.woff +0 -0
- package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-RvZUU2X45U7WIDI083h9MozPZMSPdvOCkgsORsWvPOw.woff +0 -0
- package/.output/public/_fonts/1ZTlEDqU4DtwDJiND8f6qaugUpa0RIDvQl-v7iM6l54-mSqNnHyoMtDKNu3z_xDpL0hWMcL0lhabY3Oa0dnS5HM.woff +0 -0
- package/.output/public/_ignis-config.json +7 -1
- package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
- package/.output/public/_nuxt/-z2jk33i.js +1 -0
- package/.output/public/_nuxt/3L5yAyVe.js +1 -0
- package/.output/public/_nuxt/8nlalpbc.js +1 -0
- package/.output/public/_nuxt/As5Zy5cG.js +1 -0
- package/.output/public/_nuxt/B-TDuiGE.js +1 -0
- package/.output/public/_nuxt/B04mZI32.js +1 -0
- package/.output/public/_nuxt/B3zmx-p1.js +1 -0
- package/.output/public/_nuxt/B4eQjLRH.js +1 -0
- package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
- package/.output/public/_nuxt/BB2ULiwb.js +1 -0
- package/.output/public/_nuxt/BEvX3xjB.js +1 -0
- package/.output/public/_nuxt/BFcGh2xo.js +1 -0
- package/.output/public/_nuxt/BFdGKCUO.js +1 -0
- package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
- package/.output/public/_nuxt/BeRTSVEP.js +1 -0
- package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
- package/.output/public/_nuxt/BvFz8iHh.js +1 -0
- package/.output/public/_nuxt/BwUgVogm.js +1 -0
- package/.output/public/_nuxt/C1fHW8CN.js +1 -0
- package/.output/public/_nuxt/C1getMtX.js +49 -0
- package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
- package/.output/public/_nuxt/CExm4AMI.js +1 -0
- package/.output/public/_nuxt/CHcd0nHy.js +1 -0
- package/.output/public/_nuxt/CTbEZMxa.js +1 -0
- package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
- package/.output/public/_nuxt/Cna7T5zY.js +1 -0
- package/.output/public/_nuxt/CnghUxEk.js +1 -0
- package/.output/public/_nuxt/CvJSUdvI.js +1 -0
- package/.output/public/_nuxt/CwgBHvd_.js +1 -0
- package/.output/public/_nuxt/D1nIr4-J.js +1 -0
- package/.output/public/_nuxt/D2atCez-.js +1 -0
- package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
- package/.output/public/_nuxt/D5duQQkG.js +1 -0
- package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
- package/.output/public/_nuxt/DB3c8m3K.js +1 -0
- package/.output/public/_nuxt/DFP1sKjc.js +1 -0
- package/.output/public/_nuxt/DI5_qtj_.js +1 -0
- package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
- package/.output/public/_nuxt/DN3AlbuD.js +1 -0
- package/.output/public/_nuxt/DPDbQA17.js +1 -0
- package/.output/public/_nuxt/DSErOj49.js +1 -0
- package/.output/public/_nuxt/DXrSmKSt.js +1 -0
- package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
- package/.output/public/_nuxt/DgCebJqk.js +1 -0
- package/.output/public/_nuxt/DhhwMwQM.js +1 -0
- package/.output/public/_nuxt/Djhwz52y.js +1 -0
- package/.output/public/_nuxt/DnE1KSqg.js +1 -0
- package/.output/public/_nuxt/DncFEy6i.js +1 -0
- package/.output/public/_nuxt/DpZCZGQO.js +1 -0
- package/.output/public/_nuxt/Dx95U2T3.js +1 -0
- package/.output/public/_nuxt/FUdAqSn9.js +9 -0
- package/.output/public/_nuxt/GvxWNFgu.js +1 -0
- package/.output/public/_nuxt/HgKyGH3C.js +1 -0
- package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
- package/.output/public/_nuxt/LpFrvoF7.js +1 -0
- package/.output/public/_nuxt/Pre.HegCCrfd.css +2 -0
- package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
- package/.output/public/_nuxt/U1_7ggcx.js +1 -0
- package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
- package/.output/public/_nuxt/ahq42_9S.js +1 -0
- package/.output/public/_nuxt/b0AtYQ73.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
- package/.output/public/_nuxt/efC_w6sP.js +1 -0
- package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
- package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
- package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
- package/.output/public/_nuxt/ulE7jr93.js +1 -0
- package/.output/public/_nuxt/xHyrElgL.js +1 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
- package/.output/server/chunks/_/nitro.mjs +1221 -1219
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
- package/.output/server/chunks/raw/headers.mjs.map +1 -1
- package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +27 -2
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
- package/.output/server/chunks/virtual/global-sources.mjs +0 -8
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/convertor/create.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/data-patch.js +6 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/data.js +95 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/SyntaxError.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/generate.js +131 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/index.js +4 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/parse.js +584 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/tokenizer.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/definition-syntax/walk.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/create.js +98 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/sourceMap.js +92 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/generator/token-before.js +182 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/index.js +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/Lexer.js +453 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/error.js +123 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-an-plus-b.js +238 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-const.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic-urange.js +151 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/generic.js +598 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/match-graph.js +456 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/match.js +630 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/prepare-tokens.js +50 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/search.js +61 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/structure.js +164 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/lexer/trace.js +66 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/SyntaxError.js +65 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/create.js +346 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/parser/sequence.js +43 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/font-face.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/import.js +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/index.js +13 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/media.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/page.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/atrule/supports.js +80 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/lexer.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/mix.js +138 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/parser.js +30 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/config/walker.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/create.js +53 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/function/expression.js +7 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/function/var.js +39 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/index.js +10 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AnPlusB.js +292 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Atrule.js +100 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AtrulePrelude.js +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/AttributeSelector.js +147 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Block.js +89 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Brackets.js +35 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/CDC.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/CDO.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/ClassSelector.js +24 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Combinator.js +54 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Comment.js +33 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Declaration.js +165 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/DeclarationList.js +49 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Dimension.js +23 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Function.js +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Hash.js +23 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/IdSelector.js +26 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Identifier.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaFeature.js +77 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaQuery.js +60 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/MediaQueryList.js +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Nth.js +47 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Number.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Operator.js +21 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Parentheses.js +34 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Percentage.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/PseudoClassSelector.js +63 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/PseudoElementSelector.js +64 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Ratio.js +59 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Raw.js +41 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Rule.js +51 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Selector.js +32 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/SelectorList.js +35 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/String.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/StyleSheet.js +82 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/TypeSelector.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/UnicodeRange.js +156 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Url.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/Value.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/WhiteSpace.js +27 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/index-parse.js +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/node/index.js +40 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/pseudo/index.js +48 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/atrulePrelude.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/default.js +85 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/index.js +3 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/selector.js +90 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/syntax/scope/value.js +25 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/OffsetToLocation.js +87 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/TokenStream.js +272 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/adopt-buffer.js +9 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/char-code-definitions.js +207 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/index.js +513 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/names.js +27 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/types.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/tokenizer/utils.js +254 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/List.js +469 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/clone.js +21 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/create-custom-error.js +14 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/ident.js +101 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/names.js +106 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/string.js +99 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/utils/url.js +108 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/version.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/lib/walker/create.js +287 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/convertor/create.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/data-patch.js +6 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/data.js +118 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/SyntaxError.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/generate.js +135 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/index.js +4 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/parse.js +552 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/scanner.js +109 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/definition-syntax/walk.js +53 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/create.js +97 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/sourceMap.js +92 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/generator/token-before.js +182 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/index.js +30 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/Lexer.js +511 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/error.js +123 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-an-plus-b.js +238 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-const.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic-urange.js +151 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/generic.js +622 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/match-graph.js +527 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/match.js +630 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/prepare-tokens.js +50 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/search.js +61 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/structure.js +169 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/trace.js +66 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/lexer/units.js +27 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/SyntaxError.js +70 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/create.js +350 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/parser/sequence.js +43 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/container.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/font-face.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/import.js +104 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/index.js +23 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/layer.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/media.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/nest.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/page.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/scope.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/starting-style.js +8 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/atrule/supports.js +12 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/lexer.js +10 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/mix.js +123 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/parser.js +45 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/config/walker.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/create.js +55 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/function/expression.js +7 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/function/var.js +39 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/index.js +10 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AnPlusB.js +292 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Atrule.js +100 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AtrulePrelude.js +47 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/AttributeSelector.js +147 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Block.js +95 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Brackets.js +35 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/CDC.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/CDO.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/ClassSelector.js +24 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Combinator.js +54 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Comment.js +33 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Condition.js +123 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Declaration.js +165 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/DeclarationList.js +62 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Dimension.js +23 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Feature.js +103 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/FeatureFunction.js +63 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/FeatureRange.js +133 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Function.js +41 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/GeneralEnclosed.js +66 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Hash.js +23 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/IdSelector.js +26 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Identifier.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Layer.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/LayerList.js +36 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/MediaQuery.js +102 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/MediaQueryList.js +34 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/NestingSelector.js +22 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Nth.js +47 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Number.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Operator.js +21 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Parentheses.js +34 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Percentage.js +18 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/PseudoClassSelector.js +65 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/PseudoElementSelector.js +66 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Ratio.js +68 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Raw.js +41 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Rule.js +51 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Scope.js +66 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Selector.js +31 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/SelectorList.js +35 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/String.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/StyleSheet.js +82 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/SupportsDeclaration.js +34 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/TypeSelector.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/UnicodeRange.js +156 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Url.js +52 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/Value.js +19 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/WhiteSpace.js +27 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/index-parse.js +49 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/node/index.js +49 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/pseudo/index.js +56 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/pseudo/lang.js +33 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/atrulePrelude.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/default.js +85 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/index.js +3 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/selector.js +94 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/syntax/scope/value.js +25 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/OffsetToLocation.js +87 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/TokenStream.js +316 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/adopt-buffer.js +9 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/char-code-definitions.js +212 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/index.js +513 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/names.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/types.js +28 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/tokenizer/utils.js +254 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/List.js +469 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/clone.js +21 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/create-custom-error.js +14 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/ident.js +101 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/names.js +106 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/string.js +99 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/utils/url.js +108 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/version.js +5 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/lib/walker/create.js +287 -0
- package/.output/server/node_modules/.nitro/css-tree@3.1.0/package.json +125 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/decode.js +496 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/decode_codepoint.js +71 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/encode.js +69 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/escape.js +116 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/generated/encode-html.js +10 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/index.js +99 -0
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/esm/package.json +1 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
- package/.output/server/node_modules/@fastify/accept-negotiator/package.json +42 -16
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.js +292 -0
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.js +702 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/common.js +76 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/format.js +40 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.js +52 -0
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.js +133 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.js +20 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.js +31 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.js +80 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.js +102 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.js +29 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.js +60 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.js +50 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.js +204 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.js +35 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.js +134 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.js +167 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.js +81 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.js +78 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.js +68 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.js +47 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.js +105 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.js +94 -0
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.js +64 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.js +26 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.js +18 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.js +58 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.js +34 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.js +13 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.js +126 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.js +21 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.js +38 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.js +93 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.js +48 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.js +24 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.js +44 -0
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.js +125 -0
- package/.output/server/node_modules/@iconify/utils/lib/index.js +53 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.js +63 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.js +27 -0
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.js +115 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.js +32 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +15 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.js +10 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.js +42 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.js +69 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.js +55 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.js +28 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.js +8 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.js +23 -0
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.js +9 -0
- package/.output/server/node_modules/@iconify/utils/package.json +88 -417
- package/.output/server/node_modules/@img/colour/color.cjs +1594 -0
- package/.output/server/node_modules/@img/colour/index.cjs +1 -0
- package/.output/server/node_modules/@img/colour/package.json +45 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/LICENSE +191 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/lib/libvips-42.dll +0 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/lib/libvips-cpp-8.17.3.dll +0 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/lib/sharp-win32-x64.node +0 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/package.json +39 -0
- package/.output/server/node_modules/@img/sharp-win32-x64/versions.json +30 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
- package/.output/server/node_modules/@intlify/core/package.json +3 -3
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
- package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
- package/.output/server/node_modules/@intlify/h3/dist/index.mjs +5 -1
- package/.output/server/node_modules/@intlify/h3/package.json +81 -48
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
- package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
- package/.output/server/node_modules/@intlify/shared/package.json +1 -1
- package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
- package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
- package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
- package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
- package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
- package/.output/server/node_modules/@poppinss/string/package.json +28 -25
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +144 -41
- package/.output/server/node_modules/@shikijs/core/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +3 -3
- package/.output/server/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +3 -3
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/.output/server/node_modules/@shikijs/langs/dist/vue.mjs +1 -1
- package/.output/server/node_modules/@shikijs/langs/package.json +6 -3
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/.output/server/node_modules/@shikijs/themes/package.json +3 -3
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +64 -26
- package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
- package/.output/server/node_modules/@shikijs/types/package.json +1 -1
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +128 -106
- package/.output/server/node_modules/@vue/compiler-core/package.json +5 -5
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +54 -54
- package/.output/server/node_modules/@vue/compiler-dom/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +35 -33
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +64 -18
- package/.output/server/node_modules/@vue/reactivity/package.json +2 -2
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +2048 -2010
- package/.output/server/node_modules/@vue/runtime-core/package.json +3 -3
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +58 -29
- package/.output/server/node_modules/@vue/runtime-dom/package.json +5 -5
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/shared/package.json +1 -1
- package/.output/server/node_modules/css-select/lib/esm/attributes.js +222 -0
- package/.output/server/node_modules/css-select/lib/esm/compile.js +115 -0
- package/.output/server/node_modules/css-select/lib/esm/general.js +144 -0
- package/.output/server/node_modules/css-select/lib/esm/index.js +115 -0
- package/.output/server/node_modules/css-select/lib/esm/package.json +1 -0
- package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
- package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
- package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
- package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
- package/.output/server/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
- package/.output/server/node_modules/css-select/lib/esm/sort.js +79 -0
- package/.output/server/node_modules/csso/lib/clean/Atrule.js +69 -0
- package/.output/server/node_modules/csso/lib/clean/Comment.js +3 -0
- package/.output/server/node_modules/csso/lib/clean/Declaration.js +14 -0
- package/.output/server/node_modules/csso/lib/clean/Raw.js +9 -0
- package/.output/server/node_modules/csso/lib/clean/Rule.js +100 -0
- package/.output/server/node_modules/csso/lib/clean/TypeSelector.js +19 -0
- package/.output/server/node_modules/csso/lib/clean/WhiteSpace.js +3 -0
- package/.output/server/node_modules/csso/lib/clean/index.js +28 -0
- package/.output/server/node_modules/csso/lib/clean/utils.js +7 -0
- package/.output/server/node_modules/csso/lib/compress.js +196 -0
- package/.output/server/node_modules/csso/lib/index.js +131 -0
- package/.output/server/node_modules/csso/lib/replace/Atrule.js +9 -0
- package/.output/server/node_modules/csso/lib/replace/AttributeSelector.js +28 -0
- package/.output/server/node_modules/csso/lib/replace/Dimension.js +63 -0
- package/.output/server/node_modules/csso/lib/replace/Number.js +40 -0
- package/.output/server/node_modules/csso/lib/replace/Percentage.js +37 -0
- package/.output/server/node_modules/csso/lib/replace/Url.js +4 -0
- package/.output/server/node_modules/csso/lib/replace/Value.js +26 -0
- package/.output/server/node_modules/csso/lib/replace/atrule/keyframes.js +21 -0
- package/.output/server/node_modules/csso/lib/replace/color.js +498 -0
- package/.output/server/node_modules/csso/lib/replace/index.js +32 -0
- package/.output/server/node_modules/csso/lib/replace/property/background.js +50 -0
- package/.output/server/node_modules/csso/lib/replace/property/border.js +16 -0
- package/.output/server/node_modules/csso/lib/replace/property/font-weight.js +22 -0
- package/.output/server/node_modules/csso/lib/replace/property/font.js +30 -0
- package/.output/server/node_modules/csso/lib/restructure/1-mergeAtrule.js +106 -0
- package/.output/server/node_modules/csso/lib/restructure/2-initialMergeRuleset.js +53 -0
- package/.output/server/node_modules/csso/lib/restructure/3-disjoinRuleset.js +42 -0
- package/.output/server/node_modules/csso/lib/restructure/4-restructShorthand.js +425 -0
- package/.output/server/node_modules/csso/lib/restructure/6-restructBlock.js +308 -0
- package/.output/server/node_modules/csso/lib/restructure/7-mergeRuleset.js +86 -0
- package/.output/server/node_modules/csso/lib/restructure/8-restructRuleset.js +176 -0
- package/.output/server/node_modules/csso/lib/restructure/index.js +35 -0
- package/.output/server/node_modules/csso/lib/restructure/prepare/createDeclarationIndexer.js +31 -0
- package/.output/server/node_modules/csso/lib/restructure/prepare/index.js +41 -0
- package/.output/server/node_modules/csso/lib/restructure/prepare/processSelector.js +97 -0
- package/.output/server/node_modules/csso/lib/restructure/prepare/specificity.js +131 -0
- package/.output/server/node_modules/csso/lib/restructure/utils.js +142 -0
- package/.output/server/node_modules/csso/lib/syntax.js +60 -0
- package/.output/server/node_modules/csso/lib/usage.js +71 -0
- package/.output/server/node_modules/csso/lib/utils.js +2 -0
- package/.output/server/node_modules/csso/lib/version.js +5 -0
- package/.output/server/node_modules/devalue/index.js +1 -0
- package/.output/server/node_modules/devalue/package.json +1 -1
- package/.output/server/node_modules/devalue/src/parse.js +5 -1
- package/.output/server/node_modules/devalue/src/stringify.js +10 -6
- package/.output/server/node_modules/devalue/src/uneval.js +10 -6
- package/.output/server/node_modules/devalue/src/utils.js +5 -1
- package/.output/server/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
- package/.output/server/node_modules/dom-serializer/lib/esm/index.js +190 -0
- package/.output/server/node_modules/dom-serializer/lib/esm/package.json +1 -0
- package/.output/server/node_modules/domelementtype/lib/esm/index.js +51 -0
- package/.output/server/node_modules/domelementtype/lib/esm/package.json +1 -0
- package/.output/server/node_modules/domhandler/lib/esm/index.js +146 -0
- package/.output/server/node_modules/domhandler/lib/esm/node.js +338 -0
- package/.output/server/node_modules/domhandler/lib/esm/package.json +1 -0
- package/.output/server/node_modules/domutils/lib/esm/feeds.js +183 -0
- package/.output/server/node_modules/domutils/lib/esm/helpers.js +136 -0
- package/.output/server/node_modules/domutils/lib/esm/index.js +10 -0
- package/.output/server/node_modules/domutils/lib/esm/legacy.js +152 -0
- package/.output/server/node_modules/domutils/lib/esm/manipulation.js +134 -0
- package/.output/server/node_modules/domutils/lib/esm/package.json +1 -0
- package/.output/server/node_modules/domutils/lib/esm/querying.js +142 -0
- package/.output/server/node_modules/domutils/lib/esm/stringify.js +81 -0
- package/.output/server/node_modules/domutils/lib/esm/traversal.js +112 -0
- package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +40 -18
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
- package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
- package/.output/server/node_modules/ipx/dist/index.mjs +1 -1
- package/.output/server/node_modules/ipx/dist/shared/ipx.CXJeaylD.mjs +764 -0
- package/.output/server/node_modules/ipx/package.json +29 -30
- package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +12 -12
- package/.output/server/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +17 -13
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/decrypt.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/jwe/general/encrypt.js +16 -16
- package/.output/server/node_modules/jose/dist/webapi/jwk/embedded.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/jwk/thumbprint.js +5 -5
- package/.output/server/node_modules/jose/dist/webapi/jwks/local.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/sign.js +23 -17
- package/.output/server/node_modules/jose/dist/webapi/jws/flattened/verify.js +13 -9
- package/.output/server/node_modules/jose/dist/webapi/jws/general/verify.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/key/export.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/key/generate_key_pair.js +3 -3
- package/.output/server/node_modules/jose/dist/webapi/key/import.js +5 -5
- package/.output/server/node_modules/jose/dist/webapi/lib/aesgcmkw.js +4 -4
- package/.output/server/node_modules/jose/dist/webapi/lib/asn1.js +3 -7
- package/.output/server/node_modules/jose/dist/webapi/lib/buffer_utils.js +11 -0
- package/.output/server/node_modules/jose/dist/webapi/lib/cek.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/check_cek_length.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/check_iv_length.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_length.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +15 -19
- package/.output/server/node_modules/jose/dist/webapi/lib/crypto_key.js +2 -6
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt.js +7 -7
- package/.output/server/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +4 -4
- package/.output/server/node_modules/jose/dist/webapi/lib/digest.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/ecdhes.js +5 -5
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt.js +8 -8
- package/.output/server/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +4 -4
- package/.output/server/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +3 -3
- package/.output/server/node_modules/jose/dist/webapi/lib/invalid_key_input.js +2 -6
- package/.output/server/node_modules/jose/dist/webapi/lib/is_disjoint.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/is_jwk.js +6 -14
- package/.output/server/node_modules/jose/dist/webapi/lib/is_key_like.js +11 -8
- package/.output/server/node_modules/jose/dist/webapi/lib/is_object.js +3 -5
- package/.output/server/node_modules/jose/dist/webapi/lib/iv.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/jwk_to_key.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +59 -6
- package/.output/server/node_modules/jose/dist/webapi/lib/key_to_jwk.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/normalize_key.js +4 -4
- package/.output/server/node_modules/jose/dist/webapi/lib/pbes2kw.js +5 -3
- package/.output/server/node_modules/jose/dist/webapi/lib/rsaes.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/sign.js +6 -6
- package/.output/server/node_modules/jose/dist/webapi/lib/subtle_dsa.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_algorithms.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/validate_crit.js +2 -2
- package/.output/server/node_modules/jose/dist/webapi/lib/verify.js +6 -6
- package/.output/server/node_modules/jose/dist/webapi/util/base64url.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/util/decode_jwt.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/util/decode_protected_header.js +1 -1
- package/.output/server/node_modules/jose/package.json +1 -1
- package/.output/server/node_modules/mdast-util-to-hast/lib/footer.js +2 -4
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/break.js +3 -7
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/code.js +8 -9
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/delete.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +3 -3
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/heading.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/html.js +4 -7
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +3 -5
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/image.js +3 -4
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/index.js +5 -1
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +3 -7
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +3 -5
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/link.js +3 -4
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +3 -9
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/list.js +3 -7
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/root.js +3 -7
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/strong.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +3 -9
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/table.js +3 -3
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/text.js +3 -4
- package/.output/server/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +3 -6
- package/.output/server/node_modules/mdast-util-to-hast/lib/index.js +3 -3
- package/.output/server/node_modules/mdast-util-to-hast/lib/revert.js +3 -9
- package/.output/server/node_modules/mdast-util-to-hast/lib/state.js +19 -16
- package/.output/server/node_modules/mdast-util-to-hast/package.json +2 -1
- package/.output/server/node_modules/node-mock-http/package.json +10 -10
- package/.output/server/node_modules/nth-check/lib/esm/compile.js +113 -0
- package/.output/server/node_modules/nth-check/lib/esm/index.js +63 -0
- package/.output/server/node_modules/nth-check/lib/esm/package.json +1 -0
- package/.output/server/node_modules/nth-check/lib/esm/parse.js +73 -0
- package/.output/server/node_modules/oauth4webapi/build/index.js +41 -30
- package/.output/server/node_modules/oauth4webapi/package.json +14 -15
- package/.output/server/node_modules/ofetch/dist/node.mjs +3 -3
- package/.output/server/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs +349 -0
- package/.output/server/node_modules/ofetch/package.json +19 -19
- package/.output/server/node_modules/oniguruma-to-es/dist/esm/index.js +4 -4
- package/.output/server/node_modules/oniguruma-to-es/package.json +4 -4
- package/.output/server/node_modules/pathe/dist/index.mjs +19 -1
- package/.output/server/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +249 -0
- package/.output/server/node_modules/pathe/package.json +33 -20
- package/.output/server/node_modules/regex/package.json +6 -6
- package/.output/server/node_modules/regex/src/atomic.js +6 -3
- package/.output/server/node_modules/sax/lib/sax.js +1697 -0
- package/.output/server/node_modules/sax/package.json +28 -0
- package/.output/server/node_modules/semver/classes/comparator.js +143 -0
- package/.output/server/node_modules/semver/classes/range.js +557 -0
- package/.output/server/node_modules/semver/functions/cmp.js +54 -0
- package/.output/server/node_modules/semver/functions/eq.js +5 -0
- package/.output/server/node_modules/semver/functions/gt.js +5 -0
- package/.output/server/node_modules/semver/functions/lt.js +5 -0
- package/.output/server/node_modules/semver/functions/lte.js +5 -0
- package/.output/server/node_modules/semver/functions/neq.js +5 -0
- package/.output/server/node_modules/semver/functions/satisfies.js +12 -0
- package/.output/server/node_modules/semver/internal/lrucache.js +42 -0
- package/.output/server/node_modules/sharp/lib/channel.js +10 -7
- package/.output/server/node_modules/sharp/lib/colour.js +42 -31
- package/.output/server/node_modules/sharp/lib/composite.js +12 -10
- package/.output/server/node_modules/sharp/lib/constructor.js +92 -32
- package/.output/server/node_modules/sharp/lib/index.js +4 -4
- package/.output/server/node_modules/sharp/lib/input.js +252 -74
- package/.output/server/node_modules/sharp/lib/is.js +45 -57
- package/.output/server/node_modules/sharp/lib/libvips.js +133 -66
- package/.output/server/node_modules/sharp/lib/operation.js +158 -61
- package/.output/server/node_modules/sharp/lib/output.js +350 -97
- package/.output/server/node_modules/sharp/lib/resize.js +73 -60
- package/.output/server/node_modules/sharp/lib/sharp.js +110 -27
- package/.output/server/node_modules/sharp/lib/utility.js +47 -43
- package/.output/server/node_modules/sharp/package.json +74 -76
- package/.output/server/node_modules/shiki/package.json +9 -9
- package/.output/server/node_modules/strnum/package.json +1 -1
- package/.output/server/node_modules/strnum/strnum.js +1 -1
- package/.output/server/node_modules/svgo/lib/builtin.js +116 -56
- package/.output/server/node_modules/svgo/lib/parser.js +40 -94
- package/.output/server/node_modules/svgo/lib/path.js +45 -63
- package/.output/server/node_modules/svgo/lib/stringifier.js +116 -113
- package/.output/server/node_modules/svgo/lib/style.js +51 -63
- package/.output/server/node_modules/svgo/lib/svgo/css-select-adapter.js +82 -59
- package/.output/server/node_modules/svgo/lib/svgo/plugins.js +21 -11
- package/.output/server/node_modules/svgo/lib/svgo/tools.js +39 -43
- package/.output/server/node_modules/svgo/lib/svgo-node.js +44 -31
- package/.output/server/node_modules/svgo/lib/svgo.js +55 -14
- package/.output/server/node_modules/svgo/lib/types.js +1 -0
- package/.output/server/node_modules/svgo/lib/util/map-nodes-to-parents.js +29 -0
- package/.output/server/node_modules/svgo/lib/util/visit.js +36 -0
- package/.output/server/node_modules/svgo/lib/version.js +7 -0
- package/.output/server/node_modules/svgo/lib/xast.js +32 -66
- package/.output/server/node_modules/svgo/package.json +68 -35
- package/.output/server/node_modules/svgo/plugins/_collections.js +150 -34
- package/.output/server/node_modules/svgo/plugins/_path.js +206 -173
- package/.output/server/node_modules/svgo/plugins/_transforms.js +470 -125
- package/.output/server/node_modules/svgo/plugins/addAttributesToSVGElement.js +13 -9
- package/.output/server/node_modules/svgo/plugins/addClassesToSVGElement.js +16 -8
- package/.output/server/node_modules/svgo/plugins/applyTransforms.js +26 -38
- package/.output/server/node_modules/svgo/plugins/cleanupAttrs.js +11 -7
- package/.output/server/node_modules/svgo/plugins/cleanupEnableBackground.js +12 -13
- package/.output/server/node_modules/svgo/plugins/cleanupIds.js +25 -24
- package/.output/server/node_modules/svgo/plugins/cleanupListOfValues.js +19 -16
- package/.output/server/node_modules/svgo/plugins/cleanupNumericValues.js +19 -18
- package/.output/server/node_modules/svgo/plugins/collapseGroups.js +30 -31
- package/.output/server/node_modules/svgo/plugins/convertColors.js +51 -17
- package/.output/server/node_modules/svgo/plugins/convertEllipseToCircle.js +4 -6
- package/.output/server/node_modules/svgo/plugins/convertOneStopGradients.js +13 -24
- package/.output/server/node_modules/svgo/plugins/convertPathData.js +323 -261
- package/.output/server/node_modules/svgo/plugins/convertShapeToPath.js +22 -29
- package/.output/server/node_modules/svgo/plugins/convertStyleToAttrs.js +26 -17
- package/.output/server/node_modules/svgo/plugins/convertTransform.js +62 -171
- package/.output/server/node_modules/svgo/plugins/inlineStyles.js +33 -30
- package/.output/server/node_modules/svgo/plugins/mergePaths.js +36 -15
- package/.output/server/node_modules/svgo/plugins/mergeStyles.js +9 -26
- package/.output/server/node_modules/svgo/plugins/minifyStyles.js +30 -16
- package/.output/server/node_modules/svgo/plugins/moveElemsAttrsToGroup.js +13 -12
- package/.output/server/node_modules/svgo/plugins/moveGroupAttrsToElems.js +8 -9
- package/.output/server/node_modules/svgo/plugins/prefixIds.js +26 -21
- package/.output/server/node_modules/svgo/plugins/preset-default.js +37 -42
- package/.output/server/node_modules/svgo/plugins/removeAttributesBySelector.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeAttrs.js +13 -11
- package/.output/server/node_modules/svgo/plugins/removeComments.js +9 -6
- package/.output/server/node_modules/svgo/plugins/removeDeprecatedAttrs.js +120 -0
- package/.output/server/node_modules/svgo/plugins/removeDesc.js +13 -10
- package/.output/server/node_modules/svgo/plugins/removeDimensions.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeDoctype.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeEditorsNSData.js +12 -10
- package/.output/server/node_modules/svgo/plugins/removeElementsByAttr.js +10 -6
- package/.output/server/node_modules/svgo/plugins/removeEmptyAttrs.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeEmptyContainers.js +21 -13
- package/.output/server/node_modules/svgo/plugins/removeEmptyText.js +11 -6
- package/.output/server/node_modules/svgo/plugins/removeHiddenElems.js +56 -37
- package/.output/server/node_modules/svgo/plugins/removeMetadata.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeNonInheritableGroupAttrs.js +8 -10
- package/.output/server/node_modules/svgo/plugins/removeOffCanvasPaths.js +14 -21
- package/.output/server/node_modules/svgo/plugins/removeRasterImages.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeScripts.js +63 -0
- package/.output/server/node_modules/svgo/plugins/removeStyleElement.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeTitle.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeUnknownsAndDefaults.js +32 -30
- package/.output/server/node_modules/svgo/plugins/removeUnusedNS.js +5 -9
- package/.output/server/node_modules/svgo/plugins/removeUselessDefs.js +14 -29
- package/.output/server/node_modules/svgo/plugins/removeUselessStrokeAndFill.js +17 -11
- package/.output/server/node_modules/svgo/plugins/removeViewBox.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeXMLNS.js +4 -6
- package/.output/server/node_modules/svgo/plugins/removeXMLProcInst.js +5 -7
- package/.output/server/node_modules/svgo/plugins/removeXlink.js +15 -14
- package/.output/server/node_modules/svgo/plugins/reusePaths.js +9 -29
- package/.output/server/node_modules/svgo/plugins/sortAttrs.js +15 -10
- package/.output/server/node_modules/svgo/plugins/sortDefsChildren.js +8 -11
- package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
- package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
- package/.output/server/node_modules/unhead/dist/shared/unhead.CGCfDSEL.mjs +180 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CYpwL2hc.mjs +194 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.CbpEuj3y.mjs +71 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ckV6dpEQ.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/vue/package.json +6 -6
- package/.output/server/node_modules/vue-router/dist/devtools-EWN81iOl.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
- package/.output/server/node_modules/vue-router/package.json +2 -3
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
- package/.output/server/node_modules/yaml/dist/errors.js +1 -1
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
- package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
- package/.output/server/node_modules/yaml/package.json +4 -4
- package/.output/server/package.json +50 -62
- package/app/components/ignis/IgnisContentFeatures.vue +1 -0
- package/bin/set-app-vue.js +1 -1
- package/bin/set-css.js +1 -1
- package/bin/set-eslint.js +1 -1
- package/bin/setup.js +3 -3
- package/eslint.config.mjs +7 -4
- package/features.ts +13 -0
- package/i18n/locales/en.json +1 -0
- package/nuxt.config.ts +5 -13
- package/package.json +14 -12
- package/public/_ignis-config.json +7 -1
- package/test/config/social.txt +37 -0
- package/test/config.test.ts +9 -0
- package/test/features/enable-all.txt +1 -1
- package/test/features/social.txt +4 -0
- package/test/features.test.ts +10 -0
- package/vitest.config.ts +1 -3
- package/.nuxt/cache/fonts/EP1810cmAtyahQPDHB6nvBzRkIG5RcNv4u5vTy1aYHU-Ih_Po7WkbhDymI0Y_ntmpz__bZJprHiu7_c5N_X6AAA.woff2 +0 -0
- package/.nuxt/cache/fonts/JNWOTRocaYj0gq52vW_s7sHAdSMUetrRmhhggCVxyZ0-TnR4PP30hI5UWldZ0knUBrHkvIoiDWYXwn2v1NtCh80.woff2 +0 -0
- package/.nuxt/cache/fonts/XbAtjIvy1UErjg9eu_v7X3zPLS_AwsmqVsR9fG-JB6o-H99o9_8BZXq7ey5UyS99Wn9zX0V0anvpXEqAqavcJlQ.woff2 +0 -0
- package/.nuxt/cache/fonts/ZLm6CLvwhQbamZ73M80jbqz7DuOkHlT_HRyXHG7YfVs-eYLoSJPWhqR5CE0c8XPABls8kE_7Fc7F2x7Gtfsg_8M.woff2 +0 -0
- package/.nuxt/cache/fonts/aPa9az0DeE4U5rqM-Ov0Vl_obQis_d6sScLNygGkvxw-s32Y9TxBLZRr_ebRHQ3l3q1g2j_0tPT879PPSBGrj8A.woff2 +0 -0
- package/.nuxt/cache/fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-55rzD39AWoqYSkQOLHuoKZUDVcDSlXRKdaymIN2dXes.woff +0 -0
- package/.output/public/_fonts/Jtqhy44WKYEjGWTSusP5YJfJv7Wf74QqgkBOI9u_77s-Rl_Bht5SvmaotE20bkavBEAJEEGEa0hcz3d_8yOeXmw.woff +0 -0
- package/.output/public/_fonts/ZHaz3DhCHNWhsElqYfuM71rfBBDgjuU2sd34vaYJwQg-71NZaZSGjxzAGjCMnCc2zS5rS_EGA0xHKPGCggWuXik.woff +0 -0
- package/.output/public/_fonts/kgyHMsxRmhh06xcV0yKMKdTKQBsQpXGi7erqwaqgjXg-BgCmQXkW3N6talUbQSKexB2sHUT0qGEzmM4uMcnDAbI.woff +0 -0
- package/.output/public/_nuxt/1vOq3xiE.js +0 -1
- package/.output/public/_nuxt/22rhGZdI.js +0 -1
- package/.output/public/_nuxt/9eIdSibD.js +0 -1
- package/.output/public/_nuxt/BBmTy930.js +0 -35
- package/.output/public/_nuxt/BKe83Cjx.js +0 -1
- package/.output/public/_nuxt/Bc5GLloR.js +0 -1
- package/.output/public/_nuxt/BdG3SY-u.js +0 -1
- package/.output/public/_nuxt/BeyOQpYA.js +0 -1
- package/.output/public/_nuxt/BqcXd3MY.js +0 -94
- package/.output/public/_nuxt/Bz55A4y1.js +0 -1
- package/.output/public/_nuxt/C2ybsIQ4.js +0 -1
- package/.output/public/_nuxt/C4U5VOMJ.js +0 -1
- package/.output/public/_nuxt/CAJsyjAK.js +0 -1
- package/.output/public/_nuxt/CD9aBAuy.js +0 -1
- package/.output/public/_nuxt/CHOS7x_d.js +0 -1
- package/.output/public/_nuxt/CXhUbdF6.js +0 -1
- package/.output/public/_nuxt/CZWScI5k.js +0 -1
- package/.output/public/_nuxt/DHd34syF.js +0 -1
- package/.output/public/_nuxt/DMbgtwAJ.js +0 -1
- package/.output/public/_nuxt/DR8jhnFO.js +0 -1
- package/.output/public/_nuxt/DTT0LBLY.js +0 -1
- package/.output/public/_nuxt/DWV_uL6G.js +0 -6764
- package/.output/public/_nuxt/DdpTKqR-.js +0 -1
- package/.output/public/_nuxt/Df_NcBcC.js +0 -1
- package/.output/public/_nuxt/DhqOMFXQ.js +0 -1
- package/.output/public/_nuxt/Dnp9eFDR.js +0 -1
- package/.output/public/_nuxt/DnqMs_6O.js +0 -1
- package/.output/public/_nuxt/Dq7g_IfY.js +0 -1
- package/.output/public/_nuxt/DsAJWnuW.js +0 -1
- package/.output/public/_nuxt/DvVg7vM_.js +0 -1
- package/.output/public/_nuxt/DwKqLVGx.js +0 -1
- package/.output/public/_nuxt/DxzqnQKF.js +0 -1
- package/.output/public/_nuxt/ProsePre.D5orA6B_.css +0 -1
- package/.output/public/_nuxt/Y0f1tU-r.js +0 -1
- package/.output/public/_nuxt/atySmcu6.js +0 -1
- package/.output/public/_nuxt/builds/meta/7bab2b8f-93ee-4f44-a604-8cd2b41eac60.json +0 -1
- package/.output/public/_nuxt/entry.CtpkPzPO.css +0 -1
- package/.output/public/_nuxt/error-404.DzDu4Ean.css +0 -1
- package/.output/public/_nuxt/error-500.BdNqqJx7.css +0 -1
- package/.output/public/_nuxt/q3i45eMH.js +0 -1
- package/.output/public/_nuxt/vueform.CkWb7x1C.css +0 -1
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/convertor/create.cjs +0 -32
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data-patch.cjs +0 -7
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/data.cjs +0 -97
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/SyntaxError.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/generate.cjs +0 -135
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/index.cjs +0 -13
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/parse.cjs +0 -588
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/tokenizer.cjs +0 -56
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/definition-syntax/walk.cjs +0 -56
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/create.cjs +0 -103
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/sourceMap.cjs +0 -96
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/generator/token-before.cjs +0 -170
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/index.cjs +0 -63
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/Lexer.cjs +0 -459
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/error.cjs +0 -128
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-an-plus-b.cjs +0 -235
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-const.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic-urange.cjs +0 -149
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/generic.cjs +0 -573
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match-graph.cjs +0 -459
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/match.cjs +0 -632
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/prepare-tokens.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/search.cjs +0 -65
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/structure.cjs +0 -168
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/lexer/trace.cjs +0 -73
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/SyntaxError.cjs +0 -69
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/create.cjs +0 -336
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/parser/sequence.cjs +0 -47
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/font-face.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/import.cjs +0 -37
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/index.cjs +0 -17
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/media.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/page.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/atrule/supports.cjs +0 -77
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/lexer.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/mix.cjs +0 -142
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/parser.cjs +0 -34
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/config/walker.cjs +0 -9
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/create.cjs +0 -56
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/expression.cjs +0 -11
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/function/var.cjs +0 -43
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/index.cjs +0 -14
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AnPlusB.cjs +0 -293
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Atrule.cjs +0 -103
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AtrulePrelude.cjs +0 -52
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/AttributeSelector.cjs +0 -148
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Block.cjs +0 -90
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Brackets.cjs +0 -38
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDC.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/CDO.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/ClassSelector.cjs +0 -31
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Combinator.cjs +0 -61
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Comment.cjs +0 -40
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Declaration.cjs +0 -166
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/DeclarationList.cjs +0 -50
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Dimension.cjs +0 -30
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Function.cjs +0 -45
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Hash.cjs +0 -30
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/IdSelector.cjs +0 -33
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Identifier.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaFeature.cjs +0 -76
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQuery.cjs +0 -61
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/MediaQueryList.cjs +0 -41
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Nth.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Number.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Operator.cjs +0 -28
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Parentheses.cjs +0 -38
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Percentage.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoClassSelector.cjs +0 -65
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/PseudoElementSelector.cjs +0 -67
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Ratio.cjs +0 -67
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Raw.cjs +0 -48
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Rule.cjs +0 -58
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Selector.cjs +0 -39
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/SelectorList.cjs +0 -43
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/String.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/StyleSheet.cjs +0 -83
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/TypeSelector.cjs +0 -59
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/UnicodeRange.cjs +0 -158
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Url.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/Value.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/WhiteSpace.cjs +0 -34
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index-parse.cjs +0 -85
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/node/index.cjs +0 -85
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/pseudo/index.cjs +0 -52
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/atrulePrelude.cjs +0 -9
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/default.cjs +0 -76
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/index.cjs +0 -11
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/selector.cjs +0 -84
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/syntax/scope/value.cjs +0 -29
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/OffsetToLocation.cjs +0 -91
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/TokenStream.cjs +0 -264
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/adopt-buffer.cjs +0 -13
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/char-code-definitions.cjs +0 -231
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/index.cjs +0 -554
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/names.cjs +0 -31
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/types.cjs +0 -57
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/tokenizer/utils.cjs +0 -261
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/List.cjs +0 -473
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/clone.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/create-custom-error.cjs +0 -18
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/ident.cjs +0 -102
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/names.cjs +0 -113
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/string.cjs +0 -99
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/utils/url.cjs +0 -108
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/version.cjs +0 -5
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/cjs/walker/create.cjs +0 -291
- package/.output/server/node_modules/.nitro/css-tree@2.2.1/data/patch.json +0 -739
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/convertor/create.cjs +0 -32
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data-patch.cjs +0 -7
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/data.cjs +0 -99
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/SyntaxError.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/generate.cjs +0 -135
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/index.cjs +0 -13
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/parse.cjs +0 -588
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/tokenizer.cjs +0 -56
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/definition-syntax/walk.cjs +0 -56
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/create.cjs +0 -103
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/sourceMap.cjs +0 -96
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/generator/token-before.cjs +0 -170
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/index.cjs +0 -63
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/Lexer.cjs +0 -470
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/error.cjs +0 -128
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-an-plus-b.cjs +0 -235
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-const.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic-urange.cjs +0 -149
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/generic.cjs +0 -573
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match-graph.cjs +0 -459
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/match.cjs +0 -632
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/prepare-tokens.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/search.cjs +0 -65
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/structure.cjs +0 -168
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/trace.cjs +0 -73
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/lexer/units.cjs +0 -38
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/SyntaxError.cjs +0 -69
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/create.cjs +0 -336
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/parser/sequence.cjs +0 -47
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/font-face.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/import.cjs +0 -37
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/index.cjs +0 -19
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/media.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/nest.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/page.cjs +0 -16
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/atrule/supports.cjs +0 -77
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/lexer.cjs +0 -12
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/mix.cjs +0 -119
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/parser.cjs +0 -34
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/config/walker.cjs +0 -9
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/create.cjs +0 -57
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/expression.cjs +0 -11
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/function/var.cjs +0 -43
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/index.cjs +0 -14
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AnPlusB.cjs +0 -293
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Atrule.cjs +0 -103
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AtrulePrelude.cjs +0 -52
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/AttributeSelector.cjs +0 -148
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Block.cjs +0 -96
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Brackets.cjs +0 -38
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDC.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/CDO.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/ClassSelector.cjs +0 -31
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Combinator.cjs +0 -61
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Comment.cjs +0 -40
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Declaration.cjs +0 -166
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/DeclarationList.cjs +0 -62
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Dimension.cjs +0 -30
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Function.cjs +0 -45
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Hash.cjs +0 -30
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/IdSelector.cjs +0 -33
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Identifier.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaFeature.cjs +0 -76
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQuery.cjs +0 -61
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/MediaQueryList.cjs +0 -41
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/NestingSelector.cjs +0 -29
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Nth.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Number.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Operator.cjs +0 -28
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Parentheses.cjs +0 -38
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Percentage.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoClassSelector.cjs +0 -65
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/PseudoElementSelector.cjs +0 -67
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Ratio.cjs +0 -67
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Raw.cjs +0 -48
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Rule.cjs +0 -58
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Selector.cjs +0 -39
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/SelectorList.cjs +0 -43
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/String.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/StyleSheet.cjs +0 -83
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/TypeSelector.cjs +0 -59
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/UnicodeRange.cjs +0 -158
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Url.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/Value.cjs +0 -26
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/WhiteSpace.cjs +0 -34
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index-parse.cjs +0 -87
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/node/index.cjs +0 -87
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/pseudo/index.cjs +0 -54
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/atrulePrelude.cjs +0 -9
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/default.cjs +0 -76
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/index.cjs +0 -11
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/selector.cjs +0 -88
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/syntax/scope/value.cjs +0 -29
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/OffsetToLocation.cjs +0 -91
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/TokenStream.cjs +0 -264
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/adopt-buffer.cjs +0 -13
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/char-code-definitions.cjs +0 -231
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/index.cjs +0 -554
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/names.cjs +0 -31
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/types.cjs +0 -57
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/tokenizer/utils.cjs +0 -261
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/List.cjs +0 -473
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/clone.cjs +0 -25
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/create-custom-error.cjs +0 -18
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/ident.cjs +0 -102
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/names.cjs +0 -113
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/string.cjs +0 -99
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/utils/url.cjs +0 -108
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/version.cjs +0 -5
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/cjs/walker/create.cjs +0 -291
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/data/patch.json +0 -725
- package/.output/server/node_modules/.nitro/css-tree@2.3.1/package.json +0 -126
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode.js +0 -536
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/decode_codepoint.js +0 -76
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/encode.js +0 -77
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/escape.js +0 -122
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/encode-html.js +0 -12
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/index.js +0 -126
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/at-rules.json +0 -620
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/properties.json +0 -9297
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/css/syntaxes.json +0 -794
- package/.output/server/node_modules/.nitro/mdn-data@2.0.28/package.json +0 -38
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/at-rules.json +0 -620
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/properties.json +0 -9626
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/css/syntaxes.json +0 -866
- package/.output/server/node_modules/.nitro/mdn-data@2.0.30/package.json +0 -38
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
- package/.output/server/node_modules/@iconify/utils/lib/colors/index.mjs +0 -350
- package/.output/server/node_modules/@iconify/utils/lib/colors/keywords.mjs +0 -188
- package/.output/server/node_modules/@iconify/utils/lib/css/common.mjs +0 -90
- package/.output/server/node_modules/@iconify/utils/lib/css/format.mjs +0 -38
- package/.output/server/node_modules/@iconify/utils/lib/css/icon.mjs +0 -76
- package/.output/server/node_modules/@iconify/utils/lib/css/icons.mjs +0 -168
- package/.output/server/node_modules/@iconify/utils/lib/customisations/bool.mjs +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/customisations/defaults.mjs +0 -14
- package/.output/server/node_modules/@iconify/utils/lib/customisations/flip.mjs +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/customisations/merge.mjs +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/customisations/rotate.mjs +0 -33
- package/.output/server/node_modules/@iconify/utils/lib/emoji/cleanup.mjs +0 -51
- package/.output/server/node_modules/@iconify/utils/lib/emoji/convert.mjs +0 -84
- package/.output/server/node_modules/@iconify/utils/lib/emoji/data.mjs +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/emoji/format.mjs +0 -44
- package/.output/server/node_modules/@iconify/utils/lib/emoji/parse.mjs +0 -58
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/base.mjs +0 -231
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/create.mjs +0 -31
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/numbers.mjs +0 -164
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/similar.mjs +0 -216
- package/.output/server/node_modules/@iconify/utils/lib/emoji/regex/tree.mjs +0 -113
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/find.mjs +0 -104
- package/.output/server/node_modules/@iconify/utils/lib/emoji/replace/replace.mjs +0 -34
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/components.mjs +0 -75
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/missing.mjs +0 -97
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/name.mjs +0 -54
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/parse.mjs +0 -97
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/similar.mjs +0 -45
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/tree.mjs +0 -105
- package/.output/server/node_modules/@iconify/utils/lib/emoji/test/variations.mjs +0 -54
- package/.output/server/node_modules/@iconify/utils/lib/icon/defaults.mjs +0 -24
- package/.output/server/node_modules/@iconify/utils/lib/icon/merge.mjs +0 -20
- package/.output/server/node_modules/@iconify/utils/lib/icon/name.mjs +0 -53
- package/.output/server/node_modules/@iconify/utils/lib/icon/square.mjs +0 -23
- package/.output/server/node_modules/@iconify/utils/lib/icon/transformations.mjs +0 -16
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/convert-info.mjs +0 -182
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/expand.mjs +0 -22
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icon.mjs +0 -28
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/get-icons.mjs +0 -46
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/minify.mjs +0 -66
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/parse.mjs +0 -51
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/tree.mjs +0 -23
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate-basic.mjs +0 -62
- package/.output/server/node_modules/@iconify/utils/lib/icon-set/validate.mjs +0 -161
- package/.output/server/node_modules/@iconify/utils/lib/index.mjs +0 -64
- package/.output/server/node_modules/@iconify/utils/lib/loader/custom.mjs +0 -50
- package/.output/server/node_modules/@iconify/utils/lib/loader/loader.mjs +0 -59
- package/.output/server/node_modules/@iconify/utils/lib/loader/modern.mjs +0 -80
- package/.output/server/node_modules/@iconify/utils/lib/loader/utils.mjs +0 -92
- package/.output/server/node_modules/@iconify/utils/lib/misc/objects.mjs +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/misc/strings.mjs +0 -17
- package/.output/server/node_modules/@iconify/utils/lib/misc/title.mjs +0 -5
- package/.output/server/node_modules/@iconify/utils/lib/svg/build.mjs +0 -119
- package/.output/server/node_modules/@iconify/utils/lib/svg/defs.mjs +0 -30
- package/.output/server/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.mjs +0 -20
- package/.output/server/node_modules/@iconify/utils/lib/svg/html.mjs +0 -9
- package/.output/server/node_modules/@iconify/utils/lib/svg/id.mjs +0 -28
- package/.output/server/node_modules/@iconify/utils/lib/svg/inner-html.mjs +0 -19
- package/.output/server/node_modules/@iconify/utils/lib/svg/parse.mjs +0 -83
- package/.output/server/node_modules/@iconify/utils/lib/svg/pretty.mjs +0 -70
- package/.output/server/node_modules/@iconify/utils/lib/svg/size.mjs +0 -40
- package/.output/server/node_modules/@iconify/utils/lib/svg/trim.mjs +0 -5
- package/.output/server/node_modules/@iconify/utils/lib/svg/url.mjs +0 -11
- package/.output/server/node_modules/@iconify/utils/lib/svg/viewbox.mjs +0 -8
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
- package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
- package/.output/server/node_modules/@shikijs/themes/dist/github-dark.mjs +0 -2
- package/.output/server/node_modules/@shikijs/themes/dist/github-light.mjs +0 -2
- package/.output/server/node_modules/@trysound/sax/lib/sax.js +0 -1413
- package/.output/server/node_modules/@trysound/sax/package.json +0 -30
- package/.output/server/node_modules/bytes/index.js +0 -170
- package/.output/server/node_modules/bytes/package.json +0 -42
- package/.output/server/node_modules/color/index.js +0 -496
- package/.output/server/node_modules/color/package.json +0 -47
- package/.output/server/node_modules/color-convert/conversions.js +0 -839
- package/.output/server/node_modules/color-convert/index.js +0 -81
- package/.output/server/node_modules/color-convert/package.json +0 -48
- package/.output/server/node_modules/color-convert/route.js +0 -97
- package/.output/server/node_modules/color-name/index.js +0 -152
- package/.output/server/node_modules/color-name/package.json +0 -28
- package/.output/server/node_modules/color-string/index.js +0 -242
- package/.output/server/node_modules/color-string/package.json +0 -39
- package/.output/server/node_modules/css-select/lib/attributes.js +0 -236
- package/.output/server/node_modules/css-select/lib/compile.js +0 -151
- package/.output/server/node_modules/css-select/lib/general.js +0 -148
- package/.output/server/node_modules/css-select/lib/index.js +0 -154
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/aliases.js +0 -34
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/filters.js +0 -157
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/index.js +0 -46
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/pseudos.js +0 -93
- package/.output/server/node_modules/css-select/lib/pseudo-selectors/subselects.js +0 -112
- package/.output/server/node_modules/css-select/lib/sort.js +0 -84
- package/.output/server/node_modules/csso/cjs/clean/Atrule.cjs +0 -73
- package/.output/server/node_modules/csso/cjs/clean/Comment.cjs +0 -7
- package/.output/server/node_modules/csso/cjs/clean/Declaration.cjs +0 -18
- package/.output/server/node_modules/csso/cjs/clean/Raw.cjs +0 -13
- package/.output/server/node_modules/csso/cjs/clean/Rule.cjs +0 -104
- package/.output/server/node_modules/csso/cjs/clean/TypeSelector.cjs +0 -23
- package/.output/server/node_modules/csso/cjs/clean/WhiteSpace.cjs +0 -7
- package/.output/server/node_modules/csso/cjs/clean/index.cjs +0 -32
- package/.output/server/node_modules/csso/cjs/clean/utils.cjs +0 -12
- package/.output/server/node_modules/csso/cjs/compress.cjs +0 -200
- package/.output/server/node_modules/csso/cjs/index.cjs +0 -127
- package/.output/server/node_modules/csso/cjs/replace/Atrule.cjs +0 -13
- package/.output/server/node_modules/csso/cjs/replace/AttributeSelector.cjs +0 -32
- package/.output/server/node_modules/csso/cjs/replace/Dimension.cjs +0 -67
- package/.output/server/node_modules/csso/cjs/replace/Number.cjs +0 -45
- package/.output/server/node_modules/csso/cjs/replace/Percentage.cjs +0 -41
- package/.output/server/node_modules/csso/cjs/replace/Url.cjs +0 -8
- package/.output/server/node_modules/csso/cjs/replace/Value.cjs +0 -29
- package/.output/server/node_modules/csso/cjs/replace/atrule/keyframes.cjs +0 -25
- package/.output/server/node_modules/csso/cjs/replace/color.cjs +0 -504
- package/.output/server/node_modules/csso/cjs/replace/index.cjs +0 -36
- package/.output/server/node_modules/csso/cjs/replace/property/background.cjs +0 -54
- package/.output/server/node_modules/csso/cjs/replace/property/border.cjs +0 -20
- package/.output/server/node_modules/csso/cjs/replace/property/font-weight.cjs +0 -26
- package/.output/server/node_modules/csso/cjs/replace/property/font.cjs +0 -34
- package/.output/server/node_modules/csso/cjs/restructure/1-mergeAtrule.cjs +0 -109
- package/.output/server/node_modules/csso/cjs/restructure/2-initialMergeRuleset.cjs +0 -51
- package/.output/server/node_modules/csso/cjs/restructure/3-disjoinRuleset.cjs +0 -46
- package/.output/server/node_modules/csso/cjs/restructure/4-restructShorthand.cjs +0 -429
- package/.output/server/node_modules/csso/cjs/restructure/6-restructBlock.cjs +0 -307
- package/.output/server/node_modules/csso/cjs/restructure/7-mergeRuleset.cjs +0 -90
- package/.output/server/node_modules/csso/cjs/restructure/8-restructRuleset.cjs +0 -175
- package/.output/server/node_modules/csso/cjs/restructure/index.cjs +0 -39
- package/.output/server/node_modules/csso/cjs/restructure/prepare/createDeclarationIndexer.cjs +0 -34
- package/.output/server/node_modules/csso/cjs/restructure/prepare/index.cjs +0 -45
- package/.output/server/node_modules/csso/cjs/restructure/prepare/processSelector.cjs +0 -101
- package/.output/server/node_modules/csso/cjs/restructure/prepare/specificity.cjs +0 -133
- package/.output/server/node_modules/csso/cjs/restructure/utils.cjs +0 -151
- package/.output/server/node_modules/csso/cjs/syntax.cjs +0 -60
- package/.output/server/node_modules/csso/cjs/usage.cjs +0 -75
- package/.output/server/node_modules/csso/cjs/utils.cjs +0 -14
- package/.output/server/node_modules/csso/cjs/version.cjs +0 -5
- package/.output/server/node_modules/debug/package.json +0 -64
- package/.output/server/node_modules/debug/src/browser.js +0 -272
- package/.output/server/node_modules/debug/src/common.js +0 -292
- package/.output/server/node_modules/debug/src/index.js +0 -10
- package/.output/server/node_modules/debug/src/node.js +0 -263
- package/.output/server/node_modules/dom-serializer/lib/foreignNames.js +0 -103
- package/.output/server/node_modules/dom-serializer/lib/index.js +0 -229
- package/.output/server/node_modules/domelementtype/lib/index.js +0 -55
- package/.output/server/node_modules/domhandler/lib/index.js +0 -165
- package/.output/server/node_modules/domhandler/lib/node.js +0 -474
- package/.output/server/node_modules/domutils/lib/feeds.js +0 -190
- package/.output/server/node_modules/domutils/lib/helpers.js +0 -142
- package/.output/server/node_modules/domutils/lib/index.js +0 -33
- package/.output/server/node_modules/domutils/lib/legacy.js +0 -168
- package/.output/server/node_modules/domutils/lib/manipulation.js +0 -142
- package/.output/server/node_modules/domutils/lib/querying.js +0 -155
- package/.output/server/node_modules/domutils/lib/stringify.js +0 -91
- package/.output/server/node_modules/domutils/lib/traversal.js +0 -125
- package/.output/server/node_modules/has-flag/index.js +0 -8
- package/.output/server/node_modules/has-flag/package.json +0 -46
- package/.output/server/node_modules/ipx/dist/shared/ipx.e4d5b25d.mjs +0 -761
- package/.output/server/node_modules/is-arrayish/index.js +0 -9
- package/.output/server/node_modules/is-arrayish/package.json +0 -45
- package/.output/server/node_modules/jose/dist/webapi/lib/epoch.js +0 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/secs.js +0 -55
- package/.output/server/node_modules/ms/index.js +0 -162
- package/.output/server/node_modules/ms/package.json +0 -38
- package/.output/server/node_modules/nth-check/lib/compile.js +0 -121
- package/.output/server/node_modules/nth-check/lib/index.js +0 -70
- package/.output/server/node_modules/nth-check/lib/parse.js +0 -77
- package/.output/server/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs +0 -333
- package/.output/server/node_modules/pathe/dist/shared/pathe.ff20891b.mjs +0 -221
- 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/platform.js +0 -30
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/THIRD-PARTY-NOTICES.md +0 -43
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/harfbuzz/hb-cplusplus.hh +0 -223
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/include/vips/vips8 +0 -60
- 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 +0 -1
- package/.output/server/node_modules/sharp/vendor/8.14.5/win32-x64/versions.json +0 -31
- package/.output/server/node_modules/simple-swizzle/index.js +0 -29
- package/.output/server/node_modules/simple-swizzle/package.json +0 -36
- package/.output/server/node_modules/supports-color/index.js +0 -135
- package/.output/server/node_modules/supports-color/package.json +0 -53
- package/.output/server/node_modules/svgo/plugins/removeScriptElement.js +0 -70
- package/.output/server/node_modules/truncatise/index.js +0 -188
- package/.output/server/node_modules/truncatise/package.json +0 -36
- package/.output/server/node_modules/unhead/dist/shared/unhead.BpRRHAhY.mjs +0 -194
- package/.output/server/node_modules/unhead/dist/shared/unhead.DH45uomy.mjs +0 -180
- package/.output/server/node_modules/unhead/dist/shared/unhead.DZbvapt-.mjs +0 -70
- package/.output/server/node_modules/unhead/dist/shared/unhead.Djo8ep_Y.mjs +0 -166
- package/.output/server/node_modules/vue-router/dist/devtools-BLCumUwL.mjs +0 -1218
- /package/.nuxt/ui/{button-group.ts → field-group.ts} +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.
|
|
2
|
+
* @vue/runtime-core v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -376,7 +376,143 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
|
|
379
|
+
function provide(key, value) {
|
|
380
|
+
if (currentInstance) {
|
|
381
|
+
let provides = currentInstance.provides;
|
|
382
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
383
|
+
if (parentProvides === provides) {
|
|
384
|
+
provides = currentInstance.provides = Object.create(parentProvides);
|
|
385
|
+
}
|
|
386
|
+
provides[key] = value;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
390
|
+
const instance = getCurrentInstance();
|
|
391
|
+
if (instance || currentApp) {
|
|
392
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
393
|
+
if (provides && key in provides) {
|
|
394
|
+
return provides[key];
|
|
395
|
+
} else if (arguments.length > 1) {
|
|
396
|
+
return treatDefaultAsFactory && shared.isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
397
|
+
} else ;
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
function hasInjectionContext() {
|
|
401
|
+
return !!(getCurrentInstance() || currentApp);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
const ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
405
|
+
const useSSRContext = () => {
|
|
406
|
+
{
|
|
407
|
+
const ctx = inject(ssrContextKey);
|
|
408
|
+
return ctx;
|
|
409
|
+
}
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
function watchEffect(effect, options) {
|
|
413
|
+
return doWatch(effect, null, options);
|
|
414
|
+
}
|
|
415
|
+
function watchPostEffect(effect, options) {
|
|
416
|
+
return doWatch(
|
|
417
|
+
effect,
|
|
418
|
+
null,
|
|
419
|
+
{ flush: "post" }
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
function watchSyncEffect(effect, options) {
|
|
423
|
+
return doWatch(
|
|
424
|
+
effect,
|
|
425
|
+
null,
|
|
426
|
+
{ flush: "sync" }
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
function watch(source, cb, options) {
|
|
430
|
+
return doWatch(source, cb, options);
|
|
431
|
+
}
|
|
432
|
+
function doWatch(source, cb, options = shared.EMPTY_OBJ) {
|
|
433
|
+
const { immediate, deep, flush, once } = options;
|
|
434
|
+
const baseWatchOptions = shared.extend({}, options);
|
|
435
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
436
|
+
let ssrCleanup;
|
|
437
|
+
if (isInSSRComponentSetup) {
|
|
438
|
+
if (flush === "sync") {
|
|
439
|
+
const ctx = useSSRContext();
|
|
440
|
+
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
441
|
+
} else if (!runsImmediately) {
|
|
442
|
+
const watchStopHandle = () => {
|
|
443
|
+
};
|
|
444
|
+
watchStopHandle.stop = shared.NOOP;
|
|
445
|
+
watchStopHandle.resume = shared.NOOP;
|
|
446
|
+
watchStopHandle.pause = shared.NOOP;
|
|
447
|
+
return watchStopHandle;
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
const instance = currentInstance;
|
|
451
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
452
|
+
let isPre = false;
|
|
453
|
+
if (flush === "post") {
|
|
454
|
+
baseWatchOptions.scheduler = (job) => {
|
|
455
|
+
queuePostRenderEffect(job, instance && instance.suspense);
|
|
456
|
+
};
|
|
457
|
+
} else if (flush !== "sync") {
|
|
458
|
+
isPre = true;
|
|
459
|
+
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
460
|
+
if (isFirstRun) {
|
|
461
|
+
job();
|
|
462
|
+
} else {
|
|
463
|
+
queueJob(job);
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
}
|
|
467
|
+
baseWatchOptions.augmentJob = (job) => {
|
|
468
|
+
if (cb) {
|
|
469
|
+
job.flags |= 4;
|
|
470
|
+
}
|
|
471
|
+
if (isPre) {
|
|
472
|
+
job.flags |= 2;
|
|
473
|
+
if (instance) {
|
|
474
|
+
job.id = instance.uid;
|
|
475
|
+
job.i = instance;
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
};
|
|
479
|
+
const watchHandle = reactivity.watch(source, cb, baseWatchOptions);
|
|
480
|
+
if (isInSSRComponentSetup) {
|
|
481
|
+
if (ssrCleanup) {
|
|
482
|
+
ssrCleanup.push(watchHandle);
|
|
483
|
+
} else if (runsImmediately) {
|
|
484
|
+
watchHandle();
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
return watchHandle;
|
|
488
|
+
}
|
|
489
|
+
function instanceWatch(source, value, options) {
|
|
490
|
+
const publicThis = this.proxy;
|
|
491
|
+
const getter = shared.isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
492
|
+
let cb;
|
|
493
|
+
if (shared.isFunction(value)) {
|
|
494
|
+
cb = value;
|
|
495
|
+
} else {
|
|
496
|
+
cb = value.handler;
|
|
497
|
+
options = value;
|
|
498
|
+
}
|
|
499
|
+
const reset = setCurrentInstance(this);
|
|
500
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
501
|
+
reset();
|
|
502
|
+
return res;
|
|
503
|
+
}
|
|
504
|
+
function createPathGetter(ctx, path) {
|
|
505
|
+
const segments = path.split(".");
|
|
506
|
+
return () => {
|
|
507
|
+
let cur = ctx;
|
|
508
|
+
for (let i = 0; i < segments.length && cur; i++) {
|
|
509
|
+
cur = cur[segments[i]];
|
|
510
|
+
}
|
|
511
|
+
return cur;
|
|
512
|
+
};
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
const TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
380
516
|
const isTeleport = (type) => type.__isTeleport;
|
|
381
517
|
const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === "");
|
|
382
518
|
const isTeleportDeferred = (props) => props && (props.defer || props.defer === "");
|
|
@@ -709,8 +845,8 @@ function prepareAnchor(target, vnode, createText, insert) {
|
|
|
709
845
|
return targetAnchor;
|
|
710
846
|
}
|
|
711
847
|
|
|
712
|
-
const leaveCbKey = Symbol("_leaveCb");
|
|
713
|
-
const enterCbKey = Symbol("_enterCb");
|
|
848
|
+
const leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
849
|
+
const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
714
850
|
function useTransitionState() {
|
|
715
851
|
const state = {
|
|
716
852
|
isMounted: false,
|
|
@@ -1456,7 +1592,9 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
1456
1592
|
if (clientText[0] === "\n" && (el.tagName === "PRE" || el.tagName === "TEXTAREA")) {
|
|
1457
1593
|
clientText = clientText.slice(1);
|
|
1458
1594
|
}
|
|
1459
|
-
|
|
1595
|
+
const { textContent } = el;
|
|
1596
|
+
if (textContent !== clientText && // innerHTML normalize \r\n or \r into a single \n in the DOM
|
|
1597
|
+
textContent !== clientText.replace(/\r\n|\r/g, "\n")) {
|
|
1460
1598
|
if (!isMismatchAllowed(el, 0 /* TEXT */)) {
|
|
1461
1599
|
logMismatchError();
|
|
1462
1600
|
}
|
|
@@ -1902,7 +2040,10 @@ function defineAsyncComponent(source) {
|
|
|
1902
2040
|
error: error.value
|
|
1903
2041
|
});
|
|
1904
2042
|
} else if (loadingComponent && !delayed.value) {
|
|
1905
|
-
return
|
|
2043
|
+
return createInnerComp(
|
|
2044
|
+
loadingComponent,
|
|
2045
|
+
instance
|
|
2046
|
+
);
|
|
1906
2047
|
}
|
|
1907
2048
|
};
|
|
1908
2049
|
}
|
|
@@ -1998,7 +2139,9 @@ const KeepAliveImpl = {
|
|
|
1998
2139
|
}
|
|
1999
2140
|
function pruneCache(filter) {
|
|
2000
2141
|
cache.forEach((vnode, key) => {
|
|
2001
|
-
const name = getComponentName(
|
|
2142
|
+
const name = getComponentName(
|
|
2143
|
+
isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type
|
|
2144
|
+
);
|
|
2002
2145
|
if (name && !filter(name)) {
|
|
2003
2146
|
pruneCacheEntry(key);
|
|
2004
2147
|
}
|
|
@@ -2217,7 +2360,7 @@ const DIRECTIVES = "directives";
|
|
|
2217
2360
|
function resolveComponent(name, maybeSelfReference) {
|
|
2218
2361
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
2219
2362
|
}
|
|
2220
|
-
const NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
2363
|
+
const NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
2221
2364
|
function resolveDynamicComponent(component) {
|
|
2222
2365
|
if (shared.isString(component)) {
|
|
2223
2366
|
return resolveAsset(COMPONENTS, component, false) || component;
|
|
@@ -2415,7 +2558,6 @@ const PublicInstanceProxyHandlers = {
|
|
|
2415
2558
|
return true;
|
|
2416
2559
|
}
|
|
2417
2560
|
const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
|
|
2418
|
-
let normalizedProps;
|
|
2419
2561
|
if (key[0] !== "$") {
|
|
2420
2562
|
const n = accessCache[key];
|
|
2421
2563
|
if (n !== void 0) {
|
|
@@ -2435,11 +2577,7 @@ const PublicInstanceProxyHandlers = {
|
|
|
2435
2577
|
} else if (data !== shared.EMPTY_OBJ && shared.hasOwn(data, key)) {
|
|
2436
2578
|
accessCache[key] = 2 /* DATA */;
|
|
2437
2579
|
return data[key];
|
|
2438
|
-
} else if (
|
|
2439
|
-
// only cache other properties when instance has declared (thus stable)
|
|
2440
|
-
// props
|
|
2441
|
-
(normalizedProps = instance.propsOptions[0]) && shared.hasOwn(normalizedProps, key)
|
|
2442
|
-
) {
|
|
2580
|
+
} else if (shared.hasOwn(props, key)) {
|
|
2443
2581
|
accessCache[key] = 3 /* PROPS */;
|
|
2444
2582
|
return props[key];
|
|
2445
2583
|
} else if (ctx !== shared.EMPTY_OBJ && shared.hasOwn(ctx, key)) {
|
|
@@ -2494,10 +2632,10 @@ const PublicInstanceProxyHandlers = {
|
|
|
2494
2632
|
return true;
|
|
2495
2633
|
},
|
|
2496
2634
|
has({
|
|
2497
|
-
_: { data, setupState, accessCache, ctx, appContext,
|
|
2635
|
+
_: { data, setupState, accessCache, ctx, appContext, props, type }
|
|
2498
2636
|
}, key) {
|
|
2499
|
-
let
|
|
2500
|
-
return !!(accessCache[key] || data !== shared.EMPTY_OBJ && key[0] !== "$" && shared.hasOwn(data, key) || hasSetupBinding(setupState, key) ||
|
|
2637
|
+
let cssModules;
|
|
2638
|
+
return !!(accessCache[key] || data !== shared.EMPTY_OBJ && key[0] !== "$" && shared.hasOwn(data, key) || hasSetupBinding(setupState, key) || shared.hasOwn(props, key) || shared.hasOwn(ctx, key) || shared.hasOwn(publicPropertiesMap, key) || shared.hasOwn(appContext.config.globalProperties, key) || (cssModules = type.__cssModules) && cssModules[key]);
|
|
2501
2639
|
},
|
|
2502
2640
|
defineProperty(target, key, descriptor) {
|
|
2503
2641
|
if (descriptor.get != null) {
|
|
@@ -3075,2238 +3213,2130 @@ function createAppAPI(render, hydrate) {
|
|
|
3075
3213
|
}
|
|
3076
3214
|
let currentApp = null;
|
|
3077
3215
|
|
|
3078
|
-
function
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
|
|
3098
|
-
}
|
|
3099
|
-
|
|
3100
|
-
|
|
3216
|
+
function useModel(props, name, options = shared.EMPTY_OBJ) {
|
|
3217
|
+
const i = getCurrentInstance();
|
|
3218
|
+
const camelizedName = shared.camelize(name);
|
|
3219
|
+
const hyphenatedName = shared.hyphenate(name);
|
|
3220
|
+
const modifiers = getModelModifiers(props, camelizedName);
|
|
3221
|
+
const res = reactivity.customRef((track, trigger) => {
|
|
3222
|
+
let localValue;
|
|
3223
|
+
let prevSetValue = shared.EMPTY_OBJ;
|
|
3224
|
+
let prevEmittedValue;
|
|
3225
|
+
watchSyncEffect(() => {
|
|
3226
|
+
const propValue = props[camelizedName];
|
|
3227
|
+
if (shared.hasChanged(localValue, propValue)) {
|
|
3228
|
+
localValue = propValue;
|
|
3229
|
+
trigger();
|
|
3230
|
+
}
|
|
3231
|
+
});
|
|
3232
|
+
return {
|
|
3233
|
+
get() {
|
|
3234
|
+
track();
|
|
3235
|
+
return options.get ? options.get(localValue) : localValue;
|
|
3236
|
+
},
|
|
3237
|
+
set(value) {
|
|
3238
|
+
const emittedValue = options.set ? options.set(value) : value;
|
|
3239
|
+
if (!shared.hasChanged(emittedValue, localValue) && !(prevSetValue !== shared.EMPTY_OBJ && shared.hasChanged(value, prevSetValue))) {
|
|
3240
|
+
return;
|
|
3241
|
+
}
|
|
3242
|
+
const rawProps = i.vnode.props;
|
|
3243
|
+
if (!(rawProps && // check if parent has passed v-model
|
|
3244
|
+
(name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
|
|
3245
|
+
localValue = value;
|
|
3246
|
+
trigger();
|
|
3247
|
+
}
|
|
3248
|
+
i.emit(`update:${name}`, emittedValue);
|
|
3249
|
+
if (shared.hasChanged(value, emittedValue) && shared.hasChanged(value, prevSetValue) && !shared.hasChanged(emittedValue, prevEmittedValue)) {
|
|
3250
|
+
trigger();
|
|
3251
|
+
}
|
|
3252
|
+
prevSetValue = value;
|
|
3253
|
+
prevEmittedValue = emittedValue;
|
|
3254
|
+
}
|
|
3255
|
+
};
|
|
3256
|
+
});
|
|
3257
|
+
res[Symbol.iterator] = () => {
|
|
3258
|
+
let i2 = 0;
|
|
3259
|
+
return {
|
|
3260
|
+
next() {
|
|
3261
|
+
if (i2 < 2) {
|
|
3262
|
+
return { value: i2++ ? modifiers || shared.EMPTY_OBJ : res, done: false };
|
|
3263
|
+
} else {
|
|
3264
|
+
return { done: true };
|
|
3265
|
+
}
|
|
3266
|
+
}
|
|
3267
|
+
};
|
|
3268
|
+
};
|
|
3269
|
+
return res;
|
|
3101
3270
|
}
|
|
3271
|
+
const getModelModifiers = (props, modelName) => {
|
|
3272
|
+
return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${shared.camelize(modelName)}Modifiers`] || props[`${shared.hyphenate(modelName)}Modifiers`];
|
|
3273
|
+
};
|
|
3102
3274
|
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
const
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
const
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
for (const key in instance.propsOptions[0]) {
|
|
3113
|
-
if (!(key in props)) {
|
|
3114
|
-
props[key] = void 0;
|
|
3275
|
+
function emit(instance, event, ...rawArgs) {
|
|
3276
|
+
if (instance.isUnmounted) return;
|
|
3277
|
+
const props = instance.vnode.props || shared.EMPTY_OBJ;
|
|
3278
|
+
let args = rawArgs;
|
|
3279
|
+
const isModelListener = event.startsWith("update:");
|
|
3280
|
+
const modifiers = isModelListener && getModelModifiers(props, event.slice(7));
|
|
3281
|
+
if (modifiers) {
|
|
3282
|
+
if (modifiers.trim) {
|
|
3283
|
+
args = rawArgs.map((a) => shared.isString(a) ? a.trim() : a);
|
|
3115
3284
|
}
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
instance.props = isSSR ? props : reactivity.shallowReactive(props);
|
|
3119
|
-
} else {
|
|
3120
|
-
if (!instance.type.props) {
|
|
3121
|
-
instance.props = attrs;
|
|
3122
|
-
} else {
|
|
3123
|
-
instance.props = props;
|
|
3285
|
+
if (modifiers.number) {
|
|
3286
|
+
args = rawArgs.map(shared.looseToNumber);
|
|
3124
3287
|
}
|
|
3125
3288
|
}
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
props
|
|
3131
|
-
attrs,
|
|
3132
|
-
vnode: { patchFlag }
|
|
3133
|
-
} = instance;
|
|
3134
|
-
const rawCurrentProps = reactivity.toRaw(props);
|
|
3135
|
-
const [options] = instance.propsOptions;
|
|
3136
|
-
let hasAttrsChanged = false;
|
|
3137
|
-
if (
|
|
3138
|
-
// always force full diff in dev
|
|
3139
|
-
// - #1942 if hmr is enabled with sfc component
|
|
3140
|
-
// - vite#872 non-sfc component used by sfc component
|
|
3141
|
-
(optimized || patchFlag > 0) && !(patchFlag & 16)
|
|
3142
|
-
) {
|
|
3143
|
-
if (patchFlag & 8) {
|
|
3144
|
-
const propsToUpdate = instance.vnode.dynamicProps;
|
|
3145
|
-
for (let i = 0; i < propsToUpdate.length; i++) {
|
|
3146
|
-
let key = propsToUpdate[i];
|
|
3147
|
-
if (isEmitListener(instance.emitsOptions, key)) {
|
|
3148
|
-
continue;
|
|
3149
|
-
}
|
|
3150
|
-
const value = rawProps[key];
|
|
3151
|
-
if (options) {
|
|
3152
|
-
if (shared.hasOwn(attrs, key)) {
|
|
3153
|
-
if (value !== attrs[key]) {
|
|
3154
|
-
attrs[key] = value;
|
|
3155
|
-
hasAttrsChanged = true;
|
|
3156
|
-
}
|
|
3157
|
-
} else {
|
|
3158
|
-
const camelizedKey = shared.camelize(key);
|
|
3159
|
-
props[camelizedKey] = resolvePropValue(
|
|
3160
|
-
options,
|
|
3161
|
-
rawCurrentProps,
|
|
3162
|
-
camelizedKey,
|
|
3163
|
-
value,
|
|
3164
|
-
instance,
|
|
3165
|
-
false
|
|
3166
|
-
);
|
|
3167
|
-
}
|
|
3168
|
-
} else {
|
|
3169
|
-
if (value !== attrs[key]) {
|
|
3170
|
-
attrs[key] = value;
|
|
3171
|
-
hasAttrsChanged = true;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
}
|
|
3176
|
-
} else {
|
|
3177
|
-
if (setFullProps(instance, rawProps, props, attrs)) {
|
|
3178
|
-
hasAttrsChanged = true;
|
|
3179
|
-
}
|
|
3180
|
-
let kebabKey;
|
|
3181
|
-
for (const key in rawCurrentProps) {
|
|
3182
|
-
if (!rawProps || // for camelCase
|
|
3183
|
-
!shared.hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
|
|
3184
|
-
// and converted to camelCase (#955)
|
|
3185
|
-
((kebabKey = shared.hyphenate(key)) === key || !shared.hasOwn(rawProps, kebabKey))) {
|
|
3186
|
-
if (options) {
|
|
3187
|
-
if (rawPrevProps && // for camelCase
|
|
3188
|
-
(rawPrevProps[key] !== void 0 || // for kebab-case
|
|
3189
|
-
rawPrevProps[kebabKey] !== void 0)) {
|
|
3190
|
-
props[key] = resolvePropValue(
|
|
3191
|
-
options,
|
|
3192
|
-
rawCurrentProps,
|
|
3193
|
-
key,
|
|
3194
|
-
void 0,
|
|
3195
|
-
instance,
|
|
3196
|
-
true
|
|
3197
|
-
);
|
|
3198
|
-
}
|
|
3199
|
-
} else {
|
|
3200
|
-
delete props[key];
|
|
3201
|
-
}
|
|
3202
|
-
}
|
|
3203
|
-
}
|
|
3204
|
-
if (attrs !== rawCurrentProps) {
|
|
3205
|
-
for (const key in attrs) {
|
|
3206
|
-
if (!rawProps || !shared.hasOwn(rawProps, key) && true) {
|
|
3207
|
-
delete attrs[key];
|
|
3208
|
-
hasAttrsChanged = true;
|
|
3209
|
-
}
|
|
3210
|
-
}
|
|
3211
|
-
}
|
|
3212
|
-
}
|
|
3213
|
-
if (hasAttrsChanged) {
|
|
3214
|
-
reactivity.trigger(instance.attrs, "set", "");
|
|
3215
|
-
}
|
|
3216
|
-
}
|
|
3217
|
-
function setFullProps(instance, rawProps, props, attrs) {
|
|
3218
|
-
const [options, needCastKeys] = instance.propsOptions;
|
|
3219
|
-
let hasAttrsChanged = false;
|
|
3220
|
-
let rawCastValues;
|
|
3221
|
-
if (rawProps) {
|
|
3222
|
-
for (let key in rawProps) {
|
|
3223
|
-
if (shared.isReservedProp(key)) {
|
|
3224
|
-
continue;
|
|
3225
|
-
}
|
|
3226
|
-
const value = rawProps[key];
|
|
3227
|
-
let camelKey;
|
|
3228
|
-
if (options && shared.hasOwn(options, camelKey = shared.camelize(key))) {
|
|
3229
|
-
if (!needCastKeys || !needCastKeys.includes(camelKey)) {
|
|
3230
|
-
props[camelKey] = value;
|
|
3231
|
-
} else {
|
|
3232
|
-
(rawCastValues || (rawCastValues = {}))[camelKey] = value;
|
|
3233
|
-
}
|
|
3234
|
-
} else if (!isEmitListener(instance.emitsOptions, key)) {
|
|
3235
|
-
if (!(key in attrs) || value !== attrs[key]) {
|
|
3236
|
-
attrs[key] = value;
|
|
3237
|
-
hasAttrsChanged = true;
|
|
3238
|
-
}
|
|
3239
|
-
}
|
|
3240
|
-
}
|
|
3289
|
+
let handlerName;
|
|
3290
|
+
let handler = props[handlerName = shared.toHandlerKey(event)] || // also try camelCase event handler (#2249)
|
|
3291
|
+
props[handlerName = shared.toHandlerKey(shared.camelize(event))];
|
|
3292
|
+
if (!handler && isModelListener) {
|
|
3293
|
+
handler = props[handlerName = shared.toHandlerKey(shared.hyphenate(event))];
|
|
3241
3294
|
}
|
|
3242
|
-
if (
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
rawCurrentProps,
|
|
3250
|
-
key,
|
|
3251
|
-
castValues[key],
|
|
3252
|
-
instance,
|
|
3253
|
-
!shared.hasOwn(castValues, key)
|
|
3254
|
-
);
|
|
3255
|
-
}
|
|
3295
|
+
if (handler) {
|
|
3296
|
+
callWithAsyncErrorHandling(
|
|
3297
|
+
handler,
|
|
3298
|
+
instance,
|
|
3299
|
+
6,
|
|
3300
|
+
args
|
|
3301
|
+
);
|
|
3256
3302
|
}
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
if (hasDefault && value === void 0) {
|
|
3264
|
-
const defaultValue = opt.default;
|
|
3265
|
-
if (opt.type !== Function && !opt.skipFactory && shared.isFunction(defaultValue)) {
|
|
3266
|
-
const { propsDefaults } = instance;
|
|
3267
|
-
if (key in propsDefaults) {
|
|
3268
|
-
value = propsDefaults[key];
|
|
3269
|
-
} else {
|
|
3270
|
-
const reset = setCurrentInstance(instance);
|
|
3271
|
-
value = propsDefaults[key] = defaultValue.call(
|
|
3272
|
-
null,
|
|
3273
|
-
props
|
|
3274
|
-
);
|
|
3275
|
-
reset();
|
|
3276
|
-
}
|
|
3277
|
-
} else {
|
|
3278
|
-
value = defaultValue;
|
|
3279
|
-
}
|
|
3280
|
-
if (instance.ce) {
|
|
3281
|
-
instance.ce._setProp(key, value);
|
|
3282
|
-
}
|
|
3283
|
-
}
|
|
3284
|
-
if (opt[0 /* shouldCast */]) {
|
|
3285
|
-
if (isAbsent && !hasDefault) {
|
|
3286
|
-
value = false;
|
|
3287
|
-
} else if (opt[1 /* shouldCastTrue */] && (value === "" || value === shared.hyphenate(key))) {
|
|
3288
|
-
value = true;
|
|
3289
|
-
}
|
|
3303
|
+
const onceHandler = props[handlerName + `Once`];
|
|
3304
|
+
if (onceHandler) {
|
|
3305
|
+
if (!instance.emitted) {
|
|
3306
|
+
instance.emitted = {};
|
|
3307
|
+
} else if (instance.emitted[handlerName]) {
|
|
3308
|
+
return;
|
|
3290
3309
|
}
|
|
3310
|
+
instance.emitted[handlerName] = true;
|
|
3311
|
+
callWithAsyncErrorHandling(
|
|
3312
|
+
onceHandler,
|
|
3313
|
+
instance,
|
|
3314
|
+
6,
|
|
3315
|
+
args
|
|
3316
|
+
);
|
|
3291
3317
|
}
|
|
3292
|
-
return value;
|
|
3293
3318
|
}
|
|
3294
|
-
const
|
|
3295
|
-
function
|
|
3296
|
-
const cache = asMixin ?
|
|
3319
|
+
const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
|
|
3320
|
+
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
|
3321
|
+
const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
|
|
3297
3322
|
const cached = cache.get(comp);
|
|
3298
|
-
if (cached) {
|
|
3323
|
+
if (cached !== void 0) {
|
|
3299
3324
|
return cached;
|
|
3300
3325
|
}
|
|
3301
|
-
const raw = comp.
|
|
3302
|
-
|
|
3303
|
-
const needCastKeys = [];
|
|
3326
|
+
const raw = comp.emits;
|
|
3327
|
+
let normalized = {};
|
|
3304
3328
|
let hasExtends = false;
|
|
3305
3329
|
if (!shared.isFunction(comp)) {
|
|
3306
|
-
const
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3330
|
+
const extendEmits = (raw2) => {
|
|
3331
|
+
const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
|
|
3332
|
+
if (normalizedFromExtend) {
|
|
3333
|
+
hasExtends = true;
|
|
3334
|
+
shared.extend(normalized, normalizedFromExtend);
|
|
3335
|
+
}
|
|
3311
3336
|
};
|
|
3312
3337
|
if (!asMixin && appContext.mixins.length) {
|
|
3313
|
-
appContext.mixins.forEach(
|
|
3338
|
+
appContext.mixins.forEach(extendEmits);
|
|
3314
3339
|
}
|
|
3315
3340
|
if (comp.extends) {
|
|
3316
|
-
|
|
3341
|
+
extendEmits(comp.extends);
|
|
3317
3342
|
}
|
|
3318
3343
|
if (comp.mixins) {
|
|
3319
|
-
comp.mixins.forEach(
|
|
3344
|
+
comp.mixins.forEach(extendEmits);
|
|
3320
3345
|
}
|
|
3321
3346
|
}
|
|
3322
3347
|
if (!raw && !hasExtends) {
|
|
3323
3348
|
if (shared.isObject(comp)) {
|
|
3324
|
-
cache.set(comp,
|
|
3349
|
+
cache.set(comp, null);
|
|
3325
3350
|
}
|
|
3326
|
-
return
|
|
3351
|
+
return null;
|
|
3327
3352
|
}
|
|
3328
3353
|
if (shared.isArray(raw)) {
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
normalized[normalizedKey] = shared.EMPTY_OBJ;
|
|
3333
|
-
}
|
|
3334
|
-
}
|
|
3335
|
-
} else if (raw) {
|
|
3336
|
-
for (const key in raw) {
|
|
3337
|
-
const normalizedKey = shared.camelize(key);
|
|
3338
|
-
if (validatePropName(normalizedKey)) {
|
|
3339
|
-
const opt = raw[key];
|
|
3340
|
-
const prop = normalized[normalizedKey] = shared.isArray(opt) || shared.isFunction(opt) ? { type: opt } : shared.extend({}, opt);
|
|
3341
|
-
const propType = prop.type;
|
|
3342
|
-
let shouldCast = false;
|
|
3343
|
-
let shouldCastTrue = true;
|
|
3344
|
-
if (shared.isArray(propType)) {
|
|
3345
|
-
for (let index = 0; index < propType.length; ++index) {
|
|
3346
|
-
const type = propType[index];
|
|
3347
|
-
const typeName = shared.isFunction(type) && type.name;
|
|
3348
|
-
if (typeName === "Boolean") {
|
|
3349
|
-
shouldCast = true;
|
|
3350
|
-
break;
|
|
3351
|
-
} else if (typeName === "String") {
|
|
3352
|
-
shouldCastTrue = false;
|
|
3353
|
-
}
|
|
3354
|
-
}
|
|
3355
|
-
} else {
|
|
3356
|
-
shouldCast = shared.isFunction(propType) && propType.name === "Boolean";
|
|
3357
|
-
}
|
|
3358
|
-
prop[0 /* shouldCast */] = shouldCast;
|
|
3359
|
-
prop[1 /* shouldCastTrue */] = shouldCastTrue;
|
|
3360
|
-
if (shouldCast || shared.hasOwn(prop, "default")) {
|
|
3361
|
-
needCastKeys.push(normalizedKey);
|
|
3362
|
-
}
|
|
3363
|
-
}
|
|
3364
|
-
}
|
|
3354
|
+
raw.forEach((key) => normalized[key] = null);
|
|
3355
|
+
} else {
|
|
3356
|
+
shared.extend(normalized, raw);
|
|
3365
3357
|
}
|
|
3366
|
-
const res = [normalized, needCastKeys];
|
|
3367
3358
|
if (shared.isObject(comp)) {
|
|
3368
|
-
cache.set(comp,
|
|
3359
|
+
cache.set(comp, normalized);
|
|
3369
3360
|
}
|
|
3370
|
-
return
|
|
3361
|
+
return normalized;
|
|
3371
3362
|
}
|
|
3372
|
-
function
|
|
3373
|
-
if (
|
|
3374
|
-
return
|
|
3363
|
+
function isEmitListener(options, key) {
|
|
3364
|
+
if (!options || !shared.isOn(key)) {
|
|
3365
|
+
return false;
|
|
3375
3366
|
}
|
|
3376
|
-
|
|
3367
|
+
key = key.slice(2).replace(/Once$/, "");
|
|
3368
|
+
return shared.hasOwn(options, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options, shared.hyphenate(key)) || shared.hasOwn(options, key);
|
|
3377
3369
|
}
|
|
3378
3370
|
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3371
|
+
function markAttrsAccessed() {
|
|
3372
|
+
}
|
|
3373
|
+
function renderComponentRoot(instance) {
|
|
3374
|
+
const {
|
|
3375
|
+
type: Component,
|
|
3376
|
+
vnode,
|
|
3377
|
+
proxy,
|
|
3378
|
+
withProxy,
|
|
3379
|
+
propsOptions: [propsOptions],
|
|
3380
|
+
slots,
|
|
3381
|
+
attrs,
|
|
3382
|
+
emit,
|
|
3383
|
+
render,
|
|
3384
|
+
renderCache,
|
|
3385
|
+
props,
|
|
3386
|
+
data,
|
|
3387
|
+
setupState,
|
|
3388
|
+
ctx,
|
|
3389
|
+
inheritAttrs
|
|
3390
|
+
} = instance;
|
|
3391
|
+
const prev = setCurrentRenderingInstance(instance);
|
|
3392
|
+
let result;
|
|
3393
|
+
let fallthroughAttrs;
|
|
3394
|
+
try {
|
|
3395
|
+
if (vnode.shapeFlag & 4) {
|
|
3396
|
+
const proxyToUse = withProxy || proxy;
|
|
3397
|
+
const thisProxy = false ? new Proxy(proxyToUse, {
|
|
3398
|
+
get(target, key, receiver) {
|
|
3399
|
+
warn(
|
|
3400
|
+
`Property '${String(
|
|
3401
|
+
key
|
|
3402
|
+
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
3403
|
+
);
|
|
3404
|
+
return Reflect.get(target, key, receiver);
|
|
3405
|
+
}
|
|
3406
|
+
}) : proxyToUse;
|
|
3407
|
+
result = normalizeVNode(
|
|
3408
|
+
render.call(
|
|
3409
|
+
thisProxy,
|
|
3410
|
+
proxyToUse,
|
|
3411
|
+
renderCache,
|
|
3412
|
+
false ? shallowReadonly(props) : props,
|
|
3413
|
+
setupState,
|
|
3414
|
+
data,
|
|
3415
|
+
ctx
|
|
3416
|
+
)
|
|
3417
|
+
);
|
|
3418
|
+
fallthroughAttrs = attrs;
|
|
3419
|
+
} else {
|
|
3420
|
+
const render2 = Component;
|
|
3421
|
+
if (false) ;
|
|
3422
|
+
result = normalizeVNode(
|
|
3423
|
+
render2.length > 1 ? render2(
|
|
3424
|
+
false ? shallowReadonly(props) : props,
|
|
3425
|
+
false ? {
|
|
3426
|
+
get attrs() {
|
|
3427
|
+
markAttrsAccessed();
|
|
3428
|
+
return shallowReadonly(attrs);
|
|
3429
|
+
},
|
|
3430
|
+
slots,
|
|
3431
|
+
emit
|
|
3432
|
+
} : { attrs, slots, emit }
|
|
3433
|
+
) : render2(
|
|
3434
|
+
false ? shallowReadonly(props) : props,
|
|
3435
|
+
null
|
|
3436
|
+
)
|
|
3437
|
+
);
|
|
3438
|
+
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
3402
3439
|
}
|
|
3440
|
+
} catch (err) {
|
|
3441
|
+
blockStack.length = 0;
|
|
3442
|
+
handleError(err, instance, 1);
|
|
3443
|
+
result = createVNode(Comment);
|
|
3403
3444
|
}
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3445
|
+
let root = result;
|
|
3446
|
+
if (fallthroughAttrs && inheritAttrs !== false) {
|
|
3447
|
+
const keys = Object.keys(fallthroughAttrs);
|
|
3448
|
+
const { shapeFlag } = root;
|
|
3449
|
+
if (keys.length) {
|
|
3450
|
+
if (shapeFlag & (1 | 6)) {
|
|
3451
|
+
if (propsOptions && keys.some(shared.isModelListener)) {
|
|
3452
|
+
fallthroughAttrs = filterModelListeners(
|
|
3453
|
+
fallthroughAttrs,
|
|
3454
|
+
propsOptions
|
|
3455
|
+
);
|
|
3456
|
+
}
|
|
3457
|
+
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
3458
|
+
}
|
|
3413
3459
|
}
|
|
3414
3460
|
}
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3461
|
+
if (vnode.dirs) {
|
|
3462
|
+
root = cloneVNode(root, null, false, true);
|
|
3463
|
+
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
3464
|
+
}
|
|
3465
|
+
if (vnode.transition) {
|
|
3466
|
+
setTransitionHooks(root, vnode.transition);
|
|
3467
|
+
}
|
|
3468
|
+
{
|
|
3469
|
+
result = root;
|
|
3470
|
+
}
|
|
3471
|
+
setCurrentRenderingInstance(prev);
|
|
3472
|
+
return result;
|
|
3473
|
+
}
|
|
3474
|
+
function filterSingleRoot(children, recurse = true) {
|
|
3475
|
+
let singleRoot;
|
|
3476
|
+
for (let i = 0; i < children.length; i++) {
|
|
3477
|
+
const child = children[i];
|
|
3478
|
+
if (isVNode(child)) {
|
|
3479
|
+
if (child.type !== Comment || child.children === "v-if") {
|
|
3480
|
+
if (singleRoot) {
|
|
3481
|
+
return;
|
|
3482
|
+
} else {
|
|
3483
|
+
singleRoot = child;
|
|
3484
|
+
}
|
|
3424
3485
|
}
|
|
3425
3486
|
} else {
|
|
3426
|
-
|
|
3487
|
+
return;
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
return singleRoot;
|
|
3491
|
+
}
|
|
3492
|
+
const getFunctionalFallthrough = (attrs) => {
|
|
3493
|
+
let res;
|
|
3494
|
+
for (const key in attrs) {
|
|
3495
|
+
if (key === "class" || key === "style" || shared.isOn(key)) {
|
|
3496
|
+
(res || (res = {}))[key] = attrs[key];
|
|
3427
3497
|
}
|
|
3428
|
-
} else if (children) {
|
|
3429
|
-
normalizeVNodeSlots(instance, children);
|
|
3430
3498
|
}
|
|
3499
|
+
return res;
|
|
3431
3500
|
};
|
|
3432
|
-
const
|
|
3433
|
-
const
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
const type = children._;
|
|
3438
|
-
if (type) {
|
|
3439
|
-
if (optimized && type === 1) {
|
|
3440
|
-
needDeletionCheck = false;
|
|
3441
|
-
} else {
|
|
3442
|
-
assignSlots(slots, children, optimized);
|
|
3443
|
-
}
|
|
3444
|
-
} else {
|
|
3445
|
-
needDeletionCheck = !children.$stable;
|
|
3446
|
-
normalizeObjectSlots(children, slots);
|
|
3501
|
+
const filterModelListeners = (attrs, props) => {
|
|
3502
|
+
const res = {};
|
|
3503
|
+
for (const key in attrs) {
|
|
3504
|
+
if (!shared.isModelListener(key) || !(key.slice(9) in props)) {
|
|
3505
|
+
res[key] = attrs[key];
|
|
3447
3506
|
}
|
|
3448
|
-
deletionComparisonTarget = children;
|
|
3449
|
-
} else if (children) {
|
|
3450
|
-
normalizeVNodeSlots(instance, children);
|
|
3451
|
-
deletionComparisonTarget = { default: 1 };
|
|
3452
3507
|
}
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3508
|
+
return res;
|
|
3509
|
+
};
|
|
3510
|
+
function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
|
|
3511
|
+
const { props: prevProps, children: prevChildren, component } = prevVNode;
|
|
3512
|
+
const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
|
|
3513
|
+
const emits = component.emitsOptions;
|
|
3514
|
+
if (nextVNode.dirs || nextVNode.transition) {
|
|
3515
|
+
return true;
|
|
3516
|
+
}
|
|
3517
|
+
if (optimized && patchFlag >= 0) {
|
|
3518
|
+
if (patchFlag & 1024) {
|
|
3519
|
+
return true;
|
|
3520
|
+
}
|
|
3521
|
+
if (patchFlag & 16) {
|
|
3522
|
+
if (!prevProps) {
|
|
3523
|
+
return !!nextProps;
|
|
3524
|
+
}
|
|
3525
|
+
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3526
|
+
} else if (patchFlag & 8) {
|
|
3527
|
+
const dynamicProps = nextVNode.dynamicProps;
|
|
3528
|
+
for (let i = 0; i < dynamicProps.length; i++) {
|
|
3529
|
+
const key = dynamicProps[i];
|
|
3530
|
+
if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) {
|
|
3531
|
+
return true;
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
}
|
|
3535
|
+
} else {
|
|
3536
|
+
if (prevChildren || nextChildren) {
|
|
3537
|
+
if (!nextChildren || !nextChildren.$stable) {
|
|
3538
|
+
return true;
|
|
3457
3539
|
}
|
|
3458
3540
|
}
|
|
3541
|
+
if (prevProps === nextProps) {
|
|
3542
|
+
return false;
|
|
3543
|
+
}
|
|
3544
|
+
if (!prevProps) {
|
|
3545
|
+
return !!nextProps;
|
|
3546
|
+
}
|
|
3547
|
+
if (!nextProps) {
|
|
3548
|
+
return true;
|
|
3549
|
+
}
|
|
3550
|
+
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3459
3551
|
}
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
const queuePostRenderEffect = queueEffectWithSuspense ;
|
|
3463
|
-
function createRenderer(options) {
|
|
3464
|
-
return baseCreateRenderer(options);
|
|
3465
|
-
}
|
|
3466
|
-
function createHydrationRenderer(options) {
|
|
3467
|
-
return baseCreateRenderer(options, createHydrationFunctions);
|
|
3552
|
+
return false;
|
|
3468
3553
|
}
|
|
3469
|
-
function
|
|
3470
|
-
const
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
createComment: hostCreateComment,
|
|
3479
|
-
setText: hostSetText,
|
|
3480
|
-
setElementText: hostSetElementText,
|
|
3481
|
-
parentNode: hostParentNode,
|
|
3482
|
-
nextSibling: hostNextSibling,
|
|
3483
|
-
setScopeId: hostSetScopeId = shared.NOOP,
|
|
3484
|
-
insertStaticContent: hostInsertStaticContent
|
|
3485
|
-
} = options;
|
|
3486
|
-
const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
|
|
3487
|
-
if (n1 === n2) {
|
|
3488
|
-
return;
|
|
3489
|
-
}
|
|
3490
|
-
if (n1 && !isSameVNodeType(n1, n2)) {
|
|
3491
|
-
anchor = getNextHostNode(n1);
|
|
3492
|
-
unmount(n1, parentComponent, parentSuspense, true);
|
|
3493
|
-
n1 = null;
|
|
3494
|
-
}
|
|
3495
|
-
if (n2.patchFlag === -2) {
|
|
3496
|
-
optimized = false;
|
|
3497
|
-
n2.dynamicChildren = null;
|
|
3498
|
-
}
|
|
3499
|
-
const { type, ref, shapeFlag } = n2;
|
|
3500
|
-
switch (type) {
|
|
3501
|
-
case Text:
|
|
3502
|
-
processText(n1, n2, container, anchor);
|
|
3503
|
-
break;
|
|
3504
|
-
case Comment:
|
|
3505
|
-
processCommentNode(n1, n2, container, anchor);
|
|
3506
|
-
break;
|
|
3507
|
-
case Static:
|
|
3508
|
-
if (n1 == null) {
|
|
3509
|
-
mountStaticNode(n2, container, anchor, namespace);
|
|
3510
|
-
}
|
|
3511
|
-
break;
|
|
3512
|
-
case Fragment:
|
|
3513
|
-
processFragment(
|
|
3514
|
-
n1,
|
|
3515
|
-
n2,
|
|
3516
|
-
container,
|
|
3517
|
-
anchor,
|
|
3518
|
-
parentComponent,
|
|
3519
|
-
parentSuspense,
|
|
3520
|
-
namespace,
|
|
3521
|
-
slotScopeIds,
|
|
3522
|
-
optimized
|
|
3523
|
-
);
|
|
3524
|
-
break;
|
|
3525
|
-
default:
|
|
3526
|
-
if (shapeFlag & 1) {
|
|
3527
|
-
processElement(
|
|
3528
|
-
n1,
|
|
3529
|
-
n2,
|
|
3530
|
-
container,
|
|
3531
|
-
anchor,
|
|
3532
|
-
parentComponent,
|
|
3533
|
-
parentSuspense,
|
|
3534
|
-
namespace,
|
|
3535
|
-
slotScopeIds,
|
|
3536
|
-
optimized
|
|
3537
|
-
);
|
|
3538
|
-
} else if (shapeFlag & 6) {
|
|
3539
|
-
processComponent(
|
|
3540
|
-
n1,
|
|
3541
|
-
n2,
|
|
3542
|
-
container,
|
|
3543
|
-
anchor,
|
|
3544
|
-
parentComponent,
|
|
3545
|
-
parentSuspense,
|
|
3546
|
-
namespace,
|
|
3547
|
-
slotScopeIds,
|
|
3548
|
-
optimized
|
|
3549
|
-
);
|
|
3550
|
-
} else if (shapeFlag & 64) {
|
|
3551
|
-
type.process(
|
|
3552
|
-
n1,
|
|
3553
|
-
n2,
|
|
3554
|
-
container,
|
|
3555
|
-
anchor,
|
|
3556
|
-
parentComponent,
|
|
3557
|
-
parentSuspense,
|
|
3558
|
-
namespace,
|
|
3559
|
-
slotScopeIds,
|
|
3560
|
-
optimized,
|
|
3561
|
-
internals
|
|
3562
|
-
);
|
|
3563
|
-
} else if (shapeFlag & 128) {
|
|
3564
|
-
type.process(
|
|
3565
|
-
n1,
|
|
3566
|
-
n2,
|
|
3567
|
-
container,
|
|
3568
|
-
anchor,
|
|
3569
|
-
parentComponent,
|
|
3570
|
-
parentSuspense,
|
|
3571
|
-
namespace,
|
|
3572
|
-
slotScopeIds,
|
|
3573
|
-
optimized,
|
|
3574
|
-
internals
|
|
3575
|
-
);
|
|
3576
|
-
} else ;
|
|
3577
|
-
}
|
|
3578
|
-
if (ref != null && parentComponent) {
|
|
3579
|
-
setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
|
|
3580
|
-
} else if (ref == null && n1 && n1.ref != null) {
|
|
3581
|
-
setRef(n1.ref, null, parentSuspense, n1, true);
|
|
3554
|
+
function hasPropsChanged(prevProps, nextProps, emitsOptions) {
|
|
3555
|
+
const nextKeys = Object.keys(nextProps);
|
|
3556
|
+
if (nextKeys.length !== Object.keys(prevProps).length) {
|
|
3557
|
+
return true;
|
|
3558
|
+
}
|
|
3559
|
+
for (let i = 0; i < nextKeys.length; i++) {
|
|
3560
|
+
const key = nextKeys[i];
|
|
3561
|
+
if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {
|
|
3562
|
+
return true;
|
|
3582
3563
|
}
|
|
3583
|
-
}
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
} else {
|
|
3592
|
-
const el = n2.el = n1.el;
|
|
3593
|
-
if (n2.children !== n1.children) {
|
|
3594
|
-
hostSetText(el, n2.children);
|
|
3595
|
-
}
|
|
3564
|
+
}
|
|
3565
|
+
return false;
|
|
3566
|
+
}
|
|
3567
|
+
function updateHOCHostEl({ vnode, parent }, el) {
|
|
3568
|
+
while (parent) {
|
|
3569
|
+
const root = parent.subTree;
|
|
3570
|
+
if (root.suspense && root.suspense.activeBranch === vnode) {
|
|
3571
|
+
root.el = vnode.el;
|
|
3596
3572
|
}
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
hostInsert(
|
|
3601
|
-
n2.el = hostCreateComment(n2.children || ""),
|
|
3602
|
-
container,
|
|
3603
|
-
anchor
|
|
3604
|
-
);
|
|
3573
|
+
if (root === vnode) {
|
|
3574
|
+
(vnode = parent.vnode).el = el;
|
|
3575
|
+
parent = parent.parent;
|
|
3605
3576
|
} else {
|
|
3606
|
-
|
|
3607
|
-
}
|
|
3608
|
-
};
|
|
3609
|
-
const mountStaticNode = (n2, container, anchor, namespace) => {
|
|
3610
|
-
[n2.el, n2.anchor] = hostInsertStaticContent(
|
|
3611
|
-
n2.children,
|
|
3612
|
-
container,
|
|
3613
|
-
anchor,
|
|
3614
|
-
namespace,
|
|
3615
|
-
n2.el,
|
|
3616
|
-
n2.anchor
|
|
3617
|
-
);
|
|
3618
|
-
};
|
|
3619
|
-
const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
|
|
3620
|
-
let next;
|
|
3621
|
-
while (el && el !== anchor) {
|
|
3622
|
-
next = hostNextSibling(el);
|
|
3623
|
-
hostInsert(el, container, nextSibling);
|
|
3624
|
-
el = next;
|
|
3625
|
-
}
|
|
3626
|
-
hostInsert(anchor, container, nextSibling);
|
|
3627
|
-
};
|
|
3628
|
-
const removeStaticNode = ({ el, anchor }) => {
|
|
3629
|
-
let next;
|
|
3630
|
-
while (el && el !== anchor) {
|
|
3631
|
-
next = hostNextSibling(el);
|
|
3632
|
-
hostRemove(el);
|
|
3633
|
-
el = next;
|
|
3577
|
+
break;
|
|
3634
3578
|
}
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
const internalObjectProto = {};
|
|
3583
|
+
const createInternalObject = () => Object.create(internalObjectProto);
|
|
3584
|
+
const isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
3585
|
+
|
|
3586
|
+
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
3587
|
+
const props = {};
|
|
3588
|
+
const attrs = createInternalObject();
|
|
3589
|
+
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
3590
|
+
setFullProps(instance, rawProps, props, attrs);
|
|
3591
|
+
for (const key in instance.propsOptions[0]) {
|
|
3592
|
+
if (!(key in props)) {
|
|
3593
|
+
props[key] = void 0;
|
|
3642
3594
|
}
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
parentSuspense,
|
|
3650
|
-
namespace,
|
|
3651
|
-
slotScopeIds,
|
|
3652
|
-
optimized
|
|
3653
|
-
);
|
|
3595
|
+
}
|
|
3596
|
+
if (isStateful) {
|
|
3597
|
+
instance.props = isSSR ? props : reactivity.shallowReactive(props);
|
|
3598
|
+
} else {
|
|
3599
|
+
if (!instance.type.props) {
|
|
3600
|
+
instance.props = attrs;
|
|
3654
3601
|
} else {
|
|
3655
|
-
|
|
3656
|
-
n1,
|
|
3657
|
-
n2,
|
|
3658
|
-
parentComponent,
|
|
3659
|
-
parentSuspense,
|
|
3660
|
-
namespace,
|
|
3661
|
-
slotScopeIds,
|
|
3662
|
-
optimized
|
|
3663
|
-
);
|
|
3664
|
-
}
|
|
3665
|
-
};
|
|
3666
|
-
const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
3667
|
-
let el;
|
|
3668
|
-
let vnodeHook;
|
|
3669
|
-
const { props, shapeFlag, transition, dirs } = vnode;
|
|
3670
|
-
el = vnode.el = hostCreateElement(
|
|
3671
|
-
vnode.type,
|
|
3672
|
-
namespace,
|
|
3673
|
-
props && props.is,
|
|
3674
|
-
props
|
|
3675
|
-
);
|
|
3676
|
-
if (shapeFlag & 8) {
|
|
3677
|
-
hostSetElementText(el, vnode.children);
|
|
3678
|
-
} else if (shapeFlag & 16) {
|
|
3679
|
-
mountChildren(
|
|
3680
|
-
vnode.children,
|
|
3681
|
-
el,
|
|
3682
|
-
null,
|
|
3683
|
-
parentComponent,
|
|
3684
|
-
parentSuspense,
|
|
3685
|
-
resolveChildrenNamespace(vnode, namespace),
|
|
3686
|
-
slotScopeIds,
|
|
3687
|
-
optimized
|
|
3688
|
-
);
|
|
3689
|
-
}
|
|
3690
|
-
if (dirs) {
|
|
3691
|
-
invokeDirectiveHook(vnode, null, parentComponent, "created");
|
|
3602
|
+
instance.props = props;
|
|
3692
3603
|
}
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3604
|
+
}
|
|
3605
|
+
instance.attrs = attrs;
|
|
3606
|
+
}
|
|
3607
|
+
function updateProps(instance, rawProps, rawPrevProps, optimized) {
|
|
3608
|
+
const {
|
|
3609
|
+
props,
|
|
3610
|
+
attrs,
|
|
3611
|
+
vnode: { patchFlag }
|
|
3612
|
+
} = instance;
|
|
3613
|
+
const rawCurrentProps = reactivity.toRaw(props);
|
|
3614
|
+
const [options] = instance.propsOptions;
|
|
3615
|
+
let hasAttrsChanged = false;
|
|
3616
|
+
if (
|
|
3617
|
+
// always force full diff in dev
|
|
3618
|
+
// - #1942 if hmr is enabled with sfc component
|
|
3619
|
+
// - vite#872 non-sfc component used by sfc component
|
|
3620
|
+
(optimized || patchFlag > 0) && !(patchFlag & 16)
|
|
3621
|
+
) {
|
|
3622
|
+
if (patchFlag & 8) {
|
|
3623
|
+
const propsToUpdate = instance.vnode.dynamicProps;
|
|
3624
|
+
for (let i = 0; i < propsToUpdate.length; i++) {
|
|
3625
|
+
let key = propsToUpdate[i];
|
|
3626
|
+
if (isEmitListener(instance.emitsOptions, key)) {
|
|
3627
|
+
continue;
|
|
3628
|
+
}
|
|
3629
|
+
const value = rawProps[key];
|
|
3630
|
+
if (options) {
|
|
3631
|
+
if (shared.hasOwn(attrs, key)) {
|
|
3632
|
+
if (value !== attrs[key]) {
|
|
3633
|
+
attrs[key] = value;
|
|
3634
|
+
hasAttrsChanged = true;
|
|
3635
|
+
}
|
|
3636
|
+
} else {
|
|
3637
|
+
const camelizedKey = shared.camelize(key);
|
|
3638
|
+
props[camelizedKey] = resolvePropValue(
|
|
3639
|
+
options,
|
|
3640
|
+
rawCurrentProps,
|
|
3641
|
+
camelizedKey,
|
|
3642
|
+
value,
|
|
3643
|
+
instance,
|
|
3644
|
+
false
|
|
3645
|
+
);
|
|
3646
|
+
}
|
|
3647
|
+
} else {
|
|
3648
|
+
if (value !== attrs[key]) {
|
|
3649
|
+
attrs[key] = value;
|
|
3650
|
+
hasAttrsChanged = true;
|
|
3651
|
+
}
|
|
3698
3652
|
}
|
|
3699
3653
|
}
|
|
3700
|
-
if ("value" in props) {
|
|
3701
|
-
hostPatchProp(el, "value", null, props.value, namespace);
|
|
3702
|
-
}
|
|
3703
|
-
if (vnodeHook = props.onVnodeBeforeMount) {
|
|
3704
|
-
invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
3705
|
-
}
|
|
3706
|
-
}
|
|
3707
|
-
if (dirs) {
|
|
3708
|
-
invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
|
|
3709
|
-
}
|
|
3710
|
-
const needCallTransitionHooks = needTransition(parentSuspense, transition);
|
|
3711
|
-
if (needCallTransitionHooks) {
|
|
3712
|
-
transition.beforeEnter(el);
|
|
3713
|
-
}
|
|
3714
|
-
hostInsert(el, container, anchor);
|
|
3715
|
-
if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
|
|
3716
|
-
queuePostRenderEffect(() => {
|
|
3717
|
-
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
3718
|
-
needCallTransitionHooks && transition.enter(el);
|
|
3719
|
-
dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
|
|
3720
|
-
}, parentSuspense);
|
|
3721
|
-
}
|
|
3722
|
-
};
|
|
3723
|
-
const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
|
|
3724
|
-
if (scopeId) {
|
|
3725
|
-
hostSetScopeId(el, scopeId);
|
|
3726
|
-
}
|
|
3727
|
-
if (slotScopeIds) {
|
|
3728
|
-
for (let i = 0; i < slotScopeIds.length; i++) {
|
|
3729
|
-
hostSetScopeId(el, slotScopeIds[i]);
|
|
3730
|
-
}
|
|
3731
|
-
}
|
|
3732
|
-
if (parentComponent) {
|
|
3733
|
-
let subTree = parentComponent.subTree;
|
|
3734
|
-
if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
|
|
3735
|
-
const parentVNode = parentComponent.vnode;
|
|
3736
|
-
setScopeId(
|
|
3737
|
-
el,
|
|
3738
|
-
parentVNode,
|
|
3739
|
-
parentVNode.scopeId,
|
|
3740
|
-
parentVNode.slotScopeIds,
|
|
3741
|
-
parentComponent.parent
|
|
3742
|
-
);
|
|
3743
|
-
}
|
|
3744
|
-
}
|
|
3745
|
-
};
|
|
3746
|
-
const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
|
|
3747
|
-
for (let i = start; i < children.length; i++) {
|
|
3748
|
-
const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);
|
|
3749
|
-
patch(
|
|
3750
|
-
null,
|
|
3751
|
-
child,
|
|
3752
|
-
container,
|
|
3753
|
-
anchor,
|
|
3754
|
-
parentComponent,
|
|
3755
|
-
parentSuspense,
|
|
3756
|
-
namespace,
|
|
3757
|
-
slotScopeIds,
|
|
3758
|
-
optimized
|
|
3759
|
-
);
|
|
3760
|
-
}
|
|
3761
|
-
};
|
|
3762
|
-
const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
3763
|
-
const el = n2.el = n1.el;
|
|
3764
|
-
let { patchFlag, dynamicChildren, dirs } = n2;
|
|
3765
|
-
patchFlag |= n1.patchFlag & 16;
|
|
3766
|
-
const oldProps = n1.props || shared.EMPTY_OBJ;
|
|
3767
|
-
const newProps = n2.props || shared.EMPTY_OBJ;
|
|
3768
|
-
let vnodeHook;
|
|
3769
|
-
parentComponent && toggleRecurse(parentComponent, false);
|
|
3770
|
-
if (vnodeHook = newProps.onVnodeBeforeUpdate) {
|
|
3771
|
-
invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
3772
|
-
}
|
|
3773
|
-
if (dirs) {
|
|
3774
|
-
invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
3775
|
-
}
|
|
3776
|
-
parentComponent && toggleRecurse(parentComponent, true);
|
|
3777
|
-
if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
|
|
3778
|
-
hostSetElementText(el, "");
|
|
3779
3654
|
}
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
dynamicChildren,
|
|
3784
|
-
el,
|
|
3785
|
-
parentComponent,
|
|
3786
|
-
parentSuspense,
|
|
3787
|
-
resolveChildrenNamespace(n2, namespace),
|
|
3788
|
-
slotScopeIds
|
|
3789
|
-
);
|
|
3790
|
-
} else if (!optimized) {
|
|
3791
|
-
patchChildren(
|
|
3792
|
-
n1,
|
|
3793
|
-
n2,
|
|
3794
|
-
el,
|
|
3795
|
-
null,
|
|
3796
|
-
parentComponent,
|
|
3797
|
-
parentSuspense,
|
|
3798
|
-
resolveChildrenNamespace(n2, namespace),
|
|
3799
|
-
slotScopeIds,
|
|
3800
|
-
false
|
|
3801
|
-
);
|
|
3655
|
+
} else {
|
|
3656
|
+
if (setFullProps(instance, rawProps, props, attrs)) {
|
|
3657
|
+
hasAttrsChanged = true;
|
|
3802
3658
|
}
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3659
|
+
let kebabKey;
|
|
3660
|
+
for (const key in rawCurrentProps) {
|
|
3661
|
+
if (!rawProps || // for camelCase
|
|
3662
|
+
!shared.hasOwn(rawProps, key) && // it's possible the original props was passed in as kebab-case
|
|
3663
|
+
// and converted to camelCase (#955)
|
|
3664
|
+
((kebabKey = shared.hyphenate(key)) === key || !shared.hasOwn(rawProps, kebabKey))) {
|
|
3665
|
+
if (options) {
|
|
3666
|
+
if (rawPrevProps && // for camelCase
|
|
3667
|
+
(rawPrevProps[key] !== void 0 || // for kebab-case
|
|
3668
|
+
rawPrevProps[kebabKey] !== void 0)) {
|
|
3669
|
+
props[key] = resolvePropValue(
|
|
3670
|
+
options,
|
|
3671
|
+
rawCurrentProps,
|
|
3672
|
+
key,
|
|
3673
|
+
void 0,
|
|
3674
|
+
instance,
|
|
3675
|
+
true
|
|
3676
|
+
);
|
|
3810
3677
|
}
|
|
3678
|
+
} else {
|
|
3679
|
+
delete props[key];
|
|
3811
3680
|
}
|
|
3812
|
-
|
|
3813
|
-
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
if (attrs !== rawCurrentProps) {
|
|
3684
|
+
for (const key in attrs) {
|
|
3685
|
+
if (!rawProps || !shared.hasOwn(rawProps, key) && true) {
|
|
3686
|
+
delete attrs[key];
|
|
3687
|
+
hasAttrsChanged = true;
|
|
3814
3688
|
}
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3689
|
+
}
|
|
3690
|
+
}
|
|
3691
|
+
}
|
|
3692
|
+
if (hasAttrsChanged) {
|
|
3693
|
+
reactivity.trigger(instance.attrs, "set", "");
|
|
3694
|
+
}
|
|
3695
|
+
}
|
|
3696
|
+
function setFullProps(instance, rawProps, props, attrs) {
|
|
3697
|
+
const [options, needCastKeys] = instance.propsOptions;
|
|
3698
|
+
let hasAttrsChanged = false;
|
|
3699
|
+
let rawCastValues;
|
|
3700
|
+
if (rawProps) {
|
|
3701
|
+
for (let key in rawProps) {
|
|
3702
|
+
if (shared.isReservedProp(key)) {
|
|
3703
|
+
continue;
|
|
3704
|
+
}
|
|
3705
|
+
const value = rawProps[key];
|
|
3706
|
+
let camelKey;
|
|
3707
|
+
if (options && shared.hasOwn(options, camelKey = shared.camelize(key))) {
|
|
3708
|
+
if (!needCastKeys || !needCastKeys.includes(camelKey)) {
|
|
3709
|
+
props[camelKey] = value;
|
|
3710
|
+
} else {
|
|
3711
|
+
(rawCastValues || (rawCastValues = {}))[camelKey] = value;
|
|
3712
|
+
}
|
|
3713
|
+
} else if (!isEmitListener(instance.emitsOptions, key)) {
|
|
3714
|
+
if (!(key in attrs) || value !== attrs[key]) {
|
|
3715
|
+
attrs[key] = value;
|
|
3716
|
+
hasAttrsChanged = true;
|
|
3825
3717
|
}
|
|
3826
3718
|
}
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
if (needCastKeys) {
|
|
3722
|
+
const rawCurrentProps = reactivity.toRaw(props);
|
|
3723
|
+
const castValues = rawCastValues || shared.EMPTY_OBJ;
|
|
3724
|
+
for (let i = 0; i < needCastKeys.length; i++) {
|
|
3725
|
+
const key = needCastKeys[i];
|
|
3726
|
+
props[key] = resolvePropValue(
|
|
3727
|
+
options,
|
|
3728
|
+
rawCurrentProps,
|
|
3729
|
+
key,
|
|
3730
|
+
castValues[key],
|
|
3731
|
+
instance,
|
|
3732
|
+
!shared.hasOwn(castValues, key)
|
|
3733
|
+
);
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3736
|
+
return hasAttrsChanged;
|
|
3737
|
+
}
|
|
3738
|
+
function resolvePropValue(options, props, key, value, instance, isAbsent) {
|
|
3739
|
+
const opt = options[key];
|
|
3740
|
+
if (opt != null) {
|
|
3741
|
+
const hasDefault = shared.hasOwn(opt, "default");
|
|
3742
|
+
if (hasDefault && value === void 0) {
|
|
3743
|
+
const defaultValue = opt.default;
|
|
3744
|
+
if (opt.type !== Function && !opt.skipFactory && shared.isFunction(defaultValue)) {
|
|
3745
|
+
const { propsDefaults } = instance;
|
|
3746
|
+
if (key in propsDefaults) {
|
|
3747
|
+
value = propsDefaults[key];
|
|
3748
|
+
} else {
|
|
3749
|
+
const reset = setCurrentInstance(instance);
|
|
3750
|
+
value = propsDefaults[key] = defaultValue.call(
|
|
3751
|
+
null,
|
|
3752
|
+
props
|
|
3753
|
+
);
|
|
3754
|
+
reset();
|
|
3830
3755
|
}
|
|
3756
|
+
} else {
|
|
3757
|
+
value = defaultValue;
|
|
3758
|
+
}
|
|
3759
|
+
if (instance.ce) {
|
|
3760
|
+
instance.ce._setProp(key, value);
|
|
3831
3761
|
}
|
|
3832
|
-
} else if (!optimized && dynamicChildren == null) {
|
|
3833
|
-
patchProps(el, oldProps, newProps, parentComponent, namespace);
|
|
3834
3762
|
}
|
|
3835
|
-
if (
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3763
|
+
if (opt[0 /* shouldCast */]) {
|
|
3764
|
+
if (isAbsent && !hasDefault) {
|
|
3765
|
+
value = false;
|
|
3766
|
+
} else if (opt[1 /* shouldCastTrue */] && (value === "" || value === shared.hyphenate(key))) {
|
|
3767
|
+
value = true;
|
|
3768
|
+
}
|
|
3840
3769
|
}
|
|
3841
|
-
}
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
);
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
null,
|
|
3865
|
-
parentComponent,
|
|
3866
|
-
parentSuspense,
|
|
3867
|
-
namespace,
|
|
3868
|
-
slotScopeIds,
|
|
3869
|
-
true
|
|
3870
|
-
);
|
|
3770
|
+
}
|
|
3771
|
+
return value;
|
|
3772
|
+
}
|
|
3773
|
+
const mixinPropsCache = /* @__PURE__ */ new WeakMap();
|
|
3774
|
+
function normalizePropsOptions(comp, appContext, asMixin = false) {
|
|
3775
|
+
const cache = asMixin ? mixinPropsCache : appContext.propsCache;
|
|
3776
|
+
const cached = cache.get(comp);
|
|
3777
|
+
if (cached) {
|
|
3778
|
+
return cached;
|
|
3779
|
+
}
|
|
3780
|
+
const raw = comp.props;
|
|
3781
|
+
const normalized = {};
|
|
3782
|
+
const needCastKeys = [];
|
|
3783
|
+
let hasExtends = false;
|
|
3784
|
+
if (!shared.isFunction(comp)) {
|
|
3785
|
+
const extendProps = (raw2) => {
|
|
3786
|
+
hasExtends = true;
|
|
3787
|
+
const [props, keys] = normalizePropsOptions(raw2, appContext, true);
|
|
3788
|
+
shared.extend(normalized, props);
|
|
3789
|
+
if (keys) needCastKeys.push(...keys);
|
|
3790
|
+
};
|
|
3791
|
+
if (!asMixin && appContext.mixins.length) {
|
|
3792
|
+
appContext.mixins.forEach(extendProps);
|
|
3871
3793
|
}
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3794
|
+
if (comp.extends) {
|
|
3795
|
+
extendProps(comp.extends);
|
|
3796
|
+
}
|
|
3797
|
+
if (comp.mixins) {
|
|
3798
|
+
comp.mixins.forEach(extendProps);
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
if (!raw && !hasExtends) {
|
|
3802
|
+
if (shared.isObject(comp)) {
|
|
3803
|
+
cache.set(comp, shared.EMPTY_ARR);
|
|
3804
|
+
}
|
|
3805
|
+
return shared.EMPTY_ARR;
|
|
3806
|
+
}
|
|
3807
|
+
if (shared.isArray(raw)) {
|
|
3808
|
+
for (let i = 0; i < raw.length; i++) {
|
|
3809
|
+
const normalizedKey = shared.camelize(raw[i]);
|
|
3810
|
+
if (validatePropName(normalizedKey)) {
|
|
3811
|
+
normalized[normalizedKey] = shared.EMPTY_OBJ;
|
|
3812
|
+
}
|
|
3813
|
+
}
|
|
3814
|
+
} else if (raw) {
|
|
3815
|
+
for (const key in raw) {
|
|
3816
|
+
const normalizedKey = shared.camelize(key);
|
|
3817
|
+
if (validatePropName(normalizedKey)) {
|
|
3818
|
+
const opt = raw[key];
|
|
3819
|
+
const prop = normalized[normalizedKey] = shared.isArray(opt) || shared.isFunction(opt) ? { type: opt } : shared.extend({}, opt);
|
|
3820
|
+
const propType = prop.type;
|
|
3821
|
+
let shouldCast = false;
|
|
3822
|
+
let shouldCastTrue = true;
|
|
3823
|
+
if (shared.isArray(propType)) {
|
|
3824
|
+
for (let index = 0; index < propType.length; ++index) {
|
|
3825
|
+
const type = propType[index];
|
|
3826
|
+
const typeName = shared.isFunction(type) && type.name;
|
|
3827
|
+
if (typeName === "Boolean") {
|
|
3828
|
+
shouldCast = true;
|
|
3829
|
+
break;
|
|
3830
|
+
} else if (typeName === "String") {
|
|
3831
|
+
shouldCastTrue = false;
|
|
3832
|
+
}
|
|
3886
3833
|
}
|
|
3834
|
+
} else {
|
|
3835
|
+
shouldCast = shared.isFunction(propType) && propType.name === "Boolean";
|
|
3887
3836
|
}
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
if (shared.
|
|
3891
|
-
|
|
3892
|
-
const prev = oldProps[key];
|
|
3893
|
-
if (next !== prev && key !== "value") {
|
|
3894
|
-
hostPatchProp(el, key, prev, next, namespace, parentComponent);
|
|
3837
|
+
prop[0 /* shouldCast */] = shouldCast;
|
|
3838
|
+
prop[1 /* shouldCastTrue */] = shouldCastTrue;
|
|
3839
|
+
if (shouldCast || shared.hasOwn(prop, "default")) {
|
|
3840
|
+
needCastKeys.push(normalizedKey);
|
|
3895
3841
|
}
|
|
3896
3842
|
}
|
|
3897
|
-
if ("value" in newProps) {
|
|
3898
|
-
hostPatchProp(el, "value", oldProps.value, newProps.value, namespace);
|
|
3899
|
-
}
|
|
3900
3843
|
}
|
|
3901
|
-
}
|
|
3902
|
-
const
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3844
|
+
}
|
|
3845
|
+
const res = [normalized, needCastKeys];
|
|
3846
|
+
if (shared.isObject(comp)) {
|
|
3847
|
+
cache.set(comp, res);
|
|
3848
|
+
}
|
|
3849
|
+
return res;
|
|
3850
|
+
}
|
|
3851
|
+
function validatePropName(key) {
|
|
3852
|
+
if (key[0] !== "$" && !shared.isReservedProp(key)) {
|
|
3853
|
+
return true;
|
|
3854
|
+
}
|
|
3855
|
+
return false;
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
const isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
3859
|
+
const normalizeSlotValue = (value) => shared.isArray(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
3860
|
+
const normalizeSlot = (key, rawSlot, ctx) => {
|
|
3861
|
+
if (rawSlot._n) {
|
|
3862
|
+
return rawSlot;
|
|
3863
|
+
}
|
|
3864
|
+
const normalized = withCtx((...args) => {
|
|
3865
|
+
if (false) ;
|
|
3866
|
+
return normalizeSlotValue(rawSlot(...args));
|
|
3867
|
+
}, ctx);
|
|
3868
|
+
normalized._c = false;
|
|
3869
|
+
return normalized;
|
|
3870
|
+
};
|
|
3871
|
+
const normalizeObjectSlots = (rawSlots, slots, instance) => {
|
|
3872
|
+
const ctx = rawSlots._ctx;
|
|
3873
|
+
for (const key in rawSlots) {
|
|
3874
|
+
if (isInternalKey(key)) continue;
|
|
3875
|
+
const value = rawSlots[key];
|
|
3876
|
+
if (shared.isFunction(value)) {
|
|
3877
|
+
slots[key] = normalizeSlot(key, value, ctx);
|
|
3878
|
+
} else if (value != null) {
|
|
3879
|
+
const normalized = normalizeSlotValue(value);
|
|
3880
|
+
slots[key] = () => normalized;
|
|
3908
3881
|
}
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3882
|
+
}
|
|
3883
|
+
};
|
|
3884
|
+
const normalizeVNodeSlots = (instance, children) => {
|
|
3885
|
+
const normalized = normalizeSlotValue(children);
|
|
3886
|
+
instance.slots.default = () => normalized;
|
|
3887
|
+
};
|
|
3888
|
+
const assignSlots = (slots, children, optimized) => {
|
|
3889
|
+
for (const key in children) {
|
|
3890
|
+
if (optimized || !isInternalKey(key)) {
|
|
3891
|
+
slots[key] = children[key];
|
|
3892
|
+
}
|
|
3893
|
+
}
|
|
3894
|
+
};
|
|
3895
|
+
const initSlots = (instance, children, optimized) => {
|
|
3896
|
+
const slots = instance.slots = createInternalObject();
|
|
3897
|
+
if (instance.vnode.shapeFlag & 32) {
|
|
3898
|
+
const type = children._;
|
|
3899
|
+
if (type) {
|
|
3900
|
+
assignSlots(slots, children, optimized);
|
|
3901
|
+
if (optimized) {
|
|
3902
|
+
shared.def(slots, "_", type, true);
|
|
3903
|
+
}
|
|
3926
3904
|
} else {
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3905
|
+
normalizeObjectSlots(children, slots);
|
|
3906
|
+
}
|
|
3907
|
+
} else if (children) {
|
|
3908
|
+
normalizeVNodeSlots(instance, children);
|
|
3909
|
+
}
|
|
3910
|
+
};
|
|
3911
|
+
const updateSlots = (instance, children, optimized) => {
|
|
3912
|
+
const { vnode, slots } = instance;
|
|
3913
|
+
let needDeletionCheck = true;
|
|
3914
|
+
let deletionComparisonTarget = shared.EMPTY_OBJ;
|
|
3915
|
+
if (vnode.shapeFlag & 32) {
|
|
3916
|
+
const type = children._;
|
|
3917
|
+
if (type) {
|
|
3918
|
+
if (optimized && type === 1) {
|
|
3919
|
+
needDeletionCheck = false;
|
|
3920
|
+
} else {
|
|
3921
|
+
assignSlots(slots, children, optimized);
|
|
3922
|
+
}
|
|
3923
|
+
} else {
|
|
3924
|
+
needDeletionCheck = !children.$stable;
|
|
3925
|
+
normalizeObjectSlots(children, slots);
|
|
3926
|
+
}
|
|
3927
|
+
deletionComparisonTarget = children;
|
|
3928
|
+
} else if (children) {
|
|
3929
|
+
normalizeVNodeSlots(instance, children);
|
|
3930
|
+
deletionComparisonTarget = { default: 1 };
|
|
3931
|
+
}
|
|
3932
|
+
if (needDeletionCheck) {
|
|
3933
|
+
for (const key in slots) {
|
|
3934
|
+
if (!isInternalKey(key) && deletionComparisonTarget[key] == null) {
|
|
3935
|
+
delete slots[key];
|
|
3936
|
+
}
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
};
|
|
3940
|
+
|
|
3941
|
+
const queuePostRenderEffect = queueEffectWithSuspense ;
|
|
3942
|
+
function createRenderer(options) {
|
|
3943
|
+
return baseCreateRenderer(options);
|
|
3944
|
+
}
|
|
3945
|
+
function createHydrationRenderer(options) {
|
|
3946
|
+
return baseCreateRenderer(options, createHydrationFunctions);
|
|
3947
|
+
}
|
|
3948
|
+
function baseCreateRenderer(options, createHydrationFns) {
|
|
3949
|
+
const target = shared.getGlobalThis();
|
|
3950
|
+
target.__VUE__ = true;
|
|
3951
|
+
const {
|
|
3952
|
+
insert: hostInsert,
|
|
3953
|
+
remove: hostRemove,
|
|
3954
|
+
patchProp: hostPatchProp,
|
|
3955
|
+
createElement: hostCreateElement,
|
|
3956
|
+
createText: hostCreateText,
|
|
3957
|
+
createComment: hostCreateComment,
|
|
3958
|
+
setText: hostSetText,
|
|
3959
|
+
setElementText: hostSetElementText,
|
|
3960
|
+
parentNode: hostParentNode,
|
|
3961
|
+
nextSibling: hostNextSibling,
|
|
3962
|
+
setScopeId: hostSetScopeId = shared.NOOP,
|
|
3963
|
+
insertStaticContent: hostInsertStaticContent
|
|
3964
|
+
} = options;
|
|
3965
|
+
const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, namespace = void 0, slotScopeIds = null, optimized = !!n2.dynamicChildren) => {
|
|
3966
|
+
if (n1 === n2) {
|
|
3967
|
+
return;
|
|
3968
|
+
}
|
|
3969
|
+
if (n1 && !isSameVNodeType(n1, n2)) {
|
|
3970
|
+
anchor = getNextHostNode(n1);
|
|
3971
|
+
unmount(n1, parentComponent, parentSuspense, true);
|
|
3972
|
+
n1 = null;
|
|
3973
|
+
}
|
|
3974
|
+
if (n2.patchFlag === -2) {
|
|
3975
|
+
optimized = false;
|
|
3976
|
+
n2.dynamicChildren = null;
|
|
3977
|
+
}
|
|
3978
|
+
const { type, ref, shapeFlag } = n2;
|
|
3979
|
+
switch (type) {
|
|
3980
|
+
case Text:
|
|
3981
|
+
processText(n1, n2, container, anchor);
|
|
3982
|
+
break;
|
|
3983
|
+
case Comment:
|
|
3984
|
+
processCommentNode(n1, n2, container, anchor);
|
|
3985
|
+
break;
|
|
3986
|
+
case Static:
|
|
3987
|
+
if (n1 == null) {
|
|
3988
|
+
mountStaticNode(n2, container, anchor, namespace);
|
|
3989
|
+
}
|
|
3990
|
+
break;
|
|
3991
|
+
case Fragment:
|
|
3992
|
+
processFragment(
|
|
3993
|
+
n1,
|
|
3994
|
+
n2,
|
|
3933
3995
|
container,
|
|
3996
|
+
anchor,
|
|
3934
3997
|
parentComponent,
|
|
3935
3998
|
parentSuspense,
|
|
3936
3999
|
namespace,
|
|
3937
|
-
slotScopeIds
|
|
4000
|
+
slotScopeIds,
|
|
4001
|
+
optimized
|
|
3938
4002
|
);
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
// as the component is being moved.
|
|
3944
|
-
n2.key != null || parentComponent && n2 === parentComponent.subTree
|
|
3945
|
-
) {
|
|
3946
|
-
traverseStaticChildren(
|
|
4003
|
+
break;
|
|
4004
|
+
default:
|
|
4005
|
+
if (shapeFlag & 1) {
|
|
4006
|
+
processElement(
|
|
3947
4007
|
n1,
|
|
3948
4008
|
n2,
|
|
3949
|
-
|
|
3950
|
-
|
|
4009
|
+
container,
|
|
4010
|
+
anchor,
|
|
4011
|
+
parentComponent,
|
|
4012
|
+
parentSuspense,
|
|
4013
|
+
namespace,
|
|
4014
|
+
slotScopeIds,
|
|
4015
|
+
optimized
|
|
4016
|
+
);
|
|
4017
|
+
} else if (shapeFlag & 6) {
|
|
4018
|
+
processComponent(
|
|
4019
|
+
n1,
|
|
4020
|
+
n2,
|
|
4021
|
+
container,
|
|
4022
|
+
anchor,
|
|
4023
|
+
parentComponent,
|
|
4024
|
+
parentSuspense,
|
|
4025
|
+
namespace,
|
|
4026
|
+
slotScopeIds,
|
|
4027
|
+
optimized
|
|
4028
|
+
);
|
|
4029
|
+
} else if (shapeFlag & 64) {
|
|
4030
|
+
type.process(
|
|
4031
|
+
n1,
|
|
4032
|
+
n2,
|
|
4033
|
+
container,
|
|
4034
|
+
anchor,
|
|
4035
|
+
parentComponent,
|
|
4036
|
+
parentSuspense,
|
|
4037
|
+
namespace,
|
|
4038
|
+
slotScopeIds,
|
|
4039
|
+
optimized,
|
|
4040
|
+
internals
|
|
4041
|
+
);
|
|
4042
|
+
} else if (shapeFlag & 128) {
|
|
4043
|
+
type.process(
|
|
4044
|
+
n1,
|
|
4045
|
+
n2,
|
|
4046
|
+
container,
|
|
4047
|
+
anchor,
|
|
4048
|
+
parentComponent,
|
|
4049
|
+
parentSuspense,
|
|
4050
|
+
namespace,
|
|
4051
|
+
slotScopeIds,
|
|
4052
|
+
optimized,
|
|
4053
|
+
internals
|
|
3951
4054
|
);
|
|
3952
|
-
}
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
fragmentEndAnchor,
|
|
3959
|
-
parentComponent,
|
|
3960
|
-
parentSuspense,
|
|
3961
|
-
namespace,
|
|
3962
|
-
slotScopeIds,
|
|
3963
|
-
optimized
|
|
3964
|
-
);
|
|
3965
|
-
}
|
|
4055
|
+
} else ;
|
|
4056
|
+
}
|
|
4057
|
+
if (ref != null && parentComponent) {
|
|
4058
|
+
setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
|
|
4059
|
+
} else if (ref == null && n1 && n1.ref != null) {
|
|
4060
|
+
setRef(n1.ref, null, parentSuspense, n1, true);
|
|
3966
4061
|
}
|
|
3967
4062
|
};
|
|
3968
|
-
const
|
|
3969
|
-
n2.slotScopeIds = slotScopeIds;
|
|
4063
|
+
const processText = (n1, n2, container, anchor) => {
|
|
3970
4064
|
if (n1 == null) {
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
namespace,
|
|
3977
|
-
optimized
|
|
3978
|
-
);
|
|
3979
|
-
} else {
|
|
3980
|
-
mountComponent(
|
|
3981
|
-
n2,
|
|
3982
|
-
container,
|
|
3983
|
-
anchor,
|
|
3984
|
-
parentComponent,
|
|
3985
|
-
parentSuspense,
|
|
3986
|
-
namespace,
|
|
3987
|
-
optimized
|
|
3988
|
-
);
|
|
3989
|
-
}
|
|
4065
|
+
hostInsert(
|
|
4066
|
+
n2.el = hostCreateText(n2.children),
|
|
4067
|
+
container,
|
|
4068
|
+
anchor
|
|
4069
|
+
);
|
|
3990
4070
|
} else {
|
|
3991
|
-
|
|
4071
|
+
const el = n2.el = n1.el;
|
|
4072
|
+
if (n2.children !== n1.children) {
|
|
4073
|
+
{
|
|
4074
|
+
hostSetText(el, n2.children);
|
|
4075
|
+
}
|
|
4076
|
+
}
|
|
3992
4077
|
}
|
|
3993
4078
|
};
|
|
3994
|
-
const
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
parentSuspense
|
|
3999
|
-
));
|
|
4000
|
-
if (isKeepAlive(initialVNode)) {
|
|
4001
|
-
instance.ctx.renderer = internals;
|
|
4002
|
-
}
|
|
4003
|
-
{
|
|
4004
|
-
setupComponent(instance, false, optimized);
|
|
4005
|
-
}
|
|
4006
|
-
if (instance.asyncDep) {
|
|
4007
|
-
parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
|
|
4008
|
-
if (!initialVNode.el) {
|
|
4009
|
-
const placeholder = instance.subTree = createVNode(Comment);
|
|
4010
|
-
processCommentNode(null, placeholder, container, anchor);
|
|
4011
|
-
initialVNode.placeholder = placeholder.el;
|
|
4012
|
-
}
|
|
4013
|
-
} else {
|
|
4014
|
-
setupRenderEffect(
|
|
4015
|
-
instance,
|
|
4016
|
-
initialVNode,
|
|
4079
|
+
const processCommentNode = (n1, n2, container, anchor) => {
|
|
4080
|
+
if (n1 == null) {
|
|
4081
|
+
hostInsert(
|
|
4082
|
+
n2.el = hostCreateComment(n2.children || ""),
|
|
4017
4083
|
container,
|
|
4018
|
-
anchor
|
|
4019
|
-
parentSuspense,
|
|
4020
|
-
namespace,
|
|
4021
|
-
optimized
|
|
4084
|
+
anchor
|
|
4022
4085
|
);
|
|
4023
|
-
}
|
|
4024
|
-
};
|
|
4025
|
-
const updateComponent = (n1, n2, optimized) => {
|
|
4026
|
-
const instance = n2.component = n1.component;
|
|
4027
|
-
if (shouldUpdateComponent(n1, n2, optimized)) {
|
|
4028
|
-
if (instance.asyncDep && !instance.asyncResolved) {
|
|
4029
|
-
updateComponentPreRender(instance, n2, optimized);
|
|
4030
|
-
return;
|
|
4031
|
-
} else {
|
|
4032
|
-
instance.next = n2;
|
|
4033
|
-
instance.update();
|
|
4034
|
-
}
|
|
4035
4086
|
} else {
|
|
4036
4087
|
n2.el = n1.el;
|
|
4037
|
-
instance.vnode = n2;
|
|
4038
4088
|
}
|
|
4039
4089
|
};
|
|
4040
|
-
const
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
hydrateNode(
|
|
4059
|
-
el,
|
|
4060
|
-
instance.subTree,
|
|
4061
|
-
instance,
|
|
4062
|
-
parentSuspense,
|
|
4063
|
-
null
|
|
4064
|
-
);
|
|
4065
|
-
};
|
|
4066
|
-
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
4067
|
-
type.__asyncHydrate(
|
|
4068
|
-
el,
|
|
4069
|
-
instance,
|
|
4070
|
-
hydrateSubTree
|
|
4071
|
-
);
|
|
4072
|
-
} else {
|
|
4073
|
-
hydrateSubTree();
|
|
4074
|
-
}
|
|
4075
|
-
} else {
|
|
4076
|
-
if (root.ce && // @ts-expect-error _def is private
|
|
4077
|
-
root.ce._def.shadowRoot !== false) {
|
|
4078
|
-
root.ce._injectChildStyle(type);
|
|
4079
|
-
}
|
|
4080
|
-
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
4081
|
-
patch(
|
|
4082
|
-
null,
|
|
4083
|
-
subTree,
|
|
4084
|
-
container,
|
|
4085
|
-
anchor,
|
|
4086
|
-
instance,
|
|
4087
|
-
parentSuspense,
|
|
4088
|
-
namespace
|
|
4089
|
-
);
|
|
4090
|
-
initialVNode.el = subTree.el;
|
|
4091
|
-
}
|
|
4092
|
-
if (m) {
|
|
4093
|
-
queuePostRenderEffect(m, parentSuspense);
|
|
4094
|
-
}
|
|
4095
|
-
if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
|
|
4096
|
-
const scopedInitialVNode = initialVNode;
|
|
4097
|
-
queuePostRenderEffect(
|
|
4098
|
-
() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode),
|
|
4099
|
-
parentSuspense
|
|
4100
|
-
);
|
|
4101
|
-
}
|
|
4102
|
-
if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {
|
|
4103
|
-
instance.a && queuePostRenderEffect(instance.a, parentSuspense);
|
|
4104
|
-
}
|
|
4105
|
-
instance.isMounted = true;
|
|
4106
|
-
initialVNode = container = anchor = null;
|
|
4107
|
-
} else {
|
|
4108
|
-
let { next, bu, u, parent, vnode } = instance;
|
|
4109
|
-
{
|
|
4110
|
-
const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
|
|
4111
|
-
if (nonHydratedAsyncRoot) {
|
|
4112
|
-
if (next) {
|
|
4113
|
-
next.el = vnode.el;
|
|
4114
|
-
updateComponentPreRender(instance, next, optimized);
|
|
4115
|
-
}
|
|
4116
|
-
nonHydratedAsyncRoot.asyncDep.then(() => {
|
|
4117
|
-
if (!instance.isUnmounted) {
|
|
4118
|
-
componentUpdateFn();
|
|
4119
|
-
}
|
|
4120
|
-
});
|
|
4121
|
-
return;
|
|
4122
|
-
}
|
|
4123
|
-
}
|
|
4124
|
-
let originNext = next;
|
|
4125
|
-
let vnodeHook;
|
|
4126
|
-
toggleRecurse(instance, false);
|
|
4127
|
-
if (next) {
|
|
4128
|
-
next.el = vnode.el;
|
|
4129
|
-
updateComponentPreRender(instance, next, optimized);
|
|
4130
|
-
} else {
|
|
4131
|
-
next = vnode;
|
|
4132
|
-
}
|
|
4133
|
-
if (bu) {
|
|
4134
|
-
shared.invokeArrayFns(bu);
|
|
4135
|
-
}
|
|
4136
|
-
if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {
|
|
4137
|
-
invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
4138
|
-
}
|
|
4139
|
-
toggleRecurse(instance, true);
|
|
4140
|
-
const nextTree = renderComponentRoot(instance);
|
|
4141
|
-
const prevTree = instance.subTree;
|
|
4142
|
-
instance.subTree = nextTree;
|
|
4143
|
-
patch(
|
|
4144
|
-
prevTree,
|
|
4145
|
-
nextTree,
|
|
4146
|
-
// parent may have changed if it's in a teleport
|
|
4147
|
-
hostParentNode(prevTree.el),
|
|
4148
|
-
// anchor may have changed if it's in a fragment
|
|
4149
|
-
getNextHostNode(prevTree),
|
|
4150
|
-
instance,
|
|
4151
|
-
parentSuspense,
|
|
4152
|
-
namespace
|
|
4153
|
-
);
|
|
4154
|
-
next.el = nextTree.el;
|
|
4155
|
-
if (originNext === null) {
|
|
4156
|
-
updateHOCHostEl(instance, nextTree.el);
|
|
4157
|
-
}
|
|
4158
|
-
if (u) {
|
|
4159
|
-
queuePostRenderEffect(u, parentSuspense);
|
|
4160
|
-
}
|
|
4161
|
-
if (vnodeHook = next.props && next.props.onVnodeUpdated) {
|
|
4162
|
-
queuePostRenderEffect(
|
|
4163
|
-
() => invokeVNodeHook(vnodeHook, parent, next, vnode),
|
|
4164
|
-
parentSuspense
|
|
4165
|
-
);
|
|
4166
|
-
}
|
|
4167
|
-
}
|
|
4168
|
-
};
|
|
4169
|
-
instance.scope.on();
|
|
4170
|
-
const effect = instance.effect = new reactivity.ReactiveEffect(componentUpdateFn);
|
|
4171
|
-
instance.scope.off();
|
|
4172
|
-
const update = instance.update = effect.run.bind(effect);
|
|
4173
|
-
const job = instance.job = effect.runIfDirty.bind(effect);
|
|
4174
|
-
job.i = instance;
|
|
4175
|
-
job.id = instance.uid;
|
|
4176
|
-
effect.scheduler = () => queueJob(job);
|
|
4177
|
-
toggleRecurse(instance, true);
|
|
4178
|
-
update();
|
|
4090
|
+
const mountStaticNode = (n2, container, anchor, namespace) => {
|
|
4091
|
+
[n2.el, n2.anchor] = hostInsertStaticContent(
|
|
4092
|
+
n2.children,
|
|
4093
|
+
container,
|
|
4094
|
+
anchor,
|
|
4095
|
+
namespace,
|
|
4096
|
+
n2.el,
|
|
4097
|
+
n2.anchor
|
|
4098
|
+
);
|
|
4099
|
+
};
|
|
4100
|
+
const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
|
|
4101
|
+
let next;
|
|
4102
|
+
while (el && el !== anchor) {
|
|
4103
|
+
next = hostNextSibling(el);
|
|
4104
|
+
hostInsert(el, container, nextSibling);
|
|
4105
|
+
el = next;
|
|
4106
|
+
}
|
|
4107
|
+
hostInsert(anchor, container, nextSibling);
|
|
4179
4108
|
};
|
|
4180
|
-
const
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
flushPreFlushCbs(instance);
|
|
4189
|
-
reactivity.resetTracking();
|
|
4109
|
+
const removeStaticNode = ({ el, anchor }) => {
|
|
4110
|
+
let next;
|
|
4111
|
+
while (el && el !== anchor) {
|
|
4112
|
+
next = hostNextSibling(el);
|
|
4113
|
+
hostRemove(el);
|
|
4114
|
+
el = next;
|
|
4115
|
+
}
|
|
4116
|
+
hostRemove(anchor);
|
|
4190
4117
|
};
|
|
4191
|
-
const
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4118
|
+
const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4119
|
+
if (n2.type === "svg") {
|
|
4120
|
+
namespace = "svg";
|
|
4121
|
+
} else if (n2.type === "math") {
|
|
4122
|
+
namespace = "mathml";
|
|
4123
|
+
}
|
|
4124
|
+
if (n1 == null) {
|
|
4125
|
+
mountElement(
|
|
4126
|
+
n2,
|
|
4127
|
+
container,
|
|
4128
|
+
anchor,
|
|
4129
|
+
parentComponent,
|
|
4130
|
+
parentSuspense,
|
|
4131
|
+
namespace,
|
|
4132
|
+
slotScopeIds,
|
|
4133
|
+
optimized
|
|
4134
|
+
);
|
|
4135
|
+
} else {
|
|
4136
|
+
const customElement = !!(n1.el && n1.el._isVueCE) ? n1.el : null;
|
|
4137
|
+
try {
|
|
4138
|
+
if (customElement) {
|
|
4139
|
+
customElement._beginPatch();
|
|
4140
|
+
}
|
|
4141
|
+
patchElement(
|
|
4142
|
+
n1,
|
|
4143
|
+
n2,
|
|
4216
4144
|
parentComponent,
|
|
4217
4145
|
parentSuspense,
|
|
4218
4146
|
namespace,
|
|
4219
4147
|
slotScopeIds,
|
|
4220
4148
|
optimized
|
|
4221
4149
|
);
|
|
4222
|
-
|
|
4150
|
+
} finally {
|
|
4151
|
+
if (customElement) {
|
|
4152
|
+
customElement._endPatch();
|
|
4153
|
+
}
|
|
4223
4154
|
}
|
|
4224
4155
|
}
|
|
4156
|
+
};
|
|
4157
|
+
const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4158
|
+
let el;
|
|
4159
|
+
let vnodeHook;
|
|
4160
|
+
const { props, shapeFlag, transition, dirs } = vnode;
|
|
4161
|
+
el = vnode.el = hostCreateElement(
|
|
4162
|
+
vnode.type,
|
|
4163
|
+
namespace,
|
|
4164
|
+
props && props.is,
|
|
4165
|
+
props
|
|
4166
|
+
);
|
|
4225
4167
|
if (shapeFlag & 8) {
|
|
4226
|
-
|
|
4227
|
-
|
|
4168
|
+
hostSetElementText(el, vnode.children);
|
|
4169
|
+
} else if (shapeFlag & 16) {
|
|
4170
|
+
mountChildren(
|
|
4171
|
+
vnode.children,
|
|
4172
|
+
el,
|
|
4173
|
+
null,
|
|
4174
|
+
parentComponent,
|
|
4175
|
+
parentSuspense,
|
|
4176
|
+
resolveChildrenNamespace(vnode, namespace),
|
|
4177
|
+
slotScopeIds,
|
|
4178
|
+
optimized
|
|
4179
|
+
);
|
|
4180
|
+
}
|
|
4181
|
+
if (dirs) {
|
|
4182
|
+
invokeDirectiveHook(vnode, null, parentComponent, "created");
|
|
4183
|
+
}
|
|
4184
|
+
setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
|
|
4185
|
+
if (props) {
|
|
4186
|
+
for (const key in props) {
|
|
4187
|
+
if (key !== "value" && !shared.isReservedProp(key)) {
|
|
4188
|
+
hostPatchProp(el, key, null, props[key], namespace, parentComponent);
|
|
4189
|
+
}
|
|
4228
4190
|
}
|
|
4229
|
-
if (
|
|
4230
|
-
|
|
4191
|
+
if ("value" in props) {
|
|
4192
|
+
hostPatchProp(el, "value", null, props.value, namespace);
|
|
4231
4193
|
}
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4194
|
+
if (vnodeHook = props.onVnodeBeforeMount) {
|
|
4195
|
+
invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
if (dirs) {
|
|
4199
|
+
invokeDirectiveHook(vnode, null, parentComponent, "beforeMount");
|
|
4200
|
+
}
|
|
4201
|
+
const needCallTransitionHooks = needTransition(parentSuspense, transition);
|
|
4202
|
+
if (needCallTransitionHooks) {
|
|
4203
|
+
transition.beforeEnter(el);
|
|
4204
|
+
}
|
|
4205
|
+
hostInsert(el, container, anchor);
|
|
4206
|
+
if ((vnodeHook = props && props.onVnodeMounted) || needCallTransitionHooks || dirs) {
|
|
4207
|
+
queuePostRenderEffect(() => {
|
|
4208
|
+
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
4209
|
+
needCallTransitionHooks && transition.enter(el);
|
|
4210
|
+
dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted");
|
|
4211
|
+
}, parentSuspense);
|
|
4212
|
+
}
|
|
4213
|
+
};
|
|
4214
|
+
const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
|
|
4215
|
+
if (scopeId) {
|
|
4216
|
+
hostSetScopeId(el, scopeId);
|
|
4217
|
+
}
|
|
4218
|
+
if (slotScopeIds) {
|
|
4219
|
+
for (let i = 0; i < slotScopeIds.length; i++) {
|
|
4220
|
+
hostSetScopeId(el, slotScopeIds[i]);
|
|
4221
|
+
}
|
|
4222
|
+
}
|
|
4223
|
+
if (parentComponent) {
|
|
4224
|
+
let subTree = parentComponent.subTree;
|
|
4225
|
+
if (vnode === subTree || isSuspense(subTree.type) && (subTree.ssContent === vnode || subTree.ssFallback === vnode)) {
|
|
4226
|
+
const parentVNode = parentComponent.vnode;
|
|
4227
|
+
setScopeId(
|
|
4228
|
+
el,
|
|
4229
|
+
parentVNode,
|
|
4230
|
+
parentVNode.scopeId,
|
|
4231
|
+
parentVNode.slotScopeIds,
|
|
4232
|
+
parentComponent.parent
|
|
4233
|
+
);
|
|
4234
|
+
}
|
|
4235
|
+
}
|
|
4236
|
+
};
|
|
4237
|
+
const mountChildren = (children, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, start = 0) => {
|
|
4238
|
+
for (let i = start; i < children.length; i++) {
|
|
4239
|
+
const child = children[i] = optimized ? cloneIfMounted(children[i]) : normalizeVNode(children[i]);
|
|
4240
|
+
patch(
|
|
4241
|
+
null,
|
|
4242
|
+
child,
|
|
4243
|
+
container,
|
|
4244
|
+
anchor,
|
|
4245
|
+
parentComponent,
|
|
4246
|
+
parentSuspense,
|
|
4247
|
+
namespace,
|
|
4248
|
+
slotScopeIds,
|
|
4249
|
+
optimized
|
|
4250
|
+
);
|
|
4251
|
+
}
|
|
4252
|
+
};
|
|
4253
|
+
const patchElement = (n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4254
|
+
const el = n2.el = n1.el;
|
|
4255
|
+
let { patchFlag, dynamicChildren, dirs } = n2;
|
|
4256
|
+
patchFlag |= n1.patchFlag & 16;
|
|
4257
|
+
const oldProps = n1.props || shared.EMPTY_OBJ;
|
|
4258
|
+
const newProps = n2.props || shared.EMPTY_OBJ;
|
|
4259
|
+
let vnodeHook;
|
|
4260
|
+
parentComponent && toggleRecurse(parentComponent, false);
|
|
4261
|
+
if (vnodeHook = newProps.onVnodeBeforeUpdate) {
|
|
4262
|
+
invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
4263
|
+
}
|
|
4264
|
+
if (dirs) {
|
|
4265
|
+
invokeDirectiveHook(n2, n1, parentComponent, "beforeUpdate");
|
|
4266
|
+
}
|
|
4267
|
+
parentComponent && toggleRecurse(parentComponent, true);
|
|
4268
|
+
if (oldProps.innerHTML && newProps.innerHTML == null || oldProps.textContent && newProps.textContent == null) {
|
|
4269
|
+
hostSetElementText(el, "");
|
|
4270
|
+
}
|
|
4271
|
+
if (dynamicChildren) {
|
|
4272
|
+
patchBlockChildren(
|
|
4273
|
+
n1.dynamicChildren,
|
|
4274
|
+
dynamicChildren,
|
|
4275
|
+
el,
|
|
4276
|
+
parentComponent,
|
|
4277
|
+
parentSuspense,
|
|
4278
|
+
resolveChildrenNamespace(n2, namespace),
|
|
4279
|
+
slotScopeIds
|
|
4280
|
+
);
|
|
4281
|
+
} else if (!optimized) {
|
|
4282
|
+
patchChildren(
|
|
4283
|
+
n1,
|
|
4284
|
+
n2,
|
|
4285
|
+
el,
|
|
4286
|
+
null,
|
|
4287
|
+
parentComponent,
|
|
4288
|
+
parentSuspense,
|
|
4289
|
+
resolveChildrenNamespace(n2, namespace),
|
|
4290
|
+
slotScopeIds,
|
|
4291
|
+
false
|
|
4292
|
+
);
|
|
4293
|
+
}
|
|
4294
|
+
if (patchFlag > 0) {
|
|
4295
|
+
if (patchFlag & 16) {
|
|
4296
|
+
patchProps(el, oldProps, newProps, parentComponent, namespace);
|
|
4249
4297
|
} else {
|
|
4250
|
-
if (
|
|
4251
|
-
|
|
4298
|
+
if (patchFlag & 2) {
|
|
4299
|
+
if (oldProps.class !== newProps.class) {
|
|
4300
|
+
hostPatchProp(el, "class", null, newProps.class, namespace);
|
|
4301
|
+
}
|
|
4252
4302
|
}
|
|
4253
|
-
if (
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4303
|
+
if (patchFlag & 4) {
|
|
4304
|
+
hostPatchProp(el, "style", oldProps.style, newProps.style, namespace);
|
|
4305
|
+
}
|
|
4306
|
+
if (patchFlag & 8) {
|
|
4307
|
+
const propsToUpdate = n2.dynamicProps;
|
|
4308
|
+
for (let i = 0; i < propsToUpdate.length; i++) {
|
|
4309
|
+
const key = propsToUpdate[i];
|
|
4310
|
+
const prev = oldProps[key];
|
|
4311
|
+
const next = newProps[key];
|
|
4312
|
+
if (next !== prev || key === "value") {
|
|
4313
|
+
hostPatchProp(el, key, prev, next, namespace, parentComponent);
|
|
4314
|
+
}
|
|
4315
|
+
}
|
|
4316
|
+
}
|
|
4317
|
+
}
|
|
4318
|
+
if (patchFlag & 1) {
|
|
4319
|
+
if (n1.children !== n2.children) {
|
|
4320
|
+
hostSetElementText(el, n2.children);
|
|
4264
4321
|
}
|
|
4265
4322
|
}
|
|
4323
|
+
} else if (!optimized && dynamicChildren == null) {
|
|
4324
|
+
patchProps(el, oldProps, newProps, parentComponent, namespace);
|
|
4325
|
+
}
|
|
4326
|
+
if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
|
|
4327
|
+
queuePostRenderEffect(() => {
|
|
4328
|
+
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
|
|
4329
|
+
dirs && invokeDirectiveHook(n2, n1, parentComponent, "updated");
|
|
4330
|
+
}, parentSuspense);
|
|
4266
4331
|
}
|
|
4267
4332
|
};
|
|
4268
|
-
const
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4333
|
+
const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, namespace, slotScopeIds) => {
|
|
4334
|
+
for (let i = 0; i < newChildren.length; i++) {
|
|
4335
|
+
const oldVNode = oldChildren[i];
|
|
4336
|
+
const newVNode = newChildren[i];
|
|
4337
|
+
const container = (
|
|
4338
|
+
// oldVNode may be an errored async setup() component inside Suspense
|
|
4339
|
+
// which will not have a mounted element
|
|
4340
|
+
oldVNode.el && // - In the case of a Fragment, we need to provide the actual parent
|
|
4341
|
+
// of the Fragment itself so it can move its children.
|
|
4342
|
+
(oldVNode.type === Fragment || // - In the case of different nodes, there is going to be a replacement
|
|
4343
|
+
// which also requires the correct parent container
|
|
4344
|
+
!isSameVNodeType(oldVNode, newVNode) || // - In the case of a component, it could contain anything.
|
|
4345
|
+
oldVNode.shapeFlag & (6 | 64 | 128)) ? hostParentNode(oldVNode.el) : (
|
|
4346
|
+
// In other cases, the parent container is not actually used so we
|
|
4347
|
+
// just pass the block element here to avoid a DOM parentNode call.
|
|
4348
|
+
fallbackContainer
|
|
4349
|
+
)
|
|
4350
|
+
);
|
|
4277
4351
|
patch(
|
|
4278
|
-
|
|
4279
|
-
|
|
4352
|
+
oldVNode,
|
|
4353
|
+
newVNode,
|
|
4280
4354
|
container,
|
|
4281
4355
|
null,
|
|
4282
4356
|
parentComponent,
|
|
4283
4357
|
parentSuspense,
|
|
4284
4358
|
namespace,
|
|
4285
4359
|
slotScopeIds,
|
|
4286
|
-
|
|
4360
|
+
true
|
|
4287
4361
|
);
|
|
4288
4362
|
}
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4363
|
+
};
|
|
4364
|
+
const patchProps = (el, oldProps, newProps, parentComponent, namespace) => {
|
|
4365
|
+
if (oldProps !== newProps) {
|
|
4366
|
+
if (oldProps !== shared.EMPTY_OBJ) {
|
|
4367
|
+
for (const key in oldProps) {
|
|
4368
|
+
if (!shared.isReservedProp(key) && !(key in newProps)) {
|
|
4369
|
+
hostPatchProp(
|
|
4370
|
+
el,
|
|
4371
|
+
key,
|
|
4372
|
+
oldProps[key],
|
|
4373
|
+
null,
|
|
4374
|
+
namespace,
|
|
4375
|
+
parentComponent
|
|
4376
|
+
);
|
|
4377
|
+
}
|
|
4378
|
+
}
|
|
4379
|
+
}
|
|
4380
|
+
for (const key in newProps) {
|
|
4381
|
+
if (shared.isReservedProp(key)) continue;
|
|
4382
|
+
const next = newProps[key];
|
|
4383
|
+
const prev = oldProps[key];
|
|
4384
|
+
if (next !== prev && key !== "value") {
|
|
4385
|
+
hostPatchProp(el, key, prev, next, namespace, parentComponent);
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4388
|
+
if ("value" in newProps) {
|
|
4389
|
+
hostPatchProp(el, "value", oldProps.value, newProps.value, namespace);
|
|
4390
|
+
}
|
|
4391
|
+
}
|
|
4392
|
+
};
|
|
4393
|
+
const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4394
|
+
const fragmentStartAnchor = n2.el = n1 ? n1.el : hostCreateText("");
|
|
4395
|
+
const fragmentEndAnchor = n2.anchor = n1 ? n1.anchor : hostCreateText("");
|
|
4396
|
+
let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
|
|
4397
|
+
if (fragmentSlotScopeIds) {
|
|
4398
|
+
slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds;
|
|
4399
|
+
}
|
|
4400
|
+
if (n1 == null) {
|
|
4401
|
+
hostInsert(fragmentStartAnchor, container, anchor);
|
|
4402
|
+
hostInsert(fragmentEndAnchor, container, anchor);
|
|
4299
4403
|
mountChildren(
|
|
4300
|
-
|
|
4404
|
+
// #10007
|
|
4405
|
+
// such fragment like `<></>` will be compiled into
|
|
4406
|
+
// a fragment which doesn't have a children.
|
|
4407
|
+
// In this case fallback to an empty array
|
|
4408
|
+
n2.children || [],
|
|
4301
4409
|
container,
|
|
4302
|
-
|
|
4410
|
+
fragmentEndAnchor,
|
|
4303
4411
|
parentComponent,
|
|
4304
4412
|
parentSuspense,
|
|
4305
4413
|
namespace,
|
|
4306
4414
|
slotScopeIds,
|
|
4307
|
-
optimized
|
|
4308
|
-
commonLength
|
|
4415
|
+
optimized
|
|
4309
4416
|
);
|
|
4310
|
-
}
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4417
|
+
} else {
|
|
4418
|
+
if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && // #2715 the previous fragment could've been a BAILed one as a result
|
|
4419
|
+
// of renderSlot() with no valid children
|
|
4420
|
+
n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
4421
|
+
patchBlockChildren(
|
|
4422
|
+
n1.dynamicChildren,
|
|
4423
|
+
dynamicChildren,
|
|
4424
|
+
container,
|
|
4425
|
+
parentComponent,
|
|
4426
|
+
parentSuspense,
|
|
4427
|
+
namespace,
|
|
4428
|
+
slotScopeIds
|
|
4429
|
+
);
|
|
4430
|
+
if (
|
|
4431
|
+
// #2080 if the stable fragment has a key, it's a <template v-for> that may
|
|
4432
|
+
// get moved around. Make sure all root level vnodes inherit el.
|
|
4433
|
+
// #2134 or if it's a component root, it may also get moved around
|
|
4434
|
+
// as the component is being moved.
|
|
4435
|
+
n2.key != null || parentComponent && n2 === parentComponent.subTree
|
|
4436
|
+
) {
|
|
4437
|
+
traverseStaticChildren(
|
|
4438
|
+
n1,
|
|
4439
|
+
n2,
|
|
4440
|
+
true
|
|
4441
|
+
/* shallow */
|
|
4442
|
+
);
|
|
4443
|
+
}
|
|
4444
|
+
} else {
|
|
4445
|
+
patchChildren(
|
|
4322
4446
|
n1,
|
|
4323
4447
|
n2,
|
|
4324
4448
|
container,
|
|
4325
|
-
|
|
4449
|
+
fragmentEndAnchor,
|
|
4326
4450
|
parentComponent,
|
|
4327
4451
|
parentSuspense,
|
|
4328
4452
|
namespace,
|
|
4329
4453
|
slotScopeIds,
|
|
4330
4454
|
optimized
|
|
4331
4455
|
);
|
|
4332
|
-
} else {
|
|
4333
|
-
break;
|
|
4334
4456
|
}
|
|
4335
|
-
i++;
|
|
4336
4457
|
}
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4458
|
+
};
|
|
4459
|
+
const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4460
|
+
n2.slotScopeIds = slotScopeIds;
|
|
4461
|
+
if (n1 == null) {
|
|
4462
|
+
if (n2.shapeFlag & 512) {
|
|
4463
|
+
parentComponent.ctx.activate(
|
|
4343
4464
|
n2,
|
|
4344
4465
|
container,
|
|
4345
|
-
|
|
4466
|
+
anchor,
|
|
4467
|
+
namespace,
|
|
4468
|
+
optimized
|
|
4469
|
+
);
|
|
4470
|
+
} else {
|
|
4471
|
+
mountComponent(
|
|
4472
|
+
n2,
|
|
4473
|
+
container,
|
|
4474
|
+
anchor,
|
|
4346
4475
|
parentComponent,
|
|
4347
4476
|
parentSuspense,
|
|
4348
4477
|
namespace,
|
|
4349
|
-
slotScopeIds,
|
|
4350
4478
|
optimized
|
|
4351
4479
|
);
|
|
4352
|
-
} else {
|
|
4353
|
-
break;
|
|
4354
4480
|
}
|
|
4355
|
-
|
|
4356
|
-
|
|
4481
|
+
} else {
|
|
4482
|
+
updateComponent(n1, n2, optimized);
|
|
4357
4483
|
}
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
} else if (i > e2) {
|
|
4378
|
-
while (i <= e1) {
|
|
4379
|
-
unmount(c1[i], parentComponent, parentSuspense, true);
|
|
4380
|
-
i++;
|
|
4484
|
+
};
|
|
4485
|
+
const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, namespace, optimized) => {
|
|
4486
|
+
const instance = (initialVNode.component = createComponentInstance(
|
|
4487
|
+
initialVNode,
|
|
4488
|
+
parentComponent,
|
|
4489
|
+
parentSuspense
|
|
4490
|
+
));
|
|
4491
|
+
if (isKeepAlive(initialVNode)) {
|
|
4492
|
+
instance.ctx.renderer = internals;
|
|
4493
|
+
}
|
|
4494
|
+
{
|
|
4495
|
+
setupComponent(instance, false, optimized);
|
|
4496
|
+
}
|
|
4497
|
+
if (instance.asyncDep) {
|
|
4498
|
+
parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
|
|
4499
|
+
if (!initialVNode.el) {
|
|
4500
|
+
const placeholder = instance.subTree = createVNode(Comment);
|
|
4501
|
+
processCommentNode(null, placeholder, container, anchor);
|
|
4502
|
+
initialVNode.placeholder = placeholder.el;
|
|
4381
4503
|
}
|
|
4382
4504
|
} else {
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4505
|
+
setupRenderEffect(
|
|
4506
|
+
instance,
|
|
4507
|
+
initialVNode,
|
|
4508
|
+
container,
|
|
4509
|
+
anchor,
|
|
4510
|
+
parentSuspense,
|
|
4511
|
+
namespace,
|
|
4512
|
+
optimized
|
|
4513
|
+
);
|
|
4514
|
+
}
|
|
4515
|
+
};
|
|
4516
|
+
const updateComponent = (n1, n2, optimized) => {
|
|
4517
|
+
const instance = n2.component = n1.component;
|
|
4518
|
+
if (shouldUpdateComponent(n1, n2, optimized)) {
|
|
4519
|
+
if (instance.asyncDep && !instance.asyncResolved) {
|
|
4520
|
+
updateComponentPreRender(instance, n2, optimized);
|
|
4521
|
+
return;
|
|
4522
|
+
} else {
|
|
4523
|
+
instance.next = n2;
|
|
4524
|
+
instance.update();
|
|
4391
4525
|
}
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4526
|
+
} else {
|
|
4527
|
+
n2.el = n1.el;
|
|
4528
|
+
instance.vnode = n2;
|
|
4529
|
+
}
|
|
4530
|
+
};
|
|
4531
|
+
const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, namespace, optimized) => {
|
|
4532
|
+
const componentUpdateFn = () => {
|
|
4533
|
+
if (!instance.isMounted) {
|
|
4534
|
+
let vnodeHook;
|
|
4535
|
+
const { el, props } = initialVNode;
|
|
4536
|
+
const { bm, m, parent, root, type } = instance;
|
|
4537
|
+
const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
|
|
4538
|
+
toggleRecurse(instance, false);
|
|
4539
|
+
if (bm) {
|
|
4540
|
+
shared.invokeArrayFns(bm);
|
|
4404
4541
|
}
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
newIndex = keyToNewIndexMap.get(prevChild.key);
|
|
4408
|
-
} else {
|
|
4409
|
-
for (j = s2; j <= e2; j++) {
|
|
4410
|
-
if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {
|
|
4411
|
-
newIndex = j;
|
|
4412
|
-
break;
|
|
4413
|
-
}
|
|
4414
|
-
}
|
|
4542
|
+
if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeBeforeMount)) {
|
|
4543
|
+
invokeVNodeHook(vnodeHook, parent, initialVNode);
|
|
4415
4544
|
}
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4545
|
+
toggleRecurse(instance, true);
|
|
4546
|
+
if (el && hydrateNode) {
|
|
4547
|
+
const hydrateSubTree = () => {
|
|
4548
|
+
instance.subTree = renderComponentRoot(instance);
|
|
4549
|
+
hydrateNode(
|
|
4550
|
+
el,
|
|
4551
|
+
instance.subTree,
|
|
4552
|
+
instance,
|
|
4553
|
+
parentSuspense,
|
|
4554
|
+
null
|
|
4555
|
+
);
|
|
4556
|
+
};
|
|
4557
|
+
if (isAsyncWrapperVNode && type.__asyncHydrate) {
|
|
4558
|
+
type.__asyncHydrate(
|
|
4559
|
+
el,
|
|
4560
|
+
instance,
|
|
4561
|
+
hydrateSubTree
|
|
4562
|
+
);
|
|
4422
4563
|
} else {
|
|
4423
|
-
|
|
4564
|
+
hydrateSubTree();
|
|
4424
4565
|
}
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
parentSuspense,
|
|
4432
|
-
namespace,
|
|
4433
|
-
slotScopeIds,
|
|
4434
|
-
optimized
|
|
4435
|
-
);
|
|
4436
|
-
patched++;
|
|
4437
|
-
}
|
|
4438
|
-
}
|
|
4439
|
-
const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : shared.EMPTY_ARR;
|
|
4440
|
-
j = increasingNewIndexSequence.length - 1;
|
|
4441
|
-
for (i = toBePatched - 1; i >= 0; i--) {
|
|
4442
|
-
const nextIndex = s2 + i;
|
|
4443
|
-
const nextChild = c2[nextIndex];
|
|
4444
|
-
const anchorVNode = c2[nextIndex + 1];
|
|
4445
|
-
const anchor = nextIndex + 1 < l2 ? (
|
|
4446
|
-
// #13559, fallback to el placeholder for unresolved async component
|
|
4447
|
-
anchorVNode.el || anchorVNode.placeholder
|
|
4448
|
-
) : parentAnchor;
|
|
4449
|
-
if (newIndexToOldIndexMap[i] === 0) {
|
|
4566
|
+
} else {
|
|
4567
|
+
if (root.ce && // @ts-expect-error _def is private
|
|
4568
|
+
root.ce._def.shadowRoot !== false) {
|
|
4569
|
+
root.ce._injectChildStyle(type);
|
|
4570
|
+
}
|
|
4571
|
+
const subTree = instance.subTree = renderComponentRoot(instance);
|
|
4450
4572
|
patch(
|
|
4451
4573
|
null,
|
|
4452
|
-
|
|
4574
|
+
subTree,
|
|
4453
4575
|
container,
|
|
4454
4576
|
anchor,
|
|
4455
|
-
|
|
4577
|
+
instance,
|
|
4456
4578
|
parentSuspense,
|
|
4457
|
-
namespace
|
|
4458
|
-
slotScopeIds,
|
|
4459
|
-
optimized
|
|
4579
|
+
namespace
|
|
4460
4580
|
);
|
|
4461
|
-
|
|
4462
|
-
if (j < 0 || i !== increasingNewIndexSequence[j]) {
|
|
4463
|
-
move(nextChild, container, anchor, 2);
|
|
4464
|
-
} else {
|
|
4465
|
-
j--;
|
|
4466
|
-
}
|
|
4581
|
+
initialVNode.el = subTree.el;
|
|
4467
4582
|
}
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
return;
|
|
4484
|
-
}
|
|
4485
|
-
if (type === Fragment) {
|
|
4486
|
-
hostInsert(el, container, anchor);
|
|
4487
|
-
for (let i = 0; i < children.length; i++) {
|
|
4488
|
-
move(children[i], container, anchor, moveType);
|
|
4489
|
-
}
|
|
4490
|
-
hostInsert(vnode.anchor, container, anchor);
|
|
4491
|
-
return;
|
|
4492
|
-
}
|
|
4493
|
-
if (type === Static) {
|
|
4494
|
-
moveStaticNode(vnode, container, anchor);
|
|
4495
|
-
return;
|
|
4496
|
-
}
|
|
4497
|
-
const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
|
|
4498
|
-
if (needTransition2) {
|
|
4499
|
-
if (moveType === 0) {
|
|
4500
|
-
transition.beforeEnter(el);
|
|
4501
|
-
hostInsert(el, container, anchor);
|
|
4502
|
-
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
|
4583
|
+
if (m) {
|
|
4584
|
+
queuePostRenderEffect(m, parentSuspense);
|
|
4585
|
+
}
|
|
4586
|
+
if (!isAsyncWrapperVNode && (vnodeHook = props && props.onVnodeMounted)) {
|
|
4587
|
+
const scopedInitialVNode = initialVNode;
|
|
4588
|
+
queuePostRenderEffect(
|
|
4589
|
+
() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode),
|
|
4590
|
+
parentSuspense
|
|
4591
|
+
);
|
|
4592
|
+
}
|
|
4593
|
+
if (initialVNode.shapeFlag & 256 || parent && isAsyncWrapper(parent.vnode) && parent.vnode.shapeFlag & 256) {
|
|
4594
|
+
instance.a && queuePostRenderEffect(instance.a, parentSuspense);
|
|
4595
|
+
}
|
|
4596
|
+
instance.isMounted = true;
|
|
4597
|
+
initialVNode = container = anchor = null;
|
|
4503
4598
|
} else {
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4599
|
+
let { next, bu, u, parent, vnode } = instance;
|
|
4600
|
+
{
|
|
4601
|
+
const nonHydratedAsyncRoot = locateNonHydratedAsyncRoot(instance);
|
|
4602
|
+
if (nonHydratedAsyncRoot) {
|
|
4603
|
+
if (next) {
|
|
4604
|
+
next.el = vnode.el;
|
|
4605
|
+
updateComponentPreRender(instance, next, optimized);
|
|
4606
|
+
}
|
|
4607
|
+
nonHydratedAsyncRoot.asyncDep.then(() => {
|
|
4608
|
+
if (!instance.isUnmounted) {
|
|
4609
|
+
componentUpdateFn();
|
|
4610
|
+
}
|
|
4611
|
+
});
|
|
4612
|
+
return;
|
|
4518
4613
|
}
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4614
|
+
}
|
|
4615
|
+
let originNext = next;
|
|
4616
|
+
let vnodeHook;
|
|
4617
|
+
toggleRecurse(instance, false);
|
|
4618
|
+
if (next) {
|
|
4619
|
+
next.el = vnode.el;
|
|
4620
|
+
updateComponentPreRender(instance, next, optimized);
|
|
4526
4621
|
} else {
|
|
4527
|
-
|
|
4622
|
+
next = vnode;
|
|
4623
|
+
}
|
|
4624
|
+
if (bu) {
|
|
4625
|
+
shared.invokeArrayFns(bu);
|
|
4626
|
+
}
|
|
4627
|
+
if (vnodeHook = next.props && next.props.onVnodeBeforeUpdate) {
|
|
4628
|
+
invokeVNodeHook(vnodeHook, parent, next, vnode);
|
|
4629
|
+
}
|
|
4630
|
+
toggleRecurse(instance, true);
|
|
4631
|
+
const nextTree = renderComponentRoot(instance);
|
|
4632
|
+
const prevTree = instance.subTree;
|
|
4633
|
+
instance.subTree = nextTree;
|
|
4634
|
+
patch(
|
|
4635
|
+
prevTree,
|
|
4636
|
+
nextTree,
|
|
4637
|
+
// parent may have changed if it's in a teleport
|
|
4638
|
+
hostParentNode(prevTree.el),
|
|
4639
|
+
// anchor may have changed if it's in a fragment
|
|
4640
|
+
getNextHostNode(prevTree),
|
|
4641
|
+
instance,
|
|
4642
|
+
parentSuspense,
|
|
4643
|
+
namespace
|
|
4644
|
+
);
|
|
4645
|
+
next.el = nextTree.el;
|
|
4646
|
+
if (originNext === null) {
|
|
4647
|
+
updateHOCHostEl(instance, nextTree.el);
|
|
4648
|
+
}
|
|
4649
|
+
if (u) {
|
|
4650
|
+
queuePostRenderEffect(u, parentSuspense);
|
|
4651
|
+
}
|
|
4652
|
+
if (vnodeHook = next.props && next.props.onVnodeUpdated) {
|
|
4653
|
+
queuePostRenderEffect(
|
|
4654
|
+
() => invokeVNodeHook(vnodeHook, parent, next, vnode),
|
|
4655
|
+
parentSuspense
|
|
4656
|
+
);
|
|
4528
4657
|
}
|
|
4529
4658
|
}
|
|
4530
|
-
}
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
const
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
4566
|
-
}
|
|
4567
|
-
if (shapeFlag & 6) {
|
|
4568
|
-
unmountComponent(vnode.component, parentSuspense, doRemove);
|
|
4569
|
-
} else {
|
|
4570
|
-
if (shapeFlag & 128) {
|
|
4571
|
-
vnode.suspense.unmount(parentSuspense, doRemove);
|
|
4572
|
-
return;
|
|
4573
|
-
}
|
|
4574
|
-
if (shouldInvokeDirs) {
|
|
4575
|
-
invokeDirectiveHook(vnode, null, parentComponent, "beforeUnmount");
|
|
4576
|
-
}
|
|
4577
|
-
if (shapeFlag & 64) {
|
|
4578
|
-
vnode.type.remove(
|
|
4579
|
-
vnode,
|
|
4659
|
+
};
|
|
4660
|
+
instance.scope.on();
|
|
4661
|
+
const effect = instance.effect = new reactivity.ReactiveEffect(componentUpdateFn);
|
|
4662
|
+
instance.scope.off();
|
|
4663
|
+
const update = instance.update = effect.run.bind(effect);
|
|
4664
|
+
const job = instance.job = effect.runIfDirty.bind(effect);
|
|
4665
|
+
job.i = instance;
|
|
4666
|
+
job.id = instance.uid;
|
|
4667
|
+
effect.scheduler = () => queueJob(job);
|
|
4668
|
+
toggleRecurse(instance, true);
|
|
4669
|
+
update();
|
|
4670
|
+
};
|
|
4671
|
+
const updateComponentPreRender = (instance, nextVNode, optimized) => {
|
|
4672
|
+
nextVNode.component = instance;
|
|
4673
|
+
const prevProps = instance.vnode.props;
|
|
4674
|
+
instance.vnode = nextVNode;
|
|
4675
|
+
instance.next = null;
|
|
4676
|
+
updateProps(instance, nextVNode.props, prevProps, optimized);
|
|
4677
|
+
updateSlots(instance, nextVNode.children, optimized);
|
|
4678
|
+
reactivity.pauseTracking();
|
|
4679
|
+
flushPreFlushCbs(instance);
|
|
4680
|
+
reactivity.resetTracking();
|
|
4681
|
+
};
|
|
4682
|
+
const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized = false) => {
|
|
4683
|
+
const c1 = n1 && n1.children;
|
|
4684
|
+
const prevShapeFlag = n1 ? n1.shapeFlag : 0;
|
|
4685
|
+
const c2 = n2.children;
|
|
4686
|
+
const { patchFlag, shapeFlag } = n2;
|
|
4687
|
+
if (patchFlag > 0) {
|
|
4688
|
+
if (patchFlag & 128) {
|
|
4689
|
+
patchKeyedChildren(
|
|
4690
|
+
c1,
|
|
4691
|
+
c2,
|
|
4692
|
+
container,
|
|
4693
|
+
anchor,
|
|
4580
4694
|
parentComponent,
|
|
4581
4695
|
parentSuspense,
|
|
4582
|
-
|
|
4583
|
-
|
|
4696
|
+
namespace,
|
|
4697
|
+
slotScopeIds,
|
|
4698
|
+
optimized
|
|
4584
4699
|
);
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
unmountChildren(
|
|
4593
|
-
dynamicChildren,
|
|
4700
|
+
return;
|
|
4701
|
+
} else if (patchFlag & 256) {
|
|
4702
|
+
patchUnkeyedChildren(
|
|
4703
|
+
c1,
|
|
4704
|
+
c2,
|
|
4705
|
+
container,
|
|
4706
|
+
anchor,
|
|
4594
4707
|
parentComponent,
|
|
4595
4708
|
parentSuspense,
|
|
4596
|
-
|
|
4597
|
-
|
|
4709
|
+
namespace,
|
|
4710
|
+
slotScopeIds,
|
|
4711
|
+
optimized
|
|
4598
4712
|
);
|
|
4599
|
-
|
|
4600
|
-
unmountChildren(children, parentComponent, parentSuspense);
|
|
4601
|
-
}
|
|
4602
|
-
if (doRemove) {
|
|
4603
|
-
remove(vnode);
|
|
4713
|
+
return;
|
|
4604
4714
|
}
|
|
4605
4715
|
}
|
|
4606
|
-
if (
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
|
|
4610
|
-
}, parentSuspense);
|
|
4611
|
-
}
|
|
4612
|
-
};
|
|
4613
|
-
const remove = (vnode) => {
|
|
4614
|
-
const { type, el, anchor, transition } = vnode;
|
|
4615
|
-
if (type === Fragment) {
|
|
4616
|
-
{
|
|
4617
|
-
removeFragment(el, anchor);
|
|
4716
|
+
if (shapeFlag & 8) {
|
|
4717
|
+
if (prevShapeFlag & 16) {
|
|
4718
|
+
unmountChildren(c1, parentComponent, parentSuspense);
|
|
4618
4719
|
}
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
if (type === Static) {
|
|
4622
|
-
removeStaticNode(vnode);
|
|
4623
|
-
return;
|
|
4624
|
-
}
|
|
4625
|
-
const performRemove = () => {
|
|
4626
|
-
hostRemove(el);
|
|
4627
|
-
if (transition && !transition.persisted && transition.afterLeave) {
|
|
4628
|
-
transition.afterLeave();
|
|
4720
|
+
if (c2 !== c1) {
|
|
4721
|
+
hostSetElementText(container, c2);
|
|
4629
4722
|
}
|
|
4630
|
-
}
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4723
|
+
} else {
|
|
4724
|
+
if (prevShapeFlag & 16) {
|
|
4725
|
+
if (shapeFlag & 16) {
|
|
4726
|
+
patchKeyedChildren(
|
|
4727
|
+
c1,
|
|
4728
|
+
c2,
|
|
4729
|
+
container,
|
|
4730
|
+
anchor,
|
|
4731
|
+
parentComponent,
|
|
4732
|
+
parentSuspense,
|
|
4733
|
+
namespace,
|
|
4734
|
+
slotScopeIds,
|
|
4735
|
+
optimized
|
|
4736
|
+
);
|
|
4737
|
+
} else {
|
|
4738
|
+
unmountChildren(c1, parentComponent, parentSuspense, true);
|
|
4739
|
+
}
|
|
4636
4740
|
} else {
|
|
4637
|
-
|
|
4741
|
+
if (prevShapeFlag & 8) {
|
|
4742
|
+
hostSetElementText(container, "");
|
|
4743
|
+
}
|
|
4744
|
+
if (shapeFlag & 16) {
|
|
4745
|
+
mountChildren(
|
|
4746
|
+
c2,
|
|
4747
|
+
container,
|
|
4748
|
+
anchor,
|
|
4749
|
+
parentComponent,
|
|
4750
|
+
parentSuspense,
|
|
4751
|
+
namespace,
|
|
4752
|
+
slotScopeIds,
|
|
4753
|
+
optimized
|
|
4754
|
+
);
|
|
4755
|
+
}
|
|
4638
4756
|
}
|
|
4639
|
-
} else {
|
|
4640
|
-
performRemove();
|
|
4641
|
-
}
|
|
4642
|
-
};
|
|
4643
|
-
const removeFragment = (cur, end) => {
|
|
4644
|
-
let next;
|
|
4645
|
-
while (cur !== end) {
|
|
4646
|
-
next = hostNextSibling(cur);
|
|
4647
|
-
hostRemove(cur);
|
|
4648
|
-
cur = next;
|
|
4649
|
-
}
|
|
4650
|
-
hostRemove(end);
|
|
4651
|
-
};
|
|
4652
|
-
const unmountComponent = (instance, parentSuspense, doRemove) => {
|
|
4653
|
-
const { bum, scope, job, subTree, um, m, a } = instance;
|
|
4654
|
-
invalidateMount(m);
|
|
4655
|
-
invalidateMount(a);
|
|
4656
|
-
if (bum) {
|
|
4657
|
-
shared.invokeArrayFns(bum);
|
|
4658
|
-
}
|
|
4659
|
-
scope.stop();
|
|
4660
|
-
if (job) {
|
|
4661
|
-
job.flags |= 8;
|
|
4662
|
-
unmount(subTree, instance, parentSuspense, doRemove);
|
|
4663
|
-
}
|
|
4664
|
-
if (um) {
|
|
4665
|
-
queuePostRenderEffect(um, parentSuspense);
|
|
4666
|
-
}
|
|
4667
|
-
queuePostRenderEffect(() => {
|
|
4668
|
-
instance.isUnmounted = true;
|
|
4669
|
-
}, parentSuspense);
|
|
4670
|
-
};
|
|
4671
|
-
const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
|
|
4672
|
-
for (let i = start; i < children.length; i++) {
|
|
4673
|
-
unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
|
|
4674
|
-
}
|
|
4675
|
-
};
|
|
4676
|
-
const getNextHostNode = (vnode) => {
|
|
4677
|
-
if (vnode.shapeFlag & 6) {
|
|
4678
|
-
return getNextHostNode(vnode.component.subTree);
|
|
4679
4757
|
}
|
|
4680
|
-
if (vnode.shapeFlag & 128) {
|
|
4681
|
-
return vnode.suspense.next();
|
|
4682
|
-
}
|
|
4683
|
-
const el = hostNextSibling(vnode.anchor || vnode.el);
|
|
4684
|
-
const teleportEnd = el && el[TeleportEndKey];
|
|
4685
|
-
return teleportEnd ? hostNextSibling(teleportEnd) : el;
|
|
4686
4758
|
};
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4759
|
+
const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4760
|
+
c1 = c1 || shared.EMPTY_ARR;
|
|
4761
|
+
c2 = c2 || shared.EMPTY_ARR;
|
|
4762
|
+
const oldLength = c1.length;
|
|
4763
|
+
const newLength = c2.length;
|
|
4764
|
+
const commonLength = Math.min(oldLength, newLength);
|
|
4765
|
+
let i;
|
|
4766
|
+
for (i = 0; i < commonLength; i++) {
|
|
4767
|
+
const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
|
|
4694
4768
|
patch(
|
|
4695
|
-
|
|
4696
|
-
|
|
4769
|
+
c1[i],
|
|
4770
|
+
nextChild,
|
|
4697
4771
|
container,
|
|
4698
4772
|
null,
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
namespace
|
|
4773
|
+
parentComponent,
|
|
4774
|
+
parentSuspense,
|
|
4775
|
+
namespace,
|
|
4776
|
+
slotScopeIds,
|
|
4777
|
+
optimized
|
|
4778
|
+
);
|
|
4779
|
+
}
|
|
4780
|
+
if (oldLength > newLength) {
|
|
4781
|
+
unmountChildren(
|
|
4782
|
+
c1,
|
|
4783
|
+
parentComponent,
|
|
4784
|
+
parentSuspense,
|
|
4785
|
+
true,
|
|
4786
|
+
false,
|
|
4787
|
+
commonLength
|
|
4788
|
+
);
|
|
4789
|
+
} else {
|
|
4790
|
+
mountChildren(
|
|
4791
|
+
c2,
|
|
4792
|
+
container,
|
|
4793
|
+
anchor,
|
|
4794
|
+
parentComponent,
|
|
4795
|
+
parentSuspense,
|
|
4796
|
+
namespace,
|
|
4797
|
+
slotScopeIds,
|
|
4798
|
+
optimized,
|
|
4799
|
+
commonLength
|
|
4702
4800
|
);
|
|
4703
4801
|
}
|
|
4704
|
-
container._vnode = vnode;
|
|
4705
|
-
if (!isFlushing) {
|
|
4706
|
-
isFlushing = true;
|
|
4707
|
-
flushPreFlushCbs();
|
|
4708
|
-
flushPostFlushCbs();
|
|
4709
|
-
isFlushing = false;
|
|
4710
|
-
}
|
|
4711
|
-
};
|
|
4712
|
-
const internals = {
|
|
4713
|
-
p: patch,
|
|
4714
|
-
um: unmount,
|
|
4715
|
-
m: move,
|
|
4716
|
-
r: remove,
|
|
4717
|
-
mt: mountComponent,
|
|
4718
|
-
mc: mountChildren,
|
|
4719
|
-
pc: patchChildren,
|
|
4720
|
-
pbc: patchBlockChildren,
|
|
4721
|
-
n: getNextHostNode,
|
|
4722
|
-
o: options
|
|
4723
|
-
};
|
|
4724
|
-
let hydrate;
|
|
4725
|
-
let hydrateNode;
|
|
4726
|
-
if (createHydrationFns) {
|
|
4727
|
-
[hydrate, hydrateNode] = createHydrationFns(
|
|
4728
|
-
internals
|
|
4729
|
-
);
|
|
4730
|
-
}
|
|
4731
|
-
return {
|
|
4732
|
-
render,
|
|
4733
|
-
hydrate,
|
|
4734
|
-
createApp: createAppAPI(render, hydrate)
|
|
4735
4802
|
};
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
let c2 = ch2[i];
|
|
4759
|
-
if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
|
|
4760
|
-
if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
|
|
4761
|
-
c2 = ch2[i] = cloneIfMounted(ch2[i]);
|
|
4762
|
-
c2.el = c1.el;
|
|
4763
|
-
}
|
|
4764
|
-
if (!shallow && c2.patchFlag !== -2)
|
|
4765
|
-
traverseStaticChildren(c1, c2);
|
|
4766
|
-
}
|
|
4767
|
-
if (c2.type === Text && // avoid cached text nodes retaining detached dom nodes
|
|
4768
|
-
c2.patchFlag !== -1) {
|
|
4769
|
-
c2.el = c1.el;
|
|
4803
|
+
const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
4804
|
+
let i = 0;
|
|
4805
|
+
const l2 = c2.length;
|
|
4806
|
+
let e1 = c1.length - 1;
|
|
4807
|
+
let e2 = l2 - 1;
|
|
4808
|
+
while (i <= e1 && i <= e2) {
|
|
4809
|
+
const n1 = c1[i];
|
|
4810
|
+
const n2 = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
|
|
4811
|
+
if (isSameVNodeType(n1, n2)) {
|
|
4812
|
+
patch(
|
|
4813
|
+
n1,
|
|
4814
|
+
n2,
|
|
4815
|
+
container,
|
|
4816
|
+
null,
|
|
4817
|
+
parentComponent,
|
|
4818
|
+
parentSuspense,
|
|
4819
|
+
namespace,
|
|
4820
|
+
slotScopeIds,
|
|
4821
|
+
optimized
|
|
4822
|
+
);
|
|
4823
|
+
} else {
|
|
4824
|
+
break;
|
|
4770
4825
|
}
|
|
4771
|
-
|
|
4772
|
-
|
|
4826
|
+
i++;
|
|
4827
|
+
}
|
|
4828
|
+
while (i <= e1 && i <= e2) {
|
|
4829
|
+
const n1 = c1[e1];
|
|
4830
|
+
const n2 = c2[e2] = optimized ? cloneIfMounted(c2[e2]) : normalizeVNode(c2[e2]);
|
|
4831
|
+
if (isSameVNodeType(n1, n2)) {
|
|
4832
|
+
patch(
|
|
4833
|
+
n1,
|
|
4834
|
+
n2,
|
|
4835
|
+
container,
|
|
4836
|
+
null,
|
|
4837
|
+
parentComponent,
|
|
4838
|
+
parentSuspense,
|
|
4839
|
+
namespace,
|
|
4840
|
+
slotScopeIds,
|
|
4841
|
+
optimized
|
|
4842
|
+
);
|
|
4843
|
+
} else {
|
|
4844
|
+
break;
|
|
4773
4845
|
}
|
|
4846
|
+
e1--;
|
|
4847
|
+
e2--;
|
|
4774
4848
|
}
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4849
|
+
if (i > e1) {
|
|
4850
|
+
if (i <= e2) {
|
|
4851
|
+
const nextPos = e2 + 1;
|
|
4852
|
+
const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
|
|
4853
|
+
while (i <= e2) {
|
|
4854
|
+
patch(
|
|
4855
|
+
null,
|
|
4856
|
+
c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]),
|
|
4857
|
+
container,
|
|
4858
|
+
anchor,
|
|
4859
|
+
parentComponent,
|
|
4860
|
+
parentSuspense,
|
|
4861
|
+
namespace,
|
|
4862
|
+
slotScopeIds,
|
|
4863
|
+
optimized
|
|
4864
|
+
);
|
|
4865
|
+
i++;
|
|
4866
|
+
}
|
|
4790
4867
|
}
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4868
|
+
} else if (i > e2) {
|
|
4869
|
+
while (i <= e1) {
|
|
4870
|
+
unmount(c1[i], parentComponent, parentSuspense, true);
|
|
4871
|
+
i++;
|
|
4872
|
+
}
|
|
4873
|
+
} else {
|
|
4874
|
+
const s1 = i;
|
|
4875
|
+
const s2 = i;
|
|
4876
|
+
const keyToNewIndexMap = /* @__PURE__ */ new Map();
|
|
4877
|
+
for (i = s2; i <= e2; i++) {
|
|
4878
|
+
const nextChild = c2[i] = optimized ? cloneIfMounted(c2[i]) : normalizeVNode(c2[i]);
|
|
4879
|
+
if (nextChild.key != null) {
|
|
4880
|
+
keyToNewIndexMap.set(nextChild.key, i);
|
|
4881
|
+
}
|
|
4882
|
+
}
|
|
4883
|
+
let j;
|
|
4884
|
+
let patched = 0;
|
|
4885
|
+
const toBePatched = e2 - s2 + 1;
|
|
4886
|
+
let moved = false;
|
|
4887
|
+
let maxNewIndexSoFar = 0;
|
|
4888
|
+
const newIndexToOldIndexMap = new Array(toBePatched);
|
|
4889
|
+
for (i = 0; i < toBePatched; i++) newIndexToOldIndexMap[i] = 0;
|
|
4890
|
+
for (i = s1; i <= e1; i++) {
|
|
4891
|
+
const prevChild = c1[i];
|
|
4892
|
+
if (patched >= toBePatched) {
|
|
4893
|
+
unmount(prevChild, parentComponent, parentSuspense, true);
|
|
4894
|
+
continue;
|
|
4895
|
+
}
|
|
4896
|
+
let newIndex;
|
|
4897
|
+
if (prevChild.key != null) {
|
|
4898
|
+
newIndex = keyToNewIndexMap.get(prevChild.key);
|
|
4797
4899
|
} else {
|
|
4798
|
-
|
|
4900
|
+
for (j = s2; j <= e2; j++) {
|
|
4901
|
+
if (newIndexToOldIndexMap[j - s2] === 0 && isSameVNodeType(prevChild, c2[j])) {
|
|
4902
|
+
newIndex = j;
|
|
4903
|
+
break;
|
|
4904
|
+
}
|
|
4905
|
+
}
|
|
4906
|
+
}
|
|
4907
|
+
if (newIndex === void 0) {
|
|
4908
|
+
unmount(prevChild, parentComponent, parentSuspense, true);
|
|
4909
|
+
} else {
|
|
4910
|
+
newIndexToOldIndexMap[newIndex - s2] = i + 1;
|
|
4911
|
+
if (newIndex >= maxNewIndexSoFar) {
|
|
4912
|
+
maxNewIndexSoFar = newIndex;
|
|
4913
|
+
} else {
|
|
4914
|
+
moved = true;
|
|
4915
|
+
}
|
|
4916
|
+
patch(
|
|
4917
|
+
prevChild,
|
|
4918
|
+
c2[newIndex],
|
|
4919
|
+
container,
|
|
4920
|
+
null,
|
|
4921
|
+
parentComponent,
|
|
4922
|
+
parentSuspense,
|
|
4923
|
+
namespace,
|
|
4924
|
+
slotScopeIds,
|
|
4925
|
+
optimized
|
|
4926
|
+
);
|
|
4927
|
+
patched++;
|
|
4928
|
+
}
|
|
4929
|
+
}
|
|
4930
|
+
const increasingNewIndexSequence = moved ? getSequence(newIndexToOldIndexMap) : shared.EMPTY_ARR;
|
|
4931
|
+
j = increasingNewIndexSequence.length - 1;
|
|
4932
|
+
for (i = toBePatched - 1; i >= 0; i--) {
|
|
4933
|
+
const nextIndex = s2 + i;
|
|
4934
|
+
const nextChild = c2[nextIndex];
|
|
4935
|
+
const anchorVNode = c2[nextIndex + 1];
|
|
4936
|
+
const anchor = nextIndex + 1 < l2 ? (
|
|
4937
|
+
// #13559, #14173 fallback to el placeholder for unresolved async component
|
|
4938
|
+
anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode)
|
|
4939
|
+
) : parentAnchor;
|
|
4940
|
+
if (newIndexToOldIndexMap[i] === 0) {
|
|
4941
|
+
patch(
|
|
4942
|
+
null,
|
|
4943
|
+
nextChild,
|
|
4944
|
+
container,
|
|
4945
|
+
anchor,
|
|
4946
|
+
parentComponent,
|
|
4947
|
+
parentSuspense,
|
|
4948
|
+
namespace,
|
|
4949
|
+
slotScopeIds,
|
|
4950
|
+
optimized
|
|
4951
|
+
);
|
|
4952
|
+
} else if (moved) {
|
|
4953
|
+
if (j < 0 || i !== increasingNewIndexSequence[j]) {
|
|
4954
|
+
move(nextChild, container, anchor, 2);
|
|
4955
|
+
} else {
|
|
4956
|
+
j--;
|
|
4957
|
+
}
|
|
4799
4958
|
}
|
|
4800
4959
|
}
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4960
|
+
}
|
|
4961
|
+
};
|
|
4962
|
+
const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
|
|
4963
|
+
const { el, type, transition, children, shapeFlag } = vnode;
|
|
4964
|
+
if (shapeFlag & 6) {
|
|
4965
|
+
move(vnode.component.subTree, container, anchor, moveType);
|
|
4966
|
+
return;
|
|
4967
|
+
}
|
|
4968
|
+
if (shapeFlag & 128) {
|
|
4969
|
+
vnode.suspense.move(container, anchor, moveType);
|
|
4970
|
+
return;
|
|
4971
|
+
}
|
|
4972
|
+
if (shapeFlag & 64) {
|
|
4973
|
+
type.move(vnode, container, anchor, internals);
|
|
4974
|
+
return;
|
|
4975
|
+
}
|
|
4976
|
+
if (type === Fragment) {
|
|
4977
|
+
hostInsert(el, container, anchor);
|
|
4978
|
+
for (let i = 0; i < children.length; i++) {
|
|
4979
|
+
move(children[i], container, anchor, moveType);
|
|
4980
|
+
}
|
|
4981
|
+
hostInsert(vnode.anchor, container, anchor);
|
|
4982
|
+
return;
|
|
4983
|
+
}
|
|
4984
|
+
if (type === Static) {
|
|
4985
|
+
moveStaticNode(vnode, container, anchor);
|
|
4986
|
+
return;
|
|
4987
|
+
}
|
|
4988
|
+
const needTransition2 = moveType !== 2 && shapeFlag & 1 && transition;
|
|
4989
|
+
if (needTransition2) {
|
|
4990
|
+
if (moveType === 0) {
|
|
4991
|
+
transition.beforeEnter(el);
|
|
4992
|
+
hostInsert(el, container, anchor);
|
|
4993
|
+
queuePostRenderEffect(() => transition.enter(el), parentSuspense);
|
|
4994
|
+
} else {
|
|
4995
|
+
const { leave, delayLeave, afterLeave } = transition;
|
|
4996
|
+
const remove2 = () => {
|
|
4997
|
+
if (vnode.ctx.isUnmounted) {
|
|
4998
|
+
hostRemove(el);
|
|
4999
|
+
} else {
|
|
5000
|
+
hostInsert(el, container, anchor);
|
|
5001
|
+
}
|
|
5002
|
+
};
|
|
5003
|
+
const performLeave = () => {
|
|
5004
|
+
if (el._isLeaving) {
|
|
5005
|
+
el[leaveCbKey](
|
|
5006
|
+
true
|
|
5007
|
+
/* cancelled */
|
|
5008
|
+
);
|
|
5009
|
+
}
|
|
5010
|
+
leave(el, () => {
|
|
5011
|
+
remove2();
|
|
5012
|
+
afterLeave && afterLeave();
|
|
5013
|
+
});
|
|
5014
|
+
};
|
|
5015
|
+
if (delayLeave) {
|
|
5016
|
+
delayLeave(el, remove2, performLeave);
|
|
5017
|
+
} else {
|
|
5018
|
+
performLeave();
|
|
4804
5019
|
}
|
|
4805
|
-
result[u] = i;
|
|
4806
5020
|
}
|
|
4807
|
-
}
|
|
4808
|
-
}
|
|
4809
|
-
u = result.length;
|
|
4810
|
-
v = result[u - 1];
|
|
4811
|
-
while (u-- > 0) {
|
|
4812
|
-
result[u] = v;
|
|
4813
|
-
v = p[v];
|
|
4814
|
-
}
|
|
4815
|
-
return result;
|
|
4816
|
-
}
|
|
4817
|
-
function locateNonHydratedAsyncRoot(instance) {
|
|
4818
|
-
const subComponent = instance.subTree.component;
|
|
4819
|
-
if (subComponent) {
|
|
4820
|
-
if (subComponent.asyncDep && !subComponent.asyncResolved) {
|
|
4821
|
-
return subComponent;
|
|
4822
5021
|
} else {
|
|
4823
|
-
|
|
5022
|
+
hostInsert(el, container, anchor);
|
|
4824
5023
|
}
|
|
4825
|
-
}
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
};
|
|
4841
|
-
|
|
4842
|
-
function watchEffect(effect, options) {
|
|
4843
|
-
return doWatch(effect, null, options);
|
|
4844
|
-
}
|
|
4845
|
-
function watchPostEffect(effect, options) {
|
|
4846
|
-
return doWatch(
|
|
4847
|
-
effect,
|
|
4848
|
-
null,
|
|
4849
|
-
{ flush: "post" }
|
|
4850
|
-
);
|
|
4851
|
-
}
|
|
4852
|
-
function watchSyncEffect(effect, options) {
|
|
4853
|
-
return doWatch(
|
|
4854
|
-
effect,
|
|
4855
|
-
null,
|
|
4856
|
-
{ flush: "sync" }
|
|
4857
|
-
);
|
|
4858
|
-
}
|
|
4859
|
-
function watch(source, cb, options) {
|
|
4860
|
-
return doWatch(source, cb, options);
|
|
4861
|
-
}
|
|
4862
|
-
function doWatch(source, cb, options = shared.EMPTY_OBJ) {
|
|
4863
|
-
const { immediate, deep, flush, once } = options;
|
|
4864
|
-
const baseWatchOptions = shared.extend({}, options);
|
|
4865
|
-
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
4866
|
-
let ssrCleanup;
|
|
4867
|
-
if (isInSSRComponentSetup) {
|
|
4868
|
-
if (flush === "sync") {
|
|
4869
|
-
const ctx = useSSRContext();
|
|
4870
|
-
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
4871
|
-
} else if (!runsImmediately) {
|
|
4872
|
-
const watchStopHandle = () => {
|
|
4873
|
-
};
|
|
4874
|
-
watchStopHandle.stop = shared.NOOP;
|
|
4875
|
-
watchStopHandle.resume = shared.NOOP;
|
|
4876
|
-
watchStopHandle.pause = shared.NOOP;
|
|
4877
|
-
return watchStopHandle;
|
|
5024
|
+
};
|
|
5025
|
+
const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
|
|
5026
|
+
const {
|
|
5027
|
+
type,
|
|
5028
|
+
props,
|
|
5029
|
+
ref,
|
|
5030
|
+
children,
|
|
5031
|
+
dynamicChildren,
|
|
5032
|
+
shapeFlag,
|
|
5033
|
+
patchFlag,
|
|
5034
|
+
dirs,
|
|
5035
|
+
cacheIndex
|
|
5036
|
+
} = vnode;
|
|
5037
|
+
if (patchFlag === -2) {
|
|
5038
|
+
optimized = false;
|
|
4878
5039
|
}
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
if (flush === "post") {
|
|
4884
|
-
baseWatchOptions.scheduler = (job) => {
|
|
4885
|
-
queuePostRenderEffect(job, instance && instance.suspense);
|
|
4886
|
-
};
|
|
4887
|
-
} else if (flush !== "sync") {
|
|
4888
|
-
isPre = true;
|
|
4889
|
-
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
4890
|
-
if (isFirstRun) {
|
|
4891
|
-
job();
|
|
4892
|
-
} else {
|
|
4893
|
-
queueJob(job);
|
|
4894
|
-
}
|
|
4895
|
-
};
|
|
4896
|
-
}
|
|
4897
|
-
baseWatchOptions.augmentJob = (job) => {
|
|
4898
|
-
if (cb) {
|
|
4899
|
-
job.flags |= 4;
|
|
5040
|
+
if (ref != null) {
|
|
5041
|
+
reactivity.pauseTracking();
|
|
5042
|
+
setRef(ref, null, parentSuspense, vnode, true);
|
|
5043
|
+
reactivity.resetTracking();
|
|
4900
5044
|
}
|
|
4901
|
-
if (
|
|
4902
|
-
|
|
4903
|
-
if (instance) {
|
|
4904
|
-
job.id = instance.uid;
|
|
4905
|
-
job.i = instance;
|
|
4906
|
-
}
|
|
5045
|
+
if (cacheIndex != null) {
|
|
5046
|
+
parentComponent.renderCache[cacheIndex] = void 0;
|
|
4907
5047
|
}
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
if (ssrCleanup) {
|
|
4912
|
-
ssrCleanup.push(watchHandle);
|
|
4913
|
-
} else if (runsImmediately) {
|
|
4914
|
-
watchHandle();
|
|
5048
|
+
if (shapeFlag & 256) {
|
|
5049
|
+
parentComponent.ctx.deactivate(vnode);
|
|
5050
|
+
return;
|
|
4915
5051
|
}
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
const getter = shared.isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
4922
|
-
let cb;
|
|
4923
|
-
if (shared.isFunction(value)) {
|
|
4924
|
-
cb = value;
|
|
4925
|
-
} else {
|
|
4926
|
-
cb = value.handler;
|
|
4927
|
-
options = value;
|
|
4928
|
-
}
|
|
4929
|
-
const reset = setCurrentInstance(this);
|
|
4930
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
4931
|
-
reset();
|
|
4932
|
-
return res;
|
|
4933
|
-
}
|
|
4934
|
-
function createPathGetter(ctx, path) {
|
|
4935
|
-
const segments = path.split(".");
|
|
4936
|
-
return () => {
|
|
4937
|
-
let cur = ctx;
|
|
4938
|
-
for (let i = 0; i < segments.length && cur; i++) {
|
|
4939
|
-
cur = cur[segments[i]];
|
|
5052
|
+
const shouldInvokeDirs = shapeFlag & 1 && dirs;
|
|
5053
|
+
const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
|
|
5054
|
+
let vnodeHook;
|
|
5055
|
+
if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeBeforeUnmount)) {
|
|
5056
|
+
invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
4940
5057
|
}
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
}
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
const camelizedName = shared.camelize(name);
|
|
4948
|
-
const hyphenatedName = shared.hyphenate(name);
|
|
4949
|
-
const modifiers = getModelModifiers(props, camelizedName);
|
|
4950
|
-
const res = reactivity.customRef((track, trigger) => {
|
|
4951
|
-
let localValue;
|
|
4952
|
-
let prevSetValue = shared.EMPTY_OBJ;
|
|
4953
|
-
let prevEmittedValue;
|
|
4954
|
-
watchSyncEffect(() => {
|
|
4955
|
-
const propValue = props[camelizedName];
|
|
4956
|
-
if (shared.hasChanged(localValue, propValue)) {
|
|
4957
|
-
localValue = propValue;
|
|
4958
|
-
trigger();
|
|
5058
|
+
if (shapeFlag & 6) {
|
|
5059
|
+
unmountComponent(vnode.component, parentSuspense, doRemove);
|
|
5060
|
+
} else {
|
|
5061
|
+
if (shapeFlag & 128) {
|
|
5062
|
+
vnode.suspense.unmount(parentSuspense, doRemove);
|
|
5063
|
+
return;
|
|
4959
5064
|
}
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
5065
|
+
if (shouldInvokeDirs) {
|
|
5066
|
+
invokeDirectiveHook(vnode, null, parentComponent, "beforeUnmount");
|
|
5067
|
+
}
|
|
5068
|
+
if (shapeFlag & 64) {
|
|
5069
|
+
vnode.type.remove(
|
|
5070
|
+
vnode,
|
|
5071
|
+
parentComponent,
|
|
5072
|
+
parentSuspense,
|
|
5073
|
+
internals,
|
|
5074
|
+
doRemove
|
|
5075
|
+
);
|
|
5076
|
+
} else if (dynamicChildren && // #5154
|
|
5077
|
+
// when v-once is used inside a block, setBlockTracking(-1) marks the
|
|
5078
|
+
// parent block with hasOnce: true
|
|
5079
|
+
// so that it doesn't take the fast path during unmount - otherwise
|
|
5080
|
+
// components nested in v-once are never unmounted.
|
|
5081
|
+
!dynamicChildren.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
|
|
5082
|
+
(type !== Fragment || patchFlag > 0 && patchFlag & 64)) {
|
|
5083
|
+
unmountChildren(
|
|
5084
|
+
dynamicChildren,
|
|
5085
|
+
parentComponent,
|
|
5086
|
+
parentSuspense,
|
|
5087
|
+
false,
|
|
5088
|
+
true
|
|
5089
|
+
);
|
|
5090
|
+
} else if (type === Fragment && patchFlag & (128 | 256) || !optimized && shapeFlag & 16) {
|
|
5091
|
+
unmountChildren(children, parentComponent, parentSuspense);
|
|
4983
5092
|
}
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
res[Symbol.iterator] = () => {
|
|
4987
|
-
let i2 = 0;
|
|
4988
|
-
return {
|
|
4989
|
-
next() {
|
|
4990
|
-
if (i2 < 2) {
|
|
4991
|
-
return { value: i2++ ? modifiers || shared.EMPTY_OBJ : res, done: false };
|
|
4992
|
-
} else {
|
|
4993
|
-
return { done: true };
|
|
4994
|
-
}
|
|
5093
|
+
if (doRemove) {
|
|
5094
|
+
remove(vnode);
|
|
4995
5095
|
}
|
|
4996
|
-
};
|
|
4997
|
-
};
|
|
4998
|
-
return res;
|
|
4999
|
-
}
|
|
5000
|
-
const getModelModifiers = (props, modelName) => {
|
|
5001
|
-
return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${shared.camelize(modelName)}Modifiers`] || props[`${shared.hyphenate(modelName)}Modifiers`];
|
|
5002
|
-
};
|
|
5003
|
-
|
|
5004
|
-
function emit(instance, event, ...rawArgs) {
|
|
5005
|
-
if (instance.isUnmounted) return;
|
|
5006
|
-
const props = instance.vnode.props || shared.EMPTY_OBJ;
|
|
5007
|
-
let args = rawArgs;
|
|
5008
|
-
const isModelListener = event.startsWith("update:");
|
|
5009
|
-
const modifiers = isModelListener && getModelModifiers(props, event.slice(7));
|
|
5010
|
-
if (modifiers) {
|
|
5011
|
-
if (modifiers.trim) {
|
|
5012
|
-
args = rawArgs.map((a) => shared.isString(a) ? a.trim() : a);
|
|
5013
5096
|
}
|
|
5014
|
-
if (
|
|
5015
|
-
|
|
5097
|
+
if (shouldInvokeVnodeHook && (vnodeHook = props && props.onVnodeUnmounted) || shouldInvokeDirs) {
|
|
5098
|
+
queuePostRenderEffect(() => {
|
|
5099
|
+
vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
|
|
5100
|
+
shouldInvokeDirs && invokeDirectiveHook(vnode, null, parentComponent, "unmounted");
|
|
5101
|
+
}, parentSuspense);
|
|
5016
5102
|
}
|
|
5017
|
-
}
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
if (handler) {
|
|
5025
|
-
callWithAsyncErrorHandling(
|
|
5026
|
-
handler,
|
|
5027
|
-
instance,
|
|
5028
|
-
6,
|
|
5029
|
-
args
|
|
5030
|
-
);
|
|
5031
|
-
}
|
|
5032
|
-
const onceHandler = props[handlerName + `Once`];
|
|
5033
|
-
if (onceHandler) {
|
|
5034
|
-
if (!instance.emitted) {
|
|
5035
|
-
instance.emitted = {};
|
|
5036
|
-
} else if (instance.emitted[handlerName]) {
|
|
5103
|
+
};
|
|
5104
|
+
const remove = (vnode) => {
|
|
5105
|
+
const { type, el, anchor, transition } = vnode;
|
|
5106
|
+
if (type === Fragment) {
|
|
5107
|
+
{
|
|
5108
|
+
removeFragment(el, anchor);
|
|
5109
|
+
}
|
|
5037
5110
|
return;
|
|
5038
5111
|
}
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
}
|
|
5048
|
-
const mixinEmitsCache = /* @__PURE__ */ new WeakMap();
|
|
5049
|
-
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
|
5050
|
-
const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
|
|
5051
|
-
const cached = cache.get(comp);
|
|
5052
|
-
if (cached !== void 0) {
|
|
5053
|
-
return cached;
|
|
5054
|
-
}
|
|
5055
|
-
const raw = comp.emits;
|
|
5056
|
-
let normalized = {};
|
|
5057
|
-
let hasExtends = false;
|
|
5058
|
-
if (!shared.isFunction(comp)) {
|
|
5059
|
-
const extendEmits = (raw2) => {
|
|
5060
|
-
const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
|
|
5061
|
-
if (normalizedFromExtend) {
|
|
5062
|
-
hasExtends = true;
|
|
5063
|
-
shared.extend(normalized, normalizedFromExtend);
|
|
5112
|
+
if (type === Static) {
|
|
5113
|
+
removeStaticNode(vnode);
|
|
5114
|
+
return;
|
|
5115
|
+
}
|
|
5116
|
+
const performRemove = () => {
|
|
5117
|
+
hostRemove(el);
|
|
5118
|
+
if (transition && !transition.persisted && transition.afterLeave) {
|
|
5119
|
+
transition.afterLeave();
|
|
5064
5120
|
}
|
|
5065
5121
|
};
|
|
5066
|
-
if (
|
|
5067
|
-
|
|
5122
|
+
if (vnode.shapeFlag & 1 && transition && !transition.persisted) {
|
|
5123
|
+
const { leave, delayLeave } = transition;
|
|
5124
|
+
const performLeave = () => leave(el, performRemove);
|
|
5125
|
+
if (delayLeave) {
|
|
5126
|
+
delayLeave(vnode.el, performRemove, performLeave);
|
|
5127
|
+
} else {
|
|
5128
|
+
performLeave();
|
|
5129
|
+
}
|
|
5130
|
+
} else {
|
|
5131
|
+
performRemove();
|
|
5068
5132
|
}
|
|
5069
|
-
|
|
5070
|
-
|
|
5133
|
+
};
|
|
5134
|
+
const removeFragment = (cur, end) => {
|
|
5135
|
+
let next;
|
|
5136
|
+
while (cur !== end) {
|
|
5137
|
+
next = hostNextSibling(cur);
|
|
5138
|
+
hostRemove(cur);
|
|
5139
|
+
cur = next;
|
|
5071
5140
|
}
|
|
5072
|
-
|
|
5073
|
-
|
|
5141
|
+
hostRemove(end);
|
|
5142
|
+
};
|
|
5143
|
+
const unmountComponent = (instance, parentSuspense, doRemove) => {
|
|
5144
|
+
const { bum, scope, job, subTree, um, m, a } = instance;
|
|
5145
|
+
invalidateMount(m);
|
|
5146
|
+
invalidateMount(a);
|
|
5147
|
+
if (bum) {
|
|
5148
|
+
shared.invokeArrayFns(bum);
|
|
5074
5149
|
}
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5150
|
+
scope.stop();
|
|
5151
|
+
if (job) {
|
|
5152
|
+
job.flags |= 8;
|
|
5153
|
+
unmount(subTree, instance, parentSuspense, doRemove);
|
|
5079
5154
|
}
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
}
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
}
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
}
|
|
5096
|
-
key = key.slice(2).replace(/Once$/, "");
|
|
5097
|
-
return shared.hasOwn(options, key[0].toLowerCase() + key.slice(1)) || shared.hasOwn(options, shared.hyphenate(key)) || shared.hasOwn(options, key);
|
|
5098
|
-
}
|
|
5099
|
-
|
|
5100
|
-
function markAttrsAccessed() {
|
|
5101
|
-
}
|
|
5102
|
-
function renderComponentRoot(instance) {
|
|
5103
|
-
const {
|
|
5104
|
-
type: Component,
|
|
5105
|
-
vnode,
|
|
5106
|
-
proxy,
|
|
5107
|
-
withProxy,
|
|
5108
|
-
propsOptions: [propsOptions],
|
|
5109
|
-
slots,
|
|
5110
|
-
attrs,
|
|
5111
|
-
emit,
|
|
5112
|
-
render,
|
|
5113
|
-
renderCache,
|
|
5114
|
-
props,
|
|
5115
|
-
data,
|
|
5116
|
-
setupState,
|
|
5117
|
-
ctx,
|
|
5118
|
-
inheritAttrs
|
|
5119
|
-
} = instance;
|
|
5120
|
-
const prev = setCurrentRenderingInstance(instance);
|
|
5121
|
-
let result;
|
|
5122
|
-
let fallthroughAttrs;
|
|
5123
|
-
try {
|
|
5124
|
-
if (vnode.shapeFlag & 4) {
|
|
5125
|
-
const proxyToUse = withProxy || proxy;
|
|
5126
|
-
const thisProxy = false ? new Proxy(proxyToUse, {
|
|
5127
|
-
get(target, key, receiver) {
|
|
5128
|
-
warn(
|
|
5129
|
-
`Property '${String(
|
|
5130
|
-
key
|
|
5131
|
-
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
5132
|
-
);
|
|
5133
|
-
return Reflect.get(target, key, receiver);
|
|
5134
|
-
}
|
|
5135
|
-
}) : proxyToUse;
|
|
5136
|
-
result = normalizeVNode(
|
|
5137
|
-
render.call(
|
|
5138
|
-
thisProxy,
|
|
5139
|
-
proxyToUse,
|
|
5140
|
-
renderCache,
|
|
5141
|
-
false ? shallowReadonly(props) : props,
|
|
5142
|
-
setupState,
|
|
5143
|
-
data,
|
|
5144
|
-
ctx
|
|
5145
|
-
)
|
|
5146
|
-
);
|
|
5147
|
-
fallthroughAttrs = attrs;
|
|
5148
|
-
} else {
|
|
5149
|
-
const render2 = Component;
|
|
5150
|
-
if (false) ;
|
|
5151
|
-
result = normalizeVNode(
|
|
5152
|
-
render2.length > 1 ? render2(
|
|
5153
|
-
false ? shallowReadonly(props) : props,
|
|
5154
|
-
false ? {
|
|
5155
|
-
get attrs() {
|
|
5156
|
-
markAttrsAccessed();
|
|
5157
|
-
return shallowReadonly(attrs);
|
|
5158
|
-
},
|
|
5159
|
-
slots,
|
|
5160
|
-
emit
|
|
5161
|
-
} : { attrs, slots, emit }
|
|
5162
|
-
) : render2(
|
|
5163
|
-
false ? shallowReadonly(props) : props,
|
|
5164
|
-
null
|
|
5165
|
-
)
|
|
5166
|
-
);
|
|
5167
|
-
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
5155
|
+
if (um) {
|
|
5156
|
+
queuePostRenderEffect(um, parentSuspense);
|
|
5157
|
+
}
|
|
5158
|
+
queuePostRenderEffect(() => {
|
|
5159
|
+
instance.isUnmounted = true;
|
|
5160
|
+
}, parentSuspense);
|
|
5161
|
+
};
|
|
5162
|
+
const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
|
|
5163
|
+
for (let i = start; i < children.length; i++) {
|
|
5164
|
+
unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
|
|
5165
|
+
}
|
|
5166
|
+
};
|
|
5167
|
+
const getNextHostNode = (vnode) => {
|
|
5168
|
+
if (vnode.shapeFlag & 6) {
|
|
5169
|
+
return getNextHostNode(vnode.component.subTree);
|
|
5168
5170
|
}
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
propsOptions
|
|
5184
|
-
);
|
|
5185
|
-
}
|
|
5186
|
-
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
5171
|
+
if (vnode.shapeFlag & 128) {
|
|
5172
|
+
return vnode.suspense.next();
|
|
5173
|
+
}
|
|
5174
|
+
const el = hostNextSibling(vnode.anchor || vnode.el);
|
|
5175
|
+
const teleportEnd = el && el[TeleportEndKey];
|
|
5176
|
+
return teleportEnd ? hostNextSibling(teleportEnd) : el;
|
|
5177
|
+
};
|
|
5178
|
+
let isFlushing = false;
|
|
5179
|
+
const render = (vnode, container, namespace) => {
|
|
5180
|
+
let instance;
|
|
5181
|
+
if (vnode == null) {
|
|
5182
|
+
if (container._vnode) {
|
|
5183
|
+
unmount(container._vnode, null, null, true);
|
|
5184
|
+
instance = container._vnode.component;
|
|
5187
5185
|
}
|
|
5186
|
+
} else {
|
|
5187
|
+
patch(
|
|
5188
|
+
container._vnode || null,
|
|
5189
|
+
vnode,
|
|
5190
|
+
container,
|
|
5191
|
+
null,
|
|
5192
|
+
null,
|
|
5193
|
+
null,
|
|
5194
|
+
namespace
|
|
5195
|
+
);
|
|
5188
5196
|
}
|
|
5197
|
+
container._vnode = vnode;
|
|
5198
|
+
if (!isFlushing) {
|
|
5199
|
+
isFlushing = true;
|
|
5200
|
+
flushPreFlushCbs(instance);
|
|
5201
|
+
flushPostFlushCbs();
|
|
5202
|
+
isFlushing = false;
|
|
5203
|
+
}
|
|
5204
|
+
};
|
|
5205
|
+
const internals = {
|
|
5206
|
+
p: patch,
|
|
5207
|
+
um: unmount,
|
|
5208
|
+
m: move,
|
|
5209
|
+
r: remove,
|
|
5210
|
+
mt: mountComponent,
|
|
5211
|
+
mc: mountChildren,
|
|
5212
|
+
pc: patchChildren,
|
|
5213
|
+
pbc: patchBlockChildren,
|
|
5214
|
+
n: getNextHostNode,
|
|
5215
|
+
o: options
|
|
5216
|
+
};
|
|
5217
|
+
let hydrate;
|
|
5218
|
+
let hydrateNode;
|
|
5219
|
+
if (createHydrationFns) {
|
|
5220
|
+
[hydrate, hydrateNode] = createHydrationFns(
|
|
5221
|
+
internals
|
|
5222
|
+
);
|
|
5189
5223
|
}
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5224
|
+
return {
|
|
5225
|
+
render,
|
|
5226
|
+
hydrate,
|
|
5227
|
+
createApp: createAppAPI(render, hydrate)
|
|
5228
|
+
};
|
|
5229
|
+
}
|
|
5230
|
+
function resolveChildrenNamespace({ type, props }, currentNamespace) {
|
|
5231
|
+
return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
|
|
5232
|
+
}
|
|
5233
|
+
function toggleRecurse({ effect, job }, allowed) {
|
|
5234
|
+
if (allowed) {
|
|
5235
|
+
effect.flags |= 32;
|
|
5236
|
+
job.flags |= 4;
|
|
5237
|
+
} else {
|
|
5238
|
+
effect.flags &= -33;
|
|
5239
|
+
job.flags &= -5;
|
|
5199
5240
|
}
|
|
5200
|
-
setCurrentRenderingInstance(prev);
|
|
5201
|
-
return result;
|
|
5202
5241
|
}
|
|
5203
|
-
function
|
|
5204
|
-
|
|
5205
|
-
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5242
|
+
function needTransition(parentSuspense, transition) {
|
|
5243
|
+
return (!parentSuspense || parentSuspense && !parentSuspense.pendingBranch) && transition && !transition.persisted;
|
|
5244
|
+
}
|
|
5245
|
+
function traverseStaticChildren(n1, n2, shallow = false) {
|
|
5246
|
+
const ch1 = n1.children;
|
|
5247
|
+
const ch2 = n2.children;
|
|
5248
|
+
if (shared.isArray(ch1) && shared.isArray(ch2)) {
|
|
5249
|
+
for (let i = 0; i < ch1.length; i++) {
|
|
5250
|
+
const c1 = ch1[i];
|
|
5251
|
+
let c2 = ch2[i];
|
|
5252
|
+
if (c2.shapeFlag & 1 && !c2.dynamicChildren) {
|
|
5253
|
+
if (c2.patchFlag <= 0 || c2.patchFlag === 32) {
|
|
5254
|
+
c2 = ch2[i] = cloneIfMounted(ch2[i]);
|
|
5255
|
+
c2.el = c1.el;
|
|
5256
|
+
}
|
|
5257
|
+
if (!shallow && c2.patchFlag !== -2)
|
|
5258
|
+
traverseStaticChildren(c1, c2);
|
|
5259
|
+
}
|
|
5260
|
+
if (c2.type === Text) {
|
|
5261
|
+
if (c2.patchFlag !== -1) {
|
|
5262
|
+
c2.el = c1.el;
|
|
5211
5263
|
} else {
|
|
5212
|
-
|
|
5264
|
+
c2.__elIndex = i + // take fragment start anchor into account
|
|
5265
|
+
(n1.type === Fragment ? 1 : 0);
|
|
5213
5266
|
}
|
|
5214
5267
|
}
|
|
5215
|
-
|
|
5216
|
-
|
|
5268
|
+
if (c2.type === Comment && !c2.el) {
|
|
5269
|
+
c2.el = c1.el;
|
|
5270
|
+
}
|
|
5217
5271
|
}
|
|
5218
5272
|
}
|
|
5219
|
-
return singleRoot;
|
|
5220
5273
|
}
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
res[key] = attrs[key];
|
|
5235
|
-
}
|
|
5236
|
-
}
|
|
5237
|
-
return res;
|
|
5238
|
-
};
|
|
5239
|
-
function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
|
|
5240
|
-
const { props: prevProps, children: prevChildren, component } = prevVNode;
|
|
5241
|
-
const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
|
|
5242
|
-
const emits = component.emitsOptions;
|
|
5243
|
-
if (nextVNode.dirs || nextVNode.transition) {
|
|
5244
|
-
return true;
|
|
5245
|
-
}
|
|
5246
|
-
if (optimized && patchFlag >= 0) {
|
|
5247
|
-
if (patchFlag & 1024) {
|
|
5248
|
-
return true;
|
|
5249
|
-
}
|
|
5250
|
-
if (patchFlag & 16) {
|
|
5251
|
-
if (!prevProps) {
|
|
5252
|
-
return !!nextProps;
|
|
5274
|
+
function getSequence(arr) {
|
|
5275
|
+
const p = arr.slice();
|
|
5276
|
+
const result = [0];
|
|
5277
|
+
let i, j, u, v, c;
|
|
5278
|
+
const len = arr.length;
|
|
5279
|
+
for (i = 0; i < len; i++) {
|
|
5280
|
+
const arrI = arr[i];
|
|
5281
|
+
if (arrI !== 0) {
|
|
5282
|
+
j = result[result.length - 1];
|
|
5283
|
+
if (arr[j] < arrI) {
|
|
5284
|
+
p[i] = j;
|
|
5285
|
+
result.push(i);
|
|
5286
|
+
continue;
|
|
5253
5287
|
}
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5288
|
+
u = 0;
|
|
5289
|
+
v = result.length - 1;
|
|
5290
|
+
while (u < v) {
|
|
5291
|
+
c = u + v >> 1;
|
|
5292
|
+
if (arr[result[c]] < arrI) {
|
|
5293
|
+
u = c + 1;
|
|
5294
|
+
} else {
|
|
5295
|
+
v = c;
|
|
5261
5296
|
}
|
|
5262
5297
|
}
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5298
|
+
if (arrI < arr[result[u]]) {
|
|
5299
|
+
if (u > 0) {
|
|
5300
|
+
p[i] = result[u - 1];
|
|
5301
|
+
}
|
|
5302
|
+
result[u] = i;
|
|
5268
5303
|
}
|
|
5269
5304
|
}
|
|
5270
|
-
if (prevProps === nextProps) {
|
|
5271
|
-
return false;
|
|
5272
|
-
}
|
|
5273
|
-
if (!prevProps) {
|
|
5274
|
-
return !!nextProps;
|
|
5275
|
-
}
|
|
5276
|
-
if (!nextProps) {
|
|
5277
|
-
return true;
|
|
5278
|
-
}
|
|
5279
|
-
return hasPropsChanged(prevProps, nextProps, emits);
|
|
5280
5305
|
}
|
|
5281
|
-
|
|
5282
|
-
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
return true;
|
|
5287
|
-
}
|
|
5288
|
-
for (let i = 0; i < nextKeys.length; i++) {
|
|
5289
|
-
const key = nextKeys[i];
|
|
5290
|
-
if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) {
|
|
5291
|
-
return true;
|
|
5292
|
-
}
|
|
5306
|
+
u = result.length;
|
|
5307
|
+
v = result[u - 1];
|
|
5308
|
+
while (u-- > 0) {
|
|
5309
|
+
result[u] = v;
|
|
5310
|
+
v = p[v];
|
|
5293
5311
|
}
|
|
5294
|
-
return
|
|
5312
|
+
return result;
|
|
5295
5313
|
}
|
|
5296
|
-
function
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
if (
|
|
5300
|
-
|
|
5301
|
-
}
|
|
5302
|
-
if (root === vnode) {
|
|
5303
|
-
(vnode = parent.vnode).el = el;
|
|
5304
|
-
parent = parent.parent;
|
|
5314
|
+
function locateNonHydratedAsyncRoot(instance) {
|
|
5315
|
+
const subComponent = instance.subTree.component;
|
|
5316
|
+
if (subComponent) {
|
|
5317
|
+
if (subComponent.asyncDep && !subComponent.asyncResolved) {
|
|
5318
|
+
return subComponent;
|
|
5305
5319
|
} else {
|
|
5306
|
-
|
|
5320
|
+
return locateNonHydratedAsyncRoot(subComponent);
|
|
5307
5321
|
}
|
|
5308
5322
|
}
|
|
5309
5323
|
}
|
|
5324
|
+
function invalidateMount(hooks) {
|
|
5325
|
+
if (hooks) {
|
|
5326
|
+
for (let i = 0; i < hooks.length; i++)
|
|
5327
|
+
hooks[i].flags |= 8;
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
5331
|
+
if (anchorVnode.placeholder) {
|
|
5332
|
+
return anchorVnode.placeholder;
|
|
5333
|
+
}
|
|
5334
|
+
const instance = anchorVnode.component;
|
|
5335
|
+
if (instance) {
|
|
5336
|
+
return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
5337
|
+
}
|
|
5338
|
+
return null;
|
|
5339
|
+
}
|
|
5310
5340
|
|
|
5311
5341
|
const isSuspense = (type) => type.__isSuspense;
|
|
5312
5342
|
let suspenseId = 0;
|
|
@@ -5609,7 +5639,8 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
5609
5639
|
pendingId,
|
|
5610
5640
|
effects,
|
|
5611
5641
|
parentComponent: parentComponent2,
|
|
5612
|
-
container: container2
|
|
5642
|
+
container: container2,
|
|
5643
|
+
isInFallback
|
|
5613
5644
|
} = suspense;
|
|
5614
5645
|
let delayEnter = false;
|
|
5615
5646
|
if (suspense.isHydrating) {
|
|
@@ -5626,6 +5657,9 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
5626
5657
|
0
|
|
5627
5658
|
);
|
|
5628
5659
|
queuePostFlushCb(effects);
|
|
5660
|
+
if (isInFallback && vnode2.ssFallback) {
|
|
5661
|
+
vnode2.ssFallback.el = null;
|
|
5662
|
+
}
|
|
5629
5663
|
}
|
|
5630
5664
|
};
|
|
5631
5665
|
}
|
|
@@ -5634,6 +5668,9 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
5634
5668
|
anchor = next(activeBranch);
|
|
5635
5669
|
}
|
|
5636
5670
|
unmount(activeBranch, parentComponent2, suspense, true);
|
|
5671
|
+
if (!delayEnter && isInFallback && vnode2.ssFallback) {
|
|
5672
|
+
queuePostRenderEffect(() => vnode2.ssFallback.el = null, suspense);
|
|
5673
|
+
}
|
|
5637
5674
|
}
|
|
5638
5675
|
if (!delayEnter) {
|
|
5639
5676
|
move(pendingBranch, container2, anchor, 0);
|
|
@@ -5749,6 +5786,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
5749
5786
|
optimized2
|
|
5750
5787
|
);
|
|
5751
5788
|
if (placeholder) {
|
|
5789
|
+
vnode2.placeholder = null;
|
|
5752
5790
|
remove(placeholder);
|
|
5753
5791
|
}
|
|
5754
5792
|
updateHOCHostEl(instance, vnode2.el);
|
|
@@ -5870,10 +5908,10 @@ function isVNodeSuspensible(vnode) {
|
|
|
5870
5908
|
return suspensible != null && suspensible !== false;
|
|
5871
5909
|
}
|
|
5872
5910
|
|
|
5873
|
-
const Fragment = Symbol.for("v-fgt");
|
|
5874
|
-
const Text = Symbol.for("v-txt");
|
|
5875
|
-
const Comment = Symbol.for("v-cmt");
|
|
5876
|
-
const Static = Symbol.for("v-stc");
|
|
5911
|
+
const Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
5912
|
+
const Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
5913
|
+
const Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
5914
|
+
const Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
5877
5915
|
const blockStack = [];
|
|
5878
5916
|
let currentBlock = null;
|
|
5879
5917
|
function openBlock(disableTracking = false) {
|
|
@@ -6562,7 +6600,7 @@ function isMemoSame(cached, memo) {
|
|
|
6562
6600
|
return true;
|
|
6563
6601
|
}
|
|
6564
6602
|
|
|
6565
|
-
const version = "3.5.
|
|
6603
|
+
const version = "3.5.26";
|
|
6566
6604
|
const warn$1 = shared.NOOP;
|
|
6567
6605
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6568
6606
|
const devtools = void 0;
|