From 48dbea64de6900834c4553418870ca12f6a97b9c Mon Sep 17 00:00:00 2001 From: koreafood Date: Fri, 29 May 2026 08:16:50 +0900 Subject: [PATCH] =?UTF-8?q?node=5Fmodules=20=EC=B6=94=EC=A0=81=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/node_modules/.bin/esbuild | 1 - frontend/node_modules/.bin/nanoid | 1 - frontend/node_modules/.bin/parser | 1 - frontend/node_modules/.bin/rollup | 1 - frontend/node_modules/.bin/vite | 1 - frontend/node_modules/.package-lock.json | 573 - .../node_modules/.vite/deps/_metadata.json | 25 - .../node_modules/.vite/deps/chunk-PRB2KXUH.js | 13035 ---- .../.vite/deps/chunk-PRB2KXUH.js.map | 7 - frontend/node_modules/.vite/deps/package.json | 3 - .../node_modules/.vite/deps/vue-router.js | 2395 - .../node_modules/.vite/deps/vue-router.js.map | 7 - frontend/node_modules/.vite/deps/vue.js | 346 - frontend/node_modules/.vite/deps/vue.js.map | 7 - .../@babel/helper-string-parser/LICENSE | 22 - .../@babel/helper-string-parser/README.md | 19 - .../@babel/helper-string-parser/lib/index.js | 295 - .../helper-string-parser/lib/index.js.map | 1 - .../@babel/helper-string-parser/package.json | 31 - .../helper-validator-identifier/LICENSE | 22 - .../helper-validator-identifier/README.md | 19 - .../lib/identifier.js | 70 - .../lib/identifier.js.map | 1 - .../helper-validator-identifier/lib/index.js | 57 - .../lib/index.js.map | 1 - .../lib/keyword.js | 35 - .../lib/keyword.js.map | 1 - .../helper-validator-identifier/package.json | 31 - .../node_modules/@babel/parser/CHANGELOG.md | 1073 - frontend/node_modules/@babel/parser/LICENSE | 19 - frontend/node_modules/@babel/parser/README.md | 19 - .../@babel/parser/bin/babel-parser.js | 15 - .../node_modules/@babel/parser/lib/index.js | 14599 ----- .../@babel/parser/lib/index.js.map | 1 - .../node_modules/@babel/parser/package.json | 50 - .../@babel/parser/typings/babel-parser.d.ts | 262 - frontend/node_modules/@babel/types/LICENSE | 22 - frontend/node_modules/@babel/types/README.md | 19 - .../@babel/types/lib/asserts/assertNode.js | 16 - .../types/lib/asserts/assertNode.js.map | 1 - .../types/lib/asserts/generated/index.js | 1251 - .../types/lib/asserts/generated/index.js.map | 1 - .../types/lib/ast-types/generated/index.js | 3 - .../lib/ast-types/generated/index.js.map | 1 - .../lib/builders/flow/createFlowUnionType.js | 18 - .../builders/flow/createFlowUnionType.js.map | 1 - .../flow/createTypeAnnotationBasedOnTypeof.js | 31 - .../createTypeAnnotationBasedOnTypeof.js.map | 1 - .../types/lib/builders/generated/index.js | 29 - .../types/lib/builders/generated/index.js.map | 1 - .../types/lib/builders/generated/lowercase.js | 2902 - .../lib/builders/generated/lowercase.js.map | 1 - .../types/lib/builders/generated/uppercase.js | 272 - .../lib/builders/generated/uppercase.js.map | 1 - .../@babel/types/lib/builders/productions.js | 12 - .../types/lib/builders/productions.js.map | 1 - .../types/lib/builders/react/buildChildren.js | 24 - .../lib/builders/react/buildChildren.js.map | 1 - .../builders/typescript/createTSUnionType.js | 22 - .../typescript/createTSUnionType.js.map | 1 - .../@babel/types/lib/builders/validateNode.js | 21 - .../types/lib/builders/validateNode.js.map | 1 - .../@babel/types/lib/clone/clone.js | 12 - .../@babel/types/lib/clone/clone.js.map | 1 - .../@babel/types/lib/clone/cloneDeep.js | 12 - .../@babel/types/lib/clone/cloneDeep.js.map | 1 - .../types/lib/clone/cloneDeepWithoutLoc.js | 12 - .../lib/clone/cloneDeepWithoutLoc.js.map | 1 - .../@babel/types/lib/clone/cloneNode.js | 107 - .../@babel/types/lib/clone/cloneNode.js.map | 1 - .../@babel/types/lib/clone/cloneWithoutLoc.js | 12 - .../types/lib/clone/cloneWithoutLoc.js.map | 1 - .../@babel/types/lib/comments/addComment.js | 15 - .../types/lib/comments/addComment.js.map | 1 - .../@babel/types/lib/comments/addComments.js | 22 - .../types/lib/comments/addComments.js.map | 1 - .../lib/comments/inheritInnerComments.js | 12 - .../lib/comments/inheritInnerComments.js.map | 1 - .../lib/comments/inheritLeadingComments.js | 12 - .../comments/inheritLeadingComments.js.map | 1 - .../lib/comments/inheritTrailingComments.js | 12 - .../comments/inheritTrailingComments.js.map | 1 - .../types/lib/comments/inheritsComments.js | 17 - .../lib/comments/inheritsComments.js.map | 1 - .../types/lib/comments/removeComments.js | 15 - .../types/lib/comments/removeComments.js.map | 1 - .../types/lib/constants/generated/index.js | 60 - .../lib/constants/generated/index.js.map | 1 - .../@babel/types/lib/constants/index.js | 31 - .../@babel/types/lib/constants/index.js.map | 1 - .../types/lib/converters/ensureBlock.js | 14 - .../types/lib/converters/ensureBlock.js.map | 1 - .../converters/gatherSequenceExpressions.js | 65 - .../gatherSequenceExpressions.js.map | 1 - .../lib/converters/toBindingIdentifierName.js | 14 - .../converters/toBindingIdentifierName.js.map | 1 - .../@babel/types/lib/converters/toBlock.js | 29 - .../types/lib/converters/toBlock.js.map | 1 - .../types/lib/converters/toComputedKey.js | 14 - .../types/lib/converters/toComputedKey.js.map | 1 - .../types/lib/converters/toExpression.js | 28 - .../types/lib/converters/toExpression.js.map | 1 - .../types/lib/converters/toIdentifier.js | 25 - .../types/lib/converters/toIdentifier.js.map | 1 - .../@babel/types/lib/converters/toKeyAlias.js | 38 - .../types/lib/converters/toKeyAlias.js.map | 1 - .../lib/converters/toSequenceExpression.js | 19 - .../converters/toSequenceExpression.js.map | 1 - .../types/lib/converters/toStatement.js | 39 - .../types/lib/converters/toStatement.js.map | 1 - .../types/lib/converters/valueToNode.js | 89 - .../types/lib/converters/valueToNode.js.map | 1 - .../@babel/types/lib/definitions/core.js | 1725 - .../@babel/types/lib/definitions/core.js.map | 1 - .../lib/definitions/deprecated-aliases.js | 11 - .../lib/definitions/deprecated-aliases.js.map | 1 - .../types/lib/definitions/experimental.js | 124 - .../types/lib/definitions/experimental.js.map | 1 - .../@babel/types/lib/definitions/flow.js | 495 - .../@babel/types/lib/definitions/flow.js.map | 1 - .../@babel/types/lib/definitions/index.js | 106 - .../@babel/types/lib/definitions/index.js.map | 1 - .../@babel/types/lib/definitions/jsx.js | 157 - .../@babel/types/lib/definitions/jsx.js.map | 1 - .../@babel/types/lib/definitions/misc.js | 31 - .../@babel/types/lib/definitions/misc.js.map | 1 - .../types/lib/definitions/placeholders.js | 27 - .../types/lib/definitions/placeholders.js.map | 1 - .../types/lib/definitions/typescript.js | 528 - .../types/lib/definitions/typescript.js.map | 1 - .../@babel/types/lib/definitions/utils.js | 296 - .../@babel/types/lib/definitions/utils.js.map | 1 - .../@babel/types/lib/index-legacy.d.ts | 2797 - .../node_modules/@babel/types/lib/index.d.ts | 3617 -- .../node_modules/@babel/types/lib/index.js | 582 - .../@babel/types/lib/index.js.flow | 2650 - .../@babel/types/lib/index.js.map | 1 - .../modifications/appendToMemberExpression.js | 15 - .../appendToMemberExpression.js.map | 1 - .../flow/removeTypeDuplicates.js | 65 - .../flow/removeTypeDuplicates.js.map | 1 - .../types/lib/modifications/inherits.js | 28 - .../types/lib/modifications/inherits.js.map | 1 - .../prependToMemberExpression.js | 17 - .../prependToMemberExpression.js.map | 1 - .../lib/modifications/removeProperties.js | 24 - .../lib/modifications/removeProperties.js.map | 1 - .../lib/modifications/removePropertiesDeep.js | 14 - .../modifications/removePropertiesDeep.js.map | 1 - .../typescript/removeTypeDuplicates.js | 66 - .../typescript/removeTypeDuplicates.js.map | 1 - .../retrievers/getAssignmentIdentifiers.js | 48 - .../getAssignmentIdentifiers.js.map | 1 - .../lib/retrievers/getBindingIdentifiers.js | 102 - .../retrievers/getBindingIdentifiers.js.map | 1 - .../types/lib/retrievers/getFunctionName.js | 63 - .../lib/retrievers/getFunctionName.js.map | 1 - .../retrievers/getOuterBindingIdentifiers.js | 13 - .../getOuterBindingIdentifiers.js.map | 1 - .../@babel/types/lib/traverse/traverse.js | 50 - .../@babel/types/lib/traverse/traverse.js.map | 1 - .../@babel/types/lib/traverse/traverseFast.js | 40 - .../types/lib/traverse/traverseFast.js.map | 1 - .../types/lib/utils/deprecationWarning.js | 44 - .../types/lib/utils/deprecationWarning.js.map | 1 - .../@babel/types/lib/utils/inherit.js | 13 - .../@babel/types/lib/utils/inherit.js.map | 1 - .../react/cleanJSXElementLiteralChild.js | 40 - .../react/cleanJSXElementLiteralChild.js.map | 1 - .../@babel/types/lib/utils/shallowEqual.js | 17 - .../types/lib/utils/shallowEqual.js.map | 1 - .../validators/buildMatchMemberExpression.js | 13 - .../buildMatchMemberExpression.js.map | 1 - .../types/lib/validators/generated/index.js | 2797 - .../lib/validators/generated/index.js.map | 1 - .../@babel/types/lib/validators/is.js | 27 - .../@babel/types/lib/validators/is.js.map | 1 - .../@babel/types/lib/validators/isBinding.js | 27 - .../types/lib/validators/isBinding.js.map | 1 - .../types/lib/validators/isBlockScoped.js | 13 - .../types/lib/validators/isBlockScoped.js.map | 1 - .../types/lib/validators/isImmutable.js | 21 - .../types/lib/validators/isImmutable.js.map | 1 - .../@babel/types/lib/validators/isLet.js | 13 - .../@babel/types/lib/validators/isLet.js.map | 1 - .../@babel/types/lib/validators/isNode.js | 12 - .../@babel/types/lib/validators/isNode.js.map | 1 - .../types/lib/validators/isNodesEquivalent.js | 57 - .../lib/validators/isNodesEquivalent.js.map | 1 - .../types/lib/validators/isPlaceholderType.js | 15 - .../lib/validators/isPlaceholderType.js.map | 1 - .../types/lib/validators/isReferenced.js | 96 - .../types/lib/validators/isReferenced.js.map | 1 - .../@babel/types/lib/validators/isScope.js | 18 - .../types/lib/validators/isScope.js.map | 1 - .../lib/validators/isSpecifierDefault.js | 14 - .../lib/validators/isSpecifierDefault.js.map | 1 - .../@babel/types/lib/validators/isType.js | 17 - .../@babel/types/lib/validators/isType.js.map | 1 - .../lib/validators/isValidES3Identifier.js | 13 - .../validators/isValidES3Identifier.js.map | 1 - .../types/lib/validators/isValidIdentifier.js | 18 - .../lib/validators/isValidIdentifier.js.map | 1 - .../@babel/types/lib/validators/isVar.js | 15 - .../@babel/types/lib/validators/isVar.js.map | 1 - .../types/lib/validators/matchesPattern.js | 44 - .../lib/validators/matchesPattern.js.map | 1 - .../types/lib/validators/react/isCompatTag.js | 11 - .../lib/validators/react/isCompatTag.js.map | 1 - .../lib/validators/react/isReactComponent.js | 11 - .../validators/react/isReactComponent.js.map | 1 - .../@babel/types/lib/validators/validate.js | 42 - .../types/lib/validators/validate.js.map | 1 - .../node_modules/@babel/types/package.json | 39 - .../@esbuild/darwin-x64/README.md | 3 - .../@esbuild/darwin-x64/bin/esbuild | Bin 10611232 -> 0 bytes .../@esbuild/darwin-x64/package.json | 20 - .../@jridgewell/sourcemap-codec/LICENSE | 19 - .../@jridgewell/sourcemap-codec/README.md | 264 - .../sourcemap-codec/dist/sourcemap-codec.mjs | 423 - .../dist/sourcemap-codec.mjs.map | 6 - .../dist/sourcemap-codec.umd.js | 464 - .../dist/sourcemap-codec.umd.js.map | 6 - .../@jridgewell/sourcemap-codec/package.json | 63 - .../@jridgewell/sourcemap-codec/src/scopes.ts | 345 - .../sourcemap-codec/src/sourcemap-codec.ts | 111 - .../sourcemap-codec/src/strings.ts | 65 - .../@jridgewell/sourcemap-codec/src/vlq.ts | 55 - .../sourcemap-codec/types/scopes.d.cts | 50 - .../sourcemap-codec/types/scopes.d.cts.map | 1 - .../sourcemap-codec/types/scopes.d.mts | 50 - .../sourcemap-codec/types/scopes.d.mts.map | 1 - .../types/sourcemap-codec.d.cts | 9 - .../types/sourcemap-codec.d.cts.map | 1 - .../types/sourcemap-codec.d.mts | 9 - .../types/sourcemap-codec.d.mts.map | 1 - .../sourcemap-codec/types/strings.d.cts | 16 - .../sourcemap-codec/types/strings.d.cts.map | 1 - .../sourcemap-codec/types/strings.d.mts | 16 - .../sourcemap-codec/types/strings.d.mts.map | 1 - .../sourcemap-codec/types/vlq.d.cts | 7 - .../sourcemap-codec/types/vlq.d.cts.map | 1 - .../sourcemap-codec/types/vlq.d.mts | 7 - .../sourcemap-codec/types/vlq.d.mts.map | 1 - .../@rollup/rollup-darwin-x64/README.md | 3 - .../@rollup/rollup-darwin-x64/package.json | 22 - .../rollup-darwin-x64/rollup.darwin-x64.node | Bin 1877168 -> 0 bytes frontend/node_modules/@types/estree/LICENSE | 21 - frontend/node_modules/@types/estree/README.md | 15 - frontend/node_modules/@types/estree/flow.d.ts | 167 - .../node_modules/@types/estree/index.d.ts | 694 - .../node_modules/@types/estree/package.json | 27 - .../node_modules/@vitejs/plugin-vue/LICENSE | 21 - .../node_modules/@vitejs/plugin-vue/README.md | 278 - .../@vitejs/plugin-vue/dist/index.cjs | 3105 - .../@vitejs/plugin-vue/dist/index.d.cts | 113 - .../@vitejs/plugin-vue/dist/index.d.mts | 111 - .../@vitejs/plugin-vue/dist/index.d.ts | 113 - .../@vitejs/plugin-vue/dist/index.mjs | 3090 - .../@vitejs/plugin-vue/package.json | 50 - .../node_modules/@vue/compiler-core/LICENSE | 21 - .../node_modules/@vue/compiler-core/README.md | 1 - .../compiler-core/dist/compiler-core.cjs.js | 6888 --- .../dist/compiler-core.cjs.prod.js | 6763 -- .../compiler-core/dist/compiler-core.d.ts | 1100 - .../dist/compiler-core.esm-bundler.js | 5835 -- .../node_modules/@vue/compiler-core/index.js | 7 - .../@vue/compiler-core/package.json | 58 - .../node_modules/@vue/compiler-dom/LICENSE | 21 - .../node_modules/@vue/compiler-dom/README.md | 1 - .../compiler-dom/dist/compiler-dom.cjs.js | 934 - .../dist/compiler-dom.cjs.prod.js | 689 - .../@vue/compiler-dom/dist/compiler-dom.d.ts | 45 - .../dist/compiler-dom.esm-browser.js | 6644 -- .../dist/compiler-dom.esm-browser.prod.js | 14 - .../dist/compiler-dom.esm-bundler.js | 690 - .../compiler-dom/dist/compiler-dom.global.js | 6814 --- .../dist/compiler-dom.global.prod.js | 14 - .../node_modules/@vue/compiler-dom/index.js | 7 - .../@vue/compiler-dom/package.json | 57 - .../node_modules/@vue/compiler-sfc/LICENSE | 21 - .../node_modules/@vue/compiler-sfc/README.md | 79 - .../compiler-sfc/dist/compiler-sfc.cjs.js | 25796 -------- .../@vue/compiler-sfc/dist/compiler-sfc.d.ts | 487 - .../dist/compiler-sfc.esm-browser.js | 51086 ---------------- .../@vue/compiler-sfc/package.json | 67 - .../node_modules/@vue/compiler-ssr/LICENSE | 21 - .../node_modules/@vue/compiler-ssr/README.md | 1 - .../compiler-ssr/dist/compiler-ssr.cjs.js | 1413 - .../@vue/compiler-ssr/dist/compiler-ssr.d.ts | 4 - .../@vue/compiler-ssr/package.json | 34 - .../@vue/devtools-api/lib/cjs/api/api.js | 2 - .../@vue/devtools-api/lib/cjs/api/app.js | 2 - .../devtools-api/lib/cjs/api/component.js | 2 - .../@vue/devtools-api/lib/cjs/api/context.js | 2 - .../@vue/devtools-api/lib/cjs/api/hooks.js | 2 - .../@vue/devtools-api/lib/cjs/api/index.js | 22 - .../@vue/devtools-api/lib/cjs/api/util.js | 2 - .../@vue/devtools-api/lib/cjs/const.js | 5 - .../@vue/devtools-api/lib/cjs/env.js | 17 - .../@vue/devtools-api/lib/cjs/index.js | 45 - .../@vue/devtools-api/lib/cjs/plugin.js | 2 - .../@vue/devtools-api/lib/cjs/proxy.js | 111 - .../@vue/devtools-api/lib/cjs/time.js | 28 - .../@vue/devtools-api/lib/esm/api/api.d.ts | 108 - .../@vue/devtools-api/lib/esm/api/api.js | 1 - .../@vue/devtools-api/lib/esm/api/app.d.ts | 1 - .../@vue/devtools-api/lib/esm/api/app.js | 1 - .../devtools-api/lib/esm/api/component.d.ts | 78 - .../devtools-api/lib/esm/api/component.js | 1 - .../devtools-api/lib/esm/api/context.d.ts | 5 - .../@vue/devtools-api/lib/esm/api/context.js | 1 - .../@vue/devtools-api/lib/esm/api/hooks.d.ts | 180 - .../@vue/devtools-api/lib/esm/api/hooks.js | 1 - .../@vue/devtools-api/lib/esm/api/index.d.ts | 6 - .../@vue/devtools-api/lib/esm/api/index.js | 6 - .../@vue/devtools-api/lib/esm/api/util.d.ts | 4 - .../@vue/devtools-api/lib/esm/api/util.js | 1 - .../@vue/devtools-api/lib/esm/const.d.ts | 2 - .../@vue/devtools-api/lib/esm/const.js | 2 - .../@vue/devtools-api/lib/esm/env.d.ts | 15 - .../@vue/devtools-api/lib/esm/env.js | 12 - .../@vue/devtools-api/lib/esm/index.d.ts | 18 - .../@vue/devtools-api/lib/esm/index.js | 27 - .../@vue/devtools-api/lib/esm/plugin.d.ts | 47 - .../@vue/devtools-api/lib/esm/plugin.js | 1 - .../@vue/devtools-api/lib/esm/proxy.d.ts | 20 - .../@vue/devtools-api/lib/esm/proxy.js | 107 - .../@vue/devtools-api/lib/esm/time.d.ts | 2 - .../@vue/devtools-api/lib/esm/time.js | 23 - .../@vue/devtools-api/package.json | 37 - frontend/node_modules/@vue/reactivity/LICENSE | 21 - .../node_modules/@vue/reactivity/README.md | 19 - .../@vue/reactivity/dist/reactivity.cjs.js | 2054 - .../reactivity/dist/reactivity.cjs.prod.js | 1898 - .../@vue/reactivity/dist/reactivity.d.ts | 757 - .../reactivity/dist/reactivity.esm-browser.js | 2052 - .../dist/reactivity.esm-browser.prod.js | 5 - .../reactivity/dist/reactivity.esm-bundler.js | 2011 - .../@vue/reactivity/dist/reactivity.global.js | 2108 - .../reactivity/dist/reactivity.global.prod.js | 5 - .../node_modules/@vue/reactivity/index.js | 7 - .../node_modules/@vue/reactivity/package.json | 55 - .../node_modules/@vue/runtime-core/LICENSE | 21 - .../node_modules/@vue/runtime-core/README.md | 28 - .../runtime-core/dist/runtime-core.cjs.js | 8730 --- .../dist/runtime-core.cjs.prod.js | 6863 --- .../@vue/runtime-core/dist/runtime-core.d.ts | 1866 - .../dist/runtime-core.esm-bundler.js | 8659 --- .../node_modules/@vue/runtime-core/index.js | 7 - .../@vue/runtime-core/package.json | 52 - .../node_modules/@vue/runtime-dom/LICENSE | 21 - .../node_modules/@vue/runtime-dom/README.md | 13 - .../@vue/runtime-dom/dist/runtime-dom.cjs.js | 1961 - .../runtime-dom/dist/runtime-dom.cjs.prod.js | 1811 - .../@vue/runtime-dom/dist/runtime-dom.d.ts | 1450 - .../dist/runtime-dom.esm-browser.js | 12842 ---- .../dist/runtime-dom.esm-browser.prod.js | 7 - .../dist/runtime-dom.esm-bundler.js | 2000 - .../runtime-dom/dist/runtime-dom.global.js | 12895 ---- .../dist/runtime-dom.global.prod.js | 7 - .../node_modules/@vue/runtime-dom/index.js | 7 - .../@vue/runtime-dom/package.json | 60 - .../node_modules/@vue/server-renderer/LICENSE | 21 - .../@vue/server-renderer/README.md | 178 - .../dist/server-renderer.cjs.js | 1159 - .../dist/server-renderer.cjs.prod.js | 883 - .../server-renderer/dist/server-renderer.d.ts | 65 - .../dist/server-renderer.esm-browser.js | 8668 --- .../dist/server-renderer.esm-browser.prod.js | 5 - .../dist/server-renderer.esm-bundler.js | 1097 - .../@vue/server-renderer/index.js | 7 - .../@vue/server-renderer/package.json | 55 - frontend/node_modules/@vue/shared/LICENSE | 21 - frontend/node_modules/@vue/shared/README.md | 3 - .../@vue/shared/dist/shared.cjs.js | 612 - .../@vue/shared/dist/shared.cjs.prod.js | 604 - .../node_modules/@vue/shared/dist/shared.d.ts | 334 - .../@vue/shared/dist/shared.esm-bundler.js | 536 - frontend/node_modules/@vue/shared/index.js | 7 - .../node_modules/@vue/shared/package.json | 47 - frontend/node_modules/csstype/LICENSE | 19 - frontend/node_modules/csstype/README.md | 291 - frontend/node_modules/csstype/index.d.ts | 22569 ------- frontend/node_modules/csstype/index.js.flow | 6863 --- frontend/node_modules/csstype/package.json | 70 - frontend/node_modules/entities/LICENSE | 11 - frontend/node_modules/entities/decode.d.ts | 3 - frontend/node_modules/entities/decode.js | 3 - .../dist/commonjs/decode-codepoint.d.ts | 19 - .../dist/commonjs/decode-codepoint.d.ts.map | 1 - .../dist/commonjs/decode-codepoint.js | 77 - .../dist/commonjs/decode-codepoint.js.map | 1 - .../entities/dist/commonjs/decode.d.ts | 205 - .../entities/dist/commonjs/decode.d.ts.map | 1 - .../entities/dist/commonjs/decode.js | 568 - .../entities/dist/commonjs/decode.js.map | 1 - .../entities/dist/commonjs/encode.d.ts | 22 - .../entities/dist/commonjs/encode.d.ts.map | 1 - .../entities/dist/commonjs/encode.js | 92 - .../entities/dist/commonjs/encode.js.map | 1 - .../entities/dist/commonjs/escape.d.ts | 46 - .../entities/dist/commonjs/escape.d.ts.map | 1 - .../entities/dist/commonjs/escape.js | 138 - .../entities/dist/commonjs/escape.js.map | 1 - .../commonjs/generated/decode-data-html.d.ts | 2 - .../generated/decode-data-html.d.ts.map | 1 - .../commonjs/generated/decode-data-html.js | 7 - .../generated/decode-data-html.js.map | 1 - .../commonjs/generated/decode-data-xml.d.ts | 2 - .../generated/decode-data-xml.d.ts.map | 1 - .../commonjs/generated/decode-data-xml.js | 7 - .../commonjs/generated/decode-data-xml.js.map | 1 - .../dist/commonjs/generated/encode-html.d.ts | 3 - .../commonjs/generated/encode-html.d.ts.map | 1 - .../dist/commonjs/generated/encode-html.js | 14 - .../commonjs/generated/encode-html.js.map | 1 - .../entities/dist/commonjs/index.d.ts | 96 - .../entities/dist/commonjs/index.d.ts.map | 1 - .../entities/dist/commonjs/index.js | 131 - .../entities/dist/commonjs/index.js.map | 1 - .../commonjs/internal/bin-trie-flags.d.ts | 17 - .../commonjs/internal/bin-trie-flags.d.ts.map | 1 - .../dist/commonjs/internal/bin-trie-flags.js | 21 - .../commonjs/internal/bin-trie-flags.js.map | 1 - .../dist/commonjs/internal/decode-shared.d.ts | 2 - .../commonjs/internal/decode-shared.d.ts.map | 1 - .../dist/commonjs/internal/decode-shared.js | 31 - .../commonjs/internal/decode-shared.js.map | 1 - .../dist/commonjs/internal/encode-shared.d.ts | 32 - .../commonjs/internal/encode-shared.d.ts.map | 1 - .../dist/commonjs/internal/encode-shared.js | 94 - .../commonjs/internal/encode-shared.js.map | 1 - .../entities/dist/commonjs/package.json | 3 - .../entities/dist/esm/decode-codepoint.d.ts | 19 - .../dist/esm/decode-codepoint.d.ts.map | 1 - .../entities/dist/esm/decode-codepoint.js | 72 - .../entities/dist/esm/decode-codepoint.js.map | 1 - .../entities/dist/esm/decode.d.ts | 205 - .../entities/dist/esm/decode.d.ts.map | 1 - .../node_modules/entities/dist/esm/decode.js | 554 - .../entities/dist/esm/decode.js.map | 1 - .../entities/dist/esm/encode.d.ts | 22 - .../entities/dist/esm/encode.d.ts.map | 1 - .../node_modules/entities/dist/esm/encode.js | 88 - .../entities/dist/esm/encode.js.map | 1 - .../entities/dist/esm/escape.d.ts | 46 - .../entities/dist/esm/escape.d.ts.map | 1 - .../node_modules/entities/dist/esm/escape.js | 134 - .../entities/dist/esm/escape.js.map | 1 - .../dist/esm/generated/decode-data-html.d.ts | 2 - .../esm/generated/decode-data-html.d.ts.map | 1 - .../dist/esm/generated/decode-data-html.js | 4 - .../esm/generated/decode-data-html.js.map | 1 - .../dist/esm/generated/decode-data-xml.d.ts | 2 - .../esm/generated/decode-data-xml.d.ts.map | 1 - .../dist/esm/generated/decode-data-xml.js | 4 - .../dist/esm/generated/decode-data-xml.js.map | 1 - .../dist/esm/generated/encode-html.d.ts | 3 - .../dist/esm/generated/encode-html.d.ts.map | 1 - .../dist/esm/generated/encode-html.js | 11 - .../dist/esm/generated/encode-html.js.map | 1 - .../node_modules/entities/dist/esm/index.d.ts | 96 - .../entities/dist/esm/index.d.ts.map | 1 - .../node_modules/entities/dist/esm/index.js | 107 - .../entities/dist/esm/index.js.map | 1 - .../dist/esm/internal/bin-trie-flags.d.ts | 17 - .../dist/esm/internal/bin-trie-flags.d.ts.map | 1 - .../dist/esm/internal/bin-trie-flags.js | 18 - .../dist/esm/internal/bin-trie-flags.js.map | 1 - .../dist/esm/internal/decode-shared.d.ts | 2 - .../dist/esm/internal/decode-shared.d.ts.map | 1 - .../dist/esm/internal/decode-shared.js | 28 - .../dist/esm/internal/decode-shared.js.map | 1 - .../dist/esm/internal/encode-shared.d.ts | 32 - .../dist/esm/internal/encode-shared.d.ts.map | 1 - .../dist/esm/internal/encode-shared.js | 91 - .../dist/esm/internal/encode-shared.js.map | 1 - .../entities/dist/esm/package.json | 3 - frontend/node_modules/entities/escape.d.ts | 3 - frontend/node_modules/entities/escape.js | 3 - frontend/node_modules/entities/package.json | 120 - frontend/node_modules/entities/readme.md | 143 - .../entities/src/decode-codepoint.ts | 81 - frontend/node_modules/entities/src/decode.ts | 685 - frontend/node_modules/entities/src/encode.ts | 93 - frontend/node_modules/entities/src/escape.ts | 161 - .../entities/src/generated/.eslintrc.json | 10 - .../src/generated/decode-data-html.ts | 6 - .../entities/src/generated/decode-data-xml.ts | 6 - .../entities/src/generated/encode-html.ts | 17 - frontend/node_modules/entities/src/index.ts | 187 - .../entities/src/internal/bin-trie-flags.ts | 16 - .../entities/src/internal/decode-shared.ts | 30 - .../entities/src/internal/encode-shared.ts | 121 - frontend/node_modules/esbuild/LICENSE.md | 21 - frontend/node_modules/esbuild/README.md | 3 - frontend/node_modules/esbuild/bin/esbuild | Bin 10611232 -> 0 bytes frontend/node_modules/esbuild/install.js | 289 - frontend/node_modules/esbuild/lib/main.d.ts | 716 - frontend/node_modules/esbuild/lib/main.js | 2242 - frontend/node_modules/esbuild/package.json | 49 - .../node_modules/estree-walker/CHANGELOG.md | 92 - frontend/node_modules/estree-walker/LICENSE | 7 - frontend/node_modules/estree-walker/README.md | 48 - .../estree-walker/dist/esm/estree-walker.js | 333 - .../estree-walker/dist/esm/package.json | 1 - .../estree-walker/dist/umd/estree-walker.js | 344 - .../node_modules/estree-walker/package.json | 37 - .../node_modules/estree-walker/src/async.js | 118 - .../node_modules/estree-walker/src/index.js | 35 - .../estree-walker/src/package.json | 1 - .../node_modules/estree-walker/src/sync.js | 118 - .../node_modules/estree-walker/src/walker.js | 61 - .../estree-walker/types/async.d.ts | 53 - .../estree-walker/types/index.d.ts | 56 - .../estree-walker/types/sync.d.ts | 53 - .../estree-walker/types/tsconfig.tsbuildinfo | 345 - .../estree-walker/types/walker.d.ts | 37 - frontend/node_modules/fdir/LICENSE | 7 - frontend/node_modules/fdir/README.md | 91 - frontend/node_modules/fdir/dist/index.cjs | 588 - frontend/node_modules/fdir/dist/index.d.cts | 155 - frontend/node_modules/fdir/dist/index.d.mts | 155 - frontend/node_modules/fdir/dist/index.mjs | 570 - frontend/node_modules/fdir/package.json | 103 - frontend/node_modules/fsevents/LICENSE | 22 - frontend/node_modules/fsevents/README.md | 89 - frontend/node_modules/fsevents/fsevents.d.ts | 46 - frontend/node_modules/fsevents/fsevents.js | 83 - frontend/node_modules/fsevents/fsevents.node | Bin 163626 -> 0 bytes frontend/node_modules/fsevents/package.json | 62 - frontend/node_modules/magic-string/LICENSE | 7 - frontend/node_modules/magic-string/README.md | 325 - .../magic-string/dist/magic-string.cjs.d.ts | 289 - .../magic-string/dist/magic-string.cjs.js | 1594 - .../magic-string/dist/magic-string.cjs.js.map | 1 - .../magic-string/dist/magic-string.es.d.mts | 289 - .../magic-string/dist/magic-string.es.mjs | 1588 - .../magic-string/dist/magic-string.es.mjs.map | 1 - .../magic-string/dist/magic-string.umd.js | 1682 - .../magic-string/dist/magic-string.umd.js.map | 1 - .../node_modules/magic-string/package.json | 67 - .../nanoid/.claude/settings.local.json | 14 - frontend/node_modules/nanoid/LICENSE | 20 - frontend/node_modules/nanoid/README.md | 39 - .../nanoid/async/index.browser.cjs | 69 - .../nanoid/async/index.browser.js | 34 - frontend/node_modules/nanoid/async/index.cjs | 71 - frontend/node_modules/nanoid/async/index.d.ts | 56 - frontend/node_modules/nanoid/async/index.js | 35 - .../node_modules/nanoid/async/index.native.js | 26 - .../node_modules/nanoid/async/package.json | 12 - frontend/node_modules/nanoid/bin/nanoid.cjs | 55 - .../node_modules/nanoid/index.browser.cjs | 72 - frontend/node_modules/nanoid/index.browser.js | 34 - frontend/node_modules/nanoid/index.cjs | 86 - frontend/node_modules/nanoid/index.d.cts | 91 - frontend/node_modules/nanoid/index.d.ts | 91 - frontend/node_modules/nanoid/index.js | 46 - frontend/node_modules/nanoid/nanoid.js | 1 - .../node_modules/nanoid/non-secure/index.cjs | 34 - .../node_modules/nanoid/non-secure/index.d.ts | 33 - .../node_modules/nanoid/non-secure/index.js | 21 - .../nanoid/non-secure/package.json | 6 - frontend/node_modules/nanoid/package.json | 89 - .../nanoid/url-alphabet/index.cjs | 7 - .../node_modules/nanoid/url-alphabet/index.js | 3 - .../nanoid/url-alphabet/package.json | 6 - frontend/node_modules/picocolors/LICENSE | 15 - frontend/node_modules/picocolors/README.md | 21 - frontend/node_modules/picocolors/package.json | 25 - .../picocolors/picocolors.browser.js | 4 - .../node_modules/picocolors/picocolors.d.ts | 5 - .../node_modules/picocolors/picocolors.js | 75 - frontend/node_modules/picocolors/types.d.ts | 51 - frontend/node_modules/picomatch/LICENSE | 21 - frontend/node_modules/picomatch/README.md | 749 - frontend/node_modules/picomatch/index.js | 17 - .../node_modules/picomatch/lib/constants.js | 184 - frontend/node_modules/picomatch/lib/parse.js | 1386 - .../node_modules/picomatch/lib/picomatch.js | 349 - frontend/node_modules/picomatch/lib/scan.js | 391 - frontend/node_modules/picomatch/lib/utils.js | 72 - frontend/node_modules/picomatch/package.json | 82 - frontend/node_modules/picomatch/posix.js | 3 - frontend/node_modules/postcss/LICENSE | 20 - frontend/node_modules/postcss/README.md | 28 - .../node_modules/postcss/lib/at-rule.d.ts | 139 - frontend/node_modules/postcss/lib/at-rule.js | 25 - .../node_modules/postcss/lib/comment.d.ts | 67 - frontend/node_modules/postcss/lib/comment.js | 13 - .../node_modules/postcss/lib/container.d.ts | 478 - .../node_modules/postcss/lib/container.js | 447 - .../postcss/lib/css-syntax-error.d.ts | 247 - .../postcss/lib/css-syntax-error.js | 133 - .../node_modules/postcss/lib/declaration.d.ts | 150 - .../node_modules/postcss/lib/declaration.js | 24 - .../node_modules/postcss/lib/document.d.ts | 68 - frontend/node_modules/postcss/lib/document.js | 33 - .../node_modules/postcss/lib/fromJSON.d.ts | 9 - frontend/node_modules/postcss/lib/fromJSON.js | 54 - frontend/node_modules/postcss/lib/input.d.ts | 226 - frontend/node_modules/postcss/lib/input.js | 273 - .../node_modules/postcss/lib/lazy-result.d.ts | 189 - .../node_modules/postcss/lib/lazy-result.js | 563 - frontend/node_modules/postcss/lib/list.d.ts | 60 - frontend/node_modules/postcss/lib/list.js | 58 - .../node_modules/postcss/lib/map-generator.js | 376 - .../postcss/lib/no-work-result.d.ts | 45 - .../postcss/lib/no-work-result.js | 137 - frontend/node_modules/postcss/lib/node.d.ts | 555 - frontend/node_modules/postcss/lib/node.js | 449 - frontend/node_modules/postcss/lib/parse.d.ts | 9 - frontend/node_modules/postcss/lib/parse.js | 42 - frontend/node_modules/postcss/lib/parser.js | 618 - .../node_modules/postcss/lib/postcss.d.mts | 66 - .../node_modules/postcss/lib/postcss.d.ts | 461 - frontend/node_modules/postcss/lib/postcss.js | 101 - frontend/node_modules/postcss/lib/postcss.mjs | 30 - .../postcss/lib/previous-map.d.ts | 80 - .../node_modules/postcss/lib/previous-map.js | 161 - .../node_modules/postcss/lib/processor.d.ts | 114 - .../node_modules/postcss/lib/processor.js | 67 - frontend/node_modules/postcss/lib/result.d.ts | 204 - frontend/node_modules/postcss/lib/result.js | 42 - frontend/node_modules/postcss/lib/root.d.ts | 86 - frontend/node_modules/postcss/lib/root.js | 61 - frontend/node_modules/postcss/lib/rule.d.ts | 126 - frontend/node_modules/postcss/lib/rule.js | 27 - .../node_modules/postcss/lib/stringifier.d.ts | 45 - .../node_modules/postcss/lib/stringifier.js | 374 - .../node_modules/postcss/lib/stringify.d.ts | 9 - .../node_modules/postcss/lib/stringify.js | 11 - frontend/node_modules/postcss/lib/symbols.js | 5 - .../postcss/lib/terminal-highlight.js | 70 - frontend/node_modules/postcss/lib/tokenize.js | 270 - .../node_modules/postcss/lib/warn-once.js | 13 - .../node_modules/postcss/lib/warning.d.ts | 146 - frontend/node_modules/postcss/lib/warning.js | 37 - frontend/node_modules/postcss/package.json | 88 - frontend/node_modules/rollup/LICENSE.md | 679 - frontend/node_modules/rollup/README.md | 134 - frontend/node_modules/rollup/dist/bin/rollup | 1912 - .../rollup/dist/es/getLogFilter.js | 64 - .../node_modules/rollup/dist/es/package.json | 1 - .../node_modules/rollup/dist/es/parseAst.js | 12 - .../node_modules/rollup/dist/es/rollup.js | 17 - .../rollup/dist/es/shared/node-entry.js | 24484 -------- .../rollup/dist/es/shared/parseAst.js | 2124 - .../rollup/dist/es/shared/watch.js | 9909 --- .../rollup/dist/getLogFilter.d.ts | 5 - .../node_modules/rollup/dist/getLogFilter.js | 69 - .../rollup/dist/loadConfigFile.d.ts | 20 - .../rollup/dist/loadConfigFile.js | 29 - frontend/node_modules/rollup/dist/native.js | 161 - .../node_modules/rollup/dist/parseAst.d.ts | 4 - frontend/node_modules/rollup/dist/parseAst.js | 22 - frontend/node_modules/rollup/dist/rollup.d.ts | 1225 - frontend/node_modules/rollup/dist/rollup.js | 127 - .../rollup/dist/shared/fsevents-importer.js | 37 - .../node_modules/rollup/dist/shared/index.js | 9615 --- .../rollup/dist/shared/loadConfigFile.js | 572 - .../rollup/dist/shared/parseAst.js | 2361 - .../node_modules/rollup/dist/shared/rollup.js | 24406 -------- .../rollup/dist/shared/watch-cli.js | 542 - .../node_modules/rollup/dist/shared/watch.js | 324 - frontend/node_modules/rollup/package.json | 296 - frontend/node_modules/source-map-js/LICENSE | 28 - frontend/node_modules/source-map-js/README.md | 765 - .../source-map-js/lib/array-set.js | 121 - .../source-map-js/lib/base64-vlq.js | 140 - .../node_modules/source-map-js/lib/base64.js | 67 - .../source-map-js/lib/binary-search.js | 111 - .../source-map-js/lib/mapping-list.js | 79 - .../source-map-js/lib/quick-sort.js | 132 - .../lib/source-map-consumer.d.ts | 1 - .../source-map-js/lib/source-map-consumer.js | 1188 - .../lib/source-map-generator.d.ts | 1 - .../source-map-js/lib/source-map-generator.js | 444 - .../source-map-js/lib/source-node.d.ts | 1 - .../source-map-js/lib/source-node.js | 413 - .../node_modules/source-map-js/lib/util.js | 594 - .../node_modules/source-map-js/package.json | 71 - .../source-map-js/source-map.d.ts | 104 - .../node_modules/source-map-js/source-map.js | 8 - frontend/node_modules/tinyglobby/LICENSE | 21 - frontend/node_modules/tinyglobby/README.md | 25 - .../node_modules/tinyglobby/dist/index.cjs | 334 - .../node_modules/tinyglobby/dist/index.d.cts | 148 - .../node_modules/tinyglobby/dist/index.d.mts | 148 - .../node_modules/tinyglobby/dist/index.mjs | 306 - frontend/node_modules/tinyglobby/package.json | 73 - frontend/node_modules/vite/LICENSE.md | 2406 - frontend/node_modules/vite/README.md | 20 - .../vite/bin/openChrome.applescript | 95 - frontend/node_modules/vite/bin/vite.js | 79 - frontend/node_modules/vite/client.d.ts | 279 - .../node_modules/vite/dist/client/client.mjs | 1134 - .../node_modules/vite/dist/client/env.mjs | 24 - .../vite/dist/node-cjs/publicUtils.cjs | 3987 -- .../vite/dist/node/chunks/dep-3RmXg9uo.js | 553 - .../vite/dist/node/chunks/dep-4-IQbZQm.js | 822 - .../vite/dist/node/chunks/dep-CvfTChi5.js | 8218 --- .../vite/dist/node/chunks/dep-Dq2t6Dq0.js | 49565 --------------- .../vite/dist/node/chunks/dep-lpEPC2f9.js | 7113 --- frontend/node_modules/vite/dist/node/cli.js | 949 - .../node_modules/vite/dist/node/constants.js | 149 - .../node_modules/vite/dist/node/index.d.ts | 4227 -- frontend/node_modules/vite/dist/node/index.js | 194 - .../vite/dist/node/module-runner.d.ts | 290 - .../vite/dist/node/module-runner.js | 1311 - .../moduleRunnerTransport.d-DJ_mE5sf.d.ts | 87 - frontend/node_modules/vite/index.cjs | 96 - frontend/node_modules/vite/index.d.cts | 6 - frontend/node_modules/vite/misc/false.js | 1 - frontend/node_modules/vite/misc/true.js | 1 - frontend/node_modules/vite/package.json | 204 - .../node_modules/vite/types/customEvent.d.ts | 45 - .../node_modules/vite/types/hmrPayload.d.ts | 74 - frontend/node_modules/vite/types/hot.d.ts | 39 - .../node_modules/vite/types/import-meta.d.ts | 5 - .../node_modules/vite/types/importGlob.d.ts | 75 - .../node_modules/vite/types/importMeta.d.ts | 31 - .../internal/cssPreprocessorOptions.d.ts | 63 - .../types/internal/lightningcssOptions.d.ts | 18 - .../node_modules/vite/types/metadata.d.ts | 35 - frontend/node_modules/vite/types/package.json | 4 - frontend/node_modules/vue-router/LICENSE | 21 - .../vue-router/dist/devtools-EWN81iOl.mjs | 1220 - .../vue-router/dist/experimental/index.d.mts | 38 - .../vue-router/dist/experimental/index.mjs | 753 - .../vue-router/dist/router-CWoNjPRp.d.mts | 1973 - .../vue-router/dist/vue-router.cjs | 2774 - .../vue-router/dist/vue-router.d.mts | 361 - .../vue-router/dist/vue-router.esm-browser.js | 2745 - .../dist/vue-router.esm-browser.prod.js | 6 - .../vue-router/dist/vue-router.esm-bundler.js | 2 - .../vue-router/dist/vue-router.global.js | 3023 - .../vue-router/dist/vue-router.global.prod.js | 6 - .../vue-router/dist/vue-router.mjs | 1557 - .../vue-router/dist/vue-router.prod.cjs | 23 - frontend/node_modules/vue-router/index.js | 7 - frontend/node_modules/vue-router/package.json | 153 - .../vue-router/vetur/attributes.json | 32 - .../node_modules/vue-router/vetur/tags.json | 10 - .../vue-router/vue-router-auto-resolver.d.mts | 22 - .../vue-router/vue-router-auto-routes.d.ts | 4 - .../vue-router/vue-router-auto.d.ts | 1 - .../vue-router/vue-router.node.mjs | 2 - frontend/node_modules/vue/LICENSE | 21 - frontend/node_modules/vue/README.md | 58 - .../vue/compiler-sfc/index.browser.js | 1 - .../vue/compiler-sfc/index.browser.mjs | 1 - .../node_modules/vue/compiler-sfc/index.d.mts | 1 - .../node_modules/vue/compiler-sfc/index.d.ts | 1 - .../node_modules/vue/compiler-sfc/index.js | 3 - .../node_modules/vue/compiler-sfc/index.mjs | 3 - .../vue/compiler-sfc/package.json | 4 - .../vue/compiler-sfc/register-ts.js | 3 - frontend/node_modules/vue/dist/vue.cjs.js | 80 - .../node_modules/vue/dist/vue.cjs.prod.js | 66 - frontend/node_modules/vue/dist/vue.d.mts | 7 - frontend/node_modules/vue/dist/vue.d.ts | 7 - .../node_modules/vue/dist/vue.esm-browser.js | 18756 ------ .../vue/dist/vue.esm-browser.prod.js | 13 - .../node_modules/vue/dist/vue.esm-bundler.js | 71 - frontend/node_modules/vue/dist/vue.global.js | 18636 ------ .../node_modules/vue/dist/vue.global.prod.js | 13 - .../vue/dist/vue.runtime.esm-browser.js | 12865 ---- .../vue/dist/vue.runtime.esm-browser.prod.js | 7 - .../vue/dist/vue.runtime.esm-bundler.js | 26 - .../vue/dist/vue.runtime.global.js | 12919 ---- .../vue/dist/vue.runtime.global.prod.js | 7 - frontend/node_modules/vue/index.js | 7 - frontend/node_modules/vue/index.mjs | 1 - .../node_modules/vue/jsx-runtime/index.d.ts | 25 - .../node_modules/vue/jsx-runtime/index.js | 15 - .../node_modules/vue/jsx-runtime/index.mjs | 12 - .../node_modules/vue/jsx-runtime/package.json | 5 - frontend/node_modules/vue/jsx.d.ts | 22 - frontend/node_modules/vue/package.json | 112 - .../vue/server-renderer/index.d.mts | 1 - .../vue/server-renderer/index.d.ts | 1 - .../node_modules/vue/server-renderer/index.js | 1 - .../vue/server-renderer/index.mjs | 1 - .../vue/server-renderer/package.json | 4 - 787 files changed, 572168 deletions(-) delete mode 120000 frontend/node_modules/.bin/esbuild delete mode 120000 frontend/node_modules/.bin/nanoid delete mode 120000 frontend/node_modules/.bin/parser delete mode 120000 frontend/node_modules/.bin/rollup delete mode 120000 frontend/node_modules/.bin/vite delete mode 100644 frontend/node_modules/.package-lock.json delete mode 100644 frontend/node_modules/.vite/deps/_metadata.json delete mode 100644 frontend/node_modules/.vite/deps/chunk-PRB2KXUH.js delete mode 100644 frontend/node_modules/.vite/deps/chunk-PRB2KXUH.js.map delete mode 100644 frontend/node_modules/.vite/deps/package.json delete mode 100644 frontend/node_modules/.vite/deps/vue-router.js delete mode 100644 frontend/node_modules/.vite/deps/vue-router.js.map delete mode 100644 frontend/node_modules/.vite/deps/vue.js delete mode 100644 frontend/node_modules/.vite/deps/vue.js.map delete mode 100644 frontend/node_modules/@babel/helper-string-parser/LICENSE delete mode 100644 frontend/node_modules/@babel/helper-string-parser/README.md delete mode 100644 frontend/node_modules/@babel/helper-string-parser/lib/index.js delete mode 100644 frontend/node_modules/@babel/helper-string-parser/lib/index.js.map delete mode 100644 frontend/node_modules/@babel/helper-string-parser/package.json delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/LICENSE delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/README.md delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/identifier.js delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/index.js delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/index.js.map delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/keyword.js delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map delete mode 100644 frontend/node_modules/@babel/helper-validator-identifier/package.json delete mode 100644 frontend/node_modules/@babel/parser/CHANGELOG.md delete mode 100644 frontend/node_modules/@babel/parser/LICENSE delete mode 100644 frontend/node_modules/@babel/parser/README.md delete mode 100755 frontend/node_modules/@babel/parser/bin/babel-parser.js delete mode 100644 frontend/node_modules/@babel/parser/lib/index.js delete mode 100644 frontend/node_modules/@babel/parser/lib/index.js.map delete mode 100644 frontend/node_modules/@babel/parser/package.json delete mode 100644 frontend/node_modules/@babel/parser/typings/babel-parser.d.ts delete mode 100644 frontend/node_modules/@babel/types/LICENSE delete mode 100644 frontend/node_modules/@babel/types/README.md delete mode 100644 frontend/node_modules/@babel/types/lib/asserts/assertNode.js delete mode 100644 frontend/node_modules/@babel/types/lib/asserts/assertNode.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/asserts/generated/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/asserts/generated/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/ast-types/generated/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/ast-types/generated/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/lowercase.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/lowercase.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/uppercase.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/generated/uppercase.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/productions.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/productions.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/react/buildChildren.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/react/buildChildren.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/builders/validateNode.js delete mode 100644 frontend/node_modules/@babel/types/lib/builders/validateNode.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/clone/clone.js delete mode 100644 frontend/node_modules/@babel/types/lib/clone/clone.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneDeep.js delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneDeep.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneNode.js delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneNode.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js delete mode 100644 frontend/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/addComment.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/addComment.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/addComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/addComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritInnerComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritLeadingComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritTrailingComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritsComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/inheritsComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/comments/removeComments.js delete mode 100644 frontend/node_modules/@babel/types/lib/comments/removeComments.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/constants/generated/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/constants/generated/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/constants/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/constants/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/ensureBlock.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/ensureBlock.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toBlock.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toBlock.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toComputedKey.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toComputedKey.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toExpression.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toExpression.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toIdentifier.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toIdentifier.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toKeyAlias.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toKeyAlias.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toSequenceExpression.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toStatement.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/toStatement.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/converters/valueToNode.js delete mode 100644 frontend/node_modules/@babel/types/lib/converters/valueToNode.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/core.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/core.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/deprecated-aliases.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/experimental.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/experimental.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/flow.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/flow.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/jsx.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/jsx.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/misc.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/misc.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/placeholders.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/placeholders.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/typescript.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/typescript.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/utils.js delete mode 100644 frontend/node_modules/@babel/types/lib/definitions/utils.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/index-legacy.d.ts delete mode 100644 frontend/node_modules/@babel/types/lib/index.d.ts delete mode 100644 frontend/node_modules/@babel/types/lib/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/index.js.flow delete mode 100644 frontend/node_modules/@babel/types/lib/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/inherits.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/inherits.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/removeProperties.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/removeProperties.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js delete mode 100644 frontend/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getFunctionName.js delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js delete mode 100644 frontend/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/traverse/traverse.js delete mode 100644 frontend/node_modules/@babel/types/lib/traverse/traverse.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/traverse/traverseFast.js delete mode 100644 frontend/node_modules/@babel/types/lib/traverse/traverseFast.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/utils/deprecationWarning.js delete mode 100644 frontend/node_modules/@babel/types/lib/utils/deprecationWarning.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/utils/inherit.js delete mode 100644 frontend/node_modules/@babel/types/lib/utils/inherit.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js delete mode 100644 frontend/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/utils/shallowEqual.js delete mode 100644 frontend/node_modules/@babel/types/lib/utils/shallowEqual.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/generated/index.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/generated/index.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/is.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/is.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isBinding.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isBinding.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isBlockScoped.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isBlockScoped.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isImmutable.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isImmutable.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isLet.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isLet.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isNode.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isNode.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isNodesEquivalent.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isPlaceholderType.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isReferenced.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isReferenced.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isScope.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isScope.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isSpecifierDefault.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isType.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isType.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isValidES3Identifier.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isValidIdentifier.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isVar.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/isVar.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/matchesPattern.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/matchesPattern.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/react/isCompatTag.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/react/isReactComponent.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map delete mode 100644 frontend/node_modules/@babel/types/lib/validators/validate.js delete mode 100644 frontend/node_modules/@babel/types/lib/validators/validate.js.map delete mode 100644 frontend/node_modules/@babel/types/package.json delete mode 100644 frontend/node_modules/@esbuild/darwin-x64/README.md delete mode 100755 frontend/node_modules/@esbuild/darwin-x64/bin/esbuild delete mode 100644 frontend/node_modules/@esbuild/darwin-x64/package.json delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/LICENSE delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/README.md delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/package.json delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/src/scopes.ts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/src/sourcemap-codec.ts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/src/strings.ts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/src/vlq.ts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.cts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/scopes.d.mts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.cts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/sourcemap-codec.d.mts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/strings.d.cts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/strings.d.mts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.cts.map delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts delete mode 100644 frontend/node_modules/@jridgewell/sourcemap-codec/types/vlq.d.mts.map delete mode 100644 frontend/node_modules/@rollup/rollup-darwin-x64/README.md delete mode 100644 frontend/node_modules/@rollup/rollup-darwin-x64/package.json delete mode 100644 frontend/node_modules/@rollup/rollup-darwin-x64/rollup.darwin-x64.node delete mode 100644 frontend/node_modules/@types/estree/LICENSE delete mode 100644 frontend/node_modules/@types/estree/README.md delete mode 100644 frontend/node_modules/@types/estree/flow.d.ts delete mode 100644 frontend/node_modules/@types/estree/index.d.ts delete mode 100644 frontend/node_modules/@types/estree/package.json delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/LICENSE delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/README.md delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/dist/index.cjs delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/dist/index.d.cts delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/dist/index.d.mts delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/dist/index.d.ts delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/dist/index.mjs delete mode 100644 frontend/node_modules/@vitejs/plugin-vue/package.json delete mode 100644 frontend/node_modules/@vue/compiler-core/LICENSE delete mode 100644 frontend/node_modules/@vue/compiler-core/README.md delete mode 100644 frontend/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js delete mode 100644 frontend/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/compiler-core/dist/compiler-core.d.ts delete mode 100644 frontend/node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/compiler-core/index.js delete mode 100644 frontend/node_modules/@vue/compiler-core/package.json delete mode 100644 frontend/node_modules/@vue/compiler-dom/LICENSE delete mode 100644 frontend/node_modules/@vue/compiler-dom/README.md delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-browser.prod.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.global.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/dist/compiler-dom.global.prod.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/index.js delete mode 100644 frontend/node_modules/@vue/compiler-dom/package.json delete mode 100644 frontend/node_modules/@vue/compiler-sfc/LICENSE delete mode 100644 frontend/node_modules/@vue/compiler-sfc/README.md delete mode 100644 frontend/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js delete mode 100644 frontend/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts delete mode 100644 frontend/node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js delete mode 100644 frontend/node_modules/@vue/compiler-sfc/package.json delete mode 100644 frontend/node_modules/@vue/compiler-ssr/LICENSE delete mode 100644 frontend/node_modules/@vue/compiler-ssr/README.md delete mode 100644 frontend/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js delete mode 100644 frontend/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts delete mode 100644 frontend/node_modules/@vue/compiler-ssr/package.json delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/api.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/app.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/component.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/context.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/index.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/api/util.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/const.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/env.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/index.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/plugin.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/proxy.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/cjs/time.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/api.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/app.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/component.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/context.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/hooks.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/index.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/api/util.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/const.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/const.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/env.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/env.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/index.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/index.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/plugin.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/proxy.js delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/time.d.ts delete mode 100644 frontend/node_modules/@vue/devtools-api/lib/esm/time.js delete mode 100644 frontend/node_modules/@vue/devtools-api/package.json delete mode 100644 frontend/node_modules/@vue/reactivity/LICENSE delete mode 100644 frontend/node_modules/@vue/reactivity/README.md delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.d.ts delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.esm-browser.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.esm-browser.prod.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.global.js delete mode 100644 frontend/node_modules/@vue/reactivity/dist/reactivity.global.prod.js delete mode 100644 frontend/node_modules/@vue/reactivity/index.js delete mode 100644 frontend/node_modules/@vue/reactivity/package.json delete mode 100644 frontend/node_modules/@vue/runtime-core/LICENSE delete mode 100644 frontend/node_modules/@vue/runtime-core/README.md delete mode 100644 frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js delete mode 100644 frontend/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/runtime-core/dist/runtime-core.d.ts delete mode 100644 frontend/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/runtime-core/index.js delete mode 100644 frontend/node_modules/@vue/runtime-core/package.json delete mode 100644 frontend/node_modules/@vue/runtime-dom/LICENSE delete mode 100644 frontend/node_modules/@vue/runtime-dom/README.md delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-browser.prod.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.global.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/dist/runtime-dom.global.prod.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/index.js delete mode 100644 frontend/node_modules/@vue/runtime-dom/package.json delete mode 100644 frontend/node_modules/@vue/server-renderer/LICENSE delete mode 100644 frontend/node_modules/@vue/server-renderer/README.md delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.cjs.js delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.d.ts delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.js delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.esm-browser.prod.js delete mode 100644 frontend/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/server-renderer/index.js delete mode 100644 frontend/node_modules/@vue/server-renderer/package.json delete mode 100644 frontend/node_modules/@vue/shared/LICENSE delete mode 100644 frontend/node_modules/@vue/shared/README.md delete mode 100644 frontend/node_modules/@vue/shared/dist/shared.cjs.js delete mode 100644 frontend/node_modules/@vue/shared/dist/shared.cjs.prod.js delete mode 100644 frontend/node_modules/@vue/shared/dist/shared.d.ts delete mode 100644 frontend/node_modules/@vue/shared/dist/shared.esm-bundler.js delete mode 100644 frontend/node_modules/@vue/shared/index.js delete mode 100644 frontend/node_modules/@vue/shared/package.json delete mode 100644 frontend/node_modules/csstype/LICENSE delete mode 100644 frontend/node_modules/csstype/README.md delete mode 100644 frontend/node_modules/csstype/index.d.ts delete mode 100644 frontend/node_modules/csstype/index.js.flow delete mode 100644 frontend/node_modules/csstype/package.json delete mode 100644 frontend/node_modules/entities/LICENSE delete mode 100644 frontend/node_modules/entities/decode.d.ts delete mode 100644 frontend/node_modules/entities/decode.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode-codepoint.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode-codepoint.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode-codepoint.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/decode.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/encode.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/encode.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/encode.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/encode.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/escape.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/escape.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/escape.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/escape.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-html.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-xml.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/encode-html.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/encode-html.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/generated/encode-html.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/index.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/index.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/index.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/index.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/decode-shared.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/decode-shared.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/encode-shared.js delete mode 100644 frontend/node_modules/entities/dist/commonjs/internal/encode-shared.js.map delete mode 100644 frontend/node_modules/entities/dist/commonjs/package.json delete mode 100644 frontend/node_modules/entities/dist/esm/decode-codepoint.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/decode-codepoint.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/decode-codepoint.js delete mode 100644 frontend/node_modules/entities/dist/esm/decode-codepoint.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/decode.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/decode.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/decode.js delete mode 100644 frontend/node_modules/entities/dist/esm/decode.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/encode.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/encode.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/encode.js delete mode 100644 frontend/node_modules/entities/dist/esm/encode.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/escape.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/escape.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/escape.js delete mode 100644 frontend/node_modules/entities/dist/esm/escape.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-html.js delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-html.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js delete mode 100644 frontend/node_modules/entities/dist/esm/generated/decode-data-xml.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/generated/encode-html.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/generated/encode-html.js delete mode 100644 frontend/node_modules/entities/dist/esm/generated/encode-html.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/index.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/index.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/index.js delete mode 100644 frontend/node_modules/entities/dist/esm/index.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/bin-trie-flags.js delete mode 100644 frontend/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/decode-shared.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/decode-shared.js delete mode 100644 frontend/node_modules/entities/dist/esm/internal/decode-shared.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/encode-shared.d.ts delete mode 100644 frontend/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map delete mode 100644 frontend/node_modules/entities/dist/esm/internal/encode-shared.js delete mode 100644 frontend/node_modules/entities/dist/esm/internal/encode-shared.js.map delete mode 100644 frontend/node_modules/entities/dist/esm/package.json delete mode 100644 frontend/node_modules/entities/escape.d.ts delete mode 100644 frontend/node_modules/entities/escape.js delete mode 100644 frontend/node_modules/entities/package.json delete mode 100644 frontend/node_modules/entities/readme.md delete mode 100644 frontend/node_modules/entities/src/decode-codepoint.ts delete mode 100644 frontend/node_modules/entities/src/decode.ts delete mode 100644 frontend/node_modules/entities/src/encode.ts delete mode 100644 frontend/node_modules/entities/src/escape.ts delete mode 100644 frontend/node_modules/entities/src/generated/.eslintrc.json delete mode 100644 frontend/node_modules/entities/src/generated/decode-data-html.ts delete mode 100644 frontend/node_modules/entities/src/generated/decode-data-xml.ts delete mode 100644 frontend/node_modules/entities/src/generated/encode-html.ts delete mode 100644 frontend/node_modules/entities/src/index.ts delete mode 100644 frontend/node_modules/entities/src/internal/bin-trie-flags.ts delete mode 100644 frontend/node_modules/entities/src/internal/decode-shared.ts delete mode 100644 frontend/node_modules/entities/src/internal/encode-shared.ts delete mode 100644 frontend/node_modules/esbuild/LICENSE.md delete mode 100644 frontend/node_modules/esbuild/README.md delete mode 100755 frontend/node_modules/esbuild/bin/esbuild delete mode 100644 frontend/node_modules/esbuild/install.js delete mode 100644 frontend/node_modules/esbuild/lib/main.d.ts delete mode 100644 frontend/node_modules/esbuild/lib/main.js delete mode 100644 frontend/node_modules/esbuild/package.json delete mode 100644 frontend/node_modules/estree-walker/CHANGELOG.md delete mode 100644 frontend/node_modules/estree-walker/LICENSE delete mode 100644 frontend/node_modules/estree-walker/README.md delete mode 100644 frontend/node_modules/estree-walker/dist/esm/estree-walker.js delete mode 100644 frontend/node_modules/estree-walker/dist/esm/package.json delete mode 100644 frontend/node_modules/estree-walker/dist/umd/estree-walker.js delete mode 100644 frontend/node_modules/estree-walker/package.json delete mode 100644 frontend/node_modules/estree-walker/src/async.js delete mode 100644 frontend/node_modules/estree-walker/src/index.js delete mode 100644 frontend/node_modules/estree-walker/src/package.json delete mode 100644 frontend/node_modules/estree-walker/src/sync.js delete mode 100644 frontend/node_modules/estree-walker/src/walker.js delete mode 100644 frontend/node_modules/estree-walker/types/async.d.ts delete mode 100644 frontend/node_modules/estree-walker/types/index.d.ts delete mode 100644 frontend/node_modules/estree-walker/types/sync.d.ts delete mode 100644 frontend/node_modules/estree-walker/types/tsconfig.tsbuildinfo delete mode 100644 frontend/node_modules/estree-walker/types/walker.d.ts delete mode 100644 frontend/node_modules/fdir/LICENSE delete mode 100644 frontend/node_modules/fdir/README.md delete mode 100644 frontend/node_modules/fdir/dist/index.cjs delete mode 100644 frontend/node_modules/fdir/dist/index.d.cts delete mode 100644 frontend/node_modules/fdir/dist/index.d.mts delete mode 100644 frontend/node_modules/fdir/dist/index.mjs delete mode 100644 frontend/node_modules/fdir/package.json delete mode 100644 frontend/node_modules/fsevents/LICENSE delete mode 100644 frontend/node_modules/fsevents/README.md delete mode 100644 frontend/node_modules/fsevents/fsevents.d.ts delete mode 100644 frontend/node_modules/fsevents/fsevents.js delete mode 100755 frontend/node_modules/fsevents/fsevents.node delete mode 100644 frontend/node_modules/fsevents/package.json delete mode 100644 frontend/node_modules/magic-string/LICENSE delete mode 100644 frontend/node_modules/magic-string/README.md delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.cjs.d.ts delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.cjs.js delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.cjs.js.map delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.es.d.mts delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.es.mjs delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.es.mjs.map delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.umd.js delete mode 100644 frontend/node_modules/magic-string/dist/magic-string.umd.js.map delete mode 100644 frontend/node_modules/magic-string/package.json delete mode 100644 frontend/node_modules/nanoid/.claude/settings.local.json delete mode 100644 frontend/node_modules/nanoid/LICENSE delete mode 100644 frontend/node_modules/nanoid/README.md delete mode 100644 frontend/node_modules/nanoid/async/index.browser.cjs delete mode 100644 frontend/node_modules/nanoid/async/index.browser.js delete mode 100644 frontend/node_modules/nanoid/async/index.cjs delete mode 100644 frontend/node_modules/nanoid/async/index.d.ts delete mode 100644 frontend/node_modules/nanoid/async/index.js delete mode 100644 frontend/node_modules/nanoid/async/index.native.js delete mode 100644 frontend/node_modules/nanoid/async/package.json delete mode 100755 frontend/node_modules/nanoid/bin/nanoid.cjs delete mode 100644 frontend/node_modules/nanoid/index.browser.cjs delete mode 100644 frontend/node_modules/nanoid/index.browser.js delete mode 100644 frontend/node_modules/nanoid/index.cjs delete mode 100644 frontend/node_modules/nanoid/index.d.cts delete mode 100644 frontend/node_modules/nanoid/index.d.ts delete mode 100644 frontend/node_modules/nanoid/index.js delete mode 100644 frontend/node_modules/nanoid/nanoid.js delete mode 100644 frontend/node_modules/nanoid/non-secure/index.cjs delete mode 100644 frontend/node_modules/nanoid/non-secure/index.d.ts delete mode 100644 frontend/node_modules/nanoid/non-secure/index.js delete mode 100644 frontend/node_modules/nanoid/non-secure/package.json delete mode 100644 frontend/node_modules/nanoid/package.json delete mode 100644 frontend/node_modules/nanoid/url-alphabet/index.cjs delete mode 100644 frontend/node_modules/nanoid/url-alphabet/index.js delete mode 100644 frontend/node_modules/nanoid/url-alphabet/package.json delete mode 100644 frontend/node_modules/picocolors/LICENSE delete mode 100644 frontend/node_modules/picocolors/README.md delete mode 100644 frontend/node_modules/picocolors/package.json delete mode 100644 frontend/node_modules/picocolors/picocolors.browser.js delete mode 100644 frontend/node_modules/picocolors/picocolors.d.ts delete mode 100644 frontend/node_modules/picocolors/picocolors.js delete mode 100644 frontend/node_modules/picocolors/types.d.ts delete mode 100644 frontend/node_modules/picomatch/LICENSE delete mode 100644 frontend/node_modules/picomatch/README.md delete mode 100644 frontend/node_modules/picomatch/index.js delete mode 100644 frontend/node_modules/picomatch/lib/constants.js delete mode 100644 frontend/node_modules/picomatch/lib/parse.js delete mode 100644 frontend/node_modules/picomatch/lib/picomatch.js delete mode 100644 frontend/node_modules/picomatch/lib/scan.js delete mode 100644 frontend/node_modules/picomatch/lib/utils.js delete mode 100644 frontend/node_modules/picomatch/package.json delete mode 100644 frontend/node_modules/picomatch/posix.js delete mode 100644 frontend/node_modules/postcss/LICENSE delete mode 100644 frontend/node_modules/postcss/README.md delete mode 100644 frontend/node_modules/postcss/lib/at-rule.d.ts delete mode 100644 frontend/node_modules/postcss/lib/at-rule.js delete mode 100644 frontend/node_modules/postcss/lib/comment.d.ts delete mode 100644 frontend/node_modules/postcss/lib/comment.js delete mode 100644 frontend/node_modules/postcss/lib/container.d.ts delete mode 100644 frontend/node_modules/postcss/lib/container.js delete mode 100644 frontend/node_modules/postcss/lib/css-syntax-error.d.ts delete mode 100644 frontend/node_modules/postcss/lib/css-syntax-error.js delete mode 100644 frontend/node_modules/postcss/lib/declaration.d.ts delete mode 100644 frontend/node_modules/postcss/lib/declaration.js delete mode 100644 frontend/node_modules/postcss/lib/document.d.ts delete mode 100644 frontend/node_modules/postcss/lib/document.js delete mode 100644 frontend/node_modules/postcss/lib/fromJSON.d.ts delete mode 100644 frontend/node_modules/postcss/lib/fromJSON.js delete mode 100644 frontend/node_modules/postcss/lib/input.d.ts delete mode 100644 frontend/node_modules/postcss/lib/input.js delete mode 100644 frontend/node_modules/postcss/lib/lazy-result.d.ts delete mode 100644 frontend/node_modules/postcss/lib/lazy-result.js delete mode 100644 frontend/node_modules/postcss/lib/list.d.ts delete mode 100644 frontend/node_modules/postcss/lib/list.js delete mode 100644 frontend/node_modules/postcss/lib/map-generator.js delete mode 100644 frontend/node_modules/postcss/lib/no-work-result.d.ts delete mode 100644 frontend/node_modules/postcss/lib/no-work-result.js delete mode 100644 frontend/node_modules/postcss/lib/node.d.ts delete mode 100644 frontend/node_modules/postcss/lib/node.js delete mode 100644 frontend/node_modules/postcss/lib/parse.d.ts delete mode 100644 frontend/node_modules/postcss/lib/parse.js delete mode 100644 frontend/node_modules/postcss/lib/parser.js delete mode 100644 frontend/node_modules/postcss/lib/postcss.d.mts delete mode 100644 frontend/node_modules/postcss/lib/postcss.d.ts delete mode 100644 frontend/node_modules/postcss/lib/postcss.js delete mode 100644 frontend/node_modules/postcss/lib/postcss.mjs delete mode 100644 frontend/node_modules/postcss/lib/previous-map.d.ts delete mode 100644 frontend/node_modules/postcss/lib/previous-map.js delete mode 100644 frontend/node_modules/postcss/lib/processor.d.ts delete mode 100644 frontend/node_modules/postcss/lib/processor.js delete mode 100644 frontend/node_modules/postcss/lib/result.d.ts delete mode 100644 frontend/node_modules/postcss/lib/result.js delete mode 100644 frontend/node_modules/postcss/lib/root.d.ts delete mode 100644 frontend/node_modules/postcss/lib/root.js delete mode 100644 frontend/node_modules/postcss/lib/rule.d.ts delete mode 100644 frontend/node_modules/postcss/lib/rule.js delete mode 100644 frontend/node_modules/postcss/lib/stringifier.d.ts delete mode 100644 frontend/node_modules/postcss/lib/stringifier.js delete mode 100644 frontend/node_modules/postcss/lib/stringify.d.ts delete mode 100644 frontend/node_modules/postcss/lib/stringify.js delete mode 100644 frontend/node_modules/postcss/lib/symbols.js delete mode 100644 frontend/node_modules/postcss/lib/terminal-highlight.js delete mode 100644 frontend/node_modules/postcss/lib/tokenize.js delete mode 100644 frontend/node_modules/postcss/lib/warn-once.js delete mode 100644 frontend/node_modules/postcss/lib/warning.d.ts delete mode 100644 frontend/node_modules/postcss/lib/warning.js delete mode 100644 frontend/node_modules/postcss/package.json delete mode 100644 frontend/node_modules/rollup/LICENSE.md delete mode 100644 frontend/node_modules/rollup/README.md delete mode 100755 frontend/node_modules/rollup/dist/bin/rollup delete mode 100644 frontend/node_modules/rollup/dist/es/getLogFilter.js delete mode 100644 frontend/node_modules/rollup/dist/es/package.json delete mode 100644 frontend/node_modules/rollup/dist/es/parseAst.js delete mode 100644 frontend/node_modules/rollup/dist/es/rollup.js delete mode 100644 frontend/node_modules/rollup/dist/es/shared/node-entry.js delete mode 100644 frontend/node_modules/rollup/dist/es/shared/parseAst.js delete mode 100644 frontend/node_modules/rollup/dist/es/shared/watch.js delete mode 100644 frontend/node_modules/rollup/dist/getLogFilter.d.ts delete mode 100644 frontend/node_modules/rollup/dist/getLogFilter.js delete mode 100644 frontend/node_modules/rollup/dist/loadConfigFile.d.ts delete mode 100644 frontend/node_modules/rollup/dist/loadConfigFile.js delete mode 100644 frontend/node_modules/rollup/dist/native.js delete mode 100644 frontend/node_modules/rollup/dist/parseAst.d.ts delete mode 100644 frontend/node_modules/rollup/dist/parseAst.js delete mode 100644 frontend/node_modules/rollup/dist/rollup.d.ts delete mode 100644 frontend/node_modules/rollup/dist/rollup.js delete mode 100644 frontend/node_modules/rollup/dist/shared/fsevents-importer.js delete mode 100644 frontend/node_modules/rollup/dist/shared/index.js delete mode 100644 frontend/node_modules/rollup/dist/shared/loadConfigFile.js delete mode 100644 frontend/node_modules/rollup/dist/shared/parseAst.js delete mode 100644 frontend/node_modules/rollup/dist/shared/rollup.js delete mode 100644 frontend/node_modules/rollup/dist/shared/watch-cli.js delete mode 100644 frontend/node_modules/rollup/dist/shared/watch.js delete mode 100644 frontend/node_modules/rollup/package.json delete mode 100644 frontend/node_modules/source-map-js/LICENSE delete mode 100644 frontend/node_modules/source-map-js/README.md delete mode 100644 frontend/node_modules/source-map-js/lib/array-set.js delete mode 100644 frontend/node_modules/source-map-js/lib/base64-vlq.js delete mode 100644 frontend/node_modules/source-map-js/lib/base64.js delete mode 100644 frontend/node_modules/source-map-js/lib/binary-search.js delete mode 100644 frontend/node_modules/source-map-js/lib/mapping-list.js delete mode 100644 frontend/node_modules/source-map-js/lib/quick-sort.js delete mode 100644 frontend/node_modules/source-map-js/lib/source-map-consumer.d.ts delete mode 100644 frontend/node_modules/source-map-js/lib/source-map-consumer.js delete mode 100644 frontend/node_modules/source-map-js/lib/source-map-generator.d.ts delete mode 100644 frontend/node_modules/source-map-js/lib/source-map-generator.js delete mode 100644 frontend/node_modules/source-map-js/lib/source-node.d.ts delete mode 100644 frontend/node_modules/source-map-js/lib/source-node.js delete mode 100644 frontend/node_modules/source-map-js/lib/util.js delete mode 100644 frontend/node_modules/source-map-js/package.json delete mode 100644 frontend/node_modules/source-map-js/source-map.d.ts delete mode 100644 frontend/node_modules/source-map-js/source-map.js delete mode 100644 frontend/node_modules/tinyglobby/LICENSE delete mode 100644 frontend/node_modules/tinyglobby/README.md delete mode 100644 frontend/node_modules/tinyglobby/dist/index.cjs delete mode 100644 frontend/node_modules/tinyglobby/dist/index.d.cts delete mode 100644 frontend/node_modules/tinyglobby/dist/index.d.mts delete mode 100644 frontend/node_modules/tinyglobby/dist/index.mjs delete mode 100644 frontend/node_modules/tinyglobby/package.json delete mode 100644 frontend/node_modules/vite/LICENSE.md delete mode 100644 frontend/node_modules/vite/README.md delete mode 100644 frontend/node_modules/vite/bin/openChrome.applescript delete mode 100755 frontend/node_modules/vite/bin/vite.js delete mode 100644 frontend/node_modules/vite/client.d.ts delete mode 100644 frontend/node_modules/vite/dist/client/client.mjs delete mode 100644 frontend/node_modules/vite/dist/client/env.mjs delete mode 100644 frontend/node_modules/vite/dist/node-cjs/publicUtils.cjs delete mode 100644 frontend/node_modules/vite/dist/node/chunks/dep-3RmXg9uo.js delete mode 100644 frontend/node_modules/vite/dist/node/chunks/dep-4-IQbZQm.js delete mode 100644 frontend/node_modules/vite/dist/node/chunks/dep-CvfTChi5.js delete mode 100644 frontend/node_modules/vite/dist/node/chunks/dep-Dq2t6Dq0.js delete mode 100644 frontend/node_modules/vite/dist/node/chunks/dep-lpEPC2f9.js delete mode 100644 frontend/node_modules/vite/dist/node/cli.js delete mode 100644 frontend/node_modules/vite/dist/node/constants.js delete mode 100644 frontend/node_modules/vite/dist/node/index.d.ts delete mode 100644 frontend/node_modules/vite/dist/node/index.js delete mode 100644 frontend/node_modules/vite/dist/node/module-runner.d.ts delete mode 100644 frontend/node_modules/vite/dist/node/module-runner.js delete mode 100644 frontend/node_modules/vite/dist/node/moduleRunnerTransport.d-DJ_mE5sf.d.ts delete mode 100644 frontend/node_modules/vite/index.cjs delete mode 100644 frontend/node_modules/vite/index.d.cts delete mode 100644 frontend/node_modules/vite/misc/false.js delete mode 100644 frontend/node_modules/vite/misc/true.js delete mode 100644 frontend/node_modules/vite/package.json delete mode 100644 frontend/node_modules/vite/types/customEvent.d.ts delete mode 100644 frontend/node_modules/vite/types/hmrPayload.d.ts delete mode 100644 frontend/node_modules/vite/types/hot.d.ts delete mode 100644 frontend/node_modules/vite/types/import-meta.d.ts delete mode 100644 frontend/node_modules/vite/types/importGlob.d.ts delete mode 100644 frontend/node_modules/vite/types/importMeta.d.ts delete mode 100644 frontend/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts delete mode 100644 frontend/node_modules/vite/types/internal/lightningcssOptions.d.ts delete mode 100644 frontend/node_modules/vite/types/metadata.d.ts delete mode 100644 frontend/node_modules/vite/types/package.json delete mode 100644 frontend/node_modules/vue-router/LICENSE delete mode 100644 frontend/node_modules/vue-router/dist/devtools-EWN81iOl.mjs delete mode 100644 frontend/node_modules/vue-router/dist/experimental/index.d.mts delete mode 100644 frontend/node_modules/vue-router/dist/experimental/index.mjs delete mode 100644 frontend/node_modules/vue-router/dist/router-CWoNjPRp.d.mts delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.cjs delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.d.mts delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.esm-browser.js delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.esm-browser.prod.js delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.esm-bundler.js delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.global.js delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.global.prod.js delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.mjs delete mode 100644 frontend/node_modules/vue-router/dist/vue-router.prod.cjs delete mode 100644 frontend/node_modules/vue-router/index.js delete mode 100644 frontend/node_modules/vue-router/package.json delete mode 100644 frontend/node_modules/vue-router/vetur/attributes.json delete mode 100644 frontend/node_modules/vue-router/vetur/tags.json delete mode 100644 frontend/node_modules/vue-router/vue-router-auto-resolver.d.mts delete mode 100644 frontend/node_modules/vue-router/vue-router-auto-routes.d.ts delete mode 100644 frontend/node_modules/vue-router/vue-router-auto.d.ts delete mode 100644 frontend/node_modules/vue-router/vue-router.node.mjs delete mode 100644 frontend/node_modules/vue/LICENSE delete mode 100644 frontend/node_modules/vue/README.md delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.browser.js delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.browser.mjs delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.d.mts delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.d.ts delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.js delete mode 100644 frontend/node_modules/vue/compiler-sfc/index.mjs delete mode 100644 frontend/node_modules/vue/compiler-sfc/package.json delete mode 100644 frontend/node_modules/vue/compiler-sfc/register-ts.js delete mode 100644 frontend/node_modules/vue/dist/vue.cjs.js delete mode 100644 frontend/node_modules/vue/dist/vue.cjs.prod.js delete mode 100644 frontend/node_modules/vue/dist/vue.d.mts delete mode 100644 frontend/node_modules/vue/dist/vue.d.ts delete mode 100644 frontend/node_modules/vue/dist/vue.esm-browser.js delete mode 100644 frontend/node_modules/vue/dist/vue.esm-browser.prod.js delete mode 100644 frontend/node_modules/vue/dist/vue.esm-bundler.js delete mode 100644 frontend/node_modules/vue/dist/vue.global.js delete mode 100644 frontend/node_modules/vue/dist/vue.global.prod.js delete mode 100644 frontend/node_modules/vue/dist/vue.runtime.esm-browser.js delete mode 100644 frontend/node_modules/vue/dist/vue.runtime.esm-browser.prod.js delete mode 100644 frontend/node_modules/vue/dist/vue.runtime.esm-bundler.js delete mode 100644 frontend/node_modules/vue/dist/vue.runtime.global.js delete mode 100644 frontend/node_modules/vue/dist/vue.runtime.global.prod.js delete mode 100644 frontend/node_modules/vue/index.js delete mode 100644 frontend/node_modules/vue/index.mjs delete mode 100644 frontend/node_modules/vue/jsx-runtime/index.d.ts delete mode 100644 frontend/node_modules/vue/jsx-runtime/index.js delete mode 100644 frontend/node_modules/vue/jsx-runtime/index.mjs delete mode 100644 frontend/node_modules/vue/jsx-runtime/package.json delete mode 100644 frontend/node_modules/vue/jsx.d.ts delete mode 100644 frontend/node_modules/vue/package.json delete mode 100644 frontend/node_modules/vue/server-renderer/index.d.mts delete mode 100644 frontend/node_modules/vue/server-renderer/index.d.ts delete mode 100644 frontend/node_modules/vue/server-renderer/index.js delete mode 100644 frontend/node_modules/vue/server-renderer/index.mjs delete mode 100644 frontend/node_modules/vue/server-renderer/package.json diff --git a/frontend/node_modules/.bin/esbuild b/frontend/node_modules/.bin/esbuild deleted file mode 120000 index c83ac07..0000000 --- a/frontend/node_modules/.bin/esbuild +++ /dev/null @@ -1 +0,0 @@ -../esbuild/bin/esbuild \ No newline at end of file diff --git a/frontend/node_modules/.bin/nanoid b/frontend/node_modules/.bin/nanoid deleted file mode 120000 index e2be547..0000000 --- a/frontend/node_modules/.bin/nanoid +++ /dev/null @@ -1 +0,0 @@ -../nanoid/bin/nanoid.cjs \ No newline at end of file diff --git a/frontend/node_modules/.bin/parser b/frontend/node_modules/.bin/parser deleted file mode 120000 index ce7bf97..0000000 --- a/frontend/node_modules/.bin/parser +++ /dev/null @@ -1 +0,0 @@ -../@babel/parser/bin/babel-parser.js \ No newline at end of file diff --git a/frontend/node_modules/.bin/rollup b/frontend/node_modules/.bin/rollup deleted file mode 120000 index 5939621..0000000 --- a/frontend/node_modules/.bin/rollup +++ /dev/null @@ -1 +0,0 @@ -../rollup/dist/bin/rollup \ No newline at end of file diff --git a/frontend/node_modules/.bin/vite b/frontend/node_modules/.bin/vite deleted file mode 120000 index 6d1e3be..0000000 --- a/frontend/node_modules/.bin/vite +++ /dev/null @@ -1 +0,0 @@ -../vite/bin/vite.js \ No newline at end of file diff --git a/frontend/node_modules/.package-lock.json b/frontend/node_modules/.package-lock.json deleted file mode 100644 index b08a185..0000000 --- a/frontend/node_modules/.package-lock.json +++ /dev/null @@ -1,573 +0,0 @@ -{ - "name": "hello-vue-frontend", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "node_modules/@babel/helper-string-parser": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", - "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.28.5", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", - "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", - "license": "MIT", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.29.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.3.tgz", - "integrity": "sha512-b3ctpQwp+PROvU/cttc4OYl4MzfJUWy6FZg+PMXfzmt/+39iHVF0sDfqay8TQM3JA2EUOyKcFZt75jWriQijsA==", - "license": "MIT", - "dependencies": { - "@babel/types": "^7.29.0" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/types": { - "version": "7.29.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.0.tgz", - "integrity": "sha512-LwdZHpScM4Qz8Xw2iKSzS+cfglZzJGvofQICy7W7v4caru4EaAmyUuO6BGrbyQ2mYV11W0U8j5mBhd14dd3B0A==", - "license": "MIT", - "dependencies": { - "@babel/helper-string-parser": "^7.27.1", - "@babel/helper-validator-identifier": "^7.28.5" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.25.12", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.12.tgz", - "integrity": "sha512-HQ9ka4Kx21qHXwtlTUVbKJOAnmG1ipXhdWTmNXiPzPfWKpXqASVcWdnf2bnL73wgjNrFXAa3yYvBSd9pzfEIpA==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=18" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz", - "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==", - "license": "MIT" - }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.4.tgz", - "integrity": "sha512-CSKq7MsP+5PFIcydhAiR1K0UhEI1A2jWXVKHPCBZ151yOutENwvnPocgVHkivu2kviURtCEB6zUQw0vs8RrhMg==", - "cpu": [ - "x64" - ], - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ] - }, - "node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT" - }, - "node_modules/@vitejs/plugin-vue": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-5.2.4.tgz", - "integrity": "sha512-7Yx/SXSOcQq5HiiV3orevHUFn+pmMB4cgbEkDYgnkUWb0WfeQ/wa2yFv6D5ICiCQOVpjA7vYDXrC7AGO8yjDHA==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "vite": "^5.0.0 || ^6.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.34.tgz", - "integrity": "sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.3", - "@vue/shared": "3.5.34", - "entities": "^7.0.1", - "estree-walker": "^2.0.2", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.34.tgz", - "integrity": "sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw==", - "license": "MIT", - "dependencies": { - "@vue/compiler-core": "3.5.34", - "@vue/shared": "3.5.34" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.34.tgz", - "integrity": "sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg==", - "license": "MIT", - "dependencies": { - "@babel/parser": "^7.29.3", - "@vue/compiler-core": "3.5.34", - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34", - "estree-walker": "^2.0.2", - "magic-string": "^0.30.21", - "postcss": "^8.5.14", - "source-map-js": "^1.2.1" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.34.tgz", - "integrity": "sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ==", - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/shared": "3.5.34" - } - }, - "node_modules/@vue/devtools-api": { - "version": "6.6.4", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", - "license": "MIT" - }, - "node_modules/@vue/reactivity": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.34.tgz", - "integrity": "sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ==", - "license": "MIT", - "dependencies": { - "@vue/shared": "3.5.34" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.34.tgz", - "integrity": "sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw==", - "license": "MIT", - "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/shared": "3.5.34" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.34.tgz", - "integrity": "sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg==", - "license": "MIT", - "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/runtime-core": "3.5.34", - "@vue/shared": "3.5.34", - "csstype": "^3.2.3" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.34.tgz", - "integrity": "sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew==", - "license": "MIT", - "dependencies": { - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34" - }, - "peerDependencies": { - "vue": "3.5.34" - } - }, - "node_modules/@vue/shared": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.34.tgz", - "integrity": "sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA==", - "license": "MIT" - }, - "node_modules/csstype": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz", - "integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==", - "license": "MIT" - }, - "node_modules/entities": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/entities/-/entities-7.0.1.tgz", - "integrity": "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==", - "license": "BSD-2-Clause", - "engines": { - "node": ">=0.12" - }, - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/esbuild": { - "version": "0.25.12", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.12.tgz", - "integrity": "sha512-bbPBYYrtZbkt6Os6FiTLCTFxvq4tt3JKall1vRwshA3fdVztsLAatFaZobhkBC8/BrPetoa0oksYoKXoG4ryJg==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.12", - "@esbuild/android-arm": "0.25.12", - "@esbuild/android-arm64": "0.25.12", - "@esbuild/android-x64": "0.25.12", - "@esbuild/darwin-arm64": "0.25.12", - "@esbuild/darwin-x64": "0.25.12", - "@esbuild/freebsd-arm64": "0.25.12", - "@esbuild/freebsd-x64": "0.25.12", - "@esbuild/linux-arm": "0.25.12", - "@esbuild/linux-arm64": "0.25.12", - "@esbuild/linux-ia32": "0.25.12", - "@esbuild/linux-loong64": "0.25.12", - "@esbuild/linux-mips64el": "0.25.12", - "@esbuild/linux-ppc64": "0.25.12", - "@esbuild/linux-riscv64": "0.25.12", - "@esbuild/linux-s390x": "0.25.12", - "@esbuild/linux-x64": "0.25.12", - "@esbuild/netbsd-arm64": "0.25.12", - "@esbuild/netbsd-x64": "0.25.12", - "@esbuild/openbsd-arm64": "0.25.12", - "@esbuild/openbsd-x64": "0.25.12", - "@esbuild/openharmony-arm64": "0.25.12", - "@esbuild/sunos-x64": "0.25.12", - "@esbuild/win32-arm64": "0.25.12", - "@esbuild/win32-ia32": "0.25.12", - "@esbuild/win32-x64": "0.25.12" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "license": "MIT" - }, - "node_modules/fdir": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", - "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/magic-string": { - "version": "0.30.21", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", - "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.5" - } - }, - "node_modules/nanoid": { - "version": "3.3.12", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz", - "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", - "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/postcss": { - "version": "8.5.15", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.15.tgz", - "integrity": "sha512-FfR8sjd4em2T6fb3I2MwAJU7HWVMr9zba+enmQeeWFfCbm+UOC/0X4DS8XtpUTMwWMGbjKYP7xjfNekzyGmB3A==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "nanoid": "^3.3.12", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/rollup": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.4.tgz", - "integrity": "sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "1.0.8" - }, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=18.0.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.60.4", - "@rollup/rollup-android-arm64": "4.60.4", - "@rollup/rollup-darwin-arm64": "4.60.4", - "@rollup/rollup-darwin-x64": "4.60.4", - "@rollup/rollup-freebsd-arm64": "4.60.4", - "@rollup/rollup-freebsd-x64": "4.60.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.60.4", - "@rollup/rollup-linux-arm-musleabihf": "4.60.4", - "@rollup/rollup-linux-arm64-gnu": "4.60.4", - "@rollup/rollup-linux-arm64-musl": "4.60.4", - "@rollup/rollup-linux-loong64-gnu": "4.60.4", - "@rollup/rollup-linux-loong64-musl": "4.60.4", - "@rollup/rollup-linux-ppc64-gnu": "4.60.4", - "@rollup/rollup-linux-ppc64-musl": "4.60.4", - "@rollup/rollup-linux-riscv64-gnu": "4.60.4", - "@rollup/rollup-linux-riscv64-musl": "4.60.4", - "@rollup/rollup-linux-s390x-gnu": "4.60.4", - "@rollup/rollup-linux-x64-gnu": "4.60.4", - "@rollup/rollup-linux-x64-musl": "4.60.4", - "@rollup/rollup-openbsd-x64": "4.60.4", - "@rollup/rollup-openharmony-arm64": "4.60.4", - "@rollup/rollup-win32-arm64-msvc": "4.60.4", - "@rollup/rollup-win32-ia32-msvc": "4.60.4", - "@rollup/rollup-win32-x64-gnu": "4.60.4", - "@rollup/rollup-win32-x64-msvc": "4.60.4", - "fsevents": "~2.3.2" - } - }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/tinyglobby": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", - "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", - "dev": true, - "license": "MIT", - "dependencies": { - "fdir": "^6.5.0", - "picomatch": "^4.0.4" - }, - "engines": { - "node": ">=12.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/SuperchupuDev" - } - }, - "node_modules/vite": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.4.2.tgz", - "integrity": "sha512-2N/55r4JDJ4gdrCvGgINMy+HH3iRpNIz8K6SFwVsA+JbQScLiC+clmAxBgwiSPgcG9U15QmvqCGWzMbqda5zGQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "esbuild": "^0.25.0", - "fdir": "^6.4.4", - "picomatch": "^4.0.2", - "postcss": "^8.5.3", - "rollup": "^4.34.9", - "tinyglobby": "^0.2.13" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^18.0.0 || ^20.0.0 || >=22.0.0" - }, - "funding": { - "url": "https://github.com/vitejs/vite?sponsor=1" - }, - "optionalDependencies": { - "fsevents": "~2.3.3" - }, - "peerDependencies": { - "@types/node": "^18.0.0 || ^20.0.0 || >=22.0.0", - "jiti": ">=1.21.0", - "less": "*", - "lightningcss": "^1.21.0", - "sass": "*", - "sass-embedded": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.16.0", - "tsx": "^4.8.1", - "yaml": "^2.4.2" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "jiti": { - "optional": true - }, - "less": { - "optional": true - }, - "lightningcss": { - "optional": true - }, - "sass": { - "optional": true - }, - "sass-embedded": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - }, - "tsx": { - "optional": true - }, - "yaml": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.34.tgz", - "integrity": "sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA==", - "license": "MIT", - "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-sfc": "3.5.34", - "@vue/runtime-dom": "3.5.34", - "@vue/server-renderer": "3.5.34", - "@vue/shared": "3.5.34" - }, - "peerDependencies": { - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/vue-router": { - "version": "4.6.4", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.6.4.tgz", - "integrity": "sha512-Hz9q5sa33Yhduglwz6g9skT8OBPii+4bFn88w6J+J4MfEo4KRRpmiNG/hHHkdbRFlLBOqxN8y8gf2Fb0MTUgVg==", - "license": "MIT", - "dependencies": { - "@vue/devtools-api": "^6.6.4" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "vue": "^3.5.0" - } - } - } -} diff --git a/frontend/node_modules/.vite/deps/_metadata.json b/frontend/node_modules/.vite/deps/_metadata.json deleted file mode 100644 index 6667d19..0000000 --- a/frontend/node_modules/.vite/deps/_metadata.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "hash": "308d90ab", - "configHash": "c2a82557", - "lockfileHash": "6e258129", - "browserHash": "eaa53f1e", - "optimized": { - "vue": { - "src": "../../vue/dist/vue.runtime.esm-bundler.js", - "file": "vue.js", - "fileHash": "98cd4c56", - "needsInterop": false - }, - "vue-router": { - "src": "../../vue-router/dist/vue-router.mjs", - "file": "vue-router.js", - "fileHash": "7787663a", - "needsInterop": false - } - }, - "chunks": { - "chunk-PRB2KXUH": { - "file": "chunk-PRB2KXUH.js" - } - } -} \ No newline at end of file diff --git a/frontend/node_modules/.vite/deps/chunk-PRB2KXUH.js b/frontend/node_modules/.vite/deps/chunk-PRB2KXUH.js deleted file mode 100644 index fa72187..0000000 --- a/frontend/node_modules/.vite/deps/chunk-PRB2KXUH.js +++ /dev/null @@ -1,13035 +0,0 @@ -// node_modules/@vue/shared/dist/shared.esm-bundler.js -function makeMap(str) { - const map2 = /* @__PURE__ */ Object.create(null); - for (const key of str.split(",")) map2[key] = 1; - return (val) => val in map2; -} -var EMPTY_OBJ = true ? Object.freeze({}) : {}; -var EMPTY_ARR = true ? Object.freeze([]) : []; -var NOOP = () => { -}; -var NO = () => false; -var isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter -(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97); -var isModelListener = (key) => key.startsWith("onUpdate:"); -var extend = Object.assign; -var remove = (arr, el) => { - const i = arr.indexOf(el); - if (i > -1) { - arr.splice(i, 1); - } -}; -var hasOwnProperty = Object.prototype.hasOwnProperty; -var hasOwn = (val, key) => hasOwnProperty.call(val, key); -var isArray = Array.isArray; -var isMap = (val) => toTypeString(val) === "[object Map]"; -var isSet = (val) => toTypeString(val) === "[object Set]"; -var isDate = (val) => toTypeString(val) === "[object Date]"; -var isRegExp = (val) => toTypeString(val) === "[object RegExp]"; -var isFunction = (val) => typeof val === "function"; -var isString = (val) => typeof val === "string"; -var isSymbol = (val) => typeof val === "symbol"; -var isObject = (val) => val !== null && typeof val === "object"; -var isPromise = (val) => { - return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch); -}; -var objectToString = Object.prototype.toString; -var toTypeString = (value) => objectToString.call(value); -var toRawType = (value) => { - return toTypeString(value).slice(8, -1); -}; -var isPlainObject = (val) => toTypeString(val) === "[object Object]"; -var isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key; -var isReservedProp = makeMap( - // the leading comma is intentional so empty string "" is also included - ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted" -); -var isBuiltInDirective = makeMap( - "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo" -); -var cacheStringFunction = (fn) => { - const cache = /* @__PURE__ */ Object.create(null); - return ((str) => { - const hit = cache[str]; - return hit || (cache[str] = fn(str)); - }); -}; -var camelizeRE = /-\w/g; -var camelize = cacheStringFunction( - (str) => { - return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase()); - } -); -var hyphenateRE = /\B([A-Z])/g; -var hyphenate = cacheStringFunction( - (str) => str.replace(hyphenateRE, "-$1").toLowerCase() -); -var capitalize = cacheStringFunction((str) => { - return str.charAt(0).toUpperCase() + str.slice(1); -}); -var toHandlerKey = cacheStringFunction( - (str) => { - const s = str ? `on${capitalize(str)}` : ``; - return s; - } -); -var hasChanged = (value, oldValue) => !Object.is(value, oldValue); -var invokeArrayFns = (fns, ...arg) => { - for (let i = 0; i < fns.length; i++) { - fns[i](...arg); - } -}; -var def = (obj, key, value, writable = false) => { - Object.defineProperty(obj, key, { - configurable: true, - enumerable: false, - writable, - value - }); -}; -var looseToNumber = (val) => { - const n = parseFloat(val); - return isNaN(n) ? val : n; -}; -var toNumber = (val) => { - const n = isString(val) ? Number(val) : NaN; - return isNaN(n) ? val : n; -}; -var _globalThis; -var getGlobalThis = () => { - return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {}); -}; -var GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol"; -var isGloballyAllowed = makeMap(GLOBALS_ALLOWED); -function normalizeStyle(value) { - if (isArray(value)) { - const res = {}; - for (let i = 0; i < value.length; i++) { - const item = value[i]; - const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item); - if (normalized) { - for (const key in normalized) { - res[key] = normalized[key]; - } - } - } - return res; - } else if (isString(value) || isObject(value)) { - return value; - } -} -var listDelimiterRE = /;(?![^(]*\))/g; -var propertyDelimiterRE = /:([^]+)/; -var styleCommentRE = /\/\*[^]*?\*\//g; -function parseStringStyle(cssText) { - const ret = {}; - cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => { - if (item) { - const tmp = item.split(propertyDelimiterRE); - tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim()); - } - }); - return ret; -} -function stringifyStyle(styles) { - if (!styles) return ""; - if (isString(styles)) return styles; - let ret = ""; - for (const key in styles) { - const value = styles[key]; - if (isString(value) || typeof value === "number") { - const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key); - ret += `${normalizedKey}:${value};`; - } - } - return ret; -} -function normalizeClass(value) { - let res = ""; - if (isString(value)) { - res = value; - } else if (isArray(value)) { - for (let i = 0; i < value.length; i++) { - const normalized = normalizeClass(value[i]); - if (normalized) { - res += normalized + " "; - } - } - } else if (isObject(value)) { - for (const name in value) { - if (value[name]) { - res += name + " "; - } - } - } - return res.trim(); -} -function normalizeProps(props) { - if (!props) return null; - let { class: klass, style } = props; - if (klass && !isString(klass)) { - props.class = normalizeClass(klass); - } - if (style) { - props.style = normalizeStyle(style); - } - return props; -} -var HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"; -var SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"; -var MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"; -var VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"; -var isHTMLTag = makeMap(HTML_TAGS); -var isSVGTag = makeMap(SVG_TAGS); -var isMathMLTag = makeMap(MATH_TAGS); -var isVoidTag = makeMap(VOID_TAGS); -var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`; -var isSpecialBooleanAttr = makeMap(specialBooleanAttrs); -var isBooleanAttr = makeMap( - specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected` -); -function includeBooleanAttr(value) { - return !!value || value === ""; -} -var isKnownHtmlAttr = makeMap( - `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap` -); -var isKnownSvgAttr = makeMap( - `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan` -); -var isKnownMathMLAttr = makeMap( - `accent,accentunder,actiontype,align,alignmentscope,altimg,altimg-height,altimg-valign,altimg-width,alttext,bevelled,close,columnsalign,columnlines,columnspan,denomalign,depth,dir,display,displaystyle,encoding,equalcolumns,equalrows,fence,fontstyle,fontweight,form,frame,framespacing,groupalign,height,href,id,indentalign,indentalignfirst,indentalignlast,indentshift,indentshiftfirst,indentshiftlast,indextype,justify,largetop,largeop,lquote,lspace,mathbackground,mathcolor,mathsize,mathvariant,maxsize,minlabelspacing,mode,other,overflow,position,rowalign,rowlines,rowspan,rquote,rspace,scriptlevel,scriptminsize,scriptsizemultiplier,selection,separator,separators,shift,side,src,stackalign,stretchy,subscriptshift,superscriptshift,symmetric,voffset,width,widths,xlink:href,xlink:show,xlink:type,xmlns` -); -function isRenderableAttrValue(value) { - if (value == null) { - return false; - } - const type = typeof value; - return type === "string" || type === "number" || type === "boolean"; -} -var cssVarNameEscapeSymbolsRE = /[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g; -function getEscapedCssVarName(key, doubleEscape) { - return key.replace( - cssVarNameEscapeSymbolsRE, - (s) => doubleEscape ? s === '"' ? '\\\\\\"' : `\\\\${s}` : `\\${s}` - ); -} -function looseCompareArrays(a, b) { - if (a.length !== b.length) return false; - let equal = true; - for (let i = 0; equal && i < a.length; i++) { - equal = looseEqual(a[i], b[i]); - } - return equal; -} -function looseEqual(a, b) { - if (a === b) return true; - let aValidType = isDate(a); - let bValidType = isDate(b); - if (aValidType || bValidType) { - return aValidType && bValidType ? a.getTime() === b.getTime() : false; - } - aValidType = isSymbol(a); - bValidType = isSymbol(b); - if (aValidType || bValidType) { - return a === b; - } - aValidType = isArray(a); - bValidType = isArray(b); - if (aValidType || bValidType) { - return aValidType && bValidType ? looseCompareArrays(a, b) : false; - } - aValidType = isObject(a); - bValidType = isObject(b); - if (aValidType || bValidType) { - if (!aValidType || !bValidType) { - return false; - } - const aKeysCount = Object.keys(a).length; - const bKeysCount = Object.keys(b).length; - if (aKeysCount !== bKeysCount) { - return false; - } - for (const key in a) { - const aHasKey = a.hasOwnProperty(key); - const bHasKey = b.hasOwnProperty(key); - if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) { - return false; - } - } - } - return String(a) === String(b); -} -function looseIndexOf(arr, val) { - return arr.findIndex((item) => looseEqual(item, val)); -} -var isRef = (val) => { - return !!(val && val["__v_isRef"] === true); -}; -var toDisplayString = (val) => { - return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? isRef(val) ? toDisplayString(val.value) : JSON.stringify(val, replacer, 2) : String(val); -}; -var replacer = (_key, val) => { - if (isRef(val)) { - return replacer(_key, val.value); - } else if (isMap(val)) { - return { - [`Map(${val.size})`]: [...val.entries()].reduce( - (entries, [key, val2], i) => { - entries[stringifySymbol(key, i) + " =>"] = val2; - return entries; - }, - {} - ) - }; - } else if (isSet(val)) { - return { - [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v)) - }; - } else if (isSymbol(val)) { - return stringifySymbol(val); - } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) { - return String(val); - } - return val; -}; -var stringifySymbol = (v, i = "") => { - var _a; - return ( - // Symbol.description in es2019+ so we need to cast here to pass - // the lib: es2016 check - isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v - ); -}; -function normalizeCssVarValue(value) { - if (value == null) { - return "initial"; - } - if (typeof value === "string") { - return value === "" ? " " : value; - } - if (typeof value !== "number" || !Number.isFinite(value)) { - if (true) { - console.warn( - "[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:", - value - ); - } - } - return String(value); -} - -// node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js -function warn(msg, ...args) { - console.warn(`[Vue warn] ${msg}`, ...args); -} -var activeEffectScope; -var EffectScope = class { - // TODO isolatedDeclarations "__v_skip" - constructor(detached = false) { - this.detached = detached; - this._active = true; - this._on = 0; - this.effects = []; - this.cleanups = []; - this._isPaused = false; - this._warnOnRun = true; - this.__v_skip = true; - if (!detached && activeEffectScope) { - if (activeEffectScope.active) { - this.parent = activeEffectScope; - this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push( - this - ) - 1; - } else { - this._active = false; - this._warnOnRun = false; - } - } - } - get active() { - return this._active; - } - pause() { - if (this._active) { - this._isPaused = true; - let i, l; - if (this.scopes) { - for (i = 0, l = this.scopes.length; i < l; i++) { - this.scopes[i].pause(); - } - } - for (i = 0, l = this.effects.length; i < l; i++) { - this.effects[i].pause(); - } - } - } - /** - * Resumes the effect scope, including all child scopes and effects. - */ - resume() { - if (this._active) { - if (this._isPaused) { - this._isPaused = false; - let i, l; - if (this.scopes) { - for (i = 0, l = this.scopes.length; i < l; i++) { - this.scopes[i].resume(); - } - } - for (i = 0, l = this.effects.length; i < l; i++) { - this.effects[i].resume(); - } - } - } - } - run(fn) { - if (this._active) { - const currentEffectScope = activeEffectScope; - try { - activeEffectScope = this; - return fn(); - } finally { - activeEffectScope = currentEffectScope; - } - } else if (this._warnOnRun) { - warn(`cannot run an inactive effect scope.`); - } - } - /** - * This should only be called on non-detached scopes - * @internal - */ - on() { - if (++this._on === 1) { - this.prevScope = activeEffectScope; - activeEffectScope = this; - } - } - /** - * This should only be called on non-detached scopes - * @internal - */ - off() { - if (this._on > 0 && --this._on === 0) { - if (activeEffectScope === this) { - activeEffectScope = this.prevScope; - } else { - let current = activeEffectScope; - while (current) { - if (current.prevScope === this) { - current.prevScope = this.prevScope; - break; - } - current = current.prevScope; - } - } - this.prevScope = void 0; - } - } - stop(fromParent) { - if (this._active) { - this._active = false; - let i, l; - for (i = 0, l = this.effects.length; i < l; i++) { - this.effects[i].stop(); - } - this.effects.length = 0; - for (i = 0, l = this.cleanups.length; i < l; i++) { - this.cleanups[i](); - } - this.cleanups.length = 0; - if (this.scopes) { - for (i = 0, l = this.scopes.length; i < l; i++) { - this.scopes[i].stop(true); - } - this.scopes.length = 0; - } - if (!this.detached && this.parent && !fromParent) { - const last = this.parent.scopes.pop(); - if (last && last !== this) { - this.parent.scopes[this.index] = last; - last.index = this.index; - } - } - this.parent = void 0; - } - } -}; -function effectScope(detached) { - return new EffectScope(detached); -} -function getCurrentScope() { - return activeEffectScope; -} -function onScopeDispose(fn, failSilently = false) { - if (activeEffectScope) { - activeEffectScope.cleanups.push(fn); - } else if (!failSilently) { - warn( - `onScopeDispose() is called when there is no active effect scope to be associated with.` - ); - } -} -var activeSub; -var pausedQueueEffects = /* @__PURE__ */ new WeakSet(); -var ReactiveEffect = class { - constructor(fn) { - this.fn = fn; - this.deps = void 0; - this.depsTail = void 0; - this.flags = 1 | 4; - this.next = void 0; - this.cleanup = void 0; - this.scheduler = void 0; - if (activeEffectScope) { - if (activeEffectScope.active) { - activeEffectScope.effects.push(this); - } else { - this.flags &= -2; - } - } - } - pause() { - this.flags |= 64; - } - resume() { - if (this.flags & 64) { - this.flags &= -65; - if (pausedQueueEffects.has(this)) { - pausedQueueEffects.delete(this); - this.trigger(); - } - } - } - /** - * @internal - */ - notify() { - if (this.flags & 2 && !(this.flags & 32)) { - return; - } - if (!(this.flags & 8)) { - batch(this); - } - } - run() { - if (!(this.flags & 1)) { - return this.fn(); - } - this.flags |= 2; - cleanupEffect(this); - prepareDeps(this); - const prevEffect = activeSub; - const prevShouldTrack = shouldTrack; - activeSub = this; - shouldTrack = true; - try { - return this.fn(); - } finally { - if (activeSub !== this) { - warn( - "Active effect was not restored correctly - this is likely a Vue internal bug." - ); - } - cleanupDeps(this); - activeSub = prevEffect; - shouldTrack = prevShouldTrack; - this.flags &= -3; - } - } - stop() { - if (this.flags & 1) { - for (let link = this.deps; link; link = link.nextDep) { - removeSub(link); - } - this.deps = this.depsTail = void 0; - cleanupEffect(this); - this.onStop && this.onStop(); - this.flags &= -2; - } - } - trigger() { - if (this.flags & 64) { - pausedQueueEffects.add(this); - } else if (this.scheduler) { - this.scheduler(); - } else { - this.runIfDirty(); - } - } - /** - * @internal - */ - runIfDirty() { - if (isDirty(this)) { - this.run(); - } - } - get dirty() { - return isDirty(this); - } -}; -var batchDepth = 0; -var batchedSub; -var batchedComputed; -function batch(sub, isComputed = false) { - sub.flags |= 8; - if (isComputed) { - sub.next = batchedComputed; - batchedComputed = sub; - return; - } - sub.next = batchedSub; - batchedSub = sub; -} -function startBatch() { - batchDepth++; -} -function endBatch() { - if (--batchDepth > 0) { - return; - } - if (batchedComputed) { - let e = batchedComputed; - batchedComputed = void 0; - while (e) { - const next = e.next; - e.next = void 0; - e.flags &= -9; - e = next; - } - } - let error; - while (batchedSub) { - let e = batchedSub; - batchedSub = void 0; - while (e) { - const next = e.next; - e.next = void 0; - e.flags &= -9; - if (e.flags & 1) { - try { - ; - e.trigger(); - } catch (err) { - if (!error) error = err; - } - } - e = next; - } - } - if (error) throw error; -} -function prepareDeps(sub) { - for (let link = sub.deps; link; link = link.nextDep) { - link.version = -1; - link.prevActiveLink = link.dep.activeLink; - link.dep.activeLink = link; - } -} -function cleanupDeps(sub) { - let head; - let tail = sub.depsTail; - let link = tail; - while (link) { - const prev = link.prevDep; - if (link.version === -1) { - if (link === tail) tail = prev; - removeSub(link); - removeDep(link); - } else { - head = link; - } - link.dep.activeLink = link.prevActiveLink; - link.prevActiveLink = void 0; - link = prev; - } - sub.deps = head; - sub.depsTail = tail; -} -function isDirty(sub) { - for (let link = sub.deps; link; link = link.nextDep) { - if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) { - return true; - } - } - if (sub._dirty) { - return true; - } - return false; -} -function refreshComputed(computed3) { - if (computed3.flags & 4 && !(computed3.flags & 16)) { - return; - } - computed3.flags &= -17; - if (computed3.globalVersion === globalVersion) { - return; - } - computed3.globalVersion = globalVersion; - if (!computed3.isSSR && computed3.flags & 128 && (!computed3.deps && !computed3._dirty || !isDirty(computed3))) { - return; - } - computed3.flags |= 2; - const dep = computed3.dep; - const prevSub = activeSub; - const prevShouldTrack = shouldTrack; - activeSub = computed3; - shouldTrack = true; - try { - prepareDeps(computed3); - const value = computed3.fn(computed3._value); - if (dep.version === 0 || hasChanged(value, computed3._value)) { - computed3.flags |= 128; - computed3._value = value; - dep.version++; - } - } catch (err) { - dep.version++; - throw err; - } finally { - activeSub = prevSub; - shouldTrack = prevShouldTrack; - cleanupDeps(computed3); - computed3.flags &= -3; - } -} -function removeSub(link, soft = false) { - const { dep, prevSub, nextSub } = link; - if (prevSub) { - prevSub.nextSub = nextSub; - link.prevSub = void 0; - } - if (nextSub) { - nextSub.prevSub = prevSub; - link.nextSub = void 0; - } - if (dep.subsHead === link) { - dep.subsHead = nextSub; - } - if (dep.subs === link) { - dep.subs = prevSub; - if (!prevSub && dep.computed) { - dep.computed.flags &= -5; - for (let l = dep.computed.deps; l; l = l.nextDep) { - removeSub(l, true); - } - } - } - if (!soft && !--dep.sc && dep.map) { - dep.map.delete(dep.key); - } -} -function removeDep(link) { - const { prevDep, nextDep } = link; - if (prevDep) { - prevDep.nextDep = nextDep; - link.prevDep = void 0; - } - if (nextDep) { - nextDep.prevDep = prevDep; - link.nextDep = void 0; - } -} -function effect(fn, options) { - if (fn.effect instanceof ReactiveEffect) { - fn = fn.effect.fn; - } - const e = new ReactiveEffect(fn); - if (options) { - extend(e, options); - } - try { - e.run(); - } catch (err) { - e.stop(); - throw err; - } - const runner = e.run.bind(e); - runner.effect = e; - return runner; -} -function stop(runner) { - runner.effect.stop(); -} -var shouldTrack = true; -var trackStack = []; -function pauseTracking() { - trackStack.push(shouldTrack); - shouldTrack = false; -} -function resetTracking() { - const last = trackStack.pop(); - shouldTrack = last === void 0 ? true : last; -} -function cleanupEffect(e) { - const { cleanup } = e; - e.cleanup = void 0; - if (cleanup) { - const prevSub = activeSub; - activeSub = void 0; - try { - cleanup(); - } finally { - activeSub = prevSub; - } - } -} -var globalVersion = 0; -var Link = class { - constructor(sub, dep) { - this.sub = sub; - this.dep = dep; - this.version = dep.version; - this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0; - } -}; -var Dep = class { - // TODO isolatedDeclarations "__v_skip" - constructor(computed3) { - this.computed = computed3; - this.version = 0; - this.activeLink = void 0; - this.subs = void 0; - this.map = void 0; - this.key = void 0; - this.sc = 0; - this.__v_skip = true; - if (true) { - this.subsHead = void 0; - } - } - track(debugInfo) { - if (!activeSub || !shouldTrack || activeSub === this.computed) { - return; - } - let link = this.activeLink; - if (link === void 0 || link.sub !== activeSub) { - link = this.activeLink = new Link(activeSub, this); - if (!activeSub.deps) { - activeSub.deps = activeSub.depsTail = link; - } else { - link.prevDep = activeSub.depsTail; - activeSub.depsTail.nextDep = link; - activeSub.depsTail = link; - } - addSub(link); - } else if (link.version === -1) { - link.version = this.version; - if (link.nextDep) { - const next = link.nextDep; - next.prevDep = link.prevDep; - if (link.prevDep) { - link.prevDep.nextDep = next; - } - link.prevDep = activeSub.depsTail; - link.nextDep = void 0; - activeSub.depsTail.nextDep = link; - activeSub.depsTail = link; - if (activeSub.deps === link) { - activeSub.deps = next; - } - } - } - if (activeSub.onTrack) { - activeSub.onTrack( - extend( - { - effect: activeSub - }, - debugInfo - ) - ); - } - return link; - } - trigger(debugInfo) { - this.version++; - globalVersion++; - this.notify(debugInfo); - } - notify(debugInfo) { - startBatch(); - try { - if (true) { - for (let head = this.subsHead; head; head = head.nextSub) { - if (head.sub.onTrigger && !(head.sub.flags & 8)) { - head.sub.onTrigger( - extend( - { - effect: head.sub - }, - debugInfo - ) - ); - } - } - } - for (let link = this.subs; link; link = link.prevSub) { - if (link.sub.notify()) { - ; - link.sub.dep.notify(); - } - } - } finally { - endBatch(); - } - } -}; -function addSub(link) { - link.dep.sc++; - if (link.sub.flags & 4) { - const computed3 = link.dep.computed; - if (computed3 && !link.dep.subs) { - computed3.flags |= 4 | 16; - for (let l = computed3.deps; l; l = l.nextDep) { - addSub(l); - } - } - const currentTail = link.dep.subs; - if (currentTail !== link) { - link.prevSub = currentTail; - if (currentTail) currentTail.nextSub = link; - } - if (link.dep.subsHead === void 0) { - link.dep.subsHead = link; - } - link.dep.subs = link; - } -} -var targetMap = /* @__PURE__ */ new WeakMap(); -var ITERATE_KEY = Symbol( - true ? "Object iterate" : "" -); -var MAP_KEY_ITERATE_KEY = Symbol( - true ? "Map keys iterate" : "" -); -var ARRAY_ITERATE_KEY = Symbol( - true ? "Array iterate" : "" -); -function track(target, type, key) { - if (shouldTrack && activeSub) { - let depsMap = targetMap.get(target); - if (!depsMap) { - targetMap.set(target, depsMap = /* @__PURE__ */ new Map()); - } - let dep = depsMap.get(key); - if (!dep) { - depsMap.set(key, dep = new Dep()); - dep.map = depsMap; - dep.key = key; - } - if (true) { - dep.track({ - target, - type, - key - }); - } else { - dep.track(); - } - } -} -function trigger(target, type, key, newValue, oldValue, oldTarget) { - const depsMap = targetMap.get(target); - if (!depsMap) { - globalVersion++; - return; - } - const run = (dep) => { - if (dep) { - if (true) { - dep.trigger({ - target, - type, - key, - newValue, - oldValue, - oldTarget - }); - } else { - dep.trigger(); - } - } - }; - startBatch(); - if (type === "clear") { - depsMap.forEach(run); - } else { - const targetIsArray = isArray(target); - const isArrayIndex = targetIsArray && isIntegerKey(key); - if (targetIsArray && key === "length") { - const newLength = Number(newValue); - depsMap.forEach((dep, key2) => { - if (key2 === "length" || key2 === ARRAY_ITERATE_KEY || !isSymbol(key2) && key2 >= newLength) { - run(dep); - } - }); - } else { - if (key !== void 0 || depsMap.has(void 0)) { - run(depsMap.get(key)); - } - if (isArrayIndex) { - run(depsMap.get(ARRAY_ITERATE_KEY)); - } - switch (type) { - case "add": - if (!targetIsArray) { - run(depsMap.get(ITERATE_KEY)); - if (isMap(target)) { - run(depsMap.get(MAP_KEY_ITERATE_KEY)); - } - } else if (isArrayIndex) { - run(depsMap.get("length")); - } - break; - case "delete": - if (!targetIsArray) { - run(depsMap.get(ITERATE_KEY)); - if (isMap(target)) { - run(depsMap.get(MAP_KEY_ITERATE_KEY)); - } - } - break; - case "set": - if (isMap(target)) { - run(depsMap.get(ITERATE_KEY)); - } - break; - } - } - } - endBatch(); -} -function getDepFromReactive(object, key) { - const depMap = targetMap.get(object); - return depMap && depMap.get(key); -} -function reactiveReadArray(array) { - const raw = toRaw(array); - if (raw === array) return raw; - track(raw, "iterate", ARRAY_ITERATE_KEY); - return isShallow(array) ? raw : raw.map(toReactive); -} -function shallowReadArray(arr) { - track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY); - return arr; -} -function toWrapped(target, item) { - if (isReadonly(target)) { - return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item); - } - return toReactive(item); -} -var arrayInstrumentations = { - __proto__: null, - [Symbol.iterator]() { - return iterator(this, Symbol.iterator, (item) => toWrapped(this, item)); - }, - concat(...args) { - return reactiveReadArray(this).concat( - ...args.map((x) => isArray(x) ? reactiveReadArray(x) : x) - ); - }, - entries() { - return iterator(this, "entries", (value) => { - value[1] = toWrapped(this, value[1]); - return value; - }); - }, - every(fn, thisArg) { - return apply(this, "every", fn, thisArg, void 0, arguments); - }, - filter(fn, thisArg) { - return apply( - this, - "filter", - fn, - thisArg, - (v) => v.map((item) => toWrapped(this, item)), - arguments - ); - }, - find(fn, thisArg) { - return apply( - this, - "find", - fn, - thisArg, - (item) => toWrapped(this, item), - arguments - ); - }, - findIndex(fn, thisArg) { - return apply(this, "findIndex", fn, thisArg, void 0, arguments); - }, - findLast(fn, thisArg) { - return apply( - this, - "findLast", - fn, - thisArg, - (item) => toWrapped(this, item), - arguments - ); - }, - findLastIndex(fn, thisArg) { - return apply(this, "findLastIndex", fn, thisArg, void 0, arguments); - }, - // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement - forEach(fn, thisArg) { - return apply(this, "forEach", fn, thisArg, void 0, arguments); - }, - includes(...args) { - return searchProxy(this, "includes", args); - }, - indexOf(...args) { - return searchProxy(this, "indexOf", args); - }, - join(separator) { - return reactiveReadArray(this).join(separator); - }, - // keys() iterator only reads `length`, no optimization required - lastIndexOf(...args) { - return searchProxy(this, "lastIndexOf", args); - }, - map(fn, thisArg) { - return apply(this, "map", fn, thisArg, void 0, arguments); - }, - pop() { - return noTracking(this, "pop"); - }, - push(...args) { - return noTracking(this, "push", args); - }, - reduce(fn, ...args) { - return reduce(this, "reduce", fn, args); - }, - reduceRight(fn, ...args) { - return reduce(this, "reduceRight", fn, args); - }, - shift() { - return noTracking(this, "shift"); - }, - // slice could use ARRAY_ITERATE but also seems to beg for range tracking - some(fn, thisArg) { - return apply(this, "some", fn, thisArg, void 0, arguments); - }, - splice(...args) { - return noTracking(this, "splice", args); - }, - toReversed() { - return reactiveReadArray(this).toReversed(); - }, - toSorted(comparer) { - return reactiveReadArray(this).toSorted(comparer); - }, - toSpliced(...args) { - return reactiveReadArray(this).toSpliced(...args); - }, - unshift(...args) { - return noTracking(this, "unshift", args); - }, - values() { - return iterator(this, "values", (item) => toWrapped(this, item)); - } -}; -function iterator(self2, method, wrapValue) { - const arr = shallowReadArray(self2); - const iter = arr[method](); - if (arr !== self2 && !isShallow(self2)) { - iter._next = iter.next; - iter.next = () => { - const result = iter._next(); - if (!result.done) { - result.value = wrapValue(result.value); - } - return result; - }; - } - return iter; -} -var arrayProto = Array.prototype; -function apply(self2, method, fn, thisArg, wrappedRetFn, args) { - const arr = shallowReadArray(self2); - const needsWrap = arr !== self2 && !isShallow(self2); - const methodFn = arr[method]; - if (methodFn !== arrayProto[method]) { - const result2 = methodFn.apply(self2, args); - return needsWrap ? toReactive(result2) : result2; - } - let wrappedFn = fn; - if (arr !== self2) { - if (needsWrap) { - wrappedFn = function(item, index) { - return fn.call(this, toWrapped(self2, item), index, self2); - }; - } else if (fn.length > 2) { - wrappedFn = function(item, index) { - return fn.call(this, item, index, self2); - }; - } - } - const result = methodFn.call(arr, wrappedFn, thisArg); - return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result; -} -function reduce(self2, method, fn, args) { - const arr = shallowReadArray(self2); - const needsWrap = arr !== self2 && !isShallow(self2); - let wrappedFn = fn; - let wrapInitialAccumulator = false; - if (arr !== self2) { - if (needsWrap) { - wrapInitialAccumulator = args.length === 0; - wrappedFn = function(acc, item, index) { - if (wrapInitialAccumulator) { - wrapInitialAccumulator = false; - acc = toWrapped(self2, acc); - } - return fn.call(this, acc, toWrapped(self2, item), index, self2); - }; - } else if (fn.length > 3) { - wrappedFn = function(acc, item, index) { - return fn.call(this, acc, item, index, self2); - }; - } - } - const result = arr[method](wrappedFn, ...args); - return wrapInitialAccumulator ? toWrapped(self2, result) : result; -} -function searchProxy(self2, method, args) { - const arr = toRaw(self2); - track(arr, "iterate", ARRAY_ITERATE_KEY); - const res = arr[method](...args); - if ((res === -1 || res === false) && isProxy(args[0])) { - args[0] = toRaw(args[0]); - return arr[method](...args); - } - return res; -} -function noTracking(self2, method, args = []) { - pauseTracking(); - startBatch(); - const res = toRaw(self2)[method].apply(self2, args); - endBatch(); - resetTracking(); - return res; -} -var isNonTrackableKeys = makeMap(`__proto__,__v_isRef,__isVue`); -var builtInSymbols = new Set( - Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(isSymbol) -); -function hasOwnProperty2(key) { - if (!isSymbol(key)) key = String(key); - const obj = toRaw(this); - track(obj, "has", key); - return obj.hasOwnProperty(key); -} -var BaseReactiveHandler = class { - constructor(_isReadonly = false, _isShallow = false) { - this._isReadonly = _isReadonly; - this._isShallow = _isShallow; - } - get(target, key, receiver) { - if (key === "__v_skip") return target["__v_skip"]; - const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow; - if (key === "__v_isReactive") { - return !isReadonly2; - } else if (key === "__v_isReadonly") { - return isReadonly2; - } else if (key === "__v_isShallow") { - return isShallow2; - } else if (key === "__v_raw") { - if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype - // this means the receiver is a user proxy of the reactive proxy - Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) { - return target; - } - return; - } - const targetIsArray = isArray(target); - if (!isReadonly2) { - let fn; - if (targetIsArray && (fn = arrayInstrumentations[key])) { - return fn; - } - if (key === "hasOwnProperty") { - return hasOwnProperty2; - } - } - const res = Reflect.get( - target, - key, - // if this is a proxy wrapping a ref, return methods using the raw ref - // as receiver so that we don't have to call `toRaw` on the ref in all - // its class methods - isRef2(target) ? target : receiver - ); - if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) { - return res; - } - if (!isReadonly2) { - track(target, "get", key); - } - if (isShallow2) { - return res; - } - if (isRef2(res)) { - const value = targetIsArray && isIntegerKey(key) ? res : res.value; - return isReadonly2 && isObject(value) ? readonly(value) : value; - } - if (isObject(res)) { - return isReadonly2 ? readonly(res) : reactive(res); - } - return res; - } -}; -var MutableReactiveHandler = class extends BaseReactiveHandler { - constructor(isShallow2 = false) { - super(false, isShallow2); - } - set(target, key, value, receiver) { - let oldValue = target[key]; - const isArrayWithIntegerKey = isArray(target) && isIntegerKey(key); - if (!this._isShallow) { - const isOldValueReadonly = isReadonly(oldValue); - if (!isShallow(value) && !isReadonly(value)) { - oldValue = toRaw(oldValue); - value = toRaw(value); - } - if (!isArrayWithIntegerKey && isRef2(oldValue) && !isRef2(value)) { - if (isOldValueReadonly) { - if (true) { - warn( - `Set operation on key "${String(key)}" failed: target is readonly.`, - target[key] - ); - } - return true; - } else { - oldValue.value = value; - return true; - } - } - } - const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key); - const result = Reflect.set( - target, - key, - value, - isRef2(target) ? target : receiver - ); - if (target === toRaw(receiver)) { - if (!hadKey) { - trigger(target, "add", key, value); - } else if (hasChanged(value, oldValue)) { - trigger(target, "set", key, value, oldValue); - } - } - return result; - } - deleteProperty(target, key) { - const hadKey = hasOwn(target, key); - const oldValue = target[key]; - const result = Reflect.deleteProperty(target, key); - if (result && hadKey) { - trigger(target, "delete", key, void 0, oldValue); - } - return result; - } - has(target, key) { - const result = Reflect.has(target, key); - if (!isSymbol(key) || !builtInSymbols.has(key)) { - track(target, "has", key); - } - return result; - } - ownKeys(target) { - track( - target, - "iterate", - isArray(target) ? "length" : ITERATE_KEY - ); - return Reflect.ownKeys(target); - } -}; -var ReadonlyReactiveHandler = class extends BaseReactiveHandler { - constructor(isShallow2 = false) { - super(true, isShallow2); - } - set(target, key) { - if (true) { - warn( - `Set operation on key "${String(key)}" failed: target is readonly.`, - target - ); - } - return true; - } - deleteProperty(target, key) { - if (true) { - warn( - `Delete operation on key "${String(key)}" failed: target is readonly.`, - target - ); - } - return true; - } -}; -var mutableHandlers = new MutableReactiveHandler(); -var readonlyHandlers = new ReadonlyReactiveHandler(); -var shallowReactiveHandlers = new MutableReactiveHandler(true); -var shallowReadonlyHandlers = new ReadonlyReactiveHandler(true); -var toShallow = (value) => value; -var getProto = (v) => Reflect.getPrototypeOf(v); -function createIterableMethod(method, isReadonly2, isShallow2) { - return function(...args) { - const target = this["__v_raw"]; - const rawTarget = toRaw(target); - const targetIsMap = isMap(rawTarget); - const isPair = method === "entries" || method === Symbol.iterator && targetIsMap; - const isKeyOnly = method === "keys" && targetIsMap; - const innerIterator = target[method](...args); - const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive; - !isReadonly2 && track( - rawTarget, - "iterate", - isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY - ); - return extend( - // inheriting all iterator properties - Object.create(innerIterator), - { - // iterator protocol - next() { - const { value, done } = innerIterator.next(); - return done ? { value, done } : { - value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value), - done - }; - } - } - ); - }; -} -function createReadonlyMethod(type) { - return function(...args) { - if (true) { - const key = args[0] ? `on key "${args[0]}" ` : ``; - warn( - `${capitalize(type)} operation ${key}failed: target is readonly.`, - toRaw(this) - ); - } - return type === "delete" ? false : type === "clear" ? void 0 : this; - }; -} -function createInstrumentations(readonly2, shallow) { - const instrumentations = { - get(key) { - const target = this["__v_raw"]; - const rawTarget = toRaw(target); - const rawKey = toRaw(key); - if (!readonly2) { - if (hasChanged(key, rawKey)) { - track(rawTarget, "get", key); - } - track(rawTarget, "get", rawKey); - } - const { has } = getProto(rawTarget); - const wrap = shallow ? toShallow : readonly2 ? toReadonly : toReactive; - if (has.call(rawTarget, key)) { - return wrap(target.get(key)); - } else if (has.call(rawTarget, rawKey)) { - return wrap(target.get(rawKey)); - } else if (target !== rawTarget) { - target.get(key); - } - }, - get size() { - const target = this["__v_raw"]; - !readonly2 && track(toRaw(target), "iterate", ITERATE_KEY); - return target.size; - }, - has(key) { - const target = this["__v_raw"]; - const rawTarget = toRaw(target); - const rawKey = toRaw(key); - if (!readonly2) { - if (hasChanged(key, rawKey)) { - track(rawTarget, "has", key); - } - track(rawTarget, "has", rawKey); - } - return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey); - }, - forEach(callback, thisArg) { - const observed = this; - const target = observed["__v_raw"]; - const rawTarget = toRaw(target); - const wrap = shallow ? toShallow : readonly2 ? toReadonly : toReactive; - !readonly2 && track(rawTarget, "iterate", ITERATE_KEY); - return target.forEach((value, key) => { - return callback.call(thisArg, wrap(value), wrap(key), observed); - }); - } - }; - extend( - instrumentations, - readonly2 ? { - add: createReadonlyMethod("add"), - set: createReadonlyMethod("set"), - delete: createReadonlyMethod("delete"), - clear: createReadonlyMethod("clear") - } : { - add(value) { - const target = toRaw(this); - const proto = getProto(target); - const rawValue = toRaw(value); - const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value; - const hadKey = proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue); - if (!hadKey) { - target.add(valueToAdd); - trigger(target, "add", valueToAdd, valueToAdd); - } - return this; - }, - set(key, value) { - if (!shallow && !isShallow(value) && !isReadonly(value)) { - value = toRaw(value); - } - const target = toRaw(this); - const { has, get } = getProto(target); - let hadKey = has.call(target, key); - if (!hadKey) { - key = toRaw(key); - hadKey = has.call(target, key); - } else if (true) { - checkIdentityKeys(target, has, key); - } - const oldValue = get.call(target, key); - target.set(key, value); - if (!hadKey) { - trigger(target, "add", key, value); - } else if (hasChanged(value, oldValue)) { - trigger(target, "set", key, value, oldValue); - } - return this; - }, - delete(key) { - const target = toRaw(this); - const { has, get } = getProto(target); - let hadKey = has.call(target, key); - if (!hadKey) { - key = toRaw(key); - hadKey = has.call(target, key); - } else if (true) { - checkIdentityKeys(target, has, key); - } - const oldValue = get ? get.call(target, key) : void 0; - const result = target.delete(key); - if (hadKey) { - trigger(target, "delete", key, void 0, oldValue); - } - return result; - }, - clear() { - const target = toRaw(this); - const hadItems = target.size !== 0; - const oldTarget = true ? isMap(target) ? new Map(target) : new Set(target) : void 0; - const result = target.clear(); - if (hadItems) { - trigger( - target, - "clear", - void 0, - void 0, - oldTarget - ); - } - return result; - } - } - ); - const iteratorMethods = [ - "keys", - "values", - "entries", - Symbol.iterator - ]; - iteratorMethods.forEach((method) => { - instrumentations[method] = createIterableMethod(method, readonly2, shallow); - }); - return instrumentations; -} -function createInstrumentationGetter(isReadonly2, shallow) { - const instrumentations = createInstrumentations(isReadonly2, shallow); - return (target, key, receiver) => { - if (key === "__v_isReactive") { - return !isReadonly2; - } else if (key === "__v_isReadonly") { - return isReadonly2; - } else if (key === "__v_raw") { - return target; - } - return Reflect.get( - hasOwn(instrumentations, key) && key in target ? instrumentations : target, - key, - receiver - ); - }; -} -var mutableCollectionHandlers = { - get: createInstrumentationGetter(false, false) -}; -var shallowCollectionHandlers = { - get: createInstrumentationGetter(false, true) -}; -var readonlyCollectionHandlers = { - get: createInstrumentationGetter(true, false) -}; -var shallowReadonlyCollectionHandlers = { - get: createInstrumentationGetter(true, true) -}; -function checkIdentityKeys(target, has, key) { - const rawKey = toRaw(key); - if (rawKey !== key && has.call(target, rawKey)) { - const type = toRawType(target); - warn( - `Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.` - ); - } -} -var reactiveMap = /* @__PURE__ */ new WeakMap(); -var shallowReactiveMap = /* @__PURE__ */ new WeakMap(); -var readonlyMap = /* @__PURE__ */ new WeakMap(); -var shallowReadonlyMap = /* @__PURE__ */ new WeakMap(); -function targetTypeMap(rawType) { - switch (rawType) { - case "Object": - case "Array": - return 1; - case "Map": - case "Set": - case "WeakMap": - case "WeakSet": - return 2; - default: - return 0; - } -} -function getTargetType(value) { - return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value)); -} -function reactive(target) { - if (isReadonly(target)) { - return target; - } - return createReactiveObject( - target, - false, - mutableHandlers, - mutableCollectionHandlers, - reactiveMap - ); -} -function shallowReactive(target) { - return createReactiveObject( - target, - false, - shallowReactiveHandlers, - shallowCollectionHandlers, - shallowReactiveMap - ); -} -function readonly(target) { - return createReactiveObject( - target, - true, - readonlyHandlers, - readonlyCollectionHandlers, - readonlyMap - ); -} -function shallowReadonly(target) { - return createReactiveObject( - target, - true, - shallowReadonlyHandlers, - shallowReadonlyCollectionHandlers, - shallowReadonlyMap - ); -} -function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) { - if (!isObject(target)) { - if (true) { - warn( - `value cannot be made ${isReadonly2 ? "readonly" : "reactive"}: ${String( - target - )}` - ); - } - return target; - } - if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) { - return target; - } - const targetType = getTargetType(target); - if (targetType === 0) { - return target; - } - const existingProxy = proxyMap.get(target); - if (existingProxy) { - return existingProxy; - } - const proxy = new Proxy( - target, - targetType === 2 ? collectionHandlers : baseHandlers - ); - proxyMap.set(target, proxy); - return proxy; -} -function isReactive(value) { - if (isReadonly(value)) { - return isReactive(value["__v_raw"]); - } - return !!(value && value["__v_isReactive"]); -} -function isReadonly(value) { - return !!(value && value["__v_isReadonly"]); -} -function isShallow(value) { - return !!(value && value["__v_isShallow"]); -} -function isProxy(value) { - return value ? !!value["__v_raw"] : false; -} -function toRaw(observed) { - const raw = observed && observed["__v_raw"]; - return raw ? toRaw(raw) : observed; -} -function markRaw(value) { - if (!hasOwn(value, "__v_skip") && Object.isExtensible(value)) { - def(value, "__v_skip", true); - } - return value; -} -var toReactive = (value) => isObject(value) ? reactive(value) : value; -var toReadonly = (value) => isObject(value) ? readonly(value) : value; -function isRef2(r) { - return r ? r["__v_isRef"] === true : false; -} -function ref(value) { - return createRef(value, false); -} -function shallowRef(value) { - return createRef(value, true); -} -function createRef(rawValue, shallow) { - if (isRef2(rawValue)) { - return rawValue; - } - return new RefImpl(rawValue, shallow); -} -var RefImpl = class { - constructor(value, isShallow2) { - this.dep = new Dep(); - this["__v_isRef"] = true; - this["__v_isShallow"] = false; - this._rawValue = isShallow2 ? value : toRaw(value); - this._value = isShallow2 ? value : toReactive(value); - this["__v_isShallow"] = isShallow2; - } - get value() { - if (true) { - this.dep.track({ - target: this, - type: "get", - key: "value" - }); - } else { - this.dep.track(); - } - return this._value; - } - set value(newValue) { - const oldValue = this._rawValue; - const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue); - newValue = useDirectValue ? newValue : toRaw(newValue); - if (hasChanged(newValue, oldValue)) { - this._rawValue = newValue; - this._value = useDirectValue ? newValue : toReactive(newValue); - if (true) { - this.dep.trigger({ - target: this, - type: "set", - key: "value", - newValue, - oldValue - }); - } else { - this.dep.trigger(); - } - } - } -}; -function triggerRef(ref2) { - if (ref2.dep) { - if (true) { - ref2.dep.trigger({ - target: ref2, - type: "set", - key: "value", - newValue: ref2._value - }); - } else { - ref2.dep.trigger(); - } - } -} -function unref(ref2) { - return isRef2(ref2) ? ref2.value : ref2; -} -function toValue(source) { - return isFunction(source) ? source() : unref(source); -} -var shallowUnwrapHandlers = { - get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)), - set: (target, key, value, receiver) => { - const oldValue = target[key]; - if (isRef2(oldValue) && !isRef2(value)) { - oldValue.value = value; - return true; - } else { - return Reflect.set(target, key, value, receiver); - } - } -}; -function proxyRefs(objectWithRefs) { - return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers); -} -var CustomRefImpl = class { - constructor(factory) { - this["__v_isRef"] = true; - this._value = void 0; - const dep = this.dep = new Dep(); - const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep)); - this._get = get; - this._set = set; - } - get value() { - return this._value = this._get(); - } - set value(newVal) { - this._set(newVal); - } -}; -function customRef(factory) { - return new CustomRefImpl(factory); -} -function toRefs(object) { - if (!isProxy(object)) { - warn(`toRefs() expects a reactive object but received a plain one.`); - } - const ret = isArray(object) ? new Array(object.length) : {}; - for (const key in object) { - ret[key] = propertyToRef(object, key); - } - return ret; -} -var ObjectRefImpl = class { - constructor(_object, key, _defaultValue) { - this._object = _object; - this._defaultValue = _defaultValue; - this["__v_isRef"] = true; - this._value = void 0; - this._key = isSymbol(key) ? key : String(key); - this._raw = toRaw(_object); - let shallow = true; - let obj = _object; - if (!isArray(_object) || isSymbol(this._key) || !isIntegerKey(this._key)) { - do { - shallow = !isProxy(obj) || isShallow(obj); - } while (shallow && (obj = obj["__v_raw"])); - } - this._shallow = shallow; - } - get value() { - let val = this._object[this._key]; - if (this._shallow) { - val = unref(val); - } - return this._value = val === void 0 ? this._defaultValue : val; - } - set value(newVal) { - if (this._shallow && isRef2(this._raw[this._key])) { - const nestedRef = this._object[this._key]; - if (isRef2(nestedRef)) { - nestedRef.value = newVal; - return; - } - } - this._object[this._key] = newVal; - } - get dep() { - return getDepFromReactive(this._raw, this._key); - } -}; -var GetterRefImpl = class { - constructor(_getter) { - this._getter = _getter; - this["__v_isRef"] = true; - this["__v_isReadonly"] = true; - this._value = void 0; - } - get value() { - return this._value = this._getter(); - } -}; -function toRef(source, key, defaultValue) { - if (isRef2(source)) { - return source; - } else if (isFunction(source)) { - return new GetterRefImpl(source); - } else if (isObject(source) && arguments.length > 1) { - return propertyToRef(source, key, defaultValue); - } else { - return ref(source); - } -} -function propertyToRef(source, key, defaultValue) { - return new ObjectRefImpl(source, key, defaultValue); -} -var ComputedRefImpl = class { - constructor(fn, setter, isSSR) { - this.fn = fn; - this.setter = setter; - this._value = void 0; - this.dep = new Dep(this); - this.__v_isRef = true; - this.deps = void 0; - this.depsTail = void 0; - this.flags = 16; - this.globalVersion = globalVersion - 1; - this.next = void 0; - this.effect = this; - this["__v_isReadonly"] = !setter; - this.isSSR = isSSR; - } - /** - * @internal - */ - notify() { - this.flags |= 16; - if (!(this.flags & 8) && // avoid infinite self recursion - activeSub !== this) { - batch(this, true); - return true; - } else if (true) ; - } - get value() { - const link = true ? this.dep.track({ - target: this, - type: "get", - key: "value" - }) : this.dep.track(); - refreshComputed(this); - if (link) { - link.version = this.dep.version; - } - return this._value; - } - set value(newValue) { - if (this.setter) { - this.setter(newValue); - } else if (true) { - warn("Write operation failed: computed value is readonly"); - } - } -}; -function computed(getterOrOptions, debugOptions, isSSR = false) { - let getter; - let setter; - if (isFunction(getterOrOptions)) { - getter = getterOrOptions; - } else { - getter = getterOrOptions.get; - setter = getterOrOptions.set; - } - const cRef = new ComputedRefImpl(getter, setter, isSSR); - if (debugOptions && !isSSR) { - cRef.onTrack = debugOptions.onTrack; - cRef.onTrigger = debugOptions.onTrigger; - } - return cRef; -} -var TrackOpTypes = { - "GET": "get", - "HAS": "has", - "ITERATE": "iterate" -}; -var TriggerOpTypes = { - "SET": "set", - "ADD": "add", - "DELETE": "delete", - "CLEAR": "clear" -}; -var INITIAL_WATCHER_VALUE = {}; -var cleanupMap = /* @__PURE__ */ new WeakMap(); -var activeWatcher = void 0; -function getCurrentWatcher() { - return activeWatcher; -} -function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) { - if (owner) { - let cleanups = cleanupMap.get(owner); - if (!cleanups) cleanupMap.set(owner, cleanups = []); - cleanups.push(cleanupFn); - } else if (!failSilently) { - warn( - `onWatcherCleanup() was called when there was no active watcher to associate with.` - ); - } -} -function watch(source, cb, options = EMPTY_OBJ) { - const { immediate, deep, once, scheduler, augmentJob, call } = options; - const warnInvalidSource = (s) => { - (options.onWarn || warn)( - `Invalid watch source: `, - s, - `A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.` - ); - }; - const reactiveGetter = (source2) => { - if (deep) return source2; - if (isShallow(source2) || deep === false || deep === 0) - return traverse(source2, 1); - return traverse(source2); - }; - let effect2; - let getter; - let cleanup; - let boundCleanup; - let forceTrigger = false; - let isMultiSource = false; - if (isRef2(source)) { - getter = () => source.value; - forceTrigger = isShallow(source); - } else if (isReactive(source)) { - getter = () => reactiveGetter(source); - forceTrigger = true; - } else if (isArray(source)) { - isMultiSource = true; - forceTrigger = source.some((s) => isReactive(s) || isShallow(s)); - getter = () => source.map((s) => { - if (isRef2(s)) { - return s.value; - } else if (isReactive(s)) { - return reactiveGetter(s); - } else if (isFunction(s)) { - return call ? call(s, 2) : s(); - } else { - warnInvalidSource(s); - } - }); - } else if (isFunction(source)) { - if (cb) { - getter = call ? () => call(source, 2) : source; - } else { - getter = () => { - if (cleanup) { - pauseTracking(); - try { - cleanup(); - } finally { - resetTracking(); - } - } - const currentEffect = activeWatcher; - activeWatcher = effect2; - try { - return call ? call(source, 3, [boundCleanup]) : source(boundCleanup); - } finally { - activeWatcher = currentEffect; - } - }; - } - } else { - getter = NOOP; - warnInvalidSource(source); - } - if (cb && deep) { - const baseGetter = getter; - const depth = deep === true ? Infinity : deep; - getter = () => traverse(baseGetter(), depth); - } - const scope = getCurrentScope(); - const watchHandle = () => { - effect2.stop(); - if (scope && scope.active) { - remove(scope.effects, effect2); - } - }; - if (once && cb) { - const _cb = cb; - cb = (...args) => { - _cb(...args); - watchHandle(); - }; - } - let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE; - const job = (immediateFirstRun) => { - if (!(effect2.flags & 1) || !effect2.dirty && !immediateFirstRun) { - return; - } - if (cb) { - const newValue = effect2.run(); - if (deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => hasChanged(v, oldValue[i])) : hasChanged(newValue, oldValue))) { - if (cleanup) { - cleanup(); - } - const currentWatcher = activeWatcher; - activeWatcher = effect2; - try { - const args = [ - newValue, - // pass undefined as the old value when it's changed for the first time - oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue, - boundCleanup - ]; - oldValue = newValue; - call ? call(cb, 3, args) : ( - // @ts-expect-error - cb(...args) - ); - } finally { - activeWatcher = currentWatcher; - } - } - } else { - effect2.run(); - } - }; - if (augmentJob) { - augmentJob(job); - } - effect2 = new ReactiveEffect(getter); - effect2.scheduler = scheduler ? () => scheduler(job, false) : job; - boundCleanup = (fn) => onWatcherCleanup(fn, false, effect2); - cleanup = effect2.onStop = () => { - const cleanups = cleanupMap.get(effect2); - if (cleanups) { - if (call) { - call(cleanups, 4); - } else { - for (const cleanup2 of cleanups) cleanup2(); - } - cleanupMap.delete(effect2); - } - }; - if (true) { - effect2.onTrack = options.onTrack; - effect2.onTrigger = options.onTrigger; - } - if (cb) { - if (immediate) { - job(true); - } else { - oldValue = effect2.run(); - } - } else if (scheduler) { - scheduler(job.bind(null, true), true); - } else { - effect2.run(); - } - watchHandle.pause = effect2.pause.bind(effect2); - watchHandle.resume = effect2.resume.bind(effect2); - watchHandle.stop = watchHandle; - return watchHandle; -} -function traverse(value, depth = Infinity, seen) { - if (depth <= 0 || !isObject(value) || value["__v_skip"]) { - return value; - } - seen = seen || /* @__PURE__ */ new Map(); - if ((seen.get(value) || 0) >= depth) { - return value; - } - seen.set(value, depth); - depth--; - if (isRef2(value)) { - traverse(value.value, depth, seen); - } else if (isArray(value)) { - for (let i = 0; i < value.length; i++) { - traverse(value[i], depth, seen); - } - } else if (isSet(value) || isMap(value)) { - value.forEach((v) => { - traverse(v, depth, seen); - }); - } else if (isPlainObject(value)) { - for (const key in value) { - traverse(value[key], depth, seen); - } - for (const key of Object.getOwnPropertySymbols(value)) { - if (Object.prototype.propertyIsEnumerable.call(value, key)) { - traverse(value[key], depth, seen); - } - } - } - return value; -} - -// node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js -var stack = []; -function pushWarningContext(vnode) { - stack.push(vnode); -} -function popWarningContext() { - stack.pop(); -} -var isWarning = false; -function warn$1(msg, ...args) { - if (isWarning) return; - isWarning = true; - pauseTracking(); - const instance = stack.length ? stack[stack.length - 1].component : null; - const appWarnHandler = instance && instance.appContext.config.warnHandler; - const trace = getComponentTrace(); - if (appWarnHandler) { - callWithErrorHandling( - appWarnHandler, - instance, - 11, - [ - // eslint-disable-next-line no-restricted-syntax - msg + args.map((a) => { - var _a, _b; - return (_b = (_a = a.toString) == null ? void 0 : _a.call(a)) != null ? _b : JSON.stringify(a); - }).join(""), - instance && instance.proxy, - trace.map( - ({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>` - ).join("\n"), - trace - ] - ); - } else { - const warnArgs = [`[Vue warn]: ${msg}`, ...args]; - if (trace.length && // avoid spamming console during tests - true) { - warnArgs.push(` -`, ...formatTrace(trace)); - } - console.warn(...warnArgs); - } - resetTracking(); - isWarning = false; -} -function getComponentTrace() { - let currentVNode = stack[stack.length - 1]; - if (!currentVNode) { - return []; - } - const normalizedStack = []; - while (currentVNode) { - const last = normalizedStack[0]; - if (last && last.vnode === currentVNode) { - last.recurseCount++; - } else { - normalizedStack.push({ - vnode: currentVNode, - recurseCount: 0 - }); - } - const parentInstance = currentVNode.component && currentVNode.component.parent; - currentVNode = parentInstance && parentInstance.vnode; - } - return normalizedStack; -} -function formatTrace(trace) { - const logs = []; - trace.forEach((entry, i) => { - logs.push(...i === 0 ? [] : [` -`], ...formatTraceEntry(entry)); - }); - return logs; -} -function formatTraceEntry({ vnode, recurseCount }) { - const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``; - const isRoot = vnode.component ? vnode.component.parent == null : false; - const open = ` at <${formatComponentName( - vnode.component, - vnode.type, - isRoot - )}`; - const close = `>` + postfix; - return vnode.props ? [open, ...formatProps(vnode.props), close] : [open + close]; -} -function formatProps(props) { - const res = []; - const keys = Object.keys(props); - keys.slice(0, 3).forEach((key) => { - res.push(...formatProp(key, props[key])); - }); - if (keys.length > 3) { - res.push(` ...`); - } - return res; -} -function formatProp(key, value, raw) { - if (isString(value)) { - value = JSON.stringify(value); - return raw ? value : [`${key}=${value}`]; - } else if (typeof value === "number" || typeof value === "boolean" || value == null) { - return raw ? value : [`${key}=${value}`]; - } else if (isRef2(value)) { - value = formatProp(key, toRaw(value.value), true); - return raw ? value : [`${key}=Ref<`, value, `>`]; - } else if (isFunction(value)) { - return [`${key}=fn${value.name ? `<${value.name}>` : ``}`]; - } else { - value = toRaw(value); - return raw ? value : [`${key}=`, value]; - } -} -function assertNumber(val, type) { - if (false) return; - if (val === void 0) { - return; - } else if (typeof val !== "number") { - warn$1(`${type} is not a valid number - got ${JSON.stringify(val)}.`); - } else if (isNaN(val)) { - warn$1(`${type} is NaN - the duration expression might be incorrect.`); - } -} -var ErrorCodes = { - "SETUP_FUNCTION": 0, - "0": "SETUP_FUNCTION", - "RENDER_FUNCTION": 1, - "1": "RENDER_FUNCTION", - "NATIVE_EVENT_HANDLER": 5, - "5": "NATIVE_EVENT_HANDLER", - "COMPONENT_EVENT_HANDLER": 6, - "6": "COMPONENT_EVENT_HANDLER", - "VNODE_HOOK": 7, - "7": "VNODE_HOOK", - "DIRECTIVE_HOOK": 8, - "8": "DIRECTIVE_HOOK", - "TRANSITION_HOOK": 9, - "9": "TRANSITION_HOOK", - "APP_ERROR_HANDLER": 10, - "10": "APP_ERROR_HANDLER", - "APP_WARN_HANDLER": 11, - "11": "APP_WARN_HANDLER", - "FUNCTION_REF": 12, - "12": "FUNCTION_REF", - "ASYNC_COMPONENT_LOADER": 13, - "13": "ASYNC_COMPONENT_LOADER", - "SCHEDULER": 14, - "14": "SCHEDULER", - "COMPONENT_UPDATE": 15, - "15": "COMPONENT_UPDATE", - "APP_UNMOUNT_CLEANUP": 16, - "16": "APP_UNMOUNT_CLEANUP" -}; -var ErrorTypeStrings$1 = { - ["sp"]: "serverPrefetch hook", - ["bc"]: "beforeCreate hook", - ["c"]: "created hook", - ["bm"]: "beforeMount hook", - ["m"]: "mounted hook", - ["bu"]: "beforeUpdate hook", - ["u"]: "updated", - ["bum"]: "beforeUnmount hook", - ["um"]: "unmounted hook", - ["a"]: "activated hook", - ["da"]: "deactivated hook", - ["ec"]: "errorCaptured hook", - ["rtc"]: "renderTracked hook", - ["rtg"]: "renderTriggered hook", - [0]: "setup function", - [1]: "render function", - [2]: "watcher getter", - [3]: "watcher callback", - [4]: "watcher cleanup function", - [5]: "native event handler", - [6]: "component event handler", - [7]: "vnode hook", - [8]: "directive hook", - [9]: "transition hook", - [10]: "app errorHandler", - [11]: "app warnHandler", - [12]: "ref function", - [13]: "async component loader", - [14]: "scheduler flush", - [15]: "component update", - [16]: "app unmount cleanup function" -}; -function callWithErrorHandling(fn, instance, type, args) { - try { - return args ? fn(...args) : fn(); - } catch (err) { - handleError(err, instance, type); - } -} -function callWithAsyncErrorHandling(fn, instance, type, args) { - if (isFunction(fn)) { - const res = callWithErrorHandling(fn, instance, type, args); - if (res && isPromise(res)) { - res.catch((err) => { - handleError(err, instance, type); - }); - } - return res; - } - if (isArray(fn)) { - const values = []; - for (let i = 0; i < fn.length; i++) { - values.push(callWithAsyncErrorHandling(fn[i], instance, type, args)); - } - return values; - } else if (true) { - warn$1( - `Invalid value type passed to callWithAsyncErrorHandling(): ${typeof fn}` - ); - } -} -function handleError(err, instance, type, throwInDev = true) { - const contextVNode = instance ? instance.vnode : null; - const { errorHandler, throwUnhandledErrorInProduction } = instance && instance.appContext.config || EMPTY_OBJ; - if (instance) { - let cur = instance.parent; - const exposedInstance = instance.proxy; - const errorInfo = true ? ErrorTypeStrings$1[type] : `https://vuejs.org/error-reference/#runtime-${type}`; - while (cur) { - const errorCapturedHooks = cur.ec; - if (errorCapturedHooks) { - for (let i = 0; i < errorCapturedHooks.length; i++) { - if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) { - return; - } - } - } - cur = cur.parent; - } - if (errorHandler) { - pauseTracking(); - callWithErrorHandling(errorHandler, null, 10, [ - err, - exposedInstance, - errorInfo - ]); - resetTracking(); - return; - } - } - logError(err, type, contextVNode, throwInDev, throwUnhandledErrorInProduction); -} -function logError(err, type, contextVNode, throwInDev = true, throwInProd = false) { - if (true) { - const info = ErrorTypeStrings$1[type]; - if (contextVNode) { - pushWarningContext(contextVNode); - } - warn$1(`Unhandled error${info ? ` during execution of ${info}` : ``}`); - if (contextVNode) { - popWarningContext(); - } - if (throwInDev) { - throw err; - } else { - console.error(err); - } - } else if (throwInProd) { - throw err; - } else { - console.error(err); - } -} -var queue = []; -var flushIndex = -1; -var pendingPostFlushCbs = []; -var activePostFlushCbs = null; -var postFlushIndex = 0; -var resolvedPromise = Promise.resolve(); -var currentFlushPromise = null; -var RECURSION_LIMIT = 100; -function nextTick(fn) { - const p2 = currentFlushPromise || resolvedPromise; - return fn ? p2.then(this ? fn.bind(this) : fn) : p2; -} -function findInsertionIndex(id) { - let start = flushIndex + 1; - let end = queue.length; - while (start < end) { - const middle = start + end >>> 1; - const middleJob = queue[middle]; - const middleJobId = getId(middleJob); - if (middleJobId < id || middleJobId === id && middleJob.flags & 2) { - start = middle + 1; - } else { - end = middle; - } - } - return start; -} -function queueJob(job) { - if (!(job.flags & 1)) { - const jobId = getId(job); - const lastJob = queue[queue.length - 1]; - if (!lastJob || // fast path when the job id is larger than the tail - !(job.flags & 2) && jobId >= getId(lastJob)) { - queue.push(job); - } else { - queue.splice(findInsertionIndex(jobId), 0, job); - } - job.flags |= 1; - queueFlush(); - } -} -function queueFlush() { - if (!currentFlushPromise) { - currentFlushPromise = resolvedPromise.then(flushJobs); - } -} -function queuePostFlushCb(cb) { - if (!isArray(cb)) { - if (activePostFlushCbs && cb.id === -1) { - activePostFlushCbs.splice(postFlushIndex + 1, 0, cb); - } else if (!(cb.flags & 1)) { - pendingPostFlushCbs.push(cb); - cb.flags |= 1; - } - } else { - pendingPostFlushCbs.push(...cb); - } - queueFlush(); -} -function flushPreFlushCbs(instance, seen, i = flushIndex + 1) { - if (true) { - seen = seen || /* @__PURE__ */ new Map(); - } - for (; i < queue.length; i++) { - const cb = queue[i]; - if (cb && cb.flags & 2) { - if (instance && cb.id !== instance.uid) { - continue; - } - if (checkRecursiveUpdates(seen, cb)) { - continue; - } - queue.splice(i, 1); - i--; - if (cb.flags & 4) { - cb.flags &= -2; - } - cb(); - if (!(cb.flags & 4)) { - cb.flags &= -2; - } - } - } -} -function flushPostFlushCbs(seen) { - if (pendingPostFlushCbs.length) { - const deduped = [...new Set(pendingPostFlushCbs)].sort( - (a, b) => getId(a) - getId(b) - ); - pendingPostFlushCbs.length = 0; - if (activePostFlushCbs) { - activePostFlushCbs.push(...deduped); - return; - } - activePostFlushCbs = deduped; - if (true) { - seen = seen || /* @__PURE__ */ new Map(); - } - for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) { - const cb = activePostFlushCbs[postFlushIndex]; - if (checkRecursiveUpdates(seen, cb)) { - continue; - } - if (cb.flags & 4) { - cb.flags &= -2; - } - if (!(cb.flags & 8)) cb(); - cb.flags &= -2; - } - activePostFlushCbs = null; - postFlushIndex = 0; - } -} -var getId = (job) => job.id == null ? job.flags & 2 ? -1 : Infinity : job.id; -function flushJobs(seen) { - if (true) { - seen = seen || /* @__PURE__ */ new Map(); - } - const check = true ? (job) => checkRecursiveUpdates(seen, job) : NOOP; - try { - for (flushIndex = 0; flushIndex < queue.length; flushIndex++) { - const job = queue[flushIndex]; - if (job && !(job.flags & 8)) { - if (check(job)) { - continue; - } - if (job.flags & 4) { - job.flags &= ~1; - } - callWithErrorHandling( - job, - job.i, - job.i ? 15 : 14 - ); - if (!(job.flags & 4)) { - job.flags &= ~1; - } - } - } - } finally { - for (; flushIndex < queue.length; flushIndex++) { - const job = queue[flushIndex]; - if (job) { - job.flags &= -2; - } - } - flushIndex = -1; - queue.length = 0; - flushPostFlushCbs(seen); - currentFlushPromise = null; - if (queue.length || pendingPostFlushCbs.length) { - flushJobs(seen); - } - } -} -function checkRecursiveUpdates(seen, fn) { - const count = seen.get(fn) || 0; - if (count > RECURSION_LIMIT) { - const instance = fn.i; - const componentName = instance && getComponentName(instance.type); - handleError( - `Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`, - null, - 10 - ); - return true; - } - seen.set(fn, count + 1); - return false; -} -var isHmrUpdating = false; -var setHmrUpdating = (v) => { - try { - return isHmrUpdating; - } finally { - isHmrUpdating = v; - } -}; -var hmrDirtyComponents = /* @__PURE__ */ new Map(); -if (true) { - getGlobalThis().__VUE_HMR_RUNTIME__ = { - createRecord: tryWrap(createRecord), - rerender: tryWrap(rerender), - reload: tryWrap(reload) - }; -} -var map = /* @__PURE__ */ new Map(); -function registerHMR(instance) { - const id = instance.type.__hmrId; - let record = map.get(id); - if (!record) { - createRecord(id, instance.type); - record = map.get(id); - } - record.instances.add(instance); -} -function unregisterHMR(instance) { - map.get(instance.type.__hmrId).instances.delete(instance); -} -function createRecord(id, initialDef) { - if (map.has(id)) { - return false; - } - map.set(id, { - initialDef: normalizeClassComponent(initialDef), - instances: /* @__PURE__ */ new Set() - }); - return true; -} -function normalizeClassComponent(component) { - return isClassComponent(component) ? component.__vccOpts : component; -} -function rerender(id, newRender) { - const record = map.get(id); - if (!record) { - return; - } - record.initialDef.render = newRender; - [...record.instances].forEach((instance) => { - if (newRender) { - instance.render = newRender; - normalizeClassComponent(instance.type).render = newRender; - } - instance.renderCache = []; - isHmrUpdating = true; - if (!(instance.job.flags & 8)) { - instance.update(); - } - isHmrUpdating = false; - }); -} -function reload(id, newComp) { - const record = map.get(id); - if (!record) return; - newComp = normalizeClassComponent(newComp); - updateComponentDef(record.initialDef, newComp); - const instances = [...record.instances]; - for (let i = 0; i < instances.length; i++) { - const instance = instances[i]; - const oldComp = normalizeClassComponent(instance.type); - let dirtyInstances = hmrDirtyComponents.get(oldComp); - if (!dirtyInstances) { - if (oldComp !== record.initialDef) { - updateComponentDef(oldComp, newComp); - } - hmrDirtyComponents.set(oldComp, dirtyInstances = /* @__PURE__ */ new Set()); - } - dirtyInstances.add(instance); - instance.appContext.propsCache.delete(instance.type); - instance.appContext.emitsCache.delete(instance.type); - instance.appContext.optionsCache.delete(instance.type); - if (instance.ceReload) { - dirtyInstances.add(instance); - instance.ceReload(newComp.styles); - dirtyInstances.delete(instance); - } else if (instance.parent) { - queueJob(() => { - if (!(instance.job.flags & 8)) { - isHmrUpdating = true; - instance.parent.update(); - isHmrUpdating = false; - dirtyInstances.delete(instance); - } - }); - } else if (instance.appContext.reload) { - instance.appContext.reload(); - } else if (typeof window !== "undefined") { - window.location.reload(); - } else { - console.warn( - "[HMR] Root or manually mounted instance modified. Full reload required." - ); - } - if (instance.root.ce && instance !== instance.root) { - instance.root.ce._removeChildStyle(oldComp); - } - } - queuePostFlushCb(() => { - hmrDirtyComponents.clear(); - }); -} -function updateComponentDef(oldComp, newComp) { - extend(oldComp, newComp); - for (const key in oldComp) { - if (key !== "__file" && !(key in newComp)) { - delete oldComp[key]; - } - } -} -function tryWrap(fn) { - return (id, arg) => { - try { - return fn(id, arg); - } catch (e) { - console.error(e); - console.warn( - `[HMR] Something went wrong during Vue component hot-reload. Full reload required.` - ); - } - }; -} -var devtools$1; -var buffer = []; -var devtoolsNotInstalled = false; -function emit$1(event, ...args) { - if (devtools$1) { - devtools$1.emit(event, ...args); - } else if (!devtoolsNotInstalled) { - buffer.push({ event, args }); - } -} -function setDevtoolsHook$1(hook, target) { - var _a, _b; - devtools$1 = hook; - if (devtools$1) { - devtools$1.enabled = true; - buffer.forEach(({ event, args }) => devtools$1.emit(event, ...args)); - buffer = []; - } else if ( - // handle late devtools injection - only do this if we are in an actual - // browser environment to avoid the timer handle stalling test runner exit - // (#4815) - typeof window !== "undefined" && // some envs mock window but not fully - window.HTMLElement && // also exclude jsdom - // eslint-disable-next-line no-restricted-syntax - !((_b = (_a = window.navigator) == null ? void 0 : _a.userAgent) == null ? void 0 : _b.includes("jsdom")) - ) { - const replay = target.__VUE_DEVTOOLS_HOOK_REPLAY__ = target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []; - replay.push((newHook) => { - setDevtoolsHook$1(newHook, target); - }); - setTimeout(() => { - if (!devtools$1) { - target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null; - devtoolsNotInstalled = true; - buffer = []; - } - }, 3e3); - } else { - devtoolsNotInstalled = true; - buffer = []; - } -} -function devtoolsInitApp(app, version2) { - emit$1("app:init", app, version2, { - Fragment, - Text, - Comment, - Static - }); -} -function devtoolsUnmountApp(app) { - emit$1("app:unmount", app); -} -var devtoolsComponentAdded = createDevtoolsComponentHook( - "component:added" - /* COMPONENT_ADDED */ -); -var devtoolsComponentUpdated = createDevtoolsComponentHook( - "component:updated" - /* COMPONENT_UPDATED */ -); -var _devtoolsComponentRemoved = createDevtoolsComponentHook( - "component:removed" - /* COMPONENT_REMOVED */ -); -var devtoolsComponentRemoved = (component) => { - if (devtools$1 && typeof devtools$1.cleanupBuffer === "function" && // remove the component if it wasn't buffered - !devtools$1.cleanupBuffer(component)) { - _devtoolsComponentRemoved(component); - } -}; -function createDevtoolsComponentHook(hook) { - return (component) => { - emit$1( - hook, - component.appContext.app, - component.uid, - component.parent ? component.parent.uid : void 0, - component - ); - }; -} -var devtoolsPerfStart = createDevtoolsPerformanceHook( - "perf:start" - /* PERFORMANCE_START */ -); -var devtoolsPerfEnd = createDevtoolsPerformanceHook( - "perf:end" - /* PERFORMANCE_END */ -); -function createDevtoolsPerformanceHook(hook) { - return (component, type, time) => { - emit$1(hook, component.appContext.app, component.uid, component, type, time); - }; -} -function devtoolsComponentEmit(component, event, params) { - emit$1( - "component:emit", - component.appContext.app, - component, - event, - params - ); -} -var currentRenderingInstance = null; -var currentScopeId = null; -function setCurrentRenderingInstance(instance) { - const prev = currentRenderingInstance; - currentRenderingInstance = instance; - currentScopeId = instance && instance.type.__scopeId || null; - return prev; -} -function pushScopeId(id) { - currentScopeId = id; -} -function popScopeId() { - currentScopeId = null; -} -var withScopeId = (_id) => withCtx; -function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot) { - if (!ctx) return fn; - if (fn._n) { - return fn; - } - const renderFnWithContext = (...args) => { - if (renderFnWithContext._d) { - setBlockTracking(-1); - } - const prevInstance = setCurrentRenderingInstance(ctx); - let res; - try { - res = fn(...args); - } finally { - setCurrentRenderingInstance(prevInstance); - if (renderFnWithContext._d) { - setBlockTracking(1); - } - } - if (true) { - devtoolsComponentUpdated(ctx); - } - return res; - }; - renderFnWithContext._n = true; - renderFnWithContext._c = true; - renderFnWithContext._d = true; - return renderFnWithContext; -} -function validateDirectiveName(name) { - if (isBuiltInDirective(name)) { - warn$1("Do not use built-in directive ids as custom directive id: " + name); - } -} -function withDirectives(vnode, directives) { - if (currentRenderingInstance === null) { - warn$1(`withDirectives can only be used inside render functions.`); - return vnode; - } - const instance = getComponentPublicInstance(currentRenderingInstance); - const bindings = vnode.dirs || (vnode.dirs = []); - for (let i = 0; i < directives.length; i++) { - let [dir, value, arg, modifiers = EMPTY_OBJ] = directives[i]; - if (dir) { - if (isFunction(dir)) { - dir = { - mounted: dir, - updated: dir - }; - } - if (dir.deep) { - traverse(value); - } - bindings.push({ - dir, - instance, - value, - oldValue: void 0, - arg, - modifiers - }); - } - } - return vnode; -} -function invokeDirectiveHook(vnode, prevVNode, instance, name) { - const bindings = vnode.dirs; - const oldBindings = prevVNode && prevVNode.dirs; - for (let i = 0; i < bindings.length; i++) { - const binding = bindings[i]; - if (oldBindings) { - binding.oldValue = oldBindings[i].value; - } - let hook = binding.dir[name]; - if (hook) { - pauseTracking(); - callWithAsyncErrorHandling(hook, instance, 8, [ - vnode.el, - binding, - vnode, - prevVNode - ]); - resetTracking(); - } - } -} -function provide(key, value) { - if (true) { - if (!currentInstance || currentInstance.isMounted) { - warn$1(`provide() can only be used inside setup().`); - } - } - if (currentInstance) { - let provides = currentInstance.provides; - const parentProvides = currentInstance.parent && currentInstance.parent.provides; - if (parentProvides === provides) { - provides = currentInstance.provides = Object.create(parentProvides); - } - provides[key] = value; - } -} -function inject(key, defaultValue, treatDefaultAsFactory = false) { - const instance = getCurrentInstance(); - if (instance || currentApp) { - let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0; - if (provides && key in provides) { - return provides[key]; - } else if (arguments.length > 1) { - return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue; - } else if (true) { - warn$1(`injection "${String(key)}" not found.`); - } - } else if (true) { - warn$1(`inject() can only be used inside setup() or functional components.`); - } -} -function hasInjectionContext() { - return !!(getCurrentInstance() || currentApp); -} -var ssrContextKey = Symbol.for("v-scx"); -var useSSRContext = () => { - { - const ctx = inject(ssrContextKey); - if (!ctx) { - warn$1( - `Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build.` - ); - } - return ctx; - } -}; -function watchEffect(effect2, options) { - return doWatch(effect2, null, options); -} -function watchPostEffect(effect2, options) { - return doWatch( - effect2, - null, - true ? extend({}, options, { flush: "post" }) : { flush: "post" } - ); -} -function watchSyncEffect(effect2, options) { - return doWatch( - effect2, - null, - true ? extend({}, options, { flush: "sync" }) : { flush: "sync" } - ); -} -function watch2(source, cb, options) { - if (!isFunction(cb)) { - warn$1( - `\`watch(fn, options?)\` signature has been moved to a separate API. Use \`watchEffect(fn, options?)\` instead. \`watch\` now only supports \`watch(source, cb, options?) signature.` - ); - } - return doWatch(source, cb, options); -} -function doWatch(source, cb, options = EMPTY_OBJ) { - const { immediate, deep, flush, once } = options; - if (!cb) { - if (immediate !== void 0) { - warn$1( - `watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - if (deep !== void 0) { - warn$1( - `watch() "deep" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - if (once !== void 0) { - warn$1( - `watch() "once" option is only respected when using the watch(source, callback, options?) signature.` - ); - } - } - const baseWatchOptions = extend({}, options); - if (true) baseWatchOptions.onWarn = warn$1; - const runsImmediately = cb && immediate || !cb && flush !== "post"; - let ssrCleanup; - if (isInSSRComponentSetup) { - if (flush === "sync") { - const ctx = useSSRContext(); - ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []); - } else if (!runsImmediately) { - const watchStopHandle = () => { - }; - watchStopHandle.stop = NOOP; - watchStopHandle.resume = NOOP; - watchStopHandle.pause = NOOP; - return watchStopHandle; - } - } - const instance = currentInstance; - baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args); - let isPre = false; - if (flush === "post") { - baseWatchOptions.scheduler = (job) => { - queuePostRenderEffect(job, instance && instance.suspense); - }; - } else if (flush !== "sync") { - isPre = true; - baseWatchOptions.scheduler = (job, isFirstRun) => { - if (isFirstRun) { - job(); - } else { - queueJob(job); - } - }; - } - baseWatchOptions.augmentJob = (job) => { - if (cb) { - job.flags |= 4; - } - if (isPre) { - job.flags |= 2; - if (instance) { - job.id = instance.uid; - job.i = instance; - } - } - }; - const watchHandle = watch(source, cb, baseWatchOptions); - if (isInSSRComponentSetup) { - if (ssrCleanup) { - ssrCleanup.push(watchHandle); - } else if (runsImmediately) { - watchHandle(); - } - } - return watchHandle; -} -function instanceWatch(source, value, options) { - const publicThis = this.proxy; - const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis); - let cb; - if (isFunction(value)) { - cb = value; - } else { - cb = value.handler; - options = value; - } - const reset = setCurrentInstance(this); - const res = doWatch(getter, cb.bind(publicThis), options); - reset(); - return res; -} -function createPathGetter(ctx, path) { - const segments = path.split("."); - return () => { - let cur = ctx; - for (let i = 0; i < segments.length && cur; i++) { - cur = cur[segments[i]]; - } - return cur; - }; -} -var pendingMounts = /* @__PURE__ */ new WeakMap(); -var TeleportEndKey = Symbol("_vte"); -var isTeleport = (type) => type.__isTeleport; -var isTeleportDisabled = (props) => props && (props.disabled || props.disabled === ""); -var isTeleportDeferred = (props) => props && (props.defer || props.defer === ""); -var isTargetSVG = (target) => typeof SVGElement !== "undefined" && target instanceof SVGElement; -var isTargetMathML = (target) => typeof MathMLElement === "function" && target instanceof MathMLElement; -var resolveTarget = (props, select) => { - const targetSelector = props && props.to; - if (isString(targetSelector)) { - if (!select) { - warn$1( - `Current renderer does not support string target for Teleports. (missing querySelector renderer option)` - ); - return null; - } else { - const target = select(targetSelector); - if (!target && !isTeleportDisabled(props)) { - warn$1( - `Failed to locate Teleport target with selector "${targetSelector}". Note the target element must exist before the component is mounted - i.e. the target cannot be rendered by the component itself, and ideally should be outside of the entire Vue component tree.` - ); - } - return target; - } - } else { - if (!targetSelector && !isTeleportDisabled(props)) { - warn$1(`Invalid Teleport target: ${targetSelector}`); - } - return targetSelector; - } -}; -var TeleportImpl = { - name: "Teleport", - __isTeleport: true, - process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, internals) { - const { - mc: mountChildren, - pc: patchChildren, - pbc: patchBlockChildren, - o: { insert, querySelector, createText, createComment, parentNode } - } = internals; - const disabled = isTeleportDisabled(n2.props); - let { dynamicChildren } = n2; - if (isHmrUpdating) { - optimized = false; - dynamicChildren = null; - } - const mount = (vnode, container2, anchor2) => { - if (vnode.shapeFlag & 16) { - mountChildren( - vnode.children, - container2, - anchor2, - parentComponent, - parentSuspense, - namespace, - slotScopeIds, - optimized - ); - } - }; - const mountToTarget = (vnode = n2) => { - const disabled2 = isTeleportDisabled(vnode.props); - const target = vnode.target = resolveTarget(vnode.props, querySelector); - const targetAnchor = prepareAnchor(target, vnode, createText, insert); - if (target) { - if (namespace !== "svg" && isTargetSVG(target)) { - namespace = "svg"; - } else if (namespace !== "mathml" && isTargetMathML(target)) { - namespace = "mathml"; - } - if (parentComponent && parentComponent.isCE) { - (parentComponent.ce._teleportTargets || (parentComponent.ce._teleportTargets = /* @__PURE__ */ new Set())).add(target); - } - if (!disabled2) { - mount(vnode, target, targetAnchor); - updateCssVars(vnode, false); - } - } else if (!disabled2) { - warn$1("Invalid Teleport target on mount:", target, `(${typeof target})`); - } - }; - const queuePendingMount = (vnode) => { - const mountJob = () => { - if (pendingMounts.get(vnode) !== mountJob) return; - pendingMounts.delete(vnode); - if (isTeleportDisabled(vnode.props)) { - const mountContainer = parentNode(vnode.el) || container; - mount(vnode, mountContainer, vnode.anchor); - updateCssVars(vnode, true); - } - mountToTarget(vnode); - }; - pendingMounts.set(vnode, mountJob); - queuePostRenderEffect(mountJob, parentSuspense); - }; - if (n1 == null) { - const placeholder = n2.el = true ? createComment("teleport start") : createText(""); - const mainAnchor = n2.anchor = true ? createComment("teleport end") : createText(""); - insert(placeholder, container, anchor); - insert(mainAnchor, container, anchor); - if (isTeleportDeferred(n2.props) || parentSuspense && parentSuspense.pendingBranch) { - queuePendingMount(n2); - return; - } - if (disabled) { - mount(n2, container, mainAnchor); - updateCssVars(n2, true); - } - mountToTarget(); - } else { - n2.el = n1.el; - const mainAnchor = n2.anchor = n1.anchor; - const pendingMount = pendingMounts.get(n1); - if (pendingMount) { - pendingMount.flags |= 8; - pendingMounts.delete(n1); - queuePendingMount(n2); - return; - } - n2.targetStart = n1.targetStart; - const target = n2.target = n1.target; - const targetAnchor = n2.targetAnchor = n1.targetAnchor; - const wasDisabled = isTeleportDisabled(n1.props); - const currentContainer = wasDisabled ? container : target; - const currentAnchor = wasDisabled ? mainAnchor : targetAnchor; - if (namespace === "svg" || isTargetSVG(target)) { - namespace = "svg"; - } else if (namespace === "mathml" || isTargetMathML(target)) { - namespace = "mathml"; - } - if (dynamicChildren) { - patchBlockChildren( - n1.dynamicChildren, - dynamicChildren, - currentContainer, - parentComponent, - parentSuspense, - namespace, - slotScopeIds - ); - traverseStaticChildren(n1, n2, false); - } else if (!optimized) { - patchChildren( - n1, - n2, - currentContainer, - currentAnchor, - parentComponent, - parentSuspense, - namespace, - slotScopeIds, - false - ); - } - if (disabled) { - if (!wasDisabled) { - moveTeleport( - n2, - container, - mainAnchor, - internals, - 1 - ); - } else { - if (n2.props && n1.props && n2.props.to !== n1.props.to) { - n2.props.to = n1.props.to; - } - } - } else { - if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) { - const nextTarget = n2.target = resolveTarget( - n2.props, - querySelector - ); - if (nextTarget) { - moveTeleport( - n2, - nextTarget, - null, - internals, - 0 - ); - } else if (true) { - warn$1( - "Invalid Teleport target on update:", - target, - `(${typeof target})` - ); - } - } else if (wasDisabled) { - moveTeleport( - n2, - target, - targetAnchor, - internals, - 1 - ); - } - } - updateCssVars(n2, disabled); - } - }, - remove(vnode, parentComponent, parentSuspense, { um: unmount, o: { remove: hostRemove } }, doRemove) { - const { - shapeFlag, - children, - anchor, - targetStart, - targetAnchor, - target, - props - } = vnode; - let shouldRemove = doRemove || !isTeleportDisabled(props); - const pendingMount = pendingMounts.get(vnode); - if (pendingMount) { - pendingMount.flags |= 8; - pendingMounts.delete(vnode); - shouldRemove = false; - } - if (target) { - hostRemove(targetStart); - hostRemove(targetAnchor); - } - doRemove && hostRemove(anchor); - if (shapeFlag & 16) { - for (let i = 0; i < children.length; i++) { - const child = children[i]; - unmount( - child, - parentComponent, - parentSuspense, - shouldRemove, - !!child.dynamicChildren - ); - } - } - }, - move: moveTeleport, - hydrate: hydrateTeleport -}; -function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2) { - if (moveType === 0) { - insert(vnode.targetAnchor, container, parentAnchor); - } - const { el, anchor, shapeFlag, children, props } = vnode; - const isReorder = moveType === 2; - if (isReorder) { - insert(el, container, parentAnchor); - } - if (!pendingMounts.has(vnode) && (!isReorder || isTeleportDisabled(props))) { - if (shapeFlag & 16) { - for (let i = 0; i < children.length; i++) { - move( - children[i], - container, - parentAnchor, - 2 - ); - } - } - } - if (isReorder) { - insert(anchor, container, parentAnchor); - } -} -function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { - o: { nextSibling, parentNode, querySelector, insert, createText } -}, hydrateChildren) { - function hydrateAnchor(target2, targetNode) { - let targetAnchor = targetNode; - while (targetAnchor) { - if (targetAnchor && targetAnchor.nodeType === 8) { - if (targetAnchor.data === "teleport start anchor") { - vnode.targetStart = targetAnchor; - } else if (targetAnchor.data === "teleport anchor") { - vnode.targetAnchor = targetAnchor; - target2._lpa = vnode.targetAnchor && nextSibling(vnode.targetAnchor); - break; - } - } - targetAnchor = nextSibling(targetAnchor); - } - } - function hydrateDisabledTeleport(node2, vnode2) { - vnode2.anchor = hydrateChildren( - nextSibling(node2), - vnode2, - parentNode(node2), - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - } - const target = vnode.target = resolveTarget( - vnode.props, - querySelector - ); - const disabled = isTeleportDisabled(vnode.props); - if (target) { - const targetNode = target._lpa || target.firstChild; - if (vnode.shapeFlag & 16) { - if (disabled) { - hydrateDisabledTeleport(node, vnode); - hydrateAnchor(target, targetNode); - if (!vnode.targetAnchor) { - prepareAnchor( - target, - vnode, - createText, - insert, - // if target is the same as the main view, insert anchors before current node - // to avoid hydrating mismatch - parentNode(node) === target ? node : null - ); - } - } else { - vnode.anchor = nextSibling(node); - hydrateAnchor(target, targetNode); - if (!vnode.targetAnchor) { - prepareAnchor(target, vnode, createText, insert); - } - hydrateChildren( - targetNode && nextSibling(targetNode), - vnode, - target, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - } - } - updateCssVars(vnode, disabled); - } else if (disabled) { - if (vnode.shapeFlag & 16) { - hydrateDisabledTeleport(node, vnode); - vnode.targetStart = node; - vnode.targetAnchor = nextSibling(node); - } - } - return vnode.anchor && nextSibling(vnode.anchor); -} -var Teleport = TeleportImpl; -function updateCssVars(vnode, isDisabled) { - const ctx = vnode.ctx; - if (ctx && ctx.ut) { - let node, anchor; - if (isDisabled) { - node = vnode.el; - anchor = vnode.anchor; - } else { - node = vnode.targetStart; - anchor = vnode.targetAnchor; - } - while (node && node !== anchor) { - if (node.nodeType === 1) node.setAttribute("data-v-owner", ctx.uid); - node = node.nextSibling; - } - ctx.ut(); - } -} -function prepareAnchor(target, vnode, createText, insert, anchor = null) { - const targetStart = vnode.targetStart = createText(""); - const targetAnchor = vnode.targetAnchor = createText(""); - targetStart[TeleportEndKey] = targetAnchor; - if (target) { - insert(targetStart, target, anchor); - insert(targetAnchor, target, anchor); - } - return targetAnchor; -} -var leaveCbKey = Symbol("_leaveCb"); -var enterCbKey = Symbol("_enterCb"); -function useTransitionState() { - const state = { - isMounted: false, - isLeaving: false, - isUnmounting: false, - leavingVNodes: /* @__PURE__ */ new Map() - }; - onMounted(() => { - state.isMounted = true; - }); - onBeforeUnmount(() => { - state.isUnmounting = true; - }); - return state; -} -var TransitionHookValidator = [Function, Array]; -var BaseTransitionPropsValidators = { - mode: String, - appear: Boolean, - persisted: Boolean, - // enter - onBeforeEnter: TransitionHookValidator, - onEnter: TransitionHookValidator, - onAfterEnter: TransitionHookValidator, - onEnterCancelled: TransitionHookValidator, - // leave - onBeforeLeave: TransitionHookValidator, - onLeave: TransitionHookValidator, - onAfterLeave: TransitionHookValidator, - onLeaveCancelled: TransitionHookValidator, - // appear - onBeforeAppear: TransitionHookValidator, - onAppear: TransitionHookValidator, - onAfterAppear: TransitionHookValidator, - onAppearCancelled: TransitionHookValidator -}; -var recursiveGetSubtree = (instance) => { - const subTree = instance.subTree; - return subTree.component ? recursiveGetSubtree(subTree.component) : subTree; -}; -var BaseTransitionImpl = { - name: `BaseTransition`, - props: BaseTransitionPropsValidators, - setup(props, { slots }) { - const instance = getCurrentInstance(); - const state = useTransitionState(); - return () => { - const children = slots.default && getTransitionRawChildren(slots.default(), true); - const child = children && children.length ? findNonCommentChild(children) : ( - // Keep explicit default-slot conditionals on the same transition path - // as regular v-if branches, which render a comment placeholder. - instance.subTree ? createCommentVNode() : void 0 - ); - if (!child) { - return; - } - const rawProps = toRaw(props); - const { mode } = rawProps; - if (mode && mode !== "in-out" && mode !== "out-in" && mode !== "default") { - warn$1(`invalid mode: ${mode}`); - } - if (state.isLeaving) { - return emptyPlaceholder(child); - } - const innerChild = getInnerChild$1(child); - if (!innerChild) { - return emptyPlaceholder(child); - } - let enterHooks = resolveTransitionHooks( - innerChild, - rawProps, - state, - instance, - // #11061, ensure enterHooks is fresh after clone - (hooks) => enterHooks = hooks - ); - if (innerChild.type !== Comment) { - setTransitionHooks(innerChild, enterHooks); - } - let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree); - if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) { - let leavingHooks = resolveTransitionHooks( - oldInnerChild, - rawProps, - state, - instance - ); - setTransitionHooks(oldInnerChild, leavingHooks); - if (mode === "out-in" && innerChild.type !== Comment) { - state.isLeaving = true; - leavingHooks.afterLeave = () => { - state.isLeaving = false; - if (!(instance.job.flags & 8)) { - instance.update(); - } - delete leavingHooks.afterLeave; - oldInnerChild = void 0; - }; - return emptyPlaceholder(child); - } else if (mode === "in-out" && innerChild.type !== Comment) { - leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => { - const leavingVNodesCache = getLeavingNodesForType( - state, - oldInnerChild - ); - leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild; - el[leaveCbKey] = () => { - earlyRemove(); - el[leaveCbKey] = void 0; - delete enterHooks.delayedLeave; - oldInnerChild = void 0; - }; - enterHooks.delayedLeave = () => { - delayedLeave(); - delete enterHooks.delayedLeave; - oldInnerChild = void 0; - }; - }; - } else { - oldInnerChild = void 0; - } - } else if (oldInnerChild) { - oldInnerChild = void 0; - } - return child; - }; - } -}; -function findNonCommentChild(children) { - let child = children[0]; - if (children.length > 1) { - let hasFound = false; - for (const c of children) { - if (c.type !== Comment) { - if (hasFound) { - warn$1( - " can only be used on a single element or component. Use for lists." - ); - break; - } - child = c; - hasFound = true; - if (false) break; - } - } - } - return child; -} -var BaseTransition = BaseTransitionImpl; -function getLeavingNodesForType(state, vnode) { - const { leavingVNodes } = state; - let leavingVNodesCache = leavingVNodes.get(vnode.type); - if (!leavingVNodesCache) { - leavingVNodesCache = /* @__PURE__ */ Object.create(null); - leavingVNodes.set(vnode.type, leavingVNodesCache); - } - return leavingVNodesCache; -} -function resolveTransitionHooks(vnode, props, state, instance, postClone) { - const { - appear, - mode, - persisted = false, - onBeforeEnter, - onEnter, - onAfterEnter, - onEnterCancelled, - onBeforeLeave, - onLeave, - onAfterLeave, - onLeaveCancelled, - onBeforeAppear, - onAppear, - onAfterAppear, - onAppearCancelled - } = props; - const key = String(vnode.key); - const leavingVNodesCache = getLeavingNodesForType(state, vnode); - const callHook3 = (hook, args) => { - hook && callWithAsyncErrorHandling( - hook, - instance, - 9, - args - ); - }; - const callAsyncHook = (hook, args) => { - const done = args[1]; - callHook3(hook, args); - if (isArray(hook)) { - if (hook.every((hook2) => hook2.length <= 1)) done(); - } else if (hook.length <= 1) { - done(); - } - }; - const hooks = { - mode, - persisted, - beforeEnter(el) { - let hook = onBeforeEnter; - if (!state.isMounted) { - if (appear) { - hook = onBeforeAppear || onBeforeEnter; - } else { - return; - } - } - if (el[leaveCbKey]) { - el[leaveCbKey]( - true - /* cancelled */ - ); - } - const leavingVNode = leavingVNodesCache[key]; - if (leavingVNode && isSameVNodeType(vnode, leavingVNode) && leavingVNode.el[leaveCbKey]) { - leavingVNode.el[leaveCbKey](); - } - callHook3(hook, [el]); - }, - enter(el) { - if (!isHmrUpdating && leavingVNodesCache[key] === vnode) return; - let hook = onEnter; - let afterHook = onAfterEnter; - let cancelHook = onEnterCancelled; - if (!state.isMounted) { - if (appear) { - hook = onAppear || onEnter; - afterHook = onAfterAppear || onAfterEnter; - cancelHook = onAppearCancelled || onEnterCancelled; - } else { - return; - } - } - let called = false; - el[enterCbKey] = (cancelled) => { - if (called) return; - called = true; - if (cancelled) { - callHook3(cancelHook, [el]); - } else { - callHook3(afterHook, [el]); - } - if (hooks.delayedLeave) { - hooks.delayedLeave(); - } - el[enterCbKey] = void 0; - }; - const done = el[enterCbKey].bind(null, false); - if (hook) { - callAsyncHook(hook, [el, done]); - } else { - done(); - } - }, - leave(el, remove2) { - const key2 = String(vnode.key); - if (el[enterCbKey]) { - el[enterCbKey]( - true - /* cancelled */ - ); - } - if (state.isUnmounting) { - return remove2(); - } - callHook3(onBeforeLeave, [el]); - let called = false; - el[leaveCbKey] = (cancelled) => { - if (called) return; - called = true; - remove2(); - if (cancelled) { - callHook3(onLeaveCancelled, [el]); - } else { - callHook3(onAfterLeave, [el]); - } - el[leaveCbKey] = void 0; - if (leavingVNodesCache[key2] === vnode) { - delete leavingVNodesCache[key2]; - } - }; - const done = el[leaveCbKey].bind(null, false); - leavingVNodesCache[key2] = vnode; - if (onLeave) { - callAsyncHook(onLeave, [el, done]); - } else { - done(); - } - }, - clone(vnode2) { - const hooks2 = resolveTransitionHooks( - vnode2, - props, - state, - instance, - postClone - ); - if (postClone) postClone(hooks2); - return hooks2; - } - }; - return hooks; -} -function emptyPlaceholder(vnode) { - if (isKeepAlive(vnode)) { - vnode = cloneVNode(vnode); - vnode.children = null; - return vnode; - } -} -function getInnerChild$1(vnode) { - if (!isKeepAlive(vnode)) { - if (isTeleport(vnode.type) && vnode.children) { - return findNonCommentChild(vnode.children); - } - return vnode; - } - if (vnode.component) { - return vnode.component.subTree; - } - const { shapeFlag, children } = vnode; - if (children) { - if (shapeFlag & 16) { - return children[0]; - } - if (shapeFlag & 32 && isFunction(children.default)) { - return children.default(); - } - } -} -function setTransitionHooks(vnode, hooks) { - if (vnode.shapeFlag & 6 && vnode.component) { - vnode.transition = hooks; - setTransitionHooks(vnode.component.subTree, hooks); - } else if (vnode.shapeFlag & 128) { - vnode.ssContent.transition = hooks.clone(vnode.ssContent); - vnode.ssFallback.transition = hooks.clone(vnode.ssFallback); - } else { - vnode.transition = hooks; - } -} -function getTransitionRawChildren(children, keepComment = false, parentKey) { - let ret = []; - let keyedFragmentCount = 0; - for (let i = 0; i < children.length; i++) { - let child = children[i]; - const key = parentKey == null ? child.key : String(parentKey) + String(child.key != null ? child.key : i); - if (child.type === Fragment) { - if (child.patchFlag & 128) keyedFragmentCount++; - ret = ret.concat( - getTransitionRawChildren(child.children, keepComment, key) - ); - } else if (keepComment || child.type !== Comment) { - ret.push(key != null ? cloneVNode(child, { key }) : child); - } - } - if (keyedFragmentCount > 1) { - for (let i = 0; i < ret.length; i++) { - ret[i].patchFlag = -2; - } - } - return ret; -} -function defineComponent(options, extraOptions) { - return isFunction(options) ? ( - // #8236: extend call and options.name access are considered side-effects - // by Rollup, so we have to wrap it in a pure-annotated IIFE. - (() => extend({ name: options.name }, extraOptions, { setup: options }))() - ) : options; -} -function useId() { - const i = getCurrentInstance(); - if (i) { - return (i.appContext.config.idPrefix || "v") + "-" + i.ids[0] + i.ids[1]++; - } else if (true) { - warn$1( - `useId() is called when there is no active component instance to be associated with.` - ); - } - return ""; -} -function markAsyncBoundary(instance) { - instance.ids = [instance.ids[0] + instance.ids[2]++ + "-", 0, 0]; -} -var knownTemplateRefs = /* @__PURE__ */ new WeakSet(); -function useTemplateRef(key) { - const i = getCurrentInstance(); - const r = shallowRef(null); - if (i) { - const refs = i.refs === EMPTY_OBJ ? i.refs = {} : i.refs; - if (isTemplateRefKey(refs, key)) { - warn$1(`useTemplateRef('${key}') already exists.`); - } else { - Object.defineProperty(refs, key, { - enumerable: true, - get: () => r.value, - set: (val) => r.value = val - }); - } - } else if (true) { - warn$1( - `useTemplateRef() is called when there is no active component instance to be associated with.` - ); - } - const ret = true ? readonly(r) : r; - if (true) { - knownTemplateRefs.add(ret); - } - return ret; -} -function isTemplateRefKey(refs, key) { - let desc; - return !!((desc = Object.getOwnPropertyDescriptor(refs, key)) && !desc.configurable); -} -var pendingSetRefMap = /* @__PURE__ */ new WeakMap(); -function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) { - if (isArray(rawRef)) { - rawRef.forEach( - (r, i) => setRef( - r, - oldRawRef && (isArray(oldRawRef) ? oldRawRef[i] : oldRawRef), - parentSuspense, - vnode, - isUnmount - ) - ); - return; - } - if (isAsyncWrapper(vnode) && !isUnmount) { - if (vnode.shapeFlag & 512 && vnode.type.__asyncResolved && vnode.component.subTree.component) { - setRef(rawRef, oldRawRef, parentSuspense, vnode.component.subTree); - } - return; - } - const refValue = vnode.shapeFlag & 4 ? getComponentPublicInstance(vnode.component) : vnode.el; - const value = isUnmount ? null : refValue; - const { i: owner, r: ref2 } = rawRef; - if (!owner) { - warn$1( - `Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.` - ); - return; - } - const oldRef = oldRawRef && oldRawRef.r; - const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs; - const setupState = owner.setupState; - const rawSetupState = toRaw(setupState); - const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => { - if (true) { - if (hasOwn(rawSetupState, key) && !isRef2(rawSetupState[key])) { - warn$1( - `Template ref "${key}" used on a non-ref value. It will not work in the production build.` - ); - } - if (knownTemplateRefs.has(rawSetupState[key])) { - return false; - } - } - if (isTemplateRefKey(refs, key)) { - return false; - } - return hasOwn(rawSetupState, key); - }; - const canSetRef = (ref22, key) => { - if (knownTemplateRefs.has(ref22)) { - return false; - } - if (key && isTemplateRefKey(refs, key)) { - return false; - } - return true; - }; - if (oldRef != null && oldRef !== ref2) { - invalidatePendingSetRef(oldRawRef); - if (isString(oldRef)) { - refs[oldRef] = null; - if (canSetSetupRef(oldRef)) { - setupState[oldRef] = null; - } - } else if (isRef2(oldRef)) { - const oldRawRefAtom = oldRawRef; - if (canSetRef(oldRef, oldRawRefAtom.k)) { - oldRef.value = null; - } - if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null; - } - } - if (isFunction(ref2)) { - callWithErrorHandling(ref2, owner, 12, [value, refs]); - } else { - const _isString = isString(ref2); - const _isRef = isRef2(ref2); - if (_isString || _isRef) { - const doSet = () => { - if (rawRef.f) { - const existing = _isString ? canSetSetupRef(ref2) ? setupState[ref2] : refs[ref2] : canSetRef(ref2) || !rawRef.k ? ref2.value : refs[rawRef.k]; - if (isUnmount) { - isArray(existing) && remove(existing, refValue); - } else { - if (!isArray(existing)) { - if (_isString) { - refs[ref2] = [refValue]; - if (canSetSetupRef(ref2)) { - setupState[ref2] = refs[ref2]; - } - } else { - const newVal = [refValue]; - if (canSetRef(ref2, rawRef.k)) { - ref2.value = newVal; - } - if (rawRef.k) refs[rawRef.k] = newVal; - } - } else if (!existing.includes(refValue)) { - existing.push(refValue); - } - } - } else if (_isString) { - refs[ref2] = value; - if (canSetSetupRef(ref2)) { - setupState[ref2] = value; - } - } else if (_isRef) { - if (canSetRef(ref2, rawRef.k)) { - ref2.value = value; - } - if (rawRef.k) refs[rawRef.k] = value; - } else if (true) { - warn$1("Invalid template ref type:", ref2, `(${typeof ref2})`); - } - }; - if (value) { - const job = () => { - doSet(); - pendingSetRefMap.delete(rawRef); - }; - job.id = -1; - pendingSetRefMap.set(rawRef, job); - queuePostRenderEffect(job, parentSuspense); - } else { - invalidatePendingSetRef(rawRef); - doSet(); - } - } else if (true) { - warn$1("Invalid template ref type:", ref2, `(${typeof ref2})`); - } - } -} -function invalidatePendingSetRef(rawRef) { - const pendingSetRef = pendingSetRefMap.get(rawRef); - if (pendingSetRef) { - pendingSetRef.flags |= 8; - pendingSetRefMap.delete(rawRef); - } -} -var hasLoggedMismatchError = false; -var logMismatchError = () => { - if (hasLoggedMismatchError) { - return; - } - console.error("Hydration completed but contains mismatches."); - hasLoggedMismatchError = true; -}; -var isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject"; -var isMathMLContainer = (container) => container.namespaceURI.includes("MathML"); -var getContainerType = (container) => { - if (container.nodeType !== 1) return void 0; - if (isSVGContainer(container)) return "svg"; - if (isMathMLContainer(container)) return "mathml"; - return void 0; -}; -var isComment = (node) => node.nodeType === 8; -function createHydrationFunctions(rendererInternals) { - const { - mt: mountComponent, - p: patch, - o: { - patchProp: patchProp2, - createText, - nextSibling, - parentNode, - remove: remove2, - insert, - createComment - } - } = rendererInternals; - const hydrate2 = (vnode, container) => { - if (!container.hasChildNodes()) { - warn$1( - `Attempting to hydrate existing markup but container is empty. Performing full mount instead.` - ); - patch(null, vnode, container); - flushPostFlushCbs(); - container._vnode = vnode; - return; - } - hydrateNode(container.firstChild, vnode, null, null, null); - flushPostFlushCbs(); - container._vnode = vnode; - }; - const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => { - optimized = optimized || !!vnode.dynamicChildren; - const isFragmentStart = isComment(node) && node.data === "["; - const onMismatch = () => handleMismatch( - node, - vnode, - parentComponent, - parentSuspense, - slotScopeIds, - isFragmentStart - ); - const { type, ref: ref2, shapeFlag, patchFlag } = vnode; - let domType = node.nodeType; - vnode.el = node; - if (true) { - def(node, "__vnode", vnode, true); - def(node, "__vueParentComponent", parentComponent, true); - } - if (patchFlag === -2) { - optimized = false; - vnode.dynamicChildren = null; - } - let nextNode = null; - switch (type) { - case Text: - if (domType !== 3) { - if (vnode.children === "") { - insert(vnode.el = createText(""), parentNode(node), node); - nextNode = node; - } else { - nextNode = onMismatch(); - } - } else { - if (node.data !== vnode.children) { - warn$1( - `Hydration text mismatch in`, - node.parentNode, - ` - - rendered on server: ${JSON.stringify( - node.data - )} - - expected on client: ${JSON.stringify(vnode.children)}` - ); - logMismatchError(); - node.data = vnode.children; - } - nextNode = nextSibling(node); - } - break; - case Comment: - if (isTemplateNode(node)) { - nextNode = nextSibling(node); - replaceNode( - vnode.el = node.content.firstChild, - node, - parentComponent - ); - } else if (domType !== 8 || isFragmentStart) { - nextNode = onMismatch(); - } else { - nextNode = nextSibling(node); - } - break; - case Static: - if (isFragmentStart) { - node = nextSibling(node); - domType = node.nodeType; - } - if (domType === 1 || domType === 3) { - nextNode = node; - const needToAdoptContent = !vnode.children.length; - for (let i = 0; i < vnode.staticCount; i++) { - if (needToAdoptContent) - vnode.children += nextNode.nodeType === 1 ? nextNode.outerHTML : nextNode.data; - if (i === vnode.staticCount - 1) { - vnode.anchor = nextNode; - } - nextNode = nextSibling(nextNode); - } - return isFragmentStart ? nextSibling(nextNode) : nextNode; - } else { - onMismatch(); - } - break; - case Fragment: - if (!isFragmentStart) { - nextNode = onMismatch(); - } else { - nextNode = hydrateFragment( - node, - vnode, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - } - break; - default: - if (shapeFlag & 1) { - if ((domType !== 1 || vnode.type.toLowerCase() !== node.tagName.toLowerCase()) && !isTemplateNode(node)) { - nextNode = onMismatch(); - } else { - nextNode = hydrateElement( - node, - vnode, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - } - } else if (shapeFlag & 6) { - vnode.slotScopeIds = slotScopeIds; - const container = parentNode(node); - if (isFragmentStart) { - nextNode = locateClosingAnchor(node); - } else if (isComment(node) && node.data === "teleport start") { - nextNode = locateClosingAnchor(node, node.data, "teleport end"); - } else { - nextNode = nextSibling(node); - } - mountComponent( - vnode, - container, - null, - parentComponent, - parentSuspense, - getContainerType(container), - optimized - ); - if (isAsyncWrapper(vnode) && !vnode.type.__asyncResolved) { - let subTree; - if (isFragmentStart) { - subTree = createVNode(Fragment); - subTree.anchor = nextNode ? nextNode.previousSibling : container.lastChild; - } else { - subTree = node.nodeType === 3 ? createTextVNode("") : createVNode("div"); - } - subTree.el = node; - vnode.component.subTree = subTree; - } - } else if (shapeFlag & 64) { - if (domType !== 8) { - nextNode = onMismatch(); - } else { - nextNode = vnode.type.hydrate( - node, - vnode, - parentComponent, - parentSuspense, - slotScopeIds, - optimized, - rendererInternals, - hydrateChildren - ); - } - } else if (shapeFlag & 128) { - nextNode = vnode.type.hydrate( - node, - vnode, - parentComponent, - parentSuspense, - getContainerType(parentNode(node)), - slotScopeIds, - optimized, - rendererInternals, - hydrateNode - ); - } else if (true) { - warn$1("Invalid HostVNode type:", type, `(${typeof type})`); - } - } - if (ref2 != null) { - setRef(ref2, null, parentSuspense, vnode); - } - return nextNode; - }; - const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => { - optimized = optimized || !!vnode.dynamicChildren; - const { type, props, patchFlag, shapeFlag, dirs, transition } = vnode; - const forcePatch = type === "input" || type === "option"; - if (true) { - if (dirs) { - invokeDirectiveHook(vnode, null, parentComponent, "created"); - } - let needCallTransitionHooks = false; - if (isTemplateNode(el)) { - needCallTransitionHooks = needTransition( - null, - // no need check parentSuspense in hydration - transition - ) && parentComponent && parentComponent.vnode.props && parentComponent.vnode.props.appear; - const content = el.content.firstChild; - if (needCallTransitionHooks) { - const cls = content.getAttribute("class"); - if (cls) content.$cls = cls; - transition.beforeEnter(content); - } - replaceNode(content, el, parentComponent); - vnode.el = el = content; - } - if (shapeFlag & 16 && // skip if element has innerHTML / textContent - !(props && (props.innerHTML || props.textContent))) { - let next = hydrateChildren( - el.firstChild, - vnode, - el, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - let hasWarned2 = false; - while (next) { - if (!isMismatchAllowed( - el, - 1 - /* CHILDREN */ - )) { - if (!hasWarned2) { - warn$1( - `Hydration children mismatch on`, - el, - ` -Server rendered element contains more child nodes than client vdom.` - ); - hasWarned2 = true; - } - logMismatchError(); - } - const cur = next; - next = next.nextSibling; - remove2(cur); - } - } else if (shapeFlag & 8) { - let clientText = vnode.children; - if (clientText[0] === "\n" && (el.tagName === "PRE" || el.tagName === "TEXTAREA")) { - clientText = clientText.slice(1); - } - const { textContent } = el; - if (textContent !== clientText && // innerHTML normalize \r\n or \r into a single \n in the DOM - textContent !== clientText.replace(/\r\n|\r/g, "\n")) { - if (!isMismatchAllowed( - el, - 0 - /* TEXT */ - )) { - warn$1( - `Hydration text content mismatch on`, - el, - ` - - rendered on server: ${textContent} - - expected on client: ${clientText}` - ); - logMismatchError(); - } - el.textContent = vnode.children; - } - } - if (props) { - if (true) { - const isCustomElement = el.tagName.includes("-"); - for (const key in props) { - if (// #11189 skip if this node has directives that have created hooks - // as it could have mutated the DOM in any possible way - !(dirs && dirs.some((d) => d.dir.created)) && propHasMismatch(el, key, props[key], vnode, parentComponent)) { - logMismatchError(); - } - if (forcePatch && (key.endsWith("value") || key === "indeterminate") || isOn(key) && !isReservedProp(key) || // force hydrate v-bind with .prop modifiers - key[0] === "." || isCustomElement && !isReservedProp(key)) { - patchProp2(el, key, null, props[key], void 0, parentComponent); - } - } - } else if (props.onClick) { - patchProp2( - el, - "onClick", - null, - props.onClick, - void 0, - parentComponent - ); - } else if (patchFlag & 4 && isReactive(props.style)) { - for (const key in props.style) props.style[key]; - } - } - let vnodeHooks; - if (vnodeHooks = props && props.onVnodeBeforeMount) { - invokeVNodeHook(vnodeHooks, parentComponent, vnode); - } - if (dirs) { - invokeDirectiveHook(vnode, null, parentComponent, "beforeMount"); - } - if ((vnodeHooks = props && props.onVnodeMounted) || dirs || needCallTransitionHooks) { - queueEffectWithSuspense(() => { - vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode); - needCallTransitionHooks && transition.enter(el); - dirs && invokeDirectiveHook(vnode, null, parentComponent, "mounted"); - }, parentSuspense); - } - } - return el.nextSibling; - }; - const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => { - optimized = optimized || !!parentVNode.dynamicChildren; - const children = parentVNode.children; - const l = children.length; - let hasWarned2 = false; - for (let i = 0; i < l; i++) { - const vnode = optimized ? children[i] : children[i] = normalizeVNode(children[i]); - const isText = vnode.type === Text; - if (node) { - if (isText && !optimized) { - if (i + 1 < l && normalizeVNode(children[i + 1]).type === Text) { - insert( - createText( - node.data.slice(vnode.children.length) - ), - container, - nextSibling(node) - ); - node.data = vnode.children; - } - } - node = hydrateNode( - node, - vnode, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - } else if (isText && !vnode.children) { - insert(vnode.el = createText(""), container); - } else { - if (!isMismatchAllowed( - container, - 1 - /* CHILDREN */ - )) { - if (!hasWarned2) { - warn$1( - `Hydration children mismatch on`, - container, - ` -Server rendered element contains fewer child nodes than client vdom.` - ); - hasWarned2 = true; - } - logMismatchError(); - } - patch( - null, - vnode, - container, - null, - parentComponent, - parentSuspense, - getContainerType(container), - slotScopeIds - ); - } - } - return node; - }; - const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => { - const { slotScopeIds: fragmentSlotScopeIds } = vnode; - if (fragmentSlotScopeIds) { - slotScopeIds = slotScopeIds ? slotScopeIds.concat(fragmentSlotScopeIds) : fragmentSlotScopeIds; - } - const container = parentNode(node); - const next = hydrateChildren( - nextSibling(node), - vnode, - container, - parentComponent, - parentSuspense, - slotScopeIds, - optimized - ); - if (next && isComment(next) && next.data === "]") { - return nextSibling(vnode.anchor = next); - } else { - logMismatchError(); - insert(vnode.anchor = createComment(`]`), container, next); - return next; - } - }; - const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => { - if (!isMismatchAllowed( - node.parentElement, - 1 - /* CHILDREN */ - )) { - warn$1( - `Hydration node mismatch: -- rendered on server:`, - node, - node.nodeType === 3 ? `(text)` : isComment(node) && node.data === "[" ? `(start of fragment)` : ``, - ` -- expected on client:`, - vnode.type - ); - logMismatchError(); - } - vnode.el = null; - if (isFragment) { - const end = locateClosingAnchor(node); - while (true) { - const next2 = nextSibling(node); - if (next2 && next2 !== end) { - remove2(next2); - } else { - break; - } - } - } - const next = nextSibling(node); - const container = parentNode(node); - remove2(node); - patch( - null, - vnode, - container, - next, - parentComponent, - parentSuspense, - getContainerType(container), - slotScopeIds - ); - if (parentComponent) { - parentComponent.vnode.el = vnode.el; - updateHOCHostEl(parentComponent, vnode.el); - } - return next; - }; - const locateClosingAnchor = (node, open = "[", close = "]") => { - let match = 0; - while (node) { - node = nextSibling(node); - if (node && isComment(node)) { - if (node.data === open) match++; - if (node.data === close) { - if (match === 0) { - return nextSibling(node); - } else { - match--; - } - } - } - } - return node; - }; - const replaceNode = (newNode, oldNode, parentComponent) => { - const parentNode2 = oldNode.parentNode; - if (parentNode2) { - parentNode2.replaceChild(newNode, oldNode); - } - let parent = parentComponent; - while (parent) { - if (parent.vnode.el === oldNode) { - parent.vnode.el = parent.subTree.el = newNode; - } - parent = parent.parent; - } - }; - const isTemplateNode = (node) => { - return node.nodeType === 1 && node.tagName === "TEMPLATE"; - }; - return [hydrate2, hydrateNode]; -} -function propHasMismatch(el, key, clientValue, vnode, instance) { - let mismatchType; - let mismatchKey; - let actual; - let expected; - if (key === "class") { - if (el.$cls) { - actual = el.$cls; - delete el.$cls; - } else { - actual = el.getAttribute("class"); - } - expected = normalizeClass(clientValue); - if (!isSetEqual(toClassSet(actual || ""), toClassSet(expected))) { - mismatchType = 2; - mismatchKey = `class`; - } - } else if (key === "style") { - actual = el.getAttribute("style") || ""; - expected = isString(clientValue) ? clientValue : stringifyStyle(normalizeStyle(clientValue)); - const actualMap = toStyleMap(actual); - const expectedMap = toStyleMap(expected); - if (vnode.dirs) { - for (const { dir, value } of vnode.dirs) { - if (dir.name === "show" && !value) { - expectedMap.set("display", "none"); - } - } - } - if (instance) { - resolveCssVars(instance, vnode, expectedMap); - } - if (!isMapEqual(actualMap, expectedMap)) { - mismatchType = 3; - mismatchKey = "style"; - } - } else if (el instanceof SVGElement && isKnownSvgAttr(key) || el instanceof HTMLElement && (isBooleanAttr(key) || isKnownHtmlAttr(key))) { - if (isBooleanAttr(key)) { - actual = el.hasAttribute(key); - expected = includeBooleanAttr(clientValue); - } else if (clientValue == null) { - actual = el.hasAttribute(key); - expected = false; - } else { - if (el.hasAttribute(key)) { - actual = el.getAttribute(key); - } else if (key === "value" && el.tagName === "TEXTAREA") { - actual = el.value; - } else { - actual = false; - } - expected = isRenderableAttrValue(clientValue) ? String(clientValue) : false; - } - if (actual !== expected) { - mismatchType = 4; - mismatchKey = key; - } - } - if (mismatchType != null && !isMismatchAllowed(el, mismatchType)) { - const format = (v) => v === false ? `(not rendered)` : `${mismatchKey}="${v}"`; - const preSegment = `Hydration ${MismatchTypeString[mismatchType]} mismatch on`; - const postSegment = ` - - rendered on server: ${format(actual)} - - expected on client: ${format(expected)} - Note: this mismatch is check-only. The DOM will not be rectified in production due to performance overhead. - You should fix the source of the mismatch.`; - { - warn$1(preSegment, el, postSegment); - } - return true; - } - return false; -} -function toClassSet(str) { - return new Set(str.trim().split(/\s+/)); -} -function isSetEqual(a, b) { - if (a.size !== b.size) { - return false; - } - for (const s of a) { - if (!b.has(s)) { - return false; - } - } - return true; -} -function toStyleMap(str) { - const styleMap = /* @__PURE__ */ new Map(); - for (const item of str.split(";")) { - let [key, value] = item.split(":"); - key = key.trim(); - value = value && value.trim(); - if (key && value) { - styleMap.set(key, value); - } - } - return styleMap; -} -function isMapEqual(a, b) { - if (a.size !== b.size) { - return false; - } - for (const [key, value] of a) { - if (value !== b.get(key)) { - return false; - } - } - return true; -} -function resolveCssVars(instance, vnode, expectedMap) { - const root = instance.subTree; - if (instance.getCssVars && (vnode === root || root && root.type === Fragment && root.children.includes(vnode))) { - const cssVars = instance.getCssVars(); - for (const key in cssVars) { - const value = normalizeCssVarValue(cssVars[key]); - expectedMap.set(`--${getEscapedCssVarName(key, false)}`, value); - } - } - if (vnode === root && instance.parent) { - resolveCssVars(instance.parent, instance.vnode, expectedMap); - } -} -var allowMismatchAttr = "data-allow-mismatch"; -var MismatchTypeString = { - [ - 0 - /* TEXT */ - ]: "text", - [ - 1 - /* CHILDREN */ - ]: "children", - [ - 2 - /* CLASS */ - ]: "class", - [ - 3 - /* STYLE */ - ]: "style", - [ - 4 - /* ATTRIBUTE */ - ]: "attribute" -}; -function isMismatchAllowed(el, allowedType) { - if (allowedType === 0 || allowedType === 1) { - while (el && !el.hasAttribute(allowMismatchAttr)) { - el = el.parentElement; - } - } - const allowedAttr = el && el.getAttribute(allowMismatchAttr); - if (allowedAttr == null) { - return false; - } else if (allowedAttr === "") { - return true; - } else { - const list = allowedAttr.split(","); - if (allowedType === 0 && list.includes("children")) { - return true; - } - return list.includes(MismatchTypeString[allowedType]); - } -} -var requestIdleCallback = getGlobalThis().requestIdleCallback || ((cb) => setTimeout(cb, 1)); -var cancelIdleCallback = getGlobalThis().cancelIdleCallback || ((id) => clearTimeout(id)); -var hydrateOnIdle = (timeout = 1e4) => (hydrate2) => { - const id = requestIdleCallback(hydrate2, { timeout }); - return () => cancelIdleCallback(id); -}; -function elementIsVisibleInViewport(el) { - const { top, left, bottom, right } = el.getBoundingClientRect(); - const { innerHeight, innerWidth } = window; - return (top > 0 && top < innerHeight || bottom > 0 && bottom < innerHeight) && (left > 0 && left < innerWidth || right > 0 && right < innerWidth); -} -var hydrateOnVisible = (opts) => (hydrate2, forEach) => { - const ob = new IntersectionObserver((entries) => { - for (const e of entries) { - if (!e.isIntersecting) continue; - ob.disconnect(); - hydrate2(); - break; - } - }, opts); - forEach((el) => { - if (!(el instanceof Element)) return; - if (elementIsVisibleInViewport(el)) { - hydrate2(); - ob.disconnect(); - return false; - } - ob.observe(el); - }); - return () => ob.disconnect(); -}; -var hydrateOnMediaQuery = (query) => (hydrate2) => { - if (query) { - const mql = matchMedia(query); - if (mql.matches) { - hydrate2(); - } else { - mql.addEventListener("change", hydrate2, { once: true }); - return () => mql.removeEventListener("change", hydrate2); - } - } -}; -var hydrateOnInteraction = (interactions = []) => (hydrate2, forEach) => { - if (isString(interactions)) interactions = [interactions]; - let hasHydrated = false; - const doHydrate = (e) => { - if (!hasHydrated) { - hasHydrated = true; - teardown(); - hydrate2(); - e.target.dispatchEvent(new e.constructor(e.type, e)); - } - }; - const teardown = () => { - forEach((el) => { - for (const i of interactions) { - el.removeEventListener(i, doHydrate); - } - }); - }; - forEach((el) => { - for (const i of interactions) { - el.addEventListener(i, doHydrate, { once: true }); - } - }); - return teardown; -}; -function forEachElement(node, cb) { - if (isComment(node) && node.data === "[") { - let depth = 1; - let next = node.nextSibling; - while (next) { - if (next.nodeType === 1) { - const result = cb(next); - if (result === false) { - break; - } - } else if (isComment(next)) { - if (next.data === "]") { - if (--depth === 0) break; - } else if (next.data === "[") { - depth++; - } - } - next = next.nextSibling; - } - } else { - cb(node); - } -} -var isAsyncWrapper = (i) => !!i.type.__asyncLoader; -function defineAsyncComponent(source) { - if (isFunction(source)) { - source = { loader: source }; - } - const { - loader, - loadingComponent, - errorComponent, - delay = 200, - hydrate: hydrateStrategy, - timeout, - // undefined = never times out - suspensible = true, - onError: userOnError - } = source; - let pendingRequest = null; - let resolvedComp; - let retries = 0; - const retry = () => { - retries++; - pendingRequest = null; - return load(); - }; - const load = () => { - let thisRequest; - return pendingRequest || (thisRequest = pendingRequest = loader().catch((err) => { - err = err instanceof Error ? err : new Error(String(err)); - if (userOnError) { - return new Promise((resolve2, reject) => { - const userRetry = () => resolve2(retry()); - const userFail = () => reject(err); - userOnError(err, userRetry, userFail, retries + 1); - }); - } else { - throw err; - } - }).then((comp) => { - if (thisRequest !== pendingRequest && pendingRequest) { - return pendingRequest; - } - if (!comp) { - warn$1( - `Async component loader resolved to undefined. If you are using retry(), make sure to return its return value.` - ); - } - if (comp && (comp.__esModule || comp[Symbol.toStringTag] === "Module")) { - comp = comp.default; - } - if (comp && !isObject(comp) && !isFunction(comp)) { - throw new Error(`Invalid async component load result: ${comp}`); - } - resolvedComp = comp; - return comp; - })); - }; - return defineComponent({ - name: "AsyncComponentWrapper", - __asyncLoader: load, - __asyncHydrate(el, instance, hydrate2) { - let patched = false; - (instance.bu || (instance.bu = [])).push(() => patched = true); - const performHydrate = () => { - if (patched) { - if (true) { - warn$1( - `Skipping lazy hydration for component '${getComponentName(resolvedComp) || resolvedComp.__file}': it was updated before lazy hydration performed.` - ); - } - return; - } - hydrate2(); - }; - const doHydrate = hydrateStrategy ? () => { - const teardown = hydrateStrategy( - performHydrate, - (cb) => forEachElement(el, cb) - ); - if (teardown) { - (instance.bum || (instance.bum = [])).push(teardown); - } - } : performHydrate; - if (resolvedComp) { - doHydrate(); - } else { - load().then(() => !instance.isUnmounted && doHydrate()); - } - }, - get __asyncResolved() { - return resolvedComp; - }, - setup() { - const instance = currentInstance; - markAsyncBoundary(instance); - if (resolvedComp) { - return () => createInnerComp(resolvedComp, instance); - } - const onError = (err) => { - pendingRequest = null; - handleError( - err, - instance, - 13, - !errorComponent - ); - }; - if (suspensible && instance.suspense || isInSSRComponentSetup) { - return load().then((comp) => { - return () => createInnerComp(comp, instance); - }).catch((err) => { - onError(err); - return () => errorComponent ? createVNode(errorComponent, { - error: err - }) : null; - }); - } - const loaded = ref(false); - const error = ref(); - const delayed = ref(!!delay); - if (delay) { - setTimeout(() => { - delayed.value = false; - }, delay); - } - if (timeout != null) { - setTimeout(() => { - if (!loaded.value && !error.value) { - const err = new Error( - `Async component timed out after ${timeout}ms.` - ); - onError(err); - error.value = err; - } - }, timeout); - } - load().then(() => { - loaded.value = true; - if (instance.parent && isKeepAlive(instance.parent.vnode)) { - instance.parent.update(); - } - }).catch((err) => { - onError(err); - error.value = err; - }); - return () => { - if (loaded.value && resolvedComp) { - return createInnerComp(resolvedComp, instance); - } else if (error.value && errorComponent) { - return createVNode(errorComponent, { - error: error.value - }); - } else if (loadingComponent && !delayed.value) { - return createInnerComp( - loadingComponent, - instance - ); - } - }; - } - }); -} -function createInnerComp(comp, parent) { - const { ref: ref2, props, children, ce } = parent.vnode; - const vnode = createVNode(comp, props, children); - vnode.ref = ref2; - vnode.ce = ce; - delete parent.vnode.ce; - return vnode; -} -var isKeepAlive = (vnode) => vnode.type.__isKeepAlive; -var KeepAliveImpl = { - name: `KeepAlive`, - // Marker for special handling inside the renderer. We are not using a === - // check directly on KeepAlive in the renderer, because importing it directly - // would prevent it from being tree-shaken. - __isKeepAlive: true, - props: { - include: [String, RegExp, Array], - exclude: [String, RegExp, Array], - max: [String, Number] - }, - setup(props, { slots }) { - const instance = getCurrentInstance(); - const sharedContext = instance.ctx; - if (!sharedContext.renderer) { - return () => { - const children = slots.default && slots.default(); - return children && children.length === 1 ? children[0] : children; - }; - } - const cache = /* @__PURE__ */ new Map(); - const keys = /* @__PURE__ */ new Set(); - let current = null; - if (true) { - instance.__v_cache = cache; - } - const parentSuspense = instance.suspense; - const { - renderer: { - p: patch, - m: move, - um: _unmount, - o: { createElement } - } - } = sharedContext; - const storageContainer = createElement("div"); - sharedContext.activate = (vnode, container, anchor, namespace, optimized) => { - const instance2 = vnode.component; - move(vnode, container, anchor, 0, parentSuspense); - patch( - instance2.vnode, - vnode, - container, - anchor, - instance2, - parentSuspense, - namespace, - vnode.slotScopeIds, - optimized - ); - queuePostRenderEffect(() => { - instance2.isDeactivated = false; - if (instance2.a) { - invokeArrayFns(instance2.a); - } - const vnodeHook = vnode.props && vnode.props.onVnodeMounted; - if (vnodeHook) { - invokeVNodeHook(vnodeHook, instance2.parent, vnode); - } - }, parentSuspense); - if (true) { - devtoolsComponentAdded(instance2); - } - }; - sharedContext.deactivate = (vnode) => { - const instance2 = vnode.component; - invalidateMount(instance2.m); - invalidateMount(instance2.a); - move(vnode, storageContainer, null, 1, parentSuspense); - queuePostRenderEffect(() => { - if (instance2.da) { - invokeArrayFns(instance2.da); - } - const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted; - if (vnodeHook) { - invokeVNodeHook(vnodeHook, instance2.parent, vnode); - } - instance2.isDeactivated = true; - }, parentSuspense); - if (true) { - devtoolsComponentAdded(instance2); - } - if (true) { - instance2.__keepAliveStorageContainer = storageContainer; - } - }; - function unmount(vnode) { - resetShapeFlag(vnode); - _unmount(vnode, instance, parentSuspense, true); - } - function pruneCache(filter) { - cache.forEach((vnode, key) => { - const name = getComponentName( - isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type - ); - if (name && !filter(name)) { - pruneCacheEntry(key); - } - }); - } - function pruneCacheEntry(key) { - const cached = cache.get(key); - if (cached && (!current || !isSameVNodeType(cached, current))) { - unmount(cached); - } else if (current) { - resetShapeFlag(current); - } - cache.delete(key); - keys.delete(key); - } - watch2( - () => [props.include, props.exclude], - ([include, exclude]) => { - include && pruneCache((name) => matches(include, name)); - exclude && pruneCache((name) => !matches(exclude, name)); - }, - // prune post-render after `current` has been updated - { flush: "post", deep: true } - ); - let pendingCacheKey = null; - const cacheSubtree = () => { - if (pendingCacheKey != null) { - if (isSuspense(instance.subTree.type)) { - queuePostRenderEffect(() => { - cache.set(pendingCacheKey, getInnerChild(instance.subTree)); - }, instance.subTree.suspense); - } else { - cache.set(pendingCacheKey, getInnerChild(instance.subTree)); - } - } - }; - onMounted(cacheSubtree); - onUpdated(cacheSubtree); - onBeforeUnmount(() => { - cache.forEach((cached) => { - const { subTree, suspense } = instance; - const vnode = getInnerChild(subTree); - if (cached.type === vnode.type && cached.key === vnode.key) { - resetShapeFlag(vnode); - const da = vnode.component.da; - da && queuePostRenderEffect(da, suspense); - return; - } - unmount(cached); - }); - }); - return () => { - pendingCacheKey = null; - if (!slots.default) { - return current = null; - } - const children = slots.default(); - const rawVNode = children[0]; - if (children.length > 1) { - if (true) { - warn$1(`KeepAlive should contain exactly one component child.`); - } - current = null; - return children; - } else if (!isVNode(rawVNode) || !(rawVNode.shapeFlag & 4) && !(rawVNode.shapeFlag & 128)) { - current = null; - return rawVNode; - } - let vnode = getInnerChild(rawVNode); - if (vnode.type === Comment) { - current = null; - return vnode; - } - const comp = vnode.type; - const name = getComponentName( - isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : comp - ); - const { include, exclude, max } = props; - if (include && (!name || !matches(include, name)) || exclude && name && matches(exclude, name)) { - vnode.shapeFlag &= -257; - current = vnode; - return rawVNode; - } - const key = vnode.key == null ? comp : vnode.key; - const cachedVNode = cache.get(key); - if (vnode.el) { - vnode = cloneVNode(vnode); - if (rawVNode.shapeFlag & 128) { - rawVNode.ssContent = vnode; - } - } - pendingCacheKey = key; - if (cachedVNode) { - vnode.el = cachedVNode.el; - vnode.component = cachedVNode.component; - if (vnode.transition) { - setTransitionHooks(vnode, vnode.transition); - } - vnode.shapeFlag |= 512; - keys.delete(key); - keys.add(key); - } else { - keys.add(key); - if (max && keys.size > parseInt(max, 10)) { - pruneCacheEntry(keys.values().next().value); - } - } - vnode.shapeFlag |= 256; - current = vnode; - return isSuspense(rawVNode.type) ? rawVNode : vnode; - }; - } -}; -var KeepAlive = KeepAliveImpl; -function matches(pattern, name) { - if (isArray(pattern)) { - return pattern.some((p2) => matches(p2, name)); - } else if (isString(pattern)) { - return pattern.split(",").includes(name); - } else if (isRegExp(pattern)) { - pattern.lastIndex = 0; - return pattern.test(name); - } - return false; -} -function onActivated(hook, target) { - registerKeepAliveHook(hook, "a", target); -} -function onDeactivated(hook, target) { - registerKeepAliveHook(hook, "da", target); -} -function registerKeepAliveHook(hook, type, target = currentInstance) { - const wrappedHook = hook.__wdc || (hook.__wdc = () => { - let current = target; - while (current) { - if (current.isDeactivated) { - return; - } - current = current.parent; - } - return hook(); - }); - injectHook(type, wrappedHook, target); - if (target) { - let current = target.parent; - while (current && current.parent) { - if (isKeepAlive(current.parent.vnode)) { - injectToKeepAliveRoot(wrappedHook, type, target, current); - } - current = current.parent; - } - } -} -function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) { - const injected = injectHook( - type, - hook, - keepAliveRoot, - true - /* prepend */ - ); - onUnmounted(() => { - remove(keepAliveRoot[type], injected); - }, target); -} -function resetShapeFlag(vnode) { - vnode.shapeFlag &= -257; - vnode.shapeFlag &= -513; -} -function getInnerChild(vnode) { - return vnode.shapeFlag & 128 ? vnode.ssContent : vnode; -} -function injectHook(type, hook, target = currentInstance, prepend = false) { - if (target) { - const hooks = target[type] || (target[type] = []); - const wrappedHook = hook.__weh || (hook.__weh = (...args) => { - pauseTracking(); - const reset = setCurrentInstance(target); - const res = callWithAsyncErrorHandling(hook, target, type, args); - reset(); - resetTracking(); - return res; - }); - if (prepend) { - hooks.unshift(wrappedHook); - } else { - hooks.push(wrappedHook); - } - return wrappedHook; - } else if (true) { - const apiName = toHandlerKey(ErrorTypeStrings$1[type].replace(/ hook$/, "")); - warn$1( - `${apiName} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.` - ); - } -} -var createHook = (lifecycle) => (hook, target = currentInstance) => { - if (!isInSSRComponentSetup || lifecycle === "sp") { - injectHook(lifecycle, (...args) => hook(...args), target); - } -}; -var onBeforeMount = createHook("bm"); -var onMounted = createHook("m"); -var onBeforeUpdate = createHook( - "bu" -); -var onUpdated = createHook("u"); -var onBeforeUnmount = createHook( - "bum" -); -var onUnmounted = createHook("um"); -var onServerPrefetch = createHook( - "sp" -); -var onRenderTriggered = createHook("rtg"); -var onRenderTracked = createHook("rtc"); -function onErrorCaptured(hook, target = currentInstance) { - injectHook("ec", hook, target); -} -var COMPONENTS = "components"; -var DIRECTIVES = "directives"; -function resolveComponent(name, maybeSelfReference) { - return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name; -} -var NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc"); -function resolveDynamicComponent(component) { - if (isString(component)) { - return resolveAsset(COMPONENTS, component, false) || component; - } else { - return component || NULL_DYNAMIC_COMPONENT; - } -} -function resolveDirective(name) { - return resolveAsset(DIRECTIVES, name); -} -function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) { - const instance = currentRenderingInstance || currentInstance; - if (instance) { - const Component = instance.type; - if (type === COMPONENTS) { - const selfName = getComponentName( - Component, - false - ); - if (selfName && (selfName === name || selfName === camelize(name) || selfName === capitalize(camelize(name)))) { - return Component; - } - } - const res = ( - // local registration - // check instance[type] first which is resolved for options API - resolve(instance[type] || Component[type], name) || // global registration - resolve(instance.appContext[type], name) - ); - if (!res && maybeSelfReference) { - return Component; - } - if (warnMissing && !res) { - const extra = type === COMPONENTS ? ` -If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.` : ``; - warn$1(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`); - } - return res; - } else if (true) { - warn$1( - `resolve${capitalize(type.slice(0, -1))} can only be used in render() or setup().` - ); - } -} -function resolve(registry, name) { - return registry && (registry[name] || registry[camelize(name)] || registry[capitalize(camelize(name))]); -} -function renderList(source, renderItem, cache, index) { - let ret; - const cached = cache && cache[index]; - const sourceIsArray = isArray(source); - if (sourceIsArray || isString(source)) { - const sourceIsReactiveArray = sourceIsArray && isReactive(source); - let needsWrap = false; - let isReadonlySource = false; - if (sourceIsReactiveArray) { - needsWrap = !isShallow(source); - isReadonlySource = isReadonly(source); - source = shallowReadArray(source); - } - ret = new Array(source.length); - for (let i = 0, l = source.length; i < l; i++) { - ret[i] = renderItem( - needsWrap ? isReadonlySource ? toReadonly(toReactive(source[i])) : toReactive(source[i]) : source[i], - i, - void 0, - cached && cached[i] - ); - } - } else if (typeof source === "number") { - if (!Number.isInteger(source) || source < 0) { - warn$1( - `The v-for range expects a positive integer value but got ${source}.` - ); - ret = []; - } else { - ret = new Array(source); - for (let i = 0; i < source; i++) { - ret[i] = renderItem(i + 1, i, void 0, cached && cached[i]); - } - } - } else if (isObject(source)) { - if (source[Symbol.iterator]) { - ret = Array.from( - source, - (item, i) => renderItem(item, i, void 0, cached && cached[i]) - ); - } else { - const keys = Object.keys(source); - ret = new Array(keys.length); - for (let i = 0, l = keys.length; i < l; i++) { - const key = keys[i]; - ret[i] = renderItem(source[key], key, i, cached && cached[i]); - } - } - } else { - ret = []; - } - if (cache) { - cache[index] = ret; - } - return ret; -} -function createSlots(slots, dynamicSlots) { - for (let i = 0; i < dynamicSlots.length; i++) { - const slot = dynamicSlots[i]; - if (isArray(slot)) { - for (let j = 0; j < slot.length; j++) { - slots[slot[j].name] = slot[j].fn; - } - } else if (slot) { - slots[slot.name] = slot.key ? (...args) => { - const res = slot.fn(...args); - if (res) res.key = slot.key; - return res; - } : slot.fn; - } - } - return slots; -} -function renderSlot(slots, name, props = {}, fallback, noSlotted) { - if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) { - const hasProps = Object.keys(props).length > 0; - if (name !== "default") props.name = name; - return openBlock(), createBlock( - Fragment, - null, - [createVNode("slot", props, fallback && fallback())], - hasProps ? -2 : 64 - ); - } - let slot = slots[name]; - if (slot && slot.length > 1) { - warn$1( - `SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template.` - ); - slot = () => []; - } - if (slot && slot._c) { - slot._d = false; - } - openBlock(); - const validSlotContent = slot && ensureValidVNode(slot(props)); - const slotKey = props.key || // slot content array of a dynamic conditional slot may have a branch - // key attached in the `createSlots` helper, respect that - validSlotContent && validSlotContent.key; - const rendered = createBlock( - Fragment, - { - key: (slotKey && !isSymbol(slotKey) ? slotKey : `_${name}`) + // #7256 force differentiate fallback content from actual content - (!validSlotContent && fallback ? "_fb" : "") - }, - validSlotContent || (fallback ? fallback() : []), - validSlotContent && slots._ === 1 ? 64 : -2 - ); - if (!noSlotted && rendered.scopeId) { - rendered.slotScopeIds = [rendered.scopeId + "-s"]; - } - if (slot && slot._c) { - slot._d = true; - } - return rendered; -} -function ensureValidVNode(vnodes) { - return vnodes.some((child) => { - if (!isVNode(child)) return true; - if (child.type === Comment) return false; - if (child.type === Fragment && !ensureValidVNode(child.children)) - return false; - return true; - }) ? vnodes : null; -} -function toHandlers(obj, preserveCaseIfNecessary) { - const ret = {}; - if (!isObject(obj)) { - warn$1(`v-on with no argument expects an object value.`); - return ret; - } - for (const key in obj) { - ret[preserveCaseIfNecessary && /[A-Z]/.test(key) ? `on:${key}` : toHandlerKey(key)] = obj[key]; - } - return ret; -} -var getPublicInstance = (i) => { - if (!i) return null; - if (isStatefulComponent(i)) return getComponentPublicInstance(i); - return getPublicInstance(i.parent); -}; -var publicPropertiesMap = ( - // Move PURE marker to new line to workaround compiler discarding it - // due to type annotation - extend(/* @__PURE__ */ Object.create(null), { - $: (i) => i, - $el: (i) => i.vnode.el, - $data: (i) => i.data, - $props: (i) => true ? shallowReadonly(i.props) : i.props, - $attrs: (i) => true ? shallowReadonly(i.attrs) : i.attrs, - $slots: (i) => true ? shallowReadonly(i.slots) : i.slots, - $refs: (i) => true ? shallowReadonly(i.refs) : i.refs, - $parent: (i) => getPublicInstance(i.parent), - $root: (i) => getPublicInstance(i.root), - $host: (i) => i.ce, - $emit: (i) => i.emit, - $options: (i) => __VUE_OPTIONS_API__ ? resolveMergedOptions(i) : i.type, - $forceUpdate: (i) => i.f || (i.f = () => { - queueJob(i.update); - }), - $nextTick: (i) => i.n || (i.n = nextTick.bind(i.proxy)), - $watch: (i) => __VUE_OPTIONS_API__ ? instanceWatch.bind(i) : NOOP - }) -); -var isReservedPrefix = (key) => key === "_" || key === "$"; -var hasSetupBinding = (state, key) => state !== EMPTY_OBJ && !state.__isScriptSetup && hasOwn(state, key); -var PublicInstanceProxyHandlers = { - get({ _: instance }, key) { - if (key === "__v_skip") { - return true; - } - const { ctx, setupState, data, props, accessCache, type, appContext } = instance; - if (key === "__isVue") { - return true; - } - if (key[0] !== "$") { - const n = accessCache[key]; - if (n !== void 0) { - switch (n) { - case 1: - return setupState[key]; - case 2: - return data[key]; - case 4: - return ctx[key]; - case 3: - return props[key]; - } - } else if (hasSetupBinding(setupState, key)) { - accessCache[key] = 1; - return setupState[key]; - } else if (__VUE_OPTIONS_API__ && data !== EMPTY_OBJ && hasOwn(data, key)) { - accessCache[key] = 2; - return data[key]; - } else if (hasOwn(props, key)) { - accessCache[key] = 3; - return props[key]; - } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) { - accessCache[key] = 4; - return ctx[key]; - } else if (!__VUE_OPTIONS_API__ || shouldCacheAccess) { - accessCache[key] = 0; - } - } - const publicGetter = publicPropertiesMap[key]; - let cssModule, globalProperties; - if (publicGetter) { - if (key === "$attrs") { - track(instance.attrs, "get", ""); - markAttrsAccessed(); - } else if (key === "$slots") { - track(instance, "get", key); - } - return publicGetter(instance); - } else if ( - // css module (injected by vue-loader) - (cssModule = type.__cssModules) && (cssModule = cssModule[key]) - ) { - return cssModule; - } else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) { - accessCache[key] = 4; - return ctx[key]; - } else if ( - // global properties - globalProperties = appContext.config.globalProperties, hasOwn(globalProperties, key) - ) { - { - return globalProperties[key]; - } - } else if (currentRenderingInstance && (!isString(key) || // #1091 avoid internal isRef/isVNode checks on component instance leading - // to infinite warning loop - key.indexOf("__v") !== 0)) { - if (data !== EMPTY_OBJ && isReservedPrefix(key[0]) && hasOwn(data, key)) { - warn$1( - `Property ${JSON.stringify( - key - )} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.` - ); - } else if (instance === currentRenderingInstance) { - warn$1( - `Property ${JSON.stringify(key)} was accessed during render but is not defined on instance.` - ); - } - } - }, - set({ _: instance }, key, value) { - const { data, setupState, ctx } = instance; - if (hasSetupBinding(setupState, key)) { - setupState[key] = value; - return true; - } else if (setupState.__isScriptSetup && hasOwn(setupState, key)) { - warn$1(`Cannot mutate - - -``` - -By default the following tag/attribute combinations are transformed, and can be configured using the `template.transformAssetUrls` option. - -```js -{ - video: ['src', 'poster'], - source: ['src'], - img: ['src'], - image: ['xlink:href', 'href'], - use: ['xlink:href', 'href'] -} -``` - -Note that only attribute values that are static strings are transformed. Otherwise, you'd need to import the asset manually, e.g. `import imgUrl from '../image.png'`. - -## Example for passing options to `vue/compiler-sfc`: - -```ts -import vue from '@vitejs/plugin-vue' - -export default { - plugins: [ - vue({ - template: { - compilerOptions: { - // ... - }, - transformAssetUrls: { - // ... - }, - }, - }), - ], -} -``` - -## Example for transforming custom blocks - -```ts -import vue from '@vitejs/plugin-vue' -import yaml from 'js-yaml' - -const vueI18nPlugin = { - name: 'vue-i18n', - transform(code, id) { - // if .vue file don't have block, just return - if (!/vue&type=i18n/.test(id)) { - return - } - // parse yaml - if (/\.ya?ml$/.test(id)) { - code = JSON.stringify(yaml.load(code.trim())) - } - // mount the value on the i18n property of the component instance - return `export default Comp => { - Comp.i18n = ${code} - }` - }, -} - -export default { - plugins: [vue(), vueI18nPlugin], -} -``` - -Create a file named `Demo.vue`, add `lang="yaml"` to the `` blocks, then you can use the syntax of `YAML`: - -```vue - - - -message: 'world' -fullWord: 'hello world' - -``` - -`message` is mounted on the i18n property of the component instance, you can use like this: - -```vue - - - -``` - -## Using Vue SFCs as Custom Elements - -> Requires `vue@^3.2.0` & `@vitejs/plugin-vue@^1.4.0` - -Vue 3.2 introduces the `defineCustomElement` method, which works with SFCs. By default, `' - * ) - * document.type //=> 'document' - * document.nodes.length //=> 2 - * ``` - */ -declare class Document_ extends Container { - nodes: Root[] - parent: undefined - type: 'document' - - constructor(defaults?: Document.DocumentProps) - - assign(overrides: Document.DocumentProps | object): this - clone(overrides?: Partial): this - cloneAfter(overrides?: Partial): this - cloneBefore(overrides?: Partial): this - - /** - * Returns a `Result` instance representing the document’s CSS roots. - * - * ```js - * const root1 = postcss.parse(css1, { from: 'a.css' }) - * const root2 = postcss.parse(css2, { from: 'b.css' }) - * const document = postcss.document() - * document.append(root1) - * document.append(root2) - * const result = document.toResult({ to: 'all.css', map: true }) - * ``` - * - * @param opts Options. - * @return Result with current document’s CSS. - */ - toResult(options?: ProcessOptions): Result -} - -declare class Document extends Document_ {} - -export = Document diff --git a/frontend/node_modules/postcss/lib/document.js b/frontend/node_modules/postcss/lib/document.js deleted file mode 100644 index 4468991..0000000 --- a/frontend/node_modules/postcss/lib/document.js +++ /dev/null @@ -1,33 +0,0 @@ -'use strict' - -let Container = require('./container') - -let LazyResult, Processor - -class Document extends Container { - constructor(defaults) { - // type needs to be passed to super, otherwise child roots won't be normalized correctly - super({ type: 'document', ...defaults }) - - if (!this.nodes) { - this.nodes = [] - } - } - - toResult(opts = {}) { - let lazy = new LazyResult(new Processor(), this, opts) - - return lazy.stringify() - } -} - -Document.registerLazyResult = dependant => { - LazyResult = dependant -} - -Document.registerProcessor = dependant => { - Processor = dependant -} - -module.exports = Document -Document.default = Document diff --git a/frontend/node_modules/postcss/lib/fromJSON.d.ts b/frontend/node_modules/postcss/lib/fromJSON.d.ts deleted file mode 100644 index 3a0c5b8..0000000 --- a/frontend/node_modules/postcss/lib/fromJSON.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { JSONHydrator } from './postcss.js' - -interface FromJSON extends JSONHydrator { - default: FromJSON -} - -declare let fromJSON: FromJSON - -export = fromJSON diff --git a/frontend/node_modules/postcss/lib/fromJSON.js b/frontend/node_modules/postcss/lib/fromJSON.js deleted file mode 100644 index c9ac1a8..0000000 --- a/frontend/node_modules/postcss/lib/fromJSON.js +++ /dev/null @@ -1,54 +0,0 @@ -'use strict' - -let AtRule = require('./at-rule') -let Comment = require('./comment') -let Declaration = require('./declaration') -let Input = require('./input') -let PreviousMap = require('./previous-map') -let Root = require('./root') -let Rule = require('./rule') - -function fromJSON(json, inputs) { - if (Array.isArray(json)) return json.map(n => fromJSON(n)) - - let { inputs: ownInputs, ...defaults } = json - if (ownInputs) { - inputs = [] - for (let input of ownInputs) { - let inputHydrated = { ...input, __proto__: Input.prototype } - if (inputHydrated.map) { - inputHydrated.map = { - ...inputHydrated.map, - __proto__: PreviousMap.prototype - } - } - inputs.push(inputHydrated) - } - } - if (defaults.nodes) { - defaults.nodes = json.nodes.map(n => fromJSON(n, inputs)) - } - if (defaults.source) { - let { inputId, ...source } = defaults.source - defaults.source = source - if (inputId != null) { - defaults.source.input = inputs[inputId] - } - } - if (defaults.type === 'root') { - return new Root(defaults) - } else if (defaults.type === 'decl') { - return new Declaration(defaults) - } else if (defaults.type === 'rule') { - return new Rule(defaults) - } else if (defaults.type === 'comment') { - return new Comment(defaults) - } else if (defaults.type === 'atrule') { - return new AtRule(defaults) - } else { - throw new Error('Unknown node type: ' + json.type) - } -} - -module.exports = fromJSON -fromJSON.default = fromJSON diff --git a/frontend/node_modules/postcss/lib/input.d.ts b/frontend/node_modules/postcss/lib/input.d.ts deleted file mode 100644 index ca2d26b..0000000 --- a/frontend/node_modules/postcss/lib/input.d.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { CssSyntaxError, ProcessOptions } from './postcss.js' -import PreviousMap from './previous-map.js' - -declare namespace Input { - export interface FilePosition { - /** - * Column of inclusive start position in source file. - */ - column: number - - /** - * Column of exclusive end position in source file. - */ - endColumn?: number - - /** - * Line of exclusive end position in source file. - */ - endLine?: number - - /** - * Offset of exclusive end position in source file. - */ - endOffset?: number - - /** - * Absolute path to the source file. - */ - file?: string - - /** - * Line of inclusive start position in source file. - */ - line: number - - /** - * Offset of inclusive start position in source file. - */ - offset: number - - /** - * Source code. - */ - source?: string - - /** - * URL for the source file. - */ - url: string - } - - export { Input_ as default } -} - -/** - * Represents the source CSS. - * - * ```js - * const root = postcss.parse(css, { from: file }) - * const input = root.source.input - * ``` - */ -declare class Input_ { - /** - * Input CSS source. - * - * ```js - * const input = postcss.parse('a{}', { from: file }).input - * input.css //=> "a{}" - * ``` - */ - css: string - - /** - * Input source with support for non-CSS documents. - * - * ```js - * const input = postcss.parse('a{}', { from: file, document: '' }).input - * input.document //=> "" - * input.css //=> "a{}" - * ``` - */ - document: string - - /** - * The absolute path to the CSS source file defined - * with the `from` option. - * - * ```js - * const root = postcss.parse(css, { from: 'a.css' }) - * root.source.input.file //=> '/home/ai/a.css' - * ``` - */ - file?: string - - /** - * The flag to indicate whether or not the source code has Unicode BOM. - */ - hasBOM: boolean - - /** - * The unique ID of the CSS source. It will be created if `from` option - * is not provided (because PostCSS does not know the file path). - * - * ```js - * const root = postcss.parse(css) - * root.source.input.file //=> undefined - * root.source.input.id //=> "" - * ``` - */ - id?: string - - /** - * The input source map passed from a compilation step before PostCSS - * (for example, from Sass compiler). - * - * ```js - * root.source.input.map.consumer().sources //=> ['a.sass'] - * ``` - */ - map: PreviousMap - - /** - * The CSS source identifier. Contains `Input#file` if the user - * set the `from` option, or `Input#id` if they did not. - * - * ```js - * const root = postcss.parse(css, { from: 'a.css' }) - * root.source.input.from //=> "/home/ai/a.css" - * - * const root = postcss.parse(css) - * root.source.input.from //=> "" - * ``` - */ - get from(): string - - /** - * @param css Input CSS source. - * @param opts Process options. - */ - constructor(css: string, opts?: ProcessOptions) - - /** - * Returns `CssSyntaxError` with information about the error and its position. - */ - error( - message: string, - start: - | { - column: number - line: number - } - | { - offset: number - }, - end: - | { - column: number - line: number - } - | { - offset: number - }, - opts?: { plugin?: CssSyntaxError['plugin'] } - ): CssSyntaxError - error( - message: string, - line: number, - column: number, - opts?: { plugin?: CssSyntaxError['plugin'] } - ): CssSyntaxError - error( - message: string, - offset: number, - opts?: { plugin?: CssSyntaxError['plugin'] } - ): CssSyntaxError - - /** - * Converts source line and column to offset. - * - * @param line Source line. - * @param column Source column. - * @return Source offset. - */ - fromLineAndColumn(line: number, column: number): number - - /** - * Converts source offset to line and column. - * - * @param offset Source offset. - */ - fromOffset(offset: number): { col: number; line: number } | null - - /** - * Reads the input source map and returns a symbol position - * in the input source (e.g., in a Sass file that was compiled - * to CSS before being passed to PostCSS). Optionally takes an - * end position, exclusive. - * - * ```js - * root.source.input.origin(1, 1) //=> { file: 'a.css', line: 3, column: 1 } - * root.source.input.origin(1, 1, 1, 4) - * //=> { file: 'a.css', line: 3, column: 1, endLine: 3, endColumn: 4 } - * ``` - * - * @param line Line for inclusive start position in input CSS. - * @param column Column for inclusive start position in input CSS. - * @param endLine Line for exclusive end position in input CSS. - * @param endColumn Column for exclusive end position in input CSS. - * - * @return Position in input source. - */ - origin( - line: number, - column: number, - endLine?: number, - endColumn?: number - ): false | Input.FilePosition - - /** Converts this to a JSON-friendly object representation. */ - toJSON(): object -} - -declare class Input extends Input_ {} - -export = Input diff --git a/frontend/node_modules/postcss/lib/input.js b/frontend/node_modules/postcss/lib/input.js deleted file mode 100644 index 1dab928..0000000 --- a/frontend/node_modules/postcss/lib/input.js +++ /dev/null @@ -1,273 +0,0 @@ -'use strict' - -let { nanoid } = require('nanoid/non-secure') -let { isAbsolute, resolve } = require('path') -let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js') -let { fileURLToPath, pathToFileURL } = require('url') - -let CssSyntaxError = require('./css-syntax-error') -let PreviousMap = require('./previous-map') -let terminalHighlight = require('./terminal-highlight') - -let lineToIndexCache = Symbol('lineToIndexCache') - -let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator) -let pathAvailable = Boolean(resolve && isAbsolute) - -function getLineToIndex(input) { - if (input[lineToIndexCache]) return input[lineToIndexCache] - let lines = input.css.split('\n') - let lineToIndex = new Array(lines.length) - let prevIndex = 0 - - for (let i = 0, l = lines.length; i < l; i++) { - lineToIndex[i] = prevIndex - prevIndex += lines[i].length + 1 - } - - input[lineToIndexCache] = lineToIndex - return lineToIndex -} - -class Input { - get from() { - return this.file || this.id - } - - constructor(css, opts = {}) { - if ( - css === null || - typeof css === 'undefined' || - (typeof css === 'object' && !css.toString) - ) { - throw new Error(`PostCSS received ${css} instead of CSS string`) - } - - this.css = css.toString() - - if (this.css[0] === '\uFEFF' || this.css[0] === '\uFFFE') { - this.hasBOM = true - this.css = this.css.slice(1) - } else { - this.hasBOM = false - } - - this.document = this.css - if (opts.document) this.document = opts.document.toString() - - if (opts.from) { - if ( - !pathAvailable || - /^\w+:\/\//.test(opts.from) || - isAbsolute(opts.from) - ) { - this.file = opts.from - } else { - this.file = resolve(opts.from) - } - } - - if (pathAvailable && sourceMapAvailable) { - let map = new PreviousMap(this.css, opts) - if (map.text) { - this.map = map - let file = map.consumer().file - if (!this.file && file) this.file = this.mapResolve(file) - } - } - - if (!this.file) { - this.id = '' - } - if (this.map) this.map.file = this.from - } - - error(message, line, column, opts = {}) { - let endColumn, endLine, endOffset, offset, result - - if (line && typeof line === 'object') { - let start = line - let end = column - if (typeof start.offset === 'number') { - offset = start.offset - let pos = this.fromOffset(offset) - line = pos.line - column = pos.col - } else { - line = start.line - column = start.column - offset = this.fromLineAndColumn(line, column) - } - if (typeof end.offset === 'number') { - endOffset = end.offset - let pos = this.fromOffset(endOffset) - endLine = pos.line - endColumn = pos.col - } else { - endLine = end.line - endColumn = end.column - endOffset = this.fromLineAndColumn(end.line, end.column) - } - } else if (!column) { - offset = line - let pos = this.fromOffset(offset) - line = pos.line - column = pos.col - } else { - offset = this.fromLineAndColumn(line, column) - } - - let origin = this.origin(line, column, endLine, endColumn) - if (origin) { - result = new CssSyntaxError( - message, - origin.endLine === undefined - ? origin.line - : { column: origin.column, line: origin.line }, - origin.endLine === undefined - ? origin.column - : { column: origin.endColumn, line: origin.endLine }, - origin.source, - origin.file, - opts.plugin - ) - } else { - result = new CssSyntaxError( - message, - endLine === undefined ? line : { column, line }, - endLine === undefined ? column : { column: endColumn, line: endLine }, - this.css, - this.file, - opts.plugin - ) - } - - result.input = { - column, - endColumn, - endLine, - endOffset, - line, - offset, - source: this.css - } - if (this.file) { - if (pathToFileURL) { - result.input.url = pathToFileURL(this.file).toString() - } - result.input.file = this.file - } - - return result - } - - fromLineAndColumn(line, column) { - let lineToIndex = getLineToIndex(this) - let index = lineToIndex[line - 1] - return index + column - 1 - } - - fromOffset(offset) { - let lineToIndex = getLineToIndex(this) - let lastLine = lineToIndex[lineToIndex.length - 1] - - let min = 0 - if (offset >= lastLine) { - min = lineToIndex.length - 1 - } else { - let max = lineToIndex.length - 2 - let mid - while (min < max) { - mid = min + ((max - min) >> 1) - if (offset < lineToIndex[mid]) { - max = mid - 1 - } else if (offset >= lineToIndex[mid + 1]) { - min = mid + 1 - } else { - min = mid - break - } - } - } - return { - col: offset - lineToIndex[min] + 1, - line: min + 1 - } - } - - mapResolve(file) { - if (/^\w+:\/\//.test(file)) { - return file - } - return resolve(this.map.consumer().sourceRoot || this.map.root || '.', file) - } - - origin(line, column, endLine, endColumn) { - if (!this.map) return false - let consumer = this.map.consumer() - - let from = consumer.originalPositionFor({ column, line }) - if (!from.source) return false - - let to - if (typeof endLine === 'number') { - to = consumer.originalPositionFor({ column: endColumn, line: endLine }) - } - - let fromUrl - - if (isAbsolute(from.source)) { - fromUrl = pathToFileURL(from.source) - } else { - fromUrl = new URL( - from.source, - this.map.consumer().sourceRoot || pathToFileURL(this.map.mapFile) - ) - } - - let result = { - column: from.column, - endColumn: to && to.column, - endLine: to && to.line, - line: from.line, - url: fromUrl.toString() - } - - if (fromUrl.protocol === 'file:') { - if (fileURLToPath) { - result.file = fileURLToPath(fromUrl) - } else { - /* c8 ignore next 2 */ - throw new Error(`file: protocol is not available in this PostCSS build`) - } - } - - let source = consumer.sourceContentFor(from.source) - if (source) result.source = source - - return result - } - - toJSON() { - let json = {} - for (let name of ['hasBOM', 'css', 'file', 'id']) { - if (this[name] != null) { - json[name] = this[name] - } - } - if (this.map) { - json.map = { ...this.map } - if (json.map.consumerCache) { - json.map.consumerCache = undefined - } - } - return json - } -} - -module.exports = Input -Input.default = Input - -if (terminalHighlight && terminalHighlight.registerInput) { - terminalHighlight.registerInput(Input) -} diff --git a/frontend/node_modules/postcss/lib/lazy-result.d.ts b/frontend/node_modules/postcss/lib/lazy-result.d.ts deleted file mode 100644 index 599a614..0000000 --- a/frontend/node_modules/postcss/lib/lazy-result.d.ts +++ /dev/null @@ -1,189 +0,0 @@ -import Document from './document.js' -import { SourceMap } from './postcss.js' -import Processor from './processor.js' -import Result, { Message, ResultOptions } from './result.js' -import Root from './root.js' -import Warning from './warning.js' - -declare namespace LazyResult { - export { LazyResult_ as default } -} - -/** - * A Promise proxy for the result of PostCSS transformations. - * - * A `LazyResult` instance is returned by `Processor#process`. - * - * ```js - * const lazy = postcss([autoprefixer]).process(css) - * ``` - */ -declare class LazyResult_ implements PromiseLike< - Result -> { - /** - * Processes input CSS through synchronous and asynchronous plugins - * and calls onRejected for each error thrown in any plugin. - * - * It implements standard Promise API. - * - * ```js - * postcss([autoprefixer]).process(css).then(result => { - * console.log(result.css) - * }).catch(error => { - * console.error(error) - * }) - * ``` - */ - catch: Promise>['catch'] - - /** - * Processes input CSS through synchronous and asynchronous plugins - * and calls onFinally on any error or when all plugins will finish work. - * - * It implements standard Promise API. - * - * ```js - * postcss([autoprefixer]).process(css).finally(() => { - * console.log('processing ended') - * }) - * ``` - */ - finally: Promise>['finally'] - - /** - * Processes input CSS through synchronous and asynchronous plugins - * and calls `onFulfilled` with a Result instance. If a plugin throws - * an error, the `onRejected` callback will be executed. - * - * It implements standard Promise API. - * - * ```js - * postcss([autoprefixer]).process(css, { from: cssPath }).then(result => { - * console.log(result.css) - * }) - * ``` - */ - then: Promise>['then'] - - /** - * An alias for the `css` property. Use it with syntaxes - * that generate non-CSS output. - * - * This property will only work with synchronous plugins. - * If the processor contains any asynchronous plugins - * it will throw an error. - * - * PostCSS runners should always use `LazyResult#then`. - */ - get content(): string - - /** - * Processes input CSS through synchronous plugins, converts `Root` - * to a CSS string and returns `Result#css`. - * - * This property will only work with synchronous plugins. - * If the processor contains any asynchronous plugins - * it will throw an error. - * - * PostCSS runners should always use `LazyResult#then`. - */ - get css(): string - - /** - * Processes input CSS through synchronous plugins - * and returns `Result#map`. - * - * This property will only work with synchronous plugins. - * If the processor contains any asynchronous plugins - * it will throw an error. - * - * PostCSS runners should always use `LazyResult#then`. - */ - get map(): SourceMap - - /** - * Processes input CSS through synchronous plugins - * and returns `Result#messages`. - * - * This property will only work with synchronous plugins. If the processor - * contains any asynchronous plugins it will throw an error. - * - * PostCSS runners should always use `LazyResult#then`. - */ - get messages(): Message[] - - /** - * Options from the `Processor#process` call. - */ - get opts(): ResultOptions - - /** - * Returns a `Processor` instance, which will be used - * for CSS transformations. - */ - get processor(): Processor - - /** - * Processes input CSS through synchronous plugins - * and returns `Result#root`. - * - * This property will only work with synchronous plugins. If the processor - * contains any asynchronous plugins it will throw an error. - * - * PostCSS runners should always use `LazyResult#then`. - */ - get root(): RootNode - - /** - * Returns the default string description of an object. - * Required to implement the Promise interface. - */ - get [Symbol.toStringTag](): string - - /** - * @param processor Processor used for this transformation. - * @param css CSS to parse and transform. - * @param opts Options from the `Processor#process` or `Root#toResult`. - */ - constructor(processor: Processor, css: string, opts: ResultOptions) - - /** - * Run plugin in async way and return `Result`. - * - * @return Result with output content. - */ - async(): Promise> - - /** - * Run plugin in sync way and return `Result`. - * - * @return Result with output content. - */ - sync(): Result - - /** - * Alias for the `LazyResult#css` property. - * - * ```js - * lazy + '' === lazy.css - * ``` - * - * @return Output CSS. - */ - toString(): string - - /** - * Processes input CSS through synchronous plugins - * and calls `Result#warnings`. - * - * @return Warnings from plugins. - */ - warnings(): Warning[] -} - -declare class LazyResult< - RootNode = Document | Root -> extends LazyResult_ {} - -export = LazyResult diff --git a/frontend/node_modules/postcss/lib/lazy-result.js b/frontend/node_modules/postcss/lib/lazy-result.js deleted file mode 100644 index 9026a7c..0000000 --- a/frontend/node_modules/postcss/lib/lazy-result.js +++ /dev/null @@ -1,563 +0,0 @@ -'use strict' - -let Container = require('./container') -let Document = require('./document') -let MapGenerator = require('./map-generator') -let parse = require('./parse') -let Result = require('./result') -let Root = require('./root') -let stringify = require('./stringify') -let { isClean, my } = require('./symbols') -let warnOnce = require('./warn-once') - -const TYPE_TO_CLASS_NAME = { - atrule: 'AtRule', - comment: 'Comment', - decl: 'Declaration', - document: 'Document', - root: 'Root', - rule: 'Rule' -} - -const PLUGIN_PROPS = { - AtRule: true, - AtRuleExit: true, - Comment: true, - CommentExit: true, - Declaration: true, - DeclarationExit: true, - Document: true, - DocumentExit: true, - Once: true, - OnceExit: true, - postcssPlugin: true, - prepare: true, - Root: true, - RootExit: true, - Rule: true, - RuleExit: true -} - -const NOT_VISITORS = { - Once: true, - postcssPlugin: true, - prepare: true -} - -const CHILDREN = 0 - -function isPromise(obj) { - return typeof obj === 'object' && typeof obj.then === 'function' -} - -function getEvents(node) { - let key = false - let type = TYPE_TO_CLASS_NAME[node.type] - if (node.type === 'decl') { - key = node.prop.toLowerCase() - } else if (node.type === 'atrule') { - key = node.name.toLowerCase() - } - - if (key && node.append) { - return [ - type, - type + '-' + key, - CHILDREN, - type + 'Exit', - type + 'Exit-' + key - ] - } else if (key) { - return [type, type + '-' + key, type + 'Exit', type + 'Exit-' + key] - } else if (node.append) { - return [type, CHILDREN, type + 'Exit'] - } else { - return [type, type + 'Exit'] - } -} - -function toStack(node) { - let events - if (node.type === 'document') { - events = ['Document', CHILDREN, 'DocumentExit'] - } else if (node.type === 'root') { - events = ['Root', CHILDREN, 'RootExit'] - } else { - events = getEvents(node) - } - - return { - eventIndex: 0, - events, - iterator: 0, - node, - visitorIndex: 0, - visitors: [] - } -} - -function cleanMarks(node) { - node[isClean] = false - if (node.nodes) node.nodes.forEach(i => cleanMarks(i)) - return node -} - -let postcss = {} - -class LazyResult { - get content() { - return this.stringify().content - } - - get css() { - return this.stringify().css - } - - get map() { - return this.stringify().map - } - - get messages() { - return this.sync().messages - } - - get opts() { - return this.result.opts - } - - get processor() { - return this.result.processor - } - - get root() { - return this.sync().root - } - - get [Symbol.toStringTag]() { - return 'LazyResult' - } - - constructor(processor, css, opts) { - this.stringified = false - this.processed = false - - let root - if ( - typeof css === 'object' && - css !== null && - (css.type === 'root' || css.type === 'document') - ) { - root = cleanMarks(css) - } else if (css instanceof LazyResult || css instanceof Result) { - root = cleanMarks(css.root) - if (css.map) { - if (typeof opts.map === 'undefined') opts.map = {} - if (!opts.map.inline) opts.map.inline = false - opts.map.prev = css.map - } - } else { - let parser = parse - if (opts.syntax) parser = opts.syntax.parse - if (opts.parser) parser = opts.parser - if (parser.parse) parser = parser.parse - - try { - root = parser(css, opts) - } catch (error) { - this.processed = true - this.error = error - } - - if (root && !root[my]) { - /* c8 ignore next 2 */ - Container.rebuild(root) - } - } - - this.result = new Result(processor, root, opts) - this.helpers = { ...postcss, postcss, result: this.result } - this.plugins = this.processor.plugins.map(plugin => { - if (typeof plugin === 'object' && plugin.prepare) { - return { ...plugin, ...plugin.prepare(this.result) } - } else { - return plugin - } - }) - } - - async() { - if (this.error) return Promise.reject(this.error) - if (this.processed) return Promise.resolve(this.result) - if (!this.processing) { - this.processing = this.runAsync() - } - return this.processing - } - - catch(onRejected) { - return this.async().catch(onRejected) - } - - finally(onFinally) { - return this.async().then(onFinally, onFinally) - } - - getAsyncError() { - throw new Error('Use process(css).then(cb) to work with async plugins') - } - - handleError(error, node) { - let plugin = this.result.lastPlugin - try { - if (node) node.addToError(error) - this.error = error - if (error.name === 'CssSyntaxError' && !error.plugin) { - error.plugin = plugin.postcssPlugin - error.setMessage() - } else if (plugin.postcssVersion) { - if (process.env.NODE_ENV !== 'production') { - let pluginName = plugin.postcssPlugin - let pluginVer = plugin.postcssVersion - let runtimeVer = this.result.processor.version - let a = pluginVer.split('.') - let b = runtimeVer.split('.') - - if (a[0] !== b[0] || parseInt(a[1]) > parseInt(b[1])) { - // eslint-disable-next-line no-console - console.error( - 'Unknown error from PostCSS plugin. Your current PostCSS ' + - 'version is ' + - runtimeVer + - ', but ' + - pluginName + - ' uses ' + - pluginVer + - '. Perhaps this is the source of the error below.' - ) - } - } - } - } catch (err) { - /* c8 ignore next 3 */ - // eslint-disable-next-line no-console - if (console && console.error) console.error(err) - } - return error - } - - prepareVisitors() { - this.listeners = {} - let add = (plugin, type, cb) => { - if (!this.listeners[type]) this.listeners[type] = [] - this.listeners[type].push([plugin, cb]) - } - for (let plugin of this.plugins) { - if (typeof plugin === 'object') { - for (let event in plugin) { - if (!PLUGIN_PROPS[event] && /^[A-Z]/.test(event)) { - throw new Error( - `Unknown event ${event} in ${plugin.postcssPlugin}. ` + - `Try to update PostCSS (${this.processor.version} now).` - ) - } - if (!NOT_VISITORS[event]) { - if (typeof plugin[event] === 'object') { - for (let filter in plugin[event]) { - if (filter === '*') { - add(plugin, event, plugin[event][filter]) - } else { - add( - plugin, - event + '-' + filter.toLowerCase(), - plugin[event][filter] - ) - } - } - } else if (typeof plugin[event] === 'function') { - add(plugin, event, plugin[event]) - } - } - } - } - } - this.hasListener = Object.keys(this.listeners).length > 0 - } - - async runAsync() { - this.plugin = 0 - for (let i = 0; i < this.plugins.length; i++) { - let plugin = this.plugins[i] - let promise = this.runOnRoot(plugin) - if (isPromise(promise)) { - try { - await promise - } catch (error) { - throw this.handleError(error) - } - } - } - - this.prepareVisitors() - if (this.hasListener) { - let root = this.result.root - while (!root[isClean]) { - root[isClean] = true - let stack = [toStack(root)] - while (stack.length > 0) { - let promise = this.visitTick(stack) - if (isPromise(promise)) { - try { - await promise - } catch (e) { - let node = stack[stack.length - 1].node - throw this.handleError(e, node) - } - } - } - } - - if (this.listeners.OnceExit) { - for (let [plugin, visitor] of this.listeners.OnceExit) { - this.result.lastPlugin = plugin - try { - if (root.type === 'document') { - let roots = root.nodes.map(subRoot => - visitor(subRoot, this.helpers) - ) - - await Promise.all(roots) - } else { - await visitor(root, this.helpers) - } - } catch (e) { - throw this.handleError(e) - } - } - } - } - - this.processed = true - return this.stringify() - } - - runOnRoot(plugin) { - this.result.lastPlugin = plugin - try { - if (typeof plugin === 'object' && plugin.Once) { - if (this.result.root.type === 'document') { - let roots = this.result.root.nodes.map(root => - plugin.Once(root, this.helpers) - ) - - if (isPromise(roots[0])) { - return Promise.all(roots) - } - - return roots - } - - return plugin.Once(this.result.root, this.helpers) - } else if (typeof plugin === 'function') { - return plugin(this.result.root, this.result) - } - } catch (error) { - throw this.handleError(error) - } - } - - stringify() { - if (this.error) throw this.error - if (this.stringified) return this.result - this.stringified = true - - this.sync() - - let opts = this.result.opts - let str = stringify - if (opts.syntax) str = opts.syntax.stringify - if (opts.stringifier) str = opts.stringifier - if (str.stringify) str = str.stringify - - let rootSource = this.result.root.source - if ( - opts.map === undefined && - !(rootSource && rootSource.input && rootSource.input.map) - ) { - let result = '' - str(this.result.root, i => { - result += i - }) - this.result.css = result - return this.result - } - - let map = new MapGenerator(str, this.result.root, this.result.opts) - let data = map.generate() - this.result.css = data[0] - this.result.map = data[1] - - return this.result - } - - sync() { - if (this.error) throw this.error - if (this.processed) return this.result - this.processed = true - - if (this.processing) { - throw this.getAsyncError() - } - - for (let plugin of this.plugins) { - let promise = this.runOnRoot(plugin) - if (isPromise(promise)) { - throw this.getAsyncError() - } - } - - this.prepareVisitors() - if (this.hasListener) { - let root = this.result.root - while (!root[isClean]) { - root[isClean] = true - this.walkSync(root) - } - if (this.listeners.OnceExit) { - if (root.type === 'document') { - for (let subRoot of root.nodes) { - this.visitSync(this.listeners.OnceExit, subRoot) - } - } else { - this.visitSync(this.listeners.OnceExit, root) - } - } - } - - return this.result - } - - then(onFulfilled, onRejected) { - if (process.env.NODE_ENV !== 'production') { - if (!('from' in this.opts)) { - warnOnce( - 'Without `from` option PostCSS could generate wrong source map ' + - 'and will not find Browserslist config. Set it to CSS file path ' + - 'or to `undefined` to prevent this warning.' - ) - } - } - return this.async().then(onFulfilled, onRejected) - } - - toString() { - return this.css - } - - visitSync(visitors, node) { - for (let [plugin, visitor] of visitors) { - this.result.lastPlugin = plugin - let promise - try { - promise = visitor(node, this.helpers) - } catch (e) { - throw this.handleError(e, node.proxyOf) - } - if (node.type !== 'root' && node.type !== 'document' && !node.parent) { - return true - } - if (isPromise(promise)) { - throw this.getAsyncError() - } - } - } - - visitTick(stack) { - let visit = stack[stack.length - 1] - let { node, visitors } = visit - - if (node.type !== 'root' && node.type !== 'document' && !node.parent) { - stack.pop() - return - } - - if (visitors.length > 0 && visit.visitorIndex < visitors.length) { - let [plugin, visitor] = visitors[visit.visitorIndex] - visit.visitorIndex += 1 - if (visit.visitorIndex === visitors.length) { - visit.visitors = [] - visit.visitorIndex = 0 - } - this.result.lastPlugin = plugin - try { - return visitor(node.toProxy(), this.helpers) - } catch (e) { - throw this.handleError(e, node) - } - } - - if (visit.iterator !== 0) { - let iterator = visit.iterator - let child - while ((child = node.nodes[node.indexes[iterator]])) { - node.indexes[iterator] += 1 - if (!child[isClean]) { - child[isClean] = true - stack.push(toStack(child)) - return - } - } - visit.iterator = 0 - delete node.indexes[iterator] - } - - let events = visit.events - while (visit.eventIndex < events.length) { - let event = events[visit.eventIndex] - visit.eventIndex += 1 - if (event === CHILDREN) { - if (node.nodes && node.nodes.length) { - node[isClean] = true - visit.iterator = node.getIterator() - } - return - } else if (this.listeners[event]) { - visit.visitors = this.listeners[event] - return - } - } - stack.pop() - } - - walkSync(node) { - node[isClean] = true - let events = getEvents(node) - for (let event of events) { - if (event === CHILDREN) { - if (node.nodes) { - node.each(child => { - if (!child[isClean]) this.walkSync(child) - }) - } - } else { - let visitors = this.listeners[event] - if (visitors) { - if (this.visitSync(visitors, node.toProxy())) return - } - } - } - } - - warnings() { - return this.sync().warnings() - } -} - -LazyResult.registerPostcss = dependant => { - postcss = dependant -} - -module.exports = LazyResult -LazyResult.default = LazyResult - -Root.registerLazyResult(LazyResult) -Document.registerLazyResult(LazyResult) diff --git a/frontend/node_modules/postcss/lib/list.d.ts b/frontend/node_modules/postcss/lib/list.d.ts deleted file mode 100644 index 119624e..0000000 --- a/frontend/node_modules/postcss/lib/list.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -declare namespace list { - type List = { - /** - * Safely splits comma-separated values (such as those for `transition-*` - * and `background` properties). - * - * ```js - * Once (root, { list }) { - * list.comma('black, linear-gradient(white, black)') - * //=> ['black', 'linear-gradient(white, black)'] - * } - * ``` - * - * @param str Comma-separated values. - * @return Split values. - */ - comma(str: string): string[] - - default: List - - /** - * Safely splits space-separated values (such as those for `background`, - * `border-radius`, and other shorthand properties). - * - * ```js - * Once (root, { list }) { - * list.space('1px calc(10% + 1px)') //=> ['1px', 'calc(10% + 1px)'] - * } - * ``` - * - * @param str Space-separated values. - * @return Split values. - */ - space(str: string): string[] - - /** - * Safely splits values. - * - * ```js - * Once (root, { list }) { - * list.split('1px calc(10% + 1px)', [' ', '\n', '\t']) //=> ['1px', 'calc(10% + 1px)'] - * } - * ``` - * - * @param string separated values. - * @param separators array of separators. - * @param last boolean indicator. - * @return Split values. - */ - split( - string: string, - separators: readonly string[], - last: boolean - ): string[] - } -} - -declare let list: list.List - -export = list diff --git a/frontend/node_modules/postcss/lib/list.js b/frontend/node_modules/postcss/lib/list.js deleted file mode 100644 index 1b31f98..0000000 --- a/frontend/node_modules/postcss/lib/list.js +++ /dev/null @@ -1,58 +0,0 @@ -'use strict' - -let list = { - comma(string) { - return list.split(string, [','], true) - }, - - space(string) { - let spaces = [' ', '\n', '\t'] - return list.split(string, spaces) - }, - - split(string, separators, last) { - let array = [] - let current = '' - let split = false - - let func = 0 - let inQuote = false - let prevQuote = '' - let escape = false - - for (let letter of string) { - if (escape) { - escape = false - } else if (letter === '\\') { - escape = true - } else if (inQuote) { - if (letter === prevQuote) { - inQuote = false - } - } else if (letter === '"' || letter === "'") { - inQuote = true - prevQuote = letter - } else if (letter === '(') { - func += 1 - } else if (letter === ')') { - if (func > 0) func -= 1 - } else if (func === 0) { - if (separators.includes(letter)) split = true - } - - if (split) { - if (current !== '') array.push(current.trim()) - current = '' - split = false - } else { - current += letter - } - } - - if (last || current !== '') array.push(current.trim()) - return array - } -} - -module.exports = list -list.default = list diff --git a/frontend/node_modules/postcss/lib/map-generator.js b/frontend/node_modules/postcss/lib/map-generator.js deleted file mode 100644 index df880ac..0000000 --- a/frontend/node_modules/postcss/lib/map-generator.js +++ /dev/null @@ -1,376 +0,0 @@ -'use strict' - -let { dirname, relative, resolve, sep } = require('path') -let { SourceMapConsumer, SourceMapGenerator } = require('source-map-js') -let { pathToFileURL } = require('url') - -let Input = require('./input') - -let sourceMapAvailable = Boolean(SourceMapConsumer && SourceMapGenerator) -let pathAvailable = Boolean(dirname && resolve && relative && sep) - -class MapGenerator { - constructor(stringify, root, opts, cssString) { - this.stringify = stringify - this.mapOpts = opts.map || {} - this.root = root - this.opts = opts - this.css = cssString - this.originalCSS = cssString - this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute - - this.memoizedFileURLs = new Map() - this.memoizedPaths = new Map() - this.memoizedURLs = new Map() - } - - addAnnotation() { - let content - - if (this.isInline()) { - content = - 'data:application/json;base64,' + this.toBase64(this.map.toString()) - } else if (typeof this.mapOpts.annotation === 'string') { - content = this.mapOpts.annotation - } else if (typeof this.mapOpts.annotation === 'function') { - content = this.mapOpts.annotation(this.opts.to, this.root) - } else { - content = this.outputFile() + '.map' - } - let eol = '\n' - if (this.css.includes('\r\n')) eol = '\r\n' - - this.css += eol + '/*# sourceMappingURL=' + content + ' */' - } - - applyPrevMaps() { - for (let prev of this.previous()) { - let from = this.toUrl(this.path(prev.file)) - let root = prev.root || dirname(prev.file) - let map - - if (this.mapOpts.sourcesContent === false) { - map = new SourceMapConsumer(prev.text) - if (map.sourcesContent) { - map.sourcesContent = null - } - } else { - map = prev.consumer() - } - - this.map.applySourceMap(map, from, this.toUrl(this.path(root))) - } - } - - clearAnnotation() { - if (this.mapOpts.annotation === false) return - - if (this.root) { - let node - for (let i = this.root.nodes.length - 1; i >= 0; i--) { - node = this.root.nodes[i] - if (node.type !== 'comment') continue - if (node.text.startsWith('# sourceMappingURL=')) { - this.root.removeChild(i) - } - } - } else if (this.css) { - let startIndex - while ((startIndex = this.css.lastIndexOf('/*#')) !== -1) { - let endIndex = this.css.indexOf('*/', startIndex + 3) - if (endIndex === -1) break - while (startIndex > 0 && this.css[startIndex - 1] === '\n') { - startIndex-- - } - this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2) - } - } - } - - generate() { - this.clearAnnotation() - if (pathAvailable && sourceMapAvailable && this.isMap()) { - return this.generateMap() - } else { - let result = '' - this.stringify(this.root, i => { - result += i - }) - return [result] - } - } - - generateMap() { - if (this.root) { - this.generateString() - } else if (this.previous().length === 1) { - let prev = this.previous()[0].consumer() - prev.file = this.outputFile() - this.map = SourceMapGenerator.fromSourceMap(prev, { - ignoreInvalidMapping: true - }) - } else { - this.map = new SourceMapGenerator({ - file: this.outputFile(), - ignoreInvalidMapping: true - }) - this.map.addMapping({ - generated: { column: 0, line: 1 }, - original: { column: 0, line: 1 }, - source: this.opts.from - ? this.toUrl(this.path(this.opts.from)) - : '' - }) - } - - if (this.isSourcesContent()) this.setSourcesContent() - if (this.root && this.previous().length > 0) this.applyPrevMaps() - if (this.isAnnotation()) this.addAnnotation() - - if (this.isInline()) { - return [this.css] - } else { - return [this.css, this.map] - } - } - - generateString() { - this.css = '' - this.map = new SourceMapGenerator({ - file: this.outputFile(), - ignoreInvalidMapping: true - }) - - let line = 1 - let column = 1 - - let noSource = '' - let mapping = { - generated: { column: 0, line: 0 }, - original: { column: 0, line: 0 }, - source: '' - } - - let last, lines - this.stringify(this.root, (str, node, type) => { - this.css += str - - if (node && type !== 'end') { - mapping.generated.line = line - mapping.generated.column = column - 1 - if (node.source && node.source.start) { - mapping.source = this.sourcePath(node) - mapping.original.line = node.source.start.line - mapping.original.column = node.source.start.column - 1 - this.map.addMapping(mapping) - } else { - mapping.source = noSource - mapping.original.line = 1 - mapping.original.column = 0 - this.map.addMapping(mapping) - } - } - - lines = str.match(/\n/g) - if (lines) { - line += lines.length - last = str.lastIndexOf('\n') - column = str.length - last - } else { - column += str.length - } - - if (node && type !== 'start') { - let p = node.parent || { raws: {} } - let childless = - node.type === 'decl' || (node.type === 'atrule' && !node.nodes) - if (!childless || node !== p.last || p.raws.semicolon) { - if (node.source && node.source.end) { - mapping.source = this.sourcePath(node) - mapping.original.line = node.source.end.line - mapping.original.column = node.source.end.column - 1 - mapping.generated.line = line - mapping.generated.column = column - 2 - this.map.addMapping(mapping) - } else { - mapping.source = noSource - mapping.original.line = 1 - mapping.original.column = 0 - mapping.generated.line = line - mapping.generated.column = column - 1 - this.map.addMapping(mapping) - } - } - } - }) - } - - isAnnotation() { - if (this.isInline()) { - return true - } - if (typeof this.mapOpts.annotation !== 'undefined') { - return this.mapOpts.annotation - } - if (this.previous().length) { - return this.previous().some(i => i.annotation) - } - return true - } - - isInline() { - if (typeof this.mapOpts.inline !== 'undefined') { - return this.mapOpts.inline - } - - let annotation = this.mapOpts.annotation - if (typeof annotation !== 'undefined' && annotation !== true) { - return false - } - - if (this.previous().length) { - return this.previous().some(i => i.inline) - } - return true - } - - isMap() { - if (typeof this.opts.map !== 'undefined') { - return !!this.opts.map - } - return this.previous().length > 0 - } - - isSourcesContent() { - if (typeof this.mapOpts.sourcesContent !== 'undefined') { - return this.mapOpts.sourcesContent - } - if (this.previous().length) { - return this.previous().some(i => i.withContent()) - } - return true - } - - outputFile() { - if (this.opts.to) { - return this.path(this.opts.to) - } else if (this.opts.from) { - return this.path(this.opts.from) - } else { - return 'to.css' - } - } - - path(file) { - if (this.mapOpts.absolute) return file - if (file.charCodeAt(0) === 60 /* `<` */) return file - if (/^\w+:\/\//.test(file)) return file - let cached = this.memoizedPaths.get(file) - if (cached) return cached - - let from = this.opts.to ? dirname(this.opts.to) : '.' - - if (typeof this.mapOpts.annotation === 'string') { - from = dirname(resolve(from, this.mapOpts.annotation)) - } - - let path = relative(from, file) - this.memoizedPaths.set(file, path) - - return path - } - - previous() { - if (!this.previousMaps) { - this.previousMaps = [] - if (this.root) { - this.root.walk(node => { - if (node.source && node.source.input.map) { - let map = node.source.input.map - if (!this.previousMaps.includes(map)) { - this.previousMaps.push(map) - } - } - }) - } else { - let input = new Input(this.originalCSS, this.opts) - if (input.map) this.previousMaps.push(input.map) - } - } - - return this.previousMaps - } - - setSourcesContent() { - let already = {} - if (this.root) { - this.root.walk(node => { - if (node.source) { - let from = node.source.input.from - if (from && !already[from]) { - already[from] = true - let fromUrl = this.usesFileUrls - ? this.toFileUrl(from) - : this.toUrl(this.path(from)) - this.map.setSourceContent(fromUrl, node.source.input.css) - } - } - }) - } else if (this.css) { - let from = this.opts.from - ? this.toUrl(this.path(this.opts.from)) - : '' - this.map.setSourceContent(from, this.css) - } - } - - sourcePath(node) { - if (this.mapOpts.from) { - return this.toUrl(this.mapOpts.from) - } else if (this.usesFileUrls) { - return this.toFileUrl(node.source.input.from) - } else { - return this.toUrl(this.path(node.source.input.from)) - } - } - - toBase64(str) { - if (Buffer) { - return Buffer.from(str).toString('base64') - } else { - return window.btoa(unescape(encodeURIComponent(str))) - } - } - - toFileUrl(path) { - let cached = this.memoizedFileURLs.get(path) - if (cached) return cached - - if (pathToFileURL) { - let fileURL = pathToFileURL(path).toString() - this.memoizedFileURLs.set(path, fileURL) - - return fileURL - } else { - throw new Error( - '`map.absolute` option is not available in this PostCSS build' - ) - } - } - - toUrl(path) { - let cached = this.memoizedURLs.get(path) - if (cached) return cached - - if (sep === '\\') { - path = path.replace(/\\/g, '/') - } - - let url = encodeURI(path).replace(/[#?]/g, encodeURIComponent) - this.memoizedURLs.set(path, url) - - return url - } -} - -module.exports = MapGenerator diff --git a/frontend/node_modules/postcss/lib/no-work-result.d.ts b/frontend/node_modules/postcss/lib/no-work-result.d.ts deleted file mode 100644 index fa9d284..0000000 --- a/frontend/node_modules/postcss/lib/no-work-result.d.ts +++ /dev/null @@ -1,45 +0,0 @@ -import LazyResult from './lazy-result.js' -import { SourceMap } from './postcss.js' -import Processor from './processor.js' -import Result, { Message, ResultOptions } from './result.js' -import Root from './root.js' -import Warning from './warning.js' - -declare namespace NoWorkResult { - export { NoWorkResult_ as default } -} - -/** - * A Promise proxy for the result of PostCSS transformations. - * This lazy result instance doesn't parse css unless `NoWorkResult#root` or `Result#root` - * are accessed. See the example below for details. - * A `NoWork` instance is returned by `Processor#process` ONLY when no plugins defined. - * - * ```js - * const noWorkResult = postcss().process(css) // No plugins are defined. - * // CSS is not parsed - * let root = noWorkResult.root // now css is parsed because we accessed the root - * ``` - */ -declare class NoWorkResult_ implements LazyResult { - catch: Promise>['catch'] - finally: Promise>['finally'] - then: Promise>['then'] - get content(): string - get css(): string - get map(): SourceMap - get messages(): Message[] - get opts(): ResultOptions - get processor(): Processor - get root(): Root - get [Symbol.toStringTag](): string - constructor(processor: Processor, css: string, opts: ResultOptions) - async(): Promise> - sync(): Result - toString(): string - warnings(): Warning[] -} - -declare class NoWorkResult extends NoWorkResult_ {} - -export = NoWorkResult diff --git a/frontend/node_modules/postcss/lib/no-work-result.js b/frontend/node_modules/postcss/lib/no-work-result.js deleted file mode 100644 index 7ec1a74..0000000 --- a/frontend/node_modules/postcss/lib/no-work-result.js +++ /dev/null @@ -1,137 +0,0 @@ -'use strict' - -let MapGenerator = require('./map-generator') -let parse = require('./parse') -let Result = require('./result') -let stringify = require('./stringify') -let warnOnce = require('./warn-once') - -class NoWorkResult { - get content() { - return this.result.css - } - - get css() { - return this.result.css - } - - get map() { - return this.result.map - } - - get messages() { - return [] - } - - get opts() { - return this.result.opts - } - - get processor() { - return this.result.processor - } - - get root() { - if (this._root) { - return this._root - } - - let root - let parser = parse - - try { - root = parser(this._css, this._opts) - } catch (error) { - this.error = error - } - - if (this.error) { - throw this.error - } else { - this._root = root - return root - } - } - - get [Symbol.toStringTag]() { - return 'NoWorkResult' - } - - constructor(processor, css, opts) { - css = css.toString() - this.stringified = false - - this._processor = processor - this._css = css - this._opts = opts - this._map = undefined - - let str = stringify - this.result = new Result(this._processor, undefined, this._opts) - this.result.css = css - - let self = this - Object.defineProperty(this.result, 'root', { - get() { - return self.root - } - }) - - let map = new MapGenerator(str, undefined, this._opts, css) - if (map.isMap()) { - let [generatedCSS, generatedMap] = map.generate() - if (generatedCSS) { - this.result.css = generatedCSS - } - if (generatedMap) { - this.result.map = generatedMap - } - } else { - map.clearAnnotation() - this.result.css = map.css - } - } - - async() { - if (this.error) return Promise.reject(this.error) - return Promise.resolve(this.result) - } - - catch(onRejected) { - return this.async().catch(onRejected) - } - - finally(onFinally) { - return this.async().then(onFinally, onFinally) - } - - sync() { - if (this.error) throw this.error - return this.result - } - - then(onFulfilled, onRejected) { - if (process.env.NODE_ENV !== 'production') { - if (!('from' in this._opts)) { - warnOnce( - 'Without `from` option PostCSS could generate wrong source map ' + - 'and will not find Browserslist config. Set it to CSS file path ' + - 'or to `undefined` to prevent this warning.' - ) - } - } - - return this.async().then(onFulfilled, onRejected) - } - - toString() { - return this._css - } - - warnings() { - return [] - } -} - -module.exports = NoWorkResult -NoWorkResult.default = NoWorkResult diff --git a/frontend/node_modules/postcss/lib/node.d.ts b/frontend/node_modules/postcss/lib/node.d.ts deleted file mode 100644 index ecd86e2..0000000 --- a/frontend/node_modules/postcss/lib/node.d.ts +++ /dev/null @@ -1,555 +0,0 @@ -import AtRule = require('./at-rule.js') -import { AtRuleProps } from './at-rule.js' -import Comment, { CommentProps } from './comment.js' -import Container, { NewChild } from './container.js' -import CssSyntaxError from './css-syntax-error.js' -import Declaration, { DeclarationProps } from './declaration.js' -import Document from './document.js' -import Input from './input.js' -import { Stringifier, Syntax } from './postcss.js' -import Result from './result.js' -import Root from './root.js' -import Rule, { RuleProps } from './rule.js' -import Warning, { WarningOptions } from './warning.js' - -declare namespace Node { - export type ChildNode = AtRule.default | Comment | Declaration | Rule - - export type AnyNode = - | AtRule.default - | Comment - | Declaration - | Document - | Root - | Rule - - export type ChildProps = - | AtRuleProps - | CommentProps - | DeclarationProps - | RuleProps - - export interface Position { - /** - * Source line in file. In contrast to `offset` it starts from 1. - */ - column: number - - /** - * Source column in file. - */ - line: number - - /** - * Source offset in file. It starts from 0. - */ - offset: number - } - - export interface Range { - /** - * End position, exclusive. - */ - end: Position - - /** - * Start position, inclusive. - */ - start: Position - } - - /** - * Source represents an interface for the {@link Node.source} property. - */ - export interface Source { - /** - * The inclusive ending position for the source - * code of a node. - * - * However, `end.offset` of a non `Root` node is the exclusive position. - * See https://github.com/postcss/postcss/pull/1879 for details. - * - * ```js - * const root = postcss.parse('a { color: black }') - * const a = root.first - * const color = a.first - * - * // The offset of `Root` node is the inclusive position - * css.source.end // { line: 1, column: 19, offset: 18 } - * - * // The offset of non `Root` node is the exclusive position - * a.source.end // { line: 1, column: 18, offset: 18 } - * color.source.end // { line: 1, column: 16, offset: 16 } - * ``` - */ - end?: Position - - /** - * The source file from where a node has originated. - */ - input: Input - - /** - * The inclusive starting position for the source - * code of a node. - */ - start?: Position - } - - /** - * Interface represents an interface for an object received - * as parameter by Node class constructor. - */ - export interface NodeProps { - source?: Source - } - - export interface NodeErrorOptions { - /** - * An ending index inside a node's string that should be highlighted as - * source of error. - */ - endIndex?: number - /** - * An index inside a node's string that should be highlighted as source - * of error. - */ - index?: number - /** - * Plugin name that created this error. PostCSS will set it automatically. - */ - plugin?: string - /** - * A word inside a node's string, that should be highlighted as source - * of error. - */ - word?: string - } - - class Node extends Node_ {} - export { Node as default } -} - -/** - * It represents an abstract class that handles common - * methods for other CSS abstract syntax tree nodes. - * - * Any node that represents CSS selector or value should - * not extend the `Node` class. - */ -declare abstract class Node_ { - /** - * It represents parent of the current node. - * - * ```js - * root.nodes[0].parent === root //=> true - * ``` - */ - parent: Container | Document | undefined - - /** - * It represents unnecessary whitespace and characters present - * in the css source code. - * - * Information to generate byte-to-byte equal node string as it was - * in the origin input. - * - * The properties of the raws object are decided by parser, - * the default parser uses the following properties: - * - * * `before`: the space symbols before the node. It also stores `*` - * and `_` symbols before the declaration (IE hack). - * * `after`: the space symbols after the last child of the node - * to the end of the node. - * * `between`: the symbols between the property and value - * for declarations, selector and `{` for rules, or last parameter - * and `{` for at-rules. - * * `semicolon`: contains true if the last child has - * an (optional) semicolon. - * * `afterName`: the space between the at-rule name and its parameters. - * * `left`: the space symbols between `/*` and the comment’s text. - * * `right`: the space symbols between the comment’s text - * and */. - * - `important`: the content of the important statement, - * if it is not just `!important`. - * - * PostCSS filters out the comments inside selectors, declaration values - * and at-rule parameters but it stores the origin content in raws. - * - * ```js - * const root = postcss.parse('a {\n color:black\n}') - * root.first.first.raws //=> { before: '\n ', between: ':' } - * ``` - */ - raws: any - - /** - * It represents information related to origin of a node and is required - * for generating source maps. - * - * The nodes that are created manually using the public APIs - * provided by PostCSS will have `source` undefined and - * will be absent in the source map. - * - * For this reason, the plugin developer should consider - * duplicating nodes as the duplicate node will have the - * same source as the original node by default or assign - * source to a node created manually. - * - * ```js - * decl.source.input.from //=> '/home/ai/source.css' - * decl.source.start //=> { line: 10, column: 2 } - * decl.source.end //=> { line: 10, column: 12 } - * ``` - * - * ```js - * // Incorrect method, source not specified! - * const prefixed = postcss.decl({ - * prop: '-moz-' + decl.prop, - * value: decl.value - * }) - * - * // Correct method, source is inherited when duplicating. - * const prefixed = decl.clone({ - * prop: '-moz-' + decl.prop - * }) - * ``` - * - * ```js - * if (atrule.name === 'add-link') { - * const rule = postcss.rule({ - * selector: 'a', - * source: atrule.source - * }) - * - * atrule.parent.insertBefore(atrule, rule) - * } - * ``` - */ - source?: Node.Source - - /** - * It represents type of a node in - * an abstract syntax tree. - * - * A type of node helps in identification of a node - * and perform operation based on it's type. - * - * ```js - * const declaration = new Declaration({ - * prop: 'color', - * value: 'black' - * }) - * - * declaration.type //=> 'decl' - * ``` - */ - type: string - - constructor(defaults?: object) - - /** - * Insert new node after current node to current node’s parent. - * - * Just alias for `node.parent.insertAfter(node, add)`. - * - * ```js - * decl.after('color: black') - * ``` - * - * @param newNode New node. - * @return This node for methods chain. - */ - after( - newNode: Node | Node.ChildProps | readonly Node[] | string | undefined - ): this - - /** - * It assigns properties to an existing node instance. - * - * ```js - * decl.assign({ prop: 'word-wrap', value: 'break-word' }) - * ``` - * - * @param overrides New properties to override the node. - * - * @return `this` for method chaining. - */ - assign(overrides: object): this - - /** - * Insert new node before current node to current node’s parent. - * - * Just alias for `node.parent.insertBefore(node, add)`. - * - * ```js - * decl.before('content: ""') - * ``` - * - * @param newNode New node. - * @return This node for methods chain. - */ - before( - newNode: Node | Node.ChildProps | readonly Node[] | string | undefined - ): this - - /** - * Clear the code style properties for the node and its children. - * - * ```js - * node.raws.before //=> ' ' - * node.cleanRaws() - * node.raws.before //=> undefined - * ``` - * - * @param keepBetween Keep the `raws.between` symbols. - */ - cleanRaws(keepBetween?: boolean): void - - /** - * It creates clone of an existing node, which includes all the properties - * and their values, that includes `raws` but not `type`. - * - * ```js - * decl.raws.before //=> "\n " - * const cloned = decl.clone({ prop: '-moz-' + decl.prop }) - * cloned.raws.before //=> "\n " - * cloned.toString() //=> -moz-transform: scale(0) - * ``` - * - * @param overrides New properties to override in the clone. - * - * @return Duplicate of the node instance. - */ - clone(overrides?: object): this - - /** - * Shortcut to clone the node and insert the resulting cloned node - * after the current node. - * - * @param overrides New properties to override in the clone. - * @return New node. - */ - cloneAfter(overrides?: object): this - - /** - * Shortcut to clone the node and insert the resulting cloned node - * before the current node. - * - * ```js - * decl.cloneBefore({ prop: '-moz-' + decl.prop }) - * ``` - * - * @param overrides Mew properties to override in the clone. - * - * @return New node - */ - cloneBefore(overrides?: object): this - - /** - * It creates an instance of the class `CssSyntaxError` and parameters passed - * to this method are assigned to the error instance. - * - * The error instance will have description for the - * error, original position of the node in the - * source, showing line and column number. - * - * If any previous map is present, it would be used - * to get original position of the source. - * - * The Previous Map here is referred to the source map - * generated by previous compilation, example: Less, - * Stylus and Sass. - * - * This method returns the error instance instead of - * throwing it. - * - * ```js - * if (!variables[name]) { - * throw decl.error(`Unknown variable ${name}`, { word: name }) - * // CssSyntaxError: postcss-vars:a.sass:4:3: Unknown variable $black - * // color: $black - * // a - * // ^ - * // background: white - * } - * ``` - * - * @param message Description for the error instance. - * @param options Options for the error instance. - * - * @return Error instance is returned. - */ - error(message: string, options?: Node.NodeErrorOptions): CssSyntaxError - - /** - * Returns the next child of the node’s parent. - * Returns `undefined` if the current node is the last child. - * - * ```js - * if (comment.text === 'delete next') { - * const next = comment.next() - * if (next) { - * next.remove() - * } - * } - * ``` - * - * @return Next node. - */ - next(): Node.ChildNode | undefined - - /** - * Get the position for a word or an index inside the node. - * - * @param opts Options. - * @return Position. - */ - positionBy(opts?: Pick): Node.Position - - /** - * Convert string index to line/column. - * - * @param index The symbol number in the node’s string. - * @return Symbol position in file. - */ - positionInside(index: number): Node.Position - - /** - * Returns the previous child of the node’s parent. - * Returns `undefined` if the current node is the first child. - * - * ```js - * const annotation = decl.prev() - * if (annotation.type === 'comment') { - * readAnnotation(annotation.text) - * } - * ``` - * - * @return Previous node. - */ - prev(): Node.ChildNode | undefined - - /** - * Get the range for a word or start and end index inside the node. - * The start index is inclusive; the end index is exclusive. - * - * @param opts Options. - * @return Range. - */ - rangeBy( - opts?: Pick - ): Node.Range - - /** - * Returns a `raws` value. If the node is missing - * the code style property (because the node was manually built or cloned), - * PostCSS will try to autodetect the code style property by looking - * at other nodes in the tree. - * - * ```js - * const root = postcss.parse('a { background: white }') - * root.nodes[0].append({ prop: 'color', value: 'black' }) - * root.nodes[0].nodes[1].raws.before //=> undefined - * root.nodes[0].nodes[1].raw('before') //=> ' ' - * ``` - * - * @param prop Name of code style property. - * @param defaultType Name of default value, it can be missed - * if the value is the same as prop. - * @return {string} Code style value. - */ - raw(prop: string, defaultType?: string): string - - /** - * It removes the node from its parent and deletes its parent property. - * - * ```js - * if (decl.prop.match(/^-webkit-/)) { - * decl.remove() - * } - * ``` - * - * @return `this` for method chaining. - */ - remove(): this - - /** - * Inserts node(s) before the current node and removes the current node. - * - * ```js - * AtRule: { - * mixin: atrule => { - * atrule.replaceWith(mixinRules[atrule.params]) - * } - * } - * ``` - * - * @param nodes Mode(s) to replace current one. - * @return Current node to methods chain. - */ - replaceWith(...nodes: NewChild[]): this - - /** - * Finds the Root instance of the node’s tree. - * - * ```js - * root.nodes[0].nodes[0].root() === root - * ``` - * - * @return Root parent. - */ - root(): Root - - /** - * Fix circular links on `JSON.stringify()`. - * - * @return Cleaned object. - */ - toJSON(): object - - /** - * It compiles the node to browser readable cascading style sheets string - * depending on it's type. - * - * ```js - * new Rule({ selector: 'a' }).toString() //=> "a {}" - * ``` - * - * @param stringifier A syntax to use in string generation. - * @return CSS string of this node. - */ - toString(stringifier?: Stringifier | Syntax): string - - /** - * It is a wrapper for {@link Result#warn}, providing convenient - * way of generating warnings. - * - * ```js - * Declaration: { - * bad: (decl, { result }) => { - * decl.warn(result, 'Deprecated property: bad') - * } - * } - * ``` - * - * @param result The `Result` instance that will receive the warning. - * @param message Description for the warning. - * @param options Options for the warning. - * - * @return `Warning` instance is returned - */ - warn(result: Result, message: string, options?: WarningOptions): Warning - - /** - * If this node isn't already dirty, marks it and its ancestors as such. This - * indicates to the LazyResult processor that the {@link Root} has been - * modified by the current plugin and may need to be processed again by other - * plugins. - */ - protected markDirty(): void -} - -declare class Node extends Node_ {} - -export = Node diff --git a/frontend/node_modules/postcss/lib/node.js b/frontend/node_modules/postcss/lib/node.js deleted file mode 100644 index b403b71..0000000 --- a/frontend/node_modules/postcss/lib/node.js +++ /dev/null @@ -1,449 +0,0 @@ -'use strict' - -let CssSyntaxError = require('./css-syntax-error') -let Stringifier = require('./stringifier') -let stringify = require('./stringify') -let { isClean, my } = require('./symbols') - -function cloneNode(obj, parent) { - let cloned = new obj.constructor() - - for (let i in obj) { - if (!Object.prototype.hasOwnProperty.call(obj, i)) { - /* c8 ignore next 2 */ - continue - } - if (i === 'proxyCache') continue - let value = obj[i] - let type = typeof value - - if (i === 'parent' && type === 'object') { - if (parent) cloned[i] = parent - } else if (i === 'source') { - cloned[i] = value - } else if (Array.isArray(value)) { - cloned[i] = value.map(j => cloneNode(j, cloned)) - } else { - if (type === 'object' && value !== null) value = cloneNode(value) - cloned[i] = value - } - } - - return cloned -} - -function sourceOffset(inputCSS, position) { - // Not all custom syntaxes support `offset` in `source.start` and `source.end` - if (position && typeof position.offset !== 'undefined') { - return position.offset - } - - let column = 1 - let line = 1 - let offset = 0 - - for (let i = 0; i < inputCSS.length; i++) { - if (line === position.line && column === position.column) { - offset = i - break - } - - if (inputCSS[i] === '\n') { - column = 1 - line += 1 - } else { - column += 1 - } - } - - return offset -} - -class Node { - get proxyOf() { - return this - } - - constructor(defaults = {}) { - this.raws = {} - this[isClean] = false - this[my] = true - - for (let name in defaults) { - if (name === 'nodes') { - this.nodes = [] - for (let node of defaults[name]) { - if (typeof node.clone === 'function') { - this.append(node.clone()) - } else { - this.append(node) - } - } - } else { - this[name] = defaults[name] - } - } - } - - addToError(error) { - error.postcssNode = this - if (error.stack && this.source && /\n\s{4}at /.test(error.stack)) { - let s = this.source - error.stack = error.stack.replace( - /\n\s{4}at /, - `$&${s.input.from}:${s.start.line}:${s.start.column}$&` - ) - } - return error - } - - after(add) { - this.parent.insertAfter(this, add) - return this - } - - assign(overrides = {}) { - for (let name in overrides) { - this[name] = overrides[name] - } - return this - } - - before(add) { - this.parent.insertBefore(this, add) - return this - } - - cleanRaws(keepBetween) { - delete this.raws.before - delete this.raws.after - if (!keepBetween) delete this.raws.between - } - - clone(overrides = {}) { - let cloned = cloneNode(this) - for (let name in overrides) { - cloned[name] = overrides[name] - } - return cloned - } - - cloneAfter(overrides = {}) { - let cloned = this.clone(overrides) - this.parent.insertAfter(this, cloned) - return cloned - } - - cloneBefore(overrides = {}) { - let cloned = this.clone(overrides) - this.parent.insertBefore(this, cloned) - return cloned - } - - error(message, opts = {}) { - if (this.source) { - let { end, start } = this.rangeBy(opts) - return this.source.input.error( - message, - { column: start.column, line: start.line }, - { column: end.column, line: end.line }, - opts - ) - } - return new CssSyntaxError(message) - } - - getProxyProcessor() { - return { - get(node, prop) { - if (prop === 'proxyOf') { - return node - } else if (prop === 'root') { - return () => node.root().toProxy() - } else { - return node[prop] - } - }, - - set(node, prop, value) { - if (node[prop] === value) return true - node[prop] = value - if ( - prop === 'prop' || - prop === 'value' || - prop === 'name' || - prop === 'params' || - prop === 'important' || - /* c8 ignore next */ - prop === 'text' - ) { - node.markDirty() - } - return true - } - } - } - - /* c8 ignore next 3 */ - markClean() { - this[isClean] = true - } - - markDirty() { - if (this[isClean]) { - this[isClean] = false - let next = this - while ((next = next.parent)) { - next[isClean] = false - } - } - } - - next() { - if (!this.parent) return undefined - let index = this.parent.index(this) - return this.parent.nodes[index + 1] - } - - positionBy(opts = {}) { - let pos = this.source.start - if (opts.index) { - pos = this.positionInside(opts.index) - } else if (opts.word) { - let inputString = - 'document' in this.source.input - ? this.source.input.document - : this.source.input.css - let stringRepresentation = inputString.slice( - sourceOffset(inputString, this.source.start), - sourceOffset(inputString, this.source.end) - ) - let index = stringRepresentation.indexOf(opts.word) - if (index !== -1) pos = this.positionInside(index) - } - return pos - } - - positionInside(index) { - let column = this.source.start.column - let line = this.source.start.line - let inputString = - 'document' in this.source.input - ? this.source.input.document - : this.source.input.css - let offset = sourceOffset(inputString, this.source.start) - let end = offset + index - - for (let i = offset; i < end; i++) { - if (inputString[i] === '\n') { - column = 1 - line += 1 - } else { - column += 1 - } - } - - return { column, line, offset: end } - } - - prev() { - if (!this.parent) return undefined - let index = this.parent.index(this) - return this.parent.nodes[index - 1] - } - - rangeBy(opts = {}) { - let inputString = - 'document' in this.source.input - ? this.source.input.document - : this.source.input.css - let start = { - column: this.source.start.column, - line: this.source.start.line, - offset: sourceOffset(inputString, this.source.start) - } - let end = this.source.end - ? { - column: this.source.end.column + 1, - line: this.source.end.line, - offset: - typeof this.source.end.offset === 'number' - ? // `source.end.offset` is exclusive, so we don't need to add 1 - this.source.end.offset - : // Since line/column in this.source.end is inclusive, - // the `sourceOffset(... , this.source.end)` returns an inclusive offset. - // So, we add 1 to convert it to exclusive. - sourceOffset(inputString, this.source.end) + 1 - } - : { - column: start.column + 1, - line: start.line, - offset: start.offset + 1 - } - - if (opts.word) { - let stringRepresentation = inputString.slice( - sourceOffset(inputString, this.source.start), - sourceOffset(inputString, this.source.end) - ) - let index = stringRepresentation.indexOf(opts.word) - if (index !== -1) { - start = this.positionInside(index) - end = this.positionInside(index + opts.word.length) - } - } else { - if (opts.start) { - start = { - column: opts.start.column, - line: opts.start.line, - offset: sourceOffset(inputString, opts.start) - } - } else if (opts.index) { - start = this.positionInside(opts.index) - } - - if (opts.end) { - end = { - column: opts.end.column, - line: opts.end.line, - offset: sourceOffset(inputString, opts.end) - } - } else if (typeof opts.endIndex === 'number') { - end = this.positionInside(opts.endIndex) - } else if (opts.index) { - end = this.positionInside(opts.index + 1) - } - } - - if ( - end.line < start.line || - (end.line === start.line && end.column <= start.column) - ) { - end = { - column: start.column + 1, - line: start.line, - offset: start.offset + 1 - } - } - - return { end, start } - } - - raw(prop, defaultType) { - let str = new Stringifier() - return str.raw(this, prop, defaultType) - } - - remove() { - if (this.parent) { - this.parent.removeChild(this) - } - this.parent = undefined - return this - } - - replaceWith(...nodes) { - if (this.parent) { - let bookmark = this - let foundSelf = false - for (let node of nodes) { - if (node === this) { - foundSelf = true - } else if (foundSelf) { - this.parent.insertAfter(bookmark, node) - bookmark = node - } else { - this.parent.insertBefore(bookmark, node) - } - } - - if (!foundSelf) { - this.remove() - } - } - - return this - } - - root() { - let result = this - while (result.parent && result.parent.type !== 'document') { - result = result.parent - } - return result - } - - toJSON(_, inputs) { - let fixed = {} - let emitInputs = inputs == null - inputs = inputs || new Map() - let inputsNextIndex = 0 - - for (let name in this) { - if (!Object.prototype.hasOwnProperty.call(this, name)) { - /* c8 ignore next 2 */ - continue - } - if (name === 'parent' || name === 'proxyCache') continue - let value = this[name] - - if (Array.isArray(value)) { - fixed[name] = value.map(i => { - if (typeof i === 'object' && i.toJSON) { - return i.toJSON(null, inputs) - } else { - return i - } - }) - } else if (typeof value === 'object' && value.toJSON) { - fixed[name] = value.toJSON(null, inputs) - } else if (name === 'source') { - if (value == null) continue - let inputId = inputs.get(value.input) - if (inputId == null) { - inputId = inputsNextIndex - inputs.set(value.input, inputsNextIndex) - inputsNextIndex++ - } - fixed[name] = { - end: value.end, - inputId, - start: value.start - } - } else { - fixed[name] = value - } - } - - if (emitInputs) { - fixed.inputs = [...inputs.keys()].map(input => input.toJSON()) - } - - return fixed - } - - toProxy() { - if (!this.proxyCache) { - this.proxyCache = new Proxy(this, this.getProxyProcessor()) - } - return this.proxyCache - } - - toString(stringifier = stringify) { - if (stringifier.stringify) stringifier = stringifier.stringify - let result = '' - stringifier(this, i => { - result += i - }) - return result - } - - warn(result, text, opts = {}) { - let data = { node: this } - for (let i in opts) data[i] = opts[i] - return result.warn(text, data) - } -} - -module.exports = Node -Node.default = Node diff --git a/frontend/node_modules/postcss/lib/parse.d.ts b/frontend/node_modules/postcss/lib/parse.d.ts deleted file mode 100644 index ffe35b4..0000000 --- a/frontend/node_modules/postcss/lib/parse.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Parser } from './postcss.js' - -interface Parse extends Parser { - default: Parse -} - -declare let parse: Parse - -export = parse diff --git a/frontend/node_modules/postcss/lib/parse.js b/frontend/node_modules/postcss/lib/parse.js deleted file mode 100644 index 00a1037..0000000 --- a/frontend/node_modules/postcss/lib/parse.js +++ /dev/null @@ -1,42 +0,0 @@ -'use strict' - -let Container = require('./container') -let Input = require('./input') -let Parser = require('./parser') - -function parse(css, opts) { - let input = new Input(css, opts) - let parser = new Parser(input) - try { - parser.parse() - } catch (e) { - if (process.env.NODE_ENV !== 'production') { - if (e.name === 'CssSyntaxError' && opts && opts.from) { - if (/\.scss$/i.test(opts.from)) { - e.message += - '\nYou tried to parse SCSS with ' + - 'the standard CSS parser; ' + - 'try again with the postcss-scss parser' - } else if (/\.sass/i.test(opts.from)) { - e.message += - '\nYou tried to parse Sass with ' + - 'the standard CSS parser; ' + - 'try again with the postcss-sass parser' - } else if (/\.less$/i.test(opts.from)) { - e.message += - '\nYou tried to parse Less with ' + - 'the standard CSS parser; ' + - 'try again with the postcss-less parser' - } - } - } - throw e - } - - return parser.root -} - -module.exports = parse -parse.default = parse - -Container.registerParse(parse) diff --git a/frontend/node_modules/postcss/lib/parser.js b/frontend/node_modules/postcss/lib/parser.js deleted file mode 100644 index 2a16584..0000000 --- a/frontend/node_modules/postcss/lib/parser.js +++ /dev/null @@ -1,618 +0,0 @@ -'use strict' - -let AtRule = require('./at-rule') -let Comment = require('./comment') -let Declaration = require('./declaration') -let Root = require('./root') -let Rule = require('./rule') -let tokenizer = require('./tokenize') - -const SAFE_COMMENT_NEIGHBOR = { - empty: true, - space: true -} - -function findLastWithPosition(tokens) { - for (let i = tokens.length - 1; i >= 0; i--) { - let token = tokens[i] - let pos = token[3] || token[2] - if (pos) return pos - } -} - -function tokensToString(tokens, from, to) { - let result = '' - for (let i = from; i < to; i++) result += tokens[i][1] - return result -} - -class Parser { - constructor(input) { - this.input = input - - this.root = new Root() - this.current = this.root - this.spaces = '' - this.semicolon = false - - this.createTokenizer() - this.root.source = { input, start: { column: 1, line: 1, offset: 0 } } - } - - atrule(token) { - let node = new AtRule() - node.name = token[1].slice(1) - if (node.name === '') { - this.unnamedAtrule(node, token) - } - this.init(node, token[2]) - - let type - let prev - let shift - let last = false - let open = false - let params = [] - let brackets = [] - - while (!this.tokenizer.endOfFile()) { - token = this.tokenizer.nextToken() - type = token[0] - - if (type === '(' || type === '[') { - brackets.push(type === '(' ? ')' : ']') - } else if (type === '{' && brackets.length > 0) { - brackets.push('}') - } else if (type === brackets[brackets.length - 1]) { - brackets.pop() - } - - if (brackets.length === 0) { - if (type === ';') { - node.source.end = this.getPosition(token[2]) - node.source.end.offset++ - this.semicolon = true - break - } else if (type === '{') { - open = true - break - } else if (type === '}') { - if (params.length > 0) { - shift = params.length - 1 - prev = params[shift] - while (prev && prev[0] === 'space') { - prev = params[--shift] - } - if (prev) { - node.source.end = this.getPosition(prev[3] || prev[2]) - node.source.end.offset++ - } - } - this.end(token) - break - } else { - params.push(token) - } - } else { - params.push(token) - } - - if (this.tokenizer.endOfFile()) { - last = true - break - } - } - - node.raws.between = this.spacesAndCommentsFromEnd(params) - if (params.length) { - node.raws.afterName = this.spacesAndCommentsFromStart(params) - this.raw(node, 'params', params) - if (last) { - token = params[params.length - 1] - node.source.end = this.getPosition(token[3] || token[2]) - node.source.end.offset++ - this.spaces = node.raws.between - node.raws.between = '' - } - } else { - node.raws.afterName = '' - node.params = '' - } - - if (open) { - node.nodes = [] - this.current = node - } - } - - checkMissedSemicolon(tokens) { - let colon = this.colon(tokens) - if (colon === false) return - - let founded = 0 - let token - for (let j = colon - 1; j >= 0; j--) { - token = tokens[j] - if (token[0] !== 'space') { - founded += 1 - if (founded === 2) break - } - } - // If the token is a word, e.g. `!important`, `red` or any other valid - // property's value. Then we need to return the colon after that word - // token. [3] is the "end" colon of that word. And because we need it - // after that one we do +1 to get the next one. - throw this.input.error( - 'Missed semicolon', - token[0] === 'word' ? token[3] + 1 : token[2] - ) - } - - colon(tokens) { - let brackets = 0 - let prev, token, type - for (let [i, element] of tokens.entries()) { - token = element - type = token[0] - - if (type === '(') { - brackets += 1 - } - if (type === ')') { - brackets -= 1 - } - if (brackets === 0 && type === ':') { - if (!prev) { - this.doubleColon(token) - } else if (prev[0] === 'word' && prev[1] === 'progid') { - continue - } else { - return i - } - } - - prev = token - } - return false - } - - comment(token) { - let node = new Comment() - this.init(node, token[2]) - node.source.end = this.getPosition(token[3] || token[2]) - node.source.end.offset++ - - let text = token[1].slice(2, -2) - if (!text.trim()) { - node.text = '' - node.raws.left = text - node.raws.right = '' - } else { - let match = text.match(/^(\s*)([^]*\S)(\s*)$/) - node.text = match[2] - node.raws.left = match[1] - node.raws.right = match[3] - } - } - - createTokenizer() { - this.tokenizer = tokenizer(this.input) - } - - decl(tokens, customProperty) { - let node = new Declaration() - this.init(node, tokens[0][2]) - - let last = tokens[tokens.length - 1] - if (last[0] === ';') { - this.semicolon = true - tokens.pop() - } - - node.source.end = this.getPosition( - last[3] || last[2] || findLastWithPosition(tokens) - ) - node.source.end.offset++ - - let start = 0 - while (tokens[start][0] !== 'word') { - if (start === tokens.length - 1) this.unknownWord([tokens[start]]) - start++ - } - node.raws.before += tokensToString(tokens, 0, start) - node.source.start = this.getPosition(tokens[start][2]) - - let propStart = start - while (start < tokens.length) { - let type = tokens[start][0] - if (type === ':' || type === 'space' || type === 'comment') { - break - } - start++ - } - node.prop = tokensToString(tokens, propStart, start) - - let betweenStart = start - let token - while (start < tokens.length) { - token = tokens[start] - start++ - if (token[0] === ':') break - if (token[0] === 'word' && /\w/.test(token[1])) { - this.unknownWord([token]) - } - } - node.raws.between = tokensToString(tokens, betweenStart, start) - - if (node.prop[0] === '_' || node.prop[0] === '*') { - node.raws.before += node.prop[0] - node.prop = node.prop.slice(1) - } - - let firstSpacesStart = start - while (start < tokens.length) { - let next = tokens[start][0] - if (next !== 'space' && next !== 'comment') break - start++ - } - let firstSpaces = tokens.slice(firstSpacesStart, start) - - tokens = tokens.slice(start) - - this.precheckMissedSemicolon(tokens) - - for (let i = tokens.length - 1; i >= 0; i--) { - token = tokens[i] - if (token[1].toLowerCase() === '!important') { - node.important = true - let string = this.stringFrom(tokens, i) - string = this.spacesFromEnd(tokens) + string - if (string !== ' !important') node.raws.important = string - break - } else if (token[1].toLowerCase() === 'important') { - let cache = tokens.slice(0) - let str = '' - for (let j = i; j > 0; j--) { - let type = cache[j][0] - if (str.trim().startsWith('!') && type !== 'space') { - break - } - str = cache.pop()[1] + str - } - if (str.trim().startsWith('!')) { - node.important = true - node.raws.important = str - tokens = cache - } - } - - if (token[0] !== 'space' && token[0] !== 'comment') { - break - } - } - - let hasWord = tokens.some(i => i[0] !== 'space' && i[0] !== 'comment') - - if (hasWord) { - node.raws.between += firstSpaces.map(i => i[1]).join('') - firstSpaces = [] - } - this.raw(node, 'value', firstSpaces.concat(tokens), customProperty) - - if (node.value.includes(':') && !customProperty) { - this.checkMissedSemicolon(tokens) - } - } - - doubleColon(token) { - throw this.input.error( - 'Double colon', - { offset: token[2] }, - { offset: token[2] + token[1].length } - ) - } - - emptyRule(token) { - let node = new Rule() - this.init(node, token[2]) - node.selector = '' - node.raws.between = '' - this.current = node - } - - end(token) { - if (this.current.nodes && this.current.nodes.length) { - this.current.raws.semicolon = this.semicolon - } - this.semicolon = false - - this.current.raws.after = (this.current.raws.after || '') + this.spaces - this.spaces = '' - - if (this.current.parent) { - this.current.source.end = this.getPosition(token[2]) - this.current.source.end.offset++ - this.current = this.current.parent - } else { - this.unexpectedClose(token) - } - } - - endFile() { - if (this.current.parent) this.unclosedBlock() - if (this.current.nodes && this.current.nodes.length) { - this.current.raws.semicolon = this.semicolon - } - this.current.raws.after = (this.current.raws.after || '') + this.spaces - this.root.source.end = this.getPosition(this.tokenizer.position()) - } - - freeSemicolon(token) { - this.spaces += token[1] - if (this.current.nodes) { - let prev = this.current.nodes[this.current.nodes.length - 1] - if (prev && prev.type === 'rule' && !prev.raws.ownSemicolon) { - prev.raws.ownSemicolon = this.spaces - this.spaces = '' - prev.source.end = this.getPosition(token[2]) - prev.source.end.offset += prev.raws.ownSemicolon.length - } - } - } - - // Helpers - - getPosition(offset) { - let pos = this.input.fromOffset(offset) - return { - column: pos.col, - line: pos.line, - offset - } - } - - init(node, offset) { - this.current.push(node) - node.source = { - input: this.input, - start: this.getPosition(offset) - } - node.raws.before = this.spaces - this.spaces = '' - if (node.type !== 'comment') this.semicolon = false - } - - other(start) { - let end = false - let type = null - let colon = false - let bracket = null - let brackets = [] - let customProperty = start[1].startsWith('--') - - let tokens = [] - let token = start - while (token) { - type = token[0] - tokens.push(token) - - if (type === '(' || type === '[') { - if (!bracket) bracket = token - brackets.push(type === '(' ? ')' : ']') - } else if (customProperty && colon && type === '{') { - if (!bracket) bracket = token - brackets.push('}') - } else if (brackets.length === 0) { - if (type === ';') { - if (colon) { - this.decl(tokens, customProperty) - return - } else { - break - } - } else if (type === '{') { - this.rule(tokens) - return - } else if (type === '}') { - this.tokenizer.back(tokens.pop()) - end = true - break - } else if (type === ':') { - colon = true - } - } else if (type === brackets[brackets.length - 1]) { - brackets.pop() - if (brackets.length === 0) bracket = null - } - - token = this.tokenizer.nextToken() - } - - if (this.tokenizer.endOfFile()) end = true - if (brackets.length > 0) this.unclosedBracket(bracket) - - if (end && colon) { - if (!customProperty) { - while (tokens.length) { - token = tokens[tokens.length - 1][0] - if (token !== 'space' && token !== 'comment') break - this.tokenizer.back(tokens.pop()) - } - } - this.decl(tokens, customProperty) - } else { - this.unknownWord(tokens) - } - } - - parse() { - let token - while (!this.tokenizer.endOfFile()) { - token = this.tokenizer.nextToken() - - switch (token[0]) { - case 'space': - this.spaces += token[1] - break - - case ';': - this.freeSemicolon(token) - break - - case '}': - this.end(token) - break - - case 'comment': - this.comment(token) - break - - case 'at-word': - this.atrule(token) - break - - case '{': - this.emptyRule(token) - break - - default: - this.other(token) - break - } - } - this.endFile() - } - - precheckMissedSemicolon(/* tokens */) { - // Hook for Safe Parser - } - - raw(node, prop, tokens, customProperty) { - let token, type - let length = tokens.length - let value = '' - let clean = true - let next, prev - - for (let i = 0; i < length; i += 1) { - token = tokens[i] - type = token[0] - if (type === 'space' && i === length - 1 && !customProperty) { - clean = false - } else if (type === 'comment') { - prev = tokens[i - 1] ? tokens[i - 1][0] : 'empty' - next = tokens[i + 1] ? tokens[i + 1][0] : 'empty' - if (!SAFE_COMMENT_NEIGHBOR[prev] && !SAFE_COMMENT_NEIGHBOR[next]) { - if (value.slice(-1) === ',') { - clean = false - } else { - value += token[1] - } - } else { - clean = false - } - } else { - value += token[1] - } - } - if (!clean) { - let raw = tokens.reduce((all, i) => all + i[1], '') - node.raws[prop] = { raw, value } - } - node[prop] = value - } - - rule(tokens) { - tokens.pop() - - let node = new Rule() - this.init(node, tokens[0][2]) - - node.raws.between = this.spacesAndCommentsFromEnd(tokens) - this.raw(node, 'selector', tokens) - this.current = node - } - - spacesAndCommentsFromEnd(tokens) { - let lastTokenType - let spaces = '' - while (tokens.length) { - lastTokenType = tokens[tokens.length - 1][0] - if (lastTokenType !== 'space' && lastTokenType !== 'comment') break - spaces = tokens.pop()[1] + spaces - } - return spaces - } - - // Errors - - spacesAndCommentsFromStart(tokens) { - let next - let spaces = '' - while (tokens.length) { - next = tokens[0][0] - if (next !== 'space' && next !== 'comment') break - spaces += tokens.shift()[1] - } - return spaces - } - - spacesFromEnd(tokens) { - let lastTokenType - let spaces = '' - while (tokens.length) { - lastTokenType = tokens[tokens.length - 1][0] - if (lastTokenType !== 'space') break - spaces = tokens.pop()[1] + spaces - } - return spaces - } - - stringFrom(tokens, from) { - let result = '' - for (let i = from; i < tokens.length; i++) { - result += tokens[i][1] - } - tokens.splice(from, tokens.length - from) - return result - } - - unclosedBlock() { - let pos = this.current.source.start - throw this.input.error('Unclosed block', pos.line, pos.column) - } - - unclosedBracket(bracket) { - throw this.input.error( - 'Unclosed bracket', - { offset: bracket[2] }, - { offset: bracket[2] + 1 } - ) - } - - unexpectedClose(token) { - throw this.input.error( - 'Unexpected }', - { offset: token[2] }, - { offset: token[2] + 1 } - ) - } - - unknownWord(tokens) { - throw this.input.error( - 'Unknown word ' + tokens[0][1], - { offset: tokens[0][2] }, - { offset: tokens[0][2] + tokens[0][1].length } - ) - } - - unnamedAtrule(node, token) { - throw this.input.error( - 'At-rule without name', - { offset: token[2] }, - { offset: token[2] + token[1].length } - ) - } -} - -module.exports = Parser diff --git a/frontend/node_modules/postcss/lib/postcss.d.mts b/frontend/node_modules/postcss/lib/postcss.d.mts deleted file mode 100644 index eaec868..0000000 --- a/frontend/node_modules/postcss/lib/postcss.d.mts +++ /dev/null @@ -1,66 +0,0 @@ -export { - // Type-only exports - AcceptedPlugin, - AnyNode, - atRule, - AtRule, - AtRuleProps, - Builder, - ChildNode, - ChildProps, - comment, - Comment, - CommentProps, - Container, - ContainerProps, - CssSyntaxError, - decl, - Declaration, - DeclarationProps, - // postcss function / namespace - default, - document, - Document, - DocumentProps, - FilePosition, - fromJSON, - Helpers, - Input, - JSONHydrator, - // This is a class, but it’s not re-exported. That’s why it’s exported as type-only here. - type LazyResult, - list, - Message, - Node, - NodeErrorOptions, - NodeProps, - OldPlugin, - parse, - Parser, - // @ts-expect-error This value exists, but it’s untyped. - plugin, - Plugin, - PluginCreator, - Position, - Postcss, - ProcessOptions, - Processor, - Result, - root, - Root, - RootProps, - rule, - Rule, - RuleProps, - Source, - SourceMap, - SourceMapOptions, - Stringifier, - // Value exports from postcss.mjs - stringify, - Syntax, - TransformCallback, - Transformer, - Warning, - WarningOptions -} from './postcss.js' diff --git a/frontend/node_modules/postcss/lib/postcss.d.ts b/frontend/node_modules/postcss/lib/postcss.d.ts deleted file mode 100644 index 667d820..0000000 --- a/frontend/node_modules/postcss/lib/postcss.d.ts +++ /dev/null @@ -1,461 +0,0 @@ -import { RawSourceMap, SourceMapGenerator } from 'source-map-js' - -import AtRule, { AtRuleProps } from './at-rule.js' -import Comment, { CommentProps } from './comment.js' -import Container, { ContainerProps, NewChild } from './container.js' -import CssSyntaxError from './css-syntax-error.js' -import Declaration, { DeclarationProps } from './declaration.js' -import Document, { DocumentProps } from './document.js' -import Input, { FilePosition } from './input.js' -import LazyResult from './lazy-result.js' -import list from './list.js' -import Node, { - AnyNode, - ChildNode, - ChildProps, - NodeErrorOptions, - NodeProps, - Position, - Source -} from './node.js' -import Processor from './processor.js' -import Result, { Message } from './result.js' -import Root, { RootProps } from './root.js' -import Rule, { RuleProps } from './rule.js' -import Warning, { WarningOptions } from './warning.js' - -type DocumentProcessor = ( - document: Document, - helper: postcss.Helpers -) => Promise | void -type RootProcessor = ( - root: Root, - helper: postcss.Helpers -) => Promise | void -type DeclarationProcessor = ( - decl: Declaration, - helper: postcss.Helpers -) => Promise | void -type RuleProcessor = ( - rule: Rule, - helper: postcss.Helpers -) => Promise | void -type AtRuleProcessor = ( - atRule: AtRule, - helper: postcss.Helpers -) => Promise | void -type CommentProcessor = ( - comment: Comment, - helper: postcss.Helpers -) => Promise | void - -interface Processors { - /** - * Will be called on all`AtRule` nodes. - * - * Will be called again on node or children changes. - */ - AtRule?: { [name: string]: AtRuleProcessor } | AtRuleProcessor - - /** - * Will be called on all `AtRule` nodes, when all children will be processed. - * - * Will be called again on node or children changes. - */ - AtRuleExit?: { [name: string]: AtRuleProcessor } | AtRuleProcessor - - /** - * Will be called on all `Comment` nodes. - * - * Will be called again on node or children changes. - */ - Comment?: CommentProcessor - - /** - * Will be called on all `Comment` nodes after listeners - * for `Comment` event. - * - * Will be called again on node or children changes. - */ - CommentExit?: CommentProcessor - - /** - * Will be called on all `Declaration` nodes after listeners - * for `Declaration` event. - * - * Will be called again on node or children changes. - */ - Declaration?: { [prop: string]: DeclarationProcessor } | DeclarationProcessor - - /** - * Will be called on all `Declaration` nodes. - * - * Will be called again on node or children changes. - */ - DeclarationExit?: - | { [prop: string]: DeclarationProcessor } - | DeclarationProcessor - - /** - * Will be called on `Document` node. - * - * Will be called again on children changes. - */ - Document?: DocumentProcessor - - /** - * Will be called on `Document` node, when all children will be processed. - * - * Will be called again on children changes. - */ - DocumentExit?: DocumentProcessor - - /** - * Will be called on `Root` node once. - */ - Once?: RootProcessor - - /** - * Will be called on `Root` node once, when all children will be processed. - */ - OnceExit?: RootProcessor - - /** - * Will be called on `Root` node. - * - * Will be called again on children changes. - */ - Root?: RootProcessor - - /** - * Will be called on `Root` node, when all children will be processed. - * - * Will be called again on children changes. - */ - RootExit?: RootProcessor - - /** - * Will be called on all `Rule` nodes. - * - * Will be called again on node or children changes. - */ - Rule?: RuleProcessor - - /** - * Will be called on all `Rule` nodes, when all children will be processed. - * - * Will be called again on node or children changes. - */ - RuleExit?: RuleProcessor -} - -declare namespace postcss { - export { - AnyNode, - AtRule, - AtRuleProps, - ChildNode, - ChildProps, - Comment, - CommentProps, - Container, - ContainerProps, - CssSyntaxError, - Declaration, - DeclarationProps, - Document, - DocumentProps, - FilePosition, - Input, - LazyResult, - list, - Message, - NewChild, - Node, - NodeErrorOptions, - NodeProps, - Position, - Processor, - Result, - Root, - RootProps, - Rule, - RuleProps, - Source, - Warning, - WarningOptions - } - - export type SourceMap = { - toJSON(): RawSourceMap - } & SourceMapGenerator - - export type Helpers = { postcss: Postcss; result: Result } & Postcss - - export interface Plugin extends Processors { - postcssPlugin: string - prepare?: (result: Result) => Processors - } - - export interface PluginCreator { - (opts?: PluginOptions): Plugin | Processor - postcss: true - } - - export interface Transformer extends TransformCallback { - postcssPlugin: string - postcssVersion: string - } - - export interface TransformCallback { - (root: Root, result: Result): Promise | void - } - - export interface OldPlugin extends Transformer { - (opts?: T): Transformer - postcss: Transformer - } - - export type AcceptedPlugin = - | { - postcss: Processor | TransformCallback - } - | OldPlugin - | Plugin - | PluginCreator - | Processor - | TransformCallback - - export interface Parser { - ( - css: { toString(): string } | string, - opts?: Pick - ): RootNode - } - - export interface Builder { - (part: string, node?: AnyNode, type?: 'end' | 'start'): void - } - - export interface Stringifier { - (node: AnyNode, builder: Builder): void - } - - export interface JSONHydrator { - (data: object): Node - (data: object[]): Node[] - } - - export interface Syntax { - /** - * Function to generate AST by string. - */ - parse?: Parser - - /** - * Class to generate string by AST. - */ - stringify?: Stringifier - } - - export interface SourceMapOptions { - /** - * Use absolute path in generated source map. - */ - absolute?: boolean - - /** - * Indicates that PostCSS should add annotation comments to the CSS. - * By default, PostCSS will always add a comment with a path - * to the source map. PostCSS will not add annotations to CSS files - * that do not contain any comments. - * - * By default, PostCSS presumes that you want to save the source map as - * `opts.to + '.map'` and will use this path in the annotation comment. - * A different path can be set by providing a string value for annotation. - * - * If you have set `inline: true`, annotation cannot be disabled. - */ - annotation?: ((file: string, root: Root) => string) | boolean | string - - /** - * Override `from` in map’s sources. - */ - from?: string - - /** - * Indicates that the source map should be embedded in the output CSS - * as a Base64-encoded comment. By default, it is `true`. - * But if all previous maps are external, not inline, PostCSS will not embed - * the map even if you do not set this option. - * - * If you have an inline source map, the result.map property will be empty, - * as the source map will be contained within the text of `result.css`. - */ - inline?: boolean - - /** - * Source map content from a previous processing step (e.g., Sass). - * - * PostCSS will try to read the previous source map - * automatically (based on comments within the source CSS), but you can use - * this option to identify it manually. - * - * If desired, you can omit the previous map with prev: `false`. - */ - prev?: ((file: string) => string) | boolean | object | string - - /** - * Indicates that PostCSS should set the origin content (e.g., Sass source) - * of the source map. By default, it is true. But if all previous maps do not - * contain sources content, PostCSS will also leave it out even if you - * do not set this option. - */ - sourcesContent?: boolean - } - - export interface ProcessOptions { - /** - * Input file if it is not simple CSS file, but HTML with - - `; -} - -const ERR_LOAD_URL = "ERR_LOAD_URL"; -const ERR_LOAD_PUBLIC_URL = "ERR_LOAD_PUBLIC_URL"; -const ERR_DENIED_ID = "ERR_DENIED_ID"; -const debugLoad = createDebugger("vite:load"); -const debugTransform = createDebugger("vite:transform"); -const debugCache$1 = createDebugger("vite:cache"); -function transformRequest(environment, url, options = {}) { - if (!options.ssr) { - options = { ...options, ssr: environment.config.consumer === "server" }; - } - if (environment._closing && environment.config.dev.recoverable) - throwClosedServerError(); - const cacheKey = `${options.html ? "html:" : ""}${url}`; - const timestamp = Date.now(); - const pending = environment._pendingRequests.get(cacheKey); - if (pending) { - return environment.moduleGraph.getModuleByUrl(removeTimestampQuery(url)).then((module) => { - if (!module || pending.timestamp > module.lastInvalidationTimestamp) { - return pending.request; - } else { - pending.abort(); - return transformRequest(environment, url, options); - } - }); - } - const request = doTransform(environment, url, options, timestamp); - let cleared = false; - const clearCache = () => { - if (!cleared) { - environment._pendingRequests.delete(cacheKey); - cleared = true; - } - }; - environment._pendingRequests.set(cacheKey, { - request, - timestamp, - abort: clearCache - }); - return request.finally(clearCache); -} -async function doTransform(environment, url, options, timestamp) { - url = removeTimestampQuery(url); - const { pluginContainer } = environment; - let module = await environment.moduleGraph.getModuleByUrl(url); - if (module) { - const cached = await getCachedTransformResult( - environment, - url, - module, - timestamp - ); - if (cached) return cached; - } - const resolved = module ? void 0 : await pluginContainer.resolveId(url, void 0) ?? void 0; - const id = module?.id ?? resolved?.id ?? url; - module ??= environment.moduleGraph.getModuleById(id); - if (module) { - await environment.moduleGraph._ensureEntryFromUrl(url, void 0, resolved); - const cached = await getCachedTransformResult( - environment, - url, - module, - timestamp - ); - if (cached) return cached; - } - const result = loadAndTransform( - environment, - id, - url, - options, - timestamp, - module, - resolved - ); - const { depsOptimizer } = environment; - if (!depsOptimizer?.isOptimizedDepFile(id)) { - environment._registerRequestProcessing(id, () => result); - } - return result; -} -async function getCachedTransformResult(environment, url, module, timestamp) { - const prettyUrl = debugCache$1 ? prettifyUrl(url, environment.config.root) : ""; - const softInvalidatedTransformResult = await handleModuleSoftInvalidation( - environment, - module, - timestamp - ); - if (softInvalidatedTransformResult) { - debugCache$1?.(`[memory-hmr] ${prettyUrl}`); - return softInvalidatedTransformResult; - } - const cached = module.transformResult; - if (cached) { - debugCache$1?.(`[memory] ${prettyUrl}`); - return cached; - } -} -async function loadAndTransform(environment, id, url, options, timestamp, mod, resolved) { - const { config, pluginContainer, logger } = environment; - const prettyUrl = debugLoad || debugTransform ? prettifyUrl(url, config.root) : ""; - const moduleGraph = environment.moduleGraph; - if (!options.skipFsCheck && id[0] !== "\0" && isServerAccessDeniedForTransform(config, id)) { - const err = new Error(`Denied ID ${id}`); - err.id = id; - err.code = ERR_DENIED_ID; - throw err; - } - let code = null; - let map = null; - const loadStart = debugLoad ? performance$1.now() : 0; - const loadResult = await pluginContainer.load(id); - if (loadResult == null) { - const file = cleanUrl(id); - if (options.html && !id.endsWith(".html")) { - return null; - } - if (options.skipFsCheck || isFileLoadingAllowed(environment.getTopLevelConfig(), slash$1(file))) { - try { - code = await fsp.readFile(file, "utf-8"); - debugLoad?.(`${timeFrom(loadStart)} [fs] ${prettyUrl}`); - } catch (e) { - if (e.code !== "ENOENT") { - if (e.code === "EISDIR") { - e.message = `${e.message} ${file}`; - } - throw e; - } - } - if (code != null && environment.pluginContainer.watcher) { - ensureWatchedFile( - environment.pluginContainer.watcher, - file, - config.root - ); - } - } - if (code) { - try { - const extracted = await extractSourcemapFromFile(code, file); - if (extracted) { - code = extracted.code; - map = extracted.map; - } - } catch (e) { - logger.warn(`Failed to load source map for ${file}. -${e}`, { - timestamp: true - }); - } - } - } else { - debugLoad?.(`${timeFrom(loadStart)} [plugin] ${prettyUrl}`); - if (isObject$1(loadResult)) { - code = loadResult.code; - map = loadResult.map; - } else { - code = loadResult; - } - } - if (code == null) { - const isPublicFile = checkPublicFile(url, environment.getTopLevelConfig()); - let publicDirName = path$b.relative(config.root, config.publicDir); - if (publicDirName[0] !== ".") publicDirName = "/" + publicDirName; - const msg = isPublicFile ? `This file is in ${publicDirName} and will be copied as-is during build without going through the plugin transforms, and therefore should not be imported from source code. It can only be referenced via HTML tags.` : `Does the file exist?`; - const importerMod = moduleGraph.idToModuleMap.get(id)?.importers.values().next().value; - const importer = importerMod?.file || importerMod?.url; - const err = new Error( - `Failed to load url ${url} (resolved id: ${id})${importer ? ` in ${importer}` : ""}. ${msg}` - ); - err.code = isPublicFile ? ERR_LOAD_PUBLIC_URL : ERR_LOAD_URL; - throw err; - } - if (environment._closing && environment.config.dev.recoverable) - throwClosedServerError(); - mod ??= await moduleGraph._ensureEntryFromUrl(url, void 0, resolved); - const transformStart = debugTransform ? performance$1.now() : 0; - const transformResult = await pluginContainer.transform(code, id, { - inMap: map - }); - const originalCode = code; - if (transformResult.code === originalCode) { - debugTransform?.( - timeFrom(transformStart) + colors$1.dim(` [skipped] ${prettyUrl}`) - ); - } else { - debugTransform?.(`${timeFrom(transformStart)} ${prettyUrl}`); - code = transformResult.code; - map = transformResult.map; - } - let normalizedMap; - if (typeof map === "string") { - normalizedMap = JSON.parse(map); - } else if (map) { - normalizedMap = map; - } else { - normalizedMap = null; - } - if (normalizedMap && "version" in normalizedMap && mod.file) { - if (normalizedMap.mappings) { - await injectSourcesContent(normalizedMap, mod.file, logger); - } - const sourcemapPath = `${mod.file}.map`; - applySourcemapIgnoreList( - normalizedMap, - sourcemapPath, - config.server.sourcemapIgnoreList, - logger - ); - if (path$b.isAbsolute(mod.file)) { - let modDirname; - for (let sourcesIndex = 0; sourcesIndex < normalizedMap.sources.length; ++sourcesIndex) { - const sourcePath = normalizedMap.sources[sourcesIndex]; - if (sourcePath) { - if (path$b.isAbsolute(sourcePath)) { - modDirname ??= path$b.dirname(mod.file); - normalizedMap.sources[sourcesIndex] = path$b.relative( - modDirname, - sourcePath - ); - } - } - } - } - } - if (environment._closing && environment.config.dev.recoverable) - throwClosedServerError(); - const topLevelConfig = environment.getTopLevelConfig(); - const result = environment.config.dev.moduleRunnerTransform ? await ssrTransform(code, normalizedMap, url, originalCode, { - json: { - stringify: topLevelConfig.json.stringify === true && topLevelConfig.json.namedExports !== true - } - }) : { - code, - map: normalizedMap, - etag: getEtag(code, { weak: true }) - }; - if (timestamp > mod.lastInvalidationTimestamp) - moduleGraph.updateModuleTransformResult(mod, result); - return result; -} -async function handleModuleSoftInvalidation(environment, mod, timestamp) { - const transformResult = mod.invalidationState; - mod.invalidationState = void 0; - if (!transformResult || transformResult === "HARD_INVALIDATED") return; - if (mod.transformResult) { - throw new Error( - `Internal server error: Soft-invalidated module "${mod.url}" should not have existing transform result` - ); - } - let result; - if (transformResult.ssr) { - result = transformResult; - } else { - await init; - const source = transformResult.code; - const s = new MagicString(source); - const [imports] = parse$d(source, mod.id || void 0); - for (const imp of imports) { - let rawUrl = source.slice(imp.s, imp.e); - if (rawUrl === "import.meta") continue; - const hasQuotes = rawUrl[0] === '"' || rawUrl[0] === "'"; - if (hasQuotes) { - rawUrl = rawUrl.slice(1, -1); - } - const urlWithoutTimestamp = removeTimestampQuery(rawUrl); - const hmrUrl = unwrapId$1( - stripBase( - removeImportQuery(urlWithoutTimestamp), - environment.config.base - ) - ); - for (const importedMod of mod.importedModules) { - if (importedMod.url !== hmrUrl) continue; - if (importedMod.lastHMRTimestamp > 0) { - const replacedUrl = injectQuery( - urlWithoutTimestamp, - `t=${importedMod.lastHMRTimestamp}` - ); - const start = hasQuotes ? imp.s + 1 : imp.s; - const end = hasQuotes ? imp.e - 1 : imp.e; - s.overwrite(start, end, replacedUrl); - } - if (imp.d === -1 && environment.config.dev.preTransformRequests) { - environment.warmupRequest(hmrUrl); - } - break; - } - } - const code = s.toString(); - result = { - ...transformResult, - code, - etag: getEtag(code, { weak: true }) - }; - } - if (timestamp > mod.lastInvalidationTimestamp) - environment.moduleGraph.updateModuleTransformResult(mod, result); - return result; -} - -const ALLOWED_META_NAME = [ - "msapplication-tileimage", - "msapplication-square70x70logo", - "msapplication-square150x150logo", - "msapplication-wide310x150logo", - "msapplication-square310x310logo", - "msapplication-config", - "twitter:image" -]; -const ALLOWED_META_PROPERTY = [ - "og:image", - "og:image:url", - "og:image:secure_url", - "og:audio", - "og:audio:secure_url", - "og:video", - "og:video:secure_url" -]; -const DEFAULT_HTML_ASSET_SOURCES = { - audio: { - srcAttributes: ["src"] - }, - embed: { - srcAttributes: ["src"] - }, - img: { - srcAttributes: ["src"], - srcsetAttributes: ["srcset"] - }, - image: { - srcAttributes: ["href", "xlink:href"] - }, - input: { - srcAttributes: ["src"] - }, - link: { - srcAttributes: ["href"], - srcsetAttributes: ["imagesrcset"] - }, - object: { - srcAttributes: ["data"] - }, - source: { - srcAttributes: ["src"], - srcsetAttributes: ["srcset"] - }, - track: { - srcAttributes: ["src"] - }, - use: { - srcAttributes: ["href", "xlink:href"] - }, - video: { - srcAttributes: ["src", "poster"] - }, - meta: { - srcAttributes: ["content"], - filter({ attributes }) { - if (attributes.name && ALLOWED_META_NAME.includes(attributes.name.trim().toLowerCase())) { - return true; - } - if (attributes.property && ALLOWED_META_PROPERTY.includes(attributes.property.trim().toLowerCase())) { - return true; - } - return false; - } - } -}; -function getNodeAssetAttributes(node) { - const matched = DEFAULT_HTML_ASSET_SOURCES[node.nodeName]; - if (!matched) return []; - const attributes = {}; - for (const attr of node.attrs) { - attributes[getAttrKey(attr)] = attr.value; - } - if ("vite-ignore" in attributes) { - return [ - { - type: "remove", - key: "vite-ignore", - value: "", - attributes, - location: node.sourceCodeLocation.attrs["vite-ignore"] - } - ]; - } - const actions = []; - function handleAttributeKey(key, type) { - const value = attributes[key]; - if (!value) return; - if (matched.filter && !matched.filter({ key, value, attributes })) return; - const location = node.sourceCodeLocation.attrs[key]; - actions.push({ type, key, value, attributes, location }); - } - matched.srcAttributes?.forEach((key) => handleAttributeKey(key, "src")); - matched.srcsetAttributes?.forEach((key) => handleAttributeKey(key, "srcset")); - return actions; -} -function getAttrKey(attr) { - return attr.prefix === void 0 ? attr.name : `${attr.prefix}:${attr.name}`; -} - -const modulePreloadPolyfillId = "vite/modulepreload-polyfill"; -const resolvedModulePreloadPolyfillId = "\0" + modulePreloadPolyfillId + ".js"; -function modulePreloadPolyfillPlugin(config) { - let polyfillString; - return { - name: "vite:modulepreload-polyfill", - resolveId: { - handler(id) { - if (id === modulePreloadPolyfillId) { - return resolvedModulePreloadPolyfillId; - } - } - }, - load: { - handler(id) { - if (id === resolvedModulePreloadPolyfillId) { - if (config.command !== "build" || this.environment.config.consumer !== "client") { - return ""; - } - if (!polyfillString) { - polyfillString = `${isModernFlag}&&(${polyfill.toString()}());`; - } - return { code: polyfillString, moduleSideEffects: true }; - } - } - } - }; -} -function polyfill() { - const relList = document.createElement("link").relList; - if (relList && relList.supports && relList.supports("modulepreload")) { - return; - } - for (const link of document.querySelectorAll('link[rel="modulepreload"]')) { - processPreload(link); - } - new MutationObserver((mutations) => { - for (const mutation of mutations) { - if (mutation.type !== "childList") { - continue; - } - for (const node of mutation.addedNodes) { - if (node.tagName === "LINK" && node.rel === "modulepreload") - processPreload(node); - } - } - }).observe(document, { childList: true, subtree: true }); - function getFetchOpts(link) { - const fetchOpts = {}; - if (link.integrity) fetchOpts.integrity = link.integrity; - if (link.referrerPolicy) fetchOpts.referrerPolicy = link.referrerPolicy; - if (link.crossOrigin === "use-credentials") - fetchOpts.credentials = "include"; - else if (link.crossOrigin === "anonymous") fetchOpts.credentials = "omit"; - else fetchOpts.credentials = "same-origin"; - return fetchOpts; - } - function processPreload(link) { - if (link.ep) - return; - link.ep = true; - const fetchOpts = getFetchOpts(link); - fetch(link.href, fetchOpts); - } -} - -const htmlProxyRE$1 = /[?&]html-proxy=?(?:&inline-css)?(?:&style-attr)?&index=(\d+)\.(?:js|css)$/; -const isHtmlProxyRE = /[?&]html-proxy\b/; -const inlineCSSRE$1 = /__VITE_INLINE_CSS__([a-z\d]{8}_\d+)__/g; -const inlineImportRE = /(?]*type\s*=\s*(?:"importmap"|'importmap'|importmap)[^>]*>.*?<\/script>/is; -const moduleScriptRE = /[ \t]*]*type\s*=\s*(?:"module"|'module'|module)[^>]*>/i; -const modulePreloadLinkRE = /[ \t]*]*rel\s*=\s*(?:"modulepreload"|'modulepreload'|modulepreload)[\s\S]*?\/>/i; -const importMapAppendRE = new RegExp( - [moduleScriptRE, modulePreloadLinkRE].map((r) => r.source).join("|"), - "i" -); -const isHTMLProxy = (id) => isHtmlProxyRE.test(id); -const isHTMLRequest = (request) => htmlLangRE.test(request); -const htmlProxyMap = /* @__PURE__ */ new WeakMap(); -const htmlProxyResult = /* @__PURE__ */ new Map(); -function htmlInlineProxyPlugin(config) { - htmlProxyMap.set(config, /* @__PURE__ */ new Map()); - return { - name: "vite:html-inline-proxy", - resolveId: { - handler(id) { - if (isHTMLProxy(id)) { - return id; - } - } - }, - load: { - handler(id) { - const proxyMatch = htmlProxyRE$1.exec(id); - if (proxyMatch) { - const index = Number(proxyMatch[1]); - const file = cleanUrl(id); - const url = file.replace(normalizePath$3(config.root), ""); - const result = htmlProxyMap.get(config).get(url)?.[index]; - if (result) { - return { ...result, moduleSideEffects: true }; - } else { - throw new Error(`No matching HTML proxy module found from ${id}`); - } - } - } - } - }; -} -function addToHTMLProxyCache(config, filePath, index, result) { - if (!htmlProxyMap.get(config)) { - htmlProxyMap.set(config, /* @__PURE__ */ new Map()); - } - if (!htmlProxyMap.get(config).get(filePath)) { - htmlProxyMap.get(config).set(filePath, []); - } - htmlProxyMap.get(config).get(filePath)[index] = result; -} -function addToHTMLProxyTransformResult(hash, code) { - htmlProxyResult.set(hash, code); -} -const noInlineLinkRels = /* @__PURE__ */ new Set([ - "icon", - "apple-touch-icon", - "apple-touch-startup-image", - "manifest" -]); -const isAsyncScriptMap = /* @__PURE__ */ new WeakMap(); -function nodeIsElement(node) { - return node.nodeName[0] !== "#"; -} -function traverseNodes(node, visitor) { - if (node.nodeName === "template") { - node = node.content; - } - visitor(node); - if (nodeIsElement(node) || node.nodeName === "#document" || node.nodeName === "#document-fragment") { - node.childNodes.forEach((childNode) => traverseNodes(childNode, visitor)); - } -} -async function traverseHtml(html, filePath, visitor) { - const { parse } = await import('./dep-CvfTChi5.js'); - const ast = parse(html, { - scriptingEnabled: false, - // parse inside