Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

wip: Separate upload video functionality

Richie McIlroyfc633549c2e0
diff --git a/.env.example b/.env.example
new file mode 100644
index 000000000..9757e2428
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,32 @@
+# ********** INDEX **********
+#
+# - REQUIRED
+# - MISC
+
+#### COPY THIS FILE TO .env AND UPDATE THE VALUES ####
+
+# - REQUIRED ****************
+
+# Update these with your Supabase details from your project settings > API
+# https://app.supabase.com/project/_/settings/api
+
+NEXT_PUBLIC_SUPABASE_URL=
+NEXT_PUBLIC_SUPABASE_ANON_KEY=
+
+## Vite also needs their own values to expose them to the client
+VITE_SUPABASE_URL=
+VITE_SUPABASE_ANON_KEY=
+
+SUPABASE_SERVICE_ROLE_KEY=
+
+NEXT_PUBLIC_ENVIRONMENT=development
+NEXT_PUBLIC_URL=http://localhost:3000
+
+## For use with Cloudflare R2, and the Cloudflare API to upload recordings
+CLOUDFLARE_ACCESS_KEY=
+CLOUDFLARE_SECRET_KEY=
+CLOUDFLARE_R2_ENDPOINT=
+
+# - MISC, NOT REQUIRED FOR DEV ****************
+
+NEXT_LOOPS_KEY=
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 6471ae35d..99b8d7faf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ node_modules
dist
dist-ssr
*.local
+.env
# Editor directories and files
.vscode/*
@@ -22,4 +23,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?
-.turbo
\ No newline at end of file
+.turbo
+pnpm-lock.yaml
\ No newline at end of file
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index 455e79752..8d8bc2f98 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -12,8 +12,7 @@
"dependencies": {
"@tauri-apps/api": "^1.5.0",
"autoprefixer": "^10.4.16",
- "extendable-media-recorder": "^9.1.4",
- "extendable-media-recorder-wav-encoder": "^7.0.100",
+ "dotenv": "^16.3.1",
"postcss": "^8.4.31",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/apps/desktop/src-tauri/.gitignore b/apps/desktop/src-tauri/.gitignore
index 08b526419..99b26ff97 100644
--- a/apps/desktop/src-tauri/.gitignore
+++ b/apps/desktop/src-tauri/.gitignore
@@ -2,6 +2,7 @@
# will have compiled files and executables
/target/
/recordings/*
+/chunks/*
src/capture/target/*
.env
.env*
\ No newline at end of file
diff --git a/apps/desktop/src-tauri/.taurignore b/apps/desktop/src-tauri/.taurignore
index 1f0412240..ed0dcb177 100644
--- a/apps/desktop/src-tauri/.taurignore
+++ b/apps/desktop/src-tauri/.taurignore
@@ -1,2 +1,4 @@
/recordings
-/recordings/*
\ No newline at end of file
+/recordings/*
+/chunks
+/chunks/*
\ No newline at end of file
diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lock
index b38fcf9cd..04fcf881f 100644
--- a/apps/desktop/src-tauri/Cargo.lock
+++ b/apps/desktop/src-tauri/Cargo.lock
@@ -58,9 +58,34 @@ dependencies = [
[[package]]
name = "anyhow"
-version = "1.0.75"
+version = "1.0.79"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6"
+checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca"
+
+[[package]]
+name = "arboard"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aafb29b107435aa276664c1db8954ac27a6e105cdad3c88287a199eb0e313c08"
+dependencies = [
+ "clipboard-win",
+ "core-graphics",
+ "image",
+ "log",
+ "objc",
+ "objc-foundation",
+ "objc_id",
+ "parking_lot",
+ "thiserror",
+ "winapi 0.3.9",
+ "x11rb",
+]
+
+[[package]]
+name = "ascii"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
[[package]]
name = "async-broadcast"
@@ -79,7 +104,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c"
dependencies = [
"concurrent-queue",
- "event-listener 4.0.0",
+ "event-listener 4.0.2",
"event-listener-strategy",
"futures-core",
"pin-project-lite",
@@ -165,7 +190,7 @@ version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c"
dependencies = [
- "event-listener 4.0.0",
+ "event-listener 4.0.2",
"event-listener-strategy",
"pin-project-lite",
]
@@ -195,7 +220,7 @@ checksum = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -224,13 +249,13 @@ checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46"
[[package]]
name = "async-trait"
-version = "0.1.74"
+version = "0.1.77"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9"
+checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -408,9 +433,9 @@ dependencies = [
[[package]]
name = "bstr"
-version = "1.8.0"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "542f33a8835a0884b006a0c3df3dadd99c0c3f296ed26c2fdc8028e01ad6230c"
+checksum = "c48f0051a4b4c5e0b6d365cd04af53aeaa209e3cc15ec2cdb69e73cc87fbd0dc"
dependencies = [
"memchr",
"serde",
@@ -472,7 +497,8 @@ name = "cap"
version = "0.0.0"
dependencies = [
"capture",
- "dotenv",
+ "dotenvy",
+ "dotenvy_macro",
"ffmpeg-sidecar",
"image",
"qoi",
@@ -482,10 +508,12 @@ dependencies = [
"shuteye",
"tauri",
"tauri-build",
+ "tauri-invoke-http",
"tauri-plugin-context-menu",
"tauri-plugin-positioner",
"tokio",
"uuid",
+ "warp",
"which",
]
@@ -546,9 +574,9 @@ dependencies = [
[[package]]
name = "cfg-expr"
-version = "0.15.5"
+version = "0.15.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03915af431787e6ffdcc74c645077518c6b6e01f80b761e0fbbfa288536311b3"
+checksum = "6100bc57b6209840798d95cb2775684849d332f7bd788db2a8c8caf7ef82a41a"
dependencies = [
"smallvec",
"target-lexicon",
@@ -579,6 +607,23 @@ dependencies = [
"windows-targets 0.48.5",
]
+[[package]]
+name = "chunked_transfer"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901"
+
+[[package]]
+name = "clipboard-win"
+version = "4.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7191c27c2357d9b7ef96baac1773290d4ca63b24205b82a3fd8a0637afcf0362"
+dependencies = [
+ "error-code",
+ "str-buf",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "cocoa"
version = "0.24.1"
@@ -720,9 +765,9 @@ dependencies = [
[[package]]
name = "crossbeam-channel"
-version = "0.5.9"
+version = "0.5.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14c3242926edf34aec4ac3a77108ad4854bffaa2e4ddc1824124ce59231302d5"
+checksum = "82a9b73a36529d9c47029b9fb3a6f0ea3cc916a261195352ba19e770fc1748b2"
dependencies = [
"cfg-if 1.0.0",
"crossbeam-utils",
@@ -741,21 +786,20 @@ dependencies = [
[[package]]
name = "crossbeam-epoch"
-version = "0.9.16"
+version = "0.9.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2d2fe95351b870527a5d09bf563ed3c97c0cffb87cf1c78a591bf48bb218d9aa"
+checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d"
dependencies = [
"autocfg",
"cfg-if 1.0.0",
"crossbeam-utils",
- "memoffset 0.9.0",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.17"
+version = "0.8.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c06d96137f14f244c37f989d9fff8f95e6c18b918e71f36638f8c49112e4c78f"
+checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c"
dependencies = [
"cfg-if 1.0.0",
]
@@ -800,7 +844,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
dependencies = [
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -810,7 +854,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30d2b3721e861707777e3195b0158f950ae6dc4a27e4d02ff9f67e3eb3de199e"
dependencies = [
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -834,7 +878,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -845,14 +889,20 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5"
dependencies = [
"darling_core",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
+[[package]]
+name = "data-encoding"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5"
+
[[package]]
name = "deranged"
-version = "0.3.10"
+version = "0.3.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8eb30d70a07a3b04884d2677f06bec33509dc67ca60d92949e5535352d3191dc"
+checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4"
dependencies = [
"powerfmt",
"serde",
@@ -930,10 +980,22 @@ dependencies = [
]
[[package]]
-name = "dotenv"
-version = "0.15.0"
+name = "dotenvy"
+version = "0.15.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1aaf95b3e5c8f23aa320147307562d361db0ae0d51242340f558153b4eb2439b"
+
+[[package]]
+name = "dotenvy_macro"
+version = "0.15.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
+checksum = "cb0235d912a8c749f4e0c9f18ca253b4c28cfefc1d2518096016d6e3230b6424"
+dependencies = [
+ "dotenvy",
+ "proc-macro2",
+ "quote",
+ "syn 1.0.109",
+]
[[package]]
name = "dtoa"
@@ -1008,7 +1070,7 @@ checksum = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -1027,6 +1089,16 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "error-code"
+version = "2.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "64f18991e7bf11e7ffee451b5318b5c1a73c52d0d0ada6e5a3017c8c1ced6a21"
+dependencies = [
+ "libc",
+ "str-buf",
+]
+
[[package]]
name = "event-listener"
version = "2.5.3"
@@ -1046,9 +1118,9 @@ dependencies = [
[[package]]
name = "event-listener"
-version = "4.0.0"
+version = "4.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "770d968249b5d99410d61f5bf89057f3199a077a04d087092f58e7d10692baae"
+checksum = "218a870470cce1469024e9fb66b901aa983929d81304a1cdb299f28118e550d5"
dependencies = [
"concurrent-queue",
"parking",
@@ -1061,7 +1133,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3"
dependencies = [
- "event-listener 4.0.0",
+ "event-listener 4.0.2",
"pin-project-lite",
]
@@ -1098,9 +1170,9 @@ checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5"
[[package]]
name = "fdeflate"
-version = "0.3.1"
+version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64d6dafc854908ff5da46ff3f8f473c6984119a2876a383a860246dd7841a868"
+checksum = "209098dd6dfc4445aa6111f0e98653ac323eaa4dfd212c9ca3931bf9955c31bd"
dependencies = [
"simd-adler32",
]
@@ -1194,9 +1266,9 @@ dependencies = [
[[package]]
name = "futures"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335"
+checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0"
dependencies = [
"futures-channel",
"futures-core",
@@ -1209,9 +1281,9 @@ dependencies = [
[[package]]
name = "futures-channel"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb"
+checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78"
dependencies = [
"futures-core",
"futures-sink",
@@ -1219,15 +1291,15 @@ dependencies = [
[[package]]
name = "futures-core"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "eb1d22c66e66d9d72e1758f0bd7d4fd0bee04cad842ee34587d68c07e45d088c"
+checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d"
[[package]]
name = "futures-executor"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc"
+checksum = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d"
dependencies = [
"futures-core",
"futures-task",
@@ -1236,9 +1308,9 @@ dependencies = [
[[package]]
name = "futures-io"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa"
+checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1"
[[package]]
name = "futures-lite"
@@ -1270,32 +1342,32 @@ dependencies = [
[[package]]
name = "futures-macro"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53b153fd91e4b0147f4aced87be237c98248656bb01050b96bf3ee89220a8ddb"
+checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
name = "futures-sink"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817"
+checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5"
[[package]]
name = "futures-task"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "efd193069b0ddadc69c46389b740bbccdd97203899b48d09c5f7969591d6bae2"
+checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004"
[[package]]
name = "futures-util"
-version = "0.3.29"
+version = "0.3.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a19526d624e703a3179b3d322efec918b6246ea0fa51d41124525f00f1cc8104"
+checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48"
dependencies = [
"futures-channel",
"futures-core",
@@ -1427,6 +1499,16 @@ dependencies = [
"version_check",
]
+[[package]]
+name = "gethostname"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb65d4ba3173c56a500b555b532f72c42e8d1fe64962b518897f8959fae2c177"
+dependencies = [
+ "libc",
+ "winapi 0.3.9",
+]
+
[[package]]
name = "getrandom"
version = "0.1.16"
@@ -1671,6 +1753,30 @@ version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
+[[package]]
+name = "headers"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
+dependencies = [
+ "base64 0.21.5",
+ "bytes",
+ "headers-core",
+ "http",
+ "httpdate",
+ "mime",
+ "sha1",
+]
+
+[[package]]
+name = "headers-core"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7f66481bfee273957b1f20485a4ff3362987f85b2c236580d81b4eb7a326429"
+dependencies = [
+ "http",
+]
+
[[package]]
name = "heck"
version = "0.3.3"
@@ -1716,20 +1822,6 @@ dependencies = [
"windows-sys 0.52.0",
]
-[[package]]
-name = "html5ever"
-version = "0.25.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e5c13fb08e5d4dfc151ee5e88bae63f7773d61852f3bdc73c9f4b9e1bde03148"
-dependencies = [
- "log",
- "mac",
- "markup5ever 0.10.1",
- "proc-macro2",
- "quote",
- "syn 1.0.109",
-]
-
[[package]]
name = "html5ever"
version = "0.26.0"
@@ -1738,7 +1830,7 @@ checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7"
dependencies = [
"log",
"mac",
- "markup5ever 0.11.0",
+ "markup5ever",
"proc-macro2",
"quote",
"syn 1.0.109",
@@ -1823,16 +1915,16 @@ dependencies = [
[[package]]
name = "iana-time-zone"
-version = "0.1.58"
+version = "0.1.59"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20"
+checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539"
dependencies = [
"android_system_properties",
"core-foundation-sys",
"iana-time-zone-haiku",
"js-sys",
"wasm-bindgen",
- "windows-core",
+ "windows-core 0.52.0",
]
[[package]]
@@ -2047,18 +2139,6 @@ dependencies = [
"treediff",
]
-[[package]]
-name = "kuchiki"
-version = "0.8.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1ea8e9c6e031377cff82ee3001dc8026cdf431ed4e2e6b51f98ab8c73484a358"
-dependencies = [
- "cssparser",
- "html5ever 0.25.2",
- "matches",
- "selectors",
-]
-
[[package]]
name = "kuchikiki"
version = "0.8.2"
@@ -2066,7 +2146,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f29e4755b7b995046f510a7520c42b2fed58b77bd94d5a87a8eb43d2fd126da8"
dependencies = [
"cssparser",
- "html5ever 0.26.0",
+ "html5ever",
"indexmap 1.9.3",
"matches",
"selectors",
@@ -2215,20 +2295,6 @@ dependencies = [
"libc",
]
-[[package]]
-name = "markup5ever"
-version = "0.10.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a24f40fb03852d1cdd84330cddcaf98e9ec08a7b7768e952fad3b4cf048ec8fd"
-dependencies = [
- "log",
- "phf 0.8.0",
- "phf_codegen 0.8.0",
- "string_cache",
- "string_cache_codegen",
- "tendril",
-]
-
[[package]]
name = "markup5ever"
version = "0.11.0"
@@ -2277,9 +2343,9 @@ checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771"
[[package]]
name = "memchr"
-version = "2.6.4"
+version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
+checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149"
[[package]]
name = "memoffset"
@@ -2305,6 +2371,16 @@ version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+[[package]]
+name = "mime_guess"
+version = "2.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef"
+dependencies = [
+ "mime",
+ "unicase",
+]
+
[[package]]
name = "minidom"
version = "0.15.2"
@@ -2335,6 +2411,24 @@ dependencies = [
"windows-sys 0.48.0",
]
+[[package]]
+name = "multer"
+version = "2.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "01acbdc23469fd8fe07ab135923371d5f5a422fbf9c522158677c8eb15bc51c2"
+dependencies = [
+ "bytes",
+ "encoding_rs",
+ "futures-util",
+ "http",
+ "httparse",
+ "log",
+ "memchr",
+ "mime",
+ "spin",
+ "version_check",
+]
+
[[package]]
name = "native-tls"
version = "0.2.11"
@@ -2530,9 +2624,9 @@ dependencies = [
[[package]]
name = "object"
-version = "0.32.1"
+version = "0.32.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0"
+checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441"
dependencies = [
"memchr",
]
@@ -2555,9 +2649,9 @@ dependencies = [
[[package]]
name = "openssl"
-version = "0.10.61"
+version = "0.10.62"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6b8419dc8cc6d866deb801274bba2e6f8f6108c1bb7fcc10ee5ab864931dbb45"
+checksum = "8cde4d2d9200ad5909f8dac647e29482e07c3a35de8a13fce7c9c7747ad9f671"
dependencies = [
"bitflags 2.4.1",
"cfg-if 1.0.0",
@@ -2576,7 +2670,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -2587,9 +2681,9 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "openssl-sys"
-version = "0.9.97"
+version = "0.9.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3eaad34cdd97d81de97964fc7f29e2d104f483840d906ef56daa1912338460b"
+checksum = "c1665caf8ab2dc9aef43d1c0023bd904633a6a05cb30b0ad59bec2ae986e57a7"
dependencies = [
"cc",
"libc",
@@ -2630,12 +2724,12 @@ dependencies = [
[[package]]
name = "os_pipe"
-version = "1.1.4"
+version = "1.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ae859aa07428ca9a929b936690f8b12dc5f11dd8c6992a18ca93919f28bc177"
+checksum = "57119c3b893986491ec9aa85056780d3a0f3cf4da7cc09dd3650dbd6c6738fb9"
dependencies = [
"libc",
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -2814,7 +2908,7 @@ dependencies = [
"phf_shared 0.11.2",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -2844,6 +2938,26 @@ dependencies = [
"siphasher",
]
+[[package]]
+name = "pin-project"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422"
+dependencies = [
+ "pin-project-internal",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.46",
+]
+
[[package]]
name = "pin-project-lite"
version = "0.2.13"
@@ -2869,9 +2983,9 @@ dependencies = [
[[package]]
name = "pkg-config"
-version = "0.3.27"
+version = "0.3.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
+checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a"
[[package]]
name = "plist"
@@ -2930,6 +3044,15 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "portpicker"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9"
+dependencies = [
+ "rand 0.8.5",
+]
+
[[package]]
name = "powerfmt"
version = "0.2.0"
@@ -2990,9 +3113,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
[[package]]
name = "proc-macro2"
-version = "1.0.70"
+version = "1.0.74"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b"
+checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db"
dependencies = [
"unicode-ident",
]
@@ -3027,9 +3150,9 @@ dependencies = [
[[package]]
name = "quote"
-version = "1.0.33"
+version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
+checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
dependencies = [
"proc-macro2",
]
@@ -3358,6 +3481,15 @@ dependencies = [
"windows-sys 0.52.0",
]
+[[package]]
+name = "rustls-pemfile"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
+dependencies = [
+ "base64 0.21.5",
+]
+
[[package]]
name = "rustversion"
version = "1.0.14"
@@ -3404,11 +3536,11 @@ dependencies = [
[[package]]
name = "schannel"
-version = "0.1.22"
+version = "0.1.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c3733bf4cf7ea0880754e19cb5a462007c4a8c1914bff372ccc95b464f1df88"
+checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534"
dependencies = [
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -3477,29 +3609,29 @@ dependencies = [
[[package]]
name = "serde"
-version = "1.0.193"
+version = "1.0.194"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
+checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.193"
+version = "1.0.194"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
+checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
name = "serde_json"
-version = "1.0.108"
+version = "1.0.110"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b"
+checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257"
dependencies = [
"itoa 1.0.10",
"ryu",
@@ -3508,20 +3640,20 @@ dependencies = [
[[package]]
name = "serde_repr"
-version = "0.1.17"
+version = "0.1.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145"
+checksum = "0b2e6b945e9d3df726b65d6ee24060aff8e3533d431f677a9695db04eff9dfdb"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
name = "serde_spanned"
-version = "0.6.4"
+version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80"
+checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1"
dependencies = [
"serde",
]
@@ -3564,7 +3696,7 @@ dependencies = [
"darling",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -3774,6 +3906,12 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
+[[package]]
+name = "str-buf"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e08d8363704e6c71fc928674353e6b7c23dcea9d82d7012c8faf2a3a025f8d0"
+
[[package]]
name = "string_cache"
version = "0.8.7"
@@ -3825,9 +3963,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.41"
+version = "2.0.46"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269"
+checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e"
dependencies = [
"proc-macro2",
"quote",
@@ -3887,7 +4025,7 @@ version = "6.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a2d580ff6a20c55dfb86be5f9c238f67835d0e81cbdea8bf5680e0897320331"
dependencies = [
- "cfg-expr 0.15.5",
+ "cfg-expr 0.15.6",
"heck 0.4.1",
"pkg-config",
"toml 0.8.8",
@@ -3973,9 +4111,9 @@ checksum = "14c39fd04924ca3a864207c66fc2cd7d22d7c016007f9ce846cbb9326331930a"
[[package]]
name = "tauri"
-version = "1.5.3"
+version = "1.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "32d563b672acde8d0cc4c1b1f5b855976923f67e8d6fe1eba51df0211e197be2"
+checksum = "fd27c04b9543776a972c86ccf70660b517ecabbeced9fb58d8b961a13ad129af"
dependencies = [
"anyhow",
"bytes",
@@ -4028,9 +4166,9 @@ dependencies = [
[[package]]
name = "tauri-build"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "defbfc551bd38ab997e5f8e458f87396d2559d05ce32095076ad6c30f7fc5f9c"
+checksum = "e9914a4715e0b75d9f387a285c7e26b5bbfeb1249ad9f842675a82481565c532"
dependencies = [
"anyhow",
"cargo_toml",
@@ -4047,9 +4185,9 @@ dependencies = [
[[package]]
name = "tauri-codegen"
-version = "1.4.1"
+version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7b3475e55acec0b4a50fb96435f19631fb58cbcd31923e1a213de5c382536bbb"
+checksum = "a1554c5857f65dbc377cefb6b97c8ac77b1cb2a90d30d3448114d5d6b48a77fc"
dependencies = [
"base64 0.21.5",
"brotli",
@@ -4071,11 +4209,22 @@ dependencies = [
"walkdir",
]
+[[package]]
+name = "tauri-invoke-http"
+version = "0.0.0"
+source = "git+https://github.com/tauri-apps/tauri-invoke-http?branch=dev#ab1fb56cf96c2e8863e775a6ad4abd44dcb8e846"
+dependencies = [
+ "portpicker",
+ "serde_json",
+ "tauri",
+ "tiny_http",
+]
+
[[package]]
name = "tauri-macros"
-version = "1.4.2"
+version = "1.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "acea6445eececebd72ed7720cfcca46eee3b5bad8eb408be8f7ef2e3f7411500"
+checksum = "277abf361a3a6993ec16bcbb179de0d6518009b851090a01adfea12ac89fa875"
dependencies = [
"heck 0.4.1",
"proc-macro2",
@@ -4116,9 +4265,9 @@ dependencies = [
[[package]]
name = "tauri-runtime"
-version = "0.14.1"
+version = "0.14.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "07f8e9e53e00e9f41212c115749e87d5cd2a9eebccafca77a19722eeecd56d43"
+checksum = "cf2d0652aa2891ff3e9caa2401405257ea29ab8372cce01f186a5825f1bd0e76"
dependencies = [
"gtk",
"http",
@@ -4137,10 +4286,11 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
-version = "0.14.2"
+version = "0.14.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "803a01101bc611ba03e13329951a1bde44287a54234189b9024b78619c1bc206"
+checksum = "6cae61fbc731f690a4899681c9052dde6d05b159b44563ace8186fc1bfb7d158"
dependencies = [
+ "arboard",
"cocoa",
"gtk",
"percent-encoding",
@@ -4157,16 +4307,16 @@ dependencies = [
[[package]]
name = "tauri-utils"
-version = "1.5.1"
+version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a52165bb340e6f6a75f1f5eeeab1bb49f861c12abe3a176067d53642b5454986"
+checksum = "ece74810b1d3d44f29f732a7ae09a63183d63949bbdd59c61f8ed2a1b70150db"
dependencies = [
"brotli",
"ctor",
"dunce",
"glob",
"heck 0.4.1",
- "html5ever 0.26.0",
+ "html5ever",
"infer",
"json-patch",
"kuchikiki",
@@ -4207,15 +4357,15 @@ dependencies = [
[[package]]
name = "tempfile"
-version = "3.8.1"
+version = "3.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5"
+checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa"
dependencies = [
"cfg-if 1.0.0",
"fastrand 2.0.1",
"redox_syscall",
"rustix 0.38.28",
- "windows-sys 0.48.0",
+ "windows-sys 0.52.0",
]
[[package]]
@@ -4237,22 +4387,22 @@ checksum = "8eaa81235c7058867fa8c0e7314f33dcce9c215f535d1913822a2b3f5e289f3c"
[[package]]
name = "thiserror"
-version = "1.0.51"
+version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f11c217e1416d6f036b870f14e0413d480dbf28edbee1f877abaf0206af43bb7"
+checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
-version = "1.0.51"
+version = "1.0.56"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01742297787513b79cf8e29d1056ede1313e2420b7b3b15d0a768b4921f549df"
+checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -4314,6 +4464,18 @@ dependencies = [
"crunchy",
]
+[[package]]
+name = "tiny_http"
+version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82"
+dependencies = [
+ "ascii",
+ "chunked_transfer",
+ "httpdate",
+ "log",
+]
+
[[package]]
name = "tinyvec"
version = "1.6.0"
@@ -4331,9 +4493,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
[[package]]
name = "tokio"
-version = "1.35.0"
+version = "1.35.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "841d45b238a16291a4e1584e61820b8ae57d696cc5015c459c229ccc6990cc1c"
+checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104"
dependencies = [
"backtrace",
"bytes",
@@ -4356,7 +4518,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -4380,6 +4542,18 @@ dependencies = [
"tokio",
]
+[[package]]
+name = "tokio-tungstenite"
+version = "0.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c"
+dependencies = [
+ "futures-util",
+ "log",
+ "tokio",
+ "tungstenite",
+]
+
[[package]]
name = "tokio-util"
version = "0.7.10"
@@ -4474,6 +4648,7 @@ version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef"
dependencies = [
+ "log",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
@@ -4487,7 +4662,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
]
[[package]]
@@ -4544,6 +4719,25 @@ version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+[[package]]
+name = "tungstenite"
+version = "0.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9"
+dependencies = [
+ "byteorder",
+ "bytes",
+ "data-encoding",
+ "http",
+ "httparse",
+ "log",
+ "rand 0.8.5",
+ "sha1",
+ "thiserror",
+ "url",
+ "utf-8",
+]
+
[[package]]
name = "typenum"
version = "1.17.0"
@@ -4561,6 +4755,15 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "unicase"
+version = "2.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89"
+dependencies = [
+ "version_check",
+]
+
[[package]]
name = "unicode-bidi"
version = "0.3.14"
@@ -4690,6 +4893,37 @@ dependencies = [
"try-lock",
]
+[[package]]
+name = "warp"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c1e92e22e03ff1230c03a1a8ee37d2f89cd489e2e541b7550d6afad96faed169"
+dependencies = [
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "headers",
+ "http",
+ "hyper",
+ "log",
+ "mime",
+ "mime_guess",
+ "multer",
+ "percent-encoding",
+ "pin-project",
+ "rustls-pemfile",
+ "scoped-tls",
+ "serde",
+ "serde_json",
+ "serde_urlencoded",
+ "tokio",
+ "tokio-stream",
+ "tokio-tungstenite",
+ "tokio-util",
+ "tower-service",
+ "tracing",
+]
+
[[package]]
name = "wasi"
version = "0.9.0+wasi-snapshot-preview1"
@@ -4723,7 +4957,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
"wasm-bindgen-shared",
]
@@ -4757,7 +4991,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.41",
+ "syn 2.0.46",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -4925,6 +5159,15 @@ dependencies = [
"winapi 0.3.9",
]
+[[package]]
+name = "winapi-wsapoll"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "44c17110f57155602a80dca10be03852116403c9ff3cd25b079d666f2aa3df6e"
+dependencies = [
+ "winapi 0.3.9",
+]
+
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
@@ -4973,7 +5216,7 @@ version = "0.51.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9"
dependencies = [
- "windows-core",
+ "windows-core 0.51.1",
"windows-targets 0.48.5",
]
@@ -4996,6 +5239,15 @@ dependencies = [
"windows-targets 0.48.5",
]
+[[package]]
+name = "windows-core"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9"
+dependencies = [
+ "windows-targets 0.52.0",
+]
+
[[package]]
name = "windows-implement"
version = "0.39.0"
@@ -5302,9 +5554,9 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
[[package]]
name = "winnow"
-version = "0.5.30"
+version = "0.5.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9b5c3db89721d50d0e2a673f5043fc4722f76dcc352d7b1ab8b8288bed4ed2c5"
+checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c"
dependencies = [
"memchr",
]
@@ -5331,9 +5583,9 @@ dependencies = [
[[package]]
name = "wry"
-version = "0.24.6"
+version = "0.24.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "64a70547e8f9d85da0f5af609143f7bde3ac7457a6e1073104d9b73d6c5ac744"
+checksum = "6ad85d0e067359e409fcb88903c3eac817c392e5d638258abfb3da5ad8ba6fc4"
dependencies = [
"base64 0.13.1",
"block",
@@ -5345,9 +5597,9 @@ dependencies = [
"gio",
"glib",
"gtk",
- "html5ever 0.25.2",
+ "html5ever",
"http",
- "kuchiki",
+ "kuchikiki",
"libc",
"log",
"objc",
@@ -5388,11 +5640,33 @@ dependencies = [
"pkg-config",
]
+[[package]]
+name = "x11rb"
+version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1641b26d4dec61337c35a1b1aaf9e3cba8f46f0b43636c609ab0291a648040a"
+dependencies = [
+ "gethostname",
+ "nix",
+ "winapi 0.3.9",
+ "winapi-wsapoll",
+ "x11rb-protocol",
+]
+
+[[package]]
+name = "x11rb-protocol"
+version = "0.12.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82d6c3f9a0fb6701fab8f6cea9b0c0bd5d6876f1f89f7fada07e558077c344bc"
+dependencies = [
+ "nix",
+]
+
[[package]]
name = "xattr"
-version = "1.1.3"
+version = "1.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a7dae5072fe1f8db8f8d29059189ac175196e410e40ba42d5d4684ae2f750995"
+checksum = "914566e6413e7fa959cc394fb30e563ba80f3541fbd40816d4c05a0fc3f2a0f1"
dependencies = [
"libc",
"linux-raw-sys 0.4.12",
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index 7d0543440..137dc84b9 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -22,10 +22,13 @@ image = "0.24.7"
ffmpeg-sidecar = "0.5.1"
which = "4.2.2"
rust-s3 = "0.34.0-rc3"
-dotenv = "0.15.0"
+dotenvy = "0.15.7"
+dotenvy_macro = "0.15.7"
tokio = { version = "1", features = ["full"] }
capture = { path = "./src/capture" }
uuid = { version = "1.0", features = ["v4"] }
+tauri-invoke-http = { git = "https://github.com/tauri-apps/tauri-invoke-http", branch = "dev" }
+warp = "0.3"
[dev-dependencies]
shuteye = "0.3.3"
diff --git a/apps/desktop/src-tauri/src/main.rs b/apps/desktop/src-tauri/src/main.rs
index 6ed8897f2..83ebdb282 100644
--- a/apps/desktop/src-tauri/src/main.rs
+++ b/apps/desktop/src-tauri/src/main.rs
@@ -1,13 +1,23 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
-use std::sync::{Arc, Mutex};
+use std::sync::{Arc};
+use tokio::sync::Mutex;
use std::env;
-use dotenv::dotenv;
+use std::process::{Command, Child, Stdio};
+use std::collections::HashMap;
+use tauri::State;
+use std::fs;
+use std::path::Path;
+use std::io;
+use dotenvy_macro::dotenv;
use s3::bucket::Bucket;
use s3::creds::Credentials;
use s3::region::Region;
use s3::error::S3Error;
+use serde::Serialize;
+use serde::Deserialize;
use uuid::Uuid;
+use tokio::sync::mpsc;
use tauri::{Manager, Window};
use tauri_plugin_positioner::{WindowExt, Position};
@@ -19,41 +29,162 @@ use ffmpeg_sidecar::{
version::ffmpeg_version,
};
-mod recorder;
-use recorder::ScreenRecorder;
+struct RecordingState {
+ process: Option<Child>,
+ tx: Option<mpsc::Sender<()>>,
+}
+
+#[derive(Debug, Serialize, Deserialize)]
+struct RecordingOptions {
+ user_id: String,
+ unique_id: String,
+}
#[tauri::command]
-fn start_screen_recording(window: Window, user_id: String, recorder: tauri::State<'_, Arc<Mutex<ScreenRecorder>>>) {
- let window = window.clone();
- let recorder = recorder.inner().clone();
- std::thread::spawn(move || {
- println!("Thread for recording started");
- match recorder.lock() {
- Ok(mut recorder) => {
- recorder.set_user_id(user_id);
- match recorder.start_recording() {
- Ok(()) => println!("Recording started successfully"),
- Err(e) => window.emit("recording-error", &e.to_string()).expect("Failed to send recording-error event."),
- }
- },
- Err(e) => window.emit("recording-error", &format!("Failed to lock recorder: {}", e)).expect("Failed to send recording-error event."),
- }
- println!("Thread for recording ended");
- });
+async fn start_screen_recording(
+ state: State<'_, Arc<Mutex<RecordingState>>>,
+ options: RecordingOptions,
+) -> Result<(), String> {
+ println!("Starting screen recording...");
+
+ let ffmpeg_binary_path = sidecar_dir().map_err(|e| e.to_string())?.join(if cfg!(target_os = "windows") { "ffmpeg.exe" } else { "ffmpeg" });
+
+ let chunks_dir = std::env::current_dir()
+ .map_err(|_| "Cannot get current directory".to_string())?
+ .join("chunks");
+ std::fs::create_dir_all(&chunks_dir)
+ .map_err(|_| "Failed to create chunks directory".to_string())?;
+
+ let chunks_dir_str = chunks_dir.to_str().ok_or("Invalid chunks directory path")?;
+
+ let output_filename_pattern = format!("{}/recording_chunk_%03d.mp4", chunks_dir.display());
+
+ // Construct the ffmpeg command based on the OS
+ let ffmpeg_args = match std::env::consts::OS {
+ "macos" => vec![
+ "-f", "avfoundation", "-capture_cursor", "1", "-r", "30",
+ "-i", "1", "-pix_fmt", "uyvy422", "-c:v", "libx264",
+ "-crf", "20", "-preset", "veryfast", "-g", "60",
+ "-f", "segment", "-segment_time", "10", "-segment_wrap", "10",
+ &output_filename_pattern,
+ ],
+ _ => return Err("Unsupported OS".to_string()),
+ };
+
+ // Use tokio's command to spawn the process so we can capture stdout/stderr in order to send file paths to the upload function
+ let child = Command::new(ffmpeg_binary_path)
+ .args(&ffmpeg_args)
+ .stdout(Stdio::piped())
+ .stderr(Stdio::piped())
+ .spawn()
+ .map_err(|e| e.to_string())?;
+
+ let (tx, _rx) = mpsc::channel::<()>(1);
+
+ // Store the recording process in the shared state
+ let mut guard = state.lock().await;
+ *guard = RecordingState {
+ process: Some(child),
+ tx: Some(tx),
+ };
+ drop(guard);
+
+ let user_id = options.user_id.clone();
+ let unique_id = options.unique_id.clone();
+ let chunks_dir = chunks_dir;
+
+ tokio::spawn(async move {
+ let upload_interval = std::time::Duration::from_secs(10);
+
+ loop {
+ let chunks_dir_path = chunks_dir.clone();
+ let entries = match std::fs::read_dir(&chunks_dir_path) {
+ Ok(entries) => entries,
+ Err(e) => {
+ eprintln!("Failed to read chunks dir: {}", e);
+ tokio::time::sleep(upload_interval).await;
+ continue;
+ }
+ };
+
+ for entry in entries {
+ let entry = match entry {
+ Ok(e) => e,
+ Err(e) => {
+ eprintln!("ReadDir entry error: {}", e);
+ continue;
+ }
+ };
+ let path = entry.path();
+ if path.is_file() {
+ let filepath_str = path.to_str().unwrap_or_default().to_owned();
+ match upload_video(
+ user_id.clone(),
+ filepath_str.clone(),
+ unique_id.clone(),
+ ).await {
+ Ok(file_key) => {
+ println!("Chunk uploaded: {}", file_key);
+ },
+ Err(e) => {
+ eprintln!("Failed to upload chunk {}: {}", filepath_str, e);
+ }
+ }
+ }
+ }
+
+ tokio::time::sleep(upload_interval).await;
+ }
+ });
+
+ Ok(())
}
#[tauri::command]
-fn stop_screen_recording(recorder: tauri::State<'_, Arc<Mutex<ScreenRecorder>>>) {
- let recorder = recorder.lock().expect("Failed to lock recorder.");
- if let Err(e) = recorder.stop_recording() {
- eprintln!("Failed to stop recording: {}", e);
+async fn stop_screen_recording(state: State<'_, Arc<Mutex<RecordingState>>>) -> Result<(), String> {
+ let mut guard = state.lock().await;
+
+ // Attempt to kill the child process
+ if let Some(mut child) = guard.process.take() {
+ #[cfg(not(target_family = "unix"))]
+ {
+ if let Err(e) = child.kill() {
+ eprintln!("Failed to kill ffmpeg child process: {}", e);
+ return Err("Failed to kill ffmpeg process".to_string());
+ }
+ }
+
+ // Try to wait for the process to exit
+ let _ = child.wait().map_err(|e| {
+ eprintln!("Failed to wait for the ffmpeg process to terminate: {}", e);
+ "Failed to wait for ffmpeg process to terminate".to_string()
+ })?;
}
+
+ // Notify the channel receiver to stop reading from the directory
+ if let Some(tx) = guard.tx.take() {
+ tx.send(()).await.map_err(|_| "Failed to send stop signal to channel".to_string())?;
+ }
+
+ Ok(())
+}
+
+fn run_command(command: &str, args: Vec<&str>) -> Result<(String, String), String> {
+ let output = Command::new(command)
+ .args(args)
+ .output()
+ .expect("Failed to execute command");
+
+ let stdout = String::from_utf8(output.stdout).unwrap_or_else(|_| "".to_string());
+ let stderr = String::from_utf8(output.stderr).unwrap_or_else(|_| "".to_string());
+
+ Ok((stdout, stderr))
}
async fn setup_s3_client() -> Result<Bucket, S3Error> {
- let access_key = env::var("CLOUDFLARE_ACCESS_KEY").expect("CLOUDFLARE_ACCESS_KEY not set");
- let secret_key = env::var("CLOUDFLARE_SECRET_KEY").expect("CLOUDFLARE_SECRET_KEY not set");
- let r2_endpoint = env::var("CLOUDFLARE_R2_ENDPOINT").expect("CLOUDFLARE_R2_ENDPOINT not set");
+ let access_key: &str = dotenv!("CLOUDFLARE_ACCESS_KEY");
+ let secret_key: &str = dotenv!("CLOUDFLARE_SECRET_KEY");
+ let r2_endpoint: &str = dotenv!("CLOUDFLARE_R2_ENDPOINT");
let region = Region::Custom {
region: "auto".to_string(),
@@ -70,46 +201,44 @@ async fn setup_s3_client() -> Result<Bucket, S3Error> {
}
#[tauri::command]
-async fn upload_video(window: Window, user_id: String, file_path: String, unique_id: String, final_call: bool) -> Result<String, String> {
- let window = window.clone();
+async fn upload_video(
+ user_id: String,
+ file_path: String,
+ unique_id: String
+) -> Result<String, String> {
let bucket_result = setup_s3_client().await;
-
if let Err(e) = bucket_result {
return Err(format!("Failed to setup S3 client: {}", e));
}
-
let bucket = bucket_result.unwrap();
-
- // Use the provided unique_id if it's not empty, otherwise generate a random UUID
+
let video_folder_uuid = if unique_id.is_empty() {
Uuid::new_v4().to_string()
} else {
unique_id
};
-
- let file_name = file_path.split('/').last().ok_or("Invalid file path")?.to_string();
-
- // Update the file key to include the random UUID
+
+ let file_name = Path::new(&file_path)
+ .file_name()
+ .and_then(|name| name.to_str())
+ .ok_or("Invalid file path")?
+ .to_string();
+
let file_key = format!("{}/{}/{}", user_id, video_folder_uuid, file_name);
-
- let content = match std::fs::read(&file_path) {
- Ok(data) => data,
- Err(e) => return Err(format!("Failed to read video file: {}", e)),
- };
-
+
+ let content = std::fs::read(&file_path)
+ .map_err(|e| format!("Failed to read video file: {}", e))?;
+
match bucket.put_object(&file_key, &content).await {
Ok(data) => {
if data.status_code() == 200 {
- if !final_call {
- println!("Video uploaded successfully. Not a final call.");
- window.emit("video-uploaded", &video_folder_uuid)
- .expect("Failed to send the video-uploaded event");
- } else {
- println!("Video uploaded successfully. Final call.");
- }
+ println!("Video '{}' uploaded successfully.", file_name);
+
+ // Remove the uploaded chunk file
+ std::fs::remove_file(&file_path)
+ .map_err(|e| format!("Failed to remove file after upload: {}", e))?;
Ok(file_key)
-
} else {
let error_message = format!("Failed to upload file: HTTP Status Code {}", data.status_code());
Err(error_message)
@@ -119,16 +248,113 @@ async fn upload_video(window: Window, user_id: String, file_path: String, unique
}
}
+#[derive(Debug, Serialize, Deserialize)]
+struct DeviceList {
+ video_devices: Vec<String>,
+ audio_devices: Vec<String>,
+}
+
#[tauri::command]
-fn open_external(window: tauri::Window, url: String) -> Result<(), String> {
- let shell_scope = window.shell_scope();
+fn list_devices() -> Result<DeviceList, String> {
+ let os_type = std::env::consts::OS;
+ let ffmpeg_binary_path = match sidecar_dir() {
+ Ok(dir) => dir.join(if cfg!(target_os = "windows") { "ffmpeg.exe" } else { "ffmpeg" }),
+ Err(e) => return Err(e.to_string()),
+ };
+ let ffmpeg_binary_path_str = ffmpeg_binary_path.as_path().display().to_string();
+
+ println!("OS: {}", os_type);
+ println!("FFmpeg binary path: {}", ffmpeg_binary_path_str);
+
+ match os_type {
+ "macos" => {
+ let (output, stderr) = run_command(&ffmpeg_binary_path_str, vec!["-f", "avfoundation", "-list_devices", "true", "-i", ""])?;
+ let raw_output = if !stderr.trim().is_empty() { stderr } else { output };
+ let (video_devices, audio_devices) = parse_devices_macos(&raw_output);
+
+ println!("Video devices: {:?}", video_devices);
+ println!("Audio devices: {:?}", audio_devices);
+
+ Ok(DeviceList { video_devices, audio_devices })
+ }
+ "linux" => {
+ let (raw_output, _) = run_command("v4l2-ctl", vec!["--list-devices"])?;
+ let video_devices = raw_output.split('\n').map(|s| s.to_string()).collect();
+
+ let (raw_output, _) = run_command("arecord", vec!["-l"])?;
+ let audio_devices = raw_output.split('\n').map(|s| s.to_string()).collect();
+ Ok(DeviceList { video_devices, audio_devices })
+ }
+ "windows" => {
+ let (raw_output, _) = run_command(&ffmpeg_binary_path_str, vec!["-f", "dshow", "-list_devices", "true", "-i", ""])?;
+ let (video_devices, audio_devices) = parse_devices_windows(&raw_output);
+ Ok(DeviceList { video_devices, audio_devices })
+ }
+ _ => Err("Unsupported OS".to_string()),
+ }
+}
+
+fn parse_devices_macos(raw_output: &str) -> (Vec<String>, Vec<String>) {
+ let lines: Vec<&str> = raw_output.lines().collect();
+ let video_start_index = lines.iter().position(|&x| x.contains("AVFoundation video devices:")).unwrap_or(0) + 1;
+ let audio_start_index = lines.iter().position(|&x| x.contains("AVFoundation audio devices:")).unwrap_or(0) + 1;
- tauri::api::shell::open(&shell_scope, &url, None).map_err(|e| e.to_string())
+ let video_devices = lines[video_start_index..audio_start_index-1]
+ .iter()
+ .filter_map(|&line| {
+ if line.contains("]") {
+ Some(line.split("]").last()?.trim().to_string())
+ } else {
+ None
+ }
+ })
+ .collect();
+
+ let audio_devices = lines[audio_start_index..]
+ .iter()
+ .filter_map(|&line| {
+ if line.contains("]") {
+ Some(line.split("]").last()?.trim().to_string())
+ } else {
+ None
+ }
+ })
+ .collect();
+
+ (video_devices, audio_devices)
}
-fn main() {
- dotenv().ok();
+fn parse_devices_windows(raw_output: &str) -> (Vec<String>, Vec<String>) {
+ let lines: Vec<&str> = raw_output.lines().collect();
+ let video_start_index = lines.iter().position(|&x| x.contains("DirectShow video devices")).unwrap_or(0) + 1;
+ let audio_start_index = lines.iter().position(|&x| x.contains("DirectShow audio devices")).unwrap_or(0) + 1;
+
+ let video_devices = lines[video_start_index..audio_start_index-1]
+ .iter()
+ .filter_map(|&line| {
+ if line.contains("]") {
+ Some(line.split("]").last()?.trim().to_string())
+ } else {
+ None
+ }
+ })
+ .collect();
+
+ let audio_devices = lines[audio_start_index..]
+ .iter()
+ .filter_map(|&line| {
+ if line.contains("]") {
+ Some(line.split("]").last()?.trim().to_string())
+ } else {
+ None
+ }
+ })
+ .collect();
+ (video_devices, audio_devices)
+}
+
+fn main() {
std::panic::set_hook(Box::new(|info| {
eprintln!("Thread panicked: {:?}", info);
}));
@@ -169,12 +395,10 @@ fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_positioner::init())
- .setup(|app| {
+ .setup(move |app| {
tauri::async_runtime::block_on(async {
if let Err(e) = setup_s3_client().await {
eprintln!("S3 client health check failed: {}", e);
- // Handle the error as needed, possibly exiting the application.
- // std::process::exit(1);
} else {
eprintln!("S3 client health check passed.");
}
@@ -184,15 +408,6 @@ fn main() {
let ffmpeg_binary_path = sidecar_dir()?.join(if cfg!(target_os = "windows") { "ffmpeg.exe" } else { "ffmpeg" });
let window = app.get_window("options").ok_or("Failed to get options window")?;
-
- // Create an instance of ScreenRecorder with the ffmpeg_binary_path
- let recorder = ScreenRecorder::new(
- ffmpeg_binary_path,
- window.clone()
- );
-
- let shared_recorder = Arc::new(Mutex::new(recorder));
- app.manage(shared_recorder);
if let Some(camera_window) = app.get_window("camera") {
let _ = camera_window.move_window(Position::BottomRight);
@@ -208,8 +423,9 @@ fn main() {
start_screen_recording,
stop_screen_recording,
upload_video,
- open_external
+ list_devices
])
+ .manage(Arc::new(Mutex::new(RecordingState { process: None, tx: None })))
.plugin(tauri_plugin_context_menu::init())
.run(tauri::generate_context!())
.expect("Error while running tauri application");
diff --git a/apps/desktop/src/App.tsx b/apps/desktop/src/App.tsx
index 8f5d048ee..42005a63b 100644
--- a/apps/desktop/src/App.tsx
+++ b/apps/desktop/src/App.tsx
@@ -1,11 +1,12 @@
import "./App.css";
import { MediaDeviceProvider } from "@/utils/recording/MediaDeviceContext";
+import { AuthProvider } from "@/utils/database/AuthContext";
function App({ children }: { children: React.ReactNode }) {
return (
- <MediaDeviceProvider>
- <>{children}</>
- </MediaDeviceProvider>
+ <AuthProvider>
+ <MediaDeviceProvider>{children}</MediaDeviceProvider>
+ </AuthProvider>
);
}
diff --git a/apps/desktop/src/components/recording/Preview.tsx b/apps/desktop/src/components/recording/Preview.tsx
deleted file mode 100644
index 61fe50b55..000000000
--- a/apps/desktop/src/components/recording/Preview.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import { RefObject } from "react";
-
-export type PreviewProps = {
- videoRef: RefObject<HTMLVideoElement> | null;
-};
-
-export const Preview = ({ videoRef }: PreviewProps) => {
- return (
- <div
- data-tauri-drag-region
- className="w-[200px] h-[200px] bg-gray-200 rounded-full m-0 p-0 relative overflow-hidden"
- >
- {videoRef !== null ? (
- <video
- ref={videoRef}
- autoPlay
- muted
- className="absolute top-0 left-0 w-full h-full object-cover pointer-events-none"
- />
- ) : (
- <p>Placeholder</p>
- )}
- </div>
- );
-};
diff --git a/apps/desktop/src/components/windows/Camera.tsx b/apps/desktop/src/components/windows/Camera.tsx
index 818a31a6e..eac27b669 100644
--- a/apps/desktop/src/components/windows/Camera.tsx
+++ b/apps/desktop/src/components/windows/Camera.tsx
@@ -1,28 +1,94 @@
-import { Preview } from "@/components/recording/Preview";
+import { useEffect, useRef, useState } from "react";
import { useMediaDevices } from "@/utils/recording/MediaDeviceContext";
-import { ReactMediaRecorder } from "@/utils/recording/client";
-import { useRef } from "react";
export const Camera = () => {
- const videoRef = useRef<HTMLVideoElement | null>(null);
+ const videoRef = useRef<HTMLVideoElement>(null);
const { selectedVideoDevice } = useMediaDevices();
+ const [isLoading, setIsLoading] = useState(true);
- return (
- <div className="w-full h-full">
- <ReactMediaRecorder
- video={
- selectedVideoDevice
- ? { deviceId: selectedVideoDevice.deviceId }
- : true
- }
- render={({ previewStream }) => {
- if (videoRef.current) {
- videoRef.current.srcObject = previewStream || null;
+ useEffect(() => {
+ if (videoRef.current && selectedVideoDevice) {
+ setIsLoading(true);
+
+ navigator.mediaDevices
+ .enumerateDevices()
+ .then((devices) => {
+ const videoDevices = devices.filter(
+ (device) => device.kind === "videoinput"
+ );
+ console.log("videoDevices:");
+ console.log(videoDevices);
+ return videoDevices[selectedVideoDevice.index].deviceId;
+ })
+ .then((deviceId) =>
+ navigator.mediaDevices.getUserMedia({
+ video: {
+ deviceId: deviceId,
+ },
+ })
+ )
+ .then((stream) => {
+ let video = videoRef.current;
+ if (video) {
+ video.srcObject = stream;
+ console.log("video.srcObject:");
+ console.log(video.srcObject);
+ video.play();
}
+ setIsLoading(false);
+ })
+ .catch((err) => {
+ console.error(err);
+ setIsLoading(false);
+ });
+
+ setIsLoading(false);
+ }
+ }, [selectedVideoDevice, videoRef]);
- return <Preview videoRef={videoRef} />;
- }}
- />
+ if (videoRef && selectedVideoDevice && isLoading === true) {
+ setIsLoading(false);
+ }
+
+ return (
+ <div
+ data-tauri-drag-region
+ className="w-[200px] h-[200px] bg-gray-200 rounded-full m-0 p-0 relative overflow-hidden flex items-center justify-center"
+ >
+ {isLoading === true ? (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ stroke="#fff"
+ viewBox="0 0 38 38"
+ className="w-24 h-24"
+ >
+ <g
+ fill="none"
+ fillRule="evenodd"
+ strokeWidth="2"
+ transform="translate(1 1)"
+ >
+ <circle cx="18" cy="18" r="18" strokeOpacity="0.4"></circle>
+ <path d="M36 18c0-9.94-8.06-18-18-18">
+ <animateTransform
+ attributeName="transform"
+ dur="1s"
+ from="0 18 18"
+ repeatCount="indefinite"
+ to="360 18 18"
+ type="rotate"
+ ></animateTransform>
+ </path>
+ </g>
+ </svg>
+ ) : (
+ <video
+ ref={videoRef}
+ autoPlay
+ muted
+ className="absolute top-0 left-0 w-full h-full object-cover pointer-events-none"
+ />
+ )}
</div>
);
};
diff --git a/apps/desktop/src/components/windows/Options.tsx b/apps/desktop/src/components/windows/Options.tsx
index 76c9b744a..cdbef3b0a 100644
--- a/apps/desktop/src/components/windows/Options.tsx
+++ b/apps/desktop/src/components/windows/Options.tsx
@@ -1,119 +1,14 @@
import { Recorder } from "@/components/windows/inner/Recorder";
import { SignIn } from "@/components/windows/inner/SignIn";
-import { supabase } from "@/utils/database/client";
-import { openLinkInBrowser, uuidParse } from "@/utils/helpers";
-import { useMediaDevices } from "@/utils/recording/MediaDeviceContext";
-import { recordingFileLocation } from "@/utils/recording/client";
-import { AuthSession } from "@supabase/supabase-js";
-import { invoke } from "@tauri-apps/api";
-import { UnlistenFn, listen } from "@tauri-apps/api/event";
-import { exists } from "@tauri-apps/api/fs";
-import { useEffect, useState } from "react";
-import toast from "react-hot-toast";
+import { useAuth } from "@/utils/database/AuthContext";
export const Options = () => {
- const [session, setSession] = useState<AuthSession | null>(null);
- const { setIsRecording } = useMediaDevices();
+ const { session, userRef } = useAuth();
- useEffect(() => {
- supabase.auth.getSession().then(({ data: { session } }) => {
- setSession(session);
- });
+ const currentUser = userRef.current;
- supabase.auth.onAuthStateChange((_event, session) => {
- setSession(session);
- });
- }, []);
-
- useEffect(() => {
- let unlistenFn: UnlistenFn | undefined;
-
- const setupEventListener = async () => {
- unlistenFn = await listen("video-uploaded", async (event) => {
- console.log("video-uploaded event received:", event);
-
- if (
- !event.payload ||
- !session?.user?.id ||
- session?.user?.id === null ||
- session?.user?.id === undefined
- ) {
- console.error("Payload is empty, or user is not logged in.");
- setIsRecording(false);
- toast.error("An error occurred while uploading the video.");
- return;
- }
-
- const filePath = await recordingFileLocation();
-
- const checkFileExists = async () => {
- const fileExists = await exists(filePath);
-
- if (!fileExists) {
- console.error("File does not exist.");
- setTimeout(checkFileExists, 100);
- }
-
- console.log("Calling upload_video for the final time...");
-
- if (
- fileExists &&
- session?.user?.id !== undefined &&
- session?.user?.id !== null
- ) {
- await invoke("upload_video", {
- userId: session.user.id,
- filePath: filePath,
- uniqueId: event.payload,
- finalCall: true,
- });
- }
-
- const { data, error } = await supabase
- .from("videos")
- .insert([
- { unique_cap_id: event.payload, owner_id: session?.user?.id },
- ]);
-
- if (error) {
- console.error("Error inserting video:", error);
- toast.error("An error occurred while uploading the video.");
- setIsRecording(false);
- } else {
- console.log("Video inserted:", data);
-
- if (data) {
- console.log(
- "Opening link in browser: ",
- `https://cap.so/share/${uuidParse(event.payload as string)}`
- );
-
- openLinkInBrowser(
- `https://cap.so/share/${uuidParse(event.payload as string)}`
- );
- }
-
- setIsRecording(false);
- }
- };
-
- checkFileExists();
- });
- };
-
- setupEventListener();
-
- return () => {
- if (unlistenFn) {
- unlistenFn();
- }
- };
- }, []);
-
- if (session?.user?.id) {
- console.log("session?.user?.id: ", session?.user?.id);
+ if (currentUser) {
return <Recorder session={session} />;
}
-
return <SignIn />;
};
diff --git a/apps/desktop/src/components/windows/inner/Recorder.tsx b/apps/desktop/src/components/windows/inner/Recorder.tsx
index 55995d04f..d4bb5b121 100644
--- a/apps/desktop/src/components/windows/inner/Recorder.tsx
+++ b/apps/desktop/src/components/windows/inner/Recorder.tsx
@@ -1,5 +1,4 @@
import { useEffect, useState } from "react";
-import { ReactMediaRecorder } from "@/utils/recording/client";
import { useMediaDevices } from "@/utils/recording/MediaDeviceContext";
import { Video } from "@/components/icons/Video";
import { Microphone } from "@/components/icons/Microphone";
@@ -12,22 +11,18 @@ import { invoke } from "@tauri-apps/api/tauri";
import { Countdown } from "./Countdown";
import { appWindow, WebviewWindow } from "@tauri-apps/api/window";
import { AuthSession } from "@supabase/supabase-js";
+import { supabase } from "@/utils/database/client";
export const Recorder = ({ session }: { session: AuthSession | null }) => {
const {
devices,
selectedVideoDevice,
selectedAudioDevice,
- getDevices,
isRecording,
setIsRecording,
} = useMediaDevices();
const [countdownActive, setCountdownActive] = useState(false);
- useEffect(() => {
- getDevices();
- }, [getDevices]);
-
const handleContextClick = async (option: string) => {
const filteredDevices = devices
.filter((device) =>
@@ -39,8 +34,8 @@ export const Recorder = ({ session }: { session: AuthSession | null }) => {
label: device.label,
disabled:
option === "video"
- ? device.deviceId === selectedVideoDevice?.deviceId
- : device.deviceId === selectedAudioDevice?.deviceId,
+ ? device.index === selectedVideoDevice?.index
+ : device.index === selectedAudioDevice?.index,
event: async () => {
try {
await emit("change-device", { type: option, device });
@@ -63,99 +58,114 @@ export const Recorder = ({ session }: { session: AuthSession | null }) => {
});
};
- return (
- <ReactMediaRecorder
- video={
- selectedVideoDevice
- ? { deviceId: selectedVideoDevice.deviceId }
- : undefined
- }
- audio={
- selectedAudioDevice
- ? { deviceId: selectedAudioDevice.deviceId }
- : undefined
- }
- render={({ startRecording, stopRecording }) => {
- const handleOverlayFinished = () => {
- appWindow.minimize();
- WebviewWindow.getByLabel("camera")?.minimize();
- setIsRecording(true);
- setCountdownActive(false);
- };
+ const handleOverlayFinished = () => {
+ appWindow.minimize();
+ WebviewWindow.getByLabel("camera")?.minimize();
+ setIsRecording(true);
+ setCountdownActive(false);
+ };
- const handleStartAllRecordings = async () => {
- setCountdownActive(true);
- };
+ const handleStartAllRecordings = async () => {
+ setCountdownActive(true);
+ };
- const handleStopAllRecordings = async () => {
- stopRecording();
- await invoke("stop_screen_recording");
- };
+ const handleStopAllRecordings = async () => {
+ // stopRecording();
+ await invoke("stop_screen_recording");
+ };
- useEffect(() => {
- if (isRecording) {
- startRecording();
- invoke("start_screen_recording", { userId: session?.user?.id });
- }
- }, [isRecording]);
+ useEffect(() => {
+ const startRecording = async () => {
+ if (isRecording) {
+ const { data: videoData, error: videoError } = await supabase
+ .from("videos")
+ .insert([{ owner_id: session?.user?.id }]);
- return (
- <div
- data-tauri-drag-region
- className="w-[85%] h-[85%] relative flex items-center justify-center overflow-hidden px-6 py-4 rounded-[25px] border-2 border-gray-100"
- style={{
- backgroundColor: "rgba(255,255,255,0.95)",
- boxShadow: "0 0 30px rgba(0,0,0,0.2)",
- }}
- >
- {countdownActive && (
- <Countdown
- countdownFrom={1}
- onCountdownFinish={handleOverlayFinished}
+ if (videoError) {
+ console.error("Error inserting video:", videoError);
+ return;
+ }
+
+ console.log("videoData:");
+ console.log(videoData);
+
+ if (videoData && videoData[0] && videoData[0].id) {
+ const videoId = videoData[0].id;
+ invoke("start_screen_recording", {
+ options: { user_id: session?.user?.id, unique_id: videoId },
+ }).catch((error) => {
+ console.error("Error invoking start_screen_recording:", error);
+ });
+ } else {
+ console.error("videoData is null or does not contain any elements");
+ }
+ }
+ };
+
+ startRecording();
+ }, [isRecording]);
+
+ return (
+ <div
+ data-tauri-drag-region
+ className="w-[85%] h-[85%] relative flex items-center justify-center overflow-hidden px-6 py-4 rounded-[25px] border-2 border-gray-100"
+ style={{
+ backgroundColor: "rgba(255,255,255,0.9)",
+ boxShadow: "0 0 30px rgba(0,0,0,0.2)",
+ }}
+ >
+ {countdownActive && (
+ <Countdown
+ countdownFrom={1}
+ onCountdownFinish={handleOverlayFinished}
+ />
+ )}
+ <div className="w-full">
+ <div className="flex items-center justify-between mb-4">
+ <div>
+ <Logo className="w-24 h-auto" />
+ </div>
+ </div>
+ <div className="space-y-4 w-full">
+ <div>
+ <label className="text-sm font-medium">Webcam Settings</label>
+ <div className="space-y-1">
+ <ActionButton
+ width="full"
+ handler={() => handleContextClick("video")}
+ icon={<Video className="w-5 h-5" />}
+ label={selectedVideoDevice?.label || "Video"}
+ />
+ <ActionButton
+ width="full"
+ handler={() => handleContextClick("audio")}
+ icon={<Microphone className="w-5 h-5" />}
+ label={selectedAudioDevice?.label || "Mic"}
/>
- )}
- <div className="w-full">
- <div className="flex items-center justify-between mb-4">
- <div>
- <Logo className="w-24 h-auto" />
- </div>
- </div>
- <div className="space-y-4 w-full">
- <div>
- <label className="text-sm font-medium">Webcam Settings</label>
- <div className="space-y-1">
- <ActionButton
- width="full"
- handler={() => handleContextClick("video")}
- icon={<Video className="w-5 h-5" />}
- label={selectedVideoDevice?.label || "Video"}
- />
- <ActionButton
- width="full"
- handler={() => handleContextClick("audio")}
- icon={<Microphone className="w-5 h-5" />}
- label={selectedAudioDevice?.label || "Mic"}
- />
- </div>
- </div>
- {isRecording === true ? (
- <Button
- variant="primary"
- handler={handleStopAllRecordings}
- label="Stop Recording"
- />
- ) : (
- <Button
- variant="primary"
- handler={handleStartAllRecordings}
- label="Start Recording"
- />
- )}
- </div>
</div>
</div>
- );
- }}
- />
+ {isRecording === true ? (
+ <Button
+ variant="primary"
+ handler={handleStopAllRecordings}
+ label="Stop Recording"
+ />
+ ) : (
+ <Button
+ variant="primary"
+ handler={handleStartAllRecordings}
+ label="Start Recording"
+ />
+ )}
+ </div>
+ {/* <button
+ onClick={() => {
+ startStream();
+ }}
+ >
+ Start stream
+ </button> */}
+ </div>
+ </div>
);
};
diff --git a/apps/desktop/src/utils/database/AuthContext.tsx b/apps/desktop/src/utils/database/AuthContext.tsx
new file mode 100644
index 000000000..66608f6f7
--- /dev/null
+++ b/apps/desktop/src/utils/database/AuthContext.tsx
@@ -0,0 +1,57 @@
+import { createContext, useState, useEffect, useContext, useRef } from "react";
+import { Session, User } from "@supabase/supabase-js";
+import { supabase } from "@/utils/database/client";
+
+interface AuthContextProps {
+ session: Session | null;
+ user: User | null;
+ userRef: React.MutableRefObject<User | null>;
+}
+
+const AuthContext = createContext<AuthContextProps>({
+ session: null,
+ user: null,
+ userRef: { current: null },
+});
+
+export const useAuth = () => useContext(AuthContext);
+
+export const AuthProvider: React.FC<React.PropsWithChildren<{}>> = ({
+ children,
+}) => {
+ const [session, setSession] = useState<Session | null>(null);
+ const [user, setUser] = useState<User | null>(null);
+ const userRef = useRef<User | null>(null);
+
+ useEffect(() => {
+ const updateAuthState = (session: Session | null) => {
+ setSession(session);
+ setUser(session?.user || null);
+ userRef.current = session?.user || null; // Update the ref whenever the user state changes
+ };
+
+ supabase.auth.getSession().then(({ data: { session }, error }) => {
+ if (error) {
+ console.error("Error retrieving session:", error);
+ return;
+ }
+ updateAuthState(session);
+ });
+
+ const { data: authListener } = supabase.auth.onAuthStateChange(
+ (_event, session) => {
+ updateAuthState(session);
+ }
+ );
+
+ return () => {
+ authListener.subscription.unsubscribe();
+ };
+ }, []);
+
+ return (
+ <AuthContext.Provider value={{ session, user, userRef }}>
+ {children}
+ </AuthContext.Provider>
+ );
+};
diff --git a/apps/desktop/src/utils/helpers.ts b/apps/desktop/src/utils/helpers.ts
index 9cc361e43..db008382e 100644
--- a/apps/desktop/src/utils/helpers.ts
+++ b/apps/desktop/src/utils/helpers.ts
@@ -43,3 +43,20 @@ export const openLinkInBrowser = (url: string) => {
return;
};
+
+export function concatenateTypedArrays(
+ constructor: new (arg0: number) => any,
+ ...arrays: any[]
+) {
+ let totalLength = 0;
+ for (const arr of arrays) {
+ totalLength += arr.length;
+ }
+ const result = new constructor(totalLength);
+ let offset = 0;
+ for (const arr of arrays) {
+ result.set(arr, offset);
+ offset += arr.length;
+ }
+ return result;
+}
diff --git a/apps/desktop/src/utils/recording/MediaDeviceContext.tsx b/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
index 13ac7d569..768bb5a34 100644
--- a/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
+++ b/apps/desktop/src/utils/recording/MediaDeviceContext.tsx
@@ -6,19 +6,26 @@ import {
useCallback,
} from "react";
import { listen } from "@tauri-apps/api/event";
-import { DeviceChangePayload } from "@/utils/types/shared";
+import { invoke } from "@tauri-apps/api/tauri";
+
+interface Devices {
+ index: number;
+ label: string;
+ kind: "videoinput" | "audioinput";
+}
+
+interface DeviceList {
+ video_devices: string[];
+ audio_devices: string[];
+}
// Define the type of the context data
interface MediaDeviceContextData {
- selectedVideoDevice: MediaDeviceInfo | null;
- setSelectedVideoDevice: React.Dispatch<
- React.SetStateAction<MediaDeviceInfo | null>
- >;
- selectedAudioDevice: MediaDeviceInfo | null;
- setSelectedAudioDevice: React.Dispatch<
- React.SetStateAction<MediaDeviceInfo | null>
- >;
- devices: MediaDeviceInfo[];
+ selectedVideoDevice: Devices | null;
+ setSelectedVideoDevice: React.Dispatch<React.SetStateAction<Devices | null>>;
+ selectedAudioDevice: Devices | null;
+ setSelectedAudioDevice: React.Dispatch<React.SetStateAction<Devices | null>>;
+ devices: Devices[];
getDevices: () => Promise<void>;
isRecording: boolean;
setIsRecording: React.Dispatch<React.SetStateAction<boolean>>;
@@ -32,34 +39,57 @@ export const MediaDeviceProvider: React.FC<React.PropsWithChildren<{}>> = ({
children,
}) => {
const [selectedVideoDevice, setSelectedVideoDevice] =
- useState<MediaDeviceInfo | null>(null);
+ useState<Devices | null>(null);
const [selectedAudioDevice, setSelectedAudioDevice] =
- useState<MediaDeviceInfo | null>(null);
- const [devices, setDevices] = useState<MediaDeviceInfo[]>([]);
+ useState<Devices | null>(null);
+ const [devices, setDevices] = useState<Devices[]>([]);
const [isRecording, setIsRecording] = useState(false);
const getDevices = useCallback(async () => {
- const fetchedDevices = await navigator.mediaDevices.enumerateDevices();
- setDevices(fetchedDevices);
-
- // Automatically select the first available devices if not already selected
- if (!selectedVideoDevice) {
- const videoInput = fetchedDevices.find(
- (device) => device.kind === "videoinput"
- );
- setSelectedVideoDevice(videoInput || null);
- }
- if (!selectedAudioDevice) {
- const audioInput = fetchedDevices.find(
- (device) => device.kind === "audioinput"
- );
- setSelectedAudioDevice(audioInput || null);
+ console.log("getDevices called");
+
+ try {
+ const deviceList = (await invoke("list_devices")) as DeviceList;
+ const { video_devices, audio_devices } = deviceList;
+
+ console.log("deviceList:");
+ console.log(deviceList);
+
+ const formattedDevices = [
+ ...(video_devices.map((device, index) => ({
+ index: index,
+ label: device,
+ kind: "videoinput",
+ })) as Devices[]),
+ ...(audio_devices.map((device, index) => ({
+ index: index,
+ label: device,
+ kind: "audioinput",
+ })) as Devices[]),
+ ];
+ setDevices(formattedDevices);
+
+ // Automatically select the first available devices if not already selected
+ if (!selectedVideoDevice) {
+ const videoInput = formattedDevices.find(
+ (device) => device.kind === "videoinput"
+ );
+ setSelectedVideoDevice(videoInput || null);
+ }
+ if (!selectedAudioDevice) {
+ const audioInput = formattedDevices.find(
+ (device) => device.kind === "audioinput"
+ );
+ setSelectedAudioDevice(audioInput || null);
+ }
+ } catch (error) {
+ console.error("Failed to get media devices:", error);
}
}, [selectedVideoDevice, selectedAudioDevice]);
useEffect(() => {
getDevices();
- }, [getDevices]);
+ }, []);
useEffect(() => {
let unlistenFn: any;
@@ -68,12 +98,16 @@ export const MediaDeviceProvider: React.FC<React.PropsWithChildren<{}>> = ({
try {
unlistenFn = await listen(
"change-device",
- ({ payload }: { payload: DeviceChangePayload }) => {
+ ({
+ payload,
+ }: {
+ payload: { type: "video" | "audio"; device: Devices };
+ }) => {
if (payload && payload.device) {
if (payload.type === "video") {
console.log("receiving video payload:");
console.log(payload);
- if (selectedVideoDevice?.deviceId !== payload.device.deviceId) {
+ if (selectedVideoDevice?.index !== payload.device.index) {
setSelectedVideoDevice(payload.device);
}
}
@@ -81,7 +115,7 @@ export const MediaDeviceProvider: React.FC<React.PropsWithChildren<{}>> = ({
if (payload.type === "audio") {
console.log("receiving audio payload:");
console.log(payload);
- if (selectedAudioDevice?.deviceId !== payload.device.deviceId) {
+ if (selectedAudioDevice?.index !== payload.device.index) {
setSelectedAudioDevice(payload.device);
}
}
diff --git a/apps/desktop/src/utils/recording/client.ts b/apps/desktop/src/utils/recording/client.ts
deleted file mode 100644
index 9601d291c..000000000
--- a/apps/desktop/src/utils/recording/client.ts
+++ /dev/null
@@ -1,387 +0,0 @@
-import {
- register,
- MediaRecorder as ExtendableMediaRecorder,
- IMediaRecorder,
-} from "extendable-media-recorder";
-import { ReactElement, useCallback, useEffect, useRef, useState } from "react";
-import { connect } from "extendable-media-recorder-wav-encoder";
-import { useMediaDevices } from "@/utils/recording/MediaDeviceContext";
-import { useDidMountEffect } from "@/utils/hooks/useDidMount";
-import { writeBinaryFile, createDir, removeFile } from "@tauri-apps/api/fs";
-import { appDataDir } from "@tauri-apps/api/path";
-
-export type ReactMediaRecorderRenderProps = {
- error: string;
- muteAudio: () => void;
- unMuteAudio: () => void;
- startRecording: () => void;
- pauseRecording: () => void;
- resumeRecording: () => void;
- stopRecording: () => void;
- mediaBlobUrl: undefined | string;
- status: StatusMessages;
- isAudioMuted: boolean;
- previewStream: MediaStream | null;
- previewAudioStream: MediaStream | null;
- clearBlobUrl: () => void;
-};
-
-export type ReactMediaRecorderHookProps = {
- audio?: boolean | MediaTrackConstraints;
- video?: boolean | MediaTrackConstraints;
- screen?: boolean;
- onStop?: (blobUrl: string, blob: Blob) => void;
- onStart?: () => void;
- blobPropertyBag?: BlobPropertyBag;
- mediaRecorderOptions?: MediaRecorderOptions | undefined;
- customMediaStream?: MediaStream | null;
- stopStreamsOnStop?: boolean;
- askPermissionOnMount?: boolean;
-};
-export type ReactMediaRecorderProps = ReactMediaRecorderHookProps & {
- render: (props: ReactMediaRecorderRenderProps) => ReactElement;
-};
-
-export type StatusMessages =
- | "media_aborted"
- | "permission_denied"
- | "no_specified_media_found"
- | "media_in_use"
- | "invalid_media_constraints"
- | "no_constraints"
- | "recorder_error"
- | "idle"
- | "acquiring_media"
- | "delayed_start"
- | "recording"
- | "stopping"
- | "stopped"
- | "paused";
-
-export enum RecorderErrors {
- AbortError = "media_aborted",
- NotAllowedError = "permission_denied",
- NotFoundError = "no_specified_media_found",
- NotReadableError = "media_in_use",
- OverconstrainedError = "invalid_media_constraints",
- TypeError = "no_constraints",
- NONE = "",
- NO_RECORDER = "recorder_error",
-}
-
-export function useReactMediaRecorder({
- audio = true,
- video = false,
- onStop = () => null,
- onStart = () => null,
- blobPropertyBag,
- screen = false,
- mediaRecorderOptions = undefined,
- customMediaStream = null,
- stopStreamsOnStop = true,
- askPermissionOnMount = false,
-}: ReactMediaRecorderHookProps): ReactMediaRecorderRenderProps {
- const mediaRecorder = useRef<IMediaRecorder | null>(null);
- const mediaChunks = useRef<Blob[]>([]);
- const mediaStream = useRef<MediaStream | null>(null);
- const [status, setStatus] = useState<StatusMessages>("idle");
- const [isAudioMuted, setIsAudioMuted] = useState<boolean>(false);
- const [mediaBlobUrl, setMediaBlobUrl] = useState<string | undefined>(
- undefined
- );
- const [error, setError] = useState<keyof typeof RecorderErrors>("NONE");
-
- const { selectedVideoDevice, selectedAudioDevice } = useMediaDevices();
-
- // We don't have a unmount / unregister for this so we need to use `useDidMountEffect`
- useDidMountEffect(() => {
- const setup = async () => {
- await register(await connect());
- };
- setup();
- }, []);
-
- const getMediaStream = useCallback(async () => {
- setStatus("acquiring_media");
- const videoDeviceId = selectedVideoDevice
- ? selectedVideoDevice.deviceId
- : undefined;
- const audioDeviceId = selectedAudioDevice
- ? selectedAudioDevice.deviceId
- : undefined;
- const requiredMedia: MediaStreamConstraints = {
- audio:
- typeof audio === "boolean"
- ? !!audio
- ? { deviceId: audioDeviceId }
- : false
- : audio,
- video:
- typeof video === "boolean"
- ? !!video
- ? { deviceId: videoDeviceId }
- : false
- : video,
- };
-
- try {
- if (customMediaStream) {
- mediaStream.current = customMediaStream;
- } else if (screen) {
- const stream = (await window.navigator.mediaDevices.getDisplayMedia({
- video: true,
- })) as MediaStream;
- stream.getVideoTracks()[0].addEventListener("ended", () => {
- stopRecording();
- });
- if (audio) {
- const audioStream = await window.navigator.mediaDevices.getUserMedia({
- audio,
- });
-
- audioStream
- .getAudioTracks()
- .forEach((audioTrack) => stream.addTrack(audioTrack));
- }
- mediaStream.current = stream;
- } else {
- const stream = await window.navigator.mediaDevices.getUserMedia(
- requiredMedia
- );
- mediaStream.current = stream;
- }
- setStatus("idle");
- } catch (error: any) {
- setError(error.name);
- setStatus("idle");
- }
- }, [audio, video, screen]);
-
- useEffect(() => {
- if (selectedVideoDevice || selectedAudioDevice || !customMediaStream) {
- getMediaStream();
- }
- }, [selectedVideoDevice, selectedAudioDevice]);
-
- useEffect(() => {
- if (!window.MediaRecorder) {
- throw new Error("Unsupported Browser");
- }
-
- if (screen) {
- if (!window.navigator.mediaDevices.getDisplayMedia) {
- throw new Error("This browser doesn't support screen capturing");
- }
- }
-
- const checkConstraints = (mediaType: MediaTrackConstraints) => {
- const supportedMediaConstraints =
- navigator.mediaDevices.getSupportedConstraints();
- const unSupportedConstraints = Object.keys(mediaType).filter(
- (constraint) =>
- !(supportedMediaConstraints as { [key: string]: any })[constraint]
- );
-
- if (unSupportedConstraints.length > 0) {
- console.error(
- `The constraints ${unSupportedConstraints.join(
- ","
- )} doesn't support on this browser. Please check your ReactMediaRecorder component.`
- );
- }
- };
-
- if (typeof audio === "object") {
- checkConstraints(audio);
- }
- if (typeof video === "object") {
- checkConstraints(video);
- }
-
- if (mediaRecorderOptions && mediaRecorderOptions.mimeType) {
- if (!MediaRecorder.isTypeSupported(mediaRecorderOptions.mimeType)) {
- console.error(
- `The specified MIME type you supplied for MediaRecorder doesn't support this browser`
- );
- }
- }
-
- if (!mediaStream.current && askPermissionOnMount) {
- getMediaStream();
- }
-
- return () => {
- if (mediaStream.current) {
- const tracks = mediaStream.current.getTracks();
- tracks.forEach((track) => track.clone().stop());
- }
- };
- }, [
- audio,
- screen,
- video,
- getMediaStream,
- mediaRecorderOptions,
- askPermissionOnMount,
- ]);
-
- // Media Recorder Handlers
-
- const startRecording = async () => {
- setError("NONE");
- if (!mediaStream.current) {
- await getMediaStream();
- }
- if (mediaStream.current) {
- const isStreamEnded = mediaStream.current
- .getTracks()
- .some((track) => track.readyState === "ended");
- if (isStreamEnded) {
- await getMediaStream();
- }
-
- // User blocked the permissions (getMediaStream errored out)
- if (!mediaStream.current.active) {
- return;
- }
-
- // Delete the old file
- const filePath = await recordingFileLocation();
- try {
- await removeFile(filePath);
- console.log("Old recording deleted successfully");
- } catch (error) {
- console.error("Failed to delete old recording:", error);
- }
-
- mediaRecorder.current = new ExtendableMediaRecorder(
- mediaStream.current,
- mediaRecorderOptions || undefined
- );
- mediaRecorder.current.ondataavailable = onRecordingActive;
- mediaRecorder.current.onstop = onRecordingStop;
- mediaRecorder.current.onstart = onRecordingStart;
- mediaRecorder.current.onerror = () => {
- setError("NO_RECORDER");
- setStatus("idle");
- };
- mediaRecorder.current.start();
- setStatus("recording");
- }
- };
-
- const onRecordingActive = ({ data }: BlobEvent) => {
- mediaChunks.current.push(data);
- };
-
- const onRecordingStart = () => {
- onStart();
- };
-
- const onRecordingStop = async () => {
- console.log("onRecordingStop started");
- const [chunk] = mediaChunks.current;
- const blobProperty: BlobPropertyBag = Object.assign(
- { type: chunk.type },
- blobPropertyBag || { type: "video/mp4" }
- );
- const blob = new Blob(mediaChunks.current, blobProperty);
- const buffer = await blob.arrayBuffer();
- const data = new Uint8Array(buffer);
-
- try {
- // Get the app's data directory path
- const dir = await appDataDir();
- const filePath = await recordingFileLocation();
-
- console.log("Saving recording to:", filePath);
-
- // Ensure the directory exists
- await createDir(dir, { recursive: true });
-
- // Write the file
- await writeBinaryFile(filePath, data);
- console.log("Recording saved successfully to:", filePath);
-
- // Generate a Blob URL for preview or download
- const url = URL.createObjectURL(blob);
- setStatus("stopped");
- setMediaBlobUrl(url);
- onStop(url, blob);
- } catch (error) {
- console.error("Failed to save recording:", error);
- }
- };
-
- const muteAudio = (mute: boolean) => {
- setIsAudioMuted(mute);
- if (mediaStream.current) {
- mediaStream.current
- .getAudioTracks()
- .forEach((audioTrack) => (audioTrack.enabled = !mute));
- }
- };
-
- const pauseRecording = () => {
- if (mediaRecorder.current && mediaRecorder.current.state === "recording") {
- setStatus("paused");
- mediaRecorder.current.pause();
- }
- };
- const resumeRecording = () => {
- if (mediaRecorder.current && mediaRecorder.current.state === "paused") {
- setStatus("recording");
- mediaRecorder.current.resume();
- }
- };
-
- const stopRecording = () => {
- if (mediaRecorder.current) {
- if (mediaRecorder.current.state !== "inactive") {
- setStatus("stopping");
- mediaRecorder.current.stop();
- if (stopStreamsOnStop) {
- mediaStream.current &&
- mediaStream.current.getTracks().forEach((track) => track.stop());
- }
- mediaChunks.current = [];
- }
- }
- };
-
- return {
- error: RecorderErrors[error],
- muteAudio: () => muteAudio(true),
- unMuteAudio: () => muteAudio(false),
- startRecording,
- pauseRecording,
- resumeRecording,
- stopRecording,
- mediaBlobUrl,
- status,
- isAudioMuted,
- previewStream: mediaStream.current
- ? new MediaStream(mediaStream.current.getVideoTracks())
- : null,
- previewAudioStream: mediaStream.current
- ? new MediaStream(mediaStream.current.getAudioTracks())
- : null,
- clearBlobUrl: () => {
- if (mediaBlobUrl) {
- URL.revokeObjectURL(mediaBlobUrl);
- }
- setMediaBlobUrl(undefined);
- setStatus("idle");
- },
- };
-}
-
-export const recordingFileLocation = async () => {
- const dir = await appDataDir();
- const filePath = `${dir}/video.mp4`.replace(/\/\//g, "/");
-
- return filePath;
-};
-
-export const ReactMediaRecorder = (props: ReactMediaRecorderProps) =>
- props.render(useReactMediaRecorder(props));
diff --git a/apps/desktop/src/utils/types/shared.ts b/apps/desktop/src/utils/types/shared.ts
index 1899e0fee..e69de29bb 100644
--- a/apps/desktop/src/utils/types/shared.ts
+++ b/apps/desktop/src/utils/types/shared.ts
@@ -1,4 +0,0 @@
-export interface DeviceChangePayload {
- type: string;
- device: MediaDeviceInfo;
-}
diff --git a/apps/desktop/vite.config.ts b/apps/desktop/vite.config.ts
index 5296593dd..f16256975 100644
--- a/apps/desktop/vite.config.ts
+++ b/apps/desktop/vite.config.ts
@@ -1,6 +1,18 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tsconfigPaths from "vite-tsconfig-paths";
+import dotenv from "dotenv";
+
+// Load the environment variables
+dotenv.config({ path: "../../.env" });
+
+const requiredEnvVariables = ["VITE_SUPABASE_URL", "VITE_SUPABASE_ANON_KEY"];
+
+requiredEnvVariables.forEach((envVar) => {
+ if (!process.env[envVar]) {
+ throw new Error(`Please set ${envVar} in .env file`);
+ }
+});
// https://vitejs.dev/config/
export default defineConfig(async () => ({
diff --git a/apps/web/.gitignore b/apps/web/.gitignore
index 8f322f0d8..90f1072a5 100644
--- a/apps/web/.gitignore
+++ b/apps/web/.gitignore
@@ -33,3 +33,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
+pnpm-lock.yaml
\ No newline at end of file
diff --git a/apps/web/README.md b/apps/web/README.md
index f451f28b6..43049f3c9 100644
--- a/apps/web/README.md
+++ b/apps/web/README.md
@@ -2,10 +2,6 @@
More details, as well as a contributor guide, will be posted soon.
-## Generating local types
-
-npx supabase gen types typescript --project-id "obcvkckbgjxxilacwqkt" --schema public > apps/web/utils/database/supabase/types.ts
-
## Illustrations
A big thank you to Popsy (https://popsy.co) for some of the illustrations used in Cap.
diff --git a/apps/web/app/api/upload/new/route.ts b/apps/web/app/api/upload/new/route.ts
deleted file mode 100644
index 85ae681f7..000000000
--- a/apps/web/app/api/upload/new/route.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import { createRouteClient } from "@/utils/database/supabase/server";
-
-export async function POST(request: Request) {
- const res = await request.json();
- const { s3_url, name, duration, thumbnail_url, metadata, is_public } =
- res.body;
-
- // Simple validation
- if (!s3_url || !name) {
- return res.status(400).json({ message: "Missing required fields" });
- }
-
- const supabase = createRouteClient();
-
- const {
- data: { session },
- } = await supabase.auth.getSession();
-
- if (!session) {
- return new Response("Unauthorized", {
- status: 401,
- });
- }
-
- // Insert data into the videos table
- const { data, error } = await supabase.from("videos").insert([
- {
- owner_id: session.user.id,
- s3_url,
- name,
- duration,
- thumbnail_url,
- metadata: metadata || {},
- is_public: false,
- },
- ]);
-
- console.log("supabase response:");
- console.log(data);
- console.log(error);
-
- if (data !== null) {
- return new Response("Success", {
- status: 200,
- });
- }
-
- return new Response("Error saving video", {
- status: 400,
- });
-}
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index d344f411f..553134c7c 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -1,9 +1,23 @@
/** @type {import('next').NextConfig} */
+require("dotenv").config({ path: "../../.env" });
+
+if (
+ !process.env.NEXT_PUBLIC_SUPABASE_URL ||
+ !process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY ||
+ !process.env.SUPABASE_SERVICE_ROLE_KEY
+) {
+ throw new Error("Please set Supabase env vars in .env file");
+}
+
+if (!process.env.NEXT_PUBLIC_ENVIRONMENT || !process.env.NEXT_PUBLIC_URL) {
+ throw new Error("Please set env vars in .env file");
+}
+
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
- transpilePackages: ["ui"],
+ transpilePackages: ["ui", "utils"],
eslint: {
ignoreDuringBuilds: true,
},
@@ -11,7 +25,7 @@ const nextConfig = {
ignoreBuildErrors: true,
},
experimental: {
- optimizePackageImports: ["ui"],
+ optimizePackageImports: ["ui", "utils"],
},
};
diff --git a/apps/web/package.json b/apps/web/package.json
index 5828d7c9d..d83e142f4 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -25,6 +25,7 @@
"server-only": "^0.0.1",
"tailwind-merge": "^2.1.0",
"ui": "workspace:*",
+ "utils": "workspace:*",
"zod": "^3.22.4"
},
"devDependencies": {
diff --git a/apps/web/utils/database/supabase/types.ts b/apps/web/utils/database/supabase/types.ts
deleted file mode 100644
index 4f398a517..000000000
--- a/apps/web/utils/database/supabase/types.ts
+++ /dev/null
@@ -1,374 +0,0 @@
-export type Json =
- | string
- | number
- | boolean
- | null
- | { [key: string]: Json | undefined }
- | Json[]
-
-export interface Database {
- public: {
- Tables: {
- shared_videos: {
- Row: {
- shared_at: string
- shared_by_user_id: string | null
- space_id: string
- video_id: string
- }
- Insert: {
- shared_at?: string
- shared_by_user_id?: string | null
- space_id: string
- video_id: string
- }
- Update: {
- shared_at?: string
- shared_by_user_id?: string | null
- space_id?: string
- video_id?: string
- }
- Relationships: [
- {
- foreignKeyName: "shared_videos_shared_by_user_id_fkey"
- columns: ["shared_by_user_id"]
- isOneToOne: false
- referencedRelation: "users"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "shared_videos_space_id_fkey"
- columns: ["space_id"]
- isOneToOne: false
- referencedRelation: "spaces"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "shared_videos_video_id_fkey"
- columns: ["video_id"]
- isOneToOne: false
- referencedRelation: "videos"
- referencedColumns: ["id"]
- }
- ]
- }
- space_members: {
- Row: {
- role: Database["public"]["Enums"]["user_role"]
- space_id: string
- user_id: string
- }
- Insert: {
- role: Database["public"]["Enums"]["user_role"]
- space_id: string
- user_id: string
- }
- Update: {
- role?: Database["public"]["Enums"]["user_role"]
- space_id?: string
- user_id?: string
- }
- Relationships: [
- {
- foreignKeyName: "space_members_space_id_fkey"
- columns: ["space_id"]
- isOneToOne: false
- referencedRelation: "spaces"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "space_members_user_id_fkey"
- columns: ["user_id"]
- isOneToOne: false
- referencedRelation: "users"
- referencedColumns: ["id"]
- }
- ]
- }
- spaces: {
- Row: {
- created_at: string
- id: string
- metadata: Json | null
- name: string
- owner_id: string | null
- updated_at: string
- }
- Insert: {
- created_at?: string
- id?: string
- metadata?: Json | null
- name: string
- owner_id?: string | null
- updated_at?: string
- }
- Update: {
- created_at?: string
- id?: string
- metadata?: Json | null
- name?: string
- owner_id?: string | null
- updated_at?: string
- }
- Relationships: [
- {
- foreignKeyName: "spaces_owner_id_fkey"
- columns: ["owner_id"]
- isOneToOne: false
- referencedRelation: "users"
- referencedColumns: ["id"]
- }
- ]
- }
- users: {
- Row: {
- active_space_id: string | null
- avatar_url: string | null
- created_at: string
- email: string
- full_name: string | null
- id: string
- onboarding_questions: Json | null
- stripe_customer_id: string | null
- stripe_subscription_id: string | null
- stripe_subscription_price_id: string | null
- stripe_subscription_status: string | null
- updated_at: string
- video_quota: number
- videos_created: number
- }
- Insert: {
- active_space_id?: string | null
- avatar_url?: string | null
- created_at?: string
- email: string
- full_name?: string | null
- id?: string
- onboarding_questions?: Json | null
- stripe_customer_id?: string | null
- stripe_subscription_id?: string | null
- stripe_subscription_price_id?: string | null
- stripe_subscription_status?: string | null
- updated_at?: string
- video_quota?: number
- videos_created?: number
- }
- Update: {
- active_space_id?: string | null
- avatar_url?: string | null
- created_at?: string
- email?: string
- full_name?: string | null
- id?: string
- onboarding_questions?: Json | null
- stripe_customer_id?: string | null
- stripe_subscription_id?: string | null
- stripe_subscription_price_id?: string | null
- stripe_subscription_status?: string | null
- updated_at?: string
- video_quota?: number
- videos_created?: number
- }
- Relationships: [
- {
- foreignKeyName: "users_active_space_id_fkey"
- columns: ["active_space_id"]
- isOneToOne: false
- referencedRelation: "spaces"
- referencedColumns: ["id"]
- }
- ]
- }
- videos: {
- Row: {
- complete: boolean
- created_at: string
- duration: number | null
- id: string
- is_public: boolean
- metadata: Json | null
- name: string
- owner_id: string | null
- s3_url: string
- thumbnail_url: string | null
- updated_at: string
- }
- Insert: {
- complete?: boolean
- created_at?: string
- duration?: number | null
- id?: string
- is_public?: boolean
- metadata?: Json | null
- name: string
- owner_id?: string | null
- s3_url: string
- thumbnail_url?: string | null
- updated_at?: string
- }
- Update: {
- complete?: boolean
- created_at?: string
- duration?: number | null
- id?: string
- is_public?: boolean
- metadata?: Json | null
- name?: string
- owner_id?: string | null
- s3_url?: string
- thumbnail_url?: string | null
- updated_at?: string
- }
- Relationships: [
- {
- foreignKeyName: "videos_owner_id_fkey"
- columns: ["owner_id"]
- isOneToOne: false
- referencedRelation: "users"
- referencedColumns: ["id"]
- }
- ]
- }
- }
- Views: {
- [_ in never]: never
- }
- Functions: {
- citext:
- | {
- Args: {
- "": boolean
- }
- Returns: string
- }
- | {
- Args: {
- "": string
- }
- Returns: string
- }
- | {
- Args: {
- "": unknown
- }
- Returns: string
- }
- citext_hash: {
- Args: {
- "": string
- }
- Returns: number
- }
- citextin: {
- Args: {
- "": unknown
- }
- Returns: string
- }
- citextout: {
- Args: {
- "": string
- }
- Returns: unknown
- }
- citextrecv: {
- Args: {
- "": unknown
- }
- Returns: string
- }
- citextsend: {
- Args: {
- "": string
- }
- Returns: string
- }
- }
- Enums: {
- user_role: "owner" | "admin" | "member"
- }
- CompositeTypes: {
- [_ in never]: never
- }
- }
-}
-
-export type Tables<
- PublicTableNameOrOptions extends
- | keyof (Database["public"]["Tables"] & Database["public"]["Views"])
- | { schema: keyof Database },
- TableName extends PublicTableNameOrOptions extends { schema: keyof Database }
- ? keyof (Database[PublicTableNameOrOptions["schema"]]["Tables"] &
- Database[PublicTableNameOrOptions["schema"]]["Views"])
- : never = never
-> = PublicTableNameOrOptions extends { schema: keyof Database }
- ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] &
- Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends {
- Row: infer R
- }
- ? R
- : never
- : PublicTableNameOrOptions extends keyof (Database["public"]["Tables"] &
- Database["public"]["Views"])
- ? (Database["public"]["Tables"] &
- Database["public"]["Views"])[PublicTableNameOrOptions] extends {
- Row: infer R
- }
- ? R
- : never
- : never
-
-export type TablesInsert<
- PublicTableNameOrOptions extends
- | keyof Database["public"]["Tables"]
- | { schema: keyof Database },
- TableName extends PublicTableNameOrOptions extends { schema: keyof Database }
- ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"]
- : never = never
-> = PublicTableNameOrOptions extends { schema: keyof Database }
- ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
- Insert: infer I
- }
- ? I
- : never
- : PublicTableNameOrOptions extends keyof Database["public"]["Tables"]
- ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
- Insert: infer I
- }
- ? I
- : never
- : never
-
-export type TablesUpdate<
- PublicTableNameOrOptions extends
- | keyof Database["public"]["Tables"]
- | { schema: keyof Database },
- TableName extends PublicTableNameOrOptions extends { schema: keyof Database }
- ? keyof Database[PublicTableNameOrOptions["schema"]]["Tables"]
- : never = never
-> = PublicTableNameOrOptions extends { schema: keyof Database }
- ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
- Update: infer U
- }
- ? U
- : never
- : PublicTableNameOrOptions extends keyof Database["public"]["Tables"]
- ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
- Update: infer U
- }
- ? U
- : never
- : never
-
-export type Enums<
- PublicEnumNameOrOptions extends
- | keyof Database["public"]["Enums"]
- | { schema: keyof Database },
- EnumName extends PublicEnumNameOrOptions extends { schema: keyof Database }
- ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"]
- : never = never
-> = PublicEnumNameOrOptions extends { schema: keyof Database }
- ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName]
- : PublicEnumNameOrOptions extends keyof Database["public"]["Enums"]
- ? Database["public"]["Enums"][PublicEnumNameOrOptions]
- : never
diff --git a/packages/utils/README.md b/packages/utils/README.md
new file mode 100644
index 000000000..e69de29bb
diff --git a/packages/utils/package.json b/packages/utils/package.json
new file mode 100644
index 000000000..39e2adb41
--- /dev/null
+++ b/packages/utils/package.json
@@ -0,0 +1,19 @@
+{
+ "name": "utils",
+ "version": "0.0.0",
+ "main": "./src/index.tsx",
+ "types": "./src/index.tsx",
+ "exports": {
+ ".": "./src/index.tsx"
+ },
+ "scripts": {
+ "lint": "eslint src --cache",
+ "typecheck": "tsc -b",
+ "build": "tsc"
+ },
+ "devDependencies": {
+ "tsconfig": "workspace:*",
+ "typescript": "^5.3.2"
+ },
+ "dependencies": {}
+}
diff --git a/apps/web/schema/schema.sql b/packages/utils/schema/schema.sql
similarity index 100%
rename from apps/web/schema/schema.sql
rename to packages/utils/schema/schema.sql
diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json
new file mode 100644
index 000000000..8b7dc0b9c
--- /dev/null
+++ b/packages/utils/tsconfig.json
@@ -0,0 +1,12 @@
+{
+ "extends": "../config/base.tsconfig.json",
+ "include": ["src"],
+ "exclude": ["dist", "build", "node_modules"],
+ "compilerOptions": {
+ "rootDir": "src",
+ "baseUrl": ".",
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ }
+}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 135d31b4a..f9a8a68bc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -26,24 +26,15 @@ importers:
apps/desktop:
dependencies:
- '@aws-sdk/client-s3':
- specifier: ^3.474.0
- version: 3.474.0
- '@aws-sdk/s3-request-presigner':
- specifier: ^3.474.0
- version: 3.474.0
'@tauri-apps/api':
specifier: ^1.5.0
version: 1.5.1
autoprefixer:
specifier: ^10.4.16
version: 10.4.16([email protected])
- extendable-media-recorder:
- specifier: ^9.1.4
- version: 9.1.4
- extendable-media-recorder-wav-encoder:
- specifier: ^7.0.100
- version: 7.0.100
+ dotenv:
+ specifier: ^16.3.1
+ version: 16.3.1
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -144,6 +135,9 @@ importers:
ui:
specifier: workspace:*
version: link:../../packages/ui
+ utils:
+ specifier: workspace:*
+ version: link:../../packages/utils
zod:
specifier: ^3.22.4
version: 3.22.4
@@ -321,6 +315,15 @@ importers:
specifier: ^4.2.1
+ packages/utils:
+ devDependencies:
+ tsconfig:
+ specifier: workspace:*
+ version: link:../tsconfig
+ typescript:
+ specifier: ^5.3.2
+ version: 5.3.2
+
packages:
/@aashutoshrathi/[email protected]:
@@ -339,611 +342,6 @@ packages:
'@jridgewell/gen-mapping': 0.3.3
'@jridgewell/trace-mapping': 0.3.20
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-IzSgsrxUcsrejQbPVilIKy16kAT52EwB6zSaI+M3xxIhKh5+aldEyvI+z6erM7TCLB2BJsFrtHjp6/4/sr+3dA==}
- dependencies:
- '@aws-crypto/util': 3.0.0
- '@aws-sdk/types': 3.468.0
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-ENNPPManmnVJ4BTXlOjAgD7URidbAznURqD0KvfREyc4o20DPYdEldU1f5cQ7Jbj0CJJSPaMIk/9ZshdB3210w==}
- dependencies:
- '@aws-crypto/util': 3.0.0
- '@aws-sdk/types': 3.468.0
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-341lBBkiY1DfDNKai/wXM3aujNBkXR7tq1URPQDL9wi3AUbI80NR74uF1TXHMm7po1AcnFk8iu2S2IeU/+/A+Q==}
- dependencies:
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-NJth5c997GLHs6nOYTzFKTbYdMNA6/1XlKVgnZoaZcQ7z7UJlOgj2JdbHE8tiYLS3fzXNCguct77SPGat2raSw==}
- dependencies:
- '@aws-crypto/ie11-detection': 3.0.0
- '@aws-crypto/supports-web-crypto': 3.0.0
- '@aws-crypto/util': 3.0.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-locate-window': 3.465.0
- '@aws-sdk/util-utf8-browser': 3.259.0
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-8VLmW2B+gjFbU5uMeqtQM6Nj0/F1bro80xQXCW6CQBWgosFWXTx77aeOF5CAIAmbOK64SdMBJdNr6J41yP5mvQ==}
- dependencies:
- '@aws-crypto/ie11-detection': 3.0.0
- '@aws-crypto/sha256-js': 3.0.0
- '@aws-crypto/supports-web-crypto': 3.0.0
- '@aws-crypto/util': 3.0.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-locate-window': 3.465.0
- '@aws-sdk/util-utf8-browser': 3.259.0
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-PnNN7os0+yd1XvXAy23CFOmTbMaDxgxXtTKHybrJ39Y8kGzBATgBFibWJKH6BhytLI/Zyszs87xCOBNyBig6vQ==}
- dependencies:
- '@aws-crypto/util': 3.0.0
- '@aws-sdk/types': 3.468.0
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-06hBdMwUAb2WFTuGG73LSC0wfPu93xWwo5vL2et9eymgmu3Id5vFAHBbajVWiGhPO37qcsdCap/FqXvJGJWPIg==}
- dependencies:
- tslib: 1.14.1
- dev: false
-
- /@aws-crypto/[email protected]:
- resolution: {integrity: sha512-2OJlpeJpCR48CC8r+uKVChzs9Iungj9wkZrl8Z041DWEWvyIHILYKCPNzJghKsivj+S3mLo6BVc7mBNzdxA46w==}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-utf8-browser': 3.259.0
- tslib: 1.14.1
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-uqji9u2yIhFMx6E18+iIlKqimZE1SUEewS78iYYzOKRoQQ+XqFnQXtHTvBGfTExEvdwZUXYg8FqSP2UpQiEf/g==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-crypto/sha1-browser': 3.0.0
- '@aws-crypto/sha256-browser': 3.0.0
- '@aws-crypto/sha256-js': 3.0.0
- '@aws-sdk/client-sts': 3.474.0
- '@aws-sdk/core': 3.474.0
- '@aws-sdk/credential-provider-node': 3.474.0
- '@aws-sdk/middleware-bucket-endpoint': 3.470.0
- '@aws-sdk/middleware-expect-continue': 3.468.0
- '@aws-sdk/middleware-flexible-checksums': 3.468.0
- '@aws-sdk/middleware-host-header': 3.468.0
- '@aws-sdk/middleware-location-constraint': 3.468.0
- '@aws-sdk/middleware-logger': 3.468.0
- '@aws-sdk/middleware-recursion-detection': 3.468.0
- '@aws-sdk/middleware-sdk-s3': 3.474.0
- '@aws-sdk/middleware-signing': 3.468.0
- '@aws-sdk/middleware-ssec': 3.468.0
- '@aws-sdk/middleware-user-agent': 3.470.0
- '@aws-sdk/region-config-resolver': 3.470.0
- '@aws-sdk/signature-v4-multi-region': 3.474.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-endpoints': 3.470.0
- '@aws-sdk/util-user-agent-browser': 3.468.0
- '@aws-sdk/util-user-agent-node': 3.470.0
- '@aws-sdk/xml-builder': 3.472.0
- '@smithy/config-resolver': 2.0.21
- '@smithy/eventstream-serde-browser': 2.0.15
- '@smithy/eventstream-serde-config-resolver': 2.0.15
- '@smithy/eventstream-serde-node': 2.0.15
- '@smithy/fetch-http-handler': 2.3.1
- '@smithy/hash-blob-browser': 2.0.16
- '@smithy/hash-node': 2.0.17
- '@smithy/hash-stream-node': 2.0.17
- '@smithy/invalid-dependency': 2.0.15
- '@smithy/md5-js': 2.0.17
- '@smithy/middleware-content-length': 2.0.17
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/middleware-retry': 2.0.24
- '@smithy/middleware-serde': 2.0.15
- '@smithy/middleware-stack': 2.0.9
- '@smithy/node-config-provider': 2.1.8
- '@smithy/node-http-handler': 2.2.1
- '@smithy/protocol-http': 3.0.11
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- '@smithy/util-base64': 2.0.1
- '@smithy/util-body-length-browser': 2.0.1
- '@smithy/util-body-length-node': 2.1.0
- '@smithy/util-defaults-mode-browser': 2.0.22
- '@smithy/util-defaults-mode-node': 2.0.29
- '@smithy/util-endpoints': 1.0.7
- '@smithy/util-retry': 2.0.8
- '@smithy/util-stream': 2.0.23
- '@smithy/util-utf8': 2.0.2
- '@smithy/util-waiter': 2.0.15
- fast-xml-parser: 4.2.5
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-6toUmQUIHkDM/P2/nyLEO/mcWOIPByTlegqX9VCHhYh9Fs5MDT2nit7I6fZzBjZjB5oVTwKjbzgxae9cE3bhqw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-crypto/sha256-browser': 3.0.0
- '@aws-crypto/sha256-js': 3.0.0
- '@aws-sdk/core': 3.474.0
- '@aws-sdk/middleware-host-header': 3.468.0
- '@aws-sdk/middleware-logger': 3.468.0
- '@aws-sdk/middleware-recursion-detection': 3.468.0
- '@aws-sdk/middleware-user-agent': 3.470.0
- '@aws-sdk/region-config-resolver': 3.470.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-endpoints': 3.470.0
- '@aws-sdk/util-user-agent-browser': 3.468.0
- '@aws-sdk/util-user-agent-node': 3.470.0
- '@smithy/config-resolver': 2.0.21
- '@smithy/fetch-http-handler': 2.3.1
- '@smithy/hash-node': 2.0.17
- '@smithy/invalid-dependency': 2.0.15
- '@smithy/middleware-content-length': 2.0.17
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/middleware-retry': 2.0.24
- '@smithy/middleware-serde': 2.0.15
- '@smithy/middleware-stack': 2.0.9
- '@smithy/node-config-provider': 2.1.8
- '@smithy/node-http-handler': 2.2.1
- '@smithy/protocol-http': 3.0.11
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- '@smithy/util-base64': 2.0.1
- '@smithy/util-body-length-browser': 2.0.1
- '@smithy/util-body-length-node': 2.1.0
- '@smithy/util-defaults-mode-browser': 2.0.22
- '@smithy/util-defaults-mode-node': 2.0.29
- '@smithy/util-endpoints': 1.0.7
- '@smithy/util-retry': 2.0.8
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-qPPMbrDVAUJgYiFWVewFG7dg0VyMfuGNNK4IC1nZr0eXejUTbdm8cio6IZ8OkWtK+A+L+wx1vX5686WYVgQ0dQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-crypto/sha256-browser': 3.0.0
- '@aws-crypto/sha256-js': 3.0.0
- '@aws-sdk/core': 3.474.0
- '@aws-sdk/credential-provider-node': 3.474.0
- '@aws-sdk/middleware-host-header': 3.468.0
- '@aws-sdk/middleware-logger': 3.468.0
- '@aws-sdk/middleware-recursion-detection': 3.468.0
- '@aws-sdk/middleware-user-agent': 3.470.0
- '@aws-sdk/region-config-resolver': 3.470.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-endpoints': 3.470.0
- '@aws-sdk/util-user-agent-browser': 3.468.0
- '@aws-sdk/util-user-agent-node': 3.470.0
- '@smithy/config-resolver': 2.0.21
- '@smithy/core': 1.1.0
- '@smithy/fetch-http-handler': 2.3.1
- '@smithy/hash-node': 2.0.17
- '@smithy/invalid-dependency': 2.0.15
- '@smithy/middleware-content-length': 2.0.17
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/middleware-retry': 2.0.24
- '@smithy/middleware-serde': 2.0.15
- '@smithy/middleware-stack': 2.0.9
- '@smithy/node-config-provider': 2.1.8
- '@smithy/node-http-handler': 2.2.1
- '@smithy/protocol-http': 3.0.11
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- '@smithy/util-base64': 2.0.1
- '@smithy/util-body-length-browser': 2.0.1
- '@smithy/util-body-length-node': 2.1.0
- '@smithy/util-defaults-mode-browser': 2.0.22
- '@smithy/util-defaults-mode-node': 2.0.29
- '@smithy/util-endpoints': 1.0.7
- '@smithy/util-middleware': 2.0.8
- '@smithy/util-retry': 2.0.8
- '@smithy/util-utf8': 2.0.2
- fast-xml-parser: 4.2.5
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-eVRdeB+AoTNSzfc4viHfr0jfkHujSlf4ToExJtTuxS1wlgmIyyxRNrVKxbf0K78YK/TXRsRlJPoS5QCD5h1S2w==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/core': 1.1.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/signature-v4': 2.0.18
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-k/1WHd3KZn0EQYjadooj53FC0z24/e4dUZhbSKTULgmxyO62pwh9v3Brvw4WRa/8o2wTffU/jo54tf4vGuP/ZA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/property-provider': 2.0.16
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-3Y2fHI4ZCNjdOO47Vh/xBgLXOrKm3KwBkYkBKKT2g02FUGNT8NLjJg8WBo3D4RQX2h34qx4mtW5nTY6YcGP80Q==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/credential-provider-env': 3.468.0
- '@aws-sdk/credential-provider-process': 3.468.0
- '@aws-sdk/credential-provider-sso': 3.474.0
- '@aws-sdk/credential-provider-web-identity': 3.468.0
- '@aws-sdk/types': 3.468.0
- '@smithy/credential-provider-imds': 2.1.4
- '@smithy/property-provider': 2.0.16
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-3OVVVGnb8Ru5hWeeHkg76YZT5mrufweIiWr6ge5zn7FYxc7WkyqIJ0XehqUqG5VQfaYhqh7uq/zmk8OE2B04lQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/credential-provider-env': 3.468.0
- '@aws-sdk/credential-provider-ini': 3.474.0
- '@aws-sdk/credential-provider-process': 3.468.0
- '@aws-sdk/credential-provider-sso': 3.474.0
- '@aws-sdk/credential-provider-web-identity': 3.468.0
- '@aws-sdk/types': 3.468.0
- '@smithy/credential-provider-imds': 2.1.4
- '@smithy/property-provider': 2.0.16
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-OYSn1A/UsyPJ7Z8Q2cNhTf55O36shPmSsvOfND04nSfu1nPaR+VUvvsP7v+brhGpwC/GAKTIdGAo4blH31BS6A==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/property-provider': 2.0.16
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-ik4rzhQtcRLSHB/MLQfi/dSpILxPd3zITb79DIEnqT3gpZRNjoARkZ3Hi68pujkU2530NYf8NcFwLCWoV1hS7Q==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/client-sso': 3.474.0
- '@aws-sdk/token-providers': 3.470.0
- '@aws-sdk/types': 3.468.0
- '@smithy/property-provider': 2.0.16
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-rexymPmXjtkwCPfhnUq3EjO1rSkf39R4Jz9CqiM7OsqK2qlT5Y/V3gnMKn0ZMXsYaQOMfM3cT5xly5R+OKDHlw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/property-provider': 2.0.16
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-vLXXNWtsRmEIwzJ9HUQfIuTNAsEzvCv0Icsnkvt2BiBZXnmHdp2vIC3e3+kfy1D7dVQloXqMmnfcLu/BUMu2Jw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-arn-parser': 3.465.0
- '@smithy/node-config-provider': 2.1.8
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- '@smithy/util-config-provider': 2.0.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-/wmLjmfgeulxhhmnxX3X3N933TvGsYckVIFjAtDSpLjqkbwzEcNiLq7AdmNJ4BfxG0MCMgcht561DCCD19x8Bg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-LQwL/N5MCj3Y5keLLewHTqeAXUIMsHFZyxDXRm/uxrOon9ufLKDvGvzAmfwn1/CuSUo66ZfT8VPSA4BsC90RtA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-crypto/crc32': 3.0.0
- '@aws-crypto/crc32c': 3.0.0
- '@aws-sdk/types': 3.468.0
- '@smithy/is-array-buffer': 2.0.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-gwQ+/QhX+lhof304r6zbZ/V5l5cjhGRxLL3CjH1uJPMcOAbw9wUlMdl+ibr8UwBZ5elfKFGiB1cdW/0uMchw0w==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-0gBX/lDynQr4YIhM9h1dVnkVWqrg+34iOCVIUq8jHxzUzgZWglGkG9lHGGg0r1xkLTmegeoo1OKH8wrQ6n33Cg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-X5XHKV7DHRXI3f29SAhJPe/OxWRFgDWDMMCALfzhmJfCi6Jfh0M14cJKoC+nl+dk9lB+36+jKjhjETZaL2bPlA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-vch9IQib2Ng9ucSyRW2eKNQXHUPb5jUPCLA5otTW/8nGjcOU37LxQG4WrxO7uaJ9Oe8hjHO+hViE3P0KISUhtA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-62aAo/8u5daIabeJ+gseYeHeShe9eYH6mH+kfWmLsHybXCCv1EaD/ZkdXWNhL0HZ3bUI1z1SF1p8jjTAWALnwA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-arn-parser': 3.465.0
- '@smithy/node-config-provider': 2.1.8
- '@smithy/protocol-http': 3.0.11
- '@smithy/signature-v4': 2.0.18
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/util-config-provider': 2.0.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-s+7fSB1gdnnTj5O0aCCarX3z5Vppop8kazbNSZADdkfHIDWCN80IH4ZNjY3OWqaAz0HmR4LNNrovdR304ojb4Q==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/property-provider': 2.0.16
- '@smithy/protocol-http': 3.0.11
- '@smithy/signature-v4': 2.0.18
- '@smithy/types': 2.7.0
- '@smithy/util-middleware': 2.0.8
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-y1qLW24wRkOGBTK5d6eJXf6d8HYo4rzT4a1mNDN1rd18NSffwQ6Yke5qeUiIaxa0y/l+FvvNYErbhYtij2rJoQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-s0YRGgf4fT5KwwTefpoNUQfB5JghzXyvmPfY1QuFEMeVQNxv0OPuydzo3rY2oXPkZjkulKDtpm5jzIHwut75hA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-endpoints': 3.470.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-C1o1J06iIw8cyAAOvHqT4Bbqf+PgQ/RDlSyjt2gFfP2OovDpc2o2S90dE8f8iZdSGpg70N5MikT1DBhW9NbhtQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/node-config-provider': 2.1.8
- '@smithy/types': 2.7.0
- '@smithy/util-config-provider': 2.0.0
- '@smithy/util-middleware': 2.0.8
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-+LRxblFirCLxezVTqgpwoHJsTnADXo4Dh98iBwlCuQ2HK4eXJmtmhbsVVYNO3ZkVbte4HLH5vbCZQwN8gMxrDg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/signature-v4-multi-region': 3.474.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-format-url': 3.468.0
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/protocol-http': 3.0.11
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-93OWRQgTJZASXLrlUNX7mmXknNkYxFYldRLARmYQccONmnIqgYQW0lQj8BFwqkHJTzSMik3/UsU0SHKwZ9ynYA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/middleware-sdk-s3': 3.474.0
- '@aws-sdk/types': 3.468.0
- '@smithy/protocol-http': 3.0.11
- '@smithy/signature-v4': 2.0.18
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-rzxnJxEUJiV69Cxsf0AHXTqJqTACITwcSH/PL4lWP4uvtzdrzSi3KA3u2aWHWpOcdE6+JFvdICscsbBSo3/TOg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-crypto/sha256-browser': 3.0.0
- '@aws-crypto/sha256-js': 3.0.0
- '@aws-sdk/middleware-host-header': 3.468.0
- '@aws-sdk/middleware-logger': 3.468.0
- '@aws-sdk/middleware-recursion-detection': 3.468.0
- '@aws-sdk/middleware-user-agent': 3.470.0
- '@aws-sdk/region-config-resolver': 3.470.0
- '@aws-sdk/types': 3.468.0
- '@aws-sdk/util-endpoints': 3.470.0
- '@aws-sdk/util-user-agent-browser': 3.468.0
- '@aws-sdk/util-user-agent-node': 3.470.0
- '@smithy/config-resolver': 2.0.21
- '@smithy/fetch-http-handler': 2.3.1
- '@smithy/hash-node': 2.0.17
- '@smithy/invalid-dependency': 2.0.15
- '@smithy/middleware-content-length': 2.0.17
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/middleware-retry': 2.0.24
- '@smithy/middleware-serde': 2.0.15
- '@smithy/middleware-stack': 2.0.9
- '@smithy/node-config-provider': 2.1.8
- '@smithy/node-http-handler': 2.2.1
- '@smithy/property-provider': 2.0.16
- '@smithy/protocol-http': 3.0.11
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- '@smithy/util-base64': 2.0.1
- '@smithy/util-body-length-browser': 2.0.1
- '@smithy/util-body-length-node': 2.1.0
- '@smithy/util-defaults-mode-browser': 2.0.22
- '@smithy/util-defaults-mode-node': 2.0.29
- '@smithy/util-endpoints': 1.0.7
- '@smithy/util-retry': 2.0.8
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- transitivePeerDependencies:
- - aws-crt
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-rx/9uHI4inRbp2tw3Y4Ih4PNZkVj32h7WneSg3MVgVjAoVD5Zti9KhS5hkvsBxfgmQmg0AQbE+b1sy5WGAgntA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-zOJ82vzDJFqBX9yZBlNeHHrul/kpx/DCoxzW5UBbZeb26kfV53QhMSoEmY8/lEbBqlqargJ/sgRC845GFhHNQw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-6N6VvPCmu+89p5Ez/+gLf+X620iQ9JpIs8p8ECZiCodirzFOe8NC1O2S7eov7YiG9IHSuodqn/0qNq+v+oLe0A==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/util-endpoints': 1.0.7
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-CtHApPmudJz/Z2MHVogWfkaSw4wWHQKVLQs4Q5XjvLcDSzODzxHbiOIckFCXQm2Mme4+TTe4GFU9g869ufegXg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/querystring-builder': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-f+QNcWGswredzC1ExNAB/QzODlxwaTdXkNT5cvke2RLX8SFU5pYk6h4uCtWC0vWPELzOfMfloBrJefBzlarhsw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-OJyhWWsDEizR3L+dCgMXSUmaCywkiZ7HSbnQytbeKGwokIhD69HTiJcibF/sgcM5gk4k3Mq3puUhGnEZ46GIig==}
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/types': 2.7.0
- bowser: 2.11.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-QxsZ9iVHcBB/XRdYvwfM5AMvNp58HfqkIrH88mY0cmxuvtlIGDfWjczdDrZMJk9y0vIq+cuoCHsGXHu7PyiEAQ==}
- engines: {node: '>=14.0.0'}
- peerDependencies:
- aws-crt: '>=1.0.0'
- peerDependenciesMeta:
- aws-crt:
- optional: true
- dependencies:
- '@aws-sdk/types': 3.468.0
- '@smithy/node-config-provider': 2.1.8
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-UvFa/vR+e19XookZF8RzFZBrw2EUkQWxiBW0yYQAhvk3C+QVGl0H3ouca8LDBlBfQKXwmW3huo/59H8rwb1wJw==}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@aws-sdk/[email protected]:
- resolution: {integrity: sha512-PwjVxz1hr9up8QkddabuScPZ/d5aDHgvHYgK4acHYzltXL4wngfvimi5ZqXTzVWF2QANxHmWnHUr45QJX71oJQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==}
dependencies:
@@ -1122,6 +520,7 @@ packages:
engines: {node: '>=6.9.0'}
dependencies:
regenerator-runtime: 0.14.0
+ dev: true
resolution: {integrity: sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==}
@@ -2079,626 +1478,174 @@ packages:
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
'@types/react': 18.2.38
'@types/react-dom': 18.2.17
- react: 18.2.0
- react-dom: 18.2.0([email protected])
- dev: false
-
- resolution: {integrity: sha512-3mrKauI/tWXo1Ll+gN5dHcxDPdm/Df1ufcDLCecn+pnCIVcdWE7CujXo8QaXOWRJyZyQWWbpB8eFwHzWXlv5mQ==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-compose-refs': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.23.6
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0
- dependencies:
- '@babel/runtime': 7.23.6
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/rect': 1.0.1
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}
- peerDependencies:
- '@types/react': '*'
- react: ^16.8 || ^17.0 || ^18.0
- peerDependenciesMeta:
- '@types/react':
- optional: true
- dependencies:
- '@babel/runtime': 7.23.6
- '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
- '@types/react': 18.2.38
- react: 18.2.0
- dev: false
-
- /@radix-ui/[email protected]:
- resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
- dependencies:
- '@babel/runtime': 7.23.6
- dev: false
-
- /@remix-run/[email protected]:
- resolution: {integrity: sha512-5dMOnVnefRsl4uRnAdoWjtVTdh8e6aZqgM4puy9nmEADH72ck+uXwzpJLEKE9Q6F8ZljNewLgmTfkxUrBdv4WA==}
- engines: {node: '>=14.0.0'}
-
- /@rushstack/[email protected]:
- resolution: {integrity: sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==}
- dev: true
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-JkS36PIS3/UCbq/MaozzV7jECeL+BTt4R75bwY8i+4RASys4xOyUS1HsRyUNSqUXFP4QyCz5aNnh3ltuaxv+pw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-N2oCZRglhWKm7iMBu7S6wDzXirjAofi7tAd26cxmgibRYOBS4D3hGfmkwCpHdASZzwZDD8rluh0Rcqw1JeZDRw==}
- dependencies:
- '@smithy/util-base64': 2.0.1
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-k+J4GHJsMSAIQPChGBrjEmGS+WbPonCXesoqP9fynIqjn7rdOThdH8FAeCmokP9mxTYKQAKoHCLPzNlm6gh7Wg==}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-rlLIGT+BeqjnA6C2FWumPRJS1UW07iU5ZxDHtFuyam4W65gIaOFMjkB90ofKCIh+0mLVQrQFrl/VLtQT/6FWTA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/node-config-provider': 2.1.8
- '@smithy/types': 2.7.0
- '@smithy/util-config-provider': 2.0.0
- '@smithy/util-middleware': 2.0.8
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-k1zaT5S4K0bG67Q5TmPZ6PdWNQBTMQErChuDvTi+NTx21kKDt+/4YRidsK6nDbHizN6fn1bafUxrougZdKrpxA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/middleware-endpoint': 2.2.3
- '@smithy/middleware-retry': 2.0.24
- '@smithy/middleware-serde': 2.0.15
- '@smithy/protocol-http': 3.0.11
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-cwPJN1fa1YOQzhBlTXRavABEYRRchci1X79QRwzaNLySnIMJfztyv1Zkst0iZPLMnpn8+CnHu3wOHS11J5Dr3A==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/node-config-provider': 2.1.8
- '@smithy/property-provider': 2.0.16
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-crjvz3j1gGPwA0us6cwS7+5gAn35CTmqu/oIxVbYJo2Qm/sGAye6zGJnMDk3BKhWZw5kcU1G4MxciTkuBpOZPg==}
- dependencies:
- '@aws-crypto/crc32': 3.0.0
- '@smithy/types': 2.7.0
- '@smithy/util-hex-encoding': 2.0.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-WiFG5N9j3jmS5P0z5Xev6dO0c3lf7EJYC2Ncb0xDnWFvShwXNn741AF71ABr5EcZw8F4rQma0362MMjAwJeZog==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/eventstream-serde-universal': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-o65d2LRjgCbWYH+VVNlWXtmsI231SO99ZTOL4UuIPa6WTjbSHWtlXvUcJG9libhEKWmEV9DIUiH2IqyPWi7ubA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-9OOXiIhHq1VeOG6xdHkn2ZayfMYM3vzdUTV3zhcCnt+tMqA3BJK3XXTJFRR2BV28rtRM778DzqbBTf+hqwQPTg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/eventstream-serde-universal': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-dP8AQp/pXlWBjvL0TaPBJC3rM0GoYv7O0Uim8d/7UKZ2Wo13bFI3/BhQfY/1DeiP1m23iCHFNFtOQxfQNBB8rQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/eventstream-codec': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-6MNk16fqb8EwcYY8O8WxB3ArFkLZ2XppsSNo1h7SQcFdDDwIumiJeO6wRzm7iB68xvsOQzsdQKbdtTieS3hfSQ==}
- dependencies:
- '@smithy/protocol-http': 3.0.11
- '@smithy/querystring-builder': 2.0.15
- '@smithy/types': 2.7.0
- '@smithy/util-base64': 2.0.1
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-cSYRi05LA7DZDwjB1HL0BP8B56eUNNeLglVH147QTXFyuXJq/7erAIiLRfsyXB8+GfFHkSS5BHbc76a7k/AYPA==}
- dependencies:
- '@smithy/chunked-blob-reader': 2.0.0
- '@smithy/chunked-blob-reader-native': 2.0.1
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-Il6WuBcI1nD+e2DM7tTADMf01wEPGK8PAhz4D+YmDUVaoBqlA+CaH2uDJhiySifmuKBZj748IfygXty81znKhw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- '@smithy/util-buffer-from': 2.0.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-ey8DtnATzp1mOXgS7rqMwSmAki6iJA+jgNucKcxRkhMB1rrICfHg+rhmIF50iLPDHUhTcS5pBMOrLzzpZftvNQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-dlEKBFFwVfzA5QroHlBS94NpgYjXhwN/bFfun+7w3rgxNvVy79SK0w05iGc7UAeC5t+D7gBxrzdnD6hreZnDVQ==}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-z3PjFjMyZNI98JFRJi/U0nGoLWMSJlDjAW4QUX2WNZLas5C0CmVV6LJ01JI0k90l7FvpmixjWxPFmENSClQ7ug==}
- engines: {node: '>=14.0.0'}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-jmISTCnEkOnm2oCNx/rMkvBT/eQh3aA6nktevkzbmn/VYqYEuc5Z2n5sTTqsciMSO01Lvf56wG1A4twDqovYeQ==}
- dependencies:
- '@smithy/types': 2.7.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-OyadvMcKC7lFXTNBa8/foEv7jOaqshQZkjWS9coEXPRZnNnihU/Ls+8ZuJwGNCOrN2WxXZFmDWhegbnM4vak8w==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/protocol-http': 3.0.11
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-nYfxuq0S/xoAjdLbyn1ixeVB6cyH9wYCMtbbOCpcCRYR5u2mMtqUtVjjPAZ/DIdlK3qe0tpB0Q76szFGNuz+kQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/middleware-serde': 2.0.15
- '@smithy/node-config-provider': 2.1.8
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- '@smithy/url-parser': 2.0.15
- '@smithy/util-middleware': 2.0.8
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-q2SvHTYu96N7lYrn3VSuX3vRpxXHR/Cig6MJpGWxd0BWodUQUWlKvXpWQZA+lTaFJU7tUvpKhRd4p4MU3PbeJg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/node-config-provider': 2.1.8
- '@smithy/protocol-http': 3.0.11
- '@smithy/service-error-classification': 2.0.8
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- '@smithy/util-middleware': 2.0.8
- '@smithy/util-retry': 2.0.8
- tslib: 2.6.2
- uuid: 8.3.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-FOZRFk/zN4AT4wzGuBY+39XWe+ZnCFd0gZtyw3f9Okn2CJPixl9GyWe98TIaljeZdqWkgrzGyPre20AcW2UMHQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-bCB5dUtGQ5wh7QNL2ELxmDc6g7ih7jWU3Kx6MYH1h4mZbv9xL3WyhKHojRltThCB1arLPyTUFDi+x6fB/oabtA==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-+w26OKakaBUGp+UG+dxYZtFb5fs3tgHg3/QrRrmUZj+rl3cIuw840vFUXX35cVPTUCQIiTqmz7CpVF7+hdINdQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/property-provider': 2.0.16
- '@smithy/shared-ini-file-loader': 2.2.7
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-8iAKQrC8+VFHPAT8pg4/j6hlsTQh+NKOWlctJBrYtQa4ExcxX7aSg3vdQ2XLoYwJotFUurg/NLqFCmZaPRrogw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/abort-controller': 2.0.15
- '@smithy/protocol-http': 3.0.11
- '@smithy/querystring-builder': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-28Ky0LlOqtEjwg5CdHmwwaDRHcTWfPRzkT6HrhwOSRS2RryAvuDfJrZpM+BMcrdeCyEg1mbcgIMoqTla+rdL8Q==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-3ziB8fHuXIRamV/akp/sqiWmNPR6X+9SB8Xxnozzj+Nq7hSpyKdFHd1FLpBkgfGFUTzzcBJQlDZPSyxzmdcx5A==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-e1q85aT6HutvouOdN+dMsN0jcdshp50PSCvxDvo6aIM57LqeXimjfONUEgfqQ4IFpYWAtVixptyIRE5frMp/2A==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- '@smithy/util-uri-escape': 2.0.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-jbBvoK3cc81Cj1c1TH1qMYxNQKHrYQ2DoTntN9FBbtUWcGhc+T4FP6kCKYwRLXyU4AajwGIZstvNAmIEgUUNTQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-jCw9+005im8tsfYvwwSc4TTvd29kXRFkH9peQBg5R/4DD03ieGm6v6Hpv9nIAh98GwgYg1KrztcINC1s4o7/hg==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-0Qt5CuiogIuvQIfK+be7oVHcPsayLgfLJGkPlbgdbl0lD28nUKu4p11L+UG3SAEsqc9UsazO+nErPXw7+IgDpQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-SJRAj9jT/l9ocm8D0GojMbnA1sp7I4JeStOQ4lEXI8A5eHE73vbjlzlqIFB7cLvIgau0oUl4cGVpF9IGCrvjlw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/eventstream-codec': 2.0.15
- '@smithy/is-array-buffer': 2.0.0
- '@smithy/types': 2.7.0
- '@smithy/util-hex-encoding': 2.0.0
- '@smithy/util-middleware': 2.0.8
- '@smithy/util-uri-escape': 2.0.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-7FqdbaJiVaHJDD9IfDhmzhSDbpjyx+ZsfdYuOpDJF09rl8qlIAIlZNoSaflKrQ3cEXZN2YxGPaNWGhbYimyIRQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/middleware-stack': 2.0.9
- '@smithy/types': 2.7.0
- '@smithy/util-stream': 2.0.23
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-1OIFyhK+vOkMbu4aN2HZz/MomREkrAC/HqY5mlJMUJfGrPRwijJDTeiN8Rnj9zUaB8ogXAfIOtZrrgqZ4w7Wnw==}
- engines: {node: '>=14.0.0'}
- dependencies:
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-sADUncUj9rNbOTrdDGm4EXlUs0eQ9dyEo+V74PJoULY4jSQxS+9gwEgsPYyiu8PUOv16JC/MpHonOgqP/IEDZA==}
- dependencies:
- '@smithy/querystring-parser': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
-
- /@smithy/[email protected]:
- resolution: {integrity: sha512-DlI6XFYDMsIVN+GH9JtcRp3j02JEVuWIn/QOZisVzpIAprdsxGveFed0bjbMRCqmIFe8uetn5rxzNrBtIGrPIQ==}
- engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/util-buffer-from': 2.0.0
- tslib: 2.6.2
+ react: 18.2.0
+ react-dom: 18.2.0([email protected])
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-NXYp3ttgUlwkaug4bjBzJ5+yIbUbUx8VsSLuHZROQpoik+gRkIBeEG9MPVYfvPNpuXb/puqodeeUXcKFe7BLOQ==}
+ resolution: {integrity: sha512-3mrKauI/tWXo1Ll+gN5dHcxDPdm/Df1ufcDLCecn+pnCIVcdWE7CujXo8QaXOWRJyZyQWWbpB8eFwHzWXlv5mQ==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
dependencies:
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-compose-refs': 1.0.0([email protected])
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-/li0/kj/y3fQ3vyzn36NTLGmUwAICb7Jbe/CsWCktW363gh1MOcpEcSO3mJ344Gv2dqz8YJCLQpb6hju/0qOWw==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-/YNnLoHsR+4W4Vf2wL5lGv0ksg8Bmk3GEGxn2vEQt52AQaPSCuaO5PM5VM7lP1K9qHRKHwrPGktqVoAHKWHxzw==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-GZtyzoHz95Rhs6S63D2t/eqvdFCm7I+yHMLVQheKM7nBD8mbZIt+ct1jz4536MDnaOGKIxynJ8eHTkVGVVkoTg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
dependencies:
- '@smithy/is-array-buffer': 2.0.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-xCQ6UapcIWKxXHEU4Mcs2s7LcFQRiU3XEluM2WcCjjBtQkUN71Tb+ydGmJFPxMUrW/GWMgQEEGipLym4XG0jZg==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-qcF20IHHH96FlktvBRICDXDhLPtpVmtksHmqNGtotb9B0DYWXsC6jWXrkhrrwF7tH26nj+npVTqh9isiFV1gdA==}
- engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-FohDoZvk3mEXh9AWAVyRTYR4Sq7/gavuofglmiXB2g1aKyboUD4YtgWxKj8O5n+Uak52gXQ4wKz5IFST4vtJHg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
dependencies:
- '@smithy/property-provider': 2.0.16
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- bowser: 2.11.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-+uG/15VoUh6JV2fdY9CM++vnSuMQ1VKZ6BdnkUM7R++C/vLjnlg+ToiSR1FqKZbMmKBXmsr8c/TsDWMAYvxbxQ==}
- engines: {node: '>= 10.0.0'}
+ resolution: {integrity: sha512-Svl5GY5FQeN758fWKrjM6Qb7asvXeiZltlT4U2gVfl8Gx5UAv2sMR0LWo8yhsIZh2oQ0eFdZ59aoOOMV7b47VA==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- '@smithy/config-resolver': 2.0.21
- '@smithy/credential-provider-imds': 2.1.4
- '@smithy/node-config-provider': 2.1.8
- '@smithy/property-provider': 2.0.16
- '@smithy/smithy-client': 2.1.18
- '@smithy/types': 2.7.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-Q2gEind3jxoLk6hdKWyESMU7LnXz8aamVwM+VeVjOYzYT1PalGlY/ETa48hv2YpV4+YV604y93YngyzzzQ4IIA==}
- engines: {node: '>= 14.0.0'}
+ resolution: {integrity: sha512-JwfBCUIfhXRxKExgIqGa4CQsiMemo1Xt0W/B4ei3fpzpvPENKpMKQ8mZSB6Acj3ebrAEgi2xiQvcI1PAAodvyg==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
dependencies:
- '@smithy/node-config-provider': 2.1.8
- '@smithy/types': 2.7.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-use-callback-ref': 1.0.0([email protected])
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-c5xY+NUnFqG6d7HFh1IFfrm3mGl29lC+vF+geHv4ToiuJCBmIfzx6IeHLg+OgRdPFKDXIw6pvi+p3CsscaMcMA==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-vyL82j40hcFicA+M4Ex7hVkB9vHgSse1ZWomAqV2Je3RleKGO5iM8KMOEtfoSB0PnIelMd2lATjTGMYqN5ylTg==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-qkvqQjM8fRGGA8P2ydWylMhenCDP8VlkPn8kiNuFEaFz9xnUKC2irfqsBSJrfrOB9Qt6pQsI58r3zvvumhFMkw==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==}
+ peerDependencies:
+ react: ^16.8 || ^17.0 || ^18.0
dependencies:
- '@smithy/types': 2.7.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-cQTPnVaVFMjjS6cb44WV2yXtHVyXDC5icKyIbejMarJEApYeJWpBU3LINTxHqp/tyLI+MZOUdosr2mZ3sdziNg==}
- engines: {node: '>= 14.0.0'}
+ resolution: {integrity: sha512-v/5RegiJWYdoCvMnITBkNNx6bCj20fiaJnWtRkU18yITptraXjffz5Qbn05uOiQnOvi+dbkznkoaMltz1GnszQ==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- '@smithy/service-error-classification': 2.0.8
- '@smithy/types': 2.7.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-OJMWq99LAZJUzUwTk+00plyxX3ESktBaGPhqNIEVab+53gLULiWN9B/8bRABLg0K6R6Xg4t80uRdhk3B/LZqMQ==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-Cq5DLuSiuYVKNU8orzJMbl15TXilTnJKUCltMVQg53BQOF1/C5toAaGrowkgksdBQ9H+SRL23g0HDmg9tvmxXw==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- '@smithy/fetch-http-handler': 2.3.1
- '@smithy/node-http-handler': 2.2.1
- '@smithy/types': 2.7.0
- '@smithy/util-base64': 2.0.1
- '@smithy/util-buffer-from': 2.0.0
- '@smithy/util-hex-encoding': 2.0.0
- '@smithy/util-utf8': 2.0.2
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/rect': 1.0.1
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-ebkxsqinSdEooQduuk9CbKcI+wheijxEb3utGXkCoYQkJnwTnLbH1JXGimJtUkQwNQbsbuYwG2+aFVyZf5TLaw==}
- engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-ibay+VqrgcaI6veAojjofPATwledXiSmX+C0KrBk/xgpX9rBzPV3OsfwlhQdUOFbh+LKQorLYT+xTXW9V8yd0g==}
+ peerDependencies:
+ '@types/react': '*'
+ react: ^16.8 || ^17.0 || ^18.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
dependencies:
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
+ '@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
+ '@types/react': 18.2.38
+ react: 18.2.0
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-qOiVORSPm6Ce4/Yu6hbSgNHABLP2VMv8QOC3tTDNHHlWY19pPyc++fBTbZPtx6egPXi4HQxKDnMxVxpbtX2GoA==}
- engines: {node: '>=14.0.0'}
+ /@radix-ui/[email protected]:
+ resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
dependencies:
- '@smithy/util-buffer-from': 2.0.0
- tslib: 2.6.2
+ '@babel/runtime': 7.23.6
dev: false
- /@smithy/[email protected]:
- resolution: {integrity: sha512-9Y+btzzB7MhLADW7xgD6SjvmoYaRkrb/9SCbNGmNdfO47v38rxb90IGXyDtAK0Shl9bMthTmLgjlfYc+vtz2Qw==}
+ /@remix-run/[email protected]:
+ resolution: {integrity: sha512-5dMOnVnefRsl4uRnAdoWjtVTdh8e6aZqgM4puy9nmEADH72ck+uXwzpJLEKE9Q6F8ZljNewLgmTfkxUrBdv4WA==}
engines: {node: '>=14.0.0'}
- dependencies:
- '@smithy/abort-controller': 2.0.15
- '@smithy/types': 2.7.0
- tslib: 2.6.2
- dev: false
+
+ /@rushstack/[email protected]:
+ resolution: {integrity: sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA==}
+ dev: true
/@supabase/[email protected](@supabase/[email protected]):
resolution: {integrity: sha512-iYdOjFo0GkRvha340l8JdCiBiyXQuG9v8jnq7qMJ/2fakrskRgHTCOt7ryWbip1T6BExcWKC8SoJrhCzPOxhhg==}
@@ -3429,14 +2376,6 @@ packages:
has-symbols: 1.0.3
dev: true
- resolution: {integrity: sha512-XSuK8udXMrHn24PvCuBNGWP6vXgSkCscCl9RokPmKhN/VQUdzuG2inZ03+UU86R1r6p6OCO30yWSPioBPxCXiQ==}
- engines: {node: '>=16.1.0'}
- dependencies:
- '@babel/runtime': 7.23.6
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==}
engines: {node: ^10 || ^12 || >=14}
@@ -3506,10 +2445,6 @@ packages:
readable-stream: 3.6.2
dev: true
- resolution: {integrity: sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA==}
- dev: false
-
resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==}
dependencies:
@@ -3528,15 +2463,6 @@ packages:
dependencies:
fill-range: 7.0.1
- resolution: {integrity: sha512-yodrZzqxxxSEDkCBpGVeRHIfZwGy44rUaud+VVech6LfvTCHM3VMEkggIGfG245P8g+oboXPj7UxwRobaw0qTg==}
- dependencies:
- '@babel/runtime': 7.23.6
- fast-unique-numbers: 8.0.11
- tslib: 2.6.2
- worker-factory: 7.0.14
- dev: false
-
resolution: {integrity: sha512-FEVc202+2iuClEhZhrWy6ZiAcRLvNMyYcxZ8raemul1DYVOVdFsbqckWLdsixQZCpJlwe77Z3UTalE7jsjnKfQ==}
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
@@ -3757,16 +2683,6 @@ packages:
resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}
engines: {node: '>= 6'}
- resolution: {integrity: sha512-RFnWGXkkhOPkTylgNYPR3hyjJrZ02hgWe/F1UeZfIb+nhk7m9pn/6pvNeE2JZYeqixX5LE+PhjSs7RwrMbkRbQ==}
- engines: {node: '>=16.1.0'}
- dependencies:
- '@babel/runtime': 7.23.6
- dashify: 2.0.0
- indefinite-article: 0.0.2
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}
@@ -3810,11 +2726,6 @@ packages:
resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==}
dev: true
- resolution: {integrity: sha512-hpA5C/YrPjucXypHPPc0oJ1l9Hf6wWbiOL7Ik42cxnsUOhWiCB/fylKbKqqJalW9FgkNQCw16YO8uW9Hs0Iy1A==}
- engines: {node: '>=4'}
- dev: false
-
resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==}
engines: {node: '>= 12'}
@@ -4638,44 +3549,6 @@ packages:
strip-final-newline: 2.0.0
dev: true
- resolution: {integrity: sha512-hksE28PkfWTeKEWEUK23juZbIRMB+nvPv+xK/KroQX4XXi5KjPFjrIuhQOJNA3Rfn9uh0zvh/sjJ1BUqc6mmTA==}
- dependencies:
- '@babel/runtime': 7.23.4
- broker-factory: 3.0.88
- extendable-media-recorder-wav-encoder-worker: 8.0.89
- tslib: 2.6.2
- dev: false
-
- resolution: {integrity: sha512-sVKq7Ahb8qIL40WqJ6DslpSM9f21CNdsJa8Fv6SDZeeGg6mgCtCMdQvTR28UIdm7cYZwFfF3sA0m9dpS1g7www==}
- dependencies:
- '@babel/runtime': 7.23.4
- tslib: 2.6.2
- worker-factory: 7.0.14
- dev: false
-
- resolution: {integrity: sha512-8Fq9xpXnTnM0KA5s+gGTTD0t8NJdwnyFwLh7gZDNmr4khdSiIW0uYnm+WxP16erxcvF+8TemZvfAxAY+NQwX8g==}
- dependencies:
- '@babel/runtime': 7.23.4
- extendable-media-recorder-wav-encoder-broker: 7.0.92
- extendable-media-recorder-wav-encoder-worker: 8.0.89
- tslib: 2.6.2
- dev: false
-
- resolution: {integrity: sha512-NwyJwRYT1E+Ti0mIFmn1X3uR/aNG/9AX6qqtlfnasMWduoXiZr51b3QxjZrz/A2JYUivEb8iIAVyt4Qi6gTdYw==}
- dependencies:
- '@babel/runtime': 7.23.4
- media-encoder-host: 8.0.103
- multi-buffer-data-view: 5.0.12
- recorder-audio-worklet: 6.0.16
- standardized-audio-context: 25.3.59
- subscribable-things: 2.1.27
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==}
engines: {node: '>=4'}
@@ -4711,21 +3584,6 @@ packages:
resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==}
dev: true
- resolution: {integrity: sha512-FmTi6tqMymufGgYEGKWez0I3Ji9ykhHjVzhqhPFOQ3j+IM6Y4PMo+Q17BVCKmCjK6QiFJ+YVINaYScOyFrkzew==}
- engines: {node: '>=16.1.0'}
- dependencies:
- '@babel/runtime': 7.23.6
- tslib: 2.6.2
- dev: false
-
- resolution: {integrity: sha512-B9/wizE4WngqQftFPmdaMYlXoJlJOYxGQOanC77fq9k8+Z0v5dDSVh+3glErdIROP//s/jgb7ZuxKfB8nVyo0g==}
- hasBin: true
- dependencies:
- strnum: 1.0.5
- dev: false
-
resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==}
dependencies:
@@ -5146,10 +4004,6 @@ packages:
engines: {node: '>=0.8.19'}
dev: true
- resolution: {integrity: sha512-Au/2XzRkvxq2J6w5uvSSbBKPZ5kzINx5F2wb0SF8xpRL8BP9Lav81TnRbfPp6p+SYjYxwaaLn4EUwI3/MmYKSw==}
- dev: false
-
resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}
engines: {node: '>=8'}
@@ -5649,34 +4503,6 @@ packages:
resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==}
dev: true
- resolution: {integrity: sha512-7WQqJLDjYwdMN0YpwviWoXLXwr8jV1urFq7FiJokwuwm98AfvTUObhKmlTC/jTcZjnJd+srtAMm7UeJIENQSEg==}
- dependencies:
- '@babel/runtime': 7.23.6
- broker-factory: 3.0.88
- fast-unique-numbers: 8.0.11
- media-encoder-host-worker: 9.1.15
- tslib: 2.6.2
- dev: false
-
- resolution: {integrity: sha512-dXMtkitZWLMRQWVLx4ZZY08gvyaRSwILOtU8BYdpX5VHfgl6z97qT690aV4wSZZQhjIio3CoQymePF0fbjwHQA==}
- dependencies:
- '@babel/runtime': 7.23.6
- extendable-media-recorder-wav-encoder-broker: 7.0.92
- tslib: 2.6.2
- worker-factory: 7.0.14
- dev: false
-
- resolution: {integrity: sha512-VS30ZDwpHKZ6b93kZIl9XZKnVROhPwKtGrk52xa+mzerIhN9Ip7QKgEG8j/++UBp1QVTjjosqJEfSNJqFdZ/kg==}
- dependencies:
- '@babel/runtime': 7.23.6
- media-encoder-host-broker: 7.0.93
- media-encoder-host-worker: 9.1.15
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
dev: true
@@ -5753,14 +4579,6 @@ packages:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
dev: true
- resolution: {integrity: sha512-1aHt9sn6EzSm2FgtlMsWzIMpPUMvO40Qck0Pa+5svTz8AGWXfI80qr1TM7DsLD6Eh/9GddLPgbm3Age+EYZMdA==}
- engines: {node: '>=16.1.0'}
- dependencies:
- '@babel/runtime': 7.23.6
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==}
dev: true
@@ -6452,26 +5270,6 @@ packages:
dependencies:
picomatch: 2.3.1
- resolution: {integrity: sha512-vzZFlxHcmLwbmzBvy64nQY1fE8ynVlC+jCgn3zUg0dfuVnj11ccxigGw7O9zd8s8Mo1qRFPzSEj9Ktp7bwFDyg==}
- dependencies:
- '@babel/runtime': 7.23.6
- tslib: 2.6.2
- dev: false
-
- resolution: {integrity: sha512-F2cgFUMrE/HWPiLbBFAKL05SVcBN/vms2yUCVowZwbJToaaeO+2iOdOCONuU2xMAqCgGEWIp1KhQsEXVEmHixA==}
- dependencies:
- '@babel/runtime': 7.23.6
- broker-factory: 3.0.88
- fast-unique-numbers: 8.0.11
- recorder-audio-worklet-processor: 5.0.11
- standardized-audio-context: 25.3.59
- subscribable-things: 2.1.27
- tslib: 2.6.2
- worker-factory: 7.0.14
- dev: false
-
resolution: {integrity: sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw==}
engines: {node: '>= 0.4'}
@@ -6582,10 +5380,6 @@ packages:
dependencies:
queue-microtask: 1.2.3
- resolution: {integrity: sha512-ASEq9atUw7lualXB+knvgtvwkCEvGWV2gDD/8qnASzBkzEARZck9JAyxmY8OS6Nc1pCPEgDTKNcx+YqqYfzArw==}
- dev: false
-
resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==}
engines: {npm: '>=2.0.0'}
@@ -6762,14 +5556,6 @@ packages:
resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}
dev: true
- resolution: {integrity: sha512-iyzP4sgW2oBSHE7QSMG+I5txft0s9Icw9ClNo2LkNzWbtUYgsEPNJsQ2XZffm3tP3chUpHXJ2br1gY8u7rPkeg==}
- dependencies:
- '@babel/runtime': 7.23.6
- automation-events: 6.0.12
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}
engines: {node: '>=10.0.0'}
@@ -6856,10 +5642,6 @@ packages:
engines: {node: '>=8'}
dev: true
- resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==}
- dev: false
-
resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==}
engines: {node: '>= 12.0.0'}
@@ -6877,14 +5659,6 @@ packages:
react: 18.2.0
dev: false
- resolution: {integrity: sha512-EcuBfa90nLXu9n8uADFGiBlPxeOUymYCle136Zc+WwD4jr4h2Rk638POAoyY/j+/Af98zm1CiqYAF/tfyncojw==}
- dependencies:
- '@babel/runtime': 7.23.6
- rxjs-interop: 2.0.0
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw==}
engines: {node: '>=8'}
@@ -7124,6 +5898,7 @@ packages:
resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==}
+ dev: true
resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==}
@@ -7355,11 +6130,6 @@ packages:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
- resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
- hasBin: true
- dev: false
-
resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==}
dev: true
@@ -7514,15 +6284,6 @@ packages:
resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==}
dev: true
- resolution: {integrity: sha512-YK+TbwFJX4dTKHFn7MW9IeDBNCAhl8wBlz9mqvQiPVQtX2gkZEsHIfhL8OqHYlaW6e+qINdauyNAmb/GI+KoWA==}
- dependencies:
- '@babel/runtime': 7.23.6
- compilerr: 11.0.12
- fast-unique-numbers: 8.0.11
- tslib: 2.6.2
- dev: false
-
resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
engines: {node: '>=8'}