diff --git a/dashboard/node_modules/.bin/nanoid b/dashboard/node_modules/.bin/nanoid
new file mode 100644
index 0000000000000000000000000000000000000000..46220bdb50a336a25eeeba47739cbb251b2e4483
--- /dev/null
+++ b/dashboard/node_modules/.bin/nanoid
@@ -0,0 +1,16 @@
+#!/bin/sh
+basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
+
+case `uname` in
+ *CYGWIN*|*MINGW*|*MSYS*)
+ if command -v cygpath > /dev/null 2>&1; then
+ basedir=`cygpath -w "$basedir"`
+ fi
+ ;;
+esac
+
+if [ -x "$basedir/node" ]; then
+ exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
+else
+ exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
+fi
diff --git a/dashboard/node_modules/.bin/nanoid.cmd b/dashboard/node_modules/.bin/nanoid.cmd
new file mode 100644
index 0000000000000000000000000000000000000000..601a2c88c5e2788b82bf5e5675075538e5c5c2b0
--- /dev/null
+++ b/dashboard/node_modules/.bin/nanoid.cmd
@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+ SET "_prog=%dp0%\node.exe"
+) ELSE (
+ SET "_prog=node"
+ SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*
diff --git a/dashboard/node_modules/.bin/nanoid.ps1 b/dashboard/node_modules/.bin/nanoid.ps1
new file mode 100644
index 0000000000000000000000000000000000000000..d8a4d7ad2115d92dae280d26ae80bc9fd6e0566b
--- /dev/null
+++ b/dashboard/node_modules/.bin/nanoid.ps1
@@ -0,0 +1,28 @@
+#!/usr/bin/env pwsh
+$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
+
+$exe=""
+if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
+ # Fix case when both the Windows and Linux builds of Node
+ # are installed in the same directory
+ $exe=".exe"
+}
+$ret=0
+if (Test-Path "$basedir/node$exe") {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
+ } else {
+ & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
+ }
+ $ret=$LASTEXITCODE
+} else {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
+ } else {
+ & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
+ }
+ $ret=$LASTEXITCODE
+}
+exit $ret
diff --git a/dashboard/node_modules/.bin/rolldown b/dashboard/node_modules/.bin/rolldown
new file mode 100644
index 0000000000000000000000000000000000000000..e7853eec23029960dddc3bb41f17138804a89d13
--- /dev/null
+++ b/dashboard/node_modules/.bin/rolldown
@@ -0,0 +1,16 @@
+#!/bin/sh
+basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
+
+case `uname` in
+ *CYGWIN*|*MINGW*|*MSYS*)
+ if command -v cygpath > /dev/null 2>&1; then
+ basedir=`cygpath -w "$basedir"`
+ fi
+ ;;
+esac
+
+if [ -x "$basedir/node" ]; then
+ exec "$basedir/node" "$basedir/../rolldown/bin/cli.mjs" "$@"
+else
+ exec node "$basedir/../rolldown/bin/cli.mjs" "$@"
+fi
diff --git a/dashboard/node_modules/.bin/rolldown.cmd b/dashboard/node_modules/.bin/rolldown.cmd
new file mode 100644
index 0000000000000000000000000000000000000000..c9da987f1753a70e720ac3e343be19f48038737f
--- /dev/null
+++ b/dashboard/node_modules/.bin/rolldown.cmd
@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+ SET "_prog=%dp0%\node.exe"
+) ELSE (
+ SET "_prog=node"
+ SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rolldown\bin\cli.mjs" %*
diff --git a/dashboard/node_modules/.bin/rolldown.ps1 b/dashboard/node_modules/.bin/rolldown.ps1
new file mode 100644
index 0000000000000000000000000000000000000000..145fb8eb9d48bd92dd66aba148a17fbe3a064d07
--- /dev/null
+++ b/dashboard/node_modules/.bin/rolldown.ps1
@@ -0,0 +1,28 @@
+#!/usr/bin/env pwsh
+$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
+
+$exe=""
+if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
+ # Fix case when both the Windows and Linux builds of Node
+ # are installed in the same directory
+ $exe=".exe"
+}
+$ret=0
+if (Test-Path "$basedir/node$exe") {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "$basedir/node$exe" "$basedir/../rolldown/bin/cli.mjs" $args
+ } else {
+ & "$basedir/node$exe" "$basedir/../rolldown/bin/cli.mjs" $args
+ }
+ $ret=$LASTEXITCODE
+} else {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "node$exe" "$basedir/../rolldown/bin/cli.mjs" $args
+ } else {
+ & "node$exe" "$basedir/../rolldown/bin/cli.mjs" $args
+ }
+ $ret=$LASTEXITCODE
+}
+exit $ret
diff --git a/dashboard/node_modules/.bin/vite b/dashboard/node_modules/.bin/vite
new file mode 100644
index 0000000000000000000000000000000000000000..014463f962f9db08da642cdcc33a6bbfc3ccb9a2
--- /dev/null
+++ b/dashboard/node_modules/.bin/vite
@@ -0,0 +1,16 @@
+#!/bin/sh
+basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
+
+case `uname` in
+ *CYGWIN*|*MINGW*|*MSYS*)
+ if command -v cygpath > /dev/null 2>&1; then
+ basedir=`cygpath -w "$basedir"`
+ fi
+ ;;
+esac
+
+if [ -x "$basedir/node" ]; then
+ exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
+else
+ exec node "$basedir/../vite/bin/vite.js" "$@"
+fi
diff --git a/dashboard/node_modules/.bin/vite.cmd b/dashboard/node_modules/.bin/vite.cmd
new file mode 100644
index 0000000000000000000000000000000000000000..e824f3a6282e5cefaee0cca6dc8e4009699d71ba
--- /dev/null
+++ b/dashboard/node_modules/.bin/vite.cmd
@@ -0,0 +1,17 @@
+@ECHO off
+GOTO start
+:find_dp0
+SET dp0=%~dp0
+EXIT /b
+:start
+SETLOCAL
+CALL :find_dp0
+
+IF EXIST "%dp0%\node.exe" (
+ SET "_prog=%dp0%\node.exe"
+) ELSE (
+ SET "_prog=node"
+ SET PATHEXT=%PATHEXT:;.JS;=;%
+)
+
+endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vite\bin\vite.js" %*
diff --git a/dashboard/node_modules/.bin/vite.ps1 b/dashboard/node_modules/.bin/vite.ps1
new file mode 100644
index 0000000000000000000000000000000000000000..a7759bcf2e3fcd381635df7c31198b2afe37bfac
--- /dev/null
+++ b/dashboard/node_modules/.bin/vite.ps1
@@ -0,0 +1,28 @@
+#!/usr/bin/env pwsh
+$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
+
+$exe=""
+if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
+ # Fix case when both the Windows and Linux builds of Node
+ # are installed in the same directory
+ $exe=".exe"
+}
+$ret=0
+if (Test-Path "$basedir/node$exe") {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
+ } else {
+ & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
+ }
+ $ret=$LASTEXITCODE
+} else {
+ # Support pipeline input
+ if ($MyInvocation.ExpectingInput) {
+ $input | & "node$exe" "$basedir/../vite/bin/vite.js" $args
+ } else {
+ & "node$exe" "$basedir/../vite/bin/vite.js" $args
+ }
+ $ret=$LASTEXITCODE
+}
+exit $ret
diff --git a/dashboard/node_modules/.package-lock.json b/dashboard/node_modules/.package-lock.json
new file mode 100644
index 0000000000000000000000000000000000000000..938336ad3d2245ab7d4fb72b440cd96b70ff27c2
--- /dev/null
+++ b/dashboard/node_modules/.package-lock.json
@@ -0,0 +1,328 @@
+{
+ "name": "dashboard",
+ "version": "0.0.0",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "node_modules/@oxc-project/types": {
+ "version": "0.127.0",
+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.127.0.tgz",
+ "integrity": "sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==",
+ "dev": true,
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/Boshen"
+ }
+ },
+ "node_modules/@rolldown/binding-win32-x64-msvc": {
+ "version": "1.0.0-rc.17",
+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.0.0-rc.17.tgz",
+ "integrity": "sha512-3hkiolcUAvPB9FLb3UZdfjVVNWherN1f/skkGWJP/fgSQhYUZpSIRr0/I8ZK9TkF3F7kxvJAk0+IcKvPHk9qQg==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ }
+ },
+ "node_modules/@rolldown/pluginutils": {
+ "version": "1.0.0-rc.17",
+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-rc.17.tgz",
+ "integrity": "sha512-n8iosDOt6Ig1UhJ2AYqoIhHWh/isz0xpicHTzpKBeotdVsTEcxsSA/i3EVM7gQAj0rU27OLAxCjzlj15IWY7bg==",
+ "dev": true,
+ "license": "MIT"
+ },
+ "node_modules/detect-libc": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/fdir": {
+ "version": "6.5.0",
+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/lightningcss": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.32.0.tgz",
+ "integrity": "sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==",
+ "dev": true,
+ "license": "MPL-2.0",
+ "dependencies": {
+ "detect-libc": "^2.0.3"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "optionalDependencies": {
+ "lightningcss-android-arm64": "1.32.0",
+ "lightningcss-darwin-arm64": "1.32.0",
+ "lightningcss-darwin-x64": "1.32.0",
+ "lightningcss-freebsd-x64": "1.32.0",
+ "lightningcss-linux-arm-gnueabihf": "1.32.0",
+ "lightningcss-linux-arm64-gnu": "1.32.0",
+ "lightningcss-linux-arm64-musl": "1.32.0",
+ "lightningcss-linux-x64-gnu": "1.32.0",
+ "lightningcss-linux-x64-musl": "1.32.0",
+ "lightningcss-win32-arm64-msvc": "1.32.0",
+ "lightningcss-win32-x64-msvc": "1.32.0"
+ }
+ },
+ "node_modules/lightningcss-win32-x64-msvc": {
+ "version": "1.32.0",
+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.32.0.tgz",
+ "integrity": "sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "MPL-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ }
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.12",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.12.tgz",
+ "integrity": "sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
+ "dev": true,
+ "license": "ISC"
+ },
+ "node_modules/picomatch": {
+ "version": "4.0.4",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
+ "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.5.13",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.13.tgz",
+ "integrity": "sha512-qif0+jGGZoLWdHey3UFHHWP0H7Gbmsk8T5VEqyYFbWqPr1XqvLGBbk/sl8V5exGmcYJklJOhOQq1pV9IcsiFag==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "nanoid": "^3.3.11",
+ "picocolors": "^1.1.1",
+ "source-map-js": "^1.2.1"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/rolldown": {
+ "version": "1.0.0-rc.17",
+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.0.0-rc.17.tgz",
+ "integrity": "sha512-ZrT53oAKrtA4+YtBWPQbtPOxIbVDbxT0orcYERKd63VJTF13zPcgXTvD4843L8pcsI7M6MErt8QtON6lrB9tyA==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@oxc-project/types": "=0.127.0",
+ "@rolldown/pluginutils": "1.0.0-rc.17"
+ },
+ "bin": {
+ "rolldown": "bin/cli.mjs"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "optionalDependencies": {
+ "@rolldown/binding-android-arm64": "1.0.0-rc.17",
+ "@rolldown/binding-darwin-arm64": "1.0.0-rc.17",
+ "@rolldown/binding-darwin-x64": "1.0.0-rc.17",
+ "@rolldown/binding-freebsd-x64": "1.0.0-rc.17",
+ "@rolldown/binding-linux-arm-gnueabihf": "1.0.0-rc.17",
+ "@rolldown/binding-linux-arm64-gnu": "1.0.0-rc.17",
+ "@rolldown/binding-linux-arm64-musl": "1.0.0-rc.17",
+ "@rolldown/binding-linux-ppc64-gnu": "1.0.0-rc.17",
+ "@rolldown/binding-linux-s390x-gnu": "1.0.0-rc.17",
+ "@rolldown/binding-linux-x64-gnu": "1.0.0-rc.17",
+ "@rolldown/binding-linux-x64-musl": "1.0.0-rc.17",
+ "@rolldown/binding-openharmony-arm64": "1.0.0-rc.17",
+ "@rolldown/binding-wasm32-wasi": "1.0.0-rc.17",
+ "@rolldown/binding-win32-arm64-msvc": "1.0.0-rc.17",
+ "@rolldown/binding-win32-x64-msvc": "1.0.0-rc.17"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz",
+ "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==",
+ "dev": true,
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/tinyglobby": {
+ "version": "0.2.16",
+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz",
+ "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "fdir": "^6.5.0",
+ "picomatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/SuperchupuDev"
+ }
+ },
+ "node_modules/vite": {
+ "version": "8.0.10",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.0.10.tgz",
+ "integrity": "sha512-rZuUu9j6J5uotLDs+cAA4O5H4K1SfPliUlQwqa6YEwSrWDZzP4rhm00oJR5snMewjxF5V/K3D4kctsUTsIU9Mw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "lightningcss": "^1.32.0",
+ "picomatch": "^4.0.4",
+ "postcss": "^8.5.10",
+ "rolldown": "1.0.0-rc.17",
+ "tinyglobby": "^0.2.16"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.3"
+ },
+ "peerDependencies": {
+ "@types/node": "^20.19.0 || >=22.12.0",
+ "@vitejs/devtools": "^0.1.0",
+ "esbuild": "^0.27.0 || ^0.28.0",
+ "jiti": ">=1.21.0",
+ "less": "^4.0.0",
+ "sass": "^1.70.0",
+ "sass-embedded": "^1.70.0",
+ "stylus": ">=0.54.8",
+ "sugarss": "^5.0.0",
+ "terser": "^5.16.0",
+ "tsx": "^4.8.1",
+ "yaml": "^2.4.2"
+ },
+ "peerDependenciesMeta": {
+ "@types/node": {
+ "optional": true
+ },
+ "@vitejs/devtools": {
+ "optional": true
+ },
+ "esbuild": {
+ "optional": true
+ },
+ "jiti": {
+ "optional": true
+ },
+ "less": {
+ "optional": true
+ },
+ "sass": {
+ "optional": true
+ },
+ "sass-embedded": {
+ "optional": true
+ },
+ "stylus": {
+ "optional": true
+ },
+ "sugarss": {
+ "optional": true
+ },
+ "terser": {
+ "optional": true
+ },
+ "tsx": {
+ "optional": true
+ },
+ "yaml": {
+ "optional": true
+ }
+ }
+ }
+ }
+}
diff --git a/dashboard/node_modules/.vite/deps/_metadata.json b/dashboard/node_modules/.vite/deps/_metadata.json
new file mode 100644
index 0000000000000000000000000000000000000000..e551c762b53052636f4ada491ff3087f7bb78839
--- /dev/null
+++ b/dashboard/node_modules/.vite/deps/_metadata.json
@@ -0,0 +1,8 @@
+{
+ "hash": "64673c37",
+ "configHash": "c827bc6e",
+ "lockfileHash": "fe4eda88",
+ "browserHash": "2bbc932b",
+ "optimized": {},
+ "chunks": {}
+}
\ No newline at end of file
diff --git a/dashboard/node_modules/.vite/deps/package.json b/dashboard/node_modules/.vite/deps/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..3dbc1ca591c0557e35b6004aeba250e6a70b56e3
--- /dev/null
+++ b/dashboard/node_modules/.vite/deps/package.json
@@ -0,0 +1,3 @@
+{
+ "type": "module"
+}
diff --git a/dashboard/node_modules/@oxc-project/types/LICENSE b/dashboard/node_modules/@oxc-project/types/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..444bffc00e5190817c0092e5e6fde787102977d2
--- /dev/null
+++ b/dashboard/node_modules/@oxc-project/types/LICENSE
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2024-present VoidZero Inc. & Contributors
+Copyright (c) 2023 Boshen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/dashboard/node_modules/@oxc-project/types/README.md b/dashboard/node_modules/@oxc-project/types/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..d5b248ac3fc1e8673b6fc55bda1c04e9a0464d02
--- /dev/null
+++ b/dashboard/node_modules/@oxc-project/types/README.md
@@ -0,0 +1,3 @@
+# Oxc Types
+
+Typescript definitions for Oxc AST nodes.
diff --git a/dashboard/node_modules/@oxc-project/types/package.json b/dashboard/node_modules/@oxc-project/types/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..f181226507da4a88116b0bd9b6e110235c823059
--- /dev/null
+++ b/dashboard/node_modules/@oxc-project/types/package.json
@@ -0,0 +1,26 @@
+{
+ "name": "@oxc-project/types",
+ "version": "0.127.0",
+ "description": "Types for Oxc AST nodes",
+ "keywords": [
+ "AST",
+ "Parser"
+ ],
+ "homepage": "https://oxc.rs",
+ "bugs": "https://github.com/oxc-project/oxc/issues",
+ "license": "MIT",
+ "author": "Boshen and oxc contributors",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/oxc-project/oxc.git",
+ "directory": "npm/oxc-types"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/Boshen"
+ },
+ "files": [
+ "types.d.ts"
+ ],
+ "type": "module",
+ "types": "types.d.ts"
+}
\ No newline at end of file
diff --git a/dashboard/node_modules/@oxc-project/types/types.d.ts b/dashboard/node_modules/@oxc-project/types/types.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..c94c1159e6302de98254582d9f3aeea5514bdd71
--- /dev/null
+++ b/dashboard/node_modules/@oxc-project/types/types.d.ts
@@ -0,0 +1,1912 @@
+// Auto-generated code, DO NOT EDIT DIRECTLY!
+// To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.
+
+export interface Program extends Span {
+ type: "Program";
+ body: Array
;
+ sourceType: ModuleKind;
+ hashbang: Hashbang | null;
+ parent?: null;
+}
+
+export type Expression =
+ | BooleanLiteral
+ | NullLiteral
+ | NumericLiteral
+ | BigIntLiteral
+ | RegExpLiteral
+ | StringLiteral
+ | TemplateLiteral
+ | IdentifierReference
+ | MetaProperty
+ | Super
+ | ArrayExpression
+ | ArrowFunctionExpression
+ | AssignmentExpression
+ | AwaitExpression
+ | BinaryExpression
+ | CallExpression
+ | ChainExpression
+ | Class
+ | ConditionalExpression
+ | Function
+ | ImportExpression
+ | LogicalExpression
+ | NewExpression
+ | ObjectExpression
+ | ParenthesizedExpression
+ | SequenceExpression
+ | TaggedTemplateExpression
+ | ThisExpression
+ | UnaryExpression
+ | UpdateExpression
+ | YieldExpression
+ | PrivateInExpression
+ | JSXElement
+ | JSXFragment
+ | TSAsExpression
+ | TSSatisfiesExpression
+ | TSTypeAssertion
+ | TSNonNullExpression
+ | TSInstantiationExpression
+ | V8IntrinsicExpression
+ | MemberExpression;
+
+export interface IdentifierName extends Span {
+ type: "Identifier";
+ decorators?: [];
+ name: string;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface IdentifierReference extends Span {
+ type: "Identifier";
+ decorators?: [];
+ name: string;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface BindingIdentifier extends Span {
+ type: "Identifier";
+ decorators?: [];
+ name: string;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface LabelIdentifier extends Span {
+ type: "Identifier";
+ decorators?: [];
+ name: string;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface ThisExpression extends Span {
+ type: "ThisExpression";
+ parent?: Node;
+}
+
+export interface ArrayExpression extends Span {
+ type: "ArrayExpression";
+ elements: Array;
+ parent?: Node;
+}
+
+export type ArrayExpressionElement = SpreadElement | null | Expression;
+
+export interface ObjectExpression extends Span {
+ type: "ObjectExpression";
+ properties: Array;
+ parent?: Node;
+}
+
+export type ObjectPropertyKind = ObjectProperty | SpreadElement;
+
+export interface ObjectProperty extends Span {
+ type: "Property";
+ kind: PropertyKind;
+ key: PropertyKey;
+ value: Expression;
+ method: boolean;
+ shorthand: boolean;
+ computed: boolean;
+ optional?: false;
+ parent?: Node;
+}
+
+export type PropertyKey = IdentifierName | PrivateIdentifier | Expression;
+
+export type PropertyKind = "init" | "get" | "set";
+
+export interface TemplateLiteral extends Span {
+ type: "TemplateLiteral";
+ quasis: Array;
+ expressions: Array;
+ parent?: Node;
+}
+
+export interface TaggedTemplateExpression extends Span {
+ type: "TaggedTemplateExpression";
+ tag: Expression;
+ typeArguments?: TSTypeParameterInstantiation | null;
+ quasi: TemplateLiteral;
+ parent?: Node;
+}
+
+export interface TemplateElement extends Span {
+ type: "TemplateElement";
+ value: TemplateElementValue;
+ tail: boolean;
+ parent?: Node;
+}
+
+export interface TemplateElementValue {
+ raw: string;
+ cooked: string | null;
+}
+
+export type MemberExpression =
+ | ComputedMemberExpression
+ | StaticMemberExpression
+ | PrivateFieldExpression;
+
+export interface ComputedMemberExpression extends Span {
+ type: "MemberExpression";
+ object: Expression;
+ property: Expression;
+ optional: boolean;
+ computed: true;
+ parent?: Node;
+}
+
+export interface StaticMemberExpression extends Span {
+ type: "MemberExpression";
+ object: Expression;
+ property: IdentifierName;
+ optional: boolean;
+ computed: false;
+ parent?: Node;
+}
+
+export interface PrivateFieldExpression extends Span {
+ type: "MemberExpression";
+ object: Expression;
+ property: PrivateIdentifier;
+ optional: boolean;
+ computed: false;
+ parent?: Node;
+}
+
+export interface CallExpression extends Span {
+ type: "CallExpression";
+ callee: Expression;
+ typeArguments?: TSTypeParameterInstantiation | null;
+ arguments: Array;
+ optional: boolean;
+ parent?: Node;
+}
+
+export interface NewExpression extends Span {
+ type: "NewExpression";
+ callee: Expression;
+ typeArguments?: TSTypeParameterInstantiation | null;
+ arguments: Array;
+ parent?: Node;
+}
+
+export interface MetaProperty extends Span {
+ type: "MetaProperty";
+ meta: IdentifierName;
+ property: IdentifierName;
+ parent?: Node;
+}
+
+export interface SpreadElement extends Span {
+ type: "SpreadElement";
+ argument: Expression;
+ parent?: Node;
+}
+
+export type Argument = SpreadElement | Expression;
+
+export interface UpdateExpression extends Span {
+ type: "UpdateExpression";
+ operator: UpdateOperator;
+ prefix: boolean;
+ argument: SimpleAssignmentTarget;
+ parent?: Node;
+}
+
+export interface UnaryExpression extends Span {
+ type: "UnaryExpression";
+ operator: UnaryOperator;
+ argument: Expression;
+ prefix: true;
+ parent?: Node;
+}
+
+export interface BinaryExpression extends Span {
+ type: "BinaryExpression";
+ left: Expression;
+ operator: BinaryOperator;
+ right: Expression;
+ parent?: Node;
+}
+
+export interface PrivateInExpression extends Span {
+ type: "BinaryExpression";
+ left: PrivateIdentifier;
+ operator: "in";
+ right: Expression;
+ parent?: Node;
+}
+
+export interface LogicalExpression extends Span {
+ type: "LogicalExpression";
+ left: Expression;
+ operator: LogicalOperator;
+ right: Expression;
+ parent?: Node;
+}
+
+export interface ConditionalExpression extends Span {
+ type: "ConditionalExpression";
+ test: Expression;
+ consequent: Expression;
+ alternate: Expression;
+ parent?: Node;
+}
+
+export interface AssignmentExpression extends Span {
+ type: "AssignmentExpression";
+ operator: AssignmentOperator;
+ left: AssignmentTarget;
+ right: Expression;
+ parent?: Node;
+}
+
+export type AssignmentTarget = SimpleAssignmentTarget | AssignmentTargetPattern;
+
+export type SimpleAssignmentTarget =
+ | IdentifierReference
+ | TSAsExpression
+ | TSSatisfiesExpression
+ | TSNonNullExpression
+ | TSTypeAssertion
+ | MemberExpression;
+
+export type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
+
+export interface ArrayAssignmentTarget extends Span {
+ type: "ArrayPattern";
+ decorators?: [];
+ elements: Array;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface ObjectAssignmentTarget extends Span {
+ type: "ObjectPattern";
+ decorators?: [];
+ properties: Array;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface AssignmentTargetRest extends Span {
+ type: "RestElement";
+ decorators?: [];
+ argument: AssignmentTarget;
+ optional?: false;
+ typeAnnotation?: null;
+ value?: null;
+ parent?: Node;
+}
+
+export type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
+
+export interface AssignmentTargetWithDefault extends Span {
+ type: "AssignmentPattern";
+ decorators?: [];
+ left: AssignmentTarget;
+ right: Expression;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export type AssignmentTargetProperty =
+ | AssignmentTargetPropertyIdentifier
+ | AssignmentTargetPropertyProperty;
+
+export interface AssignmentTargetPropertyIdentifier extends Span {
+ type: "Property";
+ kind: "init";
+ key: IdentifierReference;
+ value: IdentifierReference | AssignmentTargetWithDefault;
+ method: false;
+ shorthand: true;
+ computed: false;
+ optional?: false;
+ parent?: Node;
+}
+
+export interface AssignmentTargetPropertyProperty extends Span {
+ type: "Property";
+ kind: "init";
+ key: PropertyKey;
+ value: AssignmentTargetMaybeDefault;
+ method: false;
+ shorthand: false;
+ computed: boolean;
+ optional?: false;
+ parent?: Node;
+}
+
+export interface SequenceExpression extends Span {
+ type: "SequenceExpression";
+ expressions: Array;
+ parent?: Node;
+}
+
+export interface Super extends Span {
+ type: "Super";
+ parent?: Node;
+}
+
+export interface AwaitExpression extends Span {
+ type: "AwaitExpression";
+ argument: Expression;
+ parent?: Node;
+}
+
+export interface ChainExpression extends Span {
+ type: "ChainExpression";
+ expression: ChainElement;
+ parent?: Node;
+}
+
+export type ChainElement = CallExpression | TSNonNullExpression | MemberExpression;
+
+export interface ParenthesizedExpression extends Span {
+ type: "ParenthesizedExpression";
+ expression: Expression;
+ parent?: Node;
+}
+
+export type Statement =
+ | BlockStatement
+ | BreakStatement
+ | ContinueStatement
+ | DebuggerStatement
+ | DoWhileStatement
+ | EmptyStatement
+ | ExpressionStatement
+ | ForInStatement
+ | ForOfStatement
+ | ForStatement
+ | IfStatement
+ | LabeledStatement
+ | ReturnStatement
+ | SwitchStatement
+ | ThrowStatement
+ | TryStatement
+ | WhileStatement
+ | WithStatement
+ | Declaration
+ | ModuleDeclaration;
+
+export interface Directive extends Span {
+ type: "ExpressionStatement";
+ expression: StringLiteral;
+ directive: string;
+ parent?: Node;
+}
+
+export interface Hashbang extends Span {
+ type: "Hashbang";
+ value: string;
+ parent?: Node;
+}
+
+export interface BlockStatement extends Span {
+ type: "BlockStatement";
+ body: Array;
+ parent?: Node;
+}
+
+export type Declaration =
+ | VariableDeclaration
+ | Function
+ | Class
+ | TSTypeAliasDeclaration
+ | TSInterfaceDeclaration
+ | TSEnumDeclaration
+ | TSModuleDeclaration
+ | TSGlobalDeclaration
+ | TSImportEqualsDeclaration;
+
+export interface VariableDeclaration extends Span {
+ type: "VariableDeclaration";
+ kind: VariableDeclarationKind;
+ declarations: Array;
+ declare?: boolean;
+ parent?: Node;
+}
+
+export type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
+
+export interface VariableDeclarator extends Span {
+ type: "VariableDeclarator";
+ id: BindingPattern;
+ init: Expression | null;
+ definite?: boolean;
+ parent?: Node;
+}
+
+export interface EmptyStatement extends Span {
+ type: "EmptyStatement";
+ parent?: Node;
+}
+
+export interface ExpressionStatement extends Span {
+ type: "ExpressionStatement";
+ expression: Expression;
+ directive?: string | null;
+ parent?: Node;
+}
+
+export interface IfStatement extends Span {
+ type: "IfStatement";
+ test: Expression;
+ consequent: Statement;
+ alternate: Statement | null;
+ parent?: Node;
+}
+
+export interface DoWhileStatement extends Span {
+ type: "DoWhileStatement";
+ body: Statement;
+ test: Expression;
+ parent?: Node;
+}
+
+export interface WhileStatement extends Span {
+ type: "WhileStatement";
+ test: Expression;
+ body: Statement;
+ parent?: Node;
+}
+
+export interface ForStatement extends Span {
+ type: "ForStatement";
+ init: ForStatementInit | null;
+ test: Expression | null;
+ update: Expression | null;
+ body: Statement;
+ parent?: Node;
+}
+
+export type ForStatementInit = VariableDeclaration | Expression;
+
+export interface ForInStatement extends Span {
+ type: "ForInStatement";
+ left: ForStatementLeft;
+ right: Expression;
+ body: Statement;
+ parent?: Node;
+}
+
+export type ForStatementLeft = VariableDeclaration | AssignmentTarget;
+
+export interface ForOfStatement extends Span {
+ type: "ForOfStatement";
+ await: boolean;
+ left: ForStatementLeft;
+ right: Expression;
+ body: Statement;
+ parent?: Node;
+}
+
+export interface ContinueStatement extends Span {
+ type: "ContinueStatement";
+ label: LabelIdentifier | null;
+ parent?: Node;
+}
+
+export interface BreakStatement extends Span {
+ type: "BreakStatement";
+ label: LabelIdentifier | null;
+ parent?: Node;
+}
+
+export interface ReturnStatement extends Span {
+ type: "ReturnStatement";
+ argument: Expression | null;
+ parent?: Node;
+}
+
+export interface WithStatement extends Span {
+ type: "WithStatement";
+ object: Expression;
+ body: Statement;
+ parent?: Node;
+}
+
+export interface SwitchStatement extends Span {
+ type: "SwitchStatement";
+ discriminant: Expression;
+ cases: Array;
+ parent?: Node;
+}
+
+export interface SwitchCase extends Span {
+ type: "SwitchCase";
+ test: Expression | null;
+ consequent: Array;
+ parent?: Node;
+}
+
+export interface LabeledStatement extends Span {
+ type: "LabeledStatement";
+ label: LabelIdentifier;
+ body: Statement;
+ parent?: Node;
+}
+
+export interface ThrowStatement extends Span {
+ type: "ThrowStatement";
+ argument: Expression;
+ parent?: Node;
+}
+
+export interface TryStatement extends Span {
+ type: "TryStatement";
+ block: BlockStatement;
+ handler: CatchClause | null;
+ finalizer: BlockStatement | null;
+ parent?: Node;
+}
+
+export interface CatchClause extends Span {
+ type: "CatchClause";
+ param: BindingPattern | null;
+ body: BlockStatement;
+ parent?: Node;
+}
+
+export interface DebuggerStatement extends Span {
+ type: "DebuggerStatement";
+ parent?: Node;
+}
+
+export type BindingPattern = BindingIdentifier | ObjectPattern | ArrayPattern | AssignmentPattern;
+
+export interface AssignmentPattern extends Span {
+ type: "AssignmentPattern";
+ decorators?: [];
+ left: BindingPattern;
+ right: Expression;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface ObjectPattern extends Span {
+ type: "ObjectPattern";
+ decorators?: [];
+ properties: Array;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface BindingProperty extends Span {
+ type: "Property";
+ kind: "init";
+ key: PropertyKey;
+ value: BindingPattern;
+ method: false;
+ shorthand: boolean;
+ computed: boolean;
+ optional?: false;
+ parent?: Node;
+}
+
+export interface ArrayPattern extends Span {
+ type: "ArrayPattern";
+ decorators?: [];
+ elements: Array;
+ optional?: false;
+ typeAnnotation?: null;
+ parent?: Node;
+}
+
+export interface BindingRestElement extends Span {
+ type: "RestElement";
+ decorators?: [];
+ argument: BindingPattern;
+ optional?: false;
+ typeAnnotation?: null;
+ value?: null;
+ parent?: Node;
+}
+
+export interface Function extends Span {
+ type: FunctionType;
+ id: BindingIdentifier | null;
+ generator: boolean;
+ async: boolean;
+ declare?: boolean;
+ typeParameters?: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType?: TSTypeAnnotation | null;
+ body: FunctionBody | null;
+ expression: false;
+ parent?: Node;
+}
+
+export type ParamPattern = FormalParameter | TSParameterProperty | FormalParameterRest;
+
+export type FunctionType =
+ | "FunctionDeclaration"
+ | "FunctionExpression"
+ | "TSDeclareFunction"
+ | "TSEmptyBodyFunctionExpression";
+
+export interface FormalParameterRest extends Span {
+ type: "RestElement";
+ argument: BindingPattern;
+ decorators?: [];
+ optional?: boolean;
+ typeAnnotation?: TSTypeAnnotation | null;
+ value?: null;
+ parent?: Node;
+}
+
+export type FormalParameter = {
+ decorators?: Array;
+} & BindingPattern;
+
+export interface TSParameterProperty extends Span {
+ type: "TSParameterProperty";
+ accessibility: TSAccessibility | null;
+ decorators: Array;
+ override: boolean;
+ parameter: FormalParameter;
+ readonly: boolean;
+ static: boolean;
+ parent?: Node;
+}
+
+export interface FunctionBody extends Span {
+ type: "BlockStatement";
+ body: Array;
+ parent?: Node;
+}
+
+export interface ArrowFunctionExpression extends Span {
+ type: "ArrowFunctionExpression";
+ expression: boolean;
+ async: boolean;
+ typeParameters?: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType?: TSTypeAnnotation | null;
+ body: FunctionBody | Expression;
+ id: null;
+ generator: false;
+ parent?: Node;
+}
+
+export interface YieldExpression extends Span {
+ type: "YieldExpression";
+ delegate: boolean;
+ argument: Expression | null;
+ parent?: Node;
+}
+
+export interface Class extends Span {
+ type: ClassType;
+ decorators: Array;
+ id: BindingIdentifier | null;
+ typeParameters?: TSTypeParameterDeclaration | null;
+ superClass: Expression | null;
+ superTypeArguments?: TSTypeParameterInstantiation | null;
+ implements?: Array;
+ body: ClassBody;
+ abstract?: boolean;
+ declare?: boolean;
+ parent?: Node;
+}
+
+export type ClassType = "ClassDeclaration" | "ClassExpression";
+
+export interface ClassBody extends Span {
+ type: "ClassBody";
+ body: Array;
+ parent?: Node;
+}
+
+export type ClassElement =
+ | StaticBlock
+ | MethodDefinition
+ | PropertyDefinition
+ | AccessorProperty
+ | TSIndexSignature;
+
+export interface MethodDefinition extends Span {
+ type: MethodDefinitionType;
+ decorators: Array;
+ key: PropertyKey;
+ value: Function;
+ kind: MethodDefinitionKind;
+ computed: boolean;
+ static: boolean;
+ override?: boolean;
+ optional?: boolean;
+ accessibility?: TSAccessibility | null;
+ parent?: Node;
+}
+
+export type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
+
+export interface PropertyDefinition extends Span {
+ type: PropertyDefinitionType;
+ decorators: Array;
+ key: PropertyKey;
+ typeAnnotation?: TSTypeAnnotation | null;
+ value: Expression | null;
+ computed: boolean;
+ static: boolean;
+ declare?: boolean;
+ override?: boolean;
+ optional?: boolean;
+ definite?: boolean;
+ readonly?: boolean;
+ accessibility?: TSAccessibility | null;
+ parent?: Node;
+}
+
+export type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
+
+export type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
+
+export interface PrivateIdentifier extends Span {
+ type: "PrivateIdentifier";
+ name: string;
+ parent?: Node;
+}
+
+export interface StaticBlock extends Span {
+ type: "StaticBlock";
+ body: Array;
+ parent?: Node;
+}
+
+export type ModuleDeclaration =
+ | ImportDeclaration
+ | ExportAllDeclaration
+ | ExportDefaultDeclaration
+ | ExportNamedDeclaration
+ | TSExportAssignment
+ | TSNamespaceExportDeclaration;
+
+export type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
+
+export interface AccessorProperty extends Span {
+ type: AccessorPropertyType;
+ decorators: Array;
+ key: PropertyKey;
+ typeAnnotation?: TSTypeAnnotation | null;
+ value: Expression | null;
+ computed: boolean;
+ static: boolean;
+ override?: boolean;
+ definite?: boolean;
+ accessibility?: TSAccessibility | null;
+ declare?: false;
+ optional?: false;
+ readonly?: false;
+ parent?: Node;
+}
+
+export interface ImportExpression extends Span {
+ type: "ImportExpression";
+ source: Expression;
+ options: Expression | null;
+ phase: ImportPhase | null;
+ parent?: Node;
+}
+
+export interface ImportDeclaration extends Span {
+ type: "ImportDeclaration";
+ specifiers: Array;
+ source: StringLiteral;
+ phase: ImportPhase | null;
+ attributes: Array;
+ importKind?: ImportOrExportKind;
+ parent?: Node;
+}
+
+export type ImportPhase = "source" | "defer";
+
+export type ImportDeclarationSpecifier =
+ | ImportSpecifier
+ | ImportDefaultSpecifier
+ | ImportNamespaceSpecifier;
+
+export interface ImportSpecifier extends Span {
+ type: "ImportSpecifier";
+ imported: ModuleExportName;
+ local: BindingIdentifier;
+ importKind?: ImportOrExportKind;
+ parent?: Node;
+}
+
+export interface ImportDefaultSpecifier extends Span {
+ type: "ImportDefaultSpecifier";
+ local: BindingIdentifier;
+ parent?: Node;
+}
+
+export interface ImportNamespaceSpecifier extends Span {
+ type: "ImportNamespaceSpecifier";
+ local: BindingIdentifier;
+ parent?: Node;
+}
+
+export interface ImportAttribute extends Span {
+ type: "ImportAttribute";
+ key: ImportAttributeKey;
+ value: StringLiteral;
+ parent?: Node;
+}
+
+export type ImportAttributeKey = IdentifierName | StringLiteral;
+
+export interface ExportNamedDeclaration extends Span {
+ type: "ExportNamedDeclaration";
+ declaration: Declaration | null;
+ specifiers: Array;
+ source: StringLiteral | null;
+ exportKind?: ImportOrExportKind;
+ attributes: Array;
+ parent?: Node;
+}
+
+export interface ExportDefaultDeclaration extends Span {
+ type: "ExportDefaultDeclaration";
+ declaration: ExportDefaultDeclarationKind;
+ exportKind?: "value";
+ parent?: Node;
+}
+
+export interface ExportAllDeclaration extends Span {
+ type: "ExportAllDeclaration";
+ exported: ModuleExportName | null;
+ source: StringLiteral;
+ attributes: Array;
+ exportKind?: ImportOrExportKind;
+ parent?: Node;
+}
+
+export interface ExportSpecifier extends Span {
+ type: "ExportSpecifier";
+ local: ModuleExportName;
+ exported: ModuleExportName;
+ exportKind?: ImportOrExportKind;
+ parent?: Node;
+}
+
+export type ExportDefaultDeclarationKind = Function | Class | TSInterfaceDeclaration | Expression;
+
+export type ModuleExportName = IdentifierName | IdentifierReference | StringLiteral;
+
+export interface V8IntrinsicExpression extends Span {
+ type: "V8IntrinsicExpression";
+ name: IdentifierName;
+ arguments: Array;
+ parent?: Node;
+}
+
+export interface BooleanLiteral extends Span {
+ type: "Literal";
+ value: boolean;
+ raw: string | null;
+ parent?: Node;
+}
+
+export interface NullLiteral extends Span {
+ type: "Literal";
+ value: null;
+ raw: "null" | null;
+ parent?: Node;
+}
+
+export interface NumericLiteral extends Span {
+ type: "Literal";
+ value: number;
+ raw: string | null;
+ parent?: Node;
+}
+
+export interface StringLiteral extends Span {
+ type: "Literal";
+ value: string;
+ raw: string | null;
+ parent?: Node;
+}
+
+export interface BigIntLiteral extends Span {
+ type: "Literal";
+ value: bigint;
+ raw: string | null;
+ bigint: string;
+ parent?: Node;
+}
+
+export interface RegExpLiteral extends Span {
+ type: "Literal";
+ value: RegExp | null;
+ raw: string | null;
+ regex: { pattern: string; flags: string };
+ parent?: Node;
+}
+
+export interface JSXElement extends Span {
+ type: "JSXElement";
+ openingElement: JSXOpeningElement;
+ children: Array;
+ closingElement: JSXClosingElement | null;
+ parent?: Node;
+}
+
+export interface JSXOpeningElement extends Span {
+ type: "JSXOpeningElement";
+ name: JSXElementName;
+ typeArguments?: TSTypeParameterInstantiation | null;
+ attributes: Array;
+ selfClosing: boolean;
+ parent?: Node;
+}
+
+export interface JSXClosingElement extends Span {
+ type: "JSXClosingElement";
+ name: JSXElementName;
+ parent?: Node;
+}
+
+export interface JSXFragment extends Span {
+ type: "JSXFragment";
+ openingFragment: JSXOpeningFragment;
+ children: Array;
+ closingFragment: JSXClosingFragment;
+ parent?: Node;
+}
+
+export interface JSXOpeningFragment extends Span {
+ type: "JSXOpeningFragment";
+ attributes?: [];
+ selfClosing?: false;
+ parent?: Node;
+}
+
+export interface JSXClosingFragment extends Span {
+ type: "JSXClosingFragment";
+ parent?: Node;
+}
+
+export type JSXElementName = JSXIdentifier | JSXNamespacedName | JSXMemberExpression;
+
+export interface JSXNamespacedName extends Span {
+ type: "JSXNamespacedName";
+ namespace: JSXIdentifier;
+ name: JSXIdentifier;
+ parent?: Node;
+}
+
+export interface JSXMemberExpression extends Span {
+ type: "JSXMemberExpression";
+ object: JSXMemberExpressionObject;
+ property: JSXIdentifier;
+ parent?: Node;
+}
+
+export type JSXMemberExpressionObject = JSXIdentifier | JSXMemberExpression;
+
+export interface JSXExpressionContainer extends Span {
+ type: "JSXExpressionContainer";
+ expression: JSXExpression;
+ parent?: Node;
+}
+
+export type JSXExpression = JSXEmptyExpression | Expression;
+
+export interface JSXEmptyExpression extends Span {
+ type: "JSXEmptyExpression";
+ parent?: Node;
+}
+
+export type JSXAttributeItem = JSXAttribute | JSXSpreadAttribute;
+
+export interface JSXAttribute extends Span {
+ type: "JSXAttribute";
+ name: JSXAttributeName;
+ value: JSXAttributeValue | null;
+ parent?: Node;
+}
+
+export interface JSXSpreadAttribute extends Span {
+ type: "JSXSpreadAttribute";
+ argument: Expression;
+ parent?: Node;
+}
+
+export type JSXAttributeName = JSXIdentifier | JSXNamespacedName;
+
+export type JSXAttributeValue = StringLiteral | JSXExpressionContainer | JSXElement | JSXFragment;
+
+export interface JSXIdentifier extends Span {
+ type: "JSXIdentifier";
+ name: string;
+ parent?: Node;
+}
+
+export type JSXChild = JSXText | JSXElement | JSXFragment | JSXExpressionContainer | JSXSpreadChild;
+
+export interface JSXSpreadChild extends Span {
+ type: "JSXSpreadChild";
+ expression: Expression;
+ parent?: Node;
+}
+
+export interface JSXText extends Span {
+ type: "JSXText";
+ value: string;
+ raw: string | null;
+ parent?: Node;
+}
+
+export interface TSThisParameter extends Span {
+ type: "Identifier";
+ decorators: [];
+ name: "this";
+ optional: false;
+ typeAnnotation: TSTypeAnnotation | null;
+ parent?: Node;
+}
+
+export interface TSEnumDeclaration extends Span {
+ type: "TSEnumDeclaration";
+ id: BindingIdentifier;
+ body: TSEnumBody;
+ const: boolean;
+ declare: boolean;
+ parent?: Node;
+}
+
+export interface TSEnumBody extends Span {
+ type: "TSEnumBody";
+ members: Array;
+ parent?: Node;
+}
+
+export interface TSEnumMember extends Span {
+ type: "TSEnumMember";
+ id: TSEnumMemberName;
+ initializer: Expression | null;
+ computed: boolean;
+ parent?: Node;
+}
+
+export type TSEnumMemberName = IdentifierName | StringLiteral | TemplateLiteral;
+
+export interface TSTypeAnnotation extends Span {
+ type: "TSTypeAnnotation";
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export interface TSLiteralType extends Span {
+ type: "TSLiteralType";
+ literal: TSLiteral;
+ parent?: Node;
+}
+
+export type TSLiteral =
+ | BooleanLiteral
+ | NumericLiteral
+ | BigIntLiteral
+ | StringLiteral
+ | TemplateLiteral
+ | UnaryExpression;
+
+export type TSType =
+ | TSAnyKeyword
+ | TSBigIntKeyword
+ | TSBooleanKeyword
+ | TSIntrinsicKeyword
+ | TSNeverKeyword
+ | TSNullKeyword
+ | TSNumberKeyword
+ | TSObjectKeyword
+ | TSStringKeyword
+ | TSSymbolKeyword
+ | TSUndefinedKeyword
+ | TSUnknownKeyword
+ | TSVoidKeyword
+ | TSArrayType
+ | TSConditionalType
+ | TSConstructorType
+ | TSFunctionType
+ | TSImportType
+ | TSIndexedAccessType
+ | TSInferType
+ | TSIntersectionType
+ | TSLiteralType
+ | TSMappedType
+ | TSNamedTupleMember
+ | TSTemplateLiteralType
+ | TSThisType
+ | TSTupleType
+ | TSTypeLiteral
+ | TSTypeOperator
+ | TSTypePredicate
+ | TSTypeQuery
+ | TSTypeReference
+ | TSUnionType
+ | TSParenthesizedType
+ | JSDocNullableType
+ | JSDocNonNullableType
+ | JSDocUnknownType;
+
+export interface TSConditionalType extends Span {
+ type: "TSConditionalType";
+ checkType: TSType;
+ extendsType: TSType;
+ trueType: TSType;
+ falseType: TSType;
+ parent?: Node;
+}
+
+export interface TSUnionType extends Span {
+ type: "TSUnionType";
+ types: Array;
+ parent?: Node;
+}
+
+export interface TSIntersectionType extends Span {
+ type: "TSIntersectionType";
+ types: Array;
+ parent?: Node;
+}
+
+export interface TSParenthesizedType extends Span {
+ type: "TSParenthesizedType";
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export interface TSTypeOperator extends Span {
+ type: "TSTypeOperator";
+ operator: TSTypeOperatorOperator;
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
+
+export interface TSArrayType extends Span {
+ type: "TSArrayType";
+ elementType: TSType;
+ parent?: Node;
+}
+
+export interface TSIndexedAccessType extends Span {
+ type: "TSIndexedAccessType";
+ objectType: TSType;
+ indexType: TSType;
+ parent?: Node;
+}
+
+export interface TSTupleType extends Span {
+ type: "TSTupleType";
+ elementTypes: Array;
+ parent?: Node;
+}
+
+export interface TSNamedTupleMember extends Span {
+ type: "TSNamedTupleMember";
+ label: IdentifierName;
+ elementType: TSTupleElement;
+ optional: boolean;
+ parent?: Node;
+}
+
+export interface TSOptionalType extends Span {
+ type: "TSOptionalType";
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export interface TSRestType extends Span {
+ type: "TSRestType";
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export type TSTupleElement = TSOptionalType | TSRestType | TSType;
+
+export interface TSAnyKeyword extends Span {
+ type: "TSAnyKeyword";
+ parent?: Node;
+}
+
+export interface TSStringKeyword extends Span {
+ type: "TSStringKeyword";
+ parent?: Node;
+}
+
+export interface TSBooleanKeyword extends Span {
+ type: "TSBooleanKeyword";
+ parent?: Node;
+}
+
+export interface TSNumberKeyword extends Span {
+ type: "TSNumberKeyword";
+ parent?: Node;
+}
+
+export interface TSNeverKeyword extends Span {
+ type: "TSNeverKeyword";
+ parent?: Node;
+}
+
+export interface TSIntrinsicKeyword extends Span {
+ type: "TSIntrinsicKeyword";
+ parent?: Node;
+}
+
+export interface TSUnknownKeyword extends Span {
+ type: "TSUnknownKeyword";
+ parent?: Node;
+}
+
+export interface TSNullKeyword extends Span {
+ type: "TSNullKeyword";
+ parent?: Node;
+}
+
+export interface TSUndefinedKeyword extends Span {
+ type: "TSUndefinedKeyword";
+ parent?: Node;
+}
+
+export interface TSVoidKeyword extends Span {
+ type: "TSVoidKeyword";
+ parent?: Node;
+}
+
+export interface TSSymbolKeyword extends Span {
+ type: "TSSymbolKeyword";
+ parent?: Node;
+}
+
+export interface TSThisType extends Span {
+ type: "TSThisType";
+ parent?: Node;
+}
+
+export interface TSObjectKeyword extends Span {
+ type: "TSObjectKeyword";
+ parent?: Node;
+}
+
+export interface TSBigIntKeyword extends Span {
+ type: "TSBigIntKeyword";
+ parent?: Node;
+}
+
+export interface TSTypeReference extends Span {
+ type: "TSTypeReference";
+ typeName: TSTypeName;
+ typeArguments: TSTypeParameterInstantiation | null;
+ parent?: Node;
+}
+
+export type TSTypeName = IdentifierReference | TSQualifiedName | ThisExpression;
+
+export interface TSQualifiedName extends Span {
+ type: "TSQualifiedName";
+ left: TSTypeName;
+ right: IdentifierName;
+ parent?: Node;
+}
+
+export interface TSTypeParameterInstantiation extends Span {
+ type: "TSTypeParameterInstantiation";
+ params: Array;
+ parent?: Node;
+}
+
+export interface TSTypeParameter extends Span {
+ type: "TSTypeParameter";
+ name: BindingIdentifier;
+ constraint: TSType | null;
+ default: TSType | null;
+ in: boolean;
+ out: boolean;
+ const: boolean;
+ parent?: Node;
+}
+
+export interface TSTypeParameterDeclaration extends Span {
+ type: "TSTypeParameterDeclaration";
+ params: Array;
+ parent?: Node;
+}
+
+export interface TSTypeAliasDeclaration extends Span {
+ type: "TSTypeAliasDeclaration";
+ id: BindingIdentifier;
+ typeParameters: TSTypeParameterDeclaration | null;
+ typeAnnotation: TSType;
+ declare: boolean;
+ parent?: Node;
+}
+
+export type TSAccessibility = "private" | "protected" | "public";
+
+export interface TSClassImplements extends Span {
+ type: "TSClassImplements";
+ expression: IdentifierReference | ThisExpression | MemberExpression;
+ typeArguments: TSTypeParameterInstantiation | null;
+ parent?: Node;
+}
+
+export interface TSInterfaceDeclaration extends Span {
+ type: "TSInterfaceDeclaration";
+ id: BindingIdentifier;
+ typeParameters: TSTypeParameterDeclaration | null;
+ extends: Array;
+ body: TSInterfaceBody;
+ declare: boolean;
+ parent?: Node;
+}
+
+export interface TSInterfaceBody extends Span {
+ type: "TSInterfaceBody";
+ body: Array;
+ parent?: Node;
+}
+
+export interface TSPropertySignature extends Span {
+ type: "TSPropertySignature";
+ computed: boolean;
+ optional: boolean;
+ readonly: boolean;
+ key: PropertyKey;
+ typeAnnotation: TSTypeAnnotation | null;
+ accessibility: null;
+ static: false;
+ parent?: Node;
+}
+
+export type TSSignature =
+ | TSIndexSignature
+ | TSPropertySignature
+ | TSCallSignatureDeclaration
+ | TSConstructSignatureDeclaration
+ | TSMethodSignature;
+
+export interface TSIndexSignature extends Span {
+ type: "TSIndexSignature";
+ parameters: Array;
+ typeAnnotation: TSTypeAnnotation;
+ readonly: boolean;
+ static: boolean;
+ accessibility: null;
+ parent?: Node;
+}
+
+export interface TSCallSignatureDeclaration extends Span {
+ type: "TSCallSignatureDeclaration";
+ typeParameters: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType: TSTypeAnnotation | null;
+ parent?: Node;
+}
+
+export type TSMethodSignatureKind = "method" | "get" | "set";
+
+export interface TSMethodSignature extends Span {
+ type: "TSMethodSignature";
+ key: PropertyKey;
+ computed: boolean;
+ optional: boolean;
+ kind: TSMethodSignatureKind;
+ typeParameters: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType: TSTypeAnnotation | null;
+ accessibility: null;
+ readonly: false;
+ static: false;
+ parent?: Node;
+}
+
+export interface TSConstructSignatureDeclaration extends Span {
+ type: "TSConstructSignatureDeclaration";
+ typeParameters: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType: TSTypeAnnotation | null;
+ parent?: Node;
+}
+
+export interface TSIndexSignatureName extends Span {
+ type: "Identifier";
+ decorators: [];
+ name: string;
+ optional: false;
+ typeAnnotation: TSTypeAnnotation;
+ parent?: Node;
+}
+
+export interface TSInterfaceHeritage extends Span {
+ type: "TSInterfaceHeritage";
+ expression: Expression;
+ typeArguments: TSTypeParameterInstantiation | null;
+ parent?: Node;
+}
+
+export interface TSTypePredicate extends Span {
+ type: "TSTypePredicate";
+ parameterName: TSTypePredicateName;
+ asserts: boolean;
+ typeAnnotation: TSTypeAnnotation | null;
+ parent?: Node;
+}
+
+export type TSTypePredicateName = IdentifierName | TSThisType;
+
+export interface TSModuleDeclaration extends Span {
+ type: "TSModuleDeclaration";
+ id: BindingIdentifier | StringLiteral | TSQualifiedName;
+ body: TSModuleBlock | null;
+ kind: TSModuleDeclarationKind;
+ declare: boolean;
+ global: false;
+ parent?: Node;
+}
+
+export type TSModuleDeclarationKind = "module" | "namespace";
+
+export interface TSGlobalDeclaration extends Span {
+ type: "TSModuleDeclaration";
+ id: IdentifierName;
+ body: TSModuleBlock;
+ kind: "global";
+ declare: boolean;
+ global: true;
+ parent?: Node;
+}
+
+export interface TSModuleBlock extends Span {
+ type: "TSModuleBlock";
+ body: Array;
+ parent?: Node;
+}
+
+export interface TSTypeLiteral extends Span {
+ type: "TSTypeLiteral";
+ members: Array;
+ parent?: Node;
+}
+
+export interface TSInferType extends Span {
+ type: "TSInferType";
+ typeParameter: TSTypeParameter;
+ parent?: Node;
+}
+
+export interface TSTypeQuery extends Span {
+ type: "TSTypeQuery";
+ exprName: TSTypeQueryExprName;
+ typeArguments: TSTypeParameterInstantiation | null;
+ parent?: Node;
+}
+
+export type TSTypeQueryExprName = TSImportType | TSTypeName;
+
+export interface TSImportType extends Span {
+ type: "TSImportType";
+ source: StringLiteral;
+ options: ObjectExpression | null;
+ qualifier: TSImportTypeQualifier | null;
+ typeArguments: TSTypeParameterInstantiation | null;
+ parent?: Node;
+}
+
+export type TSImportTypeQualifier = IdentifierName | TSImportTypeQualifiedName;
+
+export interface TSImportTypeQualifiedName extends Span {
+ type: "TSQualifiedName";
+ left: TSImportTypeQualifier;
+ right: IdentifierName;
+ parent?: Node;
+}
+
+export interface TSFunctionType extends Span {
+ type: "TSFunctionType";
+ typeParameters: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType: TSTypeAnnotation;
+ parent?: Node;
+}
+
+export interface TSConstructorType extends Span {
+ type: "TSConstructorType";
+ abstract: boolean;
+ typeParameters: TSTypeParameterDeclaration | null;
+ params: ParamPattern[];
+ returnType: TSTypeAnnotation;
+ parent?: Node;
+}
+
+export interface TSMappedType extends Span {
+ type: "TSMappedType";
+ key: BindingIdentifier;
+ constraint: TSType;
+ nameType: TSType | null;
+ typeAnnotation: TSType | null;
+ optional: TSMappedTypeModifierOperator | false;
+ readonly: TSMappedTypeModifierOperator | null;
+ parent?: Node;
+}
+
+export type TSMappedTypeModifierOperator = true | "+" | "-";
+
+export interface TSTemplateLiteralType extends Span {
+ type: "TSTemplateLiteralType";
+ quasis: Array;
+ types: Array;
+ parent?: Node;
+}
+
+export interface TSAsExpression extends Span {
+ type: "TSAsExpression";
+ expression: Expression;
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export interface TSSatisfiesExpression extends Span {
+ type: "TSSatisfiesExpression";
+ expression: Expression;
+ typeAnnotation: TSType;
+ parent?: Node;
+}
+
+export interface TSTypeAssertion extends Span {
+ type: "TSTypeAssertion";
+ typeAnnotation: TSType;
+ expression: Expression;
+ parent?: Node;
+}
+
+export interface TSImportEqualsDeclaration extends Span {
+ type: "TSImportEqualsDeclaration";
+ id: BindingIdentifier;
+ moduleReference: TSModuleReference;
+ importKind: ImportOrExportKind;
+ parent?: Node;
+}
+
+export type TSModuleReference = TSExternalModuleReference | IdentifierReference | TSQualifiedName;
+
+export interface TSExternalModuleReference extends Span {
+ type: "TSExternalModuleReference";
+ expression: StringLiteral;
+ parent?: Node;
+}
+
+export interface TSNonNullExpression extends Span {
+ type: "TSNonNullExpression";
+ expression: Expression;
+ parent?: Node;
+}
+
+export interface Decorator extends Span {
+ type: "Decorator";
+ expression: Expression;
+ parent?: Node;
+}
+
+export interface TSExportAssignment extends Span {
+ type: "TSExportAssignment";
+ expression: Expression;
+ parent?: Node;
+}
+
+export interface TSNamespaceExportDeclaration extends Span {
+ type: "TSNamespaceExportDeclaration";
+ id: IdentifierName;
+ parent?: Node;
+}
+
+export interface TSInstantiationExpression extends Span {
+ type: "TSInstantiationExpression";
+ expression: Expression;
+ typeArguments: TSTypeParameterInstantiation;
+ parent?: Node;
+}
+
+export type ImportOrExportKind = "value" | "type";
+
+export interface JSDocNullableType extends Span {
+ type: "TSJSDocNullableType";
+ typeAnnotation: TSType;
+ postfix: boolean;
+ parent?: Node;
+}
+
+export interface JSDocNonNullableType extends Span {
+ type: "TSJSDocNonNullableType";
+ typeAnnotation: TSType;
+ postfix: boolean;
+ parent?: Node;
+}
+
+export interface JSDocUnknownType extends Span {
+ type: "TSJSDocUnknownType";
+ parent?: Node;
+}
+
+export type ModuleKind = "script" | "module" | "commonjs";
+
+export interface Span {
+ start: number;
+ end: number;
+ range?: [number, number];
+}
+
+export type AssignmentOperator =
+ | "="
+ | "+="
+ | "-="
+ | "*="
+ | "/="
+ | "%="
+ | "**="
+ | "<<="
+ | ">>="
+ | ">>>="
+ | "|="
+ | "^="
+ | "&="
+ | "||="
+ | "&&="
+ | "??=";
+
+export type BinaryOperator =
+ | "=="
+ | "!="
+ | "==="
+ | "!=="
+ | "<"
+ | "<="
+ | ">"
+ | ">="
+ | "+"
+ | "-"
+ | "*"
+ | "/"
+ | "%"
+ | "**"
+ | "<<"
+ | ">>"
+ | ">>>"
+ | "|"
+ | "^"
+ | "&"
+ | "in"
+ | "instanceof";
+
+export type LogicalOperator = "||" | "&&" | "??";
+
+export type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
+
+export type UpdateOperator = "++" | "--";
+
+export type Node =
+ | Program
+ | IdentifierName
+ | IdentifierReference
+ | BindingIdentifier
+ | LabelIdentifier
+ | ThisExpression
+ | ArrayExpression
+ | ObjectExpression
+ | ObjectProperty
+ | TemplateLiteral
+ | TaggedTemplateExpression
+ | TemplateElement
+ | ComputedMemberExpression
+ | StaticMemberExpression
+ | PrivateFieldExpression
+ | CallExpression
+ | NewExpression
+ | MetaProperty
+ | SpreadElement
+ | UpdateExpression
+ | UnaryExpression
+ | BinaryExpression
+ | PrivateInExpression
+ | LogicalExpression
+ | ConditionalExpression
+ | AssignmentExpression
+ | ArrayAssignmentTarget
+ | ObjectAssignmentTarget
+ | AssignmentTargetRest
+ | AssignmentTargetWithDefault
+ | AssignmentTargetPropertyIdentifier
+ | AssignmentTargetPropertyProperty
+ | SequenceExpression
+ | Super
+ | AwaitExpression
+ | ChainExpression
+ | ParenthesizedExpression
+ | Directive
+ | Hashbang
+ | BlockStatement
+ | VariableDeclaration
+ | VariableDeclarator
+ | EmptyStatement
+ | ExpressionStatement
+ | IfStatement
+ | DoWhileStatement
+ | WhileStatement
+ | ForStatement
+ | ForInStatement
+ | ForOfStatement
+ | ContinueStatement
+ | BreakStatement
+ | ReturnStatement
+ | WithStatement
+ | SwitchStatement
+ | SwitchCase
+ | LabeledStatement
+ | ThrowStatement
+ | TryStatement
+ | CatchClause
+ | DebuggerStatement
+ | AssignmentPattern
+ | ObjectPattern
+ | BindingProperty
+ | ArrayPattern
+ | BindingRestElement
+ | Function
+ | FunctionBody
+ | ArrowFunctionExpression
+ | YieldExpression
+ | Class
+ | ClassBody
+ | MethodDefinition
+ | PropertyDefinition
+ | PrivateIdentifier
+ | StaticBlock
+ | AccessorProperty
+ | ImportExpression
+ | ImportDeclaration
+ | ImportSpecifier
+ | ImportDefaultSpecifier
+ | ImportNamespaceSpecifier
+ | ImportAttribute
+ | ExportNamedDeclaration
+ | ExportDefaultDeclaration
+ | ExportAllDeclaration
+ | ExportSpecifier
+ | V8IntrinsicExpression
+ | BooleanLiteral
+ | NullLiteral
+ | NumericLiteral
+ | StringLiteral
+ | BigIntLiteral
+ | RegExpLiteral
+ | JSXElement
+ | JSXOpeningElement
+ | JSXClosingElement
+ | JSXFragment
+ | JSXOpeningFragment
+ | JSXClosingFragment
+ | JSXNamespacedName
+ | JSXMemberExpression
+ | JSXExpressionContainer
+ | JSXEmptyExpression
+ | JSXAttribute
+ | JSXSpreadAttribute
+ | JSXIdentifier
+ | JSXSpreadChild
+ | JSXText
+ | TSThisParameter
+ | TSEnumDeclaration
+ | TSEnumBody
+ | TSEnumMember
+ | TSTypeAnnotation
+ | TSLiteralType
+ | TSConditionalType
+ | TSUnionType
+ | TSIntersectionType
+ | TSParenthesizedType
+ | TSTypeOperator
+ | TSArrayType
+ | TSIndexedAccessType
+ | TSTupleType
+ | TSNamedTupleMember
+ | TSOptionalType
+ | TSRestType
+ | TSAnyKeyword
+ | TSStringKeyword
+ | TSBooleanKeyword
+ | TSNumberKeyword
+ | TSNeverKeyword
+ | TSIntrinsicKeyword
+ | TSUnknownKeyword
+ | TSNullKeyword
+ | TSUndefinedKeyword
+ | TSVoidKeyword
+ | TSSymbolKeyword
+ | TSThisType
+ | TSObjectKeyword
+ | TSBigIntKeyword
+ | TSTypeReference
+ | TSQualifiedName
+ | TSTypeParameterInstantiation
+ | TSTypeParameter
+ | TSTypeParameterDeclaration
+ | TSTypeAliasDeclaration
+ | TSClassImplements
+ | TSInterfaceDeclaration
+ | TSInterfaceBody
+ | TSPropertySignature
+ | TSIndexSignature
+ | TSCallSignatureDeclaration
+ | TSMethodSignature
+ | TSConstructSignatureDeclaration
+ | TSIndexSignatureName
+ | TSInterfaceHeritage
+ | TSTypePredicate
+ | TSModuleDeclaration
+ | TSGlobalDeclaration
+ | TSModuleBlock
+ | TSTypeLiteral
+ | TSInferType
+ | TSTypeQuery
+ | TSImportType
+ | TSImportTypeQualifiedName
+ | TSFunctionType
+ | TSConstructorType
+ | TSMappedType
+ | TSTemplateLiteralType
+ | TSAsExpression
+ | TSSatisfiesExpression
+ | TSTypeAssertion
+ | TSImportEqualsDeclaration
+ | TSExternalModuleReference
+ | TSNonNullExpression
+ | Decorator
+ | TSExportAssignment
+ | TSNamespaceExportDeclaration
+ | TSInstantiationExpression
+ | JSDocNullableType
+ | JSDocNonNullableType
+ | JSDocUnknownType
+ | ParamPattern;
diff --git a/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/README.md b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..ce38f8ea0d2b0c5eb1c54297eb074664b85f18c4
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/README.md
@@ -0,0 +1,3 @@
+# `@rolldown/binding-win32-x64-msvc`
+
+This is the **x86_64-pc-windows-msvc** binary for `@rolldown/binding`
diff --git a/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/package.json b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..dcd9224d50351be01d5c906f8bfd37b93853db90
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/package.json
@@ -0,0 +1,37 @@
+{
+ "name": "@rolldown/binding-win32-x64-msvc",
+ "version": "1.0.0-rc.17",
+ "cpu": [
+ "x64"
+ ],
+ "main": "rolldown-binding.win32-x64-msvc.node",
+ "files": [
+ "rolldown-binding.win32-x64-msvc.node"
+ ],
+ "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
+ "keywords": [
+ "bundler",
+ "esbuild",
+ "parcel",
+ "rolldown",
+ "rollup",
+ "webpack"
+ ],
+ "homepage": "https://rolldown.rs/",
+ "license": "MIT",
+ "engines": {
+ "node": "^20.19.0 || >=22.12.0"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/rolldown/rolldown.git",
+ "directory": "packages/rolldown"
+ },
+ "publishConfig": {
+ "registry": "https://registry.npmjs.org/",
+ "access": "public"
+ },
+ "os": [
+ "win32"
+ ]
+}
\ No newline at end of file
diff --git a/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node
new file mode 100644
index 0000000000000000000000000000000000000000..ea5abf24fd4e5ca0d22c18d7cd18e1bc9da152fb
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/binding-win32-x64-msvc/rolldown-binding.win32-x64-msvc.node
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:912974e68c2f46ca74e4474e1f21e1154eae0ffcff9ef0783d994c36b2f341cd
+size 24431616
diff --git a/dashboard/node_modules/@rolldown/pluginutils/LICENSE b/dashboard/node_modules/@rolldown/pluginutils/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..afc0cdbabfb99ed4030bf9be2b852977f1ed72a0
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/LICENSE
@@ -0,0 +1,25 @@
+MIT License
+
+Copyright (c) 2024-present VoidZero Inc. & Contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+end of terms and conditions
+
+The licenses of externally maintained libraries from which parts of the Software is derived are listed [here](https://github.com/rolldown/rolldown/blob/main/THIRD-PARTY-LICENSE).
diff --git a/dashboard/node_modules/@rolldown/pluginutils/README.md b/dashboard/node_modules/@rolldown/pluginutils/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..6d29a90101f07b61f26af155cc43d4883903e6c5
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/README.md
@@ -0,0 +1,83 @@
+# @rolldown/pluginutils
+
+A utility library for building flexible, composable filter expressions that can be used in plugin hook filters of Rolldown/Vite/Rollup/Unplugin plugins.
+
+## Installation
+
+```sh
+pnpm add @rolldown/pluginutils
+```
+
+## Usage
+
+### Simple Filters
+
+```ts
+import { exactRegex, makeIdFiltersToMatchWithQuery, prefixRegex } from '@rolldown/pluginutils';
+
+// Match exactly 'foo.js'
+const filter = exactRegex('foo.js');
+
+// Match any id starting with 'lib/'
+const prefix = prefixRegex('lib/');
+
+// Match ids with query params (e.g. 'foo.js?bar')
+const idFilters = makeIdFiltersToMatchWithQuery(['**/*.js', /\.ts$/]);
+
+// Usage in a plugin to define a hook filter
+const myPlugin = {
+ resolveId: {
+ filter: {
+ id: [exactRegex('MY_ID_TO_CHECK'), /some-other-regex/],
+ },
+ handler(id) {
+ // Your code here
+ },
+ },
+};
+```
+
+### Composable Filters
+
+> [!WARNING]
+> Composable filters are not yet supported in Vite or unplugin. They can be used in Rolldown plugins only.
+
+```ts
+import { and, id, include, moduleType, query } from '@rolldown/pluginutils';
+
+// Build a filter expression
+const filterExpr = and(id(/\.ts$/), moduleType('ts'), query('foo', true));
+
+// Usage in a plugin to define a hook filter
+const myPlugin = {
+ transform: {
+ filter: [include(filterExpr)],
+ handler(code, id, options) {
+ // Your code here
+ },
+ },
+};
+```
+
+## API Reference
+
+### Simple Filters
+
+- `exactRegex(str: string, flags?: string): RegExp` — Matches the exact string.
+- `prefixRegex(str: string, flags?: string): RegExp` — Matches values with the given prefix.
+- `makeIdFiltersToMatchWithQuery(input: string | RegExp | (string | RegExp)[]): string | RegExp | (string | RegExp)[]` — Adapts filters to match ids with query params.
+
+### Composable Filters
+
+- `and(...exprs)` / `or(...exprs)` / `not(expr)` — Logical composition of filter expressions.
+- `id(pattern, params?)` — Filter by id. A `string` pattern is matched by exact equality (not glob); a `RegExp` is tested against the id.
+- `importerId(pattern, params?)` — Filter by importer id. A `string` pattern is matched by exact equality; a `RegExp` is tested against the importer id. Only usable with the `resolveId` hook.
+- `moduleType(type)` — Filter by module type (e.g. 'js', 'tsx', or 'json').
+- `code(pattern)` — Filter by code content.
+- `query(key, pattern)` — Filter by query parameter.
+- `include(expr)` / `exclude(expr)` — Top-level include/exclude wrappers.
+- `queries(obj)` — Compose multiple query filters.
+
+### Utilities
+
+- `filterVitePlugins(plugins)` — Filters out Vite plugins with `apply: 'serve'`.
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..9e622a11ed5a946cefb32ecb3ab8a54c3a78a114
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts
@@ -0,0 +1,90 @@
+type StringOrRegExp = string | RegExp;
+type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {});
+export type FilterExpressionKind = FilterExpression['kind'];
+export type FilterExpression = And | Or | Not | Id | ImporterId | ModuleType | Code | Query;
+export type TopLevelFilterExpression = Include | Exclude;
+declare class And {
+ kind: 'and';
+ args: FilterExpression[];
+ constructor(...args: FilterExpression[]);
+}
+declare class Or {
+ kind: 'or';
+ args: FilterExpression[];
+ constructor(...args: FilterExpression[]);
+}
+declare class Not {
+ kind: 'not';
+ expr: FilterExpression;
+ constructor(expr: FilterExpression);
+}
+export interface QueryFilterObject {
+ [key: string]: StringOrRegExp | boolean;
+}
+interface IdParams {
+ cleanUrl?: boolean;
+}
+declare class Id {
+ kind: 'id';
+ pattern: StringOrRegExp;
+ params: IdParams;
+ constructor(pattern: StringOrRegExp, params?: IdParams);
+}
+declare class ImporterId {
+ kind: 'importerId';
+ pattern: StringOrRegExp;
+ params: IdParams;
+ constructor(pattern: StringOrRegExp, params?: IdParams);
+}
+declare class ModuleType {
+ kind: 'moduleType';
+ pattern: PluginModuleType;
+ constructor(pattern: PluginModuleType);
+}
+declare class Code {
+ kind: 'code';
+ pattern: StringOrRegExp;
+ constructor(expr: StringOrRegExp);
+}
+declare class Query {
+ kind: 'query';
+ key: string;
+ pattern: StringOrRegExp | boolean;
+ constructor(key: string, pattern: StringOrRegExp | boolean);
+}
+declare class Include {
+ kind: 'include';
+ expr: FilterExpression;
+ constructor(expr: FilterExpression);
+}
+declare class Exclude {
+ kind: 'exclude';
+ expr: FilterExpression;
+ constructor(expr: FilterExpression);
+}
+export declare function and(...args: FilterExpression[]): And;
+export declare function or(...args: FilterExpression[]): Or;
+export declare function not(expr: FilterExpression): Not;
+export declare function id(pattern: StringOrRegExp, params?: IdParams): Id;
+export declare function importerId(pattern: StringOrRegExp, params?: IdParams): ImporterId;
+export declare function moduleType(pattern: PluginModuleType): ModuleType;
+export declare function code(pattern: StringOrRegExp): Code;
+export declare function query(key: string, pattern: StringOrRegExp | boolean): Query;
+export declare function include(expr: FilterExpression): Include;
+export declare function exclude(expr: FilterExpression): Exclude;
+/**
+ * convert a queryObject to FilterExpression like
+ * ```js
+ * and(query(k1, v1), query(k2, v2))
+ * ```
+ * @param queryFilterObject The query filter object needs to be matched.
+ * @returns a `And` FilterExpression
+ */
+export declare function queries(queryFilter: QueryFilterObject): And;
+export declare function interpreter(exprs: TopLevelFilterExpression | TopLevelFilterExpression[], code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string): boolean;
+interface InterpreterCtx {
+ urlSearchParamsCache?: URLSearchParams;
+}
+export declare function interpreterImpl(expr: TopLevelFilterExpression[], code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean;
+export declare function exprInterpreter(expr: FilterExpression, code?: string, id?: string, moduleType?: PluginModuleType, importerId?: string, ctx?: InterpreterCtx): boolean;
+export {};
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js
new file mode 100644
index 0000000000000000000000000000000000000000..18635626717a571eaaf2fb357ddb77d627e44709
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.js
@@ -0,0 +1,256 @@
+import { cleanUrl, extractQueryWithoutFragment } from "../utils.js";
+class And {
+ kind;
+ args;
+ constructor(...args) {
+ if (args.length === 0) {
+ throw new Error('`And` expects at least one operand');
+ }
+ this.args = args;
+ this.kind = 'and';
+ }
+}
+class Or {
+ kind;
+ args;
+ constructor(...args) {
+ if (args.length === 0) {
+ throw new Error('`Or` expects at least one operand');
+ }
+ this.args = args;
+ this.kind = 'or';
+ }
+}
+class Not {
+ kind;
+ expr;
+ constructor(expr) {
+ this.expr = expr;
+ this.kind = 'not';
+ }
+}
+class Id {
+ kind;
+ pattern;
+ params;
+ constructor(pattern, params) {
+ this.pattern = pattern;
+ this.kind = 'id';
+ this.params = params ?? {
+ cleanUrl: false,
+ };
+ }
+}
+class ImporterId {
+ kind;
+ pattern;
+ params;
+ constructor(pattern, params) {
+ this.pattern = pattern;
+ this.kind = 'importerId';
+ this.params = params ?? {
+ cleanUrl: false,
+ };
+ }
+}
+class ModuleType {
+ kind;
+ pattern;
+ constructor(pattern) {
+ this.pattern = pattern;
+ this.kind = 'moduleType';
+ }
+}
+class Code {
+ kind;
+ pattern;
+ constructor(expr) {
+ this.pattern = expr;
+ this.kind = 'code';
+ }
+}
+class Query {
+ kind;
+ key;
+ pattern;
+ constructor(key, pattern) {
+ this.pattern = pattern;
+ this.key = key;
+ this.kind = 'query';
+ }
+}
+class Include {
+ kind;
+ expr;
+ constructor(expr) {
+ this.expr = expr;
+ this.kind = 'include';
+ }
+}
+class Exclude {
+ kind;
+ expr;
+ constructor(expr) {
+ this.expr = expr;
+ this.kind = 'exclude';
+ }
+}
+export function and(...args) {
+ return new And(...args);
+}
+export function or(...args) {
+ return new Or(...args);
+}
+export function not(expr) {
+ return new Not(expr);
+}
+export function id(pattern, params) {
+ return new Id(pattern, params);
+}
+export function importerId(pattern, params) {
+ return new ImporterId(pattern, params);
+}
+export function moduleType(pattern) {
+ return new ModuleType(pattern);
+}
+export function code(pattern) {
+ return new Code(pattern);
+}
+/*
+ * There are three kinds of conditions are supported:
+ * 1. `boolean`: if the value is `true`, the key must exist and be truthy. if the value is `false`, the key must not exist or be falsy.
+ * 2. `string`: the key must exist and be equal to the value.
+ * 3. `RegExp`: the key must exist and match the value.
+ */
+export function query(key, pattern) {
+ return new Query(key, pattern);
+}
+export function include(expr) {
+ return new Include(expr);
+}
+export function exclude(expr) {
+ return new Exclude(expr);
+}
+/**
+ * convert a queryObject to FilterExpression like
+ * ```js
+ * and(query(k1, v1), query(k2, v2))
+ * ```
+ * @param queryFilterObject The query filter object needs to be matched.
+ * @returns a `And` FilterExpression
+ */
+export function queries(queryFilter) {
+ let arr = Object.entries(queryFilter).map(([key, value]) => {
+ return new Query(key, value);
+ });
+ return and(...arr);
+}
+export function interpreter(exprs, code, id, moduleType, importerId) {
+ let arr = [];
+ if (Array.isArray(exprs)) {
+ arr = exprs;
+ }
+ else {
+ arr = [exprs];
+ }
+ return interpreterImpl(arr, code, id, moduleType, importerId);
+}
+export function interpreterImpl(expr, code, id, moduleType, importerId, ctx = {}) {
+ let hasInclude = false;
+ for (const e of expr) {
+ switch (e.kind) {
+ case 'include': {
+ hasInclude = true;
+ if (exprInterpreter(e.expr, code, id, moduleType, importerId, ctx)) {
+ return true;
+ }
+ break;
+ }
+ case 'exclude': {
+ if (exprInterpreter(e.expr, code, id, moduleType, importerId, ctx)) {
+ return false;
+ }
+ break;
+ }
+ }
+ }
+ return !hasInclude;
+}
+export function exprInterpreter(expr, code, id, moduleType, importerId, ctx = {}) {
+ switch (expr.kind) {
+ case 'and': {
+ return expr.args.every((e) => exprInterpreter(e, code, id, moduleType, importerId, ctx));
+ }
+ case 'or': {
+ return expr.args.some((e) => exprInterpreter(e, code, id, moduleType, importerId, ctx));
+ }
+ case 'not': {
+ return !exprInterpreter(expr.expr, code, id, moduleType, importerId, ctx);
+ }
+ case 'id': {
+ if (id === undefined) {
+ throw new Error('`id` is required for `id` expression');
+ }
+ let idToMatch = id;
+ if (expr.params.cleanUrl) {
+ idToMatch = cleanUrl(idToMatch);
+ }
+ return typeof expr.pattern === 'string'
+ ? idToMatch === expr.pattern
+ : expr.pattern.test(idToMatch);
+ }
+ case 'importerId': {
+ if (importerId === undefined) {
+ return false; // Entry files have no importer, so no match
+ }
+ let importerIdToMatch = importerId;
+ if (expr.params.cleanUrl) {
+ importerIdToMatch = cleanUrl(importerIdToMatch);
+ }
+ return typeof expr.pattern === 'string'
+ ? importerIdToMatch === expr.pattern
+ : expr.pattern.test(importerIdToMatch);
+ }
+ case 'moduleType': {
+ if (moduleType === undefined) {
+ throw new Error('`moduleType` is required for `moduleType` expression');
+ }
+ return moduleType === expr.pattern;
+ }
+ case 'code': {
+ if (code === undefined) {
+ throw new Error('`code` is required for `code` expression');
+ }
+ return typeof expr.pattern === 'string'
+ ? code.includes(expr.pattern)
+ : expr.pattern.test(code);
+ }
+ case 'query': {
+ if (id === undefined) {
+ throw new Error('`id` is required for `Query` expression');
+ }
+ if (!ctx.urlSearchParamsCache) {
+ let queryString = extractQueryWithoutFragment(id);
+ ctx.urlSearchParamsCache = new URLSearchParams(queryString);
+ }
+ let urlParams = ctx.urlSearchParamsCache;
+ if (typeof expr.pattern === 'boolean') {
+ if (expr.pattern) {
+ return urlParams.has(expr.key);
+ }
+ else {
+ return !urlParams.has(expr.key);
+ }
+ }
+ else if (typeof expr.pattern === 'string') {
+ return urlParams.get(expr.key) === expr.pattern;
+ }
+ else {
+ return expr.pattern.test(urlParams.get(expr.key) ?? '');
+ }
+ }
+ default: {
+ throw new Error(`Expression ${JSON.stringify(expr)} is not expected.`);
+ }
+ }
+}
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..256d8fce4e3bf2474315816d13c2fb0577ebf167
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.d.ts
@@ -0,0 +1,28 @@
+/**
+ * Filters out Vite plugins that have `apply: 'serve'` set.
+ *
+ * Since Rolldown operates in build mode, plugins marked with `apply: 'serve'`
+ * are intended only for Vite's dev server and should be excluded from the build process.
+ *
+ * @param plugins - Array of plugins (can include nested arrays)
+ * @returns Filtered array with serve-only plugins removed
+ *
+ * @example
+ * ```ts
+ * import { defineConfig } from 'rolldown';
+ * import { filterVitePlugins } from '@rolldown/pluginutils';
+ * import viteReact from '@vitejs/plugin-react';
+ *
+ * export default defineConfig({
+ * plugins: filterVitePlugins([
+ * viteReact(),
+ * {
+ * name: 'dev-only',
+ * apply: 'serve', // This will be filtered out
+ * // ...
+ * }
+ * ])
+ * });
+ * ```
+ */
+export declare function filterVitePlugins(plugins: T | T[] | null | undefined | false): T[];
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js
new file mode 100644
index 0000000000000000000000000000000000000000..dea79ca975ceb0eb992be7f295e12a8be3de2792
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/filter-vite-plugins.js
@@ -0,0 +1,75 @@
+/**
+ * Filters out Vite plugins that have `apply: 'serve'` set.
+ *
+ * Since Rolldown operates in build mode, plugins marked with `apply: 'serve'`
+ * are intended only for Vite's dev server and should be excluded from the build process.
+ *
+ * @param plugins - Array of plugins (can include nested arrays)
+ * @returns Filtered array with serve-only plugins removed
+ *
+ * @example
+ * ```ts
+ * import { defineConfig } from 'rolldown';
+ * import { filterVitePlugins } from '@rolldown/pluginutils';
+ * import viteReact from '@vitejs/plugin-react';
+ *
+ * export default defineConfig({
+ * plugins: filterVitePlugins([
+ * viteReact(),
+ * {
+ * name: 'dev-only',
+ * apply: 'serve', // This will be filtered out
+ * // ...
+ * }
+ * ])
+ * });
+ * ```
+ */
+export function filterVitePlugins(plugins) {
+ if (!plugins) {
+ return [];
+ }
+ const pluginArray = Array.isArray(plugins) ? plugins : [plugins];
+ const result = [];
+ for (const plugin of pluginArray) {
+ // Skip falsy values
+ if (!plugin) {
+ continue;
+ }
+ // Handle nested arrays recursively
+ if (Array.isArray(plugin)) {
+ result.push(...filterVitePlugins(plugin));
+ continue;
+ }
+ // Check if plugin has apply property
+ const pluginWithApply = plugin;
+ if ('apply' in pluginWithApply) {
+ const applyValue = pluginWithApply.apply;
+ // If apply is a function, call it with build mode
+ if (typeof applyValue === 'function') {
+ try {
+ const shouldApply = applyValue({}, // config object
+ { command: 'build', mode: 'production' });
+ if (shouldApply) {
+ result.push(plugin);
+ }
+ }
+ catch {
+ // If function throws, include the plugin to be safe
+ result.push(plugin);
+ }
+ } // If apply is 'serve', skip this plugin
+ else if (applyValue === 'serve') {
+ continue;
+ } // If apply is 'build' or anything else, include it
+ else {
+ result.push(plugin);
+ }
+ }
+ else {
+ // No apply property, include the plugin
+ result.push(plugin);
+ }
+ }
+ return result;
+}
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..a7a1ea23782106ebdc1266395633ba3a06a35001
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.d.ts
@@ -0,0 +1,3 @@
+export * from './composable-filters.ts';
+export * from './filter-vite-plugins.ts';
+export * from './simple-filters.ts';
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.js b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.js
new file mode 100644
index 0000000000000000000000000000000000000000..6f5bb4fa8e8bc0ff20632f31c7131ac544b2f853
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/index.js
@@ -0,0 +1,3 @@
+export * from "./composable-filters.js";
+export * from "./filter-vite-plugins.js";
+export * from "./simple-filters.js";
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..1f033615c6c6b004a4e9b9ea909090ea36315d46
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.d.ts
@@ -0,0 +1,71 @@
+/**
+ * Constructs a RegExp that matches the exact string specified.
+ *
+ * This is useful for plugin hook filters.
+ *
+ * @param str the string to match.
+ * @param flags flags for the RegExp.
+ *
+ * @example
+ * ```ts
+ * import { exactRegex } from '@rolldown/pluginutils';
+ * const plugin = {
+ * name: 'plugin',
+ * resolveId: {
+ * filter: { id: exactRegex('foo') },
+ * handler(id) {} // will only be called for `foo`
+ * }
+ * }
+ * ```
+ */
+export declare function exactRegex(str: string, flags?: string): RegExp;
+/**
+ * Constructs a RegExp that matches a value that has the specified prefix.
+ *
+ * This is useful for plugin hook filters.
+ *
+ * @param str the string to match.
+ * @param flags flags for the RegExp.
+ *
+ * @example
+ * ```ts
+ * import { prefixRegex } from '@rolldown/pluginutils';
+ * const plugin = {
+ * name: 'plugin',
+ * resolveId: {
+ * filter: { id: prefixRegex('foo') },
+ * handler(id) {} // will only be called for IDs starting with `foo`
+ * }
+ * }
+ * ```
+ */
+export declare function prefixRegex(str: string, flags?: string): RegExp;
+type WidenString = T extends string ? string : T;
+/**
+ * Converts a id filter to match with an id with a query.
+ *
+ * @param input the id filters to convert.
+ *
+ * @example
+ * ```ts
+ * import { makeIdFiltersToMatchWithQuery } from '@rolldown/pluginutils';
+ * const plugin = {
+ * name: 'plugin',
+ * transform: {
+ * filter: { id: makeIdFiltersToMatchWithQuery(['**' + '/*.js', /\.ts$/]) },
+ * // The handler will be called for IDs like:
+ * // - foo.js
+ * // - foo.js?foo
+ * // - foo.txt?foo.js
+ * // - foo.ts
+ * // - foo.ts?foo
+ * // - foo.txt?foo.ts
+ * handler(code, id) {}
+ * }
+ * }
+ * ```
+ */
+export declare function makeIdFiltersToMatchWithQuery(input: T): WidenString;
+export declare function makeIdFiltersToMatchWithQuery(input: readonly T[]): WidenString[];
+export declare function makeIdFiltersToMatchWithQuery(input: string | RegExp | readonly (string | RegExp)[]): string | RegExp | (string | RegExp)[];
+export {};
diff --git a/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js
new file mode 100644
index 0000000000000000000000000000000000000000..241380c8d680a2c5b17dacf02f4d9c3f7461c7d9
--- /dev/null
+++ b/dashboard/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js
@@ -0,0 +1,70 @@
+/**
+ * Constructs a RegExp that matches the exact string specified.
+ *
+ * This is useful for plugin hook filters.
+ *
+ * @param str the string to match.
+ * @param flags flags for the RegExp.
+ *
+ * @example
+ * ```ts
+ * import { exactRegex } from '@rolldown/pluginutils';
+ * const plugin = {
+ * name: 'plugin',
+ * resolveId: {
+ * filter: { id: exactRegex('foo') },
+ * handler(id) {} // will only be called for `foo`
+ * }
+ * }
+ * ```
+ */
+export function exactRegex(str, flags) {
+ return new RegExp(`^${escapeRegex(str)}$`, flags);
+}
+/**
+ * Constructs a RegExp that matches a value that has the specified prefix.
+ *
+ * This is useful for plugin hook filters.
+ *
+ * @param str the string to match.
+ * @param flags flags for the RegExp.
+ *
+ * @example
+ * ```ts
+ * import { prefixRegex } from '@rolldown/pluginutils';
+ * const plugin = {
+ * name: 'plugin',
+ * resolveId: {
+ * filter: { id: prefixRegex('foo') },
+ * handler(id) {} // will only be called for IDs starting with `foo`
+ * }
+ * }
+ * ```
+ */
+export function prefixRegex(str, flags) {
+ return new RegExp(`^${escapeRegex(str)}`, flags);
+}
+const escapeRegexRE = /[-/\\^$*+?.()|[\]{}]/g;
+function escapeRegex(str) {
+ return str.replace(escapeRegexRE, '\\$&');
+}
+export function makeIdFiltersToMatchWithQuery(input) {
+ if (!Array.isArray(input)) {
+ return makeIdFilterToMatchWithQuery(
+ // Array.isArray cannot narrow the type
+ // https://github.com/microsoft/TypeScript/issues/17002
+ input);
+ }
+ return input.map((i) => makeIdFilterToMatchWithQuery(i));
+}
+function makeIdFilterToMatchWithQuery(input) {
+ if (typeof input === 'string') {
+ return `${input}{?*,}`;
+ }
+ return makeRegexIdFilterToMatchWithQuery(input);
+}
+function makeRegexIdFilterToMatchWithQuery(input) {
+ return new RegExp(
+ // replace `$` with `(?:\?.*)?$` (ignore `\$`)
+ input.source.replace(/(?;
+```
+
+Resolves asychronously with:
+
+* `glibc` or `musl` when the libc family can be determined
+* `null` when the libc family cannot be determined
+* `null` when run on a non-Linux platform
+
+```js
+const { family, GLIBC, MUSL } = require('detect-libc');
+
+switch (await family()) {
+ case GLIBC: ...
+ case MUSL: ...
+ case null: ...
+}
+```
+
+### familySync
+
+```ts
+function familySync(): string | null;
+```
+
+Synchronous version of `family()`.
+
+```js
+const { familySync, GLIBC, MUSL } = require('detect-libc');
+
+switch (familySync()) {
+ case GLIBC: ...
+ case MUSL: ...
+ case null: ...
+}
+```
+
+### version
+
+```ts
+function version(): Promise;
+```
+
+Resolves asychronously with:
+
+* The version when it can be determined
+* `null` when the libc family cannot be determined
+* `null` when run on a non-Linux platform
+
+```js
+const { version } = require('detect-libc');
+
+const v = await version();
+if (v) {
+ const [major, minor, patch] = v.split('.');
+}
+```
+
+### versionSync
+
+```ts
+function versionSync(): string | null;
+```
+
+Synchronous version of `version()`.
+
+```js
+const { versionSync } = require('detect-libc');
+
+const v = versionSync();
+if (v) {
+ const [major, minor, patch] = v.split('.');
+}
+```
+
+### isNonGlibcLinux
+
+```ts
+function isNonGlibcLinux(): Promise;
+```
+
+Resolves asychronously with:
+
+* `false` when the libc family is `glibc`
+* `true` when the libc family is not `glibc`
+* `false` when run on a non-Linux platform
+
+```js
+const { isNonGlibcLinux } = require('detect-libc');
+
+if (await isNonGlibcLinux()) { ... }
+```
+
+### isNonGlibcLinuxSync
+
+```ts
+function isNonGlibcLinuxSync(): boolean;
+```
+
+Synchronous version of `isNonGlibcLinux()`.
+
+```js
+const { isNonGlibcLinuxSync } = require('detect-libc');
+
+if (isNonGlibcLinuxSync()) { ... }
+```
+
+## Licensing
+
+Copyright 2017 Lovell Fuller and others.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/dashboard/node_modules/detect-libc/index.d.ts b/dashboard/node_modules/detect-libc/index.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..4c0fb2b0ab4cb0365fb8b4672b8c39c493e4d771
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/index.d.ts
@@ -0,0 +1,14 @@
+// Copyright 2017 Lovell Fuller and others.
+// SPDX-License-Identifier: Apache-2.0
+
+export const GLIBC: 'glibc';
+export const MUSL: 'musl';
+
+export function family(): Promise;
+export function familySync(): string | null;
+
+export function isNonGlibcLinux(): Promise;
+export function isNonGlibcLinuxSync(): boolean;
+
+export function version(): Promise;
+export function versionSync(): string | null;
diff --git a/dashboard/node_modules/detect-libc/lib/detect-libc.js b/dashboard/node_modules/detect-libc/lib/detect-libc.js
new file mode 100644
index 0000000000000000000000000000000000000000..01299b4d7c500416031f0f6c1950fd37e9559843
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/lib/detect-libc.js
@@ -0,0 +1,313 @@
+// Copyright 2017 Lovell Fuller and others.
+// SPDX-License-Identifier: Apache-2.0
+
+'use strict';
+
+const childProcess = require('child_process');
+const { isLinux, getReport } = require('./process');
+const { LDD_PATH, SELF_PATH, readFile, readFileSync } = require('./filesystem');
+const { interpreterPath } = require('./elf');
+
+let cachedFamilyInterpreter;
+let cachedFamilyFilesystem;
+let cachedVersionFilesystem;
+
+const command = 'getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true';
+let commandOut = '';
+
+const safeCommand = () => {
+ if (!commandOut) {
+ return new Promise((resolve) => {
+ childProcess.exec(command, (err, out) => {
+ commandOut = err ? ' ' : out;
+ resolve(commandOut);
+ });
+ });
+ }
+ return commandOut;
+};
+
+const safeCommandSync = () => {
+ if (!commandOut) {
+ try {
+ commandOut = childProcess.execSync(command, { encoding: 'utf8' });
+ } catch (_err) {
+ commandOut = ' ';
+ }
+ }
+ return commandOut;
+};
+
+/**
+ * A String constant containing the value `glibc`.
+ * @type {string}
+ * @public
+ */
+const GLIBC = 'glibc';
+
+/**
+ * A Regexp constant to get the GLIBC Version.
+ * @type {string}
+ */
+const RE_GLIBC_VERSION = /LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i;
+
+/**
+ * A String constant containing the value `musl`.
+ * @type {string}
+ * @public
+ */
+const MUSL = 'musl';
+
+const isFileMusl = (f) => f.includes('libc.musl-') || f.includes('ld-musl-');
+
+const familyFromReport = () => {
+ const report = getReport();
+ if (report.header && report.header.glibcVersionRuntime) {
+ return GLIBC;
+ }
+ if (Array.isArray(report.sharedObjects)) {
+ if (report.sharedObjects.some(isFileMusl)) {
+ return MUSL;
+ }
+ }
+ return null;
+};
+
+const familyFromCommand = (out) => {
+ const [getconf, ldd1] = out.split(/[\r\n]+/);
+ if (getconf && getconf.includes(GLIBC)) {
+ return GLIBC;
+ }
+ if (ldd1 && ldd1.includes(MUSL)) {
+ return MUSL;
+ }
+ return null;
+};
+
+const familyFromInterpreterPath = (path) => {
+ if (path) {
+ if (path.includes('/ld-musl-')) {
+ return MUSL;
+ } else if (path.includes('/ld-linux-')) {
+ return GLIBC;
+ }
+ }
+ return null;
+};
+
+const getFamilyFromLddContent = (content) => {
+ content = content.toString();
+ if (content.includes('musl')) {
+ return MUSL;
+ }
+ if (content.includes('GNU C Library')) {
+ return GLIBC;
+ }
+ return null;
+};
+
+const familyFromFilesystem = async () => {
+ if (cachedFamilyFilesystem !== undefined) {
+ return cachedFamilyFilesystem;
+ }
+ cachedFamilyFilesystem = null;
+ try {
+ const lddContent = await readFile(LDD_PATH);
+ cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
+ } catch (e) {}
+ return cachedFamilyFilesystem;
+};
+
+const familyFromFilesystemSync = () => {
+ if (cachedFamilyFilesystem !== undefined) {
+ return cachedFamilyFilesystem;
+ }
+ cachedFamilyFilesystem = null;
+ try {
+ const lddContent = readFileSync(LDD_PATH);
+ cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
+ } catch (e) {}
+ return cachedFamilyFilesystem;
+};
+
+const familyFromInterpreter = async () => {
+ if (cachedFamilyInterpreter !== undefined) {
+ return cachedFamilyInterpreter;
+ }
+ cachedFamilyInterpreter = null;
+ try {
+ const selfContent = await readFile(SELF_PATH);
+ const path = interpreterPath(selfContent);
+ cachedFamilyInterpreter = familyFromInterpreterPath(path);
+ } catch (e) {}
+ return cachedFamilyInterpreter;
+};
+
+const familyFromInterpreterSync = () => {
+ if (cachedFamilyInterpreter !== undefined) {
+ return cachedFamilyInterpreter;
+ }
+ cachedFamilyInterpreter = null;
+ try {
+ const selfContent = readFileSync(SELF_PATH);
+ const path = interpreterPath(selfContent);
+ cachedFamilyInterpreter = familyFromInterpreterPath(path);
+ } catch (e) {}
+ return cachedFamilyInterpreter;
+};
+
+/**
+ * Resolves with the libc family when it can be determined, `null` otherwise.
+ * @returns {Promise}
+ */
+const family = async () => {
+ let family = null;
+ if (isLinux()) {
+ family = await familyFromInterpreter();
+ if (!family) {
+ family = await familyFromFilesystem();
+ if (!family) {
+ family = familyFromReport();
+ }
+ if (!family) {
+ const out = await safeCommand();
+ family = familyFromCommand(out);
+ }
+ }
+ }
+ return family;
+};
+
+/**
+ * Returns the libc family when it can be determined, `null` otherwise.
+ * @returns {?string}
+ */
+const familySync = () => {
+ let family = null;
+ if (isLinux()) {
+ family = familyFromInterpreterSync();
+ if (!family) {
+ family = familyFromFilesystemSync();
+ if (!family) {
+ family = familyFromReport();
+ }
+ if (!family) {
+ const out = safeCommandSync();
+ family = familyFromCommand(out);
+ }
+ }
+ }
+ return family;
+};
+
+/**
+ * Resolves `true` only when the platform is Linux and the libc family is not `glibc`.
+ * @returns {Promise}
+ */
+const isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
+
+/**
+ * Returns `true` only when the platform is Linux and the libc family is not `glibc`.
+ * @returns {boolean}
+ */
+const isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
+
+const versionFromFilesystem = async () => {
+ if (cachedVersionFilesystem !== undefined) {
+ return cachedVersionFilesystem;
+ }
+ cachedVersionFilesystem = null;
+ try {
+ const lddContent = await readFile(LDD_PATH);
+ const versionMatch = lddContent.match(RE_GLIBC_VERSION);
+ if (versionMatch) {
+ cachedVersionFilesystem = versionMatch[1];
+ }
+ } catch (e) {}
+ return cachedVersionFilesystem;
+};
+
+const versionFromFilesystemSync = () => {
+ if (cachedVersionFilesystem !== undefined) {
+ return cachedVersionFilesystem;
+ }
+ cachedVersionFilesystem = null;
+ try {
+ const lddContent = readFileSync(LDD_PATH);
+ const versionMatch = lddContent.match(RE_GLIBC_VERSION);
+ if (versionMatch) {
+ cachedVersionFilesystem = versionMatch[1];
+ }
+ } catch (e) {}
+ return cachedVersionFilesystem;
+};
+
+const versionFromReport = () => {
+ const report = getReport();
+ if (report.header && report.header.glibcVersionRuntime) {
+ return report.header.glibcVersionRuntime;
+ }
+ return null;
+};
+
+const versionSuffix = (s) => s.trim().split(/\s+/)[1];
+
+const versionFromCommand = (out) => {
+ const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
+ if (getconf && getconf.includes(GLIBC)) {
+ return versionSuffix(getconf);
+ }
+ if (ldd1 && ldd2 && ldd1.includes(MUSL)) {
+ return versionSuffix(ldd2);
+ }
+ return null;
+};
+
+/**
+ * Resolves with the libc version when it can be determined, `null` otherwise.
+ * @returns {Promise}
+ */
+const version = async () => {
+ let version = null;
+ if (isLinux()) {
+ version = await versionFromFilesystem();
+ if (!version) {
+ version = versionFromReport();
+ }
+ if (!version) {
+ const out = await safeCommand();
+ version = versionFromCommand(out);
+ }
+ }
+ return version;
+};
+
+/**
+ * Returns the libc version when it can be determined, `null` otherwise.
+ * @returns {?string}
+ */
+const versionSync = () => {
+ let version = null;
+ if (isLinux()) {
+ version = versionFromFilesystemSync();
+ if (!version) {
+ version = versionFromReport();
+ }
+ if (!version) {
+ const out = safeCommandSync();
+ version = versionFromCommand(out);
+ }
+ }
+ return version;
+};
+
+module.exports = {
+ GLIBC,
+ MUSL,
+ family,
+ familySync,
+ isNonGlibcLinux,
+ isNonGlibcLinuxSync,
+ version,
+ versionSync
+};
diff --git a/dashboard/node_modules/detect-libc/lib/elf.js b/dashboard/node_modules/detect-libc/lib/elf.js
new file mode 100644
index 0000000000000000000000000000000000000000..aa166aa29ad11cd07a89cab60d40ad5883a4e80f
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/lib/elf.js
@@ -0,0 +1,39 @@
+// Copyright 2017 Lovell Fuller and others.
+// SPDX-License-Identifier: Apache-2.0
+
+'use strict';
+
+const interpreterPath = (elf) => {
+ if (elf.length < 64) {
+ return null;
+ }
+ if (elf.readUInt32BE(0) !== 0x7F454C46) {
+ // Unexpected magic bytes
+ return null;
+ }
+ if (elf.readUInt8(4) !== 2) {
+ // Not a 64-bit ELF
+ return null;
+ }
+ if (elf.readUInt8(5) !== 1) {
+ // Not little-endian
+ return null;
+ }
+ const offset = elf.readUInt32LE(32);
+ const size = elf.readUInt16LE(54);
+ const count = elf.readUInt16LE(56);
+ for (let i = 0; i < count; i++) {
+ const headerOffset = offset + (i * size);
+ const type = elf.readUInt32LE(headerOffset);
+ if (type === 3) {
+ const fileOffset = elf.readUInt32LE(headerOffset + 8);
+ const fileSize = elf.readUInt32LE(headerOffset + 32);
+ return elf.subarray(fileOffset, fileOffset + fileSize).toString().replace(/\0.*$/g, '');
+ }
+ }
+ return null;
+};
+
+module.exports = {
+ interpreterPath
+};
diff --git a/dashboard/node_modules/detect-libc/lib/filesystem.js b/dashboard/node_modules/detect-libc/lib/filesystem.js
new file mode 100644
index 0000000000000000000000000000000000000000..4c2443cc0cfee4ebba3fe4b50c7d69120792b77f
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/lib/filesystem.js
@@ -0,0 +1,51 @@
+// Copyright 2017 Lovell Fuller and others.
+// SPDX-License-Identifier: Apache-2.0
+
+'use strict';
+
+const fs = require('fs');
+
+const LDD_PATH = '/usr/bin/ldd';
+const SELF_PATH = '/proc/self/exe';
+const MAX_LENGTH = 2048;
+
+/**
+ * Read the content of a file synchronous
+ *
+ * @param {string} path
+ * @returns {Buffer}
+ */
+const readFileSync = (path) => {
+ const fd = fs.openSync(path, 'r');
+ const buffer = Buffer.alloc(MAX_LENGTH);
+ const bytesRead = fs.readSync(fd, buffer, 0, MAX_LENGTH, 0);
+ fs.close(fd, () => {});
+ return buffer.subarray(0, bytesRead);
+};
+
+/**
+ * Read the content of a file
+ *
+ * @param {string} path
+ * @returns {Promise}
+ */
+const readFile = (path) => new Promise((resolve, reject) => {
+ fs.open(path, 'r', (err, fd) => {
+ if (err) {
+ reject(err);
+ } else {
+ const buffer = Buffer.alloc(MAX_LENGTH);
+ fs.read(fd, buffer, 0, MAX_LENGTH, 0, (_, bytesRead) => {
+ resolve(buffer.subarray(0, bytesRead));
+ fs.close(fd, () => {});
+ });
+ }
+ });
+});
+
+module.exports = {
+ LDD_PATH,
+ SELF_PATH,
+ readFileSync,
+ readFile
+};
diff --git a/dashboard/node_modules/detect-libc/lib/process.js b/dashboard/node_modules/detect-libc/lib/process.js
new file mode 100644
index 0000000000000000000000000000000000000000..ee78ad261b1986c46d4dd6dc2a17446dce2c4498
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/lib/process.js
@@ -0,0 +1,24 @@
+// Copyright 2017 Lovell Fuller and others.
+// SPDX-License-Identifier: Apache-2.0
+
+'use strict';
+
+const isLinux = () => process.platform === 'linux';
+
+let report = null;
+const getReport = () => {
+ if (!report) {
+ /* istanbul ignore next */
+ if (isLinux() && process.report) {
+ const orig = process.report.excludeNetwork;
+ process.report.excludeNetwork = true;
+ report = process.report.getReport();
+ process.report.excludeNetwork = orig;
+ } else {
+ report = {};
+ }
+ }
+ return report;
+};
+
+module.exports = { isLinux, getReport };
diff --git a/dashboard/node_modules/detect-libc/package.json b/dashboard/node_modules/detect-libc/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..36d0f2be797b982b27936bbd2bb0cf6625fbc6d7
--- /dev/null
+++ b/dashboard/node_modules/detect-libc/package.json
@@ -0,0 +1,44 @@
+{
+ "name": "detect-libc",
+ "version": "2.1.2",
+ "description": "Node.js module to detect the C standard library (libc) implementation family and version",
+ "main": "lib/detect-libc.js",
+ "files": [
+ "lib/",
+ "index.d.ts"
+ ],
+ "scripts": {
+ "test": "semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js",
+ "changelog": "conventional-changelog -i CHANGELOG.md -s",
+ "bench": "node benchmark/detect-libc",
+ "bench:calls": "node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/lovell/detect-libc.git"
+ },
+ "keywords": [
+ "libc",
+ "glibc",
+ "musl"
+ ],
+ "author": "Lovell Fuller ",
+ "contributors": [
+ "Niklas Salmoukas ",
+ "Vinícius Lourenço "
+ ],
+ "license": "Apache-2.0",
+ "devDependencies": {
+ "ava": "^2.4.0",
+ "benchmark": "^2.1.4",
+ "conventional-changelog-cli": "^5.0.0",
+ "eslint-config-standard": "^13.0.1",
+ "nyc": "^15.1.0",
+ "proxyquire": "^2.1.3",
+ "semistandard": "^14.2.3"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "types": "index.d.ts"
+}
diff --git a/dashboard/node_modules/fdir/LICENSE b/dashboard/node_modules/fdir/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..bb7fdee44cae62e39a6f641dddd9016f265069f7
--- /dev/null
+++ b/dashboard/node_modules/fdir/LICENSE
@@ -0,0 +1,7 @@
+Copyright 2023 Abdullah Atta
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/dashboard/node_modules/fdir/README.md b/dashboard/node_modules/fdir/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..5c70530fa063fb25cdffcc78b8588c0495e2cbb3
--- /dev/null
+++ b/dashboard/node_modules/fdir/README.md
@@ -0,0 +1,91 @@
+
+
+
+
The Fastest Directory Crawler & Globber for NodeJS
+
+
+
+
+
+
+
+
+
+
+
+
+⚡ **The Fastest:** Nothing similar (in the NodeJS world) beats `fdir` in speed. It can easily crawl a directory containing **1 million files in < 1 second.**
+
+💡 **Stupidly Easy:** `fdir` uses expressive Builder pattern to build the crawler increasing code readability.
+
+🤖 **Zero Dependencies\*:** `fdir` only uses NodeJS `fs` & `path` modules.
+
+🕺 **Astonishingly Small:** < 2KB in size gzipped & minified.
+
+🖮 **Hackable:** Extending `fdir` is extremely simple now that the new Builder API is here. Feel free to experiment around.
+
+_\* `picomatch` must be installed manually by the user to support globbing._
+
+## 🚄 Quickstart
+
+### Installation
+
+You can install using `npm`:
+
+```sh
+$ npm i fdir
+```
+
+or Yarn:
+
+```sh
+$ yarn add fdir
+```
+
+### Usage
+
+```ts
+import { fdir } from "fdir";
+
+// create the builder
+const api = new fdir().withFullPaths().crawl("path/to/dir");
+
+// get all files in a directory synchronously
+const files = api.sync();
+
+// or asynchronously
+api.withPromise().then((files) => {
+ // do something with the result here.
+});
+```
+
+## Documentation:
+
+Documentation for all methods is available [here](/documentation.md).
+
+## 📊 Benchmarks:
+
+Please check the benchmark against the latest version [here](/BENCHMARKS.md).
+
+## 🙏Used by:
+
+`fdir` is downloaded over 200k+ times a week by projects around the world. Here's a list of some notable projects using `fdir` in production:
+
+> Note: if you think your project should be here, feel free to open an issue. Notable is anything with a considerable amount of GitHub stars.
+
+1. [rollup/plugins](https://github.com/rollup/plugins)
+2. [SuperchupuDev/tinyglobby](https://github.com/SuperchupuDev/tinyglobby)
+3. [pulumi/pulumi](https://github.com/pulumi/pulumi)
+4. [dotenvx/dotenvx](https://github.com/dotenvx/dotenvx)
+5. [mdn/yari](https://github.com/mdn/yari)
+6. [streetwriters/notesnook](https://github.com/streetwriters/notesnook)
+7. [imba/imba](https://github.com/imba/imba)
+8. [moroshko/react-scanner](https://github.com/moroshko/react-scanner)
+9. [netlify/build](https://github.com/netlify/build)
+10. [yassinedoghri/astro-i18next](https://github.com/yassinedoghri/astro-i18next)
+11. [selfrefactor/rambda](https://github.com/selfrefactor/rambda)
+12. [whyboris/Video-Hub-App](https://github.com/whyboris/Video-Hub-App)
+
+## 🦮 LICENSE
+
+Copyright © 2024 Abdullah Atta under MIT. [Read full text here.](https://github.com/thecodrr/fdir/raw/master/LICENSE)
diff --git a/dashboard/node_modules/fdir/dist/index.cjs b/dashboard/node_modules/fdir/dist/index.cjs
new file mode 100644
index 0000000000000000000000000000000000000000..4868ffba35d991e03831204695d11e703a78c2d3
--- /dev/null
+++ b/dashboard/node_modules/fdir/dist/index.cjs
@@ -0,0 +1,588 @@
+//#region rolldown:runtime
+var __create = Object.create;
+var __defProp = Object.defineProperty;
+var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
+var __getOwnPropNames = Object.getOwnPropertyNames;
+var __getProtoOf = Object.getPrototypeOf;
+var __hasOwnProp = Object.prototype.hasOwnProperty;
+var __copyProps = (to, from, except, desc) => {
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
+ key = keys[i];
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
+ get: ((k) => from[k]).bind(null, key),
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
+ });
+ }
+ return to;
+};
+var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
+ value: mod,
+ enumerable: true
+}) : target, mod));
+
+//#endregion
+const path = __toESM(require("path"));
+const fs = __toESM(require("fs"));
+
+//#region src/utils.ts
+function cleanPath(path$1) {
+ let normalized = (0, path.normalize)(path$1);
+ if (normalized.length > 1 && normalized[normalized.length - 1] === path.sep) normalized = normalized.substring(0, normalized.length - 1);
+ return normalized;
+}
+const SLASHES_REGEX = /[\\/]/g;
+function convertSlashes(path$1, separator) {
+ return path$1.replace(SLASHES_REGEX, separator);
+}
+const WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
+function isRootDirectory(path$1) {
+ return path$1 === "/" || WINDOWS_ROOT_DIR_REGEX.test(path$1);
+}
+function normalizePath(path$1, options) {
+ const { resolvePaths, normalizePath: normalizePath$1, pathSeparator } = options;
+ const pathNeedsCleaning = process.platform === "win32" && path$1.includes("/") || path$1.startsWith(".");
+ if (resolvePaths) path$1 = (0, path.resolve)(path$1);
+ if (normalizePath$1 || pathNeedsCleaning) path$1 = cleanPath(path$1);
+ if (path$1 === ".") return "";
+ const needsSeperator = path$1[path$1.length - 1] !== pathSeparator;
+ return convertSlashes(needsSeperator ? path$1 + pathSeparator : path$1, pathSeparator);
+}
+
+//#endregion
+//#region src/api/functions/join-path.ts
+function joinPathWithBasePath(filename, directoryPath) {
+ return directoryPath + filename;
+}
+function joinPathWithRelativePath(root, options) {
+ return function(filename, directoryPath) {
+ const sameRoot = directoryPath.startsWith(root);
+ if (sameRoot) return directoryPath.slice(root.length) + filename;
+ else return convertSlashes((0, path.relative)(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
+ };
+}
+function joinPath(filename) {
+ return filename;
+}
+function joinDirectoryPath(filename, directoryPath, separator) {
+ return directoryPath + filename + separator;
+}
+function build$7(root, options) {
+ const { relativePaths, includeBasePath } = options;
+ return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
+}
+
+//#endregion
+//#region src/api/functions/push-directory.ts
+function pushDirectoryWithRelativePath(root) {
+ return function(directoryPath, paths) {
+ paths.push(directoryPath.substring(root.length) || ".");
+ };
+}
+function pushDirectoryFilterWithRelativePath(root) {
+ return function(directoryPath, paths, filters) {
+ const relativePath = directoryPath.substring(root.length) || ".";
+ if (filters.every((filter) => filter(relativePath, true))) paths.push(relativePath);
+ };
+}
+const pushDirectory = (directoryPath, paths) => {
+ paths.push(directoryPath || ".");
+};
+const pushDirectoryFilter = (directoryPath, paths, filters) => {
+ const path$1 = directoryPath || ".";
+ if (filters.every((filter) => filter(path$1, true))) paths.push(path$1);
+};
+const empty$2 = () => {};
+function build$6(root, options) {
+ const { includeDirs, filters, relativePaths } = options;
+ if (!includeDirs) return empty$2;
+ if (relativePaths) return filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root);
+ return filters && filters.length ? pushDirectoryFilter : pushDirectory;
+}
+
+//#endregion
+//#region src/api/functions/push-file.ts
+const pushFileFilterAndCount = (filename, _paths, counts, filters) => {
+ if (filters.every((filter) => filter(filename, false))) counts.files++;
+};
+const pushFileFilter = (filename, paths, _counts, filters) => {
+ if (filters.every((filter) => filter(filename, false))) paths.push(filename);
+};
+const pushFileCount = (_filename, _paths, counts, _filters) => {
+ counts.files++;
+};
+const pushFile = (filename, paths) => {
+ paths.push(filename);
+};
+const empty$1 = () => {};
+function build$5(options) {
+ const { excludeFiles, filters, onlyCounts } = options;
+ if (excludeFiles) return empty$1;
+ if (filters && filters.length) return onlyCounts ? pushFileFilterAndCount : pushFileFilter;
+ else if (onlyCounts) return pushFileCount;
+ else return pushFile;
+}
+
+//#endregion
+//#region src/api/functions/get-array.ts
+const getArray = (paths) => {
+ return paths;
+};
+const getArrayGroup = () => {
+ return [""].slice(0, 0);
+};
+function build$4(options) {
+ return options.group ? getArrayGroup : getArray;
+}
+
+//#endregion
+//#region src/api/functions/group-files.ts
+const groupFiles = (groups, directory, files) => {
+ groups.push({
+ directory,
+ files,
+ dir: directory
+ });
+};
+const empty = () => {};
+function build$3(options) {
+ return options.group ? groupFiles : empty;
+}
+
+//#endregion
+//#region src/api/functions/resolve-symlink.ts
+const resolveSymlinksAsync = function(path$1, state, callback$1) {
+ const { queue, fs: fs$1, options: { suppressErrors } } = state;
+ queue.enqueue();
+ fs$1.realpath(path$1, (error, resolvedPath) => {
+ if (error) return queue.dequeue(suppressErrors ? null : error, state);
+ fs$1.stat(resolvedPath, (error$1, stat) => {
+ if (error$1) return queue.dequeue(suppressErrors ? null : error$1, state);
+ if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return queue.dequeue(null, state);
+ callback$1(stat, resolvedPath);
+ queue.dequeue(null, state);
+ });
+ });
+};
+const resolveSymlinks = function(path$1, state, callback$1) {
+ const { queue, fs: fs$1, options: { suppressErrors } } = state;
+ queue.enqueue();
+ try {
+ const resolvedPath = fs$1.realpathSync(path$1);
+ const stat = fs$1.statSync(resolvedPath);
+ if (stat.isDirectory() && isRecursive(path$1, resolvedPath, state)) return;
+ callback$1(stat, resolvedPath);
+ } catch (e) {
+ if (!suppressErrors) throw e;
+ }
+};
+function build$2(options, isSynchronous) {
+ if (!options.resolveSymlinks || options.excludeSymlinks) return null;
+ return isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
+}
+function isRecursive(path$1, resolved, state) {
+ if (state.options.useRealPaths) return isRecursiveUsingRealPaths(resolved, state);
+ let parent = (0, path.dirname)(path$1);
+ let depth = 1;
+ while (parent !== state.root && depth < 2) {
+ const resolvedPath = state.symlinks.get(parent);
+ const isSameRoot = !!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath));
+ if (isSameRoot) depth++;
+ else parent = (0, path.dirname)(parent);
+ }
+ state.symlinks.set(path$1, resolved);
+ return depth > 1;
+}
+function isRecursiveUsingRealPaths(resolved, state) {
+ return state.visited.includes(resolved + state.options.pathSeparator);
+}
+
+//#endregion
+//#region src/api/functions/invoke-callback.ts
+const onlyCountsSync = (state) => {
+ return state.counts;
+};
+const groupsSync = (state) => {
+ return state.groups;
+};
+const defaultSync = (state) => {
+ return state.paths;
+};
+const limitFilesSync = (state) => {
+ return state.paths.slice(0, state.options.maxFiles);
+};
+const onlyCountsAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.counts, state.options.suppressErrors);
+ return null;
+};
+const defaultAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.paths, state.options.suppressErrors);
+ return null;
+};
+const limitFilesAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors);
+ return null;
+};
+const groupsAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.groups, state.options.suppressErrors);
+ return null;
+};
+function report(error, callback$1, output, suppressErrors) {
+ if (error && !suppressErrors) callback$1(error, output);
+ else callback$1(null, output);
+}
+function build$1(options, isSynchronous) {
+ const { onlyCounts, group, maxFiles } = options;
+ if (onlyCounts) return isSynchronous ? onlyCountsSync : onlyCountsAsync;
+ else if (group) return isSynchronous ? groupsSync : groupsAsync;
+ else if (maxFiles) return isSynchronous ? limitFilesSync : limitFilesAsync;
+ else return isSynchronous ? defaultSync : defaultAsync;
+}
+
+//#endregion
+//#region src/api/functions/walk-directory.ts
+const readdirOpts = { withFileTypes: true };
+const walkAsync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
+ state.queue.enqueue();
+ if (currentDepth < 0) return state.queue.dequeue(null, state);
+ const { fs: fs$1 } = state;
+ state.visited.push(crawlPath);
+ state.counts.directories++;
+ fs$1.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
+ callback$1(entries, directoryPath, currentDepth);
+ state.queue.dequeue(state.options.suppressErrors ? null : error, state);
+ });
+};
+const walkSync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
+ const { fs: fs$1 } = state;
+ if (currentDepth < 0) return;
+ state.visited.push(crawlPath);
+ state.counts.directories++;
+ let entries = [];
+ try {
+ entries = fs$1.readdirSync(crawlPath || ".", readdirOpts);
+ } catch (e) {
+ if (!state.options.suppressErrors) throw e;
+ }
+ callback$1(entries, directoryPath, currentDepth);
+};
+function build(isSynchronous) {
+ return isSynchronous ? walkSync : walkAsync;
+}
+
+//#endregion
+//#region src/api/queue.ts
+/**
+* This is a custom stateless queue to track concurrent async fs calls.
+* It increments a counter whenever a call is queued and decrements it
+* as soon as it completes. When the counter hits 0, it calls onQueueEmpty.
+*/
+var Queue = class {
+ count = 0;
+ constructor(onQueueEmpty) {
+ this.onQueueEmpty = onQueueEmpty;
+ }
+ enqueue() {
+ this.count++;
+ return this.count;
+ }
+ dequeue(error, output) {
+ if (this.onQueueEmpty && (--this.count <= 0 || error)) {
+ this.onQueueEmpty(error, output);
+ if (error) {
+ output.controller.abort();
+ this.onQueueEmpty = void 0;
+ }
+ }
+ }
+};
+
+//#endregion
+//#region src/api/counter.ts
+var Counter = class {
+ _files = 0;
+ _directories = 0;
+ set files(num) {
+ this._files = num;
+ }
+ get files() {
+ return this._files;
+ }
+ set directories(num) {
+ this._directories = num;
+ }
+ get directories() {
+ return this._directories;
+ }
+ /**
+ * @deprecated use `directories` instead
+ */
+ /* c8 ignore next 3 */
+ get dirs() {
+ return this._directories;
+ }
+};
+
+//#endregion
+//#region src/api/aborter.ts
+/**
+* AbortController is not supported on Node 14 so we use this until we can drop
+* support for Node 14.
+*/
+var Aborter = class {
+ aborted = false;
+ abort() {
+ this.aborted = true;
+ }
+};
+
+//#endregion
+//#region src/api/walker.ts
+var Walker = class {
+ root;
+ isSynchronous;
+ state;
+ joinPath;
+ pushDirectory;
+ pushFile;
+ getArray;
+ groupFiles;
+ resolveSymlink;
+ walkDirectory;
+ callbackInvoker;
+ constructor(root, options, callback$1) {
+ this.isSynchronous = !callback$1;
+ this.callbackInvoker = build$1(options, this.isSynchronous);
+ this.root = normalizePath(root, options);
+ this.state = {
+ root: isRootDirectory(this.root) ? this.root : this.root.slice(0, -1),
+ paths: [""].slice(0, 0),
+ groups: [],
+ counts: new Counter(),
+ options,
+ queue: new Queue((error, state) => this.callbackInvoker(state, error, callback$1)),
+ symlinks: /* @__PURE__ */ new Map(),
+ visited: [""].slice(0, 0),
+ controller: new Aborter(),
+ fs: options.fs || fs
+ };
+ this.joinPath = build$7(this.root, options);
+ this.pushDirectory = build$6(this.root, options);
+ this.pushFile = build$5(options);
+ this.getArray = build$4(options);
+ this.groupFiles = build$3(options);
+ this.resolveSymlink = build$2(options, this.isSynchronous);
+ this.walkDirectory = build(this.isSynchronous);
+ }
+ start() {
+ this.pushDirectory(this.root, this.state.paths, this.state.options.filters);
+ this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk);
+ return this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
+ }
+ walk = (entries, directoryPath, depth) => {
+ const { paths, options: { filters, resolveSymlinks: resolveSymlinks$1, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
+ if (controller.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles) return;
+ const files = this.getArray(this.state.paths);
+ for (let i = 0; i < entries.length; ++i) {
+ const entry = entries[i];
+ if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks$1 && !excludeSymlinks) {
+ const filename = this.joinPath(entry.name, directoryPath);
+ this.pushFile(filename, files, this.state.counts, filters);
+ } else if (entry.isDirectory()) {
+ let path$1 = joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
+ if (exclude && exclude(entry.name, path$1)) continue;
+ this.pushDirectory(path$1, paths, filters);
+ this.walkDirectory(this.state, path$1, path$1, depth - 1, this.walk);
+ } else if (this.resolveSymlink && entry.isSymbolicLink()) {
+ let path$1 = joinPathWithBasePath(entry.name, directoryPath);
+ this.resolveSymlink(path$1, this.state, (stat, resolvedPath) => {
+ if (stat.isDirectory()) {
+ resolvedPath = normalizePath(resolvedPath, this.state.options);
+ if (exclude && exclude(entry.name, useRealPaths ? resolvedPath : path$1 + pathSeparator)) return;
+ this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path$1 + pathSeparator, depth - 1, this.walk);
+ } else {
+ resolvedPath = useRealPaths ? resolvedPath : path$1;
+ const filename = (0, path.basename)(resolvedPath);
+ const directoryPath$1 = normalizePath((0, path.dirname)(resolvedPath), this.state.options);
+ resolvedPath = this.joinPath(filename, directoryPath$1);
+ this.pushFile(resolvedPath, files, this.state.counts, filters);
+ }
+ });
+ }
+ }
+ this.groupFiles(this.state.groups, directoryPath, files);
+ };
+};
+
+//#endregion
+//#region src/api/async.ts
+function promise(root, options) {
+ return new Promise((resolve$1, reject) => {
+ callback(root, options, (err, output) => {
+ if (err) return reject(err);
+ resolve$1(output);
+ });
+ });
+}
+function callback(root, options, callback$1) {
+ let walker = new Walker(root, options, callback$1);
+ walker.start();
+}
+
+//#endregion
+//#region src/api/sync.ts
+function sync(root, options) {
+ const walker = new Walker(root, options);
+ return walker.start();
+}
+
+//#endregion
+//#region src/builder/api-builder.ts
+var APIBuilder = class {
+ constructor(root, options) {
+ this.root = root;
+ this.options = options;
+ }
+ withPromise() {
+ return promise(this.root, this.options);
+ }
+ withCallback(cb) {
+ callback(this.root, this.options, cb);
+ }
+ sync() {
+ return sync(this.root, this.options);
+ }
+};
+
+//#endregion
+//#region src/builder/index.ts
+let pm = null;
+/* c8 ignore next 6 */
+try {
+ require.resolve("picomatch");
+ pm = require("picomatch");
+} catch {}
+var Builder = class {
+ globCache = {};
+ options = {
+ maxDepth: Infinity,
+ suppressErrors: true,
+ pathSeparator: path.sep,
+ filters: []
+ };
+ globFunction;
+ constructor(options) {
+ this.options = {
+ ...this.options,
+ ...options
+ };
+ this.globFunction = this.options.globFunction;
+ }
+ group() {
+ this.options.group = true;
+ return this;
+ }
+ withPathSeparator(separator) {
+ this.options.pathSeparator = separator;
+ return this;
+ }
+ withBasePath() {
+ this.options.includeBasePath = true;
+ return this;
+ }
+ withRelativePaths() {
+ this.options.relativePaths = true;
+ return this;
+ }
+ withDirs() {
+ this.options.includeDirs = true;
+ return this;
+ }
+ withMaxDepth(depth) {
+ this.options.maxDepth = depth;
+ return this;
+ }
+ withMaxFiles(limit) {
+ this.options.maxFiles = limit;
+ return this;
+ }
+ withFullPaths() {
+ this.options.resolvePaths = true;
+ this.options.includeBasePath = true;
+ return this;
+ }
+ withErrors() {
+ this.options.suppressErrors = false;
+ return this;
+ }
+ withSymlinks({ resolvePaths = true } = {}) {
+ this.options.resolveSymlinks = true;
+ this.options.useRealPaths = resolvePaths;
+ return this.withFullPaths();
+ }
+ withAbortSignal(signal) {
+ this.options.signal = signal;
+ return this;
+ }
+ normalize() {
+ this.options.normalizePath = true;
+ return this;
+ }
+ filter(predicate) {
+ this.options.filters.push(predicate);
+ return this;
+ }
+ onlyDirs() {
+ this.options.excludeFiles = true;
+ this.options.includeDirs = true;
+ return this;
+ }
+ exclude(predicate) {
+ this.options.exclude = predicate;
+ return this;
+ }
+ onlyCounts() {
+ this.options.onlyCounts = true;
+ return this;
+ }
+ crawl(root) {
+ return new APIBuilder(root || ".", this.options);
+ }
+ withGlobFunction(fn) {
+ this.globFunction = fn;
+ return this;
+ }
+ /**
+ * @deprecated Pass options using the constructor instead:
+ * ```ts
+ * new fdir(options).crawl("/path/to/root");
+ * ```
+ * This method will be removed in v7.0
+ */
+ /* c8 ignore next 4 */
+ crawlWithOptions(root, options) {
+ this.options = {
+ ...this.options,
+ ...options
+ };
+ return new APIBuilder(root || ".", this.options);
+ }
+ glob(...patterns) {
+ if (this.globFunction) return this.globWithOptions(patterns);
+ return this.globWithOptions(patterns, ...[{ dot: true }]);
+ }
+ globWithOptions(patterns, ...options) {
+ const globFn = this.globFunction || pm;
+ /* c8 ignore next 5 */
+ if (!globFn) throw new Error("Please specify a glob function to use glob matching.");
+ var isMatch = this.globCache[patterns.join("\0")];
+ if (!isMatch) {
+ isMatch = globFn(patterns, ...options);
+ this.globCache[patterns.join("\0")] = isMatch;
+ }
+ this.options.filters.push((path$1) => isMatch(path$1));
+ return this;
+ }
+};
+
+//#endregion
+exports.fdir = Builder;
\ No newline at end of file
diff --git a/dashboard/node_modules/fdir/dist/index.d.cts b/dashboard/node_modules/fdir/dist/index.d.cts
new file mode 100644
index 0000000000000000000000000000000000000000..f448ef5d9b563fca8360766b16cd259be4b9df5c
--- /dev/null
+++ b/dashboard/node_modules/fdir/dist/index.d.cts
@@ -0,0 +1,155 @@
+///
+import * as nativeFs from "fs";
+import picomatch from "picomatch";
+
+//#region src/api/aborter.d.ts
+/**
+ * AbortController is not supported on Node 14 so we use this until we can drop
+ * support for Node 14.
+ */
+declare class Aborter {
+ aborted: boolean;
+ abort(): void;
+}
+//#endregion
+//#region src/api/queue.d.ts
+type OnQueueEmptyCallback = (error: Error | null, output: WalkerState) => void;
+/**
+ * This is a custom stateless queue to track concurrent async fs calls.
+ * It increments a counter whenever a call is queued and decrements it
+ * as soon as it completes. When the counter hits 0, it calls onQueueEmpty.
+ */
+declare class Queue {
+ private onQueueEmpty?;
+ count: number;
+ constructor(onQueueEmpty?: OnQueueEmptyCallback | undefined);
+ enqueue(): number;
+ dequeue(error: Error | null, output: WalkerState): void;
+}
+//#endregion
+//#region src/types.d.ts
+type Counts = {
+ files: number;
+ directories: number;
+ /**
+ * @deprecated use `directories` instead. Will be removed in v7.0.
+ */
+ dirs: number;
+};
+type Group = {
+ directory: string;
+ files: string[];
+ /**
+ * @deprecated use `directory` instead. Will be removed in v7.0.
+ */
+ dir: string;
+};
+type GroupOutput = Group[];
+type OnlyCountsOutput = Counts;
+type PathsOutput = string[];
+type Output = OnlyCountsOutput | PathsOutput | GroupOutput;
+type FSLike = {
+ readdir: typeof nativeFs.readdir;
+ readdirSync: typeof nativeFs.readdirSync;
+ realpath: typeof nativeFs.realpath;
+ realpathSync: typeof nativeFs.realpathSync;
+ stat: typeof nativeFs.stat;
+ statSync: typeof nativeFs.statSync;
+};
+type WalkerState = {
+ root: string;
+ paths: string[];
+ groups: Group[];
+ counts: Counts;
+ options: Options;
+ queue: Queue;
+ controller: Aborter;
+ fs: FSLike;
+ symlinks: Map;
+ visited: string[];
+};
+type ResultCallback = (error: Error | null, output: TOutput) => void;
+type FilterPredicate = (path: string, isDirectory: boolean) => boolean;
+type ExcludePredicate = (dirName: string, dirPath: string) => boolean;
+type PathSeparator = "/" | "\\";
+type Options = {
+ includeBasePath?: boolean;
+ includeDirs?: boolean;
+ normalizePath?: boolean;
+ maxDepth: number;
+ maxFiles?: number;
+ resolvePaths?: boolean;
+ suppressErrors: boolean;
+ group?: boolean;
+ onlyCounts?: boolean;
+ filters: FilterPredicate[];
+ resolveSymlinks?: boolean;
+ useRealPaths?: boolean;
+ excludeFiles?: boolean;
+ excludeSymlinks?: boolean;
+ exclude?: ExcludePredicate;
+ relativePaths?: boolean;
+ pathSeparator: PathSeparator;
+ signal?: AbortSignal;
+ globFunction?: TGlobFunction;
+ fs?: FSLike;
+};
+type GlobMatcher = (test: string) => boolean;
+type GlobFunction = (glob: string | string[], ...params: unknown[]) => GlobMatcher;
+type GlobParams = T extends ((globs: string | string[], ...params: infer TParams extends unknown[]) => GlobMatcher) ? TParams : [];
+//#endregion
+//#region src/builder/api-builder.d.ts
+declare class APIBuilder {
+ private readonly root;
+ private readonly options;
+ constructor(root: string, options: Options);
+ withPromise(): Promise;
+ withCallback(cb: ResultCallback): void;
+ sync(): TReturnType;
+}
+//#endregion
+//#region src/builder/index.d.ts
+declare class Builder {
+ private readonly globCache;
+ private options;
+ private globFunction?;
+ constructor(options?: Partial>);
+ group(): Builder;
+ withPathSeparator(separator: "/" | "\\"): this;
+ withBasePath(): this;
+ withRelativePaths(): this;
+ withDirs(): this;
+ withMaxDepth(depth: number): this;
+ withMaxFiles(limit: number): this;
+ withFullPaths(): this;
+ withErrors(): this;
+ withSymlinks({
+ resolvePaths
+ }?: {
+ resolvePaths?: boolean | undefined;
+ }): this;
+ withAbortSignal(signal: AbortSignal): this;
+ normalize(): this;
+ filter(predicate: FilterPredicate): this;
+ onlyDirs(): this;
+ exclude(predicate: ExcludePredicate): this;
+ onlyCounts(): Builder;
+ crawl(root?: string): APIBuilder;
+ withGlobFunction(fn: TFunc): Builder;
+ /**
+ * @deprecated Pass options using the constructor instead:
+ * ```ts
+ * new fdir(options).crawl("/path/to/root");
+ * ```
+ * This method will be removed in v7.0
+ */
+ crawlWithOptions(root: string, options: Partial>): APIBuilder;
+ glob(...patterns: string[]): Builder;
+ globWithOptions(patterns: string[]): Builder;
+ globWithOptions(patterns: string[], ...options: GlobParams): Builder;
+}
+//#endregion
+//#region src/index.d.ts
+type Fdir = typeof Builder;
+//#endregion
+export { Counts, ExcludePredicate, FSLike, Fdir, FilterPredicate, GlobFunction, GlobMatcher, GlobParams, Group, GroupOutput, OnlyCountsOutput, Options, Output, PathSeparator, PathsOutput, ResultCallback, WalkerState, Builder as fdir };
\ No newline at end of file
diff --git a/dashboard/node_modules/fdir/dist/index.d.mts b/dashboard/node_modules/fdir/dist/index.d.mts
new file mode 100644
index 0000000000000000000000000000000000000000..f448ef5d9b563fca8360766b16cd259be4b9df5c
--- /dev/null
+++ b/dashboard/node_modules/fdir/dist/index.d.mts
@@ -0,0 +1,155 @@
+///
+import * as nativeFs from "fs";
+import picomatch from "picomatch";
+
+//#region src/api/aborter.d.ts
+/**
+ * AbortController is not supported on Node 14 so we use this until we can drop
+ * support for Node 14.
+ */
+declare class Aborter {
+ aborted: boolean;
+ abort(): void;
+}
+//#endregion
+//#region src/api/queue.d.ts
+type OnQueueEmptyCallback = (error: Error | null, output: WalkerState) => void;
+/**
+ * This is a custom stateless queue to track concurrent async fs calls.
+ * It increments a counter whenever a call is queued and decrements it
+ * as soon as it completes. When the counter hits 0, it calls onQueueEmpty.
+ */
+declare class Queue {
+ private onQueueEmpty?;
+ count: number;
+ constructor(onQueueEmpty?: OnQueueEmptyCallback | undefined);
+ enqueue(): number;
+ dequeue(error: Error | null, output: WalkerState): void;
+}
+//#endregion
+//#region src/types.d.ts
+type Counts = {
+ files: number;
+ directories: number;
+ /**
+ * @deprecated use `directories` instead. Will be removed in v7.0.
+ */
+ dirs: number;
+};
+type Group = {
+ directory: string;
+ files: string[];
+ /**
+ * @deprecated use `directory` instead. Will be removed in v7.0.
+ */
+ dir: string;
+};
+type GroupOutput = Group[];
+type OnlyCountsOutput = Counts;
+type PathsOutput = string[];
+type Output = OnlyCountsOutput | PathsOutput | GroupOutput;
+type FSLike = {
+ readdir: typeof nativeFs.readdir;
+ readdirSync: typeof nativeFs.readdirSync;
+ realpath: typeof nativeFs.realpath;
+ realpathSync: typeof nativeFs.realpathSync;
+ stat: typeof nativeFs.stat;
+ statSync: typeof nativeFs.statSync;
+};
+type WalkerState = {
+ root: string;
+ paths: string[];
+ groups: Group[];
+ counts: Counts;
+ options: Options;
+ queue: Queue;
+ controller: Aborter;
+ fs: FSLike;
+ symlinks: Map;
+ visited: string[];
+};
+type ResultCallback = (error: Error | null, output: TOutput) => void;
+type FilterPredicate = (path: string, isDirectory: boolean) => boolean;
+type ExcludePredicate = (dirName: string, dirPath: string) => boolean;
+type PathSeparator = "/" | "\\";
+type Options = {
+ includeBasePath?: boolean;
+ includeDirs?: boolean;
+ normalizePath?: boolean;
+ maxDepth: number;
+ maxFiles?: number;
+ resolvePaths?: boolean;
+ suppressErrors: boolean;
+ group?: boolean;
+ onlyCounts?: boolean;
+ filters: FilterPredicate[];
+ resolveSymlinks?: boolean;
+ useRealPaths?: boolean;
+ excludeFiles?: boolean;
+ excludeSymlinks?: boolean;
+ exclude?: ExcludePredicate;
+ relativePaths?: boolean;
+ pathSeparator: PathSeparator;
+ signal?: AbortSignal;
+ globFunction?: TGlobFunction;
+ fs?: FSLike;
+};
+type GlobMatcher = (test: string) => boolean;
+type GlobFunction = (glob: string | string[], ...params: unknown[]) => GlobMatcher;
+type GlobParams = T extends ((globs: string | string[], ...params: infer TParams extends unknown[]) => GlobMatcher) ? TParams : [];
+//#endregion
+//#region src/builder/api-builder.d.ts
+declare class APIBuilder {
+ private readonly root;
+ private readonly options;
+ constructor(root: string, options: Options);
+ withPromise(): Promise;
+ withCallback(cb: ResultCallback): void;
+ sync(): TReturnType;
+}
+//#endregion
+//#region src/builder/index.d.ts
+declare class Builder {
+ private readonly globCache;
+ private options;
+ private globFunction?;
+ constructor(options?: Partial>);
+ group(): Builder;
+ withPathSeparator(separator: "/" | "\\"): this;
+ withBasePath(): this;
+ withRelativePaths(): this;
+ withDirs(): this;
+ withMaxDepth(depth: number): this;
+ withMaxFiles(limit: number): this;
+ withFullPaths(): this;
+ withErrors(): this;
+ withSymlinks({
+ resolvePaths
+ }?: {
+ resolvePaths?: boolean | undefined;
+ }): this;
+ withAbortSignal(signal: AbortSignal): this;
+ normalize(): this;
+ filter(predicate: FilterPredicate): this;
+ onlyDirs(): this;
+ exclude(predicate: ExcludePredicate): this;
+ onlyCounts(): Builder;
+ crawl(root?: string): APIBuilder;
+ withGlobFunction(fn: TFunc): Builder;
+ /**
+ * @deprecated Pass options using the constructor instead:
+ * ```ts
+ * new fdir(options).crawl("/path/to/root");
+ * ```
+ * This method will be removed in v7.0
+ */
+ crawlWithOptions(root: string, options: Partial>): APIBuilder;
+ glob(...patterns: string[]): Builder;
+ globWithOptions(patterns: string[]): Builder;
+ globWithOptions(patterns: string[], ...options: GlobParams): Builder;
+}
+//#endregion
+//#region src/index.d.ts
+type Fdir = typeof Builder;
+//#endregion
+export { Counts, ExcludePredicate, FSLike, Fdir, FilterPredicate, GlobFunction, GlobMatcher, GlobParams, Group, GroupOutput, OnlyCountsOutput, Options, Output, PathSeparator, PathsOutput, ResultCallback, WalkerState, Builder as fdir };
\ No newline at end of file
diff --git a/dashboard/node_modules/fdir/dist/index.mjs b/dashboard/node_modules/fdir/dist/index.mjs
new file mode 100644
index 0000000000000000000000000000000000000000..5c37e092b507dccc97d1b5a815cecceb94445698
--- /dev/null
+++ b/dashboard/node_modules/fdir/dist/index.mjs
@@ -0,0 +1,570 @@
+import { createRequire } from "module";
+import { basename, dirname, normalize, relative, resolve, sep } from "path";
+import * as nativeFs from "fs";
+
+//#region rolldown:runtime
+var __require = /* @__PURE__ */ createRequire(import.meta.url);
+
+//#endregion
+//#region src/utils.ts
+function cleanPath(path) {
+ let normalized = normalize(path);
+ if (normalized.length > 1 && normalized[normalized.length - 1] === sep) normalized = normalized.substring(0, normalized.length - 1);
+ return normalized;
+}
+const SLASHES_REGEX = /[\\/]/g;
+function convertSlashes(path, separator) {
+ return path.replace(SLASHES_REGEX, separator);
+}
+const WINDOWS_ROOT_DIR_REGEX = /^[a-z]:[\\/]$/i;
+function isRootDirectory(path) {
+ return path === "/" || WINDOWS_ROOT_DIR_REGEX.test(path);
+}
+function normalizePath(path, options) {
+ const { resolvePaths, normalizePath: normalizePath$1, pathSeparator } = options;
+ const pathNeedsCleaning = process.platform === "win32" && path.includes("/") || path.startsWith(".");
+ if (resolvePaths) path = resolve(path);
+ if (normalizePath$1 || pathNeedsCleaning) path = cleanPath(path);
+ if (path === ".") return "";
+ const needsSeperator = path[path.length - 1] !== pathSeparator;
+ return convertSlashes(needsSeperator ? path + pathSeparator : path, pathSeparator);
+}
+
+//#endregion
+//#region src/api/functions/join-path.ts
+function joinPathWithBasePath(filename, directoryPath) {
+ return directoryPath + filename;
+}
+function joinPathWithRelativePath(root, options) {
+ return function(filename, directoryPath) {
+ const sameRoot = directoryPath.startsWith(root);
+ if (sameRoot) return directoryPath.slice(root.length) + filename;
+ else return convertSlashes(relative(root, directoryPath), options.pathSeparator) + options.pathSeparator + filename;
+ };
+}
+function joinPath(filename) {
+ return filename;
+}
+function joinDirectoryPath(filename, directoryPath, separator) {
+ return directoryPath + filename + separator;
+}
+function build$7(root, options) {
+ const { relativePaths, includeBasePath } = options;
+ return relativePaths && root ? joinPathWithRelativePath(root, options) : includeBasePath ? joinPathWithBasePath : joinPath;
+}
+
+//#endregion
+//#region src/api/functions/push-directory.ts
+function pushDirectoryWithRelativePath(root) {
+ return function(directoryPath, paths) {
+ paths.push(directoryPath.substring(root.length) || ".");
+ };
+}
+function pushDirectoryFilterWithRelativePath(root) {
+ return function(directoryPath, paths, filters) {
+ const relativePath = directoryPath.substring(root.length) || ".";
+ if (filters.every((filter) => filter(relativePath, true))) paths.push(relativePath);
+ };
+}
+const pushDirectory = (directoryPath, paths) => {
+ paths.push(directoryPath || ".");
+};
+const pushDirectoryFilter = (directoryPath, paths, filters) => {
+ const path = directoryPath || ".";
+ if (filters.every((filter) => filter(path, true))) paths.push(path);
+};
+const empty$2 = () => {};
+function build$6(root, options) {
+ const { includeDirs, filters, relativePaths } = options;
+ if (!includeDirs) return empty$2;
+ if (relativePaths) return filters && filters.length ? pushDirectoryFilterWithRelativePath(root) : pushDirectoryWithRelativePath(root);
+ return filters && filters.length ? pushDirectoryFilter : pushDirectory;
+}
+
+//#endregion
+//#region src/api/functions/push-file.ts
+const pushFileFilterAndCount = (filename, _paths, counts, filters) => {
+ if (filters.every((filter) => filter(filename, false))) counts.files++;
+};
+const pushFileFilter = (filename, paths, _counts, filters) => {
+ if (filters.every((filter) => filter(filename, false))) paths.push(filename);
+};
+const pushFileCount = (_filename, _paths, counts, _filters) => {
+ counts.files++;
+};
+const pushFile = (filename, paths) => {
+ paths.push(filename);
+};
+const empty$1 = () => {};
+function build$5(options) {
+ const { excludeFiles, filters, onlyCounts } = options;
+ if (excludeFiles) return empty$1;
+ if (filters && filters.length) return onlyCounts ? pushFileFilterAndCount : pushFileFilter;
+ else if (onlyCounts) return pushFileCount;
+ else return pushFile;
+}
+
+//#endregion
+//#region src/api/functions/get-array.ts
+const getArray = (paths) => {
+ return paths;
+};
+const getArrayGroup = () => {
+ return [""].slice(0, 0);
+};
+function build$4(options) {
+ return options.group ? getArrayGroup : getArray;
+}
+
+//#endregion
+//#region src/api/functions/group-files.ts
+const groupFiles = (groups, directory, files) => {
+ groups.push({
+ directory,
+ files,
+ dir: directory
+ });
+};
+const empty = () => {};
+function build$3(options) {
+ return options.group ? groupFiles : empty;
+}
+
+//#endregion
+//#region src/api/functions/resolve-symlink.ts
+const resolveSymlinksAsync = function(path, state, callback$1) {
+ const { queue, fs, options: { suppressErrors } } = state;
+ queue.enqueue();
+ fs.realpath(path, (error, resolvedPath) => {
+ if (error) return queue.dequeue(suppressErrors ? null : error, state);
+ fs.stat(resolvedPath, (error$1, stat) => {
+ if (error$1) return queue.dequeue(suppressErrors ? null : error$1, state);
+ if (stat.isDirectory() && isRecursive(path, resolvedPath, state)) return queue.dequeue(null, state);
+ callback$1(stat, resolvedPath);
+ queue.dequeue(null, state);
+ });
+ });
+};
+const resolveSymlinks = function(path, state, callback$1) {
+ const { queue, fs, options: { suppressErrors } } = state;
+ queue.enqueue();
+ try {
+ const resolvedPath = fs.realpathSync(path);
+ const stat = fs.statSync(resolvedPath);
+ if (stat.isDirectory() && isRecursive(path, resolvedPath, state)) return;
+ callback$1(stat, resolvedPath);
+ } catch (e) {
+ if (!suppressErrors) throw e;
+ }
+};
+function build$2(options, isSynchronous) {
+ if (!options.resolveSymlinks || options.excludeSymlinks) return null;
+ return isSynchronous ? resolveSymlinks : resolveSymlinksAsync;
+}
+function isRecursive(path, resolved, state) {
+ if (state.options.useRealPaths) return isRecursiveUsingRealPaths(resolved, state);
+ let parent = dirname(path);
+ let depth = 1;
+ while (parent !== state.root && depth < 2) {
+ const resolvedPath = state.symlinks.get(parent);
+ const isSameRoot = !!resolvedPath && (resolvedPath === resolved || resolvedPath.startsWith(resolved) || resolved.startsWith(resolvedPath));
+ if (isSameRoot) depth++;
+ else parent = dirname(parent);
+ }
+ state.symlinks.set(path, resolved);
+ return depth > 1;
+}
+function isRecursiveUsingRealPaths(resolved, state) {
+ return state.visited.includes(resolved + state.options.pathSeparator);
+}
+
+//#endregion
+//#region src/api/functions/invoke-callback.ts
+const onlyCountsSync = (state) => {
+ return state.counts;
+};
+const groupsSync = (state) => {
+ return state.groups;
+};
+const defaultSync = (state) => {
+ return state.paths;
+};
+const limitFilesSync = (state) => {
+ return state.paths.slice(0, state.options.maxFiles);
+};
+const onlyCountsAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.counts, state.options.suppressErrors);
+ return null;
+};
+const defaultAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.paths, state.options.suppressErrors);
+ return null;
+};
+const limitFilesAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.paths.slice(0, state.options.maxFiles), state.options.suppressErrors);
+ return null;
+};
+const groupsAsync = (state, error, callback$1) => {
+ report(error, callback$1, state.groups, state.options.suppressErrors);
+ return null;
+};
+function report(error, callback$1, output, suppressErrors) {
+ if (error && !suppressErrors) callback$1(error, output);
+ else callback$1(null, output);
+}
+function build$1(options, isSynchronous) {
+ const { onlyCounts, group, maxFiles } = options;
+ if (onlyCounts) return isSynchronous ? onlyCountsSync : onlyCountsAsync;
+ else if (group) return isSynchronous ? groupsSync : groupsAsync;
+ else if (maxFiles) return isSynchronous ? limitFilesSync : limitFilesAsync;
+ else return isSynchronous ? defaultSync : defaultAsync;
+}
+
+//#endregion
+//#region src/api/functions/walk-directory.ts
+const readdirOpts = { withFileTypes: true };
+const walkAsync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
+ state.queue.enqueue();
+ if (currentDepth < 0) return state.queue.dequeue(null, state);
+ const { fs } = state;
+ state.visited.push(crawlPath);
+ state.counts.directories++;
+ fs.readdir(crawlPath || ".", readdirOpts, (error, entries = []) => {
+ callback$1(entries, directoryPath, currentDepth);
+ state.queue.dequeue(state.options.suppressErrors ? null : error, state);
+ });
+};
+const walkSync = (state, crawlPath, directoryPath, currentDepth, callback$1) => {
+ const { fs } = state;
+ if (currentDepth < 0) return;
+ state.visited.push(crawlPath);
+ state.counts.directories++;
+ let entries = [];
+ try {
+ entries = fs.readdirSync(crawlPath || ".", readdirOpts);
+ } catch (e) {
+ if (!state.options.suppressErrors) throw e;
+ }
+ callback$1(entries, directoryPath, currentDepth);
+};
+function build(isSynchronous) {
+ return isSynchronous ? walkSync : walkAsync;
+}
+
+//#endregion
+//#region src/api/queue.ts
+/**
+* This is a custom stateless queue to track concurrent async fs calls.
+* It increments a counter whenever a call is queued and decrements it
+* as soon as it completes. When the counter hits 0, it calls onQueueEmpty.
+*/
+var Queue = class {
+ count = 0;
+ constructor(onQueueEmpty) {
+ this.onQueueEmpty = onQueueEmpty;
+ }
+ enqueue() {
+ this.count++;
+ return this.count;
+ }
+ dequeue(error, output) {
+ if (this.onQueueEmpty && (--this.count <= 0 || error)) {
+ this.onQueueEmpty(error, output);
+ if (error) {
+ output.controller.abort();
+ this.onQueueEmpty = void 0;
+ }
+ }
+ }
+};
+
+//#endregion
+//#region src/api/counter.ts
+var Counter = class {
+ _files = 0;
+ _directories = 0;
+ set files(num) {
+ this._files = num;
+ }
+ get files() {
+ return this._files;
+ }
+ set directories(num) {
+ this._directories = num;
+ }
+ get directories() {
+ return this._directories;
+ }
+ /**
+ * @deprecated use `directories` instead
+ */
+ /* c8 ignore next 3 */
+ get dirs() {
+ return this._directories;
+ }
+};
+
+//#endregion
+//#region src/api/aborter.ts
+/**
+* AbortController is not supported on Node 14 so we use this until we can drop
+* support for Node 14.
+*/
+var Aborter = class {
+ aborted = false;
+ abort() {
+ this.aborted = true;
+ }
+};
+
+//#endregion
+//#region src/api/walker.ts
+var Walker = class {
+ root;
+ isSynchronous;
+ state;
+ joinPath;
+ pushDirectory;
+ pushFile;
+ getArray;
+ groupFiles;
+ resolveSymlink;
+ walkDirectory;
+ callbackInvoker;
+ constructor(root, options, callback$1) {
+ this.isSynchronous = !callback$1;
+ this.callbackInvoker = build$1(options, this.isSynchronous);
+ this.root = normalizePath(root, options);
+ this.state = {
+ root: isRootDirectory(this.root) ? this.root : this.root.slice(0, -1),
+ paths: [""].slice(0, 0),
+ groups: [],
+ counts: new Counter(),
+ options,
+ queue: new Queue((error, state) => this.callbackInvoker(state, error, callback$1)),
+ symlinks: /* @__PURE__ */ new Map(),
+ visited: [""].slice(0, 0),
+ controller: new Aborter(),
+ fs: options.fs || nativeFs
+ };
+ this.joinPath = build$7(this.root, options);
+ this.pushDirectory = build$6(this.root, options);
+ this.pushFile = build$5(options);
+ this.getArray = build$4(options);
+ this.groupFiles = build$3(options);
+ this.resolveSymlink = build$2(options, this.isSynchronous);
+ this.walkDirectory = build(this.isSynchronous);
+ }
+ start() {
+ this.pushDirectory(this.root, this.state.paths, this.state.options.filters);
+ this.walkDirectory(this.state, this.root, this.root, this.state.options.maxDepth, this.walk);
+ return this.isSynchronous ? this.callbackInvoker(this.state, null) : null;
+ }
+ walk = (entries, directoryPath, depth) => {
+ const { paths, options: { filters, resolveSymlinks: resolveSymlinks$1, excludeSymlinks, exclude, maxFiles, signal, useRealPaths, pathSeparator }, controller } = this.state;
+ if (controller.aborted || signal && signal.aborted || maxFiles && paths.length > maxFiles) return;
+ const files = this.getArray(this.state.paths);
+ for (let i = 0; i < entries.length; ++i) {
+ const entry = entries[i];
+ if (entry.isFile() || entry.isSymbolicLink() && !resolveSymlinks$1 && !excludeSymlinks) {
+ const filename = this.joinPath(entry.name, directoryPath);
+ this.pushFile(filename, files, this.state.counts, filters);
+ } else if (entry.isDirectory()) {
+ let path = joinDirectoryPath(entry.name, directoryPath, this.state.options.pathSeparator);
+ if (exclude && exclude(entry.name, path)) continue;
+ this.pushDirectory(path, paths, filters);
+ this.walkDirectory(this.state, path, path, depth - 1, this.walk);
+ } else if (this.resolveSymlink && entry.isSymbolicLink()) {
+ let path = joinPathWithBasePath(entry.name, directoryPath);
+ this.resolveSymlink(path, this.state, (stat, resolvedPath) => {
+ if (stat.isDirectory()) {
+ resolvedPath = normalizePath(resolvedPath, this.state.options);
+ if (exclude && exclude(entry.name, useRealPaths ? resolvedPath : path + pathSeparator)) return;
+ this.walkDirectory(this.state, resolvedPath, useRealPaths ? resolvedPath : path + pathSeparator, depth - 1, this.walk);
+ } else {
+ resolvedPath = useRealPaths ? resolvedPath : path;
+ const filename = basename(resolvedPath);
+ const directoryPath$1 = normalizePath(dirname(resolvedPath), this.state.options);
+ resolvedPath = this.joinPath(filename, directoryPath$1);
+ this.pushFile(resolvedPath, files, this.state.counts, filters);
+ }
+ });
+ }
+ }
+ this.groupFiles(this.state.groups, directoryPath, files);
+ };
+};
+
+//#endregion
+//#region src/api/async.ts
+function promise(root, options) {
+ return new Promise((resolve$1, reject) => {
+ callback(root, options, (err, output) => {
+ if (err) return reject(err);
+ resolve$1(output);
+ });
+ });
+}
+function callback(root, options, callback$1) {
+ let walker = new Walker(root, options, callback$1);
+ walker.start();
+}
+
+//#endregion
+//#region src/api/sync.ts
+function sync(root, options) {
+ const walker = new Walker(root, options);
+ return walker.start();
+}
+
+//#endregion
+//#region src/builder/api-builder.ts
+var APIBuilder = class {
+ constructor(root, options) {
+ this.root = root;
+ this.options = options;
+ }
+ withPromise() {
+ return promise(this.root, this.options);
+ }
+ withCallback(cb) {
+ callback(this.root, this.options, cb);
+ }
+ sync() {
+ return sync(this.root, this.options);
+ }
+};
+
+//#endregion
+//#region src/builder/index.ts
+let pm = null;
+/* c8 ignore next 6 */
+try {
+ __require.resolve("picomatch");
+ pm = __require("picomatch");
+} catch {}
+var Builder = class {
+ globCache = {};
+ options = {
+ maxDepth: Infinity,
+ suppressErrors: true,
+ pathSeparator: sep,
+ filters: []
+ };
+ globFunction;
+ constructor(options) {
+ this.options = {
+ ...this.options,
+ ...options
+ };
+ this.globFunction = this.options.globFunction;
+ }
+ group() {
+ this.options.group = true;
+ return this;
+ }
+ withPathSeparator(separator) {
+ this.options.pathSeparator = separator;
+ return this;
+ }
+ withBasePath() {
+ this.options.includeBasePath = true;
+ return this;
+ }
+ withRelativePaths() {
+ this.options.relativePaths = true;
+ return this;
+ }
+ withDirs() {
+ this.options.includeDirs = true;
+ return this;
+ }
+ withMaxDepth(depth) {
+ this.options.maxDepth = depth;
+ return this;
+ }
+ withMaxFiles(limit) {
+ this.options.maxFiles = limit;
+ return this;
+ }
+ withFullPaths() {
+ this.options.resolvePaths = true;
+ this.options.includeBasePath = true;
+ return this;
+ }
+ withErrors() {
+ this.options.suppressErrors = false;
+ return this;
+ }
+ withSymlinks({ resolvePaths = true } = {}) {
+ this.options.resolveSymlinks = true;
+ this.options.useRealPaths = resolvePaths;
+ return this.withFullPaths();
+ }
+ withAbortSignal(signal) {
+ this.options.signal = signal;
+ return this;
+ }
+ normalize() {
+ this.options.normalizePath = true;
+ return this;
+ }
+ filter(predicate) {
+ this.options.filters.push(predicate);
+ return this;
+ }
+ onlyDirs() {
+ this.options.excludeFiles = true;
+ this.options.includeDirs = true;
+ return this;
+ }
+ exclude(predicate) {
+ this.options.exclude = predicate;
+ return this;
+ }
+ onlyCounts() {
+ this.options.onlyCounts = true;
+ return this;
+ }
+ crawl(root) {
+ return new APIBuilder(root || ".", this.options);
+ }
+ withGlobFunction(fn) {
+ this.globFunction = fn;
+ return this;
+ }
+ /**
+ * @deprecated Pass options using the constructor instead:
+ * ```ts
+ * new fdir(options).crawl("/path/to/root");
+ * ```
+ * This method will be removed in v7.0
+ */
+ /* c8 ignore next 4 */
+ crawlWithOptions(root, options) {
+ this.options = {
+ ...this.options,
+ ...options
+ };
+ return new APIBuilder(root || ".", this.options);
+ }
+ glob(...patterns) {
+ if (this.globFunction) return this.globWithOptions(patterns);
+ return this.globWithOptions(patterns, ...[{ dot: true }]);
+ }
+ globWithOptions(patterns, ...options) {
+ const globFn = this.globFunction || pm;
+ /* c8 ignore next 5 */
+ if (!globFn) throw new Error("Please specify a glob function to use glob matching.");
+ var isMatch = this.globCache[patterns.join("\0")];
+ if (!isMatch) {
+ isMatch = globFn(patterns, ...options);
+ this.globCache[patterns.join("\0")] = isMatch;
+ }
+ this.options.filters.push((path) => isMatch(path));
+ return this;
+ }
+};
+
+//#endregion
+export { Builder as fdir };
\ No newline at end of file
diff --git a/dashboard/node_modules/fdir/package.json b/dashboard/node_modules/fdir/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..e229dff81508001e377a1cebc22b3d81f501e7bc
--- /dev/null
+++ b/dashboard/node_modules/fdir/package.json
@@ -0,0 +1,103 @@
+{
+ "name": "fdir",
+ "version": "6.5.0",
+ "description": "The fastest directory crawler & globbing alternative to glob, fast-glob, & tiny-glob. Crawls 1m files in < 1s",
+ "main": "./dist/index.cjs",
+ "types": "./dist/index.d.cts",
+ "type": "module",
+ "scripts": {
+ "prepublishOnly": "npm run test && npm run build",
+ "build": "tsdown",
+ "format": "prettier --write src __tests__ benchmarks",
+ "test": "vitest run __tests__/",
+ "test:coverage": "vitest run --coverage __tests__/",
+ "test:watch": "vitest __tests__/",
+ "bench": "ts-node benchmarks/benchmark.js",
+ "bench:glob": "ts-node benchmarks/glob-benchmark.ts",
+ "bench:fdir": "ts-node benchmarks/fdir-benchmark.ts",
+ "release": "./scripts/release.sh"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/thecodrr/fdir.git"
+ },
+ "keywords": [
+ "util",
+ "os",
+ "sys",
+ "fs",
+ "walk",
+ "crawler",
+ "directory",
+ "files",
+ "io",
+ "tiny-glob",
+ "glob",
+ "fast-glob",
+ "speed",
+ "javascript",
+ "nodejs"
+ ],
+ "author": "thecodrr ",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/thecodrr/fdir/issues"
+ },
+ "homepage": "https://github.com/thecodrr/fdir#readme",
+ "devDependencies": {
+ "@types/glob": "^8.1.0",
+ "@types/mock-fs": "^4.13.4",
+ "@types/node": "^20.9.4",
+ "@types/picomatch": "^4.0.0",
+ "@types/tap": "^15.0.11",
+ "@vitest/coverage-v8": "^0.34.6",
+ "all-files-in-tree": "^1.1.2",
+ "benny": "^3.7.1",
+ "csv-to-markdown-table": "^1.3.1",
+ "expect": "^29.7.0",
+ "fast-glob": "^3.3.2",
+ "fdir1": "npm:fdir@1.2.0",
+ "fdir2": "npm:fdir@2.1.0",
+ "fdir3": "npm:fdir@3.4.2",
+ "fdir4": "npm:fdir@4.1.0",
+ "fdir5": "npm:fdir@5.0.0",
+ "fs-readdir-recursive": "^1.1.0",
+ "get-all-files": "^4.1.0",
+ "glob": "^10.3.10",
+ "klaw-sync": "^6.0.0",
+ "mock-fs": "^5.2.0",
+ "picomatch": "^4.0.2",
+ "prettier": "^3.5.3",
+ "recur-readdir": "0.0.1",
+ "recursive-files": "^1.0.2",
+ "recursive-fs": "^2.1.0",
+ "recursive-readdir": "^2.2.3",
+ "rrdir": "^12.1.0",
+ "systeminformation": "^5.21.17",
+ "tiny-glob": "^0.2.9",
+ "ts-node": "^10.9.1",
+ "tsdown": "^0.12.5",
+ "typescript": "^5.3.2",
+ "vitest": "^0.34.6",
+ "walk-sync": "^3.0.0"
+ },
+ "peerDependencies": {
+ "picomatch": "^3 || ^4"
+ },
+ "peerDependenciesMeta": {
+ "picomatch": {
+ "optional": true
+ }
+ },
+ "module": "./dist/index.mjs",
+ "exports": {
+ ".": {
+ "import": "./dist/index.mjs",
+ "require": "./dist/index.cjs"
+ },
+ "./package.json": "./package.json"
+ }
+}
diff --git a/dashboard/node_modules/lightningcss-win32-x64-msvc/LICENSE b/dashboard/node_modules/lightningcss-win32-x64-msvc/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..89fe5b2004873b5f5237874446f65df5c02f9dc2
--- /dev/null
+++ b/dashboard/node_modules/lightningcss-win32-x64-msvc/LICENSE
@@ -0,0 +1,373 @@
+ Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+means each individual or legal entity that creates, contributes to
+the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+means the combination of the Contributions of others (if any) used
+by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+means Source Code Form to which the initial Contributor has attached
+the notice in Exhibit A, the Executable Form of such Source Code
+Form, and Modifications of such Source Code Form, in each case
+including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+means
+
+(a) that the initial Contributor has attached the notice described
+in Exhibit B to the Covered Software; or
+
+(b) that the Covered Software was made available under the terms of
+version 1.1 or earlier of the License, but not also under the
+terms of a Secondary License.
+
+1.6. "Executable Form"
+means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+means a work that combines Covered Software with other material, in
+a separate file or files, that is not Covered Software.
+
+1.8. "License"
+means this document.
+
+1.9. "Licensable"
+means having the right to grant, to the maximum extent possible,
+whether at the time of the initial grant or subsequently, any and
+all of the rights conveyed by this License.
+
+1.10. "Modifications"
+means any of the following:
+
+(a) any file in Source Code Form that results from an addition to,
+deletion from, or modification of the contents of Covered
+Software; or
+
+(b) any new file in Source Code Form that contains any Covered
+Software.
+
+1.11. "Patent Claims" of a Contributor
+means any patent claim(s), including without limitation, method,
+process, and apparatus claims, in any patent Licensable by such
+Contributor that would be infringed, but for the grant of the
+License, by the making, using, selling, offering for sale, having
+made, import, or transfer of either its Contributions or its
+Contributor Version.
+
+1.12. "Secondary License"
+means either the GNU General Public License, Version 2.0, the GNU
+Lesser General Public License, Version 2.1, the GNU Affero General
+Public License, Version 3.0, or any later versions of those
+licenses.
+
+1.13. "Source Code Form"
+means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+means an individual or a legal entity exercising rights under this
+License. For legal entities, "You" includes any entity that
+controls, is controlled by, or is under common control with You. For
+purposes of this definition, "control" means (a) the power, direct
+or indirect, to cause the direction or management of such entity,
+whether by contract or otherwise, or (b) ownership of more than
+fifty percent (50%) of the outstanding shares or beneficial
+ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+Licensable by such Contributor to use, reproduce, make available,
+modify, display, perform, distribute, and otherwise exploit its
+Contributions, either on an unmodified basis, with Modifications, or
+as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+for sale, have made, import, and otherwise transfer either its
+Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+or
+
+(b) for infringements caused by: (i) Your and any other third party's
+modifications of Covered Software, or (ii) the combination of its
+Contributions with other software (except as part of its Contributor
+Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+Form, as described in Section 3.1, and You must inform recipients of
+the Executable Form how they can obtain a copy of such Source Code
+Form by reasonable means in a timely manner, at a charge no more
+than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+License, or sublicense it under different terms, provided that the
+license for the Executable Form does not attempt to limit or alter
+the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+This Source Code Form is "Incompatible With Secondary Licenses", as
+defined by the Mozilla Public License, v. 2.0.
diff --git a/dashboard/node_modules/lightningcss-win32-x64-msvc/README.md b/dashboard/node_modules/lightningcss-win32-x64-msvc/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..71b89387eca342b4e053b40a340b148d64c5c769
--- /dev/null
+++ b/dashboard/node_modules/lightningcss-win32-x64-msvc/README.md
@@ -0,0 +1 @@
+This is the x86_64-pc-windows-msvc build of lightningcss. See https://github.com/parcel-bundler/lightningcss for details.
\ No newline at end of file
diff --git a/dashboard/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node b/dashboard/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node
new file mode 100644
index 0000000000000000000000000000000000000000..d96f6f17f230f2d455b512a1c803e223d6274d2b
--- /dev/null
+++ b/dashboard/node_modules/lightningcss-win32-x64-msvc/lightningcss.win32-x64-msvc.node
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:83e7e838ef1bbf5454c651103574fec31a1cec0b453b999d1173365cbc6c7841
+size 9497600
diff --git a/dashboard/node_modules/lightningcss-win32-x64-msvc/package.json b/dashboard/node_modules/lightningcss-win32-x64-msvc/package.json
new file mode 100644
index 0000000000000000000000000000000000000000..ab27506a79bbc052605bcef8a2c102ec65c2b8a2
--- /dev/null
+++ b/dashboard/node_modules/lightningcss-win32-x64-msvc/package.json
@@ -0,0 +1,34 @@
+{
+ "name": "lightningcss-win32-x64-msvc",
+ "version": "1.32.0",
+ "license": "MPL-2.0",
+ "description": "A CSS parser, transformer, and minifier written in Rust",
+ "main": "lightningcss.win32-x64-msvc.node",
+ "browserslist": "last 2 versions, not dead",
+ "publishConfig": {
+ "access": "public"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/parcel"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/parcel-bundler/lightningcss.git"
+ },
+ "engines": {
+ "node": ">= 12.0.0"
+ },
+ "files": [
+ "lightningcss.win32-x64-msvc.node"
+ ],
+ "resolutions": {
+ "lightningcss": "link:."
+ },
+ "os": [
+ "win32"
+ ],
+ "cpu": [
+ "x64"
+ ]
+}
diff --git a/dashboard/node_modules/lightningcss/LICENSE b/dashboard/node_modules/lightningcss/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..89fe5b2004873b5f5237874446f65df5c02f9dc2
--- /dev/null
+++ b/dashboard/node_modules/lightningcss/LICENSE
@@ -0,0 +1,373 @@
+ Mozilla Public License Version 2.0
+==================================
+
+1. Definitions
+--------------
+
+1.1. "Contributor"
+means each individual or legal entity that creates, contributes to
+the creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+means the combination of the Contributions of others (if any) used
+by a Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+means Source Code Form to which the initial Contributor has attached
+the notice in Exhibit A, the Executable Form of such Source Code
+Form, and Modifications of such Source Code Form, in each case
+including portions thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+means
+
+(a) that the initial Contributor has attached the notice described
+in Exhibit B to the Covered Software; or
+
+(b) that the Covered Software was made available under the terms of
+version 1.1 or earlier of the License, but not also under the
+terms of a Secondary License.
+
+1.6. "Executable Form"
+means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+means a work that combines Covered Software with other material, in
+a separate file or files, that is not Covered Software.
+
+1.8. "License"
+means this document.
+
+1.9. "Licensable"
+means having the right to grant, to the maximum extent possible,
+whether at the time of the initial grant or subsequently, any and
+all of the rights conveyed by this License.
+
+1.10. "Modifications"
+means any of the following:
+
+(a) any file in Source Code Form that results from an addition to,
+deletion from, or modification of the contents of Covered
+Software; or
+
+(b) any new file in Source Code Form that contains any Covered
+Software.
+
+1.11. "Patent Claims" of a Contributor
+means any patent claim(s), including without limitation, method,
+process, and apparatus claims, in any patent Licensable by such
+Contributor that would be infringed, but for the grant of the
+License, by the making, using, selling, offering for sale, having
+made, import, or transfer of either its Contributions or its
+Contributor Version.
+
+1.12. "Secondary License"
+means either the GNU General Public License, Version 2.0, the GNU
+Lesser General Public License, Version 2.1, the GNU Affero General
+Public License, Version 3.0, or any later versions of those
+licenses.
+
+1.13. "Source Code Form"
+means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+means an individual or a legal entity exercising rights under this
+License. For legal entities, "You" includes any entity that
+controls, is controlled by, or is under common control with You. For
+purposes of this definition, "control" means (a) the power, direct
+or indirect, to cause the direction or management of such entity,
+whether by contract or otherwise, or (b) ownership of more than
+fifty percent (50%) of the outstanding shares or beneficial
+ownership of such entity.
+
+2. License Grants and Conditions
+--------------------------------
+
+2.1. Grants
+
+Each Contributor hereby grants You a world-wide, royalty-free,
+non-exclusive license:
+
+(a) under intellectual property rights (other than patent or trademark)
+Licensable by such Contributor to use, reproduce, make available,
+modify, display, perform, distribute, and otherwise exploit its
+Contributions, either on an unmodified basis, with Modifications, or
+as part of a Larger Work; and
+
+(b) under Patent Claims of such Contributor to make, use, sell, offer
+for sale, have made, import, and otherwise transfer either its
+Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+The licenses granted in Section 2.1 with respect to any Contribution
+become effective for each Contribution on the date the Contributor first
+distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+The licenses granted in this Section 2 are the only rights granted under
+this License. No additional rights or licenses will be implied from the
+distribution or licensing of Covered Software under this License.
+Notwithstanding Section 2.1(b) above, no patent license is granted by a
+Contributor:
+
+(a) for any code that a Contributor has removed from Covered Software;
+or
+
+(b) for infringements caused by: (i) Your and any other third party's
+modifications of Covered Software, or (ii) the combination of its
+Contributions with other software (except as part of its Contributor
+Version); or
+
+(c) under Patent Claims infringed by Covered Software in the absence of
+its Contributions.
+
+This License does not grant any rights in the trademarks, service marks,
+or logos of any Contributor (except as may be necessary to comply with
+the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+No Contributor makes additional grants as a result of Your choice to
+distribute the Covered Software under a subsequent version of this
+License (see Section 10.2) or under the terms of a Secondary License (if
+permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+Each Contributor represents that the Contributor believes its
+Contributions are its original creation(s) or it has sufficient rights
+to grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+This License is not intended to limit any rights You have under
+applicable copyright doctrines of fair use, fair dealing, or other
+equivalents.
+
+2.7. Conditions
+
+Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
+in Section 2.1.
+
+3. Responsibilities
+-------------------
+
+3.1. Distribution of Source Form
+
+All distribution of Covered Software in Source Code Form, including any
+Modifications that You create or to which You contribute, must be under
+the terms of this License. You must inform recipients that the Source
+Code Form of the Covered Software is governed by the terms of this
+License, and how they can obtain a copy of this License. You may not
+attempt to alter or restrict the recipients' rights in the Source Code
+Form.
+
+3.2. Distribution of Executable Form
+
+If You distribute Covered Software in Executable Form then:
+
+(a) such Covered Software must also be made available in Source Code
+Form, as described in Section 3.1, and You must inform recipients of
+the Executable Form how they can obtain a copy of such Source Code
+Form by reasonable means in a timely manner, at a charge no more
+than the cost of distribution to the recipient; and
+
+(b) You may distribute such Executable Form under the terms of this
+License, or sublicense it under different terms, provided that the
+license for the Executable Form does not attempt to limit or alter
+the recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+You may create and distribute a Larger Work under terms of Your choice,
+provided that You also comply with the requirements of this License for
+the Covered Software. If the Larger Work is a combination of Covered
+Software with a work governed by one or more Secondary Licenses, and the
+Covered Software is not Incompatible With Secondary Licenses, this
+License permits You to additionally distribute such Covered Software
+under the terms of such Secondary License(s), so that the recipient of
+the Larger Work may, at their option, further distribute the Covered
+Software under the terms of either this License or such Secondary
+License(s).
+
+3.4. Notices
+
+You may not remove or alter the substance of any license notices
+(including copyright notices, patent notices, disclaimers of warranty,
+or limitations of liability) contained within the Source Code Form of
+the Covered Software, except that You may alter any license notices to
+the extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+You may choose to offer, and to charge a fee for, warranty, support,
+indemnity or liability obligations to one or more recipients of Covered
+Software. However, You may do so only on Your own behalf, and not on
+behalf of any Contributor. You must make it absolutely clear that any
+such warranty, support, indemnity, or liability obligation is offered by
+You alone, and You hereby agree to indemnify every Contributor for any
+liability incurred by such Contributor as a result of warranty, support,
+indemnity or liability terms You offer. You may include additional
+disclaimers of warranty and limitations of liability specific to any
+jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+---------------------------------------------------
+
+If it is impossible for You to comply with any of the terms of this
+License with respect to some or all of the Covered Software due to
+statute, judicial order, or regulation then You must: (a) comply with
+the terms of this License to the maximum extent possible; and (b)
+describe the limitations and the code they affect. Such description must
+be placed in a text file included with all distributions of the Covered
+Software under this License. Except to the extent prohibited by statute
+or regulation, such description must be sufficiently detailed for a
+recipient of ordinary skill to be able to understand it.
+
+5. Termination
+--------------
+
+5.1. The rights granted under this License will terminate automatically
+if You fail to comply with any of its terms. However, if You become
+compliant, then the rights granted under this License from a particular
+Contributor are reinstated (a) provisionally, unless and until such
+Contributor explicitly and finally terminates Your grants, and (b) on an
+ongoing basis, if such Contributor fails to notify You of the
+non-compliance by some reasonable means prior to 60 days after You have
+come back into compliance. Moreover, Your grants from a particular
+Contributor are reinstated on an ongoing basis if such Contributor
+notifies You of the non-compliance by some reasonable means, this is the
+first time You have received notice of non-compliance with this License
+from such Contributor, and You become compliant prior to 30 days after
+Your receipt of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+infringement claim (excluding declaratory judgment actions,
+counter-claims, and cross-claims) alleging that a Contributor Version
+directly or indirectly infringes any patent, then the rights granted to
+You by any and all Contributors for the Covered Software under Section
+2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all
+end user license agreements (excluding distributors and resellers) which
+have been validly granted by You or Your distributors under this License
+prior to termination shall survive termination.
+
+************************************************************************
+* *
+* 6. Disclaimer of Warranty *
+* ------------------------- *
+* *
+* Covered Software is provided under this License on an "as is" *
+* basis, without warranty of any kind, either expressed, implied, or *
+* statutory, including, without limitation, warranties that the *
+* Covered Software is free of defects, merchantable, fit for a *
+* particular purpose or non-infringing. The entire risk as to the *
+* quality and performance of the Covered Software is with You. *
+* Should any Covered Software prove defective in any respect, You *
+* (not any Contributor) assume the cost of any necessary servicing, *
+* repair, or correction. This disclaimer of warranty constitutes an *
+* essential part of this License. No use of any Covered Software is *
+* authorized under this License except under this disclaimer. *
+* *
+************************************************************************
+
+************************************************************************
+* *
+* 7. Limitation of Liability *
+* -------------------------- *
+* *
+* Under no circumstances and under no legal theory, whether tort *
+* (including negligence), contract, or otherwise, shall any *
+* Contributor, or anyone who distributes Covered Software as *
+* permitted above, be liable to You for any direct, indirect, *
+* special, incidental, or consequential damages of any character *
+* including, without limitation, damages for lost profits, loss of *
+* goodwill, work stoppage, computer failure or malfunction, or any *
+* and all other commercial damages or losses, even if such party *
+* shall have been informed of the possibility of such damages. This *
+* limitation of liability shall not apply to liability for death or *
+* personal injury resulting from such party's negligence to the *
+* extent applicable law prohibits such limitation. Some *
+* jurisdictions do not allow the exclusion or limitation of *
+* incidental or consequential damages, so this exclusion and *
+* limitation may not apply to You. *
+* *
+************************************************************************
+
+8. Litigation
+-------------
+
+Any litigation relating to this License may be brought only in the
+courts of a jurisdiction where the defendant maintains its principal
+place of business and such litigation shall be governed by laws of that
+jurisdiction, without reference to its conflict-of-law provisions.
+Nothing in this Section shall prevent a party's ability to bring
+cross-claims or counter-claims.
+
+9. Miscellaneous
+----------------
+
+This License represents the complete agreement concerning the subject
+matter hereof. If any provision of this License is held to be
+unenforceable, such provision shall be reformed only to the extent
+necessary to make it enforceable. Any law or regulation which provides
+that the language of a contract shall be construed against the drafter
+shall not be used to construe this License against a Contributor.
+
+10. Versions of the License
+---------------------------
+
+10.1. New Versions
+
+Mozilla Foundation is the license steward. Except as provided in Section
+10.3, no one other than the license steward has the right to modify or
+publish new versions of this License. Each version will be given a
+distinguishing version number.
+
+10.2. Effect of New Versions
+
+You may distribute the Covered Software under the terms of the version
+of the License under which You originally received the Covered Software,
+or under the terms of any subsequent version published by the license
+steward.
+
+10.3. Modified Versions
+
+If you create software not governed by this License, and you want to
+create a new license for such software, you may create and use a
+modified version of this License if you rename the license and remove
+any references to the name of the license steward (except to note that
+such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+Licenses
+
+If You choose to distribute Source Code Form that is Incompatible With
+Secondary Licenses under the terms of this version of the License, the
+notice described in Exhibit B of this License must be attached.
+
+Exhibit A - Source Code Form License Notice
+-------------------------------------------
+
+This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+If it is not possible or desirable to put the notice in a particular
+file, then You may include the notice in a location (such as a LICENSE
+file in a relevant directory) where a recipient would be likely to look
+for such a notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+---------------------------------------------------------
+
+This Source Code Form is "Incompatible With Secondary Licenses", as
+defined by the Mozilla Public License, v. 2.0.
diff --git a/dashboard/node_modules/lightningcss/README.md b/dashboard/node_modules/lightningcss/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..f44d7b3cdc7f59e2cf8a8326cb2b05de5305d9a3
--- /dev/null
+++ b/dashboard/node_modules/lightningcss/README.md
@@ -0,0 +1,105 @@
+# ⚡️ Lightning CSS
+
+An extremely fast CSS parser, transformer, and minifier written in Rust. Use it with [Parcel](https://parceljs.org), as a standalone library or CLI, or via a plugin with any other tool.
+
+
+
+
+## Features
+
+- **Extremely fast** – Parsing and minifying large files is completed in milliseconds, often with significantly smaller output than other tools. See [benchmarks](#benchmarks) below.
+- **Typed property values** – many other CSS parsers treat property values as an untyped series of tokens. This means that each transformer that wants to do something with these values must interpret them itself, leading to duplicate work and inconsistencies. Lightning CSS parses all values using the grammar from the CSS specification, and exposes a specific value type for each property.
+- **Browser-grade parser** – Lightning CSS is built on the [cssparser](https://github.com/servo/rust-cssparser) and [selectors](https://github.com/servo/stylo/tree/main/selectors) crates created by Mozilla and used by Firefox and Servo. These provide a solid general purpose CSS-parsing foundation on top of which Lightning CSS implements support for all specific CSS rules and properties.
+- **Minification** – One of the main purposes of Lightning CSS is to minify CSS to make it smaller. This includes many optimizations including:
+ - Combining longhand properties into shorthands where possible.
+ - Merging adjacent rules with the same selectors or declarations when it is safe to do so.
+ - Combining CSS transforms into a single matrix or vice versa when smaller.
+ - Removing vendor prefixes that are not needed, based on the provided browser targets.
+ - Reducing `calc()` expressions where possible.
+ - Converting colors to shorter hex notation where possible.
+ - Minifying gradients.
+ - Minifying CSS grid templates.
+ - Normalizing property value order.
+ - Removing default property sub-values which will be inferred by browsers.
+ - Many micro-optimizations, e.g. converting to shorter units, removing unnecessary quotation marks, etc.
+- **Vendor prefixing** – Lightning CSS accepts a list of browser targets, and automatically adds (and removes) vendor prefixes.
+- **Browserslist configuration** – Lightning CSS supports opt-in browserslist configuration discovery to resolve browser targets and integrate with your existing tools and config setup.
+- **Syntax lowering** – Lightning CSS parses modern CSS syntax, and generates more compatible output where needed, based on browser targets.
+ - CSS Nesting
+ - Custom media queries (draft spec)
+ - Logical properties
+ * [Color Level 5](https://drafts.csswg.org/css-color-5/)
+ - `color-mix()` function
+ - Relative color syntax, e.g. `lab(from purple calc(l * .8) a b)`
+ - [Color Level 4](https://drafts.csswg.org/css-color-4/)
+ - `lab()`, `lch()`, `oklab()`, and `oklch()` colors
+ - `color()` function supporting predefined color spaces such as `display-p3` and `xyz`
+ - Space separated components in `rgb` and `hsl` functions
+ - Hex with alpha syntax
+ - `hwb()` color syntax
+ - Percent syntax for opacity
+ - `#rgba` and `#rrggbbaa` hex colors
+ - Selectors
+ - `:not` with multiple arguments
+ - `:lang` with multiple arguments
+ - `:dir`
+ - `:is`
+ - Double position gradient stops (e.g. `red 40% 80%`)
+ - `clamp()`, `round()`, `rem()`, and `mod()` math functions
+ - Alignment shorthands (e.g. `place-items`)
+ - Two-value `overflow` shorthand
+ - Media query range syntax (e.g. `@media (width <= 100px)` or `@media (100px < width < 500px)`)
+ - Multi-value `display` property (e.g. `inline flex`)
+ - `system-ui` font family fallbacks
+- **CSS modules** – Lightning CSS supports compiling a subset of [CSS modules](https://github.com/css-modules/css-modules) features.
+ - Locally scoped class and id selectors
+ - Locally scoped custom identifiers, e.g. `@keyframes` names, grid lines/areas, `@counter-style` names, etc.
+ - Opt-in support for locally scoped CSS variables and other dashed identifiers.
+ - `:local()` and `:global()` selectors
+ - The `composes` property
+- **Custom transforms** – The Lightning CSS visitor API can be used to implement custom transform plugins.
+
+## Documentation
+
+Lightning CSS can be used from [Parcel](https://parceljs.org), as a standalone library from JavaScript or Rust, using a standalone CLI, or wrapped as a plugin within any other tool. See the [Lightning CSS website](https://lightningcss.dev/docs.html) for documentation.
+
+## Benchmarks
+
+
+
+
+```
+$ node bench.js bootstrap-4.css
+cssnano: 544.809ms
+159636 bytes
+
+esbuild: 17.199ms
+160332 bytes
+
+lightningcss: 4.16ms
+143091 bytes
+
+
+$ node bench.js animate.css
+cssnano: 283.105ms
+71723 bytes
+
+esbuild: 11.858ms
+72183 bytes
+
+lightningcss: 1.973ms
+23666 bytes
+
+
+$ node bench.js tailwind.css
+cssnano: 2.198s
+1925626 bytes
+
+esbuild: 107.668ms
+1961642 bytes
+
+lightningcss: 43.368ms
+1824130 bytes
+```
+
+For more benchmarks comparing more tools and input, see [here](http://goalsmashers.github.io/css-minification-benchmark/). Note that some of the tools shown perform unsafe optimizations that may change the behavior of the original CSS in favor of smaller file size. Lightning CSS does not do this – the output CSS should always behave identically to the input. Keep this in mind when comparing file sizes between tools.
diff --git a/dashboard/node_modules/lightningcss/node/ast.d.ts b/dashboard/node_modules/lightningcss/node/ast.d.ts
new file mode 100644
index 0000000000000000000000000000000000000000..28e9d093016f636a085cf1bc8af72a1204c743db
--- /dev/null
+++ b/dashboard/node_modules/lightningcss/node/ast.d.ts
@@ -0,0 +1,9892 @@
+/* eslint-disable */
+/**
+ * This file was automatically generated by json-schema-to-typescript.
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
+ * and run json-schema-to-typescript to regenerate this file.
+ */
+
+export type String = string;
+/**
+ * A CSS rule.
+ */
+export type Rule = | {
+ type: "media";
+ value: MediaRule;
+ }
+| {
+ type: "import";
+ value: ImportRule;
+ }
+| {
+ type: "style";
+ value: StyleRule;
+ }
+| {
+ type: "keyframes";
+ value: KeyframesRule;
+ }
+| {
+ type: "font-face";
+ value: FontFaceRule;
+ }
+| {
+ type: "font-palette-values";
+ value: FontPaletteValuesRule;
+ }
+| {
+ type: "font-feature-values";
+ value: FontFeatureValuesRule;
+ }
+| {
+ type: "page";
+ value: PageRule;
+ }
+| {
+ type: "supports";
+ value: SupportsRule;
+ }
+| {
+ type: "counter-style";
+ value: CounterStyleRule;
+ }
+| {
+ type: "namespace";
+ value: NamespaceRule;
+ }
+| {
+ type: "moz-document";
+ value: MozDocumentRule;
+ }
+| {
+ type: "nesting";
+ value: NestingRule;
+ }
+| {
+ type: "nested-declarations";
+ value: NestedDeclarationsRule;
+ }
+| {
+ type: "viewport";
+ value: ViewportRule;
+ }
+| {
+ type: "custom-media";
+ value: CustomMediaRule;
+ }
+| {
+ type: "layer-statement";
+ value: LayerStatementRule;
+ }
+| {
+ type: "layer-block";
+ value: LayerBlockRule;
+ }
+| {
+ type: "property";
+ value: PropertyRule;
+ }
+| {
+ type: "container";
+ value: ContainerRule;
+ }
+| {
+ type: "scope";
+ value: ScopeRule;
+ }
+| {
+ type: "starting-style";
+ value: StartingStyleRule;
+ }
+| {
+ type: "view-transition";
+ value: ViewTransitionRule;
+ }
+| {
+ type: "ignored";
+ }
+| {
+ type: "unknown";
+ value: UnknownAtRule;
+ }
+| {
+ type: "custom";
+ value: DefaultAtRule;
+ };
+/**
+ * Represents a media condition.
+ */
+export type MediaCondition =
+ | {
+ type: "feature";
+ value: QueryFeatureFor_MediaFeatureId;
+ }
+ | {
+ type: "not";
+ value: MediaCondition;
+ }
+ | {
+ /**
+ * The conditions for the operator.
+ */
+ conditions: MediaCondition[];
+ /**
+ * The operator for the conditions.
+ */
+ operator: Operator;
+ type: "operation";
+ }
+ | {
+ type: "unknown";
+ value: TokenOrValue[];
+ };
+/**
+ * A generic media feature or container feature.
+ */
+export type QueryFeatureFor_MediaFeatureId =
+ | {
+ /**
+ * The name of the feature.
+ */
+ name: MediaFeatureNameFor_MediaFeatureId;
+ type: "plain";
+ /**
+ * The feature value.
+ */
+ value: MediaFeatureValue;
+ }
+ | {
+ /**
+ * The name of the feature.
+ */
+ name: MediaFeatureNameFor_MediaFeatureId;
+ type: "boolean";
+ }
+ | {
+ /**
+ * The name of the feature.
+ */
+ name: MediaFeatureNameFor_MediaFeatureId;
+ /**
+ * A comparator.
+ */
+ operator: MediaFeatureComparison;
+ type: "range";
+ /**
+ * The feature value.
+ */
+ value: MediaFeatureValue;
+ }
+ | {
+ /**
+ * The end value.
+ */
+ end: MediaFeatureValue;
+ /**
+ * A comparator for the end value.
+ */
+ endOperator: MediaFeatureComparison;
+ /**
+ * The name of the feature.
+ */
+ name: MediaFeatureNameFor_MediaFeatureId;
+ /**
+ * A start value.
+ */
+ start: MediaFeatureValue;
+ /**
+ * A comparator for the start value.
+ */
+ startOperator: MediaFeatureComparison;
+ type: "interval";
+ };
+/**
+ * A media feature name.
+ */
+export type MediaFeatureNameFor_MediaFeatureId = MediaFeatureId | String | String;
+/**
+ * A media query feature identifier.
+ */
+export type MediaFeatureId =
+ | "width"
+ | "height"
+ | "aspect-ratio"
+ | "orientation"
+ | "overflow-block"
+ | "overflow-inline"
+ | "horizontal-viewport-segments"
+ | "vertical-viewport-segments"
+ | "display-mode"
+ | "resolution"
+ | "scan"
+ | "grid"
+ | "update"
+ | "environment-blending"
+ | "color"
+ | "color-index"
+ | "monochrome"
+ | "color-gamut"
+ | "dynamic-range"
+ | "inverted-colors"
+ | "pointer"
+ | "hover"
+ | "any-pointer"
+ | "any-hover"
+ | "nav-controls"
+ | "video-color-gamut"
+ | "video-dynamic-range"
+ | "scripting"
+ | "prefers-reduced-motion"
+ | "prefers-reduced-transparency"
+ | "prefers-contrast"
+ | "forced-colors"
+ | "prefers-color-scheme"
+ | "prefers-reduced-data"
+ | "device-width"
+ | "device-height"
+ | "device-aspect-ratio"
+ | "-webkit-device-pixel-ratio"
+ | "-moz-device-pixel-ratio";
+/**
+ * [media feature value](https://drafts.csswg.org/mediaqueries/#typedef-mf-value) within a media query.
+ *
+ * See [MediaFeature](MediaFeature).
+ */
+export type MediaFeatureValue =
+ | {
+ type: "length";
+ value: Length;
+ }
+ | {
+ type: "number";
+ value: number;
+ }
+ | {
+ type: "integer";
+ value: number;
+ }
+ | {
+ type: "boolean";
+ value: boolean;
+ }
+ | {
+ type: "resolution";
+ value: Resolution;
+ }
+ | {
+ type: "ratio";
+ value: Ratio;
+ }
+ | {
+ type: "ident";
+ value: String;
+ }
+ | {
+ type: "env";
+ value: EnvironmentVariable;
+ };
+/**
+ * A CSS [``](https://www.w3.org/TR/css-values-4/#lengths) value, with support for `calc()`.
+ */
+export type Length =
+ | {
+ type: "value";
+ value: LengthValue;
+ }
+ | {
+ type: "calc";
+ value: CalcFor_Length;
+ };
+export type LengthUnit =
+ | "px"
+ | "in"
+ | "cm"
+ | "mm"
+ | "q"
+ | "pt"
+ | "pc"
+ | "em"
+ | "rem"
+ | "ex"
+ | "rex"
+ | "ch"
+ | "rch"
+ | "cap"
+ | "rcap"
+ | "ic"
+ | "ric"
+ | "lh"
+ | "rlh"
+ | "vw"
+ | "lvw"
+ | "svw"
+ | "dvw"
+ | "cqw"
+ | "vh"
+ | "lvh"
+ | "svh"
+ | "dvh"
+ | "cqh"
+ | "vi"
+ | "svi"
+ | "lvi"
+ | "dvi"
+ | "cqi"
+ | "vb"
+ | "svb"
+ | "lvb"
+ | "dvb"
+ | "cqb"
+ | "vmin"
+ | "svmin"
+ | "lvmin"
+ | "dvmin"
+ | "cqmin"
+ | "vmax"
+ | "svmax"
+ | "lvmax"
+ | "dvmax"
+ | "cqmax";
+/**
+ * A mathematical expression used within the [`calc()`](https://www.w3.org/TR/css-values-4/#calc-func) function.
+ *
+ * This type supports generic value types. Values such as [Length](super::length::Length), [Percentage](super::percentage::Percentage), [Time](super::time::Time), and [Angle](super::angle::Angle) support `calc()` expressions.
+ */
+export type CalcFor_Length =
+ | {
+ type: "value";
+ value: Length;
+ }
+ | {
+ type: "number";
+ value: number;
+ }
+ | {
+ type: "sum";
+ /**
+ * @minItems 2
+ * @maxItems 2
+ */
+ value: [CalcFor_Length, CalcFor_Length];
+ }
+ | {
+ type: "product";
+ /**
+ * @minItems 2
+ * @maxItems 2
+ */
+ value: [number, CalcFor_Length];
+ }
+ | {
+ type: "function";
+ value: MathFunctionFor_Length;
+ };
+/**
+ * A CSS [math function](https://www.w3.org/TR/css-values-4/#math-function).
+ *
+ * Math functions may be used in most properties and values that accept numeric values, including lengths, percentages, angles, times, etc.
+ */
+export type MathFunctionFor_Length =
+ | {
+ type: "calc";
+ value: CalcFor_Length;
+ }
+ | {
+ type: "min";
+ value: CalcFor_Length[];
+ }
+ | {
+ type: "max";
+ value: CalcFor_Length[];
+ }
+ | {
+ type: "clamp";
+ /**
+ * @minItems 3
+ * @maxItems 3
+ */
+ value: [CalcFor_Length, CalcFor_Length, CalcFor_Length];
+ }
+ | {
+ type: "round";
+ /**
+ * @minItems 3
+ * @maxItems 3
+ */
+ value: [RoundingStrategy, CalcFor_Length, CalcFor_Length];
+ }
+ | {
+ type: "rem";
+ /**
+ * @minItems 2
+ * @maxItems 2
+ */
+ value: [CalcFor_Length, CalcFor_Length];
+ }
+ | {
+ type: "mod";
+ /**
+ * @minItems 2
+ * @maxItems 2
+ */
+ value: [CalcFor_Length, CalcFor_Length];
+ }
+ | {
+ type: "abs";
+ value: CalcFor_Length;
+ }
+ | {
+ type: "sign";
+ value: CalcFor_Length;
+ }
+ | {
+ type: "hypot";
+ value: CalcFor_Length[];
+ };
+/**
+ * A [rounding strategy](https://www.w3.org/TR/css-values-4/#typedef-rounding-strategy), as used in the `round()` function.
+ */
+export type RoundingStrategy = "nearest" | "up" | "down" | "to-zero";
+/**
+ * A CSS [``](https://www.w3.org/TR/css-values-4/#resolution) value.
+ */
+export type Resolution =
+ | {
+ type: "dpi";
+ value: number;
+ }
+ | {
+ type: "dpcm";
+ value: number;
+ }
+ | {
+ type: "dppx";
+ value: number;
+ };
+/**
+ * A CSS [``](https://www.w3.org/TR/css-values-4/#ratios) value, representing the ratio of two numeric values.
+ *
+ * @minItems 2
+ * @maxItems 2
+ */
+export type Ratio = [number, number];
+/**
+ * A raw CSS token, or a parsed value.
+ */
+export type TokenOrValue =
+ | {
+ type: "token";
+ value: Token;
+ }
+ | {
+ type: "color";
+ value: CssColor;
+ }
+ | {
+ type: "unresolved-color";
+ value: UnresolvedColor;
+ }
+ | {
+ type: "url";
+ value: Url;
+ }
+ | {
+ type: "var";
+ value: Variable;
+ }
+ | {
+ type: "env";
+ value: EnvironmentVariable;
+ }
+ | {
+ type: "function";
+ value: Function;
+ }
+ | {
+ type: "length";
+ value: LengthValue;
+ }
+ | {
+ type: "angle";
+ value: Angle;
+ }
+ | {
+ type: "time";
+ value: Time;
+ }
+ | {
+ type: "resolution";
+ value: Resolution;
+ }
+ | {
+ type: "dashed-ident";
+ value: String;
+ }
+ | {
+ type: "animation-name";
+ value: AnimationName;
+ };
+/**
+ * A raw CSS token.
+ */
+export type Token =
+ | {
+ type: "ident";
+ value: String;
+ }
+ | {
+ type: "at-keyword";
+ value: String;
+ }
+ | {
+ type: "hash";
+ value: String;
+ }
+ | {
+ type: "id-hash";
+ value: String;
+ }
+ | {
+ type: "string";
+ value: String;
+ }
+ | {
+ type: "unquoted-url";
+ value: String;
+ }
+ | {
+ type: "delim";
+ value: string;
+ }
+ | {
+ type: "number";
+ /**
+ * The value as a float
+ */
+ value: number;
+ }
+ | {
+ type: "percentage";
+ /**
+ * The value as a float, divided by 100 so that the nominal range is 0.0 to 1.0.
+ */
+ value: number;
+ }
+ | {
+ type: "dimension";
+ /**
+ * The unit, e.g. "px" in `12px`
+ */
+ unit: String;
+ /**
+ * The value as a float
+ */
+ value: number;
+ }
+ | {
+ type: "white-space";
+ value: String;
+ }
+ | {
+ type: "comment";
+ value: String;
+ }
+ | {
+ type: "colon";
+ }
+ | {
+ type: "semicolon";
+ }
+ | {
+ type: "comma";
+ }
+ | {
+ type: "include-match";
+ }
+ | {
+ type: "dash-match";
+ }
+ | {
+ type: "prefix-match";
+ }
+ | {
+ type: "suffix-match";
+ }
+ | {
+ type: "substring-match";
+ }
+ | {
+ type: "cdo";
+ }
+ | {
+ type: "cdc";
+ }
+ | {
+ type: "function";
+ value: String;
+ }
+ | {
+ type: "parenthesis-block";
+ }
+ | {
+ type: "square-bracket-block";
+ }
+ | {
+ type: "curly-bracket-block";
+ }
+ | {
+ type: "bad-url";
+ value: String;
+ }
+ | {
+ type: "bad-string";
+ value: String;
+ }
+ | {
+ type: "close-parenthesis";
+ }
+ | {
+ type: "close-square-bracket";
+ }
+ | {
+ type: "close-curly-bracket";
+ };
+/**
+ * A CSS [``](https://www.w3.org/TR/css-color-4/#color-type) value.
+ *
+ * CSS supports many different color spaces to represent colors. The most common values are stored as RGBA using a single byte per component. Less common values are stored using a `Box` to reduce the amount of memory used per color.
+ *
+ * Each color space is represented as a struct that implements the `From` and `Into` traits for all other color spaces, so it is possible to convert between color spaces easily. In addition, colors support [interpolation](#method.interpolate) as in the `color-mix()` function.
+ */
+export type CssColor = CurrentColor | RGBColor | LABColor | PredefinedColor | FloatColor | LightDark | SystemColor;
+export type CurrentColor = {
+ type: "currentcolor";
+};
+export type RGBColor = {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "rgb";
+};
+/**
+ * A color in a LAB color space, including the `lab()`, `lch()`, `oklab()`, and `oklch()` functions.
+ */
+export type LABColor =
+ | {
+ /**
+ * The a component.
+ */
+ a: number;
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The b component.
+ */
+ b: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ type: "lab";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The chroma component.
+ */
+ c: number;
+ /**
+ * The hue component.
+ */
+ h: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ type: "lch";
+ }
+ | {
+ /**
+ * The a component.
+ */
+ a: number;
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The b component.
+ */
+ b: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ type: "oklab";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The chroma component.
+ */
+ c: number;
+ /**
+ * The hue component.
+ */
+ h: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ type: "oklch";
+ };
+/**
+ * A color in a predefined color space, e.g. `display-p3`.
+ */
+export type PredefinedColor =
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "srgb";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "srgb-linear";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "display-p3";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "a98-rgb";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "prophoto-rgb";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "rec2020";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ type: "xyz-d50";
+ /**
+ * The x component.
+ */
+ x: number;
+ /**
+ * The y component.
+ */
+ y: number;
+ /**
+ * The z component.
+ */
+ z: number;
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ type: "xyz-d65";
+ /**
+ * The x component.
+ */
+ x: number;
+ /**
+ * The y component.
+ */
+ y: number;
+ /**
+ * The z component.
+ */
+ z: number;
+ };
+/**
+ * A floating point representation of color types that are usually stored as RGBA. These are used when there are any `none` components, which are represented as NaN.
+ */
+export type FloatColor =
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "rgb";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The hue component.
+ */
+ h: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ /**
+ * The saturation component.
+ */
+ s: number;
+ type: "hsl";
+ }
+ | {
+ /**
+ * The alpha component.
+ */
+ alpha: number;
+ /**
+ * The blackness component.
+ */
+ b: number;
+ /**
+ * The hue component.
+ */
+ h: number;
+ type: "hwb";
+ /**
+ * The whiteness component.
+ */
+ w: number;
+ };
+export type LightDark = {
+ dark: CssColor;
+ light: CssColor;
+ type: "light-dark";
+};
+/**
+ * A CSS [system color](https://drafts.csswg.org/css-color/#css-system-colors) keyword.
+ */
+export type SystemColor =
+ | "accentcolor"
+ | "accentcolortext"
+ | "activetext"
+ | "buttonborder"
+ | "buttonface"
+ | "buttontext"
+ | "canvas"
+ | "canvastext"
+ | "field"
+ | "fieldtext"
+ | "graytext"
+ | "highlight"
+ | "highlighttext"
+ | "linktext"
+ | "mark"
+ | "marktext"
+ | "selecteditem"
+ | "selecteditemtext"
+ | "visitedtext"
+ | "activeborder"
+ | "activecaption"
+ | "appworkspace"
+ | "background"
+ | "buttonhighlight"
+ | "buttonshadow"
+ | "captiontext"
+ | "inactiveborder"
+ | "inactivecaption"
+ | "inactivecaptiontext"
+ | "infobackground"
+ | "infotext"
+ | "menu"
+ | "menutext"
+ | "scrollbar"
+ | "threeddarkshadow"
+ | "threedface"
+ | "threedhighlight"
+ | "threedlightshadow"
+ | "threedshadow"
+ | "window"
+ | "windowframe"
+ | "windowtext";
+/**
+ * A color value with an unresolved alpha value (e.g. a variable). These can be converted from the modern slash syntax to older comma syntax. This can only be done when the only unresolved component is the alpha since variables can resolve to multiple tokens.
+ */
+export type UnresolvedColor =
+ | {
+ /**
+ * The unresolved alpha component.
+ */
+ alpha: TokenOrValue[];
+ /**
+ * The blue component.
+ */
+ b: number;
+ /**
+ * The green component.
+ */
+ g: number;
+ /**
+ * The red component.
+ */
+ r: number;
+ type: "rgb";
+ }
+ | {
+ /**
+ * The unresolved alpha component.
+ */
+ alpha: TokenOrValue[];
+ /**
+ * The hue component.
+ */
+ h: number;
+ /**
+ * The lightness component.
+ */
+ l: number;
+ /**
+ * The saturation component.
+ */
+ s: number;
+ type: "hsl";
+ }
+ | {
+ /**
+ * The dark value.
+ */
+ dark: TokenOrValue[];
+ /**
+ * The light value.
+ */
+ light: TokenOrValue[];
+ type: "light-dark";
+ };
+/**
+ * Defines where the class names referenced in the `composes` property are located.
+ *
+ * See [Composes](Composes).
+ */
+export type Specifier =
+ | {
+ type: "global";
+ }
+ | {
+ type: "file";
+ value: String;
+ }
+ | {
+ type: "source-index";
+ value: number;
+ };
+/**
+ * A CSS [``](https://www.w3.org/TR/css-values-4/#angles) value.
+ *
+ * Angles may be explicit or computed by `calc()`, but are always stored and serialized as their computed value.
+ */
+export type Angle =
+ | {
+ type: "deg";
+ value: number;
+ }
+ | {
+ type: "rad";
+ value: number;
+ }
+ | {
+ type: "grad";
+ value: number;
+ }
+ | {
+ type: "turn";
+ value: number;
+ };
+/**
+ * A CSS [`