diff --git a/zh-CN/.dockerignore b/zh-CN/.dockerignore new file mode 100644 index 00000000..563ecab3 --- /dev/null +++ b/zh-CN/.dockerignore @@ -0,0 +1,5 @@ +node_modules +playwright-report +coverage +dist +test-results diff --git a/zh-CN/.eslintrc-auto-import.json b/zh-CN/.eslintrc-auto-import.json new file mode 100644 index 00000000..49bedc28 --- /dev/null +++ b/zh-CN/.eslintrc-auto-import.json @@ -0,0 +1,298 @@ +{ + "globals": { + "Component": true, + "ComponentPublicInstance": true, + "ComputedRef": true, + "EffectScope": true, + "ExtractDefaultPropTypes": true, + "ExtractPropTypes": true, + "ExtractPublicPropTypes": true, + "InjectionKey": true, + "PropType": true, + "Ref": true, + "VNode": true, + "WritableComputedRef": true, + "asyncComputed": true, + "autoResetRef": true, + "computed": true, + "computedAsync": true, + "computedEager": true, + "computedInject": true, + "computedWithControl": true, + "controlledComputed": true, + "controlledRef": true, + "createApp": true, + "createEventHook": true, + "createGlobalState": true, + "createInjectionState": true, + "createReactiveFn": true, + "createReusableTemplate": true, + "createSharedComposable": true, + "createTemplatePromise": true, + "createUnrefFn": true, + "customRef": true, + "debouncedRef": true, + "debouncedWatch": true, + "defineAsyncComponent": true, + "defineComponent": true, + "eagerComputed": true, + "effectScope": true, + "extendRef": true, + "getCurrentInstance": true, + "getCurrentScope": true, + "h": true, + "ignorableWatch": true, + "inject": true, + "injectLocal": true, + "isDefined": true, + "isProxy": true, + "isReactive": true, + "isReadonly": true, + "isRef": true, + "makeDestructurable": true, + "markRaw": true, + "nextTick": true, + "onActivated": true, + "onBeforeMount": true, + "onBeforeRouteLeave": true, + "onBeforeRouteUpdate": true, + "onBeforeUnmount": true, + "onBeforeUpdate": true, + "onClickOutside": true, + "onDeactivated": true, + "onErrorCaptured": true, + "onKeyStroke": true, + "onLongPress": true, + "onMounted": true, + "onRenderTracked": true, + "onRenderTriggered": true, + "onScopeDispose": true, + "onServerPrefetch": true, + "onStartTyping": true, + "onUnmounted": true, + "onUpdated": true, + "pausableWatch": true, + "provide": true, + "provideLocal": true, + "reactify": true, + "reactifyObject": true, + "reactive": true, + "reactiveComputed": true, + "reactiveOmit": true, + "reactivePick": true, + "readonly": true, + "ref": true, + "refAutoReset": true, + "refDebounced": true, + "refDefault": true, + "refThrottled": true, + "refWithControl": true, + "resolveComponent": true, + "resolveRef": true, + "resolveUnref": true, + "shallowReactive": true, + "shallowReadonly": true, + "shallowRef": true, + "syncRef": true, + "syncRefs": true, + "templateRef": true, + "throttledRef": true, + "throttledWatch": true, + "toRaw": true, + "toReactive": true, + "toRef": true, + "toRefs": true, + "toValue": true, + "triggerRef": true, + "tryOnBeforeMount": true, + "tryOnBeforeUnmount": true, + "tryOnMounted": true, + "tryOnScopeDispose": true, + "tryOnUnmounted": true, + "unref": true, + "unrefElement": true, + "until": true, + "useActiveElement": true, + "useAnimate": true, + "useArrayDifference": true, + "useArrayEvery": true, + "useArrayFilter": true, + "useArrayFind": true, + "useArrayFindIndex": true, + "useArrayFindLast": true, + "useArrayIncludes": true, + "useArrayJoin": true, + "useArrayMap": true, + "useArrayReduce": true, + "useArraySome": true, + "useArrayUnique": true, + "useAsyncQueue": true, + "useAsyncState": true, + "useAttrs": true, + "useBase64": true, + "useBattery": true, + "useBluetooth": true, + "useBreakpoints": true, + "useBroadcastChannel": true, + "useBrowserLocation": true, + "useCached": true, + "useClipboard": true, + "useClipboardItems": true, + "useCloned": true, + "useColorMode": true, + "useConfirmDialog": true, + "useCounter": true, + "useCssModule": true, + "useCssVar": true, + "useCssVars": true, + "useCurrentElement": true, + "useCycleList": true, + "useDark": true, + "useDateFormat": true, + "useDebounce": true, + "useDebounceFn": true, + "useDebouncedRefHistory": true, + "useDeviceMotion": true, + "useDeviceOrientation": true, + "useDevicePixelRatio": true, + "useDevicesList": true, + "useDialog": true, + "useDisplayMedia": true, + "useDocumentVisibility": true, + "useDraggable": true, + "useDropZone": true, + "useElementBounding": true, + "useElementByPoint": true, + "useElementHover": true, + "useElementSize": true, + "useElementVisibility": true, + "useEventBus": true, + "useEventListener": true, + "useEventSource": true, + "useEyeDropper": true, + "useFavicon": true, + "useFetch": true, + "useFileDialog": true, + "useFileSystemAccess": true, + "useFocus": true, + "useFocusWithin": true, + "useFps": true, + "useFullscreen": true, + "useGamepad": true, + "useGeolocation": true, + "useI18n": true, + "useIdle": true, + "useImage": true, + "useInfiniteScroll": true, + "useIntersectionObserver": true, + "useInterval": true, + "useIntervalFn": true, + "useKeyModifier": true, + "useLastChanged": true, + "useLink": true, + "useLoadingBar": true, + "useLocalStorage": true, + "useMagicKeys": true, + "useManualRefHistory": true, + "useMediaControls": true, + "useMediaQuery": true, + "useMemoize": true, + "useMemory": true, + "useMessage": true, + "useMounted": true, + "useMouse": true, + "useMouseInElement": true, + "useMousePressed": true, + "useMutationObserver": true, + "useNavigatorLanguage": true, + "useNetwork": true, + "useNotification": true, + "useNow": true, + "useObjectUrl": true, + "useOffsetPagination": true, + "useOnline": true, + "usePageLeave": true, + "useParallax": true, + "useParentElement": true, + "usePerformanceObserver": true, + "usePermission": true, + "usePointer": true, + "usePointerLock": true, + "usePointerSwipe": true, + "usePreferredColorScheme": true, + "usePreferredContrast": true, + "usePreferredDark": true, + "usePreferredLanguages": true, + "usePreferredReducedMotion": true, + "usePrevious": true, + "useRafFn": true, + "useRefHistory": true, + "useResizeObserver": true, + "useRoute": true, + "useRouter": true, + "useScreenOrientation": true, + "useScreenSafeArea": true, + "useScriptTag": true, + "useScroll": true, + "useScrollLock": true, + "useSessionStorage": true, + "useShare": true, + "useSlots": true, + "useSorted": true, + "useSpeechRecognition": true, + "useSpeechSynthesis": true, + "useStepper": true, + "useStorage": true, + "useStorageAsync": true, + "useStyleTag": true, + "useSupported": true, + "useSwipe": true, + "useTemplateRefsList": true, + "useTextDirection": true, + "useTextSelection": true, + "useTextareaAutosize": true, + "useThrottle": true, + "useThrottleFn": true, + "useThrottledRefHistory": true, + "useTimeAgo": true, + "useTimeout": true, + "useTimeoutFn": true, + "useTimeoutPoll": true, + "useTimestamp": true, + "useTitle": true, + "useToNumber": true, + "useToString": true, + "useToggle": true, + "useTransition": true, + "useUrlSearchParams": true, + "useUserMedia": true, + "useVModel": true, + "useVModels": true, + "useVibrate": true, + "useVirtualList": true, + "useWakeLock": true, + "useWebNotification": true, + "useWebSocket": true, + "useWebWorker": true, + "useWebWorkerFn": true, + "useWindowFocus": true, + "useWindowScroll": true, + "useWindowSize": true, + "watch": true, + "watchArray": true, + "watchAtMost": true, + "watchDebounced": true, + "watchDeep": true, + "watchEffect": true, + "watchIgnorable": true, + "watchImmediate": true, + "watchOnce": true, + "watchPausable": true, + "watchPostEffect": true, + "watchSyncEffect": true, + "watchThrottled": true, + "watchTriggerable": true, + "watchWithFilter": true, + "whenever": true + } +} diff --git a/zh-CN/.eslintrc.cjs b/zh-CN/.eslintrc.cjs new file mode 100644 index 00000000..37a67b34 --- /dev/null +++ b/zh-CN/.eslintrc.cjs @@ -0,0 +1,21 @@ +/** + * @type {import('eslint').Linter.Config} + */ +module.exports = { + root: true, + extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'], + + rules: { + 'curly': ['error', 'all'], + '@typescript-eslint/semi': ['error', 'always'], + '@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }], + 'vue/no-empty-component-block': ['error'], + 'no-restricted-imports': ['error', { + paths: [{ + name: '@vueuse/core', + importNames: ['useClipboard'], + message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.', + }], + }], + }, +}; diff --git a/zh-CN/.github/FUNDING.yml b/zh-CN/.github/FUNDING.yml new file mode 100644 index 00000000..dc96c960 --- /dev/null +++ b/zh-CN/.github/FUNDING.yml @@ -0,0 +1,2 @@ +github: + - CorentinTh diff --git a/zh-CN/.github/ISSUE_TEMPLATE/bug-report.md b/zh-CN/.github/ISSUE_TEMPLATE/bug-report.md new file mode 100644 index 00000000..c4bf532b --- /dev/null +++ b/zh-CN/.github/ISSUE_TEMPLATE/bug-report.md @@ -0,0 +1,34 @@ +--- +name: Bug report +about: Create a report to help us improve our tools +title: '[BUG] ' +labels: bug +assignees: CorentinTh +--- + +**Which tool is impacted?** +Example: the token generator + +**To Reproduce** +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Configuration (please complete the following information):** + +- Device: [e.g. iPhone6, ] +- OS: [e.g. iOS] +- Browser [e.g. chrome, safari] +- Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/zh-CN/.github/ISSUE_TEMPLATE/new-tool-request.md b/zh-CN/.github/ISSUE_TEMPLATE/new-tool-request.md new file mode 100644 index 00000000..a67a9cd0 --- /dev/null +++ b/zh-CN/.github/ISSUE_TEMPLATE/new-tool-request.md @@ -0,0 +1,19 @@ +--- +name: New tool request +about: Suggest a new tool idea +title: '[NEW TOOL]' +labels: new tool +assignees: CorentinTh +--- + +**What tool do you want?** +Example: a token generator + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Is their example of this tool in the wild?** +Provide link to already existing tool or npm packages if any exists + +**Additional context** +Add any other context about the feature request here. diff --git a/zh-CN/.github/ISSUE_TEMPLATE/other-request.md b/zh-CN/.github/ISSUE_TEMPLATE/other-request.md new file mode 100644 index 00000000..b4901ed4 --- /dev/null +++ b/zh-CN/.github/ISSUE_TEMPLATE/other-request.md @@ -0,0 +1,13 @@ +--- +name: Other request +about: Any request that does not concern a tool creation, a new feature request on a tool or a bug +title: '[OTHER] ' +labels: +assignees: CorentinTh +--- + +**Describe the solution you'd like** +A clear and concise description of what you want. + +**Additional context** +Add any other context about the feature request here. diff --git a/zh-CN/.github/ISSUE_TEMPLATE/tool-improvement.md b/zh-CN/.github/ISSUE_TEMPLATE/tool-improvement.md new file mode 100644 index 00000000..8ff8bb6c --- /dev/null +++ b/zh-CN/.github/ISSUE_TEMPLATE/tool-improvement.md @@ -0,0 +1,13 @@ +--- +name: Tool improvement +about: Improvement on an existing tool +title: '[TOOL IMPROVEMENT]' +labels: enhancement +assignees: CorentinTh +--- + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Additional context** +Add any other context about the feature request here. diff --git a/zh-CN/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/zh-CN/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md new file mode 100644 index 00000000..26eb22f8 --- /dev/null +++ b/zh-CN/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -0,0 +1,25 @@ + + +### Description + + + +### Additional context + + + +--- + +### What is the purpose of this pull request? + +- [ ] Bug fix +- [ ] New Feature +- [ ] Documentation update +- [ ] Other + +### Before submitting the PR, please make sure you do the following + +- [ ] Submit the PR against the `dev` branch. +- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate. +- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`). +- [ ] Ideally, include relevant tests that fail without this PR but pass with it. \ No newline at end of file diff --git a/zh-CN/.github/logo.png b/zh-CN/.github/logo.png new file mode 100644 index 00000000..18bac950 Binary files /dev/null and b/zh-CN/.github/logo.png differ diff --git a/zh-CN/.github/stale.yml b/zh-CN/.github/stale.yml new file mode 100644 index 00000000..dc90e5a1 --- /dev/null +++ b/zh-CN/.github/stale.yml @@ -0,0 +1,17 @@ +# Number of days of inactivity before an issue becomes stale +daysUntilStale: 60 +# Number of days of inactivity before a stale issue is closed +daysUntilClose: 7 +# Issues with these labels will never be considered stale +exemptLabels: + - pinned + - security +# Label to use when marking an issue as stale +staleLabel: wontfix +# Comment to post when marking an issue as stale. Set to `false` to disable +markComment: > + This issue has been automatically marked as stale because it has not had + recent activity. It will be closed if no further activity occurs. Thank you + for your contributions. +# Comment to post when closing a stale issue. Set to `false` to disable +closeComment: false diff --git a/zh-CN/.github/workflows/ci.yml b/zh-CN/.github/workflows/ci.yml new file mode 100644 index 00000000..d5c67208 --- /dev/null +++ b/zh-CN/.github/workflows/ci.yml @@ -0,0 +1,34 @@ +name: ci + +on: + pull_request: + push: + branches: + - main + +jobs: + ci: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - run: corepack enable + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm i + + - name: Run linters + run: pnpm lint + + - name: Run unit test + run: pnpm test + + - name: Type check + run: pnpm typecheck + + - name: Build the app + run: pnpm build diff --git a/zh-CN/.github/workflows/codeql-analysis.yml b/zh-CN/.github/workflows/codeql-analysis.yml new file mode 100644 index 00000000..6d11e825 --- /dev/null +++ b/zh-CN/.github/workflows/codeql-analysis.yml @@ -0,0 +1,69 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ dev ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ dev ] + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] + # Learn more: + # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + + steps: + - name: Checkout repository + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # ℹ️ Command-line programs to run using the OS shell. + # 📚 https://git.io/JvXDl + + # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines + # and modify them (or add more) to build your code if your project + # uses a compiled language + + #- run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 diff --git a/zh-CN/.github/workflows/docker-nightly-release.yml b/zh-CN/.github/workflows/docker-nightly-release.yml new file mode 100644 index 00000000..81a0898c --- /dev/null +++ b/zh-CN/.github/workflows/docker-nightly-release.yml @@ -0,0 +1,87 @@ +name: Docker nightly release + +on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' + +jobs: + check_date: + runs-on: ubuntu-latest + name: Check latest commit + outputs: + should_run: ${{ steps.should_run.outputs.should_run }} + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - name: print latest_commit + run: echo ${{ github.sha }} + + - id: should_run + continue-on-error: true + name: check latest commit is less than a day + if: ${{ github.event_name == 'schedule' }} + run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" + + ci: + runs-on: ubuntu-latest + needs: check_date + if: ${{ needs.check_date.outputs.should_run != 'false' }} + + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + - run: corepack enable + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm i + + - name: Run linters + run: pnpm lint + + - name: Run unit test + run: pnpm test + + - name: Build the app + run: pnpm build + + build: + runs-on: ubuntu-latest + needs: + - ci + + steps: + - name: Checkout + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm64 + push: true + tags: | + corentinth/it-tools:nightly + ghcr.io/corentinth/it-tools:nightly diff --git a/zh-CN/.github/workflows/e2e-tests.yml b/zh-CN/.github/workflows/e2e-tests.yml new file mode 100644 index 00000000..b5b04096 --- /dev/null +++ b/zh-CN/.github/workflows/e2e-tests.yml @@ -0,0 +1,47 @@ +name: E2E tests +on: + pull_request: + push: + branches: + - main +jobs: + test: + timeout-minutes: 10 + runs-on: ubuntu-latest + strategy: + matrix: + shard: [1/3, 2/3, 3/3] + steps: + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + + - run: corepack enable + + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + + - name: Get Playwright version + id: playwright-version + run: echo "PLAYWRIGHT_VERSION=$(jq -r .dependencies.playwright package.json)" >> "$GITHUB_OUTPUT" + + - name: Install dependencies + run: pnpm install + + - name: Build app + run: pnpm build + + - name: Restore Playwright browsers from cache + uses: actions/cache@v3 + with: + path: ~/.cache/ms-playwright + key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }} + restore-keys: | + ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}- + ${{ runner.os }}-playwright- + + - name: Install Playwright Browsers + run: pnpm exec playwright install --with-deps + + - name: Run Playwright tests + run: pnpm run test:e2e --shard=${{ matrix.shard }} diff --git a/zh-CN/.github/workflows/releases.yml b/zh-CN/.github/workflows/releases.yml new file mode 100644 index 00000000..8ed4099d --- /dev/null +++ b/zh-CN/.github/workflows/releases.yml @@ -0,0 +1,104 @@ +name: Release new versions + +on: + push: + tags: + - 'v*.*.*' + +jobs: + docker-release: + runs-on: ubuntu-latest + steps: + - name: Get release version + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + + - name: Checkout + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + platforms: linux/amd64,linux/arm64 + push: true + tags: | + corentinth/it-tools:latest + corentinth/it-tools:${{ env.RELEASE_VERSION }} + ghcr.io/corentinth/it-tools:latest + ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}} + + github-release: + runs-on: ubuntu-latest + needs: docker-release + steps: + - name: Get release version + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV + + - name: Checkout + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + + - run: corepack enable + + - uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm i + + - name: Build the app + run: pnpm build + + - name: Zip the app + run: zip -r it-tools-${{ env.RELEASE_VERSION }}.zip dist/* + + - name: Get changelog + id: changelog + run: | + EOF=$(openssl rand -hex 8) + echo "changelog<<$EOF" >> $GITHUB_OUTPUT + node ./scripts/getLatestChangelog.mjs >> $GITHUB_OUTPUT + echo "$EOF" >> $GITHUB_OUTPUT + + - name: Create Release + uses: softprops/action-gh-release@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + files: it-tools-${{ env.RELEASE_VERSION }}.zip + tag_name: v${{ env.RELEASE_VERSION }} + draft: true + prerelease: false + body: | + ## Docker images + + - Docker Hub + - `corentinth/it-tools:latest` + - `corentinth/it-tools:${{ env.RELEASE_VERSION }}` + - GitHub Container Registry + - `ghcr.io/corentinth/it-tools:latest` + - `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}` + + ## Changelog + + ${{ steps.changelog.outputs.changelog }} diff --git a/zh-CN/.gitignore b/zh-CN/.gitignore new file mode 100644 index 00000000..8b8eda8b --- /dev/null +++ b/zh-CN/.gitignore @@ -0,0 +1,37 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +.DS_Store +dist +dist-ssr +coverage +*.local + +/cypress/videos/ +/cypress/screenshots/ + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +.env +/test-results/ +/playwright-report/ +/playwright/.cache/ +# Webkit with playwright creates a salt file +salt + +package-lock.json \ No newline at end of file diff --git a/zh-CN/.nvmrc b/zh-CN/.nvmrc new file mode 100644 index 00000000..87ec8842 --- /dev/null +++ b/zh-CN/.nvmrc @@ -0,0 +1 @@ +18.18.2 diff --git a/zh-CN/.prettierrc b/zh-CN/.prettierrc new file mode 100644 index 00000000..13799bc9 --- /dev/null +++ b/zh-CN/.prettierrc @@ -0,0 +1,7 @@ +{ + "singleQuote": true, + "semi": true, + "tabWidth": 2, + "trailingComma": "all", + "printWidth": 120 +} diff --git a/zh-CN/.versionrc b/zh-CN/.versionrc new file mode 100644 index 00000000..061a83fe --- /dev/null +++ b/zh-CN/.versionrc @@ -0,0 +1,14 @@ +{ + "types": [ + {"type": "feat", "section": "Features"}, + {"type": "fix", "section": "Bug Fixes"}, + {"type": "docs", "section": "Documentation"}, + {"type": "style", "section": "Styling"}, + {"type": "refactor", "section": "Refactors"}, + {"type": "perf", "section": "Performance"}, + {"type": "test", "section": "Tests"}, + {"type": "build", "section": "Build System"}, + {"type": "ci", "section": "CI"}, + {"type": "revert", "section": "Reverts"} + ] +} diff --git a/zh-CN/.vscode/extensions.json b/zh-CN/.vscode/extensions.json new file mode 100644 index 00000000..35488bcd --- /dev/null +++ b/zh-CN/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint", "lokalise.i18n-ally"] +} diff --git a/zh-CN/CHANGELOG.md b/zh-CN/CHANGELOG.md new file mode 100644 index 00000000..1c12c11c --- /dev/null +++ b/zh-CN/CHANGELOG.md @@ -0,0 +1,315 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## Version 2023.12.21-5ed3693 + +### Features +- **i18n**: improve chinese i18n (#757) (2e56641) +- **i18n**: add tooltip and favoriteButton i18n (#756) (a1037cf) +- **i18n**: add Chinese translation base (#718) (8f99eb6) +- **new tool**: pdf signature checker (#745) (4781920) +- **new tool**: numeronym generator (#729) (e07e2ae) + +### Bug fixes +- **jwt-parser**: jwt claim array support (#799) (5ed3693) +- **camera-recorder**: stop camera on navigation (#782) (80e46c9) +- **doc**: updated create new tool command in readme (#762) (7a70dbb) +- **base64-file-converter**: fix downloading of index.html content without data preambula (#750) (043e4f0) +- **docker**: rollback armv7 in docker releases (#741) (205e360) +- **eta**: corrected example (#737) (821cbea) + +### Refactoring +- **about, i18n**: improved i18n dx with markdown (#753) (bd3edcb) +- **token, i18n**: complete fr translation (#752) (de1ee69) +- **uuid generator**: uuid version picker (#751) (38586ca) +- **case converter**: no split on lowercase, uppercase and mocking case (#748) (ca43a25) +- **ui**: replaced legacy n-upload with c-file-upload (#747) (7fe47b3) +- **token**: added password in token generator keywords (#746) (16ffe6b) +- **bcrypt**: fix input label align (#721) (093ff31) + +### Chores +- **deps**: switched from oui to oui-data for mac address lookup (#693) (0fe9a20) +- **deps**: update unocss monorepo to ^0.57.0 (#638) (2e396d8) +- **docker**: added armv7 plateform for docker releases (#722) (fe1de8c) + +## Version 2023.11.02-7d94e11 + +### Features +- **i18n**: language selector (#710) (e86fd96) + +### Bug fixes +- **dockerfile**: revert replacement of nginx image with non-privileged one (#716) (7d94e11) +- **encryption**: alert on decryption error (#711) (02b0d0d) + +### Refactoring +- **math-evaluator**: improved description (e87f4b1) +- **math-evaluator**: improved search and UX (#713) (58de897) + +## Version 2023.11.01-e164afb + +### Features +- **command-palette**: clear prompt on palette close (#708) (d013696) +- **command-palette**: added about page in command palette (99b1eb9) +- **new tool**: random MAC address generator (#657) (cc3425d) +- **case-converter**: added mocking case (#705) (681f7bf) +- **date-converter**: added excel date time format (#704) (f5eb7a8) +- **i18n**: token generator (#688) (02e68d3) +- **i18n**: home page (#687) (00562ed) +- **i18n**: support for i18n in .ts files (#683) (ebb4ec4) +- **i18n**: tool card (#682) (84a4a64) +- **i18n**: about page (#680) (a2b53c2) +- **i18n**: 404 page (#679) (35563b8) +- **new tool**: text to ascii converter (#669) (b2ad4f7) +- **new tool**: ULID generator (#623) (5c4d775) +- **new tool**: add wifi qr code generator (#599) (0eedce6) +- **new tool**: iban validation and parser (#591) (3a63837) +- **new tool**: text diff and comparator (#588) (81bfe57) + +### Bug fixes +- **deps**: fix issue on slugify (#593) (#673) (720201a) +- **deps**: update dependency monaco-editor to ^0.43.0 (#620) (e371ef7) +- **deps**: update dependency sql-formatter to v13 (#606) (c7d4562) + +### Refactoring +- **ui**: better ui demo preview menu (#664) (015c673) +- **color-converter**: improved color-converter UX (#701) (abb8335) +- **docker**: improved docker config (#700) (020e9cb) +- **c-table**: added description on c-table for accessibility (b408df8) +- **ci**: reduced timeout in e2e (#666) (88b8818) +- **ui**: new c-table ui component (#665) (ee4c853) +- **ui**: removed n-page-header component in user-agent parser (#663) (cbf58fd) +- **ui**: removed n-p components in about page (#662) (a757a51) +- **ui**: switched naive tooltip components to custom ones (#661) (025f556) +- **spelling**: minor corrections to phrasing/spelling (#596) (8a30b6b) +- **i18n**: merge tools scoped locales with global ones (#612) (233d556) +- **c-key-value-list**: got rid of table for layout (#611) (7ab9204) +- **CI**: run e2e against built app and no longer vercel (#610) (18dd140) +- **bcrypt**: fix typo (#604) (e18bae1) + +### Chores +- **deps**: clean unused dependencies (#709) (e164afb) +- **deps**: update docker/setup-qemu-action action to v3 (#627) (4365226) +- **deps**: update docker/setup-buildx-action action to v3 (#626) (57ecda1) +- **deps**: update docker/login-action action to v3 (#625) (d8d7a3b) +- **deps**: update docker/build-push-action action to v5 (#624) (d36b18f) +- **deps**: update dependency node to v18.18.2 (#674) (eea9f91) +- **deps**: update dependency node to v18.18.0 (#636) (2d2dffb) +- **deps**: update actions/checkout action to v4 (#613) (4972159) +- **deps**: update dependency unplugin-icons to ^0.17.0 (#609) (f035f48) +- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.13.0 (#597) (d1dff42) +- **deps**: update dependency @antfu/eslint-config to ^0.41.0 (#585) (a9cd91c) +- **deps**: update dependency typescript to ~5.2.0 (#587) (f3e14fc) + +### Doc +- **readme**: added contributors list (#622) (557b304) +- **hosting**: added cloudron in the other hosting solutions section (#589) (06c3547) + +## Version 2023.08.21-6f93cba + +### Features +- **copy**: support legacy copy to clipboard for older browser (#581) (6f93cba) +- **new tool**: string obfuscator (#575) (c58d6e3) + +### Bug fixes +- **deps**: update dependency sql-formatter to v12 (#520) (2bcb77a) + +### Chores +- **deps**: switched to fucking typescript v5 (#501) (76b2761) +- **deps**: update dependency @antfu/eslint-config to ^0.40.0 (#552) (6ff9a01) +- **deps**: update dependency prettier to v3 (#564) (a2b9b15) +- **deps**: removed @typescript-eslint/parser (#563) (144f86e) +- **deps**: removed ts-pattern (#565) (0f1f659) + +## Version 2023.08.16-9bd4ad4 + +### Features +- **Case Converter**: Add lowercase and uppercase (#534) (7b6232a) +- **new tool**: emoji picker (#551) (93f7cf0) +- **ui**: added c-select in the ui lib (#550) (dfa1ba8) +- **new-tool**: password strength analyzer (#502) (a9c7b89) +- **new-tool**: yaml to toml (e29b258) +- **new-tool**: json to toml (ea50a3f) +- **new-tool**: toml to yaml (746e5bd) +- **new-tool**: toml to json (c7d4f11) +- **command-palette**: random tool action (ec4c533) +- **config**: allow app to run in a subfolder via BASE_URL (#461) (6304595) +- **new-tool**: percentage calculator (#456) (b9406a4) +- **new-tool**: json to csv converter (69f0bd0) +- **new tool**: xml formatter (#457) (a6bbeae) +- **chmod-calculator**: added symbolic representation (#455) (f771e7a) +- **enhancement**: use system dark mode (#458) (cf7b1f0) +- **phone-parser**: searchable country code select (d2956b6) +- **new tool**: camera screenshot and recorder (34d8e5c) +- **base64-string-converter**: switch to encode and decode url safe base64 strings (#392) (0b20f1c) + +### Bug fixes +- **deps**: update dependency uuid to v9 (#566) (5e12991) +- **deps**: update dependency mathjs to v11 (#519) (7924456) +- **deps**: update dependency @vueuse/router to v10 (#516) (ea0f27c) +- **copy**: prevent shorthand copy if source is present in useCopy (#559) (86e964a) +- **c-lib**: hide component library shortcut link in non-dev (#557) (56d74d0) +- **emoji picker**: fix copy button (#556) (e5d0ba7) +- **deps**: update dependency @vueuse/head to v1 (#515) (d12dd40) +- **deps**: update dependency country-code-lookup to ^0.1.0 (#493) (8c72e69) +- **deps**: update dependency @vueuse/head to ^0.9.0 (#492) (cec9dea) +- **i18n**: fallback for demo i18n (12d9e5d) +- **typos**: fixed more typos & uppercase JSON (#475) (9526ed8) +- **about**: typos and wording (#474) (7068610) +- **mime-types**: typos (#470) (c4cec9e) +- **sonar**: took down minor sonar warning (4cbd7ac) +- **readme**: typo (105b21b) +- **ipv4-range-expander**: calculate correct for ip addresses where the first octet is lower than 128 (#405) (8c92d56) +- **ipv4-converter**: removed readonly on input (7aed9c5) + +### Refactoring +- **navbar**: consistent spacing in navbar buttons (#507) (30f88fc) +- **ui**: remove n-text (#506) (72c98a3) +- **ui**: replaced some n-input to c-input (#505) (05ea545) +- **json-viewer**: input monospace font (#485) (9125dcf) +- **search**: command palette design (#463) (bcb98b3) +- **c-input-text**: force usage of props with default (1e2a35b) +- **naming**: prevent auto import conflicts for git memo (45c2474) +- **imports**: removed unnecessary imports to vue (fe61f0f) +- **ui**: removed all n-space (4d2b037) +- **ui**: replaced some n-input with c-input-text (f7fc779) + +### Chores +- **deps**: update dependency vitest to ^0.34.0 (#562) (9bd4ad4) +- **deps**: update dependency node to v18.17.1 (#560) (65a9474) +- **deps**: update dependency unocss to ^0.55.0 (#561) (85cc7a8) +- **deps**: update dependency @unocss/eslint-config to ^0.55.0 (#553) (4268e25) +- **deps**: update dependency @intlify/unplugin-vue-i18n to ^0.12.0 (#526) (d1c8880) +- **deps**: update docker/login-action action to v2 (#512) (99bc84c) +- **deps**: update dependency jsdom to v22 (#499) (cd5a503) +- **deps**: update dependency @vitejs/plugin-vue-jsx to v3 (#497) (1a60236) +- **deps**: update dependency @vitejs/plugin-vue to v4 (#496) (a249421) +- **deps**: update dependency vite-plugin-pwa to ^0.16.0 (#488) (6498c9b) +- **deps**: update dependency vite to v4 (#503) (f40d7ec) +- **ci**: e2e against vercel deployement (#518) (2e28c50) +- **e2e**: execute e2e against built app (#511) (cf382b5) +- **deps**: update github/codeql-action action to v2 (#513) (0152583) +- **deps**: update node.js to v18 (#514) (38cb61d) +- **deps**: switched from vite-plugin-md to vite-plugin-vue-markdown (#510) (354aed6) +- **deps**: update dependency workbox-window to v7 (#509) (6b8682f) +- **deps**: update dependency vite-svg-loader to v4 (#508) (9e8349d) +- **deps**: update dependency typescript to ~4.9.0 (#481) (f440507) +- **deps**: update dependency vue-tsc to ^0.40.0 (#490) (b0d9a3e) +- **deps**: updated unplugin-auto-import (#504) (5c3bebf) +- **deps**: removed start-server-and-test dependency (8df7cd0) +- **deps**: update dependency c8 to v8 (#498) (6bda2ca) +- **deps**: update dependency @types/jsdom to v21 (#495) (994a1c3) +- **deps**: update node.js to v16.20.1 (#491) (05edaf4) +- **deps**: update dependency vitest to ^0.32.0 (#489) (49eacea) +- **deps**: update actions/checkout action to v3 (#494) (3f7d469) +- **deps**: update dependency unplugin-vue-components to ^0.25.0 (#484) (5f21908) +- **deps**: update dependency unplugin-auto-import to ^0.16.0 (#483) (6cb0845) +- **deps**: update dependency unocss to ^0.53.0 (#482) (38710dc) +- **deps**: update dependency @unocss/eslint-config to ^0.53.0 (#478) (282cfc4) +- **deps**: added renovate.json (#477) (363c2e4) +- **i18n**: tool scoped locales (#471) (1b038c7) +- **wysiwyg-editor**: update tiptap dependencies (732da08) +- **i18n**: setup i18n plugin config (ebfb872) +- **config**: netlify deployment support (#443) (93799af) +- **ci**: shard e2e tests (962a6d6) +- **lint**: switched to a better lint config (33c9b66) + +### Refacor +- **transformers**: use monospace font for JSON and SQL text areas (#476) (ba4876d) + +### Documentation +- **ide**: updated vscode extensions settings (#472) (847323c) + +### Chors +- **deps**: updated vueuse dependency version (8515c24) + +## Version 2023.05.14-77f2efc + +### Features +- **list-converter**: a small converter who deals with column based data and do some stuff with it (#387) (83a7b3b) +- **new tool**: phone parser and normalizer (ce3150c) + +### Bug fixes +- **phone-parser**: use default country code (a43c546) +- **home**: prevent weird blue border on card (3f6c8f0) + +### Refactoring +- **ui**: replaced some n-input with c-input-text (77f2efc) + +### Chores +- **issues**: updated new tool request issue template (edae4c6) + +### Ui-lib +- **new-component**: added text input component in the c-lib (aad8d84) +- **button**: size variants (401f13f) + +## Version 2023.04.23-92bd835 + +### Features +- **ui-lib**: demo pages for c-lib components (92bd835) +- **new-tool**: diff of two json objects (362f2fa) +- **ipv4-range-expander**: expands a given IPv4 start and end address to a valid IPv4 subnet (#366) (df989e2) +- **date converter**: auto focus main input (6d22025) + +### Bug fixes +- **ts**: cleaned legacy typechecking warning (e88c1d5) +- **mac-address-lookup**: added copy handler on button click (c311e38) + +### Refactoring +- **ui-lib**: prevent c-button to shrink (61ece23) +- **ui**: replaced naive ui cards with custom ones (f080933) +- **clean**: removed unused lodash import (bb32513) +- **clean**: removed useless br tags (74073f5) +- **ui**: getting ride of naive ui buttons (c45bce3) + +## Version 2023.04.14-dbad773 + +### Features +- **new-tool**: http status codes (8355bd2) + +### Refactoring +- **uuid-generator**: prevent NaN in quantity (6fb4994) + +### Chores +- **release**: create a github release on new version (dbad773) +- **version**: reset CHANGELOG content to support new format (85cb0ff) + +## Version 2023.04.14-f9b77b7 + +### Features +- **new-tool**: http status codes (8355bd2) + +### Refactoring +- **uuid-generator**: prevent NaN in quantity (6fb4994) + +### Chores +- **release**: create a github release on new version (f9b77b7) +- **version**: reset CHANGELOG content to support new format (85cb0ff) + +## Version 2023.04.14-2f0d239 + +### Features +- **new-tool**: http status codes (8355bd2) + +### Refactoring +- **uuid-generator**: prevent NaN in quantity (6fb4994) + +### Chores +- **release**: create a github release on new version (2f0d239) +- **version**: reset CHANGELOG content to support new format (85cb0ff) + +## Version 2023.04.14-474cae4 + +### Features +- **new-tool**: http status codes (8355bd2) + +### Refactoring +- **uuid-generator**: prevent NaN in quantity (6fb4994) + +### Chores +- **release**: create a github release on new version (474cae4) +- **version**: reset CHANGELOG content to support new format (85cb0ff) + +## Version v2023.4.13-dce9ff9 + +_Diff not available_ diff --git a/zh-CN/Dockerfile b/zh-CN/Dockerfile new file mode 100644 index 00000000..734bd73d --- /dev/null +++ b/zh-CN/Dockerfile @@ -0,0 +1,17 @@ +# build stage +FROM node:lts-alpine AS build-stage +# Set environment variables for non-interactive npm installs +ENV NPM_CONFIG_LOGLEVEL warn +ENV CI true +WORKDIR /app +COPY package.json pnpm-lock.yaml ./ +RUN npm install -g pnpm && pnpm i --frozen-lockfile +COPY . . +RUN pnpm build + +# production stage +FROM nginx:stable-alpine AS production-stage +COPY --from=build-stage /app/dist /usr/share/nginx/html +COPY nginx.conf /etc/nginx/conf.d/default.conf +EXPOSE 80 +CMD ["nginx", "-g", "daemon off;"] diff --git a/zh-CN/LICENSE b/zh-CN/LICENSE new file mode 100644 index 00000000..e72bfdda --- /dev/null +++ b/zh-CN/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. \ No newline at end of file diff --git a/zh-CN/README.md b/zh-CN/README.md new file mode 100644 index 00000000..4b26ac25 --- /dev/null +++ b/zh-CN/README.md @@ -0,0 +1,102 @@ +![logo](.github/logo.png) + +对于开发人员和 IT 工作人员来说非常有用的工具。 + +[[在线预览](https://it-tools.haokudelei.com/)] + +## 建议新工具 + +请前往 issues 提出新工具的想法,并查看列出的某些功能是否已实现。 + +## 指北 + +### 推荐的 IDE 设置 + +建议安装 [VSCode](https://code.visualstudio.com/) 扩展: + +- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (需要禁用 Vetur) +- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). +- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) +- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) + +建议的扩展设置: + +```json +{ + "editor.formatOnSave": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "i18n-ally.localesPaths": ["locales", "src/tools/*/locales"], + "i18n-ally.keystyle": "nested" +} +``` + +### TS 中对“.vue”导入的类型支持 + +默认情况下,TypeScript 无法处理“.vue”导入的类型信息,因此我们将“tsc”CLI 替换为“vue-tsc”来进行类型检查。 在编辑器中,我们需要 [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) 来使 TypeScript 语言服务识别 `.vue` 类型。 + +如果您觉得独立的 TypeScript 插件不够快,Volar 还实现了性能更高的[接管模式](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669)。 您可以通过以下步骤启用它: + +1.禁用内置的TypeScript扩展 + 1. 从 VSCode 的命令面板运行 “扩展:显示内置扩展” + 2. 找到 “TypeScript 和 JavaScript 语言功能” ,右键单击并选择 “禁用(工作区)” +2. 通过从命令面板运行 “Developer: Reload Window” 来重新加载 VSCode 窗口。 + +### 下载 + +```sh +git clone https://gitee.com/angelofan/it-tools.git +``` + +### 安装依赖 + +```sh +cd it-tools +``` + +```sh +npm install +``` + +### 启动实时重载开发 + +```sh +npm run dev +``` + +### 编译 + +```sh +npm run build +``` + +### 使用 [ESLint](https://eslint.org/) 进行检查 + +```sh +npm run lint +``` + +### 创建一个新工具 + +要创建新工具,有一个脚本可以生成新工具的样板文件,只需运行: + +```sh +npm run script:create:tool your-tool-name +``` + +它将在 “src/tools” 中创建一个包含正确文件的目录,并在 “src/tools/index.ts” 中自动导入。您只需要将导入的工具添加到适当的类别中并开发该工具。 + +## 贡献 + +非常感谢所有已经做出贡献的人! + +由作者 [Corentin Thomasset](//corentin-thomasset.fr) 编写。 + +该项目使用 [vercel.com](https://vercel.com) 持续部署。 + +贡献者图是使用 [contrib.rocks](https://contrib.rocks/preview?repo=corentinth/it-tools) 生成的。 + +## 许可证 + +[GNU GPLv3](LICENSE) diff --git a/zh-CN/_templates/generator/ui-component/component.demo.ejs.t b/zh-CN/_templates/generator/ui-component/component.demo.ejs.t new file mode 100644 index 00000000..7f9b473f --- /dev/null +++ b/zh-CN/_templates/generator/ui-component/component.demo.ejs.t @@ -0,0 +1,6 @@ +--- +to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.demo.vue +--- + diff --git a/zh-CN/_templates/generator/ui-component/component.ejs.t b/zh-CN/_templates/generator/ui-component/component.ejs.t new file mode 100644 index 00000000..43acd4d1 --- /dev/null +++ b/zh-CN/_templates/generator/ui-component/component.ejs.t @@ -0,0 +1,13 @@ +--- +to: src/ui/<%= h.changeCase.param(name) %>/<%= h.changeCase.param(name) %>.vue +--- + + + diff --git a/zh-CN/auto-imports.d.ts b/zh-CN/auto-imports.d.ts new file mode 100644 index 00000000..f171e3bb --- /dev/null +++ b/zh-CN/auto-imports.d.ts @@ -0,0 +1,873 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// noinspection JSUnusedGlobalSymbols +// Generated by unplugin-auto-import +export {} +declare global { + const EffectScope: typeof import('vue')['EffectScope'] + const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] + const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] + const computed: typeof import('vue')['computed'] + const computedAsync: typeof import('@vueuse/core')['computedAsync'] + const computedEager: typeof import('@vueuse/core')['computedEager'] + const computedInject: typeof import('@vueuse/core')['computedInject'] + const computedWithControl: typeof import('@vueuse/core')['computedWithControl'] + const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] + const controlledRef: typeof import('@vueuse/core')['controlledRef'] + const createApp: typeof import('vue')['createApp'] + const createEventHook: typeof import('@vueuse/core')['createEventHook'] + const createGlobalState: typeof import('@vueuse/core')['createGlobalState'] + const createInjectionState: typeof import('@vueuse/core')['createInjectionState'] + const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn'] + const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate'] + const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] + const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise'] + const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] + const customRef: typeof import('vue')['customRef'] + const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] + const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] + const defineComponent: typeof import('vue')['defineComponent'] + const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] + const effectScope: typeof import('vue')['effectScope'] + const extendRef: typeof import('@vueuse/core')['extendRef'] + const getCurrentInstance: typeof import('vue')['getCurrentInstance'] + const getCurrentScope: typeof import('vue')['getCurrentScope'] + const h: typeof import('vue')['h'] + const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] + const inject: typeof import('vue')['inject'] + const injectLocal: typeof import('@vueuse/core')['injectLocal'] + const isDefined: typeof import('@vueuse/core')['isDefined'] + const isProxy: typeof import('vue')['isProxy'] + const isReactive: typeof import('vue')['isReactive'] + const isReadonly: typeof import('vue')['isReadonly'] + const isRef: typeof import('vue')['isRef'] + const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] + const markRaw: typeof import('vue')['markRaw'] + const nextTick: typeof import('vue')['nextTick'] + const onActivated: typeof import('vue')['onActivated'] + const onBeforeMount: typeof import('vue')['onBeforeMount'] + const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave'] + const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate'] + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] + const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] + const onDeactivated: typeof import('vue')['onDeactivated'] + const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] + const onLongPress: typeof import('@vueuse/core')['onLongPress'] + const onMounted: typeof import('vue')['onMounted'] + const onRenderTracked: typeof import('vue')['onRenderTracked'] + const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onScopeDispose: typeof import('vue')['onScopeDispose'] + const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] + const onUnmounted: typeof import('vue')['onUnmounted'] + const onUpdated: typeof import('vue')['onUpdated'] + const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] + const provide: typeof import('vue')['provide'] + const provideLocal: typeof import('@vueuse/core')['provideLocal'] + const reactify: typeof import('@vueuse/core')['reactify'] + const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] + const reactive: typeof import('vue')['reactive'] + const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed'] + const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit'] + const reactivePick: typeof import('@vueuse/core')['reactivePick'] + const readonly: typeof import('vue')['readonly'] + const ref: typeof import('vue')['ref'] + const refAutoReset: typeof import('@vueuse/core')['refAutoReset'] + const refDebounced: typeof import('@vueuse/core')['refDebounced'] + const refDefault: typeof import('@vueuse/core')['refDefault'] + const refThrottled: typeof import('@vueuse/core')['refThrottled'] + const refWithControl: typeof import('@vueuse/core')['refWithControl'] + const resolveComponent: typeof import('vue')['resolveComponent'] + const resolveRef: typeof import('@vueuse/core')['resolveRef'] + const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] + const shallowReactive: typeof import('vue')['shallowReactive'] + const shallowReadonly: typeof import('vue')['shallowReadonly'] + const shallowRef: typeof import('vue')['shallowRef'] + const syncRef: typeof import('@vueuse/core')['syncRef'] + const syncRefs: typeof import('@vueuse/core')['syncRefs'] + const templateRef: typeof import('@vueuse/core')['templateRef'] + const throttledRef: typeof import('@vueuse/core')['throttledRef'] + const throttledWatch: typeof import('@vueuse/core')['throttledWatch'] + const toRaw: typeof import('vue')['toRaw'] + const toReactive: typeof import('@vueuse/core')['toReactive'] + const toRef: typeof import('vue')['toRef'] + const toRefs: typeof import('vue')['toRefs'] + const toValue: typeof import('vue')['toValue'] + const triggerRef: typeof import('vue')['triggerRef'] + const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount'] + const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] + const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] + const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] + const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] + const unref: typeof import('vue')['unref'] + const unrefElement: typeof import('@vueuse/core')['unrefElement'] + const until: typeof import('@vueuse/core')['until'] + const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useAnimate: typeof import('@vueuse/core')['useAnimate'] + const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference'] + const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] + const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] + const useArrayFind: typeof import('@vueuse/core')['useArrayFind'] + const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex'] + const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast'] + const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes'] + const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin'] + const useArrayMap: typeof import('@vueuse/core')['useArrayMap'] + const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce'] + const useArraySome: typeof import('@vueuse/core')['useArraySome'] + const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique'] + const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue'] + const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] + const useAttrs: typeof import('vue')['useAttrs'] + const useBase64: typeof import('@vueuse/core')['useBase64'] + const useBattery: typeof import('@vueuse/core')['useBattery'] + const useBluetooth: typeof import('@vueuse/core')['useBluetooth'] + const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] + const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel'] + const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] + const useCached: typeof import('@vueuse/core')['useCached'] + const useClipboard: typeof import('@vueuse/core')['useClipboard'] + const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems'] + const useCloned: typeof import('@vueuse/core')['useCloned'] + const useColorMode: typeof import('@vueuse/core')['useColorMode'] + const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] + const useCounter: typeof import('@vueuse/core')['useCounter'] + const useCssModule: typeof import('vue')['useCssModule'] + const useCssVar: typeof import('@vueuse/core')['useCssVar'] + const useCssVars: typeof import('vue')['useCssVars'] + const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement'] + const useCycleList: typeof import('@vueuse/core')['useCycleList'] + const useDark: typeof import('@vueuse/core')['useDark'] + const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] + const useDebounce: typeof import('@vueuse/core')['useDebounce'] + const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] + const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] + const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] + const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] + const useDevicesList: typeof import('@vueuse/core')['useDevicesList'] + const useDialog: typeof import('naive-ui')['useDialog'] + const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia'] + const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility'] + const useDraggable: typeof import('@vueuse/core')['useDraggable'] + const useDropZone: typeof import('@vueuse/core')['useDropZone'] + const useElementBounding: typeof import('@vueuse/core')['useElementBounding'] + const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint'] + const useElementHover: typeof import('@vueuse/core')['useElementHover'] + const useElementSize: typeof import('@vueuse/core')['useElementSize'] + const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility'] + const useEventBus: typeof import('@vueuse/core')['useEventBus'] + const useEventListener: typeof import('@vueuse/core')['useEventListener'] + const useEventSource: typeof import('@vueuse/core')['useEventSource'] + const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper'] + const useFavicon: typeof import('@vueuse/core')['useFavicon'] + const useFetch: typeof import('@vueuse/core')['useFetch'] + const useFileDialog: typeof import('@vueuse/core')['useFileDialog'] + const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess'] + const useFocus: typeof import('@vueuse/core')['useFocus'] + const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin'] + const useFps: typeof import('@vueuse/core')['useFps'] + const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] + const useGamepad: typeof import('@vueuse/core')['useGamepad'] + const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] + const useI18n: typeof import('vue-i18n')['useI18n'] + const useIdle: typeof import('@vueuse/core')['useIdle'] + const useImage: typeof import('@vueuse/core')['useImage'] + const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll'] + const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver'] + const useInterval: typeof import('@vueuse/core')['useInterval'] + const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn'] + const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier'] + const useLastChanged: typeof import('@vueuse/core')['useLastChanged'] + const useLink: typeof import('vue-router')['useLink'] + const useLoadingBar: typeof import('naive-ui')['useLoadingBar'] + const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] + const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] + const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] + const useMediaControls: typeof import('@vueuse/core')['useMediaControls'] + const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery'] + const useMemoize: typeof import('@vueuse/core')['useMemoize'] + const useMemory: typeof import('@vueuse/core')['useMemory'] + const useMessage: typeof import('naive-ui')['useMessage'] + const useMounted: typeof import('@vueuse/core')['useMounted'] + const useMouse: typeof import('@vueuse/core')['useMouse'] + const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement'] + const useMousePressed: typeof import('@vueuse/core')['useMousePressed'] + const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver'] + const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage'] + const useNetwork: typeof import('@vueuse/core')['useNetwork'] + const useNotification: typeof import('naive-ui')['useNotification'] + const useNow: typeof import('@vueuse/core')['useNow'] + const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl'] + const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination'] + const useOnline: typeof import('@vueuse/core')['useOnline'] + const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] + const useParallax: typeof import('@vueuse/core')['useParallax'] + const useParentElement: typeof import('@vueuse/core')['useParentElement'] + const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver'] + const usePermission: typeof import('@vueuse/core')['usePermission'] + const usePointer: typeof import('@vueuse/core')['usePointer'] + const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] + const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] + const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] + const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast'] + const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] + const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] + const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion'] + const usePrevious: typeof import('@vueuse/core')['usePrevious'] + const useRafFn: typeof import('@vueuse/core')['useRafFn'] + const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] + const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] + const useRoute: typeof import('vue-router')['useRoute'] + const useRouter: typeof import('vue-router')['useRouter'] + const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation'] + const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea'] + const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] + const useScroll: typeof import('@vueuse/core')['useScroll'] + const useScrollLock: typeof import('@vueuse/core')['useScrollLock'] + const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] + const useShare: typeof import('@vueuse/core')['useShare'] + const useSlots: typeof import('vue')['useSlots'] + const useSorted: typeof import('@vueuse/core')['useSorted'] + const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] + const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis'] + const useStepper: typeof import('@vueuse/core')['useStepper'] + const useStorage: typeof import('@vueuse/core')['useStorage'] + const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync'] + const useStyleTag: typeof import('@vueuse/core')['useStyleTag'] + const useSupported: typeof import('@vueuse/core')['useSupported'] + const useSwipe: typeof import('@vueuse/core')['useSwipe'] + const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] + const useTextDirection: typeof import('@vueuse/core')['useTextDirection'] + const useTextSelection: typeof import('@vueuse/core')['useTextSelection'] + const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] + const useThrottle: typeof import('@vueuse/core')['useThrottle'] + const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] + const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] + const useTimeout: typeof import('@vueuse/core')['useTimeout'] + const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] + const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll'] + const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] + const useTitle: typeof import('@vueuse/core')['useTitle'] + const useToNumber: typeof import('@vueuse/core')['useToNumber'] + const useToString: typeof import('@vueuse/core')['useToString'] + const useToggle: typeof import('@vueuse/core')['useToggle'] + const useTransition: typeof import('@vueuse/core')['useTransition'] + const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] + const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] + const useVModel: typeof import('@vueuse/core')['useVModel'] + const useVModels: typeof import('@vueuse/core')['useVModels'] + const useVibrate: typeof import('@vueuse/core')['useVibrate'] + const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] + const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] + const useWebNotification: typeof import('@vueuse/core')['useWebNotification'] + const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] + const useWebWorker: typeof import('@vueuse/core')['useWebWorker'] + const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn'] + const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] + const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] + const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] + const watch: typeof import('vue')['watch'] + const watchArray: typeof import('@vueuse/core')['watchArray'] + const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] + const watchDebounced: typeof import('@vueuse/core')['watchDebounced'] + const watchDeep: typeof import('@vueuse/core')['watchDeep'] + const watchEffect: typeof import('vue')['watchEffect'] + const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] + const watchImmediate: typeof import('@vueuse/core')['watchImmediate'] + const watchOnce: typeof import('@vueuse/core')['watchOnce'] + const watchPausable: typeof import('@vueuse/core')['watchPausable'] + const watchPostEffect: typeof import('vue')['watchPostEffect'] + const watchSyncEffect: typeof import('vue')['watchSyncEffect'] + const watchThrottled: typeof import('@vueuse/core')['watchThrottled'] + const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] + const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] + const whenever: typeof import('@vueuse/core')['whenever'] +} +// for type re-export +declare global { + // @ts-ignore + export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' + import('vue') +} +// for vue template auto import +import { UnwrapRef } from 'vue' +declare module 'vue' { + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef + readonly asyncComputed: UnwrapRef + readonly autoResetRef: UnwrapRef + readonly computed: UnwrapRef + readonly computedAsync: UnwrapRef + readonly computedEager: UnwrapRef + readonly computedInject: UnwrapRef + readonly computedWithControl: UnwrapRef + readonly controlledComputed: UnwrapRef + readonly controlledRef: UnwrapRef + readonly createApp: UnwrapRef + readonly createEventHook: UnwrapRef + readonly createGlobalState: UnwrapRef + readonly createInjectionState: UnwrapRef + readonly createReactiveFn: UnwrapRef + readonly createReusableTemplate: UnwrapRef + readonly createSharedComposable: UnwrapRef + readonly createTemplatePromise: UnwrapRef + readonly createUnrefFn: UnwrapRef + readonly customRef: UnwrapRef + readonly debouncedRef: UnwrapRef + readonly debouncedWatch: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly eagerComputed: UnwrapRef + readonly effectScope: UnwrapRef + readonly extendRef: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly h: UnwrapRef + readonly ignorableWatch: UnwrapRef + readonly inject: UnwrapRef + readonly injectLocal: UnwrapRef + readonly isDefined: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly makeDestructurable: UnwrapRef + readonly markRaw: UnwrapRef + readonly nextTick: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeRouteLeave: UnwrapRef + readonly onBeforeRouteUpdate: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onClickOutside: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onKeyStroke: UnwrapRef + readonly onLongPress: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onStartTyping: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly pausableWatch: UnwrapRef + readonly provide: UnwrapRef + readonly provideLocal: UnwrapRef + readonly reactify: UnwrapRef + readonly reactifyObject: UnwrapRef + readonly reactive: UnwrapRef + readonly reactiveComputed: UnwrapRef + readonly reactiveOmit: UnwrapRef + readonly reactivePick: UnwrapRef + readonly readonly: UnwrapRef + readonly ref: UnwrapRef + readonly refAutoReset: UnwrapRef + readonly refDebounced: UnwrapRef + readonly refDefault: UnwrapRef + readonly refThrottled: UnwrapRef + readonly refWithControl: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly resolveRef: UnwrapRef + readonly resolveUnref: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly syncRef: UnwrapRef + readonly syncRefs: UnwrapRef + readonly templateRef: UnwrapRef + readonly throttledRef: UnwrapRef + readonly throttledWatch: UnwrapRef + readonly toRaw: UnwrapRef + readonly toReactive: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly toValue: UnwrapRef + readonly triggerRef: UnwrapRef + readonly tryOnBeforeMount: UnwrapRef + readonly tryOnBeforeUnmount: UnwrapRef + readonly tryOnMounted: UnwrapRef + readonly tryOnScopeDispose: UnwrapRef + readonly tryOnUnmounted: UnwrapRef + readonly unref: UnwrapRef + readonly unrefElement: UnwrapRef + readonly until: UnwrapRef + readonly useActiveElement: UnwrapRef + readonly useAnimate: UnwrapRef + readonly useArrayDifference: UnwrapRef + readonly useArrayEvery: UnwrapRef + readonly useArrayFilter: UnwrapRef + readonly useArrayFind: UnwrapRef + readonly useArrayFindIndex: UnwrapRef + readonly useArrayFindLast: UnwrapRef + readonly useArrayIncludes: UnwrapRef + readonly useArrayJoin: UnwrapRef + readonly useArrayMap: UnwrapRef + readonly useArrayReduce: UnwrapRef + readonly useArraySome: UnwrapRef + readonly useArrayUnique: UnwrapRef + readonly useAsyncQueue: UnwrapRef + readonly useAsyncState: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useBase64: UnwrapRef + readonly useBattery: UnwrapRef + readonly useBluetooth: UnwrapRef + readonly useBreakpoints: UnwrapRef + readonly useBroadcastChannel: UnwrapRef + readonly useBrowserLocation: UnwrapRef + readonly useCached: UnwrapRef + readonly useClipboard: UnwrapRef + readonly useClipboardItems: UnwrapRef + readonly useCloned: UnwrapRef + readonly useColorMode: UnwrapRef + readonly useConfirmDialog: UnwrapRef + readonly useCounter: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVar: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useCurrentElement: UnwrapRef + readonly useCycleList: UnwrapRef + readonly useDark: UnwrapRef + readonly useDateFormat: UnwrapRef + readonly useDebounce: UnwrapRef + readonly useDebounceFn: UnwrapRef + readonly useDebouncedRefHistory: UnwrapRef + readonly useDeviceMotion: UnwrapRef + readonly useDeviceOrientation: UnwrapRef + readonly useDevicePixelRatio: UnwrapRef + readonly useDevicesList: UnwrapRef + readonly useDialog: UnwrapRef + readonly useDisplayMedia: UnwrapRef + readonly useDocumentVisibility: UnwrapRef + readonly useDraggable: UnwrapRef + readonly useDropZone: UnwrapRef + readonly useElementBounding: UnwrapRef + readonly useElementByPoint: UnwrapRef + readonly useElementHover: UnwrapRef + readonly useElementSize: UnwrapRef + readonly useElementVisibility: UnwrapRef + readonly useEventBus: UnwrapRef + readonly useEventListener: UnwrapRef + readonly useEventSource: UnwrapRef + readonly useEyeDropper: UnwrapRef + readonly useFavicon: UnwrapRef + readonly useFetch: UnwrapRef + readonly useFileDialog: UnwrapRef + readonly useFileSystemAccess: UnwrapRef + readonly useFocus: UnwrapRef + readonly useFocusWithin: UnwrapRef + readonly useFps: UnwrapRef + readonly useFullscreen: UnwrapRef + readonly useGamepad: UnwrapRef + readonly useGeolocation: UnwrapRef + readonly useI18n: UnwrapRef + readonly useIdle: UnwrapRef + readonly useImage: UnwrapRef + readonly useInfiniteScroll: UnwrapRef + readonly useIntersectionObserver: UnwrapRef + readonly useInterval: UnwrapRef + readonly useIntervalFn: UnwrapRef + readonly useKeyModifier: UnwrapRef + readonly useLastChanged: UnwrapRef + readonly useLink: UnwrapRef + readonly useLoadingBar: UnwrapRef + readonly useLocalStorage: UnwrapRef + readonly useMagicKeys: UnwrapRef + readonly useManualRefHistory: UnwrapRef + readonly useMediaControls: UnwrapRef + readonly useMediaQuery: UnwrapRef + readonly useMemoize: UnwrapRef + readonly useMemory: UnwrapRef + readonly useMessage: UnwrapRef + readonly useMounted: UnwrapRef + readonly useMouse: UnwrapRef + readonly useMouseInElement: UnwrapRef + readonly useMousePressed: UnwrapRef + readonly useMutationObserver: UnwrapRef + readonly useNavigatorLanguage: UnwrapRef + readonly useNetwork: UnwrapRef + readonly useNotification: UnwrapRef + readonly useNow: UnwrapRef + readonly useObjectUrl: UnwrapRef + readonly useOffsetPagination: UnwrapRef + readonly useOnline: UnwrapRef + readonly usePageLeave: UnwrapRef + readonly useParallax: UnwrapRef + readonly useParentElement: UnwrapRef + readonly usePerformanceObserver: UnwrapRef + readonly usePermission: UnwrapRef + readonly usePointer: UnwrapRef + readonly usePointerLock: UnwrapRef + readonly usePointerSwipe: UnwrapRef + readonly usePreferredColorScheme: UnwrapRef + readonly usePreferredContrast: UnwrapRef + readonly usePreferredDark: UnwrapRef + readonly usePreferredLanguages: UnwrapRef + readonly usePreferredReducedMotion: UnwrapRef + readonly usePrevious: UnwrapRef + readonly useRafFn: UnwrapRef + readonly useRefHistory: UnwrapRef + readonly useResizeObserver: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useScreenOrientation: UnwrapRef + readonly useScreenSafeArea: UnwrapRef + readonly useScriptTag: UnwrapRef + readonly useScroll: UnwrapRef + readonly useScrollLock: UnwrapRef + readonly useSessionStorage: UnwrapRef + readonly useShare: UnwrapRef + readonly useSlots: UnwrapRef + readonly useSorted: UnwrapRef + readonly useSpeechRecognition: UnwrapRef + readonly useSpeechSynthesis: UnwrapRef + readonly useStepper: UnwrapRef + readonly useStorage: UnwrapRef + readonly useStorageAsync: UnwrapRef + readonly useStyleTag: UnwrapRef + readonly useSupported: UnwrapRef + readonly useSwipe: UnwrapRef + readonly useTemplateRefsList: UnwrapRef + readonly useTextDirection: UnwrapRef + readonly useTextSelection: UnwrapRef + readonly useTextareaAutosize: UnwrapRef + readonly useThrottle: UnwrapRef + readonly useThrottleFn: UnwrapRef + readonly useThrottledRefHistory: UnwrapRef + readonly useTimeAgo: UnwrapRef + readonly useTimeout: UnwrapRef + readonly useTimeoutFn: UnwrapRef + readonly useTimeoutPoll: UnwrapRef + readonly useTimestamp: UnwrapRef + readonly useTitle: UnwrapRef + readonly useToNumber: UnwrapRef + readonly useToString: UnwrapRef + readonly useToggle: UnwrapRef + readonly useTransition: UnwrapRef + readonly useUrlSearchParams: UnwrapRef + readonly useUserMedia: UnwrapRef + readonly useVModel: UnwrapRef + readonly useVModels: UnwrapRef + readonly useVibrate: UnwrapRef + readonly useVirtualList: UnwrapRef + readonly useWakeLock: UnwrapRef + readonly useWebNotification: UnwrapRef + readonly useWebSocket: UnwrapRef + readonly useWebWorker: UnwrapRef + readonly useWebWorkerFn: UnwrapRef + readonly useWindowFocus: UnwrapRef + readonly useWindowScroll: UnwrapRef + readonly useWindowSize: UnwrapRef + readonly watch: UnwrapRef + readonly watchArray: UnwrapRef + readonly watchAtMost: UnwrapRef + readonly watchDebounced: UnwrapRef + readonly watchDeep: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchIgnorable: UnwrapRef + readonly watchImmediate: UnwrapRef + readonly watchOnce: UnwrapRef + readonly watchPausable: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef + readonly watchThrottled: UnwrapRef + readonly watchTriggerable: UnwrapRef + readonly watchWithFilter: UnwrapRef + readonly whenever: UnwrapRef + } +} +declare module '@vue/runtime-core' { + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef + readonly asyncComputed: UnwrapRef + readonly autoResetRef: UnwrapRef + readonly computed: UnwrapRef + readonly computedAsync: UnwrapRef + readonly computedEager: UnwrapRef + readonly computedInject: UnwrapRef + readonly computedWithControl: UnwrapRef + readonly controlledComputed: UnwrapRef + readonly controlledRef: UnwrapRef + readonly createApp: UnwrapRef + readonly createEventHook: UnwrapRef + readonly createGlobalState: UnwrapRef + readonly createInjectionState: UnwrapRef + readonly createReactiveFn: UnwrapRef + readonly createReusableTemplate: UnwrapRef + readonly createSharedComposable: UnwrapRef + readonly createTemplatePromise: UnwrapRef + readonly createUnrefFn: UnwrapRef + readonly customRef: UnwrapRef + readonly debouncedRef: UnwrapRef + readonly debouncedWatch: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly eagerComputed: UnwrapRef + readonly effectScope: UnwrapRef + readonly extendRef: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly h: UnwrapRef + readonly ignorableWatch: UnwrapRef + readonly inject: UnwrapRef + readonly injectLocal: UnwrapRef + readonly isDefined: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly makeDestructurable: UnwrapRef + readonly markRaw: UnwrapRef + readonly nextTick: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeRouteLeave: UnwrapRef + readonly onBeforeRouteUpdate: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onClickOutside: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onKeyStroke: UnwrapRef + readonly onLongPress: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onStartTyping: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly pausableWatch: UnwrapRef + readonly provide: UnwrapRef + readonly provideLocal: UnwrapRef + readonly reactify: UnwrapRef + readonly reactifyObject: UnwrapRef + readonly reactive: UnwrapRef + readonly reactiveComputed: UnwrapRef + readonly reactiveOmit: UnwrapRef + readonly reactivePick: UnwrapRef + readonly readonly: UnwrapRef + readonly ref: UnwrapRef + readonly refAutoReset: UnwrapRef + readonly refDebounced: UnwrapRef + readonly refDefault: UnwrapRef + readonly refThrottled: UnwrapRef + readonly refWithControl: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly resolveRef: UnwrapRef + readonly resolveUnref: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly syncRef: UnwrapRef + readonly syncRefs: UnwrapRef + readonly templateRef: UnwrapRef + readonly throttledRef: UnwrapRef + readonly throttledWatch: UnwrapRef + readonly toRaw: UnwrapRef + readonly toReactive: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly toValue: UnwrapRef + readonly triggerRef: UnwrapRef + readonly tryOnBeforeMount: UnwrapRef + readonly tryOnBeforeUnmount: UnwrapRef + readonly tryOnMounted: UnwrapRef + readonly tryOnScopeDispose: UnwrapRef + readonly tryOnUnmounted: UnwrapRef + readonly unref: UnwrapRef + readonly unrefElement: UnwrapRef + readonly until: UnwrapRef + readonly useActiveElement: UnwrapRef + readonly useAnimate: UnwrapRef + readonly useArrayDifference: UnwrapRef + readonly useArrayEvery: UnwrapRef + readonly useArrayFilter: UnwrapRef + readonly useArrayFind: UnwrapRef + readonly useArrayFindIndex: UnwrapRef + readonly useArrayFindLast: UnwrapRef + readonly useArrayIncludes: UnwrapRef + readonly useArrayJoin: UnwrapRef + readonly useArrayMap: UnwrapRef + readonly useArrayReduce: UnwrapRef + readonly useArraySome: UnwrapRef + readonly useArrayUnique: UnwrapRef + readonly useAsyncQueue: UnwrapRef + readonly useAsyncState: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useBase64: UnwrapRef + readonly useBattery: UnwrapRef + readonly useBluetooth: UnwrapRef + readonly useBreakpoints: UnwrapRef + readonly useBroadcastChannel: UnwrapRef + readonly useBrowserLocation: UnwrapRef + readonly useCached: UnwrapRef + readonly useClipboard: UnwrapRef + readonly useClipboardItems: UnwrapRef + readonly useCloned: UnwrapRef + readonly useColorMode: UnwrapRef + readonly useConfirmDialog: UnwrapRef + readonly useCounter: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVar: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useCurrentElement: UnwrapRef + readonly useCycleList: UnwrapRef + readonly useDark: UnwrapRef + readonly useDateFormat: UnwrapRef + readonly useDebounce: UnwrapRef + readonly useDebounceFn: UnwrapRef + readonly useDebouncedRefHistory: UnwrapRef + readonly useDeviceMotion: UnwrapRef + readonly useDeviceOrientation: UnwrapRef + readonly useDevicePixelRatio: UnwrapRef + readonly useDevicesList: UnwrapRef + readonly useDialog: UnwrapRef + readonly useDisplayMedia: UnwrapRef + readonly useDocumentVisibility: UnwrapRef + readonly useDraggable: UnwrapRef + readonly useDropZone: UnwrapRef + readonly useElementBounding: UnwrapRef + readonly useElementByPoint: UnwrapRef + readonly useElementHover: UnwrapRef + readonly useElementSize: UnwrapRef + readonly useElementVisibility: UnwrapRef + readonly useEventBus: UnwrapRef + readonly useEventListener: UnwrapRef + readonly useEventSource: UnwrapRef + readonly useEyeDropper: UnwrapRef + readonly useFavicon: UnwrapRef + readonly useFetch: UnwrapRef + readonly useFileDialog: UnwrapRef + readonly useFileSystemAccess: UnwrapRef + readonly useFocus: UnwrapRef + readonly useFocusWithin: UnwrapRef + readonly useFps: UnwrapRef + readonly useFullscreen: UnwrapRef + readonly useGamepad: UnwrapRef + readonly useGeolocation: UnwrapRef + readonly useI18n: UnwrapRef + readonly useIdle: UnwrapRef + readonly useImage: UnwrapRef + readonly useInfiniteScroll: UnwrapRef + readonly useIntersectionObserver: UnwrapRef + readonly useInterval: UnwrapRef + readonly useIntervalFn: UnwrapRef + readonly useKeyModifier: UnwrapRef + readonly useLastChanged: UnwrapRef + readonly useLink: UnwrapRef + readonly useLoadingBar: UnwrapRef + readonly useLocalStorage: UnwrapRef + readonly useMagicKeys: UnwrapRef + readonly useManualRefHistory: UnwrapRef + readonly useMediaControls: UnwrapRef + readonly useMediaQuery: UnwrapRef + readonly useMemoize: UnwrapRef + readonly useMemory: UnwrapRef + readonly useMessage: UnwrapRef + readonly useMounted: UnwrapRef + readonly useMouse: UnwrapRef + readonly useMouseInElement: UnwrapRef + readonly useMousePressed: UnwrapRef + readonly useMutationObserver: UnwrapRef + readonly useNavigatorLanguage: UnwrapRef + readonly useNetwork: UnwrapRef + readonly useNotification: UnwrapRef + readonly useNow: UnwrapRef + readonly useObjectUrl: UnwrapRef + readonly useOffsetPagination: UnwrapRef + readonly useOnline: UnwrapRef + readonly usePageLeave: UnwrapRef + readonly useParallax: UnwrapRef + readonly useParentElement: UnwrapRef + readonly usePerformanceObserver: UnwrapRef + readonly usePermission: UnwrapRef + readonly usePointer: UnwrapRef + readonly usePointerLock: UnwrapRef + readonly usePointerSwipe: UnwrapRef + readonly usePreferredColorScheme: UnwrapRef + readonly usePreferredContrast: UnwrapRef + readonly usePreferredDark: UnwrapRef + readonly usePreferredLanguages: UnwrapRef + readonly usePreferredReducedMotion: UnwrapRef + readonly usePrevious: UnwrapRef + readonly useRafFn: UnwrapRef + readonly useRefHistory: UnwrapRef + readonly useResizeObserver: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useScreenOrientation: UnwrapRef + readonly useScreenSafeArea: UnwrapRef + readonly useScriptTag: UnwrapRef + readonly useScroll: UnwrapRef + readonly useScrollLock: UnwrapRef + readonly useSessionStorage: UnwrapRef + readonly useShare: UnwrapRef + readonly useSlots: UnwrapRef + readonly useSorted: UnwrapRef + readonly useSpeechRecognition: UnwrapRef + readonly useSpeechSynthesis: UnwrapRef + readonly useStepper: UnwrapRef + readonly useStorage: UnwrapRef + readonly useStorageAsync: UnwrapRef + readonly useStyleTag: UnwrapRef + readonly useSupported: UnwrapRef + readonly useSwipe: UnwrapRef + readonly useTemplateRefsList: UnwrapRef + readonly useTextDirection: UnwrapRef + readonly useTextSelection: UnwrapRef + readonly useTextareaAutosize: UnwrapRef + readonly useThrottle: UnwrapRef + readonly useThrottleFn: UnwrapRef + readonly useThrottledRefHistory: UnwrapRef + readonly useTimeAgo: UnwrapRef + readonly useTimeout: UnwrapRef + readonly useTimeoutFn: UnwrapRef + readonly useTimeoutPoll: UnwrapRef + readonly useTimestamp: UnwrapRef + readonly useTitle: UnwrapRef + readonly useToNumber: UnwrapRef + readonly useToString: UnwrapRef + readonly useToggle: UnwrapRef + readonly useTransition: UnwrapRef + readonly useUrlSearchParams: UnwrapRef + readonly useUserMedia: UnwrapRef + readonly useVModel: UnwrapRef + readonly useVModels: UnwrapRef + readonly useVibrate: UnwrapRef + readonly useVirtualList: UnwrapRef + readonly useWakeLock: UnwrapRef + readonly useWebNotification: UnwrapRef + readonly useWebSocket: UnwrapRef + readonly useWebWorker: UnwrapRef + readonly useWebWorkerFn: UnwrapRef + readonly useWindowFocus: UnwrapRef + readonly useWindowScroll: UnwrapRef + readonly useWindowSize: UnwrapRef + readonly watch: UnwrapRef + readonly watchArray: UnwrapRef + readonly watchAtMost: UnwrapRef + readonly watchDebounced: UnwrapRef + readonly watchDeep: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchIgnorable: UnwrapRef + readonly watchImmediate: UnwrapRef + readonly watchOnce: UnwrapRef + readonly watchPausable: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef + readonly watchThrottled: UnwrapRef + readonly watchTriggerable: UnwrapRef + readonly watchWithFilter: UnwrapRef + readonly whenever: UnwrapRef + } +} diff --git a/zh-CN/components.d.ts b/zh-CN/components.d.ts new file mode 100644 index 00000000..9d3a3691 --- /dev/null +++ b/zh-CN/components.d.ts @@ -0,0 +1,216 @@ +/* eslint-disable */ +/* prettier-ignore */ +// @ts-nocheck +// Generated by unplugin-vue-components +// Read more: https://github.com/vuejs/core/pull/3399 +export {} + +declare module 'vue' { + export interface GlobalComponents { + '404.page': typeof import('./src/pages/404.page.vue')['default'] + About: typeof import('./src/pages/About.vue')['default'] + App: typeof import('./src/App.vue')['default'] + 'Base.layout': typeof import('./src/layouts/base.layout.vue')['default'] + Base64FileConverter: typeof import('./src/tools/base64-file-converter/base64-file-converter.vue')['default'] + Base64StringConverter: typeof import('./src/tools/base64-string-converter/base64-string-converter.vue')['default'] + BasicAuthGenerator: typeof import('./src/tools/basic-auth-generator/basic-auth-generator.vue')['default'] + Bcrypt: typeof import('./src/tools/bcrypt/bcrypt.vue')['default'] + BenchmarkBuilder: typeof import('./src/tools/benchmark-builder/benchmark-builder.vue')['default'] + Bip39Generator: typeof import('./src/tools/bip39-generator/bip39-generator.vue')['default'] + CAlert: typeof import('./src/ui/c-alert/c-alert.vue')['default'] + 'CAlert.demo': typeof import('./src/ui/c-alert/c-alert.demo.vue')['default'] + CameraRecorder: typeof import('./src/tools/camera-recorder/camera-recorder.vue')['default'] + CaseConverter: typeof import('./src/tools/case-converter/case-converter.vue')['default'] + CButton: typeof import('./src/ui/c-button/c-button.vue')['default'] + 'CButton.demo': typeof import('./src/ui/c-button/c-button.demo.vue')['default'] + CButtonsSelect: typeof import('./src/ui/c-buttons-select/c-buttons-select.vue')['default'] + 'CButtonsSelect.demo': typeof import('./src/ui/c-buttons-select/c-buttons-select.demo.vue')['default'] + CCard: typeof import('./src/ui/c-card/c-card.vue')['default'] + 'CCard.demo': typeof import('./src/ui/c-card/c-card.demo.vue')['default'] + CCollapse: typeof import('./src/ui/c-collapse/c-collapse.vue')['default'] + 'CCollapse.demo': typeof import('./src/ui/c-collapse/c-collapse.demo.vue')['default'] + CDiffEditor: typeof import('./src/ui/c-diff-editor/c-diff-editor.vue')['default'] + CFileUpload: typeof import('./src/ui/c-file-upload/c-file-upload.vue')['default'] + 'CFileUpload.demo': typeof import('./src/ui/c-file-upload/c-file-upload.demo.vue')['default'] + ChmodCalculator: typeof import('./src/tools/chmod-calculator/chmod-calculator.vue')['default'] + Chronometer: typeof import('./src/tools/chronometer/chronometer.vue')['default'] + CInputText: typeof import('./src/ui/c-input-text/c-input-text.vue')['default'] + 'CInputText.demo': typeof import('./src/ui/c-input-text/c-input-text.demo.vue')['default'] + CKeyValueList: typeof import('./src/ui/c-key-value-list/c-key-value-list.vue')['default'] + CKeyValueListItem: typeof import('./src/ui/c-key-value-list/c-key-value-list-item.vue')['default'] + CLabel: typeof import('./src/ui/c-label/c-label.vue')['default'] + CLink: typeof import('./src/ui/c-link/c-link.vue')['default'] + 'CLink.demo': typeof import('./src/ui/c-link/c-link.demo.vue')['default'] + CMarkdown: typeof import('./src/ui/c-markdown/c-markdown.vue')['default'] + 'CMarkdown.demo': typeof import('./src/ui/c-markdown/c-markdown.demo.vue')['default'] + CModal: typeof import('./src/ui/c-modal/c-modal.vue')['default'] + 'CModal.demo': typeof import('./src/ui/c-modal/c-modal.demo.vue')['default'] + CModalValue: typeof import('./src/ui/c-modal-value/c-modal-value.vue')['default'] + 'CModalValue.demo': typeof import('./src/ui/c-modal-value/c-modal-value.demo.vue')['default'] + CollapsibleToolMenu: typeof import('./src/components/CollapsibleToolMenu.vue')['default'] + ColorConverter: typeof import('./src/tools/color-converter/color-converter.vue')['default'] + ColoredCard: typeof import('./src/components/ColoredCard.vue')['default'] + CommandPalette: typeof import('./src/modules/command-palette/command-palette.vue')['default'] + CommandPaletteOption: typeof import('./src/modules/command-palette/components/command-palette-option.vue')['default'] + CrontabGenerator: typeof import('./src/tools/crontab-generator/crontab-generator.vue')['default'] + CSelect: typeof import('./src/ui/c-select/c-select.vue')['default'] + 'CSelect.demo': typeof import('./src/ui/c-select/c-select.demo.vue')['default'] + CTable: typeof import('./src/ui/c-table/c-table.vue')['default'] + 'CTable.demo': typeof import('./src/ui/c-table/c-table.demo.vue')['default'] + CTextCopyable: typeof import('./src/ui/c-text-copyable/c-text-copyable.vue')['default'] + 'CTextCopyable.demo': typeof import('./src/ui/c-text-copyable/c-text-copyable.demo.vue')['default'] + CTooltip: typeof import('./src/ui/c-tooltip/c-tooltip.vue')['default'] + 'CTooltip.demo': typeof import('./src/ui/c-tooltip/c-tooltip.demo.vue')['default'] + DateTimeConverter: typeof import('./src/tools/date-time-converter/date-time-converter.vue')['default'] + 'DemoHome.page': typeof import('./src/ui/demo/demo-home.page.vue')['default'] + DemoWrapper: typeof import('./src/ui/demo/demo-wrapper.vue')['default'] + DeviceInformation: typeof import('./src/tools/device-information/device-information.vue')['default'] + DiffViewer: typeof import('./src/tools/json-diff/diff-viewer/diff-viewer.vue')['default'] + DockerRunToDockerComposeConverter: typeof import('./src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue')['default'] + DynamicValues: typeof import('./src/tools/benchmark-builder/dynamic-values.vue')['default'] + Editor: typeof import('./src/tools/html-wysiwyg-editor/editor/editor.vue')['default'] + EmojiCard: typeof import('./src/tools/emoji-picker/emoji-card.vue')['default'] + EmojiGrid: typeof import('./src/tools/emoji-picker/emoji-grid.vue')['default'] + EmojiPicker: typeof import('./src/tools/emoji-picker/emoji-picker.vue')['default'] + Encryption: typeof import('./src/tools/encryption/encryption.vue')['default'] + EtaCalculator: typeof import('./src/tools/eta-calculator/eta-calculator.vue')['default'] + FavoriteButton: typeof import('./src/components/FavoriteButton.vue')['default'] + FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default'] + GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default'] + 'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default'] + HashText: typeof import('./src/tools/hash-text/hash-text.vue')['default'] + HmacGenerator: typeof import('./src/tools/hmac-generator/hmac-generator.vue')['default'] + 'Home.page': typeof import('./src/pages/Home.page.vue')['default'] + HtmlEntities: typeof import('./src/tools/html-entities/html-entities.vue')['default'] + HtmlWysiwygEditor: typeof import('./src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue')['default'] + HttpStatusCodes: typeof import('./src/tools/http-status-codes/http-status-codes.vue')['default'] + IbanValidatorAndParser: typeof import('./src/tools/iban-validator-and-parser/iban-validator-and-parser.vue')['default'] + 'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default'] + 'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default'] + 'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default'] + IconMdiArrowDown: typeof import('~icons/mdi/arrow-down')['default'] + IconMdiArrowRightBottom: typeof import('~icons/mdi/arrow-right-bottom')['default'] + IconMdiCamera: typeof import('~icons/mdi/camera')['default'] + IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default'] + IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default'] + IconMdiClose: typeof import('~icons/mdi/close')['default'] + IconMdiContentCopy: typeof import('~icons/mdi/content-copy')['default'] + IconMdiDeleteOutline: typeof import('~icons/mdi/delete-outline')['default'] + IconMdiDownload: typeof import('~icons/mdi/download')['default'] + IconMdiEye: typeof import('~icons/mdi/eye')['default'] + IconMdiEyeOff: typeof import('~icons/mdi/eye-off')['default'] + IconMdiHeart: typeof import('~icons/mdi/heart')['default'] + IconMdiPause: typeof import('~icons/mdi/pause')['default'] + IconMdiPlay: typeof import('~icons/mdi/play')['default'] + IconMdiRecord: typeof import('~icons/mdi/record')['default'] + IconMdiRefresh: typeof import('~icons/mdi/refresh')['default'] + IconMdiSearch: typeof import('~icons/mdi/search')['default'] + IconMdiTranslate: typeof import('~icons/mdi/translate')['default'] + IconMdiTriangleDown: typeof import('~icons/mdi/triangle-down')['default'] + IconMdiVideo: typeof import('~icons/mdi/video')['default'] + InputCopyable: typeof import('./src/components/InputCopyable.vue')['default'] + IntegerBaseConverter: typeof import('./src/tools/integer-base-converter/integer-base-converter.vue')['default'] + Ipv4AddressConverter: typeof import('./src/tools/ipv4-address-converter/ipv4-address-converter.vue')['default'] + Ipv4RangeExpander: typeof import('./src/tools/ipv4-range-expander/ipv4-range-expander.vue')['default'] + Ipv4SubnetCalculator: typeof import('./src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')['default'] + Ipv6UlaGenerator: typeof import('./src/tools/ipv6-ula-generator/ipv6-ula-generator.vue')['default'] + JsonDiff: typeof import('./src/tools/json-diff/json-diff.vue')['default'] + JsonMinify: typeof import('./src/tools/json-minify/json-minify.vue')['default'] + JsonToCsv: typeof import('./src/tools/json-to-csv/json-to-csv.vue')['default'] + JsonToToml: typeof import('./src/tools/json-to-toml/json-to-toml.vue')['default'] + JsonToYaml: typeof import('./src/tools/json-to-yaml-converter/json-to-yaml.vue')['default'] + JsonViewer: typeof import('./src/tools/json-viewer/json-viewer.vue')['default'] + JwtParser: typeof import('./src/tools/jwt-parser/jwt-parser.vue')['default'] + KeycodeInfo: typeof import('./src/tools/keycode-info/keycode-info.vue')['default'] + ListConverter: typeof import('./src/tools/list-converter/list-converter.vue')['default'] + LocaleSelector: typeof import('./src/modules/i18n/components/locale-selector.vue')['default'] + LoremIpsumGenerator: typeof import('./src/tools/lorem-ipsum-generator/lorem-ipsum-generator.vue')['default'] + MacAddressGenerator: typeof import('./src/tools/mac-address-generator/mac-address-generator.vue')['default'] + MacAddressLookup: typeof import('./src/tools/mac-address-lookup/mac-address-lookup.vue')['default'] + MathEvaluator: typeof import('./src/tools/math-evaluator/math-evaluator.vue')['default'] + MenuBar: typeof import('./src/tools/html-wysiwyg-editor/editor/menu-bar.vue')['default'] + MenuBarItem: typeof import('./src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue')['default'] + MenuIconItem: typeof import('./src/components/MenuIconItem.vue')['default'] + MenuLayout: typeof import('./src/components/MenuLayout.vue')['default'] + MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default'] + MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default'] + NAlert: typeof import('naive-ui')['NAlert'] + NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default'] + NCheckbox: typeof import('naive-ui')['NCheckbox'] + NCode: typeof import('naive-ui')['NCode'] + NCollapseTransition: typeof import('naive-ui')['NCollapseTransition'] + NColorPicker: typeof import('naive-ui')['NColorPicker'] + NConfigProvider: typeof import('naive-ui')['NConfigProvider'] + NDatePicker: typeof import('naive-ui')['NDatePicker'] + NDivider: typeof import('naive-ui')['NDivider'] + NDynamicInput: typeof import('naive-ui')['NDynamicInput'] + NEllipsis: typeof import('naive-ui')['NEllipsis'] + NForm: typeof import('naive-ui')['NForm'] + NFormItem: typeof import('naive-ui')['NFormItem'] + NGi: typeof import('naive-ui')['NGi'] + NGrid: typeof import('naive-ui')['NGrid'] + NH1: typeof import('naive-ui')['NH1'] + NH2: typeof import('naive-ui')['NH2'] + NH3: typeof import('naive-ui')['NH3'] + NIcon: typeof import('naive-ui')['NIcon'] + NImage: typeof import('naive-ui')['NImage'] + NInputGroup: typeof import('naive-ui')['NInputGroup'] + NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel'] + NInputNumber: typeof import('naive-ui')['NInputNumber'] + NLayout: typeof import('naive-ui')['NLayout'] + NLayoutSider: typeof import('naive-ui')['NLayoutSider'] + NMenu: typeof import('naive-ui')['NMenu'] + NProgress: typeof import('naive-ui')['NProgress'] + NRadio: typeof import('naive-ui')['NRadio'] + NRadioGroup: typeof import('naive-ui')['NRadioGroup'] + NScrollbar: typeof import('naive-ui')['NScrollbar'] + NSlider: typeof import('naive-ui')['NSlider'] + NSpace: typeof import('naive-ui')['NSpace'] + NStatistic: typeof import('naive-ui')['NStatistic'] + NSwitch: typeof import('naive-ui')['NSwitch'] + NTable: typeof import('naive-ui')['NTable'] + NTag: typeof import('naive-ui')['NTag'] + NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default'] + OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default'] + PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default'] + PdfSignatureChecker: typeof import('./src/tools/pdf-signature-checker/pdf-signature-checker.vue')['default'] + PdfSignatureDetails: typeof import('./src/tools/pdf-signature-checker/components/pdf-signature-details.vue')['default'] + PercentageCalculator: typeof import('./src/tools/percentage-calculator/percentage-calculator.vue')['default'] + PhoneParserAndFormatter: typeof import('./src/tools/phone-parser-and-formatter/phone-parser-and-formatter.vue')['default'] + QrCodeGenerator: typeof import('./src/tools/qr-code-generator/qr-code-generator.vue')['default'] + RandomPortGenerator: typeof import('./src/tools/random-port-generator/random-port-generator.vue')['default'] + ResultRow: typeof import('./src/tools/ipv4-range-expander/result-row.vue')['default'] + RmbD: typeof import('./src/tools/rmb-d/rmb-d.vue')['default'] + RomanNumeralConverter: typeof import('./src/tools/roman-numeral-converter/roman-numeral-converter.vue')['default'] + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + RsaKeyPairGenerator: typeof import('./src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue')['default'] + SlugifyString: typeof import('./src/tools/slugify-string/slugify-string.vue')['default'] + SpanCopyable: typeof import('./src/components/SpanCopyable.vue')['default'] + SqlPrettify: typeof import('./src/tools/sql-prettify/sql-prettify.vue')['default'] + StringObfuscator: typeof import('./src/tools/string-obfuscator/string-obfuscator.vue')['default'] + SvgPlaceholderGenerator: typeof import('./src/tools/svg-placeholder-generator/svg-placeholder-generator.vue')['default'] + TemperatureConverter: typeof import('./src/tools/temperature-converter/temperature-converter.vue')['default'] + TextareaCopyable: typeof import('./src/components/TextareaCopyable.vue')['default'] + TextDiff: typeof import('./src/tools/text-diff/text-diff.vue')['default'] + TextStatistics: typeof import('./src/tools/text-statistics/text-statistics.vue')['default'] + TextToBinary: typeof import('./src/tools/text-to-binary/text-to-binary.vue')['default'] + TextToNatoAlphabet: typeof import('./src/tools/text-to-nato-alphabet/text-to-nato-alphabet.vue')['default'] + TokenDisplay: typeof import('./src/tools/otp-code-generator-and-validator/token-display.vue')['default'] + 'TokenGenerator.tool': typeof import('./src/tools/token-generator/token-generator.tool.vue')['default'] + TomlToJson: typeof import('./src/tools/toml-to-json/toml-to-json.vue')['default'] + TomlToYaml: typeof import('./src/tools/toml-to-yaml/toml-to-yaml.vue')['default'] + 'Tool.layout': typeof import('./src/layouts/tool.layout.vue')['default'] + ToolCard: typeof import('./src/components/ToolCard.vue')['default'] + UlidGenerator: typeof import('./src/tools/ulid-generator/ulid-generator.vue')['default'] + UrlEncoder: typeof import('./src/tools/url-encoder/url-encoder.vue')['default'] + UrlParser: typeof import('./src/tools/url-parser/url-parser.vue')['default'] + UserAgentParser: typeof import('./src/tools/user-agent-parser/user-agent-parser.vue')['default'] + UserAgentResultCards: typeof import('./src/tools/user-agent-parser/user-agent-result-cards.vue')['default'] + UuidGenerator: typeof import('./src/tools/uuid-generator/uuid-generator.vue')['default'] + WifiQrCodeGenerator: typeof import('./src/tools/wifi-qr-code-generator/wifi-qr-code-generator.vue')['default'] + XmlFormatter: typeof import('./src/tools/xml-formatter/xml-formatter.vue')['default'] + YamlToJson: typeof import('./src/tools/yaml-to-json-converter/yaml-to-json.vue')['default'] + YamlToToml: typeof import('./src/tools/yaml-to-toml/yaml-to-toml.vue')['default'] + } +} diff --git a/zh-CN/env.d.ts b/zh-CN/env.d.ts new file mode 100644 index 00000000..18bdc8fe --- /dev/null +++ b/zh-CN/env.d.ts @@ -0,0 +1,14 @@ +/// +/// + +interface ImportMetaEnv { + VITE_PLAUSIBLE_API_HOST: string; + VITE_PLAUSIBLE_DOMAIN: string; + PACKAGE_VERSION: string; + GIT_SHORT_SHA: string; + PROD: boolean; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +} diff --git a/zh-CN/index.html b/zh-CN/index.html new file mode 100644 index 00000000..3dbc2021 --- /dev/null +++ b/zh-CN/index.html @@ -0,0 +1,52 @@ + + + + + + + IT-Tools - 为开发人员提供的便捷在线工具 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/zh-CN/locales/en.yml b/zh-CN/locales/en.yml new file mode 100644 index 00000000..ef5c4beb --- /dev/null +++ b/zh-CN/locales/en.yml @@ -0,0 +1,71 @@ +home: + categories: + newestTools: Newest tools + favoriteTools: 'Your favorite tools' + allTools: 'All the tools' + subtitle: 'Handy tools for developers' + toggleMenu: 'Toggle menu' + home: Home + uiLib: 'UI Lib' + support: 'Support IT Tools development' + buyMeACoffee: 'Buy me a coffee' + follow: + title: 'You like it-tools?' + p1: 'Give us a star on' + githubRepository: 'IT-Tools GitHub repository' + p2: 'or follow us on' + twitterAccount: 'IT-Tools Twitter account' + thankYou: 'Thank you !' + nav: + github: 'GitHub repository' + githubRepository: 'IT-Tools GitHub repository' + twitter: 'Twitter account' + twitterAccount: 'IT Tools Twitter account' + about: 'About IT-Tools' + aboutLabel: 'About' + darkMode: 'Dark mode' + lightMode: 'Light mode' + mode: 'Toggle dark/light mode' +about: + content: > + # About IT-Tools + + This wonderful website, made with ❤ by [Corentin Thomasset](https://github.com/CorentinTh) , aggregates useful tools for developer and people working in IT. If you find it useful, please feel free to share it to people you think may find it useful too and don't forget to bookmark it in your shortcut bar! + + IT Tools is open-source (under the MIT license) and free, and will always be, but it costs me money to host and renew the domain name. If you want to support my work, and encourage me to add more tools, please consider supporting by [sponsoring me](https://www.buymeacoffee.com/cthmsst). + + ## Technologies + + IT Tools is made in Vue.js (Vue 3) with the the Naive UI component library and is hosted and continuously deployed by Vercel. Third-party open-source libraries are used in some tools, you may find the complete list in the [package.json](https://github.com/CorentinTh/it-tools/blob/main/package.json) file of the repository. + + ## Found a bug? A tool is missing? + + If you need a tool that is currently not present here, and you think can be useful, you are welcome to submit a feature request in the [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) in the GitHub repository. + + And if you found a bug, or something doesn't work as expected, please file a bug report in the [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) in the GitHub repository. + +404: + notFound: '404 Not Found' + sorry: 'Sorry, this page does not seem to exist' + maybe: 'Maybe the cache is doing tricky things, try force-refreshing?' + backHome: 'Back home' +favoriteButton: + remove: 'Remove from favorites' + add: 'Add to favorites' +toolCard: + new: New +search: + label: Search +tools: + categories: + favorite-tools: 'Your favorite tools' + crypto: Crypto + converter: Converter + web: Web + images and videos: 'Images & Videos' + development: Development + network: Network + math: Math + measurement: Measurement + text: Text + data: Data diff --git a/zh-CN/locales/fr.yml b/zh-CN/locales/fr.yml new file mode 100644 index 00000000..ff128461 --- /dev/null +++ b/zh-CN/locales/fr.yml @@ -0,0 +1,65 @@ +home: + categories: + newestTools: 'Les nouveaux outils' + favoriteTools: 'Vos outils favoris' + allTools: 'Tous les outils' + subtitle: 'Outils pour les développeurs' + toggleMenu: 'Menu' + home: Accueil + uiLib: 'UI Lib' + buyMeACoffee: 'Soutenez IT-Tools' + follow: + title: 'Vous aimez it-tools ?' + p1: 'Soutenez-nous avec une star sur' + githubRepository: "le dépôt GitHub d'IT-Tools" + p2: 'ou suivez-nous sur' + twitterAccount: "le compte Twitter d'IT-Tools" + thankYou: 'Merci !' + nav: + github: 'Dépôt GitHub' + githubRepository: "Dépôt GitHub d'IT-Tools" + twitter: 'Compte Twitter' + twitterAccount: "Compte Twitter d'IT-Tools" + about: "À propos d'IT-Tools" + aboutLabel: 'À propos' + darkMode: 'Mode sombre' + lightMode: 'Mode clair' + mode: 'Basculer le mode sombre/clair' +about: + content: > + # À propos de IT-Tools + + Ce merveilleux site, fait avec ❤ par [Corentin Thomasset](https://github.com/CorentinTh), regroupe des outils utiles pour les développeurs et les personnes travaillant dans l'informatique. Si vous le trouvez utile, n'hésitez pas à le partager et n'oubliez pas de le mettre dans vos favoris ! + + IT Tools est open-source (sous licence MIT) et gratuit, et le restera toujours, mais cela me coûte de l'argent pour l'héberger et renouveler le nom de domaine. Si vous voulez soutenir mon travail, et m'encourager à ajouter plus d'outils, n'hésitez pas à me [soutenir](https://www.buymeacoffee.com/cthmsst). + + ## Technologies + + IT Tools est fait en Vue.js (Vue 3) avec la bibliothèque de composants Naive UI et est hébergé et déployé en continu par Vercel. Des bibliothèques open-source tierces sont utilisées dans certains outils, vous pouvez trouver la liste complète dans le fichier [package.json](https://github.com/CorentinTh/it-tools/blob/main/package.json) du dépôt. + + ## Vous avez trouvé un bug ? Un outil manque ? + + Si vous avez besoin d'un outil qui n'est pas encore présent ici, et que vous pensez qu'il peut être utile, vous êtes invité à soumettre une demande de fonctionnalité dans la [section issue](https://github.com/CorentinTh/it-tools/issues/new/choose) du dépôt GitHub. + +404: + notFound: '404 Not Found' + sorry: "Désolé, cette page n'existe pas" + maybe: 'Peut-être que le cache fait des siennes, essayez de forcer le rafraîchissement ?' + backHome: "Retour à l'accueil" +toolCard: + new: Nouveau +search: + label: Rechercher +tools: + categories: + favorite-tools: 'Vos outils favoris' + crypto: Cryptographie + converter: Convertisseur + web: Web + images and videos: 'Images & Vidéos' + development: Développement + network: Réseau + math: Math + measurement: Mesure + text: Texte + data: Données diff --git a/zh-CN/locales/zh.yml b/zh-CN/locales/zh.yml new file mode 100644 index 00000000..2f4cfd6c --- /dev/null +++ b/zh-CN/locales/zh.yml @@ -0,0 +1,105 @@ +home: + categories: + newestTools: '最新工具' + favoriteTools: '我的收藏' + allTools: '全部工具' + subtitle: '助力开发人员和 IT 工作者' + toggleMenu: '切换菜单' + home: '主页' + uiLib: 'UI 库' + support: '支持 IT-Tools 开发' + buyMeACoffee: '赞助' + follow: + title: '关注我们' + p1: '给我们 Star' + githubRepository: 'GitHub 仓库' + p2: '关注我们的' + twitterAccount: 'Twitter' + thankYou: '感谢您的支持!' + nav: + github: 'GitHub 仓库' + githubRepository: 'GitHub 仓库' + twitter: 'Twitter 账号' + twitterAccount: 'Twitter 账号' + about: '关于 IT-Tools' + aboutLabel: '关于' + darkMode: '深色模式' + lightMode: '浅色模式' + mode: '颜色模式' +about: + content: > + # 关于 IT-Tools + + + IT-Tools 由 [Corentin Thomasset](https://github.com/CorentinTh) 用 ❤ 开发,汇集了对开发人员和 IT 从业者有用的工具。如果对您有帮助,请将其分享给您的朋友,并且添加到收藏夹中! + + + IT-Tools 永久免费且开源(MIT 许可证),但需要资金用于托管和续订域名。如果您想支持我的工作,并鼓励我添加更多工具,请考虑通过 [赞助我](https://www.buymeacoffee.com/cthmsst) 进行支持。 + + + ## 技术栈 + + + IT-Tools 采用 Vue.js(Vue 3)和 Naive UI 组件库开发,并由 Vercel 托管和持续部署。某些工具使用了第三方开源库,您可以在仓库的 [package.json](https://github.com/angelofan/it-tools/blob/main/package.json) 文件中找到完整的列表。 + + + ## 深度适配简体中文 + + + IT-Tools 由 [angelofan](https://github.com/angelofan) 深度翻译并适配简体中文。 + + + 此版本的 IT-Tools 较原版有以下改动: + + + ***英文翻译了简体中文***:由于一些原因(组件定义、依赖包语言选项、对象简写、分布式本地化文件、维护者未将可翻译变量统一放置于本地化文件中 等)而无法将翻译集中到本地化文件中,而是直接进行了翻译。 + + + ***隐藏了部分工具***:本站隐藏了部分因 在国内使用会有歧义/基本没有使用场景/无法翻译 的工具,如需查看完整的工具集,可前往 [开源版 IT-Tools](https://it-tools.tech/)(缺少大量中文翻译)。 + + + ***替换了仓库链接***:仓库的链接全部替换成了Fork之后的仓库链接,原仓库链接可在Fork仓库中看到。 + + + ***更新了依赖包***:手动更新了一些依赖包的版本。 + + + ***还有其他***:可能还有一些变动没有具体列出,可以查看 [GitHub 差异比对](https://github.com/angelofan/it-tools/compare/main...zh)。 + + + ## 发现了 Bug?缺少工具?翻译错误? + + + 如果目前这里没有您需要的工具,并且您认为它可能有用,欢迎在 GitHub 仓库的 [issues](https://github.com/CorentinTh/it-tools/issues/new/choose) 中提交新增功能的请求。 + + + 如果您发现了 Bug,或者某些功能未能按预期工作,请在 GitHub 仓库的 [issues](https://github.com/CorentinTh/it-tools/issues/new/choose) 中提交错误报告。 + + + 如果您发现了翻译错误,或者存在未翻译的内容,请在 GitHub 仓库的 [讨论](https://github.com/angelofan/it-tools/discussions) 中查看你创建讨论。 + +404: + notFound: '404 页面不存在' + sorry: '抱歉,该页面似乎不存在' + maybe: '也许缓存出现了一些问题,试试强制刷新页面?' + backHome: '返回主页' +favoriteButton: + remove: '取消收藏' + add: '加入收藏' +toolCard: + new: '新' +search: + label: '搜索' +tools: + categories: + favorite-tools: '我的收藏' + crypto: '加密' + converter: '转换器' + web: Web + images and videos: '图片和视频' + development: '开发' + network: '网络' + math: '数学' + measurement: '测量' + text: '文本' + data: '数据' diff --git a/zh-CN/netlify.toml b/zh-CN/netlify.toml new file mode 100644 index 00000000..b87b8d3d --- /dev/null +++ b/zh-CN/netlify.toml @@ -0,0 +1,4 @@ +[[redirects]] + from = "/*" + to = "/index.html" + status = 200 diff --git a/zh-CN/nginx.conf b/zh-CN/nginx.conf new file mode 100644 index 00000000..1a30e15e --- /dev/null +++ b/zh-CN/nginx.conf @@ -0,0 +1,10 @@ +server { + listen 80; + server_name localhost; + root /usr/share/nginx/html; + index index.html; + + location / { + try_files $uri $uri/ /index.html; + } +} \ No newline at end of file diff --git a/zh-CN/package.json b/zh-CN/package.json new file mode 100644 index 00000000..42e3ad05 --- /dev/null +++ b/zh-CN/package.json @@ -0,0 +1,140 @@ +{ + "name": "it-tools", + "version": "2023.12.21-5ed3693", + "description": "Collection of handy online tools for developers, with great UX. ", + "keywords": [ + "productivity", + "converter", + "website", + "vuejs", + "tools", + "frontend", + "tool", + "developer-tools", + "developer-productivity" + ], + "author": "Corentin Th (https://github.com/CorentinTh)", + "license": "GNU GPLv3", + "repository": { + "type": "git", + "url": "https://github.com/angelofan/it-tools" + }, + "scripts": { + "dev": "vite", + "build": "vue-tsc --noEmit && vite build", + "preview": "vite preview --port 5050", + "test": "npm run test:unit", + "test:unit": "vitest --environment jsdom", + "test:e2e": "playwright test", + "test:e2e:dev": "BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test", + "coverage": "vitest run --coverage", + "typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", + "lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore", + "script:create:tool": "node scripts/create-tool.mjs", + "script:create:ui": "hygen generator ui-component", + "release": "node ./scripts/release.mjs" + }, + "dependencies": { + "@it-tools/bip39": "^0.0.4", + "@it-tools/oggen": "^1.3.0", + "@sindresorhus/slugify": "^2.2.1", + "@tiptap/pm": "2.1.6", + "@tiptap/starter-kit": "2.1.6", + "@tiptap/vue-3": "2.0.3", + "@vicons/material": "^0.12.0", + "@vicons/tabler": "^0.12.0", + "@vueuse/core": "^10.7.1", + "@vueuse/head": "^1.3.1", + "@vueuse/router": "^10.7.1", + "bcryptjs": "^2.4.3", + "change-case": "^4.1.2", + "colord": "^2.9.3", + "composerize-ts": "^0.6.2", + "country-code-lookup": "^0.1.1", + "cron-validator": "^1.3.1", + "cronstrue": "^2.47.0", + "crypto-js": "^4.2.0", + "date-fns": "^2.30.0", + "dompurify": "^3.0.6", + "emojilib": "^3.0.11", + "figue": "^1.2.0", + "fuse.js": "^6.6.2", + "highlight.js": "^11.9.0", + "iarna-toml-esm": "^3.0.5", + "ibantools": "^4.3.8", + "json5": "^2.2.3", + "jwt-decode": "^3.1.2", + "libphonenumber-js": "^1.10.53", + "lodash": "^4.17.21", + "marked": "^10.0.0", + "mathjs": "^11.12.0", + "mime-types": "^2.1.35", + "monaco-editor": "^0.44.0", + "naive-ui": "^2.36.0", + "netmask": "^2.0.2", + "node-forge": "^1.3.1", + "otpauth": "^9.2.1", + "oui-data": "^1.1.6", + "pdf-signature-reader": "^1.4.2", + "pinia": "^2.1.7", + "plausible-tracker": "^0.3.8", + "qrcode": "^1.5.3", + "sql-formatter": "^13.1.0", + "ua-parser-js": "^1.0.37", + "ulid": "^2.3.0", + "unicode-emoji-json": "^0.4.0", + "unplugin-auto-import": "^0.16.7", + "uuid": "^9.0.1", + "vue": "^3.4.3", + "vue-i18n": "^9.8.0", + "vue-router": "^4.2.5", + "vue-tsc": "^1.8.27", + "xml-formatter": "^3.6.0", + "yaml": "^2.3.4" + }, + "devDependencies": { + "@antfu/eslint-config": "^0.41.4", + "@iconify-json/mdi": "^1.1.64", + "@intlify/unplugin-vue-i18n": "^0.13.0", + "@playwright/test": "^1.40.1", + "@rushstack/eslint-patch": "^1.6.1", + "@tsconfig/node18": "^18.2.2", + "@types/bcryptjs": "^2.4.6", + "@types/crypto-js": "^4.2.1", + "@types/dompurify": "^3.0.5", + "@types/jsdom": "^21.1.6", + "@types/lodash": "^4.14.202", + "@types/mime-types": "^2.1.4", + "@types/netmask": "^2.0.5", + "@types/node": "^18.19.4", + "@types/node-forge": "^1.3.11", + "@types/qrcode": "^1.5.5", + "@types/ua-parser-js": "^0.7.39", + "@types/uuid": "^9.0.7", + "@unocss/eslint-config": "^0.57.7", + "@vitejs/plugin-vue": "^4.6.2", + "@vitejs/plugin-vue-jsx": "^3.1.0", + "@vue/compiler-sfc": "^3.4.3", + "@vue/runtime-dom": "^3.4.3", + "@vue/test-utils": "^2.4.3", + "@vue/tsconfig": "^0.4.0", + "consola": "^3.2.3", + "eslint": "^8.56.0", + "hygen": "^6.2.11", + "jsdom": "^22.1.0", + "less": "^4.2.0", + "prettier": "^3.1.1", + "typescript": "~5.2.2", + "unocss": "^0.57.7", + "unocss-preset-scrollbar": "^0.2.1", + "unplugin-icons": "^0.17.4", + "unplugin-vue-components": "^0.25.2", + "vite": "^4.5.1", + "vite-plugin-pwa": "^0.16.7", + "vite-plugin-vue-markdown": "^0.23.8", + "vite-svg-loader": "^4.0.0", + "vitest": "^0.34.6", + "workbox-window": "^7.0.0", + "zx": "^7.2.3" + } +} diff --git a/zh-CN/playwright.config.ts b/zh-CN/playwright.config.ts new file mode 100644 index 00000000..3caa0612 --- /dev/null +++ b/zh-CN/playwright.config.ts @@ -0,0 +1,65 @@ +import { defineConfig, devices } from '@playwright/test'; + +const isCI = !!process.env.CI; +const baseUrl = process.env.BASE_URL || 'http://localhost:5050'; +const useWebServer = process.env.NO_WEB_SERVER !== 'true'; + +/** + * See https://playwright.dev/docs/test-configuration. + */ +export default defineConfig({ + testDir: './src', + testMatch: /.*\.e2e\.(spec\.)?ts/, + /* Run tests in files in parallel */ + fullyParallel: true, + /* Fail the build on CI if you accidentally left test.only in the source code. */ + forbidOnly: isCI, + /* Retry on CI only */ + retries: isCI ? 2 : 0, + /* Opt out of parallel tests on CI. */ + workers: isCI ? 1 : undefined, + /* Reporter to use. See https://playwright.dev/docs/test-reporters */ + reporter: 'html', + /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ + use: { + /* Base URL to use in actions like `await page.goto('/')`. */ + baseURL: baseUrl, + + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: 'on-first-retry', + + testIdAttribute: 'data-test-id', + locale: 'en-GB', + timezoneId: 'Europe/Paris', + }, + + /* Configure projects for major browsers */ + projects: [ + { + name: 'chromium', + use: { ...devices['Desktop Chrome'] }, + }, + + { + name: 'firefox', + use: { ...devices['Desktop Firefox'] }, + }, + + { + name: 'webkit', + use: { ...devices['Desktop Safari'] }, + }, + ], + + /* Run your local dev server before starting the tests */ + + ...(useWebServer + && { + webServer: { + command: 'npm run preview', + url: 'http://127.0.0.1:5050', + reuseExistingServer: !isCI, + }, + } + ), +}); diff --git a/zh-CN/pnpm-lock.yaml b/zh-CN/pnpm-lock.yaml new file mode 100644 index 00000000..916a10de --- /dev/null +++ b/zh-CN/pnpm-lock.yaml @@ -0,0 +1,9191 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +dependencies: + '@it-tools/bip39': + specifier: ^0.0.4 + version: 0.0.4 + '@it-tools/oggen': + specifier: ^1.3.0 + version: 1.3.0 + '@sindresorhus/slugify': + specifier: ^2.2.1 + version: 2.2.1 + '@tiptap/pm': + specifier: 2.1.6 + version: 2.1.6 + '@tiptap/starter-kit': + specifier: 2.1.6 + version: 2.1.6(@tiptap/pm@2.1.6) + '@tiptap/vue-3': + specifier: 2.0.3 + version: 2.0.3(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6)(vue@3.4.3) + '@vicons/material': + specifier: ^0.12.0 + version: 0.12.0 + '@vicons/tabler': + specifier: ^0.12.0 + version: 0.12.0 + '@vueuse/core': + specifier: ^10.7.1 + version: 10.7.1(vue@3.4.3) + '@vueuse/head': + specifier: ^1.3.1 + version: 1.3.1(vue@3.4.3) + '@vueuse/router': + specifier: ^10.7.1 + version: 10.7.1(vue-router@4.2.5)(vue@3.4.3) + bcryptjs: + specifier: ^2.4.3 + version: 2.4.3 + change-case: + specifier: ^4.1.2 + version: 4.1.2 + colord: + specifier: ^2.9.3 + version: 2.9.3 + composerize-ts: + specifier: ^0.6.2 + version: 0.6.2 + country-code-lookup: + specifier: ^0.1.1 + version: 0.1.1 + cron-validator: + specifier: ^1.3.1 + version: 1.3.1 + cronstrue: + specifier: ^2.47.0 + version: 2.47.0 + crypto-js: + specifier: ^4.2.0 + version: 4.2.0 + date-fns: + specifier: ^2.30.0 + version: 2.30.0 + dompurify: + specifier: ^3.0.6 + version: 3.0.6 + emojilib: + specifier: ^3.0.11 + version: 3.0.11 + figue: + specifier: ^1.2.0 + version: 1.2.0 + fuse.js: + specifier: ^6.6.2 + version: 6.6.2 + highlight.js: + specifier: ^11.9.0 + version: 11.9.0 + iarna-toml-esm: + specifier: ^3.0.5 + version: 3.0.5 + ibantools: + specifier: ^4.3.8 + version: 4.3.8 + json5: + specifier: ^2.2.3 + version: 2.2.3 + jwt-decode: + specifier: ^3.1.2 + version: 3.1.2 + libphonenumber-js: + specifier: ^1.10.53 + version: 1.10.53 + lodash: + specifier: ^4.17.21 + version: 4.17.21 + marked: + specifier: ^10.0.0 + version: 10.0.0 + mathjs: + specifier: ^11.12.0 + version: 11.12.0 + mime-types: + specifier: ^2.1.35 + version: 2.1.35 + monaco-editor: + specifier: ^0.44.0 + version: 0.44.0 + naive-ui: + specifier: ^2.36.0 + version: 2.36.0(vue@3.4.3) + netmask: + specifier: ^2.0.2 + version: 2.0.2 + node-forge: + specifier: ^1.3.1 + version: 1.3.1 + otpauth: + specifier: ^9.2.1 + version: 9.2.1 + oui-data: + specifier: ^1.1.6 + version: 1.1.6 + pdf-signature-reader: + specifier: ^1.4.2 + version: 1.4.2 + pinia: + specifier: ^2.1.7 + version: 2.1.7(typescript@5.2.2)(vue@3.4.3) + plausible-tracker: + specifier: ^0.3.8 + version: 0.3.8 + qrcode: + specifier: ^1.5.3 + version: 1.5.3 + sql-formatter: + specifier: ^13.1.0 + version: 13.1.0 + ua-parser-js: + specifier: ^1.0.37 + version: 1.0.37 + ulid: + specifier: ^2.3.0 + version: 2.3.0 + unicode-emoji-json: + specifier: ^0.4.0 + version: 0.4.0 + unplugin-auto-import: + specifier: ^0.16.7 + version: 0.16.7(@vueuse/core@10.7.1)(rollup@2.79.1) + uuid: + specifier: ^9.0.1 + version: 9.0.1 + vue: + specifier: ^3.4.3 + version: 3.4.3(typescript@5.2.2) + vue-i18n: + specifier: ^9.8.0 + version: 9.8.0(vue@3.4.3) + vue-router: + specifier: ^4.2.5 + version: 4.2.5(vue@3.4.3) + vue-tsc: + specifier: ^1.8.27 + version: 1.8.27(typescript@5.2.2) + xml-formatter: + specifier: ^3.6.0 + version: 3.6.0 + yaml: + specifier: ^2.3.4 + version: 2.3.4 + +devDependencies: + '@antfu/eslint-config': + specifier: ^0.41.4 + version: 0.41.4(eslint@8.56.0)(typescript@5.2.2) + '@iconify-json/mdi': + specifier: ^1.1.64 + version: 1.1.64 + '@intlify/unplugin-vue-i18n': + specifier: ^0.13.0 + version: 0.13.0(rollup@2.79.1)(vue-i18n@9.8.0) + '@playwright/test': + specifier: ^1.40.1 + version: 1.40.1 + '@rushstack/eslint-patch': + specifier: ^1.6.1 + version: 1.6.1 + '@tsconfig/node18': + specifier: ^18.2.2 + version: 18.2.2 + '@types/bcryptjs': + specifier: ^2.4.6 + version: 2.4.6 + '@types/crypto-js': + specifier: ^4.2.1 + version: 4.2.1 + '@types/dompurify': + specifier: ^3.0.5 + version: 3.0.5 + '@types/jsdom': + specifier: ^21.1.6 + version: 21.1.6 + '@types/lodash': + specifier: ^4.14.202 + version: 4.14.202 + '@types/mime-types': + specifier: ^2.1.4 + version: 2.1.4 + '@types/netmask': + specifier: ^2.0.5 + version: 2.0.5 + '@types/node': + specifier: ^18.19.4 + version: 18.19.4 + '@types/node-forge': + specifier: ^1.3.11 + version: 1.3.11 + '@types/qrcode': + specifier: ^1.5.5 + version: 1.5.5 + '@types/ua-parser-js': + specifier: ^0.7.39 + version: 0.7.39 + '@types/uuid': + specifier: ^9.0.7 + version: 9.0.7 + '@unocss/eslint-config': + specifier: ^0.57.7 + version: 0.57.7(eslint@8.56.0)(typescript@5.2.2) + '@vitejs/plugin-vue': + specifier: ^4.6.2 + version: 4.6.2(vite@4.5.1)(vue@3.4.3) + '@vitejs/plugin-vue-jsx': + specifier: ^3.1.0 + version: 3.1.0(vite@4.5.1)(vue@3.4.3) + '@vue/compiler-sfc': + specifier: ^3.4.3 + version: 3.4.3 + '@vue/runtime-dom': + specifier: ^3.4.3 + version: 3.4.3 + '@vue/test-utils': + specifier: ^2.4.3 + version: 2.4.3(vue@3.4.3) + '@vue/tsconfig': + specifier: ^0.4.0 + version: 0.4.0 + consola: + specifier: ^3.2.3 + version: 3.2.3 + eslint: + specifier: ^8.56.0 + version: 8.56.0 + hygen: + specifier: ^6.2.11 + version: 6.2.11 + jsdom: + specifier: ^22.1.0 + version: 22.1.0 + less: + specifier: ^4.2.0 + version: 4.2.0 + prettier: + specifier: ^3.1.1 + version: 3.1.1 + typescript: + specifier: ~5.2.2 + version: 5.2.2 + unocss: + specifier: ^0.57.7 + version: 0.57.7(postcss@8.4.32)(rollup@2.79.1)(vite@4.5.1) + unocss-preset-scrollbar: + specifier: ^0.2.1 + version: 0.2.1(unocss@0.57.7) + unplugin-icons: + specifier: ^0.17.4 + version: 0.17.4(@vue/compiler-sfc@3.4.3) + unplugin-vue-components: + specifier: ^0.25.2 + version: 0.25.2(rollup@2.79.1)(vue@3.4.3) + vite: + specifier: ^4.5.1 + version: 4.5.1(@types/node@18.19.4)(less@4.2.0) + vite-plugin-pwa: + specifier: ^0.16.7 + version: 0.16.7(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0) + vite-plugin-vue-markdown: + specifier: ^0.23.8 + version: 0.23.8(rollup@2.79.1)(vite@4.5.1) + vite-svg-loader: + specifier: ^4.0.0 + version: 4.0.0 + vitest: + specifier: ^0.34.6 + version: 0.34.6(jsdom@22.1.0)(less@4.2.0) + workbox-window: + specifier: ^7.0.0 + version: 7.0.0 + zx: + specifier: ^7.2.3 + version: 7.2.3 + +packages: + + /@aashutoshrathi/word-wrap@1.2.6: + resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==} + engines: {node: '>=0.10.0'} + dev: true + + /@ampproject/remapping@2.2.1: + resolution: {integrity: sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.20 + dev: true + + /@antfu/eslint-config-basic@0.41.4(@typescript-eslint/eslint-plugin@6.17.0)(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-bdBC8tyJzTa4a883m50efVLRjiVX8lMAhvmFxvpue6ScBnPLqW+J3sJupolefp/Xc00VU8ThD3iOBCE8Ja9qfg==} + peerDependencies: + eslint: '>=7.4.0' + dependencies: + eslint: 8.56.0 + eslint-plugin-antfu: 0.41.4(eslint@8.56.0)(typescript@5.2.2) + eslint-plugin-eslint-comments: 3.2.0(eslint@8.56.0) + eslint-plugin-html: 7.1.0 + eslint-plugin-import: /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0) + eslint-plugin-jsdoc: 46.10.1(eslint@8.56.0) + eslint-plugin-jsonc: 2.11.2(eslint@8.56.0) + eslint-plugin-markdown: 3.0.1(eslint@8.56.0) + eslint-plugin-n: 16.6.1(eslint@8.56.0) + eslint-plugin-no-only-tests: 3.1.0 + eslint-plugin-promise: 6.1.1(eslint@8.56.0) + eslint-plugin-unicorn: 48.0.1(eslint@8.56.0) + eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.17.0)(eslint@8.56.0) + eslint-plugin-yml: 1.11.0(eslint@8.56.0) + jsonc-eslint-parser: 2.4.0 + yaml-eslint-parser: 1.2.2 + transitivePeerDependencies: + - '@typescript-eslint/eslint-plugin' + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + - typescript + dev: true + + /@antfu/eslint-config-ts@0.41.4(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-YikIdwZwFPKEAL08GELjC0tzSaEKceINg8R4cwpvVlkXIaut9Tiyhgw69OBlfWdf3oMhpJ4ksy2WFfWh2qmjaw==} + peerDependencies: + eslint: '>=7.4.0' + typescript: '>=3.9' + dependencies: + '@antfu/eslint-config-basic': 0.41.4(@typescript-eslint/eslint-plugin@6.17.0)(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + eslint: 8.56.0 + eslint-plugin-jest: 27.6.1(@typescript-eslint/eslint-plugin@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + dev: true + + /@antfu/eslint-config-vue@0.41.4(@typescript-eslint/eslint-plugin@6.17.0)(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-tOZ4ria8wahZ4bn5Sglarcw+IPVn+QXNincjzB0tmwBzQP2XTM8fXYlvqO1VBA1/Jgr2BVGgZVXBHy1StDBTnA==} + peerDependencies: + eslint: '>=7.4.0' + dependencies: + '@antfu/eslint-config-basic': 0.41.4(@typescript-eslint/eslint-plugin@6.17.0)(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@antfu/eslint-config-ts': 0.41.4(eslint@8.56.0)(typescript@5.2.2) + eslint: 8.56.0 + eslint-plugin-vue: 9.19.2(eslint@8.56.0) + local-pkg: 0.4.3 + transitivePeerDependencies: + - '@typescript-eslint/eslint-plugin' + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + - typescript + dev: true + + /@antfu/eslint-config@0.41.4(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-1bPnXjrv3DqF4FsRgorJvCjGM5oB1fOYeAXAER/TLS7WXO1oD/9s/G39mBy9K7HxLLyFuLuZAw0h/Uz0GR1k9w==} + peerDependencies: + eslint: '>=7.4.0' + dependencies: + '@antfu/eslint-config-vue': 0.41.4(@typescript-eslint/eslint-plugin@6.17.0)(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + eslint: 8.56.0 + eslint-plugin-eslint-comments: 3.2.0(eslint@8.56.0) + eslint-plugin-html: 7.1.0 + eslint-plugin-import: /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0) + eslint-plugin-jsonc: 2.11.2(eslint@8.56.0) + eslint-plugin-n: 16.6.1(eslint@8.56.0) + eslint-plugin-promise: 6.1.1(eslint@8.56.0) + eslint-plugin-unicorn: 48.0.1(eslint@8.56.0) + eslint-plugin-vue: 9.19.2(eslint@8.56.0) + eslint-plugin-yml: 1.11.0(eslint@8.56.0) + jsonc-eslint-parser: 2.4.0 + yaml-eslint-parser: 1.2.2 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - jest + - supports-color + - typescript + dev: true + + /@antfu/install-pkg@0.1.1: + resolution: {integrity: sha512-LyB/8+bSfa0DFGC06zpCEfs89/XoWZwws5ygEa5D+Xsm3OfI+aXQ86VgVG7Acyef+rSZ5HE7J8rrxzrQeM3PjQ==} + dependencies: + execa: 5.1.1 + find-up: 5.0.0 + dev: true + + /@antfu/utils@0.7.7: + resolution: {integrity: sha512-gFPqTG7otEJ8uP6wrhDv6mqwGWYZKNvAcCq6u9hOj0c+IKCEsY4L1oC9trPq2SaWIzAfHvqfBDxF591JkMf+kg==} + + /@apideck/better-ajv-errors@0.3.6(ajv@8.12.0): + resolution: {integrity: sha512-P+ZygBLZtkp0qqOAJJVX4oX/sFo5JR3eBWwwuqHHhK0GIgQOKWrAfiAaWX0aArHkRWHMuggFEgAZNxVPwPZYaA==} + engines: {node: '>=10'} + peerDependencies: + ajv: '>=8' + dependencies: + ajv: 8.12.0 + json-schema: 0.4.0 + jsonpointer: 5.0.1 + leven: 3.1.0 + dev: true + + /@babel/code-frame@7.23.5: + resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.23.4 + chalk: 2.4.2 + dev: true + + /@babel/compat-data@7.23.5: + resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/core@7.23.7: + resolution: {integrity: sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==} + engines: {node: '>=6.9.0'} + dependencies: + '@ampproject/remapping': 2.2.1 + '@babel/code-frame': 7.23.5 + '@babel/generator': 7.23.6 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helpers': 7.23.7 + '@babel/parser': 7.23.6 + '@babel/template': 7.22.15 + '@babel/traverse': 7.23.7 + '@babel/types': 7.23.6 + convert-source-map: 2.0.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/generator@7.23.6: + resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.20 + jsesc: 2.5.2 + dev: true + + /@babel/helper-annotate-as-pure@7.22.5: + resolution: {integrity: sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-builder-binary-assignment-operator-visitor@7.22.15: + resolution: {integrity: sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-compilation-targets@7.23.6: + resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/compat-data': 7.23.5 + '@babel/helper-validator-option': 7.23.5 + browserslist: 4.22.2 + lru-cache: 5.1.1 + semver: 6.3.1 + dev: true + + /@babel/helper-create-class-features-plugin@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-member-expression-to-functions': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + semver: 6.3.1 + dev: true + + /@babel/helper-create-regexp-features-plugin@7.22.15(@babel/core@7.23.7): + resolution: {integrity: sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + regexpu-core: 5.3.2 + semver: 6.3.1 + dev: true + + /@babel/helper-define-polyfill-provider@0.4.4(@babel/core@7.23.7): + resolution: {integrity: sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-plugin-utils': 7.22.5 + debug: 4.3.4 + lodash.debounce: 4.0.8 + resolve: 1.22.8 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/helper-environment-visitor@7.22.20: + resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-function-name@7.23.0: + resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.22.15 + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-hoist-variables@7.22.5: + resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-member-expression-to-functions@7.23.0: + resolution: {integrity: sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-module-imports@7.22.15: + resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-module-transforms@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-simple-access': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/helper-validator-identifier': 7.22.20 + dev: true + + /@babel/helper-optimise-call-expression@7.22.5: + resolution: {integrity: sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-plugin-utils@7.22.5: + resolution: {integrity: sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-remap-async-to-generator@7.22.20(@babel/core@7.23.7): + resolution: {integrity: sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-wrap-function': 7.22.20 + dev: true + + /@babel/helper-replace-supers@7.22.20(@babel/core@7.23.7): + resolution: {integrity: sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-member-expression-to-functions': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + dev: true + + /@babel/helper-simple-access@7.22.5: + resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-skip-transparent-expression-wrappers@7.22.5: + resolution: {integrity: sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-split-export-declaration@7.22.6: + resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.23.6 + dev: true + + /@babel/helper-string-parser@7.23.4: + resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-identifier@7.22.20: + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-option@7.23.5: + resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-wrap-function@7.22.20: + resolution: {integrity: sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-function-name': 7.23.0 + '@babel/template': 7.22.15 + '@babel/types': 7.23.6 + dev: true + + /@babel/helpers@7.23.7: + resolution: {integrity: sha512-6AMnjCoC8wjqBzDHkuqpa7jAKwvMo4dC+lr/TFBz+ucfulO1XMpDnwWPGBNwClOKZ8h6xn5N81W/R5OrcKtCbQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.22.15 + '@babel/traverse': 7.23.7 + '@babel/types': 7.23.6 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/highlight@7.23.4: + resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.22.20 + chalk: 2.4.2 + js-tokens: 4.0.0 + dev: true + + /@babel/parser@7.23.6: + resolution: {integrity: sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.23.6 + + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.13.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) + dev: true + + /@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7): + resolution: {integrity: sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + dev: true + + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.23.7): + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.23.7): + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-class-static-block@7.14.5(@babel/core@7.23.7): + resolution: {integrity: sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-dynamic-import@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-export-namespace-from@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-import-assertions@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-import-attributes@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.23.7): + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.23.7): + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.23.7): + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.23.7): + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-private-property-in-object@7.14.5(@babel/core@7.23.7): + resolution: {integrity: sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.23.7): + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-syntax-unicode-sets-regex@7.18.6(@babel/core@7.23.7): + resolution: {integrity: sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-arrow-functions@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-async-generator-functions@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-async-to-generator@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-remap-async-to-generator': 7.22.20(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-block-scoped-functions@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-block-scoping@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-class-properties@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-class-static-block@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.12.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-classes@7.23.5(@babel/core@7.23.7): + resolution: {integrity: sha512-jvOTR4nicqYC9yzOHIhXG5emiFEOpappSJAl73SDSEDcybD+Puuze8Tnpb9p9qEyYup24tq891gkaygIFvWDqg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-optimise-call-expression': 7.22.5 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + '@babel/helper-split-export-declaration': 7.22.6 + globals: 11.12.0 + dev: true + + /@babel/plugin-transform-computed-properties@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/template': 7.22.15 + dev: true + + /@babel/plugin-transform-destructuring@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-dotall-regex@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-duplicate-keys@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-dynamic-import@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-exponentiation-operator@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-builder-binary-assignment-operator-visitor': 7.22.15 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-export-namespace-from@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-for-of@7.23.6(@babel/core@7.23.7): + resolution: {integrity: sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + dev: true + + /@babel/plugin-transform-function-name@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-json-strings@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-literals@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-logical-assignment-operators@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-member-expression-literals@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-modules-amd@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-modules-commonjs@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-simple-access': 7.22.5 + dev: true + + /@babel/plugin-transform-modules-systemjs@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 + dev: true + + /@babel/plugin-transform-modules-umd@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-named-capturing-groups-regex@7.22.5(@babel/core@7.23.7): + resolution: {integrity: sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-new-target@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-nullish-coalescing-operator@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-numeric-separator@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-object-rest-spread@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.23.5 + '@babel/core': 7.23.7 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-object-super@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-replace-supers': 7.22.20(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-optional-catch-binding@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-optional-chaining@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-parameters@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-private-methods@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-private-property-in-object@7.23.4(@babel/core@7.23.7): + resolution: {integrity: sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-property-literals@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-regenerator@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + regenerator-transform: 0.15.2 + dev: true + + /@babel/plugin-transform-reserved-words@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-shorthand-properties@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-spread@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-skip-transparent-expression-wrappers': 7.22.5 + dev: true + + /@babel/plugin-transform-sticky-regex@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-template-literals@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-typeof-symbol@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-typescript@7.23.6(@babel/core@7.23.7): + resolution: {integrity: sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-annotate-as-pure': 7.22.5 + '@babel/helper-create-class-features-plugin': 7.23.7(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.23.7) + dev: true + + /@babel/plugin-transform-unicode-escapes@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-unicode-property-regex@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-unicode-regex@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/plugin-transform-unicode-sets-regex@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-create-regexp-features-plugin': 7.22.15(@babel/core@7.23.7) + '@babel/helper-plugin-utils': 7.22.5 + dev: true + + /@babel/preset-env@7.23.7(@babel/core@7.23.7): + resolution: {integrity: sha512-SY27X/GtTz/L4UryMNJ6p4fH4nsgWbz84y9FE0bQeWJP6O5BhgVCt53CotQKHCOeXJel8VyhlhujhlltKms/CA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/compat-data': 7.23.5 + '@babel/core': 7.23.7 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.23.5 + '@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly': 7.23.7(@babel/core@7.23.7) + '@babel/plugin-proposal-private-property-in-object': 7.21.0-placeholder-for-preset-env.2(@babel/core@7.23.7) + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.23.7) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.23.7) + '@babel/plugin-syntax-class-static-block': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-dynamic-import': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-export-namespace-from': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-assertions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-attributes': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.23.7) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.23.7) + '@babel/plugin-syntax-private-property-in-object': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.23.7) + '@babel/plugin-syntax-unicode-sets-regex': 7.18.6(@babel/core@7.23.7) + '@babel/plugin-transform-arrow-functions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-async-generator-functions': 7.23.7(@babel/core@7.23.7) + '@babel/plugin-transform-async-to-generator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-block-scoped-functions': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-block-scoping': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-class-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-class-static-block': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-classes': 7.23.5(@babel/core@7.23.7) + '@babel/plugin-transform-computed-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-destructuring': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-dotall-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-duplicate-keys': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-dynamic-import': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-exponentiation-operator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-export-namespace-from': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-for-of': 7.23.6(@babel/core@7.23.7) + '@babel/plugin-transform-function-name': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-json-strings': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-logical-assignment-operators': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-member-expression-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-amd': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-systemjs': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-umd': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-named-capturing-groups-regex': 7.22.5(@babel/core@7.23.7) + '@babel/plugin-transform-new-target': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-nullish-coalescing-operator': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-numeric-separator': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-object-rest-spread': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-object-super': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-optional-catch-binding': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-optional-chaining': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-parameters': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-private-methods': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-private-property-in-object': 7.23.4(@babel/core@7.23.7) + '@babel/plugin-transform-property-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-regenerator': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-reserved-words': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-shorthand-properties': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-spread': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-sticky-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-template-literals': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-typeof-symbol': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-escapes': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-property-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-regex': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-unicode-sets-regex': 7.23.3(@babel/core@7.23.7) + '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.23.7) + babel-plugin-polyfill-corejs2: 0.4.7(@babel/core@7.23.7) + babel-plugin-polyfill-corejs3: 0.8.7(@babel/core@7.23.7) + babel-plugin-polyfill-regenerator: 0.5.4(@babel/core@7.23.7) + core-js-compat: 3.35.0 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/preset-modules@0.1.6-no-external-plugins(@babel/core@7.23.7): + resolution: {integrity: sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA==} + peerDependencies: + '@babel/core': ^7.0.0-0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/types': 7.23.6 + esutils: 2.0.3 + dev: true + + /@babel/preset-typescript@7.23.3(@babel/core@7.23.7): + resolution: {integrity: sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-plugin-utils': 7.22.5 + '@babel/helper-validator-option': 7.23.5 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-modules-commonjs': 7.23.3(@babel/core@7.23.7) + '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.7) + dev: true + + /@babel/regjsgen@0.8.0: + resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} + dev: true + + /@babel/runtime@7.23.7: + resolution: {integrity: sha512-w06OXVOFso7LcbzMiDGt+3X7Rh7Ho8MmgPoWU3rarH+8upf+wSU/grlGbWzQyr3DkdN6ZeuMFjpdwW0Q+HxobA==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.1 + + /@babel/template@7.22.15: + resolution: {integrity: sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/parser': 7.23.6 + '@babel/types': 7.23.6 + dev: true + + /@babel/traverse@7.23.7: + resolution: {integrity: sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/generator': 7.23.6 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/parser': 7.23.6 + '@babel/types': 7.23.6 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/types@7.23.6: + resolution: {integrity: sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.23.4 + '@babel/helper-validator-identifier': 7.22.20 + to-fast-properties: 2.0.0 + + /@css-render/plugin-bem@0.15.12(css-render@0.15.12): + resolution: {integrity: sha512-Lq2jSOZn+wYQtsyaFj6QRz2EzAnd3iW5fZeHO1WSXQdVYwvwGX0ZiH3X2JQgtgYLT1yeGtrwrqJdNdMEUD2xTw==} + peerDependencies: + css-render: ~0.15.12 + dependencies: + css-render: 0.15.12 + dev: false + + /@css-render/vue3-ssr@0.15.12(vue@3.4.3): + resolution: {integrity: sha512-AQLGhhaE0F+rwybRCkKUdzBdTEM/5PZBYy+fSYe1T9z9+yxMuV/k7ZRqa4M69X+EI1W8pa4kc9Iq2VjQkZx4rg==} + peerDependencies: + vue: ^3.0.11 + dependencies: + vue: 3.4.3(typescript@5.2.2) + dev: false + + /@emotion/hash@0.8.0: + resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} + dev: false + + /@es-joy/jsdoccomment@0.41.0: + resolution: {integrity: sha512-aKUhyn1QI5Ksbqcr3fFJj16p99QdjUxXAEuFst1Z47DRyoiMwivIH9MV/ARcJOCXVjPfjITciej8ZD2O/6qUmw==} + engines: {node: '>=16'} + dependencies: + comment-parser: 1.4.1 + esquery: 1.5.0 + jsdoc-type-pratt-parser: 4.0.0 + dev: true + + /@esbuild/android-arm64@0.18.20: + resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.18.20: + resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.18.20: + resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.18.20: + resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.18.20: + resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.18.20: + resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.18.20: + resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.18.20: + resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.18.20: + resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.18.20: + resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.18.20: + resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.18.20: + resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.18.20: + resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.18.20: + resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.18.20: + resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.18.20: + resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.18.20: + resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.18.20: + resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.18.20: + resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.18.20: + resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.18.20: + resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.18.20: + resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@eslint-community/eslint-utils@4.4.0(eslint@8.56.0): + resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 8.56.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@eslint-community/regexpp@4.10.0: + resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: true + + /@eslint/eslintrc@2.1.4: + resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + ajv: 6.12.6 + debug: 4.3.4 + espree: 9.6.1 + globals: 13.24.0 + ignore: 5.3.0 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@eslint/js@8.56.0: + resolution: {integrity: sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /@humanwhocodes/config-array@0.11.13: + resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} + engines: {node: '>=10.10.0'} + dependencies: + '@humanwhocodes/object-schema': 2.0.1 + debug: 4.3.4 + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@humanwhocodes/module-importer@1.0.1: + resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} + engines: {node: '>=12.22'} + dev: true + + /@humanwhocodes/object-schema@2.0.1: + resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==} + dev: true + + /@iconify-json/mdi@1.1.64: + resolution: {integrity: sha512-zGeo5TjhNFAY6FmSDBLAzDO811t77r6v/mDi7CAL9w5eXqKez6bIjk8R9AL/RHIeq44ALP4Ozr4lMqFTkHr7ug==} + dependencies: + '@iconify/types': 2.0.0 + dev: true + + /@iconify/types@2.0.0: + resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} + dev: true + + /@iconify/utils@2.1.14: + resolution: {integrity: sha512-9pKIntkbLbjVVFxH32td21Am3AGGJfyI2KY2d8yDQxkZe4BBZtufJI8NgcamFn8B5QKLU9ai2VMo8OEov8jAtw==} + dependencies: + '@antfu/install-pkg': 0.1.1 + '@antfu/utils': 0.7.7 + '@iconify/types': 2.0.0 + debug: 4.3.4 + kolorist: 1.8.0 + local-pkg: 0.4.3 + transitivePeerDependencies: + - supports-color + dev: true + + /@intlify/bundle-utils@7.5.0(vue-i18n@9.8.0): + resolution: {integrity: sha512-6DymqusddBQ8kVtVBsVFFF7arNfIhuLacOmmsqayT2vl427j9m0VX12mMC+cgoVIodSpRfzYPaPTdPuJq7mK0Q==} + engines: {node: '>= 14.16'} + peerDependencies: + petite-vue-i18n: '*' + vue-i18n: '*' + peerDependenciesMeta: + petite-vue-i18n: + optional: true + vue-i18n: + optional: true + dependencies: + '@intlify/message-compiler': 9.8.0 + '@intlify/shared': 9.8.0 + acorn: 8.11.3 + escodegen: 2.1.0 + estree-walker: 2.0.2 + jsonc-eslint-parser: 2.4.0 + magic-string: 0.30.5 + mlly: 1.4.2 + source-map-js: 1.0.2 + vue-i18n: 9.8.0(vue@3.4.3) + yaml-eslint-parser: 1.2.2 + dev: true + + /@intlify/core-base@9.8.0: + resolution: {integrity: sha512-UxaSZVZ1DwqC/CltUZrWZNaWNhfmKtfyV4BJSt/Zt4Or/fZs1iFj0B+OekYk1+MRHfIOe3+x00uXGQI4PbO/9g==} + engines: {node: '>= 16'} + dependencies: + '@intlify/message-compiler': 9.8.0 + '@intlify/shared': 9.8.0 + + /@intlify/message-compiler@9.8.0: + resolution: {integrity: sha512-McnYWhcoYmDJvssVu6QGR0shqlkJuL1HHdi5lK7fNqvQqRYaQ4lSLjYmZxwc8tRNMdIe9/KUKfyPxU9M6yCtNQ==} + engines: {node: '>= 16'} + dependencies: + '@intlify/shared': 9.8.0 + source-map-js: 1.0.2 + + /@intlify/shared@9.8.0: + resolution: {integrity: sha512-TmgR0RCLjzrSo+W3wT0ALf9851iFMlVI9EYNGeWvZFUQTAJx0bvfsMlPdgVtV1tDNRiAfhkFsMKu6jtUY1ZLKQ==} + engines: {node: '>= 16'} + + /@intlify/unplugin-vue-i18n@0.13.0(rollup@2.79.1)(vue-i18n@9.8.0): + resolution: {integrity: sha512-Mm9NhcvbsSZ5FXXnCpL/XFCk1hPp809hxErNmnwqGp21JjYOKGp3wpQSrpvGk33ZrHZbhPqAu70IEVEAxVZ5+A==} + engines: {node: '>= 14.16'} + peerDependencies: + petite-vue-i18n: '*' + vue-i18n: '*' + vue-i18n-bridge: '*' + peerDependenciesMeta: + petite-vue-i18n: + optional: true + vue-i18n: + optional: true + vue-i18n-bridge: + optional: true + dependencies: + '@intlify/bundle-utils': 7.5.0(vue-i18n@9.8.0) + '@intlify/shared': 9.8.0 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + '@vue/compiler-sfc': 3.4.3 + debug: 4.3.4 + fast-glob: 3.3.2 + js-yaml: 4.1.0 + json5: 2.2.3 + pathe: 1.1.1 + picocolors: 1.0.0 + source-map-js: 1.0.2 + unplugin: 1.6.0 + vue-i18n: 9.8.0(vue@3.4.3) + transitivePeerDependencies: + - rollup + - supports-color + dev: true + + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: true + + /@it-tools/bip39@0.0.4: + resolution: {integrity: sha512-0PWO7VKi6VALiFcm8z2WgxzSZ5wAko0OctBZ0I5+jjtSIXm3t1d54yrrHfgFOZDTyMpCXi638oLpzqexcfRtbA==} + dependencies: + js-sha256: 0.9.0 + nanoid: 3.3.7 + dev: false + + /@it-tools/oggen@1.3.0: + resolution: {integrity: sha512-hvPn0mDkbJvA6jDxV3Xw+MIermq+QyrQpUq86KkZXaWLfCIDnLVp3hBmdxpxU4NIckXj5/7eeVg5CvW0kpQBTw==} + dev: false + + /@jest/schemas@29.6.3: + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@sinclair/typebox': 0.27.8 + dev: true + + /@jridgewell/gen-mapping@0.3.3: + resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.20 + dev: true + + /@jridgewell/resolve-uri@3.1.1: + resolution: {integrity: sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/set-array@1.1.2: + resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/source-map@0.3.5: + resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==} + dependencies: + '@jridgewell/gen-mapping': 0.3.3 + '@jridgewell/trace-mapping': 0.3.20 + dev: true + + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + + /@jridgewell/trace-mapping@0.3.20: + resolution: {integrity: sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==} + dependencies: + '@jridgewell/resolve-uri': 3.1.1 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /@juggle/resize-observer@3.4.0: + resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} + dev: false + + /@mdit-vue/plugin-component@0.12.1: + resolution: {integrity: sha512-L3elbvuKUufXwPLHrmJGd/ijd/QKxfcHXy3kRy4O+P7UIV7HSWePpfB0k+wWee+by3MviYYxjVAi392z+DGy3Q==} + dependencies: + '@types/markdown-it': 13.0.7 + markdown-it: 13.0.2 + dev: true + + /@mdit-vue/plugin-frontmatter@0.12.1: + resolution: {integrity: sha512-C6ycNjrJ+T4JgbVxwo9cUkfLacOO841Yl8ogqd5PJmAVpc5cM2OLBkqqkZxNRXos3g9xM1VvIQ7gK/047UNADg==} + dependencies: + '@mdit-vue/types': 0.12.0 + '@types/markdown-it': 13.0.7 + gray-matter: 4.0.3 + markdown-it: 13.0.2 + dev: true + + /@mdit-vue/types@0.12.0: + resolution: {integrity: sha512-mrC4y8n88BYvgcgzq9bvTlDgFyi2zuvzmPilRvRc3Uz1iIvq8mDhxJ0rHKFUNzPEScpDvJdIujqiDrulMqiudA==} + dev: true + + /@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + /@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + /@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.16.0 + + /@one-ini/wasm@0.1.1: + resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} + dev: true + + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true + dev: true + optional: true + + /@pkgr/core@0.1.0: + resolution: {integrity: sha512-Zwq5OCzuwJC2jwqmpEQt7Ds1DTi6BWSwoGkbb1n9pO3hzb35BoJELx7c0T23iDkBGkh2e7tvOtjF3tr3OaQHDQ==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + dev: true + + /@playwright/test@1.40.1: + resolution: {integrity: sha512-EaaawMTOeEItCRvfmkI9v6rBkF1svM8wjl/YPRrg2N2Wmp+4qJYkWtJsbew1szfKKDm6fPLy4YAanBhIlf9dWw==} + engines: {node: '>=16'} + hasBin: true + dependencies: + playwright: 1.40.1 + dev: true + + /@polka/url@1.0.0-next.24: + resolution: {integrity: sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ==} + dev: true + + /@popperjs/core@2.11.8: + resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} + dev: false + + /@remirror/core-constants@2.0.2: + resolution: {integrity: sha512-dyHY+sMF0ihPus3O27ODd4+agdHMEmuRdyiZJ2CCWjPV5UFmn17ZbElvk6WOGVE4rdCJKZQCrPV2BcikOMLUGQ==} + dev: false + + /@remirror/core-helpers@3.0.0: + resolution: {integrity: sha512-tusEgQJIqg4qKj6HSBUFcyRnWnziw3neh4T9wOmsPGHFC3w9kl5KSrDb9UAgE8uX6y32FnS7vJ955mWOl3n50A==} + dependencies: + '@remirror/core-constants': 2.0.2 + '@remirror/types': 1.0.1 + '@types/object.omit': 3.0.3 + '@types/object.pick': 1.3.4 + '@types/throttle-debounce': 2.1.0 + case-anything: 2.1.13 + dash-get: 1.0.2 + deepmerge: 4.3.1 + fast-deep-equal: 3.1.3 + make-error: 1.3.6 + object.omit: 3.0.0 + object.pick: 1.3.0 + throttle-debounce: 3.0.1 + dev: false + + /@remirror/types@1.0.1: + resolution: {integrity: sha512-VlZQxwGnt1jtQ18D6JqdIF+uFZo525WEqrfp9BOc3COPpK4+AWCgdnAWL+ho6imWcoINlGjR/+3b6y5C1vBVEA==} + dependencies: + type-fest: 2.19.0 + dev: false + + /@rollup/plugin-babel@5.3.1(@babel/core@7.23.7)(rollup@2.79.1): + resolution: {integrity: sha512-WFfdLWU/xVWKeRQnKmIAQULUI7Il0gZnBIH/ZFO069wYIfPu+8zrfp/KMW0atmELoRDq8FbiP3VCss9MhCut7Q==} + engines: {node: '>= 10.0.0'} + peerDependencies: + '@babel/core': ^7.0.0 + '@types/babel__core': ^7.1.9 + rollup: ^1.20.0||^2.0.0 + peerDependenciesMeta: + '@types/babel__core': + optional: true + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-imports': 7.22.15 + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + rollup: 2.79.1 + dev: true + + /@rollup/plugin-node-resolve@11.2.1(rollup@2.79.1): + resolution: {integrity: sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==} + engines: {node: '>= 10.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + '@types/resolve': 1.17.1 + builtin-modules: 3.3.0 + deepmerge: 4.3.1 + is-module: 1.0.0 + resolve: 1.22.8 + rollup: 2.79.1 + dev: true + + /@rollup/plugin-replace@2.4.2(rollup@2.79.1): + resolution: {integrity: sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==} + peerDependencies: + rollup: ^1.20.0 || ^2.0.0 + dependencies: + '@rollup/pluginutils': 3.1.0(rollup@2.79.1) + magic-string: 0.25.9 + rollup: 2.79.1 + dev: true + + /@rollup/pluginutils@3.1.0(rollup@2.79.1): + resolution: {integrity: sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==} + engines: {node: '>= 8.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0 + dependencies: + '@types/estree': 0.0.39 + estree-walker: 1.0.1 + picomatch: 2.3.1 + rollup: 2.79.1 + dev: true + + /@rollup/pluginutils@5.1.0(rollup@2.79.1): + resolution: {integrity: sha512-XTIWOPPcpvyKI6L1NHo0lFlCyznUEyPmPY1mc3KpPVDYulHSTvyeLNVW00QTLIAFNhR3kYnJTQHeGqU4M3n09g==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + dependencies: + '@types/estree': 1.0.5 + estree-walker: 2.0.2 + picomatch: 2.3.1 + rollup: 2.79.1 + + /@rushstack/eslint-patch@1.6.1: + resolution: {integrity: sha512-UY+FGM/2jjMkzQLn8pxcHGMaVLh9aEitG3zY2CiY7XHdLiz3bZOwa6oDxNqEMv7zZkV+cj5DOdz0cQ1BP5Hjgw==} + dev: true + + /@sinclair/typebox@0.27.8: + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + dev: true + + /@sindresorhus/slugify@2.2.1: + resolution: {integrity: sha512-MkngSCRZ8JdSOCHRaYd+D01XhvU3Hjy6MGl06zhOk614hp9EOAp5gIkBeQg7wtmxpitU6eAL4kdiRMcJa2dlrw==} + engines: {node: '>=12'} + dependencies: + '@sindresorhus/transliterate': 1.6.0 + escape-string-regexp: 5.0.0 + dev: false + + /@sindresorhus/transliterate@1.6.0: + resolution: {integrity: sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==} + engines: {node: '>=12'} + dependencies: + escape-string-regexp: 5.0.0 + dev: false + + /@surma/rollup-plugin-off-main-thread@2.2.3: + resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==} + dependencies: + ejs: 3.1.9 + json5: 2.2.3 + magic-string: 0.25.9 + string.prototype.matchall: 4.0.10 + dev: true + + /@tiptap/core@2.1.13(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-cMC8bgTN63dj1Mv82iDeeLl6sa9kY0Pug8LSalxVEptRmyFVsVxGgu2/6Y3T+9aCYScxfS06EkA8SdzFMAwYTQ==} + peerDependencies: + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-blockquote@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-oe6wSQACmODugoP9XH3Ouffjy4BsOBWfTC+dETHNCG6ZED6ShHN3CB9Vr7EwwRgmm2WLaKAjMO1sVumwH+Z1rg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-bold@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-6cHsQTh/rUiG4jkbJer3vk7g60I5tBwEBSGpdxmEHh83RsvevD8+n92PjA24hYYte5RNlATB011E1wu8PVhSvw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-bubble-menu@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-Hm7e1GX3AI6lfaUmr6WqsS9MMyXIzCkhh+VQi6K8jj4Q4s8kY4KPoAyD/c3v9pZ/dieUtm2TfqrOCkbHzsJQBg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + tippy.js: 6.3.7 + dev: false + + /@tiptap/extension-bullet-list@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-NkWlQ5bLPUlcROj6G/d4oqAxMf3j3wfndGOPp0z8OoXJtVbVoXl/aMSlLbVgE6n8r6CS8MYxKhXNxrb7Ll2foA==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-code-block@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-E3tweNExPOV+t1ODKX0MDVsS0aeHGWc1ECt+uyp6XwzsN0bdF2A5+pttQqM7sTcMnQkVACGFbn9wDeLRRcfyQg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-code@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-f5fLYlSgliVVa44vd7lQGvo49+peC+Z2H0Fn84TKNCH7tkNZzouoJsHYn0/enLaQ9Sq+24YPfqulfiwlxyiT8w==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-document@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-wLwiTWsVmZTGIE5duTcHRmW4ulVxNW4nmgfpk95+mPn1iKyNGtrVhGWleLhBlTj+DWXDtcfNWZgqZkZNzhkqYQ==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-dropcursor@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-NAyJi4BJxH7vl/2LNS1X0ndwFKjEtX+cRgshXCnMyh7qNpIRW6Plczapc/W1OiMncOEhZJfpZfkRSfwG01FWFg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-floating-menu@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-9Oz7pk1Nts2+EyY+rYfnREGbLzQ5UFazAvRhF6zAJdvyuDmAYm0Jp6s0GoTrpV0/dJEISoFaNpPdMJOb9EBNRw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + tippy.js: 6.3.7 + dev: false + + /@tiptap/extension-gapcursor@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-Cl5apsoTcyPPCgE3ThufxQxZ1wyqqh+9uxUN9VF9AbeTkid6oPZvKXwaILf6AFnkSy+SuKrb9kZD2iaezxpzXw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-hard-break@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-TGkMzMQayuKg+vN4du0x1ahEItBLcCT1jdWeRsjdM8gHfzbPLdo4PQhVsvm1I0xaZmbJZelhnVsUwRZcIu1WNA==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-heading@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-PEmc19QLmlVUTiHWoF0hpgNTNPNU0nlaFmMKskzO+cx5Df4xvHmv/UqoIwp7/UFbPMkfVJT1ozQU7oD1IWn9Hg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-history@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-1ouitThGTBUObqw250aDwGLMNESBH5PRXIGybsCFO1bktdmWtEw7m72WY41EuX2BH8iKJpcYPerl3HfY1vmCNw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-horizontal-rule@2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-7OgjgNqZXvBejgULNdMSma2M1nzv4bbZG+FT5XMFZmEOxR9IB1x/RzChjPdeicff2ZK2sfhMBc4Y9femF5XkUg==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + dev: false + + /@tiptap/extension-italic@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-HyDJfuDn5hzwGKZiANcvgz6wcum6bEgb4wmJnfej8XanTMJatNVv63TVxCJ10dSc9KGpPVcIkg6W8/joNXIEbw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-list-item@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-6e8iiCWXOiJTl1XOwVW2tc0YG18h70HUtEHFCx2m5HspOGFKsFEaSS3qYxOheM9HxlmQeDt8mTtqftRjEFRxPQ==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-ordered-list@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-UO4ZAL5Vrr1WwER5VjgmeNIWHpqy9cnIRo1En07gZ0OWTjs1eITPcu+4TCn1ZG6DhoFvAQzE5DTxxdhIotg+qw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-paragraph@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-cEoZBJrsQn69FPpUMePXG/ltGXtqKISgypj70PEHXt5meKDjpmMVSY4/8cXvFYEYsI9GvIwyAK0OrfAHiSoROA==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-strike@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-VN6zlaCNCbyJUCDyBFxavw19XmQ4LkCh8n20M8huNqW77lDGXA2A7UcWLHaNBpqAijBRu9mWI8l4Bftyf2fcAw==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/extension-text@2.1.13(@tiptap/core@2.1.13): + resolution: {integrity: sha512-zzsTTvu5U67a8WjImi6DrmpX2Q/onLSaj+LRWPh36A1Pz2WaxW5asZgaS+xWCnR+UrozlCALWa01r7uv69jq0w==} + peerDependencies: + '@tiptap/core': ^2.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + dev: false + + /@tiptap/pm@2.1.6: + resolution: {integrity: sha512-JkFlZp2z6Se2Ttnabi4lkP2yLNMH/eebO7ScYL1kXvwNLgELC/I3fwQVmnYA0E8pqJ5KQXOSl14NaB1mVPJqlg==} + dependencies: + prosemirror-changeset: 2.2.1 + prosemirror-collab: 1.3.1 + prosemirror-commands: 1.5.2 + prosemirror-dropcursor: 1.8.1 + prosemirror-gapcursor: 1.3.2 + prosemirror-history: 1.3.2 + prosemirror-inputrules: 1.3.0 + prosemirror-keymap: 1.2.2 + prosemirror-markdown: 1.12.0 + prosemirror-menu: 1.2.4 + prosemirror-model: 1.19.4 + prosemirror-schema-basic: 1.2.2 + prosemirror-schema-list: 1.3.0 + prosemirror-state: 1.4.3 + prosemirror-tables: 1.3.5 + prosemirror-trailing-node: 2.0.7(prosemirror-model@1.19.4)(prosemirror-state@1.4.3)(prosemirror-view@1.32.7) + prosemirror-transform: 1.8.0 + prosemirror-view: 1.32.7 + dev: false + + /@tiptap/starter-kit@2.1.6(@tiptap/pm@2.1.6): + resolution: {integrity: sha512-JmTvexA90+VqsltAo9+MysYLoR9/dpEEy1LrFT09R1q9p6EJCWfxtyi/QsrZnwD6zthpTByChmDZRGv85Nb3Aw==} + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/extension-blockquote': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-bold': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-bullet-list': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-code': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-code-block': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-document': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-dropcursor': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-gapcursor': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-hard-break': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-heading': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-history': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-horizontal-rule': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-italic': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-list-item': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-ordered-list': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-paragraph': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-strike': 2.1.13(@tiptap/core@2.1.13) + '@tiptap/extension-text': 2.1.13(@tiptap/core@2.1.13) + transitivePeerDependencies: + - '@tiptap/pm' + dev: false + + /@tiptap/vue-3@2.0.3(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6)(vue@3.4.3): + resolution: {integrity: sha512-2CtNUzt+e7sgvIjxPOyBwoiRcuCHNeJzW+XGxNK2uCWlAKp/Yw3boJ51d51UuIbj9RitGHJ5GpCdLJoL7SDiQA==} + peerDependencies: + '@tiptap/core': ^2.0.0 + '@tiptap/pm': ^2.0.0 + vue: ^3.0.0 + dependencies: + '@tiptap/core': 2.1.13(@tiptap/pm@2.1.6) + '@tiptap/extension-bubble-menu': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/extension-floating-menu': 2.1.13(@tiptap/core@2.1.13)(@tiptap/pm@2.1.6) + '@tiptap/pm': 2.1.6 + vue: 3.4.3(typescript@5.2.2) + dev: false + + /@tootallnate/once@2.0.0: + resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} + engines: {node: '>= 10'} + dev: true + + /@trysound/sax@0.2.0: + resolution: {integrity: sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==} + engines: {node: '>=10.13.0'} + dev: true + + /@tsconfig/node18@18.2.2: + resolution: {integrity: sha512-d6McJeGsuoRlwWZmVIeE8CUA27lu6jLjvv1JzqmpsytOYYbVi1tHZEnwCNVOXnj4pyLvneZlFlpXUK+X9wBWyw==} + dev: true + + /@types/bcryptjs@2.4.6: + resolution: {integrity: sha512-9xlo6R2qDs5uixm0bcIqCeMCE6HiQsIyel9KQySStiyqNl2tnj2mP3DX1Nf56MD6KMenNNlBBsy3LJ7gUEQPXQ==} + dev: true + + /@types/chai-subset@1.3.5: + resolution: {integrity: sha512-c2mPnw+xHtXDoHmdtcCXGwyLMiauiAyxWMzhGpqHC4nqI/Y5G2XhTampslK2rb59kpcuHon03UH8W6iYUzw88A==} + dependencies: + '@types/chai': 4.3.11 + dev: true + + /@types/chai@4.3.11: + resolution: {integrity: sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ==} + dev: true + + /@types/crypto-js@4.2.1: + resolution: {integrity: sha512-FSPGd9+OcSok3RsM0UZ/9fcvMOXJ1ENE/ZbLfOPlBWj7BgXtEAM8VYfTtT760GiLbQIMoVozwVuisjvsVwqYWw==} + dev: true + + /@types/dompurify@3.0.5: + resolution: {integrity: sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==} + dependencies: + '@types/trusted-types': 2.0.7 + dev: true + + /@types/estree@0.0.39: + resolution: {integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==} + dev: true + + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + + /@types/fs-extra@11.0.4: + resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} + dependencies: + '@types/jsonfile': 6.1.4 + '@types/node': 18.19.4 + dev: true + + /@types/jsdom@21.1.6: + resolution: {integrity: sha512-/7kkMsC+/kMs7gAYmmBR9P0vGTnOoLhQhyhQJSlXGI5bzTHp6xdo0TtKWQAsz6pmSAeVqKSbqeyP6hytqr9FDw==} + dependencies: + '@types/node': 18.19.4 + '@types/tough-cookie': 4.0.5 + parse5: 7.1.2 + dev: true + + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + dev: true + + /@types/jsonfile@6.1.4: + resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} + dependencies: + '@types/node': 18.19.4 + dev: true + + /@types/katex@0.16.7: + resolution: {integrity: sha512-HMwFiRujE5PjrgwHQ25+bsLJgowjGjm5Z8FVSf0N6PwgJrwxH0QxzHYDcKsTfV3wva0vzrpqMTJS2jXPr5BMEQ==} + dev: false + + /@types/linkify-it@3.0.5: + resolution: {integrity: sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==} + dev: true + + /@types/lodash-es@4.17.12: + resolution: {integrity: sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==} + dependencies: + '@types/lodash': 4.14.202 + dev: false + + /@types/lodash@4.14.202: + resolution: {integrity: sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==} + + /@types/markdown-it@13.0.7: + resolution: {integrity: sha512-U/CBi2YUUcTHBt5tjO2r5QV/x0Po6nsYwQU4Y04fBS6vfoImaiZ6f8bi3CjTCxBPQSO1LMyUqkByzi8AidyxfA==} + dependencies: + '@types/linkify-it': 3.0.5 + '@types/mdurl': 1.0.5 + dev: true + + /@types/mdast@3.0.15: + resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} + dependencies: + '@types/unist': 2.0.10 + dev: true + + /@types/mdurl@1.0.5: + resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==} + dev: true + + /@types/mime-types@2.1.4: + resolution: {integrity: sha512-lfU4b34HOri+kAY5UheuFMWPDOI+OPceBSHZKp69gEyTL/mmJ4cnU6Y/rlme3UL3GyOn6Y42hyIEw0/q8sWx5w==} + dev: true + + /@types/minimist@1.2.5: + resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==} + dev: true + + /@types/netmask@2.0.5: + resolution: {integrity: sha512-9Q5iw9+pHZBVLDG700dlQSWWHTYvOb8KfPjfQTNckCYky4IyjV2xh81+RgC1CCwqv92bYLpz1cVKyJav0B88uQ==} + dev: true + + /@types/node-forge@1.3.11: + resolution: {integrity: sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ==} + dependencies: + '@types/node': 18.19.4 + dev: true + + /@types/node@17.0.45: + resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} + dev: true + + /@types/node@18.19.4: + resolution: {integrity: sha512-xNzlUhzoHotIsnFoXmJB+yWmBvFZgKCI9TtPIEdYIMM1KWfwuY8zh7wvc1u1OAXlC7dlf6mZVx/s+Y5KfFz19A==} + dependencies: + undici-types: 5.26.5 + dev: true + + /@types/normalize-package-data@2.4.4: + resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} + dev: true + + /@types/object.omit@3.0.3: + resolution: {integrity: sha512-xrq4bQTBGYY2cw+gV4PzoG2Lv3L0pjZ1uXStRRDQoATOYW1lCsFQHhQ+OkPhIcQoqLjAq7gYif7D14Qaa6Zbew==} + dev: false + + /@types/object.pick@1.3.4: + resolution: {integrity: sha512-5PjwB0uP2XDp3nt5u5NJAG2DORHIRClPzWT/TTZhJ2Ekwe8M5bA9tvPdi9NO/n2uvu2/ictat8kgqvLfcIE1SA==} + dev: false + + /@types/ps-tree@1.1.6: + resolution: {integrity: sha512-PtrlVaOaI44/3pl3cvnlK+GxOM3re2526TJvPvh7W+keHIXdV4TE0ylpPBAcvFQCbGitaTXwL9u+RF7qtVeazQ==} + dev: true + + /@types/qrcode@1.5.5: + resolution: {integrity: sha512-CdfBi/e3Qk+3Z/fXYShipBT13OJ2fDO2Q2w5CIP5anLTLIndQG9z6P1cnm+8zCWSpm5dnxMFd/uREtb0EXuQzg==} + dependencies: + '@types/node': 18.19.4 + dev: true + + /@types/resolve@1.17.1: + resolution: {integrity: sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==} + dependencies: + '@types/node': 18.19.4 + dev: true + + /@types/semver@7.5.6: + resolution: {integrity: sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==} + dev: true + + /@types/throttle-debounce@2.1.0: + resolution: {integrity: sha512-5eQEtSCoESnh2FsiLTxE121IiE60hnMqcb435fShf4bpLRjEu1Eoekht23y6zXS9Ts3l+Szu3TARnTsA0GkOkQ==} + dev: false + + /@types/tough-cookie@4.0.5: + resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} + dev: true + + /@types/trusted-types@2.0.7: + resolution: {integrity: sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==} + dev: true + + /@types/ua-parser-js@0.7.39: + resolution: {integrity: sha512-P/oDfpofrdtF5xw433SPALpdSchtJmY7nsJItf8h3KXqOslkbySh8zq4dSWXH2oTjRvJ5PczVEoCZPow6GicLg==} + dev: true + + /@types/unist@2.0.10: + resolution: {integrity: sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==} + dev: true + + /@types/uuid@9.0.7: + resolution: {integrity: sha512-WUtIVRUZ9i5dYXefDEAI7sh9/O7jGvHg7Df/5O/gtH3Yabe5odI3UWopVR1qbPXQtvOxWu3mM4XxlYeZtMWF4g==} + dev: true + + /@types/web-bluetooth@0.0.20: + resolution: {integrity: sha512-g9gZnnXVq7gM7v3tJCWV/qw7w+KeOlSHAhgF9RytFyifW6AF61hdT2ucrYhPq9hLs5JIryeupHV3qGk95dH9ow==} + dev: false + + /@types/which@3.0.3: + resolution: {integrity: sha512-2C1+XoY0huExTbs8MQv1DuS5FS86+SEjdM9F/+GS61gg5Hqbtj8ZiDSx8MfWcyei907fIPbfPGCOrNUTnVHY1g==} + dev: true + + /@typescript-eslint/eslint-plugin@6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-Vih/4xLXmY7V490dGwBQJTpIZxH4ZFH6eCVmQ4RFkB+wmaCTDAx4dtgoWwMNGKLkqRY1L6rPqzEbjorRnDo4rQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@eslint-community/regexpp': 4.10.0 + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.17.0 + '@typescript-eslint/type-utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.17.0 + debug: 4.3.4 + eslint: 8.56.0 + graphemer: 1.4.0 + ignore: 5.3.0 + natural-compare: 1.4.0 + semver: 7.5.4 + ts-api-utils: 1.0.3(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/parser@6.17.0(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-C4bBaX2orvhK+LlwrY8oWGmSl4WolCfYm513gEccdWZj0CwGadbIADb0FtVEcI+WzUyjyoBj2JRP8g25E6IB8A==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/scope-manager': 6.17.0 + '@typescript-eslint/types': 6.17.0 + '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.17.0 + debug: 4.3.4 + eslint: 8.56.0 + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/scope-manager@5.62.0: + resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + '@typescript-eslint/types': 5.62.0 + '@typescript-eslint/visitor-keys': 5.62.0 + dev: true + + /@typescript-eslint/scope-manager@6.17.0: + resolution: {integrity: sha512-RX7a8lwgOi7am0k17NUO0+ZmMOX4PpjLtLRgLmT1d3lBYdWH4ssBUbwdmc5pdRX8rXon8v9x8vaoOSpkHfcXGA==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.17.0 + '@typescript-eslint/visitor-keys': 6.17.0 + dev: true + + /@typescript-eslint/type-utils@6.17.0(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-hDXcWmnbtn4P2B37ka3nil3yi3VCQO2QEB9gBiHJmQp5wmyQWqnjA85+ZcE8c4FqnaB6lBwMrPkgd4aBYz3iNg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + debug: 4.3.4 + eslint: 8.56.0 + ts-api-utils: 1.0.3(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/types@5.62.0: + resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /@typescript-eslint/types@6.17.0: + resolution: {integrity: sha512-qRKs9tvc3a4RBcL/9PXtKSehI/q8wuU9xYJxe97WFxnzH8NWWtcW3ffNS+EWg8uPvIerhjsEZ+rHtDqOCiH57A==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: true + + /@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2): + resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 5.62.0 + '@typescript-eslint/visitor-keys': 5.62.0 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + tsutils: 3.21.0(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/typescript-estree@6.17.0(typescript@5.2.2): + resolution: {integrity: sha512-gVQe+SLdNPfjlJn5VNGhlOhrXz4cajwFd5kAgWtZ9dCZf4XJf8xmgCTLIqec7aha3JwgLI2CK6GY1043FRxZwg==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 6.17.0 + '@typescript-eslint/visitor-keys': 6.17.0 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + minimatch: 9.0.3 + semver: 7.5.4 + ts-api-utils: 1.0.3(typescript@5.2.2) + typescript: 5.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/utils@5.62.0(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.6 + '@typescript-eslint/scope-manager': 5.62.0 + '@typescript-eslint/types': 5.62.0 + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) + eslint: 8.56.0 + eslint-scope: 5.1.1 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/utils@6.17.0(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-LofsSPjN/ITNkzV47hxas2JCsNCEnGhVvocfyOcLzT9c/tSZE7SfhS/iWtzP1lKNOEfLhRTZz6xqI8N2RzweSQ==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@types/json-schema': 7.0.15 + '@types/semver': 7.5.6 + '@typescript-eslint/scope-manager': 6.17.0 + '@typescript-eslint/types': 6.17.0 + '@typescript-eslint/typescript-estree': 6.17.0(typescript@5.2.2) + eslint: 8.56.0 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/visitor-keys@5.62.0: + resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + '@typescript-eslint/types': 5.62.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@typescript-eslint/visitor-keys@6.17.0: + resolution: {integrity: sha512-H6VwB/k3IuIeQOyYczyyKN8wH6ed8EwliaYHLxOIhyF0dYEIsN8+Bk3GE19qafeMKyZJJHP8+O1HiFhFLUNKSg==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.17.0 + eslint-visitor-keys: 3.4.3 + dev: true + + /@ungap/structured-clone@1.2.0: + resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + dev: true + + /@unhead/dom@1.8.9: + resolution: {integrity: sha512-qY4CUVNKEM7lEAcTz5t71QYca+NXgUY5RwhSzB6sBBzZxQTiFOeTVKC6uWXU0N+3jBUdP/zdD3iN1JIjziDlng==} + dependencies: + '@unhead/schema': 1.8.9 + '@unhead/shared': 1.8.9 + dev: false + + /@unhead/schema@1.8.9: + resolution: {integrity: sha512-Cumjt2uLfBMEXflvq7Nk8KNqa/JS4MlRGWkjXx/uUXJ1vUeQqeMV8o3hrnRvDDoTXr9LwPapTMUbtClN3TSBgw==} + dependencies: + hookable: 5.5.3 + zhead: 2.2.4 + dev: false + + /@unhead/shared@1.8.9: + resolution: {integrity: sha512-0o4+CBCi9EnTKPF6cEuLacnUHUkF0u/FfiKrWnKWUiB8wTD1v3UCf5ZCrNCjuJmKHTqj6ZtZ2hIfXsqWfc+3tA==} + dependencies: + '@unhead/schema': 1.8.9 + dev: false + + /@unhead/ssr@1.8.9: + resolution: {integrity: sha512-sQaA4FDFD1tRD2JiiHfdEY5rF1i54qFxCRqdX0pB+15JJCYBfIPJMr5T1SLJBgc9pqX4rS3MPg2Fc9DW+0p9yw==} + dependencies: + '@unhead/schema': 1.8.9 + '@unhead/shared': 1.8.9 + dev: false + + /@unhead/vue@1.8.9(vue@3.4.3): + resolution: {integrity: sha512-sL1d2IRBZd5rjzhgTYni2DiociSpt+Cfz3iVWKb0EZwQHgg0GzV8Hkoj5TjZYZow6EjDSPRfVPXDwOwxkVOgug==} + peerDependencies: + vue: '>=2.7 || >=3' + dependencies: + '@unhead/schema': 1.8.9 + '@unhead/shared': 1.8.9 + hookable: 5.5.3 + unhead: 1.8.9 + vue: 3.4.3(typescript@5.2.2) + dev: false + + /@unocss/astro@0.57.7(rollup@2.79.1)(vite@4.5.1): + resolution: {integrity: sha512-X4KSBdrAADdtS4x7xz02b016xpRDt9mD/d/oq23HyZAZ+sZc4oZs8el9MLSUJgu2okdWzAE62lRRV/oc4HWI1A==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + peerDependenciesMeta: + vite: + optional: true + dependencies: + '@unocss/core': 0.57.7 + '@unocss/reset': 0.57.7 + '@unocss/vite': 0.57.7(rollup@2.79.1)(vite@4.5.1) + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + transitivePeerDependencies: + - rollup + dev: true + + /@unocss/cli@0.57.7(rollup@2.79.1): + resolution: {integrity: sha512-FZHTTBYyibySpBEPbA/ilDzI4v4Uy/bROItEYogZkpXNoCLzlclX+UcuFBXXLt6VFJk4WjLNFLRSQlVcCUUOLA==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@ampproject/remapping': 2.2.1 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/preset-uno': 0.57.7 + cac: 6.7.14 + chokidar: 3.5.3 + colorette: 2.0.20 + consola: 3.2.3 + fast-glob: 3.3.2 + magic-string: 0.30.5 + pathe: 1.1.1 + perfect-debounce: 1.0.0 + transitivePeerDependencies: + - rollup + dev: true + + /@unocss/config@0.57.7: + resolution: {integrity: sha512-UG8G9orWEdk/vyDvGUToXYn/RZy/Qjpx66pLsaf5wQK37hkYsBoReAU5v8Ia/6PL1ueJlkcNXLaNpN6/yVoJvg==} + engines: {node: '>=14'} + dependencies: + '@unocss/core': 0.57.7 + unconfig: 0.3.11 + dev: true + + /@unocss/core@0.31.17: + resolution: {integrity: sha512-DJ3Uk2ePVXvV1qQmgoLK44aqB6f0s+naOEvouI97nzVXDZgxDQPBxIPB/L4vvE4U+gQxEiHwwE3gJ75iPqVzXw==} + dev: true + + /@unocss/core@0.57.7: + resolution: {integrity: sha512-1d36M0CV3yC80J0pqOa5rH1BX6g2iZdtKmIb3oSBN4AWnMCSrrJEPBrUikyMq2TEQTrYWJIVDzv5A9hBUat3TA==} + dev: true + + /@unocss/eslint-config@0.57.7(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-EJlI6rV0ZfDCphIiddHSWZVeoHdYDTVohVXGo+NfNOuRuvYWGna3n4hY3VEAiT3mWLK0/0anzHF7X0PNzCR5lQ==} + engines: {node: '>=14'} + dependencies: + '@unocss/eslint-plugin': 0.57.7(eslint@8.56.0)(typescript@5.2.2) + transitivePeerDependencies: + - eslint + - supports-color + - typescript + dev: true + + /@unocss/eslint-plugin@0.57.7(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-nwj7UJF7wCfPVl5B7cUB0xrSk6yuVMdMgABnsy4N5xBlds8cclrUO+boaTB9qzh8Lg9nfJVLB3+cW3po2SJoew==} + engines: {node: '>=14'} + dependencies: + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + magic-string: 0.30.5 + synckit: 0.8.8 + transitivePeerDependencies: + - eslint + - supports-color + - typescript + dev: true + + /@unocss/extractor-arbitrary-variants@0.57.7: + resolution: {integrity: sha512-JdyhPlsgS0x4zoF8WYXDcusPcpU4ysE6Rkkit4a9+xUZEvg7vy7InH6PQ8dL8B9oY7pbxF7G6eFguUDpv9xx4Q==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/inspector@0.57.7: + resolution: {integrity: sha512-b9ckqn5aRsmhTdXJ5cPMKDKuNRe+825M+s9NbYcTjENnP6ellUFZo91sYF5S+LeATmU12TcwJZ83NChF4HpBSA==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + gzip-size: 6.0.0 + sirv: 2.0.4 + dev: true + + /@unocss/postcss@0.57.7(postcss@8.4.32): + resolution: {integrity: sha512-13c9p5ecTvYa6inDky++8dlVuxQ0JuKaKW5A0NW3XuJ3Uz1t8Pguji+NAUddfTYEFF6GHu47L3Aac7vpI8pMcQ==} + engines: {node: '>=14'} + peerDependencies: + postcss: ^8.4.21 + dependencies: + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + css-tree: 2.3.1 + fast-glob: 3.3.2 + magic-string: 0.30.5 + postcss: 8.4.32 + dev: true + + /@unocss/preset-attributify@0.57.7: + resolution: {integrity: sha512-vUqfwUokNHt1FJXIuVyj2Xze9LfJdLAy62h79lNyyEISZmiDF4a4hWTKLBe0d6Kyfr33DyXMmkLp57t5YW0V3A==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/preset-icons@0.57.7: + resolution: {integrity: sha512-s3AelKCS9CL1ArP1GanYv0XxxPrcFi+XOuQoQCwCRHDo2CiBEq3fLLMIhaUCFEWGtIy7o7wLeL5BRjMvJ2QnMg==} + dependencies: + '@iconify/utils': 2.1.14 + '@unocss/core': 0.57.7 + ofetch: 1.3.3 + transitivePeerDependencies: + - supports-color + dev: true + + /@unocss/preset-mini@0.31.17: + resolution: {integrity: sha512-gVgMTOKLt3O1ym348QIBmR5sS9W0Ozkk5xelhH6e0VXcpg0dXDPDrl4hFErMy4x6IB86yyJG6Dz5JhcwQB13Ig==} + dependencies: + '@unocss/core': 0.31.17 + dev: true + + /@unocss/preset-mini@0.57.7: + resolution: {integrity: sha512-YPmmh+ZIg4J7/nPMfvzD1tOfUFD+8KEFXX9ISRteooflYeosn2YytGW66d/sq97AZos9N630FJ//DvPD2wfGwA==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/extractor-arbitrary-variants': 0.57.7 + '@unocss/rule-utils': 0.57.7 + dev: true + + /@unocss/preset-tagify@0.57.7: + resolution: {integrity: sha512-va25pTJ5OtbqCHFBIj8myVk0PwuSucUqTx840r/YSHka0P9th6UGRS1LU30OUgjgr7FhLaWXtJMN4gkCUtQSoA==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/preset-typography@0.57.7: + resolution: {integrity: sha512-1QuoLhqHVRs+baaVvfH54JxmJhVuBp5jdVw3HCN/vXs1CSnq2Rm/C/+PahcnQg/KLtoW6MgK5S+/hU9TCxGRVQ==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + dev: true + + /@unocss/preset-uno@0.57.7: + resolution: {integrity: sha512-yRKvRBaPLmDSUZet5WnV1WNb3BV4EFwvB1Zbvlc3lyVp6uCksP/SYlxuUwht7JefOrfiY2sGugoBxZTyGmj/kQ==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/preset-wind': 0.57.7 + '@unocss/rule-utils': 0.57.7 + dev: true + + /@unocss/preset-web-fonts@0.57.7: + resolution: {integrity: sha512-wBPej5GeYb0D/xjMdMmpH6k/3Oe1ujx9DJys2/gtvl/rsBZpSkoWcnl+8Z3bAhooDnwL2gkJCIlpuDiRNtKvGA==} + dependencies: + '@unocss/core': 0.57.7 + ofetch: 1.3.3 + dev: true + + /@unocss/preset-wind@0.57.7: + resolution: {integrity: sha512-olQ6+w0fQ84eEC1t7SF4vJyKcyawkDWSRF5YufOqeQZL3zjqBzMQi+3PUlKCstrDO1DNZ3qdcwg1vPHRmuX9VA==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/rule-utils': 0.57.7 + dev: true + + /@unocss/reset@0.57.7: + resolution: {integrity: sha512-oN9024WVrMewGbornnAPIpzHeKPIfVmZ5IsZGilWR761TnI5jTjHUkswsVoFx7tZdpCN2/bqS3JK/Ah0aot3NQ==} + dev: true + + /@unocss/rule-utils@0.57.7: + resolution: {integrity: sha512-gLqbKTIetvRynLkhonu1znr+bmWnw+Cl3dFVNgZPGjiqGHd78PGS0gXQKvzuyN0iO2ADub1A7GlCWs826iEHjA==} + engines: {node: '>=14'} + dependencies: + '@unocss/core': 0.57.7 + magic-string: 0.30.5 + dev: true + + /@unocss/scope@0.57.7: + resolution: {integrity: sha512-pqWbKXcrTJ2ovVRTYFLnUX5ryEhdSXp7YfyBQT3zLtQb4nQ2XZcLTvGdWo7F+9jZ09yP7NdHscBLkeWgx+mVgw==} + dev: true + + /@unocss/transformer-attributify-jsx-babel@0.57.7: + resolution: {integrity: sha512-CqxTiT5ikOC6R/HNyBcCIVYUfeazqRbsw7X4hYKmGHO7QsnaKQFWZTpj+sSDRh3oHq+IDtcD6KB2anTEffEQNA==} + dependencies: + '@babel/core': 7.23.7 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) + '@babel/preset-typescript': 7.23.3(@babel/core@7.23.7) + '@unocss/core': 0.57.7 + transitivePeerDependencies: + - supports-color + dev: true + + /@unocss/transformer-attributify-jsx@0.57.7: + resolution: {integrity: sha512-FpCJM+jDN4Kyp7mMMN41tTWEq6pHKAXAyJoW1GwhYw6lLu9cwyXnne6t7rQ11EPU95Z2cIEMpIJo8reDkDaiPg==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/transformer-compile-class@0.57.7: + resolution: {integrity: sha512-D+PyD7IOXUm/lzzoCt/yon0Gh1fIK9iKeSBvB6/BREF/ejscNzQ/ia0Pq0pid2cVvOULCSo0z2sO9zljsQtv9A==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/transformer-directives@0.57.7: + resolution: {integrity: sha512-m0n7WqU3o+1Vyh1uaeU7H4u5gJqakkRqZqTq3MR3xLCSVfORJ/5XO8r+t6VUkJtaLxcIrtYE2geAbwmGV3zSKA==} + dependencies: + '@unocss/core': 0.57.7 + '@unocss/rule-utils': 0.57.7 + css-tree: 2.3.1 + dev: true + + /@unocss/transformer-variant-group@0.57.7: + resolution: {integrity: sha512-O5L5Za0IZtOWd2R66vy0k07pLlB9rCIybmUommUqKWpvd1n/pg8czQ5EkmNDprINvinKObVlGVuY4Uq/JsLM0A==} + dependencies: + '@unocss/core': 0.57.7 + dev: true + + /@unocss/vite@0.57.7(rollup@2.79.1)(vite@4.5.1): + resolution: {integrity: sha512-SbJrRgfc35MmgMBlHaEK4YpJVD2B0bmxH9PVgHRuDae/hOEOG0VqNP0f2ijJtX9HG3jOpQVlbEoGnUo8jsZtsw==} + peerDependencies: + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + dependencies: + '@ampproject/remapping': 2.2.1 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + '@unocss/config': 0.57.7 + '@unocss/core': 0.57.7 + '@unocss/inspector': 0.57.7 + '@unocss/scope': 0.57.7 + '@unocss/transformer-directives': 0.57.7 + chokidar: 3.5.3 + fast-glob: 3.3.2 + magic-string: 0.30.5 + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + transitivePeerDependencies: + - rollup + dev: true + + /@vicons/material@0.12.0: + resolution: {integrity: sha512-chv1CYAl8P32P3Ycwgd5+vw/OFNc2mtkKdb1Rw4T5IJmKy6GVDsoUKV3N2l208HATn7CCQphZtuPDdsm7K2kmA==} + dev: false + + /@vicons/tabler@0.12.0: + resolution: {integrity: sha512-3+wUFuxb7e8OzZ8Wryct1pzfA2vyoF4lwW98O9s27ZrfCGaJGNmqG+q8A7vQ92Mf+COCgxpK+rhNPTtTvaU6qw==} + dev: false + + /@vitejs/plugin-vue-jsx@3.1.0(vite@4.5.1)(vue@3.4.3): + resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 || ^5.0.0 + vue: ^3.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.7) + '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.7) + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + vue: 3.4.3(typescript@5.2.2) + transitivePeerDependencies: + - supports-color + dev: true + + /@vitejs/plugin-vue@4.6.2(vite@4.5.1)(vue@3.4.3): + resolution: {integrity: sha512-kqf7SGFoG+80aZG6Pf+gsZIVvGSCKE98JbiWqcCV9cThtg91Jav0yvYFC9Zb+jKetNGF6ZKeoaxgZfND21fWKw==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + vite: ^4.0.0 || ^5.0.0 + vue: ^3.2.25 + dependencies: + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + vue: 3.4.3(typescript@5.2.2) + dev: true + + /@vitest/expect@0.34.6: + resolution: {integrity: sha512-QUzKpUQRc1qC7qdGo7rMK3AkETI7w18gTCUrsNnyjjJKYiuUB9+TQK3QnR1unhCnWRC0AbKv2omLGQDF/mIjOw==} + dependencies: + '@vitest/spy': 0.34.6 + '@vitest/utils': 0.34.6 + chai: 4.3.10 + dev: true + + /@vitest/runner@0.34.6: + resolution: {integrity: sha512-1CUQgtJSLF47NnhN+F9X2ycxUP0kLHQ/JWvNHbeBfwW8CzEGgeskzNnHDyv1ieKTltuR6sdIHV+nmR6kPxQqzQ==} + dependencies: + '@vitest/utils': 0.34.6 + p-limit: 4.0.0 + pathe: 1.1.1 + dev: true + + /@vitest/snapshot@0.34.6: + resolution: {integrity: sha512-B3OZqYn6k4VaN011D+ve+AA4whM4QkcwcrwaKwAbyyvS/NB1hCWjFIBQxAQQSQir9/RtyAAGuq+4RJmbn2dH4w==} + dependencies: + magic-string: 0.30.5 + pathe: 1.1.1 + pretty-format: 29.7.0 + dev: true + + /@vitest/spy@0.34.6: + resolution: {integrity: sha512-xaCvneSaeBw/cz8ySmF7ZwGvL0lBjfvqc1LpQ/vcdHEvpLn3Ff1vAvjw+CoGn0802l++5L/pxb7whwcWAw+DUQ==} + dependencies: + tinyspy: 2.2.0 + dev: true + + /@vitest/utils@0.34.6: + resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} + dependencies: + diff-sequences: 29.6.3 + loupe: 2.3.7 + pretty-format: 29.7.0 + dev: true + + /@volar/language-core@1.11.1: + resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==} + dependencies: + '@volar/source-map': 1.11.1 + dev: false + + /@volar/source-map@1.11.1: + resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==} + dependencies: + muggle-string: 0.3.1 + dev: false + + /@volar/typescript@1.11.1: + resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==} + dependencies: + '@volar/language-core': 1.11.1 + path-browserify: 1.0.1 + dev: false + + /@vue/babel-helper-vue-transform-on@1.1.5: + resolution: {integrity: sha512-SgUymFpMoAyWeYWLAY+MkCK3QEROsiUnfaw5zxOVD/M64KQs8D/4oK6Q5omVA2hnvEOE0SCkH2TZxs/jnnUj7w==} + dev: true + + /@vue/babel-plugin-jsx@1.1.5(@babel/core@7.23.7): + resolution: {integrity: sha512-nKs1/Bg9U1n3qSWnsHhCVQtAzI6aQXqua8j/bZrau8ywT1ilXQbK4FwEJGmU8fV7tcpuFvWmmN7TMmV1OBma1g==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-module-imports': 7.22.15 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.23.7) + '@babel/template': 7.22.15 + '@babel/traverse': 7.23.7 + '@babel/types': 7.23.6 + '@vue/babel-helper-vue-transform-on': 1.1.5 + camelcase: 6.3.0 + html-tags: 3.3.1 + svg-tags: 1.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@vue/compiler-core@3.4.3: + resolution: {integrity: sha512-u8jzgFg0EDtSrb/hG53Wwh1bAOQFtc1ZCegBpA/glyvTlgHl+tq13o1zvRfLbegYUw/E4mSTGOiCnAJ9SJ+lsg==} + dependencies: + '@babel/parser': 7.23.6 + '@vue/shared': 3.4.3 + entities: 4.5.0 + estree-walker: 2.0.2 + source-map-js: 1.0.2 + + /@vue/compiler-dom@3.4.3: + resolution: {integrity: sha512-oGF1E9/htI6JWj/lTJgr6UgxNCtNHbM6xKVreBWeZL9QhRGABRVoWGAzxmtBfSOd+w0Zi5BY0Es/tlJrN6WgEg==} + dependencies: + '@vue/compiler-core': 3.4.3 + '@vue/shared': 3.4.3 + + /@vue/compiler-sfc@3.4.3: + resolution: {integrity: sha512-NuJqb5is9I4uzv316VRUDYgIlPZCG8D+ARt5P4t5UDShIHKL25J3TGZAUryY/Aiy0DsY7srJnZL5ryB6DD63Zw==} + dependencies: + '@babel/parser': 7.23.6 + '@vue/compiler-core': 3.4.3 + '@vue/compiler-dom': 3.4.3 + '@vue/compiler-ssr': 3.4.3 + '@vue/shared': 3.4.3 + estree-walker: 2.0.2 + magic-string: 0.30.5 + postcss: 8.4.32 + source-map-js: 1.0.2 + + /@vue/compiler-ssr@3.4.3: + resolution: {integrity: sha512-wnYQtMBkeFSxgSSQbYGQeXPhQacQiog2c6AlvMldQH6DB+gSXK/0F6DVXAJfEiuBSgBhUc8dwrrG5JQcqwalsA==} + dependencies: + '@vue/compiler-dom': 3.4.3 + '@vue/shared': 3.4.3 + + /@vue/devtools-api@6.5.1: + resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} + + /@vue/language-core@1.8.27(typescript@5.2.2): + resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@volar/language-core': 1.11.1 + '@volar/source-map': 1.11.1 + '@vue/compiler-dom': 3.4.3 + '@vue/shared': 3.4.3 + computeds: 0.0.1 + minimatch: 9.0.3 + muggle-string: 0.3.1 + path-browserify: 1.0.1 + typescript: 5.2.2 + vue-template-compiler: 2.7.16 + dev: false + + /@vue/reactivity@3.4.3: + resolution: {integrity: sha512-q5f9HLDU+5aBKizXHAx0w4whkIANs1Muiq9R5YXm0HtorSlflqv9u/ohaMxuuhHWCji4xqpQ1eL04WvmAmGnFg==} + dependencies: + '@vue/shared': 3.4.3 + + /@vue/runtime-core@3.4.3: + resolution: {integrity: sha512-C1r6QhB1qY7D591RCSFhMULyzL9CuyrGc+3PpB0h7dU4Qqw6GNyo4BNFjHZVvsWncrUlKX3DIKg0Y7rNNr06NQ==} + dependencies: + '@vue/reactivity': 3.4.3 + '@vue/shared': 3.4.3 + + /@vue/runtime-dom@3.4.3: + resolution: {integrity: sha512-wrsprg7An5Ec+EhPngWdPuzkp0BEUxAKaQtN9dPU/iZctPyD9aaXmVtehPJerdQxQale6gEnhpnfywNw3zOv2A==} + dependencies: + '@vue/runtime-core': 3.4.3 + '@vue/shared': 3.4.3 + csstype: 3.1.3 + + /@vue/server-renderer@3.4.3(vue@3.4.3): + resolution: {integrity: sha512-BUxt8oVGMKKsqSkM1uU3d3Houyfy4WAc2SpSQRebNd+XJGATVkW/rO129jkyL+kpB/2VRKzE63zwf5RtJ3XuZw==} + peerDependencies: + vue: 3.4.3 + dependencies: + '@vue/compiler-ssr': 3.4.3 + '@vue/shared': 3.4.3 + vue: 3.4.3(typescript@5.2.2) + + /@vue/shared@3.4.3: + resolution: {integrity: sha512-rIwlkkP1n4uKrRzivAKPZIEkHiuwY5mmhMJ2nZKCBLz8lTUlE73rQh4n1OnnMurXt1vcUNyH4ZPfdh8QweTjpQ==} + + /@vue/test-utils@2.4.3(vue@3.4.3): + resolution: {integrity: sha512-F4K7mF+ad++VlTrxMJVRnenKSJmO6fkQt2wpRDiKDesQMkfpniGWsqEi/JevxGBo2qEkwwjvTUAoiGJLNx++CA==} + peerDependencies: + '@vue/server-renderer': ^3.0.1 + vue: ^3.0.1 + peerDependenciesMeta: + '@vue/server-renderer': + optional: true + dependencies: + js-beautify: 1.14.11 + vue: 3.4.3(typescript@5.2.2) + vue-component-type-helpers: 1.8.27 + dev: true + + /@vue/tsconfig@0.4.0: + resolution: {integrity: sha512-CPuIReonid9+zOG/CGTT05FXrPYATEqoDGNrEaqS4hwcw5BUNM2FguC0mOwJD4Jr16UpRVl9N0pY3P+srIbqmg==} + dev: true + + /@vueuse/core@10.7.1(vue@3.4.3): + resolution: {integrity: sha512-74mWHlaesJSWGp1ihg76vAnfVq9NTv1YT0SYhAQ6zwFNdBkkP+CKKJmVOEHcdSnLXCXYiL5e7MaewblfiYLP7g==} + dependencies: + '@types/web-bluetooth': 0.0.20 + '@vueuse/metadata': 10.7.1 + '@vueuse/shared': 10.7.1(vue@3.4.3) + vue-demi: 0.14.6(vue@3.4.3) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + + /@vueuse/head@1.3.1(vue@3.4.3): + resolution: {integrity: sha512-XCcHGfDzkGlHS7KIPJVYN//L7jpfASLsN7MUE19ndHVQLnPIDxqFLDl7IROsY81PKzawVAUe4OYVWcGixseWxA==} + peerDependencies: + vue: '>=2.7 || >=3' + dependencies: + '@unhead/dom': 1.8.9 + '@unhead/schema': 1.8.9 + '@unhead/ssr': 1.8.9 + '@unhead/vue': 1.8.9(vue@3.4.3) + vue: 3.4.3(typescript@5.2.2) + dev: false + + /@vueuse/metadata@10.7.1: + resolution: {integrity: sha512-jX8MbX5UX067DYVsbtrmKn6eG6KMcXxLRLlurGkZku5ZYT3vxgBjui2zajvUZ18QLIjrgBkFRsu7CqTAg18QFw==} + dev: false + + /@vueuse/router@10.7.1(vue-router@4.2.5)(vue@3.4.3): + resolution: {integrity: sha512-u34c+oA6hMy7q0U01hNzb9xGo7M9AHB6/F/olbdYJU7bDTKbj1SXGMhBTJuVFTvBoInV0vazrM+pN3PS6Vwhng==} + peerDependencies: + vue-router: '>=4.0.0-rc.1' + dependencies: + '@vueuse/shared': 10.7.1(vue@3.4.3) + vue-demi: 0.14.6(vue@3.4.3) + vue-router: 4.2.5(vue@3.4.3) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + + /@vueuse/shared@10.7.1(vue@3.4.3): + resolution: {integrity: sha512-v0jbRR31LSgRY/C5i5X279A/WQjD6/JsMzGa+eqt658oJ75IvQXAeONmwvEMrvJQKnRElq/frzBR7fhmWY5uLw==} + dependencies: + vue-demi: 0.14.6(vue@3.4.3) + transitivePeerDependencies: + - '@vue/composition-api' + - vue + dev: false + + /abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} + deprecated: Use your platform's native atob() and btoa() methods instead + dev: true + + /abbrev@2.0.0: + resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: true + + /acorn-jsx@5.3.2(acorn@8.11.3): + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 8.11.3 + dev: true + + /acorn-walk@8.3.1: + resolution: {integrity: sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw==} + engines: {node: '>=0.4.0'} + dev: true + + /acorn@8.11.3: + resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + engines: {node: '>=0.4.0'} + hasBin: true + + /agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + dev: true + + /ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + dev: true + + /ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + dev: true + + /ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + /ansi-regex@6.0.1: + resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + engines: {node: '>=12'} + dev: true + + /ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + dependencies: + color-convert: 1.9.3 + dev: true + + /ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + dependencies: + color-convert: 2.0.1 + + /ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + dev: true + + /ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + dev: true + + /anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + + /are-docs-informative@0.0.2: + resolution: {integrity: sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==} + engines: {node: '>=14'} + dev: true + + /argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + dependencies: + sprintf-js: 1.0.3 + + /argparse@2.0.1: + resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + + /array-buffer-byte-length@1.0.0: + resolution: {integrity: sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==} + dependencies: + call-bind: 1.0.5 + is-array-buffer: 3.0.2 + dev: true + + /array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + dev: true + + /arraybuffer.prototype.slice@1.0.2: + resolution: {integrity: sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==} + engines: {node: '>= 0.4'} + dependencies: + array-buffer-byte-length: 1.0.0 + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + get-intrinsic: 1.2.2 + is-array-buffer: 3.0.2 + is-shared-array-buffer: 1.0.2 + dev: true + + /assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + + /async-validator@4.2.5: + resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} + dev: false + + /async@3.2.5: + resolution: {integrity: sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==} + dev: true + + /asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: true + + /at-least-node@1.0.0: + resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} + engines: {node: '>= 4.0.0'} + dev: true + + /available-typed-arrays@1.0.5: + resolution: {integrity: sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==} + engines: {node: '>= 0.4'} + dev: true + + /babel-plugin-polyfill-corejs2@0.4.7(@babel/core@7.23.7): + resolution: {integrity: sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/compat-data': 7.23.5 + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-polyfill-corejs3@0.8.7(@babel/core@7.23.7): + resolution: {integrity: sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) + core-js-compat: 3.35.0 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-polyfill-regenerator@0.5.4(@babel/core@7.23.7): + resolution: {integrity: sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg==} + peerDependencies: + '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 + dependencies: + '@babel/core': 7.23.7 + '@babel/helper-define-polyfill-provider': 0.4.4(@babel/core@7.23.7) + transitivePeerDependencies: + - supports-color + dev: true + + /balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + /base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + + /bcryptjs@2.4.3: + resolution: {integrity: sha512-V/Hy/X9Vt7f3BbPJEi8BdVFMByHi+jNXrYkW3huaybV/kQ0KJg0Y6PkEMbn+zeT+i+SiKZ/HMqJGIIt4LZDqNQ==} + dev: false + + /binary-extensions@2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + + /bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + dev: true + + /boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + dev: true + + /brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + /brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + dependencies: + balanced-match: 1.0.2 + + /braces@3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + + /browserslist@4.22.2: + resolution: {integrity: sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001572 + electron-to-chromium: 1.4.617 + node-releases: 2.0.14 + update-browserslist-db: 1.0.13(browserslist@4.22.2) + dev: true + + /buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + dev: true + + /builtin-modules@3.3.0: + resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} + engines: {node: '>=6'} + dev: true + + /builtins@5.0.1: + resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} + dependencies: + semver: 7.5.4 + dev: true + + /cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: true + + /call-bind@1.0.5: + resolution: {integrity: sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==} + dependencies: + function-bind: 1.1.2 + get-intrinsic: 1.2.2 + set-function-length: 1.1.1 + dev: true + + /callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + dev: true + + /camel-case@3.0.0: + resolution: {integrity: sha512-+MbKztAYHXPr1jNTSKQF52VpcFjwY5RkR7fxksV8Doo4KAYc5Fl4UJRgthBbTmEx8C54DqahhbLJkDwjI3PI/w==} + dependencies: + no-case: 2.3.2 + upper-case: 1.1.3 + dev: true + + /camel-case@4.1.2: + resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} + dependencies: + pascal-case: 3.1.2 + tslib: 2.6.2 + dev: false + + /camelcase@5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + dev: false + + /camelcase@6.3.0: + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} + dev: true + + /caniuse-lite@1.0.30001572: + resolution: {integrity: sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw==} + dev: true + + /capital-case@1.0.4: + resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + upper-case-first: 2.0.2 + dev: false + + /case-anything@2.1.13: + resolution: {integrity: sha512-zlOQ80VrQ2Ue+ymH5OuM/DlDq64mEm+B9UTdHULv5osUMD6HalNTblf2b1u/m6QecjsnOkBpqVZ+XPwIVsy7Ng==} + engines: {node: '>=12.13'} + dev: false + + /chai@4.3.10: + resolution: {integrity: sha512-0UXG04VuVbruMUYbJ6JctvH0YnC/4q3/AkT18q4NaITo91CUm0liMS9VqzT9vZhVQ/1eqPanMWjBM+Juhfb/9g==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 4.1.3 + get-func-name: 2.0.2 + loupe: 2.3.7 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + + /chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + dev: true + + /chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + dev: true + + /chalk@5.3.0: + resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + dev: true + + /change-case@3.1.0: + resolution: {integrity: sha512-2AZp7uJZbYEzRPsFoa+ijKdvp9zsrnnt6+yFokfwEpeJm0xuJDVoxiRCAaTzyJND8GJkofo2IcKWaUZ/OECVzw==} + dependencies: + camel-case: 3.0.0 + constant-case: 2.0.0 + dot-case: 2.1.1 + header-case: 1.0.1 + is-lower-case: 1.1.3 + is-upper-case: 1.1.2 + lower-case: 1.1.4 + lower-case-first: 1.0.2 + no-case: 2.3.2 + param-case: 2.1.1 + pascal-case: 2.0.1 + path-case: 2.1.1 + sentence-case: 2.1.1 + snake-case: 2.1.0 + swap-case: 1.1.2 + title-case: 2.1.1 + upper-case: 1.1.3 + upper-case-first: 1.1.2 + dev: true + + /change-case@4.1.2: + resolution: {integrity: sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A==} + dependencies: + camel-case: 4.1.2 + capital-case: 1.0.4 + constant-case: 3.0.4 + dot-case: 3.0.4 + header-case: 2.0.4 + no-case: 3.0.4 + param-case: 3.0.4 + pascal-case: 3.1.2 + path-case: 3.0.4 + sentence-case: 3.0.4 + snake-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /character-entities-legacy@1.1.4: + resolution: {integrity: sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==} + dev: true + + /character-entities@1.2.4: + resolution: {integrity: sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==} + dev: true + + /character-reference-invalid@1.1.4: + resolution: {integrity: sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==} + dev: true + + /check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + dependencies: + get-func-name: 2.0.2 + dev: true + + /chokidar@3.5.3: + resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + + /ci-info@3.9.0: + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} + dev: true + + /clean-regexp@1.0.0: + resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} + engines: {node: '>=4'} + dependencies: + escape-string-regexp: 1.0.5 + dev: true + + /cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + dependencies: + restore-cursor: 3.1.0 + dev: true + + /cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + dev: true + + /cliui@6.0.0: + resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + dev: false + + /clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + dev: true + + /color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + dependencies: + color-name: 1.1.3 + dev: true + + /color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + dependencies: + color-name: 1.1.4 + + /color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + dev: true + + /color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + /colord@2.9.3: + resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} + dev: false + + /colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + dev: true + + /combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: true + + /commander@10.0.1: + resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} + engines: {node: '>=14'} + + /commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + /commander@7.2.0: + resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} + engines: {node: '>= 10'} + dev: true + + /comment-parser@1.4.1: + resolution: {integrity: sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==} + engines: {node: '>= 12.0.0'} + dev: true + + /common-tags@1.8.2: + resolution: {integrity: sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==} + engines: {node: '>=4.0.0'} + dev: true + + /complex.js@2.1.1: + resolution: {integrity: sha512-8njCHOTtFFLtegk6zQo0kkVX1rngygb/KQI6z1qZxlFI3scluC+LVTCFbrkWjBv4vvLlbQ9t88IPMC6k95VTTg==} + dev: false + + /composerize-ts@0.6.2: + resolution: {integrity: sha512-8tw5p/FBxg77ubjVftaXA+pknWbkUgbZ4rbZZs2yFUsj2yvO38IvtfpGLfaJ9mGFj324lFEr/OU9xULrKSF9Ag==} + hasBin: true + dependencies: + commander: 10.0.1 + deepmerge-ts: 5.1.0 + flex-js: 1.0.5 + ip-cidr: 3.1.0 + set-value: 4.1.0 + yamljs: 0.3.0 + dev: false + + /computeds@0.0.1: + resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==} + dev: false + + /concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + /config-chain@1.1.13: + resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} + dependencies: + ini: 1.3.8 + proto-list: 1.2.4 + dev: true + + /consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + dev: true + + /constant-case@2.0.0: + resolution: {integrity: sha512-eS0N9WwmjTqrOmR3o83F5vW8Z+9R1HnVz3xmzT2PMFug9ly+Au/fxRWlEBSb6LcZwspSsEn9Xs1uw9YgzAg1EQ==} + dependencies: + snake-case: 2.1.0 + upper-case: 1.1.3 + dev: true + + /constant-case@3.0.4: + resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + upper-case: 2.0.2 + dev: false + + /convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + dev: true + + /copy-anything@2.0.6: + resolution: {integrity: sha512-1j20GZTsvKNkc4BY3NpMOM8tt///wY3FpIzozTOFO2ffuZcV61nojHXVKIy3WM+7ADCy5FVhdZYHYDdgTU0yJw==} + dependencies: + is-what: 3.14.1 + dev: true + + /core-js-compat@3.35.0: + resolution: {integrity: sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw==} + dependencies: + browserslist: 4.22.2 + dev: true + + /country-code-lookup@0.1.1: + resolution: {integrity: sha512-g3yr9E8oCnlRo1PNHwHEQEjY4aDszS/H35gQZ21ToXd0eoydUAXWACTNYqiL6Tp0gMn+1l+ebErwT2PKw5c88Q==} + dev: false + + /crelt@1.0.6: + resolution: {integrity: sha512-VQ2MBenTq1fWZUH9DJNGti7kKv6EeAuYr3cLwxUWhIu1baTaXh4Ib5W2CqHVqib4/MqbYGJqiL3Zb8GJZr3l4g==} + dev: false + + /cron-validator@1.3.1: + resolution: {integrity: sha512-C1HsxuPCY/5opR55G5/WNzyEGDWFVG+6GLrA+fW/sCTcP6A6NTjUP2AK7B8n2PyFs90kDG2qzwm8LMheADku6A==} + dev: false + + /cronstrue@2.47.0: + resolution: {integrity: sha512-fnFwJy7zslTEz6h7O7BkwgHNBvuuPmkhAYKqPDxK5mBQLz2nG08T9afbnjm+yrvcc/wxrd+otaVSnoXT9ulUOw==} + hasBin: true + dev: false + + /cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + + /crypto-js@4.2.0: + resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==} + dev: false + + /crypto-random-string@2.0.0: + resolution: {integrity: sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA==} + engines: {node: '>=8'} + dev: true + + /css-render@0.15.12: + resolution: {integrity: sha512-eWzS66patiGkTTik+ipO9qNGZ+uNuGyTmnz6/+EJIiFg8+3yZRpnMwgFo8YdXhQRsiePzehnusrxVvugNjXzbw==} + dependencies: + '@emotion/hash': 0.8.0 + csstype: 3.0.11 + dev: false + + /css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.1.0 + nth-check: 2.1.1 + dev: true + + /css-tree@2.2.1: + resolution: {integrity: sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + dependencies: + mdn-data: 2.0.28 + source-map-js: 1.0.2 + dev: true + + /css-tree@2.3.1: + resolution: {integrity: sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} + dependencies: + mdn-data: 2.0.30 + source-map-js: 1.0.2 + dev: true + + /css-what@6.1.0: + resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + engines: {node: '>= 6'} + dev: true + + /cssesc@3.0.0: + resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /csso@5.0.5: + resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} + engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} + dependencies: + css-tree: 2.2.1 + dev: true + + /cssstyle@3.0.0: + resolution: {integrity: sha512-N4u2ABATi3Qplzf0hWbVCdjenim8F3ojEXpBDF5hBpjzW182MjNGLqfmQ0SkSPeQ+V86ZXgeH8aXj6kayd4jgg==} + engines: {node: '>=14'} + dependencies: + rrweb-cssom: 0.6.0 + dev: true + + /csstype@3.0.11: + resolution: {integrity: sha512-sa6P2wJ+CAbgyy4KFssIb/JNMLxFvKF1pCYCSXS8ZMuqZnMsrxqI2E5sPyoTpxoPU/gVZMzr2zjOfg8GIZOMsw==} + dev: false + + /csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + + /dash-get@1.0.2: + resolution: {integrity: sha512-4FbVrHDwfOASx7uQVxeiCTo7ggSdYZbqs8lH+WU6ViypPlDbe9y6IP5VVUDQBv9DcnyaiPT5XT0UWHgJ64zLeQ==} + dev: false + + /data-uri-to-buffer@4.0.1: + resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} + engines: {node: '>= 12'} + dev: true + + /data-urls@4.0.0: + resolution: {integrity: sha512-/mMTei/JXPqvFqQtfyTowxmJVwr2PVAeCcDxyFf6LhoOu/09TX2OX3kb2wzi4DMXcfj4OItwDOnhl5oziPnT6g==} + engines: {node: '>=14'} + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + dev: true + + /date-fns-tz@2.0.0(date-fns@2.30.0): + resolution: {integrity: sha512-OAtcLdB9vxSXTWHdT8b398ARImVwQMyjfYGkKD2zaGpHseG2UPHbHjXELReErZFxWdSLph3c2zOaaTyHfOhERQ==} + peerDependencies: + date-fns: '>=2.0.0' + dependencies: + date-fns: 2.30.0 + dev: false + + /date-fns@2.30.0: + resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} + engines: {node: '>=0.11'} + dependencies: + '@babel/runtime': 7.23.7 + dev: false + + /de-indent@1.0.2: + resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} + dev: false + + /debug@3.2.7: + resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.3 + dev: true + + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: true + + /decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + dev: false + + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + + /deep-eql@4.1.3: + resolution: {integrity: sha512-WaEtAOpRA1MQ0eohqZjpGD8zdI0Ovsm8mmFhaDN8dvDZzyoUMcYDnf5Y6iu7HTXxf8JDS23qWa4a+hKCDyOPzw==} + engines: {node: '>=6'} + dependencies: + type-detect: 4.0.8 + dev: true + + /deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + dev: true + + /deepmerge-ts@5.1.0: + resolution: {integrity: sha512-eS8dRJOckyo9maw9Tu5O5RUi/4inFLrnoLkBe3cPfDMx3WZioXtmOew4TXQaxq7Rhl4xjDtR7c6x8nNTxOvbFw==} + engines: {node: '>=16.0.0'} + dev: false + + /deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + + /defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + dependencies: + clone: 1.0.4 + dev: true + + /define-data-property@1.1.1: + resolution: {integrity: sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.2 + gopd: 1.0.1 + has-property-descriptors: 1.0.1 + dev: true + + /define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.1 + has-property-descriptors: 1.0.1 + object-keys: 1.1.1 + dev: true + + /defu@6.1.3: + resolution: {integrity: sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ==} + dev: true + + /degit@2.8.4: + resolution: {integrity: sha512-vqYuzmSA5I50J882jd+AbAhQtgK6bdKUJIex1JNfEUPENCgYsxugzKVZlFyMwV4i06MmnV47/Iqi5Io86zf3Ng==} + engines: {node: '>=8.0.0'} + hasBin: true + dev: true + + /delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + dev: true + + /destr@2.0.2: + resolution: {integrity: sha512-65AlobnZMiCET00KaFFjUefxDX0khFA/E4myqZ7a6Sq1yZtR8+FVIvilVX66vF2uobSumxooYZChiRPCKNqhmg==} + dev: true + + /diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + + /dijkstrajs@1.0.3: + resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==} + dev: false + + /dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + dependencies: + path-type: 4.0.0 + dev: true + + /discontinuous-range@1.0.0: + resolution: {integrity: sha512-c68LpLbO+7kP/b1Hr1qs8/BJ09F5khZGTxqxZuhzxpmwJKOgRFHJWIb9/KmqnqHhLdO55aOxFH/EGBvUQbL/RQ==} + dev: false + + /doctrine@2.1.0: + resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==} + engines: {node: '>=0.10.0'} + dependencies: + esutils: 2.0.3 + dev: true + + /doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + dependencies: + esutils: 2.0.3 + dev: true + + /dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + dev: true + + /domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + dev: true + + /domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + deprecated: Use your platform's native DOMException instead + dependencies: + webidl-conversions: 7.0.0 + dev: true + + /domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + dependencies: + domelementtype: 2.3.0 + dev: true + + /dompurify@3.0.6: + resolution: {integrity: sha512-ilkD8YEnnGh1zJ240uJsW7AzE+2qpbOUYjacomn3AvJ6J4JhKGSZ2nh4wUIXPZrEPppaCLx5jFe8T89Rk8tQ7w==} + dev: false + + /domutils@3.1.0: + resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + dev: true + + /dot-case@2.1.1: + resolution: {integrity: sha512-HnM6ZlFqcajLsyudHq7LeeLDr2rFAVYtDv/hV5qchQEidSck8j9OPUsXY9KwJv/lHMtYlX4DjRQqwFYa+0r8Ug==} + dependencies: + no-case: 2.3.2 + dev: true + + /dot-case@3.0.4: + resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /duplexer@0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + dev: true + + /eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + dev: true + + /editorconfig@1.0.4: + resolution: {integrity: sha512-L9Qe08KWTlqYMVvMcTIvMAdl1cDUubzRNYL+WfA4bLDMHe4nemKkpmYzkznE1FwLKu0EEmy6obgQKzMJrg4x9Q==} + engines: {node: '>=14'} + hasBin: true + dependencies: + '@one-ini/wasm': 0.1.1 + commander: 10.0.1 + minimatch: 9.0.1 + semver: 7.5.4 + dev: true + + /ejs@3.1.9: + resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} + engines: {node: '>=0.10.0'} + hasBin: true + dependencies: + jake: 10.8.7 + dev: true + + /electron-to-chromium@1.4.617: + resolution: {integrity: sha512-sYNE3QxcDS4ANW1k4S/wWYMXjCVcFSOX3Bg8jpuMFaXt/x8JCmp0R1Xe1ZXDX4WXnSRBf+GJ/3eGWicUuQq5cg==} + dev: true + + /emitter-component@1.1.2: + resolution: {integrity: sha512-QdXO3nXOzZB4pAjM0n6ZE+R9/+kPpECA/XSELIcc54NeYVnBqIk+4DFiBgK+8QbV3mdvTG6nedl7dTYgO+5wDw==} + dev: false + + /emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + /emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + dev: true + + /emojilib@3.0.11: + resolution: {integrity: sha512-OuML9z640prB+0Rms1RgzJrBAqNC9mFdqT2HeFcXSGSGNEiZh9adsaPPxWbqRoMyJPzu+zNKPyGKv4/sPmJDyg==} + dev: false + + /encode-utf8@1.0.3: + resolution: {integrity: sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==} + dev: false + + /enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + dev: true + + /entities@3.0.1: + resolution: {integrity: sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==} + engines: {node: '>=0.12'} + dev: true + + /entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + + /errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + requiresBuild: true + dependencies: + prr: 1.0.1 + dev: true + optional: true + + /error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + dependencies: + is-arrayish: 0.2.1 + dev: true + + /es-abstract@1.22.3: + resolution: {integrity: sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==} + engines: {node: '>= 0.4'} + dependencies: + array-buffer-byte-length: 1.0.0 + arraybuffer.prototype.slice: 1.0.2 + available-typed-arrays: 1.0.5 + call-bind: 1.0.5 + es-set-tostringtag: 2.0.2 + es-to-primitive: 1.2.1 + function.prototype.name: 1.1.6 + get-intrinsic: 1.2.2 + get-symbol-description: 1.0.0 + globalthis: 1.0.3 + gopd: 1.0.1 + has-property-descriptors: 1.0.1 + has-proto: 1.0.1 + has-symbols: 1.0.3 + hasown: 2.0.0 + internal-slot: 1.0.6 + is-array-buffer: 3.0.2 + is-callable: 1.2.7 + is-negative-zero: 2.0.2 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.2 + is-string: 1.0.7 + is-typed-array: 1.1.12 + is-weakref: 1.0.2 + object-inspect: 1.13.1 + object-keys: 1.1.1 + object.assign: 4.1.5 + regexp.prototype.flags: 1.5.1 + safe-array-concat: 1.0.1 + safe-regex-test: 1.0.0 + string.prototype.trim: 1.2.8 + string.prototype.trimend: 1.0.7 + string.prototype.trimstart: 1.0.7 + typed-array-buffer: 1.0.0 + typed-array-byte-length: 1.0.0 + typed-array-byte-offset: 1.0.0 + typed-array-length: 1.0.4 + unbox-primitive: 1.0.2 + which-typed-array: 1.1.13 + dev: true + + /es-set-tostringtag@2.0.2: + resolution: {integrity: sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.2 + has-tostringtag: 1.0.0 + hasown: 2.0.0 + dev: true + + /es-to-primitive@1.2.1: + resolution: {integrity: sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==} + engines: {node: '>= 0.4'} + dependencies: + is-callable: 1.2.7 + is-date-object: 1.0.5 + is-symbol: 1.0.4 + dev: true + + /esbuild@0.18.20: + resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.18.20 + '@esbuild/android-arm64': 0.18.20 + '@esbuild/android-x64': 0.18.20 + '@esbuild/darwin-arm64': 0.18.20 + '@esbuild/darwin-x64': 0.18.20 + '@esbuild/freebsd-arm64': 0.18.20 + '@esbuild/freebsd-x64': 0.18.20 + '@esbuild/linux-arm': 0.18.20 + '@esbuild/linux-arm64': 0.18.20 + '@esbuild/linux-ia32': 0.18.20 + '@esbuild/linux-loong64': 0.18.20 + '@esbuild/linux-mips64el': 0.18.20 + '@esbuild/linux-ppc64': 0.18.20 + '@esbuild/linux-riscv64': 0.18.20 + '@esbuild/linux-s390x': 0.18.20 + '@esbuild/linux-x64': 0.18.20 + '@esbuild/netbsd-x64': 0.18.20 + '@esbuild/openbsd-x64': 0.18.20 + '@esbuild/sunos-x64': 0.18.20 + '@esbuild/win32-arm64': 0.18.20 + '@esbuild/win32-ia32': 0.18.20 + '@esbuild/win32-x64': 0.18.20 + dev: true + + /escalade@3.1.1: + resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} + engines: {node: '>=6'} + dev: true + + /escape-latex@1.2.0: + resolution: {integrity: sha512-nV5aVWW1K0wEiUIEdZ4erkGGH8mDxGyxSeqPzRNtWP7ataw+/olFObw7hujFWlVjNsaDFw5VZ5NzVSIqRgfTiw==} + dev: false + + /escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + dev: true + + /escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + /escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + dev: false + + /escodegen@2.1.0: + resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} + engines: {node: '>=6.0'} + hasBin: true + dependencies: + esprima: 4.0.1 + estraverse: 5.3.0 + esutils: 2.0.3 + optionalDependencies: + source-map: 0.6.1 + dev: true + + /eslint-compat-utils@0.1.2(eslint@8.56.0): + resolution: {integrity: sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==} + engines: {node: '>=12'} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + eslint: 8.56.0 + dev: true + + /eslint-import-resolver-node@0.3.9: + resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} + dependencies: + debug: 3.2.7 + is-core-module: 2.13.1 + resolve: 1.22.8 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.17.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0): + resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} + engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint: '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint: + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true + dependencies: + '@typescript-eslint/parser': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + debug: 3.2.7 + eslint: 8.56.0 + eslint-import-resolver-node: 0.3.9 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-plugin-antfu@0.41.4(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-naDIFqCW/7vFIz/TZNuapLEjGd8XoWFot0h8SStbqUIcdXFKc0MgDXCKtHQIyJp6plkKiucOW3gZJ0jjYrc3Qg==} + dependencies: + '@typescript-eslint/utils': 6.17.0(eslint@8.56.0)(typescript@5.2.2) + transitivePeerDependencies: + - eslint + - supports-color + - typescript + dev: true + + /eslint-plugin-es-x@7.5.0(eslint@8.56.0): + resolution: {integrity: sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==} + engines: {node: ^14.18.0 || >=16.0.0} + peerDependencies: + eslint: '>=8' + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/regexpp': 4.10.0 + eslint: 8.56.0 + eslint-compat-utils: 0.1.2(eslint@8.56.0) + dev: true + + /eslint-plugin-eslint-comments@3.2.0(eslint@8.56.0): + resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} + engines: {node: '>=6.5.0'} + peerDependencies: + eslint: '>=4.19.1' + dependencies: + escape-string-regexp: 1.0.5 + eslint: 8.56.0 + ignore: 5.3.0 + dev: true + + /eslint-plugin-html@7.1.0: + resolution: {integrity: sha512-fNLRraV/e6j8e3XYOC9xgND4j+U7b1Rq+OygMlLcMg+wI/IpVbF+ubQa3R78EjKB9njT6TQOlcK5rFKBVVtdfg==} + dependencies: + htmlparser2: 8.0.2 + dev: true + + /eslint-plugin-i@2.28.1(@typescript-eslint/parser@6.17.0)(eslint@8.56.0): + resolution: {integrity: sha512-a4oVt0j3ixNhGhvV4XF6NS7OWRFK2rrJ0Q5C4S2dSRb8FxZi31J0uUd5WJLL58wnVJ/OiQ1BxiXnFA4dWQO1Cg==} + engines: {node: '>=12'} + peerDependencies: + eslint: ^7.2.0 || ^8 + dependencies: + debug: 3.2.7 + doctrine: 2.1.0 + eslint: 8.56.0 + eslint-import-resolver-node: 0.3.9 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.17.0)(eslint-import-resolver-node@0.3.9)(eslint@8.56.0) + get-tsconfig: 4.7.2 + is-glob: 4.0.3 + minimatch: 3.1.2 + resolve: 1.22.8 + semver: 7.5.4 + transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color + dev: true + + /eslint-plugin-jest@27.6.1(@typescript-eslint/eslint-plugin@6.17.0)(eslint@8.56.0)(typescript@5.2.2): + resolution: {integrity: sha512-WEYkyVXD9NlmFBKvrkmzrC+C9yZoz5pAml2hO19PlS3spJtoiwj4p2u8spd/7zx5IvRsZsCmsoImaAvBB9X93Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 + eslint: ^7.0.0 || ^8.0.0 + jest: '*' + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + jest: + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.56.0)(typescript@5.2.2) + eslint: 8.56.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /eslint-plugin-jsdoc@46.10.1(eslint@8.56.0): + resolution: {integrity: sha512-x8wxIpv00Y50NyweDUpa+58ffgSAI5sqe+zcZh33xphD0AVh+1kqr1ombaTRb7Fhpove1zfUuujlX9DWWBP5ag==} + engines: {node: '>=16'} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 + dependencies: + '@es-joy/jsdoccomment': 0.41.0 + are-docs-informative: 0.0.2 + comment-parser: 1.4.1 + debug: 4.3.4 + escape-string-regexp: 4.0.0 + eslint: 8.56.0 + esquery: 1.5.0 + is-builtin-module: 3.2.1 + semver: 7.5.4 + spdx-expression-parse: 4.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-plugin-jsonc@2.11.2(eslint@8.56.0): + resolution: {integrity: sha512-F6A0MZhIGRBPOswzzn4tJFXXkPLiLwJaMlQwz/Qj1qx+bV5MCn79vBeJh2ynMmtqqHloi54KDCnsT/KWrcCcnQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + eslint: 8.56.0 + eslint-compat-utils: 0.1.2(eslint@8.56.0) + espree: 9.6.1 + graphemer: 1.4.0 + jsonc-eslint-parser: 2.4.0 + natural-compare: 1.4.0 + dev: true + + /eslint-plugin-markdown@3.0.1(eslint@8.56.0): + resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + eslint: 8.56.0 + mdast-util-from-markdown: 0.8.5 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-plugin-n@16.6.1(eslint@8.56.0): + resolution: {integrity: sha512-M1kE5bVQRLBMDYRZwDhWzlzbp370SRRRC1MHqq4I3L2Tatey+9/2csc5mwLDPlmhJaDvkojbrNUME5/llpRyDg==} + engines: {node: '>=16.0.0'} + peerDependencies: + eslint: '>=7.0.0' + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + builtins: 5.0.1 + eslint: 8.56.0 + eslint-plugin-es-x: 7.5.0(eslint@8.56.0) + get-tsconfig: 4.7.2 + globals: 13.24.0 + ignore: 5.3.0 + is-builtin-module: 3.2.1 + is-core-module: 2.13.1 + minimatch: 3.1.2 + resolve: 1.22.8 + semver: 7.5.4 + dev: true + + /eslint-plugin-no-only-tests@3.1.0: + resolution: {integrity: sha512-Lf4YW/bL6Un1R6A76pRZyE1dl1vr31G/ev8UzIc/geCgFWyrKil8hVjYqWVKGB/UIGmb6Slzs9T0wNezdSVegw==} + engines: {node: '>=5.0.0'} + dev: true + + /eslint-plugin-promise@6.1.1(eslint@8.56.0): + resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + eslint: 8.56.0 + dev: true + + /eslint-plugin-unicorn@48.0.1(eslint@8.56.0): + resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} + engines: {node: '>=16'} + peerDependencies: + eslint: '>=8.44.0' + dependencies: + '@babel/helper-validator-identifier': 7.22.20 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + ci-info: 3.9.0 + clean-regexp: 1.0.0 + eslint: 8.56.0 + esquery: 1.5.0 + indent-string: 4.0.0 + is-builtin-module: 3.2.1 + jsesc: 3.0.2 + lodash: 4.17.21 + pluralize: 8.0.0 + read-pkg-up: 7.0.1 + regexp-tree: 0.1.27 + regjsparser: 0.10.0 + semver: 7.5.4 + strip-indent: 3.0.0 + dev: true + + /eslint-plugin-unused-imports@3.0.0(@typescript-eslint/eslint-plugin@6.17.0)(eslint@8.56.0): + resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + '@typescript-eslint/eslint-plugin': ^6.0.0 + eslint: ^8.0.0 + peerDependenciesMeta: + '@typescript-eslint/eslint-plugin': + optional: true + dependencies: + '@typescript-eslint/eslint-plugin': 6.17.0(@typescript-eslint/parser@6.17.0)(eslint@8.56.0)(typescript@5.2.2) + eslint: 8.56.0 + eslint-rule-composer: 0.3.0 + dev: true + + /eslint-plugin-vue@9.19.2(eslint@8.56.0): + resolution: {integrity: sha512-CPDqTOG2K4Ni2o4J5wixkLVNwgctKXFu6oBpVJlpNq7f38lh9I80pRTouZSJ2MAebPJlINU/KTFSXyQfBUlymA==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + eslint: 8.56.0 + natural-compare: 1.4.0 + nth-check: 2.1.1 + postcss-selector-parser: 6.0.15 + semver: 7.5.4 + vue-eslint-parser: 9.3.2(eslint@8.56.0) + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-plugin-yml@1.11.0(eslint@8.56.0): + resolution: {integrity: sha512-NBZP1NDGy0u38pY5ieix75jxS9GNOJy9xd4gQa0rU4gWbfEsVhKDwuFaQ6RJpDbv6Lq5TtcAZS/YnAc0oeRw0w==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + debug: 4.3.4 + eslint: 8.56.0 + eslint-compat-utils: 0.1.2(eslint@8.56.0) + lodash: 4.17.21 + natural-compare: 1.4.0 + yaml-eslint-parser: 1.2.2 + transitivePeerDependencies: + - supports-color + dev: true + + /eslint-rule-composer@0.3.0: + resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} + engines: {node: '>=4.0.0'} + dev: true + + /eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + dev: true + + /eslint-visitor-keys@3.4.3: + resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dev: true + + /eslint@8.56.0: + resolution: {integrity: sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + hasBin: true + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0) + '@eslint-community/regexpp': 4.10.0 + '@eslint/eslintrc': 2.1.4 + '@eslint/js': 8.56.0 + '@humanwhocodes/config-array': 0.11.13 + '@humanwhocodes/module-importer': 1.0.1 + '@nodelib/fs.walk': 1.2.8 + '@ungap/structured-clone': 1.2.0 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.3 + debug: 4.3.4 + doctrine: 3.0.0 + escape-string-regexp: 4.0.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.5.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 6.0.1 + find-up: 5.0.0 + glob-parent: 6.0.2 + globals: 13.24.0 + graphemer: 1.4.0 + ignore: 5.3.0 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + is-path-inside: 3.0.3 + js-yaml: 4.1.0 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.4.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.3 + strip-ansi: 6.0.1 + text-table: 0.2.0 + transitivePeerDependencies: + - supports-color + dev: true + + /espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.11.3 + acorn-jsx: 5.3.2(acorn@8.11.3) + eslint-visitor-keys: 3.4.3 + dev: true + + /esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /esquery@1.5.0: + resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} + engines: {node: '>=0.10'} + dependencies: + estraverse: 5.3.0 + dev: true + + /esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + dependencies: + estraverse: 5.3.0 + dev: true + + /estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + dev: true + + /estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + dev: true + + /estree-walker@1.0.1: + resolution: {integrity: sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==} + dev: true + + /estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + /estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + dependencies: + '@types/estree': 1.0.5 + dev: false + + /esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + dev: true + + /event-stream@3.3.4: + resolution: {integrity: sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==} + dependencies: + duplexer: 0.1.2 + from: 0.1.7 + map-stream: 0.1.0 + pause-stream: 0.0.11 + split: 0.3.3 + stream-combiner: 0.0.4 + through: 2.3.8 + dev: true + + /evtd@0.2.4: + resolution: {integrity: sha512-qaeGN5bx63s/AXgQo8gj6fBkxge+OoLddLniox5qtLAEY5HSnuSlISXVPxnSae1dWblvTh4/HoMIB+mbMsvZzw==} + dev: false + + /execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + dev: true + + /extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: 0.1.1 + dev: true + + /fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + + /fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + dev: true + + /fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + dev: true + + /fastq@1.16.0: + resolution: {integrity: sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==} + dependencies: + reusify: 1.0.4 + + /fetch-blob@3.2.0: + resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} + engines: {node: ^12.20 || >= 14.13} + dependencies: + node-domexception: 1.0.0 + web-streams-polyfill: 3.2.1 + dev: true + + /figue@1.2.0: + resolution: {integrity: sha512-CXKr12kiNWjKtUK3X+YHeXKepn80s9Rg6pgZXoLQYEybgwaGJ9uGW4DrBrVK30ZWZf1mcvTbXF56AcovG7gLVw==} + dependencies: + lodash: 4.17.21 + dev: false + + /file-entry-cache@6.0.1: + resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} + engines: {node: ^10.12.0 || >=12.0.0} + dependencies: + flat-cache: 3.2.0 + dev: true + + /filelist@1.0.4: + resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} + dependencies: + minimatch: 5.1.6 + dev: true + + /fill-range@7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + + /find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + + /find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: true + + /flat-cache@3.2.0: + resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} + engines: {node: ^10.12.0 || >=12.0.0} + dependencies: + flatted: 3.2.9 + keyv: 4.5.4 + rimraf: 3.0.2 + dev: true + + /flatted@3.2.9: + resolution: {integrity: sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==} + dev: true + + /flex-js@1.0.5: + resolution: {integrity: sha512-Z5uoLzOGtTB/nzaTVVBbwmxOHBzHovAGJHLXE1TUKsQuN1RRWMOWeA08J9RRKtAl9TH9tkaH6fpjA4sLf0DzQw==} + dev: false + + /for-each@0.3.3: + resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + dependencies: + is-callable: 1.2.7 + dev: true + + /foreground-child@3.1.1: + resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + engines: {node: '>=14'} + dependencies: + cross-spawn: 7.0.3 + signal-exit: 4.1.0 + dev: true + + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: true + + /formdata-polyfill@4.0.10: + resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} + engines: {node: '>=12.20.0'} + dependencies: + fetch-blob: 3.2.0 + dev: true + + /fraction.js@4.3.4: + resolution: {integrity: sha512-pwiTgt0Q7t+GHZA4yaLjObx4vXmmdcS0iSJ19o8d/goUGgItX9UZWKWNnLHehxviD8wU2IWRsnR8cD5+yOJP2Q==} + dev: false + + /from@0.1.7: + resolution: {integrity: sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g==} + dev: true + + /front-matter@4.0.2: + resolution: {integrity: sha512-I8ZuJ/qG92NWX8i5x1Y8qyj3vizhXS31OxjKDu3LKP+7/qBgfIKValiZIEwoVoJKUHlhWtYrktkxV1XsX+pPlg==} + dependencies: + js-yaml: 3.14.1 + dev: true + + /fs-extra@10.1.0: + resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} + engines: {node: '>=12'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + dev: true + + /fs-extra@11.2.0: + resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} + engines: {node: '>=14.14'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + dev: true + + /fs-extra@9.1.0: + resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} + engines: {node: '>=10'} + dependencies: + at-least-node: 1.0.0 + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.1 + dev: true + + /fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + /fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + optional: true + + /function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + dev: true + + /function.prototype.name@1.1.6: + resolution: {integrity: sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + functions-have-names: 1.2.3 + dev: true + + /functions-have-names@1.2.3: + resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + dev: true + + /fuse.js@6.6.2: + resolution: {integrity: sha512-cJaJkxCCxC8qIIcPBF9yGxY0W/tVZS3uEISDxhYIdtk8OL93pe+6Zj7LjCqVV4dzbqcriOZ+kQ/NE4RXZHsIGA==} + engines: {node: '>=10'} + dev: false + + /fx@31.0.0: + resolution: {integrity: sha512-OoeYSPKqNKmfnH4s+rGYI0c8OZmqqOOXsUtqy0YyHqQQoQSDiDs3m3M9uXKx5OQR+jDx7/FhYqpO3kl/As/xgg==} + hasBin: true + dev: true + + /gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + dev: true + + /get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + dev: false + + /get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + dev: true + + /get-intrinsic@1.2.2: + resolution: {integrity: sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==} + dependencies: + function-bind: 1.1.2 + has-proto: 1.0.1 + has-symbols: 1.0.3 + hasown: 2.0.0 + dev: true + + /get-own-enumerable-property-symbols@3.0.2: + resolution: {integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==} + dev: true + + /get-stdin@8.0.0: + resolution: {integrity: sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==} + engines: {node: '>=10'} + dev: false + + /get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + dev: true + + /get-symbol-description@1.0.0: + resolution: {integrity: sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + dev: true + + /get-tsconfig@4.7.2: + resolution: {integrity: sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + + /glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + + /glob-parent@6.0.2: + resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} + engines: {node: '>=10.13.0'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob@10.3.10: + resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + dependencies: + foreground-child: 3.1.1 + jackspeak: 2.3.6 + minimatch: 9.0.3 + minipass: 7.0.4 + path-scurry: 1.10.1 + dev: true + + /glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + + /globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + dev: true + + /globals@13.24.0: + resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.20.2 + dev: true + + /globalthis@1.0.3: + resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==} + engines: {node: '>= 0.4'} + dependencies: + define-properties: 1.2.1 + dev: true + + /globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.2 + ignore: 5.3.0 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + + /globby@13.2.2: + resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + dir-glob: 3.0.1 + fast-glob: 3.3.2 + ignore: 5.3.0 + merge2: 1.4.1 + slash: 4.0.0 + dev: true + + /gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + dependencies: + get-intrinsic: 1.2.2 + dev: true + + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + dev: true + + /graphemer@1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + dev: true + + /gray-matter@4.0.3: + resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==} + engines: {node: '>=6.0'} + dependencies: + js-yaml: 3.14.1 + kind-of: 6.0.3 + section-matter: 1.0.0 + strip-bom-string: 1.0.0 + dev: true + + /gzip-size@6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} + engines: {node: '>=10'} + dependencies: + duplexer: 0.1.2 + dev: true + + /has-bigints@1.0.2: + resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} + dev: true + + /has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + dev: true + + /has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + dev: true + + /has-property-descriptors@1.0.1: + resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} + dependencies: + get-intrinsic: 1.2.2 + dev: true + + /has-proto@1.0.1: + resolution: {integrity: sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==} + engines: {node: '>= 0.4'} + dev: true + + /has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + + /has-tostringtag@1.0.0: + resolution: {integrity: sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==} + engines: {node: '>= 0.4'} + dependencies: + has-symbols: 1.0.3 + dev: true + + /hasown@2.0.0: + resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} + engines: {node: '>= 0.4'} + dependencies: + function-bind: 1.1.2 + dev: true + + /he@1.2.0: + resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} + hasBin: true + dev: false + + /header-case@1.0.1: + resolution: {integrity: sha512-i0q9mkOeSuhXw6bGgiQCCBgY/jlZuV/7dZXyZ9c6LcBrqwvT8eT719E9uxE5LiZftdl+z81Ugbg/VvXV4OJOeQ==} + dependencies: + no-case: 2.3.2 + upper-case: 1.1.3 + dev: true + + /header-case@2.0.4: + resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} + dependencies: + capital-case: 1.0.4 + tslib: 2.6.2 + dev: false + + /highlight.js@11.9.0: + resolution: {integrity: sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==} + engines: {node: '>=12.0.0'} + dev: false + + /hookable@5.5.3: + resolution: {integrity: sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==} + dev: false + + /hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + dev: true + + /html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + dependencies: + whatwg-encoding: 2.0.0 + dev: true + + /html-tags@3.3.1: + resolution: {integrity: sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ==} + engines: {node: '>=8'} + dev: true + + /htmlparser2@8.0.2: + resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.1.0 + entities: 4.5.0 + dev: true + + /http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + dependencies: + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + dev: true + + /hygen@6.2.11: + resolution: {integrity: sha512-t6/zLI2XozP5gvV74nnl8LZSbwpVNFUkUs/O9DwuOdiiBbws5k4AQNVwKZ9FGzcKjdJ5EBBYkVzlcUHkLyY0FQ==} + hasBin: true + dependencies: + '@types/node': 17.0.45 + chalk: 4.1.2 + change-case: 3.1.0 + debug: 4.3.4 + degit: 2.8.4 + ejs: 3.1.9 + enquirer: 2.4.1 + execa: 5.1.1 + front-matter: 4.0.2 + fs-extra: 10.1.0 + ignore-walk: 4.0.1 + inflection: 1.13.4 + ora: 5.4.1 + yargs-parser: 21.1.1 + transitivePeerDependencies: + - supports-color + dev: true + + /iarna-toml-esm@3.0.5: + resolution: {integrity: sha512-CgeDbPohnFG827UoRaCqKxJ8idiIDZDWlcHf5hUReQnZ8jHnNnhN4QJFiY12fKvr0LvuDuKAimqQfrmQnacbtw==} + dependencies: + stream: 0.0.2 + dev: false + + /ibantools@4.3.8: + resolution: {integrity: sha512-YBdswuzvCSn3EyFPKj4aolOaJ8fnQ3m+8bCwTbZJaDg2lMWKlQ4C37PodHCrCh6GmzVPpC7b6H+nKcJTDblu/g==} + dev: false + + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + dev: true + + /idb@7.1.1: + resolution: {integrity: sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==} + dev: true + + /ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + + /ignore-walk@4.0.1: + resolution: {integrity: sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==} + engines: {node: '>=10'} + dependencies: + minimatch: 3.1.2 + dev: true + + /ignore@5.3.0: + resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} + engines: {node: '>= 4'} + dev: true + + /image-size@0.5.5: + resolution: {integrity: sha512-6TDAlDPZxUFCv+fuOkIoXT/V/f3Qbq8e37p+YOiYrUv3v9cc3/6x78VdfPgFVaB9dZYeLUfKgHRebpkm/oP2VQ==} + engines: {node: '>=0.10.0'} + hasBin: true + requiresBuild: true + dev: true + optional: true + + /import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + dev: true + + /imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + dev: true + + /indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + dev: true + + /inflection@1.13.4: + resolution: {integrity: sha512-6I/HUDeYFfuNCVS3td055BaXBwKYuzw7K3ExVMStBowKo9oOAMJIXIHvdyR3iboTCp1b+1i5DSkIZTcwIktuDw==} + engines: {'0': node >= 0.4.0} + dev: true + + /inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + /inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + /ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + dev: true + + /internal-slot@1.0.6: + resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.2 + hasown: 2.0.0 + side-channel: 1.0.4 + dev: true + + /ip-address@7.1.0: + resolution: {integrity: sha512-V9pWC/VJf2lsXqP7IWJ+pe3P1/HCYGBMZrrnT62niLGjAfCbeiwXMUxaeHvnVlz19O27pvXP4azs+Pj/A0x+SQ==} + engines: {node: '>= 10'} + dependencies: + jsbn: 1.1.0 + sprintf-js: 1.1.2 + dev: false + + /ip-cidr@3.1.0: + resolution: {integrity: sha512-HUCn4snshEX1P8cja/IyU3qk8FVDW8T5zZcegDFbu4w7NojmAhk5NcOgj3M8+0fmumo1afJTPDtJlzsxLdOjtg==} + engines: {node: '>=10.0.0'} + dependencies: + ip-address: 7.1.0 + jsbn: 1.1.0 + dev: false + + /is-alphabetical@1.0.4: + resolution: {integrity: sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==} + dev: true + + /is-alphanumerical@1.0.4: + resolution: {integrity: sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==} + dependencies: + is-alphabetical: 1.0.4 + is-decimal: 1.0.4 + dev: true + + /is-array-buffer@3.0.2: + resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + is-typed-array: 1.1.12 + dev: true + + /is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + dev: true + + /is-bigint@1.0.4: + resolution: {integrity: sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==} + dependencies: + has-bigints: 1.0.2 + dev: true + + /is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + + /is-boolean-object@1.1.2: + resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + has-tostringtag: 1.0.0 + dev: true + + /is-builtin-module@3.2.1: + resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} + engines: {node: '>=6'} + dependencies: + builtin-modules: 3.3.0 + dev: true + + /is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + dev: true + + /is-core-module@2.13.1: + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + dependencies: + hasown: 2.0.0 + dev: true + + /is-date-object@1.0.5: + resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-decimal@1.0.4: + resolution: {integrity: sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==} + dev: true + + /is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + dev: true + + /is-extendable@1.0.1: + resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} + engines: {node: '>=0.10.0'} + dependencies: + is-plain-object: 2.0.4 + dev: false + + /is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + /is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + /is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + + /is-hexadecimal@1.0.4: + resolution: {integrity: sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==} + dev: true + + /is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + dev: true + + /is-lower-case@1.1.3: + resolution: {integrity: sha512-+5A1e/WJpLLXZEDlgz4G//WYSHyQBD32qa4Jd3Lw06qQlv3fJHnp3YIHjTQSGzHMgzmVKz2ZP3rBxTHkPw/lxA==} + dependencies: + lower-case: 1.1.4 + dev: true + + /is-module@1.0.0: + resolution: {integrity: sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==} + dev: true + + /is-negative-zero@2.0.2: + resolution: {integrity: sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==} + engines: {node: '>= 0.4'} + dev: true + + /is-number-object@1.0.7: + resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + /is-obj@1.0.1: + resolution: {integrity: sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==} + engines: {node: '>=0.10.0'} + dev: true + + /is-path-inside@3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: true + + /is-plain-object@2.0.4: + resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: false + + /is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + dev: true + + /is-primitive@3.0.1: + resolution: {integrity: sha512-GljRxhWvlCNRfZyORiH77FwdFwGcMO620o37EOYC0ORWdq+WYNVqW0w2Juzew4M+L81l6/QS3t5gkkihyRqv9w==} + engines: {node: '>=0.10.0'} + dev: false + + /is-regex@1.1.4: + resolution: {integrity: sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + has-tostringtag: 1.0.0 + dev: true + + /is-regexp@1.0.0: + resolution: {integrity: sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA==} + engines: {node: '>=0.10.0'} + dev: true + + /is-shared-array-buffer@1.0.2: + resolution: {integrity: sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==} + dependencies: + call-bind: 1.0.5 + dev: true + + /is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + dev: true + + /is-string@1.0.7: + resolution: {integrity: sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==} + engines: {node: '>= 0.4'} + dependencies: + has-tostringtag: 1.0.0 + dev: true + + /is-symbol@1.0.4: + resolution: {integrity: sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==} + engines: {node: '>= 0.4'} + dependencies: + has-symbols: 1.0.3 + dev: true + + /is-typed-array@1.1.12: + resolution: {integrity: sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==} + engines: {node: '>= 0.4'} + dependencies: + which-typed-array: 1.1.13 + dev: true + + /is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + dev: true + + /is-upper-case@1.1.2: + resolution: {integrity: sha512-GQYSJMgfeAmVwh9ixyk888l7OIhNAGKtY6QA+IrWlu9MDTCaXmeozOZ2S9Knj7bQwBO/H6J2kb+pbyTUiMNbsw==} + dependencies: + upper-case: 1.1.3 + dev: true + + /is-weakref@1.0.2: + resolution: {integrity: sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==} + dependencies: + call-bind: 1.0.5 + dev: true + + /is-what@3.14.1: + resolution: {integrity: sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==} + dev: true + + /isarray@2.0.5: + resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} + dev: true + + /isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + dev: true + + /isobject@3.0.1: + resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} + engines: {node: '>=0.10.0'} + dev: false + + /jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + dev: true + + /jake@10.8.7: + resolution: {integrity: sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w==} + engines: {node: '>=10'} + hasBin: true + dependencies: + async: 3.2.5 + chalk: 4.1.2 + filelist: 1.0.4 + minimatch: 3.1.2 + dev: true + + /javascript-natural-sort@0.7.1: + resolution: {integrity: sha512-nO6jcEfZWQXDhOiBtG2KvKyEptz7RVbpGP4vTD2hLBdmNQSsCiicO2Ioinv6UI4y9ukqnBpy+XZ9H6uLNgJTlw==} + dev: false + + /jest-worker@26.6.2: + resolution: {integrity: sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==} + engines: {node: '>= 10.13.0'} + dependencies: + '@types/node': 18.19.4 + merge-stream: 2.0.0 + supports-color: 7.2.0 + dev: true + + /jiti@1.21.0: + resolution: {integrity: sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==} + hasBin: true + dev: true + + /js-beautify@1.14.11: + resolution: {integrity: sha512-rPogWqAfoYh1Ryqqh2agUpVfbxAhbjuN1SmU86dskQUKouRiggUTCO4+2ym9UPXllc2WAp0J+T5qxn7Um3lCdw==} + engines: {node: '>=14'} + hasBin: true + dependencies: + config-chain: 1.1.13 + editorconfig: 1.0.4 + glob: 10.3.10 + nopt: 7.2.0 + dev: true + + /js-sha256@0.9.0: + resolution: {integrity: sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==} + dev: false + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true + + /js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + dev: true + + /js-yaml@4.1.0: + resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} + hasBin: true + dependencies: + argparse: 2.0.1 + dev: true + + /jsbn@1.1.0: + resolution: {integrity: sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==} + dev: false + + /jsdoc-type-pratt-parser@4.0.0: + resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} + engines: {node: '>=12.0.0'} + dev: true + + /jsdom@22.1.0: + resolution: {integrity: sha512-/9AVW7xNbsBv6GfWho4TTNjEo9fe6Zhf9O7s0Fhhr3u+awPwAJMKwAMXnkk5vBxflqLW9hTHX/0cs+P3gW+cQw==} + engines: {node: '>=16'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + abab: 2.0.6 + cssstyle: 3.0.0 + data-urls: 4.0.0 + decimal.js: 10.4.3 + domexception: 4.0.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.7 + parse5: 7.1.2 + rrweb-cssom: 0.6.0 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.3 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 12.0.1 + ws: 8.16.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + + /jsesc@0.5.0: + resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} + hasBin: true + dev: true + + /jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /jsesc@3.0.2: + resolution: {integrity: sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==} + engines: {node: '>=6'} + hasBin: true + dev: true + + /json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + dev: true + + /json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true + + /json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true + + /json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + dev: true + + /json-schema@0.4.0: + resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} + dev: true + + /json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + dev: true + + /json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + /jsonc-eslint-parser@2.4.0: + resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.11.3 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + semver: 7.5.4 + dev: true + + /jsonc-parser@3.2.0: + resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} + + /jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + dev: true + + /jsonpointer@5.0.1: + resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} + engines: {node: '>=0.10.0'} + dev: true + + /jssha@3.3.1: + resolution: {integrity: sha512-VCMZj12FCFMQYcFLPRm/0lOBbLi8uM2BhXPTqw3U4YAfs4AZfiApOoBLoN8cQE60Z50m1MYMTQVCfgF/KaCVhQ==} + dev: false + + /jwt-decode@3.1.2: + resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} + dev: false + + /keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + dependencies: + json-buffer: 3.0.1 + dev: true + + /kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + dev: true + + /kolorist@1.8.0: + resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} + dev: true + + /less@4.2.0: + resolution: {integrity: sha512-P3b3HJDBtSzsXUl0im2L7gTO5Ubg8mEN6G8qoTS77iXxXX4Hvu4Qj540PZDvQ8V6DmX6iXo98k7Md0Cm1PrLaA==} + engines: {node: '>=6'} + hasBin: true + dependencies: + copy-anything: 2.0.6 + parse-node-version: 1.0.1 + tslib: 2.6.2 + optionalDependencies: + errno: 0.1.8 + graceful-fs: 4.2.11 + image-size: 0.5.5 + make-dir: 2.1.0 + mime: 1.6.0 + needle: 3.3.1 + source-map: 0.6.1 + dev: true + + /leven@3.1.0: + resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} + engines: {node: '>=6'} + dev: true + + /levn@0.4.1: + resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.2.1 + type-check: 0.4.0 + dev: true + + /libphonenumber-js@1.10.53: + resolution: {integrity: sha512-sDTnnqlWK4vH4AlDQuswz3n4Hx7bIQWTpIcScJX+Sp7St3LXHmfiax/ZFfyYxHmkdCvydOLSuvtAO/XpXiSySw==} + dev: false + + /lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true + + /linkify-it@4.0.1: + resolution: {integrity: sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==} + dependencies: + uc.micro: 1.0.6 + dev: true + + /linkify-it@5.0.0: + resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==} + dependencies: + uc.micro: 2.0.0 + dev: false + + /local-pkg@0.4.3: + resolution: {integrity: sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==} + engines: {node: '>=14'} + dev: true + + /local-pkg@0.5.0: + resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} + engines: {node: '>=14'} + dependencies: + mlly: 1.4.2 + pkg-types: 1.0.3 + + /locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + dependencies: + p-locate: 4.1.0 + + /locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: true + + /lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: false + + /lodash.debounce@4.0.8: + resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} + dev: true + + /lodash.merge@4.6.2: + resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + dev: true + + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + dev: true + + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + /log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + dev: true + + /loupe@2.3.7: + resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + dependencies: + get-func-name: 2.0.2 + dev: true + + /lower-case-first@1.0.2: + resolution: {integrity: sha512-UuxaYakO7XeONbKrZf5FEgkantPf5DUqDayzP5VXZrtRPdH86s4kN47I8B3TW10S4QKiE3ziHNf3kRN//okHjA==} + dependencies: + lower-case: 1.1.4 + dev: true + + /lower-case@1.1.4: + resolution: {integrity: sha512-2Fgx1Ycm599x+WGpIYwJOvsjmXFzTSc34IwDWALRA/8AopUKAVPwfJ+h5+f85BCp0PWmmJcWzEpxOpoXycMpdA==} + dev: true + + /lower-case@2.0.2: + resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} + dependencies: + tslib: 2.6.2 + dev: false + + /lru-cache@10.1.0: + resolution: {integrity: sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag==} + engines: {node: 14 || >=16.14} + dev: true + + /lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + dependencies: + yallist: 3.1.1 + dev: true + + /lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + + /magic-string@0.25.9: + resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} + dependencies: + sourcemap-codec: 1.4.8 + dev: true + + /magic-string@0.30.5: + resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} + engines: {node: '>=12'} + dependencies: + '@jridgewell/sourcemap-codec': 1.4.15 + + /make-dir@2.1.0: + resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} + engines: {node: '>=6'} + requiresBuild: true + dependencies: + pify: 4.0.1 + semver: 5.7.2 + dev: true + optional: true + + /make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + dev: false + + /map-stream@0.1.0: + resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==} + dev: true + + /markdown-it@13.0.2: + resolution: {integrity: sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==} + hasBin: true + dependencies: + argparse: 2.0.1 + entities: 3.0.1 + linkify-it: 4.0.1 + mdurl: 1.0.1 + uc.micro: 1.0.6 + dev: true + + /markdown-it@14.0.0: + resolution: {integrity: sha512-seFjF0FIcPt4P9U39Bq1JYblX0KZCjDLFFQPHpL5AzHpqPEKtosxmdq/LTVZnjfH7tjt9BxStm+wXcDBNuYmzw==} + hasBin: true + dependencies: + argparse: 2.0.1 + entities: 4.5.0 + linkify-it: 5.0.0 + mdurl: 2.0.0 + punycode.js: 2.3.1 + uc.micro: 2.0.0 + dev: false + + /marked@10.0.0: + resolution: {integrity: sha512-YiGcYcWj50YrwBgNzFoYhQ1hT6GmQbFG8SksnYJX1z4BXTHSOrz1GB5/Jm2yQvMg4nN1FHP4M6r03R10KrVUiA==} + engines: {node: '>= 18'} + hasBin: true + dev: false + + /mathjs@11.12.0: + resolution: {integrity: sha512-UGhVw8rS1AyedyI55DGz9q1qZ0p98kyKPyc9vherBkoueLntPfKtPBh14x+V4cdUWK0NZV2TBwqRFlvadscSuw==} + engines: {node: '>= 14'} + hasBin: true + dependencies: + '@babel/runtime': 7.23.7 + complex.js: 2.1.1 + decimal.js: 10.4.3 + escape-latex: 1.2.0 + fraction.js: 4.3.4 + javascript-natural-sort: 0.7.1 + seedrandom: 3.0.5 + tiny-emitter: 2.1.0 + typed-function: 4.1.1 + dev: false + + /mdast-util-from-markdown@0.8.5: + resolution: {integrity: sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==} + dependencies: + '@types/mdast': 3.0.15 + mdast-util-to-string: 2.0.0 + micromark: 2.11.4 + parse-entities: 2.0.0 + unist-util-stringify-position: 2.0.3 + transitivePeerDependencies: + - supports-color + dev: true + + /mdast-util-to-string@2.0.0: + resolution: {integrity: sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==} + dev: true + + /mdn-data@2.0.28: + resolution: {integrity: sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==} + dev: true + + /mdn-data@2.0.30: + resolution: {integrity: sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==} + dev: true + + /mdurl@1.0.1: + resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} + dev: true + + /mdurl@2.0.0: + resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} + dev: false + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + /micromark@2.11.4: + resolution: {integrity: sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==} + dependencies: + debug: 4.3.4 + parse-entities: 2.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + + /mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + /mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + + /mime@1.6.0: + resolution: {integrity: sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==} + engines: {node: '>=4'} + hasBin: true + requiresBuild: true + dev: true + optional: true + + /mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + dev: true + + /min-indent@1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + dev: true + + /minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + dependencies: + brace-expansion: 1.1.11 + + /minimatch@5.1.6: + resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /minimatch@9.0.1: + resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /minimatch@9.0.3: + resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + + /minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + dev: true + + /minipass@7.0.4: + resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} + engines: {node: '>=16 || 14 >=14.17'} + dev: true + + /mlly@1.4.2: + resolution: {integrity: sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg==} + dependencies: + acorn: 8.11.3 + pathe: 1.1.1 + pkg-types: 1.0.3 + ufo: 1.3.2 + + /monaco-editor@0.44.0: + resolution: {integrity: sha512-5SmjNStN6bSuSE5WPT2ZV+iYn1/yI9sd4Igtk23ChvqB7kDk9lZbB9F5frsuvpB+2njdIeGGFf2G4gbE6rCC9Q==} + dev: false + + /moo@0.5.2: + resolution: {integrity: sha512-iSAJLHYKnX41mKcJKjqvnAN9sf0LMDTXDEvFv+ffuRR9a1MIuXLjMNL6EsnDHSkKLTWNqQQ5uo61P4EbU4NU+Q==} + dev: false + + /mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + dev: true + + /ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + dev: true + + /ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + requiresBuild: true + dev: true + + /muggle-string@0.3.1: + resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==} + dev: false + + /naive-ui@2.36.0(vue@3.4.3): + resolution: {integrity: sha512-r1ydtEm1Ryf/aWpbLCf32mQAGK99jd1eXgpkCtIomcBRZeAtusfy6zCtIpCppoCuIKM3BW5DMafhVxilubk/lQ==} + peerDependencies: + vue: ^3.0.0 + dependencies: + '@css-render/plugin-bem': 0.15.12(css-render@0.15.12) + '@css-render/vue3-ssr': 0.15.12(vue@3.4.3) + '@types/katex': 0.16.7 + '@types/lodash': 4.14.202 + '@types/lodash-es': 4.17.12 + async-validator: 4.2.5 + css-render: 0.15.12 + date-fns: 2.30.0 + date-fns-tz: 2.0.0(date-fns@2.30.0) + evtd: 0.2.4 + highlight.js: 11.9.0 + lodash: 4.17.21 + lodash-es: 4.17.21 + seemly: 0.3.8 + treemate: 0.3.11 + vdirs: 0.1.8(vue@3.4.3) + vooks: 0.2.12(vue@3.4.3) + vue: 3.4.3(typescript@5.2.2) + vueuc: 0.4.58(vue@3.4.3) + dev: false + + /nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + /natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + dev: true + + /nearley@2.20.1: + resolution: {integrity: sha512-+Mc8UaAebFzgV+KpI5n7DasuuQCHA89dmwm7JXw3TV43ukfNQ9DnBH3Mdb2g/I4Fdxc26pwimBWvjIw0UAILSQ==} + hasBin: true + dependencies: + commander: 2.20.3 + moo: 0.5.2 + railroad-diagrams: 1.0.0 + randexp: 0.4.6 + dev: false + + /needle@3.3.1: + resolution: {integrity: sha512-6k0YULvhpw+RoLNiQCRKOl09Rv1dPLr8hHnVjHqdolKwDrdNyk+Hmrthi4lIGPPz3r39dLx0hsF5s40sZ3Us4Q==} + engines: {node: '>= 4.4.x'} + hasBin: true + requiresBuild: true + dependencies: + iconv-lite: 0.6.3 + sax: 1.3.0 + dev: true + optional: true + + /netmask@2.0.2: + resolution: {integrity: sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==} + engines: {node: '>= 0.4.0'} + dev: false + + /no-case@2.3.2: + resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==} + dependencies: + lower-case: 1.1.4 + dev: true + + /no-case@3.0.4: + resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} + dependencies: + lower-case: 2.0.2 + tslib: 2.6.2 + dev: false + + /node-domexception@1.0.0: + resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} + engines: {node: '>=10.5.0'} + dev: true + + /node-fetch-native@1.6.1: + resolution: {integrity: sha512-bW9T/uJDPAJB2YNYEpWzE54U5O3MQidXsOyTfnbKYtTtFexRvGzb1waphBN4ZwP6EcIvYYEOwW0b72BpAqydTw==} + dev: true + + /node-fetch@3.3.1: + resolution: {integrity: sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + data-uri-to-buffer: 4.0.1 + fetch-blob: 3.2.0 + formdata-polyfill: 4.0.10 + dev: true + + /node-forge@1.3.1: + resolution: {integrity: sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==} + engines: {node: '>= 6.13.0'} + dev: false + + /node-releases@2.0.14: + resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} + dev: true + + /nopt@7.2.0: + resolution: {integrity: sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + dependencies: + abbrev: 2.0.0 + dev: true + + /normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.8 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + dev: true + + /normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + + /npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + dependencies: + path-key: 3.1.1 + dev: true + + /nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + dependencies: + boolbase: 1.0.0 + dev: true + + /nwsapi@2.2.7: + resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} + dev: true + + /object-inspect@1.13.1: + resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} + dev: true + + /object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + dev: true + + /object.assign@4.1.5: + resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + has-symbols: 1.0.3 + object-keys: 1.1.1 + dev: true + + /object.omit@3.0.0: + resolution: {integrity: sha512-EO+BCv6LJfu+gBIF3ggLicFebFLN5zqzz/WWJlMFfkMyGth+oBkhxzDl0wx2W4GkLzuQs/FsSkXZb2IMWQqmBQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: 1.0.1 + dev: false + + /object.pick@1.3.0: + resolution: {integrity: sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: false + + /ofetch@1.3.3: + resolution: {integrity: sha512-s1ZCMmQWXy4b5K/TW9i/DtiN8Ku+xCiHcjQ6/J/nDdssirrQNOoB165Zu8EqLMA2lln1JUth9a0aW9Ap2ctrUg==} + dependencies: + destr: 2.0.2 + node-fetch-native: 1.6.1 + ufo: 1.3.2 + dev: true + + /once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + dependencies: + wrappy: 1.0.2 + + /onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + dependencies: + mimic-fn: 2.1.0 + dev: true + + /optionator@0.9.3: + resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} + engines: {node: '>= 0.8.0'} + dependencies: + '@aashutoshrathi/word-wrap': 1.2.6 + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.4.1 + prelude-ls: 1.2.1 + type-check: 0.4.0 + dev: true + + /ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + dev: true + + /orderedmap@2.1.1: + resolution: {integrity: sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==} + dev: false + + /otpauth@9.2.1: + resolution: {integrity: sha512-/MRvcm63pzK20NCsIOe8Btun42/yWNylPbUo/h5dMpSRJpoAJstWodEUjm4zUDeT1+Vbqif2E8IcP4trl1U4gQ==} + dependencies: + jssha: 3.3.1 + dev: false + + /oui-data@1.1.6: + resolution: {integrity: sha512-wxMjJSYQIVnbUuME4RNGCBecVc9g6VEnl4VxVG1oIlGu6WMr3RD7fpzklP7hulxqJe4RkkptAxoz34Z6Ng2wIw==} + dev: false + + /p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + dependencies: + p-try: 2.2.0 + + /p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: true + + /p-limit@4.0.0: + resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dependencies: + yocto-queue: 1.0.0 + dev: true + + /p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + dependencies: + p-limit: 2.3.0 + + /p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: true + + /p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + + /param-case@2.1.1: + resolution: {integrity: sha512-eQE845L6ot89sk2N8liD8HAuH4ca6Vvr7VWAWwt7+kvvG5aBcPmmphQ68JsEG2qa9n1TykS2DLeMt363AAH8/w==} + dependencies: + no-case: 2.3.2 + dev: true + + /param-case@3.0.4: + resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} + dependencies: + dot-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + dependencies: + callsites: 3.1.0 + dev: true + + /parse-entities@2.0.0: + resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==} + dependencies: + character-entities: 1.2.4 + character-entities-legacy: 1.1.4 + character-reference-invalid: 1.1.4 + is-alphanumerical: 1.0.4 + is-decimal: 1.0.4 + is-hexadecimal: 1.0.4 + dev: true + + /parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + dependencies: + '@babel/code-frame': 7.23.5 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + dev: true + + /parse-node-version@1.0.1: + resolution: {integrity: sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==} + engines: {node: '>= 0.10'} + dev: true + + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + + /pascal-case@2.0.1: + resolution: {integrity: sha512-qjS4s8rBOJa2Xm0jmxXiyh1+OFf6ekCWOvUaRgAQSktzlTbMotS0nmG9gyYAybCWBcuP4fsBeRCKNwGBnMe2OQ==} + dependencies: + camel-case: 3.0.0 + upper-case-first: 1.1.2 + dev: true + + /pascal-case@3.1.2: + resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + dev: false + + /path-case@2.1.1: + resolution: {integrity: sha512-Ou0N05MioItesaLr9q8TtHVWmJ6fxWdqKB2RohFmNWVyJ+2zeKIeDNWAN6B/Pe7wpzWChhZX6nONYmOnMeJQ/Q==} + dependencies: + no-case: 2.3.2 + dev: true + + /path-case@3.0.4: + resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} + dependencies: + dot-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + /path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + /path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + dev: true + + /path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /path-scurry@1.10.1: + resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + lru-cache: 10.1.0 + minipass: 7.0.4 + dev: true + + /path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + dev: true + + /pathe@1.1.1: + resolution: {integrity: sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==} + + /pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + + /pause-stream@0.0.11: + resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} + dependencies: + through: 2.3.8 + dev: true + + /pdf-signature-reader@1.4.2: + resolution: {integrity: sha512-qQbmFv6nv4SQt2gmaalaREhHu3x2XyLG2+zL4Gl4D2TL2Zfii1EKxlFhJDsduP8s06t26snDoSwEAQtJOtprmQ==} + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + node-forge: 1.3.1 + dev: false + + /perfect-debounce@1.0.0: + resolution: {integrity: sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==} + dev: true + + /picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + + /picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + + /pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + requiresBuild: true + dev: true + optional: true + + /pinia@2.1.7(typescript@5.2.2)(vue@3.4.3): + resolution: {integrity: sha512-+C2AHFtcFqjPih0zpYuvof37SFxMQ7OEG2zV9jRI12i9BOy3YQVAHwdKtyyc8pDcDyIc33WCIsZaCFWU7WWxGQ==} + peerDependencies: + '@vue/composition-api': ^1.4.0 + typescript: '>=4.4.4' + vue: ^2.6.14 || ^3.3.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + typescript: + optional: true + dependencies: + '@vue/devtools-api': 6.5.1 + typescript: 5.2.2 + vue: 3.4.3(typescript@5.2.2) + vue-demi: 0.14.6(vue@3.4.3) + dev: false + + /pkg-types@1.0.3: + resolution: {integrity: sha512-nN7pYi0AQqJnoLPC9eHFQ8AcyaixBUOwvqc5TDnIKCMEE6I0y8P7OKA7fPexsXGCGxQDl/cmrLAp26LhcwxZ4A==} + dependencies: + jsonc-parser: 3.2.0 + mlly: 1.4.2 + pathe: 1.1.1 + + /plausible-tracker@0.3.8: + resolution: {integrity: sha512-lmOWYQ7s9KOUJ1R+YTOR3HrjdbxIS2Z4de0P/Jx2dQPteznJl2eX3tXxKClpvbfyGP59B5bbhW8ftN59HbbFSg==} + engines: {node: '>=10'} + dev: false + + /playwright-core@1.40.1: + resolution: {integrity: sha512-+hkOycxPiV534c4HhpfX6yrlawqVUzITRKwHAmYfmsVreltEl6fAZJ3DPfLMOODw0H3s1Itd6MDCWmP1fl/QvQ==} + engines: {node: '>=16'} + hasBin: true + dev: true + + /playwright@1.40.1: + resolution: {integrity: sha512-2eHI7IioIpQ0bS1Ovg/HszsN/XKNwEG1kbzSDDmADpclKc7CyqkHw7Mg2JCz/bbCxg25QUPcjksoMW7JcIFQmw==} + engines: {node: '>=16'} + hasBin: true + dependencies: + playwright-core: 1.40.1 + optionalDependencies: + fsevents: 2.3.2 + dev: true + + /pluralize@8.0.0: + resolution: {integrity: sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==} + engines: {node: '>=4'} + dev: true + + /pngjs@5.0.0: + resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==} + engines: {node: '>=10.13.0'} + dev: false + + /postcss-selector-parser@6.0.15: + resolution: {integrity: sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw==} + engines: {node: '>=4'} + dependencies: + cssesc: 3.0.0 + util-deprecate: 1.0.2 + dev: true + + /postcss@8.4.32: + resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + + /prelude-ls@1.2.1: + resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} + engines: {node: '>= 0.8.0'} + dev: true + + /prettier@3.1.1: + resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + engines: {node: '>=14'} + hasBin: true + dev: true + + /pretty-bytes@5.6.0: + resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} + engines: {node: '>=6'} + dev: true + + /pretty-bytes@6.1.1: + resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==} + engines: {node: ^14.13.1 || >=16.0.0} + dev: true + + /pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.2.0 + dev: true + + /prosemirror-changeset@2.2.1: + resolution: {integrity: sha512-J7msc6wbxB4ekDFj+n9gTW/jav/p53kdlivvuppHsrZXCaQdVgRghoZbSS3kwrRyAstRVQ4/+u5k7YfLgkkQvQ==} + dependencies: + prosemirror-transform: 1.8.0 + dev: false + + /prosemirror-collab@1.3.1: + resolution: {integrity: sha512-4SnynYR9TTYaQVXd/ieUvsVV4PDMBzrq2xPUWutHivDuOshZXqQ5rGbZM84HEaXKbLdItse7weMGOUdDVcLKEQ==} + dependencies: + prosemirror-state: 1.4.3 + dev: false + + /prosemirror-commands@1.5.2: + resolution: {integrity: sha512-hgLcPaakxH8tu6YvVAaILV2tXYsW3rAdDR8WNkeKGcgeMVQg3/TMhPdVoh7iAmfgVjZGtcOSjKiQaoeKjzd2mQ==} + dependencies: + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + dev: false + + /prosemirror-dropcursor@1.8.1: + resolution: {integrity: sha512-M30WJdJZLyXHi3N8vxN6Zh5O8ZBbQCz0gURTfPmTIBNQ5pxrdU7A58QkNqfa98YEjSAL1HUyyU34f6Pm5xBSGw==} + dependencies: + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + prosemirror-view: 1.32.7 + dev: false + + /prosemirror-gapcursor@1.3.2: + resolution: {integrity: sha512-wtjswVBd2vaQRrnYZaBCbyDqr232Ed4p2QPtRIUK5FuqHYKGWkEwl08oQM4Tw7DOR0FsasARV5uJFvMZWxdNxQ==} + dependencies: + prosemirror-keymap: 1.2.2 + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-view: 1.32.7 + dev: false + + /prosemirror-history@1.3.2: + resolution: {integrity: sha512-/zm0XoU/N/+u7i5zepjmZAEnpvjDtzoPWW6VmKptcAnPadN/SStsBjMImdCEbb3seiNTpveziPTIrXQbHLtU1g==} + dependencies: + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + prosemirror-view: 1.32.7 + rope-sequence: 1.3.4 + dev: false + + /prosemirror-inputrules@1.3.0: + resolution: {integrity: sha512-z1GRP2vhh5CihYMQYsJSa1cOwXb3SYxALXOIfAkX8nZserARtl9LiL+CEl+T+OFIsXc3mJIHKhbsmRzC0HDAXA==} + dependencies: + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + dev: false + + /prosemirror-keymap@1.2.2: + resolution: {integrity: sha512-EAlXoksqC6Vbocqc0GtzCruZEzYgrn+iiGnNjsJsH4mrnIGex4qbLdWWNza3AW5W36ZRrlBID0eM6bdKH4OStQ==} + dependencies: + prosemirror-state: 1.4.3 + w3c-keyname: 2.2.8 + dev: false + + /prosemirror-markdown@1.12.0: + resolution: {integrity: sha512-6F5HS8Z0HDYiS2VQDZzfZP6A0s/I0gbkJy8NCzzDMtcsz3qrfqyroMMeoSjAmOhDITyon11NbXSzztfKi+frSQ==} + dependencies: + markdown-it: 14.0.0 + prosemirror-model: 1.19.4 + dev: false + + /prosemirror-menu@1.2.4: + resolution: {integrity: sha512-S/bXlc0ODQup6aiBbWVsX/eM+xJgCTAfMq/nLqaO5ID/am4wS0tTCIkzwytmao7ypEtjj39i7YbJjAgO20mIqA==} + dependencies: + crelt: 1.0.6 + prosemirror-commands: 1.5.2 + prosemirror-history: 1.3.2 + prosemirror-state: 1.4.3 + dev: false + + /prosemirror-model@1.19.4: + resolution: {integrity: sha512-RPmVXxUfOhyFdayHawjuZCxiROsm9L4FCUA6pWI+l7n2yCBsWy9VpdE1hpDHUS8Vad661YLY9AzqfjLhAKQ4iQ==} + dependencies: + orderedmap: 2.1.1 + dev: false + + /prosemirror-schema-basic@1.2.2: + resolution: {integrity: sha512-/dT4JFEGyO7QnNTe9UaKUhjDXbTNkiWTq/N4VpKaF79bBjSExVV2NXmJpcM7z/gD7mbqNjxbmWW5nf1iNSSGnw==} + dependencies: + prosemirror-model: 1.19.4 + dev: false + + /prosemirror-schema-list@1.3.0: + resolution: {integrity: sha512-Hz/7gM4skaaYfRPNgr421CU4GSwotmEwBVvJh5ltGiffUJwm7C8GfN/Bc6DR1EKEp5pDKhODmdXXyi9uIsZl5A==} + dependencies: + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + dev: false + + /prosemirror-state@1.4.3: + resolution: {integrity: sha512-goFKORVbvPuAQaXhpbemJFRKJ2aixr+AZMGiquiqKxaucC6hlpHNZHWgz5R7dS4roHiwq9vDctE//CZ++o0W1Q==} + dependencies: + prosemirror-model: 1.19.4 + prosemirror-transform: 1.8.0 + prosemirror-view: 1.32.7 + dev: false + + /prosemirror-tables@1.3.5: + resolution: {integrity: sha512-JSZ2cCNlApu/ObAhdPyotrjBe2cimniniTpz60YXzbL0kZ+47nEYk2LWbfKU2lKpBkUNquta2PjteoNi4YCluQ==} + dependencies: + prosemirror-keymap: 1.2.2 + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + prosemirror-view: 1.32.7 + dev: false + + /prosemirror-trailing-node@2.0.7(prosemirror-model@1.19.4)(prosemirror-state@1.4.3)(prosemirror-view@1.32.7): + resolution: {integrity: sha512-8zcZORYj/8WEwsGo6yVCRXFMOfBo0Ub3hCUvmoWIZYfMP26WqENU0mpEP27w7mt8buZWuGrydBewr0tOArPb1Q==} + peerDependencies: + prosemirror-model: ^1.19.0 + prosemirror-state: ^1.4.2 + prosemirror-view: ^1.31.2 + dependencies: + '@remirror/core-constants': 2.0.2 + '@remirror/core-helpers': 3.0.0 + escape-string-regexp: 4.0.0 + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-view: 1.32.7 + dev: false + + /prosemirror-transform@1.8.0: + resolution: {integrity: sha512-BaSBsIMv52F1BVVMvOmp1yzD3u65uC3HTzCBQV1WDPqJRQ2LuHKcyfn0jwqodo8sR9vVzMzZyI+Dal5W9E6a9A==} + dependencies: + prosemirror-model: 1.19.4 + dev: false + + /prosemirror-view@1.32.7: + resolution: {integrity: sha512-pvxiOoD4shW41X5bYDjRQk3DSG4fMqxh36yPMt7VYgU3dWRmqFzWJM/R6zeo1KtC8nyk717ZbQND3CC9VNeptw==} + dependencies: + prosemirror-model: 1.19.4 + prosemirror-state: 1.4.3 + prosemirror-transform: 1.8.0 + dev: false + + /proto-list@1.2.4: + resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} + dev: true + + /prr@1.0.1: + resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + requiresBuild: true + dev: true + optional: true + + /ps-tree@1.2.0: + resolution: {integrity: sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==} + engines: {node: '>= 0.10'} + hasBin: true + dependencies: + event-stream: 3.3.4 + dev: true + + /psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + dev: true + + /punycode.js@2.3.1: + resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==} + engines: {node: '>=6'} + dev: false + + /punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + dev: true + + /qrcode@1.5.3: + resolution: {integrity: sha512-puyri6ApkEHYiVl4CFzo1tDkAZ+ATcnbJrJ6RiBM1Fhctdn/ix9MTE3hRph33omisEbC/2fcfemsseiKgBPKZg==} + engines: {node: '>=10.13.0'} + hasBin: true + dependencies: + dijkstrajs: 1.0.3 + encode-utf8: 1.0.3 + pngjs: 5.0.0 + yargs: 15.4.1 + dev: false + + /querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + + /queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + /railroad-diagrams@1.0.0: + resolution: {integrity: sha512-cz93DjNeLY0idrCNOH6PviZGRN9GJhsdm9hpn1YCS879fj4W+x5IFJhhkRZcwVgMmFF7R82UA/7Oh+R8lLZg6A==} + dev: false + + /randexp@0.4.6: + resolution: {integrity: sha512-80WNmd9DA0tmZrw9qQa62GPPWfuXJknrmVmLcxvq4uZBdYqb1wYoKTmnlGUchvVWe0XiLupYkBoXVOxz3C8DYQ==} + engines: {node: '>=0.12'} + dependencies: + discontinuous-range: 1.0.0 + ret: 0.1.15 + dev: false + + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /react-is@18.2.0: + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + dev: true + + /read-pkg-up@7.0.1: + resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} + engines: {node: '>=8'} + dependencies: + find-up: 4.1.0 + read-pkg: 5.2.0 + type-fest: 0.8.1 + dev: true + + /read-pkg@5.2.0: + resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} + engines: {node: '>=8'} + dependencies: + '@types/normalize-package-data': 2.4.4 + normalize-package-data: 2.5.0 + parse-json: 5.2.0 + type-fest: 0.6.0 + dev: true + + /readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + dev: true + + /readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + + /regenerate-unicode-properties@10.1.1: + resolution: {integrity: sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q==} + engines: {node: '>=4'} + dependencies: + regenerate: 1.4.2 + dev: true + + /regenerate@1.4.2: + resolution: {integrity: sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==} + dev: true + + /regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + + /regenerator-transform@0.15.2: + resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==} + dependencies: + '@babel/runtime': 7.23.7 + dev: true + + /regexp-tree@0.1.27: + resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} + hasBin: true + dev: true + + /regexp.prototype.flags@1.5.1: + resolution: {integrity: sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + set-function-name: 2.0.1 + dev: true + + /regexpu-core@5.3.2: + resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==} + engines: {node: '>=4'} + dependencies: + '@babel/regjsgen': 0.8.0 + regenerate: 1.4.2 + regenerate-unicode-properties: 10.1.1 + regjsparser: 0.9.1 + unicode-match-property-ecmascript: 2.0.0 + unicode-match-property-value-ecmascript: 2.1.0 + dev: true + + /regjsparser@0.10.0: + resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} + hasBin: true + dependencies: + jsesc: 0.5.0 + dev: true + + /regjsparser@0.9.1: + resolution: {integrity: sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==} + hasBin: true + dependencies: + jsesc: 0.5.0 + dev: true + + /require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + dev: false + + /require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + dev: true + + /require-main-filename@2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + dev: false + + /requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + dev: true + + /resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + dev: true + + /resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + dev: true + + /resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + dependencies: + is-core-module: 2.13.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + dev: true + + /ret@0.1.15: + resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} + engines: {node: '>=0.12'} + dev: false + + /reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + /rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: true + + /rollup-plugin-terser@7.0.2(rollup@2.79.1): + resolution: {integrity: sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==} + deprecated: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser + peerDependencies: + rollup: ^2.0.0 + dependencies: + '@babel/code-frame': 7.23.5 + jest-worker: 26.6.2 + rollup: 2.79.1 + serialize-javascript: 4.0.0 + terser: 5.26.0 + dev: true + + /rollup@2.79.1: + resolution: {integrity: sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==} + engines: {node: '>=10.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.3 + + /rollup@3.29.4: + resolution: {integrity: sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==} + engines: {node: '>=14.18.0', npm: '>=8.0.0'} + hasBin: true + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /rope-sequence@1.3.4: + resolution: {integrity: sha512-UT5EDe2cu2E/6O4igUr5PSFs23nvvukicWHx6GnOPlHAiiYbzNuCRQCuiUdHJQcqKalLKlrYJnjY0ySGsXNQXQ==} + dev: false + + /rrweb-cssom@0.6.0: + resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + dev: true + + /run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + + /safe-array-concat@1.0.1: + resolution: {integrity: sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==} + engines: {node: '>=0.4'} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + has-symbols: 1.0.3 + isarray: 2.0.5 + dev: true + + /safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true + + /safe-regex-test@1.0.0: + resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + is-regex: 1.1.4 + dev: true + + /safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + requiresBuild: true + dev: true + + /sax@1.3.0: + resolution: {integrity: sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==} + requiresBuild: true + dev: true + optional: true + + /saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + dependencies: + xmlchars: 2.2.0 + dev: true + + /scule@1.1.1: + resolution: {integrity: sha512-sHtm/SsIK9BUBI3EFT/Gnp9VoKfY6QLvlkvAE6YK7454IF8FSgJEAnJpVdSC7K5/pjI5NfxhzBLW2JAfYA/shQ==} + dev: false + + /section-matter@1.0.0: + resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==} + engines: {node: '>=4'} + dependencies: + extend-shallow: 2.0.1 + kind-of: 6.0.3 + dev: true + + /seedrandom@3.0.5: + resolution: {integrity: sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==} + dev: false + + /seemly@0.3.8: + resolution: {integrity: sha512-MW8Qs6vbzo0pHmDpFSYPna+lwpZ6Zk1ancbajw/7E8TKtHdV+1DfZZD+kKJEhG/cAoB/i+LiT+5msZOqj0DwRA==} + dev: false + + /semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + dev: true + + /semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + dev: true + + /semver@7.5.4: + resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + + /sentence-case@2.1.1: + resolution: {integrity: sha512-ENl7cYHaK/Ktwk5OTD+aDbQ3uC8IByu/6Bkg+HDv8Mm+XnBnppVNalcfJTNsp1ibstKh030/JKQQWglDvtKwEQ==} + dependencies: + no-case: 2.3.2 + upper-case-first: 1.1.2 + dev: true + + /sentence-case@3.0.4: + resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} + dependencies: + no-case: 3.0.4 + tslib: 2.6.2 + upper-case-first: 2.0.2 + dev: false + + /serialize-javascript@4.0.0: + resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} + dependencies: + randombytes: 2.1.0 + dev: true + + /set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + dev: false + + /set-function-length@1.1.1: + resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.1 + get-intrinsic: 1.2.2 + gopd: 1.0.1 + has-property-descriptors: 1.0.1 + dev: true + + /set-function-name@2.0.1: + resolution: {integrity: sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.1 + functions-have-names: 1.2.3 + has-property-descriptors: 1.0.1 + dev: true + + /set-value@4.1.0: + resolution: {integrity: sha512-zTEg4HL0RwVrqcWs3ztF+x1vkxfm0lP+MQQFPiMJTKVceBwEV0A569Ou8l9IYQG8jOZdMVI1hGsc0tmeD2o/Lw==} + engines: {node: '>=11.0'} + dependencies: + is-plain-object: 2.0.4 + is-primitive: 3.0.1 + dev: false + + /shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + dependencies: + shebang-regex: 3.0.0 + dev: true + + /shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + dev: true + + /side-channel@1.0.4: + resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + object-inspect: 1.13.1 + dev: true + + /siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + dev: true + + /signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + dev: true + + /signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + dev: true + + /sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + dependencies: + '@polka/url': 1.0.0-next.24 + mrmime: 2.0.0 + totalist: 3.0.1 + dev: true + + /slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + dev: true + + /slash@4.0.0: + resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} + engines: {node: '>=12'} + dev: true + + /snake-case@2.1.0: + resolution: {integrity: sha512-FMR5YoPFwOLuh4rRz92dywJjyKYZNLpMn1R5ujVpIYkbA9p01fq8RMg0FkO4M+Yobt4MjHeLTJVm5xFFBHSV2Q==} + dependencies: + no-case: 2.3.2 + dev: true + + /snake-case@3.0.4: + resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} + dependencies: + dot-case: 3.0.4 + tslib: 2.6.2 + dev: false + + /source-map-js@1.0.2: + resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} + engines: {node: '>=0.10.0'} + + /source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + dependencies: + whatwg-url: 7.1.0 + dev: true + + /sourcemap-codec@1.4.8: + resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} + deprecated: Please use @jridgewell/sourcemap-codec instead + dev: true + + /spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.16 + dev: true + + /spdx-exceptions@2.3.0: + resolution: {integrity: sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==} + dev: true + + /spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.16 + dev: true + + /spdx-expression-parse@4.0.0: + resolution: {integrity: sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==} + dependencies: + spdx-exceptions: 2.3.0 + spdx-license-ids: 3.0.16 + dev: true + + /spdx-license-ids@3.0.16: + resolution: {integrity: sha512-eWN+LnM3GR6gPu35WxNgbGl8rmY1AEmoMDvL/QD6zYmPWgywxWqJWNdLGT+ke8dKNWrcYgYjPpG5gbTfghP8rw==} + dev: true + + /split@0.3.3: + resolution: {integrity: sha512-wD2AeVmxXRBoX44wAycgjVpMhvbwdI2aZjCkvfNcH1YqHQvJVa1duWc73OyVGJUc05fhFaTZeQ/PYsrmyH0JVA==} + dependencies: + through: 2.3.8 + dev: true + + /sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + + /sprintf-js@1.1.2: + resolution: {integrity: sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==} + dev: false + + /sql-formatter@13.1.0: + resolution: {integrity: sha512-/nZQXuN7KzipFNM20ko+dHY4kOr9rymSfZLUDED8rhx3m8OK5y74jcyN+y1L51ZqHqiB0kp40VdpZP99uWvQdA==} + hasBin: true + dependencies: + argparse: 2.0.1 + get-stdin: 8.0.0 + nearley: 2.20.1 + dev: false + + /stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + dev: true + + /std-env@3.7.0: + resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + dev: true + + /stream-combiner@0.0.4: + resolution: {integrity: sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==} + dependencies: + duplexer: 0.1.2 + dev: true + + /stream@0.0.2: + resolution: {integrity: sha512-gCq3NDI2P35B2n6t76YJuOp7d6cN/C7Rt0577l91wllh0sY9ZBuw9KaSGqH/b0hzn3CWWJbpbW0W0WvQ1H/Q7g==} + dependencies: + emitter-component: 1.1.2 + dev: false + + /string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + /string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + dev: true + + /string.prototype.matchall@4.0.10: + resolution: {integrity: sha512-rGXbGmOEosIQi6Qva94HUjgPs9vKW+dkG7Y8Q5O2OYkWL6wFaTRZO8zM4mhP94uX55wgyrXzfS2aGtGzUL7EJQ==} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + get-intrinsic: 1.2.2 + has-symbols: 1.0.3 + internal-slot: 1.0.6 + regexp.prototype.flags: 1.5.1 + set-function-name: 2.0.1 + side-channel: 1.0.4 + dev: true + + /string.prototype.trim@1.2.8: + resolution: {integrity: sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + dev: true + + /string.prototype.trimend@1.0.7: + resolution: {integrity: sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + dev: true + + /string.prototype.trimstart@1.0.7: + resolution: {integrity: sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==} + dependencies: + call-bind: 1.0.5 + define-properties: 1.2.1 + es-abstract: 1.22.3 + dev: true + + /string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /stringify-object@3.3.0: + resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==} + engines: {node: '>=4'} + dependencies: + get-own-enumerable-property-symbols: 3.0.2 + is-obj: 1.0.1 + is-regexp: 1.0.0 + dev: true + + /strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + dependencies: + ansi-regex: 5.0.1 + + /strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + dependencies: + ansi-regex: 6.0.1 + dev: true + + /strip-bom-string@1.0.0: + resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} + engines: {node: '>=0.10.0'} + dev: true + + /strip-comments@2.0.1: + resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==} + engines: {node: '>=10'} + dev: true + + /strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + dev: true + + /strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + dependencies: + min-indent: 1.0.1 + dev: true + + /strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + dev: true + + /strip-literal@1.3.0: + resolution: {integrity: sha512-PugKzOsyXpArk0yWmUwqOZecSO0GH0bPoctLcqNDH9J04pVW3lflYE0ujElBGTloevcxF5MofAOZ7C5l2b+wLg==} + dependencies: + acorn: 8.11.3 + + /supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + dependencies: + has-flag: 3.0.0 + dev: true + + /supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /svg-tags@1.0.0: + resolution: {integrity: sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA==} + dev: true + + /svgo@3.2.0: + resolution: {integrity: sha512-4PP6CMW/V7l/GmKRKzsLR8xxjdHTV4IMvhTnpuHwwBazSIlw5W/5SmPjN8Dwyt7lKbSJrRDgp4t9ph0HgChFBQ==} + engines: {node: '>=14.0.0'} + hasBin: true + dependencies: + '@trysound/sax': 0.2.0 + commander: 7.2.0 + css-select: 5.1.0 + css-tree: 2.3.1 + css-what: 6.1.0 + csso: 5.0.5 + picocolors: 1.0.0 + dev: true + + /swap-case@1.1.2: + resolution: {integrity: sha512-BAmWG6/bx8syfc6qXPprof3Mn5vQgf5dwdUNJhsNqU9WdPt5P+ES/wQ5bxfijy8zwZgZZHslC3iAsxsuQMCzJQ==} + dependencies: + lower-case: 1.1.4 + upper-case: 1.1.3 + dev: true + + /symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + dev: true + + /synckit@0.8.8: + resolution: {integrity: sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ==} + engines: {node: ^14.18.0 || >=16.0.0} + dependencies: + '@pkgr/core': 0.1.0 + tslib: 2.6.2 + dev: true + + /temp-dir@2.0.0: + resolution: {integrity: sha512-aoBAniQmmwtcKp/7BzsH8Cxzv8OL736p7v1ihGb5e9DJ9kTwGWHrQrVB5+lfVDzfGrdRzXch+ig7LHaY1JTOrg==} + engines: {node: '>=8'} + dev: true + + /tempy@0.6.0: + resolution: {integrity: sha512-G13vtMYPT/J8A4X2SjdtBTphZlrp1gKv6hZiOjw14RCWg6GbHuQBGtjlx75xLbYV/wEc0D7G5K4rxKP/cXk8Bw==} + engines: {node: '>=10'} + dependencies: + is-stream: 2.0.1 + temp-dir: 2.0.0 + type-fest: 0.16.0 + unique-string: 2.0.0 + dev: true + + /terser@5.26.0: + resolution: {integrity: sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jridgewell/source-map': 0.3.5 + acorn: 8.11.3 + commander: 2.20.3 + source-map-support: 0.5.21 + dev: true + + /text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + dev: true + + /throttle-debounce@3.0.1: + resolution: {integrity: sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==} + engines: {node: '>=10'} + dev: false + + /through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + dev: true + + /tiny-emitter@2.1.0: + resolution: {integrity: sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q==} + dev: false + + /tinybench@2.5.1: + resolution: {integrity: sha512-65NKvSuAVDP/n4CqH+a9w2kTlLReS9vhsAP06MWx+/89nMinJyB2icyl58RIcqCmIggpojIGeuJGhjU1aGMBSg==} + dev: true + + /tinypool@0.7.0: + resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} + engines: {node: '>=14.0.0'} + dev: true + + /tinyspy@2.2.0: + resolution: {integrity: sha512-d2eda04AN/cPOR89F7Xv5bK/jrQEhmcLFe6HFldoeO9AJtps+fqEnh486vnT/8y4bw38pSyxDcTCAq+Ks2aJTg==} + engines: {node: '>=14.0.0'} + dev: true + + /tippy.js@6.3.7: + resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==} + dependencies: + '@popperjs/core': 2.11.8 + dev: false + + /title-case@2.1.1: + resolution: {integrity: sha512-EkJoZ2O3zdCz3zJsYCsxyq2OC5hrxR9mfdd5I+w8h/tmFfeOxJ+vvkxsKxdmN0WtS9zLdHEgfgVOiMVgv+Po4Q==} + dependencies: + no-case: 2.3.2 + upper-case: 1.1.3 + dev: true + + /to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + + /to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + + /totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + dev: true + + /tough-cookie@4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} + engines: {node: '>=6'} + dependencies: + psl: 1.9.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + dev: true + + /tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + dependencies: + punycode: 2.3.1 + dev: true + + /tr46@4.1.1: + resolution: {integrity: sha512-2lv/66T7e5yNyhAAC4NaKe5nVavzuGJQVVtRYLyQ2OI8tsJ61PMLlelehb0wi2Hx6+hT/OJUWZcw8MjlSRnxvw==} + engines: {node: '>=14'} + dependencies: + punycode: 2.3.1 + dev: true + + /treemate@0.3.11: + resolution: {integrity: sha512-M8RGFoKtZ8dF+iwJfAJTOH/SM4KluKOKRJpjCMhI8bG3qB74zrFoArKZ62ll0Fr3mqkMJiQOmWYkdYgDeITYQg==} + dev: false + + /ts-api-utils@1.0.3(typescript@5.2.2): + resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 5.2.2 + dev: true + + /tslib@1.14.1: + resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + dev: true + + /tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + + /tsutils@3.21.0(typescript@5.2.2): + resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} + engines: {node: '>= 6'} + peerDependencies: + typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + dependencies: + tslib: 1.14.1 + typescript: 5.2.2 + dev: true + + /type-check@0.4.0: + resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.2.1 + dev: true + + /type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: true + + /type-fest@0.16.0: + resolution: {integrity: sha512-eaBzG6MxNzEn9kiwvtre90cXaNLkmadMWa1zQMs3XORCXNbsH/OewwbxC5ia9dCxIxnTAsSxXJaa/p5y8DlvJg==} + engines: {node: '>=10'} + dev: true + + /type-fest@0.20.2: + resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} + engines: {node: '>=10'} + dev: true + + /type-fest@0.6.0: + resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} + engines: {node: '>=8'} + dev: true + + /type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + dev: true + + /type-fest@2.19.0: + resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} + engines: {node: '>=12.20'} + dev: false + + /typed-array-buffer@1.0.0: + resolution: {integrity: sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + get-intrinsic: 1.2.2 + is-typed-array: 1.1.12 + dev: true + + /typed-array-byte-length@1.0.0: + resolution: {integrity: sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.5 + for-each: 0.3.3 + has-proto: 1.0.1 + is-typed-array: 1.1.12 + dev: true + + /typed-array-byte-offset@1.0.0: + resolution: {integrity: sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.5 + for-each: 0.3.3 + has-proto: 1.0.1 + is-typed-array: 1.1.12 + dev: true + + /typed-array-length@1.0.4: + resolution: {integrity: sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==} + dependencies: + call-bind: 1.0.5 + for-each: 0.3.3 + is-typed-array: 1.1.12 + dev: true + + /typed-function@4.1.1: + resolution: {integrity: sha512-Pq1DVubcvibmm8bYcMowjVnnMwPVMeh0DIdA8ad8NZY2sJgapANJmiigSUwlt+EgXxpfIv8MWrQXTIzkfYZLYQ==} + engines: {node: '>= 14'} + dev: false + + /typescript@5.2.2: + resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} + engines: {node: '>=14.17'} + hasBin: true + + /ua-parser-js@1.0.37: + resolution: {integrity: sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ==} + dev: false + + /uc.micro@1.0.6: + resolution: {integrity: sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==} + dev: true + + /uc.micro@2.0.0: + resolution: {integrity: sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==} + dev: false + + /ufo@1.3.2: + resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} + + /ulid@2.3.0: + resolution: {integrity: sha512-keqHubrlpvT6G2wH0OEfSW4mquYRcbe/J8NMmveoQOjUqmo+hXtO+ORCpWhdbZ7k72UtY61BL7haGxW6enBnjw==} + hasBin: true + dev: false + + /unbox-primitive@1.0.2: + resolution: {integrity: sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==} + dependencies: + call-bind: 1.0.5 + has-bigints: 1.0.2 + has-symbols: 1.0.3 + which-boxed-primitive: 1.0.2 + dev: true + + /unconfig@0.3.11: + resolution: {integrity: sha512-bV/nqePAKv71v3HdVUn6UefbsDKQWRX+bJIkiSm0+twIds6WiD2bJLWWT3i214+J/B4edufZpG2w7Y63Vbwxow==} + dependencies: + '@antfu/utils': 0.7.7 + defu: 6.1.3 + jiti: 1.21.0 + mlly: 1.4.2 + dev: true + + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + + /unhead@1.8.9: + resolution: {integrity: sha512-qqCNmA4KOEDjcl+OtRZTllGehXewcQ31zbHjvhl/jqCs2MfRcZoxFW1y7A4Y4BgR/O7PI89K+GoWGcxK3gn64Q==} + dependencies: + '@unhead/dom': 1.8.9 + '@unhead/schema': 1.8.9 + '@unhead/shared': 1.8.9 + hookable: 5.5.3 + dev: false + + /unicode-canonical-property-names-ecmascript@2.0.0: + resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} + engines: {node: '>=4'} + dev: true + + /unicode-emoji-json@0.4.0: + resolution: {integrity: sha512-lVNOwh2AnmbwqtSrEVjAWKQoVzWgyWmXVqPuPkPfKb0tnA0+uYN/4ILCTdy9IRj/+3drAVhmjwjNJQr2dhCwnA==} + dev: false + + /unicode-match-property-ecmascript@2.0.0: + resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} + engines: {node: '>=4'} + dependencies: + unicode-canonical-property-names-ecmascript: 2.0.0 + unicode-property-aliases-ecmascript: 2.1.0 + dev: true + + /unicode-match-property-value-ecmascript@2.1.0: + resolution: {integrity: sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA==} + engines: {node: '>=4'} + dev: true + + /unicode-property-aliases-ecmascript@2.1.0: + resolution: {integrity: sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w==} + engines: {node: '>=4'} + dev: true + + /unimport@3.7.1(rollup@2.79.1): + resolution: {integrity: sha512-V9HpXYfsZye5bPPYUgs0Otn3ODS1mDUciaBlXljI4C2fTwfFpvFZRywmlOu943puN9sncxROMZhsZCjNXEpzEQ==} + dependencies: + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + acorn: 8.11.3 + escape-string-regexp: 5.0.0 + estree-walker: 3.0.3 + fast-glob: 3.3.2 + local-pkg: 0.5.0 + magic-string: 0.30.5 + mlly: 1.4.2 + pathe: 1.1.1 + pkg-types: 1.0.3 + scule: 1.1.1 + strip-literal: 1.3.0 + unplugin: 1.6.0 + transitivePeerDependencies: + - rollup + dev: false + + /unique-string@2.0.0: + resolution: {integrity: sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg==} + engines: {node: '>=8'} + dependencies: + crypto-random-string: 2.0.0 + dev: true + + /unist-util-stringify-position@2.0.3: + resolution: {integrity: sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==} + dependencies: + '@types/unist': 2.0.10 + dev: true + + /universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + + /universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + dev: true + + /unocss-preset-scrollbar@0.2.1(unocss@0.57.7): + resolution: {integrity: sha512-7ubHdOaUwr7xBn1glPpICNNsM2SZGjvWK5uRPNiQYsrZ9YFjsCGHk9x5S2R8pTkuMDQeiaSa/UQbYhjC8Fra5g==} + peerDependencies: + unocss: '>= 0.31.13 < 1' + dependencies: + '@unocss/preset-mini': 0.31.17 + unocss: 0.57.7(postcss@8.4.32)(rollup@2.79.1)(vite@4.5.1) + dev: true + + /unocss@0.57.7(postcss@8.4.32)(rollup@2.79.1)(vite@4.5.1): + resolution: {integrity: sha512-Z99ZZPkbkjIUXEM7L+K/7Y5V5yqUS0VigG7ZIFzLf/npieKmXHKlrPyvQWFQaf3OqooMFuKBQivh75TwvSOkcQ==} + engines: {node: '>=14'} + peerDependencies: + '@unocss/webpack': 0.57.7 + vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0 + peerDependenciesMeta: + '@unocss/webpack': + optional: true + vite: + optional: true + dependencies: + '@unocss/astro': 0.57.7(rollup@2.79.1)(vite@4.5.1) + '@unocss/cli': 0.57.7(rollup@2.79.1) + '@unocss/core': 0.57.7 + '@unocss/extractor-arbitrary-variants': 0.57.7 + '@unocss/postcss': 0.57.7(postcss@8.4.32) + '@unocss/preset-attributify': 0.57.7 + '@unocss/preset-icons': 0.57.7 + '@unocss/preset-mini': 0.57.7 + '@unocss/preset-tagify': 0.57.7 + '@unocss/preset-typography': 0.57.7 + '@unocss/preset-uno': 0.57.7 + '@unocss/preset-web-fonts': 0.57.7 + '@unocss/preset-wind': 0.57.7 + '@unocss/reset': 0.57.7 + '@unocss/transformer-attributify-jsx': 0.57.7 + '@unocss/transformer-attributify-jsx-babel': 0.57.7 + '@unocss/transformer-compile-class': 0.57.7 + '@unocss/transformer-directives': 0.57.7 + '@unocss/transformer-variant-group': 0.57.7 + '@unocss/vite': 0.57.7(rollup@2.79.1)(vite@4.5.1) + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + transitivePeerDependencies: + - postcss + - rollup + - supports-color + dev: true + + /unplugin-auto-import@0.16.7(@vueuse/core@10.7.1)(rollup@2.79.1): + resolution: {integrity: sha512-w7XmnRlchq6YUFJVFGSvG1T/6j8GrdYN6Em9Wf0Ye+HXgD/22kont+WnuCAA0UaUoxtuvRR1u/mXKy63g/hfqQ==} + engines: {node: '>=14'} + peerDependencies: + '@nuxt/kit': ^3.2.2 + '@vueuse/core': '*' + peerDependenciesMeta: + '@nuxt/kit': + optional: true + '@vueuse/core': + optional: true + dependencies: + '@antfu/utils': 0.7.7 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + '@vueuse/core': 10.7.1(vue@3.4.3) + fast-glob: 3.3.2 + local-pkg: 0.5.0 + magic-string: 0.30.5 + minimatch: 9.0.3 + unimport: 3.7.1(rollup@2.79.1) + unplugin: 1.6.0 + transitivePeerDependencies: + - rollup + dev: false + + /unplugin-icons@0.17.4(@vue/compiler-sfc@3.4.3): + resolution: {integrity: sha512-PHLxjBx3ZV8RUBvfMafFl8uWH88jHeZgOijcRpkwgne7y2Ovx7WI0Ltzzw3fjZQ7dGaDhB8udyKVdm9N2S6BIw==} + peerDependencies: + '@svgr/core': '>=7.0.0' + '@svgx/core': ^1.0.1 + '@vue/compiler-sfc': ^3.0.2 || ^2.7.0 + vue-template-compiler: ^2.6.12 + vue-template-es2015-compiler: ^1.9.0 + peerDependenciesMeta: + '@svgr/core': + optional: true + '@svgx/core': + optional: true + '@vue/compiler-sfc': + optional: true + vue-template-compiler: + optional: true + vue-template-es2015-compiler: + optional: true + dependencies: + '@antfu/install-pkg': 0.1.1 + '@antfu/utils': 0.7.7 + '@iconify/utils': 2.1.14 + '@vue/compiler-sfc': 3.4.3 + debug: 4.3.4 + kolorist: 1.8.0 + local-pkg: 0.5.0 + unplugin: 1.6.0 + transitivePeerDependencies: + - supports-color + dev: true + + /unplugin-vue-components@0.25.2(rollup@2.79.1)(vue@3.4.3): + resolution: {integrity: sha512-OVmLFqILH6w+eM8fyt/d/eoJT9A6WO51NZLf1vC5c1FZ4rmq2bbGxTy8WP2Jm7xwFdukaIdv819+UI7RClPyCA==} + engines: {node: '>=14'} + peerDependencies: + '@babel/parser': ^7.15.8 + '@nuxt/kit': ^3.2.2 + vue: 2 || 3 + peerDependenciesMeta: + '@babel/parser': + optional: true + '@nuxt/kit': + optional: true + dependencies: + '@antfu/utils': 0.7.7 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + chokidar: 3.5.3 + debug: 4.3.4 + fast-glob: 3.3.2 + local-pkg: 0.4.3 + magic-string: 0.30.5 + minimatch: 9.0.3 + resolve: 1.22.8 + unplugin: 1.6.0 + vue: 3.4.3(typescript@5.2.2) + transitivePeerDependencies: + - rollup + - supports-color + dev: true + + /unplugin@1.6.0: + resolution: {integrity: sha512-BfJEpWBu3aE/AyHx8VaNE/WgouoQxgH9baAiH82JjX8cqVyi3uJQstqwD5J+SZxIK326SZIhsSZlALXVBCknTQ==} + dependencies: + acorn: 8.11.3 + chokidar: 3.5.3 + webpack-sources: 3.2.3 + webpack-virtual-modules: 0.6.1 + + /upath@1.2.0: + resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} + engines: {node: '>=4'} + dev: true + + /update-browserslist-db@1.0.13(browserslist@4.22.2): + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.22.2 + escalade: 3.1.1 + picocolors: 1.0.0 + dev: true + + /upper-case-first@1.1.2: + resolution: {integrity: sha512-wINKYvI3Db8dtjikdAqoBbZoP6Q+PZUyfMR7pmwHzjC2quzSkUq5DmPrTtPEqHaz8AGtmsB4TqwapMTM1QAQOQ==} + dependencies: + upper-case: 1.1.3 + dev: true + + /upper-case-first@2.0.2: + resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} + dependencies: + tslib: 2.6.2 + dev: false + + /upper-case@1.1.3: + resolution: {integrity: sha512-WRbjgmYzgXkCV7zNVpy5YgrHgbBv126rMALQQMrmzOVC4GM2waQ9x7xtm8VU+1yF2kWyPzI9zbZ48n4vSxwfSA==} + dev: true + + /upper-case@2.0.2: + resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} + dependencies: + tslib: 2.6.2 + dev: false + + /uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + dependencies: + punycode: 2.3.1 + dev: true + + /url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + + /util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: true + + /uuid@9.0.1: + resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + hasBin: true + dev: false + + /validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + dev: true + + /vdirs@0.1.8(vue@3.4.3): + resolution: {integrity: sha512-H9V1zGRLQZg9b+GdMk8MXDN2Lva0zx72MPahDKc30v+DtwKjfyOSXWRIX4t2mhDubM1H09gPhWeth/BJWPHGUw==} + peerDependencies: + vue: ^3.0.11 + dependencies: + evtd: 0.2.4 + vue: 3.4.3(typescript@5.2.2) + dev: false + + /vite-node@0.34.6(@types/node@18.19.4)(less@4.2.0): + resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==} + engines: {node: '>=v14.18.0'} + hasBin: true + dependencies: + cac: 6.7.14 + debug: 4.3.4 + mlly: 1.4.2 + pathe: 1.1.1 + picocolors: 1.0.0 + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + transitivePeerDependencies: + - '@types/node' + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vite-plugin-pwa@0.16.7(vite@4.5.1)(workbox-build@7.0.0)(workbox-window@7.0.0): + resolution: {integrity: sha512-4WMA5unuKlHs+koNoykeuCfTcqEGbiTRr8sVYUQMhc6tWxZpSRnv9Ojk4LKmqVhoPGHfBVCdGaMo8t9Qidkc1Q==} + engines: {node: '>=16.0.0'} + peerDependencies: + vite: ^3.1.0 || ^4.0.0 || ^5.0.0-0 + workbox-build: ^7.0.0 + workbox-window: ^7.0.0 + dependencies: + debug: 4.3.4 + fast-glob: 3.3.2 + pretty-bytes: 6.1.1 + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + workbox-build: 7.0.0 + workbox-window: 7.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /vite-plugin-vue-markdown@0.23.8(rollup@2.79.1)(vite@4.5.1): + resolution: {integrity: sha512-8G/PmndrdPfsnnUMvlJWHTCtoi/LLA+pKbePkZoZni21zy+mTX/mmdZCqO95e0OOn83W2okNHu9QriQFzmGU3A==} + deprecated: '`vite-plugin-vue-markdown` is renamed to `unplugin-vue-markdown`. For usages in Vite, you also need to change the import path to `unplugin-vue-markdown/vite`.' + peerDependencies: + vite: ^2.0.0 || ^3.0.0-0 || ^4.0.0 + dependencies: + '@antfu/utils': 0.7.7 + '@mdit-vue/plugin-component': 0.12.1 + '@mdit-vue/plugin-frontmatter': 0.12.1 + '@mdit-vue/types': 0.12.0 + '@rollup/pluginutils': 5.1.0(rollup@2.79.1) + '@types/markdown-it': 13.0.7 + markdown-it: 13.0.2 + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + transitivePeerDependencies: + - rollup + dev: true + + /vite-svg-loader@4.0.0: + resolution: {integrity: sha512-0MMf1yzzSYlV4MGePsLVAOqXsbF5IVxbn4EEzqRnWxTQl8BJg/cfwIzfQNmNQxZp5XXwd4kyRKF1LytuHZTnqA==} + dependencies: + '@vue/compiler-sfc': 3.4.3 + svgo: 3.2.0 + dev: true + + /vite@4.5.1(@types/node@18.19.4)(less@4.2.0): + resolution: {integrity: sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==} + engines: {node: ^14.18.0 || >=16.0.0} + hasBin: true + peerDependencies: + '@types/node': '>= 14' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + stylus: '*' + sugarss: '*' + terser: ^5.4.0 + peerDependenciesMeta: + '@types/node': + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + dependencies: + '@types/node': 18.19.4 + esbuild: 0.18.20 + less: 4.2.0 + postcss: 8.4.32 + rollup: 3.29.4 + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /vitest@0.34.6(jsdom@22.1.0)(less@4.2.0): + resolution: {integrity: sha512-+5CALsOvbNKnS+ZHMXtuUC7nL8/7F1F2DnHGjSsszX8zCjWSSviphCb/NuS9Nzf4Q03KyyDRBAXhF/8lffME4Q==} + engines: {node: '>=v14.18.0'} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@vitest/browser': '*' + '@vitest/ui': '*' + happy-dom: '*' + jsdom: '*' + playwright: '*' + safaridriver: '*' + webdriverio: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + dependencies: + '@types/chai': 4.3.11 + '@types/chai-subset': 1.3.5 + '@types/node': 18.19.4 + '@vitest/expect': 0.34.6 + '@vitest/runner': 0.34.6 + '@vitest/snapshot': 0.34.6 + '@vitest/spy': 0.34.6 + '@vitest/utils': 0.34.6 + acorn: 8.11.3 + acorn-walk: 8.3.1 + cac: 6.7.14 + chai: 4.3.10 + debug: 4.3.4 + jsdom: 22.1.0 + local-pkg: 0.4.3 + magic-string: 0.30.5 + pathe: 1.1.1 + picocolors: 1.0.0 + std-env: 3.7.0 + strip-literal: 1.3.0 + tinybench: 2.5.1 + tinypool: 0.7.0 + vite: 4.5.1(@types/node@18.19.4)(less@4.2.0) + vite-node: 0.34.6(@types/node@18.19.4)(less@4.2.0) + why-is-node-running: 2.2.2 + transitivePeerDependencies: + - less + - lightningcss + - sass + - stylus + - sugarss + - supports-color + - terser + dev: true + + /vooks@0.2.12(vue@3.4.3): + resolution: {integrity: sha512-iox0I3RZzxtKlcgYaStQYKEzWWGAduMmq+jS7OrNdQo1FgGfPMubGL3uGHOU9n97NIvfFDBGnpSvkWyb/NSn/Q==} + peerDependencies: + vue: ^3.0.0 + dependencies: + evtd: 0.2.4 + vue: 3.4.3(typescript@5.2.2) + dev: false + + /vue-component-type-helpers@1.8.27: + resolution: {integrity: sha512-0vOfAtI67UjeO1G6UiX5Kd76CqaQ67wrRZiOe7UAb9Jm6GzlUr/fC7CV90XfwapJRjpCMaZFhv1V0ajWRmE9Dg==} + dev: true + + /vue-demi@0.14.6(vue@3.4.3): + resolution: {integrity: sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + peerDependencies: + '@vue/composition-api': ^1.0.0-rc.1 + vue: ^3.0.0-0 || ^2.6.0 + peerDependenciesMeta: + '@vue/composition-api': + optional: true + dependencies: + vue: 3.4.3(typescript@5.2.2) + dev: false + + /vue-eslint-parser@9.3.2(eslint@8.56.0): + resolution: {integrity: sha512-q7tWyCVaV9f8iQyIA5Mkj/S6AoJ9KBN8IeUSf3XEmBrOtxOZnfTg5s4KClbZBCK3GtnT/+RyCLZyDHuZwTuBjg==} + engines: {node: ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: '>=6.0.0' + dependencies: + debug: 4.3.4 + eslint: 8.56.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.3 + espree: 9.6.1 + esquery: 1.5.0 + lodash: 4.17.21 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + dev: true + + /vue-i18n@9.8.0(vue@3.4.3): + resolution: {integrity: sha512-Izho+6PYjejsTq2mzjcRdBZ5VLRQoSuuexvR8029h5CpN03FYqiqBrShMyf2I1DKkN6kw/xmujcbvC+4QybpsQ==} + engines: {node: '>= 16'} + peerDependencies: + vue: ^3.0.0 + dependencies: + '@intlify/core-base': 9.8.0 + '@intlify/shared': 9.8.0 + '@vue/devtools-api': 6.5.1 + vue: 3.4.3(typescript@5.2.2) + + /vue-router@4.2.5(vue@3.4.3): + resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==} + peerDependencies: + vue: ^3.2.0 + dependencies: + '@vue/devtools-api': 6.5.1 + vue: 3.4.3(typescript@5.2.2) + dev: false + + /vue-template-compiler@2.7.16: + resolution: {integrity: sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==} + dependencies: + de-indent: 1.0.2 + he: 1.2.0 + dev: false + + /vue-tsc@1.8.27(typescript@5.2.2): + resolution: {integrity: sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==} + hasBin: true + peerDependencies: + typescript: '*' + dependencies: + '@volar/typescript': 1.11.1 + '@vue/language-core': 1.8.27(typescript@5.2.2) + semver: 7.5.4 + typescript: 5.2.2 + dev: false + + /vue@3.4.3(typescript@5.2.2): + resolution: {integrity: sha512-GjN+culMAGv/mUbkIv8zMKItno8npcj5gWlXkSxf1SPTQf8eJ4A+YfHIvQFyL1IfuJcMl3soA7SmN1fRxbf/wA==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@vue/compiler-dom': 3.4.3 + '@vue/compiler-sfc': 3.4.3 + '@vue/runtime-dom': 3.4.3 + '@vue/server-renderer': 3.4.3(vue@3.4.3) + '@vue/shared': 3.4.3 + typescript: 5.2.2 + + /vueuc@0.4.58(vue@3.4.3): + resolution: {integrity: sha512-Wnj/N8WbPRSxSt+9ji1jtDHPzda5h2OH/0sFBhvdxDRuyCZbjGg3/cKMaKqEoe+dErTexG2R+i6Q8S/Toq1MYg==} + peerDependencies: + vue: ^3.0.11 + dependencies: + '@css-render/vue3-ssr': 0.15.12(vue@3.4.3) + '@juggle/resize-observer': 3.4.0 + css-render: 0.15.12 + evtd: 0.2.4 + seemly: 0.3.8 + vdirs: 0.1.8(vue@3.4.3) + vooks: 0.2.12(vue@3.4.3) + vue: 3.4.3(typescript@5.2.2) + dev: false + + /w3c-keyname@2.2.8: + resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} + dev: false + + /w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + dependencies: + xml-name-validator: 4.0.0 + dev: true + + /wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + dependencies: + defaults: 1.0.4 + dev: true + + /web-streams-polyfill@3.2.1: + resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} + engines: {node: '>= 8'} + dev: true + + /webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + dev: true + + /webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + + /webpack-sources@3.2.3: + resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} + engines: {node: '>=10.13.0'} + + /webpack-virtual-modules@0.6.1: + resolution: {integrity: sha512-poXpCylU7ExuvZK8z+On3kX+S8o/2dQ/SVYueKA0D4WEMXROXgY8Ez50/bQEUmvoSMMrWcrJqCHuhAbsiwg7Dg==} + + /webpod@0.0.2: + resolution: {integrity: sha512-cSwwQIeg8v4i3p4ajHhwgR7N6VyxAf+KYSSsY6Pd3aETE+xEU4vbitz7qQkB0I321xnhDdgtxuiSfk5r/FVtjg==} + hasBin: true + dev: true + + /whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + dependencies: + iconv-lite: 0.6.3 + dev: true + + /whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + dev: true + + /whatwg-url@12.0.1: + resolution: {integrity: sha512-Ed/LrqB8EPlGxjS+TrsXcpUond1mhccS3pchLhzSgPCnTimUCKj3IZE75pAs5m6heB2U2TMerKFUXheyHY+VDQ==} + engines: {node: '>=14'} + dependencies: + tr46: 4.1.1 + webidl-conversions: 7.0.0 + dev: true + + /whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + dev: true + + /which-boxed-primitive@1.0.2: + resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} + dependencies: + is-bigint: 1.0.4 + is-boolean-object: 1.1.2 + is-number-object: 1.0.7 + is-string: 1.0.7 + is-symbol: 1.0.4 + dev: true + + /which-module@2.0.1: + resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} + dev: false + + /which-typed-array@1.1.13: + resolution: {integrity: sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==} + engines: {node: '>= 0.4'} + dependencies: + available-typed-arrays: 1.0.5 + call-bind: 1.0.5 + for-each: 0.3.3 + gopd: 1.0.1 + has-tostringtag: 1.0.0 + dev: true + + /which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /which@3.0.1: + resolution: {integrity: sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /why-is-node-running@2.2.2: + resolution: {integrity: sha512-6tSwToZxTOcotxHeA+qGCq1mVzKR3CwcJGmVcY+QE8SHy6TnpFnh8PAvPNHYr7EcuVeG0QSMxtYCuO1ta/G/oA==} + engines: {node: '>=8'} + hasBin: true + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + dev: true + + /workbox-background-sync@7.0.0: + resolution: {integrity: sha512-S+m1+84gjdueM+jIKZ+I0Lx0BDHkk5Nu6a3kTVxP4fdj3gKouRNmhO8H290ybnJTOPfBDtTMXSQA/QLTvr7PeA==} + dependencies: + idb: 7.1.1 + workbox-core: 7.0.0 + dev: true + + /workbox-broadcast-update@7.0.0: + resolution: {integrity: sha512-oUuh4jzZrLySOo0tC0WoKiSg90bVAcnE98uW7F8GFiSOXnhogfNDGZelPJa+6KpGBO5+Qelv04Hqx2UD+BJqNQ==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-build@7.0.0: + resolution: {integrity: sha512-CttE7WCYW9sZC+nUYhQg3WzzGPr4IHmrPnjKiu3AMXsiNQKx+l4hHl63WTrnicLmKEKHScWDH8xsGBdrYgtBzg==} + engines: {node: '>=16.0.0'} + dependencies: + '@apideck/better-ajv-errors': 0.3.6(ajv@8.12.0) + '@babel/core': 7.23.7 + '@babel/preset-env': 7.23.7(@babel/core@7.23.7) + '@babel/runtime': 7.23.7 + '@rollup/plugin-babel': 5.3.1(@babel/core@7.23.7)(rollup@2.79.1) + '@rollup/plugin-node-resolve': 11.2.1(rollup@2.79.1) + '@rollup/plugin-replace': 2.4.2(rollup@2.79.1) + '@surma/rollup-plugin-off-main-thread': 2.2.3 + ajv: 8.12.0 + common-tags: 1.8.2 + fast-json-stable-stringify: 2.1.0 + fs-extra: 9.1.0 + glob: 7.2.3 + lodash: 4.17.21 + pretty-bytes: 5.6.0 + rollup: 2.79.1 + rollup-plugin-terser: 7.0.2(rollup@2.79.1) + source-map: 0.8.0-beta.0 + stringify-object: 3.3.0 + strip-comments: 2.0.1 + tempy: 0.6.0 + upath: 1.2.0 + workbox-background-sync: 7.0.0 + workbox-broadcast-update: 7.0.0 + workbox-cacheable-response: 7.0.0 + workbox-core: 7.0.0 + workbox-expiration: 7.0.0 + workbox-google-analytics: 7.0.0 + workbox-navigation-preload: 7.0.0 + workbox-precaching: 7.0.0 + workbox-range-requests: 7.0.0 + workbox-recipes: 7.0.0 + workbox-routing: 7.0.0 + workbox-strategies: 7.0.0 + workbox-streams: 7.0.0 + workbox-sw: 7.0.0 + workbox-window: 7.0.0 + transitivePeerDependencies: + - '@types/babel__core' + - supports-color + dev: true + + /workbox-cacheable-response@7.0.0: + resolution: {integrity: sha512-0lrtyGHn/LH8kKAJVOQfSu3/80WDc9Ma8ng0p2i/5HuUndGttH+mGMSvOskjOdFImLs2XZIimErp7tSOPmu/6g==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-core@7.0.0: + resolution: {integrity: sha512-81JkAAZtfVP8darBpfRTovHg8DGAVrKFgHpOArZbdFd78VqHr5Iw65f2guwjE2NlCFbPFDoez3D3/6ZvhI/rwQ==} + dev: true + + /workbox-expiration@7.0.0: + resolution: {integrity: sha512-MLK+fogW+pC3IWU9SFE+FRStvDVutwJMR5if1g7oBJx3qwmO69BNoJQVaMXq41R0gg3MzxVfwOGKx3i9P6sOLQ==} + dependencies: + idb: 7.1.1 + workbox-core: 7.0.0 + dev: true + + /workbox-google-analytics@7.0.0: + resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} + dependencies: + workbox-background-sync: 7.0.0 + workbox-core: 7.0.0 + workbox-routing: 7.0.0 + workbox-strategies: 7.0.0 + dev: true + + /workbox-navigation-preload@7.0.0: + resolution: {integrity: sha512-juWCSrxo/fiMz3RsvDspeSLGmbgC0U9tKqcUPZBCf35s64wlaLXyn2KdHHXVQrb2cqF7I0Hc9siQalainmnXJA==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-precaching@7.0.0: + resolution: {integrity: sha512-EC0vol623LJqTJo1mkhD9DZmMP604vHqni3EohhQVwhJlTgyKyOkMrZNy5/QHfOby+39xqC01gv4LjOm4HSfnA==} + dependencies: + workbox-core: 7.0.0 + workbox-routing: 7.0.0 + workbox-strategies: 7.0.0 + dev: true + + /workbox-range-requests@7.0.0: + resolution: {integrity: sha512-SxAzoVl9j/zRU9OT5+IQs7pbJBOUOlriB8Gn9YMvi38BNZRbM+RvkujHMo8FOe9IWrqqwYgDFBfv6sk76I1yaQ==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-recipes@7.0.0: + resolution: {integrity: sha512-DntcK9wuG3rYQOONWC0PejxYYIDHyWWZB/ueTbOUDQgefaeIj1kJ7pdP3LZV2lfrj8XXXBWt+JDRSw1lLLOnww==} + dependencies: + workbox-cacheable-response: 7.0.0 + workbox-core: 7.0.0 + workbox-expiration: 7.0.0 + workbox-precaching: 7.0.0 + workbox-routing: 7.0.0 + workbox-strategies: 7.0.0 + dev: true + + /workbox-routing@7.0.0: + resolution: {integrity: sha512-8YxLr3xvqidnbVeGyRGkaV4YdlKkn5qZ1LfEePW3dq+ydE73hUUJJuLmGEykW3fMX8x8mNdL0XrWgotcuZjIvA==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-strategies@7.0.0: + resolution: {integrity: sha512-dg3qJU7tR/Gcd/XXOOo7x9QoCI9nk74JopaJaYAQ+ugLi57gPsXycVdBnYbayVj34m6Y8ppPwIuecrzkpBVwbA==} + dependencies: + workbox-core: 7.0.0 + dev: true + + /workbox-streams@7.0.0: + resolution: {integrity: sha512-moVsh+5to//l6IERWceYKGiftc+prNnqOp2sgALJJFbnNVpTXzKISlTIsrWY+ogMqt+x1oMazIdHj25kBSq/HQ==} + dependencies: + workbox-core: 7.0.0 + workbox-routing: 7.0.0 + dev: true + + /workbox-sw@7.0.0: + resolution: {integrity: sha512-SWfEouQfjRiZ7GNABzHUKUyj8pCoe+RwjfOIajcx6J5mtgKkN+t8UToHnpaJL5UVVOf5YhJh+OHhbVNIHe+LVA==} + dev: true + + /workbox-window@7.0.0: + resolution: {integrity: sha512-j7P/bsAWE/a7sxqTzXo3P2ALb1reTfZdvVp6OJ/uLr/C2kZAMvjeWGm8V4htQhor7DOvYg0sSbFN2+flT5U0qA==} + dependencies: + '@types/trusted-types': 2.0.7 + workbox-core: 7.0.0 + dev: true + + /wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: false + + /wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: true + + /wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + dev: true + + /wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + /ws@8.16.0: + resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + + /xml-formatter@3.6.0: + resolution: {integrity: sha512-Wic80ENNLF/5mLcc82hVLmoOWQlLDJtVv+N1/hkP4hBuVXPLKrXo92/4V23QYPKfUxvCU6Y2AcdpHCIA/xexFw==} + engines: {node: '>= 14'} + dependencies: + xml-parser-xo: 4.1.1 + dev: false + + /xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + dev: true + + /xml-parser-xo@4.1.1: + resolution: {integrity: sha512-Ggf2y90+Y6e9IK5hoPuembVHJ03PhDSdhldEmgzbihzu9k0XBo0sfcFxaSi4W1PlUSSI1ok+MJ0JCXUn+U4Ilw==} + engines: {node: '>= 14'} + dev: false + + /xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + dev: true + + /y18n@4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} + dev: false + + /yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + dev: true + + /yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + + /yaml-eslint-parser@1.2.2: + resolution: {integrity: sha512-pEwzfsKbTrB8G3xc/sN7aw1v6A6c/pKxLAkjclnAyo5g5qOh6eL9WGu0o3cSDQZKrTNk4KL4lQSwZW+nBkANEg==} + engines: {node: ^14.17.0 || >=16.0.0} + dependencies: + eslint-visitor-keys: 3.4.3 + lodash: 4.17.21 + yaml: 2.3.4 + dev: true + + /yaml@2.3.4: + resolution: {integrity: sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==} + engines: {node: '>= 14'} + + /yamljs@0.3.0: + resolution: {integrity: sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ==} + hasBin: true + dependencies: + argparse: 1.0.10 + glob: 7.2.3 + dev: false + + /yargs-parser@18.1.3: + resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} + engines: {node: '>=6'} + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + dev: false + + /yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + dev: true + + /yargs@15.4.1: + resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==} + engines: {node: '>=8'} + dependencies: + cliui: 6.0.0 + decamelize: 1.2.0 + find-up: 4.1.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 4.2.3 + which-module: 2.0.1 + y18n: 4.0.3 + yargs-parser: 18.1.3 + dev: false + + /yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: true + + /yocto-queue@1.0.0: + resolution: {integrity: sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==} + engines: {node: '>=12.20'} + dev: true + + /zhead@2.2.4: + resolution: {integrity: sha512-8F0OI5dpWIA5IGG5NHUg9staDwz/ZPxZtvGVf01j7vHqSyZ0raHY+78atOVxRqb73AotX22uV1pXt3gYSstGag==} + dev: false + + /zx@7.2.3: + resolution: {integrity: sha512-QODu38nLlYXg/B/Gw7ZKiZrvPkEsjPN3LQ5JFXM7h0JvwhEdPNNl+4Ao1y4+o3CLNiDUNcwzQYZ4/Ko7kKzCMA==} + engines: {node: '>= 16.0.0'} + hasBin: true + dependencies: + '@types/fs-extra': 11.0.4 + '@types/minimist': 1.2.5 + '@types/node': 18.19.4 + '@types/ps-tree': 1.1.6 + '@types/which': 3.0.3 + chalk: 5.3.0 + fs-extra: 11.2.0 + fx: 31.0.0 + globby: 13.2.2 + minimist: 1.2.8 + node-fetch: 3.3.1 + ps-tree: 1.2.0 + webpod: 0.0.2 + which: 3.0.1 + yaml: 2.3.4 + dev: true diff --git a/zh-CN/public/android-chrome-192x192.png b/zh-CN/public/android-chrome-192x192.png new file mode 100644 index 00000000..d104fd1b Binary files /dev/null and b/zh-CN/public/android-chrome-192x192.png differ diff --git a/zh-CN/public/android-chrome-512x512.png b/zh-CN/public/android-chrome-512x512.png new file mode 100644 index 00000000..17df08f5 Binary files /dev/null and b/zh-CN/public/android-chrome-512x512.png differ diff --git a/zh-CN/public/apple-touch-icon.png b/zh-CN/public/apple-touch-icon.png new file mode 100644 index 00000000..bef317bf Binary files /dev/null and b/zh-CN/public/apple-touch-icon.png differ diff --git a/zh-CN/public/banner.png b/zh-CN/public/banner.png new file mode 100644 index 00000000..8ccd1650 Binary files /dev/null and b/zh-CN/public/banner.png differ diff --git a/zh-CN/public/browserconfig.xml b/zh-CN/public/browserconfig.xml new file mode 100644 index 00000000..b3930d0f --- /dev/null +++ b/zh-CN/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #da532c + + + diff --git a/zh-CN/public/favicon-16x16.png b/zh-CN/public/favicon-16x16.png new file mode 100644 index 00000000..c91c5967 Binary files /dev/null and b/zh-CN/public/favicon-16x16.png differ diff --git a/zh-CN/public/favicon-32x32.png b/zh-CN/public/favicon-32x32.png new file mode 100644 index 00000000..6b1d7a49 Binary files /dev/null and b/zh-CN/public/favicon-32x32.png differ diff --git a/zh-CN/public/favicon.ico b/zh-CN/public/favicon.ico new file mode 100644 index 00000000..a0c39f8f Binary files /dev/null and b/zh-CN/public/favicon.ico differ diff --git a/zh-CN/public/humans.txt b/zh-CN/public/humans.txt new file mode 100644 index 00000000..d5d49e2b --- /dev/null +++ b/zh-CN/public/humans.txt @@ -0,0 +1,4 @@ +/* TEAM */ +Developer: Corentin Thomasset +Site: https://github.com/CorentinTh +Twitter: @cthmsst \ No newline at end of file diff --git a/zh-CN/public/mstile-144x144.png b/zh-CN/public/mstile-144x144.png new file mode 100644 index 00000000..10263a88 Binary files /dev/null and b/zh-CN/public/mstile-144x144.png differ diff --git a/zh-CN/public/mstile-150x150.png b/zh-CN/public/mstile-150x150.png new file mode 100644 index 00000000..2d6d1a01 Binary files /dev/null and b/zh-CN/public/mstile-150x150.png differ diff --git a/zh-CN/public/mstile-310x150.png b/zh-CN/public/mstile-310x150.png new file mode 100644 index 00000000..f08c43f9 Binary files /dev/null and b/zh-CN/public/mstile-310x150.png differ diff --git a/zh-CN/public/mstile-310x310.png b/zh-CN/public/mstile-310x310.png new file mode 100644 index 00000000..ce1caeaa Binary files /dev/null and b/zh-CN/public/mstile-310x310.png differ diff --git a/zh-CN/public/mstile-70x70.png b/zh-CN/public/mstile-70x70.png new file mode 100644 index 00000000..12f936dc Binary files /dev/null and b/zh-CN/public/mstile-70x70.png differ diff --git a/zh-CN/public/robots.txt b/zh-CN/public/robots.txt new file mode 100644 index 00000000..6f27bb66 --- /dev/null +++ b/zh-CN/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: \ No newline at end of file diff --git a/zh-CN/public/safari-pinned-tab.svg b/zh-CN/public/safari-pinned-tab.svg new file mode 100644 index 00000000..ed942cc7 --- /dev/null +++ b/zh-CN/public/safari-pinned-tab.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/zh-CN/public/web.config b/zh-CN/public/web.config new file mode 100644 index 00000000..7898ed7c --- /dev/null +++ b/zh-CN/public/web.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/zh-CN/renovate.json b/zh-CN/renovate.json new file mode 100644 index 00000000..39a2b6e9 --- /dev/null +++ b/zh-CN/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base" + ] +} diff --git a/zh-CN/scripts/create-tool.mjs b/zh-CN/scripts/create-tool.mjs new file mode 100644 index 00000000..94b70250 --- /dev/null +++ b/zh-CN/scripts/create-tool.mjs @@ -0,0 +1,104 @@ +import { mkdir, readFile, writeFile } from 'fs/promises'; +import { dirname, join } from 'path'; +import { fileURLToPath } from 'url'; + +const currentDirname = dirname(fileURLToPath(import.meta.url)); + +const toolsDir = join(currentDirname, '..', 'src', 'tools'); +// eslint-disable-next-line no-undef +const toolName = process.argv[2]; + +if (!toolName) { + throw new Error('Please specify a toolname.'); +} + +const toolNameCamelCase = toolName.replace(/-./g, (x) => x[1].toUpperCase()); +const toolNameTitleCase = toolName[0].toUpperCase() + toolName.slice(1).replace(/-/g, ' '); +const toolDir = join(toolsDir, toolName); + +await mkdir(toolDir); +console.log(`Directory created: ${toolDir}`); + +const createToolFile = async (name, content) => { + const filePath = join(toolDir, name); + await writeFile(filePath, content.trim()); + console.log(`File created: ${filePath}`); +}; + +createToolFile( + `${toolName}.vue`, + ` + + + + + +`, +); + +createToolFile( + `index.ts`, + ` +import { ArrowsShuffle } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '${toolNameTitleCase}', + path: '/${toolName}', + description: '', + keywords: ['${toolName.split('-').join("', '")}'], + component: () => import('./${toolName}.vue'), + icon: ArrowsShuffle, + createdAt: new Date('${new Date().toISOString().split('T')[0]}'), +}); +`, +); + +createToolFile(`${toolName}.service.ts`, ``); +createToolFile( + `${toolName}.service.test.ts`, + ` +import { expect, describe, it } from 'vitest'; +// import { } from './${toolName}.service'; +// +// describe('${toolName}', () => { +// +// }) +`, +); + +createToolFile( + `${toolName}.e2e.spec.ts`, + ` +import { test, expect } from '@playwright/test'; + +test.describe('Tool - ${toolNameTitleCase}', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/${toolName}'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('${toolNameTitleCase} - IT Tools'); + }); + + test('', async ({ page }) => { + + }); +}); + +`, +); + +const toolsIndex = join(toolsDir, 'index.ts'); +const indexContent = await readFile(toolsIndex, { encoding: 'utf-8' }).then((r) => r.split('\n')); + +indexContent.splice(3, 0, `import { tool as ${toolNameCamelCase} } from './${toolName}';`); +writeFile(toolsIndex, indexContent.join('\n')); +console.log(`Added import in: ${toolsIndex}`); diff --git a/zh-CN/scripts/getLatestChangelog.mjs b/zh-CN/scripts/getLatestChangelog.mjs new file mode 100644 index 00000000..baafe9c7 --- /dev/null +++ b/zh-CN/scripts/getLatestChangelog.mjs @@ -0,0 +1,6 @@ +import { readFile } from 'fs/promises'; + +const changelogContent = await readFile('./CHANGELOG.md', 'utf-8'); +const [, lastChangelog] = changelogContent.split(/^## .*$/gm); + +console.log(lastChangelog.trim()); diff --git a/zh-CN/scripts/release.mjs b/zh-CN/scripts/release.mjs new file mode 100644 index 00000000..afb25d37 --- /dev/null +++ b/zh-CN/scripts/release.mjs @@ -0,0 +1,57 @@ +import { $, argv } from 'zx'; +import { consola } from 'consola'; +import { rawCommitsToMarkdown } from './shared/commits.mjs'; +import { addToChangelog } from './shared/changelog.mjs'; + +$.verbose = false; + +const isDryRun = argv['dry-run'] ?? false; + +const now = new Date(); +const currentShortSha = (await $`git rev-parse --short HEAD`).stdout.trim(); + +const calver = now.toISOString().slice(0, 10).replace(/-/g, '.'); +const version = `${calver}-${currentShortSha}`; + +const { stdout: rawCommits } = await $`git log --pretty=oneline $(git describe --tags --abbrev=0)..HEAD`; + +const markdown = rawCommitsToMarkdown({ rawCommits }); + +consola.info(`Changelog: \n\n${markdown}\n\n`); + +if (isDryRun) { + consola.info(`[dry-run] Not creating version nor tag`); + consola.info('Aborting'); + process.exit(0); +} + +const shouldContinue = await consola.prompt( + 'This script will create a new version and tag, and update the changelog. Continue?', + { + type: 'confirm', + }, +); + +if (!shouldContinue) { + consola.info('Aborting'); + process.exit(0); +} + +consola.info('Updating changelog'); +await addToChangelog({ changelog: markdown, version }); +consola.success('Changelog updated'); + +try { + consola.info('Committing changelog changes'); + await $`git add CHANGELOG.md`; + await $`git commit -m "docs(changelog): update changelog for ${version}"`; + consola.success('Changelog changes committed'); + + consola.info('Creating version and tag'); + await $`npm version ${version} -m "chore(version): release ${version}"`; + consola.info('Npm version released with tag'); +} catch (error) { + consola.error(error); + consola.info('Aborting'); + process.exit(1); +} diff --git a/zh-CN/scripts/shared/changelog.mjs b/zh-CN/scripts/shared/changelog.mjs new file mode 100644 index 00000000..d5bf73c3 --- /dev/null +++ b/zh-CN/scripts/shared/changelog.mjs @@ -0,0 +1,15 @@ +import { readFile, writeFile } from 'fs/promises'; + +export { addToChangelog }; + +async function addToChangelog({ changelog, version, changelogPath = './CHANGELOG.md' }) { + const changelogContent = await readFile(changelogPath, 'utf-8'); + const versionTitle = `## Version ${version}`; + + if (changelogContent.includes(versionTitle)) { + throw new Error(`Version ${version} already exists in the changelog`); + } + + const newChangeLogContent = changelogContent.replace('## ', `${versionTitle}\n\n${changelog}\n\n## `); + await writeFile(changelogPath, newChangeLogContent, 'utf-8'); +} diff --git a/zh-CN/scripts/shared/commits.mjs b/zh-CN/scripts/shared/commits.mjs new file mode 100644 index 00000000..aaccb4d0 --- /dev/null +++ b/zh-CN/scripts/shared/commits.mjs @@ -0,0 +1,54 @@ +import _ from 'lodash'; + +export { rawCommitsToMarkdown }; + +const commitScopesToHumanReadable = { + build: 'Build system', + chore: 'Chores', + ci: 'Continuous integration', + docs: 'Documentation', + feat: 'Features', + fix: 'Bug fixes', + infra: 'Infrastucture', + perf: 'Performance', + refactor: 'Refactoring', + test: 'Tests', +}; + +const commitTypesOrder = ['feat', 'fix', 'perf', 'refactor', 'test', 'build', 'ci', 'chore', 'other']; + +const getCommitTypeSortIndex = (type) => + commitTypesOrder.includes(type) ? commitTypesOrder.indexOf(type) : commitTypesOrder.length; + +function parseCommitLine(commit) { + const [sha, ...splittedRawMessage] = commit.trim().split(' '); + const rawMessage = splittedRawMessage.join(' '); + const { type, scope, subject } = /^(?.*?)(\((?.*)\))?: ?(?.+)$/.exec(rawMessage)?.groups ?? {}; + + return { + sha: sha.slice(0, 7), + type: type ?? 'other', + scope, + subject: subject ?? rawMessage, + }; +} + +function commitSectionsToMarkdown({ type, commits }) { + return [ + `### ${commitScopesToHumanReadable[type] ?? _.capitalize(type)}`, + ...commits.map(({ sha, scope, subject }) => ['-', scope ? `**${scope}**:` : '', subject, `(${sha})`].join(' ')), + ].join('\n'); +} + +function rawCommitsToMarkdown({ rawCommits }) { + return _.chain(rawCommits) + .trim() + .split('\n') + .map(parseCommitLine) + .groupBy('type') + .map((commits, type) => ({ type, commits })) + .sortBy(({ type }) => getCommitTypeSortIndex(type)) + .map(commitSectionsToMarkdown) + .join('\n\n') + .value(); +} diff --git a/zh-CN/src/App.vue b/zh-CN/src/App.vue new file mode 100644 index 00000000..216b5754 --- /dev/null +++ b/zh-CN/src/App.vue @@ -0,0 +1,54 @@ + + + + + diff --git a/zh-CN/src/assets/hero-gradient.svg b/zh-CN/src/assets/hero-gradient.svg new file mode 100644 index 00000000..8d7c624e --- /dev/null +++ b/zh-CN/src/assets/hero-gradient.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/zh-CN/src/components/CollapsibleToolMenu.vue b/zh-CN/src/components/CollapsibleToolMenu.vue new file mode 100644 index 00000000..9a73ddd6 --- /dev/null +++ b/zh-CN/src/components/CollapsibleToolMenu.vue @@ -0,0 +1,114 @@ + + + + + diff --git a/zh-CN/src/components/ColoredCard.vue b/zh-CN/src/components/ColoredCard.vue new file mode 100644 index 00000000..0407e655 --- /dev/null +++ b/zh-CN/src/components/ColoredCard.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/zh-CN/src/components/FavoriteButton.vue b/zh-CN/src/components/FavoriteButton.vue new file mode 100644 index 00000000..e43ed8ab --- /dev/null +++ b/zh-CN/src/components/FavoriteButton.vue @@ -0,0 +1,38 @@ + + + diff --git a/zh-CN/src/components/FormatTransformer.vue b/zh-CN/src/components/FormatTransformer.vue new file mode 100644 index 00000000..bcfcdb58 --- /dev/null +++ b/zh-CN/src/components/FormatTransformer.vue @@ -0,0 +1,57 @@ + + + diff --git a/zh-CN/src/components/InputCopyable.vue b/zh-CN/src/components/InputCopyable.vue new file mode 100644 index 00000000..a69a039a --- /dev/null +++ b/zh-CN/src/components/InputCopyable.vue @@ -0,0 +1,23 @@ + + + diff --git a/zh-CN/src/components/MenuIconItem.vue b/zh-CN/src/components/MenuIconItem.vue new file mode 100644 index 00000000..d816f8c6 --- /dev/null +++ b/zh-CN/src/components/MenuIconItem.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/zh-CN/src/components/MenuLayout.vue b/zh-CN/src/components/MenuLayout.vue new file mode 100644 index 00000000..8b32f258 --- /dev/null +++ b/zh-CN/src/components/MenuLayout.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/zh-CN/src/components/NavbarButtons.vue b/zh-CN/src/components/NavbarButtons.vue new file mode 100644 index 00000000..58d26da2 --- /dev/null +++ b/zh-CN/src/components/NavbarButtons.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/zh-CN/src/components/SpanCopyable.vue b/zh-CN/src/components/SpanCopyable.vue new file mode 100644 index 00000000..5643cff9 --- /dev/null +++ b/zh-CN/src/components/SpanCopyable.vue @@ -0,0 +1,17 @@ + + + diff --git a/zh-CN/src/components/TextareaCopyable.vue b/zh-CN/src/components/TextareaCopyable.vue new file mode 100644 index 00000000..9a912efe --- /dev/null +++ b/zh-CN/src/components/TextareaCopyable.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/zh-CN/src/components/ToolCard.vue b/zh-CN/src/components/ToolCard.vue new file mode 100644 index 00000000..768e9ede --- /dev/null +++ b/zh-CN/src/components/ToolCard.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/zh-CN/src/composable/computed/catchedComputed.ts b/zh-CN/src/composable/computed/catchedComputed.ts new file mode 100644 index 00000000..fd00a128 --- /dev/null +++ b/zh-CN/src/composable/computed/catchedComputed.ts @@ -0,0 +1,22 @@ +import { type Ref, ref, watchEffect } from 'vue'; + +export { computedCatch }; + +function computedCatch(getter: () => T, { defaultValue }: { defaultValue: D; defaultErrorMessage?: string }): [Ref, Ref]; +function computedCatch(getter: () => T, { defaultValue, defaultErrorMessage = 'Unknown error' }: { defaultValue?: D; defaultErrorMessage?: string } = {}) { + const error = ref(); + const value = ref(); + + watchEffect(() => { + try { + error.value = undefined; + value.value = getter(); + } + catch (err) { + error.value = err instanceof Error ? err.message : err?.toString() ?? defaultErrorMessage; + value.value = defaultValue; + } + }); + + return [value, error] as const; +} diff --git a/zh-CN/src/composable/computedRefreshable.ts b/zh-CN/src/composable/computedRefreshable.ts new file mode 100644 index 00000000..8680d06f --- /dev/null +++ b/zh-CN/src/composable/computedRefreshable.ts @@ -0,0 +1,47 @@ +import { computedAsync, watchThrottled } from '@vueuse/core'; +import { computed, ref, watch } from 'vue'; + +export { computedRefreshable, computedRefreshableAsync }; + +function computedRefreshable(getter: () => T, { throttle }: { throttle?: number } = {}) { + const dirty = ref(true); + let value: T; + + const update = () => (dirty.value = true); + + if (throttle) { + watchThrottled(getter, update, { throttle }); + } + else { + watch(getter, update); + } + + const computedValue = computed(() => { + if (dirty.value) { + value = getter(); + dirty.value = false; + } + return value; + }); + + return [computedValue, update] as const; +} + +function computedRefreshableAsync(getter: () => Promise, defaultValue?: T) { + const dirty = ref(true); + let value: T; + + const update = () => (dirty.value = true); + + watch(getter, update); + + const computedValue = computedAsync(async () => { + if (dirty.value) { + value = await getter(); + dirty.value = false; + } + return value; + }, defaultValue); + + return [computedValue, update] as const; +} diff --git a/zh-CN/src/composable/copy.ts b/zh-CN/src/composable/copy.ts new file mode 100644 index 00000000..d24750f5 --- /dev/null +++ b/zh-CN/src/composable/copy.ts @@ -0,0 +1,30 @@ +// eslint-disable-next-line no-restricted-imports +import { useClipboard } from '@vueuse/core'; +import { useMessage } from 'naive-ui'; +import type { MaybeRefOrGetter } from 'vue'; + +export function useCopy({ source, text = '已复制到剪贴板', createToast = true }: { source?: MaybeRefOrGetter; text?: string; createToast?: boolean } = {}) { + const { copy, copied, ...rest } = useClipboard({ + source, + legacy: true, + }); + + const message = useMessage(); + + return { + ...rest, + isJustCopied: copied, + async copy(content?: string, { notificationMessage }: { notificationMessage?: string } = {}) { + if (source) { + await copy(); + } + else { + await copy(content); + } + + if (createToast) { + message.success(notificationMessage ?? text); + } + }, + }; +} diff --git a/zh-CN/src/composable/downloadBase64.test.ts b/zh-CN/src/composable/downloadBase64.test.ts new file mode 100644 index 00000000..3f2e3f7e --- /dev/null +++ b/zh-CN/src/composable/downloadBase64.test.ts @@ -0,0 +1,32 @@ +import { describe, expect, it } from 'vitest'; +import { getMimeTypeFromBase64 } from './downloadBase64'; + +describe('downloadBase64', () => { + describe('getMimeTypeFromBase64', () => { + it('when the base64 string has a data URI, it returns the mime type', () => { + expect(getMimeTypeFromBase64({ base64String: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA' })).to.deep.equal({ mimeType: 'image/png' }); + expect(getMimeTypeFromBase64({ base64String: 'data:image/jpg;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA' })).to.deep.equal({ mimeType: 'image/jpg' }); + }); + + it('when the base64 string has no data URI, it try to infer the mime type from the signature', () => { + // https://en.wikipedia.org/wiki/List_of_file_signatures + + // PNG + expect(getMimeTypeFromBase64({ base64String: 'iVBORw0KGgoAAAANSUhEUgAAAAUA' })).to.deep.equal({ mimeType: 'image/png' }); + + // GIF + expect(getMimeTypeFromBase64({ base64String: 'R0lGODdh' })).to.deep.equal({ mimeType: 'image/gif' }); + expect(getMimeTypeFromBase64({ base64String: 'R0lGODlh' })).to.deep.equal({ mimeType: 'image/gif' }); + + // JPG + expect(getMimeTypeFromBase64({ base64String: '/9j/' })).to.deep.equal({ mimeType: 'image/jpg' }); + + // PDF + expect(getMimeTypeFromBase64({ base64String: 'JVBERi0' })).to.deep.equal({ mimeType: 'application/pdf' }); + }); + + it('when the base64 string has no data URI and no signature, it returns an undefined mimeType', () => { + expect(getMimeTypeFromBase64({ base64String: 'JVBERi' })).to.deep.equal({ mimeType: undefined }); + }); + }); +}); diff --git a/zh-CN/src/composable/downloadBase64.ts b/zh-CN/src/composable/downloadBase64.ts new file mode 100644 index 00000000..22a3b70c --- /dev/null +++ b/zh-CN/src/composable/downloadBase64.ts @@ -0,0 +1,65 @@ +import { extension as getExtensionFromMime } from 'mime-types'; +import type { Ref } from 'vue'; +import _ from 'lodash'; + +export { getMimeTypeFromBase64, useDownloadFileFromBase64 }; + +const commonMimeTypesSignatures = { + 'JVBERi0': 'application/pdf', + 'R0lGODdh': 'image/gif', + 'R0lGODlh': 'image/gif', + 'iVBORw0KGgo': 'image/png', + '/9j/': 'image/jpg', +}; + +function getMimeTypeFromBase64({ base64String }: { base64String: string }) { + const [,mimeTypeFromBase64] = base64String.match(/data:(.*?);base64/i) ?? []; + + if (mimeTypeFromBase64) { + return { mimeType: mimeTypeFromBase64 }; + } + + const inferredMimeType = _.find(commonMimeTypesSignatures, (_mimeType, signature) => base64String.startsWith(signature)); + + if (inferredMimeType) { + return { mimeType: inferredMimeType }; + } + + return { mimeType: undefined }; +} + +function getFileExtensionFromMimeType({ + mimeType, + defaultExtension = 'txt', +}: { + mimeType: string | undefined + defaultExtension?: string +}) { + if (mimeType) { + return getExtensionFromMime(mimeType) ?? defaultExtension; + } + + return defaultExtension; +} + +function useDownloadFileFromBase64({ source, filename }: { source: Ref; filename?: string }) { + return { + download() { + if (source.value === '') { + throw new Error('Base64 字符串为空'); + } + + const { mimeType } = getMimeTypeFromBase64({ base64String: source.value }); + const base64String = mimeType + ? source.value + : `data:text/plain;base64,${source.value}`; + + const cleanFileName = filename ?? `file.${getFileExtensionFromMimeType({ mimeType })}`; + + const a = document.createElement('a'); + a.href = base64String; + a.download = cleanFileName; + a.click(); + }, + }; +} diff --git a/zh-CN/src/composable/fuzzySearch.ts b/zh-CN/src/composable/fuzzySearch.ts new file mode 100644 index 00000000..00794fd8 --- /dev/null +++ b/zh-CN/src/composable/fuzzySearch.ts @@ -0,0 +1,30 @@ +import { type MaybeRef, get } from '@vueuse/core'; +import Fuse from 'fuse.js'; +import { computed } from 'vue'; + +export { useFuzzySearch }; + +function useFuzzySearch({ + search, + data, + options = {}, +}: { + search: MaybeRef + data: Data[] + options?: Fuse.IFuseOptions & { filterEmpty?: boolean } +}) { + const fuse = new Fuse(data, options); + const filterEmpty = options.filterEmpty ?? true; + + const searchResult = computed(() => { + const query = get(search); + + if (!filterEmpty && query === '') { + return data; + } + + return fuse.search(query).map(({ item }) => item); + }); + + return { searchResult }; +} diff --git a/zh-CN/src/composable/queryParams.ts b/zh-CN/src/composable/queryParams.ts new file mode 100644 index 00000000..9699abbc --- /dev/null +++ b/zh-CN/src/composable/queryParams.ts @@ -0,0 +1,35 @@ +import { useRouteQuery } from '@vueuse/router'; +import { computed } from 'vue'; + +export { useQueryParam }; + +const transformers = { + number: { + fromQuery: (value: string) => Number(value), + toQuery: (value: number) => String(value), + }, + string: { + fromQuery: (value: string) => value, + toQuery: (value: string) => value, + }, + boolean: { + fromQuery: (value: string) => value.toLowerCase() === 'true', + toQuery: (value: boolean) => (value ? 'true' : 'false'), + }, +}; + +function useQueryParam({ name, defaultValue }: { name: string; defaultValue: T }) { + const type = typeof defaultValue; + const transformer = transformers[type as keyof typeof transformers] ?? transformers.string; + + const proxy = useRouteQuery(name, transformer.toQuery(defaultValue as never)); + + return computed({ + get() { + return transformer.fromQuery(proxy.value) as unknown as T; + }, + set(value) { + proxy.value = transformer.toQuery(value as never); + }, + }); +} diff --git a/zh-CN/src/composable/validation.test.ts b/zh-CN/src/composable/validation.test.ts new file mode 100644 index 00000000..4464bea5 --- /dev/null +++ b/zh-CN/src/composable/validation.test.ts @@ -0,0 +1,28 @@ +import { describe, expect, it } from 'vitest'; +import { isFalsyOrHasThrown } from './validation'; + +describe('useValidation', () => { + describe('isFalsyOrHasThrown', () => { + it('should return true if the callback return nil, false or throw', () => { + expect(isFalsyOrHasThrown(() => false)).toBe(true); + expect(isFalsyOrHasThrown(() => null)).toBe(true); + expect(isFalsyOrHasThrown(() => undefined)).toBe(true); + expect(isFalsyOrHasThrown(() => {})).toBe(true); + expect( + isFalsyOrHasThrown(() => { + throw new Error('message'); + }), + ).toBe(true); + }); + + it('should return true for any truthy values and empty string and 0 values', () => { + expect(isFalsyOrHasThrown(() => true)).toBe(false); + expect(isFalsyOrHasThrown(() => 'string')).toBe(false); + expect(isFalsyOrHasThrown(() => 1)).toBe(false); + expect(isFalsyOrHasThrown(() => 0)).toBe(false); + expect(isFalsyOrHasThrown(() => '')).toBe(false); + expect(isFalsyOrHasThrown(() => [])).toBe(false); + expect(isFalsyOrHasThrown(() => ({}))).toBe(false); + }); + }); +}); diff --git a/zh-CN/src/composable/validation.ts b/zh-CN/src/composable/validation.ts new file mode 100644 index 00000000..472ca4b2 --- /dev/null +++ b/zh-CN/src/composable/validation.ts @@ -0,0 +1,77 @@ +import { type MaybeRef, get } from '@vueuse/core'; +import _ from 'lodash'; +import { type Ref, reactive, watch } from 'vue'; + +type ValidatorReturnType = unknown; + +export interface UseValidationRule { + validator: (value: T) => ValidatorReturnType + message: string +} + +export function isFalsyOrHasThrown(cb: () => ValidatorReturnType): boolean { + try { + const returnValue = cb(); + + if (_.isNil(returnValue)) { + return true; + } + + return returnValue === false; + } + catch (_) { + return true; + } +} + +export interface ValidationAttrs { + feedback: string + validationStatus: string | undefined +} + +export function useValidation({ + source, + rules, + watch: watchRefs = [], +}: { + source: Ref + rules: MaybeRef[]> + watch?: Ref[] +}) { + const state = reactive<{ + message: string + status: undefined | 'error' + isValid: boolean + attrs: ValidationAttrs + }>({ + message: '', + status: undefined, + isValid: false, + attrs: { + validationStatus: undefined, + feedback: '', + }, + }); + + watch( + [source, ...watchRefs], + () => { + state.message = ''; + state.status = undefined; + + for (const rule of get(rules)) { + if (isFalsyOrHasThrown(() => rule.validator(source.value))) { + state.message = rule.message; + state.status = 'error'; + } + } + + state.isValid = state.status !== 'error'; + state.attrs.feedback = state.message; + state.attrs.validationStatus = state.status; + }, + { immediate: true }, + ); + + return state; +} diff --git a/zh-CN/src/config.ts b/zh-CN/src/config.ts new file mode 100644 index 00000000..2558d038 --- /dev/null +++ b/zh-CN/src/config.ts @@ -0,0 +1,69 @@ +import { figue } from 'figue'; + +export const config = figue({ + app: { + version: { + doc: 'Application current version', + format: 'string', + default: '0.0.0', + env: 'PACKAGE_VERSION', + }, + lastCommitSha: { + doc: 'Application last commit SHA version', + format: 'string', + default: '', + env: 'VITE_VERCEL_GIT_COMMIT_SHA', + }, + baseUrl: { + doc: 'Application base url', + format: 'string', + default: '/', + env: 'BASE_URL', + }, + env: { + doc: 'Application current env', + format: 'enum', + values: ['production', 'development', 'preview', 'test'], + default: 'development', + env: 'VITE_VERCEL_ENV', + }, + }, + plausible: { + isTrackerEnabled: { + doc: 'Is the tracker enabled', + format: 'boolean', + default: false, + env: 'VITE_TRACKER_ENABLED', + }, + domain: { + doc: 'Plausible current domain', + format: 'string', + default: '', + env: 'VITE_PLAUSIBLE_DOMAIN', + }, + apiHost: { + doc: 'Plausible remote api host', + format: 'string', + default: '', + env: 'VITE_PLAUSIBLE_API_HOST', + }, + trackLocalhost: { + doc: 'Enable or disable localhost tracking by plausible', + format: 'boolean', + default: false, + }, + }, + showBanner: { + doc: 'Show the banner', + format: 'boolean', + default: false, + env: 'VITE_SHOW_BANNER', + }, +}) + .loadEnv({ + ...import.meta.env, + // Because the string 'import.meta.env.PACKAGE_VERSION' is statically replaced during build time (see 'define' in vite.config.ts) + PACKAGE_VERSION: import.meta.env.PACKAGE_VERSION, + }) + .validate() + .getConfig(); diff --git a/zh-CN/src/layouts/base.layout.vue b/zh-CN/src/layouts/base.layout.vue new file mode 100644 index 00000000..4c0864f0 --- /dev/null +++ b/zh-CN/src/layouts/base.layout.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/zh-CN/src/layouts/index.ts b/zh-CN/src/layouts/index.ts new file mode 100644 index 00000000..8f52b625 --- /dev/null +++ b/zh-CN/src/layouts/index.ts @@ -0,0 +1,7 @@ +import BaseLayout from './base.layout.vue'; +import ToolLayout from './tool.layout.vue'; + +export const layouts = { + base: BaseLayout, + toolLayout: ToolLayout, +}; diff --git a/zh-CN/src/layouts/tool.layout.vue b/zh-CN/src/layouts/tool.layout.vue new file mode 100644 index 00000000..3cc8085e --- /dev/null +++ b/zh-CN/src/layouts/tool.layout.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/zh-CN/src/main.ts b/zh-CN/src/main.ts new file mode 100644 index 00000000..36ba3b7f --- /dev/null +++ b/zh-CN/src/main.ts @@ -0,0 +1,27 @@ +import { createApp } from 'vue'; +import { createPinia } from 'pinia'; +import { createHead } from '@vueuse/head'; + +import { registerSW } from 'virtual:pwa-register'; +import { plausible } from './plugins/plausible.plugin'; + +import 'virtual:uno.css'; + +import { naive } from './plugins/naive.plugin'; + +import App from './App.vue'; +import router from './router'; +import { i18nPlugin } from './plugins/i18n.plugin'; + +registerSW(); + +const app = createApp(App); + +app.use(createPinia()); +app.use(createHead()); +app.use(i18nPlugin); +app.use(router); +app.use(naive); +app.use(plausible); + +app.mount('#app'); diff --git a/zh-CN/src/modules/command-palette/command-palette.store.ts b/zh-CN/src/modules/command-palette/command-palette.store.ts new file mode 100644 index 00000000..30474633 --- /dev/null +++ b/zh-CN/src/modules/command-palette/command-palette.store.ts @@ -0,0 +1,91 @@ +import { defineStore } from 'pinia'; +import _ from 'lodash'; +import type { PaletteOption } from './command-palette.types'; +import { useToolStore } from '@/tools/tools.store'; +import { useFuzzySearch } from '@/composable/fuzzySearch'; +import { useStyleStore } from '@/stores/style.store'; + +import SunIcon from '~icons/mdi/white-balance-sunny'; +import GithubIcon from '~icons/mdi/github'; +import BugIcon from '~icons/mdi/bug-outline'; +import DiceIcon from '~icons/mdi/dice-5'; +import InfoIcon from '~icons/mdi/information-outline'; + +export const useCommandPaletteStore = defineStore('command-palette', () => { + const toolStore = useToolStore(); + const styleStore = useStyleStore(); + const router = useRouter(); + const searchPrompt = ref(''); + + const toolsOptions = toolStore.tools.map(tool => ({ + ...tool, + to: tool.path, + toolCategory: tool.category, + category: 'Tools', + })); + + const searchOptions: PaletteOption[] = [ + ...toolsOptions, + { + name: 'Random tool', + description: 'Get a random tool from the list.', + action: () => { + const { path } = _.sample(toolStore.tools)!; + router.push(path); + }, + icon: DiceIcon, + category: 'Tools', + keywords: ['random', 'tool', 'pick', 'choose', 'select'], + closeOnSelect: true, + }, + { + name: 'Toggle dark mode', + description: 'Toggle dark mode on or off.', + action: () => styleStore.toggleDark(), + icon: SunIcon, + category: 'Actions', + keywords: ['dark', 'theme', 'toggle', 'mode', 'light', 'system'], + }, + { + name: 'Github repository', + href: 'https://github.com/angelofan/it-tools', + category: 'External', + description: 'View the source code of it-tools on Github.', + keywords: ['github', 'repo', 'repository', 'source', 'code'], + icon: GithubIcon, + }, + { + name: 'Report a bug or an issue', + description: 'Report a bug or an issue to help improve it-tools.', + href: 'https://github.com/angelofan/it-tools/issues/new/choose', + category: 'Actions', + keywords: ['report', 'issue', 'bug', 'problem', 'error'], + icon: BugIcon, + }, + { + name: 'About', + description: 'Learn more about IT-Tools.', + to: '/about', + category: 'Pages', + keywords: ['about', 'learn', 'more', 'info', 'information'], + icon: InfoIcon, + }, + ]; + + const { searchResult } = useFuzzySearch({ + search: searchPrompt, + data: searchOptions, + options: { + keys: [{ name: 'name', weight: 2 }, 'description', 'keywords', 'category'], + threshold: 0.3, + }, + }); + + const filteredSearchResult = computed(() => + _.chain(searchResult.value).groupBy('category').mapValues(categoryOptions => _.take(categoryOptions, 5)).value()); + + return { + filteredSearchResult, + searchPrompt, + }; +}); diff --git a/zh-CN/src/modules/command-palette/command-palette.types.ts b/zh-CN/src/modules/command-palette/command-palette.types.ts new file mode 100644 index 00000000..325eba2c --- /dev/null +++ b/zh-CN/src/modules/command-palette/command-palette.types.ts @@ -0,0 +1,14 @@ +import type { Component } from 'vue'; +import type { RouteLocationRaw } from 'vue-router'; + +export interface PaletteOption { + name: string + description?: string + icon?: Component + action?: () => void + to?: RouteLocationRaw + category: string + keywords?: string[] + href?: string + closeOnSelect?: boolean +} diff --git a/zh-CN/src/modules/command-palette/command-palette.vue b/zh-CN/src/modules/command-palette/command-palette.vue new file mode 100644 index 00000000..c5da97d5 --- /dev/null +++ b/zh-CN/src/modules/command-palette/command-palette.vue @@ -0,0 +1,154 @@ + + + + + diff --git a/zh-CN/src/modules/command-palette/components/command-palette-option.vue b/zh-CN/src/modules/command-palette/components/command-palette-option.vue new file mode 100644 index 00000000..9192bc04 --- /dev/null +++ b/zh-CN/src/modules/command-palette/components/command-palette-option.vue @@ -0,0 +1,36 @@ + + + diff --git a/zh-CN/src/modules/i18n/components/locale-selector.vue b/zh-CN/src/modules/i18n/components/locale-selector.vue new file mode 100644 index 00000000..29dc0e5d --- /dev/null +++ b/zh-CN/src/modules/i18n/components/locale-selector.vue @@ -0,0 +1,28 @@ + + + diff --git a/zh-CN/src/modules/shared/date.models.ts b/zh-CN/src/modules/shared/date.models.ts new file mode 100644 index 00000000..37cdbade --- /dev/null +++ b/zh-CN/src/modules/shared/date.models.ts @@ -0,0 +1,7 @@ +import { format } from 'date-fns'; + +export { getUrlFriendlyDateTime }; + +function getUrlFriendlyDateTime({ date = new Date() }: { date?: Date } = {}) { + return format(date, 'yyyy-MM-dd-HH-mm-ss'); +} diff --git a/zh-CN/src/modules/shared/number.models.ts b/zh-CN/src/modules/shared/number.models.ts new file mode 100644 index 00000000..45f7509b --- /dev/null +++ b/zh-CN/src/modules/shared/number.models.ts @@ -0,0 +1,5 @@ +function clamp({ value, min = 0, max = 100 }: { value: number; min?: number; max?: number }) { + return Math.min(Math.max(value, min), max); +} + +export { clamp }; diff --git a/zh-CN/src/modules/tracker/tracker.services.ts b/zh-CN/src/modules/tracker/tracker.services.ts new file mode 100644 index 00000000..266a11f1 --- /dev/null +++ b/zh-CN/src/modules/tracker/tracker.services.ts @@ -0,0 +1,27 @@ +import _ from 'lodash'; +import type Plausible from 'plausible-tracker'; +import { inject } from 'vue'; + +export { createTrackerService, useTracker }; + +function createTrackerService({ plausible }: { plausible: ReturnType }) { + return { + trackEvent({ eventName }: { eventName: string }) { + plausible.trackEvent(eventName); + }, + }; +} + +function useTracker() { + const plausible: ReturnType | undefined = inject('plausible'); + + if (_.isNil(plausible)) { + throw new TypeError('Plausible must be instantiated'); + } + + const tracker = createTrackerService({ plausible }); + + return { + tracker, + }; +} diff --git a/zh-CN/src/modules/tracker/tracker.types.ts b/zh-CN/src/modules/tracker/tracker.types.ts new file mode 100644 index 00000000..edf79208 --- /dev/null +++ b/zh-CN/src/modules/tracker/tracker.types.ts @@ -0,0 +1,3 @@ +import type { createTrackerService } from './tracker.services'; + +export type TrackerService = ReturnType; diff --git a/zh-CN/src/pages/404.page.vue b/zh-CN/src/pages/404.page.vue new file mode 100644 index 00000000..eabd43fc --- /dev/null +++ b/zh-CN/src/pages/404.page.vue @@ -0,0 +1,27 @@ + + + diff --git a/zh-CN/src/pages/About.vue b/zh-CN/src/pages/About.vue new file mode 100644 index 00000000..91efb2bb --- /dev/null +++ b/zh-CN/src/pages/About.vue @@ -0,0 +1,9 @@ + + + diff --git a/zh-CN/src/pages/Home.page.vue b/zh-CN/src/pages/Home.page.vue new file mode 100644 index 00000000..1cf99daf --- /dev/null +++ b/zh-CN/src/pages/Home.page.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/zh-CN/src/plugins/i18n.plugin.ts b/zh-CN/src/plugins/i18n.plugin.ts new file mode 100644 index 00000000..d657e628 --- /dev/null +++ b/zh-CN/src/plugins/i18n.plugin.ts @@ -0,0 +1,38 @@ +import type { Plugin } from 'vue'; +import { createI18n } from 'vue-i18n'; +import baseMessages from '@intlify/unplugin-vue-i18n/messages'; +import _ from 'lodash'; +import { parse as parseYaml } from 'yaml'; + +const i18nFiles = import.meta.glob('../tools/*/locales/**.yml', { as: 'raw' }); + +const messagesByTools = await Promise.all(_.map(i18nFiles, async (fileDescriptor, path) => { + const [, locale] = path.match(/\.\/tools\/.*?\/locales\/(.*)\.ya?ml$/i) ?? []; + const content = parseYaml(await fileDescriptor()); + + return { [locale]: content }; +})); + +const messages = _.merge( + baseMessages, + _.merge({}, ...messagesByTools), +); + +const i18n = createI18n({ + legacy: false, + locale: 'zh', + fallbackLocale: 'en', + messages, +}); + +export const i18nPlugin: Plugin = { + install: (app) => { + app.use(i18n); + }, +}; + +export const translate = function (localeKey: string) { + // @ts-expect-error global + const hasKey = i18n.global.te(localeKey, i18n.global.locale); + return hasKey ? i18n.global.t(localeKey) : localeKey; +}; diff --git a/zh-CN/src/plugins/naive.plugin.ts b/zh-CN/src/plugins/naive.plugin.ts new file mode 100644 index 00000000..2ec9b151 --- /dev/null +++ b/zh-CN/src/plugins/naive.plugin.ts @@ -0,0 +1,3 @@ +import { create } from 'naive-ui'; + +export const naive = create(); diff --git a/zh-CN/src/plugins/plausible.plugin.ts b/zh-CN/src/plugins/plausible.plugin.ts new file mode 100644 index 00000000..cc8998e4 --- /dev/null +++ b/zh-CN/src/plugins/plausible.plugin.ts @@ -0,0 +1,38 @@ +import { noop } from 'lodash'; + +import Plausible from 'plausible-tracker'; +import type { App } from 'vue'; +import { config } from '@/config'; + +function createFakePlausibleInstance(): Pick, 'trackEvent' | 'enableAutoPageviews'> { + return { + trackEvent: noop, + enableAutoPageviews: () => noop, + }; +} + +function createPlausibleInstance({ + config, +}: { + config: { + isTrackerEnabled: boolean + domain: string + apiHost: string + trackLocalhost: boolean + } +}) { + if (config.isTrackerEnabled) { + return Plausible(config); + } + + return createFakePlausibleInstance(); +} + +export const plausible = { + install: (app: App) => { + const plausible = createPlausibleInstance({ config: config.plausible }); + plausible.enableAutoPageviews(); + + app.provide('plausible', plausible); + }, +}; diff --git a/zh-CN/src/router.ts b/zh-CN/src/router.ts new file mode 100644 index 00000000..da0c4f1e --- /dev/null +++ b/zh-CN/src/router.ts @@ -0,0 +1,41 @@ +import { createRouter, createWebHistory } from 'vue-router'; +import { layouts } from './layouts/index'; +import HomePage from './pages/Home.page.vue'; +import NotFound from './pages/404.page.vue'; +import { tools } from './tools'; +import { config } from './config'; +import { routes as demoRoutes } from './ui/demo/demo.routes'; + +const toolsRoutes = tools.map(({ path, name, component, ...config }) => ({ + path, + name, + component, + meta: { isTool: true, layout: layouts.toolLayout, name, ...config }, +})); +const toolsRedirectRoutes = tools + .filter(({ redirectFrom }) => redirectFrom && redirectFrom.length > 0) + .flatMap( + ({ path, redirectFrom }) => redirectFrom?.map(redirectSource => ({ path: redirectSource, redirect: path })) ?? [], + ); + +const router = createRouter({ + history: createWebHistory(config.app.baseUrl), + routes: [ + { + path: '/', + name: 'home', + component: HomePage, + }, + { + path: '/about', + name: 'about', + component: () => import('./pages/About.vue'), + }, + ...toolsRoutes, + ...toolsRedirectRoutes, + ...(config.app.env === 'development' ? demoRoutes : []), + { path: '/:pathMatch(.*)*', name: 'NotFound', component: NotFound }, + ], +}); + +export default router; diff --git a/zh-CN/src/shims.d.ts b/zh-CN/src/shims.d.ts new file mode 100644 index 00000000..ef2e2f39 --- /dev/null +++ b/zh-CN/src/shims.d.ts @@ -0,0 +1,41 @@ +declare module '*.vue' { + import type { ComponentOptions } from 'vue'; + const Component: ComponentOptions; + export default Component; +} + +declare module '*.md' { + import type { ComponentOptions } from 'vue'; + const Component: ComponentOptions; + export default Component; +} + +declare module 'iarna-toml-esm' { + export const parse: (toml: string) => any; + export const stringify: (obj: any) => string; +} + +declare module 'emojilib' { + const lib: Record; + export default lib; +} + +declare module 'unicode-emoji-json' { + const emoji: Record; + + export default emoji; +} + +declare module 'pdf-signature-reader' { + const verifySignature: (pdf: ArrayBuffer) => ({signatures: SignatureInfo[]}); + + export default verifySignature; +} \ No newline at end of file diff --git a/zh-CN/src/stores/style.store.ts b/zh-CN/src/stores/style.store.ts new file mode 100644 index 00000000..8342a880 --- /dev/null +++ b/zh-CN/src/stores/style.store.ts @@ -0,0 +1,21 @@ +import { useDark, useMediaQuery, useStorage, useToggle } from '@vueuse/core'; +import { defineStore } from 'pinia'; +import { type Ref, watch } from 'vue'; + +export const useStyleStore = defineStore('style', { + state: () => { + const isDarkTheme = useDark(); + const toggleDark = useToggle(isDarkTheme); + const isSmallScreen = useMediaQuery('(max-width: 700px)'); + const isMenuCollapsed = useStorage('isMenuCollapsed', isSmallScreen.value) as Ref; + + watch(isSmallScreen, v => (isMenuCollapsed.value = v)); + + return { + isDarkTheme, + toggleDark, + isMenuCollapsed, + isSmallScreen, + }; + }, +}); diff --git a/zh-CN/src/themes.ts b/zh-CN/src/themes.ts new file mode 100644 index 00000000..0aca136a --- /dev/null +++ b/zh-CN/src/themes.ts @@ -0,0 +1,54 @@ +import type { GlobalThemeOverrides } from 'naive-ui'; + +export const lightThemeOverrides: GlobalThemeOverrides = { + Menu: { + itemHeight: '32px', + }, + + Layout: { color: '#f1f5f9' }, + + AutoComplete: { + peers: { + InternalSelectMenu: { height: '500px' }, + }, + }, +}; + +export const darkThemeOverrides: GlobalThemeOverrides = { + common: { + primaryColor: '#1ea54cFF', + primaryColorHover: '#36AD6AFF', + primaryColorPressed: '#0C7A43FF', + primaryColorSuppl: '#36AD6AFF', + }, + + Notification: { + color: '#333333', + }, + + AutoComplete: { + peers: { + InternalSelectMenu: { height: '500px', color: '#1e1e1e' }, + }, + }, + + Menu: { + itemHeight: '32px', + }, + + Layout: { + color: '#1c1c1c', + siderColor: '#232323', + siderBorderColor: 'transparent', + }, + + Card: { + color: '#232323', + borderColor: '#282828', + }, + + Table: { + tdColor: '#232323', + thColor: '#353535', + }, +}; diff --git a/zh-CN/src/tools/base64-file-converter/base64-file-converter.vue b/zh-CN/src/tools/base64-file-converter/base64-file-converter.vue new file mode 100644 index 00000000..7f4fe8f5 --- /dev/null +++ b/zh-CN/src/tools/base64-file-converter/base64-file-converter.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/zh-CN/src/tools/base64-file-converter/index.ts b/zh-CN/src/tools/base64-file-converter/index.ts new file mode 100644 index 00000000..1ed84f7c --- /dev/null +++ b/zh-CN/src/tools/base64-file-converter/index.ts @@ -0,0 +1,11 @@ +import { FileDigit } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Base64 ↔ 文件', + path: '/base64-file-converter', + description: 'Base64和文件互转', + keywords: ['base64', '转换器', '上传', '图片', '文件', '转', '互转', '转换', 'web', '数据', '格式'], + component: () => import('./base64-file-converter.vue'), + icon: FileDigit, +}); diff --git a/zh-CN/src/tools/base64-string-converter/base64-string-converter.vue b/zh-CN/src/tools/base64-string-converter/base64-string-converter.vue new file mode 100644 index 00000000..b7539361 --- /dev/null +++ b/zh-CN/src/tools/base64-string-converter/base64-string-converter.vue @@ -0,0 +1,90 @@ + + + diff --git a/zh-CN/src/tools/base64-string-converter/index.ts b/zh-CN/src/tools/base64-string-converter/index.ts new file mode 100644 index 00000000..c5a23989 --- /dev/null +++ b/zh-CN/src/tools/base64-string-converter/index.ts @@ -0,0 +1,12 @@ +import { FileDigit } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Base64 ↔ 字符串', + path: '/base64-string-converter', + description: 'Base64和字符串互转', + keywords: ['base64', '转换器', '转', '互转', '转换', 'web', '数据', '格式'], + component: () => import('./base64-string-converter.vue'), + icon: FileDigit, + redirectFrom: ['/file-to-base64', '/base64-converter'], +}); diff --git a/zh-CN/src/tools/basic-auth-generator/basic-auth-generator.vue b/zh-CN/src/tools/basic-auth-generator/basic-auth-generator.vue new file mode 100644 index 00000000..55569cc0 --- /dev/null +++ b/zh-CN/src/tools/basic-auth-generator/basic-auth-generator.vue @@ -0,0 +1,46 @@ + + + + + diff --git a/zh-CN/src/tools/basic-auth-generator/index.ts b/zh-CN/src/tools/basic-auth-generator/index.ts new file mode 100644 index 00000000..b9af1540 --- /dev/null +++ b/zh-CN/src/tools/basic-auth-generator/index.ts @@ -0,0 +1,21 @@ +import { PasswordRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '基本身份验证生成器', + path: '/basic-auth-generator', + description: '将用户名和密码生成Base64基本身份验证标头', + keywords: [ + '基本', + 'auth', + '生成器', + '用户名', + '密码', + 'base64', + '验证', + '标头', + '授权', + ], + component: () => import('./basic-auth-generator.vue'), + icon: PasswordRound, +}); diff --git a/zh-CN/src/tools/bcrypt/bcrypt.vue b/zh-CN/src/tools/bcrypt/bcrypt.vue new file mode 100644 index 00000000..a661b404 --- /dev/null +++ b/zh-CN/src/tools/bcrypt/bcrypt.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/zh-CN/src/tools/bcrypt/index.ts b/zh-CN/src/tools/bcrypt/index.ts new file mode 100644 index 00000000..eda05e53 --- /dev/null +++ b/zh-CN/src/tools/bcrypt/index.ts @@ -0,0 +1,12 @@ +import { LockSquare } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Bcrypt', + path: '/bcrypt', + description: + '使用Bcrypt对文本字符串进行散列和比较,Bcrypt是基于Blowfish密码的密码散列函数。', + keywords: ['bcrypt', '哈希', '比较', '密码', '盐', '存储', '加密'], + component: () => import('./bcrypt.vue'), + icon: LockSquare, +}); diff --git a/zh-CN/src/tools/benchmark-builder/benchmark-builder.models.ts b/zh-CN/src/tools/benchmark-builder/benchmark-builder.models.ts new file mode 100644 index 00000000..0bf3456b --- /dev/null +++ b/zh-CN/src/tools/benchmark-builder/benchmark-builder.models.ts @@ -0,0 +1,34 @@ +import _ from 'lodash'; + +export { computeAverage, computeVariance, arrayToMarkdownTable }; + +function computeAverage({ data }: { data: number[] }) { + if (data.length === 0) { + return 0; + } + + return _.sum(data) / data.length; +} + +function computeVariance({ data }: { data: number[] }) { + const mean = computeAverage({ data }); + + const squaredDiffs = data.map(value => (value - mean) ** 2); + + return computeAverage({ data: squaredDiffs }); +} + +function arrayToMarkdownTable({ data, headerMap = {} }: { data: Record[]; headerMap?: Record }) { + if (!Array.isArray(data) || data.length === 0) { + return ''; + } + + const headers = Object.keys(data[0]); + const rows = data.map(obj => Object.values(obj)); + + const headerRow = `| ${headers.map(header => headerMap[header] ?? header).join(' | ')} |`; + const separatorRow = `| ${headers.map(() => '---').join(' | ')} |`; + const dataRows = rows.map(row => `| ${row.join(' | ')} |`).join('\n'); + + return `${headerRow}\n${separatorRow}\n${dataRows}`; +} diff --git a/zh-CN/src/tools/benchmark-builder/benchmark-builder.vue b/zh-CN/src/tools/benchmark-builder/benchmark-builder.vue new file mode 100644 index 00000000..9e849680 --- /dev/null +++ b/zh-CN/src/tools/benchmark-builder/benchmark-builder.vue @@ -0,0 +1,146 @@ + + + diff --git a/zh-CN/src/tools/benchmark-builder/dynamic-values.vue b/zh-CN/src/tools/benchmark-builder/dynamic-values.vue new file mode 100644 index 00000000..fee50a97 --- /dev/null +++ b/zh-CN/src/tools/benchmark-builder/dynamic-values.vue @@ -0,0 +1,54 @@ + + + diff --git a/zh-CN/src/tools/benchmark-builder/index.ts b/zh-CN/src/tools/benchmark-builder/index.ts new file mode 100644 index 00000000..5c851724 --- /dev/null +++ b/zh-CN/src/tools/benchmark-builder/index.ts @@ -0,0 +1,12 @@ +import { SpeedFilled } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '基准构建', + path: '/benchmark-builder', + description: '使用这个非常简单的在线基准构建可以轻松比较任务的执行时间', + keywords: ['benchmark', 'builder', 'execution', 'duration', 'mean', 'variance'], + component: () => import('./benchmark-builder.vue'), + icon: SpeedFilled, + createdAt: new Date('2023-04-05'), +}); diff --git a/zh-CN/src/tools/bip39-generator/bip39-generator.vue b/zh-CN/src/tools/bip39-generator/bip39-generator.vue new file mode 100644 index 00000000..1d23f792 --- /dev/null +++ b/zh-CN/src/tools/bip39-generator/bip39-generator.vue @@ -0,0 +1,130 @@ + + + diff --git a/zh-CN/src/tools/bip39-generator/index.ts b/zh-CN/src/tools/bip39-generator/index.ts new file mode 100644 index 00000000..d5957dc5 --- /dev/null +++ b/zh-CN/src/tools/bip39-generator/index.ts @@ -0,0 +1,11 @@ +import { AlignJustified } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'BIP39 密码生成器', + path: '/bip39-generator', + description: '从现有或随机助记词生成 BIP39 密码,或从密码中获取助记词。', + keywords: ['BIP39', '密码短语', '生成', '助记词', '熵'], + component: () => import('./bip39-generator.vue'), + icon: AlignJustified, +}); diff --git a/zh-CN/src/tools/camera-recorder/camera-recorder.vue b/zh-CN/src/tools/camera-recorder/camera-recorder.vue new file mode 100644 index 00000000..ef6aa470 --- /dev/null +++ b/zh-CN/src/tools/camera-recorder/camera-recorder.vue @@ -0,0 +1,216 @@ + + + diff --git a/zh-CN/src/tools/camera-recorder/index.ts b/zh-CN/src/tools/camera-recorder/index.ts new file mode 100644 index 00000000..9fc0d5ed --- /dev/null +++ b/zh-CN/src/tools/camera-recorder/index.ts @@ -0,0 +1,12 @@ +import { Camera } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '在线摄像头', + path: '/camera-recorder', + description: '通过浏览器调用你的电脑摄像头来拍摄照片或录制视频。', + keywords: ['摄像头', '摄像机'], + component: () => import('./camera-recorder.vue'), + icon: Camera, + createdAt: new Date('2023-05-15'), +}); diff --git a/zh-CN/src/tools/camera-recorder/useMediaRecorder.ts b/zh-CN/src/tools/camera-recorder/useMediaRecorder.ts new file mode 100644 index 00000000..a21328c2 --- /dev/null +++ b/zh-CN/src/tools/camera-recorder/useMediaRecorder.ts @@ -0,0 +1,114 @@ +import { type Ref, computed, ref } from 'vue'; + +export { useMediaRecorder }; + +function useMediaRecorder({ stream }: { stream: Ref }): { + isRecordingSupported: Ref + recordingState: Ref<'stopped' | 'recording' | 'paused'> + startRecording: () => void + stopRecording: () => void + pauseRecording: () => void + resumeRecording: () => void + onRecordAvailable: (cb: (url: string) => void) => void +} { + const isRecordingSupported = computed(() => MediaRecorder.isTypeSupported('video/webm')); + const mediaRecorder = ref(null); + const recordedChunks = ref([]); + const recordAvailable = createEventHook(); + const recordingState = ref<'stopped' | 'recording' | 'paused'>('stopped'); + + const createVideo = () => { + const blob = new Blob(recordedChunks.value, { type: 'video/webm' }); + const url = URL.createObjectURL(blob); + recordedChunks.value = []; + return url; + }; + + const startRecording = () => { + if (!isRecordingSupported.value) { + return; + } + if (!stream.value) { + return; + } + if (recordingState.value !== 'stopped') { + return; + } + + mediaRecorder.value = new MediaRecorder(stream.value, { mimeType: 'video/webm' }); + + mediaRecorder.value.ondataavailable = (e) => { + if (e.data.size > 0) { + recordedChunks.value.push(e.data); + } + }; + + mediaRecorder.value.onstop = () => { + recordAvailable.trigger(createVideo()); + }; + + if (mediaRecorder.value.state !== 'inactive') { + return; + } + + mediaRecorder.value.start(); + recordingState.value = 'recording'; + }; + + const stopRecording = () => { + if (!isRecordingSupported.value) { + return; + } + if (!mediaRecorder.value) { + return; + } + if (recordingState.value === 'stopped') { + return; + } + + mediaRecorder.value.stop(); + recordingState.value = 'stopped'; + }; + + const pauseRecording = () => { + if (!isRecordingSupported.value) { + return; + } + if (!mediaRecorder.value) { + return; + } + if (recordingState.value !== 'recording') { + return; + } + + mediaRecorder.value.pause(); + recordingState.value = 'paused'; + }; + + const resumeRecording = () => { + if (!isRecordingSupported.value) { + return; + } + if (!mediaRecorder.value) { + return; + } + + if (recordingState.value !== 'paused') { + return; + } + + mediaRecorder.value.resume(); + recordingState.value = 'recording'; + }; + + return { + isRecordingSupported, + startRecording, + stopRecording, + pauseRecording, + resumeRecording, + recordingState, + + onRecordAvailable: recordAvailable.on, + }; +} diff --git a/zh-CN/src/tools/case-converter/case-converter.vue b/zh-CN/src/tools/case-converter/case-converter.vue new file mode 100644 index 00000000..99340389 --- /dev/null +++ b/zh-CN/src/tools/case-converter/case-converter.vue @@ -0,0 +1,113 @@ + + + diff --git a/zh-CN/src/tools/case-converter/index.ts b/zh-CN/src/tools/case-converter/index.ts new file mode 100644 index 00000000..91d0ae72 --- /dev/null +++ b/zh-CN/src/tools/case-converter/index.ts @@ -0,0 +1,25 @@ +import { LetterCaseToggle } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '大小写转换器', + path: '/case-converter', + description: '更改字符串的大小写并选择不同的格式', + keywords: [ + '大小写', + '转换器', + 'camelCase', + 'capitalCase', + 'constantCase', + 'dotCase', + 'headerCase', + 'noCase', + 'paramCase', + 'pascalCase', + 'pathCase', + 'sentenceCase', + 'snakeCase', + ], + component: () => import('./case-converter.vue'), + icon: LetterCaseToggle, +}); diff --git a/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.test.ts b/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.test.ts new file mode 100644 index 00000000..426c4a56 --- /dev/null +++ b/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.test.ts @@ -0,0 +1,130 @@ +import { describe, expect, it } from 'vitest'; +import { computeChmodOctalRepresentation, computeChmodSymbolicRepresentation } from './chmod-calculator.service'; + +describe('chmod-calculator', () => { + describe('computeChmodOctalRepresentation', () => { + it('get the octal representation from permissions', () => { + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: true, write: true, execute: true }, + group: { read: true, write: true, execute: true }, + public: { read: true, write: true, execute: true }, + }, + }), + ).to.eql('777'); + + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: false, write: false, execute: false }, + group: { read: false, write: false, execute: false }, + public: { read: false, write: false, execute: false }, + }, + }), + ).to.eql('000'); + + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: false, write: true, execute: false }, + group: { read: false, write: true, execute: true }, + public: { read: true, write: false, execute: true }, + }, + }), + ).to.eql('235'); + + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: true, write: false, execute: false }, + group: { read: false, write: true, execute: false }, + public: { read: false, write: false, execute: true }, + }, + }), + ).to.eql('421'); + + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: false, write: false, execute: true }, + group: { read: false, write: true, execute: false }, + public: { read: true, write: false, execute: false }, + }, + }), + ).to.eql('124'); + + expect( + computeChmodOctalRepresentation({ + permissions: { + owner: { read: false, write: true, execute: false }, + group: { read: false, write: true, execute: false }, + public: { read: false, write: true, execute: false }, + }, + }), + ).to.eql('222'); + }); + + it('get the symbolic representation from permissions', () => { + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: true, write: true, execute: true }, + group: { read: true, write: true, execute: true }, + public: { read: true, write: true, execute: true }, + }, + }), + ).to.eql('rwxrwxrwx'); + + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: false, write: false, execute: false }, + group: { read: false, write: false, execute: false }, + public: { read: false, write: false, execute: false }, + }, + }), + ).to.eql('---------'); + + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: false, write: true, execute: false }, + group: { read: false, write: true, execute: true }, + public: { read: true, write: false, execute: true }, + }, + }), + ).to.eql('-w--wxr-x'); + + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: true, write: false, execute: false }, + group: { read: false, write: true, execute: false }, + public: { read: false, write: false, execute: true }, + }, + }), + ).to.eql('r---w---x'); + + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: false, write: false, execute: true }, + group: { read: false, write: true, execute: false }, + public: { read: true, write: false, execute: false }, + }, + }), + ).to.eql('--x-w-r--'); + + expect( + computeChmodSymbolicRepresentation({ + permissions: { + owner: { read: false, write: true, execute: false }, + group: { read: false, write: true, execute: false }, + public: { read: false, write: true, execute: false }, + }, + }), + ).to.eql('-w--w--w-'); + }); + }); +}); diff --git a/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.ts b/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.ts new file mode 100644 index 00000000..e0046717 --- /dev/null +++ b/zh-CN/src/tools/chmod-calculator/chmod-calculator.service.ts @@ -0,0 +1,30 @@ +import _ from 'lodash'; +import type { GroupPermissions, Permissions } from './chmod-calculator.types'; + +export { computeChmodOctalRepresentation, computeChmodSymbolicRepresentation }; + +function computeChmodOctalRepresentation({ permissions }: { permissions: Permissions }): string { + const permissionValue = { read: 4, write: 2, execute: 1 }; + + const getGroupPermissionValue = (permission: GroupPermissions) => + _.reduce(permission, (acc, isPermSet, key) => acc + (isPermSet ? _.get(permissionValue, key, 0) : 0), 0); + + return [ + getGroupPermissionValue(permissions.owner), + getGroupPermissionValue(permissions.group), + getGroupPermissionValue(permissions.public), + ].join(''); +} + +function computeChmodSymbolicRepresentation({ permissions }: { permissions: Permissions }): string { + const permissionValue = { read: 'r', write: 'w', execute: 'x' }; + + const getGroupPermissionValue = (permission: GroupPermissions) => + _.reduce(permission, (acc, isPermSet, key) => acc + (isPermSet ? _.get(permissionValue, key, '') : '-'), ''); + + return [ + getGroupPermissionValue(permissions.owner), + getGroupPermissionValue(permissions.group), + getGroupPermissionValue(permissions.public), + ].join(''); +} diff --git a/zh-CN/src/tools/chmod-calculator/chmod-calculator.types.ts b/zh-CN/src/tools/chmod-calculator/chmod-calculator.types.ts new file mode 100644 index 00000000..d3dc915f --- /dev/null +++ b/zh-CN/src/tools/chmod-calculator/chmod-calculator.types.ts @@ -0,0 +1,10 @@ +export type Scope = 'read' | 'write' | 'execute'; +export type Group = 'owner' | 'group' | 'public'; + +export type GroupPermissions = { + [k in Scope]: boolean; +}; + +export type Permissions = { + [k in Group]: GroupPermissions; +}; diff --git a/zh-CN/src/tools/chmod-calculator/chmod-calculator.vue b/zh-CN/src/tools/chmod-calculator/chmod-calculator.vue new file mode 100644 index 00000000..d07df9df --- /dev/null +++ b/zh-CN/src/tools/chmod-calculator/chmod-calculator.vue @@ -0,0 +1,95 @@ + + + + + diff --git a/zh-CN/src/tools/chmod-calculator/index.ts b/zh-CN/src/tools/chmod-calculator/index.ts new file mode 100644 index 00000000..6dd12639 --- /dev/null +++ b/zh-CN/src/tools/chmod-calculator/index.ts @@ -0,0 +1,21 @@ +import { FileInvoice } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'chmod权限计算', + path: '/chmod-calculator', + description: '使用此在线 chmod 权限计算计算您的 chmod 权限和命令。', + keywords: [ + 'chmod', + '计算', + '文件', + '权限', + '目录', + '文件夹', + '递归', + '生成', + '八进制', + ], + component: () => import('./chmod-calculator.vue'), + icon: FileInvoice, +}); diff --git a/zh-CN/src/tools/chronometer/chronometer.service.test.ts b/zh-CN/src/tools/chronometer/chronometer.service.test.ts new file mode 100644 index 00000000..6230ca2e --- /dev/null +++ b/zh-CN/src/tools/chronometer/chronometer.service.test.ts @@ -0,0 +1,13 @@ +import { describe, expect, it } from 'vitest'; +import { formatMs } from './chronometer.service'; + +describe('chronometer', () => { + describe('formatChronometerTime', () => { + it('format the elapsed time', () => { + expect(formatMs(0)).toEqual('00:00.000'); + expect(formatMs(1)).toEqual('00:00.001'); + expect(formatMs(123456)).toEqual('02:03.456'); + expect(formatMs(12345600)).toEqual('03:25:45.600'); + }); + }); +}); diff --git a/zh-CN/src/tools/chronometer/chronometer.service.ts b/zh-CN/src/tools/chronometer/chronometer.service.ts new file mode 100644 index 00000000..62fb8195 --- /dev/null +++ b/zh-CN/src/tools/chronometer/chronometer.service.ts @@ -0,0 +1,11 @@ +export function formatMs(msTotal: number) { + const ms = msTotal % 1000; + const secs = ((msTotal - ms) / 1000) % 60; + const mins = (((msTotal - ms) / 1000 - secs) / 60) % 60; + const hrs = (((msTotal - ms) / 1000 - secs) / 60 - mins) / 60; + const hrsString = hrs > 0 ? `${hrs.toString().padStart(2, '0')}:` : ''; + + return `${hrsString}${mins.toString().padStart(2, '0')}:${secs.toString().padStart(2, '0')}.${ms + .toString() + .padStart(3, '0')}`; +} diff --git a/zh-CN/src/tools/chronometer/chronometer.vue b/zh-CN/src/tools/chronometer/chronometer.vue new file mode 100644 index 00000000..243733ea --- /dev/null +++ b/zh-CN/src/tools/chronometer/chronometer.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/zh-CN/src/tools/chronometer/index.ts b/zh-CN/src/tools/chronometer/index.ts new file mode 100644 index 00000000..ed8589a7 --- /dev/null +++ b/zh-CN/src/tools/chronometer/index.ts @@ -0,0 +1,11 @@ +import { TimerOutlined } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '秒表', + path: '/chronometer', + description: '这是一个简单的秒表。用于监控事物的持续时间。', + keywords: ['chronometer', 'time', 'lap', 'duration', 'measure', 'pause', 'resume', 'stopwatch'], + component: () => import('./chronometer.vue'), + icon: TimerOutlined, +}); diff --git a/zh-CN/src/tools/color-converter/color-converter.e2e.spec.ts b/zh-CN/src/tools/color-converter/color-converter.e2e.spec.ts new file mode 100644 index 00000000..6ab91d7a --- /dev/null +++ b/zh-CN/src/tools/color-converter/color-converter.e2e.spec.ts @@ -0,0 +1,23 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Color converter', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/color-converter'); + }); + + test('Has title', async ({ page }) => { + await expect(page).toHaveTitle('Color converter - IT Tools'); + }); + + test('Color is converted from its name to other formats', async ({ page }) => { + await page.getByTestId('input-name').fill('olive'); + + expect(await page.getByTestId('input-name').inputValue()).toEqual('olive'); + expect(await page.getByTestId('input-hex').inputValue()).toEqual('#808000'); + expect(await page.getByTestId('input-rgb').inputValue()).toEqual('rgb(128, 128, 0)'); + expect(await page.getByTestId('input-hsl').inputValue()).toEqual('hsl(60, 100%, 25%)'); + expect(await page.getByTestId('input-hwb').inputValue()).toEqual('hwb(60 0% 50%)'); + expect(await page.getByTestId('input-cmyk').inputValue()).toEqual('device-cmyk(0% 0% 100% 50%)'); + expect(await page.getByTestId('input-lch').inputValue()).toEqual('lch(52.15% 56.81 99.57)'); + }); +}); diff --git a/zh-CN/src/tools/color-converter/color-converter.models.test.ts b/zh-CN/src/tools/color-converter/color-converter.models.test.ts new file mode 100644 index 00000000..4261fed1 --- /dev/null +++ b/zh-CN/src/tools/color-converter/color-converter.models.test.ts @@ -0,0 +1,13 @@ +import { describe, expect, it } from 'vitest'; +import { removeAlphaChannelWhenOpaque } from './color-converter.models'; + +describe('color-converter models', () => { + describe('removeAlphaChannelWhenOpaque', () => { + it('remove alpha channel of an hex color when it is opaque (alpha = 1)', () => { + expect(removeAlphaChannelWhenOpaque('#000000ff')).toBe('#000000'); + expect(removeAlphaChannelWhenOpaque('#ffffffFF')).toBe('#ffffff'); + expect(removeAlphaChannelWhenOpaque('#000000FE')).toBe('#000000FE'); + expect(removeAlphaChannelWhenOpaque('#00000000')).toBe('#00000000'); + }); + }); +}); diff --git a/zh-CN/src/tools/color-converter/color-converter.models.ts b/zh-CN/src/tools/color-converter/color-converter.models.ts new file mode 100644 index 00000000..030fd074 --- /dev/null +++ b/zh-CN/src/tools/color-converter/color-converter.models.ts @@ -0,0 +1,52 @@ +import { type Colord, colord } from 'colord'; +import { withDefaultOnError } from '@/utils/defaults'; +import { useValidation } from '@/composable/validation'; + +export { removeAlphaChannelWhenOpaque, buildColorFormat }; + +function removeAlphaChannelWhenOpaque(hexColor: string) { + return hexColor.replace(/^(#(?:[0-9a-f]{3}){1,2})ff$/i, '$1'); +} + +function buildColorFormat({ + label, + parse = value => colord(value), + format, + placeholder, + invalidMessage = `Invalid ${label.toLowerCase()} format.`, + type = 'text', +}: { + label: string + parse?: (value: string) => Colord + format: (value: Colord) => string + placeholder?: string + invalidMessage?: string + type?: 'text' | 'color-picker' +}) { + const value = ref(''); + + return { + type, + label, + parse: (v: string) => withDefaultOnError(() => parse(v), undefined), + format, + placeholder, + value, + validation: useValidation({ + source: value, + rules: [ + { + message: invalidMessage, + validator: v => withDefaultOnError(() => { + if (v === '') { + return true; + } + + return parse(v).isValid(); + }, false), + }, + ], + }), + + }; +} diff --git a/zh-CN/src/tools/color-converter/color-converter.vue b/zh-CN/src/tools/color-converter/color-converter.vue new file mode 100644 index 00000000..e486310d --- /dev/null +++ b/zh-CN/src/tools/color-converter/color-converter.vue @@ -0,0 +1,103 @@ + + + diff --git a/zh-CN/src/tools/color-converter/index.ts b/zh-CN/src/tools/color-converter/index.ts new file mode 100644 index 00000000..9c006886 --- /dev/null +++ b/zh-CN/src/tools/color-converter/index.ts @@ -0,0 +1,12 @@ +import { Palette } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '颜色转换器', + path: '/color-converter', + description: '在不同格式之间转换颜色(hex、rgb、hsl 和 css 名称)', + keywords: ['颜色', '转换器'], + component: () => import('./color-converter.vue'), + icon: Palette, + redirectFrom: ['/color-picker-converter'], +}); diff --git a/zh-CN/src/tools/crontab-generator/crontab-generator.vue b/zh-CN/src/tools/crontab-generator/crontab-generator.vue new file mode 100644 index 00000000..5339a683 --- /dev/null +++ b/zh-CN/src/tools/crontab-generator/crontab-generator.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/zh-CN/src/tools/crontab-generator/index.ts b/zh-CN/src/tools/crontab-generator/index.ts new file mode 100644 index 00000000..5dcf3282 --- /dev/null +++ b/zh-CN/src/tools/crontab-generator/index.ts @@ -0,0 +1,25 @@ +import { Alarm } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '定时任务生成器', + path: '/crontab-generator', + description: '验证并生成定时任务并获取人类可读的描述。', + keywords: [ + '定时任务', + '生成器', + '定时作业', + '计划任务', + '日程安排', + '解析', + '表达式', + '年', + '月', + '周', + '天', + '分钟', + '秒钟', + ], + component: () => import('./crontab-generator.vue'), + icon: Alarm, +}); diff --git a/zh-CN/src/tools/date-time-converter/date-time-converter.e2e.spec.ts b/zh-CN/src/tools/date-time-converter/date-time-converter.e2e.spec.ts new file mode 100644 index 00000000..249dd754 --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/date-time-converter.e2e.spec.ts @@ -0,0 +1,34 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Date time converter - json to yaml', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/date-converter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Date-time converter - IT Tools'); + }); + + test('Format is auto detected from a date and the date is correctly converted', async ({ page }) => { + const initialFormat = await page.getByTestId('date-time-converter-format-select').innerText(); + expect(initialFormat.trim()).toEqual('Timestamp'); + + await page.getByTestId('date-time-converter-input').fill('2023-04-12T23:10:24+02:00'); + + const detectedFormat = await page.getByTestId('date-time-converter-format-select').innerText(); + expect(detectedFormat.trim()).toEqual('ISO 8601'); + + expect((await page.getByTestId('JS locale date string').inputValue()).trim()).toEqual( + 'Wed Apr 12 2023 23:10:24 GMT+0200 (Central European Summer Time)', + ); + expect((await page.getByTestId('ISO 8601').inputValue()).trim()).toEqual('2023-04-12T23:10:24+02:00'); + expect((await page.getByTestId('ISO 9075').inputValue()).trim()).toEqual('2023-04-12 23:10:24'); + expect((await page.getByTestId('Unix timestamp').inputValue()).trim()).toEqual('1681333824'); + expect((await page.getByTestId('RFC 7231').inputValue()).trim()).toEqual('Wed, 12 Apr 2023 21:10:24 GMT'); + expect((await page.getByTestId('RFC 3339').inputValue()).trim()).toEqual('2023-04-12T23:10:24+02:00'); + expect((await page.getByTestId('Timestamp').inputValue()).trim()).toEqual('1681333824000'); + expect((await page.getByTestId('UTC format').inputValue()).trim()).toEqual('Wed, 12 Apr 2023 21:10:24 GMT'); + expect((await page.getByTestId('Mongo ObjectID').inputValue()).trim()).toEqual('64371e400000000000000000'); + expect((await page.getByTestId('Excel date/time').inputValue()).trim()).toEqual('45028.88222222222'); + }); +}); diff --git a/zh-CN/src/tools/date-time-converter/date-time-converter.models.test.ts b/zh-CN/src/tools/date-time-converter/date-time-converter.models.test.ts new file mode 100644 index 00000000..c2c7bee9 --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/date-time-converter.models.test.ts @@ -0,0 +1,180 @@ +import { describe, expect, test } from 'vitest'; +import { + dateToExcelFormat, + excelFormatToDate, + isExcelFormat, + isISO8601DateTimeString, + isISO9075DateString, + isMongoObjectId, + isRFC3339DateString, + isRFC7231DateString, + isTimestamp, + isUTCDateString, + isUnixTimestamp, +} from './date-time-converter.models'; + +describe('date-time-converter models', () => { + describe('isISO8601DateTimeString', () => { + test('should return true for valid ISO 8601 date strings', () => { + expect(isISO8601DateTimeString('2021-01-01T00:00:00.000Z')).toBe(true); + expect(isISO8601DateTimeString('2023-04-12T14:56:00+01:00')).toBe(true); + expect(isISO8601DateTimeString('20230412T145600+0100')).toBe(true); + expect(isISO8601DateTimeString('20230412T145600Z')).toBe(true); + expect(isISO8601DateTimeString('2016-02-01')).toBe(true); + expect(isISO8601DateTimeString('2016')).toBe(true); + }); + + test('should return false for invalid ISO 8601 date strings', () => { + expect(isISO8601DateTimeString()).toBe(false); + expect(isISO8601DateTimeString('')).toBe(false); + expect(isISO8601DateTimeString('qsdqsd')).toBe(false); + expect(isISO8601DateTimeString('2016-02-01-')).toBe(false); + expect(isISO8601DateTimeString('2021-01-01T00:00:00.')).toBe(false); + }); + }); + + describe('isISO9075DateString', () => { + test('should return true for valid ISO 9075 date strings', () => { + expect(isISO9075DateString('2022-01-01 12:00:00Z')).toBe(true); + expect(isISO9075DateString('2022-01-01 12:00:00.123456Z')).toBe(true); + expect(isISO9075DateString('2022-01-01 12:00:00+01:00')).toBe(true); + expect(isISO9075DateString('2022-01-01 12:00:00-05:00')).toBe(true); + }); + + test('should return false for invalid ISO 9075 date strings', () => { + expect(isISO9075DateString('2022/01/01T12:00:00Z')).toBe(false); + expect(isISO9075DateString('2022-01-01 12:00:00.123456789Z')).toBe(false); + expect(isISO9075DateString('2022-01-01 12:00:00+1:00')).toBe(false); + expect(isISO9075DateString('2022-01-01 12:00:00-05:')).toBe(false); + expect(isISO9075DateString('2022-01-01 12:00:00-05:00:00')).toBe(false); + expect(isISO9075DateString('2022-01-01')).toBe(false); + expect(isISO9075DateString('12:00:00Z')).toBe(false); + expect(isISO9075DateString('2022-01-01T12:00:00Zfoo')).toBe(false); + }); + }); + + describe('isRFC3339DateString', () => { + test('should return true for valid RFC 3339 date strings', () => { + expect(isRFC3339DateString('2022-01-01T12:00:00Z')).toBe(true); + expect(isRFC3339DateString('2022-01-01T12:00:00.123456789Z')).toBe(true); + expect(isRFC3339DateString('2022-01-01T12:00:00.123456789+01:00')).toBe(true); + expect(isRFC3339DateString('2022-01-01T12:00:00-05:00')).toBe(true); + }); + + test('should return false for invalid RFC 3339 date strings', () => { + expect(isRFC3339DateString('2022/01/01T12:00:00Z')).toBe(false); + expect(isRFC3339DateString('2022-01-01T12:00:00.123456789+1:00')).toBe(false); + expect(isRFC3339DateString('2022-01-01T12:00:00-05:')).toBe(false); + expect(isRFC3339DateString('2022-01-01T12:00:00-05:00:00')).toBe(false); + expect(isRFC3339DateString('2022-01-01')).toBe(false); + expect(isRFC3339DateString('12:00:00Z')).toBe(false); + expect(isRFC3339DateString('2022-01-01T12:00:00Zfoo')).toBe(false); + }); + }); + + describe('isRFC7231DateString', () => { + test('should return true for valid RFC 7231 date strings', () => { + expect(isRFC7231DateString('Sun, 06 Nov 1994 08:49:37 GMT')).toBe(true); + expect(isRFC7231DateString('Tue, 22 Apr 2014 07:00:00 GMT')).toBe(true); + }); + + test('should return false for invalid RFC 7231 date strings', () => { + expect(isRFC7231DateString('06 Nov 1994 08:49:37 GMT')).toBe(false); + expect(isRFC7231DateString('Sun, 06 Nov 94 08:49:37 GMT')).toBe(false); + expect(isRFC7231DateString('Sun, 06 Nov 1994 8:49:37 GMT')).toBe(false); + expect(isRFC7231DateString('Sun, 06 Nov 1994 08:49:37 GMT-0500')).toBe(false); + expect(isRFC7231DateString('Sun, 06 November 1994 08:49:37 GMT')).toBe(false); + expect(isRFC7231DateString('Sunday, 06 Nov 1994 08:49:37 GMT')).toBe(false); + expect(isRFC7231DateString('06 Nov 1994')).toBe(false); + }); + }); + + describe('isUnixTimestamp', () => { + test('should return true for valid Unix timestamps', () => { + expect(isUnixTimestamp('1649789394')).toBe(true); + expect(isUnixTimestamp('1234567890')).toBe(true); + expect(isUnixTimestamp('0')).toBe(true); + }); + + test('should return false for invalid Unix timestamps', () => { + expect(isUnixTimestamp('foo')).toBe(false); + expect(isUnixTimestamp('')).toBe(false); + }); + }); + + describe('isTimestamp', () => { + test('should return true for valid Unix timestamps in milliseconds', () => { + expect(isTimestamp('1649792026123')).toBe(true); + expect(isTimestamp('1234567890000')).toBe(true); + expect(isTimestamp('0')).toBe(true); + }); + + test('should return false for invalid Unix timestamps in milliseconds', () => { + expect(isTimestamp('foo')).toBe(false); + expect(isTimestamp('')).toBe(false); + }); + }); + + describe('isUTCDateString', () => { + test('should return true for valid UTC date strings', () => { + expect(isUTCDateString('Sun, 06 Nov 1994 08:49:37 GMT')).toBe(true); + expect(isUTCDateString('Tue, 22 Apr 2014 07:00:00 GMT')).toBe(true); + }); + + test('should return false for invalid UTC date strings', () => { + expect(isUTCDateString('06 Nov 1994 08:49:37 GMT')).toBe(false); + expect(isUTCDateString('16497920261')).toBe(false); + expect(isUTCDateString('foo')).toBe(false); + expect(isUTCDateString('')).toBe(false); + }); + }); + + describe('isMongoObjectId', () => { + test('should return true for valid Mongo ObjectIds', () => { + expect(isMongoObjectId('507f1f77bcf86cd799439011')).toBe(true); + expect(isMongoObjectId('507f1f77bcf86cd799439012')).toBe(true); + }); + + test('should return false for invalid Mongo ObjectIds', () => { + expect(isMongoObjectId('507f1f77bcf86cd79943901')).toBe(false); + expect(isMongoObjectId('507f1f77bcf86cd79943901z')).toBe(false); + expect(isMongoObjectId('foo')).toBe(false); + expect(isMongoObjectId('')).toBe(false); + }); + }); + + describe('isExcelFormat', () => { + test('an Excel format string is a floating number that can be negative', () => { + expect(isExcelFormat('0')).toBe(true); + expect(isExcelFormat('1')).toBe(true); + expect(isExcelFormat('1.1')).toBe(true); + expect(isExcelFormat('-1.1')).toBe(true); + expect(isExcelFormat('-1')).toBe(true); + + expect(isExcelFormat('')).toBe(false); + expect(isExcelFormat('foo')).toBe(false); + expect(isExcelFormat('1.1.1')).toBe(false); + }); + }); + + describe('dateToExcelFormat', () => { + test('a date in Excel format is the number of days since 01/01/1900', () => { + expect(dateToExcelFormat(new Date('2016-05-20T00:00:00.000Z'))).toBe('42510'); + expect(dateToExcelFormat(new Date('2016-05-20T12:00:00.000Z'))).toBe('42510.5'); + expect(dateToExcelFormat(new Date('2023-10-31T09:26:06.421Z'))).toBe('45230.39312987268'); + expect(dateToExcelFormat(new Date('1970-01-01T00:00:00.000Z'))).toBe('25569'); + expect(dateToExcelFormat(new Date('1800-01-01T00:00:00.000Z'))).toBe('-36522'); + }); + }); + + describe('excelFormatToDate', () => { + test('a date in Excel format is the number of days since 01/01/1900', () => { + expect(excelFormatToDate('0')).toEqual(new Date('1899-12-30T00:00:00.000Z')); + expect(excelFormatToDate('1')).toEqual(new Date('1899-12-31T00:00:00.000Z')); + expect(excelFormatToDate('2')).toEqual(new Date('1900-01-01T00:00:00.000Z')); + expect(excelFormatToDate('4242.4242')).toEqual(new Date('1911-08-12T10:10:50.880Z')); + expect(excelFormatToDate('42738.22626859954')).toEqual(new Date('2017-01-03T05:25:49.607Z')); + expect(excelFormatToDate('-1000')).toEqual(new Date('1897-04-04T00:00:00.000Z')); + }); + }); +}); diff --git a/zh-CN/src/tools/date-time-converter/date-time-converter.models.ts b/zh-CN/src/tools/date-time-converter/date-time-converter.models.ts new file mode 100644 index 00000000..f5eedbfa --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/date-time-converter.models.ts @@ -0,0 +1,62 @@ +import _ from 'lodash'; + +export { + isISO8601DateTimeString, + isISO9075DateString, + isRFC3339DateString, + isRFC7231DateString, + isUnixTimestamp, + isTimestamp, + isUTCDateString, + isMongoObjectId, + dateToExcelFormat, + excelFormatToDate, + isExcelFormat, +}; + +const ISO8601_REGEX + = /^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/; +const ISO9075_REGEX + = /^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})(\.[0-9]{1,6})?(([+-])([0-9]{2}):([0-9]{2})|Z)?$/; + +const RFC3339_REGEX + = /^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(\.[0-9]{1,9})?(([+-])([0-9]{2}):([0-9]{2})|Z)$/; + +const RFC7231_REGEX = /^[A-Za-z]{3},\s[0-9]{2}\s[A-Za-z]{3}\s[0-9]{4}\s[0-9]{2}:[0-9]{2}:[0-9]{2}\sGMT$/; + +const EXCEL_FORMAT_REGEX = /^-?\d+(\.\d+)?$/; + +function createRegexMatcher(regex: RegExp) { + return (date?: string) => !_.isNil(date) && regex.test(date); +} + +const isISO8601DateTimeString = createRegexMatcher(ISO8601_REGEX); +const isISO9075DateString = createRegexMatcher(ISO9075_REGEX); +const isRFC3339DateString = createRegexMatcher(RFC3339_REGEX); +const isRFC7231DateString = createRegexMatcher(RFC7231_REGEX); +const isUnixTimestamp = createRegexMatcher(/^[0-9]{1,10}$/); +const isTimestamp = createRegexMatcher(/^[0-9]{1,13}$/); +const isMongoObjectId = createRegexMatcher(/^[0-9a-fA-F]{24}$/); + +const isExcelFormat = createRegexMatcher(EXCEL_FORMAT_REGEX); + +function isUTCDateString(date?: string) { + if (_.isNil(date)) { + return false; + } + + try { + return new Date(date).toUTCString() === date; + } + catch (_ignored) { + return false; + } +} + +function dateToExcelFormat(date: Date) { + return String(((date.getTime()) / (1000 * 60 * 60 * 24)) + 25569); +} + +function excelFormatToDate(excelFormat: string | number) { + return new Date((Number(excelFormat) - 25569) * 86400 * 1000); +} diff --git a/zh-CN/src/tools/date-time-converter/date-time-converter.types.ts b/zh-CN/src/tools/date-time-converter/date-time-converter.types.ts new file mode 100644 index 00000000..669c92a7 --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/date-time-converter.types.ts @@ -0,0 +1,8 @@ +export type ToDateMapper = (value: string) => Date; + +export interface DateFormat { + name: string + fromDate: (date: Date) => string + toDate: (value: string) => Date + formatMatcher: (dateString: string) => boolean +} diff --git a/zh-CN/src/tools/date-time-converter/date-time-converter.vue b/zh-CN/src/tools/date-time-converter/date-time-converter.vue new file mode 100644 index 00000000..5e9af147 --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/date-time-converter.vue @@ -0,0 +1,189 @@ + + + diff --git a/zh-CN/src/tools/date-time-converter/index.ts b/zh-CN/src/tools/date-time-converter/index.ts new file mode 100644 index 00000000..80ea3c3c --- /dev/null +++ b/zh-CN/src/tools/date-time-converter/index.ts @@ -0,0 +1,11 @@ +import { Calendar } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '日期时间转换器', + path: '/date-converter', + description: '将日期和时间转换为各种不同的格式', + keywords: ['日期', '时间', '转换器', 'iso', 'utc', '时区', '年', '月', '日', '分钟', '秒钟'], + component: () => import('./date-time-converter.vue'), + icon: Calendar, +}); diff --git a/zh-CN/src/tools/device-information/device-information.vue b/zh-CN/src/tools/device-information/device-information.vue new file mode 100644 index 00000000..d8968394 --- /dev/null +++ b/zh-CN/src/tools/device-information/device-information.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/zh-CN/src/tools/device-information/index.ts b/zh-CN/src/tools/device-information/index.ts new file mode 100644 index 00000000..3ab35b8a --- /dev/null +++ b/zh-CN/src/tools/device-information/index.ts @@ -0,0 +1,23 @@ +import { DeviceDesktop } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '设备信息', + path: '/device-information', + description: '获取有关您当前设备的信息(屏幕尺寸、像素比、用户代理...)', + keywords: [ + '设备', + '信息', + '屏幕', + '像素', + '比例', + '状态', + '数据', + '电脑', + '尺寸', + '用户', + '代理', + ], + component: () => import('./device-information.vue'), + icon: DeviceDesktop, +}); diff --git a/zh-CN/src/tools/docker-run-to-docker-compose-converter/composerize.d.ts b/zh-CN/src/tools/docker-run-to-docker-compose-converter/composerize.d.ts new file mode 100644 index 00000000..aab47a24 --- /dev/null +++ b/zh-CN/src/tools/docker-run-to-docker-compose-converter/composerize.d.ts @@ -0,0 +1,4 @@ +declare module 'composerize' { + const composerize: (arg: string) => string; + export default composerize; +} diff --git a/zh-CN/src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue b/zh-CN/src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue new file mode 100644 index 00000000..e9fe1a17 --- /dev/null +++ b/zh-CN/src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue @@ -0,0 +1,88 @@ + + + diff --git a/zh-CN/src/tools/docker-run-to-docker-compose-converter/index.ts b/zh-CN/src/tools/docker-run-to-docker-compose-converter/index.ts new file mode 100644 index 00000000..f37228c5 --- /dev/null +++ b/zh-CN/src/tools/docker-run-to-docker-compose-converter/index.ts @@ -0,0 +1,11 @@ +import { BrandDocker } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Docker run 转 compose', + path: '/docker-run-to-docker-compose-converter', + description: '将 docker run 命令转换为 docker-compose 文件', + keywords: ['docker', 'run', 'compose', 'yaml', 'yml', '转换', 'deamon'], + component: () => import('./docker-run-to-docker-compose-converter.vue'), + icon: BrandDocker, +}); diff --git a/zh-CN/src/tools/emoji-picker/emoji-card.vue b/zh-CN/src/tools/emoji-picker/emoji-card.vue new file mode 100644 index 00000000..c130f2cc --- /dev/null +++ b/zh-CN/src/tools/emoji-picker/emoji-card.vue @@ -0,0 +1,42 @@ + + + diff --git a/zh-CN/src/tools/emoji-picker/emoji-grid.vue b/zh-CN/src/tools/emoji-picker/emoji-grid.vue new file mode 100644 index 00000000..9bae22e0 --- /dev/null +++ b/zh-CN/src/tools/emoji-picker/emoji-grid.vue @@ -0,0 +1,12 @@ + + + diff --git a/zh-CN/src/tools/emoji-picker/emoji-picker.vue b/zh-CN/src/tools/emoji-picker/emoji-picker.vue new file mode 100644 index 00000000..f6974321 --- /dev/null +++ b/zh-CN/src/tools/emoji-picker/emoji-picker.vue @@ -0,0 +1,85 @@ + + + diff --git a/zh-CN/src/tools/emoji-picker/emoji.types.ts b/zh-CN/src/tools/emoji-picker/emoji.types.ts new file mode 100644 index 00000000..7b7bf922 --- /dev/null +++ b/zh-CN/src/tools/emoji-picker/emoji.types.ts @@ -0,0 +1,8 @@ +import type emojiUnicodeData from 'unicode-emoji-json'; + +export type EmojiInfo = { + title: string + emoji: string + codePoints: string | undefined + unicode: string +} & typeof emojiUnicodeData[string]; diff --git a/zh-CN/src/tools/emoji-picker/index.ts b/zh-CN/src/tools/emoji-picker/index.ts new file mode 100644 index 00000000..63026f87 --- /dev/null +++ b/zh-CN/src/tools/emoji-picker/index.ts @@ -0,0 +1,12 @@ +import { MoodSmile } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Emoji 表情大全', + path: '/emoji-picker', + description: '轻松复制和粘贴表情符号,并获取每个表情符号的 unicode 和 Code points 值。', + keywords: ['emoji', '大全', 'unicode', '复制', '粘贴'], + component: () => import('./emoji-picker.vue'), + icon: MoodSmile, + createdAt: new Date('2023-08-07'), +}); diff --git a/zh-CN/src/tools/encryption/encryption.vue b/zh-CN/src/tools/encryption/encryption.vue new file mode 100644 index 00000000..454e54b4 --- /dev/null +++ b/zh-CN/src/tools/encryption/encryption.vue @@ -0,0 +1,80 @@ + + + diff --git a/zh-CN/src/tools/encryption/index.ts b/zh-CN/src/tools/encryption/index.ts new file mode 100644 index 00000000..83f4c598 --- /dev/null +++ b/zh-CN/src/tools/encryption/index.ts @@ -0,0 +1,12 @@ +import { Lock } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '加密/解密文本', + path: '/encryption', + description: '使用 AES、TripleDES、Rabbit 或 RC4 等加密算法对文本明文进行加密和解密。', + keywords: ['暗号', '加密', '文本', 'AES', 'TripleDES', 'Rabbit', 'RC4'], + component: () => import('./encryption.vue'), + icon: Lock, + redirectFrom: ['/cypher'], +}); diff --git a/zh-CN/src/tools/eta-calculator/eta-calculator.service.ts b/zh-CN/src/tools/eta-calculator/eta-calculator.service.ts new file mode 100644 index 00000000..4257b6ae --- /dev/null +++ b/zh-CN/src/tools/eta-calculator/eta-calculator.service.ts @@ -0,0 +1,17 @@ +import { formatDuration } from 'date-fns'; +import { zhCN } from 'date-fns/locale'; + +export function formatMsDuration(duration: number) { + const ms = Math.floor(duration % 1000); + const secs = Math.floor(((duration - ms) / 1000) % 60); + const mins = Math.floor((((duration - ms) / 1000 - secs) / 60) % 60); + const hrs = Math.floor((((duration - ms) / 1000 - secs) / 60 - mins) / 60); + + return ( + formatDuration({ + hours: hrs, + minutes: mins, + seconds: secs, + }, { locale: zhCN }) + (ms > 0 ? ` ${ms} 毫秒` : '') + ); +} diff --git a/zh-CN/src/tools/eta-calculator/eta-calculator.vue b/zh-CN/src/tools/eta-calculator/eta-calculator.vue new file mode 100644 index 00000000..c5f751db --- /dev/null +++ b/zh-CN/src/tools/eta-calculator/eta-calculator.vue @@ -0,0 +1,81 @@ + + + + + diff --git a/zh-CN/src/tools/eta-calculator/index.ts b/zh-CN/src/tools/eta-calculator/index.ts new file mode 100644 index 00000000..d605ff7a --- /dev/null +++ b/zh-CN/src/tools/eta-calculator/index.ts @@ -0,0 +1,12 @@ +import { Hourglass } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '任务用时计算', + path: '/eta-calculator', + description: + '任务用时计算,用于计算任务的大致结束时间,例如下载结束的时刻。', + keywords: ['预计到达时间', '计算', '预计', '时间', '到达', '平均'], + component: () => import('./eta-calculator.vue'), + icon: Hourglass, +}); diff --git a/zh-CN/src/tools/git-memo/git-memo.content.md b/zh-CN/src/tools/git-memo/git-memo.content.md new file mode 100644 index 00000000..683d6e97 --- /dev/null +++ b/zh-CN/src/tools/git-memo/git-memo.content.md @@ -0,0 +1,77 @@ +## 配置 + +设置全局配置 + +```shell +git config --global user.name "[name]" +git config --global user.email "[email]" +``` + +## 开始使用 + +创建 git 存储库 + +```shell +git init +``` + +克隆现有的 git 存储库 + +```shell +git clone [url] +``` + +## 提交 + +提交所有跟踪的更改 + +```shell +git commit -am "[commit message]" +``` + +向上次提交添加新的修改 + +```shell +git commit --amend --no-edit +``` + +## 我犯了一个错误 + +更改最后提交消息 + +```shell +git commit --amend +``` + +撤消最近的提交并保留更改 + +```shell +git reset HEAD~1 +``` + +撤消“N”最近的提交并保留更改 + +```shell +git reset HEAD~N +``` + +撤消最近的提交并摆脱更改 + +```shell +git reset HEAD~1 --hard +``` + +将分支重置为远程状态 + +```shell +git fetch origin +git reset --hard origin/[branch-name] +``` + +## 其他 + +将本地master分支重命名为main + +```shell +git branch -m master main +``` diff --git a/zh-CN/src/tools/git-memo/git-memo.vue b/zh-CN/src/tools/git-memo/git-memo.vue new file mode 100644 index 00000000..12bf9fc0 --- /dev/null +++ b/zh-CN/src/tools/git-memo/git-memo.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/zh-CN/src/tools/git-memo/index.ts b/zh-CN/src/tools/git-memo/index.ts new file mode 100644 index 00000000..ab8cf63d --- /dev/null +++ b/zh-CN/src/tools/git-memo/index.ts @@ -0,0 +1,12 @@ +import { BrandGit } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Git 速查表', + path: '/git-memo', + description: + 'Git 是一个去中心化的版本管理软件。 通过这个速查表,您将可以快速访问最常见的 git 命令。', + keywords: ['git', 'push', 'force', 'pull', 'commit', 'amend', 'rebase', 'merge', 'reset', 'soft', 'hard', 'lease'], + component: () => import('./git-memo.vue'), + icon: BrandGit, +}); diff --git a/zh-CN/src/tools/hash-text/hash-text.service.test.ts b/zh-CN/src/tools/hash-text/hash-text.service.test.ts new file mode 100644 index 00000000..b0e9c797 --- /dev/null +++ b/zh-CN/src/tools/hash-text/hash-text.service.test.ts @@ -0,0 +1,15 @@ +import { describe, expect, it } from 'vitest'; +import { convertHexToBin } from './hash-text.service'; + +describe('hash text', () => { + describe('convertHexToBin', () => { + it('convert hex to bin', () => { + expect(convertHexToBin('')).toEqual(''); + expect(convertHexToBin('FF')).toEqual('11111111'); + expect(convertHexToBin('F'.repeat(200))).toEqual('1111'.repeat(200)); + expect(convertHexToBin('2123006AD00F694CE120')).toEqual( + '00100001001000110000000001101010110100000000111101101001010011001110000100100000', + ); + }); + }); +}); diff --git a/zh-CN/src/tools/hash-text/hash-text.service.ts b/zh-CN/src/tools/hash-text/hash-text.service.ts new file mode 100644 index 00000000..d0bc4bde --- /dev/null +++ b/zh-CN/src/tools/hash-text/hash-text.service.ts @@ -0,0 +1,7 @@ +export function convertHexToBin(hex: string) { + return hex + .trim() + .split('') + .map(byte => Number.parseInt(byte, 16).toString(2).padStart(4, '0')) + .join(''); +} diff --git a/zh-CN/src/tools/hash-text/hash-text.vue b/zh-CN/src/tools/hash-text/hash-text.vue new file mode 100644 index 00000000..60cf8492 --- /dev/null +++ b/zh-CN/src/tools/hash-text/hash-text.vue @@ -0,0 +1,77 @@ + + + diff --git a/zh-CN/src/tools/hash-text/index.ts b/zh-CN/src/tools/hash-text/index.ts new file mode 100644 index 00000000..f456e8aa --- /dev/null +++ b/zh-CN/src/tools/hash-text/index.ts @@ -0,0 +1,27 @@ +import { EyeOff } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '文本哈希计算', + path: '/hash-text', + description: + '使用您需要的函数对文本字符串进行哈希处理:MD5、SHA1、SHA256、SHA224、SHA512、SHA384、SHA3 或 RIPEMD160', + keywords: [ + '哈希', + 'digest', + 'crypto', + 'security', + 'text', + 'MD5', + 'SHA1', + 'SHA256', + 'SHA224', + 'SHA512', + 'SHA384', + 'SHA3', + 'RIPEMD160', + ], + component: () => import('./hash-text.vue'), + icon: EyeOff, + redirectFrom: ['/hash'], +}); diff --git a/zh-CN/src/tools/hmac-generator/hmac-generator.vue b/zh-CN/src/tools/hmac-generator/hmac-generator.vue new file mode 100644 index 00000000..0f2bd7b6 --- /dev/null +++ b/zh-CN/src/tools/hmac-generator/hmac-generator.vue @@ -0,0 +1,91 @@ + + + diff --git a/zh-CN/src/tools/hmac-generator/index.ts b/zh-CN/src/tools/hmac-generator/index.ts new file mode 100644 index 00000000..4ef76833 --- /dev/null +++ b/zh-CN/src/tools/hmac-generator/index.ts @@ -0,0 +1,12 @@ +import { ShortTextRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'HMAC 生成器', + path: '/hmac-generator', + description: + '使用密钥和哈希函数计算基于哈希的消息身份验证代码 (HMAC)。', + keywords: ['hmac', 'generator', 'MD5', 'SHA1', 'SHA256', 'SHA224', 'SHA512', 'SHA384', 'SHA3', 'RIPEMD160'], + component: () => import('./hmac-generator.vue'), + icon: ShortTextRound, +}); diff --git a/zh-CN/src/tools/html-entities/html-entities.vue b/zh-CN/src/tools/html-entities/html-entities.vue new file mode 100644 index 00000000..db2482a7 --- /dev/null +++ b/zh-CN/src/tools/html-entities/html-entities.vue @@ -0,0 +1,74 @@ + + + diff --git a/zh-CN/src/tools/html-entities/index.ts b/zh-CN/src/tools/html-entities/index.ts new file mode 100644 index 00000000..0da919ae --- /dev/null +++ b/zh-CN/src/tools/html-entities/index.ts @@ -0,0 +1,11 @@ +import { Code } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'HTML 转义', + path: '/html-entities', + description: '转义或取消转义 html 实体(将 <、>、&、" 和 \' 替换为其 html 版本)', + keywords: ['html', '实体', '转义', '取消转义', '特殊', '字符', '标签'], + component: () => import('./html-entities.vue'), + icon: Code, +}); diff --git a/zh-CN/src/tools/html-wysiwyg-editor/editor/editor.vue b/zh-CN/src/tools/html-wysiwyg-editor/editor/editor.vue new file mode 100644 index 00000000..86bdebbc --- /dev/null +++ b/zh-CN/src/tools/html-wysiwyg-editor/editor/editor.vue @@ -0,0 +1,131 @@ + + + + + + + diff --git a/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue b/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue new file mode 100644 index 00000000..5be23292 --- /dev/null +++ b/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue @@ -0,0 +1,14 @@ + + + diff --git a/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar.vue b/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar.vue new file mode 100644 index 00000000..30948cb3 --- /dev/null +++ b/zh-CN/src/tools/html-wysiwyg-editor/editor/menu-bar.vue @@ -0,0 +1,167 @@ + + + diff --git a/zh-CN/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue b/zh-CN/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue new file mode 100644 index 00000000..e000ff5a --- /dev/null +++ b/zh-CN/src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue @@ -0,0 +1,16 @@ + + + diff --git a/zh-CN/src/tools/html-wysiwyg-editor/index.ts b/zh-CN/src/tools/html-wysiwyg-editor/index.ts new file mode 100644 index 00000000..e06393d5 --- /dev/null +++ b/zh-CN/src/tools/html-wysiwyg-editor/index.ts @@ -0,0 +1,11 @@ +import { Edit } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'HTML 在线编辑器', + path: '/html-wysiwyg-editor', + description: '在线HTML编辑器,具有功能丰富的所见即所得编辑器,立即获取内容的源代码。', + keywords: ['html', '所见即所得', '编辑器', 'p', 'ul', 'ol', '编辑器', '在线'], + component: () => import('./html-wysiwyg-editor.vue'), + icon: Edit, +}); diff --git a/zh-CN/src/tools/http-status-codes/http-status-codes.constants.ts b/zh-CN/src/tools/http-status-codes/http-status-codes.constants.ts new file mode 100644 index 00000000..23f2ad7b --- /dev/null +++ b/zh-CN/src/tools/http-status-codes/http-status-codes.constants.ts @@ -0,0 +1,413 @@ +export const codesByCategories: { + category: string + codes: { + code: number + name: string + description: string + type: 'HTTP' | 'WebDav' + }[] +}[] = [ + { + category: '1xx 消息', + codes: [ + { + code: 100, + name: 'Continue 继续', + description: '客户端应当继续发送请求。这个临时响应是用来通知客户端它的部分请求已经被服务器接收,且仍未被拒绝。客户端应当继续发送请求的剩余部分,或者如果请求已经完成,忽略这个响应。服务器必须在请求完成后向客户端发送一个最终响应。', + type: 'HTTP', + }, + { + code: 101, + name: 'Switching Protocols 切换协议', + description: '服务器已经理解了客户端的请求,并将通过Upgrade 消息头通知客户端采用不同的协议来完成这个请求。在发送完这个响应最后的空行后,服务器将会切换到在Upgrade 消息头中定义的那些协议。只有在切换新的协议更有好处的时候才应该采取类似措施。例如,切换到新的HTTP 版本比旧版本更有优势,或者切换到一个实时且同步的协议以传送利用此类特性的资源。', + type: 'HTTP', + }, + { + code: 102, + name: 'Processing 正在处理', + description: '这个状态码表示服务器已经收到了客户端的请求,正在处理,但暂时还没有可接触的响应。可以用于防止客户端超时并假设请求丢失。', + type: 'WebDav', + }, + { + code: 103, + name: '预返回', + description: '服务器在最终 HTTP 消息之前返回一些响应标头。常和 HTTP Header: Link 一起使用,让客户端在服务器还在准备(当前的这个)响应时开始预加载(这个响应的结果需要用到的其他)资源。', + type: 'HTTP', + }, + ], + }, + { + category: '2xx 成功', + codes: [ + { + code: 200, + name: 'OK 成功', + description: '请求已成功,请求所希望的响应头或数据体将随此响应返回。话不多说,这个状态码应该是最最最常用的了,无人不知,无人不晓;就是表示请求成功的意思,你若安好,便是晴天。', + type: 'HTTP', + }, + { + code: 201, + name: 'Created 已创建', + description: '客户端的请求已经成功完成,结果是创建了一个新资源,通常用于响应「增删改查」里的「增」。如果是严格按照 RESEful style 的 API,那么当客户端的 POST 请求成功后,服务器端就应该返回这个状态码。', + type: 'HTTP', + }, + { + code: 202, + name: 'Accepted 已接受', + description: '请求已被接受处理,但处理尚未完成。表示服务器已经接受了这个请求,但是还不确定这个请求是否能够成功地被处理完。该请求最终可能会或可能不会被执行,并且在处理发生时可能会被拒绝,这是不确定的。在 HTTP 这种无状态的协议中,也是没有办法稍后再发送当前这个请求结果的异步响应;所以发送请求的客户端稍后可能会使用其他方式来取得这个请求的响应结果,或者是服务器以一种其他方式来通知客户端结果(例如,邮件)。', + type: 'HTTP', + }, + { + code: 203, + name: 'Non-Authoritative Information 非授权信息', + description: 'Non-Authoritative Informative 直译过来是「非权威信息」的意思,这个状态码意味着当前响应的数据不完全与源服务器相同。它通常是由中间服务器(比如,一个代理服务器)返回给客户端的,这确实颇有「非权威信息」的意味,因为中间服务器接收到源服务器响应后,对其进行了一些修改💩,所以源服务器的响应具体是什么,发请求的客户端是完全不知情的😣。', + type: 'HTTP', + }, + { + code: 204, + name: 'No Content 无内容', + description: '服务器成功处理了请求,并且没有返回任何内容。表示服务器成功地处理了客户端的请求,但是没有任何要响应的内容。API 设计上,在用 PUT 请求更新某个资源成功后,后端可以在 HTTP 响应头部指示一些更新的相关信息,确实没必要再返回任何响应内容,这就是 204 No Content 常见的使用场景之一。', + type: 'HTTP', + }, + { + code: 205, + name: 'Reset Content 重置内容', + description: '服务器指示重新初始化发送此请求的文档视图。表示服务器成功地处理了客户端的请求,要求客户端重置它发送请求时的文档视图。这个响应码跟 204 No Content 类似,也不返回任何内容。这个在当今异步请求,都是单页 Web App 的情况下,没有什么实用空间与场景,它所表示的功能可以由客户端程序独立实现。', + type: 'HTTP', + }, + { + code: 206, + name: 'Partial Content 部分内容', + description: '由于客户端发送了范围标头,服务器仅传送部分资源。是当客户端请求时使用了 Range 头部,服务器端回复的响应,表示只响应一部分内容。', + type: 'HTTP', + }, + { + code: 207, + name: 'Multi-Status 多种状态', + description: '接下来的消息正文是 XML 消息,可以包含许多单独的响应代码。代表之后的消息体将是一个XML消息,并且可能依照之前子请求数量的不同,包含一系列独立的响应代码。', + type: 'WebDav', + }, + { + code: 208, + name: 'Already Reported 已枚举', + description: 'DAV 绑定的成员已在(多状态)响应的前面部分中枚举。', + type: 'WebDav', + }, + { + code: 226, + name: 'IM Used 已完成', + description: '服务器已完成对资源的请求,响应是结果的表示。', + type: 'HTTP', + }, + ], + }, + { + category: '3xx 重定向', + codes: [ + { + code: 300, + name: 'Multiple Choices 多种选择', + description: '表示要完成请求,需要进一步操作。通常,这些状态代码用来重定向。被请求的资源有一系列可供选择的回馈信息,每个都有自己特定的地址和浏览器驱动的商议信息。用户或浏览器能够自行选择一个首选的地址进行重定向。', + type: 'HTTP', + }, + { + code: 301, + name: 'Moved Permanently 永久移动', + description: '请求的网页已永久移动到新位置。服务器返回此响应(对 GET 或 HEAD 请求的响应)时,会自动将请求者转到新位置。', + type: 'HTTP', + }, + { + code: 302, + name: 'Found 临时移动', + description: '服务器目前从不同位置的网页响应请求,但请求者应继续使用原有位置来进行以后的请求。请求的资源临时从不同的 URI响应请求。由于这样的重定向是临时的,客户端应当继续向原有地址发送以后的请求。只有在Cache-Control或Expires中进行了指定的情况下,这个响应才是可缓存的。', + type: 'HTTP', + }, + { + code: 303, + name: 'See Other 查看其他位置', + description: '请求者应当对不同的位置使用单独的 GET 请求来检索响应时,服务器返回此代码。对应当前请求的响应可以在另一个 URI 上被找到,而且客户端应当采用 GET 的方式访问那个资源。这个方法的存在主要是为了允许由脚本激活的POST请求输出重定向到一个新的资源。这个新的 URI 不是原始资源的替代引用。同时,303响应禁止被缓存。当然,第二个请求(重定向)可能被缓存。', + type: 'HTTP', + }, + { + code: 304, + name: 'Not Modified 未修改', + description: '自从上次请求后,请求的网页未修改过。 服务器返回此响应时,不会返回网页内容。如果客户端发送了一个带条件的 GET 请求且该请求已被允许,而文档的内容(自上次访问以来或者根据请求的条件)并没有改变,则服务器应当返回这个状态码。304响应禁止包含消息体,因此始终以消息头后的第一个空行结尾。', + type: 'HTTP', + }, + { + code: 305, + name: 'Use Proxy 使用代理', + description: '请求者只能使用代理访问请求的网页。 如果服务器返回此响应,还表示请求者应使用代理。被请求的资源必须通过指定的代理才能被访问。Location 域中将给出指定的代理所在的 URI 信息,接收者需要重复发送一个单独的请求,通过这个代理才能访问相应资源。只有原始服务器才能建立305响应。', + type: 'HTTP', + }, + { + code: 306, + name: 'Switch Proxy 切换代理', + description: '不再使用。 最初的意思是“后续请求应该使用指定的代理”。', + type: 'HTTP', + }, + { + code: 307, + name: 'Temporary Redirect 临时重定向', + description: '服务器目前从不同位置的网页响应请求,但请求者应继续使用原有位置来进行以后的请求。', + type: 'HTTP', + }, + { + code: 308, + name: 'Permanent Redirect 永久重定向', + description: '应使用另一个 URI 重复该请求和所有未来的请求。308与301定义一致,唯一的区别在于,308状态码不允许浏览器将原本为POST的请求重定向到GET请求上。', + type: 'HTTP', + }, + ], + }, + { + category: '4xx 客户端错误', + codes: [ + { + code: 400, + name: 'Bad Request 错误请求', + description: '服务器不理解请求的语法。语义有误,当前请求无法被服务器理解。除非进行修改,否则客户端不应该重复提交这个请求。', + type: 'HTTP', + }, + { + code: 401, + name: 'Unauthorized 未授权', + description: '请求要求身份验证。对于需要登录的网页,服务器可能返回此响应。当前请求需要用户验证。该响应必须包含一个适用于被请求资源的 WWW-Authenticate 信息头用以询问用户信息。客户端可以重复提交一个包含恰当的 Authorization 头信息的请求。如果当前请求已经包含了 Authorization 证书,那么401响应代表着服务器验证已经拒绝了那些证书。如果401响应包含了与前一个响应相同的身份验证询问,且浏览器已经至少尝试了一次验证,那么浏览器应当向用户展示响应中包含的实体信息,因为这个实体信息中可能包含了相关诊断信息。', + type: 'HTTP', + }, + { + code: 402, + name: 'Payment Required 需要付款', + description: '保留以供将来使用。最初的目的是该代码可以用作某种形式的数字现金或小额支付计划的一部分。', + type: 'HTTP', + }, + { + code: 403, + name: 'Forbidden 禁止', + description: '请求有效,但服务器拒绝执行操作。用户可能没有资源的必要权限。', + type: 'HTTP', + }, + { + code: 404, + name: 'Not Found 未找到', + description: '无法找到请求的资源,但将来可能可用。没有信息能够告诉用户这个状况到底是暂时的还是永久的。假如服务器知道情况的话,应当使用410状态码来告知旧资源因为某些内部的配置机制问题,已经永久的不可用,而且没有任何可以跳转的地址。404这个状态码被广泛应用于当服务器不想揭示到底为何请求被拒绝或者没有其他适合的响应可用的情况下。出现这个错误的最有可能的原因是服务器端没有这个页面。', + type: 'HTTP', + }, + { + code: 405, + name: 'Method Not Allowed 方法禁用', + description: '请求行中指定的请求方法不能被用于请求相应的资源。该响应必须返回一个Allow 头信息用以表示出当前资源能够接受的请求方法的列表。', + type: 'HTTP', + }, + { + code: 406, + name: 'Not Acceptable 不接受', + description: '无法使用请求的内容特性响应请求的网页。请求的资源的内容特性无法满足请求头中的条件,因而无法生成响应实体。', + type: 'HTTP', + }, + { + code: 407, + name: 'Proxy Authentication Required 需要代理授权', + description: '此状态代码与 401(未授权)类似,但指定请求者应当授权使用代理。代理服务器必须返回一个 Proxy-Authenticate 用以进行身份询问。客户端可以返回一个 Proxy-Authorization 信息头用以验证。', + type: 'HTTP', + }, + { + code: 408, + name: 'Request Timeout 请求超时', + description: '服务器等候请求时发生超时。客户端没有在服务器预备等待的时间内完成一个请求的发送。客户端可以随时再次提交这一请求而无需进行任何更改。', + type: 'HTTP', + }, + { + code: 409, + name: 'Conflict 冲突', + description: '服务器在完成请求时发生冲突。 服务器必须在响应中包含有关冲突的信息。由于和被请求的资源的当前状态之间存在冲突,请求无法完成。这个代码只允许用在这样的情况下才能被使用:用户被认为能够解决冲突,并且会重新提交新的请求。该响应应当包含足够的信息以便用户发现冲突的源头。', + type: 'HTTP', + }, + { + code: 410, + name: 'Gone 已删除', + description: '如果请求的资源已永久删除,服务器就会返回此响应。被请求的资源在服务器上已经不再可用,而且没有任何已知的转发地址。这样的状况应当被认为是永久性的。如果可能,拥有链接编辑功能的客户端应当在获得用户许可后删除所有指向这个地址的引用。如果服务器不知道或者无法确定这个状况是否是永久的,那么就应该使用404状态码。除非额外说明,否则这个响应是可缓存的。', + type: 'HTTP', + }, + { + code: 411, + name: 'Length Required 需要有效长度', + description: '服务器拒绝在没有定义 Content-Length 头的情况下接受请求。在添加了表明请求消息体长度的有效 Content-Length 头之后,客户端可以再次提交该请求。', + type: 'HTTP', + }, + { + code: 412, + name: 'Precondition Failed 未满足前提条件', + description: '服务器在验证在请求的头字段中给出先决条件时,没能满足其中的一个或多个。这个状态码允许客户端在获取资源时在请求的元信息(请求头字段数据)中设置先决条件,以此避免该请求方法被应用到其希望的内容以外的资源上。', + type: 'HTTP', + }, + { + code: 413, + name: 'Payload Too Large 请求实体过大', + description: '服务器拒绝处理当前请求,因为该请求提交的实体数据大小超过了服务器愿意或者能够处理的范围。此种情况下,服务器可以关闭连接以免客户端继续发送此请求。', + type: 'HTTP', + }, + { + code: 414, + name: 'URI Too Long 请求的 URI 过长', + description: '请求的URI 长度超过了服务器能够解释的长度,因此服务器拒绝对该请求提供服务。', + type: 'HTTP', + }, + { + code: 415, + name: 'Unsupported Media Type 不支持的媒体类型', + description: '对于当前请求的方法和所请求的资源,请求中提交的实体并不是服务器中所支持的格式,因此请求被拒绝。', + type: 'HTTP', + }, + { + code: 416, + name: 'Range Not Satisfiable 请求范围不符合要求', + description: '如果请求中包含了 Range 请求头,并且 Range 中指定的任何数据范围都与当前资源的可用范围不重合,同时请求中又没有定义 If-Range 请求头,那么服务器就应当返回416状态码。', + type: 'HTTP', + }, + { + code: 417, + name: 'Expectation Failed 未满足期望值', + description: '在请求头 Expect 中指定的预期内容无法被服务器满足,或者这个服务器是一个代理服务器,它有明显的证据证明在当前路由的下一个节点上,Expect 的内容无法被满足。', + type: 'HTTP', + }, + { + code: 418, + name: 'I\'m a teapot 我是茶壶', + description: '服务器拒绝冲泡咖啡,因为它永远是一个茶壶。暂时没有咖啡的组合咖啡/茶壶应该返回 503。此错误引用了 1998 年和 2014 年愚人节笑话中定义的超文本咖啡壶控制协议。 一些网站使用此响应来处理他们不希望处理的请求,例如自动查询。', + type: 'HTTP', + }, + { + code: 421, + name: 'Misdirected Request 错误的请求', + description: '请求被定向到一个无法生成响应的服务器。如果连接被重复使用或选择了其他服务,则可能会出现这种情况。', + type: 'HTTP', + }, + { + code: 422, + name: 'Unprocessable Entity 无法处理的实体', + description: '服务器理解请求实体的内容类型,并且请求实体的语法是正确的,但是服务器无法处理所包含的指令。', + type: 'HTTP', + }, + { + code: 423, + name: 'Locked 已锁定', + description: '暂定目标资源被锁定,即无法访问。其内容应包含一些WebDAV XML格式的信息。', + type: 'HTTP', + }, + { + code: 424, + name: 'Failed Dependency 依赖失败', + description: '由于请求的操作依赖于另一个操作,且该操作因此失败,无法在资源上执行该方法。', + type: 'HTTP', + }, + { + code: 425, + name: 'Too Early 太早了', + description: '服务器不愿意冒风险来处理该请求,原因是处理该请求可能会被“重放”,从而造成潜在的重放攻击。', + type: 'HTTP', + }, + { + code: 426, + name: 'Upgrade Required 需要升级', + description: '服务器拒绝处理客户端使用当前协议发送的请求,但是可以接受其使用升级后的协议发送的请求。', + type: 'HTTP', + }, + { + code: 428, + name: 'Precondition Required 需要先决条件', + description: '源服务器要求请求是有条件的。', + type: 'HTTP', + }, + { + code: 429, + name: 'Too Many Requests 请求过多', + description: '在一定的时间内用户发送了过多的请求,即超出了“频次限制”。', + type: 'HTTP', + }, + { + code: 431, + name: 'Request Header Fields Too Large 请求标头字段太大', + description: '由于请求中的首部字段的值过大,服务器拒绝接受客户端的请求。客户端可以在缩减首部字段的体积后再次发送请求。', + type: 'HTTP', + }, + { + code: 451, + name: 'Unavailable For Legal Reasons 因法律原因不可用', + description: '服务器由于法律原因,无法提供客户端请求的资源,例如可能会导致法律诉讼的页面。', + type: 'HTTP', + }, + ], + }, + { + category: '5xx 服务器错误', + codes: [ + { + code: 500, + name: 'Internal Server Error 内部服务器错误', + description: '服务器遇到了一个未曾预料的状况,导致了它无法完成对请求的处理。一般来说,这个问题都会在服务器端的源代码出现错误时出现。', + type: 'HTTP', + }, + { + code: 501, + name: 'Not Implemented 尚未实施', + description: '服务器不支持当前请求所需要的某个功能。当服务器无法识别请求的方法,并且无法支持其对任何资源的请求。', + type: 'HTTP', + }, + { + code: 502, + name: 'Bad Gateway 错误网关', + description: '作为网关或者代理工作的服务器尝试执行请求时,从上游服务器接收到无效的响应。', + type: 'HTTP', + }, + { + code: 503, + name: 'Service Unavailable 服务不可用', + description: '由于临时的服务器维护或者过载,服务器当前无法处理请求。这个状况是临时的,并且将在一段时间以后恢复。如果能够预计延迟时间,那么响应中可以包含一个 Retry-After 头用以标明这个延迟时间。如果没有给出这个 Retry-After 信息,那么客户端应当以处理500响应的方式处理它。', + type: 'HTTP', + }, + { + code: 504, + name: 'Gateway Timeout 网关超时', + description: '作为网关或者代理工作的服务器尝试执行请求时,未能及时从上游服务器(URI标识出的服务器,例如HTTP、FTP、LDAP)或者辅助服务器(例如DNS)收到响应。', + type: 'HTTP', + }, + { + code: 505, + name: 'HTTP Version Not Supported HTTP版本不受支持', + description: '服务器不支持,或者拒绝支持在请求中使用的 HTTP 版本。这暗示着服务器不能或不愿使用与客户端相同的版本。响应中应当包含一个描述了为何版本不被支持以及服务器支持哪些协议的实体。', + type: 'HTTP', + }, + { + code: 506, + name: 'Variant Also Negotiates 内部配置错误', + description: '由《透明内容协商协议》(RFC 2295)扩展,代表服务器存在内部配置错误:被请求的协商变元资源被配置为在透明内容协商中使用自己,因此在一个协商处理中不是一个合适的重点。', + type: 'HTTP', + }, + { + code: 507, + name: 'Insufficient Storage 存储空间不足', + description: '服务器无法存储完成请求所必须的内容。这个状况被认为是临时的。WebDAV (RFC 4918)', + type: 'HTTP', + }, + { + code: 508, + name: 'Loop Detected 检测到循环', + description: '当服务器检测到无限循环的情况时,会返回此状态码。例如,在WebDAV的MOVE或COPY操作中,如果目标URL和源URL形成循环引用,服务器就会返回508状态码。', + type: 'HTTP', + }, + { + code: 510, + name: 'Not Extended 未被扩展', + description: '服务器不支持请求中所需要的HTTP扩展。换言之,客户端在请求中使用了服务器不支持的HTTP扩展,因此服务器无法处理该请求并返回了510状态码。', + type: 'HTTP', + }, + { + code: 511, + name: 'Network Authentication Required 需要网络验证', + description: '客户端需要通过验证才能使用该网络。它通常由拦截代理服务器(并非原始服务器)生成,用于控制对网络的访问。网络运营商在准许使用网络之前,有时需要进行身份验证、接受某些条款,或者进行其他形式的与用户之间的互动,他们通常会用用户设备的MAC地址来进行识别。', + type: 'HTTP', + }, + ], + }, +]; diff --git a/zh-CN/src/tools/http-status-codes/http-status-codes.e2e.spec.ts b/zh-CN/src/tools/http-status-codes/http-status-codes.e2e.spec.ts new file mode 100644 index 00000000..cf6eae9d --- /dev/null +++ b/zh-CN/src/tools/http-status-codes/http-status-codes.e2e.spec.ts @@ -0,0 +1,11 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Http status codes', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/http-status-codes'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('HTTP status codes - IT Tools'); + }); +}); diff --git a/zh-CN/src/tools/http-status-codes/http-status-codes.vue b/zh-CN/src/tools/http-status-codes/http-status-codes.vue new file mode 100644 index 00000000..4b14e282 --- /dev/null +++ b/zh-CN/src/tools/http-status-codes/http-status-codes.vue @@ -0,0 +1,47 @@ + + + diff --git a/zh-CN/src/tools/http-status-codes/index.ts b/zh-CN/src/tools/http-status-codes/index.ts new file mode 100644 index 00000000..76d82eae --- /dev/null +++ b/zh-CN/src/tools/http-status-codes/index.ts @@ -0,0 +1,19 @@ +import { HttpRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +import { codesByCategories } from './http-status-codes.constants'; + +export const tool = defineTool({ + name: 'HTTP 状态码', + path: '/http-status-codes', + description: '所有 HTTP 状态代码、名称及其含义的列表。', + keywords: [ + 'http', + '状态', + '代码', + ...codesByCategories.flatMap(({ codes }) => codes.flatMap(({ code, name }) => [String(code), name])), + ], + component: () => import('./http-status-codes.vue'), + icon: HttpRound, + createdAt: new Date('2023-04-13'), +}); diff --git a/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.e2e.spec.ts b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.e2e.spec.ts new file mode 100644 index 00000000..c4a99860 --- /dev/null +++ b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.e2e.spec.ts @@ -0,0 +1,52 @@ +import { type Page, expect, test } from '@playwright/test'; + +async function extractIbanInfo({ page }: { page: Page }) { + const itemsLines = await page + .locator('.c-key-value-list__item').all(); + + return await Promise.all( + itemsLines.map(async item => [ + (await item.locator('.c-key-value-list__key').textContent() ?? '').trim(), + (await item.locator('.c-key-value-list__value').textContent() ?? '').trim(), + ]), + ); +} + +test.describe('Tool - Iban validator and parser', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/iban-validator-and-parser'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('IBAN validator and parser - IT Tools'); + }); + + test('iban info are extracted from a valid iban', async ({ page }) => { + await page.getByTestId('iban-input').fill('DE89370400440532013000'); + + const ibanInfo = await extractIbanInfo({ page }); + + expect(ibanInfo).toEqual([ + ['Is IBAN valid ?', 'Yes'], + ['Is IBAN a QR-IBAN ?', 'No'], + ['Country code', 'DE'], + ['BBAN', '370400440532013000'], + ['IBAN friendly format', 'DE89 3704 0044 0532 0130 00'], + ]); + }); + + test('invalid iban errors are displayed', async ({ page }) => { + await page.getByTestId('iban-input').fill('FR7630006060011234567890189'); + + const ibanInfo = await extractIbanInfo({ page }); + + expect(ibanInfo).toEqual([ + ['Is IBAN valid ?', 'No'], + ['IBAN errors', 'Wrong account bank branch checksum Wrong IBAN checksum'], + ['Is IBAN a QR-IBAN ?', 'No'], + ['Country code', 'N/A'], + ['BBAN', 'N/A'], + ['IBAN friendly format', 'FR76 3000 6060 0112 3456 7890 189'], + ]); + }); +}); diff --git a/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.service.ts b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.service.ts new file mode 100644 index 00000000..c7cf23a0 --- /dev/null +++ b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.service.ts @@ -0,0 +1,18 @@ +import { ValidationErrorsIBAN } from 'ibantools'; + +export { getFriendlyErrors }; + +const ibanErrorToMessage = { + [ValidationErrorsIBAN.NoIBANProvided]: '未提供 IBAN', + [ValidationErrorsIBAN.NoIBANCountry]: '无 IBAN 国家/地区', + [ValidationErrorsIBAN.WrongBBANLength]: 'BBAN 长度错误', + [ValidationErrorsIBAN.WrongBBANFormat]: 'BBAN 格式错误', + [ValidationErrorsIBAN.ChecksumNotNumber]: '不是数字', + [ValidationErrorsIBAN.WrongIBANChecksum]: 'IBAN 校验和错误', + [ValidationErrorsIBAN.WrongAccountBankBranchChecksum]: '帐户银行分行校验错误', + [ValidationErrorsIBAN.QRIBANNotAllowed]: '不允许 QR-IBAN', +}; + +function getFriendlyErrors(errorCodes: ValidationErrorsIBAN[]) { + return errorCodes.map(errorCode => ibanErrorToMessage[errorCode]).filter(Boolean); +} diff --git a/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.vue b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.vue new file mode 100644 index 00000000..401b6601 --- /dev/null +++ b/zh-CN/src/tools/iban-validator-and-parser/iban-validator-and-parser.vue @@ -0,0 +1,73 @@ + + + diff --git a/zh-CN/src/tools/iban-validator-and-parser/index.ts b/zh-CN/src/tools/iban-validator-and-parser/index.ts new file mode 100644 index 00000000..25f70254 --- /dev/null +++ b/zh-CN/src/tools/iban-validator-and-parser/index.ts @@ -0,0 +1,12 @@ +import { defineTool } from '../tool'; +import Bank from '~icons/mdi/bank'; + +export const tool = defineTool({ + name: 'IBAN 验证器和解析器', + path: '/iban-validator-and-parser', + description: '验证并解析 IBAN 号码。 检查 IBAN 是否有效,并获取国家/地区、BBAN(如果是 QR-IBAN)以及 IBAN 友好格式。', + keywords: ['iban', '验证器', '和', '解析器', 'bic', '银行'], + component: () => import('./iban-validator-and-parser.vue'), + icon: Bank, + createdAt: new Date('2023-08-26'), +}); diff --git a/zh-CN/src/tools/index.ts b/zh-CN/src/tools/index.ts new file mode 100644 index 00000000..013ebddc --- /dev/null +++ b/zh-CN/src/tools/index.ts @@ -0,0 +1,213 @@ +import { tool as base64FileConverter } from './base64-file-converter'; +import { tool as base64StringConverter } from './base64-string-converter'; +import { tool as basicAuthGenerator } from './basic-auth-generator'; +import { tool as rmbD } from './rmb-d'; +import { tool as pdfSignatureChecker } from './pdf-signature-checker'; +import { tool as numeronymGenerator } from './numeronym-generator'; +import { tool as macAddressGenerator } from './mac-address-generator'; +import { tool as textToBinary } from './text-to-binary'; +import { tool as ulidGenerator } from './ulid-generator'; +import { tool as ibanValidatorAndParser } from './iban-validator-and-parser'; +import { tool as stringObfuscator } from './string-obfuscator'; +import { tool as textDiff } from './text-diff'; +import { tool as emojiPicker } from './emoji-picker'; +import { tool as passwordStrengthAnalyser } from './password-strength-analyser'; +import { tool as yamlToToml } from './yaml-to-toml'; +import { tool as jsonToToml } from './json-to-toml'; +import { tool as tomlToYaml } from './toml-to-yaml'; +import { tool as tomlToJson } from './toml-to-json'; +import { tool as jsonToCsv } from './json-to-csv'; +import { tool as cameraRecorder } from './camera-recorder'; +import { tool as listConverter } from './list-converter'; +import { tool as phoneParserAndFormatter } from './phone-parser-and-formatter'; +import { tool as jsonDiff } from './json-diff'; +import { tool as ipv4RangeExpander } from './ipv4-range-expander'; +import { tool as httpStatusCodes } from './http-status-codes'; +import { tool as yamlToJson } from './yaml-to-json-converter'; +import { tool as jsonToYaml } from './json-to-yaml-converter'; +import { tool as ipv6UlaGenerator } from './ipv6-ula-generator'; +import { tool as ipv4AddressConverter } from './ipv4-address-converter'; +import { tool as benchmarkBuilder } from './benchmark-builder'; +import { tool as userAgentParser } from './user-agent-parser'; +import { tool as ipv4SubnetCalculator } from './ipv4-subnet-calculator'; +import { tool as dockerRunToDockerComposeConverter } from './docker-run-to-docker-compose-converter'; +import { tool as htmlWysiwygEditor } from './html-wysiwyg-editor'; +import { tool as rsaKeyPairGenerator } from './rsa-key-pair-generator'; +import { tool as textToNatoAlphabet } from './text-to-nato-alphabet'; +import { tool as slugifyString } from './slugify-string'; +import { tool as keycodeInfo } from './keycode-info'; +import { tool as jsonMinify } from './json-minify'; +import { tool as bcrypt } from './bcrypt'; +import { tool as bip39 } from './bip39-generator'; +import { tool as caseConverter } from './case-converter'; +import { tool as chmodCalculator } from './chmod-calculator'; +import { tool as chronometer } from './chronometer'; +import { tool as colorConverter } from './color-converter'; +import { tool as crontabGenerator } from './crontab-generator'; +import { tool as dateTimeConverter } from './date-time-converter'; +import { tool as deviceInformation } from './device-information'; +import { tool as cypher } from './encryption'; +import { tool as etaCalculator } from './eta-calculator'; +import { tool as percentageCalculator } from './percentage-calculator'; +import { tool as gitMemo } from './git-memo'; +import { tool as hashText } from './hash-text'; +import { tool as hmacGenerator } from './hmac-generator'; +import { tool as htmlEntities } from './html-entities'; +import { tool as baseConverter } from './integer-base-converter'; +import { tool as jsonViewer } from './json-viewer'; +import { tool as jwtParser } from './jwt-parser'; +import { tool as loremIpsumGenerator } from './lorem-ipsum-generator'; +import { tool as mathEvaluator } from './math-evaluator'; +import { tool as metaTagGenerator } from './meta-tag-generator'; +import { tool as mimeTypes } from './mime-types'; +import { tool as otpCodeGeneratorAndValidator } from './otp-code-generator-and-validator'; +import { tool as qrCodeGenerator } from './qr-code-generator'; +import { tool as wifiQrCodeGenerator } from './wifi-qr-code-generator'; +import { tool as randomPortGenerator } from './random-port-generator'; +import { tool as romanNumeralConverter } from './roman-numeral-converter'; +import { tool as sqlPrettify } from './sql-prettify'; +import { tool as svgPlaceholderGenerator } from './svg-placeholder-generator'; +import { tool as temperatureConverter } from './temperature-converter'; +import { tool as textStatistics } from './text-statistics'; +import { tool as tokenGenerator } from './token-generator'; +import type { ToolCategory } from './tools.types'; +import { tool as urlEncoder } from './url-encoder'; +import { tool as urlParser } from './url-parser'; +import { tool as uuidGenerator } from './uuid-generator'; +import { tool as macAddressLookup } from './mac-address-lookup'; +import { tool as xmlFormatter } from './xml-formatter'; + +export const toolsByCategory: ToolCategory[] = [ + { + name: 'Crypto', + components: [ + tokenGenerator, + hashText, + bcrypt, + uuidGenerator, + ulidGenerator, + cypher, + bip39, + hmacGenerator, + rsaKeyPairGenerator, + // passwordStrengthAnalyser, + // pdfSignatureChecker, + ], + }, + { + name: 'Converter', + components: [ + rmbD, + dateTimeConverter, + baseConverter, + romanNumeralConverter, + base64StringConverter, + base64FileConverter, + colorConverter, + caseConverter, + // textToNatoAlphabet, + textToBinary, + yamlToJson, + yamlToToml, + jsonToYaml, + jsonToToml, + listConverter, + tomlToJson, + tomlToYaml, + ], + }, + { + name: 'Web', + components: [ + urlEncoder, + htmlEntities, + urlParser, + deviceInformation, + basicAuthGenerator, + metaTagGenerator, + otpCodeGeneratorAndValidator, + mimeTypes, + jwtParser, + keycodeInfo, + // slugifyString, + htmlWysiwygEditor, + userAgentParser, + httpStatusCodes, + jsonDiff, + ], + }, + { + name: 'Images and videos', + components: [ + qrCodeGenerator, + wifiQrCodeGenerator, + svgPlaceholderGenerator, + cameraRecorder, + ], + }, + { + name: 'Development', + components: [ + gitMemo, + // randomPortGenerator, + crontabGenerator, + jsonViewer, + jsonMinify, + jsonToCsv, + sqlPrettify, + chmodCalculator, + dockerRunToDockerComposeConverter, + xmlFormatter, + ], + }, + { + name: 'Network', + components: [ + ipv4SubnetCalculator, + ipv4AddressConverter, + ipv4RangeExpander, + macAddressLookup, + macAddressGenerator, + ipv6UlaGenerator, + ], + }, + { + name: 'Math', + components: [ + // mathEvaluator, + etaCalculator, + // percentageCalculator, + ], + }, + { + name: 'Measurement', + components: [ + chronometer, + temperatureConverter, + // benchmarkBuilder, + ], + }, + { + name: 'Text', + components: [ + loremIpsumGenerator, + textStatistics, + emojiPicker, + stringObfuscator, + textDiff, + // numeronymGenerator, + ], + }, + // { + // name: 'Data', + // components: [ + // phoneParserAndFormatter, + // ibanValidatorAndParser, + // ], + // }, +]; + +export const tools = toolsByCategory.flatMap(({ components }) => components); +export const toolsWithCategory = toolsByCategory.flatMap(({ components, name }) => + components.map(tool => ({ category: name, ...tool })), +); diff --git a/zh-CN/src/tools/integer-base-converter/index.ts b/zh-CN/src/tools/integer-base-converter/index.ts new file mode 100644 index 00000000..347fdda5 --- /dev/null +++ b/zh-CN/src/tools/integer-base-converter/index.ts @@ -0,0 +1,11 @@ +import { ArrowsLeftRight } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '数字进制转换器', + path: '/base-converter', + description: '将数字在不同进制之间相互转换(二进制、八进制、十进制、十六进制、base64...)', + keywords: ['整数', '数字', '进制', '转换器', '二进制', '八进制', '十进制', '十六进制', 'base64'], + component: () => import('./integer-base-converter.vue'), + icon: ArrowsLeftRight, +}); diff --git a/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.test.ts b/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.test.ts new file mode 100644 index 00000000..d0387b64 --- /dev/null +++ b/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.test.ts @@ -0,0 +1,17 @@ +import { describe, expect, it } from 'vitest'; +import { convertBase } from './integer-base-converter.model'; + +describe('integer-base-converter', () => { + describe('convertBase', () => { + describe('when the input and target bases are between 2 and 64', () => { + it('should convert integer between different bases', () => { + expect(convertBase({ value: '0', fromBase: 2, toBase: 11 })).toEqual('0'); + expect(convertBase({ value: '0', fromBase: 5, toBase: 2 })).toEqual('0'); + expect(convertBase({ value: '0', fromBase: 10, toBase: 16 })).toEqual('0'); + expect(convertBase({ value: '10100101', fromBase: 2, toBase: 16 })).toEqual('a5'); + expect(convertBase({ value: '192654', fromBase: 10, toBase: 8 })).toEqual('570216'); + expect(convertBase({ value: 'zz', fromBase: 64, toBase: 10 })).toEqual('2275'); + }); + }); + }); +}); diff --git a/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.ts b/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.ts new file mode 100644 index 00000000..b4470e57 --- /dev/null +++ b/zh-CN/src/tools/integer-base-converter/integer-base-converter.model.ts @@ -0,0 +1,20 @@ +export function convertBase({ value, fromBase, toBase }: { value: string; fromBase: number; toBase: number }) { + const range = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/'.split(''); + const fromRange = range.slice(0, fromBase); + const toRange = range.slice(0, toBase); + let decValue = value + .split('') + .reverse() + .reduce((carry: number, digit: string, index: number) => { + if (!fromRange.includes(digit)) { + throw new Error(`Invalid digit "${digit}" for base ${fromBase}.`); + } + return (carry += fromRange.indexOf(digit) * fromBase ** index); + }, 0); + let newValue = ''; + while (decValue > 0) { + newValue = toRange[decValue % toBase] + newValue; + decValue = (decValue - (decValue % toBase)) / toBase; + } + return newValue || '0'; +} diff --git a/zh-CN/src/tools/integer-base-converter/integer-base-converter.vue b/zh-CN/src/tools/integer-base-converter/integer-base-converter.vue new file mode 100644 index 00000000..ebed86d2 --- /dev/null +++ b/zh-CN/src/tools/integer-base-converter/integer-base-converter.vue @@ -0,0 +1,104 @@ + + + + + diff --git a/zh-CN/src/tools/ipv4-address-converter/index.ts b/zh-CN/src/tools/ipv4-address-converter/index.ts new file mode 100644 index 00000000..435ba9fe --- /dev/null +++ b/zh-CN/src/tools/ipv4-address-converter/index.ts @@ -0,0 +1,12 @@ +import { Binary } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'IPv4地址转换器', + path: '/ipv4-address-converter', + description: '将IP地址转换为十进制、二进制、十六进制或IPv6中的事件', + keywords: ['ipv4', '地址', '转换器', '十进制', '十六进制', '二进制', 'ipv6'], + component: () => import('./ipv4-address-converter.vue'), + icon: Binary, + createdAt: new Date('2023-04-08'), +}); diff --git a/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.test.ts b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.test.ts new file mode 100644 index 00000000..4dcf90db --- /dev/null +++ b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.test.ts @@ -0,0 +1,36 @@ +import { describe, expect, it } from 'vitest'; +import { ipv4ToInt, isValidIpv4 } from './ipv4-address-converter.service'; + +describe('ipv4-address-converter', () => { + describe('ipv4ToInt', () => { + it('should convert an IPv4 address to an integer', () => { + expect(ipv4ToInt({ ip: '192.168.0.1' })).toBe(3232235521); + expect(ipv4ToInt({ ip: '10.0.0.1' })).toBe(167772161); + expect(ipv4ToInt({ ip: '255.255.255.255' })).toBe(4294967295); + }); + }); + + describe('isValidIpv4', () => { + it('should return true for a valid IP address', () => { + expect(isValidIpv4({ ip: '192.168.0.1' })).to.equal(true); + expect(isValidIpv4({ ip: '10.0.0.1' })).to.equal(true); + }); + + it('should return false for an invalid IP address', () => { + expect(isValidIpv4({ ip: '256.168.0.1' })).to.equal(false); + expect(isValidIpv4({ ip: '192.168.0' })).to.equal(false); + expect(isValidIpv4({ ip: '192.168.0.1.2' })).to.equal(false); + expect(isValidIpv4({ ip: '192.168.0.1.' })).to.equal(false); + expect(isValidIpv4({ ip: '.192.168.0.1' })).to.equal(false); + expect(isValidIpv4({ ip: '192.168.0.a' })).to.equal(false); + }); + + it('should return false for crap as input', () => { + expect(isValidIpv4({ ip: '' })).to.equal(false); + expect(isValidIpv4({ ip: ' ' })).to.equal(false); + expect(isValidIpv4({ ip: 'foo' })).to.equal(false); + expect(isValidIpv4({ ip: '-1' })).to.equal(false); + expect(isValidIpv4({ ip: '0' })).to.equal(false); + }); + }); +}); diff --git a/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.ts b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.ts new file mode 100644 index 00000000..903ff5bb --- /dev/null +++ b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.service.ts @@ -0,0 +1,38 @@ +import _ from 'lodash'; + +export { ipv4ToInt, ipv4ToIpv6, isValidIpv4 }; + +function ipv4ToInt({ ip }: { ip: string }) { + if (!isValidIpv4({ ip })) { + return 0; + } + + return ip + .trim() + .split('.') + .reduce((acc, part, index) => acc + Number(part) * 256 ** (3 - index), 0); +} + +function ipv4ToIpv6({ ip, prefix = '0000:0000:0000:0000:0000:ffff:' }: { ip: string; prefix?: string }) { + if (!isValidIpv4({ ip })) { + return ''; + } + + return ( + prefix + + _.chain(ip) + .trim() + .split('.') + .map(part => Number.parseInt(part).toString(16).padStart(2, '0')) + .chunk(2) + .map(blocks => blocks.join('')) + .join(':') + .value() + ); +} + +function isValidIpv4({ ip }: { ip: string }) { + const cleanIp = ip.trim(); + + return /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/.test(cleanIp); +} diff --git a/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.vue b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.vue new file mode 100644 index 00000000..1fd7b8fb --- /dev/null +++ b/zh-CN/src/tools/ipv4-address-converter/ipv4-address-converter.vue @@ -0,0 +1,59 @@ + + + diff --git a/zh-CN/src/tools/ipv4-range-expander/index.ts b/zh-CN/src/tools/ipv4-range-expander/index.ts new file mode 100644 index 00000000..fb1dcae0 --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/index.ts @@ -0,0 +1,13 @@ +import { UnfoldMoreOutlined } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'IPv4范围扩展器', + path: '/ipv4-range-expander', + description: + '给定起始和结束 IPv4 地址,该工具使用 CIDR 表示法计算并扩展有效的 IPv4 网络。', + keywords: ['ipv4', '范围', '扩展器', '子网', '创建器', 'cidr'], + component: () => import('./ipv4-range-expander.vue'), + icon: UnfoldMoreOutlined, + createdAt: new Date('2023-04-19'), +}); diff --git a/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.e2e.spec.ts b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.e2e.spec.ts new file mode 100644 index 00000000..7d9a4a8f --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.e2e.spec.ts @@ -0,0 +1,46 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - IPv4 range expander', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/ipv4-range-expander'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('IPv4 range expander - IT Tools'); + }); + + test('Calculates correct for valid input', async ({ page }) => { + await page.getByPlaceholder('Start IPv4 address...').fill('192.168.1.1'); + await page.getByPlaceholder('End IPv4 address...').fill('192.168.7.255'); + + expect(await page.getByTestId('start-address.old').textContent()).toEqual('192.168.1.1'); + expect(await page.getByTestId('start-address.new').textContent()).toEqual('192.168.0.0'); + expect(await page.getByTestId('end-address.old').textContent()).toEqual('192.168.7.255'); + expect(await page.getByTestId('end-address.new').textContent()).toEqual('192.168.7.255'); + expect(await page.getByTestId('addresses-in-range.old').textContent()).toEqual('1,791'); + expect(await page.getByTestId('addresses-in-range.new').textContent()).toEqual('2,048'); + expect(await page.getByTestId('cidr.old').textContent()).toEqual(''); + expect(await page.getByTestId('cidr.new').textContent()).toEqual('192.168.0.0/21'); + }); + + test('Calculates correct for valid input, where first octet is lower than 128', async ({ page }) => { + await page.getByPlaceholder('Start IPv4 address...').fill('10.0.0.1'); + await page.getByPlaceholder('End IPv4 address...').fill('10.0.0.17'); + + expect(await page.getByTestId('start-address.old').textContent()).toEqual('10.0.0.1'); + expect(await page.getByTestId('start-address.new').textContent()).toEqual('10.0.0.0'); + expect(await page.getByTestId('end-address.old').textContent()).toEqual('10.0.0.17'); + expect(await page.getByTestId('end-address.new').textContent()).toEqual('10.0.0.31'); + expect(await page.getByTestId('addresses-in-range.old').textContent()).toEqual('17'); + expect(await page.getByTestId('addresses-in-range.new').textContent()).toEqual('32'); + expect(await page.getByTestId('cidr.old').textContent()).toEqual(''); + expect(await page.getByTestId('cidr.new').textContent()).toEqual('10.0.0.0/27'); + }); + + test('Hides result for invalid input', async ({ page }) => { + await page.getByPlaceholder('Start IPv4 address...').fill('192.168.1.1'); + await page.getByPlaceholder('End IPv4 address...').fill('192.168.0.255'); + + await expect(page.getByTestId('result')).not.toBeVisible(); + }); +}); diff --git a/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.test.ts b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.test.ts new file mode 100644 index 00000000..51046232 --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.test.ts @@ -0,0 +1,32 @@ +import { describe, expect, it } from 'vitest'; +import { calculateCidr } from './ipv4-range-expander.service'; + +describe('ipv4RangeExpander', () => { + describe('when there are two valid ipv4 addresses given', () => { + it('should calculate valid cidr for given addresses', () => { + const result = calculateCidr({ startIp: '192.168.1.1', endIp: '192.168.7.255' }); + + expect(result).toBeDefined(); + expect(result?.oldSize).toEqual(1791); + expect(result?.newSize).toEqual(2048); + expect(result?.newStart).toEqual('192.168.0.0'); + expect(result?.newEnd).toEqual('192.168.7.255'); + expect(result?.newCidr).toEqual('192.168.0.0/21'); + }); + + it('should calculate valid cidr for given addresses, where first octet is lower than 128', () => { + const result = calculateCidr({ startIp: '10.0.0.1', endIp: '10.0.0.17' }); + + expect(result).toBeDefined(); + expect(result?.oldSize).toEqual(17); + expect(result?.newSize).toEqual(32); + expect(result?.newStart).toEqual('10.0.0.0'); + expect(result?.newEnd).toEqual('10.0.0.31'); + expect(result?.newCidr).toEqual('10.0.0.0/27'); + }); + + it('should return empty result for invalid input', () => { + expect(calculateCidr({ startIp: '192.168.7.1', endIp: '192.168.6.255' })).not.toBeDefined(); + }); + }); +}); diff --git a/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.ts b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.ts new file mode 100644 index 00000000..14761f59 --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.service.ts @@ -0,0 +1,68 @@ +import { convertBase } from '../integer-base-converter/integer-base-converter.model'; +import { ipv4ToInt } from '../ipv4-address-converter/ipv4-address-converter.service'; +import type { Ipv4RangeExpanderResult } from './ipv4-range-expander.types'; + +export { calculateCidr }; + +function bits2ip(ipInt: number) { + return `${ipInt >>> 24}.${(ipInt >> 16) & 255}.${(ipInt >> 8) & 255}.${ipInt & 255}`; +} + +function getRangesize(start: string, end: string) { + if (start == null || end == null) { + return -1; + } + + return 1 + Number.parseInt(end, 2) - Number.parseInt(start, 2); +} + +function getCidr(start: string, end: string) { + if (start == null || end == null) { + return null; + } + + const range = getRangesize(start, end); + if (range < 1) { + return null; + } + + let mask = 32; + for (let i = 0; i < 32; i++) { + if (start[i] !== end[i]) { + mask = i; + break; + } + } + + const newStart = start.substring(0, mask) + '0'.repeat(32 - mask); + const newEnd = end.substring(0, mask) + '1'.repeat(32 - mask); + + return { start: newStart, end: newEnd, mask }; +} + +function calculateCidr({ startIp, endIp }: { startIp: string; endIp: string }) { + const start = convertBase({ + value: ipv4ToInt({ ip: startIp }).toString(), + fromBase: 10, + toBase: 2, + }).padStart(32, '0'); + const end = convertBase({ + value: ipv4ToInt({ ip: endIp }).toString(), + fromBase: 10, + toBase: 2, + }).padStart(32, '0'); + + const cidr = getCidr(start, end); + if (cidr != null) { + const result: Ipv4RangeExpanderResult = {}; + result.newEnd = bits2ip(Number.parseInt(cidr.end, 2)); + result.newStart = bits2ip(Number.parseInt(cidr.start, 2)); + result.newCidr = `${result.newStart}/${cidr.mask}`; + result.newSize = getRangesize(cidr.start, cidr.end); + + result.oldSize = getRangesize(start, end); + return result; + } + + return undefined; +} diff --git a/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.types.ts b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.types.ts new file mode 100644 index 00000000..d5d2b45e --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.types.ts @@ -0,0 +1,7 @@ +export interface Ipv4RangeExpanderResult { + oldSize?: number + newStart?: string + newEnd?: string + newCidr?: string + newSize?: number +} diff --git a/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.vue b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.vue new file mode 100644 index 00000000..d23bfb6f --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/ipv4-range-expander.vue @@ -0,0 +1,119 @@ + + + diff --git a/zh-CN/src/tools/ipv4-range-expander/result-row.vue b/zh-CN/src/tools/ipv4-range-expander/result-row.vue new file mode 100644 index 00000000..565fb177 --- /dev/null +++ b/zh-CN/src/tools/ipv4-range-expander/result-row.vue @@ -0,0 +1,27 @@ + + + diff --git a/zh-CN/src/tools/ipv4-subnet-calculator/index.ts b/zh-CN/src/tools/ipv4-subnet-calculator/index.ts new file mode 100644 index 00000000..e96518ee --- /dev/null +++ b/zh-CN/src/tools/ipv4-subnet-calculator/index.ts @@ -0,0 +1,11 @@ +import { RouterOutlined } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'IPv4子网计算器', + path: '/ipv4-subnet-calculator', + description: '解析 IPv4 CIDR 块并获取有关子网的所有信息。', + keywords: ['ipv4', '子网', '计算器', '掩码', '网络', 'cidr', '网络掩码', '位掩码', '广播', '地址'], + component: () => import('./ipv4-subnet-calculator.vue'), + icon: RouterOutlined, +}); diff --git a/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.models.ts b/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.models.ts new file mode 100644 index 00000000..7a515cae --- /dev/null +++ b/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.models.ts @@ -0,0 +1,23 @@ +export { getIPClass }; + +function getIPClass({ ip }: { ip: string }) { + const [firstOctet] = ip.split('.').map(Number); + + if (firstOctet < 128) { + return 'A'; + } + if (firstOctet > 127 && firstOctet < 192) { + return 'B'; + } + if (firstOctet > 191 && firstOctet < 224) { + return 'C'; + } + if (firstOctet > 223 && firstOctet < 240) { + return 'D'; + } + if (firstOctet > 239 && firstOctet < 256) { + return 'E'; + } + + return undefined; +} diff --git a/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue b/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue new file mode 100644 index 00000000..d50673b8 --- /dev/null +++ b/zh-CN/src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue @@ -0,0 +1,124 @@ + + + diff --git a/zh-CN/src/tools/ipv6-ula-generator/index.ts b/zh-CN/src/tools/ipv6-ula-generator/index.ts new file mode 100644 index 00000000..414724b8 --- /dev/null +++ b/zh-CN/src/tools/ipv6-ula-generator/index.ts @@ -0,0 +1,12 @@ +import { BuildingFactory } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'IPv6 ULA 生成器', + path: '/ipv6-ula-generator', + description: '根据 RFC4193标准 在网络上生成您自己的本地、不可路由的 IP 地址。', + keywords: ['ipv6', 'ula', '生成', 'rfc4193', '网络', '私有'], + component: () => import('./ipv6-ula-generator.vue'), + icon: BuildingFactory, + createdAt: new Date('2023-04-09'), +}); diff --git a/zh-CN/src/tools/ipv6-ula-generator/ipv6-ula-generator.vue b/zh-CN/src/tools/ipv6-ula-generator/ipv6-ula-generator.vue new file mode 100644 index 00000000..569c5191 --- /dev/null +++ b/zh-CN/src/tools/ipv6-ula-generator/ipv6-ula-generator.vue @@ -0,0 +1,64 @@ + + + diff --git a/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx b/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx new file mode 100644 index 00000000..1d340edc --- /dev/null +++ b/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.models.tsx @@ -0,0 +1,119 @@ +import _ from 'lodash'; +import type { ArrayDifference, Difference, ObjectDifference } from '../json-diff.types'; +import { useCopy } from '@/composable/copy'; + +export function DiffRootViewer({ diff }: { diff: Difference }) { + return ( +
+
    {DiffViewer({ diff, showKeys: false })}
+
+ ); +} + +function DiffViewer({ diff, showKeys = true }: { diff: Difference; showKeys?: boolean }) { + const { type, status } = diff; + + if (status === 'updated') { + return ComparisonViewer({ diff, showKeys }); + } + + if (type === 'array') { + return ChildrenViewer({ diff, showKeys, showChildrenKeys: false, openTag: '[', closeTag: ']' }); + } + + if (type === 'object') { + return ChildrenViewer({ diff, showKeys, openTag: '{', closeTag: '}' }); + } + + return LineDiffViewer({ diff, showKeys }); +} + +function LineDiffViewer({ diff, showKeys }: { diff: Difference; showKeys?: boolean }) { + const { value, key, status, oldValue } = diff; + const valueToDisplay = status === 'removed' ? oldValue : value; + + return ( +
  • + + {showKeys && ( + <> + {key} + {': '} + + )} + {Value({ value: valueToDisplay, status })} + + , +
  • + ); +} + +function ComparisonViewer({ diff, showKeys }: { diff: Difference; showKeys?: boolean }) { + const { value, key, oldValue } = diff; + + return ( +
  • + {showKeys && ( + <> + {key} + {': '} + + )} + {Value({ value: oldValue, status: 'removed' })} + {Value({ value, status: 'added' })}, +
  • + ); +} + +function ChildrenViewer({ + diff, + openTag, + closeTag, + showKeys, + showChildrenKeys = true, +}: { + diff: ArrayDifference | ObjectDifference + showKeys: boolean + showChildrenKeys?: boolean + openTag: string + closeTag: string +}) { + const { children, key, status, type } = diff; + + return ( +
  • +
    + {showKeys && ( + <> + {key} + {': '} + + )} + + {openTag} + {children.length > 0 &&
      {children.map(diff => DiffViewer({ diff, showKeys: showChildrenKeys }))}
    } + {`${closeTag},`} +
    +
  • + ); +} + +function formatValue(value: unknown) { + if (_.isNull(value)) { + return 'null'; + } + + return JSON.stringify(value); +} + +function Value({ value, status }: { value: unknown; status: string }) { + const formatedValue = formatValue(value); + + const { copy } = useCopy({ source: formatedValue }); + + return ( + copy()}> + {formatedValue} + + ); +} diff --git a/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.vue b/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.vue new file mode 100644 index 00000000..f6067a77 --- /dev/null +++ b/zh-CN/src/tools/json-diff/diff-viewer/diff-viewer.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/zh-CN/src/tools/json-diff/index.ts b/zh-CN/src/tools/json-diff/index.ts new file mode 100644 index 00000000..f9bc5dd8 --- /dev/null +++ b/zh-CN/src/tools/json-diff/index.ts @@ -0,0 +1,12 @@ +import { CompareArrowsRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 差异比对', + path: '/json-diff', + description: '比对两个 JSON 对象之间的差异。', + keywords: ['json', '差异', '比对', '不同', '对象', '数据'], + component: () => import('./json-diff.vue'), + icon: CompareArrowsRound, + createdAt: new Date('2023-04-20'), +}); diff --git a/zh-CN/src/tools/json-diff/json-diff.e2e.spec.ts b/zh-CN/src/tools/json-diff/json-diff.e2e.spec.ts new file mode 100644 index 00000000..6bd04f35 --- /dev/null +++ b/zh-CN/src/tools/json-diff/json-diff.e2e.spec.ts @@ -0,0 +1,39 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - JSON diff', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/json-diff'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('JSON diff - IT Tools'); + }); + + test('Identical JSONs have a custom result message', async ({ page }) => { + await page.getByTestId('leftJson').fill('{"foo":"bar"}'); + await page.getByTestId('rightJson').fill('{ "foo": "bar" } '); + + const result = await page.getByTestId('diff-result').innerText(); + + expect(result).toContain('The provided JSONs are the same'); + }); + + test('Different JSONs have differences listed', async ({ page }) => { + await page.getByTestId('leftJson').fill('{"foo":"bar"}'); + await page.getByTestId('rightJson').fill('{"foo":"buz","baz":"qux"}'); + + const result = await page.getByTestId('diff-result').innerText(); + + expect(result).toContain('{\nfoo: "bar""buz",\nbaz: "qux",\n},'); + }); + + test('Different JSONs have only differences listed when "Only show differences" is checked', async ({ page }) => { + await page.getByTestId('leftJson').fill('{"foo":"bar"}'); + await page.getByTestId('rightJson').fill('{"foo":"bar","baz":"qux"}'); + await page.getByRole('switch').click(); + + const result = await page.getByTestId('diff-result').innerText(); + + expect(result).toContain('{\nbaz: "qux",\n},'); + }); +}); diff --git a/zh-CN/src/tools/json-diff/json-diff.models.test.ts b/zh-CN/src/tools/json-diff/json-diff.models.test.ts new file mode 100644 index 00000000..fc745f37 --- /dev/null +++ b/zh-CN/src/tools/json-diff/json-diff.models.test.ts @@ -0,0 +1,80 @@ +import { describe, expect, it } from 'vitest'; +import { diff } from './json-diff.models'; + +describe('json-diff models', () => { + describe('diff', () => { + it('list object differences', () => { + const obj = { a: 1, b: 2 }; + const newObj = { a: 1, b: 2, c: 3 }; + const result = diff(obj, newObj); + + expect(result).toEqual({ + key: '', + type: 'object', + children: [ + { + key: 'a', + type: 'value', + value: 1, + oldValue: 1, + status: 'unchanged', + }, + { + key: 'b', + type: 'value', + value: 2, + oldValue: 2, + status: 'unchanged', + }, + { + key: 'c', + type: 'value', + value: 3, + oldValue: undefined, + status: 'added', + }, + ], + oldValue: { a: 1, b: 2 }, + value: { a: 1, b: 2, c: 3 }, + status: 'children-updated', + }); + }); + + it('list array differences', () => { + const obj = [1, 2]; + const newObj = [1, 2, 3]; + const result = diff(obj, newObj); + + expect(result).toEqual({ + key: '', + type: 'array', + children: [ + { + key: 0, + type: 'value', + value: 1, + oldValue: 1, + status: 'unchanged', + }, + { + key: 1, + type: 'value', + value: 2, + oldValue: 2, + status: 'unchanged', + }, + { + key: 2, + type: 'value', + value: 3, + oldValue: undefined, + status: 'added', + }, + ], + oldValue: [1, 2], + value: [1, 2, 3], + status: 'children-updated', + }); + }); + }); +}); diff --git a/zh-CN/src/tools/json-diff/json-diff.models.ts b/zh-CN/src/tools/json-diff/json-diff.models.ts new file mode 100644 index 00000000..54bb2533 --- /dev/null +++ b/zh-CN/src/tools/json-diff/json-diff.models.ts @@ -0,0 +1,140 @@ +import _ from 'lodash'; +import type { Difference, DifferenceStatus } from './json-diff.types'; + +export { diff }; + +function diff( + obj: unknown, + newObj: unknown, + { onlyShowDifferences = false }: { onlyShowDifferences?: boolean } = {}, +): Difference { + if (_.isArray(obj) && _.isArray(newObj)) { + return { + key: '', + type: 'array', + children: diffArrays(obj, newObj, { onlyShowDifferences }), + oldValue: obj, + value: newObj, + status: getStatus(obj, newObj), + }; + } + + if (_.isObject(obj) && _.isObject(newObj)) { + return { + key: '', + type: 'object', + children: diffObjects(obj as Record, newObj as Record, { onlyShowDifferences }), + oldValue: obj, + value: newObj, + status: getStatus(obj, newObj), + }; + } + + return { + key: '', + type: 'value', + oldValue: obj, + value: newObj, + status: getStatus(obj, newObj), + }; +} + +function diffObjects( + obj: Record, + newObj: Record, + { onlyShowDifferences = false }: { onlyShowDifferences?: boolean } = {}, +): Difference[] { + const keys = Object.keys({ ...obj, ...newObj }); + return keys + .map(key => createDifference(obj?.[key], newObj?.[key], key, { onlyShowDifferences })) + .filter(diff => !onlyShowDifferences || diff.status !== 'unchanged'); +} + +function createDifference( + value: unknown, + newValue: unknown, + key: string | number, + { onlyShowDifferences = false }: { onlyShowDifferences?: boolean } = {}, +): Difference { + const type = getType(value); + + if (type === 'object') { + return { + key, + type, + children: diffObjects(value as Record, newValue as Record, { + onlyShowDifferences, + }), + oldValue: value, + value: newValue, + status: getStatus(value, newValue), + }; + } + + if (type === 'array') { + return { + key, + type, + children: diffArrays(value as unknown[], newValue as unknown[], { onlyShowDifferences }), + value: newValue, + oldValue: value, + status: getStatus(value, newValue), + }; + } + + return { + key, + type, + value: newValue, + oldValue: value, + status: getStatus(value, newValue), + }; +} + +function diffArrays( + arr: unknown[], + newArr: unknown[], + { onlyShowDifferences = false }: { onlyShowDifferences?: boolean } = {}, +): Difference[] { + const maxLength = Math.max(0, arr?.length, newArr?.length); + return Array.from({ length: maxLength }, (_, i) => + createDifference(arr?.[i], newArr?.[i], i, { onlyShowDifferences }), + ).filter(diff => !onlyShowDifferences || diff.status !== 'unchanged'); +} + +function getType(value: unknown): 'object' | 'array' | 'value' { + if (value === null) { + return 'value'; + } + if (Array.isArray(value)) { + return 'array'; + } + if (typeof value === 'object') { + return 'object'; + } + return 'value'; +} + +function getStatus(value: unknown, newValue: unknown): DifferenceStatus { + if (value === undefined) { + return 'added'; + } + + if (newValue === undefined) { + return 'removed'; + } + + const bothAreObjects = getType(value) === 'object' && getType(newValue) === 'object'; + const bothAreArrays = getType(value) === 'array' && getType(newValue) === 'array'; + const bothAreDeepEqual = _.isEqual(value, newValue); + + if (bothAreDeepEqual) { + return 'unchanged'; + } + + if (bothAreObjects || bothAreArrays) { + return 'children-updated'; + } + + return 'updated'; +} diff --git a/zh-CN/src/tools/json-diff/json-diff.types.ts b/zh-CN/src/tools/json-diff/json-diff.types.ts new file mode 100644 index 00000000..e778f360 --- /dev/null +++ b/zh-CN/src/tools/json-diff/json-diff.types.ts @@ -0,0 +1,29 @@ +export type DifferenceStatus = 'added' | 'removed' | 'updated' | 'unchanged' | 'children-updated'; + +export interface ObjectDifference { + key: string | number + type: 'object' + children: Difference[] + status: DifferenceStatus + oldValue: unknown + value: unknown +} + +export interface ValueDifference { + key: string | number + type: 'value' + value: unknown + oldValue: unknown + status: DifferenceStatus +} + +export interface ArrayDifference { + key: number | string + type: 'array' + children: Difference[] + status: DifferenceStatus + oldValue: unknown + value: unknown +} + +export type Difference = ObjectDifference | ValueDifference | ArrayDifference; diff --git a/zh-CN/src/tools/json-diff/json-diff.vue b/zh-CN/src/tools/json-diff/json-diff.vue new file mode 100644 index 00000000..52b567ab --- /dev/null +++ b/zh-CN/src/tools/json-diff/json-diff.vue @@ -0,0 +1,48 @@ + + + diff --git a/zh-CN/src/tools/json-minify/index.ts b/zh-CN/src/tools/json-minify/index.ts new file mode 100644 index 00000000..ae0cd41b --- /dev/null +++ b/zh-CN/src/tools/json-minify/index.ts @@ -0,0 +1,11 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 压缩', + path: '/json-minify', + description: '通过删除不必要的空格来缩小和压缩 JSON', + keywords: ['json', 'minify', 'format'], + component: () => import('./json-minify.vue'), + icon: Braces, +}); diff --git a/zh-CN/src/tools/json-minify/json-minify.vue b/zh-CN/src/tools/json-minify/json-minify.vue new file mode 100644 index 00000000..332a0eb1 --- /dev/null +++ b/zh-CN/src/tools/json-minify/json-minify.vue @@ -0,0 +1,27 @@ + + + diff --git a/zh-CN/src/tools/json-to-csv/index.ts b/zh-CN/src/tools/json-to-csv/index.ts new file mode 100644 index 00000000..c64576f3 --- /dev/null +++ b/zh-CN/src/tools/json-to-csv/index.ts @@ -0,0 +1,12 @@ +import { List } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 转 CSV', + path: '/json-to-csv', + description: '将 JSON格式的数组数据 转换为 CSV格式。', + keywords: ['json', 'to', 'csv', '转换器'], + component: () => import('./json-to-csv.vue'), + icon: List, + createdAt: new Date('2023-06-18'), +}); diff --git a/zh-CN/src/tools/json-to-csv/json-to-csv.e2e.spec.ts b/zh-CN/src/tools/json-to-csv/json-to-csv.e2e.spec.ts new file mode 100644 index 00000000..840469cf --- /dev/null +++ b/zh-CN/src/tools/json-to-csv/json-to-csv.e2e.spec.ts @@ -0,0 +1,29 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - JSON to CSV', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/json-to-csv'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('JSON to CSV - IT Tools'); + }); + + test('Provided json is converted to csv', async ({ page }) => { + await page.getByTestId('input').fill(` +[ + {'Age': 18.0, 'Salary': 20000.0, 'Gender': 'Male', 'Country': 'Germany', 'Purchased': 'N'}, + {'Age': 19.0, 'Salary': 22000.0, 'Gender': 'Female', 'Country': 'France', 'Purchased': 'N'}, +] + `); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual(` +Age,Salary,Gender,Country,Purchased +18,20000,Male,Germany,N +19,22000,Female,France,N + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/json-to-csv/json-to-csv.service.test.ts b/zh-CN/src/tools/json-to-csv/json-to-csv.service.test.ts new file mode 100644 index 00000000..c27bf9b6 --- /dev/null +++ b/zh-CN/src/tools/json-to-csv/json-to-csv.service.test.ts @@ -0,0 +1,89 @@ +import { describe, expect, it } from 'vitest'; +import { convertArrayToCsv, getHeaders } from './json-to-csv.service'; + +describe('json-to-csv service', () => { + describe('getHeaders', () => { + it('extracts all the keys from the array of objects', () => { + expect(getHeaders({ array: [{ a: 1, b: 2 }, { a: 3, c: 4 }] })).toEqual(['a', 'b', 'c']); + }); + + it('returns an empty array if the array is empty', () => { + expect(getHeaders({ array: [] })).toEqual([]); + }); + }); + + describe('convertArrayToCsv', () => { + it('converts an array of objects to a CSV string', () => { + const array = [ + { a: 1, b: 2 }, + { a: 3, b: 4 }, + + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b + 1,2 + 3,4" + `); + }); + + it('converts an array of objects with different keys to a CSV string', () => { + const array = [ + { a: 1, b: 2 }, + { a: 3, c: 4 }, + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b,c + 1,2, + 3,,4" + `); + }); + + it('when a value is null, it is converted to the string "null"', () => { + const array = [ + { a: null, b: 2 }, + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b + null,2" + `); + }); + + it('when a value is undefined, it is converted to an empty string', () => { + const array = [ + { a: undefined, b: 2 }, + { b: 3 }, + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b + ,2 + ,3" + `); + }); + + it('when a value contains a comma, it is wrapped in double quotes', () => { + const array = [ + { a: 'hello, world', b: 2 }, + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b + \\"hello, world\\",2" + `); + }); + + it('when a value contains a double quote, it is escaped with another double quote', () => { + const array = [ + { a: 'hello "world"', b: 2 }, + ]; + + expect(convertArrayToCsv({ array })).toMatchInlineSnapshot(` + "a,b + hello \\\\\\"world\\\\\\",2" + `); + }); + }); +}); diff --git a/zh-CN/src/tools/json-to-csv/json-to-csv.service.ts b/zh-CN/src/tools/json-to-csv/json-to-csv.service.ts new file mode 100644 index 00000000..ab3c04e7 --- /dev/null +++ b/zh-CN/src/tools/json-to-csv/json-to-csv.service.ts @@ -0,0 +1,35 @@ +export { getHeaders, convertArrayToCsv }; + +function getHeaders({ array }: { array: Record[] }): string[] { + const headers = new Set(); + + array.forEach(item => Object.keys(item).forEach(key => headers.add(key))); + + return Array.from(headers); +} + +function serializeValue(value: unknown): string { + if (value === null) { + return 'null'; + } + + if (value === undefined) { + return ''; + } + + const valueAsString = String(value).replace(/\n/g, '\\n').replace(/\r/g, '\\r').replace(/"/g, '\\"'); + + if (valueAsString.includes(',')) { + return `"${valueAsString}"`; + } + + return valueAsString; +} + +function convertArrayToCsv({ array }: { array: Record[] }): string { + const headers = getHeaders({ array }); + + const rows = array.map(item => headers.map(header => serializeValue(item[header]))); + + return [headers.join(','), ...rows].join('\n'); +} diff --git a/zh-CN/src/tools/json-to-csv/json-to-csv.vue b/zh-CN/src/tools/json-to-csv/json-to-csv.vue new file mode 100644 index 00000000..2bd1a937 --- /dev/null +++ b/zh-CN/src/tools/json-to-csv/json-to-csv.vue @@ -0,0 +1,34 @@ + + + diff --git a/zh-CN/src/tools/json-to-toml/index.ts b/zh-CN/src/tools/json-to-toml/index.ts new file mode 100644 index 00000000..3343923d --- /dev/null +++ b/zh-CN/src/tools/json-to-toml/index.ts @@ -0,0 +1,12 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 转 TOML', + path: '/json-to-toml', + description: '解析 JSON 并将其转换为 TOML。', + keywords: ['json', '解析', 'toml', '转换'], + component: () => import('./json-to-toml.vue'), + icon: Braces, + createdAt: new Date('2023-06-23'), +}); diff --git a/zh-CN/src/tools/json-to-toml/json-to-toml.e2e.spec.ts b/zh-CN/src/tools/json-to-toml/json-to-toml.e2e.spec.ts new file mode 100644 index 00000000..b2f75871 --- /dev/null +++ b/zh-CN/src/tools/json-to-toml/json-to-toml.e2e.spec.ts @@ -0,0 +1,39 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - JSON to TOML', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/json-to-toml'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('JSON to TOML - IT Tools'); + }); + + test('JSON is parsed and outputs clean TOML', async ({ page }) => { + await page.getByTestId('input').fill(` +{ + "foo": "bar", + "list": { + "name": "item", + "another": { + "key": "value" + } + } +} + `.trim()); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual( + ` +foo = "bar" + +[list] +name = "item" + + [list.another] + key = "value" + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/json-to-toml/json-to-toml.vue b/zh-CN/src/tools/json-to-toml/json-to-toml.vue new file mode 100644 index 00000000..bd3d63d5 --- /dev/null +++ b/zh-CN/src/tools/json-to-toml/json-to-toml.vue @@ -0,0 +1,30 @@ + + + diff --git a/zh-CN/src/tools/json-to-yaml-converter/index.ts b/zh-CN/src/tools/json-to-yaml-converter/index.ts new file mode 100644 index 00000000..bdc9c8ec --- /dev/null +++ b/zh-CN/src/tools/json-to-yaml-converter/index.ts @@ -0,0 +1,12 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 转 YAML', + path: '/json-to-yaml-converter', + description: '只需使用此实时在线转换器即可将 JSON 转换为 YAML。', + keywords: ['yaml', 'to', 'json'], + component: () => import('./json-to-yaml.vue'), + icon: Braces, + createdAt: new Date('2023-04-10'), +}); diff --git a/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.e2e.spec.ts b/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.e2e.spec.ts new file mode 100644 index 00000000..fee24d91 --- /dev/null +++ b/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.e2e.spec.ts @@ -0,0 +1,19 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - json to yaml', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/json-to-yaml-converter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('JSON to YAML converter - IT Tools'); + }); + + test('json is parsed and output clean yaml', async ({ page }) => { + await page.getByTestId('input').fill('{"foo":"bar","list":["item",{"key":"value"}]}'); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual('foo: bar\nlist:\n - item\n - key: value'.trim()); + }); +}); diff --git a/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.vue b/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.vue new file mode 100644 index 00000000..0fc58eac --- /dev/null +++ b/zh-CN/src/tools/json-to-yaml-converter/json-to-yaml.vue @@ -0,0 +1,29 @@ + + + diff --git a/zh-CN/src/tools/json-viewer/index.ts b/zh-CN/src/tools/json-viewer/index.ts new file mode 100644 index 00000000..2e31539b --- /dev/null +++ b/zh-CN/src/tools/json-viewer/index.ts @@ -0,0 +1,12 @@ +import { Braces } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JSON 格式化', + path: '/json-prettify', + description: '将 JSON 格式化', + keywords: ['json', '视图', '美化', '格式化'], + component: () => import('./json-viewer.vue'), + icon: Braces, + redirectFrom: ['/json-viewer'], +}); diff --git a/zh-CN/src/tools/json-viewer/json-viewer.vue b/zh-CN/src/tools/json-viewer/json-viewer.vue new file mode 100644 index 00000000..6c849113 --- /dev/null +++ b/zh-CN/src/tools/json-viewer/json-viewer.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/zh-CN/src/tools/json-viewer/json.models.test.ts b/zh-CN/src/tools/json-viewer/json.models.test.ts new file mode 100644 index 00000000..9bdcb231 --- /dev/null +++ b/zh-CN/src/tools/json-viewer/json.models.test.ts @@ -0,0 +1,16 @@ +import { describe, expect, it } from 'vitest'; +import { sortObjectKeys } from './json.models'; + +describe('json models', () => { + describe('sortObjectKeys', () => { + it('the object keys are recursively sorted alphabetically', () => { + expect(JSON.stringify(sortObjectKeys({ b: 2, a: 1 }))).to.deep.equal(JSON.stringify({ a: 1, b: 2 })); + // To unsure that this way of testing is working + expect(JSON.stringify(sortObjectKeys({ b: 2, a: 1 }))).to.not.deep.equal(JSON.stringify({ b: 2, a: 1 })); + + expect(JSON.stringify(sortObjectKeys({ b: 2, a: 1, d: { j: 7, a: [{ z: 9, y: 8 }] }, c: 3 }))).to.deep.equal( + JSON.stringify({ a: 1, b: 2, c: 3, d: { a: [{ y: 8, z: 9 }], j: 7 } }), + ); + }); + }); +}); diff --git a/zh-CN/src/tools/json-viewer/json.models.ts b/zh-CN/src/tools/json-viewer/json.models.ts new file mode 100644 index 00000000..9bed3659 --- /dev/null +++ b/zh-CN/src/tools/json-viewer/json.models.ts @@ -0,0 +1,35 @@ +import { type MaybeRef, get } from '@vueuse/core'; +import JSON5 from 'json5'; + +export { sortObjectKeys, formatJson }; + +function sortObjectKeys(obj: T): T { + if (typeof obj !== 'object' || obj === null) { + return obj; + } + + if (Array.isArray(obj)) { + return obj.map(sortObjectKeys) as unknown as T; + } + + return Object.keys(obj) + .sort((a, b) => a.localeCompare(b)) + .reduce((sortedObj, key) => { + sortedObj[key] = sortObjectKeys((obj as Record)[key]); + return sortedObj; + }, {} as Record) as T; +} + +function formatJson({ + rawJson, + sortKeys = true, + indentSize = 3, +}: { + rawJson: MaybeRef + sortKeys?: MaybeRef + indentSize?: MaybeRef +}) { + const parsedObject = JSON5.parse(get(rawJson)); + + return JSON.stringify(get(sortKeys) ? sortObjectKeys(parsedObject) : parsedObject, null, get(indentSize)); +} diff --git a/zh-CN/src/tools/jwt-parser/index.ts b/zh-CN/src/tools/jwt-parser/index.ts new file mode 100644 index 00000000..fff8a4cb --- /dev/null +++ b/zh-CN/src/tools/jwt-parser/index.ts @@ -0,0 +1,27 @@ +import { Key } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'JWT 解析器', + path: '/jwt-parser', + description: '解析 JSON Web Token (JWT) 并显示其内容。', + keywords: [ + 'jwt', + '解析', + '解码', + 'typ', + 'alg', + 'iss', + 'sub', + 'aud', + 'exp', + 'nbf', + 'iat', + 'jti', + 'json', + 'web', + 'token', + ], + component: () => import('./jwt-parser.vue'), + icon: Key, +}); diff --git a/zh-CN/src/tools/jwt-parser/jwt-parser.constants.ts b/zh-CN/src/tools/jwt-parser/jwt-parser.constants.ts new file mode 100644 index 00000000..e5fe69d4 --- /dev/null +++ b/zh-CN/src/tools/jwt-parser/jwt-parser.constants.ts @@ -0,0 +1,95 @@ +// From https://datatracker.ietf.org/doc/html/rfc7518#section-3.1 +export const ALGORITHM_DESCRIPTIONS: { [k: string]: string } = { + HS256: 'SHA-256加密,HMAC签名', + HS384: 'SHA-384加密,HMAC签名', + HS512: 'SHA-512加密,HMAC签名', + RS256: 'SHA-256加密,RSASSA-PKCS1-v1_5签名', + RS384: 'SHA-384加密,RSASSA-PKCS1-v1_5签名', + RS512: 'SHA-512加密,RSASSA-PKCS1-v1_5签名', + ES256: 'P-256和SHA-256加密,ECDSA签名', + ES384: 'P-384和SHA-384加密,ECDSA签名', + ES512: 'P-521和SHA-512加密,ECDSA签名', + PS256: 'SHA-256和MGF1 SHA-256加密,RSASSA-PSS签名', + PS384: 'SHA-384和MGF1 SHA-384加密,RSASSA-PSS签名', + PS512: 'SHA-512和MGF1 SHA-512加密,RSASSA-PSS签名', + none: '无加密和签名', +}; + +// List extracted from IANA: https://www.iana.org/assignments/jwt/jwt.xhtml +export const CLAIM_DESCRIPTIONS: Record = { + typ: '类型', + alg: '算法', + iss: '发行人', + sub: '主题', + aud: '观察者', + exp: '到期时间', + nbf: '之前没有', + iat: '发行时间', + jti: 'JWT ID', + name: '全名', + given_name: '名', + GivenName: '名', + family_name: '姓', + Surname: '姓', + middle_name: '中间名', + nickname: '昵称', + preferred_username: '简称', + profile: '个人资料URL', + picture: '个人照片URL', + website: '博客URL', + email: '邮箱地址', + Email: '邮箱地址', + email_verified: '邮箱是否已验证', + gender: '性别', + birthdate: '生日', + zoneinfo: '时区', + locale: '区域', + phone_number: '电话号码', + phone_number_verified: '电话号码是否已验证', + address: '居住地址', + updated_at: '更新时间', + azp: '颁发者', + nonce: '关联值', + auth_time: '认证时间', + at_hash: 'Access Token哈希值', + c_hash: 'Code哈希值', + acr: '身份验证上下文类参考', + amr: '身份验证方法参考', + sub_jwk: '用于检查 ID Token 签名的公钥', + cnf: '确认', + sip_from_tag: 'SIP From tag头域参数值', + sip_date: 'SIP Date 头字段值', + sip_callid: 'SIP Call-Id 头域值', + sip_cseq_num: 'SIP CSeq 数字头字段参数值', + sip_via_branch: 'SIP Via分支头域参数值', + orig: '原始身份字符串', + dest: '目标身份字符串', + mky: '媒体密钥指纹字符串', + events: '安全事件', + toe: '事件时间', + txn: '交易标识符', + rph: '资源优先级标头授权', + sid: '会话 ID', + vot: '信任值向量', + vtm: '信任信任标记 URL 向量', + attest: 'SHAKEN 框架中定义的证明级别', + origid: 'SHAKEN 框架中定义的原始标识符', + act: '演员', + scope: '范围值', + client_id: '客户端标识符', + may_act: '授权演员 - 被授权成为演员的一方', + jcard: 'j卡数据', + at_use_nbr: '可以使用访问令牌的 API 请求数', + div: '呼叫的转移目标', + opt: '原始 PASSport(完整形式)', + vc: 'W3C 建议中指定的可验证凭证', + vp: 'W3C 建议中指定的可验证表示', + sph: 'SIP 优先级头字段', + ace_profile: '应该与令牌一起使用的 ACE 配置文件。', + cnonce: '客户端随机数', + exi: '到期时间', + roles: '规则', + groups: '组', + entitlements: '权利', + token_introspection: '令牌内省响应', +}; diff --git a/zh-CN/src/tools/jwt-parser/jwt-parser.service.ts b/zh-CN/src/tools/jwt-parser/jwt-parser.service.ts new file mode 100644 index 00000000..543f4c8b --- /dev/null +++ b/zh-CN/src/tools/jwt-parser/jwt-parser.service.ts @@ -0,0 +1,52 @@ +import jwtDecode, { type JwtHeader, type JwtPayload } from 'jwt-decode'; +import _ from 'lodash'; +import { ALGORITHM_DESCRIPTIONS, CLAIM_DESCRIPTIONS } from './jwt-parser.constants'; + +export { decodeJwt }; + +function decodeJwt({ jwt }: { jwt: string }) { + const rawHeader = jwtDecode(jwt, { header: true }); + const rawPayload = jwtDecode(jwt); + + const header = _.map(rawHeader, (value, claim) => parseClaims({ claim, value })); + const payload = _.map(rawPayload, (value, claim) => parseClaims({ claim, value })); + + return { + header, + payload, + }; +} + +function parseClaims({ claim, value }: { claim: string; value: unknown }) { + const claimDescription = CLAIM_DESCRIPTIONS[claim]; + const formattedValue = _.isPlainObject(value) || _.isArray(value) ? JSON.stringify(value, null, 3) : _.toString(value); + const friendlyValue = getFriendlyValue({ claim, value }); + + return { + value: formattedValue, + friendlyValue, + claim, + claimDescription, + }; +} + +function getFriendlyValue({ claim, value }: { claim: string; value: unknown }) { + if (['exp', 'nbf', 'iat'].includes(claim)) { + return dateFormatter(value); + } + + if (claim === 'alg' && _.isString(value)) { + return ALGORITHM_DESCRIPTIONS[value]; + } + + return undefined; +} + +function dateFormatter(value: unknown) { + if (_.isNil(value)) { + return undefined; + } + + const date = new Date(Number(value) * 1000); + return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`; +} diff --git a/zh-CN/src/tools/jwt-parser/jwt-parser.vue b/zh-CN/src/tools/jwt-parser/jwt-parser.vue new file mode 100644 index 00000000..92002af7 --- /dev/null +++ b/zh-CN/src/tools/jwt-parser/jwt-parser.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/zh-CN/src/tools/keycode-info/index.ts b/zh-CN/src/tools/keycode-info/index.ts new file mode 100644 index 00000000..9f369bb3 --- /dev/null +++ b/zh-CN/src/tools/keycode-info/index.ts @@ -0,0 +1,24 @@ +import { Keyboard } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '键盘按键信息', + path: '/keycode-info', + description: '查找任何按下的键盘按键的 JavaScript 键码、代码、位置和修饰符。', + keywords: [ + '按键', + '信息', + '代码', + 'javascript', + '事件', + '键盘', + '按下', + '修饰符', + 'alt', + 'ctrl', + 'meta', + 'shift', + ], + component: () => import('./keycode-info.vue'), + icon: Keyboard, +}); diff --git a/zh-CN/src/tools/keycode-info/keycode-info.vue b/zh-CN/src/tools/keycode-info/keycode-info.vue new file mode 100644 index 00000000..38ca4d83 --- /dev/null +++ b/zh-CN/src/tools/keycode-info/keycode-info.vue @@ -0,0 +1,76 @@ + + + diff --git a/zh-CN/src/tools/list-converter/index.ts b/zh-CN/src/tools/list-converter/index.ts new file mode 100644 index 00000000..9fb59080 --- /dev/null +++ b/zh-CN/src/tools/list-converter/index.ts @@ -0,0 +1,13 @@ +import { List } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '列表转换器', + path: '/list-converter', + description: + '该工具可以处理基于列的数据并对每行应用各种更改(转置、添加前缀、添加后缀、反向、排序、小写、截断、去除空格、去重)。', + keywords: ['列表', '转换器', '排序', '转置', '前缀', '后缀', '小写', '截断', '去重'], + component: () => import('./list-converter.vue'), + icon: List, + createdAt: new Date('2023-05-07'), +}); diff --git a/zh-CN/src/tools/list-converter/list-converter.e2e.spec.ts b/zh-CN/src/tools/list-converter/list-converter.e2e.spec.ts new file mode 100644 index 00000000..4accbf06 --- /dev/null +++ b/zh-CN/src/tools/list-converter/list-converter.e2e.spec.ts @@ -0,0 +1,39 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - List converter', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/list-converter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('List converter - IT Tools'); + }); + + test('Simple list should be converted with default settings', async ({ page }) => { + await page.getByTestId('input').fill(`1 + 2 + 3 + 4 + 5`); + + const result = await page.getByTestId('area-content').innerText(); + + expect(result.trim()).toEqual('1, 2, 3, 4, 5'); + }); + + test('Duplicates should be removed, list should be sorted and prefix and suffix list items', async ({ page }) => { + await page.getByTestId('input').fill(`1 + 2 + 2 + 4 + 4 + 3 + 5`); + await page.getByTestId('removeDuplicates').check(); + await page.getByTestId('itemPrefix').fill('\''); + await page.getByTestId('itemSuffix').fill('\''); + + const result = await page.getByTestId('area-content').innerText(); + expect(result.trim()).toEqual('\'1\', \'2\', \'4\', \'3\', \'5\''); + }); +}); diff --git a/zh-CN/src/tools/list-converter/list-converter.models.test.ts b/zh-CN/src/tools/list-converter/list-converter.models.test.ts new file mode 100644 index 00000000..abbc43c2 --- /dev/null +++ b/zh-CN/src/tools/list-converter/list-converter.models.test.ts @@ -0,0 +1,76 @@ +import { describe, expect, it } from 'vitest'; +import { convert } from './list-converter.models'; +import type { ConvertOptions } from './list-converter.types'; + +describe('list-converter', () => { + describe('convert', () => { + it('should convert a given list', () => { + const options: ConvertOptions = { + separator: ', ', + trimItems: true, + removeDuplicates: true, + itemPrefix: '"', + itemSuffix: '"', + listPrefix: '', + listSuffix: '', + reverseList: false, + sortList: null, + lowerCase: false, + keepLineBreaks: false, + }; + const input = ` + 1 + 2 + + 3 + 3 + 4 + `; + expect(convert(input, options)).toEqual('"1", "2", "3", "4"'); + }); + + it('should return an empty value for an empty input', () => { + const options: ConvertOptions = { + separator: ', ', + trimItems: true, + removeDuplicates: true, + itemPrefix: '', + itemSuffix: '', + listPrefix: '', + listSuffix: '', + reverseList: false, + sortList: null, + lowerCase: false, + keepLineBreaks: false, + }; + expect(convert('', options)).toEqual(''); + }); + + it('should keep line breaks', () => { + const options: ConvertOptions = { + separator: '', + trimItems: true, + itemPrefix: '
  • ', + itemSuffix: '
  • ', + listPrefix: '
      ', + listSuffix: '
    ', + keepLineBreaks: true, + lowerCase: false, + removeDuplicates: false, + reverseList: false, + sortList: null, + }; + const input = ` + 1 + 2 + 3 + `; + const expected = `
      +
    • 1
    • +
    • 2
    • +
    • 3
    • +
    `; + expect(convert(input, options)).toEqual(expected); + }); + }); +}); diff --git a/zh-CN/src/tools/list-converter/list-converter.models.ts b/zh-CN/src/tools/list-converter/list-converter.models.ts new file mode 100644 index 00000000..711e7400 --- /dev/null +++ b/zh-CN/src/tools/list-converter/list-converter.models.ts @@ -0,0 +1,28 @@ +import _ from 'lodash'; +import type { ConvertOptions } from './list-converter.types'; +import { byOrder } from '@/utils/array'; + +export { convert }; + +function whenever(condition: boolean, fn: (value: T) => R) { + return (value: T) => + condition ? fn(value) : value; +} + +function convert(list: string, options: ConvertOptions): string { + const lineBreak = options.keepLineBreaks ? '\n' : ''; + + return _.chain(list) + .thru(whenever(options.lowerCase, text => text.toLowerCase())) + .split('\n') + .thru(whenever(options.removeDuplicates, _.uniq)) + .thru(whenever(options.reverseList, _.reverse)) + .thru(whenever(!_.isNull(options.sortList), parts => parts.sort(byOrder({ order: options.sortList })))) + .map(whenever(options.trimItems, _.trim)) + .without('') + .map(p => options.itemPrefix + p + options.itemSuffix) + .join(options.separator + lineBreak) + .thru(text => [options.listPrefix, text, options.listSuffix].join(lineBreak)) + .value() + .replace(/(\r\n|\n|\r)/,""); +} diff --git a/zh-CN/src/tools/list-converter/list-converter.types.ts b/zh-CN/src/tools/list-converter/list-converter.types.ts new file mode 100644 index 00000000..3f9ea3f8 --- /dev/null +++ b/zh-CN/src/tools/list-converter/list-converter.types.ts @@ -0,0 +1,15 @@ +export type SortOrder = 'asc' | 'desc' | null; + +export interface ConvertOptions { + lowerCase: boolean + trimItems: boolean + itemPrefix: string + itemSuffix: string + listPrefix: string + listSuffix: string + reverseList: boolean + sortList: SortOrder + removeDuplicates: boolean + separator: string + keepLineBreaks: boolean +} diff --git a/zh-CN/src/tools/list-converter/list-converter.vue b/zh-CN/src/tools/list-converter/list-converter.vue new file mode 100644 index 00000000..4fcef67a --- /dev/null +++ b/zh-CN/src/tools/list-converter/list-converter.vue @@ -0,0 +1,128 @@ + + + diff --git a/zh-CN/src/tools/lorem-ipsum-generator/index.ts b/zh-CN/src/tools/lorem-ipsum-generator/index.ts new file mode 100644 index 00000000..f15f7735 --- /dev/null +++ b/zh-CN/src/tools/lorem-ipsum-generator/index.ts @@ -0,0 +1,11 @@ +import { AlignJustified } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '占位符文本生成器', + path: '/lorem-ipsum-generator', + description: 'Lorem ipsum 是一种占位符文本,通常用于演示文档或字体的视觉形式,内容没有任何意义', + keywords: ['lorem', 'ipsum', '占位符', '文本', '随机', '生成'], + component: () => import('./lorem-ipsum-generator.vue'), + icon: AlignJustified, +}); diff --git a/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.service.ts b/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.service.ts new file mode 100644 index 00000000..b21a302b --- /dev/null +++ b/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.service.ts @@ -0,0 +1,216 @@ +import { randFromArray } from '@/utils/random'; + +const vocabulary = [ + 'a', + 'ac', + 'accumsan', + 'ad', + 'adipiscing', + 'aenean', + 'aliquam', + 'aliquet', + 'amet', + 'ante', + 'aptent', + 'arcu', + 'at', + 'auctor', + 'bibendum', + 'blandit', + 'class', + 'commodo', + 'condimentum', + 'congue', + 'consectetur', + 'consequat', + 'conubia', + 'convallis', + 'cras', + 'cubilia', + 'cum', + 'curabitur', + 'curae', + 'dapibus', + 'diam', + 'dictum', + 'dictumst', + 'dignissim', + 'dolor', + 'donec', + 'dui', + 'duis', + 'egestas', + 'eget', + 'eleifend', + 'elementum', + 'elit', + 'enim', + 'erat', + 'eros', + 'est', + 'et', + 'etiam', + 'eu', + 'euismod', + 'facilisi', + 'faucibus', + 'felis', + 'fermentum', + 'feugiat', + 'fringilla', + 'fusce', + 'gravida', + 'habitant', + 'habitasse', + 'hac', + 'hendrerit', + 'himenaeos', + 'iaculis', + 'id', + 'imperdiet', + 'in', + 'inceptos', + 'integer', + 'interdum', + 'ipsum', + 'justo', + 'lacinia', + 'lacus', + 'laoreet', + 'lectus', + 'leo', + 'ligula', + 'litora', + 'lobortis', + 'lorem', + 'luctus', + 'maecenas', + 'magna', + 'magnis', + 'malesuada', + 'massa', + 'mattis', + 'mauris', + 'metus', + 'mi', + 'molestie', + 'mollis', + 'montes', + 'morbi', + 'mus', + 'nam', + 'nascetur', + 'natoque', + 'nec', + 'neque', + 'netus', + 'nisi', + 'nisl', + 'non', + 'nostra', + 'nulla', + 'nullam', + 'nunc', + 'odio', + 'orci', + 'ornare', + 'parturient', + 'pellentesque', + 'penatibus', + 'per', + 'pharetra', + 'phasellus', + 'placerat', + 'platea', + 'porta', + 'porttitor', + 'posuere', + 'potenti', + 'praesent', + 'pretium', + 'primis', + 'proin', + 'pulvinar', + 'purus', + 'quam', + 'quis', + 'quisque', + 'rhoncus', + 'ridiculus', + 'risus', + 'rutrum', + 'sagittis', + 'sapien', + 'scelerisque', + 'sed', + 'sem', + 'semper', + 'senectus', + 'sit', + 'sociis', + 'sociosqu', + 'sodales', + 'sollicitudin', + 'suscipit', + 'suspendisse', + 'taciti', + 'tellus', + 'tempor', + 'tempus', + 'tincidunt', + 'torquent', + 'tortor', + 'turpis', + 'ullamcorper', + 'ultrices', + 'ultricies', + 'urna', + 'varius', + 'vehicula', + 'vel', + 'velit', + 'venenatis', + 'vestibulum', + 'vitae', + 'vivamus', + 'viverra', + 'volutpat', + 'vulputate', +]; +const firstSentence = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.'; + +function generateSentence(length: number) { + const sentence = Array.from({ length }) + .map(() => randFromArray(vocabulary)) + .join(' '); + + return `${sentence.charAt(0).toUpperCase() + sentence.slice(1)}.`; +} + +export function generateLoremIpsum({ + paragraphCount = 1, + sentencePerParagraph = 3, + wordCount = 10, + startWithLoremIpsum = true, + asHTML = false, +}: { + paragraphCount?: number + sentencePerParagraph?: number + wordCount?: number + startWithLoremIpsum?: boolean + asHTML?: boolean +}) { + const paragraphs = Array.from({ length: paragraphCount }).map(() => + Array.from({ length: sentencePerParagraph }).map(() => generateSentence(wordCount)), + ); + + if (startWithLoremIpsum) { + paragraphs[0][0] = firstSentence; + } + + if (asHTML) { + return `

    ${paragraphs.map(s => s.join(' ')).join('

    \n\n

    ')}

    `; + } + + return paragraphs.map(s => s.join(' ')).join('\n\n'); +} diff --git a/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.vue b/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.vue new file mode 100644 index 00000000..cbe7a433 --- /dev/null +++ b/zh-CN/src/tools/lorem-ipsum-generator/lorem-ipsum-generator.vue @@ -0,0 +1,50 @@ + + + diff --git a/zh-CN/src/tools/mac-address-generator/index.ts b/zh-CN/src/tools/mac-address-generator/index.ts new file mode 100644 index 00000000..b62e3efc --- /dev/null +++ b/zh-CN/src/tools/mac-address-generator/index.ts @@ -0,0 +1,12 @@ +import { Devices } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'MAC地址生成器', + path: '/mac-address-generator', + description: '指定数量和前缀生成MAC地址', + keywords: ['mac', '地址', '生成', '随机', '前缀'], + component: () => import('./mac-address-generator.vue'), + icon: Devices, + createdAt: new Date('2023-11-31'), +}); diff --git a/zh-CN/src/tools/mac-address-generator/mac-address-generator.e2e.spec.ts b/zh-CN/src/tools/mac-address-generator/mac-address-generator.e2e.spec.ts new file mode 100644 index 00000000..1d99ccd7 --- /dev/null +++ b/zh-CN/src/tools/mac-address-generator/mac-address-generator.e2e.spec.ts @@ -0,0 +1,11 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - MAC address generator', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/mac-address-generator'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('MAC address generator - IT Tools'); + }); +}); diff --git a/zh-CN/src/tools/mac-address-generator/mac-address-generator.vue b/zh-CN/src/tools/mac-address-generator/mac-address-generator.vue new file mode 100644 index 00000000..2a8a57b0 --- /dev/null +++ b/zh-CN/src/tools/mac-address-generator/mac-address-generator.vue @@ -0,0 +1,103 @@ + + + diff --git a/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.test.ts b/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.test.ts new file mode 100644 index 00000000..5b660250 --- /dev/null +++ b/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.test.ts @@ -0,0 +1,43 @@ +import { describe, expect, it } from 'vitest'; +import { generateRandomMacAddress, splitPrefix } from './mac-adress-generator.models'; + +describe('mac-adress-generator models', () => { + describe('splitPrefix', () => { + it('a mac address prefix is splitted around non hex characters', () => { + expect(splitPrefix('')).toEqual([]); + expect(splitPrefix('01')).toEqual(['01']); + expect(splitPrefix('01:')).toEqual(['01']); + expect(splitPrefix('01:23')).toEqual(['01', '23']); + expect(splitPrefix('01-23')).toEqual(['01', '23']); + }); + + it('when a prefix contains only hex characters, they are grouped by 2', () => { + expect(splitPrefix('0123')).toEqual(['01', '23']); + expect(splitPrefix('012345')).toEqual(['01', '23', '45']); + expect(splitPrefix('0123456')).toEqual(['01', '23', '45', '06']); + }); + }); + + describe('generateRandomMacAddress', () => { + const createRandomByteGenerator = () => { + let i = 0; + return () => (i++).toString(16).padStart(2, '0'); + }; + + it('generates a random mac address', () => { + expect(generateRandomMacAddress({ getRandomByte: createRandomByteGenerator() })).toBe('00:01:02:03:04:05'); + }); + + it('generates a random mac address with a prefix', () => { + expect(generateRandomMacAddress({ prefix: 'ff:ee:aa', getRandomByte: createRandomByteGenerator() })).toBe('ff:ee:aa:00:01:02'); + expect(generateRandomMacAddress({ prefix: 'ff:ee:a', getRandomByte: createRandomByteGenerator() })).toBe('ff:ee:0a:00:01:02'); + }); + + it('generates a random mac address with a prefix and a different separator', () => { + expect(generateRandomMacAddress({ prefix: 'ff-ee-aa', separator: '-', getRandomByte: createRandomByteGenerator() })).toBe('ff-ee-aa-00-01-02'); + expect(generateRandomMacAddress({ prefix: 'ff:ee:aa', separator: '-', getRandomByte: createRandomByteGenerator() })).toBe('ff-ee-aa-00-01-02'); + expect(generateRandomMacAddress({ prefix: 'ff-ee:aa', separator: '-', getRandomByte: createRandomByteGenerator() })).toBe('ff-ee-aa-00-01-02'); + expect(generateRandomMacAddress({ prefix: 'ff ee:aa', separator: '-', getRandomByte: createRandomByteGenerator() })).toBe('ff-ee-aa-00-01-02'); + }); + }); +}); diff --git a/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.ts b/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.ts new file mode 100644 index 00000000..45e434eb --- /dev/null +++ b/zh-CN/src/tools/mac-address-generator/mac-adress-generator.models.ts @@ -0,0 +1,18 @@ +import _ from 'lodash'; + +export { splitPrefix, generateRandomMacAddress }; + +function splitPrefix(prefix: string): string[] { + const base = prefix.match(/[^0-9a-f]/i) === null ? prefix.match(/.{1,2}/g) ?? [] : prefix.split(/[^0-9a-f]/i); + + return base.filter(Boolean).map(byte => byte.padStart(2, '0')); +} + +function generateRandomMacAddress({ prefix: rawPrefix = '', separator = ':', getRandomByte = () => _.random(0, 255).toString(16).padStart(2, '0') }: { prefix?: string; separator?: string; getRandomByte?: () => string } = {}) { + const prefix = splitPrefix(rawPrefix); + + const randomBytes = _.times(6 - prefix.length, getRandomByte); + const bytes = [...prefix, ...randomBytes]; + + return bytes.join(separator); +} diff --git a/zh-CN/src/tools/mac-address-lookup/index.ts b/zh-CN/src/tools/mac-address-lookup/index.ts new file mode 100644 index 00000000..bd83d0db --- /dev/null +++ b/zh-CN/src/tools/mac-address-lookup/index.ts @@ -0,0 +1,12 @@ +import { Devices } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'MAC地址查询', + path: '/mac-address-lookup', + description: '通过MAC地址查询设备的供应商和制造商。', + keywords: ['mac', '地址', '查询', '设备', '供应商', '制造商'], + component: () => import('./mac-address-lookup.vue'), + icon: Devices, + createdAt: new Date('2023-04-06'), +}); diff --git a/zh-CN/src/tools/mac-address-lookup/mac-address-lookup.vue b/zh-CN/src/tools/mac-address-lookup/mac-address-lookup.vue new file mode 100644 index 00000000..f460476a --- /dev/null +++ b/zh-CN/src/tools/mac-address-lookup/mac-address-lookup.vue @@ -0,0 +1,51 @@ + + + diff --git a/zh-CN/src/tools/math-evaluator/index.ts b/zh-CN/src/tools/math-evaluator/index.ts new file mode 100644 index 00000000..06beaa22 --- /dev/null +++ b/zh-CN/src/tools/math-evaluator/index.ts @@ -0,0 +1,43 @@ +import { Math } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '数学计算器', + path: '/math-evaluator', + description: '用于计算数学表达式的计算器。支持 sqrt、cos、sin、abs 等函数。', + keywords: [ + '数学', + '计算器', + '表达式', + '函数', + 'abs', + 'acos', + 'acosh', + 'acot', + 'acoth', + 'acsc', + 'acsch', + 'asec', + 'asech', + 'asin', + 'asinh', + 'atan', + 'atan2', + 'atanh', + 'cos', + 'cosh', + 'cot', + 'coth', + 'csc', + 'csch', + 'sec', + 'sech', + 'sin', + 'sinh', + 'sqrt', + 'tan', + 'tanh', + ], + component: () => import('./math-evaluator.vue'), + icon: Math, +}); diff --git a/zh-CN/src/tools/math-evaluator/math-evaluator.vue b/zh-CN/src/tools/math-evaluator/math-evaluator.vue new file mode 100644 index 00000000..ae83a81d --- /dev/null +++ b/zh-CN/src/tools/math-evaluator/math-evaluator.vue @@ -0,0 +1,28 @@ + + + diff --git a/zh-CN/src/tools/meta-tag-generator/OGSchemaType.type.ts b/zh-CN/src/tools/meta-tag-generator/OGSchemaType.type.ts new file mode 100644 index 00000000..64387b8c --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/OGSchemaType.type.ts @@ -0,0 +1,27 @@ +import type { SelectGroupOption, SelectOption } from 'naive-ui'; + +export type { OGSchemaType, OGSchemaTypeElementInput, OGSchemaTypeElementSelect, OGSchemaTypeElementInputMultiple }; + +interface OGSchemaTypeElementBase { + key: string + label: string + placeholder: string +} + +interface OGSchemaTypeElementInput extends OGSchemaTypeElementBase { + type: 'input' +} + +interface OGSchemaTypeElementInputMultiple extends OGSchemaTypeElementBase { + type: 'input-multiple' +} + +interface OGSchemaTypeElementSelect extends OGSchemaTypeElementBase { + type: 'select' + options: Array +} + +interface OGSchemaType { + name: string + elements: (OGSchemaTypeElementSelect | OGSchemaTypeElementInput | OGSchemaTypeElementInputMultiple)[] +} diff --git a/zh-CN/src/tools/meta-tag-generator/index.ts b/zh-CN/src/tools/meta-tag-generator/index.ts new file mode 100644 index 00000000..d05c6149 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/index.ts @@ -0,0 +1,24 @@ +import { Tags } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'HTML META 生成器', + path: '/og-meta-generator', + description: '为您的网站生成OpenGraph和HTML META标记。', + keywords: [ + 'meta', + '标签', + '生成', + '社会化', + '标题', + '描述', + '图片', + '分享', + '在线', + '网站', + 'opengraph', + 'og', + ], + component: () => import('./meta-tag-generator.vue'), + icon: Tags, +}); diff --git a/zh-CN/src/tools/meta-tag-generator/meta-tag-generator.vue b/zh-CN/src/tools/meta-tag-generator/meta-tag-generator.vue new file mode 100644 index 00000000..d4f3308d --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/meta-tag-generator.vue @@ -0,0 +1,103 @@ + + + + + diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/article.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/article.ts new file mode 100644 index 00000000..d9b4ea8c --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/article.ts @@ -0,0 +1,33 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const article: OGSchemaType = { + name: '文章', + elements: [ + { + type: 'input', + label: '发布日期', + key: 'article:published_time', + placeholder: '请输入首次发表时间', + }, + { + type: 'input', + label: '修改日期', + key: 'article:modified_time', + placeholder: '请输入最后修改日期', + }, + { + type: 'input', + label: '过期时间', + key: 'article:expiration_time', + placeholder: '请输入过期时间', + }, + { type: 'input', label: '作者', key: 'article:author', placeholder: '请输入作者' }, + { + type: 'input', + label: '部分', + key: 'article:section', + placeholder: '请输入高级部分名称,例如:技术...', + }, + { type: 'input', label: '标签', key: 'article:tag', placeholder: '请输入标签词' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/book.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/book.ts new file mode 100644 index 00000000..7d09d02e --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/book.ts @@ -0,0 +1,16 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const book: OGSchemaType = { + name: '书籍', + elements: [ + { type: 'input', label: '作者', key: 'book:author', placeholder: '请输入作者是谁' }, + { type: 'input', label: 'ISBN', key: 'book:isbn', placeholder: '请输入 ISBN 国际标准书号...' }, + { + type: 'input', + label: '发布日期', + key: 'book:release_date', + placeholder: '请输入发布日期', + }, + { type: 'input', label: '标签', key: 'book:tag', placeholder: '请输入标签词' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/image.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/image.ts new file mode 100644 index 00000000..66744175 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/image.ts @@ -0,0 +1,31 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const image: OGSchemaType = { + name: '图片', + elements: [ + { + type: 'input', + label: '图片URL', + placeholder: '请输入图片的URL', + key: 'image', + }, + { + type: 'input', + label: '图片替代文本', + placeholder: '请输入图片的替代文本', + key: 'image:alt', + }, + { + type: 'input', + label: '宽度', + placeholder: '请输入图片的宽度(以像素为单位)', + key: 'image:width', + }, + { + type: 'input', + label: '高度', + placeholder: '请输入图片的高度(以像素为单位)', + key: 'image:height', + }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/index.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/index.ts new file mode 100644 index 00000000..9c3f100b --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/index.ts @@ -0,0 +1,31 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +import { article } from './article'; +import { book } from './book'; +import { musicAlbum } from './musicAlbum'; +import { musicPlaylist } from './musicPlaylist'; +import { musicRadioStation } from './musicRadioStation'; +import { musicSong } from './musicSong'; +import { profile } from './profile'; +import { videoEpisode } from './videoEpisode'; +import { videoMovie } from './videoMovie'; +import { videoOther } from './videoOther'; +import { videoTVShow } from './videoTVShow'; + +export * from './image'; +export * from './twitter'; +export * from './website'; + +export const ogSchemas: Record = { + 'music.song': musicSong, + 'music.album': musicAlbum, + 'music.playlist': musicPlaylist, + 'music.radio_station': musicRadioStation, + 'video.movie': videoMovie, + 'video.episode': videoEpisode, + 'video.tv_show': videoTVShow, + 'video.other': videoOther, + profile, + article, + book, +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/musicAlbum.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicAlbum.ts new file mode 100644 index 00000000..ab73fbe3 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicAlbum.ts @@ -0,0 +1,27 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const musicAlbum: OGSchemaType = { + name: '音乐专辑详情', + elements: [ + { type: 'input-multiple', label: '歌曲名称', key: 'music:song', placeholder: '请输入歌曲名称' }, + { + type: 'input', + label: '光盘编号', + key: 'music:song:disc', + placeholder: '请输入光盘编号', + }, + { + type: 'input', + label: '曲目编号', + key: 'music:song:track', + placeholder: '请输入曲目编号', + }, + { type: 'input-multiple', label: '艺术家', key: 'music:musician', placeholder: '请输入艺术家' }, + { + type: 'input', + label: '发布日期', + key: 'music:release_date', + placeholder: '请输入发布日期,格式:2023-09-02', + }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/musicPlaylist.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicPlaylist.ts new file mode 100644 index 00000000..70443689 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicPlaylist.ts @@ -0,0 +1,15 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const musicPlaylist: OGSchemaType = { + name: '歌单详情', + elements: [ + { type: 'input-multiple', label: '歌曲名称', key: 'music:song', placeholder: '请输入歌曲名称' }, + { + type: 'input', + label: '曲目编号', + key: 'music:song:track', + placeholder: '请输入曲目编号', + }, + { type: 'input-multiple', label: '创建者', key: 'music:creator', placeholder: '请输入创建者' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/musicRadioStation.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicRadioStation.ts new file mode 100644 index 00000000..2c4b8652 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicRadioStation.ts @@ -0,0 +1,9 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const musicRadioStation: OGSchemaType = { + name: '电台详情', + elements: [ + { type: 'input-multiple', label: '创建者', key: 'music:creator', placeholder: '请输入创建者' }, + { type: 'input', label: '广播URL', key: 'audio', placeholder: '请输入实际广播流的URL' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/musicSong.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicSong.ts new file mode 100644 index 00000000..f6ef7031 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/musicSong.ts @@ -0,0 +1,22 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const musicSong: OGSchemaType = { + name: '歌曲详情', + elements: [ + { type: 'input', label: '持续时间', placeholder: '请输入持续时间(以秒为单位)', key: 'music:duration' }, + { type: 'input-multiple', label: '所属专辑', placeholder: '请输入所属专辑', key: 'music:album' }, + { + type: 'input', + label: '光盘编号', + placeholder: '请输入光盘编号', + key: 'music:album:disk', + }, + { type: 'input', label: '曲目编号', placeholder: '请输入曲目编号', key: 'music:album:track' }, + { + type: 'input-multiple', + label: '艺术家', + placeholder: '请输入艺术家', + key: 'music:musician', + }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/profile.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/profile.ts new file mode 100644 index 00000000..0fc2c61f --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/profile.ts @@ -0,0 +1,21 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const profile: OGSchemaType = { + name: '个人简介', + elements: [ + { + type: 'input', + label: '姓', + placeholder: '请输入姓氏', + key: 'profile:last_name', + }, + { + type: 'input', + label: '名', + placeholder: '请输入名字', + key: 'profile:first_name', + }, + { type: 'input', label: '用户名', placeholder: '请输入用户名', key: 'profile:username' }, + { type: 'input', label: '性别', placeholder: '请输入性别', key: 'profile:gender' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/twitter.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/twitter.ts new file mode 100644 index 00000000..45503343 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/twitter.ts @@ -0,0 +1,31 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const twitter: OGSchemaType = { + name: 'Twitter 推特', + elements: [ + { + type: 'select', + options: [ + { label: '摘要', value: 'summary' }, + { label: '摘要-大图', value: 'summary_large_image' }, + { label: '应用程序', value: 'app' }, + { label: '播放器', value: 'player' }, + ], + label: '卡片类型', + placeholder: '推特的卡片类型', + key: 'twitter:card', + }, + { + type: 'input', + label: '网站推特帐户', + placeholder: '网站的推特帐户名称,例如:@ittoolsdottech', + key: 'twitter:site', + }, + { + type: 'input', + label: '作者推特帐户', + placeholder: '作者的推特帐户名称,例如:@cthmsst', + key: 'twitter:creator', + }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/videoEpisode.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoEpisode.ts new file mode 100644 index 00000000..6e472d8d --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoEpisode.ts @@ -0,0 +1,10 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; +import { videoMovie } from './videoMovie'; + +export const videoEpisode: OGSchemaType = { + name: '电视剧详情', + elements: [ + ...videoMovie.elements, + { type: 'input', label: '电视剧名称', key: 'video:series', placeholder: '请输入电视剧名称' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/videoMovie.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoMovie.ts new file mode 100644 index 00000000..e0b36838 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoMovie.ts @@ -0,0 +1,29 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +export const videoMovie: OGSchemaType = { + name: '电影详情', + elements: [ + { + type: 'input-multiple', + label: '演员', + key: 'video:actor', + placeholder: '请输入演员姓名', + }, + // { type: 'input', label: 'Actor role', key: 'video:actor:role', placeholder: 'The role they played...' }, + { + type: 'input-multiple', + label: '导演', + key: 'video:director', + placeholder: '请输入导演姓名', + }, + { type: 'input-multiple', label: '编剧', key: 'video:writer', placeholder: '请输入编剧姓名' }, + { type: 'input', label: '持续时间', key: 'video:duration', placeholder: '请输入持续时间(以秒为单位)' }, + { + type: 'input', + label: '发布日期', + key: 'video:release_date', + placeholder: '请输入发布日期,格式:2023-09-02', + }, + { type: 'input', label: '标签', key: 'video:tag', placeholder: '请输入标签词' }, + ], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/videoOther.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoOther.ts new file mode 100644 index 00000000..b9ea07a1 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoOther.ts @@ -0,0 +1,7 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; +import { videoMovie } from './videoMovie'; + +export const videoOther: OGSchemaType = { + name: '其他视频详情', + elements: [...videoMovie.elements], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/videoTVShow.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoTVShow.ts new file mode 100644 index 00000000..7ecbfbda --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/videoTVShow.ts @@ -0,0 +1,7 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; +import { videoMovie } from './videoMovie'; + +export const videoTVShow: OGSchemaType = { + name: '电视节目详情', + elements: [...videoMovie.elements], +}; diff --git a/zh-CN/src/tools/meta-tag-generator/og-schemas/website.ts b/zh-CN/src/tools/meta-tag-generator/og-schemas/website.ts new file mode 100644 index 00000000..ce6d2710 --- /dev/null +++ b/zh-CN/src/tools/meta-tag-generator/og-schemas/website.ts @@ -0,0 +1,66 @@ +import type { OGSchemaType } from '../OGSchemaType.type'; + +const typeOptions = [ + { label: '🌐 网站', value: 'website' }, + { label: '📃 文章', value: 'article' }, + { label: '📖 书籍', value: 'book' }, + { label: '🙋 个人简介', value: 'profile' }, + // 音乐 + { label: '🎵 [音乐] 歌曲', value: 'music.song' }, + { label: '🎵 [音乐] 专辑', value: 'music.album' }, + { label: '🎵 [音乐] 歌单', value: 'music.playlist' }, + { label: '🎵 [音乐] 电台', value: 'music.radio_station' }, + // 视频 + { label: '🎞️ [视频] 电影', value: 'video.movie' }, + { label: '🎞️ [视频] 电视剧', value: 'video.episode' }, + { label: '🎞️ [视频] 电视节目', value: 'video.tv_show' }, + { label: '🎞️ [视频] 其他', value: 'video.other' }, + // { + // type: 'group', + // label: '音乐', + // key: 'Music', + // children: [ + // { label: '歌曲', value: 'music.song' }, + // { label: '专辑', value: 'music.album' }, + // { label: '歌单', value: 'music.playlist' }, + // { label: '电台', value: 'music.radio_station' }, + // ], + // }, + // { + // type: 'group', + // label: '视频', + // key: 'Video', + // children: [ + // { label: '电影', value: 'video.movie' }, + // { label: '剧集', value: 'video.episode' }, + // { label: '电视剧', value: 'video.tv_show' }, + // { label: '其他', value: 'video.other' }, + // ], + // }, +]; + +export const website: OGSchemaType = { + name: '基本信息', + elements: [ + { + type: 'select', + label: '页面类型', + placeholder: '选择页面类型', + key: 'type', + options: typeOptions, + }, + { type: 'input', label: '标题', placeholder: '输入网站标题', key: 'title' }, + { + type: 'input', + label: '描述', + placeholder: '输入网站描述', + key: 'description', + }, + { + type: 'input', + label: '页面URL', + placeholder: '输入页面URL', + key: 'url', + }, + ], +}; diff --git a/zh-CN/src/tools/mime-types/index.ts b/zh-CN/src/tools/mime-types/index.ts new file mode 100644 index 00000000..9895ed3c --- /dev/null +++ b/zh-CN/src/tools/mime-types/index.ts @@ -0,0 +1,11 @@ +import { World } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Mime 类型 ↔ 扩展名', + path: '/mime-types', + description: 'mime 类型 和 扩展名 互转', + keywords: ['mime', '类型', '转', '转换', '互转', '扩展名', '后缀名', '文件'], + component: () => import('./mime-types.vue'), + icon: World, +}); diff --git a/zh-CN/src/tools/mime-types/mime-types.vue b/zh-CN/src/tools/mime-types/mime-types.vue new file mode 100644 index 00000000..eb91145a --- /dev/null +++ b/zh-CN/src/tools/mime-types/mime-types.vue @@ -0,0 +1,103 @@ + + + diff --git a/zh-CN/src/tools/numeronym-generator/index.ts b/zh-CN/src/tools/numeronym-generator/index.ts new file mode 100644 index 00000000..19686922 --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/index.ts @@ -0,0 +1,12 @@ +import { defineTool } from '../tool'; +import n7mIcon from './n7m-icon.svg?component'; + +export const tool = defineTool({ + name: 'Numeronym generator', + path: '/numeronym-generator', + description: 'A numeronym is a word where a number is used to form an abbreviation. For example, "i18n" is a numeronym of "internationalization" where 18 stands for the number of letters between the first i and the last n in the word.', + keywords: ['numeronym', 'generator', 'abbreviation', 'i18n', 'a11y', 'l10n'], + component: () => import('./numeronym-generator.vue'), + icon: n7mIcon, + createdAt: new Date('2023-11-05'), +}); diff --git a/zh-CN/src/tools/numeronym-generator/n7m-icon.svg b/zh-CN/src/tools/numeronym-generator/n7m-icon.svg new file mode 100644 index 00000000..2470e44b --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/n7m-icon.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/zh-CN/src/tools/numeronym-generator/numeronym-generator.e2e.spec.ts b/zh-CN/src/tools/numeronym-generator/numeronym-generator.e2e.spec.ts new file mode 100644 index 00000000..974a869a --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/numeronym-generator.e2e.spec.ts @@ -0,0 +1,25 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Numeronym generator', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/numeronym-generator'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Numeronym generator - IT Tools'); + }); + + test('a numeronym is generated when a word is entered', async ({ page }) => { + await page.getByTestId('word-input').fill('internationalization'); + const numeronym = await page.getByTestId('numeronym').inputValue(); + + expect(numeronym).toEqual('i18n'); + }); + + test('when a word has 3 letters or less, the numeronym is the word itself', async ({ page }) => { + await page.getByTestId('word-input').fill('abc'); + const numeronym = await page.getByTestId('numeronym').inputValue(); + + expect(numeronym).toEqual('abc'); + }); +}); diff --git a/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.test.ts b/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.test.ts new file mode 100644 index 00000000..ce92f891 --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.test.ts @@ -0,0 +1,15 @@ +import { describe, expect, it } from 'vitest'; +import { generateNumeronym } from './numeronym-generator.service'; + +describe('numeronym-generator service', () => { + describe('generateNumeronym', () => { + it('a numeronym of a word is the first letter, the number of letters between the first and the last letter, and the last letter', () => { + expect(generateNumeronym('internationalization')).toBe('i18n'); + expect(generateNumeronym('accessibility')).toBe('a11y'); + expect(generateNumeronym('localization')).toBe('l10n'); + }); + it('a numeronym of a word with 3 letters is the word itself', () => { + expect(generateNumeronym('abc')).toBe('abc'); + }); + }); +}); diff --git a/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.ts b/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.ts new file mode 100644 index 00000000..1c844715 --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/numeronym-generator.service.ts @@ -0,0 +1,11 @@ +export { generateNumeronym }; + +function generateNumeronym(word: string): string { + const wordLength = word.length; + + if (wordLength <= 3) { + return word; + } + + return `${word.at(0)}${wordLength - 2}${word.at(-1)}`; +} diff --git a/zh-CN/src/tools/numeronym-generator/numeronym-generator.vue b/zh-CN/src/tools/numeronym-generator/numeronym-generator.vue new file mode 100644 index 00000000..2332b338 --- /dev/null +++ b/zh-CN/src/tools/numeronym-generator/numeronym-generator.vue @@ -0,0 +1,17 @@ + + + diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/index.ts b/zh-CN/src/tools/otp-code-generator-and-validator/index.ts new file mode 100644 index 00000000..fb7edac6 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/index.ts @@ -0,0 +1,27 @@ +import { DeviceMobile } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'OTP 验证码生成器', + path: '/otp-generator', + description: '生成并验证基于时间的 OTP(一次性密码)以进行多重身份验证。', + keywords: [ + 'otp', + '代码', + '生成', + '验证', + '一次性', + '时间', + '密码', + '认证', + 'MFA', + 'mobile', + '设备', + '安全', + 'TOTP', + 'Time', + 'HMAC', + ], + component: () => import('./otp-code-generator-and-validator.vue'), + icon: DeviceMobile, +}); diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue b/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue new file mode 100644 index 00000000..a06d0940 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue @@ -0,0 +1,112 @@ + + + + + diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator.e2e.spec.ts b/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator.e2e.spec.ts new file mode 100644 index 00000000..4f9933a0 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/otp-code-generator.e2e.spec.ts @@ -0,0 +1,47 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - OTP code generator', () => { + test.beforeEach(async ({ page }) => { + await page.addInitScript(() => { + Date.now = () => 1609477200000; // Jan 1, 2021 + }); + await page.goto('/otp-generator'); + }); + + test('Has title', async ({ page }) => { + await expect(page).toHaveTitle('OTP code generator - IT Tools'); + }); + + test('Secret hexa value is computed from provided secret', async ({ page }) => { + await page.getByPlaceholder('Paste your TOTP secret...').fill('ITTOOLS'); + + const secretInHex = await page.getByPlaceholder('Secret in hex will be displayed here').inputValue(); + + expect(secretInHex).toEqual('44e6e72e02'); + }); + + test('OTP a generated from the provided secret', async ({ page }) => { + await page.getByPlaceholder('Paste your TOTP secret...').fill('ITTOOLS'); + + const previousOtp = await page.getByTestId('previous-otp').innerText(); + const currentOtp = await page.getByTestId('current-otp').innerText(); + const nextOtp = await page.getByTestId('next-otp').innerText(); + + expect(previousOtp.trim()).toEqual('028034'); + expect(currentOtp.trim()).toEqual('162195'); + expect(nextOtp.trim()).toEqual('452815'); + }); + + test('You can generate a new random secret', async ({ page }) => { + const initialSecret = await page.getByPlaceholder('Paste your TOTP secret...').inputValue(); + await page + .locator('div') + .filter({ hasText: /^Secret$/ }) + .getByRole('button') + .click(); + + const newSecret = await page.getByPlaceholder('Paste your TOTP secret...').inputValue(); + + expect(newSecret).not.toEqual(initialSecret); + }); +}); diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.test.ts b/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.test.ts new file mode 100644 index 00000000..2ba18369 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.test.ts @@ -0,0 +1,128 @@ +import { describe, expect, it } from 'vitest'; +import { + base32toHex, + buildKeyUri, + generateHOTP, + generateTOTP, + hexToBytes, + verifyHOTP, + verifyTOTP, +} from './otp.service'; + +describe('otp functions', () => { + describe('hexToBytes', () => { + it('convert an hexstring to a byte array', () => { + expect(hexToBytes('1')).to.eql([1]); + expect(hexToBytes('ffffff')).to.eql([255, 255, 255]); + expect(hexToBytes('000000000')).to.eql([0, 0, 0, 0, 0]); + expect(hexToBytes('a3218bcef89')).to.eql([163, 33, 139, 206, 248, 9]); + expect(hexToBytes('063679ca')).toEqual([6, 54, 121, 202]); + expect(hexToBytes('0102030405060708090a0b0c0d0e0f')).toEqual([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]); + }); + }); + describe('base32toHex', () => { + it('convert a base32 to hex string', () => { + expect(base32toHex('ABCDEF')).to.eql('00443205'); + expect(base32toHex('7777')).to.eql('ffff0f'); + expect(base32toHex('JBSWY3DPEHPK3PXP')).to.eql('48656c6c6f21deadbeef'); + }); + + it('case does not matter', () => { + expect(base32toHex('ABC')).to.eql(base32toHex('abc')); + }); + }); + + describe('generateHOTP', () => { + it('generates HOTP codes for a given counter', () => { + const key = 'JBSWY3DPEHPK3PXP'; + const hotpCodes = ['282760', '996554', '602287', '143627', '960129']; + + for (const [counter, code] of hotpCodes.entries()) { + expect(generateHOTP({ key, counter })).to.eql(code); + } + }); + }); + + describe('verifyHOTP', () => { + it('validate hotp for a given secret', () => { + const key = 'JBSWY3DPEHPK3PXP'; + const hotpCodes = ['282760', '996554', '602287', '143627', '960129']; + + for (const [counter, token] of hotpCodes.entries()) { + expect(verifyHOTP({ token, key, counter, window: 0 })).to.eql(true); + } + + expect(verifyHOTP({ token: 'INVALID', key })).to.eql(false); + }); + + it('does not validate hotp out of sync', () => { + const key = 'JBSWY3DPEHPK3PXP'; + const token = '282760'; + + expect(verifyHOTP({ token, key, counter: 5, window: 2 })).to.eql(false); + expect(verifyHOTP({ token, key, counter: 5, window: 5 })).to.eql(true); + }); + }); + + describe('generateTOTP', () => { + it('generates TOTP codes', () => { + const key = 'JBSWY3DPEHPK3PXP'; + + const codes = [ + { token: '282760', now: 0 }, + { token: '341128', now: 1465324707000 }, + { token: '089029', now: 1365324707000 }, + ]; + + for (const { token, now } of codes) { + expect(generateTOTP({ key, now })).to.eql(token); + } + }); + }); + + describe('verifyTOTP', () => { + it('verify TOTP in sync codes against a key', () => { + const key = 'JBSWY3DPEHPK3PXP'; + + const codes = [ + { token: '282760', now: 0 }, + { token: '341128', now: 1465324707000 }, + { token: '089029', now: 1365324707000 }, + ]; + + for (const { token, now } of codes) { + expect(verifyTOTP({ key, token, now })).to.eql(true); + } + }); + + it('does not validate totp out of sync', () => { + const key = 'JBSWY3DPEHPK3PXP'; + const token = '635183'; + const now = 1661266455000; + + expect(verifyTOTP({ key, token, now, window: 2 })).to.eql(true); + expect(verifyTOTP({ key, token, now, window: 1 })).to.eql(false); + }); + }); + + describe('buildKeyUri', () => { + it('build a key uri string', () => { + expect(buildKeyUri({ secret: 'JBSWY3DPEHPK3PXP' })).to.eql( + 'otpauth://totp/IT-Tools:demo-user?issuer=IT-Tools&secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&period=30', + ); + + expect( + buildKeyUri({ + secret: 'JBSWY3DPEHPK3PXP', + app: 'app-name', + account: 'account', + algorithm: 'algo', + digits: 7, + period: 10, + }), + ).to.eql( + 'otpauth://totp/app-name:account?issuer=app-name&secret=JBSWY3DPEHPK3PXP&algorithm=algo&digits=7&period=10', + ); + }); + }); +}); diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.ts b/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.ts new file mode 100644 index 00000000..bd5afb93 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/otp.service.ts @@ -0,0 +1,140 @@ +import { HmacSHA1, enc } from 'crypto-js'; +import _ from 'lodash'; +import { createToken } from '../token-generator/token-generator.service'; + +export { + generateHOTP, + hexToBytes, + verifyHOTP, + generateTOTP, + verifyTOTP, + buildKeyUri, + generateSecret, + base32toHex, + getCounterFromTime, +}; + +function hexToBytes(hex: string) { + return (hex.match(/.{1,2}/g) ?? []).map(char => Number.parseInt(char, 16)); +} + +function computeHMACSha1(message: string, key: string) { + return HmacSHA1(enc.Hex.parse(message), enc.Hex.parse(base32toHex(key))).toString(enc.Hex); +} + +function base32toHex(base32: string) { + const base32Chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567'; + + const bits = base32 + .toUpperCase() // Since base 32, we coerce lowercase to uppercase + .replace(/=+$/, '') + .split('') + .map(value => base32Chars.indexOf(value).toString(2).padStart(5, '0')) + .join(''); + + const hex = (bits.match(/.{1,8}/g) ?? []).map(chunk => Number.parseInt(chunk, 2).toString(16).padStart(2, '0')).join(''); + + return hex; +} + +function generateHOTP({ key, counter = 0 }: { key: string; counter?: number }) { + // Compute HMACdigest + const digest = computeHMACSha1(counter.toString(16).padStart(16, '0'), key); + + // Get byte array + const bytes = hexToBytes(digest); + + // Truncate + const offset = bytes[19] & 0xF; + const v + = ((bytes[offset] & 0x7F) << 24) + | ((bytes[offset + 1] & 0xFF) << 16) + | ((bytes[offset + 2] & 0xFF) << 8) + | (bytes[offset + 3] & 0xFF); + + const code = String(v % 1000000).padStart(6, '0'); + + return code; +} + +function verifyHOTP({ + token, + key, + window = 0, + counter = 0, +}: { + token: string + key: string + window?: number + counter?: number +}) { + for (let i = counter - window; i <= counter + window; ++i) { + if (generateHOTP({ key, counter: i }) === token) { + return true; + } + } + + return false; +} + +function getCounterFromTime({ now, timeStep }: { now: number; timeStep: number }) { + return Math.floor(now / 1000 / timeStep); +} + +function generateTOTP({ key, now = Date.now(), timeStep = 30 }: { key: string; now?: number; timeStep?: number }) { + const counter = getCounterFromTime({ now, timeStep }); + + return generateHOTP({ key, counter }); +} + +function verifyTOTP({ + key, + token, + window = 0, + now = Date.now(), + timeStep = 30, +}: { + token: string + key: string + window?: number + now?: number + timeStep?: number +}) { + const counter = getCounterFromTime({ now, timeStep }); + + return verifyHOTP({ token, key, window, counter }); +} + +function buildKeyUri({ + secret, + app = 'IT-Tools', + account = 'it-tools.haokudelei.com(user)', + algorithm = 'SHA1', + digits = 6, + period = 30, +}: { + secret: string + app?: string + account?: string + algorithm?: string + digits?: number + period?: number +}) { + const params = { + issuer: app, + secret, + algorithm, + digits, + period, + }; + + const paramsString = _(params) + .map((value, key) => `${encodeURIComponent(key)}=${encodeURIComponent(value)}`) + .join('&'); + + return `otpauth://totp/${encodeURIComponent(app)}:${encodeURIComponent(account)}?${paramsString}`; +} + +function generateSecret() { + return createToken({ length: 16, alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567' }); +} diff --git a/zh-CN/src/tools/otp-code-generator-and-validator/token-display.vue b/zh-CN/src/tools/otp-code-generator-and-validator/token-display.vue new file mode 100644 index 00000000..7870b6c3 --- /dev/null +++ b/zh-CN/src/tools/otp-code-generator-and-validator/token-display.vue @@ -0,0 +1,22 @@ + + + diff --git a/zh-CN/src/tools/password-strength-analyser/index.ts b/zh-CN/src/tools/password-strength-analyser/index.ts new file mode 100644 index 00000000..82ff558a --- /dev/null +++ b/zh-CN/src/tools/password-strength-analyser/index.ts @@ -0,0 +1,12 @@ +import { defineTool } from '../tool'; +import PasswordIcon from '~icons/mdi/form-textbox-password'; + +export const tool = defineTool({ + name: '密码强度分析器', + path: '/password-strength-analyser', + description: '分析密码的暴力破解所需时间,仅客户端运算,此工具不会与服务器通信,且不会保存密码信息。', + keywords: ['密码', '强度', '分析器'], + component: () => import('./password-strength-analyser.vue'), + icon: PasswordIcon, + createdAt: new Date('2023-06-24'), +}); diff --git a/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.e2e.spec.ts b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.e2e.spec.ts new file mode 100644 index 00000000..9a3c9319 --- /dev/null +++ b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.e2e.spec.ts @@ -0,0 +1,19 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Password strength analyser', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/password-strength-analyser'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Password strength analyser - IT Tools'); + }); + + test('Computes the brute force attack time of a password', async ({ page }) => { + await page.getByTestId('password-input').fill('ABCabc123!@#'); + + const crackDuration = await page.getByTestId('crack-duration').textContent(); + + expect(crackDuration).toEqual('15,091 millennia, 3 centuries'); + }); +}); diff --git a/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.test.ts b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.test.ts new file mode 100644 index 00000000..cdcecbe0 --- /dev/null +++ b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.test.ts @@ -0,0 +1,31 @@ +import { describe, expect, it } from 'vitest'; +import { getCharsetLength } from './password-strength-analyser.service'; + +describe('password-strength-analyser-and-crack-time-estimation', () => { + describe('getCharsetLength', () => { + describe('computes the charset length of a given password', () => { + it('the charset length is 26 when the password is only lowercase characters', () => { + expect(getCharsetLength({ password: 'abcdefghijklmnopqrstuvwxyz' })).toBe(26); + }); + it('the charset length is 26 when the password is only uppercase characters', () => { + expect(getCharsetLength({ password: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' })).toBe(26); + }); + it('the charset length is 10 when the password is only digits', () => { + expect(getCharsetLength({ password: '0123456789' })).toBe(10); + }); + it('the charset length is 32 when the password is only special characters', () => { + expect(getCharsetLength({ password: '-_(' })).toBe(32); + }); + it('the charset length is 0 when the password is empty', () => { + expect(getCharsetLength({ password: '' })).toBe(0); + }); + + it('the charset length is 36 when the password is lowercase characters and digits', () => { + expect(getCharsetLength({ password: 'abcdefghijklmnopqrstuvwxyz0123456789' })).toBe(36); + }); + it('the charset length is 95 when the password is lowercase characters, uppercase characters, digits and special characters', () => { + expect(getCharsetLength({ password: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_(' })).toBe(94); + }); + }); + }); +}); diff --git a/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.ts b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.ts new file mode 100644 index 00000000..a4e6524b --- /dev/null +++ b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.service.ts @@ -0,0 +1,94 @@ +import _ from 'lodash'; + +export { getPasswordCrackTimeEstimation, getCharsetLength }; + +function prettifyExponentialNotation(exponentialNotation: number) { + const [base, exponent] = exponentialNotation.toString().split('e'); + const baseAsNumber = Number.parseFloat(base); + const prettyBase = baseAsNumber % 1 === 0 ? baseAsNumber.toLocaleString() : baseAsNumber.toFixed(2); + return exponent ? `${prettyBase}e${exponent}` : prettyBase; +} + +function getHumanFriendlyDuration({ seconds }: { seconds: number }) { + if (seconds <= 0.001) { + return '立即'; + } + + if (seconds <= 1) { + return '不到一秒'; + } + + const timeUnits = [ + { unit: 'century', secondsInUnit: 3153600000, format: prettifyExponentialNotation, plural: '世纪' }, + { unit: 'year', secondsInUnit: 31536000, plural: '年' }, + { unit: 'month', secondsInUnit: 2592000, plural: '个月' }, + { unit: 'week', secondsInUnit: 604800, plural: '周' }, + { unit: 'day', secondsInUnit: 86400, plural: '天' }, + { unit: 'hour', secondsInUnit: 3600, plural: '小时' }, + { unit: 'minute', secondsInUnit: 60, plural: '分钟' }, + { unit: 'second', secondsInUnit: 1, plural: '秒' }, + ]; + + return _.chain(timeUnits) + .map(({ unit, secondsInUnit, plural, format = _.identity }) => { + const quantity = Math.floor(seconds / secondsInUnit); + seconds %= secondsInUnit; + + if (quantity <= 0) { + return undefined; + } + + const formattedQuantity = format(quantity); + return `${formattedQuantity} ${quantity > 1 ? plural : unit}`; + }) + .compact() + .take(2) + .join(', ') + .value(); +} + +function getPasswordCrackTimeEstimation({ password, guessesPerSecond = 1e9 }: { password: string; guessesPerSecond?: number }) { + const charsetLength = getCharsetLength({ password }); + const passwordLength = password.length; + + const entropy = password === '' ? 0 : Math.log2(charsetLength) * passwordLength; + + const secondsToCrack = 2 ** entropy / guessesPerSecond; + + const crackDurationFormatted = getHumanFriendlyDuration({ seconds: secondsToCrack }); + + const score = Math.min(entropy / 128, 1); + + return { + entropy, + charsetLength, + passwordLength, + crackDurationFormatted, + secondsToCrack, + score, + }; +} + +function getCharsetLength({ password }: { password: string }) { + const hasLowercase = /[a-z]/.test(password); + const hasUppercase = /[A-Z]/.test(password); + const hasDigits = /\d/.test(password); + const hasSpecialChars = /\W|_/.test(password); + + let charsetLength = 0; + + if (hasLowercase) { + charsetLength += 26; + } + if (hasUppercase) { + charsetLength += 26; + } + if (hasDigits) { + charsetLength += 10; + } + if (hasSpecialChars) { + charsetLength += 32; + } + + return charsetLength; +} diff --git a/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.vue b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.vue new file mode 100644 index 00000000..4c4af1b2 --- /dev/null +++ b/zh-CN/src/tools/password-strength-analyser/password-strength-analyser.vue @@ -0,0 +1,62 @@ + + + diff --git a/zh-CN/src/tools/pdf-signature-checker/components/pdf-signature-details.vue b/zh-CN/src/tools/pdf-signature-checker/components/pdf-signature-details.vue new file mode 100644 index 00000000..c39f6168 --- /dev/null +++ b/zh-CN/src/tools/pdf-signature-checker/components/pdf-signature-details.vue @@ -0,0 +1,99 @@ + + + diff --git a/zh-CN/src/tools/pdf-signature-checker/index.ts b/zh-CN/src/tools/pdf-signature-checker/index.ts new file mode 100644 index 00000000..fefa379f --- /dev/null +++ b/zh-CN/src/tools/pdf-signature-checker/index.ts @@ -0,0 +1,12 @@ +import { defineTool } from '../tool'; +import FileCertIcon from '~icons/mdi/file-certificate-outline'; + +export const tool = defineTool({ + name: 'PDF签名检查器', + path: '/pdf-signature-checker', + description: '验证PDF文件的签名,用于确定文件内容自签名以来是否被更改过。', + keywords: ['pdf', 'signature', 'checker', 'verify', 'validate', 'sign'], + component: () => import('./pdf-signature-checker.vue'), + icon: FileCertIcon, + createdAt: new Date('2023-12-09'), +}); diff --git a/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.e2e.spec.ts b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.e2e.spec.ts new file mode 100644 index 00000000..8e9a2870 --- /dev/null +++ b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.e2e.spec.ts @@ -0,0 +1,11 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Pdf signature checker', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/pdf-signature-checker'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('PDF signature checker - IT Tools'); + }); +}); diff --git a/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.types.ts b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.types.ts new file mode 100644 index 00000000..6932509c --- /dev/null +++ b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.types.ts @@ -0,0 +1,39 @@ +export interface SignatureInfo { + verified: boolean + authenticity: boolean + integrity: boolean + expired: boolean + meta: { + certs: { + clientCertificate?: boolean + issuedBy: { + commonName: string + organizationalUnitName?: string + organizationName: string + countryName?: string + localityName?: string + stateOrProvinceName?: string + } + issuedTo: { + commonName: string + serialNumber?: string + organizationalUnitName?: string + organizationName: string + countryName?: string + localityName?: string + stateOrProvinceName?: string + } + validityPeriod: { + notBefore: string + notAfter: string + } + pemCertificate: string + }[] + signatureMeta: { + reason: string + contactInfo: string | null + location: string + name: string | null + } + } +} diff --git a/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.vue b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.vue new file mode 100644 index 00000000..c8ad2e27 --- /dev/null +++ b/zh-CN/src/tools/pdf-signature-checker/pdf-signature-checker.vue @@ -0,0 +1,59 @@ + + + diff --git a/zh-CN/src/tools/percentage-calculator/index.ts b/zh-CN/src/tools/percentage-calculator/index.ts new file mode 100644 index 00000000..bd64f0d9 --- /dev/null +++ b/zh-CN/src/tools/percentage-calculator/index.ts @@ -0,0 +1,12 @@ +import { Percentage } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '百分比计算器', + path: '/percentage-calculator', + description: 'Easily calculate percentages from a value to another value, or from a percentage to a value.', + keywords: ['percentage', 'calculator', 'calculate', 'value', 'number', '%'], + component: () => import('./percentage-calculator.vue'), + icon: Percentage, + createdAt: new Date('2023-06-18'), +}); diff --git a/zh-CN/src/tools/percentage-calculator/percentage-calculator.e2e.spec.ts b/zh-CN/src/tools/percentage-calculator/percentage-calculator.e2e.spec.ts new file mode 100644 index 00000000..a8ef2d48 --- /dev/null +++ b/zh-CN/src/tools/percentage-calculator/percentage-calculator.e2e.spec.ts @@ -0,0 +1,36 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Percentage calculator', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/percentage-calculator'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Percentage calculator - IT Tools'); + }); + + test('Correctly works out percentages', async ({ page }) => { + await page.getByTestId('percentageX').locator('input').fill('123'); + await page.getByTestId('percentageY').locator('input').fill('456'); + await expect(page.getByTestId('percentageResult').locator('input')).toHaveValue('560.88'); + + await page.getByTestId('numberX').locator('input').fill('123'); + await page.getByTestId('numberY').locator('input').fill('456'); + await expect(page.getByTestId('numberResult').locator('input')).toHaveValue('26.973684210526315'); + + await page.getByTestId('numberFrom').locator('input').fill('123'); + await page.getByTestId('numberTo').locator('input').fill('456'); + await expect(page.getByTestId('percentageIncreaseDecrease').locator('input')).toHaveValue('270.7317073170732'); + }); + + test('Displays empty results for incomplete input', async ({ page }) => { + await page.getByTestId('percentageX').locator('input').fill('123'); + await expect(page.getByTestId('percentageResult').locator('input')).toHaveValue(''); + + await page.getByTestId('numberY').locator('input').fill('456'); + await expect(page.getByTestId('numberResult').locator('input')).toHaveValue(''); + + await page.getByTestId('numberFrom').locator('input').fill('123'); + await expect(page.getByTestId('percentageIncreaseDecrease').locator('input')).toHaveValue(''); + }); +}); diff --git a/zh-CN/src/tools/percentage-calculator/percentage-calculator.vue b/zh-CN/src/tools/percentage-calculator/percentage-calculator.vue new file mode 100644 index 00000000..c0362d20 --- /dev/null +++ b/zh-CN/src/tools/percentage-calculator/percentage-calculator.vue @@ -0,0 +1,78 @@ + + + diff --git a/zh-CN/src/tools/phone-parser-and-formatter/index.ts b/zh-CN/src/tools/phone-parser-and-formatter/index.ts new file mode 100644 index 00000000..cf152503 --- /dev/null +++ b/zh-CN/src/tools/phone-parser-and-formatter/index.ts @@ -0,0 +1,25 @@ +import { Phone } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '电话号码解析和格式化', + path: '/phone-parser-and-formatter', + description: + 'Parse, validate and format phone numbers. Get information about the phone number, like the country code, type, etc.', + keywords: [ + 'phone', + 'parser', + 'formatter', + 'validate', + 'format', + 'number', + 'telephone', + 'mobile', + 'cell', + 'international', + 'national', + ], + component: () => import('./phone-parser-and-formatter.vue'), + icon: Phone, + createdAt: new Date('2023-05-01'), +}); diff --git a/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.e2e.spec.ts b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.e2e.spec.ts new file mode 100644 index 00000000..68a2334b --- /dev/null +++ b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.e2e.spec.ts @@ -0,0 +1,11 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Phone parser and formatter', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/phone-parser-and-formatter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Phone parser and formatter - IT Tools'); + }); +}); diff --git a/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.models.ts b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.models.ts new file mode 100644 index 00000000..0a0fb63e --- /dev/null +++ b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.models.ts @@ -0,0 +1,47 @@ +import type { CountryCode, NumberType } from 'libphonenumber-js/types'; +import lookup from 'country-code-lookup'; + +export { formatTypeToHumanReadable, getFullCountryName, getDefaultCountryCode }; + +const typeToLabel: Record, string> = { + MOBILE: 'Mobile', + FIXED_LINE: 'Fixed line', + FIXED_LINE_OR_MOBILE: 'Fixed line or mobile', + PERSONAL_NUMBER: 'Personal number', + PREMIUM_RATE: 'Premium rate', + SHARED_COST: 'Shared cost', + TOLL_FREE: 'Toll free', + UAN: 'Universal access number', + VOICEMAIL: 'Voicemail', + VOIP: 'VoIP', + PAGER: 'Pager', +}; + +function formatTypeToHumanReadable(type: NumberType): string | undefined { + if (!type) { + return undefined; + } + + return typeToLabel[type]; +} + +function getFullCountryName(countryCode: string | undefined) { + if (!countryCode) { + return undefined; + } + + return lookup.byIso(countryCode)?.country; +} + +function getDefaultCountryCode({ + locale = window.navigator.language, + defaultCode = 'FR', +}: { locale?: string; defaultCode?: CountryCode } = {}): CountryCode { + const countryCode = locale.split('-')[1]?.toUpperCase(); + + if (!countryCode) { + return defaultCode; + } + + return (lookup.byIso(countryCode)?.iso2 ?? defaultCode) as CountryCode; +} diff --git a/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.vue b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.vue new file mode 100644 index 00000000..5bc67780 --- /dev/null +++ b/zh-CN/src/tools/phone-parser-and-formatter/phone-parser-and-formatter.vue @@ -0,0 +1,114 @@ + + + diff --git a/zh-CN/src/tools/qr-code-generator/index.ts b/zh-CN/src/tools/qr-code-generator/index.ts new file mode 100644 index 00000000..60281bbd --- /dev/null +++ b/zh-CN/src/tools/qr-code-generator/index.ts @@ -0,0 +1,11 @@ +import { Qrcode } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '二维码生成器', + path: '/qrcode-generator', + description: '生成并下载URL或文本的QR码', + keywords: ['qr', 'code', 'generator', 'square', 'color', 'link', 'low', 'medium', 'quartile', 'high', 'transparent'], + component: () => import('./qr-code-generator.vue'), + icon: Qrcode, +}); diff --git a/zh-CN/src/tools/qr-code-generator/qr-code-generator.vue b/zh-CN/src/tools/qr-code-generator/qr-code-generator.vue new file mode 100644 index 00000000..bc609cf5 --- /dev/null +++ b/zh-CN/src/tools/qr-code-generator/qr-code-generator.vue @@ -0,0 +1,95 @@ + + + diff --git a/zh-CN/src/tools/qr-code-generator/useQRCode.ts b/zh-CN/src/tools/qr-code-generator/useQRCode.ts new file mode 100644 index 00000000..5aa54500 --- /dev/null +++ b/zh-CN/src/tools/qr-code-generator/useQRCode.ts @@ -0,0 +1,37 @@ +import { type MaybeRef, get } from '@vueuse/core'; +import QRCode, { type QRCodeErrorCorrectionLevel, type QRCodeToDataURLOptions } from 'qrcode'; +import { isRef, ref, watch } from 'vue'; + +export function useQRCode({ + text, + color: { background, foreground }, + errorCorrectionLevel, + options, +}: { + text: MaybeRef + color: { foreground: MaybeRef; background: MaybeRef } + errorCorrectionLevel?: MaybeRef + options?: QRCodeToDataURLOptions +}) { + const qrcode = ref(''); + + watch( + [text, background, foreground, errorCorrectionLevel].filter(isRef), + async () => { + if (get(text)) { + qrcode.value = await QRCode.toDataURL(get(text).trim(), { + color: { + dark: get(foreground), + light: get(background), + ...options?.color, + }, + errorCorrectionLevel: get(errorCorrectionLevel) ?? 'M', + ...options, + }); + } + }, + { immediate: true }, + ); + + return { qrcode }; +} diff --git a/zh-CN/src/tools/random-port-generator/index.ts b/zh-CN/src/tools/random-port-generator/index.ts new file mode 100644 index 00000000..febdc2a4 --- /dev/null +++ b/zh-CN/src/tools/random-port-generator/index.ts @@ -0,0 +1,11 @@ +import { Server } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Random port generator', + path: '/random-port-generator', + description: 'Generate random port numbers outside of the range of "known" ports (0-1023).', + keywords: ['system', 'port', 'lan', 'generator', 'random', 'development', 'computer'], + component: () => import('./random-port-generator.vue'), + icon: Server, +}); diff --git a/zh-CN/src/tools/random-port-generator/random-port-generator.model.ts b/zh-CN/src/tools/random-port-generator/random-port-generator.model.ts new file mode 100644 index 00000000..b73871d2 --- /dev/null +++ b/zh-CN/src/tools/random-port-generator/random-port-generator.model.ts @@ -0,0 +1,3 @@ +import { randIntFromInterval } from '@/utils/random'; + +export const generatePort = () => randIntFromInterval(1024, 65535); diff --git a/zh-CN/src/tools/random-port-generator/random-port-generator.vue b/zh-CN/src/tools/random-port-generator/random-port-generator.vue new file mode 100644 index 00000000..89ab2172 --- /dev/null +++ b/zh-CN/src/tools/random-port-generator/random-port-generator.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/zh-CN/src/tools/rmb-d/index.ts b/zh-CN/src/tools/rmb-d/index.ts new file mode 100644 index 00000000..575e61e1 --- /dev/null +++ b/zh-CN/src/tools/rmb-d/index.ts @@ -0,0 +1,12 @@ +import { CurrencyYen } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '人民币大写转换器', + path: '/rmb-d', + description: '人民币大写转换工具,提供在线人民币大写转换服务', + keywords: ['人民币', '大写', '转换'], + component: () => import('./rmb-d.vue'), + icon: CurrencyYen, + createdAt: new Date('2023-12-11'), +}); \ No newline at end of file diff --git a/zh-CN/src/tools/rmb-d/rmb-d.models.ts b/zh-CN/src/tools/rmb-d/rmb-d.models.ts new file mode 100644 index 00000000..1fbc85f9 --- /dev/null +++ b/zh-CN/src/tools/rmb-d/rmb-d.models.ts @@ -0,0 +1,66 @@ +export { rmb }; + +const numbers = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']; +const leftUnits = ['元', '拾', '佰', '仟', '万', '拾', '佰', '仟', '亿', '拾', '佰', '仟', '万', '拾', '佰', '仟', '万']; +const rightUnits = ['角', '分']; + +function rmb(value: number) { + if (Object.prototype.toString.call(value) === '[object Number]' && value >= 0.01) { + const fragment: any = []; + const [leftValues, rightValues] = String(value).split('.').map(part => part.split('').map(i => Number(i))); + + const leftValueLength = leftValues.length; // 整数部分位数 + const unit1 = leftValueLength - 1; // 元位 + const unit5 = leftValueLength - 5; // 万位 + const unit9 = leftValueLength - 9; // 亿位 + const unit13 = leftValueLength - 13; // 万亿位 + const unit17 = leftValueLength - 17; // 万万亿位 + const hasLeftValue = leftValueLength > 1 || leftValues[0] > 0; // 整数部分不为0 + const hasRightValue = rightValues && (rightValues[0] > 0 || rightValues[1] > 0); // 小数部分不为0 + const has678Value = leftValues[unit5 - 1] > 0 || leftValues[unit5 - 2] > 0 || leftValues[unit5 - 3] > 0; // 拾万、佰万或仟万位不为0 + const overflowIndex = leftValueLength - leftUnits.length; // 溢出位索引 + + let leftUnitIndex = 0; + for (let i = leftValueLength - 1; i >= 0; i--) { + if (leftValues[i] === 0 && (i === unit5 || i === unit9 || i === unit13 || i === unit17) && leftValues[i + 1] > 0) { + // 当前位为0,且当前位为万、亿、万亿、万万亿,且低一位不为0 + fragment.unshift({type:'number', value:numbers[leftValues[i]]}); + } + + if ((leftValues[i] > 0) || (i === unit1 && hasLeftValue) || (i === unit5 && has678Value) || i === unit9 || i === unit13 || i === unit17) { + // 元、万、亿、万亿、万万亿或当前位不为0 + fragment.unshift({type:'unit', value:leftUnits[leftUnitIndex]}); + } + + if (leftValues[i] > 0 || (leftValues[i + 1] > 0 && i !== unit5 && i !== unit9 && i !== unit13 && i !== unit17) || i <= overflowIndex) { + // 当前位不为0,或低一位不为0且当前位非万、亿、万亿、万万亿,或当前为溢出位 + fragment.unshift({type:'number', value:numbers[leftValues[i]]}); + } + + leftUnitIndex++; + } + + if (hasRightValue) { + // 角 + if (rightValues[0] > 0 || hasLeftValue) { // 角位不为0,或整数位不为0 + fragment.push({type:'number', value:numbers[rightValues[0]]}); + } + if (rightValues[0] > 0) { // 角位不为0 + fragment.push({type:'unit', value:rightUnits[0]}); + } + // 分 + if (rightValues[1] > 0) { + fragment.push({type:'number', value:numbers[rightValues[1]]}); + fragment.push({type:'unit', value:rightUnits[1]}); + } + } else { // 没有小数位 + fragment.push({type:'cut', value:'整'}); + } + return fragment; + } + return [ + {type:'number', value:'零'}, + {type:'unit', value:'元'}, + {type:'cut', value:'整'}, + ]; +}; \ No newline at end of file diff --git a/zh-CN/src/tools/rmb-d/rmb-d.vue b/zh-CN/src/tools/rmb-d/rmb-d.vue new file mode 100644 index 00000000..0325c919 --- /dev/null +++ b/zh-CN/src/tools/rmb-d/rmb-d.vue @@ -0,0 +1,43 @@ + + + + + \ No newline at end of file diff --git a/zh-CN/src/tools/roman-numeral-converter/index.ts b/zh-CN/src/tools/roman-numeral-converter/index.ts new file mode 100644 index 00000000..fba4b32f --- /dev/null +++ b/zh-CN/src/tools/roman-numeral-converter/index.ts @@ -0,0 +1,11 @@ +import { LetterX } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '罗马数字 ↔ 阿拉伯数字', + path: '/roman-numeral-converter', + description: '罗马数字 和 阿拉伯数字 互转', + keywords: ['罗马', '数字', '转', '转换', '互转', '转换器', 'X', 'I', 'V', 'L', 'C', 'D', 'M'], + component: () => import('./roman-numeral-converter.vue'), + icon: LetterX, +}); diff --git a/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.test.ts b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.test.ts new file mode 100644 index 00000000..86dccc92 --- /dev/null +++ b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.test.ts @@ -0,0 +1,75 @@ +import { describe, expect, it } from 'vitest'; +import { arabicToRoman } from './roman-numeral-converter.service'; + +describe('roman-numeral-converter', () => { + describe('arabicToRoman', () => { + it('should convert numbers lower than 1 to empty string', () => { + expect(arabicToRoman(-100)).toEqual(''); + expect(arabicToRoman(-42)).toEqual(''); + expect(arabicToRoman(-26)).toEqual(''); + expect(arabicToRoman(-10)).toEqual(''); + expect(arabicToRoman(0)).toEqual(''); + expect(arabicToRoman(0.5)).toEqual(''); + expect(arabicToRoman(0.9)).toEqual(''); + }); + + it('should convert numbers greater than 3999 to empty string', () => { + expect(arabicToRoman(3999.1)).toEqual(''); + expect(arabicToRoman(4000)).toEqual(''); + expect(arabicToRoman(10000)).toEqual(''); + }); + + it('should convert floating points number to the lower integer in roman version', () => { + expect(arabicToRoman(1.1)).toEqual('I'); + expect(arabicToRoman(1.9)).toEqual('I'); + expect(arabicToRoman(17.6)).toEqual('XVII'); + expect(arabicToRoman(29.999)).toEqual('XXIX'); + }); + + it('should convert positive integers to roman numbers', () => { + expect(arabicToRoman(1)).toEqual('I'); + expect(arabicToRoman(2)).toEqual('II'); + expect(arabicToRoman(3)).toEqual('III'); + expect(arabicToRoman(4)).toEqual('IV'); + expect(arabicToRoman(5)).toEqual('V'); + expect(arabicToRoman(6)).toEqual('VI'); + expect(arabicToRoman(7)).toEqual('VII'); + expect(arabicToRoman(8)).toEqual('VIII'); + expect(arabicToRoman(9)).toEqual('IX'); + expect(arabicToRoman(10)).toEqual('X'); + expect(arabicToRoman(11)).toEqual('XI'); + expect(arabicToRoman(12)).toEqual('XII'); + expect(arabicToRoman(13)).toEqual('XIII'); + expect(arabicToRoman(14)).toEqual('XIV'); + expect(arabicToRoman(15)).toEqual('XV'); + expect(arabicToRoman(16)).toEqual('XVI'); + expect(arabicToRoman(17)).toEqual('XVII'); + expect(arabicToRoman(18)).toEqual('XVIII'); + expect(arabicToRoman(19)).toEqual('XIX'); + expect(arabicToRoman(20)).toEqual('XX'); + expect(arabicToRoman(21)).toEqual('XXI'); + expect(arabicToRoman(24)).toEqual('XXIV'); + expect(arabicToRoman(28)).toEqual('XXVIII'); + expect(arabicToRoman(29)).toEqual('XXIX'); + expect(arabicToRoman(30)).toEqual('XXX'); + expect(arabicToRoman(40)).toEqual('XL'); + expect(arabicToRoman(50)).toEqual('L'); + expect(arabicToRoman(60)).toEqual('LX'); + expect(arabicToRoman(70)).toEqual('LXX'); + expect(arabicToRoman(80)).toEqual('LXXX'); + expect(arabicToRoman(90)).toEqual('XC'); + expect(arabicToRoman(100)).toEqual('C'); + expect(arabicToRoman(200)).toEqual('CC'); + expect(arabicToRoman(300)).toEqual('CCC'); + expect(arabicToRoman(400)).toEqual('CD'); + expect(arabicToRoman(500)).toEqual('D'); + expect(arabicToRoman(600)).toEqual('DC'); + expect(arabicToRoman(700)).toEqual('DCC'); + expect(arabicToRoman(800)).toEqual('DCCC'); + expect(arabicToRoman(900)).toEqual('CM'); + expect(arabicToRoman(999)).toEqual('CMXCIX'); + expect(arabicToRoman(1000)).toEqual('M'); + expect(arabicToRoman(2000)).toEqual('MM'); + }); + }); +}); diff --git a/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.ts b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.ts new file mode 100644 index 00000000..30493919 --- /dev/null +++ b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.service.ts @@ -0,0 +1,45 @@ +export const MIN_ARABIC_TO_ROMAN = 1; +export const MAX_ARABIC_TO_ROMAN = 3999; +export function arabicToRoman(num: number) { + if (num < MIN_ARABIC_TO_ROMAN || num > MAX_ARABIC_TO_ROMAN) { + return ''; + } + + const lookup: { [key: string]: number } = { + M: 1000, + CM: 900, + D: 500, + CD: 400, + C: 100, + XC: 90, + L: 50, + XL: 40, + X: 10, + IX: 9, + V: 5, + IV: 4, + I: 1, + }; + let roman = ''; + for (const i in lookup) { + while (num >= lookup[i]) { + roman += i; + num -= lookup[i]; + } + } + return roman; +} + +const ROMAN_NUMBER_REGEX = /^M{0,3}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})$/; + +export function isValidRomanNumber(romanNumber: string) { + return ROMAN_NUMBER_REGEX.test(romanNumber); +} + +export function romanToArabic(s: string) { + if (!isValidRomanNumber(s)) { + return null; + } + const map: { [key: string]: number } = { I: 1, V: 5, X: 10, L: 50, C: 100, D: 500, M: 1000 }; + return [...s].reduce((r, c, i, s) => (map[s[i + 1]] > map[c] ? r - map[c] : r + map[c]), 0); +} diff --git a/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.vue b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.vue new file mode 100644 index 00000000..5924d619 --- /dev/null +++ b/zh-CN/src/tools/roman-numeral-converter/roman-numeral-converter.vue @@ -0,0 +1,76 @@ + + + + + diff --git a/zh-CN/src/tools/rsa-key-pair-generator/index.ts b/zh-CN/src/tools/rsa-key-pair-generator/index.ts new file mode 100644 index 00000000..b39d6545 --- /dev/null +++ b/zh-CN/src/tools/rsa-key-pair-generator/index.ts @@ -0,0 +1,11 @@ +import { Certificate } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'RSA 密钥对生成器', + path: '/rsa-key-pair-generator', + description: '生成新的随机 RSA 私钥和 pem 公钥证书。', + keywords: ['rsa', '密钥', '密钥对', '生成', '公钥', '私钥', 'secret', 'ssh', 'pem'], + component: () => import('./rsa-key-pair-generator.vue'), + icon: Certificate, +}); diff --git a/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.service.ts b/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.service.ts new file mode 100644 index 00000000..1cb1f1ae --- /dev/null +++ b/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.service.ts @@ -0,0 +1,26 @@ +import { pki } from 'node-forge'; +import workerScript from 'node-forge/dist/prime.worker.min?url'; + +export { generateKeyPair }; + +function generateRawPairs({ bits = 2048 }) { + return new Promise((resolve, reject) => + pki.rsa.generateKeyPair({ bits, workerScript }, (err, keyPair) => { + if (err) { + reject(err); + return; + } + + resolve(keyPair); + }), + ); +} + +async function generateKeyPair(config: { bits?: number } = {}) { + const { privateKey, publicKey } = await generateRawPairs(config); + + return { + publicKeyPem: pki.publicKeyToPem(publicKey), + privateKeyPem: pki.privateKeyToPem(privateKey), + }; +} diff --git a/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue b/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue new file mode 100644 index 00000000..d198d75e --- /dev/null +++ b/zh-CN/src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue @@ -0,0 +1,49 @@ + + + diff --git a/zh-CN/src/tools/slugify-string/index.ts b/zh-CN/src/tools/slugify-string/index.ts new file mode 100644 index 00000000..8dabcdb1 --- /dev/null +++ b/zh-CN/src/tools/slugify-string/index.ts @@ -0,0 +1,11 @@ +import { AbcRound } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Slugify string', + path: '/slugify-string', + description: 'Make a string url, filename and id safe.', + keywords: ['slugify', 'string', 'escape', 'emoji', 'special', 'character', 'space', 'trim'], + component: () => import('./slugify-string.vue'), + icon: AbcRound, +}); diff --git a/zh-CN/src/tools/slugify-string/slugify-string.vue b/zh-CN/src/tools/slugify-string/slugify-string.vue new file mode 100644 index 00000000..f7666e30 --- /dev/null +++ b/zh-CN/src/tools/slugify-string/slugify-string.vue @@ -0,0 +1,23 @@ + + + diff --git a/zh-CN/src/tools/sql-prettify/index.ts b/zh-CN/src/tools/sql-prettify/index.ts new file mode 100644 index 00000000..6b38282a --- /dev/null +++ b/zh-CN/src/tools/sql-prettify/index.ts @@ -0,0 +1,26 @@ +import { Database } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'SQL 格式化', + path: '/sql-prettify', + description: '在线格式化和美化 SQL 查询语句(支持各种 SQL 语句)。', + keywords: [ + 'sql', + '格式化', + '美化', + 'GCP BigQuery', + 'IBM DB2', + 'Apache Hive', + 'MariaDB', + 'MySQL', + 'Couchbase N1QL', + 'Oracle PL/SQL', + 'PostgreSQL', + 'Amazon Redshift', + 'Spark', + 'SQL Server Transact-SQL', + ], + component: () => import('./sql-prettify.vue'), + icon: Database, +}); diff --git a/zh-CN/src/tools/sql-prettify/sql-prettify.vue b/zh-CN/src/tools/sql-prettify/sql-prettify.vue new file mode 100644 index 00000000..09d0235c --- /dev/null +++ b/zh-CN/src/tools/sql-prettify/sql-prettify.vue @@ -0,0 +1,93 @@ + + + + + diff --git a/zh-CN/src/tools/string-obfuscator/index.ts b/zh-CN/src/tools/string-obfuscator/index.ts new file mode 100644 index 00000000..5dde5c2b --- /dev/null +++ b/zh-CN/src/tools/string-obfuscator/index.ts @@ -0,0 +1,12 @@ +import { EyeOff } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '字符串脱敏', + path: '/string-obfuscator', + description: '混淆字符串(如手机号、车牌号或秘钥),保留格式的情况下进行脱敏。', + keywords: ['字符串', '脱敏', '手机号', '车牌号', '隐藏', '秘钥', '格式'], + component: () => import('./string-obfuscator.vue'), + icon: EyeOff, + createdAt: new Date('2023-08-16'), +}); diff --git a/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.test.ts b/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.test.ts new file mode 100644 index 00000000..08d3fc24 --- /dev/null +++ b/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.test.ts @@ -0,0 +1,20 @@ +import { describe, expect, it } from 'vitest'; +import { obfuscateString } from './string-obfuscator.model'; + +describe('string-obfuscator model', () => { + describe('obfuscateString', () => { + it('the characters in the middle of the string are replaced by the replacement character', () => { + expect(obfuscateString('1234567890')).toBe('1234******'); + expect(obfuscateString('1234567890', { replacementChar: 'x' })).toBe('1234xxxxxx'); + expect(obfuscateString('1234567890', { keepFirst: 5 })).toBe('12345*****'); + expect(obfuscateString('1234567890', { keepFirst: 0, keepLast: 5 })).toBe('*****67890'); + expect(obfuscateString('1234567890', { keepFirst: 5, keepLast: 5 })).toBe('1234567890'); + expect(obfuscateString('1234567890', { keepFirst: 2, keepLast: 2, replacementChar: 'x' })).toBe('12xxxxxx90'); + }); + + it('by default, the spaces are kept, they can be removed with the keepSpace option', () => { + expect(obfuscateString('12345 67890')).toBe('1234* *****'); + expect(obfuscateString('12345 67890', { keepSpace: false })).toBe('1234*******'); + }); + }); +}); diff --git a/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.ts b/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.ts new file mode 100644 index 00000000..7f56dd1e --- /dev/null +++ b/zh-CN/src/tools/string-obfuscator/string-obfuscator.model.ts @@ -0,0 +1,35 @@ +import { get } from '@vueuse/core'; +import { type MaybeRef, computed } from 'vue'; + +export { obfuscateString, useObfuscateString }; + +function obfuscateString( + str: string, + { replacementChar = '*', keepFirst = 4, keepLast = 0, keepSpace = true }: { replacementChar?: string; keepFirst?: number; keepLast?: number; keepSpace?: boolean } = {}): string { + return str + .split('') + .map((char, index, array) => { + if (keepSpace && char === ' ') { + return char; + } + + return (index < keepFirst || index >= array.length - keepLast) ? char : replacementChar; + }) + .join(''); +} + +function useObfuscateString( + str: MaybeRef, + config: { replacementChar?: MaybeRef; keepFirst?: MaybeRef; keepLast?: MaybeRef; keepSpace?: MaybeRef } = {}, + +) { + return computed(() => obfuscateString( + get(str), + { + replacementChar: get(config.replacementChar), + keepFirst: get(config.keepFirst), + keepLast: get(config.keepLast), + keepSpace: get(config.keepSpace), + }, + )); +} diff --git a/zh-CN/src/tools/string-obfuscator/string-obfuscator.vue b/zh-CN/src/tools/string-obfuscator/string-obfuscator.vue new file mode 100644 index 00000000..4d9c677a --- /dev/null +++ b/zh-CN/src/tools/string-obfuscator/string-obfuscator.vue @@ -0,0 +1,47 @@ + + + diff --git a/zh-CN/src/tools/svg-placeholder-generator/index.ts b/zh-CN/src/tools/svg-placeholder-generator/index.ts new file mode 100644 index 00000000..39a26a23 --- /dev/null +++ b/zh-CN/src/tools/svg-placeholder-generator/index.ts @@ -0,0 +1,11 @@ +import { ImageOutlined } from '@vicons/material'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'SVG 图片占位生成器', + path: '/svg-placeholder-generator', + description: '生成用于应用程序中占位的 svg 图片。', + keywords: ['svg', '占位', '生成', '图片', '尺寸', '样机'], + component: () => import('./svg-placeholder-generator.vue'), + icon: ImageOutlined, +}); diff --git a/zh-CN/src/tools/svg-placeholder-generator/svg-placeholder-generator.vue b/zh-CN/src/tools/svg-placeholder-generator/svg-placeholder-generator.vue new file mode 100644 index 00000000..fa25763b --- /dev/null +++ b/zh-CN/src/tools/svg-placeholder-generator/svg-placeholder-generator.vue @@ -0,0 +1,94 @@ + + + + + diff --git a/zh-CN/src/tools/temperature-converter/index.ts b/zh-CN/src/tools/temperature-converter/index.ts new file mode 100644 index 00000000..cf309761 --- /dev/null +++ b/zh-CN/src/tools/temperature-converter/index.ts @@ -0,0 +1,23 @@ +import { Temperature } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '温度转换器', + path: '/temperature-converter', + description: '开尔文、摄氏度、华氏度、兰金、德莱尔、牛顿、雷奥穆尔和罗默温度转换。', + keywords: [ + '温度', + '转换器', + '度', + '开尔文', + '摄氏度', + '华氏度', + '兰金', + '德莱尔', + '牛顿', + '雷奥穆尔', + '罗默', + ], + component: () => import('./temperature-converter.vue'), + icon: Temperature, +}); diff --git a/zh-CN/src/tools/temperature-converter/temperature-converter.models.ts b/zh-CN/src/tools/temperature-converter/temperature-converter.models.ts new file mode 100644 index 00000000..a1468b93 --- /dev/null +++ b/zh-CN/src/tools/temperature-converter/temperature-converter.models.ts @@ -0,0 +1,20 @@ +export const convertCelsiusToKelvin = (temperature: number) => temperature + 273.15; +export const convertKelvinToCelsius = (temperature: number) => temperature - 273.15; + +export const convertFahrenheitToKelvin = (temperature: number) => (temperature + 459.67) * (5 / 9); +export const convertKelvinToFahrenheit = (temperature: number) => temperature * (9 / 5) - 459.67; + +export const convertRankineToKelvin = (temperature: number) => temperature * (5 / 9); +export const convertKelvinToRankine = (temperature: number) => temperature * (9 / 5); + +export const convertDelisleToKelvin = (temperature: number) => 373.15 - (2 / 3) * temperature; +export const convertKelvinToDelisle = (temperature: number) => (3 / 2) * (373.15 - temperature); + +export const convertNewtonToKelvin = (temperature: number) => temperature * (100 / 33) + 273.15; +export const convertKelvinToNewton = (temperature: number) => (temperature - 273.15) * (33 / 100); + +export const convertReaumurToKelvin = (temperature: number) => temperature * (5 / 4) + 273.15; +export const convertKelvinToReaumur = (temperature: number) => (temperature - 273.15) * (4 / 5); + +export const convertRomerToKelvin = (temperature: number) => (temperature - 7.5) * (40 / 21) + 273.15; +export const convertKelvinToRomer = (temperature: number) => (temperature - 273.15) * (21 / 40) + 7.5; diff --git a/zh-CN/src/tools/temperature-converter/temperature-converter.vue b/zh-CN/src/tools/temperature-converter/temperature-converter.vue new file mode 100644 index 00000000..8ab75478 --- /dev/null +++ b/zh-CN/src/tools/temperature-converter/temperature-converter.vue @@ -0,0 +1,120 @@ + + + diff --git a/zh-CN/src/tools/text-diff/index.ts b/zh-CN/src/tools/text-diff/index.ts new file mode 100644 index 00000000..38504a91 --- /dev/null +++ b/zh-CN/src/tools/text-diff/index.ts @@ -0,0 +1,12 @@ +import { FileDiff } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '文本差异比对', + path: '/text-diff', + description: '比较两个文本并查看它们之间的差异', + keywords: ['文本', '差异', '比对', '字符串', '文本差异', '代码'], + component: () => import('./text-diff.vue'), + icon: FileDiff, + createdAt: new Date('2023-08-16'), +}); diff --git a/zh-CN/src/tools/text-diff/text-diff.vue b/zh-CN/src/tools/text-diff/text-diff.vue new file mode 100644 index 00000000..990f05b1 --- /dev/null +++ b/zh-CN/src/tools/text-diff/text-diff.vue @@ -0,0 +1,5 @@ + diff --git a/zh-CN/src/tools/text-statistics/index.ts b/zh-CN/src/tools/text-statistics/index.ts new file mode 100644 index 00000000..3815cfe3 --- /dev/null +++ b/zh-CN/src/tools/text-statistics/index.ts @@ -0,0 +1,12 @@ +import { FileText } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '文本字符统计', + path: '/text-statistics', + description: '获取有关文本、字符数、行数、字节大小等的信息', + keywords: ['文本', '统计', '长度', '字符数', '行数', '大小', '字节'], + component: () => import('./text-statistics.vue'), + icon: FileText, + redirectFrom: ['/text-stats'], +}); diff --git a/zh-CN/src/tools/text-statistics/text-statistics.service.test.ts b/zh-CN/src/tools/text-statistics/text-statistics.service.test.ts new file mode 100644 index 00000000..18ffc399 --- /dev/null +++ b/zh-CN/src/tools/text-statistics/text-statistics.service.test.ts @@ -0,0 +1,14 @@ +import { describe, expect, it } from 'vitest'; +import { getStringSizeInBytes } from './text-statistics.service'; + +describe('text-statistics', () => { + describe('getStringSizeInBytes', () => { + it('should return the size of a string in bytes', () => { + expect(getStringSizeInBytes('')).toEqual(0); + expect(getStringSizeInBytes('a')).toEqual(1); + expect(getStringSizeInBytes('aa')).toEqual(2); + expect(getStringSizeInBytes('😀')).toEqual(4); + expect(getStringSizeInBytes('aaaaaaaaaa')).toEqual(10); + }); + }); +}); diff --git a/zh-CN/src/tools/text-statistics/text-statistics.service.ts b/zh-CN/src/tools/text-statistics/text-statistics.service.ts new file mode 100644 index 00000000..a69443c0 --- /dev/null +++ b/zh-CN/src/tools/text-statistics/text-statistics.service.ts @@ -0,0 +1,3 @@ +export function getStringSizeInBytes(text: string) { + return new TextEncoder().encode(text).buffer.byteLength; +} diff --git a/zh-CN/src/tools/text-statistics/text-statistics.vue b/zh-CN/src/tools/text-statistics/text-statistics.vue new file mode 100644 index 00000000..583f4c2e --- /dev/null +++ b/zh-CN/src/tools/text-statistics/text-statistics.vue @@ -0,0 +1,19 @@ + + + diff --git a/zh-CN/src/tools/text-to-binary/index.ts b/zh-CN/src/tools/text-to-binary/index.ts new file mode 100644 index 00000000..a5e8353d --- /dev/null +++ b/zh-CN/src/tools/text-to-binary/index.ts @@ -0,0 +1,12 @@ +import { Binary } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: '文本 ↔ ASCII二进制', + path: '/text-to-binary', + description: '文本 和 ASCII二进制 互转', + keywords: ['文本', '转', '二进制', '转换', '互转', '编码', '解码', 'ascii'], + component: () => import('./text-to-binary.vue'), + icon: Binary, + createdAt: new Date('2023-10-15'), +}); diff --git a/zh-CN/src/tools/text-to-binary/text-to-binary.e2e.spec.ts b/zh-CN/src/tools/text-to-binary/text-to-binary.e2e.spec.ts new file mode 100644 index 00000000..2b4e4313 --- /dev/null +++ b/zh-CN/src/tools/text-to-binary/text-to-binary.e2e.spec.ts @@ -0,0 +1,25 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Text to ASCII binary', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/text-to-binary'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('Text to ASCII binary - IT Tools'); + }); + + test('Text to binary conversion', async ({ page }) => { + await page.getByTestId('text-to-binary-input').fill('it-tools'); + const binary = await page.getByTestId('text-to-binary-output').inputValue(); + + expect(binary).toEqual('01101001 01110100 00101101 01110100 01101111 01101111 01101100 01110011'); + }); + + test('Binary to text conversion', async ({ page }) => { + await page.getByTestId('binary-to-text-input').fill('01101001 01110100 00101101 01110100 01101111 01101111 01101100 01110011'); + const text = await page.getByTestId('binary-to-text-output').inputValue(); + + expect(text).toEqual('it-tools'); + }); +}); diff --git a/zh-CN/src/tools/text-to-binary/text-to-binary.models.test.ts b/zh-CN/src/tools/text-to-binary/text-to-binary.models.test.ts new file mode 100644 index 00000000..e4269b50 --- /dev/null +++ b/zh-CN/src/tools/text-to-binary/text-to-binary.models.test.ts @@ -0,0 +1,32 @@ +import { describe, expect, it } from 'vitest'; +import { convertAsciiBinaryToText, convertTextToAsciiBinary } from './text-to-binary.models'; + +describe('text-to-binary', () => { + describe('convertTextToAsciiBinary', () => { + it('a text string is converted to its ascii binary representation', () => { + expect(convertTextToAsciiBinary('A')).toBe('01000001'); + expect(convertTextToAsciiBinary('hello')).toBe('01101000 01100101 01101100 01101100 01101111'); + expect(convertTextToAsciiBinary('')).toBe(''); + }); + it('the separator between octets can be changed', () => { + expect(convertTextToAsciiBinary('hello', { separator: '' })).toBe('0110100001100101011011000110110001101111'); + }); + }); + + describe('convertAsciiBinaryToText', () => { + it('an ascii binary string is converted to its text representation', () => { + expect(convertAsciiBinaryToText('01101000 01100101 01101100 01101100 01101111')).toBe('hello'); + expect(convertAsciiBinaryToText('01000001')).toBe('A'); + expect(convertTextToAsciiBinary('')).toBe(''); + }); + + it('the given binary string is cleaned before conversion', () => { + expect(convertAsciiBinaryToText(' 01000 001garbage')).toBe('A'); + }); + + it('throws an error if the given binary string as no complete octet', () => { + expect(() => convertAsciiBinaryToText('010000011')).toThrow('Invalid binary string'); + expect(() => convertAsciiBinaryToText('1')).toThrow('Invalid binary string'); + }); + }); +}); diff --git a/zh-CN/src/tools/text-to-binary/text-to-binary.models.ts b/zh-CN/src/tools/text-to-binary/text-to-binary.models.ts new file mode 100644 index 00000000..f09812b3 --- /dev/null +++ b/zh-CN/src/tools/text-to-binary/text-to-binary.models.ts @@ -0,0 +1,22 @@ +export { convertTextToAsciiBinary, convertAsciiBinaryToText }; + +function convertTextToAsciiBinary(text: string, { separator = ' ' }: { separator?: string } = {}): string { + return text + .split('') + .map(char => char.charCodeAt(0).toString(2).padStart(8, '0')) + .join(separator); +} + +function convertAsciiBinaryToText(binary: string): string { + const cleanBinary = binary.replace(/[^01]/g, ''); + + if (cleanBinary.length % 8) { + throw new Error('无效的二进制字符串'); + } + + return cleanBinary + .split(/(\d{8})/) + .filter(Boolean) + .map(binary => String.fromCharCode(Number.parseInt(binary, 2))) + .join(''); +} diff --git a/zh-CN/src/tools/text-to-binary/text-to-binary.vue b/zh-CN/src/tools/text-to-binary/text-to-binary.vue new file mode 100644 index 00000000..49a19981 --- /dev/null +++ b/zh-CN/src/tools/text-to-binary/text-to-binary.vue @@ -0,0 +1,42 @@ + + + diff --git a/zh-CN/src/tools/text-to-nato-alphabet/index.ts b/zh-CN/src/tools/text-to-nato-alphabet/index.ts new file mode 100644 index 00000000..100476a0 --- /dev/null +++ b/zh-CN/src/tools/text-to-nato-alphabet/index.ts @@ -0,0 +1,11 @@ +import { Speakerphone } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'Text to NATO alphabet', + path: '/text-to-nato-alphabet', + description: 'Transform text into NATO phonetic alphabet for oral transmission.', + keywords: ['string', 'nato', 'alphabet', 'phonetic', 'oral', 'transmission'], + component: () => import('./text-to-nato-alphabet.vue'), + icon: Speakerphone, +}); diff --git a/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.constants.ts b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.constants.ts new file mode 100644 index 00000000..c6523d9b --- /dev/null +++ b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.constants.ts @@ -0,0 +1,28 @@ +export const natoAlphabet = [ + 'Alpha', + 'Bravo', + 'Charlie', + 'Delta', + 'Echo', + 'Foxtrot', + 'Golf', + 'Hotel', + 'India', + 'Juliet', + 'Kilo', + 'Lima', + 'Mike', + 'November', + 'Oscar', + 'Papa', + 'Quebec', + 'Romeo', + 'Sierra', + 'Tango', + 'Uniform', + 'Victor', + 'Whiskey', + 'X-ray', + 'Yankee', + 'Zulu', +]; diff --git a/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.service.ts b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.service.ts new file mode 100644 index 00000000..80290e83 --- /dev/null +++ b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.service.ts @@ -0,0 +1,19 @@ +import { natoAlphabet } from './text-to-nato-alphabet.constants'; + +export { textToNatoAlphabet }; + +function getLetterPositionInAlphabet({ letter }: { letter: string }) { + return letter.toLowerCase().charCodeAt(0) - 'a'.charCodeAt(0); +} + +function textToNatoAlphabet({ text }: { text: string }) { + return text + .split('') + .map((character) => { + const alphabetIndex = getLetterPositionInAlphabet({ letter: character }); + const natoWord = natoAlphabet[alphabetIndex]; + + return natoWord ?? character; + }) + .join(' '); +} diff --git a/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.vue b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.vue new file mode 100644 index 00000000..76abbc49 --- /dev/null +++ b/zh-CN/src/tools/text-to-nato-alphabet/text-to-nato-alphabet.vue @@ -0,0 +1,35 @@ + + + diff --git a/zh-CN/src/tools/token-generator/index.ts b/zh-CN/src/tools/token-generator/index.ts new file mode 100644 index 00000000..7ce00e89 --- /dev/null +++ b/zh-CN/src/tools/token-generator/index.ts @@ -0,0 +1,12 @@ +import { ArrowsShuffle } from '@vicons/tabler'; +import { defineTool } from '../tool'; +import { translate } from '@/plugins/i18n.plugin'; + +export const tool = defineTool({ + name: '随机字符生成器', + path: '/token-generator', + description: '使用字符、大写字母、小写字母、数字、符号生成随机字符串,可用于token、密码、秘钥等。', + keywords: ['token', '密码', '秘钥', '随机', '字符', '字符串', '字母', '符号', '数字', '小写', '大写', '密码'], + component: () => import('./token-generator.tool.vue'), + icon: ArrowsShuffle, +}); diff --git a/zh-CN/src/tools/token-generator/token-generator.e2e.spec.ts b/zh-CN/src/tools/token-generator/token-generator.e2e.spec.ts new file mode 100644 index 00000000..444c5384 --- /dev/null +++ b/zh-CN/src/tools/token-generator/token-generator.e2e.spec.ts @@ -0,0 +1,19 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Token generator', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/token-generator'); + }); + + test('Has title', async ({ page }) => { + await expect(page).toHaveTitle('Token generator - IT Tools'); + }); + + test('New token on refresh', async ({ page }) => { + const initialToken = await page.getByPlaceholder('The token...').inputValue(); + await page.getByRole('button', { name: 'Refresh' }).click(); + const newToken = await page.getByPlaceholder('The token...').inputValue(); + + expect(newToken).not.toEqual(initialToken); + }); +}); diff --git a/zh-CN/src/tools/token-generator/token-generator.service.test.ts b/zh-CN/src/tools/token-generator/token-generator.service.test.ts new file mode 100644 index 00000000..604f5a89 --- /dev/null +++ b/zh-CN/src/tools/token-generator/token-generator.service.test.ts @@ -0,0 +1,98 @@ +import { describe, expect, it } from 'vitest'; +import { createToken } from './token-generator.service'; + +describe('token-generator', () => { + describe('createToken', () => { + it('should generate an empty string when all params are false', () => { + const token = createToken({ + withLowercase: false, + withUppercase: false, + withNumbers: false, + withSymbols: false, + length: 10, + }); + + expect(token).toHaveLength(0); + }); + + it('should generate a random string with the specified length', () => { + const createTokenWithLength = (length: number) => + createToken({ + withLowercase: true, + withUppercase: true, + withNumbers: true, + withSymbols: true, + length, + }); + + expect(createTokenWithLength(5)).toHaveLength(5); + expect(createTokenWithLength(10)).toHaveLength(10); + expect(createTokenWithLength(100)).toHaveLength(100); + }); + + it('should generate a random string with just uppercase if only withUppercase is set', () => { + const token = createToken({ + withLowercase: false, + withUppercase: true, + withNumbers: false, + withSymbols: false, + length: 256, + }); + + expect(token).toHaveLength(256); + expect(token).toMatch(/^[A-Z]+$/); + }); + + it('should generate a random string with just lowercase if only withLowercase is set', () => { + const token = createToken({ + withLowercase: true, + withUppercase: false, + withNumbers: false, + withSymbols: false, + length: 256, + }); + + expect(token).toHaveLength(256); + expect(token).toMatch(/^[a-z]+$/); + }); + + it('should generate a random string with just numbers if only withNumbers is set', () => { + const token = createToken({ + withLowercase: false, + withUppercase: false, + withNumbers: true, + withSymbols: false, + length: 256, + }); + + expect(token).toHaveLength(256); + expect(token).toMatch(/^[0-9]+$/); + }); + + it('should generate a random string with just symbols if only withSymbols is set', () => { + const token = createToken({ + withLowercase: false, + withUppercase: false, + withNumbers: false, + withSymbols: true, + length: 256, + }); + + expect(token).toHaveLength(256); + expect(token).toMatch(/^[.,;:!?./\-"'#{([-|\\@)\]=}*+]+$/); + }); + + it('should generate a random string with just letters (case incensitive) with withLowercase and withUppercase', () => { + const token = createToken({ + withLowercase: true, + withUppercase: true, + withNumbers: false, + withSymbols: false, + length: 256, + }); + + expect(token).toHaveLength(256); + expect(token).toMatch(/^[a-zA-Z]+$/); + }); + }); +}); diff --git a/zh-CN/src/tools/token-generator/token-generator.service.ts b/zh-CN/src/tools/token-generator/token-generator.service.ts new file mode 100644 index 00000000..3733a884 --- /dev/null +++ b/zh-CN/src/tools/token-generator/token-generator.service.ts @@ -0,0 +1,26 @@ +import { shuffleString } from '@/utils/random'; + +export function createToken({ + withUppercase = true, + withLowercase = true, + withNumbers = true, + withSymbols = false, + length = 64, + alphabet, +}: { + withUppercase?: boolean + withLowercase?: boolean + withNumbers?: boolean + withSymbols?: boolean + length?: number + alphabet?: string +}) { + const allAlphabet = alphabet ?? [ + withUppercase ? 'ABCDEFGHIJKLMOPQRSTUVWXYZ' : '', + withLowercase ? 'abcdefghijklmopqrstuvwxyz' : '', + withNumbers ? '0123456789' : '', + withSymbols ? '.,;:!?./-"\'#{([-|\\@)]=}*+' : '', + ].join(''); ; + + return shuffleString(allAlphabet.repeat(length)).substring(0, length); +} diff --git a/zh-CN/src/tools/token-generator/token-generator.tool.vue b/zh-CN/src/tools/token-generator/token-generator.tool.vue new file mode 100644 index 00000000..1bdc706f --- /dev/null +++ b/zh-CN/src/tools/token-generator/token-generator.tool.vue @@ -0,0 +1,78 @@ + + + + + diff --git a/zh-CN/src/tools/toml-to-json/index.ts b/zh-CN/src/tools/toml-to-json/index.ts new file mode 100644 index 00000000..7772af34 --- /dev/null +++ b/zh-CN/src/tools/toml-to-json/index.ts @@ -0,0 +1,13 @@ +import { defineTool } from '../tool'; + +import BracketIcon from '~icons/mdi/code-brackets'; + +export const tool = defineTool({ + name: 'TOML 转 JSON', + path: '/toml-to-json', + description: '将TOML解析并转换到JSON', + keywords: ['toml', 'json', '转', '转换', '在线', '解析'], + component: () => import('./toml-to-json.vue'), + icon: BracketIcon, + createdAt: new Date('2023-06-23'), +}); diff --git a/zh-CN/src/tools/toml-to-json/toml-to-json.e2e.spec.ts b/zh-CN/src/tools/toml-to-json/toml-to-json.e2e.spec.ts new file mode 100644 index 00000000..5925c188 --- /dev/null +++ b/zh-CN/src/tools/toml-to-json/toml-to-json.e2e.spec.ts @@ -0,0 +1,40 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - TOML to JSON', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/toml-to-json'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('TOML to JSON - IT Tools'); + }); + + test('TOML is parsed and outputs clean JSON', async ({ page }) => { + await page.getByTestId('input').fill(` +foo = "bar" + +# This is a comment + +[list] + name = "item" +[list.another] + key = "value" + `.trim()); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual( + ` +{ + "foo": "bar", + "list": { + "name": "item", + "another": { + "key": "value" + } + } +} + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/toml-to-json/toml-to-json.vue b/zh-CN/src/tools/toml-to-json/toml-to-json.vue new file mode 100644 index 00000000..39481e85 --- /dev/null +++ b/zh-CN/src/tools/toml-to-json/toml-to-json.vue @@ -0,0 +1,26 @@ + + + diff --git a/zh-CN/src/tools/toml-to-json/toml.services.ts b/zh-CN/src/tools/toml-to-json/toml.services.ts new file mode 100644 index 00000000..476fda74 --- /dev/null +++ b/zh-CN/src/tools/toml-to-json/toml.services.ts @@ -0,0 +1,8 @@ +import { parse as parseToml } from 'iarna-toml-esm'; +import { isNotThrowing } from '../../utils/boolean'; + +export { isValidToml }; + +function isValidToml(toml: string): boolean { + return isNotThrowing(() => parseToml(toml)); +} diff --git a/zh-CN/src/tools/toml-to-yaml/index.ts b/zh-CN/src/tools/toml-to-yaml/index.ts new file mode 100644 index 00000000..649af759 --- /dev/null +++ b/zh-CN/src/tools/toml-to-yaml/index.ts @@ -0,0 +1,12 @@ +import { defineTool } from '../tool'; +import BracketIcon from '~icons/mdi/code-brackets'; + +export const tool = defineTool({ + name: 'TOML 转 YAML', + path: '/toml-to-yaml', + description: '将TOML解析并转换到YAML', + keywords: ['toml', 'yaml', '转', '在线', '转换', '解析'], + component: () => import('./toml-to-yaml.vue'), + icon: BracketIcon, + createdAt: new Date('2023-06-23'), +}); diff --git a/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.e2e.spec.ts b/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.e2e.spec.ts new file mode 100644 index 00000000..87fd20a9 --- /dev/null +++ b/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.e2e.spec.ts @@ -0,0 +1,36 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - TOML to YAML', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/toml-to-yaml'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('TOML to YAML - IT Tools'); + }); + + test('TOML is parsed and outputs clean YAML', async ({ page }) => { + await page.getByTestId('input').fill(` +foo = "bar" + +# This is a comment + +[list] + name = "item" +[list.another] + key = "value" + `.trim()); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual( + ` +foo: bar +list: + name: item + another: + key: value + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.vue b/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.vue new file mode 100644 index 00000000..60100277 --- /dev/null +++ b/zh-CN/src/tools/toml-to-yaml/toml-to-yaml.vue @@ -0,0 +1,27 @@ + + + diff --git a/zh-CN/src/tools/tool.ts b/zh-CN/src/tools/tool.ts new file mode 100644 index 00000000..3bf4e4cc --- /dev/null +++ b/zh-CN/src/tools/tool.ts @@ -0,0 +1,13 @@ +import { isAfter, subWeeks } from 'date-fns'; +import type { Tool } from './tools.types'; + +type WithOptional = Omit & Partial>; + +export function defineTool(tool: WithOptional) { + const isNew = tool.createdAt ? isAfter(tool.createdAt, subWeeks(new Date(), 2)) : false; + + return { + isNew, + ...tool, + }; +} diff --git a/zh-CN/src/tools/tools.store.ts b/zh-CN/src/tools/tools.store.ts new file mode 100644 index 00000000..d952b7cb --- /dev/null +++ b/zh-CN/src/tools/tools.store.ts @@ -0,0 +1,57 @@ +import { type MaybeRef, get, useStorage } from '@vueuse/core'; +import { defineStore } from 'pinia'; +import type { Ref } from 'vue'; +import _ from 'lodash'; +import type { Tool, ToolCategory, ToolWithCategory } from './tools.types'; +import { toolsWithCategory } from './index'; + +export const useToolStore = defineStore('tools', () => { + const favoriteToolsName = useStorage('favoriteToolsName', []) as Ref; + const { t } = useI18n(); + + const tools = computed(() => toolsWithCategory.map((tool) => { + const toolI18nKey = tool.path.replace(/\//g, ''); + + return ({ + ...tool, + name: t(`tools.${toolI18nKey}.title`, tool.name), + description: t(`tools.${toolI18nKey}.description`, tool.description), + category: t(`tools.categories.${tool.category.toLowerCase()}`, tool.category), + }); + })); + + const toolsByCategory = computed(() => { + return _.chain(tools.value) + .groupBy('category') + .map((components, name) => ({ + name, + components, + })) + .value(); + }); + + const favoriteTools = computed(() => { + return favoriteToolsName.value + .map(favoriteName => tools.value.find(({ name }) => name === favoriteName)) + .filter(Boolean) as ToolWithCategory[]; // cast because .filter(Boolean) does not remove undefined from type + }); + + return { + tools, + favoriteTools, + toolsByCategory, + newTools: computed(() => tools.value.filter(({ isNew }) => isNew)), + + addToolToFavorites({ tool }: { tool: MaybeRef }) { + favoriteToolsName.value.push(get(tool).name); + }, + + removeToolFromFavorites({ tool }: { tool: MaybeRef }) { + favoriteToolsName.value = favoriteToolsName.value.filter(name => get(tool).name !== name); + }, + + isToolFavorite({ tool }: { tool: MaybeRef }) { + return favoriteToolsName.value.includes(get(tool).name); + }, + }; +}); diff --git a/zh-CN/src/tools/tools.types.ts b/zh-CN/src/tools/tools.types.ts new file mode 100644 index 00000000..dcef8543 --- /dev/null +++ b/zh-CN/src/tools/tools.types.ts @@ -0,0 +1,20 @@ +import type { Component } from 'vue'; + +export interface Tool { + name: string + path: string + description: string + keywords: string[] + component: () => Promise + icon: Component + redirectFrom?: string[] + isNew: boolean + createdAt?: Date +} + +export interface ToolCategory { + name: string + components: Tool[] +} + +export type ToolWithCategory = Tool & { category: string }; diff --git a/zh-CN/src/tools/ulid-generator/index.ts b/zh-CN/src/tools/ulid-generator/index.ts new file mode 100644 index 00000000..f370a643 --- /dev/null +++ b/zh-CN/src/tools/ulid-generator/index.ts @@ -0,0 +1,12 @@ +import { SortDescendingNumbers } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'ULID 生成器', + path: '/ulid-generator', + description: '生成随机的通用唯一词典可排序标识符 (ULID)', + keywords: ['ulid', '生成', '随机', 'id', '字母', '数字', '身份', '令牌', 'token', '字符串', '标识符', '唯一'], + component: () => import('./ulid-generator.vue'), + icon: SortDescendingNumbers, + createdAt: new Date('2023-09-11'), +}); diff --git a/zh-CN/src/tools/ulid-generator/ulid-generator.e2e.spec.ts b/zh-CN/src/tools/ulid-generator/ulid-generator.e2e.spec.ts new file mode 100644 index 00000000..34473376 --- /dev/null +++ b/zh-CN/src/tools/ulid-generator/ulid-generator.e2e.spec.ts @@ -0,0 +1,23 @@ +import { expect, test } from '@playwright/test'; + +const ULID_REGEX = /[0-9A-Z]{26}/; + +test.describe('Tool - ULID generator', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/ulid-generator'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('ULID generator - IT Tools'); + }); + + test('the refresh button generates a new ulid', async ({ page }) => { + const ulid = await page.getByTestId('ulids').textContent(); + expect(ulid?.trim()).toMatch(ULID_REGEX); + + await page.getByTestId('refresh').click(); + const newUlid = await page.getByTestId('ulids').textContent(); + expect(ulid?.trim()).not.toBe(newUlid?.trim()); + expect(newUlid?.trim()).toMatch(ULID_REGEX); + }); +}); diff --git a/zh-CN/src/tools/ulid-generator/ulid-generator.vue b/zh-CN/src/tools/ulid-generator/ulid-generator.vue new file mode 100644 index 00000000..eca13904 --- /dev/null +++ b/zh-CN/src/tools/ulid-generator/ulid-generator.vue @@ -0,0 +1,46 @@ + + + diff --git a/zh-CN/src/tools/url-encoder/index.ts b/zh-CN/src/tools/url-encoder/index.ts new file mode 100644 index 00000000..5ab3d72b --- /dev/null +++ b/zh-CN/src/tools/url-encoder/index.ts @@ -0,0 +1,11 @@ +import { Link } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'URL 编码/解码', + path: '/url-encoder', + description: '对URL格式的字符串进行编码/解码', + keywords: ['url', '编码', '解码', '%20', '格式'], + component: () => import('./url-encoder.vue'), + icon: Link, +}); diff --git a/zh-CN/src/tools/url-encoder/url-encoder.vue b/zh-CN/src/tools/url-encoder/url-encoder.vue new file mode 100644 index 00000000..1609d880 --- /dev/null +++ b/zh-CN/src/tools/url-encoder/url-encoder.vue @@ -0,0 +1,97 @@ + + + diff --git a/zh-CN/src/tools/url-parser/index.ts b/zh-CN/src/tools/url-parser/index.ts new file mode 100644 index 00000000..82479fb6 --- /dev/null +++ b/zh-CN/src/tools/url-parser/index.ts @@ -0,0 +1,11 @@ +import { Unlink } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'URL 解析', + path: '/url-parser', + description: '解析URL字符串以获取所有不同部分(协议、域名、路径、参数)', + keywords: ['url', '解析', '协议', '域名', '路径', '参数', '链接'], + component: () => import('./url-parser.vue'), + icon: Unlink, +}); diff --git a/zh-CN/src/tools/url-parser/url-parser.vue b/zh-CN/src/tools/url-parser/url-parser.vue new file mode 100644 index 00000000..27723afa --- /dev/null +++ b/zh-CN/src/tools/url-parser/url-parser.vue @@ -0,0 +1,72 @@ + + + + + diff --git a/zh-CN/src/tools/user-agent-parser/index.ts b/zh-CN/src/tools/user-agent-parser/index.ts new file mode 100644 index 00000000..00a8c85a --- /dev/null +++ b/zh-CN/src/tools/user-agent-parser/index.ts @@ -0,0 +1,12 @@ +import { Browser } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'User-agent 解析', + path: '/user-agent-parser', + description: '从用户代理字符串(user-agent,也称UA)中检测并解析浏览器、引擎、操作系统、CPU 和设备类型/型号。', + keywords: ['user', 'agent', 'ua', '解析', '浏览器', '引擎', '操作系统', 'cpu', '设备', 'user-agent', '客户端'], + component: () => import('./user-agent-parser.vue'), + icon: Browser, + createdAt: new Date('2023-04-06'), +}); diff --git a/zh-CN/src/tools/user-agent-parser/user-agent-parser.types.ts b/zh-CN/src/tools/user-agent-parser/user-agent-parser.types.ts new file mode 100644 index 00000000..37dbe9f8 --- /dev/null +++ b/zh-CN/src/tools/user-agent-parser/user-agent-parser.types.ts @@ -0,0 +1,12 @@ +import type { Component } from 'vue'; +import type { UAParser } from 'ua-parser-js'; + +export interface UserAgentResultSection { + heading: string + icon?: Component + content: { + label: string + getValue: (blocks?: UAParser.IResult) => string | undefined + undefinedFallback?: string + }[] +} diff --git a/zh-CN/src/tools/user-agent-parser/user-agent-parser.vue b/zh-CN/src/tools/user-agent-parser/user-agent-parser.vue new file mode 100644 index 00000000..fa89b3c3 --- /dev/null +++ b/zh-CN/src/tools/user-agent-parser/user-agent-parser.vue @@ -0,0 +1,120 @@ + + + diff --git a/zh-CN/src/tools/user-agent-parser/user-agent-result-cards.vue b/zh-CN/src/tools/user-agent-parser/user-agent-result-cards.vue new file mode 100644 index 00000000..77502df0 --- /dev/null +++ b/zh-CN/src/tools/user-agent-parser/user-agent-result-cards.vue @@ -0,0 +1,40 @@ + + + diff --git a/zh-CN/src/tools/uuid-generator/index.ts b/zh-CN/src/tools/uuid-generator/index.ts new file mode 100644 index 00000000..f05d95f6 --- /dev/null +++ b/zh-CN/src/tools/uuid-generator/index.ts @@ -0,0 +1,11 @@ +import { Fingerprint } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'UUID 生成器', + path: '/uuid-generator', + description: '通用唯一标识符 (UUID) 是一个 128 位数字,用于识别计算机系统中的信息', + keywords: ['uuid', 'v4', '随机', 'id', '数字', '唯一', 'token', '字符串', '标识符', '通用', 'v1', 'v3', 'v5', 'nil'], + component: () => import('./uuid-generator.vue'), + icon: Fingerprint, +}); diff --git a/zh-CN/src/tools/uuid-generator/uuid-generator.vue b/zh-CN/src/tools/uuid-generator/uuid-generator.vue new file mode 100644 index 00000000..ebe3e328 --- /dev/null +++ b/zh-CN/src/tools/uuid-generator/uuid-generator.vue @@ -0,0 +1,172 @@ + + + + + diff --git a/zh-CN/src/tools/wifi-qr-code-generator/index.ts b/zh-CN/src/tools/wifi-qr-code-generator/index.ts new file mode 100644 index 00000000..bb038702 --- /dev/null +++ b/zh-CN/src/tools/wifi-qr-code-generator/index.ts @@ -0,0 +1,12 @@ +import { Qrcode } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'WiFi 二维码生成器', + path: '/wifi-qrcode-generator', + description: '生成用于快速连接到WiFi网络的二维码', + keywords: ['qr', 'code', '二维码', '生成器', '连接', 'wifi', '无线网'], + component: () => import('./wifi-qr-code-generator.vue'), + icon: Qrcode, + createdAt: new Date('2023-09-06'), +}); diff --git a/zh-CN/src/tools/wifi-qr-code-generator/useQRCode.ts b/zh-CN/src/tools/wifi-qr-code-generator/useQRCode.ts new file mode 100644 index 00000000..c8a7215c --- /dev/null +++ b/zh-CN/src/tools/wifi-qr-code-generator/useQRCode.ts @@ -0,0 +1,146 @@ +import { type MaybeRef, get } from '@vueuse/core'; +import QRCode, { type QRCodeToDataURLOptions } from 'qrcode'; +import { isRef, ref, watch } from 'vue'; + +export const wifiEncryptions = ['WEP', 'WPA', 'nopass', 'WPA2-EAP'] as const; +export type WifiEncryption = typeof wifiEncryptions[number]; + +// @see https://en.wikipedia.org/wiki/Extensible_Authentication_Protocol +// for a list of available EAP methods. There are a lot (40!) of them. +export const EAPMethods = [ + 'MD5', + 'POTP', + 'GTC', + 'TLS', + 'IKEv2', + 'SIM', + 'AKA', + 'AKA\'', + 'TTLS', + 'PWD', + 'LEAP', + 'PSK', + 'FAST', + 'TEAP', + 'EKE', + 'NOOB', + 'PEAP', +] as const; +export type EAPMethod = typeof EAPMethods[number]; + +export const EAPPhase2Methods = [ + 'None', + 'MSCHAPV2', +] as const; +export type EAPPhase2Method = typeof EAPPhase2Methods[number]; + +interface IWifiQRCodeOptions { + ssid: MaybeRef + password: MaybeRef + eapMethod: MaybeRef + isHiddenSSID: MaybeRef + eapAnonymous: MaybeRef + eapIdentity: MaybeRef + eapPhase2Method: MaybeRef + color: { foreground: MaybeRef; background: MaybeRef } + options?: QRCodeToDataURLOptions +} + +interface GetQrCodeTextOptions { + ssid: string + password: string + encryption: WifiEncryption + eapMethod: EAPMethod + isHiddenSSID: boolean + eapAnonymous: boolean + eapIdentity: string + eapPhase2Method: EAPPhase2Method +} + +function escapeString(str: string) { + // replaces \, ;, ,, " and : with the same character preceded by a backslash + return str.replace(/([\\;,:"])/g, '\\$1'); +} + +function getQrCodeText(options: GetQrCodeTextOptions): string | null { + const { ssid, password, encryption, eapMethod, isHiddenSSID, eapAnonymous, eapIdentity, eapPhase2Method } = options; + if (!ssid) { + return null; + } + if (encryption === 'nopass') { + return `WIFI:S:${escapeString(ssid)};;`; // type can be omitted in that case, and password is not needed, makes the QR Code smaller + } + if (encryption !== 'WPA2-EAP' && password) { + // EAP has a lot of options, so we'll handle it separately + // WPA and WEP are pretty simple though. + return `WIFI:S:${escapeString(ssid)};T:${encryption};P:${escapeString(password)};${isHiddenSSID ? 'H:true' : ''};`; + } + if (encryption === 'WPA2-EAP' && password && eapMethod) { + // WPA2-EAP string is a lot more complex, first off, we drop the text if there is no identity, and it's not anonymous. + if (!eapIdentity && !eapAnonymous) { + return null; + } + // From reading, I could only find that a phase 2 is required for the PEAP method, I may be wrong though, I didn't read the whole spec. + if (eapMethod === 'PEAP' && !eapPhase2Method) { + return null; + } + // The string is built in the following order: + // 1. SSID + // 2. Authentication type + // 3. Password + // 4. EAP method + // 5. EAP phase 2 method + // 6. Identity or anonymous if checked + // 7. Hidden SSID if checked + const identity = eapAnonymous ? 'A:anon' : `I:${escapeString(eapIdentity)}`; + const phase2 = eapPhase2Method !== 'None' ? `PH2:${eapPhase2Method};` : ''; + return `WIFI:S:${escapeString(ssid)};T:WPA2-EAP;P:${escapeString(password)};E:${eapMethod};${phase2}${identity};${isHiddenSSID ? 'H:true' : ''};`; + } + return null; +} + +export function useWifiQRCode({ + ssid, + password, + eapMethod, + isHiddenSSID, + eapAnonymous, + eapIdentity, + eapPhase2Method, + color: { background, foreground }, + options, +}: IWifiQRCodeOptions) { + const qrcode = ref(''); + const encryption = ref('WPA'); + + watch( + [ssid, password, encryption, eapMethod, isHiddenSSID, eapAnonymous, eapIdentity, eapPhase2Method, background, foreground].filter(isRef), + async () => { + // @see https://github.com/zxing/zxing/wiki/Barcode-Contents#wi-fi-network-config-android-ios-11 + // This is the full spec, there's quite a bit of logic to generate the string embeddedin the QR code. + const text = getQrCodeText({ + ssid: get(ssid), + password: get(password), + encryption: get(encryption), + eapMethod: get(eapMethod), + isHiddenSSID: get(isHiddenSSID), + eapAnonymous: get(eapAnonymous), + eapIdentity: get(eapIdentity), + eapPhase2Method: get(eapPhase2Method), + }); + if (text) { + qrcode.value = await QRCode.toDataURL(get(text).trim(), { + color: { + dark: get(foreground), + light: get(background), + ...options?.color, + }, + errorCorrectionLevel: 'M', + ...options, + }); + } + }, + { immediate: true }, + ); + return { qrcode, encryption }; +} diff --git a/zh-CN/src/tools/wifi-qr-code-generator/wifi-qr-code-generator.vue b/zh-CN/src/tools/wifi-qr-code-generator/wifi-qr-code-generator.vue new file mode 100644 index 00000000..497a228d --- /dev/null +++ b/zh-CN/src/tools/wifi-qr-code-generator/wifi-qr-code-generator.vue @@ -0,0 +1,125 @@ + + + diff --git a/zh-CN/src/tools/xml-formatter/index.ts b/zh-CN/src/tools/xml-formatter/index.ts new file mode 100644 index 00000000..4792abb3 --- /dev/null +++ b/zh-CN/src/tools/xml-formatter/index.ts @@ -0,0 +1,12 @@ +import { Code } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'XML 格式化', + path: '/xml-formatter', + description: 'XML 美化和格式化', + keywords: ['xml', '美化', '格式化'], + component: () => import('./xml-formatter.vue'), + icon: Code, + createdAt: new Date('2023-06-17'), +}); diff --git a/zh-CN/src/tools/xml-formatter/xml-formatter.e2e.spec.ts b/zh-CN/src/tools/xml-formatter/xml-formatter.e2e.spec.ts new file mode 100644 index 00000000..11fbbd8e --- /dev/null +++ b/zh-CN/src/tools/xml-formatter/xml-formatter.e2e.spec.ts @@ -0,0 +1,23 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - XML formatter', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/xml-formatter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('XML formatter - IT Tools'); + }); + + test('XML is converted into a human readable format', async ({ page }) => { + await page.getByTestId('input').fill('bazbaz'); + + const formattedXml = await page.getByTestId('area-content').innerText(); + + expect(formattedXml.trim()).toEqual(` + + baz + baz +`.trim()); + }); +}); diff --git a/zh-CN/src/tools/xml-formatter/xml-formatter.service.test.ts b/zh-CN/src/tools/xml-formatter/xml-formatter.service.test.ts new file mode 100644 index 00000000..2b14558c --- /dev/null +++ b/zh-CN/src/tools/xml-formatter/xml-formatter.service.test.ts @@ -0,0 +1,27 @@ +import { describe, expect, it } from 'vitest'; +import { formatXml } from './xml-formatter.service'; + +describe('xml-formatter service', () => { + describe('formatXml', () => { + it('converts XML into a human readable format', () => { + const initString = 'foobar'; + + expect(formatXml(initString)).toMatchInlineSnapshot(` + " + + foo + + + bar + + " + `); + }); + + it('returns an empty string if the input is not valid XML', () => { + const initString = 'hello world'; + + expect(formatXml(initString)).toEqual(''); + }); + }); +}); diff --git a/zh-CN/src/tools/xml-formatter/xml-formatter.service.ts b/zh-CN/src/tools/xml-formatter/xml-formatter.service.ts new file mode 100644 index 00000000..3441f0bb --- /dev/null +++ b/zh-CN/src/tools/xml-formatter/xml-formatter.service.ts @@ -0,0 +1,28 @@ +import xmlFormat, { type XMLFormatterOptions } from 'xml-formatter'; +import { withDefaultOnError } from '@/utils/defaults'; + +export { formatXml, isValidXML }; + +function cleanRawXml(rawXml: string): string { + return rawXml.trim(); +} + +function formatXml(rawXml: string, options?: XMLFormatterOptions): string { + return withDefaultOnError(() => xmlFormat(cleanRawXml(rawXml), options) ?? '', ''); +} + +function isValidXML(rawXml: string): boolean { + const cleanedRawXml = cleanRawXml(rawXml); + + if (cleanedRawXml === '') { + return true; + } + + try { + xmlFormat(cleanedRawXml); + return true; + } + catch (e) { + return false; + } +} diff --git a/zh-CN/src/tools/xml-formatter/xml-formatter.vue b/zh-CN/src/tools/xml-formatter/xml-formatter.vue new file mode 100644 index 00000000..2981bbb5 --- /dev/null +++ b/zh-CN/src/tools/xml-formatter/xml-formatter.vue @@ -0,0 +1,46 @@ + + + diff --git a/zh-CN/src/tools/yaml-to-json-converter/index.ts b/zh-CN/src/tools/yaml-to-json-converter/index.ts new file mode 100644 index 00000000..72902aa7 --- /dev/null +++ b/zh-CN/src/tools/yaml-to-json-converter/index.ts @@ -0,0 +1,12 @@ +import { AlignJustified } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'YAML 转 JSON', + path: '/yaml-to-json-converter', + description: '解析 YAML 并转换为 JSON', + keywords: ['yaml', '转', '转换', 'json'], + component: () => import('./yaml-to-json.vue'), + icon: AlignJustified, + createdAt: new Date('2023-04-10'), +}); diff --git a/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.e2e.spec.ts b/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.e2e.spec.ts new file mode 100644 index 00000000..7b2a2d18 --- /dev/null +++ b/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.e2e.spec.ts @@ -0,0 +1,31 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - Yaml to json', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/yaml-to-json-converter'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('YAML to JSON converter - IT Tools'); + }); + + test('Yaml is parsed and output clean json', async ({ page }) => { + await page.getByTestId('input').fill('foo: bar\nlist:\n - item\n - key: value'); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual( + ` +{ + "foo": "bar", + "list": [ + "item", + { + "key": "value" + } + ] +} + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.vue b/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.vue new file mode 100644 index 00000000..b143beba --- /dev/null +++ b/zh-CN/src/tools/yaml-to-json-converter/yaml-to-json.vue @@ -0,0 +1,31 @@ + + + diff --git a/zh-CN/src/tools/yaml-to-toml/index.ts b/zh-CN/src/tools/yaml-to-toml/index.ts new file mode 100644 index 00000000..c3263e07 --- /dev/null +++ b/zh-CN/src/tools/yaml-to-toml/index.ts @@ -0,0 +1,12 @@ +import { AlignJustified } from '@vicons/tabler'; +import { defineTool } from '../tool'; + +export const tool = defineTool({ + name: 'YAML 转 TOML', + path: '/yaml-to-toml', + description: '解析 YAML 并转换为 TOML', + keywords: ['yaml', '转', '转换', 'toml'], + component: () => import('./yaml-to-toml.vue'), + icon: AlignJustified, + createdAt: new Date('2023-06-23'), +}); diff --git a/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.e2e.spec.ts b/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.e2e.spec.ts new file mode 100644 index 00000000..5140678c --- /dev/null +++ b/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.e2e.spec.ts @@ -0,0 +1,37 @@ +import { expect, test } from '@playwright/test'; + +test.describe('Tool - YAML to TOML', () => { + test.beforeEach(async ({ page }) => { + await page.goto('/yaml-to-toml'); + }); + + test('Has correct title', async ({ page }) => { + await expect(page).toHaveTitle('YAML to TOML - IT Tools'); + }); + + test('JSON is parsed and outputs clean TOML', async ({ page }) => { + await page.getByTestId('input').fill(` +foo: bar +list: + name: item + another: + key: value + number: 1 + `.trim()); + + const generatedJson = await page.getByTestId('area-content').innerText(); + + expect(generatedJson.trim()).toEqual( + ` +foo = "bar" + +[list] +name = "item" + + [list.another] + key = "value" + number = 1 + `.trim(), + ); + }); +}); diff --git a/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.vue b/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.vue new file mode 100644 index 00000000..507a3005 --- /dev/null +++ b/zh-CN/src/tools/yaml-to-toml/yaml-to-toml.vue @@ -0,0 +1,28 @@ + + + diff --git a/zh-CN/src/ui/c-alert/c-alert.demo.vue b/zh-CN/src/ui/c-alert/c-alert.demo.vue new file mode 100644 index 00000000..69f3ea46 --- /dev/null +++ b/zh-CN/src/ui/c-alert/c-alert.demo.vue @@ -0,0 +1,19 @@ + + + diff --git a/zh-CN/src/ui/c-alert/c-alert.theme.ts b/zh-CN/src/ui/c-alert/c-alert.theme.ts new file mode 100644 index 00000000..2176a102 --- /dev/null +++ b/zh-CN/src/ui/c-alert/c-alert.theme.ts @@ -0,0 +1,37 @@ +import { darken } from '../color/color.models'; +import { defineThemes } from '../theme/theme.models'; +import { appThemes } from '../theme/themes'; + +import WarningIcon from '~icons/mdi/alert-circle-outline'; +import ErrorIcon from '~icons/mdi/close-circle-outline'; + +export const { useTheme } = defineThemes({ + dark: { + warning: { + backgroundColor: appThemes.dark.warning.colorFaded, + borderColor: appThemes.dark.warning.color, + textColor: appThemes.dark.warning.color, + icon: WarningIcon, + }, + error: { + backgroundColor: appThemes.dark.error.colorFaded, + borderColor: appThemes.dark.error.color, + textColor: appThemes.dark.error.color, + icon: ErrorIcon, + }, + }, + light: { + warning: { + backgroundColor: appThemes.light.warning.colorFaded, + borderColor: appThemes.light.warning.color, + textColor: darken(appThemes.light.warning.color, 40), + icon: WarningIcon, + }, + error: { + backgroundColor: appThemes.light.error.colorFaded, + borderColor: appThemes.light.error.color, + textColor: darken(appThemes.light.error.color, 40), + icon: ErrorIcon, + }, + }, +}); diff --git a/zh-CN/src/ui/c-alert/c-alert.vue b/zh-CN/src/ui/c-alert/c-alert.vue new file mode 100644 index 00000000..8a3b55e8 --- /dev/null +++ b/zh-CN/src/ui/c-alert/c-alert.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/zh-CN/src/ui/c-button/c-button.demo.vue b/zh-CN/src/ui/c-button/c-button.demo.vue new file mode 100644 index 00000000..b9d011a3 --- /dev/null +++ b/zh-CN/src/ui/c-button/c-button.demo.vue @@ -0,0 +1,50 @@ + + + diff --git a/zh-CN/src/ui/c-button/c-button.theme.ts b/zh-CN/src/ui/c-button/c-button.theme.ts new file mode 100644 index 00000000..926cd110 --- /dev/null +++ b/zh-CN/src/ui/c-button/c-button.theme.ts @@ -0,0 +1,105 @@ +import { darken, lighten } from '../color/color.models'; +import { defineThemes } from '../theme/theme.models'; +import { appThemes } from '../theme/themes'; + +function createState({ + textColor, + backgroundColor, + hoverBackground, + hoveredTextColor = textColor, + pressedBackground, + pressedTextColor = textColor, +}: { + textColor: string + backgroundColor: string + hoverBackground: string + hoveredTextColor?: string + pressedBackground: string + pressedTextColor?: string +}) { + return { + textColor, + backgroundColor, + hover: { textColor: hoveredTextColor, backgroundColor: hoverBackground }, + pressed: { textColor: pressedTextColor, backgroundColor: pressedBackground }, + }; +} + +function createTheme({ style }: { style: 'light' | 'dark' }) { + const theme = appThemes[style]; + + return { + size: { + small: { + width: '28px', + fontSize: '12px', + }, + medium: { + width: '34px', + fontSize: '14px', + }, + large: { + width: '40px', + fontSize: '16px', + }, + }, + + basic: { + default: createState({ + textColor: theme.text.baseColor, + backgroundColor: theme.default.color, + hoverBackground: theme.default.colorHover, + pressedBackground: theme.default.colorPressed, + }), + primary: createState({ + textColor: theme.primary.color, + backgroundColor: theme.primary.colorFaded, + hoverBackground: lighten(theme.primary.colorFaded, 30), + pressedBackground: darken(theme.primary.colorFaded, 30), + }), + warning: createState({ + textColor: theme.warning.color, + backgroundColor: theme.warning.colorFaded, + hoverBackground: lighten(theme.warning.colorFaded, 30), + pressedBackground: darken(theme.warning.colorFaded, 30), + }), + error: createState({ + textColor: theme.error.color, + backgroundColor: theme.error.colorFaded, + hoverBackground: lighten(theme.error.colorFaded, 30), + pressedBackground: darken(theme.error.colorFaded, 30), + }), + }, + text: { + default: createState({ + textColor: theme.text.baseColor, + backgroundColor: 'transparent', + hoverBackground: theme.default.colorHover, + pressedBackground: theme.default.colorPressed, + }), + primary: createState({ + textColor: theme.primary.color, + backgroundColor: 'transparent', + hoverBackground: theme.primary.colorFaded, + pressedBackground: darken(theme.primary.colorFaded, 30), + }), + warning: createState({ + textColor: darken(theme.warning.color, 20), + backgroundColor: 'transparent', + hoverBackground: theme.warning.colorFaded, + pressedBackground: darken(theme.warning.colorFaded, 30), + }), + error: createState({ + textColor: darken(theme.error.color, 20), + backgroundColor: 'transparent', + hoverBackground: theme.error.colorFaded, + pressedBackground: darken(theme.error.colorFaded, 30), + }), + }, + }; +} + +export const { useTheme } = defineThemes({ + dark: createTheme({ style: 'dark' }), + light: createTheme({ style: 'light' }), +}); diff --git a/zh-CN/src/ui/c-button/c-button.vue b/zh-CN/src/ui/c-button/c-button.vue new file mode 100644 index 00000000..06a4786d --- /dev/null +++ b/zh-CN/src/ui/c-button/c-button.vue @@ -0,0 +1,120 @@ + + + + + diff --git a/zh-CN/src/ui/c-buttons-select/c-buttons-select.demo.vue b/zh-CN/src/ui/c-buttons-select/c-buttons-select.demo.vue new file mode 100644 index 00000000..46286010 --- /dev/null +++ b/zh-CN/src/ui/c-buttons-select/c-buttons-select.demo.vue @@ -0,0 +1,21 @@ + + + diff --git a/zh-CN/src/ui/c-buttons-select/c-buttons-select.types.ts b/zh-CN/src/ui/c-buttons-select/c-buttons-select.types.ts new file mode 100644 index 00000000..ccb110d4 --- /dev/null +++ b/zh-CN/src/ui/c-buttons-select/c-buttons-select.types.ts @@ -0,0 +1,5 @@ +import type { CSelectOption } from '../c-select/c-select.types'; + +export type CButtonSelectOption = CSelectOption & { + tooltip?: string +}; diff --git a/zh-CN/src/ui/c-buttons-select/c-buttons-select.vue b/zh-CN/src/ui/c-buttons-select/c-buttons-select.vue new file mode 100644 index 00000000..a1ffa428 --- /dev/null +++ b/zh-CN/src/ui/c-buttons-select/c-buttons-select.vue @@ -0,0 +1,64 @@ + + + diff --git a/zh-CN/src/ui/c-card/c-card.demo.vue b/zh-CN/src/ui/c-card/c-card.demo.vue new file mode 100644 index 00000000..2a6fb9d4 --- /dev/null +++ b/zh-CN/src/ui/c-card/c-card.demo.vue @@ -0,0 +1,11 @@ + diff --git a/zh-CN/src/ui/c-card/c-card.theme.ts b/zh-CN/src/ui/c-card/c-card.theme.ts new file mode 100644 index 00000000..c9cdd6b7 --- /dev/null +++ b/zh-CN/src/ui/c-card/c-card.theme.ts @@ -0,0 +1,12 @@ +import { defineThemes } from '../theme/theme.models'; + +export const { useTheme } = defineThemes({ + dark: { + backgroundColor: '#232323', + borderColor: '#282828', + }, + light: { + backgroundColor: '#ffffff', + borderColor: '#efeff5', + }, +}); diff --git a/zh-CN/src/ui/c-card/c-card.vue b/zh-CN/src/ui/c-card/c-card.vue new file mode 100644 index 00000000..739e6576 --- /dev/null +++ b/zh-CN/src/ui/c-card/c-card.vue @@ -0,0 +1,35 @@ + + + + + diff --git a/zh-CN/src/ui/c-collapse/c-collapse.demo.vue b/zh-CN/src/ui/c-collapse/c-collapse.demo.vue new file mode 100644 index 00000000..760d0ec1 --- /dev/null +++ b/zh-CN/src/ui/c-collapse/c-collapse.demo.vue @@ -0,0 +1,5 @@ + diff --git a/zh-CN/src/ui/c-collapse/c-collapse.vue b/zh-CN/src/ui/c-collapse/c-collapse.vue new file mode 100644 index 00000000..ccd7c1ea --- /dev/null +++ b/zh-CN/src/ui/c-collapse/c-collapse.vue @@ -0,0 +1,25 @@ + + + diff --git a/zh-CN/src/ui/c-diff-editor/c-diff-editor.vue b/zh-CN/src/ui/c-diff-editor/c-diff-editor.vue new file mode 100644 index 00000000..2aa29475 --- /dev/null +++ b/zh-CN/src/ui/c-diff-editor/c-diff-editor.vue @@ -0,0 +1,68 @@ + + + diff --git a/zh-CN/src/ui/c-file-upload/c-file-upload.demo.vue b/zh-CN/src/ui/c-file-upload/c-file-upload.demo.vue new file mode 100644 index 00000000..eedcbd67 --- /dev/null +++ b/zh-CN/src/ui/c-file-upload/c-file-upload.demo.vue @@ -0,0 +1,3 @@ + diff --git a/zh-CN/src/ui/c-file-upload/c-file-upload.vue b/zh-CN/src/ui/c-file-upload/c-file-upload.vue new file mode 100644 index 00000000..7b802004 --- /dev/null +++ b/zh-CN/src/ui/c-file-upload/c-file-upload.vue @@ -0,0 +1,95 @@ + + + diff --git a/zh-CN/src/ui/c-input-text/c-input-text.demo.vue b/zh-CN/src/ui/c-input-text/c-input-text.demo.vue new file mode 100644 index 00000000..0181e7c3 --- /dev/null +++ b/zh-CN/src/ui/c-input-text/c-input-text.demo.vue @@ -0,0 +1,79 @@ + + + diff --git a/zh-CN/src/ui/c-input-text/c-input-text.test.ts b/zh-CN/src/ui/c-input-text/c-input-text.test.ts new file mode 100644 index 00000000..2d1908df --- /dev/null +++ b/zh-CN/src/ui/c-input-text/c-input-text.test.ts @@ -0,0 +1,160 @@ +import { beforeEach, describe, expect, it } from 'vitest'; +import { mount, shallowMount } from '@vue/test-utils'; +import { createPinia, setActivePinia } from 'pinia'; +import _ from 'lodash'; +import CInputText from './c-input-text.vue'; +import { useValidation } from '@/composable/validation'; + +describe('CInputText', () => { + beforeEach(() => { + setActivePinia(createPinia()); + }); + + it('Renders a label', () => { + const wrapper = shallowMount(CInputText, { + props: { + label: 'Label', + }, + }); + + expect(wrapper.get('.label').text()).to.equal('Label'); + }); + + it('Renders a placeholder', () => { + const wrapper = shallowMount(CInputText, { + props: { + placeholder: 'Placeholder', + }, + }); + + expect(wrapper.get('.input').attributes('placeholder')).to.equal('Placeholder'); + }); + + it('Renders a value', () => { + const wrapper = shallowMount(CInputText, { + props: { + value: 'Value', + }, + }); + + expect(wrapper.vm.value).to.equal('Value'); + }); + + it('Renders a provided id', () => { + const wrapper = shallowMount(CInputText, { + props: { + id: 'id', + }, + }); + + expect(wrapper.get('.input').attributes('id')).to.equal('id'); + }); + + it('updates value on input', async () => { + const wrapper = shallowMount(CInputText); + + await wrapper.get('input').setValue('Hello'); + + expect(_.get(wrapper.emitted(), 'update:value.0.0')).to.equal('Hello'); + }); + + it('cannot be edited when disabled', async () => { + const wrapper = shallowMount(CInputText, { + props: { + disabled: true, + }, + }); + + await wrapper.get('input').setValue('Hello'); + + expect(_.get(wrapper.emitted(), 'update:value')).toBeUndefined(); + }); + + it('renders a feedback message for invalid rules', async () => { + const wrapper = shallowMount(CInputText, { + props: { validationRules: [{ validator: () => false, message: 'Message' }] }, + }); + + const feedback = wrapper.find('.feedback'); + expect(feedback.exists()).to.equal(true); + expect(feedback.text()).to.equal('Message'); + }); + + it('if the value become valid according to rules, the feedback disappear', async () => { + const wrapper = shallowMount(CInputText, { + props: { + validationRules: [{ validator: (value: string) => value === 'Hello', message: 'Value should be Hello' }], + }, + }); + + const feedback = wrapper.find('.feedback'); + expect(feedback.exists()).to.equal(true); + expect(feedback.text()).to.equal('Value should be Hello'); + + await wrapper.setProps({ value: 'Hello' }); + + expect(wrapper.find('.feedback').exists()).to.equal(false); + }); + + it('feedback does not render for valid rules', async () => { + const wrapper = shallowMount(CInputText, { + props: { rules: [{ validator: () => true, message: 'Message' }] }, + }); + + expect(wrapper.find('.feedback').exists()).to.equal(false); + }); + + it('renders a feedback message for invalid custom validation wrapper', async () => { + const wrapper = shallowMount(CInputText, { + props: { + validation: useValidation({ source: ref(), rules: [{ validator: () => false, message: 'Message' }] }), + }, + }); + + const feedback = wrapper.find('.feedback'); + expect(feedback.exists()).to.equal(true); + expect(feedback.text()).to.equal('Message'); + }); + + it('feedback does not render for valid custom validation wrapper', async () => { + const wrapper = shallowMount(CInputText, { + props: { + validation: useValidation({ source: ref(), rules: [{ validator: () => true, message: 'Message' }] }), + }, + }); + expect(wrapper.find('.feedback').exists()).to.equal(false); + }); + + it('if the value become valid according to the custom validation wrapper, the feedback disappear', async () => { + const source = ref(''); + + const wrapper = shallowMount(CInputText, { + props: { + validation: useValidation({ + source, + rules: [{ validator: (value: string) => value === 'Hello', message: 'Value should be Hello' }], + }), + }, + }); + + const feedback = wrapper.find('.feedback'); + expect(feedback.exists()).to.equal(true); + expect(feedback.text()).to.equal('Value should be Hello'); + + source.value = 'Hello'; + + await wrapper.vm.$nextTick(); + + expect(wrapper.find('.feedback').exists()).to.equal(false); + }); + + it('[prop:testId] renders a test id on the input', async () => { + const wrapper = mount(CInputText, { + props: { + testId: 'TEST', + }, + }); + + expect(wrapper.get('input').attributes('data-test-id')).to.equal('TEST'); + }); +}); diff --git a/zh-CN/src/ui/c-input-text/c-input-text.theme.ts b/zh-CN/src/ui/c-input-text/c-input-text.theme.ts new file mode 100644 index 00000000..93739d45 --- /dev/null +++ b/zh-CN/src/ui/c-input-text/c-input-text.theme.ts @@ -0,0 +1,20 @@ +import { defineThemes } from '../theme/theme.models'; + +export const { useTheme } = defineThemes({ + dark: { + backgroundColor: '#333333', + borderColor: '#333333', + + focus: { + backgroundColor: '#1ea54c1a', + }, + }, + light: { + backgroundColor: '#ffffff', + borderColor: '#e0e0e69e', + + focus: { + backgroundColor: '#ffffff', + }, + }, +}); diff --git a/zh-CN/src/ui/c-input-text/c-input-text.vue b/zh-CN/src/ui/c-input-text/c-input-text.vue new file mode 100644 index 00000000..35b50f4d --- /dev/null +++ b/zh-CN/src/ui/c-input-text/c-input-text.vue @@ -0,0 +1,341 @@ + + +