diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..f295c21 --- /dev/null +++ b/.clang-format @@ -0,0 +1,6 @@ +BasedOnStyle: LLVM +IndentWidth: 8 +TabWidth: 8 +UseTab: Always +ColumnLimit: 80 +BreakBeforeBraces: Linux diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 4e2c260..e630d5a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -7,7 +7,7 @@ ARG USER_GID=$USER_UID ENV RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ - RUST_VERSION=1.80.0 + RUST_VERSION=1.85.0 # Install common dependencies RUN set -eux; \ diff --git a/.editorconfig b/.editorconfig index 511fd1a..347979c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,5 +8,9 @@ end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true +[{*.c,*.h}] +indent_style = tab +indent_size = 8 + [{Makefile,Makefile.in}] indent_style = tab diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a51454a..163bbe9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,5 +1,6 @@ name: Build on: + workflow_dispatch: push: paths-ignore: - LICENSE @@ -31,7 +32,7 @@ jobs: run: | # Set the matrix to include arm64 if the ref is a tag or is the dev branch if [[ "${{ github.ref }}" == "refs/tags/"* || "${{ github.ref }}" == "refs/heads/dev" ]]; then - echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "arm64", "arch": "arm64"}]' >> $GITHUB_OUTPUT + echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}, {"runner": "ubuntu-24.04-arm", "arch": "ubuntu-24.04-arm"}]' >> $GITHUB_OUTPUT else echo 'matrix=[{"runner": "ubuntu-latest", "arch": "amd64"}]' >> $GITHUB_OUTPUT fi @@ -53,6 +54,7 @@ jobs: repository: yuezk/GlobalProtect-openconnect ref: ${{ github.ref }} path: source/gp + submodules: recursive - name: Create tarball run: | @@ -132,9 +134,8 @@ jobs: - tarball strategy: matrix: - # Only build gp on amd64, as the arm64 package will be built in release.yaml - os: [{runner: ubuntu-latest, arch: amd64}] - package: [deb, rpm, pkg, binary] + os: ${{fromJson(needs.setup-matrix.outputs.matrix)}} + package: [deb, rpm, pkg, binary, ubuntu-rolling] runs-on: ${{ matrix.os.runner }} name: build-gp (${{ matrix.package }}, ${{ matrix.os.arch }}) steps: @@ -152,16 +153,20 @@ jobs: - name: Build ${{ matrix.package }} package in Docker run: | docker run --pull=always --rm \ - -v $(pwd)/build-gp-${{ matrix.package }}:/${{ matrix.package }} \ + -e COREPACK_INTEGRITY_KEYS=0 \ + -v $(pwd)/build-gp-${{ matrix.package }}:/workspace \ yuezk/gpdev:${{ matrix.package }}-builder-tauri2 - name: Install ${{ matrix.package }} package in Docker run: | docker run --pull=always --rm \ + -e COREPACK_INTEGRITY_KEYS=0 \ -e GPGUI_INSTALLED=0 \ - -v $(pwd)/build-gp-${{ matrix.package }}:/${{ matrix.package }} \ + -v $(pwd)/build-gp-${{ matrix.package }}:/workspace \ yuezk/gpdev:${{ matrix.package }}-builder-tauri2 \ bash install.sh + # Don't upload package for ubuntu-rolling because it's duplicate of deb package - name: Upload ${{ matrix.package }} package + if: ${{ matrix.package != 'ubuntu-rolling' }} uses: actions/upload-artifact@v4 with: name: artifact-gp-${{ matrix.package }}-${{ matrix.os.arch }} @@ -190,6 +195,7 @@ jobs: repository: yuezk/GlobalProtect-openconnect ref: ${{ github.ref }} path: gpgui-source/gp + submodules: recursive - name: Checkout gpgui@${{ github.ref_name }} uses: actions/checkout@v4 with: @@ -205,13 +211,17 @@ jobs: run: echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_HUB_USERNAME }} --password-stdin - name: Build gpgui in Docker run: | - docker run --pull=always --rm -v $(pwd)/gpgui-source:/gpgui yuezk/gpdev:gpgui-builder-tauri2 + docker run --pull=always --rm \ + -e COREPACK_INTEGRITY_KEYS=0 \ + -v $(pwd)/gpgui-source:/workspace yuezk/gpdev:gpgui-builder-tauri2 - name: Install gpgui in Docker run: | cd gpgui-source tar -xJf *.bin.tar.xz - docker run --pull=always --rm -v $(pwd):/gpgui yuezk/gpdev:gpgui-builder-tauri2 \ - bash -c "cd /gpgui/gpgui_*/ && ./gpgui --version" + docker run --pull=always --rm \ + -e COREPACK_INTEGRITY_KEYS=0 \ + -v $(pwd):/workspace yuezk/gpdev:gpgui-builder-tauri2 \ + bash -c "cd /workspace/gpgui_*/ && ./gpgui --version" - name: Upload gpgui uses: actions/upload-artifact@v4 with: @@ -241,6 +251,7 @@ jobs: repository: yuezk/GlobalProtect-openconnect ref: ${{ github.ref }} path: gh-release/gp + submodules: recursive - name: Download all artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish-ppa.yaml similarity index 78% rename from .github/workflows/publish.yaml rename to .github/workflows/publish-ppa.yaml index 2f761ce..bf8497b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish-ppa.yaml @@ -1,4 +1,4 @@ -name: Publish Packages +name: Publish PPA on: workflow_dispatch: @@ -8,24 +8,18 @@ on: required: true revision: description: 'Package revision' - required: true + required: false default: "1" - ppa: - description: 'Publish to PPA' - type: boolean + series: + description: 'Ubuntu series to publish' + type: "string" + required: false + default: "" + rust: + description: 'Rust version to use' + type: "string" required: true - default: true - obs: - description: 'Publish to OBS' - type: boolean - required: true - default: true - aur: - description: 'Publish to AUR' - type: boolean - required: true - default: true - + default: "1.85" jobs: check: runs-on: ubuntu-latest @@ -44,7 +38,6 @@ jobs: publish-ppa: needs: check - if: ${{ inputs.ppa }} runs-on: ubuntu-latest steps: - uses: pnpm/action-setup@v4 @@ -81,10 +74,13 @@ jobs: cp -v packaging/deb/compat .build/debian/compat cp -v packaging/deb/postrm .build/debian/postrm - sed -i "s/@RUST@/cargo-1.80/g" .build/debian/control sed -i "s/@OFFLINE@/1/g" .build/debian/rules sed -i "s/@BUILD_GUI@/1/g" .build/debian/rules - sed -i "s/@RUST_VERSION@/1.80/g" .build/debian/rules + + # Update the control file with the correct Rust version + # sed -i "s/rust-[0-9.]\+-all/rust-${{ inputs.rust }}-all/g" .build/debian/control + # sed -i "s/rust-[0-9.]\+/rust-${{ inputs.rust }}/g" .build/debian/rules + sed -i "s/DISABLE_RUST_TOOLCHAIN = 0/DISABLE_RUST_TOOLCHAIN = 1/g" .build/debian/rules - name: Publish to PPA uses: yuezk/publish-ppa-package@gp @@ -96,7 +92,8 @@ jobs: debian_dir: publish-ppa/globalprotect-openconnect-*/.build/debian deb_email: "k3vinyue@gmail.com" deb_fullname: "Kevin Yue" - extra_ppa: "yuezk/globalprotect-openconnect liushuyu-011/rust-updates-1.80" + extra_ppa: "yuezk/globalprotect-openconnect" # Ubuntu 18.04 and 20.04 are excluded because tauri2 no longer supports them excluded_series: "bionic focal" + series: ${{ inputs.series }} revision: ${{ inputs.revision }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 665a455..3f9668a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -73,9 +73,9 @@ jobs: const inputs = ${{ toJson(inputs) }} const { arch } = inputs const osMap = { - "all": ["ubuntu-latest", "arm64"], + "all": ["ubuntu-latest", "ubuntu-24.04-arm"], "x86_64": ["ubuntu-latest"], - "arm64": ["arm64"] + "arm64": ["ubuntu-24.04-arm"] } const package = Object.entries(inputs) @@ -111,14 +111,16 @@ jobs: - name: Build ${{ matrix.package }} package in Docker run: | docker run --pull=always --rm \ - -v $(pwd)/build-${{ matrix.package }}:/${{ matrix.package }} \ + -v $(pwd)/build-${{ matrix.package }}:/workspace \ + -e COREPACK_INTEGRITY_KEYS=0 \ -e INCLUDE_GUI=1 \ yuezk/gpdev:${{ matrix.package }}-builder-tauri2 - name: Install ${{ matrix.package }} package in Docker run: | docker run --pull=always --rm \ - -v $(pwd)/build-${{ matrix.package }}:/${{ matrix.package }} \ + -e COREPACK_INTEGRITY_KEYS=0 \ + -v $(pwd)/build-${{ matrix.package }}:/workspace \ yuezk/gpdev:${{ matrix.package }}-builder-tauri2 \ bash install.sh diff --git a/.gitignore b/.gitignore index 2caa3e7..0ec367a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,6 @@ SNAPSHOT # Tauri generated files gen + +# Nix files +result diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..70ad3d7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "deps/openconnect"] + path = deps/openconnect + url = https://gitlab.com/openconnect/openconnect.git diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index dabbbe0..b9f4c51 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -2,7 +2,7 @@ "configurations": [ { "name": "Mac", - "includePath": ["/opt/homebrew/include"], + "includePath": ["deps/openconnect"], "macFrameworkPath": ["/System/Library/Frameworks", "/Library/Frameworks"], "intelliSenseMode": "macos-clang-x64", "compilerPath": "/usr/bin/clang", diff --git a/Cargo.lock b/Cargo.lock index 426bc1a..5a08e02 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. -version = 3 +version = 4 [[package]] name = "Inflector" @@ -8,20 +8,11 @@ version = "0.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe438c63458706e03479442743baae6c88256498e6431708f6dfc520a26515d3" -[[package]] -name = "addr2line" -version = "0.24.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1" -dependencies = [ - "gimli", -] - [[package]] name = "adler2" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" +checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa" [[package]] name = "aead" @@ -35,9 +26,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.1.3" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" +checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301" dependencies = [ "memchr", ] @@ -57,12 +48,6 @@ dependencies = [ "alloc-no-stdlib", ] -[[package]] -name = "android-tzdata" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" - [[package]] name = "android_system_properties" version = "0.1.5" @@ -74,9 +59,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.18" +version = "0.6.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acc5369981196006228e28809f761875c0327210a891e941f4c683b3a99529b" +checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a" dependencies = [ "anstyle", "anstyle-parse", @@ -89,44 +74,44 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.10" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55cc3b69f167a1ef2e161439aa98aed94e6028e5f9a59be9a6ffb47aef1651f9" +checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78" [[package]] name = "anstyle-parse" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b2d16507662817a6a20a9ea92df6652ee4f94f914589377d69f3b21bc5798a9" +checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.1.2" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79947af37f4177cfead1110013d678905c37501914fba0efea834c3fe9a8d60c" +checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "anstyle-wincon" -version = "3.0.7" +version = "3.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca3534e77181a9cc07539ad51f2141fe32f6c3ffd4df76db8ad92346b003ae4e" +checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d" dependencies = [ "anstyle", - "once_cell", - "windows-sys 0.59.0", + "once_cell_polyfill", + "windows-sys 0.61.2", ] [[package]] name = "anyhow" -version = "1.0.95" +version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" +checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" [[package]] name = "ascii" @@ -135,14 +120,56 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" [[package]] -name = "async-trait" -version = "0.1.85" +name = "askama" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f934833b4b7233644e5848f235df3f57ed8c80f1528a26c3dfa13d2147fa056" +checksum = "f75363874b771be265f4ffe307ca705ef6f3baa19011c149da8674a87f1b75c4" +dependencies = [ + "askama_derive", + "itoa", + "percent-encoding", + "serde", + "serde_json", +] + +[[package]] +name = "askama_derive" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "129397200fe83088e8a68407a8e2b1f826cf0086b21ccdb866a722c8bcd3a94f" +dependencies = [ + "askama_parser", + "basic-toml", + "memchr", + "proc-macro2", + "quote", + "rustc-hash", + "serde", + "serde_derive", + "syn 2.0.111", +] + +[[package]] +name = "askama_parser" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6ab5630b3d5eaf232620167977f95eb51f3432fc76852328774afbd242d4358" +dependencies = [ + "memchr", + "serde", + "serde_derive", + "winnow 0.7.14", +] + +[[package]] +name = "async-trait" +version = "0.1.89" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -176,15 +203,16 @@ checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" [[package]] name = "auth" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", - "block2", + "block2 0.6.2", + "common", "gpapi", "html-escape", "log", - "objc2", - "objc2-foundation", + "objc2 0.6.3", + "objc2-foundation 0.3.2", "objc2-web-kit", "open", "regex", @@ -196,7 +224,7 @@ dependencies = [ "uuid", "webbrowser", "webkit2gtk", - "webview2-com", + "webview2-com 0.34.0", "which", "windows 0.58.0", "windows-core 0.58.0", @@ -204,15 +232,24 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" +checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" + +[[package]] +name = "autotools" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ef941527c41b0fc0dd48511a8154cd5fc7e29200a0ff8b7203c5d777dbc795cf" +dependencies = [ + "cc", +] [[package]] name = "axum" -version = "0.8.1" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" +checksum = "5b098575ebe77cb6d14fc7f32749631a6e44edbef6b796f89b020e99ba20d425" dependencies = [ "axum-core", "base64 0.22.1", @@ -224,14 +261,13 @@ dependencies = [ "http-body-util", "hyper", "hyper-util", - "itoa 1.0.14", + "itoa", "matchit", "memchr", "mime", "percent-encoding", "pin-project-lite", - "rustversion", - "serde", + "serde_core", "serde_json", "serde_path_to_error", "serde_urlencoded", @@ -247,39 +283,23 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.5.0" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" +checksum = "59446ce19cd142f8833f856eb31f3eb097812d1479ab224f54d72428ca21ea22" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "http-body-util", "mime", "pin-project-lite", - "rustversion", "sync_wrapper", "tower-layer", "tower-service", "tracing", ] -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets 0.52.6", -] - [[package]] name = "base64" version = "0.21.7" @@ -292,6 +312,15 @@ version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +[[package]] +name = "basic-toml" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba62675e8242a4c4e806d12f11d136e626e6c8361d6b829310732241652a178a" +dependencies = [ + "serde", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -300,19 +329,13 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.8.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" +checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3" dependencies = [ - "serde", + "serde_core", ] -[[package]] -name = "block" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" - [[package]] name = "block-buffer" version = "0.10.4" @@ -328,14 +351,23 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2c132eebf10f5cad5289222520a4a058514204aed6d791f1cf4fe8088b82d15f" dependencies = [ - "objc2", + "objc2 0.5.2", +] + +[[package]] +name = "block2" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" +dependencies = [ + "objc2 0.6.3", ] [[package]] name = "brotli" -version = "7.0.0" +version = "8.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd" +checksum = "4bd8b9603c7aa97359dbd97ecf258968c95f3adddd6db2f7e7a5bef101c84560" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -344,9 +376,9 @@ dependencies = [ [[package]] name = "brotli-decompressor" -version = "4.0.1" +version = "5.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362" +checksum = "874bb8112abecc98cbd6d81ea4fa7e94fb9449648c93cc89aa40c81c24d7de03" dependencies = [ "alloc-no-stdlib", "alloc-stdlib", @@ -354,15 +386,15 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.16.0" +version = "3.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" +checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" [[package]] name = "bytemuck" -version = "1.21.0" +version = "1.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef657dfab802224e671f5818e9a4935f9b1957ed18e58292690cc39e7a4092a3" +checksum = "1fbdf580320f38b612e485521afda1ee26d10cc9884efaaa750d383e13e3c5f4" [[package]] name = "byteorder" @@ -372,9 +404,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.9.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "325918d6fe32f23b19878fe4b34794ae41fc19ddbe53b10571a4874d44ffd39b" +checksum = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" dependencies = [ "serde", ] @@ -385,7 +417,7 @@ version = "0.18.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8ca26ef0159422fb77631dc9d17b102f253b876fe1586b03b803e63a309b4ee2" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "cairo-sys-rs", "glib", "libc", @@ -406,11 +438,11 @@ dependencies = [ [[package]] name = "camino" -version = "1.1.9" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" +checksum = "276a59bf2b2c967788139340c9f0c5b12d7fd6630315c15c217e559de85d2609" dependencies = [ - "serde", + "serde_core", ] [[package]] @@ -424,34 +456,35 @@ dependencies = [ [[package]] name = "cargo_metadata" -version = "0.19.1" +version = "0.19.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8769706aad5d996120af43197bf46ef6ad0fda35216b4505f926a365a232d924" +checksum = "dd5eb614ed4c27c5d706420e4320fbe3216ab31fa1c33cd8246ac36dae4479ba" dependencies = [ "camino", "cargo-platform", "semver", "serde", "serde_json", - "thiserror 2.0.11", + "thiserror 2.0.17", ] [[package]] name = "cargo_toml" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fbd1fe9db3ebf71b89060adaf7b0504c2d6a425cf061313099547e382c2e472" +checksum = "374b7c592d9c00c1f4972ea58390ac6b18cbb6ab79011f3bdc90a0b82ca06b77" dependencies = [ "serde", - "toml 0.8.19", + "toml 0.9.8", ] [[package]] name = "cc" -version = "1.2.10" +version = "1.2.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13208fcbb66eaeffe09b99fffbe1af420f00a7b35aa99ad683dfc1aa76145229" +checksum = "90583009037521a116abf44494efecd645ba48b6622457080f080b85544e2215" dependencies = [ + "find-msvc-tools", "shlex", ] @@ -484,9 +517,9 @@ dependencies = [ [[package]] name = "cfg-if" -version = "1.0.0" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" [[package]] name = "cfg_aliases" @@ -520,15 +553,16 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.39" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e36cc9d416881d2e24f9a963be5fb1cd90966419ac844274161d10488b3e825" +checksum = "145052bdd345b87320e369255277e3fb5152762ad123a901ef5c262dd38fe8d2" dependencies = [ - "android-tzdata", "iana-time-zone", + "js-sys", "num-traits", "serde", - "windows-targets 0.52.6", + "wasm-bindgen", + "windows-link 0.2.1", ] [[package]] @@ -550,9 +584,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.26" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8eb5e908ef3a6efbe1ed62520fb7287959888c88485abe072543190ecc66783" +checksum = "c9e340e012a1bf4935f5282ed1436d1489548e8f72308207ea5df0e23d2d03f8" dependencies = [ "clap_builder", "clap_derive", @@ -560,9 +594,9 @@ dependencies = [ [[package]] name = "clap-verbosity-flag" -version = "3.0.2" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2678fade3b77aa3a8ff3aae87e9c008d3fb00473a41c71fbf74e91c8c7b37e84" +checksum = "9d92b1fab272fe943881b77cc6e920d6543e5b1bfadbd5ed81c7c5a755742394" dependencies = [ "clap", "log", @@ -570,9 +604,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.26" +version = "4.5.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96b01801b5fc6a0a232407abc821660c9c6d25a1cafc0d4f85f29fb8d9afc121" +checksum = "d76b5d13eaa18c901fd2f7fca939fefe3a0727a953561fefdf3b2922b8569d00" dependencies = [ "anstream", "anstyle", @@ -582,57 +616,27 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.24" +version = "4.5.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54b755194d6389280185988721fffba69495eed5ee9feeee9a599b53db80318c" +checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "clap_lex" -version = "0.7.4" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f46ad14479a25103f283c0f10005961cf086d8dc42205bb44c46ac563475dca6" - -[[package]] -name = "cocoa" -version = "0.26.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79398230a6e2c08f5c9760610eb6924b52aa9e7950a619602baba59dcbbdbb2" -dependencies = [ - "bitflags 2.8.0", - "block", - "cocoa-foundation", - "core-foundation 0.10.0", - "core-graphics", - "foreign-types 0.5.0", - "libc", - "objc", -] - -[[package]] -name = "cocoa-foundation" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e14045fb83be07b5acf1c0884b2180461635b433455fa35d1cd6f17f1450679d" -dependencies = [ - "bitflags 2.8.0", - "block", - "core-foundation 0.10.0", - "core-graphics-types", - "libc", - "objc", -] +checksum = "a1d728cc89cf3aee9ff92b05e62b19ee65a02b5702cff7d5a377e32c6ae29d8d" [[package]] name = "colorchoice" -version = "1.0.3" +version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b63caa9aa9397e2d9480a9b13673856c78d8ac123288526c37d7839f2a86990" +checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75" [[package]] name = "combine" @@ -646,10 +650,7 @@ dependencies = [ [[package]] name = "common" -version = "2.4.3" -dependencies = [ - "is_executable", -] +version = "2.5.0" [[package]] name = "compile-time" @@ -671,6 +672,15 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" +[[package]] +name = "convert_case" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9" +dependencies = [ + "unicode-segmentation", +] + [[package]] name = "cookie" version = "0.18.1" @@ -693,9 +703,9 @@ dependencies = [ [[package]] name = "core-foundation" -version = "0.10.0" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63" +checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6" dependencies = [ "core-foundation-sys", "libc", @@ -713,8 +723,8 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1" dependencies = [ - "bitflags 2.8.0", - "core-foundation 0.10.0", + "bitflags 2.10.0", + "core-foundation 0.10.1", "core-graphics-types", "foreign-types 0.5.0", "libc", @@ -726,34 +736,34 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb" dependencies = [ - "bitflags 2.8.0", - "core-foundation 0.10.0", + "bitflags 2.10.0", + "core-foundation 0.10.1", "libc", ] [[package]] name = "cpufeatures" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b80225097f2e5ae4e7179dd2266824648f3e2f49d9134d584b76389d31c4c3" +checksum = "59ed5838eebb26a2bb2e58f6d5b5316989ae9d08bab10e0e6d103e656d1b0280" dependencies = [ "libc", ] [[package]] name = "crc32fast" -version = "1.4.2" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" +checksum = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b7185c9154d67a65e4230da511" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-channel" -version = "0.5.14" +version = "0.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06ba6d68e24814cb8de6bb986db8222d3a027d15872cabc0d18817bc3c0e4471" +checksum = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" dependencies = [ "crossbeam-utils", ] @@ -785,15 +795,17 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28" [[package]] name = "crossterm" -version = "0.25.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67" +checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.10.0", "crossterm_winapi", - "libc", - "mio 0.8.11", + "derive_more 2.1.0", + "document-features", + "mio", "parking_lot", + "rustix", "signal-hook", "signal-hook-mio", "winapi", @@ -810,9 +822,9 @@ dependencies = [ [[package]] name = "crypto-common" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +checksum = "78c8292055d1c1df0cce5d180393dc8cce0abec0a7102adb6c7b1eef6016d60a" dependencies = [ "generic-array", "rand_core 0.6.4", @@ -821,15 +833,15 @@ dependencies = [ [[package]] name = "cssparser" -version = "0.27.2" +version = "0.29.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "754b69d351cdc2d8ee09ae203db831e005560fc6030da058f86ad60c92a9cb0a" +checksum = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa" dependencies = [ "cssparser-macros", "dtoa-short", - "itoa 0.4.8", + "itoa", "matches", - "phf 0.8.0", + "phf 0.10.1", "proc-macro2", "quote", "smallvec", @@ -843,7 +855,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" dependencies = [ "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -853,14 +865,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a2785755761f3ddc1492979ce1e48d2c00d09311c39e4466429188f3dd6501" dependencies = [ "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "darling" -version = "0.20.10" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f63b86c8a8826a49b8c21f08a2d07338eec8d900540f8630dc76284be802989" +checksum = "9cdf337090841a411e2a7f3deb9187445851f91b309c0c0a29e05f74a00a48c0" dependencies = [ "darling_core", "darling_macro", @@ -868,56 +880,78 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.10" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95133861a8032aaea082871032f5815eb9e98cef03fa916ab4500513994df9e5" +checksum = "1247195ecd7e3c85f83c8d2a366e4210d588e802133e1e355180a9870b517ea4" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "darling_macro" -version = "0.20.10" +version = "0.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d336a2a514f6ccccaa3e09b02d41d35330c07ddf03a62165fcec10bb561c7806" +checksum = "d38308df82d1080de0afee5d069fa14b0326a88c14f15c5ccda35b4a6c414c81" dependencies = [ "darling_core", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "data-encoding" -version = "2.7.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e60eed09d8c01d3cee5b7d30acb059b76614c918fa0f992e0dd6eeb10daad6f" +checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476" [[package]] name = "deranged" -version = "0.3.11" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +checksum = "ececcb659e7ba858fb4f10388c250a7252eb0a27373f1a72b8748afdd248e587" dependencies = [ "powerfmt", - "serde", + "serde_core", ] [[package]] name = "derive_more" -version = "0.99.18" +version = "0.99.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" +checksum = "6edb4b64a43d977b8e99788fe3a04d483834fba1215a7e02caa415b626497f7f" dependencies = [ - "convert_case", + "convert_case 0.4.0", "proc-macro2", "quote", "rustc_version", - "syn 2.0.96", + "syn 2.0.111", +] + +[[package]] +name = "derive_more" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10b768e943bed7bf2cab53df09f4bc34bfd217cdb57d971e769874c9a6710618" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6d286bfdaf75e988b4a78e013ecd79c581e06399ab53fbacd2d916c2f904f30b" +dependencies = [ + "convert_case 0.10.0", + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.111", ] [[package]] @@ -932,32 +966,32 @@ dependencies = [ [[package]] name = "directories" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a49173b84e034382284f27f1af4dcbbd231ffa358c0fe316541a7337f376a35" +checksum = "16f5094c54661b38d03bd7e50df373292118db60b585c08a411c6d840017fe7d" dependencies = [ "dirs-sys", ] [[package]] name = "dirs" -version = "5.0.1" +version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44c45a9d03d6676652bcb5e724c7e988de1acad23a711b5217ab9cbecbec2225" +checksum = "c3e8aa94d75141228480295a7d0e7feb620b1a5ad9f12bc40be62411e38cce4e" dependencies = [ "dirs-sys", ] [[package]] name = "dirs-sys" -version = "0.4.1" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520f05a5cbd335fae5a99ff7a6ab8627577660ee5cfd6a94a6a929b52ff0321c" +checksum = "e01a3366d27ee9890022452ee61b2b63a67e6f13f58900b651ff5665f0bb1fab" dependencies = [ "libc", "option-ext", "redox_users", - "windows-sys 0.48.0", + "windows-sys 0.61.2", ] [[package]] @@ -966,6 +1000,16 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd0c93bb4b0c6d9b77f4435b0ae98c24d17f1c45b2ff844c6151a07256ca923b" +[[package]] +name = "dispatch2" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "89a09f22a6c6069a18470eb92d2298acf25463f14256d24778e1230d789a2aec" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", +] + [[package]] name = "displaydoc" version = "0.2.5" @@ -974,14 +1018,25 @@ checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "dlopen2" -version = "0.7.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e1297103d2bbaea85724fcee6294c2d50b1081f9ad47d0f6f6f61eda65315a6" +checksum = "09b4f5f101177ff01b8ec4ecc81eead416a8aa42819a2869311b3420fa114ffa" +dependencies = [ + "libc", + "once_cell", + "winapi", +] + +[[package]] +name = "dlopen2" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e2c5bd4158e66d1e215c49b837e11d62f3267b30c92f1d171c4d3105e3dc4d4" dependencies = [ "dlopen2_derive", "libc", @@ -991,41 +1046,50 @@ dependencies = [ [[package]] name = "dlopen2_derive" -version = "0.4.0" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2b99bf03862d7f545ebc28ddd33a665b50865f4dfd84031a393823879bd4c54" +checksum = "0fbbb781877580993a8707ec48672673ec7b81eeba04cfd2310bd28c08e47c8f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "dns-lookup" -version = "2.0.4" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5766087c2235fec47fafa4cfecc81e494ee679d0fd4a59887ea0919bfb0e4fc" +checksum = "6e39034cee21a2f5bbb66ba0e3689819c4bb5d00382a282006e802a7ffa6c41d" dependencies = [ "cfg-if", "libc", "socket2", - "windows-sys 0.48.0", + "windows-sys 0.60.2", +] + +[[package]] +name = "document-features" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61" +dependencies = [ + "litrs", ] [[package]] name = "dpi" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f25c0e292a7ca6d6498557ff1df68f32c99850012b6ea401cf8daf771f22ff53" +checksum = "d8b14ccef22fc6f5a8f4d7d768562a182c04ce9a3b3157b91390b52ddfdf1a76" dependencies = [ "serde", ] [[package]] name = "dtoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" +checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04" [[package]] name = "dtoa-short" @@ -1044,26 +1108,26 @@ checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813" [[package]] name = "dyn-clone" -version = "1.0.17" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d6ef0072f8a535281e4876be788938b528e9a1d43900b82c2569af7da799125" +checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555" [[package]] name = "either" -version = "1.13.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" +checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "embed-resource" -version = "2.5.1" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b68b6f9f63a0b6a38bc447d4ce84e2b388f3ec95c99c641c8ff0dd3ef89a6379" +checksum = "55a075fc573c64510038d7ee9abc7990635863992f83ebc52c8b433b8411a02e" dependencies = [ "cc", "memchr", "rustc_version", - "toml 0.8.19", + "toml 0.9.8", "vswhom", "winreg", ] @@ -1085,9 +1149,9 @@ dependencies = [ [[package]] name = "env_filter" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "186e05a59d4c50738528153b83b0b0194d3a29507dfec16eccd4b342903397d0" +checksum = "1bf3c259d255ca70051b30e2e95b5446cdb8949ac4cd22c0d7fd634d89f568e2" dependencies = [ "log", "regex", @@ -1101,41 +1165,42 @@ checksum = "c7f84e12ccf0a7ddc17a6c41c93326024c42920d7ee630d04950e6926645c0fe" [[package]] name = "env_logger" -version = "0.11.6" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dcaee3d8e3cfc3fd92428d477bc97fc29ec8716d180c0d74c643bb26166660e0" +checksum = "13c863f0904021b108aa8b2f55046443e6b1ebde8fd4a15c399893aae4fa069f" dependencies = [ "anstream", "anstyle", "env_filter", - "humantime", + "jiff", "log", ] [[package]] name = "equivalent" -version = "1.0.1" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" [[package]] name = "erased-serde" -version = "0.4.5" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24e2389d65ab4fab27dc2a5de7b191e1f6617d1f1c8855c0dc569c94a4cbb18d" +checksum = "89e8918065695684b2b0702da20382d5ae6065cf3327bc2d6436bd49a71ce9f3" dependencies = [ "serde", + "serde_core", "typeid", ] [[package]] name = "errno" -version = "0.3.10" +version = "0.3.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb" dependencies = [ "libc", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -1165,21 +1230,27 @@ dependencies = [ [[package]] name = "filetime" -version = "0.2.25" +version = "0.2.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35c0522e981e68cbfa8c3f978441a5f34b30b96e146b33cd3359176b50fe8586" +checksum = "bc0505cd1b6fa6580283f6bdf70a73fcf4aba1184038c90902b92b3dd0df63ed" dependencies = [ "cfg-if", "libc", "libredox", - "windows-sys 0.59.0", + "windows-sys 0.60.2", ] [[package]] -name = "flate2" -version = "1.0.35" +name = "find-msvc-tools" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c" +checksum = "3a3076410a55c90011c298b04d0cfa770b00fa04e1e3c97d3f6c9de105a03844" + +[[package]] +name = "flate2" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb" dependencies = [ "crc32fast", "miniz_oxide", @@ -1218,7 +1289,7 @@ checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -1235,13 +1306,19 @@ checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" [[package]] name = "form_urlencoded" -version = "1.2.1" +version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" dependencies = [ "percent-encoding", ] +[[package]] +name = "fs_extra" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c" + [[package]] name = "futf" version = "0.1.5" @@ -1308,7 +1385,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -1481,20 +1558,26 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" +checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" dependencies = [ "cfg-if", "libc", - "wasi 0.11.0+wasi-snapshot-preview1", + "wasi 0.11.1+wasi-snapshot-preview1", ] [[package]] -name = "gimli" -version = "0.31.1" +name = "getrandom" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" +dependencies = [ + "cfg-if", + "libc", + "r-efi", + "wasip2", +] [[package]] name = "gio" @@ -1534,7 +1617,7 @@ version = "0.18.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "233daaf6e83ae6a12a52055f568f9d7cf4671dabb78ff9560ab6da230ce00ee5" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "futures-channel", "futures-core", "futures-executor", @@ -1558,11 +1641,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0bb0228f477c0900c880fd78c8759b95c7636dbd7842707f49e132378aa2acdc" dependencies = [ "heck 0.4.1", - "proc-macro-crate 2.0.0", + "proc-macro-crate 2.0.2", "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -1577,9 +1660,9 @@ dependencies = [ [[package]] name = "glob" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2" +checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280" [[package]] name = "gobject-sys" @@ -1594,24 +1677,27 @@ dependencies = [ [[package]] name = "gpapi" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "base64 0.22.1", "chacha20poly1305", "clap", "clap-verbosity-flag", + "common", "dns-lookup", "env_logger", + "gtk", "log", "log-reload", + "machine-uid", "md5", "openssl", + "os_info", "pem", "redact-engine", "regex", "reqwest", - "roxmltree", "serde", "serde_json", "serde_urlencoded", @@ -1619,22 +1705,25 @@ dependencies = [ "specta", "tauri", "tempfile", - "thiserror 2.0.11", + "thiserror 2.0.17", "tokio", "url", "urlencoding", + "uuid", "uzers", "version-compare", "whoami", + "xmltree", ] [[package]] name = "gpauth" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "auth", "clap", + "common", "compile-time", "env_logger", "gpapi", @@ -1649,9 +1738,11 @@ dependencies = [ [[package]] name = "gpclient" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", + "askama", + "chrono", "clap", "common", "compile-time", @@ -1660,18 +1751,21 @@ dependencies = [ "gpapi", "inquire", "log", + "netdev", "openconnect", "reqwest", "serde_json", + "serde_urlencoded", "sysinfo", "tempfile", "tokio", "whoami", + "xmltree", ] [[package]] name = "gpgui-helper" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "clap", @@ -1689,11 +1783,12 @@ dependencies = [ [[package]] name = "gpservice" -version = "2.4.3" +version = "2.5.0" dependencies = [ "anyhow", "axum", "clap", + "common", "compile-time", "env_logger", "futures", @@ -1757,14 +1852,14 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "h2" -version = "0.4.7" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +checksum = "f3c0b69cfcb4e1b9f1bf2f53f95f766e4661169728ec61cd3fe5a0166f2d1386" dependencies = [ "atomic-waker", "bytes", @@ -1772,7 +1867,7 @@ dependencies = [ "futures-core", "futures-sink", "http", - "indexmap 2.7.1", + "indexmap 2.12.1", "slab", "tokio", "tokio-util", @@ -1787,9 +1882,9 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[package]] name = "hashbrown" -version = "0.15.2" +version = "0.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" [[package]] name = "heck" @@ -1811,11 +1906,11 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "home" -version = "0.5.9" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3d1354bf6b7235cb4a0576c2619fd4ed18183f689b12b006a0ee7329eeff9a5" +checksum = "589533453244b0995c858700322199b2becb13b627df2851f64a2775d024abcf" dependencies = [ - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1829,27 +1924,24 @@ dependencies = [ [[package]] name = "html5ever" -version = "0.26.0" +version = "0.29.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7" +checksum = "3b7410cae13cbc75623c98ac4cbfd1f0bedddf3227afc24f370cf0f50a44a11c" dependencies = [ "log", "mac", "markup5ever", - "proc-macro2", - "quote", - "syn 1.0.109", + "match_token", ] [[package]] name = "http" -version = "1.2.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f16ca2af56261c99fba8bac40a10251ce8188205a4c448fbb745a2e4daa76fea" +checksum = "e3ba2a386d7f85a81f119ad7498ebe444d2e22c2af0b86b069416ace48b3311a" dependencies = [ "bytes", - "fnv", - "itoa 1.0.14", + "itoa", ] [[package]] @@ -1864,12 +1956,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" +checksum = "b021d93e26becf5dc7e1b75b1bed1fd93124b374ceb73f43d4d4eafec896a64a" dependencies = [ "bytes", - "futures-util", + "futures-core", "http", "http-body", "pin-project-lite", @@ -1877,9 +1969,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.9.5" +version = "1.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d71d3574edd2771538b901e6549113b4006ece66150fb69c0fb6d9a2adae946" +checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87" [[package]] name = "httpdate" @@ -1887,28 +1979,24 @@ version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" -version = "1.5.2" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256fb8d4bd6413123cc9d91832d78325c48ff41677595be797d90f42969beae0" +checksum = "2ab2d4f250c3d7b1c9fcdff1cece94ea4e2dfbec68614f7b87cb205f24ca9d11" dependencies = [ + "atomic-waker", "bytes", "futures-channel", - "futures-util", + "futures-core", "h2", "http", "http-body", "httparse", "httpdate", - "itoa 1.0.14", + "itoa", "pin-project-lite", + "pin-utils", "smallvec", "tokio", "want", @@ -1916,11 +2004,10 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.5" +version = "0.27.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d191583f3da1305256f22463b9bb0471acad48a4e534a5218b9963e9c1f59b2" +checksum = "e3c93eb611681b207e1fe55d5a71ecf91572ec8a6705cdb6857f7d8d5242cf58" dependencies = [ - "futures-util", "http", "hyper", "hyper-util", @@ -1949,35 +2036,43 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.10" +version = "0.1.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df2dcfbe0677734ab2f3ffa7fa7bfd4706bfdc1ef393f2ee30184aed67e631b4" +checksum = "727805d60e7938b76b826a6ef209eb70eaa1812794f9424d4a4e2d740662df5f" dependencies = [ + "base64 0.22.1", "bytes", "futures-channel", + "futures-core", "futures-util", "http", "http-body", "hyper", + "ipnet", + "libc", + "percent-encoding", "pin-project-lite", "socket2", + "system-configuration", "tokio", "tower-service", "tracing", + "windows-registry", ] [[package]] name = "iana-time-zone" -version = "0.1.61" +version = "0.1.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" +checksum = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", + "log", "wasm-bindgen", - "windows-core 0.52.0", + "windows-core 0.62.2", ] [[package]] @@ -1991,9 +2086,9 @@ dependencies = [ [[package]] name = "ico" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3804960be0bb5e4edb1e1ad67afd321a9ecfd875c3e65c099468fd2717d7cae" +checksum = "cc50b891e4acf8fe0e71ef88ec43ad82ee07b3810ad09de10f1d01f072ed4b98" dependencies = [ "byteorder", "png", @@ -2001,21 +2096,22 @@ dependencies = [ [[package]] name = "icu_collections" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" +checksum = "4c6b649701667bbe825c3b7e6388cb521c23d88644678e83c0c4d0a621a34b43" dependencies = [ "displaydoc", + "potential_utf", "yoke", "zerofrom", "zerovec", ] [[package]] -name = "icu_locid" -version = "1.5.0" +name = "icu_locale_core" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13acbb8371917fc971be86fc8057c41a64b521c184808a698c02acc242dbf637" +checksum = "edba7861004dd3714265b4db54a3c390e880ab658fec5f7db895fae2046b5bb6" dependencies = [ "displaydoc", "litemap", @@ -2024,99 +2120,61 @@ dependencies = [ "zerovec", ] -[[package]] -name = "icu_locid_transform" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01d11ac35de8e40fdeda00d9e1e9d92525f3f9d887cdd7aa81d727596788b54e" -dependencies = [ - "displaydoc", - "icu_locid", - "icu_locid_transform_data", - "icu_provider", - "tinystr", - "zerovec", -] - -[[package]] -name = "icu_locid_transform_data" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdc8ff3388f852bede6b579ad4e978ab004f139284d7b28715f773507b946f6e" - [[package]] name = "icu_normalizer" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19ce3e0da2ec68599d193c93d088142efd7f9c5d6fc9b803774855747dc6a84f" +checksum = "5f6c8828b67bf8908d82127b2054ea1b4427ff0230ee9141c54251934ab1b599" dependencies = [ - "displaydoc", "icu_collections", "icu_normalizer_data", "icu_properties", "icu_provider", "smallvec", - "utf16_iter", - "utf8_iter", - "write16", "zerovec", ] [[package]] name = "icu_normalizer_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8cafbf7aa791e9b22bec55a167906f9e1215fd475cd22adfcf660e03e989516" +checksum = "7aedcccd01fc5fe81e6b489c15b247b8b0690feb23304303a9e560f37efc560a" [[package]] name = "icu_properties" -version = "1.5.1" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93d6020766cfc6302c15dbbc9c8778c37e62c14427cb7f6e601d849e092aeef5" +checksum = "e93fcd3157766c0c8da2f8cff6ce651a31f0810eaa1c51ec363ef790bbb5fb99" dependencies = [ - "displaydoc", "icu_collections", - "icu_locid_transform", + "icu_locale_core", "icu_properties_data", "icu_provider", - "tinystr", + "zerotrie", "zerovec", ] [[package]] name = "icu_properties_data" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67a8effbc3dd3e4ba1afa8ad918d5684b8868b3b26500753effea8d2eed19569" +checksum = "02845b3647bb045f1100ecd6480ff52f34c35f82d9880e029d329c21d1054899" [[package]] name = "icu_provider" -version = "1.5.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ed421c8a8ef78d3e2dbc98a973be2f3770cb42b606e3ab18d6237c4dfde68d9" +checksum = "85962cf0ce02e1e0a629cc34e7ca3e373ce20dda4c4d7294bbd0bf1fdb59e614" dependencies = [ "displaydoc", - "icu_locid", - "icu_provider_macros", - "stable_deref_trait", - "tinystr", + "icu_locale_core", "writeable", "yoke", "zerofrom", + "zerotrie", "zerovec", ] -[[package]] -name = "icu_provider_macros" -version = "1.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", -] - [[package]] name = "ident_case" version = "1.0.1" @@ -2125,9 +2183,9 @@ checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" [[package]] name = "idna" -version = "1.0.3" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "686f825264d630750a544639377bae737628043f20d38bbc029e8f29ea968a7e" +checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" dependencies = [ "idna_adapter", "smallvec", @@ -2136,9 +2194,9 @@ dependencies = [ [[package]] name = "idna_adapter" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" +checksum = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" dependencies = [ "icu_normalizer", "icu_properties", @@ -2157,46 +2215,44 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.7.1" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652" +checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2" dependencies = [ "equivalent", - "hashbrown 0.15.2", + "hashbrown 0.16.1", "serde", + "serde_core", ] [[package]] name = "infer" -version = "0.16.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc150e5ce2330295b8616ce0e3f53250e53af31759a9dbedad1621ba29151847" +checksum = "a588916bfdfd92e71cacef98a63d9b1f0d74d6599980d11894290e7ddefffcf7" dependencies = [ "cfb", ] [[package]] name = "inout" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01" dependencies = [ "generic-array", ] [[package]] name = "inquire" -version = "0.7.5" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fddf93031af70e75410a2511ec04d49e758ed2f26dad3404a934e0fb45cc12a" +checksum = "2628910d0114e9139056161d8644a2026be7b117f8498943f9437748b04c9e0a" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "crossterm", "dyn-clone", "fuzzy-matcher", - "fxhash", - "newline-converter", - "once_cell", "unicode-segmentation", "unicode-width", ] @@ -2207,6 +2263,16 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "469fb0b9cefa57e3ef31275ee7cacb78f2fdca44e4765491884a2b119d4eb130" +[[package]] +name = "iri-string" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4f867b9d1d896b67beb18518eda36fdb77a32ea590de864f1325b294a6d14397" +dependencies = [ + "memchr", + "serde", +] + [[package]] name = "is-docker" version = "0.2.0" @@ -2228,30 +2294,24 @@ dependencies = [ [[package]] name = "is_executable" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4a1b5bad6f9072935961dfbf1cced2f3d129963d091b6f69f007fe04e758ae2" +checksum = "baabb8b4867b26294d818bf3f651a454b6901431711abb96e296245888d6e8c4" dependencies = [ - "winapi", + "windows-sys 0.60.2", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.1" +version = "1.70.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" +checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695" [[package]] name = "itoa" -version = "0.4.8" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" - -[[package]] -name = "itoa" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" [[package]] name = "javascriptcore-rs" @@ -2276,6 +2336,30 @@ dependencies = [ "system-deps", ] +[[package]] +name = "jiff" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49cce2b81f2098e7e3efc35bc2e0a6b7abec9d34128283d7a26fa8f32a6dbb35" +dependencies = [ + "jiff-static", + "log", + "portable-atomic", + "portable-atomic-util", + "serde_core", +] + +[[package]] +name = "jiff-static" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "980af8b43c3ad5d8d349ace167ec8170839f753a42d233ba19e08afe1850fa69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + [[package]] name = "jni" version = "0.21.1" @@ -2300,9 +2384,9 @@ checksum = "8eaf4bc02d17cbdd7ff4c7438cafcdf7fb9a4613313ad11b4f8fefe7d3fa0130" [[package]] name = "js-sys" -version = "0.3.77" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" +checksum = "464a3709c7f55f1f721e5389aa6ea4e3bc6aba669353300af094b29ffbdde1d8" dependencies = [ "once_cell", "wasm-bindgen", @@ -2336,21 +2420,20 @@ version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b750dcadc39a09dbadd74e118f6dd6598df77fa01df0cfcdc52c28dece74528a" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "serde", "unicode-segmentation", ] [[package]] name = "kuchikiki" -version = "0.8.2" +version = "0.8.8-speedreader" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e4755b7b995046f510a7520c42b2fed58b77bd94d5a87a8eb43d2fd126da8" +checksum = "02cb977175687f33fa4afa0c95c112b987ea1443e5a51c8f8ff27dc618270cc2" dependencies = [ "cssparser", "html5ever", - "indexmap 1.9.3", - "matches", + "indexmap 2.12.1", "selectors", ] @@ -2386,9 +2469,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.169" +version = "0.2.178" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" [[package]] name = "libloading" @@ -2402,51 +2485,55 @@ dependencies = [ [[package]] name = "libredox" -version = "0.1.3" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" +checksum = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "libc", "redox_syscall", ] [[package]] name = "linux-raw-sys" -version = "0.4.15" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab" +checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039" [[package]] name = "litemap" -version = "0.7.4" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ee93343901ab17bd981295f2cf0026d4ad018c7c31ba84549a4ddbb47a45104" +checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77" + +[[package]] +name = "litrs" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092" [[package]] name = "lock_api" -version = "0.4.12" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" +checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" dependencies = [ - "autocfg", "scopeguard", ] [[package]] name = "log" -version = "0.4.25" +version = "0.4.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04cbf5b083de1c7e0222a7a51dbfdba1cbe1c6ab0b15e29fff3f6c077fd9cd9f" +checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897" [[package]] name = "log-reload" -version = "0.1.0" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e99df759bfe829042ac9ad2d576ad0b3ffb3bad3c1f124dc0094b54441e89999" +checksum = "40a5e9e7e287801327145359f85da2570749b74baece56453669c1f262ba536d" dependencies = [ "log", - "thiserror 1.0.69", ] [[package]] @@ -2467,28 +2554,47 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" [[package]] -name = "malloc_buf" -version = "0.0.6" +name = "mac-addr" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" +checksum = "d3d25b0e0b648a86960ac23b7ad4abb9717601dec6f66c165f5b037f3f03065f" + +[[package]] +name = "machine-uid" +version = "0.5.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7d7217d573cdb141d6da43113b098172e057d39915d79c4bdedbc3aacd46bd96" dependencies = [ "libc", + "windows-registry", + "windows-sys 0.61.2", ] [[package]] name = "markup5ever" -version = "0.11.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016" +checksum = "c7a7213d12e1864c0f002f52c2923d4556935a43dec5e71355c2760e0f6e7a18" dependencies = [ "log", - "phf 0.10.1", - "phf_codegen 0.10.0", + "phf 0.11.3", + "phf_codegen 0.11.3", "string_cache", "string_cache_codegen", "tendril", ] +[[package]] +name = "match_token" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "88a9689d8d44bf9964484516275f5cd4c9b59457a6940c1d5d0ecbb94510a36b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + [[package]] name = "matches" version = "0.1.10" @@ -2503,15 +2609,15 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "md5" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771" +checksum = "ae960838283323069879657ca3de837e9f7bbb4c7bf6ea7f1b290d5e9476d2e0" [[package]] name = "memchr" -version = "2.7.4" +version = "2.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memoffset" @@ -2530,9 +2636,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.8.3" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8402cab7aefae129c6977bb0ff1b8fd9a04eb5b51efc50a70bea51cda0c7924" +checksum = "1fa76a2c86f704bdb222d66965fb3d63269ce38518b83cb0575fca855ebb6316" dependencies = [ "adler2", "simd-adler32", @@ -2540,52 +2646,42 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.11" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +checksum = "a69bcab0ad47271a0234d9422b131806bf3968021e5dc9328caf2d4cd58557fc" dependencies = [ "libc", "log", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.48.0", -] - -[[package]] -name = "mio" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" -dependencies = [ - "libc", - "wasi 0.11.0+wasi-snapshot-preview1", - "windows-sys 0.52.0", + "wasi 0.11.1+wasi-snapshot-preview1", + "windows-sys 0.61.2", ] [[package]] name = "muda" -version = "0.15.3" +version = "0.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fdae9c00e61cc0579bcac625e8ad22104c60548a025bfc972dc83868a28e1484" +checksum = "01c1738382f66ed56b3b9c8119e794a2e23148ac8ea214eda86622d4cb9d415a" dependencies = [ "crossbeam-channel", "dpi", "gtk", "keyboard-types", - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-core-foundation", + "objc2-foundation 0.3.2", "once_cell", "png", "serde", - "thiserror 1.0.69", - "windows-sys 0.59.0", + "thiserror 2.0.17", + "windows-sys 0.60.2", ] [[package]] name = "native-tls" -version = "0.2.12" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" +checksum = "87de3442987e9dbec73158d5c715e7ad9072fda936bb03d19d7fa10e00520f0e" dependencies = [ "libc", "log", @@ -2604,7 +2700,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "jni-sys", "log", "ndk-sys", @@ -2628,6 +2724,56 @@ dependencies = [ "jni-sys", ] +[[package]] +name = "netdev" +version = "0.39.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "35a703aa1a87cd885b9f674922445a42dbb0c0f4f1b28fef21b227ae32375d21" +dependencies = [ + "dlopen2 0.5.0", + "ipnet", + "libc", + "mac-addr", + "netlink-packet-core", + "netlink-packet-route", + "netlink-sys", + "once_cell", + "system-configuration", + "windows-sys 0.59.0", +] + +[[package]] +name = "netlink-packet-core" +version = "0.8.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3463cbb78394cb0141e2c926b93fc2197e473394b761986eca3b9da2c63ae0f4" +dependencies = [ + "paste", +] + +[[package]] +name = "netlink-packet-route" +version = "0.25.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ec2f5b6839be2a19d7fa5aab5bc444380f6311c2b693551cb80f45caaa7b5ef" +dependencies = [ + "bitflags 2.10.0", + "libc", + "log", + "netlink-packet-core", +] + +[[package]] +name = "netlink-sys" +version = "0.8.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16c903aa70590cb93691bf97a767c8d1d6122d2cc9070433deb3bbf36ce8bd23" +dependencies = [ + "bytes", + "libc", + "log", +] + [[package]] name = "new_debug_unreachable" version = "1.0.6" @@ -2635,12 +2781,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" [[package]] -name = "newline-converter" -version = "0.3.0" +name = "nix" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "47b6b097ecb1cbfed438542d16e84fd7ad9b0c76c8a65b7f9039212a3d14dc7f" +checksum = "74523f3a35e05aba87a1d978330aef40f67b0304ac79c1c00b294c9830543db6" dependencies = [ - "unicode-segmentation", + "bitflags 2.10.0", + "cfg-if", + "cfg_aliases", + "libc", ] [[package]] @@ -2675,32 +2824,24 @@ dependencies = [ [[package]] name = "num_enum" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179" +checksum = "b1207a7e20ad57b847bbddc6776b968420d38292bbfe2089accff5e19e82454c" dependencies = [ "num_enum_derive", + "rustversion", ] [[package]] name = "num_enum_derive" -version = "0.7.3" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56" +checksum = "ff32365de1b6743cb203b710788263c44a03de03802daf96092f2da4fe6ba4d7" dependencies = [ - "proc-macro-crate 3.2.0", + "proc-macro-crate 3.4.0", "proc-macro2", "quote", - "syn 2.0.96", -] - -[[package]] -name = "objc" -version = "0.2.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" -dependencies = [ - "malloc_buf", + "syn 2.0.111", ] [[package]] @@ -2708,9 +2849,6 @@ name = "objc-sys" version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310" -dependencies = [ - "cc", -] [[package]] name = "objc2" @@ -2723,86 +2861,141 @@ dependencies = [ ] [[package]] -name = "objc2-app-kit" -version = "0.2.2" +name = "objc2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e4e89ad9e3d7d297152b17d39ed92cd50ca8063a89a9fa569046d41568891eff" +checksum = "b7c2599ce0ec54857b29ce62166b0ed9b4f6f1a70ccc9a71165b6154caca8c05" dependencies = [ - "bitflags 2.8.0", - "block2", + "objc2-encode", + "objc2-exception-helper", +] + +[[package]] +name = "objc2-app-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d49e936b501e5c5bf01fda3a9452ff86dc3ea98ad5f283e1455153142d97518c" +dependencies = [ + "bitflags 2.10.0", + "block2 0.6.2", "libc", - "objc2", + "objc2 0.6.3", + "objc2-cloud-kit", "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", "objc2-core-image", - "objc2-foundation", - "objc2-quartz-core", + "objc2-core-text", + "objc2-core-video", + "objc2-foundation 0.3.2", + "objc2-quartz-core 0.3.2", ] [[package]] name = "objc2-cloud-kit" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009" +checksum = "73ad74d880bb43877038da939b7427bba67e9dd42004a18b809ba7d87cee241c" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", - "objc2-core-location", - "objc2-foundation", -] - -[[package]] -name = "objc2-contacts" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889" -dependencies = [ - "block2", - "objc2", - "objc2-foundation", + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-foundation 0.3.2", ] [[package]] name = "objc2-core-data" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "617fbf49e071c178c0b24c080767db52958f716d9eabdf0890523aeae54773ef" +checksum = "0b402a653efbb5e82ce4df10683b6b28027616a2715e90009947d50b8dd298fa" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", - "objc2-foundation", + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-core-foundation" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", +] + +[[package]] +name = "objc2-core-graphics" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e022c9d066895efa1345f8e33e584b9f958da2fd4cd116792e15e07e4720a807" +dependencies = [ + "bitflags 2.10.0", + "dispatch2", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-io-surface", ] [[package]] name = "objc2-core-image" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55260963a527c99f1819c4f8e3b47fe04f9650694ef348ffd2227e8196d34c80" +checksum = "e5d563b38d2b97209f8e861173de434bd0214cf020e3423a52624cd1d989f006" dependencies = [ - "block2", - "objc2", - "objc2-foundation", - "objc2-metal", + "objc2 0.6.3", + "objc2-foundation 0.3.2", ] [[package]] name = "objc2-core-location" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781" +checksum = "ca347214e24bc973fc025fd0d36ebb179ff30536ed1f80252706db19ee452009" dependencies = [ - "block2", - "objc2", - "objc2-contacts", - "objc2-foundation", + "objc2 0.6.3", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-core-text" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cde0dfb48d25d2b4862161a4d5fcc0e3c24367869ad306b0c9ec0073bfed92d" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-core-graphics", +] + +[[package]] +name = "objc2-core-video" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d425caf1df73233f29fd8a5c3e5edbc30d2d4307870f802d18f00d83dc5141a6" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-io-surface", ] [[package]] name = "objc2-encode" -version = "4.0.3" +version = "4.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7891e71393cd1f227313c9379a26a584ff3d7e6e7159e988851f0934c993f0f8" +checksum = "ef25abbcd74fb2609453eb695bd2f860d389e457f67dc17cafc8b8cbc89d0c33" + +[[package]] +name = "objc2-exception-helper" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7a1c5fbb72d7735b076bb47b578523aedc40f3c439bea6dfd595c089d79d98a" +dependencies = [ + "cc", +] [[package]] name = "objc2-foundation" @@ -2810,22 +3003,54 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ee638a5da3799329310ad4cfa62fbf045d5f56e3ef5ba4149e7452dcf89d5a8" dependencies = [ - "bitflags 2.8.0", - "block2", + "bitflags 2.10.0", + "block2 0.5.1", "libc", - "objc2", + "objc2 0.5.2", ] [[package]] -name = "objc2-link-presentation" -version = "0.2.2" +name = "objc2-foundation" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398" +checksum = "e3e0adef53c21f888deb4fa59fc59f7eb17404926ee8a6f59f5df0fd7f9f3272" dependencies = [ - "block2", - "objc2", - "objc2-app-kit", - "objc2-foundation", + "bitflags 2.10.0", + "block2 0.6.2", + "libc", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-kit" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15" +dependencies = [ + "libc", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-io-surface" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "180788110936d59bab6bd83b6060ffdfffb3b922ba1396b312ae795e1de9d81d" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", +] + +[[package]] +name = "objc2-javascript-core" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a1e6550c4caed348956ce3370c9ffeca70bb1dbed4fa96112e7c6170e074586" +dependencies = [ + "objc2 0.6.3", + "objc2-core-foundation", ] [[package]] @@ -2834,10 +3059,10 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", - "objc2-foundation", + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", ] [[package]] @@ -2846,95 +3071,94 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e42bee7bff906b14b167da2bac5efe6b6a07e6f7c0a21a7308d40c960242dc7a" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", - "objc2-foundation", + "bitflags 2.10.0", + "block2 0.5.1", + "objc2 0.5.2", + "objc2-foundation 0.2.2", "objc2-metal", ] [[package]] -name = "objc2-symbols" -version = "0.2.2" +name = "objc2-quartz-core" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc" +checksum = "96c1358452b371bf9f104e21ec536d37a650eb10f7ee379fff67d2e08d537f1f" dependencies = [ - "objc2", - "objc2-foundation", + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", + "objc2-foundation 0.3.2", +] + +[[package]] +name = "objc2-security" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "709fe137109bd1e8b5a99390f77a7d8b2961dafc1a1c5db8f2e60329ad6d895a" +dependencies = [ + "bitflags 2.10.0", + "objc2 0.6.3", + "objc2-core-foundation", ] [[package]] name = "objc2-ui-kit" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f" +checksum = "d87d638e33c06f577498cbcc50491496a3ed4246998a7fbba7ccb98b1e7eab22" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", + "bitflags 2.10.0", + "block2 0.6.2", + "objc2 0.6.3", "objc2-cloud-kit", "objc2-core-data", + "objc2-core-foundation", + "objc2-core-graphics", "objc2-core-image", "objc2-core-location", - "objc2-foundation", - "objc2-link-presentation", - "objc2-quartz-core", - "objc2-symbols", - "objc2-uniform-type-identifiers", + "objc2-core-text", + "objc2-foundation 0.3.2", + "objc2-quartz-core 0.3.2", "objc2-user-notifications", ] -[[package]] -name = "objc2-uniform-type-identifiers" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe" -dependencies = [ - "block2", - "objc2", - "objc2-foundation", -] - [[package]] name = "objc2-user-notifications" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3" +checksum = "9df9128cbbfef73cda168416ccf7f837b62737d748333bfe9ab71c245d76613e" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", - "objc2-core-location", - "objc2-foundation", + "objc2 0.6.3", + "objc2-foundation 0.3.2", ] [[package]] name = "objc2-web-kit" -version = "0.2.2" +version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bc69301064cebefc6c4c90ce9cba69225239e4b8ff99d445a2b5563797da65" +checksum = "b2e5aaab980c433cf470df9d7af96a7b46a9d892d521a2cbbb2f8a4c16751e7f" dependencies = [ - "bitflags 2.8.0", - "block2", - "objc2", + "bitflags 2.10.0", + "block2 0.6.2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", -] - -[[package]] -name = "object" -version = "0.36.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62948e14d923ea95ea2c7c86c71013138b66525b86bdc08d2dcc262bdb497b87" -dependencies = [ - "memchr", + "objc2-core-foundation", + "objc2-foundation 0.3.2", + "objc2-javascript-core", + "objc2-security", ] [[package]] name = "once_cell" -version = "1.20.2" +version = "1.21.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775" +checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" + +[[package]] +name = "once_cell_polyfill" +version = "1.70.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "384b8ab6d37215f3c5301a95a4accb5d64aa607f1fcb26a11b5303878451b4fe" [[package]] name = "opaque-debug" @@ -2944,9 +3168,9 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "open" -version = "5.3.2" +version = "5.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2483562e62ea94312f3576a7aca397306df7990b8d89033e18766744377ef95" +checksum = "43bb73a7fa3799b198970490a51174027ba0d4ec504b03cd08caf513d40024bc" dependencies = [ "is-wsl", "libc", @@ -2955,20 +3179,23 @@ dependencies = [ [[package]] name = "openconnect" -version = "2.4.3" +version = "2.5.0" dependencies = [ + "autotools", "cc", - "common", + "fs_extra", + "is_executable", "log", + "pkg-config", ] [[package]] name = "openssl" -version = "0.10.68" +version = "0.10.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6174bc48f102d208783c2c84bf931bb75927a617866870de8a4ea85597f871f5" +checksum = "08838db121398ad17ab8531ce9de97b244589089e290a384c900cb9ff7434328" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "cfg-if", "foreign-types 0.3.2", "libc", @@ -2985,20 +3212,20 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "openssl-probe" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +checksum = "d05e27ee213611ffe7d6348b942e8f942b37114c00cc03cec254295a4a17852e" [[package]] name = "openssl-sys" -version = "0.9.104" +version = "0.9.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +checksum = "82cab2d520aa75e3c58898289429321eb788c3106963d0dc886ec7a5f4adc321" dependencies = [ "cc", "libc", @@ -3012,6 +3239,21 @@ version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" +[[package]] +name = "os_info" +version = "3.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7c39b5918402d564846d5aba164c09a66cc88d232179dfd3e3c619a25a268392" +dependencies = [ + "android_system_properties", + "log", + "nix", + "objc2 0.6.3", + "objc2-foundation 0.3.2", + "objc2-ui-kit", + "windows-sys 0.61.2", +] + [[package]] name = "pango" version = "0.18.3" @@ -3039,9 +3281,9 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.3" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a" dependencies = [ "lock_api", "parking_lot_core", @@ -3049,17 +3291,23 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.10" +version = "0.9.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1" dependencies = [ "cfg-if", "libc", "redox_syscall", "smallvec", - "windows-targets 0.52.6", + "windows-link 0.2.1", ] +[[package]] +name = "paste" +version = "1.0.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" + [[package]] name = "pathdiff" version = "0.2.3" @@ -3068,19 +3316,19 @@ checksum = "df94ce210e5bc13cb6651479fa48d14f601d9858cfe0467f43ae157023b938d3" [[package]] name = "pem" -version = "3.0.4" +version = "3.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e459365e590736a54c3fa561947c84837534b8e9af6fc5bf781307e82658fae" +checksum = "1d30c53c26bc5b31a98cd02d20f25a7c8567146caf63ed593a9d87b2775291be" dependencies = [ "base64 0.22.1", - "serde", + "serde_core", ] [[package]] name = "percent-encoding" -version = "2.3.1" +version = "2.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" [[package]] name = "phf" @@ -3088,9 +3336,7 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12" dependencies = [ - "phf_macros 0.8.0", "phf_shared 0.8.0", - "proc-macro-hack", ] [[package]] @@ -3099,7 +3345,9 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" dependencies = [ + "phf_macros 0.10.0", "phf_shared 0.10.0", + "proc-macro-hack", ] [[package]] @@ -3124,12 +3372,12 @@ dependencies = [ [[package]] name = "phf_codegen" -version = "0.10.0" +version = "0.11.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" +checksum = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" dependencies = [ - "phf_generator 0.10.0", - "phf_shared 0.10.0", + "phf_generator 0.11.3", + "phf_shared 0.11.3", ] [[package]] @@ -3164,12 +3412,12 @@ dependencies = [ [[package]] name = "phf_macros" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6fde18ff429ffc8fe78e2bf7f8b7a5a5a6e2a8b58bc5a9ac69198bbda9189c" +checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0" dependencies = [ - "phf_generator 0.8.0", - "phf_shared 0.8.0", + "phf_generator 0.10.0", + "phf_shared 0.10.0", "proc-macro-hack", "proc-macro2", "quote", @@ -3186,7 +3434,7 @@ dependencies = [ "phf_shared 0.11.3", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -3230,18 +3478,18 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.31" +version = "0.3.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" +checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" [[package]] name = "plist" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016" +checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07" dependencies = [ "base64 0.22.1", - "indexmap 2.7.1", + "indexmap 2.12.1", "quick-xml", "serde", "time", @@ -3271,6 +3519,30 @@ dependencies = [ "universal-hash", ] +[[package]] +name = "portable-atomic" +version = "1.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483" + +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + +[[package]] +name = "potential_utf" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b73949432f5e2a09657003c25bca5e19a0e9c84f8058ca374f49e0ebe605af77" +dependencies = [ + "zerovec", +] + [[package]] name = "powerfmt" version = "0.2.0" @@ -3279,9 +3551,9 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" -version = "0.2.20" +version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +checksum = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" dependencies = [ "zerocopy", ] @@ -3304,20 +3576,21 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.0" +version = "2.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" dependencies = [ - "toml_edit 0.20.7", + "toml_datetime 0.6.3", + "toml_edit 0.20.2", ] [[package]] name = "proc-macro-crate" -version = "3.2.0" +version = "3.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ecf48c7ca261d60b74ab1a7b20da18bede46776b2e55535cb958eb595c5fa7b" +checksum = "219cb19e96be00ab2e37d6e299658a0cfa83e52429179969b0f0121b4ac46983" dependencies = [ - "toml_edit 0.22.22", + "toml_edit 0.23.9", ] [[package]] @@ -3352,31 +3625,37 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.93" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] [[package]] name = "quick-xml" -version = "0.32.0" +version = "0.38.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d3a6e5838b60e0e8fa7a43f22ade549a37d61f8bdbe636d0d7816191de969c2" +checksum = "b66c2058c55a409d601666cffe35f04333cf1013010882cec174a7467cd4e21c" dependencies = [ "memchr", ] [[package]] name = "quote" -version = "1.0.38" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] +[[package]] +name = "r-efi" +version = "5.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" + [[package]] name = "rand" version = "0.7.3" @@ -3402,6 +3681,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "rand" +version = "0.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6db2770f06117d490610c7488547d543617b21bfa07796d7a12f6f1bd53850d1" +dependencies = [ + "rand_chacha 0.9.0", + "rand_core 0.9.3", +] + [[package]] name = "rand_chacha" version = "0.2.2" @@ -3422,6 +3711,16 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "rand_chacha" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb" +dependencies = [ + "ppv-lite86", + "rand_core 0.9.3", +] + [[package]] name = "rand_core" version = "0.5.1" @@ -3437,7 +3736,16 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", +] + +[[package]] +name = "rand_core" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99d9a13982dcf210057a8a78572b2217b667c3beacbf3a0d8b454f6f82837d38" +dependencies = [ + "getrandom 0.3.4", ] [[package]] @@ -3466,9 +3774,9 @@ checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539" [[package]] name = "rayon" -version = "1.10.0" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" +checksum = "368f01d005bf8fd9b1206fb6fa653e6c4a81ceb1466406b81792d87c5677a58f" dependencies = [ "either", "rayon-core", @@ -3476,9 +3784,9 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.12.1" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" dependencies = [ "crossbeam-deque", "crossbeam-utils", @@ -3500,29 +3808,49 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.8" +version = "0.5.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" +checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", ] [[package]] name = "redox_users" -version = "0.4.6" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" +checksum = "a4e608c6638b9c18977b00b475ac1f28d14e84b27d8d42f70e0bf1e3dec127ac" dependencies = [ - "getrandom 0.2.15", + "getrandom 0.2.16", "libredox", - "thiserror 1.0.69", + "thiserror 2.0.17", +] + +[[package]] +name = "ref-cast" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f354300ae66f76f1c85c5f84693f0ce81d747e2c3f21a45fef496d89c960bf7d" +dependencies = [ + "ref-cast-impl", +] + +[[package]] +name = "ref-cast-impl" +version = "1.0.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b7186006dcb21920990093f30e3dea63b7d6e977bf1256be20c3563a5db070da" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", ] [[package]] name = "regex" -version = "1.11.1" +version = "1.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191" +checksum = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" dependencies = [ "aho-corasick", "memchr", @@ -3532,9 +3860,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.9" +version = "0.4.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908" +checksum = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" dependencies = [ "aho-corasick", "memchr", @@ -3543,15 +3871,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" +checksum = "7a2d987857b319362043e95f5353c0535c1f58eec5336fdfcf626430af7def58" [[package]] name = "reqwest" -version = "0.12.12" +version = "0.12.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43e734407157c3c2034e0258f5e4473ddb361b1e85f95a66690d67264d7cd1da" +checksum = "9d0946410b9f7b082a427e4ef5c8ff541a88b357bc6c637c40db3a68ac70a36f" dependencies = [ "base64 0.22.1", "bytes", @@ -3566,59 +3894,49 @@ dependencies = [ "hyper-rustls", "hyper-tls", "hyper-util", - "ipnet", "js-sys", "log", "mime", "native-tls", - "once_cell", "percent-encoding", "pin-project-lite", - "rustls-pemfile", + "rustls-pki-types", "serde", "serde_json", "serde_urlencoded", "sync_wrapper", - "system-configuration", "tokio", "tokio-native-tls", "tokio-util", "tower", + "tower-http", "tower-service", "url", "wasm-bindgen", "wasm-bindgen-futures", "wasm-streams", "web-sys", - "windows-registry", ] [[package]] name = "ring" -version = "0.17.8" +version = "0.17.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7" dependencies = [ "cc", "cfg-if", - "getrandom 0.2.15", + "getrandom 0.2.16", "libc", - "spin", "untrusted", "windows-sys 0.52.0", ] [[package]] -name = "roxmltree" -version = "0.20.0" +name = "rustc-hash" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" +checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" [[package]] name = "rustc_version" @@ -3631,22 +3949,22 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.43" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" +checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "errno", "libc", "linux-raw-sys", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "rustls" -version = "0.23.21" +version = "0.23.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f287924602bf649d949c63dc8ac8b235fa5387d394020705b80c4eb597ce5b8" +checksum = "533f54bc6a7d4f647e46ad909549eda97bf5afc1585190ef692b4286b198bd8f" dependencies = [ "once_cell", "rustls-pki-types", @@ -3656,25 +3974,19 @@ dependencies = [ ] [[package]] -name = "rustls-pemfile" -version = "2.2.0" +name = "rustls-pki-types" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dce314e5fee3f39953d46bb63bb8a46d40c2f8fb7cc5a3b6cab2bde9721d6e50" +checksum = "708c0f9d5f54ba0272468c1d306a52c495b31fa155e91bc25371e6df7996908c" dependencies = [ - "rustls-pki-types", + "zeroize", ] -[[package]] -name = "rustls-pki-types" -version = "1.10.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2bf47e6ff922db3825eb750c4e2ff784c6ff8fb9e13046ef6a1d1c5401b0b37" - [[package]] name = "rustls-webpki" -version = "0.102.8" +version = "0.103.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" +checksum = "2ffdfa2f5286e2247234e03f680868ac2815974dc39e00ea15adc445d0aafe52" dependencies = [ "ring", "rustls-pki-types", @@ -3683,15 +3995,15 @@ dependencies = [ [[package]] name = "rustversion" -version = "1.0.19" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" +checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" [[package]] name = "ryu" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" +checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" [[package]] name = "same-file" @@ -3704,18 +4016,18 @@ dependencies = [ [[package]] name = "schannel" -version = "0.1.27" +version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f29ebaa345f945cec9fbbc532eb307f0fdad8161f281b6369539c8d84876b3d" +checksum = "891d81b926048e76efe18581bf793546b4c0eaf8448d72be8de2bbee5fd166e1" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] name = "schemars" -version = "0.8.21" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09c024468a378b7e36765cd36702b7a90cc3cba11654f6685c8f233408e89e92" +checksum = "3fbf2ae1b8bc8e02df939598064d22402220cd5bbcca1c76f7d6a310974d5615" dependencies = [ "dyn-clone", "indexmap 1.9.3", @@ -3727,15 +4039,39 @@ dependencies = [ ] [[package]] -name = "schemars_derive" -version = "0.8.21" +name = "schemars" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1eee588578aff73f856ab961cd2f79e36bc45d7ded33a7562adba4667aecc0e" +checksum = "4cd191f9397d57d581cddd31014772520aa448f65ef991055d7f61582c65165f" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9558e172d4e8533736ba97870c4b2cd63f84b382a3d6eb063da41b91cce17289" +dependencies = [ + "dyn-clone", + "ref-cast", + "serde", + "serde_json", +] + +[[package]] +name = "schemars_derive" +version = "0.8.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32e265784ad618884abaea0600a9adf15393368d840e0222d101a072f3f7534d" dependencies = [ "proc-macro2", "quote", "serde_derive_internals", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -3750,7 +4086,7 @@ version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "core-foundation 0.9.4", "core-foundation-sys", "libc", @@ -3759,9 +4095,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.14.0" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49db231d56a190491cb4aeda9527f1ad45345af50b0851622a7adb8c03b01c32" +checksum = "cc1f0cbffaac4852523ce30d8bd3c5cdc873501d96ff467ca09b6767bb8cd5c0" dependencies = [ "core-foundation-sys", "libc", @@ -3769,62 +4105,72 @@ dependencies = [ [[package]] name = "selectors" -version = "0.22.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df320f1889ac4ba6bc0cdc9c9af7af4bd64bb927bccdf32d81140dc1f9be12fe" +checksum = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416" dependencies = [ "bitflags 1.3.2", "cssparser", - "derive_more", + "derive_more 0.99.20", "fxhash", "log", - "matches", "phf 0.8.0", "phf_codegen 0.8.0", "precomputed-hash", "servo_arc", "smallvec", - "thin-slice", ] [[package]] name = "semver" -version = "1.0.25" +version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f79dfe2d285b0488816f30e700a7438c5a73d816b5b7d3ac72fbc48b0d185e03" +checksum = "d767eb0aabc880b29956c35734170f26ed551a859dbd361d140cdbeca61ab1e2" dependencies = [ "serde", + "serde_core", ] [[package]] name = "serde" -version = "1.0.217" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" +checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" dependencies = [ + "serde_core", "serde_derive", ] [[package]] name = "serde-untagged" -version = "0.1.6" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2676ba99bd82f75cae5cbd2c8eda6fa0b8760f18978ea840e980dd5567b5c5b6" +checksum = "f9faf48a4a2d2693be24c6289dbe26552776eb7737074e6722891fadbe6c5058" dependencies = [ "erased-serde", "serde", + "serde_core", "typeid", ] [[package]] -name = "serde_derive" -version = "1.0.217" +name = "serde_core" +version = "1.0.228" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" +checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.228" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -3835,29 +4181,31 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "serde_json" -version = "1.0.137" +version = "1.0.145" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "930cfb6e6abf99298aaad7d29abbef7a9999a9a8806a40088f55f0dcec03146b" +checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" dependencies = [ - "itoa 1.0.14", + "itoa", "memchr", "ryu", "serde", + "serde_core", ] [[package]] name = "serde_path_to_error" -version = "0.1.16" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af99884400da37c88f5e9146b7f1fd0fbcae8f6eec4e9da38b67d05486f814a6" +checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457" dependencies = [ - "itoa 1.0.14", + "itoa", "serde", + "serde_core", ] [[package]] @@ -3872,24 +4220,33 @@ dependencies = [ [[package]] name = "serde_repr" -version = "0.1.19" +version = "0.1.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c64451ba24fc7a6a2d60fc75dd9c83c90903b19028d4eff35e88fc1e86564e9" +checksum = "175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "serde_spanned" -version = "0.6.8" +version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" +checksum = "bf41e0cfaf7226dca15e8197172c295a782857fcb97fad1808a166870dee75a3" dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e24345aa0fe688594e73770a5f6d1b216508b4f93484c0026d521acd30134392" +dependencies = [ + "serde_core", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -3897,24 +4254,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd" dependencies = [ "form_urlencoded", - "itoa 1.0.14", + "itoa", "ryu", "serde", ] [[package]] name = "serde_with" -version = "3.12.0" +version = "3.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d6b6f7f2fcb69f747921f79f3926bd1e203fce4fef62c268dd3abfb6d86029aa" +checksum = "4fa237f2807440d238e0364a218270b98f767a00d3dada77b1c53ae88940e2e7" dependencies = [ "base64 0.22.1", "chrono", "hex", "indexmap 1.9.3", - "indexmap 2.7.1", - "serde", - "serde_derive", + "indexmap 2.12.1", + "schemars 0.9.0", + "schemars 1.1.0", + "serde_core", "serde_json", "serde_with_macros", "time", @@ -3922,21 +4280,21 @@ dependencies = [ [[package]] name = "serde_with_macros" -version = "3.12.0" +version = "3.16.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d00caa5193a3c8362ac2b73be6b9e768aa5a4b2f721d8f4b339600c3cb51f8e" +checksum = "52a8e3ca0ca629121f70ab50f95249e5a6f925cc0f6ffe8256c45b728875706c" dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "serialize-to-javascript" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c9823f2d3b6a81d98228151fdeaf848206a7855a7a042bbf9bf870449a66cafb" +checksum = "04f3666a07a197cdb77cdf306c32be9b7f598d7060d50cfd4d5aa04bfd92f6c5" dependencies = [ "serde", "serde_json", @@ -3945,20 +4303,20 @@ dependencies = [ [[package]] name = "serialize-to-javascript-impl" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74064874e9f6a15f04c1f3cb627902d0e6b410abbf36668afa873c61889f1763" +checksum = "772ee033c0916d670af7860b6e1ef7d658a4629a6d0b4c8c3e67f09b3765b75d" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.111", ] [[package]] name = "servo_arc" -version = "0.1.1" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d98238b800e0d1576d8b6e3de32827c2d74bee68bb97748dcf5071fb53965432" +checksum = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741" dependencies = [ "nodrop", "stable_deref_trait", @@ -3976,10 +4334,16 @@ dependencies = [ ] [[package]] -name = "sha2" -version = "0.10.8" +name = "sha1_smol" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +checksum = "bbfa15b3dddfee50a0fff136974b3e1bde555604ba463834a7eb7deb6417705d" + +[[package]] +name = "sha2" +version = "0.10.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", "cpufeatures", @@ -3988,9 +4352,9 @@ dependencies = [ [[package]] name = "sha256" -version = "1.5.0" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18278f6a914fa3070aa316493f7d2ddfb9ac86ebc06fa3b83bffda487e9065b0" +checksum = "f880fc8562bdeb709793f00eb42a2ad0e672c4f883bbe59122b926eca935c8f6" dependencies = [ "async-trait", "bytes", @@ -4007,9 +4371,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "signal-hook" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2" dependencies = [ "libc", "signal-hook-registry", @@ -4017,20 +4381,20 @@ dependencies = [ [[package]] name = "signal-hook-mio" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34db1a06d485c9142248b7a054f034b349b212551f3dfd19c94d45a754a217cd" +checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc" dependencies = [ "libc", - "mio 0.8.11", + "mio", "signal-hook", ] [[package]] name = "signal-hook-registry" -version = "1.4.2" +version = "1.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a9e9e0b4211b72e7b8b6e85c807d36c212bdb33ea8587f7569562a84df5465b1" +checksum = "7664a098b8e616bdfcc2dc0e9ac44eb231eedf41db4e9fe95d8d32ec728dedad" dependencies = [ "libc", ] @@ -4055,27 +4419,24 @@ checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" [[package]] name = "slab" -version = "0.4.9" +version = "0.4.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -dependencies = [ - "autocfg", -] +checksum = "7a2ae44ef20feb57a68b23d846850f861394c2e02dc425a50098ae8c90267589" [[package]] name = "smallvec" -version = "1.13.2" +version = "1.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" +checksum = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" [[package]] name = "socket2" -version = "0.5.8" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c970269d99b64e60ec3bd6ad27270092a5394c4e309314b18ae3fe575695fbe8" +checksum = "17129e116933cf371d018bb80ae557e889637989d8638274fb25622827b03881" dependencies = [ "libc", - "windows-sys 0.52.0", + "windows-sys 0.60.2", ] [[package]] @@ -4090,9 +4451,9 @@ dependencies = [ "foreign-types 0.5.0", "js-sys", "log", - "objc2", - "objc2-foundation", - "objc2-quartz-core", + "objc2 0.5.2", + "objc2-foundation 0.2.2", + "objc2-quartz-core 0.2.2", "raw-window-handle", "redox_syscall", "wasm-bindgen", @@ -4145,43 +4506,36 @@ dependencies = [ "Inflector", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] -[[package]] -name = "spin" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" - [[package]] name = "stable_deref_trait" -version = "1.2.0" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" +checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596" [[package]] name = "string_cache" -version = "0.8.7" +version = "0.8.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" +checksum = "bf776ba3fa74f83bf4b63c3dcbbf82173db2632ed8452cb2d891d33f459de70f" dependencies = [ "new_debug_unreachable", - "once_cell", "parking_lot", - "phf_shared 0.10.0", + "phf_shared 0.11.3", "precomputed-hash", "serde", ] [[package]] name = "string_cache_codegen" -version = "0.5.2" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" +checksum = "c711928715f1fe0fe509c53b43e993a9a557babc2d0a3567d0a3006f1ac931a0" dependencies = [ - "phf_generator 0.10.0", - "phf_shared 0.10.0", + "phf_generator 0.11.3", + "phf_shared 0.11.3", "proc-macro2", "quote", ] @@ -4222,9 +4576,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.96" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5d0adab1ae378d7f53bdebc67a39f1f151407ef230f0ce2883572f5d8985c80" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -4242,27 +4596,27 @@ dependencies = [ [[package]] name = "synstructure" -version = "0.13.1" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" +checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "sysinfo" -version = "0.33.1" +version = "0.36.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fc858248ea01b66f19d8e8a6d55f41deaf91e9d495246fd01368d99935c6c01" +checksum = "252800745060e7b9ffb7b2badbd8b31cfa4aa2e61af879d0a3bf2a317c20217d" dependencies = [ - "core-foundation-sys", "libc", "memchr", "ntapi", - "rayon", - "windows 0.57.0", + "objc2-core-foundation", + "objc2-io-kit", + "windows 0.61.3", ] [[package]] @@ -4271,7 +4625,7 @@ version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3c879d448e9d986b661742763247d3693ed13609438cf3d006f51f5368a5ba6b" dependencies = [ - "bitflags 2.8.0", + "bitflags 2.10.0", "core-foundation 0.9.4", "system-configuration-sys", ] @@ -4295,23 +4649,23 @@ dependencies = [ "cfg-expr", "heck 0.5.0", "pkg-config", - "toml 0.8.19", + "toml 0.8.2", "version-compare", ] [[package]] name = "tao" -version = "0.31.1" +version = "0.34.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3731d04d4ac210cd5f344087733943b9bfb1a32654387dad4d1c70de21aee2c9" +checksum = "f3a753bdc39c07b192151523a3f77cd0394aa75413802c883a0f6f6a0e5ee2e7" dependencies = [ - "bitflags 2.8.0", - "cocoa", - "core-foundation 0.10.0", + "bitflags 2.10.0", + "block2 0.6.2", + "core-foundation 0.10.1", "core-graphics", "crossbeam-channel", "dispatch", - "dlopen2", + "dlopen2 0.8.2", "dpi", "gdkwayland-sys", "gdkx11-sys", @@ -4323,7 +4677,9 @@ dependencies = [ "ndk", "ndk-context", "ndk-sys", - "objc", + "objc2 0.6.3", + "objc2-app-kit", + "objc2-foundation 0.3.2", "once_cell", "parking_lot", "raw-window-handle", @@ -4331,8 +4687,8 @@ dependencies = [ "tao-macros", "unicode-segmentation", "url", - "windows 0.58.0", - "windows-core 0.58.0", + "windows 0.61.3", + "windows-core 0.61.2", "windows-version", "x11-dl", ] @@ -4345,14 +4701,14 @@ checksum = "f4e16beb8b2ac17db28eab8bca40e62dbfbb34c0fcdc6d9826b11b7b5d047dfd" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "tar" -version = "0.4.43" +version = "0.4.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c65998313f8e17d0d553d28f91a0df93e4dbbbf770279c7bc21ca0f09ea1a1f6" +checksum = "1d863878d212c87a19c1a610eb53bb01fe12951c0501cf5a0d65f724914a667a" dependencies = [ "filetime", "libc", @@ -4367,17 +4723,17 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" [[package]] name = "tauri" -version = "2.2.3" +version = "2.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78f6efc261c7905839b4914889a5b25df07f0ff89c63fb4afd6ff8c96af15e4d" +checksum = "15524fc7959bfcaa051ba6d0b3fb1ef18e978de2176c7c6acb977f7fd14d35c7" dependencies = [ "anyhow", "bytes", + "cookie", "dirs", "dunce", "embed_plist", - "futures-util", - "getrandom 0.2.15", + "getrandom 0.3.4", "glob", "gtk", "heck 0.5.0", @@ -4387,9 +4743,11 @@ dependencies = [ "log", "mime", "muda", - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-foundation 0.3.2", + "objc2-ui-kit", + "objc2-web-kit", "percent-encoding", "plist", "raw-window-handle", @@ -4404,22 +4762,21 @@ dependencies = [ "tauri-runtime", "tauri-runtime-wry", "tauri-utils", - "thiserror 2.0.11", + "thiserror 2.0.17", "tokio", "tray-icon", "url", - "urlpattern", "webkit2gtk", - "webview2-com", + "webview2-com 0.38.0", "window-vibrancy", - "windows 0.58.0", + "windows 0.61.3", ] [[package]] name = "tauri-build" -version = "2.0.5" +version = "2.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e950124f6779c6cf98e3260c7a6c8488a74aa6350dd54c6950fdaa349bca2df" +checksum = "17fcb8819fd16463512a12f531d44826ce566f486d7ccd211c9c8cebdaec4e08" dependencies = [ "anyhow", "cargo_toml", @@ -4427,21 +4784,21 @@ dependencies = [ "glob", "heck 0.5.0", "json-patch", - "schemars", + "schemars 0.8.22", "semver", "serde", "serde_json", "tauri-utils", "tauri-winres", - "toml 0.8.19", + "toml 0.9.8", "walkdir", ] [[package]] name = "tauri-codegen" -version = "2.0.4" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f77894f9ddb5cb6c04fcfe8c8869ebe0aded4dabf19917118d48be4a95599ab5" +checksum = "9fa9844cefcf99554a16e0a278156ae73b0d8680bbc0e2ad1e4287aadd8489cf" dependencies = [ "base64 0.22.1", "brotli", @@ -4455,9 +4812,9 @@ dependencies = [ "serde", "serde_json", "sha2", - "syn 2.0.96", + "syn 2.0.111", "tauri-utils", - "thiserror 2.0.11", + "thiserror 2.0.17", "time", "url", "uuid", @@ -4466,50 +4823,57 @@ dependencies = [ [[package]] name = "tauri-macros" -version = "2.0.4" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3240a5caed760a532e8f687be6f05b2c7d11a1d791fb53ccc08cfeb3e5308736" +checksum = "3764a12f886d8245e66b7ee9b43ccc47883399be2019a61d80cf0f4117446fde" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", "tauri-codegen", "tauri-utils", ] [[package]] name = "tauri-runtime" -version = "2.3.0" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2274ef891ccc0a8d318deffa9d70053f947664d12d58b9c0d1ae5e89237e01f7" +checksum = "87f766fe9f3d1efc4b59b17e7a891ad5ed195fa8d23582abb02e6c9a01137892" dependencies = [ + "cookie", "dpi", "gtk", "http", "jni", + "objc2 0.6.3", + "objc2-ui-kit", + "objc2-web-kit", "raw-window-handle", "serde", "serde_json", "tauri-utils", - "thiserror 2.0.11", + "thiserror 2.0.17", "url", - "windows 0.58.0", + "webkit2gtk", + "webview2-com 0.38.0", + "windows 0.61.3", ] [[package]] name = "tauri-runtime-wry" -version = "2.3.0" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3707b40711d3b9f6519150869e358ffbde7c57567fb9b5a8b51150606939b2a0" +checksum = "7950f3bde6bcca6655bc5e76d3d6ec587ceb81032851ab4ddbe1f508bdea2729" dependencies = [ "gtk", "http", "jni", "log", - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-foundation 0.3.2", + "once_cell", "percent-encoding", "raw-window-handle", "softbuffer", @@ -4518,17 +4882,18 @@ dependencies = [ "tauri-utils", "url", "webkit2gtk", - "webview2-com", - "windows 0.58.0", + "webview2-com 0.38.0", + "windows 0.61.3", "wry", ] [[package]] name = "tauri-utils" -version = "2.1.1" +version = "2.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96fb10e7cc97456b2d5b9c03e335b5de5da982039a303a20d10006885e4523a0" +checksum = "76a423c51176eb3616ee9b516a9fa67fed5f0e78baaba680e44eb5dd2cc37490" dependencies = [ + "anyhow", "brotli", "cargo_metadata", "ctor", @@ -4545,15 +4910,15 @@ dependencies = [ "proc-macro2", "quote", "regex", - "schemars", + "schemars 0.8.22", "semver", "serde", "serde-untagged", "serde_json", "serde_with", "swift-rs", - "thiserror 2.0.11", - "toml 0.8.19", + "thiserror 2.0.17", + "toml 0.9.8", "url", "urlpattern", "uuid", @@ -4562,26 +4927,26 @@ dependencies = [ [[package]] name = "tauri-winres" -version = "0.1.1" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5993dc129e544393574288923d1ec447c857f3f644187f4fbf7d9a875fbfc4fb" +checksum = "1087b111fe2b005e42dbdc1990fc18593234238d47453b0c99b7de1c9ab2c1e0" dependencies = [ + "dunce", "embed-resource", - "toml 0.7.8", + "toml 0.9.8", ] [[package]] name = "tempfile" -version = "3.15.0" +version = "3.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" dependencies = [ - "cfg-if", "fastrand", - "getrandom 0.2.15", + "getrandom 0.3.4", "once_cell", "rustix", - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -4595,12 +4960,6 @@ dependencies = [ "utf-8", ] -[[package]] -name = "thin-slice" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eaa81235c7058867fa8c0e7314f33dcce9c215f535d1913822a2b3f5e289f3c" - [[package]] name = "thiserror" version = "1.0.69" @@ -4612,11 +4971,11 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.11" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ - "thiserror-impl 2.0.11", + "thiserror-impl 2.0.17", ] [[package]] @@ -4627,38 +4986,37 @@ checksum = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "thiserror-impl" -version = "2.0.11" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "thread_local" -version = "1.1.8" +version = "1.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c" +checksum = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" dependencies = [ "cfg-if", - "once_cell", ] [[package]] name = "time" -version = "0.3.37" +version = "0.3.44" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21" +checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d" dependencies = [ "deranged", - "itoa 1.0.14", + "itoa", "num-conv", "powerfmt", "serde", @@ -4668,15 +5026,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.2" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b" [[package]] name = "time-macros" -version = "0.2.19" +version = "0.2.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de" +checksum = "30cfb0125f12d9c277f35663a0a33f8c30190f4e4574868a330595412d34ebf3" dependencies = [ "num-conv", "time-core", @@ -4696,9 +5054,9 @@ dependencies = [ [[package]] name = "tinystr" -version = "0.7.6" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9117f5d4db391c1cf6927e7bea3db74b9a1c1add8f7eda9ffd5364f40f57b82f" +checksum = "42d3e9c45c09de15d06dd8acf5f4e0e399e85927b7f00711024eb7ae10fa4869" dependencies = [ "displaydoc", "zerovec", @@ -4706,30 +5064,29 @@ dependencies = [ [[package]] name = "tokio" -version = "1.43.0" +version = "1.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e" +checksum = "ff360e02eab121e0bc37a2d3b4d4dc622e6eda3a8e5253d5435ecf5bd4c68408" dependencies = [ - "backtrace", "bytes", "libc", - "mio 1.0.3", + "mio", "pin-project-lite", "signal-hook-registry", "socket2", "tokio-macros", - "windows-sys 0.52.0", + "windows-sys 0.61.2", ] [[package]] name = "tokio-macros" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8" +checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -4744,9 +5101,9 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.26.1" +version = "0.26.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f6d0975eaace0cf0fcadee4e4aaa5da15b5c079146f2cffb67c113be122bf37" +checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61" dependencies = [ "rustls", "tokio", @@ -4754,9 +5111,9 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.26.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4bf6fecd69fcdede0ec680aaf474cdab988f9de6bc73d3758f0160e3b7025a" +checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857" dependencies = [ "futures-util", "log", @@ -4766,9 +5123,9 @@ dependencies = [ [[package]] name = "tokio-util" -version = "0.7.13" +version = "0.7.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078" +checksum = "2efa149fe76073d6e8fd97ef4f4eca7b67f599660115591483572e406e165594" dependencies = [ "bytes", "futures-core", @@ -4779,74 +5136,100 @@ dependencies = [ [[package]] name = "toml" -version = "0.7.8" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd79e69d3b627db300ff956027cc6c3798cef26d22526befdfcd12feeb6d2257" +checksum = "185d8ab0dfbb35cf1399a6344d8484209c088f75f8f68230da55d48d95d43e3d" dependencies = [ "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.19.15", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", + "toml_edit 0.20.2", ] [[package]] name = "toml" -version = "0.8.19" +version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" +checksum = "f0dc8b1fb61449e27716ec0e1bdf0f6b8f3e8f6b05391e8497b8b6d7804ea6d8" dependencies = [ - "serde", - "serde_spanned", - "toml_datetime", - "toml_edit 0.22.22", + "indexmap 2.12.1", + "serde_core", + "serde_spanned 1.0.3", + "toml_datetime 0.7.3", + "toml_parser", + "toml_writer", + "winnow 0.7.14", ] [[package]] name = "toml_datetime" -version = "0.6.8" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" dependencies = [ "serde", ] +[[package]] +name = "toml_datetime" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533" +dependencies = [ + "serde_core", +] + [[package]] name = "toml_edit" version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.7.1", - "serde", - "serde_spanned", - "toml_datetime", + "indexmap 2.12.1", + "toml_datetime 0.6.3", "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.20.7" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ - "indexmap 2.7.1", - "toml_datetime", + "indexmap 2.12.1", + "serde", + "serde_spanned 0.6.9", + "toml_datetime 0.6.3", "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.22.22" +version = "0.23.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" +checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832" dependencies = [ - "indexmap 2.7.1", - "serde", - "serde_spanned", - "toml_datetime", - "winnow 0.6.24", + "indexmap 2.12.1", + "toml_datetime 0.7.3", + "toml_parser", + "winnow 0.7.14", ] +[[package]] +name = "toml_parser" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e" +dependencies = [ + "winnow 0.7.14", +] + +[[package]] +name = "toml_writer" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8b2b54733674ad286d16267dcfc7a71ed5c776e4ac7aa3c3e2561f7c637bf2" + [[package]] name = "tower" version = "0.5.2" @@ -4863,6 +5246,24 @@ dependencies = [ "tracing", ] +[[package]] +name = "tower-http" +version = "0.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9cf146f99d442e8e68e585f5d798ccd3cad9a7835b917e09728880a862706456" +dependencies = [ + "bitflags 2.10.0", + "bytes", + "futures-util", + "http", + "http-body", + "iri-string", + "pin-project-lite", + "tower", + "tower-layer", + "tower-service", +] + [[package]] name = "tower-layer" version = "0.3.3" @@ -4877,9 +5278,9 @@ checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3" [[package]] name = "tracing" -version = "0.1.41" +version = "0.1.43" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" +checksum = "2d15d90a0b5c19378952d479dc858407149d7bb45a14de0142f6c534b16fc647" dependencies = [ "log", "pin-project-lite", @@ -4888,32 +5289,33 @@ dependencies = [ [[package]] name = "tracing-core" -version = "0.1.33" +version = "0.1.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e672c95779cf947c5311f83787af4fa8fffd12fb27e4993211a84bdfd9610f9c" +checksum = "7a04e24fab5c89c6a36eb8558c9656f30d81de51dfa4d3b45f26b21d61fa0a6c" dependencies = [ "once_cell", ] [[package]] name = "tray-icon" -version = "0.19.2" +version = "0.21.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d48a05076dd272615d03033bf04f480199f7d1b66a8ac64d75c625fc4a70c06b" +checksum = "e3d5572781bee8e3f994d7467084e1b1fd7a93ce66bd480f8156ba89dee55a2b" dependencies = [ - "core-graphics", "crossbeam-channel", "dirs", "libappindicator", "muda", - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-core-foundation", + "objc2-core-graphics", + "objc2-foundation 0.3.2", "once_cell", "png", "serde", - "thiserror 1.0.69", - "windows-sys 0.59.0", + "thiserror 2.0.17", + "windows-sys 0.60.2", ] [[package]] @@ -4924,33 +5326,32 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tungstenite" -version = "0.26.1" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413083a99c579593656008130e29255e54dcaae495be556cc26888f211648c24" +checksum = "8628dcc84e5a09eb3d8423d6cb682965dea9133204e8fb3efee74c2a0c259442" dependencies = [ - "byteorder", "bytes", "data-encoding", "http", "httparse", "log", - "rand 0.8.5", + "rand 0.9.2", "sha1", - "thiserror 2.0.11", + "thiserror 2.0.17", "utf-8", ] [[package]] name = "typeid" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e13db2e0ccd5e14a544e8a246ba2312cd25223f616442d7f2cb0e3db614236e" +checksum = "bc7d623258602320d5c55d1bc22793b57daff0ec7efc270ea7d55ce1d5f5471c" [[package]] name = "typenum" -version = "1.17.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "562d481066bde0658276a35467c4af00bdc6ee726305698a55b86e61d7ad82bb" [[package]] name = "unic-char-property" @@ -4995,9 +5396,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.14" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "unicode-segmentation" @@ -5007,9 +5408,9 @@ checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "unicode-width" -version = "0.1.14" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" +checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" [[package]] name = "universal-hash" @@ -5029,9 +5430,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.4" +version = "2.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" +checksum = "08bc136a29a3d1758e07a9cca267be308aeebf5cfd5a10f3f67ab2097683ef5b" dependencies = [ "form_urlencoded", "idna", @@ -5063,17 +5464,11 @@ version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" -[[package]] -name = "utf16_iter" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" - [[package]] name = "utf8-width" -version = "0.1.7" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3" +checksum = "1292c0d970b54115d14f2492fe0170adf21d68a1de108eebc51c1df4f346a091" [[package]] name = "utf8_iter" @@ -5089,12 +5484,15 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.12.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "744018581f9a3454a9e15beb8a33b017183f1e7c0cd170232a2d1453b23a51c4" +checksum = "e2e054861b4bd027cd373e18e8d8d8e6548085000e41290d95ce0c373a654b4a" dependencies = [ - "getrandom 0.2.15", - "serde", + "getrandom 0.3.4", + "js-sys", + "serde_core", + "sha1_smol", + "wasm-bindgen", ] [[package]] @@ -5115,9 +5513,9 @@ checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" [[package]] name = "version-compare" -version = "0.2.0" +version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b" +checksum = "03c2856837ef78f57382f06b2b8563a2f512f7185d732608fd9176cb3b8edf0e" [[package]] name = "version_check" @@ -5137,9 +5535,9 @@ dependencies = [ [[package]] name = "vswhom-sys" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3b17ae1f6c8a2b28506cd96d412eebf83b4a0ff2cbefeeb952f2f9dfa44ba18" +checksum = "fb067e4cbd1ff067d1df46c9194b5de0e98efd2810bbc95c5d5e5f25a3231150" dependencies = [ "cc", "libc", @@ -5172,9 +5570,18 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" [[package]] name = "wasi" -version = "0.11.0+wasi-snapshot-preview1" +version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" + +[[package]] +name = "wasip2" +version = "1.0.1+wasi-0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" +dependencies = [ + "wit-bindgen", +] [[package]] name = "wasite" @@ -5184,35 +5591,22 @@ checksum = "b8dad83b4f25e74f184f64c43b150b91efe7647395b42289f38e50566d82855b" [[package]] name = "wasm-bindgen" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" +checksum = "0d759f433fa64a2d763d1340820e46e111a7a5ab75f993d1852d70b03dbb80fd" dependencies = [ "cfg-if", "once_cell", "rustversion", "wasm-bindgen-macro", -] - -[[package]] -name = "wasm-bindgen-backend" -version = "0.2.100" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6" -dependencies = [ - "bumpalo", - "log", - "proc-macro2", - "quote", - "syn 2.0.96", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.50" +version = "0.4.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "555d470ec0bc3bb57890405e5d4322cc9ea83cebb085523ced7be4144dac1e61" +checksum = "836d9622d604feee9e5de25ac10e3ea5f2d65b41eac0d9ce72eb5deae707ce7c" dependencies = [ "cfg-if", "js-sys", @@ -5223,9 +5617,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407" +checksum = "48cb0d2638f8baedbc542ed444afc0644a29166f1595371af4fecf8ce1e7eeb3" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5233,22 +5627,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de" +checksum = "cefb59d5cd5f92d9dcf80e4683949f15ca4b511f4ac0a6e14d4e1ac60c6ecd40" dependencies = [ + "bumpalo", "proc-macro2", "quote", - "syn 2.0.96", - "wasm-bindgen-backend", + "syn 2.0.111", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.100" +version = "0.2.106" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d" +checksum = "cbc538057e648b67f72a982e708d485b2efa771e1ac05fec311f9f63e5800db4" dependencies = [ "unicode-ident", ] @@ -5268,9 +5662,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.77" +version = "0.3.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33b6dd2ef9186f1f2072e409e99cd22a975331a6b3591b12c764e0e55c60d5d2" +checksum = "9b32828d774c412041098d182a8b38b16ea816958e07cf40eec2bc080ae137ac" dependencies = [ "js-sys", "wasm-bindgen", @@ -5278,18 +5672,16 @@ dependencies = [ [[package]] name = "webbrowser" -version = "1.0.3" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9fe1ebb156110ff855242c1101df158b822487e4957b0556d9ffce9db0f535" +checksum = "00f1243ef785213e3a32fa0396093424a3a6ea566f9948497e5a2309261a4c97" dependencies = [ - "block2", - "core-foundation 0.10.0", - "home", + "core-foundation 0.10.1", "jni", "log", "ndk-context", - "objc2", - "objc2-foundation", + "objc2 0.6.3", + "objc2-foundation 0.3.2", "url", "web-sys", ] @@ -5345,13 +5737,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "823e7ebcfaea51e78f72c87fc3b65a1e602c321f407a0b36dbb327d7bb7cd921" dependencies = [ "webview2-com-macros", - "webview2-com-sys", + "webview2-com-sys 0.34.0", "windows 0.58.0", "windows-core 0.58.0", "windows-implement 0.58.0", "windows-interface 0.58.0", ] +[[package]] +name = "webview2-com" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d4ba622a989277ef3886dd5afb3e280e3dd6d974b766118950a08f8f678ad6a4" +dependencies = [ + "webview2-com-macros", + "webview2-com-sys 0.38.0", + "windows 0.61.3", + "windows-core 0.61.2", + "windows-implement 0.60.2", + "windows-interface 0.59.3", +] + [[package]] name = "webview2-com-macros" version = "0.8.0" @@ -5360,7 +5766,7 @@ checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -5375,12 +5781,22 @@ dependencies = [ ] [[package]] -name = "which" -version = "7.0.1" +name = "webview2-com-sys" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb4a9e33648339dc1642b0e36e21b3385e6148e289226f657c809dee59df5028" +checksum = "36695906a1b53a3bf5c4289621efedac12b73eeb0b89e7e1a89b517302d5d75c" +dependencies = [ + "thiserror 2.0.17", + "windows 0.61.3", + "windows-core 0.61.2", +] + +[[package]] +name = "which" +version = "8.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3fabb953106c3c8eea8306e4393700d7657561cb43122571b172bbfb7c7ba1d" dependencies = [ - "either", "env_home", "rustix", "winsafe", @@ -5388,11 +5804,11 @@ dependencies = [ [[package]] name = "whoami" -version = "1.5.2" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372d5b87f58ec45c384ba03563b03544dc5fadc3983e434b286913f5b4a9bb6d" +checksum = "5d4a4db5077702ca3015d3d02d74974948aba2ad9e12ab7df718ee64ccd7e97d" dependencies = [ - "redox_syscall", + "libredox", "wasite", "web-sys", ] @@ -5415,11 +5831,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.9" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -5430,28 +5846,19 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" [[package]] name = "window-vibrancy" -version = "0.5.2" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ea403deff7b51fff19e261330f71608ff2cdef5721d72b64180bb95be7c4150" +checksum = "d9bec5a31f3f9362f2258fd0e9c9dd61a9ca432e7306cc78c444258f0dce9a9c" dependencies = [ - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-core-foundation", + "objc2-foundation 0.3.2", "raw-window-handle", "windows-sys 0.59.0", "windows-version", ] -[[package]] -name = "windows" -version = "0.57.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143" -dependencies = [ - "windows-core 0.57.0", - "windows-targets 0.52.6", -] - [[package]] name = "windows" version = "0.58.0" @@ -5463,24 +5870,25 @@ dependencies = [ ] [[package]] -name = "windows-core" -version = "0.52.0" +name = "windows" +version = "0.61.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" +checksum = "9babd3a767a4c1aef6900409f85f5d53ce2544ccdfaa86dad48c91782c6d6893" dependencies = [ - "windows-targets 0.52.6", + "windows-collections", + "windows-core 0.61.2", + "windows-future", + "windows-link 0.1.3", + "windows-numerics", ] [[package]] -name = "windows-core" -version = "0.57.0" +name = "windows-collections" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d" +checksum = "3beeceb5e5cfd9eb1d76b381630e82c4241ccd0d27f1a39ed41b2760b255c5e8" dependencies = [ - "windows-implement 0.57.0", - "windows-interface 0.57.0", - "windows-result 0.1.2", - "windows-targets 0.52.6", + "windows-core 0.61.2", ] [[package]] @@ -5492,19 +5900,45 @@ dependencies = [ "windows-implement 0.58.0", "windows-interface 0.58.0", "windows-result 0.2.0", - "windows-strings", + "windows-strings 0.1.0", "windows-targets 0.52.6", ] [[package]] -name = "windows-implement" -version = "0.57.0" +name = "windows-core" +version = "0.61.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7" +checksum = "c0fdd3ddb90610c7638aa2b3a3ab2904fb9e5cdbecc643ddb3647212781c4ae3" dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.96", + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.1.3", + "windows-result 0.3.4", + "windows-strings 0.4.2", +] + +[[package]] +name = "windows-core" +version = "0.62.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb" +dependencies = [ + "windows-implement 0.60.2", + "windows-interface 0.59.3", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", +] + +[[package]] +name = "windows-future" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc6a41e98427b19fe4b73c550f060b59fa592d7d686537eebf9385621bfbad8e" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", + "windows-threading", ] [[package]] @@ -5515,18 +5949,18 @@ checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] -name = "windows-interface" -version = "0.57.0" +name = "windows-implement" +version = "0.60.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7" +checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] @@ -5537,27 +5971,51 @@ checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", +] + +[[package]] +name = "windows-interface" +version = "0.59.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.111", +] + +[[package]] +name = "windows-link" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-numerics" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9150af68066c4c5c07ddc0ce30421554771e528bde427614c61038bc2c92c2b1" +dependencies = [ + "windows-core 0.61.2", + "windows-link 0.1.3", ] [[package]] name = "windows-registry" -version = "0.2.0" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e400001bb720a623c1c69032f8e3e4cf09984deec740f007dd2b03ec864804b0" +checksum = "02752bf7fbdcce7f2a27a742f798510f3e5ad88dbe84871e5168e2120c3d5720" dependencies = [ - "windows-result 0.2.0", - "windows-strings", - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-result" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e383302e8ec8515204254685643de10811af0ed97ea37210dc26fb0032647f8" -dependencies = [ - "windows-targets 0.52.6", + "windows-link 0.2.1", + "windows-result 0.4.1", + "windows-strings 0.5.1", ] [[package]] @@ -5569,6 +6027,24 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-result" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56f42bd332cc6c8eac5af113fc0c1fd6a8fd2aa08a0119358686e5160d0586c6" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-result" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows-strings" version = "0.1.0" @@ -5579,6 +6055,24 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-strings" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56e6c93f3a0c3b36176cb1327a4958a0353d5d166c2a35cb268ace15e91d3b57" +dependencies = [ + "windows-link 0.1.3", +] + +[[package]] +name = "windows-strings" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows-sys" version = "0.45.0" @@ -5588,15 +6082,6 @@ dependencies = [ "windows-targets 0.42.2", ] -[[package]] -name = "windows-sys" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" -dependencies = [ - "windows-targets 0.48.5", -] - [[package]] name = "windows-sys" version = "0.52.0" @@ -5615,6 +6100,24 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.60.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb" +dependencies = [ + "windows-targets 0.53.5", +] + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link 0.2.1", +] + [[package]] name = "windows-targets" version = "0.42.2" @@ -5630,21 +6133,6 @@ dependencies = [ "windows_x86_64_msvc 0.42.2", ] -[[package]] -name = "windows-targets" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -dependencies = [ - "windows_aarch64_gnullvm 0.48.5", - "windows_aarch64_msvc 0.48.5", - "windows_i686_gnu 0.48.5", - "windows_i686_msvc 0.48.5", - "windows_x86_64_gnu 0.48.5", - "windows_x86_64_gnullvm 0.48.5", - "windows_x86_64_msvc 0.48.5", -] - [[package]] name = "windows-targets" version = "0.52.6" @@ -5663,27 +6151,37 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.53.0" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1e4c7e8ceaaf9cb7d7507c974735728ab453b67ef8f18febdd7c11fe59dca8b" +checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3" dependencies = [ - "windows_aarch64_gnullvm 0.53.0", - "windows_aarch64_msvc 0.53.0", - "windows_i686_gnu 0.53.0", - "windows_i686_gnullvm 0.53.0", - "windows_i686_msvc 0.53.0", - "windows_x86_64_gnu 0.53.0", - "windows_x86_64_gnullvm 0.53.0", - "windows_x86_64_msvc 0.53.0", + "windows-link 0.2.1", + "windows_aarch64_gnullvm 0.53.1", + "windows_aarch64_msvc 0.53.1", + "windows_i686_gnu 0.53.1", + "windows_i686_gnullvm 0.53.1", + "windows_i686_msvc 0.53.1", + "windows_x86_64_gnu 0.53.1", + "windows_x86_64_gnullvm 0.53.1", + "windows_x86_64_msvc 0.53.1", +] + +[[package]] +name = "windows-threading" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b66463ad2e0ea3bbf808b7f1d371311c80e115c0b71d60efc142cafbcfb057a6" +dependencies = [ + "windows-link 0.1.3", ] [[package]] name = "windows-version" -version = "0.1.2" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c12476c23a74725c539b24eae8bfc0dac4029c39cdb561d9f23616accd4ae26d" +checksum = "e4060a1da109b9d0326b7262c8e12c84df67cc0dbc9e33cf49e01ccc2eb63631" dependencies = [ - "windows-targets 0.53.0", + "windows-link 0.2.1", ] [[package]] @@ -5692,12 +6190,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" @@ -5706,9 +6198,9 @@ checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" [[package]] name = "windows_aarch64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b8d5f90ddd19cb4a147a5fa63ca848db3df085e25fee3cc10b39b6eebae764" +checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53" [[package]] name = "windows_aarch64_msvc" @@ -5716,12 +6208,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" @@ -5730,9 +6216,9 @@ checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" [[package]] name = "windows_aarch64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7651a1f62a11b8cbd5e0d42526e55f2c99886c77e007179efff86c2b137e66c" +checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006" [[package]] name = "windows_i686_gnu" @@ -5740,12 +6226,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" -[[package]] -name = "windows_i686_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -5754,9 +6234,9 @@ checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" [[package]] name = "windows_i686_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1dc67659d35f387f5f6c479dc4e28f1d4bb90ddd1a5d3da2e5d97b42d6272c3" +checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" [[package]] name = "windows_i686_gnullvm" @@ -5766,9 +6246,9 @@ checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" [[package]] name = "windows_i686_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce6ccbdedbf6d6354471319e781c0dfef054c81fbc7cf83f338a4296c0cae11" +checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c" [[package]] name = "windows_i686_msvc" @@ -5776,12 +6256,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" -[[package]] -name = "windows_i686_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" - [[package]] name = "windows_i686_msvc" version = "0.52.6" @@ -5790,9 +6264,9 @@ checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" [[package]] name = "windows_i686_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "581fee95406bb13382d2f65cd4a908ca7b1e4c2f1917f143ba16efe98a589b5d" +checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2" [[package]] name = "windows_x86_64_gnu" @@ -5800,12 +6274,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -5814,9 +6282,9 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnu" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e55b5ac9ea33f2fc1716d1742db15574fd6fc8dadc51caab1c16a3d3b4190ba" +checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499" [[package]] name = "windows_x86_64_gnullvm" @@ -5824,12 +6292,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" - [[package]] name = "windows_x86_64_gnullvm" version = "0.52.6" @@ -5838,9 +6300,9 @@ checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] name = "windows_x86_64_gnullvm" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a6e035dd0599267ce1ee132e51c27dd29437f63325753051e71dd9e42406c57" +checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1" [[package]] name = "windows_x86_64_msvc" @@ -5848,12 +6310,6 @@ version = "0.42.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" -[[package]] -name = "windows_x86_64_msvc" -version = "0.48.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" - [[package]] name = "windows_x86_64_msvc" version = "0.52.6" @@ -5862,9 +6318,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "windows_x86_64_msvc" -version = "0.53.0" +version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "271414315aff87387382ec3d271b52d7ae78726f5d44ac98b4f4030c91880486" +checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650" [[package]] name = "winnow" @@ -5877,21 +6333,21 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.24" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8d71a593cc5c42ad7876e2c1fda56f314f3754c084128833e64f1345ff8a03a" +checksum = "5a5364e9d77fcdeeaa6062ced926ee3381faa2ee02d3eb83a5c27a8825540829" dependencies = [ "memchr", ] [[package]] name = "winreg" -version = "0.52.0" +version = "0.55.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +checksum = "cb5a765337c50e9ec252c2069be9bf91c7df47afb103b642ba3a53bf8101be97" dependencies = [ "cfg-if", - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] @@ -5901,27 +6357,28 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904" [[package]] -name = "write16" -version = "1.0.0" +name = "wit-bindgen" +version = "0.46.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1890f4022759daae28ed4fe62859b1236caebfc61ede2f63ed4e695f3f6d936" +checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59" [[package]] name = "writeable" -version = "0.5.5" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +checksum = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" [[package]] name = "wry" -version = "0.48.1" +version = "0.53.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2e33c08b174442ff80d5c791020696f9f8b4e4a87b8cfc7494aad6167ec44e1" +checksum = "728b7d4c8ec8d81cab295e0b5b8a4c263c0d41a785fb8f8c4df284e5411140a2" dependencies = [ "base64 0.22.1", - "block2", + "block2 0.6.2", "cookie", "crossbeam-channel", + "dirs", "dpi", "dunce", "gdkx11", @@ -5933,9 +6390,10 @@ dependencies = [ "kuchikiki", "libc", "ndk", - "objc2", + "objc2 0.6.3", "objc2-app-kit", - "objc2-foundation", + "objc2-core-foundation", + "objc2-foundation 0.3.2", "objc2-ui-kit", "objc2-web-kit", "once_cell", @@ -5944,13 +6402,13 @@ dependencies = [ "sha2", "soup3", "tao-macros", - "thiserror 2.0.11", + "thiserror 2.0.17", "url", "webkit2gtk", "webkit2gtk-sys", - "webview2-com", - "windows 0.58.0", - "windows-core 0.58.0", + "webview2-com 0.38.0", + "windows 0.61.3", + "windows-core 0.61.2", "windows-version", "x11-dl", ] @@ -5978,15 +6436,29 @@ dependencies = [ [[package]] name = "xattr" -version = "1.4.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e105d177a3871454f754b33bb0ee637ecaaac997446375fd3e5d43a2ed00c909" +checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "linux-raw-sys", "rustix", ] +[[package]] +name = "xml" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2df5825faced2427b2da74d9100f1e2e93c533fff063506a81ede1cf517b2e7e" + +[[package]] +name = "xmltree" +version = "0.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbc04313cab124e498ab1724e739720807b6dc405b9ed0edc5860164d2e4ff70" +dependencies = [ + "xml", +] + [[package]] name = "xz2" version = "0.1.7" @@ -5998,11 +6470,10 @@ dependencies = [ [[package]] name = "yoke" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "120e6aef9aa629e3d4f52dc8cc43a015c7724194c97dfaf45180d2daf2b77f40" +checksum = "72d6e5c6afb84d73944e5cedb052c4680d5657337201555f9f2a16b7406d4954" dependencies = [ - "serde", "stable_deref_trait", "yoke-derive", "zerofrom", @@ -6010,69 +6481,79 @@ dependencies = [ [[package]] name = "yoke-derive" -version = "0.7.5" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154" +checksum = "b659052874eb698efe5b9e8cf382204678a0086ebf46982b79d6ca3182927e5d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", "synstructure", ] [[package]] name = "zerocopy" -version = "0.7.35" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" dependencies = [ - "byteorder", "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.35" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] [[package]] name = "zerofrom" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cff3ee08c995dee1859d998dea82f7374f2826091dd9cd47def953cae446cd2e" +checksum = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" dependencies = [ "zerofrom-derive", ] [[package]] name = "zerofrom-derive" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808" +checksum = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", "synstructure", ] [[package]] name = "zeroize" -version = "1.8.1" +version = "1.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" +checksum = "b97154e67e32c85465826e8bcc1c59429aaaf107c1e4a9e53c8d8ccd5eff88d0" + +[[package]] +name = "zerotrie" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a59c17a5562d507e4b54960e8569ebee33bee890c70aa3fe7b97e85a9fd7851" +dependencies = [ + "displaydoc", + "yoke", + "zerofrom", +] [[package]] name = "zerovec" -version = "0.10.4" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" +checksum = "6c28719294829477f525be0186d13efa9a3c602f7ec202ca9e353d310fb9a002" dependencies = [ "yoke", "zerofrom", @@ -6081,11 +6562,11 @@ dependencies = [ [[package]] name = "zerovec-derive" -version = "0.10.3" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" +checksum = "eadce39539ca5cb3985590102671f2567e659fca9666581ad3411d59207951f3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.96", + "syn 2.0.111", ] diff --git a/Cargo.toml b/Cargo.toml index db8c60a..9fb4148 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,21 +10,23 @@ members = [ ] [workspace.package] -rust-version = "1.80" -version = "2.4.3" +rust-version = "1.85" +version = "2.5.0" authors = ["Kevin Yue "] homepage = "https://github.com/yuezk/GlobalProtect-openconnect" -edition = "2021" +edition = "2024" license = "GPL-3.0" [workspace.dependencies] anyhow = "1.0" +askama = "0.14" base64 = "0.22" +chrono = "0.4" clap = { version = "4", features = ["derive"] } clap-verbosity-flag = "3" ctrlc = "3.4" -directories = "5.0" -dns-lookup = "2.0.4" +directories = "6.0" +dns-lookup = "3" env_logger = "0.11" is_executable = "1.0" log = "0.4" @@ -32,10 +34,11 @@ regex = "1" reqwest = { version = "0.12", features = ["native-tls", "json"] } openssl = "0.10" pem = "3" -roxmltree = "0.20" +xmltree = "0.12" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -sysinfo = "0.33" +# Use 0.36 as newer versions requires Rust 1.88+ +sysinfo = "0.36" tempfile = "3.8" tokio = { version = "1" } tokio-util = "0.7" @@ -50,9 +53,12 @@ thiserror = "2" redact-engine = "0.1" compile-time = "0.2" serde_urlencoded = "0.7" -md5 = "0.7" +md5 = "0.8" sha256 = "1" -which = "7" +which = "8" +uuid = "1" +netdev = "0.39" +machine-uid = "0.5" # Tauri dependencies tauri = { version = "2" } diff --git a/Makefile b/Makefile index c84a7e8..9c08a8b 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ OFFLINE ?= 0 BUILD_FE ?= 1 INCLUDE_GUI ?= 0 CARGO ?= cargo -RUST_VERSION = 1.80 +DISABLE_RUST_TOOLCHAIN ?= 0 -VERSION = $(shell $(CARGO) metadata --no-deps --format-version 1 | jq -r '.packages[0].version') +VERSION = $(shell grep '^version' Cargo.toml | head -1 | sed 's/version *= *"\(.*\)"/\1/') REVISION ?= 1 RPM_SOURCE ?= %{name}.tar.gz @@ -102,12 +102,16 @@ build-rs: tar -xJf vendor.tar.xz; \ fi + # Remove the rust-toolchain.toml if DISABLE_RUST_TOOLCHAIN is set to 1 + if [ $(DISABLE_RUST_TOOLCHAIN) -eq 1 ]; then \ + rm -vf rust-toolchain.toml; \ + fi + # Only build the GUI components if BUILD_GUI is set to 1 if [ $(BUILD_GUI) -eq 1 ]; then \ - $(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpservice -p gpauth; \ - $(CARGO) build $(CARGO_BUILD_ARGS) -p gpgui-helper --features "tauri/custom-protocol"; \ + $(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpservice -p gpauth -p gpgui-helper; \ else \ - $(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpservice -p gpauth --no-default-features; \ + $(CARGO) build $(CARGO_BUILD_ARGS) -p gpclient -p gpservice -p gpauth; \ fi clean: @@ -132,6 +136,9 @@ install: install -Dm755 .build/gpgui/gpgui_*/gpgui $(DESTDIR)/usr/bin/gpgui; \ fi + # Install the HIP report script + install -Dm755 packaging/files/usr/libexec/gpclient/hipreport.sh $(DESTDIR)/usr/libexec/gpclient/hipreport.sh + # Install the disconnect hooks install -Dm755 packaging/files/usr/lib/NetworkManager/dispatcher.d/pre-down.d/gpclient.down $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/pre-down.d/gpclient.down install -Dm755 packaging/files/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook @@ -152,6 +159,8 @@ uninstall: rm -f $(DESTDIR)/usr/bin/gpgui-helper rm -f $(DESTDIR)/usr/bin/gpgui + rm -f $(DESTDIR)/usr/libexec/gpclient/hipreport.sh + rm -f $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/pre-down.d/gpclient.down rm -f $(DESTDIR)/usr/lib/NetworkManager/dispatcher.d/gpclient-nm-hook @@ -180,11 +189,9 @@ init-debian: clean-debian tarball sed -i "s/@OFFLINE@/$(OFFLINE)/g" .build/deb/$(PKG)/debian/rules sed -i "s/@BUILD_GUI@/$(BUILD_GUI)/g" .build/deb/$(PKG)/debian/rules - sed -i "s/@RUST_VERSION@/$(RUST_VERSION)/g" .build/deb/$(PKG)/debian/rules # Remove the GUI dependencies if BUILD_GUI is set to 0 if [ $(BUILD_GUI) -eq 0 ]; then \ - sed -i "/libxml2/d" .build/deb/$(PKG)/debian/control; \ sed -i "/libsecret-1-0/d" .build/deb/$(PKG)/debian/control; \ sed -i "/libayatana-appindicator3-1/d" .build/deb/$(PKG)/debian/control; \ sed -i "/gnome-keyring/d" .build/deb/$(PKG)/debian/control; \ @@ -194,11 +201,11 @@ init-debian: clean-debian tarball rm -f .build/deb/$(PKG)/debian/changelog deb: init-debian - # Remove the rust build dependency from the control file - sed -i "s/@RUST@//g" .build/deb/$(PKG)/debian/control - cd .build/deb/$(PKG) && dch --create --distribution unstable --package $(PKG_NAME) --newversion $(VERSION)-$(REVISION) "Bugfix and improvements." + # Install build dependencies + cd .build/deb/$(PKG) && sudo mk-build-deps --install --remove debian/control + cd .build/deb/$(PKG) && debuild --preserve-env -e PATH -us -uc -b check-ppa: @@ -208,8 +215,6 @@ check-ppa: # Usage: make ppa SERIES=focal OFFLINE=1 PUBLISH=1 ppa: check-ppa init-debian - sed -i "s/@RUST@/cargo-1.80/g" .build/deb/$(PKG)/debian/control - $(eval SERIES_VER = $(shell distro-info --series $(SERIES) -r | cut -d' ' -f1)) @echo "Building for $(SERIES) $(SERIES_VER)" diff --git a/README.md b/README.md index 4147263..f6b60ff 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Or you can try the following command if the above command does not work: gpauth --browser default 2>/dev/null | sudo gpclient connect --cookie-on-stdin ``` -You can specify the browser with the `--browser ` option, e.g., `--browser firefox`, `--browser chrome`, etc. +You can specify the browser with the `--browser ` option, e.g., `--browser firefox`, `--browser chrome`, etc. Use `--browser remote` to use a remote browser for authentication, this will give you a URL you can access on a separate computer with a browser to complete authentication. Useful for headless servers. ### GUI @@ -141,9 +141,48 @@ It is available via `guru` and `lamdness` overlays. ```bash sudo eselect repository enable guru sudo emerge -r guru sync -sudo emerge -av net-vpn/globalprotect-openconnect +sudo emerge -av net-vpn/GlobalProtect-openconnect ``` +### NixOS + +This repo includes a flake for NixOS. You can add the following to your `flake.nix`: + +```nix +{ + inputs = { + # ... other inputs + globalprotect-openconnect.url = "github:yuezk/GlobalProtect-openconnect"; + }; + + outputs = { nixpkgs, ... }@inputs: { + nixosConfigurations. = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; + modules = [ + ./configuration.nix + ]; + }; + }; +} +``` + +Then add `globalprotect-openconnect` to your `environment.systemPackages` in `configuration.nix`: + +```nix +{ config, pkgs, inputs, ... }: + +{ + # ... other configurations + environment.systemPackages = with pkgs; [ + # ... other packages + ] ++ [ + inputs.globalprotect-openconnect.packages.${pkgs.system}.default + ]; +} +``` + +Finally, run `sudo nixos-rebuild switch` to apply the changes. + ### Other distributions - Install `openconnect >= 8.20`, `webkit2gtk`, `libsecret`, `libayatana-appindicator` or `libappindicator-gtk3`. @@ -153,23 +192,84 @@ sudo emerge -av net-vpn/globalprotect-openconnect ## Build from source -You can also build the client from source, steps are as follows: +You can build the client from source using either a devcontainer (recommended) or a local setup. -### Prerequisites +### Option 1: Using DevContainer (Recommended) -- [Install Rust 1.80 or later](https://www.rust-lang.org/tools/install) +This project includes a devcontainer configuration that provides a consistent build environment with all dependencies pre-installed. + +#### Prerequisites + +- [Docker](https://docs.docker.com/get-docker/) +- [VS Code](https://code.visualstudio.com/) with [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) (optional, for IDE support) + +#### Build Steps + +1. Clone the repository and submodules: + ```bash + git clone https://github.com/yuezk/GlobalProtect-openconnect.git + cd GlobalProtect-openconnect + git submodule update --init --recursive + ``` + +2. Build the devcontainer image: + ```bash + docker build -t gpoc-devcontainer .devcontainer/ + ``` + +3. Build the project: + ```bash + docker run --privileged --cap-add=NET_ADMIN --device=/dev/net/tun \ + -v "$(pwd)":/workspace -w /workspace gpoc-devcontainer \ + bash -c "export PATH=/usr/local/cargo/bin:\$PATH && make build" + ``` + +4. The built binaries will be available in `target/release/`: + - `gpclient` - CLI client + - `gpservice` - Background service + - `gpauth` - Authentication helper + - `gpgui-helper` - GUI helper + +#### Alternative: VS Code DevContainer + +1. Open the project in VS Code +2. When prompted, click "Reopen in Container" or run the command "Dev Containers: Reopen in Container" +3. Once the container is built and running, open a terminal in VS Code and run: + ```bash + make build + ``` + +### Option 2: Local Build + +#### Prerequisites + +- [Install Rust 1.85 or later](https://www.rust-lang.org/tools/install) - Install Tauri dependencies: https://tauri.app/start/prerequisites/ -- Install `perl` and `jq` +- Install `perl` - Install `openconnect >= 8.20` and `libopenconnect-dev` (or `openconnect-devel` on RPM-based distributions) - Install `pkexec`, `gnome-keyring` (or `pam_kwallet` on KDE) - Install `nodejs` and `pnpm` (optional only if you downloaded the source tarball from the release page and run with the `BUILD_FE=0` flag, see below) -### Build +#### Build Steps 1. Download the source code tarball from [releases](https://github.com/yuezk/GlobalProtect-openconnect/releases) page. Choose `globalprotect-openconnect-${version}.tar.gz`. 2. Extract the tarball with `tar -xzf globalprotect-openconnect-${version}.tar.gz`. 3. Enter the source directory and run `make build BUILD_FE=0` to build the client. -3. Run `sudo make install` to install the client. (Note, `DESTDIR` is not supported) +4. Run `sudo make install` to install the client. (Note, `DESTDIR` is not supported) + +### Testing the Build + +After building, you can test the CLI client: + +```bash +./target/release/gpclient --help +``` + +### Build Options + +- `BUILD_GUI=0` - Disable GUI components (CLI only) +- `BUILD_FE=0` - Skip frontend build (use pre-built assets) +- `OFFLINE=1` - Build in offline mode using vendored dependencies ## FAQ diff --git a/apps/gpauth/Cargo.toml b/apps/gpauth/Cargo.toml index 853bc0f..4b7b703 100644 --- a/apps/gpauth/Cargo.toml +++ b/apps/gpauth/Cargo.toml @@ -10,6 +10,7 @@ license.workspace = true tauri-build = { version = "2", features = [], optional = true } [dependencies] +common = { path = "../../crates/common" } gpapi = { path = "../../crates/gpapi", features = ["clap"] } auth = { path = "../../crates/auth", features = ["browser-auth"] } @@ -24,8 +25,8 @@ tokio.workspace = true tempfile.workspace = true compile-time.workspace = true -# Pin the version of home because the latest version requires Rust 1.81 -home = "=0.5.9" +# Pin to specific version due to MSRV +home = "=0.5.11" # webview auth dependencies tauri = { workspace = true, optional = true } diff --git a/apps/gpauth/src/cli.rs b/apps/gpauth/src/cli.rs index 014875d..f7385f2 100644 --- a/apps/gpauth/src/cli.rs +++ b/apps/gpauth/src/cli.rs @@ -1,11 +1,11 @@ use auth::{auth_prelogin, BrowserAuthenticator}; use clap::Parser; +use common::constants::GP_USER_AGENT; use gpapi::{ auth::{SamlAuthData, SamlAuthResult}, clap::{args::Os, handle_error, Args, InfoLevelVerbosity}, gp_params::{ClientOs, GpParams}, utils::{normalize_server, openssl}, - GP_USER_AGENT, }; use log::info; use serde_json::json; @@ -62,7 +62,9 @@ struct Cli { #[arg( long, - help = "The browser to use for authentication, e.g., `default`, `firefox`, `chrome`, `chromium`, or the path to the browser executable" + help = "The browser to use for authentication, e.g., `default`, `firefox`, `chrome`, `chromium`, or the path to the browser executable", + default_missing_value = "default", + num_args=0..=1 )] browser: Option, diff --git a/apps/gpclient/Cargo.toml b/apps/gpclient/Cargo.toml index aedd48d..9db9105 100644 --- a/apps/gpclient/Cargo.toml +++ b/apps/gpclient/Cargo.toml @@ -12,18 +12,23 @@ gpapi = { path = "../../crates/gpapi", features = ["clap"] } openconnect = { path = "../../crates/openconnect" } anyhow.workspace = true +askama.workspace = true +chrono.workspace = true clap.workspace = true env_logger.workspace = true -inquire = "0.7" +inquire = "0.9" log.workspace = true tokio = { workspace = true, features = ["rt-multi-thread"] } sysinfo.workspace = true serde_json.workspace = true +serde_urlencoded.workspace = true whoami.workspace = true tempfile.workspace = true reqwest.workspace = true directories.workspace = true compile-time.workspace = true +netdev.workspace = true +xmltree.workspace = true [features] default = ["webview-auth"] diff --git a/apps/gpclient/src/cli.rs b/apps/gpclient/src/cli.rs index dd47000..cff6aa1 100644 --- a/apps/gpclient/src/cli.rs +++ b/apps/gpclient/src/cli.rs @@ -3,7 +3,7 @@ use std::{env::temp_dir, fs::File, str::FromStr}; use anyhow::bail; use clap::{Parser, Subcommand}; use gpapi::{ - clap::{handle_error, Args, InfoLevelVerbosity}, + clap::{Args, InfoLevelVerbosity, handle_error}, utils::openssl, }; use log::info; @@ -12,10 +12,11 @@ use tempfile::NamedTempFile; use tokio::fs; use crate::{ + GP_CLIENT_LOCK_FILE, connect::{ConnectArgs, ConnectHandler}, disconnect::{DisconnectArgs, DisconnectHandler}, + hip::{HipArgs, HipHandler}, launch_gui::{LaunchGuiArgs, LaunchGuiHandler}, - GP_CLIENT_LOCK_FILE, }; const VERSION: &str = concat!(env!("CARGO_PKG_VERSION"), " (", compile_time::date_str!(), ")"); @@ -34,6 +35,8 @@ enum CliCommand { Disconnect(DisconnectArgs), #[command(about = "Launch the GUI")] LaunchGui(LaunchGuiArgs), + #[command(about = "Generate HIP report")] + Hip(HipArgs), } #[derive(Parser)] @@ -111,7 +114,7 @@ impl Cli { async fn run(&self) -> anyhow::Result<()> { // check if an instance is running - if self.is_running().await { + if !matches!(self.command, CliCommand::Disconnect(_)) && self.is_running().await { bail!("Another instance of the client is already running"); } @@ -132,6 +135,7 @@ impl Cli { CliCommand::Connect(args) => ConnectHandler::new(args, &shared_args).handle().await, CliCommand::Disconnect(args) => DisconnectHandler::new(args).handle().await, CliCommand::LaunchGui(args) => LaunchGuiHandler::new(args).handle().await, + CliCommand::Hip(args) => HipHandler::new(args).handle().await, } } } diff --git a/apps/gpclient/src/connect.rs b/apps/gpclient/src/connect.rs index d496e71..ae76fd3 100644 --- a/apps/gpclient/src/connect.rs +++ b/apps/gpclient/src/connect.rs @@ -2,27 +2,26 @@ use std::{cell::RefCell, fs, sync::Arc}; use anyhow::bail; use clap::Args; -use common::vpn_utils::find_csd_wrapper; +use common::constants::GP_USER_AGENT; use gpapi::{ auth::SamlAuthResult, - clap::{args::Os, ToVerboseArg}, + clap::{ToVerboseArg, args::Os}, credential::{Credential, PasswordCredential}, error::PortalError, - gateway::{gateway_login, GatewayLogin}, + gateway::{GatewayLogin, gateway_login}, gp_params::{ClientOs, GpParams}, - portal::{prelogin, retrieve_config, Prelogin}, + portal::{Prelogin, StandardPrelogin, prelogin, retrieve_config}, process::{ auth_launcher::SamlAuthLauncher, users::{get_non_root_user, get_user_by_name}, }, - utils::{request::RequestIdentityError, shutdown_signal}, - GP_USER_AGENT, + utils::{host_utils, request::RequestIdentityError, shutdown_signal}, }; use inquire::{Password, PasswordDisplayMode, Select, Text}; use log::{info, warn}; use openconnect::Vpn; -use crate::{cli::SharedArgs, GP_CLIENT_LOCK_FILE}; +use crate::{GP_CLIENT_LOCK_FILE, cli::SharedArgs}; #[derive(Args)] pub(crate) struct ConnectArgs { @@ -41,9 +40,15 @@ pub(crate) struct ConnectArgs { #[arg(long, help = "Read the cookie from standard input")] cookie_on_stdin: bool, - #[arg(long, short, help = "The VPNC script to use")] + #[arg(long, short, help = "The VPNC script to use", required_if_eq("script_tun", "true"))] script: Option, + #[arg(long, short, help = "The IFNAME for tunnel interface")] + interface: Option, + + #[arg(long, short = 'S', help = "Pass traffic to '--script' program, not tun")] + script_tun: bool, + #[arg(long, help = "Connect the server as a gateway, instead of a portal")] as_gateway: bool, @@ -90,9 +95,18 @@ pub(crate) struct ConnectArgs { #[arg(long, help = "If not specified, it will be computed based on the --os option")] os_version: Option, + #[arg(long, help = "The GP client version to emulate, e.g., '6.2.4-49'")] + client_version: Option, + #[arg(long, help = "Disable DTLS and ESP")] no_dtls: bool, + #[arg( + long = "force-dpd", + help = "Same as the '--force-dpd' option in the openconnect command" + )] + dpd_interval: Option, + #[cfg(feature = "webview-auth")] #[arg(long, help = "The HiDPI mode, useful for high-resolution screens")] hidpi: bool, @@ -107,29 +121,38 @@ pub(crate) struct ConnectArgs { #[arg( long, - help = "Use the specified browser to authenticate, e.g., `default`, `firefox`, `chrome`, `chromium`, or the path to the browser executable" + help = "Use the specified browser to authenticate, e.g., `default`, `firefox`, `chrome`, `chromium`, `remote`.\nOr the path to the browser executable.\nUse 'remote' for headless servers.", + default_missing_value = "default", + num_args=0..=1 )] browser: Option, } impl ConnectArgs { fn default_os() -> Os { - if cfg!(target_os = "macos") { + #[cfg(target_os = "macos")] + { Os::Mac - } else { + } + #[cfg(target_os = "windows")] + { + Os::Windows + } + #[cfg(not(any(target_os = "macos", target_os = "windows")))] + { Os::Linux } } - fn os_version(&self) -> String { + fn os_version(&self) -> &str { if let Some(os_version) = self.os_version.as_deref() { - return os_version.to_string(); + return os_version; } match self.os { - Os::Linux => format!("Linux {}", whoami::distro()), - Os::Windows => String::from("Microsoft Windows 11 Pro , 64-bit"), - Os::Mac => String::from("Apple Mac OS X 13.4.0"), + Os::Linux => host_utils::get_linux_os_string(), + Os::Windows => host_utils::get_windows_os_string(), + Os::Mac => host_utils::get_macos_os_string(), } } } @@ -138,6 +161,7 @@ pub(crate) struct ConnectHandler<'a> { args: &'a ConnectArgs, shared_args: &'a SharedArgs<'a>, latest_key_password: RefCell>, + password_from_stdin: RefCell>, } impl<'a> ConnectHandler<'a> { @@ -146,6 +170,7 @@ impl<'a> ConnectHandler<'a> { args, shared_args, latest_key_password: Default::default(), + password_from_stdin: Default::default(), } } @@ -153,7 +178,7 @@ impl<'a> ConnectHandler<'a> { GpParams::builder() .user_agent(&self.args.user_agent) .client_os(ClientOs::from(&self.args.os)) - .os_version(self.args.os_version()) + .os_version(self.args.os_version().to_owned()) .ignore_tls_errors(self.shared_args.ignore_tls_errors) .certificate(self.args.certificate.clone()) .sslkey(self.args.sslkey.clone()) @@ -265,7 +290,11 @@ impl<'a> ConnectHandler<'a> { } }; - self.connect_gateway(gateway, &cookie).await + // Use the client version from the command line argument if specified, otherwise + // use the version from the portal config if available + let client_version = self.args.client_version.as_deref().or_else(|| portal_config.version()); + + self.connect_gateway(gateway, &cookie, client_version).await } async fn connect_gateway_with_prelogin(&self, gateway: &str) -> anyhow::Result<()> { @@ -279,7 +308,10 @@ impl<'a> ConnectHandler<'a> { let cookie = self.login_gateway(gateway, &cred, &gp_params).await?; - self.connect_gateway(gateway, &cookie).await + // When logging in to a gateway directly, there is no portal config to get the client version from + let client_version = self.args.client_version.as_deref(); + + self.connect_gateway(gateway, &cookie, client_version).await } async fn login_gateway(&self, gateway: &str, cred: &Credential, gp_params: &GpParams) -> anyhow::Result { @@ -299,31 +331,37 @@ impl<'a> ConnectHandler<'a> { } } - async fn connect_gateway(&self, gateway: &str, cookie: &str) -> anyhow::Result<()> { + async fn connect_gateway(&self, gateway: &str, cookie: &str, client_version: Option<&str>) -> anyhow::Result<()> { let mtu = self.args.mtu.unwrap_or(0); let csd_uid = get_csd_uid(&self.args.csd_user)?; - let csd_wrapper = if self.args.csd_wrapper.is_some() { - self.args.csd_wrapper.clone() + let (hip, csd_wrapper) = if let Some(csd_wrapper) = &self.args.csd_wrapper { + (true, Some(csd_wrapper.clone())) } else if self.args.hip { - find_csd_wrapper() + (true, None) } else { - None + (false, None) }; let os = ClientOs::from(&self.args.os).to_openconnect_os().to_string(); + let client_version = client_version.map(|s| s.to_owned()); let vpn = Vpn::builder(gateway, cookie) .script(self.args.script.clone()) + .interface(self.args.interface.clone()) + .script_tun(self.args.script_tun) .user_agent(self.args.user_agent.clone()) .os(Some(os)) + .client_version(client_version) .certificate(self.args.certificate.clone()) .sslkey(self.args.sslkey.clone()) .key_password(self.latest_key_password.borrow().clone()) + .hip(hip) .csd_uid(csd_uid) .csd_wrapper(csd_wrapper) .reconnect_timeout(self.args.reconnect_timeout) .mtu(mtu) .disable_ipv6(self.args.disable_ipv6) .no_dtls(self.args.no_dtls) + .dpd_interval(self.args.dpd_interval.unwrap_or(0)) .build()?; let vpn = Arc::new(vpn); @@ -358,7 +396,9 @@ impl<'a> ConnectHandler<'a> { let browser = if prelogin.support_default_browser() { self.args.browser.as_deref() } else if !cfg!(feature = "webview-auth") { - bail!("The server does not support authentication via the default browser and the gpclient is not built with the `webview-auth` feature"); + bail!( + "The server does not support authentication via the default browser and the gpclient is not built with the `webview-auth` feature" + ); } else { None }; @@ -397,24 +437,41 @@ impl<'a> ConnectHandler<'a> { |user| Ok(user.to_owned()), )?; - let password = if self.args.passwd_on_stdin { - info!("Reading password from standard input"); - let mut input = String::new(); - std::io::stdin().read_line(&mut input)?; - input.trim_end().to_owned() - } else { - Password::new(&format!("{}:", prelogin.label_password())) - .without_confirmation() - .with_display_mode(PasswordDisplayMode::Masked) - .prompt()? - }; - + let password = self.obtain_password(prelogin)?; let password_cred = PasswordCredential::new(&user, &password); Ok(password_cred.into()) } } } + + fn obtain_password(&self, prelogin: &StandardPrelogin) -> anyhow::Result { + let password = if self.args.passwd_on_stdin { + // If the password has been read from stdin, use it directly + if let Some(password) = self.password_from_stdin.borrow().as_ref() { + info!("Reusing the password read from standard input"); + return Ok(password.clone()); + } + + info!("Reading password from standard input"); + let mut input = String::new(); + std::io::stdin().read_line(&mut input)?; + let password = input.trim_end().to_owned(); + // Considering that the gateway connection may fail even though the password read + // from stdin is correct. It may retry the gateway connection, so we need to + // save the password read from stdin to avoid reading stdin again. + self.password_from_stdin.replace(Some(password.clone())); + + password + } else { + Password::new(&format!("{}:", prelogin.label_password())) + .without_confirmation() + .with_display_mode(PasswordDisplayMode::Masked) + .prompt()? + }; + + Ok(password) + } } fn read_cookie_from_stdin() -> anyhow::Result { @@ -433,8 +490,11 @@ fn read_cookie_from_stdin() -> anyhow::Result { fn write_pid_file() { let pid = std::process::id(); - fs::write(GP_CLIENT_LOCK_FILE, pid.to_string()).unwrap(); - info!("Wrote PID {} to {}", pid, GP_CLIENT_LOCK_FILE); + if let Err(err) = fs::write(GP_CLIENT_LOCK_FILE, pid.to_string()) { + warn!("Failed to write PID file: {}", err); + } else { + info!("Wrote PID {} to {}", pid, GP_CLIENT_LOCK_FILE); + } } fn get_csd_uid(csd_user: &Option) -> anyhow::Result { diff --git a/apps/gpclient/src/hip.rs b/apps/gpclient/src/hip.rs new file mode 100644 index 0000000..4d073bd --- /dev/null +++ b/apps/gpclient/src/hip.rs @@ -0,0 +1,381 @@ +use askama::Template; +use clap::Args; +use gpapi::utils::host_utils; +use log::debug; +use std::collections::HashMap; +use xmltree::Element; + +#[derive(Template)] +#[template(path = "hip_report.xml")] +struct HipReportTemplate<'a> { + client_version: &'a str, + generate_time: String, + day: String, + month: String, + year: String, + md5: &'a str, + user_name: &'a str, + host_info: HostInfo, +} + +/// Host information for HIP reporting +struct HostInfo { + /// Only for macOS and Windows + host_id: String, + /// Common for all OSes + host_name: String, + os: &'static str, + /// Only for macOS and Windows + os_version: &'static str, + os_vendor: &'static str, + domain: String, + network_interfaces: Vec, +} + +impl HostInfo { + /// Get the first available IPv4 address from network interfaces + pub fn default_ipv4(&self) -> &str { + self + .network_interfaces + .first() + .and_then(|iface| iface.ipv4.as_deref()) + .unwrap_or_default() + } + + /// Get the first available IPv6 address from network interfaces + pub fn default_ipv6(&self) -> &str { + self + .network_interfaces + .first() + .and_then(|iface| iface.ipv6.as_deref()) + .unwrap_or_default() + } +} + +/// Network interface information +#[derive(Clone)] +struct NetworkInterface { + name: String, + description: String, + mac_address: Option, + ipv4: Option, + ipv6: Option, +} + +impl NetworkInterface { + /// Create a new network interface with basic information + fn new(name: String, description: String) -> Self { + Self { + name, + description, + mac_address: None, + ipv4: None, + ipv6: None, + } + } + + /// Set MAC address + fn with_mac(mut self, mac: Option) -> Self { + self.mac_address = mac; + self + } + + /// Set IPv4 address + fn with_ipv4(mut self, ipv4: Option) -> Self { + self.ipv4 = ipv4; + self + } + + /// Set IPv6 address + fn with_ipv6(mut self, ipv6: Option) -> Self { + self.ipv6 = ipv6; + self + } +} + +#[derive(Args)] +pub(crate) struct HipArgs { + #[arg(long, help = "The authentication cookie")] + cookie: String, + + #[arg(long, help = "The client IPv4 address")] + client_ip: Option, + + #[arg(long, help = "The client IPv6 address")] + client_ipv6: Option, + + #[arg(long, help = "The MD5 digest to encode into the HIP report")] + md5: String, + + #[arg(long, default_value = "Windows", help = "The client OS (Linux, Mac, or Windows)")] + client_os: String, + + #[arg(long, default_value = "", help = "The client software version")] + client_version: String, +} + +pub(crate) struct HipHandler<'a> { + args: &'a HipArgs, +} + +impl<'a> HipHandler<'a> { + pub(crate) fn new(args: &'a HipArgs) -> Self { + Self { args } + } + + pub(crate) async fn handle(&self) -> anyhow::Result<()> { + self.validate_args()?; + let cookie_params = self.parse_cookie(); + let report = self.generate_hip_report(&cookie_params)?; + + debug!("Generated HIP report:\n{}", report); + println!("{}", report); + + Ok(()) + } + + /// Validate that at least one IP address is provided + fn validate_args(&self) -> anyhow::Result<()> { + if self.args.client_ip.is_none() && self.args.client_ipv6.is_none() { + anyhow::bail!("At least one of --client-ip or --client-ipv6 must be provided"); + } + Ok(()) + } + + fn parse_cookie(&self) -> HashMap { + // Parse URL-encoded cookie string using serde_urlencoded + serde_urlencoded::from_str(&self.args.cookie).unwrap_or_default() + } + + /// Generate the complete HIP report XML + fn generate_hip_report(&self, cookie_params: &HashMap) -> anyhow::Result { + let (generate_time, day, month, year) = get_current_time_components(); + let user_name = cookie_params.get("user").map(|s| s.as_str()).unwrap_or(""); + let host_info = self.collect_host_info(cookie_params); + let client_version = std::env::var("APP_VERSION") + .map(|v| v.leak() as &'a str) + .unwrap_or(&self.args.client_version); + + let template = HipReportTemplate { + client_version, + generate_time, + day, + month, + year, + md5: &self.args.md5, + user_name, + host_info, + }; + + let report = template.render()?; + format_xml(&report) + } + + /// Collect host information based on the client OS + fn collect_host_info(&self, cookie_params: &HashMap) -> HostInfo { + let collector = HostInfoCollector::new(self.args, cookie_params); + + match self.args.client_os.as_str() { + "Linux" => collector.collect_linux(), + "Mac" => collector.collect_macos(), + _ => collector.collect_windows(), + } + } +} + +// ============================================================================ +// Host Information Collector +// ============================================================================ + +/// Helper struct for collecting host information +struct HostInfoCollector<'a> { + args: &'a HipArgs, + cookie_params: &'a HashMap, +} + +impl<'a> HostInfoCollector<'a> { + fn new(args: &'a HipArgs, cookie_params: &'a HashMap) -> Self { + Self { args, cookie_params } + } + + /// Get domain from cookie parameters + fn get_domain(&self) -> String { + self + .cookie_params + .get("domain") + .map(|s| s.to_string()) + .unwrap_or_default() + } + + /// Collect network interface information with fallback + fn collect_network_interface(&self) -> NetworkInterface { + match netdev::get_default_interface() { + Ok(iface) => NetworkInterface::new( + iface.name.clone(), + iface.description.unwrap_or_else(|| iface.name.clone()), + ) + .with_mac(iface.mac_addr.map(|mac| mac.address())) + .with_ipv4(iface.ipv4.first().map(|ip| ip.addr().to_string())) + .with_ipv6(iface.ipv6.first().map(|ip| ip.addr().to_string())), + + Err(_) => NetworkInterface::new("unknown".to_string(), "unknown".to_string()) + .with_ipv4(self.args.client_ip.clone()) + .with_ipv6(self.args.client_ipv6.clone()), + } + } + + /// Collect Linux-specific host information + fn collect_linux(&self) -> HostInfo { + let iface = self.collect_network_interface(); + + // Use the fixed interface name enp1s0f0 for Linux if it is not on Linux + let iface = NetworkInterface { + #[cfg(target_os = "linux")] + name: iface.name, + #[cfg(target_os = "linux")] + description: iface.description, + + #[cfg(not(target_os = "linux"))] + name: "enp1s0f0".to_string(), + #[cfg(not(target_os = "linux"))] + description: "enp1s0f0".to_string(), + + mac_address: iface.mac_address, + ipv4: iface.ipv4, + ipv6: iface.ipv6, + }; + + HostInfo { + os_vendor: "Linux", + host_id: host_utils::derive_uuid(&[]), + os: host_utils::get_linux_os_string(), + host_name: whoami::devicename(), + os_version: "", + domain: String::new(), + network_interfaces: vec![iface], + } + } + + /// Collect macOS-specific host information + fn collect_macos(&self) -> HostInfo { + let iface = self.collect_network_interface(); + // macOS use the mac address as host ID + let host_id = iface + .mac_address + .as_ref() + .map(|s| s.to_string()) + .unwrap_or_else(|| "00:00:00:00:00:00".to_string()); + + // Use the fixed interface name en0 for macOS if it is not on macOS + let iface = NetworkInterface { + #[cfg(target_os = "macos")] + name: iface.name, + #[cfg(target_os = "macos")] + description: iface.description, + + #[cfg(not(target_os = "macos"))] + name: "en0".to_string(), + #[cfg(not(target_os = "macos"))] + description: "en0".to_string(), + + mac_address: iface.mac_address, + ipv4: iface.ipv4, + ipv6: iface.ipv6, + }; + + HostInfo { + os_vendor: "Apple", + host_id, + os: host_utils::get_macos_os_string(), + host_name: whoami::devicename(), + os_version: host_utils::get_macos_version(), + domain: self.get_domain(), + network_interfaces: vec![iface], + } + } + + /// Collect Windows-specific host information + fn collect_windows(&self) -> HostInfo { + // Use the actual machine ID on Windows + #[cfg(target_os = "windows")] + let host_id = host_utils::get_machine_id().to_string(); + #[cfg(not(target_os = "windows"))] + let host_id = host_utils::derive_uuid(&[]); + + let iface = self.collect_network_interface(); + + // Use the fixed interface name if it is not on Windows + let iface = NetworkInterface { + #[cfg(target_os = "windows")] + name: iface.name, + #[cfg(target_os = "windows")] + description: iface.description, + + #[cfg(not(target_os = "windows"))] + name: derive_windows_network_name(&iface), + #[cfg(not(target_os = "windows"))] + description: "PANGP Virtual Ethernet Adapter Secure".to_string(), + + // mac address on windows should replace ':' with '-' + mac_address: iface.mac_address.map(|mac| mac.replace(':', "-")), + ipv4: iface.ipv4, + ipv6: iface.ipv6, + }; + + // Add the local loopback interface + let loopback_iface = NetworkInterface { + name: derive_windows_network_name(&iface), + description: "Software Loopback Interface 1".to_string(), + mac_address: Some(String::new()), + ipv4: Some("127.0.0.1".to_string()), + ipv6: Some("::1".to_string()), + }; + + let ifaces = vec![iface, loopback_iface]; + + HostInfo { + os_vendor: "Microsoft", + host_id, + os: host_utils::get_windows_os_string(), + host_name: whoami::devicename(), + os_version: host_utils::get_windows_version(), + domain: self.get_domain(), + network_interfaces: ifaces, + } + } +} + +// ============================================================================ +// Utility Functions +// ============================================================================ + +/// Get current time components for HIP report +fn get_current_time_components() -> (String, String, String, String) { + let now = chrono::Local::now(); + ( + now.format("%m/%d/%Y %H:%M:%S").to_string(), + now.format("%d").to_string(), + now.format("%m").to_string(), + now.format("%Y").to_string(), + ) +} + +/// Format XML string with proper indentation +fn format_xml(xml_str: &str) -> anyhow::Result { + let xml = Element::parse(xml_str.as_bytes())?; + + let config = xmltree::EmitterConfig::new().perform_indent(true); + let mut xml_buf = Vec::new(); + xml.write_with_config(&mut xml_buf, config)?; + + Ok(String::from_utf8(xml_buf)?) +} + +fn derive_windows_network_name(iface: &NetworkInterface) -> String { + let seeds = [ + iface.mac_address.as_deref().unwrap_or("00:00:00:00:00:00"), + iface.name.as_str(), + ]; + + format!("{{{}}}", host_utils::derive_uuid(&seeds).to_uppercase()) +} diff --git a/apps/gpclient/src/launch_gui.rs b/apps/gpclient/src/launch_gui.rs index fd5e8aa..6acae4f 100644 --- a/apps/gpclient/src/launch_gui.rs +++ b/apps/gpclient/src/launch_gui.rs @@ -1,11 +1,11 @@ use std::{collections::HashMap, env::temp_dir, fs, path::PathBuf}; use clap::Args; +use common::constants::GP_CALLBACK_PORT_FILENAME; use directories::ProjectDirs; use gpapi::{ process::service_launcher::ServiceLauncher, utils::{endpoint::http_endpoint, env_utils, shutdown_signal}, - GP_CALLBACK_PORT_FILENAME, }; use log::info; use tokio::io::AsyncWriteExt; diff --git a/apps/gpclient/src/main.rs b/apps/gpclient/src/main.rs index 41343ed..eacc565 100644 --- a/apps/gpclient/src/main.rs +++ b/apps/gpclient/src/main.rs @@ -1,6 +1,7 @@ mod cli; mod connect; mod disconnect; +mod hip; mod launch_gui; pub(crate) const GP_CLIENT_LOCK_FILE: &str = "/var/run/gpclient.lock"; diff --git a/apps/gpclient/templates/hip_report.xml b/apps/gpclient/templates/hip_report.xml new file mode 100644 index 0000000..067a3fe --- /dev/null +++ b/apps/gpclient/templates/hip_report.xml @@ -0,0 +1,277 @@ + + + {{ md5 }} + {{ user_name }} + {{ host_info.domain }}.internal + {{ host_info.host_name }} + {{ host_info.host_id }} + {{ host_info.default_ipv4() }} + {{ host_info.default_ipv6() }} + {{ generate_time }} + 4 + + + {{ client_version }} + {{ host_info.os }} + {{ host_info.os_vendor }} + {{ host_info.domain }}.internal + {{ host_info.host_name }} + {{ host_info.host_id }} + + {% for iface in host_info.network_interfaces.iter() -%} + + {{ iface.description }} + {% if let Some(mac) = iface.mac_address -%} + {{ mac }} + {% endif -%} + {% if let Some(ipv4) = iface.ipv4 -%} + + + + {% endif -%} + {% if let Some(ipv6) = iface.ipv6 -%} + + + + {% endif -%} + + {% endfor -%} + + + {% if host_info.os_vendor == "Microsoft" -%} + + + + + + + yes + {{ generate_time }} + + + + + + + no + n/a + + + + + + + + + + + yes + {{ generate_time }} + + + + + + + no + n/a + + + + + + + + + + + n/a + + + + + + + + + + + + + C:\\ + full + + + + + + + + + + + + + yes + + + + + + + + + + + yes + + + + + + + yes + + + + + + {% elif host_info.os_vendor == "Apple" -%} + + + + + + yes + n/a + + + + + + yes + n/a + + + + + + + + + + n/a + + + + + + + + + + + + Macintosh HD + encrypted + + + Data + encrypted + + + All + encrypted + + + + + + + + + + + + yes + + + + + + no + + + + + + + + + + yes + + + + + + + {% elif host_info.os_vendor == "Linux" -%} + + + + + + + + + + + + + + + / + encrypted + + + + + + + + + + + + + no + + + + + + + n/a + + + + + + + + + + + yes + + + + + + {% endif -%} + + + + + diff --git a/apps/gpgui-helper/dist/assets/main-CQPVXkdn.js b/apps/gpgui-helper/dist/assets/main-CQPVXkdn.js deleted file mode 100644 index 8b662d6..0000000 --- a/apps/gpgui-helper/dist/assets/main-CQPVXkdn.js +++ /dev/null @@ -1,193 +0,0 @@ -var zg=Object.defineProperty;var wg=(l,i,c)=>i in l?zg(l,i,{enumerable:!0,configurable:!0,writable:!0,value:c}):l[i]=c;var Ni=(l,i,c)=>wg(l,typeof i!="symbol"?i+"":i,c);function Rg(l,i){for(var c=0;co[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function c(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(s){if(s.ep)return;s.ep=!0;const d=c(s);fetch(s.href,d)}})();function Mg(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var Jo={exports:{}},Ui={};/** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var wh;function Dg(){if(wh)return Ui;wh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(o,s,d){var m=null;if(d!==void 0&&(m=""+d),s.key!==void 0&&(m=""+s.key),"key"in s){d={};for(var b in s)b!=="key"&&(d[b]=s[b])}else d=s;return s=d.ref,{$$typeof:l,type:o,key:m,ref:s!==void 0?s:null,props:d}}return Ui.Fragment=i,Ui.jsx=c,Ui.jsxs=c,Ui}var Rh;function Bg(){return Rh||(Rh=1,Jo.exports=Dg()),Jo.exports}var rt=Bg(),Fo={exports:{}},Hi={},Po={exports:{}},Io={};/** - * @license React - * scheduler.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Mh;function Ng(){return Mh||(Mh=1,function(l){function i(G,it){var tt=G.length;G.push(it);t:for(;0>>1,S=G[ot];if(0>>1;ots(lt,tt))Js(bt,lt)?(G[ot]=bt,G[J]=tt,ot=J):(G[ot]=lt,G[at]=tt,ot=at);else if(Js(bt,tt))G[ot]=bt,G[J]=tt,ot=J;else break t}}return it}function s(G,it){var tt=G.sortIndex-it.sortIndex;return tt!==0?tt:G.id-it.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var m=Date,b=m.now();l.unstable_now=function(){return m.now()-b}}var v=[],p=[],C=1,_=null,w=3,j=!1,B=!1,U=!1,X=typeof setTimeout=="function"?setTimeout:null,Q=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;function V(G){for(var it=c(p);it!==null;){if(it.callback===null)o(p);else if(it.startTime<=G)o(p),it.sortIndex=it.expirationTime,i(v,it);else break;it=c(p)}}function L(G){if(U=!1,V(G),!B)if(c(v)!==null)B=!0,St();else{var it=c(p);it!==null&&_t(L,it.startTime-G)}}var O=!1,$=-1,W=5,gt=-1;function K(){return!(l.unstable_now()-gtG&&K());){var ot=_.callback;if(typeof ot=="function"){_.callback=null,w=_.priorityLevel;var S=ot(_.expirationTime<=G);if(G=l.unstable_now(),typeof S=="function"){_.callback=S,V(G),it=!0;break e}_===c(v)&&o(v),V(G)}else o(v);_=c(v)}if(_!==null)it=!0;else{var q=c(p);q!==null&&_t(L,q.startTime-G),it=!1}}break t}finally{_=null,w=tt,j=!1}it=void 0}}finally{it?Y():O=!1}}}var Y;if(typeof F=="function")Y=function(){F(y)};else if(typeof MessageChannel<"u"){var et=new MessageChannel,ct=et.port2;et.port1.onmessage=y,Y=function(){ct.postMessage(null)}}else Y=function(){X(y,0)};function St(){O||(O=!0,Y())}function _t(G,it){$=X(function(){G(l.unstable_now())},it)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(G){G.callback=null},l.unstable_continueExecution=function(){B||j||(B=!0,St())},l.unstable_forceFrameRate=function(G){0>G||125ot?(G.sortIndex=tt,i(p,G),c(v)===null&&G===c(p)&&(U?(Q($),$=-1):U=!0,_t(L,tt-ot))):(G.sortIndex=S,i(v,G),B||j||(B=!0,St())),G},l.unstable_shouldYield=K,l.unstable_wrapCallback=function(G){var it=w;return function(){var tt=w;w=it;try{return G.apply(this,arguments)}finally{w=tt}}}}(Io)),Io}var Dh;function Ug(){return Dh||(Dh=1,Po.exports=Ng()),Po.exports}var ts={exports:{}},ht={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Bh;function Hg(){if(Bh)return ht;Bh=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),_=Symbol.iterator;function w(S){return S===null||typeof S!="object"?null:(S=_&&S[_]||S["@@iterator"],typeof S=="function"?S:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},B=Object.assign,U={};function X(S,q,at){this.props=S,this.context=q,this.refs=U,this.updater=at||j}X.prototype.isReactComponent={},X.prototype.setState=function(S,q){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,q,"setState")},X.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function Q(){}Q.prototype=X.prototype;function F(S,q,at){this.props=S,this.context=q,this.refs=U,this.updater=at||j}var V=F.prototype=new Q;V.constructor=F,B(V,X.prototype),V.isPureReactComponent=!0;var L=Array.isArray,O={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function W(S,q,at,lt,J,bt){return at=bt.ref,{$$typeof:l,type:S,key:q,ref:at!==void 0?at:null,props:bt}}function gt(S,q){return W(S.type,q,void 0,void 0,void 0,S.props)}function K(S){return typeof S=="object"&&S!==null&&S.$$typeof===l}function y(S){var q={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(at){return q[at]})}var Y=/\/+/g;function et(S,q){return typeof S=="object"&&S!==null&&S.key!=null?y(""+S.key):q.toString(36)}function ct(){}function St(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(ct,ct):(S.status="pending",S.then(function(q){S.status==="pending"&&(S.status="fulfilled",S.value=q)},function(q){S.status==="pending"&&(S.status="rejected",S.reason=q)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function _t(S,q,at,lt,J){var bt=typeof S;(bt==="undefined"||bt==="boolean")&&(S=null);var ft=!1;if(S===null)ft=!0;else switch(bt){case"bigint":case"string":case"number":ft=!0;break;case"object":switch(S.$$typeof){case l:case i:ft=!0;break;case C:return ft=S._init,_t(ft(S._payload),q,at,lt,J)}}if(ft)return J=J(S),ft=lt===""?"."+et(S,0):lt,L(J)?(at="",ft!=null&&(at=ft.replace(Y,"$&/")+"/"),_t(J,q,at,"",function(Yt){return Yt})):J!=null&&(K(J)&&(J=gt(J,at+(J.key==null||S&&S.key===J.key?"":(""+J.key).replace(Y,"$&/")+"/")+ft)),q.push(J)),1;ft=0;var ie=lt===""?".":lt+":";if(L(S))for(var At=0;At"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),es.exports=jg(),es.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var jh;function Lg(){if(jh)return Hi;jh=1;var l=Ug(),i=_s(),c=qg();function o(t){var e="https://react.dev/errors/"+t;if(1)":-1u||g[a]!==A[u]){var D=` -`+g[a].replace(" at new "," at ");return t.displayName&&D.includes("")&&(D=D.replace("",t.displayName)),D}while(1<=a&&0<=u);break}}}finally{St=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?ct(n):""}function G(t){switch(t.tag){case 26:case 27:case 5:return ct(t.type);case 16:return ct("Lazy");case 13:return ct("Suspense");case 19:return ct("SuspenseList");case 0:case 15:return t=_t(t.type,!1),t;case 11:return t=_t(t.type.render,!1),t;case 1:return t=_t(t.type,!0),t;default:return""}}function it(t){try{var e="";do e+=G(t),t=t.return;while(t);return e}catch(n){return` -Error generating stack: `+n.message+` -`+n.stack}}function tt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function ot(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function S(t){if(tt(t)!==t)throw Error(o(188))}function q(t){var e=t.alternate;if(!e){if(e=tt(t),e===null)throw Error(o(188));return e!==t?null:t}for(var n=t,a=e;;){var u=n.return;if(u===null)break;var r=u.alternate;if(r===null){if(a=u.return,a!==null){n=a;continue}break}if(u.child===r.child){for(r=u.child;r;){if(r===n)return S(u),t;if(r===a)return S(u),e;r=r.sibling}throw Error(o(188))}if(n.return!==a.return)n=u,a=r;else{for(var f=!1,h=u.child;h;){if(h===n){f=!0,n=u,a=r;break}if(h===a){f=!0,a=u,n=r;break}h=h.sibling}if(!f){for(h=r.child;h;){if(h===n){f=!0,n=r,a=u;break}if(h===a){f=!0,a=r,n=u;break}h=h.sibling}if(!f)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?t:e}function at(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=at(t),e!==null)return e;t=t.sibling}return null}var lt=Array.isArray,J=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,bt={pending:!1,data:null,method:null,action:null},ft=[],ie=-1;function At(t){return{current:t}}function Yt(t){0>ie||(t.current=ft[ie],ft[ie]=null,ie--)}function Nt(t,e){ie++,ft[ie]=t.current,t.current=e}var De=At(null),oa=At(null),tn=At(null),Un=At(null);function Ha(t,e){switch(Nt(tn,e),Nt(oa,t),Nt(De,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?lh(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=lh(t),e=ih(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Yt(De),Nt(De,e)}function Hn(){Yt(De),Yt(oa),Yt(tn)}function jn(t){t.memoizedState!==null&&Nt(Un,t);var e=De.current,n=ih(e,t.type);e!==n&&(Nt(oa,t),Nt(De,n))}function en(t){oa.current===t&&(Yt(De),Yt(oa)),Un.current===t&&(Yt(Un),wi._currentValue=bt)}var Hl=Object.prototype.hasOwnProperty,ja=l.unstable_scheduleCallback,jl=l.unstable_cancelCallback,dt=l.unstable_shouldYield,ry=l.unstable_requestPaint,nn=l.unstable_now,cy=l.unstable_getCurrentPriorityLevel,Qs=l.unstable_ImmediatePriority,Zs=l.unstable_UserBlockingPriority,tu=l.unstable_NormalPriority,oy=l.unstable_LowPriority,Ks=l.unstable_IdlePriority,sy=l.log,fy=l.unstable_setDisableYieldValue,ql=null,Te=null;function dy(t){if(Te&&typeof Te.onCommitFiberRoot=="function")try{Te.onCommitFiberRoot(ql,t,void 0,(t.current.flags&128)===128)}catch{}}function qn(t){if(typeof sy=="function"&&fy(t),Te&&typeof Te.setStrictMode=="function")try{Te.setStrictMode(ql,t)}catch{}}var Ae=Math.clz32?Math.clz32:yy,hy=Math.log,my=Math.LN2;function yy(t){return t>>>=0,t===0?32:31-(hy(t)/my|0)|0}var eu=128,nu=4194304;function sa(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function au(t,e){var n=t.pendingLanes;if(n===0)return 0;var a=0,u=t.suspendedLanes,r=t.pingedLanes,f=t.warmLanes;t=t.finishedLanes!==0;var h=n&134217727;return h!==0?(n=h&~u,n!==0?a=sa(n):(r&=h,r!==0?a=sa(r):t||(f=h&~f,f!==0&&(a=sa(f))))):(h=n&~u,h!==0?a=sa(h):r!==0?a=sa(r):t||(f=n&~f,f!==0&&(a=sa(f)))),a===0?0:e!==0&&e!==a&&!(e&u)&&(u=a&-a,f=e&-e,u>=f||u===32&&(f&4194176)!==0)?e:a}function Ll(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function py(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ws(){var t=eu;return eu<<=1,!(eu&4194176)&&(eu=128),t}function Js(){var t=nu;return nu<<=1,!(nu&62914560)&&(nu=4194304),t}function $r(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Gl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function gy(t,e,n,a,u,r){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var h=t.entanglements,g=t.expirationTimes,A=t.hiddenUpdates;for(n=f&~n;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ty=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),lf={},uf={};function Ay(t){return Hl.call(uf,t)?!0:Hl.call(lf,t)?!1:Ty.test(t)?uf[t]=!0:(lf[t]=!0,!1)}function lu(t,e,n){if(Ay(e))if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+n)}}function iu(t,e,n){if(n===null)t.removeAttribute(e);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+n)}}function yn(t,e,n,a){if(a===null)t.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(n);return}t.setAttributeNS(e,n,""+a)}}function Be(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function rf(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Ey(t){var e=rf(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),a=""+t[e];if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var u=n.get,r=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return u.call(this)},set:function(f){a=""+f,r.call(this,f)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function uu(t){t._valueTracker||(t._valueTracker=Ey(t))}function cf(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),a="";return t&&(a=rf(t)?t.checked?"true":"false":t.value),t=a,t!==n?(e.setValue(t),!0):!1}function ru(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var xy=/[\n"\\]/g;function Ne(t){return t.replace(xy,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Zr(t,e,n,a,u,r,f,h){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Be(e)):t.value!==""+Be(e)&&(t.value=""+Be(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?Kr(t,f,Be(e)):n!=null?Kr(t,f,Be(n)):a!=null&&t.removeAttribute("value"),u==null&&r!=null&&(t.defaultChecked=!!r),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+Be(h):t.removeAttribute("name")}function of(t,e,n,a,u,r,f,h){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null))return;n=n!=null?""+Be(n):"",e=e!=null?""+Be(e):n,h||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=h?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f)}function Kr(t,e,n){e==="number"&&ru(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Va(t,e,n,a){if(t=t.options,e){e={};for(var u=0;u=Zl),Af=" ",Ef=!1;function xf(t,e){switch(t){case"keyup":return Py.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _f(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var Qa=!1;function tp(t,e){switch(t){case"compositionend":return _f(e);case"keypress":return e.which!==32?null:(Ef=!0,Af);case"textInput":return t=e.data,t===Af&&Ef?null:t;default:return null}}function ep(t,e){if(Qa)return t==="compositionend"||!ic&&xf(t,e)?(t=pf(),ou=tc=Gn=null,Qa=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Bf(n)}}function Uf(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Uf(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Hf(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=ru(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=ru(t.document)}return e}function cc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function op(t,e){var n=Hf(e);e=t.focusedElem;var a=t.selectionRange;if(n!==e&&e&&e.ownerDocument&&Uf(e.ownerDocument.documentElement,e)){if(a!==null&&cc(e)){if(t=a.start,n=a.end,n===void 0&&(n=t),"selectionStart"in e)e.selectionStart=t,e.selectionEnd=Math.min(n,e.value.length);else if(n=(t=e.ownerDocument||document)&&t.defaultView||window,n.getSelection){n=n.getSelection();var u=e.textContent.length,r=Math.min(a.start,u);a=a.end===void 0?r:Math.min(a.end,u),!n.extend&&r>a&&(u=a,a=r,r=u),u=Nf(e,r);var f=Nf(e,a);u&&f&&(n.rangeCount!==1||n.anchorNode!==u.node||n.anchorOffset!==u.offset||n.focusNode!==f.node||n.focusOffset!==f.offset)&&(t=t.createRange(),t.setStart(u.node,u.offset),n.removeAllRanges(),r>a?(n.addRange(t),n.extend(f.node,f.offset)):(t.setEnd(f.node,f.offset),n.addRange(t)))}}for(t=[],n=e;n=n.parentNode;)n.nodeType===1&&t.push({element:n,left:n.scrollLeft,top:n.scrollTop});for(typeof e.focus=="function"&&e.focus(),e=0;e=document.documentMode,Za=null,oc=null,Fl=null,sc=!1;function jf(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;sc||Za==null||Za!==ru(a)||(a=Za,"selectionStart"in a&&cc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Fl&&Jl(Fl,a)||(Fl=a,a=Ju(oc,"onSelect"),0>=f,u-=f,pn=1<<32-Ae(e)+u|n<ut?(le=nt,nt=null):le=nt.sibling;var xt=z(E,nt,x[ut],N);if(xt===null){nt===null&&(nt=le);break}t&&nt&&xt.alternate===null&&e(E,nt),T=r(xt,T,ut),yt===null?P=xt:yt.sibling=xt,yt=xt,nt=le}if(ut===x.length)return n(E,nt),Et&&ga(E,ut),P;if(nt===null){for(;utut?(le=nt,nt=null):le=nt.sibling;var ua=z(E,nt,xt.value,N);if(ua===null){nt===null&&(nt=le);break}t&&nt&&ua.alternate===null&&e(E,nt),T=r(ua,T,ut),yt===null?P=ua:yt.sibling=ua,yt=ua,nt=le}if(xt.done)return n(E,nt),Et&&ga(E,ut),P;if(nt===null){for(;!xt.done;ut++,xt=x.next())xt=H(E,xt.value,N),xt!==null&&(T=r(xt,T,ut),yt===null?P=xt:yt.sibling=xt,yt=xt);return Et&&ga(E,ut),P}for(nt=a(nt);!xt.done;ut++,xt=x.next())xt=M(nt,E,ut,xt.value,N),xt!==null&&(t&&xt.alternate!==null&&nt.delete(xt.key===null?ut:xt.key),T=r(xt,T,ut),yt===null?P=xt:yt.sibling=xt,yt=xt);return t&&nt.forEach(function(Cg){return e(E,Cg)}),Et&&ga(E,ut),P}function $t(E,T,x,N){if(typeof x=="object"&&x!==null&&x.type===v&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case m:t:{for(var P=x.key;T!==null;){if(T.key===P){if(P=x.type,P===v){if(T.tag===7){n(E,T.sibling),N=u(T,x.props.children),N.return=E,E=N;break t}}else if(T.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===F&&td(P)===T.type){n(E,T.sibling),N=u(T,x.props),li(N,x),N.return=E,E=N;break t}n(E,T);break}else e(E,T);T=T.sibling}x.type===v?(N=za(x.props.children,E.mode,N,x.key),N.return=E,E=N):(N=Gu(x.type,x.key,x.props,null,E.mode,N),li(N,x),N.return=E,E=N)}return f(E);case b:t:{for(P=x.key;T!==null;){if(T.key===P)if(T.tag===4&&T.stateNode.containerInfo===x.containerInfo&&T.stateNode.implementation===x.implementation){n(E,T.sibling),N=u(T,x.children||[]),N.return=E,E=N;break t}else{n(E,T);break}else e(E,T);T=T.sibling}N=ho(x,E.mode,N),N.return=E,E=N}return f(E);case F:return P=x._init,x=P(x._payload),$t(E,T,x,N)}if(lt(x))return I(E,T,x,N);if($(x)){if(P=$(x),typeof P!="function")throw Error(o(150));return x=P.call(x),st(E,T,x,N)}if(typeof x.then=="function")return $t(E,T,Tu(x),N);if(x.$$typeof===j)return $t(E,T,ju(E,x),N);Au(E,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,T!==null&&T.tag===6?(n(E,T.sibling),N=u(T,x),N.return=E,E=N):(n(E,T),N=fo(x,E.mode,N),N.return=E,E=N),f(E)):n(E,T)}return function(E,T,x,N){try{ai=0;var P=$t(E,T,x,N);return Ia=null,P}catch(nt){if(nt===ei)throw nt;var yt=Ve(29,nt,null,E.mode);return yt.lanes=N,yt.return=E,yt}finally{}}}var va=ed(!0),nd=ed(!1),tl=At(null),Eu=At(0);function ad(t,e){t=zn,Nt(Eu,t),Nt(tl,e),zn=t|e.baseLanes}function bc(){Nt(Eu,zn),Nt(tl,tl.current)}function vc(){zn=Eu.current,Yt(tl),Yt(Eu)}var Le=At(null),ln=null;function Vn(t){var e=t.alternate;Nt(It,It.current&1),Nt(Le,t),ln===null&&(e===null||tl.current!==null||e.memoizedState!==null)&&(ln=t)}function ld(t){if(t.tag===22){if(Nt(It,It.current),Nt(Le,t),ln===null){var e=t.alternate;e!==null&&e.memoizedState!==null&&(ln=t)}}else Xn()}function Xn(){Nt(It,It.current),Nt(Le,Le.current)}function bn(t){Yt(Le),ln===t&&(ln=null),Yt(It)}var It=At(0);function xu(t){for(var e=t;e!==null;){if(e.tag===13){var n=e.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var mp=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(n,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(n){return n()})}},yp=l.unstable_scheduleCallback,pp=l.unstable_NormalPriority,te={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sc(){return{controller:new mp,data:new Map,refCount:0}}function ii(t){t.refCount--,t.refCount===0&&yp(pp,function(){t.controller.abort()})}var ui=null,Tc=0,el=0,nl=null;function gp(t,e){if(ui===null){var n=ui=[];Tc=0,el=zo(),nl={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Tc++,e.then(id,id),e}function id(){if(--Tc===0&&ui!==null){nl!==null&&(nl.status="fulfilled");var t=ui;ui=null,el=0,nl=null;for(var e=0;er?r:8;var f=K.T,h={};K.T=h,qc(t,!1,e,n);try{var g=u(),A=K.S;if(A!==null&&A(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var D=bp(g,a);oi(t,e,D,Ce(t))}else oi(t,e,a,Ce(t))}catch(H){oi(t,e,{then:function(){},status:"rejected",reason:H},Ce())}finally{J.p=r,K.T=f}}function Ep(){}function Hc(t,e,n,a){if(t.tag!==5)throw Error(o(476));var u=Hd(t).queue;Ud(t,u,e,bt,n===null?Ep:function(){return jd(t),n(a)})}function Hd(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:bt,baseState:bt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:bt},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vn,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function jd(t){var e=Hd(t).next.queue;oi(t,e,{},Ce())}function jc(){return fe(wi)}function qd(){return Jt().memoizedState}function Ld(){return Jt().memoizedState}function xp(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=Ce();t=Kn(n);var a=Wn(e,t,n);a!==null&&(ye(a,e,n),di(a,e,n)),e={cache:Sc()},t.payload=e;return}e=e.return}}function _p(t,e,n){var a=Ce();n={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Bu(t)?Yd(e,n):(n=hc(t,e,n,a),n!==null&&(ye(n,t,a),Vd(n,e,a)))}function Gd(t,e,n){var a=Ce();oi(t,e,n,a)}function oi(t,e,n,a){var u={lane:a,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bu(t))Yd(e,u);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,h=r(f,n);if(u.hasEagerState=!0,u.eagerState=h,Ee(h,f))return pu(t,e,u,0),Ut===null&&yu(),!1}catch{}finally{}if(n=hc(t,e,u,a),n!==null)return ye(n,t,a),Vd(n,e,a),!0}return!1}function qc(t,e,n,a){if(a={lane:2,revertLane:zo(),action:a,hasEagerState:!1,eagerState:null,next:null},Bu(t)){if(e)throw Error(o(479))}else e=hc(t,n,a,2),e!==null&&ye(e,t,2)}function Bu(t){var e=t.alternate;return t===mt||e!==null&&e===mt}function Yd(t,e){al=Ou=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Vd(t,e,n){if(n&4194176){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Ps(t,n)}}var un={readContext:fe,use:wu,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt};un.useCacheRefresh=Zt,un.useMemoCache=Zt,un.useHostTransitionStatus=Zt,un.useFormState=Zt,un.useActionState=Zt,un.useOptimistic=Zt;var Aa={readContext:fe,use:wu,useCallback:function(t,e){return ve().memoizedState=[t,e===void 0?null:e],t},useContext:fe,useEffect:Cd,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Mu(4194308,4,Rd.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Mu(4194308,4,t,e)},useInsertionEffect:function(t,e){Mu(4,2,t,e)},useMemo:function(t,e){var n=ve();e=e===void 0?null:e;var a=t();if(Ta){qn(!0);try{t()}finally{qn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ve();if(n!==void 0){var u=n(e);if(Ta){qn(!0);try{n(e)}finally{qn(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=_p.bind(null,mt,t),[a.memoizedState,t]},useRef:function(t){var e=ve();return t={current:t},e.memoizedState=t},useState:function(t){t=Mc(t);var e=t.queue,n=Gd.bind(null,mt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:Nc,useDeferredValue:function(t,e){var n=ve();return Uc(n,t,e)},useTransition:function(){var t=Mc(!1);return t=Ud.bind(null,mt,t.queue,!0,!1),ve().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=mt,u=ve();if(Et){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Ut===null)throw Error(o(349));Tt&60||fd(a,e,n)}u.memoizedState=n;var r={value:n,getSnapshot:e};return u.queue=r,Cd(hd.bind(null,a,r,t),[t]),a.flags|=2048,il(9,dd.bind(null,a,r,n,e),{destroy:void 0},null),n},useId:function(){var t=ve(),e=Ut.identifierPrefix;if(Et){var n=gn,a=pn;n=(a&~(1<<32-Ae(a)-1)).toString(32)+n,e=":"+e+"R"+n,n=Cu++,0 title"))),ce(r,a,n),r[se]=t,ee(r),a=r;break t;case"link":var f=yh("link","href",u).get(a+(n.href||""));if(f){for(var h=0;h<\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof a.is=="string"?u.createElement("select",{is:a.is}):u.createElement("select"),a.multiple?t.multiple=!0:a.size&&(t.size=a.size);break;default:t=typeof a.is=="string"?u.createElement(n,{is:a.is}):u.createElement(n)}}t[se]=e,t[ge]=a;t:for(u=e.child;u!==null;){if(u.tag===5||u.tag===6)t.appendChild(u.stateNode);else if(u.tag!==4&&u.tag!==27&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===e)break t;for(;u.sibling===null;){if(u.return===null||u.return===e)break t;u=u.return}u.sibling.return=u.return,u=u.sibling}e.stateNode=t;t:switch(ce(t,n,a),n){case"button":case"input":case"select":case"textarea":t=!!a.autoFocus;break t;case"img":t=!0;break t;default:t=!1}t&&On(e)}}return Lt(e),e.flags&=-16777217,null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&On(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=tn.current,Pl(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,u=me,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[se]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||ah(t.nodeValue,n)),t||ba(e)}else t=Pu(t).createTextNode(a),t[se]=e,e.stateNode=t}return Lt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=Pl(e),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[se]=e}else Il(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;Lt(e),u=!1}else Je!==null&&(To(Je),Je=null),u=!0;if(!u)return e.flags&256?(bn(e),e):(bn(e),null)}if(bn(e),e.flags&128)return e.lanes=n,e;if(n=a!==null,t=t!==null&&t.memoizedState!==null,n){a=e.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool);var r=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==u&&(a.flags|=2048)}return n!==t&&n&&(e.child.flags|=8192),Yu(e,e.updateQueue),Lt(e),null;case 4:return Hn(),t===null&&Do(e.stateNode.containerInfo),Lt(e),null;case 10:return An(e.type),Lt(e),null;case 19:if(Yt(It),u=e.memoizedState,u===null)return Lt(e),null;if(a=(e.flags&128)!==0,r=u.rendering,r===null)if(a)vi(u,!1);else{if(Xt!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(r=xu(t),r!==null){for(e.flags|=128,vi(u,!1),t=r.updateQueue,e.updateQueue=t,Yu(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)M0(n,t),n=n.sibling;return Nt(It,It.current&1|2),e.child}t=t.sibling}u.tail!==null&&nn()>Vu&&(e.flags|=128,a=!0,vi(u,!1),e.lanes=4194304)}else{if(!a)if(t=xu(r),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,Yu(e,t),vi(u,!0),u.tail===null&&u.tailMode==="hidden"&&!r.alternate&&!Et)return Lt(e),null}else 2*nn()-u.renderingStartTime>Vu&&n!==536870912&&(e.flags|=128,a=!0,vi(u,!1),e.lanes=4194304);u.isBackwards?(r.sibling=e.child,e.child=r):(t=u.last,t!==null?t.sibling=r:e.child=r,u.last=r)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=nn(),e.sibling=null,t=It.current,Nt(It,a?t&1|2:t&1),e):(Lt(e),null);case 22:case 23:return bn(e),vc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?n&536870912&&!(e.flags&128)&&(Lt(e),e.subtreeFlags&6&&(e.flags|=8192)):Lt(e),n=e.updateQueue,n!==null&&Yu(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&Yt(Sa),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),An(te),Lt(e),null;case 25:return null}throw Error(o(156,e.tag))}function Dp(t,e){switch(yc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return An(te),Hn(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return en(e),null;case 13:if(bn(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));Il()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Yt(It),null;case 4:return Hn(),null;case 10:return An(e.type),null;case 22:case 23:return bn(e),vc(),t!==null&&Yt(Sa),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return An(te),null;case 25:return null;default:return null}}function N0(t,e){switch(yc(e),e.tag){case 3:An(te),Hn();break;case 26:case 27:case 5:en(e);break;case 4:Hn();break;case 13:bn(e);break;case 19:Yt(It);break;case 10:An(e.type);break;case 22:case 23:bn(e),vc(),t!==null&&Yt(Sa);break;case 24:An(te)}}var Bp={getCacheForType:function(t){var e=fe(te),n=e.data.get(t);return n===void 0&&(n=t(),e.data.set(t,n)),n}},Np=typeof WeakMap=="function"?WeakMap:Map,Gt=0,Ut=null,pt=null,Tt=0,Ht=0,Oe=null,Cn=!1,ol=!1,mo=!1,zn=0,Xt=0,ta=0,wa=0,yo=0,Xe=0,sl=0,Si=null,rn=null,po=!1,go=0,Vu=1/0,Xu=null,ea=null,$u=!1,Ra=null,Ti=0,bo=0,vo=null,Ai=0,So=null;function Ce(){if(Gt&2&&Tt!==0)return Tt&-Tt;if(K.T!==null){var t=el;return t!==0?t:zo()}return tf()}function U0(){Xe===0&&(Xe=!(Tt&536870912)||Et?Ws():536870912);var t=Le.current;return t!==null&&(t.flags|=32),Xe}function ye(t,e,n){(t===Ut&&Ht===2||t.cancelPendingCommit!==null)&&(fl(t,0),wn(t,Tt,Xe,!1)),Gl(t,n),(!(Gt&2)||t!==Ut)&&(t===Ut&&(!(Gt&2)&&(wa|=n),Xt===4&&wn(t,Tt,Xe,!1)),cn(t))}function H0(t,e,n){if(Gt&6)throw Error(o(327));var a=!n&&(e&60)===0&&(e&t.expiredLanes)===0||Ll(t,e),u=a?jp(t,e):xo(t,e,!0),r=a;do{if(u===0){ol&&!a&&wn(t,e,0,!1);break}else if(u===6)wn(t,e,0,!Cn);else{if(n=t.current.alternate,r&&!Up(n)){u=xo(t,e,!1),r=!1;continue}if(u===2){if(r=e,t.errorRecoveryDisabledLanes&r)var f=0;else f=t.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){e=f;t:{var h=t;u=Si;var g=h.current.memoizedState.isDehydrated;if(g&&(fl(h,f).flags|=256),f=xo(h,f,!1),f!==2){if(mo&&!g){h.errorRecoveryDisabledLanes|=r,wa|=r,u=4;break t}r=rn,rn=u,r!==null&&To(r)}u=f}if(r=!1,u!==2)continue}}if(u===1){fl(t,0),wn(t,e,0,!0);break}t:{switch(a=t,u){case 0:case 1:throw Error(o(345));case 4:if((e&4194176)===e){wn(a,e,Xe,!Cn);break t}break;case 2:rn=null;break;case 3:case 5:break;default:throw Error(o(329))}if(a.finishedWork=n,a.finishedLanes=e,(e&62914560)===e&&(r=go+300-nn(),10n?32:n,K.T=null,Ra===null)var r=!1;else{n=vo,vo=null;var f=Ra,h=Ti;if(Ra=null,Ti=0,Gt&6)throw Error(o(331));var g=Gt;if(Gt|=4,w0(f.current),O0(f,f.current,h,n),Gt=g,Ei(0,!1),Te&&typeof Te.onPostCommitFiberRoot=="function")try{Te.onPostCommitFiberRoot(ql,f)}catch{}r=!0}return r}finally{J.p=u,K.T=a,k0(t,e)}}return!1}function Q0(t,e,n){e=He(n,e),e=Yc(t.stateNode,e,2),t=Wn(t,e,2),t!==null&&(Gl(t,2),cn(t))}function Mt(t,e,n){if(t.tag===3)Q0(t,t,n);else for(;e!==null;){if(e.tag===3){Q0(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ea===null||!ea.has(a))){t=He(n,t),n=Wd(2),a=Wn(e,n,2),a!==null&&(Jd(n,a,e,t),Gl(a,2),cn(a));break}}e=e.return}}function _o(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Np;var u=new Set;a.set(e,u)}else u=a.get(e),u===void 0&&(u=new Set,a.set(e,u));u.has(n)||(mo=!0,u.add(n),t=Gp.bind(null,t,e,n),e.then(t,t))}function Gp(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Ut===t&&(Tt&n)===n&&(Xt===4||Xt===3&&(Tt&62914560)===Tt&&300>nn()-go?!(Gt&2)&&fl(t,0):yo|=n,sl===Tt&&(sl=0)),cn(t)}function Z0(t,e){e===0&&(e=Js()),t=Yn(t,e),t!==null&&(Gl(t,e),cn(t))}function Yp(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),Z0(t,n)}function Vp(t,e){var n=0;switch(t.tag){case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),Z0(t,n)}function Xp(t,e){return ja(t,e)}var Zu=null,ml=null,Oo=!1,Ku=!1,Co=!1,Ma=0;function cn(t){t!==ml&&t.next===null&&(ml===null?Zu=ml=t:ml=ml.next=t),Ku=!0,Oo||(Oo=!0,kp($p))}function Ei(t,e){if(!Co&&Ku){Co=!0;do for(var n=!1,a=Zu;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var r=0;else{var f=a.suspendedLanes,h=a.pingedLanes;r=(1<<31-Ae(42|t)+1)-1,r&=u&~(f&~h),r=r&201326677?r&201326677|1:r?r|2:0}r!==0&&(n=!0,J0(a,r))}else r=Tt,r=au(a,a===Ut?r:0),!(r&3)||Ll(a,r)||(n=!0,J0(a,r));a=a.next}while(n);Co=!1}}function $p(){Ku=Oo=!1;var t=0;Ma!==0&&(Ip()&&(t=Ma),Ma=0);for(var e=nn(),n=null,a=Zu;a!==null;){var u=a.next,r=K0(a,e);r===0?(a.next=null,n===null?Zu=u:n.next=u,u===null&&(ml=n)):(n=a,(t!==0||r&3)&&(Ku=!0)),a=u}Ei(t)}function K0(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,r=t.pendingLanes&-62914561;0"u"?null:document;function fh(t,e,n){var a=pl;if(a&&typeof e=="string"&&e){var u=Ne(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),sh.has(u)||(sh.add(u),t={rel:t,crossOrigin:n,href:e},a.querySelector(u)===null&&(e=a.createElement("link"),ce(e,"link",t),ee(e),a.head.appendChild(e)))}}function rg(t){Rn.D(t),fh("dns-prefetch",t,null)}function cg(t,e){Rn.C(t,e),fh("preconnect",t,e)}function og(t,e,n){Rn.L(t,e,n);var a=pl;if(a&&t&&e){var u='link[rel="preload"][as="'+Ne(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ne(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ne(n.imageSizes)+'"]')):u+='[href="'+Ne(t)+'"]';var r=u;switch(e){case"style":r=gl(t);break;case"script":r=bl(t)}$e.has(r)||(t=y({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),$e.set(r,t),a.querySelector(u)!==null||e==="style"&&a.querySelector(Oi(r))||e==="script"&&a.querySelector(Ci(r))||(e=a.createElement("link"),ce(e,"link",t),ee(e),a.head.appendChild(e)))}}function sg(t,e){Rn.m(t,e);var n=pl;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Ne(a)+'"][href="'+Ne(t)+'"]',r=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=bl(t)}if(!$e.has(r)&&(t=y({rel:"modulepreload",href:t},e),$e.set(r,t),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ci(r)))return}a=n.createElement("link"),ce(a,"link",t),ee(a),n.head.appendChild(a)}}}function fg(t,e,n){Rn.S(t,e,n);var a=pl;if(a&&t){var u=Ga(a).hoistableStyles,r=gl(t);e=e||"default";var f=u.get(r);if(!f){var h={loading:0,preload:null};if(f=a.querySelector(Oi(r)))h.loading=5;else{t=y({rel:"stylesheet",href:t,"data-precedence":e},n),(n=$e.get(r))&&Yo(t,n);var g=f=a.createElement("link");ee(g),ce(g,"link",t),g._p=new Promise(function(A,D){g.onload=A,g.onerror=D}),g.addEventListener("load",function(){h.loading|=1}),g.addEventListener("error",function(){h.loading|=2}),h.loading|=4,tr(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:h},u.set(r,f)}}}function dg(t,e){Rn.X(t,e);var n=pl;if(n&&t){var a=Ga(n).hoistableScripts,u=bl(t),r=a.get(u);r||(r=n.querySelector(Ci(u)),r||(t=y({src:t,async:!0},e),(e=$e.get(u))&&Vo(t,e),r=n.createElement("script"),ee(r),ce(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function hg(t,e){Rn.M(t,e);var n=pl;if(n&&t){var a=Ga(n).hoistableScripts,u=bl(t),r=a.get(u);r||(r=n.querySelector(Ci(u)),r||(t=y({src:t,async:!0,type:"module"},e),(e=$e.get(u))&&Vo(t,e),r=n.createElement("script"),ee(r),ce(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function dh(t,e,n,a){var u=(u=tn.current)?Iu(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=gl(n.href),n=Ga(u).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=gl(n.href);var r=Ga(u).hoistableStyles,f=r.get(t);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=u.querySelector(Oi(t)))&&!r._p&&(f.instance=r,f.state.loading=5),$e.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},$e.set(t,n),r||mg(u,t,n,f.state))),e&&a===null)throw Error(o(528,""));return f}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=bl(n),n=Ga(u).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function gl(t){return'href="'+Ne(t)+'"'}function Oi(t){return'link[rel="stylesheet"]['+t+"]"}function hh(t){return y({},t,{"data-precedence":t.precedence,precedence:null})}function mg(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),ce(e,"link",n),ee(e),t.head.appendChild(e))}function bl(t){return'[src="'+Ne(t)+'"]'}function Ci(t){return"script[async]"+t}function mh(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Ne(n.href)+'"]');if(a)return e.instance=a,ee(a),a;var u=y({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),ee(a),ce(a,"style",u),tr(a,n.precedence,t),e.instance=a;case"stylesheet":u=gl(n.href);var r=t.querySelector(Oi(u));if(r)return e.state.loading|=4,e.instance=r,ee(r),r;a=hh(n),(u=$e.get(u))&&Yo(a,u),r=(t.ownerDocument||t).createElement("link"),ee(r);var f=r;return f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),ce(r,"link",a),e.state.loading|=4,tr(r,n.precedence,t),e.instance=r;case"script":return r=bl(n.src),(u=t.querySelector(Ci(r)))?(e.instance=u,ee(u),u):(a=n,(u=$e.get(r))&&(a=y({},n),Vo(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),ee(u),ce(u,"link",a),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&!(e.state.loading&4)&&(a=e.instance,e.state.loading|=4,tr(a,n.precedence,t));return e.instance}function tr(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,r=u,f=0;f title"):null)}function yg(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function gh(t){return!(t.type==="stylesheet"&&!(t.state.loading&3))}var zi=null;function pg(){}function gg(t,e,n){if(zi===null)throw Error(o(475));var a=zi;if(e.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&!(e.state.loading&4)){if(e.instance===null){var u=gl(n.href),r=t.querySelector(Oi(u));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(a.count++,a=nr.bind(a),t.then(a,a)),e.state.loading|=4,e.instance=r,ee(r);return}r=t.ownerDocument||t,n=hh(n),(u=$e.get(u))&&Yo(n,u),r=r.createElement("link"),ee(r);var f=r;f._p=new Promise(function(h,g){f.onload=h,f.onerror=g}),ce(r,"link",n),e.instance=r}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(e,t),(t=e.state.preload)&&!(e.state.loading&3)&&(a.count++,e=nr.bind(a),t.addEventListener("load",e),t.addEventListener("error",e))}}function bg(){if(zi===null)throw Error(o(475));var t=zi;return t.stylesheets&&t.count===0&&Xo(t,t.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Fo.exports=Lg(),Fo.exports}var Yg=Gg();const $i={black:"#000",white:"#fff"},vl={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Sl={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Tl={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Al={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},El={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ji={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Vg={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Ba(l,...i){const c=new URL(`https://mui.com/production-error/?code=${l}`);return i.forEach(o=>c.searchParams.append("args[]",o)),`Minified MUI error #${l}; visit ${c} for the full message.`}const Os="$$material";function Er(){return Er=Object.assign?Object.assign.bind():function(l){for(var i=1;i0?oe(Ml,--Se):0,Rl--,Pt===10&&(Rl=1,wr--),Pt}function Re(){return Pt=Se2||Qi(Pt)>3?"":" "}function a1(l,i){for(;--i&&Re()&&!(Pt<48||Pt>102||Pt>57&&Pt<65||Pt>70&&Pt<97););return Ki(l,yr()+(i<6&&hn()==32&&Re()==32))}function fs(l){for(;Re();)switch(Pt){case l:return Se;case 34:case 39:l!==34&&l!==39&&fs(Pt);break;case 40:l===41&&fs(l);break;case 92:Re();break}return Se}function l1(l,i){for(;Re()&&l+Pt!==57;)if(l+Pt===84&&hn()===47)break;return"/*"+Ki(i,Se-1)+"*"+zr(l===47?l:Re())}function i1(l){for(;!Qi(hn());)Re();return Ki(l,Se)}function u1(l){return xm(gr("",null,null,null,[""],l=Em(l),0,[0],l))}function gr(l,i,c,o,s,d,m,b,v){for(var p=0,C=0,_=m,w=0,j=0,B=0,U=1,X=1,Q=1,F=0,V="",L=s,O=d,$=o,W=V;X;)switch(B=F,F=Re()){case 40:if(B!=108&&oe(W,_-1)==58){ss(W+=Ct(pr(F),"&","&\f"),"&\f")!=-1&&(Q=-1);break}case 34:case 39:case 91:W+=pr(F);break;case 9:case 10:case 13:case 32:W+=n1(B);break;case 92:W+=a1(yr()-1,7);continue;case 47:switch(hn()){case 42:case 47:fr(r1(l1(Re(),yr()),i,c),v);break;default:W+="/"}break;case 123*U:b[p++]=sn(W)*Q;case 125*U:case 59:case 0:switch(F){case 0:case 125:X=0;case 59+C:Q==-1&&(W=Ct(W,/\f/g,"")),j>0&&sn(W)-_&&fr(j>32?Yh(W+";",o,c,_-1):Yh(Ct(W," ","")+";",o,c,_-2),v);break;case 59:W+=";";default:if(fr($=Gh(W,i,c,p,C,s,b,V,L=[],O=[],_),d),F===123)if(C===0)gr(W,i,$,$,L,d,_,b,O);else switch(w===99&&oe(W,3)===110?100:w){case 100:case 108:case 109:case 115:gr(l,$,$,o&&fr(Gh(l,$,$,0,0,s,b,V,s,L=[],_),O),s,O,_,b,o?L:O);break;default:gr(W,$,$,$,[""],O,0,b,O)}}p=C=j=0,U=Q=1,V=W="",_=m;break;case 58:_=1+sn(W),j=B;default:if(U<1){if(F==123)--U;else if(F==125&&U++==0&&e1()==125)continue}switch(W+=zr(F),F*U){case 38:Q=C>0?1:(W+="\f",-1);break;case 44:b[p++]=(sn(W)-1)*Q,Q=1;break;case 64:hn()===45&&(W+=pr(Re())),w=hn(),C=_=sn(V=W+=i1(yr())),F++;break;case 45:B===45&&sn(W)==2&&(U=0)}}return d}function Gh(l,i,c,o,s,d,m,b,v,p,C){for(var _=s-1,w=s===0?d:[""],j=ws(w),B=0,U=0,X=0;B0?w[Q]+" "+F:Ct(F,/&\f/g,w[Q])))&&(v[X++]=V);return Rr(l,i,c,s===0?Cs:b,v,p,C)}function r1(l,i,c){return Rr(l,i,c,vm,zr(t1()),ki(l,2,-2),0)}function Yh(l,i,c,o){return Rr(l,i,c,zs,ki(l,0,o),ki(l,o+1,-1),o)}function zl(l,i){for(var c="",o=ws(l),s=0;s6)switch(oe(l,i+1)){case 109:if(oe(l,i+4)!==45)break;case 102:return Ct(l,/(.+:)(.+)-([^]+)/,"$1"+Ot+"$2-$3$1"+xr+(oe(l,i+3)==108?"$3":"$2-$3"))+l;case 115:return~ss(l,"stretch")?Om(Ct(l,"stretch","fill-available"),i)+l:l}break;case 4949:if(oe(l,i+1)!==115)break;case 6444:switch(oe(l,sn(l)-3-(~ss(l,"!important")&&10))){case 107:return Ct(l,":",":"+Ot)+l;case 101:return Ct(l,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ot+(oe(l,14)===45?"inline-":"")+"box$3$1"+Ot+"$2$3$1"+he+"$2box$3")+l}break;case 5936:switch(oe(l,i+11)){case 114:return Ot+l+he+Ct(l,/[svh]\w+-[tblr]{2}/,"tb")+l;case 108:return Ot+l+he+Ct(l,/[svh]\w+-[tblr]{2}/,"tb-rl")+l;case 45:return Ot+l+he+Ct(l,/[svh]\w+-[tblr]{2}/,"lr")+l}return Ot+l+he+l+l}return l}var p1=function(i,c,o,s){if(i.length>-1&&!i.return)switch(i.type){case zs:i.return=Om(i.value,i.length);break;case Sm:return zl([qi(i,{value:Ct(i.value,"@","@"+Ot)})],s);case Cs:if(i.length)return Ig(i.props,function(d){switch(Pg(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zl([qi(i,{props:[Ct(d,/:(read-\w+)/,":"+xr+"$1")]})],s);case"::placeholder":return zl([qi(i,{props:[Ct(d,/:(plac\w+)/,":"+Ot+"input-$1")]}),qi(i,{props:[Ct(d,/:(plac\w+)/,":"+xr+"$1")]}),qi(i,{props:[Ct(d,/:(plac\w+)/,he+"input-$1")]})],s)}return""})}},g1=[p1],b1=function(i){var c=i.key;if(c==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(U){var X=U.getAttribute("data-emotion");X.indexOf(" ")!==-1&&(document.head.appendChild(U),U.setAttribute("data-s",""))})}var s=i.stylisPlugins||g1,d={},m,b=[];m=i.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+c+' "]'),function(U){for(var X=U.getAttribute("data-emotion").split(" "),Q=1;Q=4;++o,s-=4)c=l.charCodeAt(o)&255|(l.charCodeAt(++o)&255)<<8|(l.charCodeAt(++o)&255)<<16|(l.charCodeAt(++o)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,i=(c&65535)*1540483477+((c>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(s){case 3:i^=(l.charCodeAt(o+2)&255)<<16;case 2:i^=(l.charCodeAt(o+1)&255)<<8;case 1:i^=l.charCodeAt(o)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var x1={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_1=/[A-Z]|^ms/g,O1=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zm=function(i){return i.charCodeAt(1)===45},Qh=function(i){return i!=null&&typeof i!="boolean"},ls=_m(function(l){return zm(l)?l:l.replace(_1,"-$&").toLowerCase()}),Zh=function(i,c){switch(i){case"animation":case"animationName":if(typeof c=="string")return c.replace(O1,function(o,s,d){return fn={name:s,styles:d,next:fn},s})}return x1[i]!==1&&!zm(i)&&typeof c=="number"&&c!==0?c+"px":c};function Zi(l,i,c){if(c==null)return"";var o=c;if(o.__emotion_styles!==void 0)return o;switch(typeof c){case"boolean":return"";case"object":{var s=c;if(s.anim===1)return fn={name:s.name,styles:s.styles,next:fn},s.name;var d=c;if(d.styles!==void 0){var m=d.next;if(m!==void 0)for(;m!==void 0;)fn={name:m.name,styles:m.styles,next:fn},m=m.next;var b=d.styles+";";return b}return C1(l,i,c)}case"function":{if(l!==void 0){var v=fn,p=c(l);return fn=v,Zi(l,i,p)}break}}var C=c;if(i==null)return C;var _=i[C];return _!==void 0?_:C}function C1(l,i,c){var o="";if(Array.isArray(c))for(var s=0;s96?q1:L1},Fh=function(i,c,o){var s;if(c){var d=c.shouldForwardProp;s=i.__emotion_forwardProp&&d?function(m){return i.__emotion_forwardProp(m)&&d(m)}:d}return typeof s!="function"&&o&&(s=i.__emotion_forwardProp),s},G1=function(i){var c=i.cache,o=i.serialized,s=i.isStringTag;return Rs(c,o,s),Rm(function(){return Ms(c,o,s)}),null},Y1=function l(i,c){var o=i.__emotion_real===i,s=o&&i.__emotion_base||i,d,m;c!==void 0&&(d=c.label,m=c.target);var b=Fh(i,c,o),v=b||Jh(s),p=!v("as");return function(){var C=arguments,_=o&&i.__emotion_styles!==void 0?i.__emotion_styles.slice(0):[];if(d!==void 0&&_.push("label:"+d+";"),C[0]==null||C[0].raw===void 0)_.push.apply(_,C);else{var w=C[0];_.push(w[0]);for(var j=C.length,B=1;Bi(X1(s)?c:s):i;return rt.jsx(U1,{styles:o})}/** - * @mui/styled-engine v6.3.0 - * - * @license MIT - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */function Dm(l,i){return hs(l,i)}function k1(l,i){Array.isArray(l.__emotion_styles)&&(l.__emotion_styles=i(l.__emotion_styles))}const Ph=[];function Ih(l){return Ph[0]=l,Wi(Ph)}function dn(l){if(typeof l!="object"||l===null)return!1;const i=Object.getPrototypeOf(l);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function Bm(l){if(k.isValidElement(l)||!dn(l))return l;const i={};return Object.keys(l).forEach(c=>{i[c]=Bm(l[c])}),i}function Me(l,i,c={clone:!0}){const o=c.clone?{...l}:l;return dn(l)&&dn(i)&&Object.keys(i).forEach(s=>{k.isValidElement(i[s])?o[s]=i[s]:dn(i[s])&&Object.prototype.hasOwnProperty.call(l,s)&&dn(l[s])?o[s]=Me(l[s],i[s],c):c.clone?o[s]=dn(i[s])?Bm(i[s]):i[s]:o[s]=i[s]}),o}const Q1=l=>{const i=Object.keys(l).map(c=>({key:c,val:l[c]}))||[];return i.sort((c,o)=>c.val-o.val),i.reduce((c,o)=>({...c,[o.key]:o.val}),{})};function Z1(l){const{values:i={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:c="px",step:o=5,...s}=l,d=Q1(i),m=Object.keys(d);function b(w){return`@media (min-width:${typeof i[w]=="number"?i[w]:w}${c})`}function v(w){return`@media (max-width:${(typeof i[w]=="number"?i[w]:w)-o/100}${c})`}function p(w,j){const B=m.indexOf(j);return`@media (min-width:${typeof i[w]=="number"?i[w]:w}${c}) and (max-width:${(B!==-1&&typeof i[m[B]]=="number"?i[m[B]]:j)-o/100}${c})`}function C(w){return m.indexOf(w)+1o.startsWith("@container")).sort((o,s)=>{var m,b;const d=/min-width:\s*([0-9.]+)/;return+(((m=o.match(d))==null?void 0:m[1])||0)-+(((b=s.match(d))==null?void 0:b[1])||0)});return c.length?c.reduce((o,s)=>{const d=i[s];return delete o[s],o[s]=d,o},{...i}):i}function W1(l,i){return i==="@"||i.startsWith("@")&&(l.some(c=>i.startsWith(`@${c}`))||!!i.match(/^@\d/))}function J1(l,i){const c=i.match(/^@([^/]+)?\/?(.+)?$/);if(!c)return null;const[,o,s]=c,d=Number.isNaN(+o)?o||0:+o;return l.containerQueries(s).up(d)}function F1(l){const i=(d,m)=>d.replace("@media",m?`@container ${m}`:"@container");function c(d,m){d.up=(...b)=>i(l.breakpoints.up(...b),m),d.down=(...b)=>i(l.breakpoints.down(...b),m),d.between=(...b)=>i(l.breakpoints.between(...b),m),d.only=(...b)=>i(l.breakpoints.only(...b),m),d.not=(...b)=>{const v=i(l.breakpoints.not(...b),m);return v.includes("not all and")?v.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):v}}const o={},s=d=>(c(o,d),o);return c(s),{...l,containerQueries:s}}const P1={borderRadius:4};function Yi(l,i){return i?Me(l,i,{clone:!1}):l}const Br={xs:0,sm:600,md:900,lg:1200,xl:1536},tm={keys:["xs","sm","md","lg","xl"],up:l=>`@media (min-width:${Br[l]}px)`},I1={containerQueries:l=>({up:i=>{let c=typeof i=="number"?i:Br[i]||i;return typeof c=="number"&&(c=`${c}px`),l?`@container ${l} (min-width:${c})`:`@container (min-width:${c})`}})};function Nn(l,i,c){const o=l.theme||{};if(Array.isArray(i)){const d=o.breakpoints||tm;return i.reduce((m,b,v)=>(m[d.up(d.keys[v])]=c(i[v]),m),{})}if(typeof i=="object"){const d=o.breakpoints||tm;return Object.keys(i).reduce((m,b)=>{if(W1(d.keys,b)){const v=J1(o.containerQueries?o:I1,b);v&&(m[v]=c(i[b],b))}else if(Object.keys(d.values||Br).includes(b)){const v=d.up(b);m[v]=c(i[b],b)}else{const v=b;m[v]=i[v]}return m},{})}return c(i)}function tb(l={}){var c;return((c=l.keys)==null?void 0:c.reduce((o,s)=>{const d=l.up(s);return o[d]={},o},{}))||{}}function eb(l,i){return l.reduce((c,o)=>{const s=c[o];return(!s||Object.keys(s).length===0)&&delete c[o],c},i)}function jt(l){if(typeof l!="string")throw new Error(Ba(7));return l.charAt(0).toUpperCase()+l.slice(1)}function Nr(l,i,c=!0){if(!i||typeof i!="string")return null;if(l&&l.vars&&c){const o=`vars.${i}`.split(".").reduce((s,d)=>s&&s[d]?s[d]:null,l);if(o!=null)return o}return i.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,l)}function _r(l,i,c,o=c){let s;return typeof l=="function"?s=l(c):Array.isArray(l)?s=l[c]||o:s=Nr(l,c)||o,i&&(s=i(s,o,l)),s}function Kt(l){const{prop:i,cssProperty:c=l.prop,themeKey:o,transform:s}=l,d=m=>{if(m[i]==null)return null;const b=m[i],v=m.theme,p=Nr(v,o)||{};return Nn(m,b,_=>{let w=_r(p,s,_);return _===w&&typeof _=="string"&&(w=_r(p,s,`${i}${_==="default"?"":jt(_)}`,_)),c===!1?w:{[c]:w}})};return d.propTypes={},d.filterProps=[i],d}function nb(l){const i={};return c=>(i[c]===void 0&&(i[c]=l(c)),i[c])}const ab={m:"margin",p:"padding"},lb={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},em={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},ib=nb(l=>{if(l.length>2)if(em[l])l=em[l];else return[l];const[i,c]=l.split(""),o=ab[i],s=lb[c]||"";return Array.isArray(s)?s.map(d=>o+d):[o+s]}),Ns=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Us=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ns,...Us];function Ji(l,i,c,o){const s=Nr(l,i,!0)??c;return typeof s=="number"||typeof s=="string"?d=>typeof d=="string"?d:typeof s=="string"?`calc(${d} * ${s})`:s*d:Array.isArray(s)?d=>{if(typeof d=="string")return d;const m=Math.abs(d),b=s[m];return d>=0?b:typeof b=="number"?-b:`-${b}`}:typeof s=="function"?s:()=>{}}function Hs(l){return Ji(l,"spacing",8)}function Fi(l,i){return typeof i=="string"||i==null?i:l(i)}function ub(l,i){return c=>l.reduce((o,s)=>(o[s]=Fi(i,c),o),{})}function rb(l,i,c,o){if(!i.includes(c))return null;const s=ib(c),d=ub(s,o),m=l[c];return Nn(l,m,d)}function Nm(l,i){const c=Hs(l.theme);return Object.keys(l).map(o=>rb(l,i,o,c)).reduce(Yi,{})}function kt(l){return Nm(l,Ns)}kt.propTypes={};kt.filterProps=Ns;function Qt(l){return Nm(l,Us)}Qt.propTypes={};Qt.filterProps=Us;function Um(l=8,i=Hs({spacing:l})){if(l.mui)return l;const c=(...o)=>(o.length===0?[1]:o).map(d=>{const m=i(d);return typeof m=="number"?`${m}px`:m}).join(" ");return c.mui=!0,c}function Ur(...l){const i=l.reduce((o,s)=>(s.filterProps.forEach(d=>{o[d]=s}),o),{}),c=o=>Object.keys(o).reduce((s,d)=>i[d]?Yi(s,i[d](o)):s,{});return c.propTypes={},c.filterProps=l.reduce((o,s)=>o.concat(s.filterProps),[]),c}function Qe(l){return typeof l!="number"?l:`${l}px solid`}function Ke(l,i){return Kt({prop:l,themeKey:"borders",transform:i})}const cb=Ke("border",Qe),ob=Ke("borderTop",Qe),sb=Ke("borderRight",Qe),fb=Ke("borderBottom",Qe),db=Ke("borderLeft",Qe),hb=Ke("borderColor"),mb=Ke("borderTopColor"),yb=Ke("borderRightColor"),pb=Ke("borderBottomColor"),gb=Ke("borderLeftColor"),bb=Ke("outline",Qe),vb=Ke("outlineColor"),Hr=l=>{if(l.borderRadius!==void 0&&l.borderRadius!==null){const i=Ji(l.theme,"shape.borderRadius",4),c=o=>({borderRadius:Fi(i,o)});return Nn(l,l.borderRadius,c)}return null};Hr.propTypes={};Hr.filterProps=["borderRadius"];Ur(cb,ob,sb,fb,db,hb,mb,yb,pb,gb,Hr,bb,vb);const jr=l=>{if(l.gap!==void 0&&l.gap!==null){const i=Ji(l.theme,"spacing",8),c=o=>({gap:Fi(i,o)});return Nn(l,l.gap,c)}return null};jr.propTypes={};jr.filterProps=["gap"];const qr=l=>{if(l.columnGap!==void 0&&l.columnGap!==null){const i=Ji(l.theme,"spacing",8),c=o=>({columnGap:Fi(i,o)});return Nn(l,l.columnGap,c)}return null};qr.propTypes={};qr.filterProps=["columnGap"];const Lr=l=>{if(l.rowGap!==void 0&&l.rowGap!==null){const i=Ji(l.theme,"spacing",8),c=o=>({rowGap:Fi(i,o)});return Nn(l,l.rowGap,c)}return null};Lr.propTypes={};Lr.filterProps=["rowGap"];const Sb=Kt({prop:"gridColumn"}),Tb=Kt({prop:"gridRow"}),Ab=Kt({prop:"gridAutoFlow"}),Eb=Kt({prop:"gridAutoColumns"}),xb=Kt({prop:"gridAutoRows"}),_b=Kt({prop:"gridTemplateColumns"}),Ob=Kt({prop:"gridTemplateRows"}),Cb=Kt({prop:"gridTemplateAreas"}),zb=Kt({prop:"gridArea"});Ur(jr,qr,Lr,Sb,Tb,Ab,Eb,xb,_b,Ob,Cb,zb);function wl(l,i){return i==="grey"?i:l}const wb=Kt({prop:"color",themeKey:"palette",transform:wl}),Rb=Kt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wl}),Mb=Kt({prop:"backgroundColor",themeKey:"palette",transform:wl});Ur(wb,Rb,Mb);function we(l){return l<=1&&l!==0?`${l*100}%`:l}const Db=Kt({prop:"width",transform:we}),js=l=>{if(l.maxWidth!==void 0&&l.maxWidth!==null){const i=c=>{var s,d,m,b,v;const o=((m=(d=(s=l.theme)==null?void 0:s.breakpoints)==null?void 0:d.values)==null?void 0:m[c])||Br[c];return o?((v=(b=l.theme)==null?void 0:b.breakpoints)==null?void 0:v.unit)!=="px"?{maxWidth:`${o}${l.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:we(c)}};return Nn(l,l.maxWidth,i)}return null};js.filterProps=["maxWidth"];const Bb=Kt({prop:"minWidth",transform:we}),Nb=Kt({prop:"height",transform:we}),Ub=Kt({prop:"maxHeight",transform:we}),Hb=Kt({prop:"minHeight",transform:we});Kt({prop:"size",cssProperty:"width",transform:we});Kt({prop:"size",cssProperty:"height",transform:we});const jb=Kt({prop:"boxSizing"});Ur(Db,js,Bb,Nb,Ub,Hb,jb);const Pi={border:{themeKey:"borders",transform:Qe},borderTop:{themeKey:"borders",transform:Qe},borderRight:{themeKey:"borders",transform:Qe},borderBottom:{themeKey:"borders",transform:Qe},borderLeft:{themeKey:"borders",transform:Qe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Hr},color:{themeKey:"palette",transform:wl},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wl},backgroundColor:{themeKey:"palette",transform:wl},p:{style:Qt},pt:{style:Qt},pr:{style:Qt},pb:{style:Qt},pl:{style:Qt},px:{style:Qt},py:{style:Qt},padding:{style:Qt},paddingTop:{style:Qt},paddingRight:{style:Qt},paddingBottom:{style:Qt},paddingLeft:{style:Qt},paddingX:{style:Qt},paddingY:{style:Qt},paddingInline:{style:Qt},paddingInlineStart:{style:Qt},paddingInlineEnd:{style:Qt},paddingBlock:{style:Qt},paddingBlockStart:{style:Qt},paddingBlockEnd:{style:Qt},m:{style:kt},mt:{style:kt},mr:{style:kt},mb:{style:kt},ml:{style:kt},mx:{style:kt},my:{style:kt},margin:{style:kt},marginTop:{style:kt},marginRight:{style:kt},marginBottom:{style:kt},marginLeft:{style:kt},marginX:{style:kt},marginY:{style:kt},marginInline:{style:kt},marginInlineStart:{style:kt},marginInlineEnd:{style:kt},marginBlock:{style:kt},marginBlockStart:{style:kt},marginBlockEnd:{style:kt},displayPrint:{cssProperty:!1,transform:l=>({"@media print":{display:l}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jr},rowGap:{style:Lr},columnGap:{style:qr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:we},maxWidth:{style:js},minWidth:{transform:we},height:{transform:we},maxHeight:{transform:we},minHeight:{transform:we},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qb(...l){const i=l.reduce((o,s)=>o.concat(Object.keys(s)),[]),c=new Set(i);return l.every(o=>c.size===Object.keys(o).length)}function Lb(l,i){return typeof l=="function"?l(i):l}function Gb(){function l(c,o,s,d){const m={[c]:o,theme:s},b=d[c];if(!b)return{[c]:o};const{cssProperty:v=c,themeKey:p,transform:C,style:_}=b;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[c]:o};const w=Nr(s,p)||{};return _?_(m):Nn(m,o,B=>{let U=_r(w,C,B);return B===U&&typeof B=="string"&&(U=_r(w,C,`${c}${B==="default"?"":jt(B)}`,B)),v===!1?U:{[v]:U}})}function i(c){const{sx:o,theme:s={}}=c||{};if(!o)return null;const d=s.unstable_sxConfig??Pi;function m(b){let v=b;if(typeof b=="function")v=b(s);else if(typeof b!="object")return b;if(!v)return null;const p=tb(s.breakpoints),C=Object.keys(p);let _=p;return Object.keys(v).forEach(w=>{const j=Lb(v[w],s);if(j!=null)if(typeof j=="object")if(d[w])_=Yi(_,l(w,j,s,d));else{const B=Nn({theme:s},j,U=>({[w]:U}));qb(B,j)?_[w]=i({sx:j,theme:s}):_=Yi(_,B)}else _=Yi(_,l(w,j,s,d))}),K1(s,eb(C,_))}return Array.isArray(o)?o.map(m):m(o)}return i}const Na=Gb();Na.filterProps=["sx"];function Yb(l,i){var o;const c=this;if(c.vars){if(!((o=c.colorSchemes)!=null&&o[l])||typeof c.getColorSchemeSelector!="function")return{};let s=c.getColorSchemeSelector(l);return s==="&"?i:((s.includes("data-")||s.includes("."))&&(s=`*:where(${s.replace(/\s*&$/,"")}) &`),{[s]:i})}return c.palette.mode===l?i:{}}function qs(l={},...i){const{breakpoints:c={},palette:o={},spacing:s,shape:d={},...m}=l,b=Z1(c),v=Um(s);let p=Me({breakpoints:b,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:v,shape:{...P1,...d}},m);return p=F1(p),p.applyStyles=Yb,p=i.reduce((C,_)=>Me(C,_),p),p.unstable_sxConfig={...Pi,...m==null?void 0:m.unstable_sxConfig},p.unstable_sx=function(_){return Na({sx:_,theme:this})},p}function Vb(l){return Object.keys(l).length===0}function Xb(l=null){const i=k.useContext(Mr);return!i||Vb(i)?l:i}const $b=qs();function Hm(l=$b){return Xb(l)}function kb({styles:l,themeId:i,defaultTheme:c={}}){const o=Hm(c),s=typeof l=="function"?l(i&&o[i]||o):l;return rt.jsx($1,{styles:s})}const Qb=l=>{var o;const i={systemProps:{},otherProps:{}},c=((o=l==null?void 0:l.theme)==null?void 0:o.unstable_sxConfig)??Pi;return Object.keys(l).forEach(s=>{c[s]?i.systemProps[s]=l[s]:i.otherProps[s]=l[s]}),i};function jm(l){const{sx:i,...c}=l,{systemProps:o,otherProps:s}=Qb(c);let d;return Array.isArray(i)?d=[o,...i]:typeof i=="function"?d=(...m)=>{const b=i(...m);return dn(b)?{...o,...b}:o}:d={...o,...i},{...s,sx:d}}const nm=l=>l,Zb=()=>{let l=nm;return{configure(i){l=i},generate(i){return l(i)},reset(){l=nm}}},qm=Zb();function Lm(l){var i,c,o="";if(typeof l=="string"||typeof l=="number")o+=l;else if(typeof l=="object")if(Array.isArray(l)){var s=l.length;for(i=0;ib!=="theme"&&b!=="sx"&&b!=="as"})(Na);return k.forwardRef(function(v,p){const C=Hm(c),{className:_,component:w="div",...j}=jm(v);return rt.jsx(d,{as:w,ref:p,className:pe(_,s?s(o):o),theme:i&&C[i]||C,...j})})}const Wb={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ii(l,i,c="Mui"){const o=Wb[i];return o?`${c}-${o}`:`${qm.generate(l)}-${i}`}function Bl(l,i,c="Mui"){const o={};return i.forEach(s=>{o[s]=Ii(l,s,c)}),o}function Gm(l){const{variants:i,...c}=l,o={variants:i,style:Ih(c),isProcessed:!0};return o.style===c||i&&i.forEach(s=>{typeof s.style!="function"&&(s.style=Ih(s.style))}),o}const Jb=qs();function is(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}function Fb(l){return l?(i,c)=>c[l]:null}function Pb(l,i,c){l.theme=ev(l.theme)?c:l.theme[i]||l.theme}function br(l,i){const c=typeof i=="function"?i(l):i;if(Array.isArray(c))return c.flatMap(o=>br(l,o));if(Array.isArray(c==null?void 0:c.variants)){let o;if(c.isProcessed)o=c.style;else{const{variants:s,...d}=c;o=d}return Ym(l,c.variants,[o])}return c!=null&&c.isProcessed?c.style:c}function Ym(l,i,c=[]){var s;let o;t:for(let d=0;d{k1(b,O=>O.filter($=>$!==Na));const{name:p,slot:C,skipVariantsResolver:_,skipSx:w,overridesResolver:j=Fb(av(C)),...B}=v,U=_!==void 0?_:C&&C!=="Root"&&C!=="root"||!1,X=w||!1;let Q=is;C==="Root"||C==="root"?Q=o:C?Q=s:nv(b)&&(Q=void 0);const F=Dm(b,{shouldForwardProp:Q,label:tv(),...B}),V=O=>{if(typeof O=="function"&&O.__emotion_real!==O)return function(W){return br(W,O)};if(dn(O)){const $=Gm(O);return $.variants?function(gt){return br(gt,$)}:$.style}return O},L=(...O)=>{const $=[],W=O.map(V),gt=[];if($.push(d),p&&j&>.push(function(et){var G,it;const St=(it=(G=et.theme.components)==null?void 0:G[p])==null?void 0:it.styleOverrides;if(!St)return null;const _t={};for(const tt in St)_t[tt]=br(et,St[tt]);return j(et,_t)}),p&&!U&>.push(function(et){var _t,G;const ct=et.theme,St=(G=(_t=ct==null?void 0:ct.components)==null?void 0:_t[p])==null?void 0:G.variants;return St?Ym(et,St):null}),X||gt.push(Na),Array.isArray(W[0])){const Y=W.shift(),et=new Array($.length).fill(""),ct=new Array(gt.length).fill("");let St;St=[...et,...Y,...ct],St.raw=[...et,...Y.raw,...ct],$.unshift(St)}const K=[...$,...W,...gt],y=F(...K);return b.muiName&&(y.muiName=b.muiName),y};return F.withConfig&&(L.withConfig=F.withConfig),L}}function tv(l,i){return void 0}function ev(l){for(const i in l)return!1;return!0}function nv(l){return typeof l=="string"&&l.charCodeAt(0)>96}function av(l){return l&&l.charAt(0).toLowerCase()+l.slice(1)}function Or(l,i){const c={...i};for(const o in l)if(Object.prototype.hasOwnProperty.call(l,o)){const s=o;if(s==="components"||s==="slots")c[s]={...l[s],...c[s]};else if(s==="componentsProps"||s==="slotProps"){const d=l[s],m=i[s];if(!m)c[s]=d||{};else if(!d)c[s]=m;else{c[s]={...m};for(const b in d)if(Object.prototype.hasOwnProperty.call(d,b)){const v=b;c[s][v]=Or(d[v],m[v])}}}else c[s]===void 0&&(c[s]=l[s])}return c}const lv=typeof window<"u"?k.useLayoutEffect:k.useEffect;function iv(l,i=Number.MIN_SAFE_INTEGER,c=Number.MAX_SAFE_INTEGER){return Math.max(i,Math.min(l,c))}function Ls(l,i=0,c=1){return iv(l,i,c)}function uv(l){l=l.slice(1);const i=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let c=l.match(i);return c&&c[0].length===1&&(c=c.map(o=>o+o)),c?`rgb${c.length===4?"a":""}(${c.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function ca(l){if(l.type)return l;if(l.charAt(0)==="#")return ca(uv(l));const i=l.indexOf("("),c=l.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(c))throw new Error(Ba(9,l));let o=l.substring(i+1,l.length-1),s;if(c==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(Ba(10,s))}else o=o.split(",");return o=o.map(d=>parseFloat(d)),{type:c,values:o,colorSpace:s}}const rv=l=>{const i=ca(l);return i.values.slice(0,3).map((c,o)=>i.type.includes("hsl")&&o!==0?`${c}%`:c).join(" ")},Li=(l,i)=>{try{return rv(l)}catch{return l}};function Gr(l){const{type:i,colorSpace:c}=l;let{values:o}=l;return i.includes("rgb")?o=o.map((s,d)=>d<3?parseInt(s,10):s):i.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),i.includes("color")?o=`${c} ${o.join(" ")}`:o=`${o.join(", ")}`,`${i}(${o})`}function Vm(l){l=ca(l);const{values:i}=l,c=i[0],o=i[1]/100,s=i[2]/100,d=o*Math.min(s,1-s),m=(p,C=(p+c/30)%12)=>s-d*Math.max(Math.min(C-3,9-C,1),-1);let b="rgb";const v=[Math.round(m(0)*255),Math.round(m(8)*255),Math.round(m(4)*255)];return l.type==="hsla"&&(b+="a",v.push(i[3])),Gr({type:b,values:v})}function ms(l){l=ca(l);let i=l.type==="hsl"||l.type==="hsla"?ca(Vm(l)).values:l.values;return i=i.map(c=>(l.type!=="color"&&(c/=255),c<=.03928?c/12.92:((c+.055)/1.055)**2.4)),Number((.2126*i[0]+.7152*i[1]+.0722*i[2]).toFixed(3))}function cv(l,i){const c=ms(l),o=ms(i);return(Math.max(c,o)+.05)/(Math.min(c,o)+.05)}function Ol(l,i){return l=ca(l),i=Ls(i),(l.type==="rgb"||l.type==="hsl")&&(l.type+="a"),l.type==="color"?l.values[3]=`/${i}`:l.values[3]=i,Gr(l)}function dr(l,i,c){try{return Ol(l,i)}catch{return l}}function Yr(l,i){if(l=ca(l),i=Ls(i),l.type.includes("hsl"))l.values[2]*=1-i;else if(l.type.includes("rgb")||l.type.includes("color"))for(let c=0;c<3;c+=1)l.values[c]*=1-i;return Gr(l)}function Dt(l,i,c){try{return Yr(l,i)}catch{return l}}function Vr(l,i){if(l=ca(l),i=Ls(i),l.type.includes("hsl"))l.values[2]+=(100-l.values[2])*i;else if(l.type.includes("rgb"))for(let c=0;c<3;c+=1)l.values[c]+=(255-l.values[c])*i;else if(l.type.includes("color"))for(let c=0;c<3;c+=1)l.values[c]+=(1-l.values[c])*i;return Gr(l)}function Bt(l,i,c){try{return Vr(l,i)}catch{return l}}function ov(l,i=.15){return ms(l)>.5?Yr(l,i):Vr(l,i)}function hr(l,i,c){try{return ov(l,i)}catch{return l}}function sv(l,i){typeof l=="function"?l(i):l&&(l.current=i)}function vr(l){const i=k.useRef(l);return lv(()=>{i.current=l}),k.useRef((...c)=>(0,i.current)(...c)).current}function am(...l){return k.useMemo(()=>l.every(i=>i==null)?null:i=>{l.forEach(c=>{sv(c,i)})},l)}const lm={};function Xm(l,i){const c=k.useRef(lm);return c.current===lm&&(c.current=l(i)),c}const fv=[];function dv(l){k.useEffect(l,fv)}class Gs{constructor(){Ni(this,"currentId",null);Ni(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});Ni(this,"disposeEffect",()=>this.clear)}static create(){return new Gs}start(i,c){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,c()},i)}}function hv(){const l=Xm(Gs.create).current;return dv(l.disposeEffect),l}function im(l){try{return l.matches(":focus-visible")}catch{}return!1}function Xr(l,i,c=void 0){const o={};for(const s in l){const d=l[s];let m="",b=!0;for(let v=0;vk.useContext(mv)??!1,pv=k.createContext(void 0);function gv(l){const{theme:i,name:c,props:o}=l;if(!i||!i.components||!i.components[c])return o;const s=i.components[c];return s.defaultProps?Or(s.defaultProps,o):!s.styleOverrides&&!s.variants?Or(s,o):o}function bv({props:l,name:i}){const c=k.useContext(pv);return gv({props:l,name:i,theme:{components:c}})}const um={theme:void 0};function vv(l){let i,c;return function(s){let d=i;return(d===void 0||s.theme!==c)&&(um.theme=s.theme,d=Gm(l(um)),i=d,c=s.theme),d}}function Sv(l=""){function i(...o){if(!o.length)return"";const s=o[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${l?`${l}-`:""}${s}${i(...o.slice(1))})`:`, ${s}`}return(o,...s)=>`var(--${l?`${l}-`:""}${o}${i(...s)})`}const rm=(l,i,c,o=[])=>{let s=l;i.forEach((d,m)=>{m===i.length-1?Array.isArray(s)?s[Number(d)]=c:s&&typeof s=="object"&&(s[d]=c):s&&typeof s=="object"&&(s[d]||(s[d]=o.includes(d)?[]:{}),s=s[d])})},Tv=(l,i,c)=>{function o(s,d=[],m=[]){Object.entries(s).forEach(([b,v])=>{(!c||!c([...d,b]))&&v!=null&&(typeof v=="object"&&Object.keys(v).length>0?o(v,[...d,b],Array.isArray(v)?[...m,b]:m):i([...d,b],v,m))})}o(l)},Av=(l,i)=>typeof i=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>l.includes(o))||l[l.length-1].toLowerCase().includes("opacity")?i:`${i}px`:i;function us(l,i){const{prefix:c,shouldSkipGeneratingVar:o}=i||{},s={},d={},m={};return Tv(l,(b,v,p)=>{if((typeof v=="string"||typeof v=="number")&&(!o||!o(b,v))){const C=`--${c?`${c}-`:""}${b.join("-")}`,_=Av(b,v);Object.assign(s,{[C]:_}),rm(d,b,`var(${C})`,p),rm(m,b,`var(${C}, ${_})`,p)}},b=>b[0]==="vars"),{css:s,vars:d,varsWithDefaults:m}}function Ev(l,i={}){const{getSelector:c=X,disableCssColorScheme:o,colorSchemeSelector:s}=i,{colorSchemes:d={},components:m,defaultColorScheme:b="light",...v}=l,{vars:p,css:C,varsWithDefaults:_}=us(v,i);let w=_;const j={},{[b]:B,...U}=d;if(Object.entries(U||{}).forEach(([V,L])=>{const{vars:O,css:$,varsWithDefaults:W}=us(L,i);w=Me(w,W),j[V]={css:$,vars:O}}),B){const{css:V,vars:L,varsWithDefaults:O}=us(B,i);w=Me(w,O),j[b]={css:V,vars:L}}function X(V,L){var $,W;let O=s;if(s==="class"&&(O=".%s"),s==="data"&&(O="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(O=`[${s}="%s"]`),V){if(O==="media")return l.defaultColorScheme===V?":root":{[`@media (prefers-color-scheme: ${((W=($=d[V])==null?void 0:$.palette)==null?void 0:W.mode)||V})`]:{":root":L}};if(O)return l.defaultColorScheme===V?`:root, ${O.replace("%s",String(V))}`:O.replace("%s",String(V))}return":root"}return{vars:w,generateThemeVars:()=>{let V={...p};return Object.entries(j).forEach(([,{vars:L}])=>{V=Me(V,L)}),V},generateStyleSheets:()=>{var gt,K;const V=[],L=l.defaultColorScheme||"light";function O(y,Y){Object.keys(Y).length&&V.push(typeof y=="string"?{[y]:{...Y}}:y)}O(c(void 0,{...C}),C);const{[L]:$,...W}=j;if($){const{css:y}=$,Y=(K=(gt=d[L])==null?void 0:gt.palette)==null?void 0:K.mode,et=!o&&Y?{colorScheme:Y,...y}:{...y};O(c(L,{...et}),et)}return Object.entries(W).forEach(([y,{css:Y}])=>{var St,_t;const et=(_t=(St=d[y])==null?void 0:St.palette)==null?void 0:_t.mode,ct=!o&&et?{colorScheme:et,...Y}:{...Y};O(c(y,{...ct}),ct)}),V}}}function xv(l){return function(c){return l==="media"?`@media (prefers-color-scheme: ${c})`:l?l.startsWith("data-")&&!l.includes("%s")?`[${l}="${c}"] &`:l==="class"?`.${c} &`:l==="data"?`[data-${c}] &`:`${l.replace("%s",c)} &`:"&"}}function $m(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:$i.white,default:$i.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const _v=$m();function km(){return{text:{primary:$i.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:$i.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const cm=km();function om(l,i,c,o){const s=o.light||o,d=o.dark||o*1.5;l[i]||(l.hasOwnProperty(c)?l[i]=l[c]:i==="light"?l.light=Vr(l.main,s):i==="dark"&&(l.dark=Yr(l.main,d)))}function Ov(l="light"){return l==="dark"?{main:Tl[200],light:Tl[50],dark:Tl[400]}:{main:Tl[700],light:Tl[400],dark:Tl[800]}}function Cv(l="light"){return l==="dark"?{main:Sl[200],light:Sl[50],dark:Sl[400]}:{main:Sl[500],light:Sl[300],dark:Sl[700]}}function zv(l="light"){return l==="dark"?{main:vl[500],light:vl[300],dark:vl[700]}:{main:vl[700],light:vl[400],dark:vl[800]}}function wv(l="light"){return l==="dark"?{main:Al[400],light:Al[300],dark:Al[700]}:{main:Al[700],light:Al[500],dark:Al[900]}}function Rv(l="light"){return l==="dark"?{main:El[400],light:El[300],dark:El[700]}:{main:El[800],light:El[500],dark:El[900]}}function Mv(l="light"){return l==="dark"?{main:ji[400],light:ji[300],dark:ji[700]}:{main:"#ed6c02",light:ji[500],dark:ji[900]}}function Ys(l){const{mode:i="light",contrastThreshold:c=3,tonalOffset:o=.2,...s}=l,d=l.primary||Ov(i),m=l.secondary||Cv(i),b=l.error||zv(i),v=l.info||wv(i),p=l.success||Rv(i),C=l.warning||Mv(i);function _(U){return cv(U,cm.text.primary)>=c?cm.text.primary:_v.text.primary}const w=({color:U,name:X,mainShade:Q=500,lightShade:F=300,darkShade:V=700})=>{if(U={...U},!U.main&&U[Q]&&(U.main=U[Q]),!U.hasOwnProperty("main"))throw new Error(Ba(11,X?` (${X})`:"",Q));if(typeof U.main!="string")throw new Error(Ba(12,X?` (${X})`:"",JSON.stringify(U.main)));return om(U,"light",F,o),om(U,"dark",V,o),U.contrastText||(U.contrastText=_(U.main)),U};let j;return i==="light"?j=$m():i==="dark"&&(j=km()),Me({common:{...$i},mode:i,primary:w({color:d,name:"primary"}),secondary:w({color:m,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:b,name:"error"}),warning:w({color:C,name:"warning"}),info:w({color:v,name:"info"}),success:w({color:p,name:"success"}),grey:Vg,contrastThreshold:c,getContrastText:_,augmentColor:w,tonalOffset:o,...j},s)}function Dv(l){const i={};return Object.entries(l).forEach(o=>{const[s,d]=o;typeof d=="object"&&(i[s]=`${d.fontStyle?`${d.fontStyle} `:""}${d.fontVariant?`${d.fontVariant} `:""}${d.fontWeight?`${d.fontWeight} `:""}${d.fontStretch?`${d.fontStretch} `:""}${d.fontSize||""}${d.lineHeight?`/${d.lineHeight} `:""}${d.fontFamily||""}`)}),i}function Bv(l,i){return{toolbar:{minHeight:56,[l.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[l.up("sm")]:{minHeight:64}},...i}}function Nv(l){return Math.round(l*1e5)/1e5}const sm={textTransform:"uppercase"},fm='"Roboto", "Helvetica", "Arial", sans-serif';function Uv(l,i){const{fontFamily:c=fm,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:d=400,fontWeightMedium:m=500,fontWeightBold:b=700,htmlFontSize:v=16,allVariants:p,pxToRem:C,..._}=typeof i=="function"?i(l):i,w=o/14,j=C||(X=>`${X/v*w}rem`),B=(X,Q,F,V,L)=>({fontFamily:c,fontWeight:X,fontSize:j(Q),lineHeight:F,...c===fm?{letterSpacing:`${Nv(V/Q)}em`}:{},...L,...p}),U={h1:B(s,96,1.167,-1.5),h2:B(s,60,1.2,-.5),h3:B(d,48,1.167,0),h4:B(d,34,1.235,.25),h5:B(d,24,1.334,0),h6:B(m,20,1.6,.15),subtitle1:B(d,16,1.75,.15),subtitle2:B(m,14,1.57,.1),body1:B(d,16,1.5,.15),body2:B(d,14,1.43,.15),button:B(m,14,1.75,.4,sm),caption:B(d,12,1.66,.4),overline:B(d,12,2.66,1,sm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Me({htmlFontSize:v,pxToRem:j,fontFamily:c,fontSize:o,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:b,...U},_,{clone:!1})}const Hv=.2,jv=.14,qv=.12;function qt(...l){return[`${l[0]}px ${l[1]}px ${l[2]}px ${l[3]}px rgba(0,0,0,${Hv})`,`${l[4]}px ${l[5]}px ${l[6]}px ${l[7]}px rgba(0,0,0,${jv})`,`${l[8]}px ${l[9]}px ${l[10]}px ${l[11]}px rgba(0,0,0,${qv})`].join(",")}const Lv=["none",qt(0,2,1,-1,0,1,1,0,0,1,3,0),qt(0,3,1,-2,0,2,2,0,0,1,5,0),qt(0,3,3,-2,0,3,4,0,0,1,8,0),qt(0,2,4,-1,0,4,5,0,0,1,10,0),qt(0,3,5,-1,0,5,8,0,0,1,14,0),qt(0,3,5,-1,0,6,10,0,0,1,18,0),qt(0,4,5,-2,0,7,10,1,0,2,16,1),qt(0,5,5,-3,0,8,10,1,0,3,14,2),qt(0,5,6,-3,0,9,12,1,0,3,16,2),qt(0,6,6,-3,0,10,14,1,0,4,18,3),qt(0,6,7,-4,0,11,15,1,0,4,20,3),qt(0,7,8,-4,0,12,17,2,0,5,22,4),qt(0,7,8,-4,0,13,19,2,0,5,24,4),qt(0,7,9,-4,0,14,21,2,0,5,26,4),qt(0,8,9,-5,0,15,22,2,0,6,28,5),qt(0,8,10,-5,0,16,24,2,0,6,30,5),qt(0,8,11,-5,0,17,26,2,0,6,32,5),qt(0,9,11,-5,0,18,28,2,0,7,34,6),qt(0,9,12,-6,0,19,29,2,0,7,36,6),qt(0,10,13,-6,0,20,31,3,0,8,38,7),qt(0,10,13,-6,0,21,33,3,0,8,40,7),qt(0,10,14,-6,0,22,35,3,0,8,42,7),qt(0,11,14,-7,0,23,36,3,0,9,44,8),qt(0,11,15,-7,0,24,38,3,0,9,46,8)],Gv={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Yv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dm(l){return`${Math.round(l)}ms`}function Vv(l){if(!l)return 0;const i=l/36;return Math.min(Math.round((4+15*i**.25+i/5)*10),3e3)}function Xv(l){const i={...Gv,...l.easing},c={...Yv,...l.duration};return{getAutoHeightDuration:Vv,create:(s=["all"],d={})=>{const{duration:m=c.standard,easing:b=i.easeInOut,delay:v=0,...p}=d;return(Array.isArray(s)?s:[s]).map(C=>`${C} ${typeof m=="string"?m:dm(m)} ${b} ${typeof v=="string"?v:dm(v)}`).join(",")},...l,easing:i,duration:c}}const $v={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function kv(l){return dn(l)||typeof l>"u"||typeof l=="string"||typeof l=="boolean"||typeof l=="number"||Array.isArray(l)}function Qm(l={}){const i={...l};function c(o){const s=Object.entries(o);for(let d=0;dMe(j,B),w),w.unstable_sxConfig={...Pi,...p==null?void 0:p.unstable_sxConfig},w.unstable_sx=function(B){return Na({sx:B,theme:this})},w.toRuntimeSource=Qm,w}function Qv(l){let i;return l<1?i=5.11916*l**2:i=4.5*Math.log(l+1)+2,Math.round(i*10)/1e3}const Zv=[...Array(25)].map((l,i)=>{if(i===0)return"none";const c=Qv(i);return`linear-gradient(rgba(255 255 255 / ${c}), rgba(255 255 255 / ${c}))`});function Zm(l){return{inputPlaceholder:l==="dark"?.5:.42,inputUnderline:l==="dark"?.7:.42,switchTrackDisabled:l==="dark"?.2:.12,switchTrack:l==="dark"?.3:.38}}function Km(l){return l==="dark"?Zv:[]}function Kv(l){const{palette:i={mode:"light"},opacity:c,overlays:o,...s}=l,d=Ys(i);return{palette:d,opacity:{...Zm(d.mode),...c},overlays:o||Km(d.mode),...s}}function Wv(l){var i;return!!l[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!l[0].match(/sxConfig$/)||l[0]==="palette"&&!!((i=l[1])!=null&&i.match(/(mode|contrastThreshold|tonalOffset)/))}const Jv=l=>[...[...Array(25)].map((i,c)=>`--${l?`${l}-`:""}overlays-${c}`),`--${l?`${l}-`:""}palette-AppBar-darkBg`,`--${l?`${l}-`:""}palette-AppBar-darkColor`],Fv=l=>(i,c)=>{const o=l.rootSelector||":root",s=l.colorSchemeSelector;let d=s;if(s==="class"&&(d=".%s"),s==="data"&&(d="[data-%s]"),s!=null&&s.startsWith("data-")&&!s.includes("%s")&&(d=`[${s}="%s"]`),l.defaultColorScheme===i){if(i==="dark"){const m={};return Jv(l.cssVarPrefix).forEach(b=>{m[b]=c[b],delete c[b]}),d==="media"?{[o]:c,"@media (prefers-color-scheme: dark)":{[o]:m}}:d?{[d.replace("%s",i)]:m,[`${o}, ${d.replace("%s",i)}`]:c}:{[o]:{...c,...m}}}if(d&&d!=="media")return`${o}, ${d.replace("%s",String(i))}`}else if(i){if(d==="media")return{[`@media (prefers-color-scheme: ${String(i)})`]:{[o]:c}};if(d)return d.replace("%s",String(i))}return o};function Pv(l,i){i.forEach(c=>{l[c]||(l[c]={})})}function R(l,i,c){!l[i]&&c&&(l[i]=c)}function Gi(l){return typeof l!="string"||!l.startsWith("hsl")?l:Vm(l)}function Mn(l,i){`${i}Channel`in l||(l[`${i}Channel`]=Li(Gi(l[i])))}function Iv(l){return typeof l=="number"?`${l}px`:typeof l=="string"||typeof l=="function"||Array.isArray(l)?l:"8px"}const on=l=>{try{return l()}catch{}},tS=(l="mui")=>Sv(l);function rs(l,i,c,o){if(!i)return;i=i===!0?{}:i;const s=o==="dark"?"dark":"light";if(!c){l[o]=Kv({...i,palette:{mode:s,...i==null?void 0:i.palette}});return}const{palette:d,...m}=ys({...c,palette:{mode:s,...i==null?void 0:i.palette}});return l[o]={...i,palette:d,opacity:{...Zm(s),...i==null?void 0:i.opacity},overlays:(i==null?void 0:i.overlays)||Km(s)},m}function eS(l={},...i){const{colorSchemes:c={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:d="mui",shouldSkipGeneratingVar:m=Wv,colorSchemeSelector:b=c.light&&c.dark?"media":void 0,rootSelector:v=":root",...p}=l,C=Object.keys(c)[0],_=o||(c.light&&C!=="light"?"light":C),w=tS(d),{[_]:j,light:B,dark:U,...X}=c,Q={...X};let F=j;if((_==="dark"&&!("dark"in c)||_==="light"&&!("light"in c))&&(F=!0),!F)throw new Error(Ba(21,_));const V=rs(Q,F,p,_);B&&!Q.light&&rs(Q,B,void 0,"light"),U&&!Q.dark&&rs(Q,U,void 0,"dark");let L={defaultColorScheme:_,...V,cssVarPrefix:d,colorSchemeSelector:b,rootSelector:v,getCssVar:w,colorSchemes:Q,font:{...Dv(V.typography),...V.font},spacing:Iv(p.spacing)};Object.keys(L.colorSchemes).forEach(K=>{const y=L.colorSchemes[K].palette,Y=et=>{const ct=et.split("-"),St=ct[1],_t=ct[2];return w(et,y[St][_t])};if(y.mode==="light"&&(R(y.common,"background","#fff"),R(y.common,"onBackground","#000")),y.mode==="dark"&&(R(y.common,"background","#000"),R(y.common,"onBackground","#fff")),Pv(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){R(y.Alert,"errorColor",Dt(y.error.light,.6)),R(y.Alert,"infoColor",Dt(y.info.light,.6)),R(y.Alert,"successColor",Dt(y.success.light,.6)),R(y.Alert,"warningColor",Dt(y.warning.light,.6)),R(y.Alert,"errorFilledBg",Y("palette-error-main")),R(y.Alert,"infoFilledBg",Y("palette-info-main")),R(y.Alert,"successFilledBg",Y("palette-success-main")),R(y.Alert,"warningFilledBg",Y("palette-warning-main")),R(y.Alert,"errorFilledColor",on(()=>y.getContrastText(y.error.main))),R(y.Alert,"infoFilledColor",on(()=>y.getContrastText(y.info.main))),R(y.Alert,"successFilledColor",on(()=>y.getContrastText(y.success.main))),R(y.Alert,"warningFilledColor",on(()=>y.getContrastText(y.warning.main))),R(y.Alert,"errorStandardBg",Bt(y.error.light,.9)),R(y.Alert,"infoStandardBg",Bt(y.info.light,.9)),R(y.Alert,"successStandardBg",Bt(y.success.light,.9)),R(y.Alert,"warningStandardBg",Bt(y.warning.light,.9)),R(y.Alert,"errorIconColor",Y("palette-error-main")),R(y.Alert,"infoIconColor",Y("palette-info-main")),R(y.Alert,"successIconColor",Y("palette-success-main")),R(y.Alert,"warningIconColor",Y("palette-warning-main")),R(y.AppBar,"defaultBg",Y("palette-grey-100")),R(y.Avatar,"defaultBg",Y("palette-grey-400")),R(y.Button,"inheritContainedBg",Y("palette-grey-300")),R(y.Button,"inheritContainedHoverBg",Y("palette-grey-A100")),R(y.Chip,"defaultBorder",Y("palette-grey-400")),R(y.Chip,"defaultAvatarColor",Y("palette-grey-700")),R(y.Chip,"defaultIconColor",Y("palette-grey-700")),R(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),R(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),R(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),R(y.LinearProgress,"primaryBg",Bt(y.primary.main,.62)),R(y.LinearProgress,"secondaryBg",Bt(y.secondary.main,.62)),R(y.LinearProgress,"errorBg",Bt(y.error.main,.62)),R(y.LinearProgress,"infoBg",Bt(y.info.main,.62)),R(y.LinearProgress,"successBg",Bt(y.success.main,.62)),R(y.LinearProgress,"warningBg",Bt(y.warning.main,.62)),R(y.Skeleton,"bg",`rgba(${Y("palette-text-primaryChannel")} / 0.11)`),R(y.Slider,"primaryTrack",Bt(y.primary.main,.62)),R(y.Slider,"secondaryTrack",Bt(y.secondary.main,.62)),R(y.Slider,"errorTrack",Bt(y.error.main,.62)),R(y.Slider,"infoTrack",Bt(y.info.main,.62)),R(y.Slider,"successTrack",Bt(y.success.main,.62)),R(y.Slider,"warningTrack",Bt(y.warning.main,.62));const et=hr(y.background.default,.8);R(y.SnackbarContent,"bg",et),R(y.SnackbarContent,"color",on(()=>y.getContrastText(et))),R(y.SpeedDialAction,"fabHoverBg",hr(y.background.paper,.15)),R(y.StepConnector,"border",Y("palette-grey-400")),R(y.StepContent,"border",Y("palette-grey-400")),R(y.Switch,"defaultColor",Y("palette-common-white")),R(y.Switch,"defaultDisabledColor",Y("palette-grey-100")),R(y.Switch,"primaryDisabledColor",Bt(y.primary.main,.62)),R(y.Switch,"secondaryDisabledColor",Bt(y.secondary.main,.62)),R(y.Switch,"errorDisabledColor",Bt(y.error.main,.62)),R(y.Switch,"infoDisabledColor",Bt(y.info.main,.62)),R(y.Switch,"successDisabledColor",Bt(y.success.main,.62)),R(y.Switch,"warningDisabledColor",Bt(y.warning.main,.62)),R(y.TableCell,"border",Bt(dr(y.divider,1),.88)),R(y.Tooltip,"bg",dr(y.grey[700],.92))}if(y.mode==="dark"){R(y.Alert,"errorColor",Bt(y.error.light,.6)),R(y.Alert,"infoColor",Bt(y.info.light,.6)),R(y.Alert,"successColor",Bt(y.success.light,.6)),R(y.Alert,"warningColor",Bt(y.warning.light,.6)),R(y.Alert,"errorFilledBg",Y("palette-error-dark")),R(y.Alert,"infoFilledBg",Y("palette-info-dark")),R(y.Alert,"successFilledBg",Y("palette-success-dark")),R(y.Alert,"warningFilledBg",Y("palette-warning-dark")),R(y.Alert,"errorFilledColor",on(()=>y.getContrastText(y.error.dark))),R(y.Alert,"infoFilledColor",on(()=>y.getContrastText(y.info.dark))),R(y.Alert,"successFilledColor",on(()=>y.getContrastText(y.success.dark))),R(y.Alert,"warningFilledColor",on(()=>y.getContrastText(y.warning.dark))),R(y.Alert,"errorStandardBg",Dt(y.error.light,.9)),R(y.Alert,"infoStandardBg",Dt(y.info.light,.9)),R(y.Alert,"successStandardBg",Dt(y.success.light,.9)),R(y.Alert,"warningStandardBg",Dt(y.warning.light,.9)),R(y.Alert,"errorIconColor",Y("palette-error-main")),R(y.Alert,"infoIconColor",Y("palette-info-main")),R(y.Alert,"successIconColor",Y("palette-success-main")),R(y.Alert,"warningIconColor",Y("palette-warning-main")),R(y.AppBar,"defaultBg",Y("palette-grey-900")),R(y.AppBar,"darkBg",Y("palette-background-paper")),R(y.AppBar,"darkColor",Y("palette-text-primary")),R(y.Avatar,"defaultBg",Y("palette-grey-600")),R(y.Button,"inheritContainedBg",Y("palette-grey-800")),R(y.Button,"inheritContainedHoverBg",Y("palette-grey-700")),R(y.Chip,"defaultBorder",Y("palette-grey-700")),R(y.Chip,"defaultAvatarColor",Y("palette-grey-300")),R(y.Chip,"defaultIconColor",Y("palette-grey-300")),R(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),R(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),R(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),R(y.LinearProgress,"primaryBg",Dt(y.primary.main,.5)),R(y.LinearProgress,"secondaryBg",Dt(y.secondary.main,.5)),R(y.LinearProgress,"errorBg",Dt(y.error.main,.5)),R(y.LinearProgress,"infoBg",Dt(y.info.main,.5)),R(y.LinearProgress,"successBg",Dt(y.success.main,.5)),R(y.LinearProgress,"warningBg",Dt(y.warning.main,.5)),R(y.Skeleton,"bg",`rgba(${Y("palette-text-primaryChannel")} / 0.13)`),R(y.Slider,"primaryTrack",Dt(y.primary.main,.5)),R(y.Slider,"secondaryTrack",Dt(y.secondary.main,.5)),R(y.Slider,"errorTrack",Dt(y.error.main,.5)),R(y.Slider,"infoTrack",Dt(y.info.main,.5)),R(y.Slider,"successTrack",Dt(y.success.main,.5)),R(y.Slider,"warningTrack",Dt(y.warning.main,.5));const et=hr(y.background.default,.98);R(y.SnackbarContent,"bg",et),R(y.SnackbarContent,"color",on(()=>y.getContrastText(et))),R(y.SpeedDialAction,"fabHoverBg",hr(y.background.paper,.15)),R(y.StepConnector,"border",Y("palette-grey-600")),R(y.StepContent,"border",Y("palette-grey-600")),R(y.Switch,"defaultColor",Y("palette-grey-300")),R(y.Switch,"defaultDisabledColor",Y("palette-grey-600")),R(y.Switch,"primaryDisabledColor",Dt(y.primary.main,.55)),R(y.Switch,"secondaryDisabledColor",Dt(y.secondary.main,.55)),R(y.Switch,"errorDisabledColor",Dt(y.error.main,.55)),R(y.Switch,"infoDisabledColor",Dt(y.info.main,.55)),R(y.Switch,"successDisabledColor",Dt(y.success.main,.55)),R(y.Switch,"warningDisabledColor",Dt(y.warning.main,.55)),R(y.TableCell,"border",Dt(dr(y.divider,1),.68)),R(y.Tooltip,"bg",dr(y.grey[700],.92))}Mn(y.background,"default"),Mn(y.background,"paper"),Mn(y.common,"background"),Mn(y.common,"onBackground"),Mn(y,"divider"),Object.keys(y).forEach(et=>{const ct=y[et];et!=="tonalOffset"&&ct&&typeof ct=="object"&&(ct.main&&R(y[et],"mainChannel",Li(Gi(ct.main))),ct.light&&R(y[et],"lightChannel",Li(Gi(ct.light))),ct.dark&&R(y[et],"darkChannel",Li(Gi(ct.dark))),ct.contrastText&&R(y[et],"contrastTextChannel",Li(Gi(ct.contrastText))),et==="text"&&(Mn(y[et],"primary"),Mn(y[et],"secondary")),et==="action"&&(ct.active&&Mn(y[et],"active"),ct.selected&&Mn(y[et],"selected")))})}),L=i.reduce((K,y)=>Me(K,y),L);const O={prefix:d,disableCssColorScheme:s,shouldSkipGeneratingVar:m,getSelector:Fv(L)},{vars:$,generateThemeVars:W,generateStyleSheets:gt}=Ev(L,O);return L.vars=$,Object.entries(L.colorSchemes[L.defaultColorScheme]).forEach(([K,y])=>{L[K]=y}),L.generateThemeVars=W,L.generateStyleSheets=gt,L.generateSpacing=function(){return Um(p.spacing,Hs(this))},L.getColorSchemeSelector=xv(b),L.spacing=L.generateSpacing(),L.shouldSkipGeneratingVar=m,L.unstable_sxConfig={...Pi,...p==null?void 0:p.unstable_sxConfig},L.unstable_sx=function(y){return Na({sx:y,theme:this})},L.toRuntimeSource=Qm,L}function hm(l,i,c){l.colorSchemes&&c&&(l.colorSchemes[i]={...c!==!0&&c,palette:Ys({...c===!0?{}:c.palette,mode:i})})}function Wm(l={},...i){const{palette:c,cssVariables:o=!1,colorSchemes:s=c?void 0:{light:!0},defaultColorScheme:d=c==null?void 0:c.mode,...m}=l,b=d||"light",v=s==null?void 0:s[b],p={...s,...c?{[b]:{...typeof v!="boolean"&&v,palette:c}}:void 0};if(o===!1){if(!("colorSchemes"in l))return ys(l,...i);let C=c;"palette"in l||p[b]&&(p[b]!==!0?C=p[b].palette:b==="dark"&&(C={mode:"dark"}));const _=ys({...l,palette:C},...i);return _.defaultColorScheme=b,_.colorSchemes=p,_.palette.mode==="light"&&(_.colorSchemes.light={...p.light!==!0&&p.light,palette:_.palette},hm(_,"dark",p.dark)),_.palette.mode==="dark"&&(_.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:_.palette},hm(_,"light",p.light)),_}return!c&&!("light"in p)&&b==="light"&&(p.light=!0),eS({...m,colorSchemes:p,defaultColorScheme:b,...typeof o!="boolean"&&o},...i)}const Jm=Wm();function nS(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}const Fm=l=>nS(l)&&l!=="classes",Ie=Ib({themeId:Os,defaultTheme:Jm,rootShouldForwardProp:Fm});function aS(l){return rt.jsx(kb,{...l,defaultTheme:Jm,themeId:Os})}function Pm(l){return function(c){return rt.jsx(aS,{styles:typeof l=="function"?o=>l({theme:o,...c}):l})}}function lS(){return jm}const Nl=vv;function Ul(l){return bv(l)}function iS(l,i){if(l==null)return{};var c={};for(var o in l)if({}.hasOwnProperty.call(l,o)){if(i.includes(o))continue;c[o]=l[o]}return c}function ps(l,i){return ps=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,o){return c.__proto__=o,c},ps(l,i)}function uS(l,i){l.prototype=Object.create(i.prototype),l.prototype.constructor=l,ps(l,i)}const mm=Cl.createContext(null);function rS(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function Vs(l,i){var c=function(d){return i&&k.isValidElement(d)?i(d):d},o=Object.create(null);return l&&k.Children.map(l,function(s){return s}).forEach(function(s){o[s.key]=c(s)}),o}function cS(l,i){l=l||{},i=i||{};function c(C){return C in i?i[C]:l[C]}var o=Object.create(null),s=[];for(var d in l)d in i?s.length&&(o[d]=s,s=[]):s.push(d);var m,b={};for(var v in i){if(o[v])for(m=0;m{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())});this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}static create(){return new Cr}static use(){const i=Xm(Cr.create).current,[c,o]=k.useState(!1);return i.shouldMount=c,i.setShouldMount=o,k.useEffect(i.mountEffect,[c]),i}mount(){return this.mounted||(this.mounted=mS(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(...i){this.mount().then(()=>{var c;return(c=this.ref.current)==null?void 0:c.start(...i)})}stop(...i){this.mount().then(()=>{var c;return(c=this.ref.current)==null?void 0:c.stop(...i)})}pulsate(...i){this.mount().then(()=>{var c;return(c=this.ref.current)==null?void 0:c.pulsate(...i)})}}function hS(){return Cr.use()}function mS(){let l,i;const c=new Promise((o,s)=>{l=o,i=s});return c.resolve=l,c.reject=i,c}function yS(l){const{className:i,classes:c,pulsate:o=!1,rippleX:s,rippleY:d,rippleSize:m,in:b,onExited:v,timeout:p}=l,[C,_]=k.useState(!1),w=pe(i,c.ripple,c.rippleVisible,o&&c.ripplePulsate),j={width:m,height:m,top:-(m/2)+d,left:-(m/2)+s},B=pe(c.child,C&&c.childLeaving,o&&c.childPulsate);return!b&&!C&&_(!0),k.useEffect(()=>{if(!b&&v!=null){const U=setTimeout(v,p);return()=>{clearTimeout(U)}}},[v,b,p]),rt.jsx("span",{className:w,style:j,children:rt.jsx("span",{className:B})})}const ke=Bl("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),gs=550,pS=80,gS=Dl` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`,bS=Dl` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`,vS=Dl` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`,SS=Ie("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),TS=Ie(yS,{name:"MuiTouchRipple",slot:"Ripple"})` - opacity: 0; - position: absolute; - - &.${ke.rippleVisible} { - opacity: 0.3; - transform: scale(1); - animation-name: ${gS}; - animation-duration: ${gs}ms; - animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; - } - - &.${ke.ripplePulsate} { - animation-duration: ${({theme:l})=>l.transitions.duration.shorter}ms; - } - - & .${ke.child} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${ke.childLeaving} { - opacity: 0; - animation-name: ${bS}; - animation-duration: ${gs}ms; - animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; - } - - & .${ke.childPulsate} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${vS}; - animation-duration: 2500ms; - animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`,AS=k.forwardRef(function(i,c){const o=Ul({props:i,name:"MuiTouchRipple"}),{center:s=!1,classes:d={},className:m,...b}=o,[v,p]=k.useState([]),C=k.useRef(0),_=k.useRef(null);k.useEffect(()=>{_.current&&(_.current(),_.current=null)},[v]);const w=k.useRef(!1),j=hv(),B=k.useRef(null),U=k.useRef(null),X=k.useCallback(L=>{const{pulsate:O,rippleX:$,rippleY:W,rippleSize:gt,cb:K}=L;p(y=>[...y,rt.jsx(TS,{classes:{ripple:pe(d.ripple,ke.ripple),rippleVisible:pe(d.rippleVisible,ke.rippleVisible),ripplePulsate:pe(d.ripplePulsate,ke.ripplePulsate),child:pe(d.child,ke.child),childLeaving:pe(d.childLeaving,ke.childLeaving),childPulsate:pe(d.childPulsate,ke.childPulsate)},timeout:gs,pulsate:O,rippleX:$,rippleY:W,rippleSize:gt},C.current)]),C.current+=1,_.current=K},[d]),Q=k.useCallback((L={},O={},$=()=>{})=>{const{pulsate:W=!1,center:gt=s||O.pulsate,fakeElement:K=!1}=O;if((L==null?void 0:L.type)==="mousedown"&&w.current){w.current=!1;return}(L==null?void 0:L.type)==="touchstart"&&(w.current=!0);const y=K?null:U.current,Y=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};let et,ct,St;if(gt||L===void 0||L.clientX===0&&L.clientY===0||!L.clientX&&!L.touches)et=Math.round(Y.width/2),ct=Math.round(Y.height/2);else{const{clientX:_t,clientY:G}=L.touches&&L.touches.length>0?L.touches[0]:L;et=Math.round(_t-Y.left),ct=Math.round(G-Y.top)}if(gt)St=Math.sqrt((2*Y.width**2+Y.height**2)/3),St%2===0&&(St+=1);else{const _t=Math.max(Math.abs((y?y.clientWidth:0)-et),et)*2+2,G=Math.max(Math.abs((y?y.clientHeight:0)-ct),ct)*2+2;St=Math.sqrt(_t**2+G**2)}L!=null&&L.touches?B.current===null&&(B.current=()=>{X({pulsate:W,rippleX:et,rippleY:ct,rippleSize:St,cb:$})},j.start(pS,()=>{B.current&&(B.current(),B.current=null)})):X({pulsate:W,rippleX:et,rippleY:ct,rippleSize:St,cb:$})},[s,X,j]),F=k.useCallback(()=>{Q({},{pulsate:!0})},[Q]),V=k.useCallback((L,O)=>{if(j.clear(),(L==null?void 0:L.type)==="touchend"&&B.current){B.current(),B.current=null,j.start(0,()=>{V(L,O)});return}B.current=null,p($=>$.length>0?$.slice(1):$),_.current=O},[j]);return k.useImperativeHandle(c,()=>({pulsate:F,start:Q,stop:V}),[F,Q,V]),rt.jsx(SS,{className:pe(ke.root,d.root,m),ref:U,...b,children:rt.jsx(Xs,{component:null,exit:!0,children:v})})});function ES(l){return Ii("MuiButtonBase",l)}const xS=Bl("MuiButtonBase",["root","disabled","focusVisible"]),_S=l=>{const{disabled:i,focusVisible:c,focusVisibleClassName:o,classes:s}=l,m=Xr({root:["root",i&&"disabled",c&&"focusVisible"]},ES,s);return c&&o&&(m.root+=` ${o}`),m},OS=Ie("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(l,i)=>i.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${xS.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),CS=k.forwardRef(function(i,c){const o=Ul({props:i,name:"MuiButtonBase"}),{action:s,centerRipple:d=!1,children:m,className:b,component:v="button",disabled:p=!1,disableRipple:C=!1,disableTouchRipple:_=!1,focusRipple:w=!1,focusVisibleClassName:j,LinkComponent:B="a",onBlur:U,onClick:X,onContextMenu:Q,onDragLeave:F,onFocus:V,onFocusVisible:L,onKeyDown:O,onKeyUp:$,onMouseDown:W,onMouseLeave:gt,onMouseUp:K,onTouchEnd:y,onTouchMove:Y,onTouchStart:et,tabIndex:ct=0,TouchRippleProps:St,touchRippleRef:_t,type:G,...it}=o,tt=k.useRef(null),ot=hS(),S=am(ot.ref,_t),[q,at]=k.useState(!1);p&&q&&at(!1),k.useImperativeHandle(s,()=>({focusVisible:()=>{at(!0),tt.current.focus()}}),[]);const lt=ot.shouldMount&&!C&&!p;k.useEffect(()=>{q&&w&&!C&&ot.pulsate()},[C,w,q,ot]);const J=Dn(ot,"start",W,_),bt=Dn(ot,"stop",Q,_),ft=Dn(ot,"stop",F,_),ie=Dn(ot,"stop",K,_),At=Dn(ot,"stop",dt=>{q&&dt.preventDefault(),gt&>(dt)},_),Yt=Dn(ot,"start",et,_),Nt=Dn(ot,"stop",y,_),De=Dn(ot,"stop",Y,_),oa=Dn(ot,"stop",dt=>{im(dt.target)||at(!1),U&&U(dt)},!1),tn=vr(dt=>{tt.current||(tt.current=dt.currentTarget),im(dt.target)&&(at(!0),L&&L(dt)),V&&V(dt)}),Un=()=>{const dt=tt.current;return v&&v!=="button"&&!(dt.tagName==="A"&&dt.href)},Ha=vr(dt=>{w&&!dt.repeat&&q&&dt.key===" "&&ot.stop(dt,()=>{ot.start(dt)}),dt.target===dt.currentTarget&&Un()&&dt.key===" "&&dt.preventDefault(),O&&O(dt),dt.target===dt.currentTarget&&Un()&&dt.key==="Enter"&&!p&&(dt.preventDefault(),X&&X(dt))}),Hn=vr(dt=>{w&&dt.key===" "&&q&&!dt.defaultPrevented&&ot.stop(dt,()=>{ot.pulsate(dt)}),$&&$(dt),X&&dt.target===dt.currentTarget&&Un()&&dt.key===" "&&!dt.defaultPrevented&&X(dt)});let jn=v;jn==="button"&&(it.href||it.to)&&(jn=B);const en={};jn==="button"?(en.type=G===void 0?"button":G,en.disabled=p):(!it.href&&!it.to&&(en.role="button"),p&&(en["aria-disabled"]=p));const Hl=am(c,tt),ja={...o,centerRipple:d,component:v,disabled:p,disableRipple:C,disableTouchRipple:_,focusRipple:w,tabIndex:ct,focusVisible:q},jl=_S(ja);return rt.jsxs(OS,{as:jn,className:pe(jl.root,b),ownerState:ja,onBlur:oa,onClick:X,onContextMenu:bt,onFocus:tn,onKeyDown:Ha,onKeyUp:Hn,onMouseDown:J,onMouseLeave:At,onMouseUp:ie,onDragLeave:ft,onTouchEnd:Nt,onTouchMove:De,onTouchStart:Yt,ref:Hl,tabIndex:p?-1:ct,type:G,...en,...it,children:[m,lt?rt.jsx(AS,{ref:S,center:d,...St}):null]})});function Dn(l,i,c,o=!1){return vr(s=>(c&&c(s),o||l[i](s),!0))}function zS(l){return typeof l.main=="string"}function wS(l,i=[]){if(!zS(l))return!1;for(const c of i)if(!l.hasOwnProperty(c)||typeof l[c]!="string")return!1;return!0}function Ua(l=[]){return([,i])=>i&&wS(i,l)}function RS(l){return Ii("MuiTypography",l)}Bl("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const MS={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},DS=lS(),BS=l=>{const{align:i,gutterBottom:c,noWrap:o,paragraph:s,variant:d,classes:m}=l,b={root:["root",d,l.align!=="inherit"&&`align${jt(i)}`,c&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return Xr(b,RS,m)},NS=Ie("span",{name:"MuiTypography",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,c.variant&&i[c.variant],c.align!=="inherit"&&i[`align${jt(c.align)}`],c.noWrap&&i.noWrap,c.gutterBottom&&i.gutterBottom,c.paragraph&&i.paragraph]}})(Nl(({theme:l})=>{var i;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(l.typography).filter(([c,o])=>c!=="inherit"&&o&&typeof o=="object").map(([c,o])=>({props:{variant:c},style:o})),...Object.entries(l.palette).filter(Ua()).map(([c])=>({props:{color:c},style:{color:(l.vars||l).palette[c].main}})),...Object.entries(((i=l.palette)==null?void 0:i.text)||{}).filter(([,c])=>typeof c=="string").map(([c])=>({props:{color:`text${jt(c)}`},style:{color:(l.vars||l).palette.text[c]}})),{props:({ownerState:c})=>c.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:c})=>c.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:c})=>c.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:c})=>c.paragraph,style:{marginBottom:16}}]}})),ym={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},$s=k.forwardRef(function(i,c){const{color:o,...s}=Ul({props:i,name:"MuiTypography"}),d=!MS[o],m=DS({...s,...d&&{color:o}}),{align:b="inherit",className:v,component:p,gutterBottom:C=!1,noWrap:_=!1,paragraph:w=!1,variant:j="body1",variantMapping:B=ym,...U}=m,X={...m,align:b,color:o,className:v,component:p,gutterBottom:C,noWrap:_,paragraph:w,variant:j,variantMapping:B},Q=p||(w?"p":B[j]||ym[j])||"span",F=BS(X);return rt.jsx(NS,{as:Q,ref:c,className:pe(F.root,v),...U,ownerState:X,style:{...b!=="inherit"&&{"--Typography-textAlign":b},...U.style}})}),US=Bl("MuiBox",["root"]),HS=Wm(),Bn=Kb({themeId:Os,defaultTheme:HS,defaultClassName:US.root,generateClassName:qm.generate});function jS(l){return Ii("MuiButton",l)}const xl=Bl("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),qS=k.createContext({}),LS=k.createContext(void 0),GS=l=>{const{color:i,disableElevation:c,fullWidth:o,size:s,variant:d,classes:m}=l,b={root:["root",d,`${d}${jt(i)}`,`size${jt(s)}`,`${d}Size${jt(s)}`,`color${jt(i)}`,c&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${jt(s)}`],endIcon:["icon","endIcon",`iconSize${jt(s)}`]},v=Xr(b,jS,m);return{...m,...v}},Im=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],YS=Ie(CS,{shouldForwardProp:l=>Fm(l)||l==="classes",name:"MuiButton",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,i[c.variant],i[`${c.variant}${jt(c.color)}`],i[`size${jt(c.size)}`],i[`${c.variant}Size${jt(c.size)}`],c.color==="inherit"&&i.colorInherit,c.disableElevation&&i.disableElevation,c.fullWidth&&i.fullWidth]}})(Nl(({theme:l})=>{const i=l.palette.mode==="light"?l.palette.grey[300]:l.palette.grey[800],c=l.palette.mode==="light"?l.palette.grey.A100:l.palette.grey[700];return{...l.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(l.vars||l).shape.borderRadius,transition:l.transitions.create(["background-color","box-shadow","border-color","color"],{duration:l.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${xl.disabled}`]:{color:(l.vars||l).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(l.vars||l).shadows[2],"&:hover":{boxShadow:(l.vars||l).shadows[4],"@media (hover: none)":{boxShadow:(l.vars||l).shadows[2]}},"&:active":{boxShadow:(l.vars||l).shadows[8]},[`&.${xl.focusVisible}`]:{boxShadow:(l.vars||l).shadows[6]},[`&.${xl.disabled}`]:{color:(l.vars||l).palette.action.disabled,boxShadow:(l.vars||l).shadows[0],backgroundColor:(l.vars||l).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${xl.disabled}`]:{border:`1px solid ${(l.vars||l).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(l.palette).filter(Ua()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(l.vars||l).palette[o].main,"--variant-outlinedColor":(l.vars||l).palette[o].main,"--variant-outlinedBorder":l.vars?`rgba(${l.vars.palette[o].mainChannel} / 0.5)`:Ol(l.palette[o].main,.5),"--variant-containedColor":(l.vars||l).palette[o].contrastText,"--variant-containedBg":(l.vars||l).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(l.vars||l).palette[o].dark,"--variant-textBg":l.vars?`rgba(${l.vars.palette[o].mainChannel} / ${l.vars.palette.action.hoverOpacity})`:Ol(l.palette[o].main,l.palette.action.hoverOpacity),"--variant-outlinedBorder":(l.vars||l).palette[o].main,"--variant-outlinedBg":l.vars?`rgba(${l.vars.palette[o].mainChannel} / ${l.vars.palette.action.hoverOpacity})`:Ol(l.palette[o].main,l.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedBg:i,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedHoverBg:c,"--variant-textBg":l.vars?`rgba(${l.vars.palette.text.primaryChannel} / ${l.vars.palette.action.hoverOpacity})`:Ol(l.palette.text.primary,l.palette.action.hoverOpacity),"--variant-outlinedBg":l.vars?`rgba(${l.vars.palette.text.primaryChannel} / ${l.vars.palette.action.hoverOpacity})`:Ol(l.palette.text.primary,l.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:l.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${xl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${xl.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}})),VS=Ie("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.startIcon,i[`iconSize${jt(c.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...Im]}),XS=Ie("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.endIcon,i[`iconSize${jt(c.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...Im]}),$S=k.forwardRef(function(i,c){const o=k.useContext(qS),s=k.useContext(LS),d=Or(o,i),m=Ul({props:d,name:"MuiButton"}),{children:b,color:v="primary",component:p="button",className:C,disabled:_=!1,disableElevation:w=!1,disableFocusRipple:j=!1,endIcon:B,focusVisibleClassName:U,fullWidth:X=!1,size:Q="medium",startIcon:F,type:V,variant:L="text",...O}=m,$={...m,color:v,component:p,disabled:_,disableElevation:w,disableFocusRipple:j,fullWidth:X,size:Q,type:V,variant:L},W=GS($),gt=F&&rt.jsx(VS,{className:W.startIcon,ownerState:$,children:F}),K=B&&rt.jsx(XS,{className:W.endIcon,ownerState:$,children:B}),y=s||"";return rt.jsxs(YS,{ownerState:$,className:pe(o.className,W.root,C,y),component:p,disabled:_,focusRipple:!j,focusVisibleClassName:pe(W.focusVisible,U),ref:c,type:V,...O,classes:W,children:[gt,b,K]})}),bs=typeof Pm({})=="function",kS=(l,i)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...i&&!l.vars&&{colorScheme:l.palette.mode}}),QS=l=>({color:(l.vars||l).palette.text.primary,...l.typography.body1,backgroundColor:(l.vars||l).palette.background.default,"@media print":{backgroundColor:(l.vars||l).palette.common.white}}),ty=(l,i=!1)=>{var d,m;const c={};i&&l.colorSchemes&&typeof l.getColorSchemeSelector=="function"&&Object.entries(l.colorSchemes).forEach(([b,v])=>{var C,_;const p=l.getColorSchemeSelector(b);p.startsWith("@")?c[p]={":root":{colorScheme:(C=v.palette)==null?void 0:C.mode}}:c[p.replace(/\s*&/,"")]={colorScheme:(_=v.palette)==null?void 0:_.mode}});let o={html:kS(l,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:l.typography.fontWeightBold},body:{margin:0,...QS(l),"&::backdrop":{backgroundColor:(l.vars||l).palette.background.default}},...c};const s=(m=(d=l.components)==null?void 0:d.MuiCssBaseline)==null?void 0:m.styleOverrides;return s&&(o=[o,s]),o},Sr="mui-ecs",ZS=l=>{const i=ty(l,!1),c=Array.isArray(i)?i[0]:i;return!l.vars&&c&&(c.html[`:root:has(${Sr})`]={colorScheme:l.palette.mode}),l.colorSchemes&&Object.entries(l.colorSchemes).forEach(([o,s])=>{var m,b;const d=l.getColorSchemeSelector(o);d.startsWith("@")?c[d]={[`:root:not(:has(.${Sr}))`]:{colorScheme:(m=s.palette)==null?void 0:m.mode}}:c[d.replace(/\s*&/,"")]={[`&:not(:has(.${Sr}))`]:{colorScheme:(b=s.palette)==null?void 0:b.mode}}}),i},KS=Pm(bs?({theme:l,enableColorScheme:i})=>ty(l,i):({theme:l})=>ZS(l));function WS(l){const i=Ul({props:l,name:"MuiCssBaseline"}),{children:c,enableColorScheme:o=!1}=i;return rt.jsxs(k.Fragment,{children:[bs&&rt.jsx(KS,{enableColorScheme:o}),!bs&&!o&&rt.jsx("span",{className:Sr,style:{display:"none"}}),c]})}function JS(l){return Ii("MuiLinearProgress",l)}Bl("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const vs=4,Ss=Dl` - 0% { - left: -35%; - right: 100%; - } - - 60% { - left: 100%; - right: -90%; - } - - 100% { - left: 100%; - right: -90%; - } -`,FS=typeof Ss!="string"?Dr` - animation: ${Ss} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `:null,Ts=Dl` - 0% { - left: -200%; - right: 100%; - } - - 60% { - left: 107%; - right: -8%; - } - - 100% { - left: 107%; - right: -8%; - } -`,PS=typeof Ts!="string"?Dr` - animation: ${Ts} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `:null,As=Dl` - 0% { - opacity: 1; - background-position: 0 -23px; - } - - 60% { - opacity: 0; - background-position: 0 -23px; - } - - 100% { - opacity: 1; - background-position: -200px -23px; - } -`,IS=typeof As!="string"?Dr` - animation: ${As} 3s infinite linear; - `:null,t2=l=>{const{classes:i,variant:c,color:o}=l,s={root:["root",`color${jt(o)}`,c],dashed:["dashed",`dashedColor${jt(o)}`],bar1:["bar",`barColor${jt(o)}`,(c==="indeterminate"||c==="query")&&"bar1Indeterminate",c==="determinate"&&"bar1Determinate",c==="buffer"&&"bar1Buffer"],bar2:["bar",c!=="buffer"&&`barColor${jt(o)}`,c==="buffer"&&`color${jt(o)}`,(c==="indeterminate"||c==="query")&&"bar2Indeterminate",c==="buffer"&&"bar2Buffer"]};return Xr(s,JS,i)},ks=(l,i)=>l.vars?l.vars.palette.LinearProgress[`${i}Bg`]:l.palette.mode==="light"?Vr(l.palette[i].main,.62):Yr(l.palette[i].main,.5),e2=Ie("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,i[`color${jt(c.color)}`],i[c.variant]]}})(Nl(({theme:l})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(l.palette).filter(Ua()).map(([i])=>({props:{color:i},style:{backgroundColor:ks(l,i)}})),{props:({ownerState:i})=>i.color==="inherit"&&i.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),n2=Ie("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.dashed,i[`dashedColor${jt(c.color)}`]]}})(Nl(({theme:l})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(l.palette).filter(Ua()).map(([i])=>{const c=ks(l,i);return{props:{color:i},style:{backgroundImage:`radial-gradient(${c} 0%, ${c} 16%, transparent 42%)`}}})]})),IS||{animation:`${As} 3s infinite linear`}),a2=Ie("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.bar,i[`barColor${jt(c.color)}`],(c.variant==="indeterminate"||c.variant==="query")&&i.bar1Indeterminate,c.variant==="determinate"&&i.bar1Determinate,c.variant==="buffer"&&i.bar1Buffer]}})(Nl(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(l.palette).filter(Ua()).map(([i])=>({props:{color:i},style:{backgroundColor:(l.vars||l).palette[i].main}})),{props:{variant:"determinate"},style:{transition:`transform .${vs}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${vs}s linear`}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:FS||{animation:`${Ss} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),l2=Ie("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.bar,i[`barColor${jt(c.color)}`],(c.variant==="indeterminate"||c.variant==="query")&&i.bar2Indeterminate,c.variant==="buffer"&&i.bar2Buffer]}})(Nl(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(l.palette).filter(Ua()).map(([i])=>({props:{color:i},style:{"--LinearProgressBar2-barColor":(l.vars||l).palette[i].main}})),{props:({ownerState:i})=>i.variant!=="buffer"&&i.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:i})=>i.variant!=="buffer"&&i.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(l.palette).filter(Ua()).map(([i])=>({props:{color:i,variant:"buffer"},style:{backgroundColor:ks(l,i),transition:`transform .${vs}s linear`}})),{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:PS||{animation:`${Ts} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),i2=k.forwardRef(function(i,c){const o=Ul({props:i,name:"MuiLinearProgress"}),{className:s,color:d="primary",value:m,valueBuffer:b,variant:v="indeterminate",...p}=o,C={...o,color:d,variant:v},_=t2(C),w=yv(),j={},B={bar1:{},bar2:{}};if((v==="determinate"||v==="buffer")&&m!==void 0){j["aria-valuenow"]=Math.round(m),j["aria-valuemin"]=0,j["aria-valuemax"]=100;let U=m-100;w&&(U=-U),B.bar1.transform=`translateX(${U}%)`}if(v==="buffer"&&b!==void 0){let U=(b||0)-100;w&&(U=-U),B.bar2.transform=`translateX(${U}%)`}return rt.jsxs(e2,{className:pe(_.root,s),ownerState:C,role:"progressbar",...j,ref:c,...p,children:[v==="buffer"?rt.jsx(n2,{className:_.dashed,ownerState:C}):null,rt.jsx(a2,{className:_.bar1,ownerState:C,style:B.bar1}),v==="determinate"?null:rt.jsx(l2,{className:_.bar2,ownerState:C,style:B.bar2})]})});function u2(l,i,c,o){if(c==="a"&&!o)throw new TypeError("Private accessor was defined without a getter");if(typeof i=="function"?l!==i||!o:!i.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return c==="m"?o:c==="a"?o.call(l):o?o.value:i.get(l)}function r2(l,i,c,o,s){if(typeof i=="function"?l!==i||!s:!i.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i.set(l,c),c}var Tr;const Ze="__TAURI_TO_IPC_KEY__";function c2(l,i=!1){return window.__TAURI_INTERNALS__.transformCallback(l,i)}async function Z(l,i={},c){return window.__TAURI_INTERNALS__.invoke(l,i,c)}class o2{get rid(){return u2(this,Tr,"f")}constructor(i){Tr.set(this,void 0),r2(this,Tr,i)}async close(){return Z("plugin:resources|close",{rid:this.rid})}}Tr=new WeakMap;class ey{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.width=i[0].Logical.width,this.height=i[0].Logical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toPhysical(i){return new Vi(this.width*i,this.height*i)}[Ze](){return{width:this.width,height:this.height}}toJSON(){return this[Ze]()}}class Vi{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.width=i[0].Physical.width,this.height=i[0].Physical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toLogical(i){return new ey(this.width/i,this.height/i)}[Ze](){return{width:this.width,height:this.height}}toJSON(){return this[Ze]()}}class _l{constructor(i){this.size=i}toLogical(i){return this.size instanceof ey?this.size:this.size.toLogical(i)}toPhysical(i){return this.size instanceof Vi?this.size:this.size.toPhysical(i)}[Ze](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[Ze]()}}class ny{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.x=i[0].Logical.x,this.y=i[0].Logical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toPhysical(i){return new ra(this.x*i,this.y*i)}[Ze](){return{x:this.x,y:this.y}}toJSON(){return this[Ze]()}}class ra{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.x=i[0].Physical.x,this.y=i[0].Physical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toLogical(i){return new ny(this.x/i,this.y/i)}[Ze](){return{x:this.x,y:this.y}}toJSON(){return this[Ze]()}}class mr{constructor(i){this.position=i}toLogical(i){return this.position instanceof ny?this.position:this.position.toLogical(i)}toPhysical(i){return this.position instanceof ra?this.position:this.position.toPhysical(i)}[Ze](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[Ze]()}}var ze;(function(l){l.WINDOW_RESIZED="tauri://resize",l.WINDOW_MOVED="tauri://move",l.WINDOW_CLOSE_REQUESTED="tauri://close-requested",l.WINDOW_DESTROYED="tauri://destroyed",l.WINDOW_FOCUS="tauri://focus",l.WINDOW_BLUR="tauri://blur",l.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",l.WINDOW_THEME_CHANGED="tauri://theme-changed",l.WINDOW_CREATED="tauri://window-created",l.WEBVIEW_CREATED="tauri://webview-created",l.DRAG_ENTER="tauri://drag-enter",l.DRAG_OVER="tauri://drag-over",l.DRAG_DROP="tauri://drag-drop",l.DRAG_LEAVE="tauri://drag-leave"})(ze||(ze={}));async function ay(l,i){await Z("plugin:event|unlisten",{event:l,eventId:i})}async function ly(l,i,c){var o;const s=typeof(c==null?void 0:c.target)=="string"?{kind:"AnyLabel",label:c.target}:(o=c==null?void 0:c.target)!==null&&o!==void 0?o:{kind:"Any"};return Z("plugin:event|listen",{event:l,target:s,handler:c2(i)}).then(d=>async()=>ay(l,d))}async function s2(l,i,c){return ly(l,o=>{ay(l,o.id),i(o)},c)}async function f2(l,i){await Z("plugin:event|emit",{event:l,payload:i})}async function d2(l,i,c){await Z("plugin:event|emit_to",{target:typeof l=="string"?{kind:"AnyLabel",label:l}:l,event:i,payload:c})}class Xi extends o2{constructor(i){super(i)}static async new(i,c,o){return Z("plugin:image|new",{rgba:Es(i),width:c,height:o}).then(s=>new Xi(s))}static async fromBytes(i){return Z("plugin:image|from_bytes",{bytes:Es(i)}).then(c=>new Xi(c))}static async fromPath(i){return Z("plugin:image|from_path",{path:i}).then(c=>new Xi(c))}async rgba(){return Z("plugin:image|rgba",{rid:this.rid}).then(i=>new Uint8Array(i))}async size(){return Z("plugin:image|size",{rid:this.rid})}}function Es(l){return l==null?null:typeof l=="string"?l:l instanceof Xi?l.rid:l}var xs;(function(l){l[l.Critical=1]="Critical",l[l.Informational=2]="Informational"})(xs||(xs={}));class h2{constructor(i){this._preventDefault=!1,this.event=i.event,this.id=i.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}var pm;(function(l){l.None="none",l.Normal="normal",l.Indeterminate="indeterminate",l.Paused="paused",l.Error="error"})(pm||(pm={}));function iy(){return new uy(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function cs(){return Z("plugin:window|get_all_windows").then(l=>l.map(i=>new uy(i,{skip:!0})))}const os=["tauri://created","tauri://error"];class uy{constructor(i,c={}){var o;this.label=i,this.listeners=Object.create(null),c!=null&&c.skip||Z("plugin:window|create",{options:{...c,parent:typeof c.parent=="string"?c.parent:(o=c.parent)===null||o===void 0?void 0:o.label,label:i}}).then(async()=>this.emit("tauri://created")).catch(async s=>this.emit("tauri://error",s))}static async getByLabel(i){var c;return(c=(await cs()).find(o=>o.label===i))!==null&&c!==void 0?c:null}static getCurrent(){return iy()}static async getAll(){return cs()}static async getFocusedWindow(){for(const i of await cs())if(await i.isFocused())return i;return null}async listen(i,c){return this._handleTauriEvent(i,c)?()=>{const o=this.listeners[i];o.splice(o.indexOf(c),1)}:ly(i,c,{target:{kind:"Window",label:this.label}})}async once(i,c){return this._handleTauriEvent(i,c)?()=>{const o=this.listeners[i];o.splice(o.indexOf(c),1)}:s2(i,c,{target:{kind:"Window",label:this.label}})}async emit(i,c){if(os.includes(i)){for(const o of this.listeners[i]||[])o({event:i,id:-1,payload:c});return}return f2(i,c)}async emitTo(i,c,o){if(os.includes(c)){for(const s of this.listeners[c]||[])s({event:c,id:-1,payload:o});return}return d2(i,c,o)}_handleTauriEvent(i,c){return os.includes(i)?(i in this.listeners?this.listeners[i].push(c):this.listeners[i]=[c],!0):!1}async scaleFactor(){return Z("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return Z("plugin:window|inner_position",{label:this.label}).then(i=>new ra(i))}async outerPosition(){return Z("plugin:window|outer_position",{label:this.label}).then(i=>new ra(i))}async innerSize(){return Z("plugin:window|inner_size",{label:this.label}).then(i=>new Vi(i))}async outerSize(){return Z("plugin:window|outer_size",{label:this.label}).then(i=>new Vi(i))}async isFullscreen(){return Z("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return Z("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return Z("plugin:window|is_maximized",{label:this.label})}async isFocused(){return Z("plugin:window|is_focused",{label:this.label})}async isDecorated(){return Z("plugin:window|is_decorated",{label:this.label})}async isResizable(){return Z("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return Z("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return Z("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return Z("plugin:window|is_closable",{label:this.label})}async isVisible(){return Z("plugin:window|is_visible",{label:this.label})}async title(){return Z("plugin:window|title",{label:this.label})}async theme(){return Z("plugin:window|theme",{label:this.label})}async center(){return Z("plugin:window|center",{label:this.label})}async requestUserAttention(i){let c=null;return i&&(i===xs.Critical?c={type:"Critical"}:c={type:"Informational"}),Z("plugin:window|request_user_attention",{label:this.label,value:c})}async setResizable(i){return Z("plugin:window|set_resizable",{label:this.label,value:i})}async setEnabled(i){return Z("plugin:window|set_enabled",{label:this.label,value:i})}async isEnabled(){return Z("plugin:window|is_enabled",{label:this.label})}async setMaximizable(i){return Z("plugin:window|set_maximizable",{label:this.label,value:i})}async setMinimizable(i){return Z("plugin:window|set_minimizable",{label:this.label,value:i})}async setClosable(i){return Z("plugin:window|set_closable",{label:this.label,value:i})}async setTitle(i){return Z("plugin:window|set_title",{label:this.label,value:i})}async maximize(){return Z("plugin:window|maximize",{label:this.label})}async unmaximize(){return Z("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return Z("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return Z("plugin:window|minimize",{label:this.label})}async unminimize(){return Z("plugin:window|unminimize",{label:this.label})}async show(){return Z("plugin:window|show",{label:this.label})}async hide(){return Z("plugin:window|hide",{label:this.label})}async close(){return Z("plugin:window|close",{label:this.label})}async destroy(){return Z("plugin:window|destroy",{label:this.label})}async setDecorations(i){return Z("plugin:window|set_decorations",{label:this.label,value:i})}async setShadow(i){return Z("plugin:window|set_shadow",{label:this.label,value:i})}async setEffects(i){return Z("plugin:window|set_effects",{label:this.label,value:i})}async clearEffects(){return Z("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(i){return Z("plugin:window|set_always_on_top",{label:this.label,value:i})}async setAlwaysOnBottom(i){return Z("plugin:window|set_always_on_bottom",{label:this.label,value:i})}async setContentProtected(i){return Z("plugin:window|set_content_protected",{label:this.label,value:i})}async setSize(i){return Z("plugin:window|set_size",{label:this.label,value:i instanceof _l?i:new _l(i)})}async setMinSize(i){return Z("plugin:window|set_min_size",{label:this.label,value:i instanceof _l?i:i?new _l(i):null})}async setMaxSize(i){return Z("plugin:window|set_max_size",{label:this.label,value:i instanceof _l?i:i?new _l(i):null})}async setSizeConstraints(i){function c(o){return o?{Logical:o}:null}return Z("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:c(i==null?void 0:i.minWidth),minHeight:c(i==null?void 0:i.minHeight),maxWidth:c(i==null?void 0:i.maxWidth),maxHeight:c(i==null?void 0:i.maxHeight)}})}async setPosition(i){return Z("plugin:window|set_position",{label:this.label,value:i instanceof mr?i:new mr(i)})}async setFullscreen(i){return Z("plugin:window|set_fullscreen",{label:this.label,value:i})}async setFocus(){return Z("plugin:window|set_focus",{label:this.label})}async setIcon(i){return Z("plugin:window|set_icon",{label:this.label,value:Es(i)})}async setSkipTaskbar(i){return Z("plugin:window|set_skip_taskbar",{label:this.label,value:i})}async setCursorGrab(i){return Z("plugin:window|set_cursor_grab",{label:this.label,value:i})}async setCursorVisible(i){return Z("plugin:window|set_cursor_visible",{label:this.label,value:i})}async setCursorIcon(i){return Z("plugin:window|set_cursor_icon",{label:this.label,value:i})}async setBackgroundColor(i){return Z("plugin:window|set_background_color",{color:i})}async setCursorPosition(i){return Z("plugin:window|set_cursor_position",{label:this.label,value:i instanceof mr?i:new mr(i)})}async setIgnoreCursorEvents(i){return Z("plugin:window|set_ignore_cursor_events",{label:this.label,value:i})}async startDragging(){return Z("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(i){return Z("plugin:window|start_resize_dragging",{label:this.label,value:i})}async setProgressBar(i){return Z("plugin:window|set_progress_bar",{label:this.label,value:i})}async setVisibleOnAllWorkspaces(i){return Z("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:i})}async setTitleBarStyle(i){return Z("plugin:window|set_title_bar_style",{label:this.label,value:i})}async setTheme(i){return Z("plugin:window|set_theme",{label:this.label,value:i})}async onResized(i){return this.listen(ze.WINDOW_RESIZED,c=>{c.payload=new Vi(c.payload),i(c)})}async onMoved(i){return this.listen(ze.WINDOW_MOVED,c=>{c.payload=new ra(c.payload),i(c)})}async onCloseRequested(i){return this.listen(ze.WINDOW_CLOSE_REQUESTED,async c=>{const o=new h2(c);await i(o),o.isPreventDefault()||await this.destroy()})}async onDragDropEvent(i){const c=await this.listen(ze.DRAG_ENTER,m=>{i({...m,payload:{type:"enter",paths:m.payload.paths,position:new ra(m.payload.position)}})}),o=await this.listen(ze.DRAG_OVER,m=>{i({...m,payload:{type:"over",position:new ra(m.payload.position)}})}),s=await this.listen(ze.DRAG_DROP,m=>{i({...m,payload:{type:"drop",paths:m.payload.paths,position:new ra(m.payload.position)}})}),d=await this.listen(ze.DRAG_LEAVE,m=>{i({...m,payload:{type:"leave"}})});return()=>{c(),s(),o(),d()}}async onFocusChanged(i){const c=await this.listen(ze.WINDOW_FOCUS,s=>{i({...s,payload:!0})}),o=await this.listen(ze.WINDOW_BLUR,s=>{i({...s,payload:!1})});return()=>{c(),o()}}async onScaleChanged(i){return this.listen(ze.WINDOW_SCALE_FACTOR_CHANGED,i)}async onThemeChanged(i){return this.listen(ze.WINDOW_THEME_CHANGED,i)}}var gm;(function(l){l.AppearanceBased="appearanceBased",l.Light="light",l.Dark="dark",l.MediumLight="mediumLight",l.UltraDark="ultraDark",l.Titlebar="titlebar",l.Selection="selection",l.Menu="menu",l.Popover="popover",l.Sidebar="sidebar",l.HeaderView="headerView",l.Sheet="sheet",l.WindowBackground="windowBackground",l.HudWindow="hudWindow",l.FullScreenUI="fullScreenUI",l.Tooltip="tooltip",l.ContentBackground="contentBackground",l.UnderWindowBackground="underWindowBackground",l.UnderPageBackground="underPageBackground",l.Mica="mica",l.Blur="blur",l.Acrylic="acrylic",l.Tabbed="tabbed",l.TabbedDark="tabbedDark",l.TabbedLight="tabbedLight"})(gm||(gm={}));var bm;(function(l){l.FollowsWindowActiveState="followsWindowActiveState",l.Active="active",l.Inactive="inactive"})(bm||(bm={}));const m2="/assets/icon-BlfaAlWe.svg",Ar=iy();function y2(){const[l,i]=k.useState(null);return k.useEffect(()=>{const c=Ar.listen("app://update-progress",o=>{i(o.payload)});return()=>{c.then(o=>o())}},[]),l}function p2(){const[l,i]=k.useState(!1);k.useEffect(()=>{Ar.emit("app://update");const o=Ar.listen("app://update-error",()=>{i(!0)});return()=>{o.then(s=>s())}},[]);const c=()=>{i(!1),Ar.emit("app://update")};return rt.jsxs(rt.Fragment,{children:[rt.jsx(WS,{}),rt.jsx(Bn,{sx:{position:"absolute",inset:0},display:"flex",alignItems:"center",px:2,"data-tauri-drag-region":!0,children:rt.jsxs(Bn,{display:"flex",alignItems:"center",flex:"1","data-tauri-drag-region":!0,children:[rt.jsx(Bn,{component:"img",src:m2,alt:"logo",sx:{width:"4rem",height:"4rem"},"data-tauri-drag-region":!0}),rt.jsx(Bn,{flex:1,ml:2,children:l?rt.jsx(b2,{onRetry:c}):rt.jsx(g2,{})})]})})]})}function g2(){const l=y2();return rt.jsxs(rt.Fragment,{children:[rt.jsx($s,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Updating the GUI components..."}),rt.jsx(Bn,{mt:1,children:rt.jsx(v2,{value:l})})]})}function b2({onRetry:l}){return rt.jsxs(rt.Fragment,{children:[rt.jsx($s,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Failed to update the GUI components."}),rt.jsx(Bn,{mt:1,"data-tauri-drag-region":!0,children:rt.jsx($S,{variant:"contained",color:"primary",size:"small",onClick:l,sx:{textTransform:"none"},children:"Retry"})})]})}function v2(l){const{value:i}=l;return rt.jsxs(Bn,{sx:{display:"flex",alignItems:"center"},children:[rt.jsx(Bn,{flex:"1",children:rt.jsx(i2,{variant:i===null?"indeterminate":"determinate",value:i??0,sx:{py:1.2,".MuiLinearProgress-bar":{transition:"none"}}})}),i!==null&&rt.jsx(Bn,{sx:{minWidth:35,textAlign:"right",ml:1},children:rt.jsx($s,{variant:"body2",color:"text.secondary",children:`${Math.round(i)}%`})})]})}const S2=Yg.createRoot(document.getElementById("root"));S2.render(rt.jsx(p2,{})); diff --git a/apps/gpgui-helper/dist/assets/main-D4NFppIR.js b/apps/gpgui-helper/dist/assets/main-D4NFppIR.js new file mode 100644 index 0000000..01a9cc6 --- /dev/null +++ b/apps/gpgui-helper/dist/assets/main-D4NFppIR.js @@ -0,0 +1,167 @@ +function Av(l,i){for(var c=0;co[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const d of s)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&o(m)}).observe(document,{childList:!0,subtree:!0});function c(s){const d={};return s.integrity&&(d.integrity=s.integrity),s.referrerPolicy&&(d.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?d.credentials="include":s.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function o(s){if(s.ep)return;s.ep=!0;const d=c(s);fetch(s.href,d)}})();function xv(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var hs={exports:{}},Gi={};var m0;function zv(){if(m0)return Gi;m0=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function c(o,s,d){var m=null;if(d!==void 0&&(m=""+d),s.key!==void 0&&(m=""+s.key),"key"in s){d={};for(var g in s)g!=="key"&&(d[g]=s[g])}else d=s;return s=d.ref,{$$typeof:l,type:o,key:m,ref:s!==void 0?s:null,props:d}}return Gi.Fragment=i,Gi.jsx=c,Gi.jsxs=c,Gi}var y0;function Ov(){return y0||(y0=1,hs.exports=zv()),hs.exports}var lt=Ov(),ms={exports:{}},Yi={},ys={exports:{}},ps={};var p0;function Mv(){return p0||(p0=1,(function(l){function i(O,$){var et=O.length;O.push($);t:for(;0>>1,wt=O[rt];if(0>>1;rts(W,et))tts(ot,W)?(O[rt]=ot,O[tt]=et,rt=tt):(O[rt]=W,O[j]=et,rt=j);else if(tts(ot,et))O[rt]=ot,O[tt]=et,rt=tt;else break t}}return $}function s(O,$){var et=O.sortIndex-$.sortIndex;return et!==0?et:O.id-$.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;l.unstable_now=function(){return d.now()}}else{var m=Date,g=m.now();l.unstable_now=function(){return m.now()-g}}var v=[],p=[],A=1,E=null,D=3,q=!1,R=!1,_=!1,Y=!1,J=typeof setTimeout=="function"?setTimeout:null,F=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function X(O){for(var $=c(p);$!==null;){if($.callback===null)o(p);else if($.startTime<=O)o(p),$.sortIndex=$.expirationTime,i(v,$);else break;$=c(p)}}function U(O){if(_=!1,X(O),!R)if(c(v)!==null)R=!0,G||(G=!0,y());else{var $=c(p);$!==null&&at(U,$.startTime-O)}}var G=!1,V=-1,dt=5,ht=-1;function gt(){return Y?!0:!(l.unstable_now()-htO&>());){var rt=E.callback;if(typeof rt=="function"){E.callback=null,D=E.priorityLevel;var wt=rt(E.expirationTime<=O);if(O=l.unstable_now(),typeof wt=="function"){E.callback=wt,X(O),$=!0;break e}E===c(v)&&o(v),X(O)}else o(v);E=c(v)}if(E!==null)$=!0;else{var S=c(p);S!==null&&at(U,S.startTime-O),$=!1}}break t}finally{E=null,D=et,q=!1}$=void 0}}finally{$?y():G=!1}}}var y;if(typeof P=="function")y=function(){P(ct)};else if(typeof MessageChannel<"u"){var k=new MessageChannel,Q=k.port2;k.port1.onmessage=ct,y=function(){Q.postMessage(null)}}else y=function(){J(ct,0)};function at(O,$){V=J(function(){O(l.unstable_now())},$)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(O){O.callback=null},l.unstable_forceFrameRate=function(O){0>O||125rt?(O.sortIndex=et,i(p,O),c(v)===null&&O===c(p)&&(_?(F(V),V=-1):_=!0,at(U,et-rt))):(O.sortIndex=wt,i(v,O),R||q||(R=!0,G||(G=!0,y()))),O},l.unstable_shouldYield=gt,l.unstable_wrapCallback=function(O){var $=D;return function(){var et=D;D=$;try{return O.apply(this,arguments)}finally{D=et}}}})(ps)),ps}var g0;function Rv(){return g0||(g0=1,ys.exports=Mv()),ys.exports}var gs={exports:{}},st={};var v0;function wv(){if(v0)return st;v0=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),E=Symbol.for("react.activity"),D=Symbol.iterator;function q(S){return S===null||typeof S!="object"?null:(S=D&&S[D]||S["@@iterator"],typeof S=="function"?S:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,Y={};function J(S,j,W){this.props=S,this.context=j,this.refs=Y,this.updater=W||R}J.prototype.isReactComponent={},J.prototype.setState=function(S,j){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,j,"setState")},J.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function F(){}F.prototype=J.prototype;function P(S,j,W){this.props=S,this.context=j,this.refs=Y,this.updater=W||R}var X=P.prototype=new F;X.constructor=P,_(X,J.prototype),X.isPureReactComponent=!0;var U=Array.isArray;function G(){}var V={H:null,A:null,T:null,S:null},dt=Object.prototype.hasOwnProperty;function ht(S,j,W){var tt=W.ref;return{$$typeof:l,type:S,key:j,ref:tt!==void 0?tt:null,props:W}}function gt(S,j){return ht(S.type,j,S.props)}function ct(S){return typeof S=="object"&&S!==null&&S.$$typeof===l}function y(S){var j={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(W){return j[W]})}var k=/\/+/g;function Q(S,j){return typeof S=="object"&&S!==null&&S.key!=null?y(""+S.key):j.toString(36)}function at(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(G,G):(S.status="pending",S.then(function(j){S.status==="pending"&&(S.status="fulfilled",S.value=j)},function(j){S.status==="pending"&&(S.status="rejected",S.reason=j)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function O(S,j,W,tt,ot){var pt=typeof S;(pt==="undefined"||pt==="boolean")&&(S=null);var Et=!1;if(S===null)Et=!0;else switch(pt){case"bigint":case"string":case"number":Et=!0;break;case"object":switch(S.$$typeof){case l:case i:Et=!0;break;case A:return Et=S._init,O(Et(S._payload),j,W,tt,ot)}}if(Et)return ot=ot(S),Et=tt===""?"."+Q(S,0):tt,U(ot)?(W="",Et!=null&&(W=Et.replace(k,"$&/")+"/"),O(ot,j,W,"",function(pa){return pa})):ot!=null&&(ct(ot)&&(ot=gt(ot,W+(ot.key==null||S&&S.key===ot.key?"":(""+ot.key).replace(k,"$&/")+"/")+Et)),j.push(ot)),1;Et=0;var re=tt===""?".":tt+":";if(U(S))for(var Qt=0;Qt"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),vs.exports=Dv(),vs.exports}var C0;function Nv(){if(C0)return Yi;C0=1;var l=Rv(),i=ks(),c=Bv();function o(t){var e="https://react.dev/errors/"+t;if(1wt||(t.current=rt[wt],rt[wt]=null,wt--)}function W(t,e){wt++,rt[wt]=t.current,t.current=e}var tt=S(null),ot=S(null),pt=S(null),Et=S(null);function re(t,e){switch(W(pt,e),W(ot,t),W(tt,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?jm(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=jm(e),t=Lm(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}j(tt),W(tt,t)}function Qt(){j(tt),j(ot),j(pt)}function pa(t){t.memoizedState!==null&&W(Et,t);var e=tt.current,n=Lm(e,t.type);e!==n&&(W(ot,t),W(tt,n))}function Xa(t){ot.current===t&&(j(tt),j(ot)),Et.current===t&&(j(Et),Hi._currentValue=et)}var Xl,iu;function en(t){if(Xl===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);Xl=e&&e[1]||"",iu=-1)":-1u||b[a]!==z[u]){var B=` +`+b[a].replace(" at new "," at ");return t.displayName&&B.includes("")&&(B=B.replace("",t.displayName)),B}while(1<=a&&0<=u);break}}}finally{$l=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?en(n):""}function $a(t,e){switch(t.tag){case 26:case 27:case 5:return en(t.type);case 16:return en("Lazy");case 13:return t.child!==e&&e!==null?en("Suspense Fallback"):en("Suspense");case 19:return en("SuspenseList");case 0:case 15:return Ql(t.type,!1);case 11:return Ql(t.type.render,!1);case 1:return Ql(t.type,!0);case 31:return en("Activity");default:return""}}function qn(t){try{var e="",n=null;do e+=$a(t,n),n=t,t=t.return;while(t);return e}catch(a){return` +Error generating stack: `+a.message+` +`+a.stack}}var Zl=Object.prototype.hasOwnProperty,Qa=l.unstable_scheduleCallback,kl=l.unstable_cancelCallback,ft=l.unstable_shouldYield,lp=l.unstable_requestPaint,ze=l.unstable_now,ip=l.unstable_getCurrentPriorityLevel,yf=l.unstable_ImmediatePriority,pf=l.unstable_UserBlockingPriority,uu=l.unstable_NormalPriority,up=l.unstable_LowPriority,gf=l.unstable_IdlePriority,rp=l.log,cp=l.unstable_setDisableYieldValue,Kl=null,Oe=null;function Gn(t){if(typeof rp=="function"&&cp(t),Oe&&typeof Oe.setStrictMode=="function")try{Oe.setStrictMode(Kl,t)}catch{}}var Me=Math.clz32?Math.clz32:fp,op=Math.log,sp=Math.LN2;function fp(t){return t>>>=0,t===0?32:31-(op(t)/sp|0)|0}var ru=256,cu=262144,ou=4194304;function ga(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function su(t,e,n){var a=t.pendingLanes;if(a===0)return 0;var u=0,r=t.suspendedLanes,f=t.pingedLanes;t=t.warmLanes;var h=a&134217727;return h!==0?(a=h&~r,a!==0?u=ga(a):(f&=h,f!==0?u=ga(f):n||(n=h&~t,n!==0&&(u=ga(n))))):(h=a&~r,h!==0?u=ga(h):f!==0?u=ga(f):n||(n=a&~t,n!==0&&(u=ga(n)))),u===0?0:e!==0&&e!==u&&(e&r)===0&&(r=u&-u,n=e&-e,r>=n||r===32&&(n&4194048)!==0)?e:u}function Jl(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function dp(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vf(){var t=ou;return ou<<=1,(ou&62914560)===0&&(ou=4194304),t}function tc(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Wl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function hp(t,e,n,a,u,r){var f=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var h=t.entanglements,b=t.expirationTimes,z=t.hiddenUpdates;for(n=f&~n;0"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var bp=/[\n"\\]/g;function Ve(t){return t.replace(bp,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function uc(t,e,n,a,u,r,f,h){t.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.type=f:t.removeAttribute("type"),e!=null?f==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ye(e)):t.value!==""+Ye(e)&&(t.value=""+Ye(e)):f!=="submit"&&f!=="reset"||t.removeAttribute("value"),e!=null?rc(t,f,Ye(e)):n!=null?rc(t,f,Ye(n)):a!=null&&t.removeAttribute("value"),u==null&&r!=null&&(t.defaultChecked=!!r),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?t.name=""+Ye(h):t.removeAttribute("name")}function wf(t,e,n,a,u,r,f,h){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(t.type=r),e!=null||n!=null){if(!(r!=="submit"&&r!=="reset"||e!=null)){ic(t);return}n=n!=null?""+Ye(n):"",e=e!=null?""+Ye(e):n,h||e===t.value||(t.value=e),t.defaultValue=e}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=h?t.checked:!!a,t.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(t.name=f),ic(t)}function rc(t,e,n){e==="number"&&hu(t.ownerDocument)===t||t.defaultValue===""+n||(t.defaultValue=""+n)}function Fa(t,e,n,a){if(t=t.options,e){e={};for(var u=0;u"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dc=!1;if(vn)try{var ti={};Object.defineProperty(ti,"passive",{get:function(){dc=!0}}),window.addEventListener("test",ti,ti),window.removeEventListener("test",ti,ti)}catch{dc=!1}var Vn=null,hc=null,yu=null;function Lf(){if(yu)return yu;var t,e=hc,n=e.length,a,u="value"in Vn?Vn.value:Vn.textContent,r=u.length;for(t=0;t=ai),$f=" ",Qf=!1;function Zf(t,e){switch(t){case"keyup":return kp.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function kf(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var el=!1;function Jp(t,e){switch(t){case"compositionend":return kf(e);case"keypress":return e.which!==32?null:(Qf=!0,$f);case"textInput":return t=e.data,t===$f&&Qf?null:t;default:return null}}function Wp(t,e){if(el)return t==="compositionend"||!vc&&Zf(t,e)?(t=Lf(),yu=hc=Vn=null,el=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:n,offset:e-t};t=a}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=ed(n)}}function ad(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?ad(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function ld(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=hu(t.document);e instanceof t.HTMLIFrameElement;){try{var n=typeof e.contentWindow.location.href=="string"}catch{n=!1}if(n)t=e.contentWindow;else break;e=hu(t.document)}return e}function Tc(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var lg=vn&&"documentMode"in document&&11>=document.documentMode,nl=null,Cc=null,ri=null,Ec=!1;function id(t,e,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Ec||nl==null||nl!==hu(a)||(a=nl,"selectionStart"in a&&Tc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ri&&ui(ri,a)||(ri=a,a=cr(Cc,"onSelect"),0>=f,u-=f,rn=1<<32-Me(e)+u|n<yt?(Tt=nt,nt=null):Tt=nt.sibling;var At=M(C,nt,x[yt],H);if(At===null){nt===null&&(nt=Tt);break}t&&nt&&At.alternate===null&&e(C,nt),T=r(At,T,yt),_t===null?it=At:_t.sibling=At,_t=At,nt=Tt}if(yt===x.length)return n(C,nt),Ct&&Sn(C,yt),it;if(nt===null){for(;ytyt?(Tt=nt,nt=null):Tt=nt.sibling;var sa=M(C,nt,At.value,H);if(sa===null){nt===null&&(nt=Tt);break}t&&nt&&sa.alternate===null&&e(C,nt),T=r(sa,T,yt),_t===null?it=sa:_t.sibling=sa,_t=sa,nt=Tt}if(At.done)return n(C,nt),Ct&&Sn(C,yt),it;if(nt===null){for(;!At.done;yt++,At=x.next())At=L(C,At.value,H),At!==null&&(T=r(At,T,yt),_t===null?it=At:_t.sibling=At,_t=At);return Ct&&Sn(C,yt),it}for(nt=a(nt);!At.done;yt++,At=x.next())At=w(nt,C,yt,At.value,H),At!==null&&(t&&At.alternate!==null&&nt.delete(At.key===null?yt:At.key),T=r(At,T,yt),_t===null?it=At:_t.sibling=At,_t=At);return t&&nt.forEach(function(_v){return e(C,_v)}),Ct&&Sn(C,yt),it}function Lt(C,T,x,H){if(typeof x=="object"&&x!==null&&x.type===_&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case q:t:{for(var it=x.key;T!==null;){if(T.key===it){if(it=x.type,it===_){if(T.tag===7){n(C,T.sibling),H=u(T,x.props.children),H.return=C,C=H;break t}}else if(T.elementType===it||typeof it=="object"&&it!==null&&it.$$typeof===dt&&Oa(it)===T.type){n(C,T.sibling),H=u(T,x.props),hi(H,x),H.return=C,C=H;break t}n(C,T);break}else e(C,T);T=T.sibling}x.type===_?(H=Ea(x.props.children,C.mode,H,x.key),H.return=C,C=H):(H=Au(x.type,x.key,x.props,null,C.mode,H),hi(H,x),H.return=C,C=H)}return f(C);case R:t:{for(it=x.key;T!==null;){if(T.key===it)if(T.tag===4&&T.stateNode.containerInfo===x.containerInfo&&T.stateNode.implementation===x.implementation){n(C,T.sibling),H=u(T,x.children||[]),H.return=C,C=H;break t}else{n(C,T);break}else e(C,T);T=T.sibling}H=Rc(x,C.mode,H),H.return=C,C=H}return f(C);case dt:return x=Oa(x),Lt(C,T,x,H)}if(at(x))return I(C,T,x,H);if(y(x)){if(it=y(x),typeof it!="function")throw Error(o(150));return x=it.call(x),ut(C,T,x,H)}if(typeof x.then=="function")return Lt(C,T,Du(x),H);if(x.$$typeof===P)return Lt(C,T,Ou(C,x),H);Bu(C,x)}return typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint"?(x=""+x,T!==null&&T.tag===6?(n(C,T.sibling),H=u(T,x),H.return=C,C=H):(n(C,T),H=Mc(x,C.mode,H),H.return=C,C=H),f(C)):n(C,T)}return function(C,T,x,H){try{di=0;var it=Lt(C,T,x,H);return hl=null,it}catch(nt){if(nt===dl||nt===Ru)throw nt;var _t=we(29,nt,null,C.mode);return _t.lanes=H,_t.return=C,_t}finally{}}}var Ra=Od(!0),Md=Od(!1),kn=!1;function Vc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xc(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function Kn(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Jn(t,e,n){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(xt&2)!==0){var u=a.pending;return u===null?e.next=e:(e.next=u.next,u.next=e),a.pending=e,e=_u(t),dd(t,null,n),e}return Eu(t,a,e,n),_u(t)}function mi(t,e,n){if(e=e.updateQueue,e!==null&&(e=e.shared,(n&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Sf(t,n)}}function $c(t,e){var n=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var u=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var f={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};r===null?u=r=f:r=r.next=f,n=n.next}while(n!==null);r===null?u=r=e:r=r.next=e}else u=r=e;n={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:r,shared:a.shared,callbacks:a.callbacks},t.updateQueue=n;return}t=n.lastBaseUpdate,t===null?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}var Qc=!1;function yi(){if(Qc){var t=fl;if(t!==null)throw t}}function pi(t,e,n,a){Qc=!1;var u=t.updateQueue;kn=!1;var r=u.firstBaseUpdate,f=u.lastBaseUpdate,h=u.shared.pending;if(h!==null){u.shared.pending=null;var b=h,z=b.next;b.next=null,f===null?r=z:f.next=z,f=b;var B=t.alternate;B!==null&&(B=B.updateQueue,h=B.lastBaseUpdate,h!==f&&(h===null?B.firstBaseUpdate=z:h.next=z,B.lastBaseUpdate=b))}if(r!==null){var L=u.baseState;f=0,B=z=b=null,h=r;do{var M=h.lane&-536870913,w=M!==h.lane;if(w?(St&M)===M:(a&M)===M){M!==0&&M===sl&&(Qc=!0),B!==null&&(B=B.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});t:{var I=t,ut=h;M=e;var Lt=n;switch(ut.tag){case 1:if(I=ut.payload,typeof I=="function"){L=I.call(Lt,L,M);break t}L=I;break t;case 3:I.flags=I.flags&-65537|128;case 0:if(I=ut.payload,M=typeof I=="function"?I.call(Lt,L,M):I,M==null)break t;L=E({},L,M);break t;case 2:kn=!0}}M=h.callback,M!==null&&(t.flags|=64,w&&(t.flags|=8192),w=u.callbacks,w===null?u.callbacks=[M]:w.push(M))}else w={lane:M,tag:h.tag,payload:h.payload,callback:h.callback,next:null},B===null?(z=B=w,b=L):B=B.next=w,f|=M;if(h=h.next,h===null){if(h=u.shared.pending,h===null)break;w=h,h=w.next,w.next=null,u.lastBaseUpdate=w,u.shared.pending=null}}while(!0);B===null&&(b=L),u.baseState=b,u.firstBaseUpdate=z,u.lastBaseUpdate=B,r===null&&(u.shared.lanes=0),ta|=f,t.lanes=f,t.memoizedState=L}}function Rd(t,e){if(typeof t!="function")throw Error(o(191,t));t.call(e)}function wd(t,e){var n=t.callbacks;if(n!==null)for(t.callbacks=null,t=0;tr?r:8;var f=O.T,h={};O.T=h,so(t,!1,e,n);try{var b=u(),z=O.S;if(z!==null&&z(h,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var B=hg(b,a);bi(t,e,B,He(t))}else bi(t,e,a,He(t))}catch(L){bi(t,e,{then:function(){},status:"rejected",reason:L},He())}finally{$.p=r,f!==null&&h.types!==null&&(f.types=h.types),O.T=f}}function bg(){}function co(t,e,n,a){if(t.tag!==5)throw Error(o(476));var u=oh(t).queue;ch(t,u,e,et,n===null?bg:function(){return sh(t),n(a)})}function oh(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:et,baseState:et,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:et},next:null};var n={};return e.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_n,lastRenderedState:n},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function sh(t){var e=oh(t);e.next===null&&(e=t.alternate.memoizedState),bi(t,e.next.queue,{},He())}function oo(){return se(Hi)}function fh(){return Ft().memoizedState}function dh(){return Ft().memoizedState}function Sg(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var n=He();t=Kn(n);var a=Jn(e,t,n);a!==null&&(Ae(a,e,n),mi(a,e,n)),e={cache:Lc()},t.payload=e;return}e=e.return}}function Tg(t,e,n){var a=He();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Xu(t)?mh(e,n):(n=zc(t,e,n,a),n!==null&&(Ae(n,t,a),yh(n,e,a)))}function hh(t,e,n){var a=He();bi(t,e,n,a)}function bi(t,e,n,a){var u={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xu(t))mh(e,u);else{var r=t.alternate;if(t.lanes===0&&(r===null||r.lanes===0)&&(r=e.lastRenderedReducer,r!==null))try{var f=e.lastRenderedState,h=r(f,n);if(u.hasEagerState=!0,u.eagerState=h,Re(h,f))return Eu(t,e,u,0),Gt===null&&Cu(),!1}catch{}finally{}if(n=zc(t,e,u,a),n!==null)return Ae(n,t,a),yh(n,e,a),!0}return!1}function so(t,e,n,a){if(a={lane:2,revertLane:Xo(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Xu(t)){if(e)throw Error(o(479))}else e=zc(t,n,a,2),e!==null&&Ae(e,t,2)}function Xu(t){var e=t.alternate;return t===mt||e!==null&&e===mt}function mh(t,e){yl=Hu=!0;var n=t.pending;n===null?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function yh(t,e,n){if((n&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,n|=a,e.lanes=n,Sf(t,n)}}var Si={readContext:se,use:qu,useCallback:Zt,useContext:Zt,useEffect:Zt,useImperativeHandle:Zt,useLayoutEffect:Zt,useInsertionEffect:Zt,useMemo:Zt,useReducer:Zt,useRef:Zt,useState:Zt,useDebugValue:Zt,useDeferredValue:Zt,useTransition:Zt,useSyncExternalStore:Zt,useId:Zt,useHostTransitionStatus:Zt,useFormState:Zt,useActionState:Zt,useOptimistic:Zt,useMemoCache:Zt,useCacheRefresh:Zt};Si.useEffectEvent=Zt;var ph={readContext:se,use:qu,useCallback:function(t,e){return ve().memoizedState=[t,e===void 0?null:e],t},useContext:se,useEffect:Id,useImperativeHandle:function(t,e,n){n=n!=null?n.concat([t]):null,Yu(4194308,4,ah.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Yu(4194308,4,t,e)},useInsertionEffect:function(t,e){Yu(4,2,t,e)},useMemo:function(t,e){var n=ve();e=e===void 0?null:e;var a=t();if(wa){Gn(!0);try{t()}finally{Gn(!1)}}return n.memoizedState=[a,e],a},useReducer:function(t,e,n){var a=ve();if(n!==void 0){var u=n(e);if(wa){Gn(!0);try{n(e)}finally{Gn(!1)}}}else u=e;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=Tg.bind(null,mt,t),[a.memoizedState,t]},useRef:function(t){var e=ve();return t={current:t},e.memoizedState=t},useState:function(t){t=ao(t);var e=t.queue,n=hh.bind(null,mt,e);return e.dispatch=n,[t.memoizedState,n]},useDebugValue:uo,useDeferredValue:function(t,e){var n=ve();return ro(n,t,e)},useTransition:function(){var t=ao(!1);return t=ch.bind(null,mt,t.queue,!0,!1),ve().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,n){var a=mt,u=ve();if(Ct){if(n===void 0)throw Error(o(407));n=n()}else{if(n=e(),Gt===null)throw Error(o(349));(St&127)!==0||jd(a,e,n)}u.memoizedState=n;var r={value:n,getSnapshot:e};return u.queue=r,Id(qd.bind(null,a,r,t),[t]),a.flags|=2048,gl(9,{destroy:void 0},Ld.bind(null,a,r,n,e),null),n},useId:function(){var t=ve(),e=Gt.identifierPrefix;if(Ct){var n=cn,a=rn;n=(a&~(1<<32-Me(a)-1)).toString(32)+n,e="_"+e+"R_"+n,n=ju++,0<\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof a.is=="string"?f.createElement("select",{is:a.is}):f.createElement("select"),a.multiple?r.multiple=!0:a.size&&(r.size=a.size);break;default:r=typeof a.is=="string"?f.createElement(u,{is:a.is}):f.createElement(u)}}r[ce]=e,r[be]=a;t:for(f=e.child;f!==null;){if(f.tag===5||f.tag===6)r.appendChild(f.stateNode);else if(f.tag!==4&&f.tag!==27&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break t;for(;f.sibling===null;){if(f.return===null||f.return===e)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}e.stateNode=r;t:switch(de(r,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&xn(e)}}return Vt(e),Ao(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,n),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&xn(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(o(166));if(t=pt.current,cl(e)){if(t=e.stateNode,n=e.memoizedProps,a=null,u=oe,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[ce]=e,t=!!(t.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Um(t.nodeValue,n)),t||Qn(e,!0)}else t=or(t).createTextNode(a),t[ce]=e,e.stateNode=t}return Vt(e),null;case 31:if(n=e.memoizedState,t===null||t.memoizedState!==null){if(a=cl(e),n!==null){if(t===null){if(!a)throw Error(o(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[ce]=e}else _a(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),t=!1}else n=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),t=!0;if(!t)return e.flags&256?(Be(e),e):(Be(e),null);if((e.flags&128)!==0)throw Error(o(558))}return Vt(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=cl(e),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=e.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[ce]=e}else _a(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Vt(e),u=!1}else u=Nc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return e.flags&256?(Be(e),e):(Be(e),null)}return Be(e),(e.flags&128)!==0?(e.lanes=n,e):(n=a!==null,t=t!==null&&t.memoizedState!==null,n&&(a=e.child,u=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(u=a.alternate.memoizedState.cachePool.pool),r=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(r=a.memoizedState.cachePool.pool),r!==u&&(a.flags|=2048)),n!==t&&n&&(e.child.flags|=8192),Ku(e,e.updateQueue),Vt(e),null);case 4:return Qt(),t===null&&ko(e.stateNode.containerInfo),Vt(e),null;case 10:return Cn(e.type),Vt(e),null;case 19:if(j(Wt),a=e.memoizedState,a===null)return Vt(e),null;if(u=(e.flags&128)!==0,r=a.rendering,r===null)if(u)Ci(a,!1);else{if(kt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(r=Uu(t),r!==null){for(e.flags|=128,Ci(a,!1),t=r.updateQueue,e.updateQueue=t,Ku(e,t),e.subtreeFlags=0,t=n,n=e.child;n!==null;)hd(n,t),n=n.sibling;return W(Wt,Wt.current&1|2),Ct&&Sn(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&ze()>Iu&&(e.flags|=128,u=!0,Ci(a,!1),e.lanes=4194304)}else{if(!u)if(t=Uu(r),t!==null){if(e.flags|=128,u=!0,t=t.updateQueue,e.updateQueue=t,Ku(e,t),Ci(a,!0),a.tail===null&&a.tailMode==="hidden"&&!r.alternate&&!Ct)return Vt(e),null}else 2*ze()-a.renderingStartTime>Iu&&n!==536870912&&(e.flags|=128,u=!0,Ci(a,!1),e.lanes=4194304);a.isBackwards?(r.sibling=e.child,e.child=r):(t=a.last,t!==null?t.sibling=r:e.child=r,a.last=r)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=ze(),t.sibling=null,n=Wt.current,W(Wt,u?n&1|2:n&1),Ct&&Sn(e,a.treeForkCount),t):(Vt(e),null);case 22:case 23:return Be(e),kc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(n&536870912)!==0&&(e.flags&128)===0&&(Vt(e),e.subtreeFlags&6&&(e.flags|=8192)):Vt(e),n=e.updateQueue,n!==null&&Ku(e,n.retryQueue),n=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==n&&(e.flags|=2048),t!==null&&j(za),null;case 24:return n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Cn(It),Vt(e),null;case 25:return null;case 30:return null}throw Error(o(156,e.tag))}function xg(t,e){switch(Dc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Cn(It),Qt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Xa(e),null;case 31:if(e.memoizedState!==null){if(Be(e),e.alternate===null)throw Error(o(340));_a()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Be(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(o(340));_a()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return j(Wt),null;case 4:return Qt(),null;case 10:return Cn(e.type),null;case 22:case 23:return Be(e),kc(),t!==null&&j(za),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Cn(It),null;case 25:return null;default:return null}}function Gh(t,e){switch(Dc(e),e.tag){case 3:Cn(It),Qt();break;case 26:case 27:case 5:Xa(e);break;case 4:Qt();break;case 31:e.memoizedState!==null&&Be(e);break;case 13:Be(e);break;case 19:j(Wt);break;case 10:Cn(e.type);break;case 22:case 23:Be(e),kc(),t!==null&&j(za);break;case 24:Cn(It)}}function Ei(t,e){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){a=void 0;var r=n.create,f=n.inst;a=r(),f.destroy=a}n=n.next}while(n!==u)}}catch(h){Bt(e,e.return,h)}}function Pn(t,e,n){try{var a=e.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var r=u.next;a=r;do{if((a.tag&t)===t){var f=a.inst,h=f.destroy;if(h!==void 0){f.destroy=void 0,u=e;var b=n,z=h;try{z()}catch(B){Bt(u,b,B)}}}a=a.next}while(a!==r)}}catch(B){Bt(e,e.return,B)}}function Yh(t){var e=t.updateQueue;if(e!==null){var n=t.stateNode;try{wd(e,n)}catch(a){Bt(t,t.return,a)}}}function Vh(t,e,n){n.props=Da(t.type,t.memoizedProps),n.state=t.memoizedState;try{n.componentWillUnmount()}catch(a){Bt(t,e,a)}}function _i(t,e){try{var n=t.ref;if(n!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof n=="function"?t.refCleanup=n(a):n.current=a}}catch(u){Bt(t,e,u)}}function on(t,e){var n=t.ref,a=t.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(u){Bt(t,e,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(u){Bt(t,e,u)}else n.current=null}function Xh(t){var e=t.type,n=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break t;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(u){Bt(t,t.return,u)}}function xo(t,e,n){try{var a=t.stateNode;Kg(a,t.type,n,e),a[be]=e}catch(u){Bt(t,t.return,u)}}function $h(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ia(t.type)||t.tag===4}function zo(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||$h(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ia(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Oo(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(t,e):(e=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.appendChild(t),n=n._reactRootContainer,n!=null||e.onclick!==null||(e.onclick=gn));else if(a!==4&&(a===27&&ia(t.type)&&(n=t.stateNode,e=null),t=t.child,t!==null))for(Oo(t,e,n),t=t.sibling;t!==null;)Oo(t,e,n),t=t.sibling}function Ju(t,e,n){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(a!==4&&(a===27&&ia(t.type)&&(n=t.stateNode),t=t.child,t!==null))for(Ju(t,e,n),t=t.sibling;t!==null;)Ju(t,e,n),t=t.sibling}function Qh(t){var e=t.stateNode,n=t.memoizedProps;try{for(var a=t.type,u=e.attributes;u.length;)e.removeAttributeNode(u[0]);de(e,a,n),e[ce]=t,e[be]=n}catch(r){Bt(t,t.return,r)}}var zn=!1,ne=!1,Mo=!1,Zh=typeof WeakSet=="function"?WeakSet:Set,ue=null;function zg(t,e){if(t=t.containerInfo,Wo=pr,t=ld(t),Tc(t)){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{n=(n=t.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var u=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break t}var f=0,h=-1,b=-1,z=0,B=0,L=t,M=null;e:for(;;){for(var w;L!==n||u!==0&&L.nodeType!==3||(h=f+u),L!==r||a!==0&&L.nodeType!==3||(b=f+a),L.nodeType===3&&(f+=L.nodeValue.length),(w=L.firstChild)!==null;)M=L,L=w;for(;;){if(L===t)break e;if(M===n&&++z===u&&(h=f),M===r&&++B===a&&(b=f),(w=L.nextSibling)!==null)break;L=M,M=L.parentNode}L=w}n=h===-1||b===-1?null:{start:h,end:b}}else n=null}n=n||{start:0,end:0}}else n=null;for(Fo={focusedElem:t,selectionRange:n},pr=!1,ue=e;ue!==null;)if(e=ue,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,ue=t;else for(;ue!==null;){switch(e=ue,r=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(n=0;n title"))),de(r,a,n),r[ce]=t,ie(r),a=r;break t;case"link":var f=Pm("link","href",u).get(a+(n.href||""));if(f){for(var h=0;hLt&&(f=Lt,Lt=ut,ut=f);var C=nd(h,ut),T=nd(h,Lt);if(C&&T&&(w.rangeCount!==1||w.anchorNode!==C.node||w.anchorOffset!==C.offset||w.focusNode!==T.node||w.focusOffset!==T.offset)){var x=L.createRange();x.setStart(C.node,C.offset),w.removeAllRanges(),ut>Lt?(w.addRange(x),w.extend(T.node,T.offset)):(x.setEnd(T.node,T.offset),w.addRange(x))}}}}for(L=[],w=h;w=w.parentNode;)w.nodeType===1&&L.push({element:w,left:w.scrollLeft,top:w.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;hn?32:n,O.T=null,n=Ho,Ho=null;var r=na,f=Dn;if(le=0,Cl=na=null,Dn=0,(xt&6)!==0)throw Error(o(331));var h=xt;if(xt|=4,am(r.current),tm(r,r.current,f,n),xt=h,Ri(0,!1),Oe&&typeof Oe.onPostCommitFiberRoot=="function")try{Oe.onPostCommitFiberRoot(Kl,r)}catch{}return!0}finally{$.p=u,O.T=a,Tm(t,e)}}function Em(t,e,n){e=$e(n,e),e=yo(t.stateNode,e,2),t=Jn(t,e,2),t!==null&&(Wl(t,2),sn(t))}function Bt(t,e,n){if(t.tag===3)Em(t,t,n);else for(;e!==null;){if(e.tag===3){Em(e,t,n);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ea===null||!ea.has(a))){t=$e(n,t),n=_h(2),a=Jn(e,n,2),a!==null&&(Ah(n,a,e,t),Wl(a,2),sn(a));break}}e=e.return}}function Go(t,e,n){var a=t.pingCache;if(a===null){a=t.pingCache=new Rg;var u=new Set;a.set(e,u)}else u=a.get(e),u===void 0&&(u=new Set,a.set(e,u));u.has(n)||(Do=!0,u.add(n),t=Ug.bind(null,t,e,n),e.then(t,t))}function Ug(t,e,n){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&n,t.warmLanes&=~n,Gt===t&&(St&n)===n&&(kt===4||kt===3&&(St&62914560)===St&&300>ze()-Pu?(xt&2)===0&&El(t,0):Bo|=n,Tl===St&&(Tl=0)),sn(t)}function _m(t,e){e===0&&(e=vf()),t=Ca(t,e),t!==null&&(Wl(t,e),sn(t))}function Hg(t){var e=t.memoizedState,n=0;e!==null&&(n=e.retryLane),_m(t,n)}function jg(t,e){var n=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(n=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(e),_m(t,n)}function Lg(t,e){return Qa(t,e)}var ir=null,Al=null,Yo=!1,ur=!1,Vo=!1,la=0;function sn(t){t!==Al&&t.next===null&&(Al===null?ir=Al=t:Al=Al.next=t),ur=!0,Yo||(Yo=!0,Gg())}function Ri(t,e){if(!Vo&&ur){Vo=!0;do for(var n=!1,a=ir;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var r=0;else{var f=a.suspendedLanes,h=a.pingedLanes;r=(1<<31-Me(42|t)+1)-1,r&=u&~(f&~h),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(n=!0,Om(a,r))}else r=St,r=su(a,a===Gt?r:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(r&3)===0||Jl(a,r)||(n=!0,Om(a,r));a=a.next}while(n);Vo=!1}}function qg(){Am()}function Am(){ur=Yo=!1;var t=0;la!==0&&Wg()&&(t=la);for(var e=ze(),n=null,a=ir;a!==null;){var u=a.next,r=xm(a,e);r===0?(a.next=null,n===null?ir=u:n.next=u,u===null&&(Al=n)):(n=a,(t!==0||(r&3)!==0)&&(ur=!0)),a=u}le!==0&&le!==5||Ri(t),la!==0&&(la=0)}function xm(t,e){for(var n=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,r=t.pendingLanes&-62914561;0h)break;var B=b.transferSize,L=b.initiatorType;B&&Hm(L)&&(b=b.responseEnd,f+=B*(b"u"?null:document;function Km(t,e,n){var a=xl;if(a&&typeof e=="string"&&e){var u=Ve(e);u='link[rel="'+t+'"][href="'+u+'"]',typeof n=="string"&&(u+='[crossorigin="'+n+'"]'),km.has(u)||(km.add(u),t={rel:t,crossOrigin:n,href:e},a.querySelector(u)===null&&(e=a.createElement("link"),de(e,"link",t),ie(e),a.head.appendChild(e)))}}function iv(t){Bn.D(t),Km("dns-prefetch",t,null)}function uv(t,e){Bn.C(t,e),Km("preconnect",t,e)}function rv(t,e,n){Bn.L(t,e,n);var a=xl;if(a&&t&&e){var u='link[rel="preload"][as="'+Ve(e)+'"]';e==="image"&&n&&n.imageSrcSet?(u+='[imagesrcset="'+Ve(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(u+='[imagesizes="'+Ve(n.imageSizes)+'"]')):u+='[href="'+Ve(t)+'"]';var r=u;switch(e){case"style":r=zl(t);break;case"script":r=Ol(t)}We.has(r)||(t=E({rel:"preload",href:e==="image"&&n&&n.imageSrcSet?void 0:t,as:e},n),We.set(r,t),a.querySelector(u)!==null||e==="style"&&a.querySelector(Ni(r))||e==="script"&&a.querySelector(Ui(r))||(e=a.createElement("link"),de(e,"link",t),ie(e),a.head.appendChild(e)))}}function cv(t,e){Bn.m(t,e);var n=xl;if(n&&t){var a=e&&typeof e.as=="string"?e.as:"script",u='link[rel="modulepreload"][as="'+Ve(a)+'"][href="'+Ve(t)+'"]',r=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ol(t)}if(!We.has(r)&&(t=E({rel:"modulepreload",href:t},e),We.set(r,t),n.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Ui(r)))return}a=n.createElement("link"),de(a,"link",t),ie(a),n.head.appendChild(a)}}}function ov(t,e,n){Bn.S(t,e,n);var a=xl;if(a&&t){var u=Ja(a).hoistableStyles,r=zl(t);e=e||"default";var f=u.get(r);if(!f){var h={loading:0,preload:null};if(f=a.querySelector(Ni(r)))h.loading=5;else{t=E({rel:"stylesheet",href:t,"data-precedence":e},n),(n=We.get(r))&&ls(t,n);var b=f=a.createElement("link");ie(b),de(b,"link",t),b._p=new Promise(function(z,B){b.onload=z,b.onerror=B}),b.addEventListener("load",function(){h.loading|=1}),b.addEventListener("error",function(){h.loading|=2}),h.loading|=4,fr(f,e,a)}f={type:"stylesheet",instance:f,count:1,state:h},u.set(r,f)}}}function sv(t,e){Bn.X(t,e);var n=xl;if(n&&t){var a=Ja(n).hoistableScripts,u=Ol(t),r=a.get(u);r||(r=n.querySelector(Ui(u)),r||(t=E({src:t,async:!0},e),(e=We.get(u))&&is(t,e),r=n.createElement("script"),ie(r),de(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function fv(t,e){Bn.M(t,e);var n=xl;if(n&&t){var a=Ja(n).hoistableScripts,u=Ol(t),r=a.get(u);r||(r=n.querySelector(Ui(u)),r||(t=E({src:t,async:!0,type:"module"},e),(e=We.get(u))&&is(t,e),r=n.createElement("script"),ie(r),de(r,"link",t),n.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},a.set(u,r))}}function Jm(t,e,n,a){var u=(u=pt.current)?sr(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(e=zl(n.href),n=Ja(u).hoistableStyles,a=n.get(e),a||(a={type:"style",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){t=zl(n.href);var r=Ja(u).hoistableStyles,f=r.get(t);if(f||(u=u.ownerDocument||u,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(t,f),(r=u.querySelector(Ni(t)))&&!r._p&&(f.instance=r,f.state.loading=5),We.has(t)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},We.set(t,n),r||dv(u,t,n,f.state))),e&&a===null)throw Error(o(528,""));return f}if(e&&a!==null)throw Error(o(529,""));return null;case"script":return e=n.async,n=n.src,typeof n=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ol(n),n=Ja(u).hoistableScripts,a=n.get(e),a||(a={type:"script",instance:null,count:0,state:null},n.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function zl(t){return'href="'+Ve(t)+'"'}function Ni(t){return'link[rel="stylesheet"]['+t+"]"}function Wm(t){return E({},t,{"data-precedence":t.precedence,precedence:null})}function dv(t,e,n,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),de(e,"link",n),ie(e),t.head.appendChild(e))}function Ol(t){return'[src="'+Ve(t)+'"]'}function Ui(t){return"script[async]"+t}function Fm(t,e,n){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Ve(n.href)+'"]');if(a)return e.instance=a,ie(a),a;var u=E({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),ie(a),de(a,"style",u),fr(a,n.precedence,t),e.instance=a;case"stylesheet":u=zl(n.href);var r=t.querySelector(Ni(u));if(r)return e.state.loading|=4,e.instance=r,ie(r),r;a=Wm(n),(u=We.get(u))&&ls(a,u),r=(t.ownerDocument||t).createElement("link"),ie(r);var f=r;return f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),de(r,"link",a),e.state.loading|=4,fr(r,n.precedence,t),e.instance=r;case"script":return r=Ol(n.src),(u=t.querySelector(Ui(r)))?(e.instance=u,ie(u),u):(a=n,(u=We.get(r))&&(a=E({},n),is(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),ie(u),de(u,"link",a),t.head.appendChild(u),e.instance=u);case"void":return null;default:throw Error(o(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,fr(a,n.precedence,t));return e.instance}function fr(t,e,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,r=u,f=0;f title"):null)}function hv(t,e,n){if(n===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function t0(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function mv(t,e,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var u=zl(a.href),r=e.querySelector(Ni(u));if(r){e=r._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=hr.bind(t),e.then(t,t)),n.state.loading|=4,n.instance=r,ie(r);return}r=e.ownerDocument||e,a=Wm(a),(u=We.get(u))&&ls(a,u),r=r.createElement("link"),ie(r);var f=r;f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),de(r,"link",a),n.instance=r}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(n,e),(e=n.state.preload)&&(n.state.loading&3)===0&&(t.count++,n=hr.bind(t),e.addEventListener("load",n),e.addEventListener("error",n))}}var us=0;function yv(t,e){return t.stylesheets&&t.count===0&&yr(t,t.stylesheets),0us?50:800)+e);return t.unsuspend=n,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function hr(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)yr(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var mr=null;function yr(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,mr=new Map,e.forEach(pv,t),mr=null,hr.call(t))}function pv(t,e){if(!(e.state.loading&4)){var n=mr.get(t);if(n)var a=n.get(null);else{n=new Map,mr.set(t,n);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),ms.exports=Nv(),ms.exports}var Hv=Uv();const Ji={black:"#000",white:"#fff"},Rl={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},wl={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Dl={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Bl={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Nl={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Vi={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},jv={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function qa(l,...i){const c=new URL(`https://mui.com/production-error/?code=${l}`);return i.forEach(o=>c.searchParams.append("args[]",o)),`Minified MUI error #${l}; visit ${c} for the full message.`}const Ks="$$material";function Nr(){return Nr=Object.assign?Object.assign.bind():function(l){for(var i=1;i0?he(Gl,--xe):0,ql--,ae===10&&(ql=1,Yr--),ae}function qe(){return ae=xe2||Fi(ae)>3?"":" "}function Fv(l,i){for(;--i&&qe()&&!(ae<48||ae>102||ae>57&&ae<65||ae>70&&ae<97););return Ii(l,xr()+(i<6&&yn()==32&&qe()==32))}function ws(l){for(;qe();)switch(ae){case l:return xe;case 34:case 39:l!==34&&l!==39&&ws(ae);break;case 40:l===41&&ws(l);break;case 92:qe();break}return xe}function Pv(l,i){for(;qe()&&l+ae!==57;)if(l+ae===84&&yn()===47)break;return"/*"+Ii(i,xe-1)+"*"+Gr(l===47?l:qe())}function Iv(l){for(;!Fi(yn());)qe();return Ii(l,xe)}function tb(l){return vy(Or("",null,null,null,[""],l=gy(l),0,[0],l))}function Or(l,i,c,o,s,d,m,g,v){for(var p=0,A=0,E=m,D=0,q=0,R=0,_=1,Y=1,J=1,F=0,P="",X=s,U=d,G=o,V=P;Y;)switch(R=F,F=qe()){case 40:if(R!=108&&he(V,E-1)==58){Rs(V+=Ot(zr(F),"&","&\f"),"&\f")!=-1&&(J=-1);break}case 34:case 39:case 91:V+=zr(F);break;case 9:case 10:case 13:case 32:V+=Wv(R);break;case 92:V+=Fv(xr()-1,7);continue;case 47:switch(yn()){case 42:case 47:Er(eb(Pv(qe(),xr()),i,c),v);break;default:V+="/"}break;case 123*_:g[p++]=dn(V)*J;case 125*_:case 59:case 0:switch(F){case 0:case 125:Y=0;case 59+A:J==-1&&(V=Ot(V,/\f/g,"")),q>0&&dn(V)-E&&Er(q>32?A0(V+";",o,c,E-1):A0(Ot(V," ","")+";",o,c,E-2),v);break;case 59:V+=";";default:if(Er(G=_0(V,i,c,p,A,s,g,P,X=[],U=[],E),d),F===123)if(A===0)Or(V,i,G,G,X,d,E,g,U);else switch(D===99&&he(V,3)===110?100:D){case 100:case 108:case 109:case 115:Or(l,G,G,o&&Er(_0(l,G,G,0,0,s,g,P,s,X=[],E),U),s,U,E,g,o?X:U);break;default:Or(V,G,G,G,[""],U,0,g,U)}}p=A=q=0,_=J=1,P=V="",E=m;break;case 58:E=1+dn(V),q=R;default:if(_<1){if(F==123)--_;else if(F==125&&_++==0&&Jv()==125)continue}switch(V+=Gr(F),F*_){case 38:J=A>0?1:(V+="\f",-1);break;case 44:g[p++]=(dn(V)-1)*J,J=1;break;case 64:yn()===45&&(V+=zr(qe())),D=yn(),A=E=dn(P=V+=Iv(xr())),F++;break;case 45:R===45&&dn(V)==2&&(_=0)}}return d}function _0(l,i,c,o,s,d,m,g,v,p,A){for(var E=s-1,D=s===0?d:[""],q=Fs(D),R=0,_=0,Y=0;R0?D[J]+" "+F:Ot(F,/&\f/g,D[J])))&&(v[Y++]=P);return Vr(l,i,c,s===0?Js:g,v,p,A)}function eb(l,i,c){return Vr(l,i,c,hy,Gr(Kv()),Wi(l,2,-2),0)}function A0(l,i,c,o){return Vr(l,i,c,Ws,Wi(l,0,o),Wi(l,o+1,-1),o)}function jl(l,i){for(var c="",o=Fs(l),s=0;s6)switch(he(l,i+1)){case 109:if(he(l,i+4)!==45)break;case 102:return Ot(l,/(.+:)(.+)-([^]+)/,"$1"+zt+"$2-$3$1"+Ur+(he(l,i+3)==108?"$3":"$2-$3"))+l;case 115:return~Rs(l,"stretch")?Sy(Ot(l,"stretch","fill-available"),i)+l:l}break;case 4949:if(he(l,i+1)!==115)break;case 6444:switch(he(l,dn(l)-3-(~Rs(l,"!important")&&10))){case 107:return Ot(l,":",":"+zt)+l;case 101:return Ot(l,/(.+:)([^;!]+)(;|!.+)?/,"$1"+zt+(he(l,14)===45?"inline-":"")+"box$3$1"+zt+"$2$3$1"+ge+"$2box$3")+l}break;case 5936:switch(he(l,i+11)){case 114:return zt+l+ge+Ot(l,/[svh]\w+-[tblr]{2}/,"tb")+l;case 108:return zt+l+ge+Ot(l,/[svh]\w+-[tblr]{2}/,"tb-rl")+l;case 45:return zt+l+ge+Ot(l,/[svh]\w+-[tblr]{2}/,"lr")+l}return zt+l+ge+l+l}return l}var sb=function(i,c,o,s){if(i.length>-1&&!i.return)switch(i.type){case Ws:i.return=Sy(i.value,i.length);break;case my:return jl([Xi(i,{value:Ot(i.value,"@","@"+zt)})],s);case Js:if(i.length)return kv(i.props,function(d){switch(Zv(d,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return jl([Xi(i,{props:[Ot(d,/:(read-\w+)/,":"+Ur+"$1")]})],s);case"::placeholder":return jl([Xi(i,{props:[Ot(d,/:(plac\w+)/,":"+zt+"input-$1")]}),Xi(i,{props:[Ot(d,/:(plac\w+)/,":"+Ur+"$1")]}),Xi(i,{props:[Ot(d,/:(plac\w+)/,ge+"input-$1")]})],s)}return""})}},fb=[sb],db=function(i){var c=i.key;if(c==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(_){var Y=_.getAttribute("data-emotion");Y.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var s=i.stylisPlugins||fb,d={},m,g=[];m=i.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+c+' "]'),function(_){for(var Y=_.getAttribute("data-emotion").split(" "),J=1;J=4;++o,s-=4)c=l.charCodeAt(o)&255|(l.charCodeAt(++o)&255)<<8|(l.charCodeAt(++o)&255)<<16|(l.charCodeAt(++o)&255)<<24,c=(c&65535)*1540483477+((c>>>16)*59797<<16),c^=c>>>24,i=(c&65535)*1540483477+((c>>>16)*59797<<16)^(i&65535)*1540483477+((i>>>16)*59797<<16);switch(s){case 3:i^=(l.charCodeAt(o+2)&255)<<16;case 2:i^=(l.charCodeAt(o+1)&255)<<8;case 1:i^=l.charCodeAt(o)&255,i=(i&65535)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,i=(i&65535)*1540483477+((i>>>16)*59797<<16),((i^i>>>15)>>>0).toString(36)}var vb={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},bb=/[A-Z]|^ms/g,Sb=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Cy=function(i){return i.charCodeAt(1)===45},R0=function(i){return i!=null&&typeof i!="boolean"},Ts=by(function(l){return Cy(l)?l:l.replace(bb,"-$&").toLowerCase()}),w0=function(i,c){switch(i){case"animation":case"animationName":if(typeof c=="string")return c.replace(Sb,function(o,s,d){return hn={name:s,styles:d,next:hn},s})}return vb[i]!==1&&!Cy(i)&&typeof c=="number"&&c!==0?c+"px":c};function Pi(l,i,c){if(c==null)return"";var o=c;if(o.__emotion_styles!==void 0)return o;switch(typeof c){case"boolean":return"";case"object":{var s=c;if(s.anim===1)return hn={name:s.name,styles:s.styles,next:hn},s.name;var d=c;if(d.styles!==void 0){var m=d.next;if(m!==void 0)for(;m!==void 0;)hn={name:m.name,styles:m.styles,next:hn},m=m.next;var g=d.styles+";";return g}return Tb(l,i,c)}case"function":{if(l!==void 0){var v=hn,p=c(l);return hn=v,Pi(l,i,p)}break}}var A=c;if(i==null)return A;var E=i[A];return E!==void 0?E:A}function Tb(l,i,c){var o="";if(Array.isArray(c))for(var s=0;s96?Rb:wb},H0=function(i,c,o){var s;if(c){var d=c.shouldForwardProp;s=i.__emotion_forwardProp&&d?function(m){return i.__emotion_forwardProp(m)&&d(m)}:d}return typeof s!="function"&&o&&(s=i.__emotion_forwardProp),s},Db=function(i){var c=i.cache,o=i.serialized,s=i.isStringTag;return Ps(c,o,s),_y(function(){return Is(c,o,s)}),null},Bb=function l(i,c){var o=i.__emotion_real===i,s=o&&i.__emotion_base||i,d,m;c!==void 0&&(d=c.label,m=c.target);var g=H0(i,c,o),v=g||U0(s),p=!v("as");return function(){var A=arguments,E=o&&i.__emotion_styles!==void 0?i.__emotion_styles.slice(0):[];if(d!==void 0&&E.push("label:"+d+";"),A[0]==null||A[0].raw===void 0)E.push.apply(E,A);else{var D=A[0];E.push(D[0]);for(var q=A.length,R=1;Ri(Ub(s)?c:s):i;return lt.jsx(zb,{styles:o})}function xy(l,i){return Bs(l,i)}function jb(l,i){Array.isArray(l.__emotion_styles)&&(l.__emotion_styles=i(l.__emotion_styles))}const j0=[];function da(l){return j0[0]=l,tu(j0)}var Cs={exports:{}},qt={};var L0;function Lb(){if(L0)return qt;L0=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),D=Symbol.for("react.view_transition"),q=Symbol.for("react.client.reference");function R(_){if(typeof _=="object"&&_!==null){var Y=_.$$typeof;switch(Y){case l:switch(_=_.type,_){case c:case s:case o:case v:case p:case D:return _;default:switch(_=_&&_.$$typeof,_){case m:case g:case E:case A:return _;case d:return _;default:return Y}}case i:return Y}}}return qt.ContextConsumer=d,qt.ContextProvider=m,qt.Element=l,qt.ForwardRef=g,qt.Fragment=c,qt.Lazy=E,qt.Memo=A,qt.Portal=i,qt.Profiler=s,qt.StrictMode=o,qt.Suspense=v,qt.SuspenseList=p,qt.isContextConsumer=function(_){return R(_)===d},qt.isContextProvider=function(_){return R(_)===m},qt.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===l},qt.isForwardRef=function(_){return R(_)===g},qt.isFragment=function(_){return R(_)===c},qt.isLazy=function(_){return R(_)===E},qt.isMemo=function(_){return R(_)===A},qt.isPortal=function(_){return R(_)===i},qt.isProfiler=function(_){return R(_)===s},qt.isStrictMode=function(_){return R(_)===o},qt.isSuspense=function(_){return R(_)===v},qt.isSuspenseList=function(_){return R(_)===p},qt.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===c||_===s||_===o||_===v||_===p||typeof _=="object"&&_!==null&&(_.$$typeof===E||_.$$typeof===A||_.$$typeof===m||_.$$typeof===d||_.$$typeof===g||_.$$typeof===q||_.getModuleId!==void 0)},qt.typeOf=R,qt}var q0;function qb(){return q0||(q0=1,Cs.exports=Lb()),Cs.exports}var zy=qb();function mn(l){if(typeof l!="object"||l===null)return!1;const i=Object.getPrototypeOf(l);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Symbol.toStringTag in l)&&!(Symbol.iterator in l)}function Oy(l){if(Z.isValidElement(l)||zy.isValidElementType(l)||!mn(l))return l;const i={};return Object.keys(l).forEach(c=>{i[c]=Oy(l[c])}),i}function Ge(l,i,c={clone:!0}){const o=c.clone?{...l}:l;return mn(l)&&mn(i)&&Object.keys(i).forEach(s=>{Z.isValidElement(i[s])||zy.isValidElementType(i[s])?o[s]=i[s]:mn(i[s])&&Object.prototype.hasOwnProperty.call(l,s)&&mn(l[s])?o[s]=Ge(l[s],i[s],c):c.clone?o[s]=mn(i[s])?Oy(i[s]):i[s]:o[s]=i[s]}),o}const Gb=l=>{const i=Object.keys(l).map(c=>({key:c,val:l[c]}))||[];return i.sort((c,o)=>c.val-o.val),i.reduce((c,o)=>({...c,[o.key]:o.val}),{})};function Yb(l){const{values:i={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:c="px",step:o=5,...s}=l,d=Gb(i),m=Object.keys(d);function g(D){return`@media (min-width:${typeof i[D]=="number"?i[D]:D}${c})`}function v(D){return`@media (max-width:${(typeof i[D]=="number"?i[D]:D)-o/100}${c})`}function p(D,q){const R=m.indexOf(q);return`@media (min-width:${typeof i[D]=="number"?i[D]:D}${c}) and (max-width:${(R!==-1&&typeof i[m[R]]=="number"?i[m[R]]:q)-o/100}${c})`}function A(D){return m.indexOf(D)+1o.startsWith("@container")).sort((o,s)=>{const d=/min-width:\s*([0-9.]+)/;return+(o.match(d)?.[1]||0)-+(s.match(d)?.[1]||0)});return c.length?c.reduce((o,s)=>{const d=i[s];return delete o[s],o[s]=d,o},{...i}):i}function Vb(l,i){return i==="@"||i.startsWith("@")&&(l.some(c=>i.startsWith(`@${c}`))||!!i.match(/^@\d/))}function Xb(l,i){const c=i.match(/^@([^/]+)?\/?(.+)?$/);if(!c)return null;const[,o,s]=c,d=Number.isNaN(+o)?o||0:+o;return l.containerQueries(s).up(d)}function $b(l){const i=(d,m)=>d.replace("@media",m?`@container ${m}`:"@container");function c(d,m){d.up=(...g)=>i(l.breakpoints.up(...g),m),d.down=(...g)=>i(l.breakpoints.down(...g),m),d.between=(...g)=>i(l.breakpoints.between(...g),m),d.only=(...g)=>i(l.breakpoints.only(...g),m),d.not=(...g)=>{const v=i(l.breakpoints.not(...g),m);return v.includes("not all and")?v.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):v}}const o={},s=d=>(c(o,d),o);return c(s),{...l,containerQueries:s}}const Qb={borderRadius:4};function Zi(l,i){return i?Ge(l,i,{clone:!1}):l}const $r={xs:0,sm:600,md:900,lg:1200,xl:1536},Y0={keys:["xs","sm","md","lg","xl"],up:l=>`@media (min-width:${$r[l]}px)`},Zb={containerQueries:l=>({up:i=>{let c=typeof i=="number"?i:$r[i]||i;return typeof c=="number"&&(c=`${c}px`),l?`@container ${l} (min-width:${c})`:`@container (min-width:${c})`}})};function jn(l,i,c){const o=l.theme||{};if(Array.isArray(i)){const d=o.breakpoints||Y0;return i.reduce((m,g,v)=>(m[d.up(d.keys[v])]=c(i[v]),m),{})}if(typeof i=="object"){const d=o.breakpoints||Y0;return Object.keys(i).reduce((m,g)=>{if(Vb(d.keys,g)){const v=Xb(o.containerQueries?o:Zb,g);v&&(m[v]=c(i[g],g))}else if(Object.keys(d.values||$r).includes(g)){const v=d.up(g);m[v]=c(i[g],g)}else{const v=g;m[v]=i[v]}return m},{})}return c(i)}function kb(l={}){return l.keys?.reduce((c,o)=>{const s=l.up(o);return c[s]={},c},{})||{}}function V0(l,i){return l.reduce((c,o)=>{const s=c[o];return(!s||Object.keys(s).length===0)&&delete c[o],c},i)}function Rt(l){if(typeof l!="string")throw new Error(qa(7));return l.charAt(0).toUpperCase()+l.slice(1)}function Qr(l,i,c=!0){if(!i||typeof i!="string")return null;if(l&&l.vars&&c){const o=`vars.${i}`.split(".").reduce((s,d)=>s&&s[d]?s[d]:null,l);if(o!=null)return o}return i.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,l)}function Hr(l,i,c,o=c){let s;return typeof l=="function"?s=l(c):Array.isArray(l)?s=l[c]||o:s=Qr(l,c)||o,i&&(s=i(s,o,l)),s}function Pt(l){const{prop:i,cssProperty:c=l.prop,themeKey:o,transform:s}=l,d=m=>{if(m[i]==null)return null;const g=m[i],v=m.theme,p=Qr(v,o)||{};return jn(m,g,E=>{let D=Hr(p,s,E);return E===D&&typeof E=="string"&&(D=Hr(p,s,`${i}${E==="default"?"":Rt(E)}`,E)),c===!1?D:{[c]:D}})};return d.propTypes={},d.filterProps=[i],d}function Kb(l){const i={};return c=>(i[c]===void 0&&(i[c]=l(c)),i[c])}const Jb={m:"margin",p:"padding"},Wb={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},X0={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Fb=Kb(l=>{if(l.length>2)if(X0[l])l=X0[l];else return[l];const[i,c]=l.split(""),o=Jb[i],s=Wb[c]||"";return Array.isArray(s)?s.map(d=>o+d):[o+s]}),nf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],af=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...nf,...af];function eu(l,i,c,o){const s=Qr(l,i,!0)??c;return typeof s=="number"||typeof s=="string"?d=>typeof d=="string"?d:typeof s=="string"?s.startsWith("var(")&&d===0?0:s.startsWith("var(")&&d===1?s:`calc(${d} * ${s})`:s*d:Array.isArray(s)?d=>{if(typeof d=="string")return d;const m=Math.abs(d),g=s[m];return d>=0?g:typeof g=="number"?-g:typeof g=="string"&&g.startsWith("var(")?`calc(-1 * ${g})`:`-${g}`}:typeof s=="function"?s:()=>{}}function lf(l){return eu(l,"spacing",8)}function nu(l,i){return typeof i=="string"||i==null?i:l(i)}function Pb(l,i){return c=>l.reduce((o,s)=>(o[s]=nu(i,c),o),{})}function Ib(l,i,c,o){if(!i.includes(c))return null;const s=Fb(c),d=Pb(s,o),m=l[c];return jn(l,m,d)}function My(l,i){const c=lf(l.theme);return Object.keys(l).map(o=>Ib(l,i,o,c)).reduce(Zi,{})}function Kt(l){return My(l,nf)}Kt.propTypes={};Kt.filterProps=nf;function Jt(l){return My(l,af)}Jt.propTypes={};Jt.filterProps=af;function Ry(l=8,i=lf({spacing:l})){if(l.mui)return l;const c=(...o)=>(o.length===0?[1]:o).map(d=>{const m=i(d);return typeof m=="number"?`${m}px`:m}).join(" ");return c.mui=!0,c}function Zr(...l){const i=l.reduce((o,s)=>(s.filterProps.forEach(d=>{o[d]=s}),o),{}),c=o=>Object.keys(o).reduce((s,d)=>i[d]?Zi(s,i[d](o)):s,{});return c.propTypes={},c.filterProps=l.reduce((o,s)=>o.concat(s.filterProps),[]),c}function Pe(l){return typeof l!="number"?l:`${l}px solid`}function tn(l,i){return Pt({prop:l,themeKey:"borders",transform:i})}const t1=tn("border",Pe),e1=tn("borderTop",Pe),n1=tn("borderRight",Pe),a1=tn("borderBottom",Pe),l1=tn("borderLeft",Pe),i1=tn("borderColor"),u1=tn("borderTopColor"),r1=tn("borderRightColor"),c1=tn("borderBottomColor"),o1=tn("borderLeftColor"),s1=tn("outline",Pe),f1=tn("outlineColor"),kr=l=>{if(l.borderRadius!==void 0&&l.borderRadius!==null){const i=eu(l.theme,"shape.borderRadius",4),c=o=>({borderRadius:nu(i,o)});return jn(l,l.borderRadius,c)}return null};kr.propTypes={};kr.filterProps=["borderRadius"];Zr(t1,e1,n1,a1,l1,i1,u1,r1,c1,o1,kr,s1,f1);const Kr=l=>{if(l.gap!==void 0&&l.gap!==null){const i=eu(l.theme,"spacing",8),c=o=>({gap:nu(i,o)});return jn(l,l.gap,c)}return null};Kr.propTypes={};Kr.filterProps=["gap"];const Jr=l=>{if(l.columnGap!==void 0&&l.columnGap!==null){const i=eu(l.theme,"spacing",8),c=o=>({columnGap:nu(i,o)});return jn(l,l.columnGap,c)}return null};Jr.propTypes={};Jr.filterProps=["columnGap"];const Wr=l=>{if(l.rowGap!==void 0&&l.rowGap!==null){const i=eu(l.theme,"spacing",8),c=o=>({rowGap:nu(i,o)});return jn(l,l.rowGap,c)}return null};Wr.propTypes={};Wr.filterProps=["rowGap"];const d1=Pt({prop:"gridColumn"}),h1=Pt({prop:"gridRow"}),m1=Pt({prop:"gridAutoFlow"}),y1=Pt({prop:"gridAutoColumns"}),p1=Pt({prop:"gridAutoRows"}),g1=Pt({prop:"gridTemplateColumns"}),v1=Pt({prop:"gridTemplateRows"}),b1=Pt({prop:"gridTemplateAreas"}),S1=Pt({prop:"gridArea"});Zr(Kr,Jr,Wr,d1,h1,m1,y1,p1,g1,v1,b1,S1);function Ll(l,i){return i==="grey"?i:l}const T1=Pt({prop:"color",themeKey:"palette",transform:Ll}),C1=Pt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ll}),E1=Pt({prop:"backgroundColor",themeKey:"palette",transform:Ll});Zr(T1,C1,E1);function Le(l){return l<=1&&l!==0?`${l*100}%`:l}const _1=Pt({prop:"width",transform:Le}),uf=l=>{if(l.maxWidth!==void 0&&l.maxWidth!==null){const i=c=>{const o=l.theme?.breakpoints?.values?.[c]||$r[c];return o?l.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${l.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Le(c)}};return jn(l,l.maxWidth,i)}return null};uf.filterProps=["maxWidth"];const A1=Pt({prop:"minWidth",transform:Le}),x1=Pt({prop:"height",transform:Le}),z1=Pt({prop:"maxHeight",transform:Le}),O1=Pt({prop:"minHeight",transform:Le});Pt({prop:"size",cssProperty:"width",transform:Le});Pt({prop:"size",cssProperty:"height",transform:Le});const M1=Pt({prop:"boxSizing"});Zr(_1,uf,A1,x1,z1,O1,M1);const au={border:{themeKey:"borders",transform:Pe},borderTop:{themeKey:"borders",transform:Pe},borderRight:{themeKey:"borders",transform:Pe},borderBottom:{themeKey:"borders",transform:Pe},borderLeft:{themeKey:"borders",transform:Pe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Pe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:kr},color:{themeKey:"palette",transform:Ll},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ll},backgroundColor:{themeKey:"palette",transform:Ll},p:{style:Jt},pt:{style:Jt},pr:{style:Jt},pb:{style:Jt},pl:{style:Jt},px:{style:Jt},py:{style:Jt},padding:{style:Jt},paddingTop:{style:Jt},paddingRight:{style:Jt},paddingBottom:{style:Jt},paddingLeft:{style:Jt},paddingX:{style:Jt},paddingY:{style:Jt},paddingInline:{style:Jt},paddingInlineStart:{style:Jt},paddingInlineEnd:{style:Jt},paddingBlock:{style:Jt},paddingBlockStart:{style:Jt},paddingBlockEnd:{style:Jt},m:{style:Kt},mt:{style:Kt},mr:{style:Kt},mb:{style:Kt},ml:{style:Kt},mx:{style:Kt},my:{style:Kt},margin:{style:Kt},marginTop:{style:Kt},marginRight:{style:Kt},marginBottom:{style:Kt},marginLeft:{style:Kt},marginX:{style:Kt},marginY:{style:Kt},marginInline:{style:Kt},marginInlineStart:{style:Kt},marginInlineEnd:{style:Kt},marginBlock:{style:Kt},marginBlockStart:{style:Kt},marginBlockEnd:{style:Kt},displayPrint:{cssProperty:!1,transform:l=>({"@media print":{display:l}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kr},rowGap:{style:Wr},columnGap:{style:Jr},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Le},maxWidth:{style:uf},minWidth:{transform:Le},height:{transform:Le},maxHeight:{transform:Le},minHeight:{transform:Le},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function R1(...l){const i=l.reduce((o,s)=>o.concat(Object.keys(s)),[]),c=new Set(i);return l.every(o=>c.size===Object.keys(o).length)}function w1(l,i){return typeof l=="function"?l(i):l}function D1(){function l(c,o,s,d){const m={[c]:o,theme:s},g=d[c];if(!g)return{[c]:o};const{cssProperty:v=c,themeKey:p,transform:A,style:E}=g;if(o==null)return null;if(p==="typography"&&o==="inherit")return{[c]:o};const D=Qr(s,p)||{};return E?E(m):jn(m,o,R=>{let _=Hr(D,A,R);return R===_&&typeof R=="string"&&(_=Hr(D,A,`${c}${R==="default"?"":Rt(R)}`,R)),v===!1?_:{[v]:_}})}function i(c){const{sx:o,theme:s={},nested:d}=c||{};if(!o)return null;const m=s.unstable_sxConfig??au;function g(v){let p=v;if(typeof v=="function")p=v(s);else if(typeof v!="object")return v;if(!p)return null;const A=kb(s.breakpoints),E=Object.keys(A);let D=A;return Object.keys(p).forEach(q=>{const R=w1(p[q],s);if(R!=null)if(typeof R=="object")if(m[q])D=Zi(D,l(q,R,s,m));else{const _=jn({theme:s},R,Y=>({[q]:Y}));R1(_,R)?D[q]=i({sx:R,theme:s,nested:!0}):D=Zi(D,_)}else D=Zi(D,l(q,R,s,m))}),!d&&s.modularCssLayers?{"@layer sx":G0(s,V0(E,D))}:G0(s,V0(E,D))}return Array.isArray(o)?o.map(g):g(o)}return i}const Ga=D1();Ga.filterProps=["sx"];function B1(l,i){const c=this;if(c.vars){if(!c.colorSchemes?.[l]||typeof c.getColorSchemeSelector!="function")return{};let o=c.getColorSchemeSelector(l);return o==="&"?i:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:i})}return c.palette.mode===l?i:{}}function rf(l={},...i){const{breakpoints:c={},palette:o={},spacing:s,shape:d={},...m}=l,g=Yb(c),v=Ry(s);let p=Ge({breakpoints:g,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:v,shape:{...Qb,...d}},m);return p=$b(p),p.applyStyles=B1,p=i.reduce((A,E)=>Ge(A,E),p),p.unstable_sxConfig={...au,...m?.unstable_sxConfig},p.unstable_sx=function(E){return Ga({sx:E,theme:this})},p}function N1(l){return Object.keys(l).length===0}function U1(l=null){const i=Z.useContext(Xr);return!i||N1(i)?l:i}const H1=rf();function wy(l=H1){return U1(l)}function Es(l){const i=da(l);return l!==i&&i.styles?(i.styles.match(/^@layer\s+[^{]*$/)||(i.styles=`@layer global{${i.styles}}`),i):l}function j1({styles:l,themeId:i,defaultTheme:c={}}){const o=wy(c),s=i&&o[i]||o;let d=typeof l=="function"?l(s):l;return s.modularCssLayers&&(Array.isArray(d)?d=d.map(m=>Es(typeof m=="function"?m(s):m)):d=Es(d)),lt.jsx(Hb,{styles:d})}const L1=l=>{const i={systemProps:{},otherProps:{}},c=l?.theme?.unstable_sxConfig??au;return Object.keys(l).forEach(o=>{c[o]?i.systemProps[o]=l[o]:i.otherProps[o]=l[o]}),i};function Dy(l){const{sx:i,...c}=l,{systemProps:o,otherProps:s}=L1(c);let d;return Array.isArray(i)?d=[o,...i]:typeof i=="function"?d=(...m)=>{const g=i(...m);return mn(g)?{...o,...g}:o}:d={...o,...i},{...s,sx:d}}const $0=l=>l,q1=()=>{let l=$0;return{configure(i){l=i},generate(i){return l(i)},reset(){l=$0}}},By=q1();function Ny(l){var i,c,o="";if(typeof l=="string"||typeof l=="number")o+=l;else if(typeof l=="object")if(Array.isArray(l)){var s=l.length;for(i=0;ig!=="theme"&&g!=="sx"&&g!=="as"})(Ga);return Z.forwardRef(function(v,p){const A=wy(c),{className:E,component:D="div",...q}=Dy(v);return lt.jsx(d,{as:D,ref:p,className:me(E,s?s(o):o),theme:i&&A[i]||A,...q})})}const Y1={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Vl(l,i,c="Mui"){const o=Y1[i];return o?`${c}-${o}`:`${By.generate(l)}-${i}`}function Ya(l,i,c="Mui"){const o={};return i.forEach(s=>{o[s]=Vl(l,s,c)}),o}function Uy(l){const{variants:i,...c}=l,o={variants:i,style:da(c),isProcessed:!0};return o.style===c||i&&i.forEach(s=>{typeof s.style!="function"&&(s.style=da(s.style))}),o}const V1=rf();function _s(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}function ja(l,i){return i&&l&&typeof l=="object"&&l.styles&&!l.styles.startsWith("@layer")&&(l.styles=`@layer ${i}{${String(l.styles)}}`),l}function X1(l){return l?(i,c)=>c[l]:null}function $1(l,i,c){l.theme=k1(l.theme)?c:l.theme[i]||l.theme}function Mr(l,i,c){const o=typeof i=="function"?i(l):i;if(Array.isArray(o))return o.flatMap(s=>Mr(l,s,c));if(Array.isArray(o?.variants)){let s;if(o.isProcessed)s=c?ja(o.style,c):o.style;else{const{variants:d,...m}=o;s=c?ja(da(m),c):m}return Hy(l,o.variants,[s],c)}return o?.isProcessed?c?ja(da(o.style),c):o.style:c?ja(da(o),c):o}function Hy(l,i,c=[],o=void 0){let s;t:for(let d=0;d{jb(g,G=>G.filter(V=>V!==Ga));const{name:p,slot:A,skipVariantsResolver:E,skipSx:D,overridesResolver:q=X1(J1(A)),...R}=v,_=p&&p.startsWith("Mui")||A?"components":"custom",Y=E!==void 0?E:A&&A!=="Root"&&A!=="root"||!1,J=D||!1;let F=_s;A==="Root"||A==="root"?F=o:A?F=s:K1(g)&&(F=void 0);const P=xy(g,{shouldForwardProp:F,label:Z1(),...R}),X=G=>{if(G.__emotion_real===G)return G;if(typeof G=="function")return function(dt){return Mr(dt,G,dt.theme.modularCssLayers?_:void 0)};if(mn(G)){const V=Uy(G);return function(ht){return V.variants?Mr(ht,V,ht.theme.modularCssLayers?_:void 0):ht.theme.modularCssLayers?ja(V.style,_):V.style}}return G},U=(...G)=>{const V=[],dt=G.map(X),ht=[];if(V.push(d),p&&q&&ht.push(function(k){const at=k.theme.components?.[p]?.styleOverrides;if(!at)return null;const O={};for(const $ in at)O[$]=Mr(k,at[$],k.theme.modularCssLayers?"theme":void 0);return q(k,O)}),p&&!Y&&ht.push(function(k){const at=k.theme?.components?.[p]?.variants;return at?Hy(k,at,[],k.theme.modularCssLayers?"theme":void 0):null}),J||ht.push(Ga),Array.isArray(dt[0])){const y=dt.shift(),k=new Array(V.length).fill(""),Q=new Array(ht.length).fill("");let at;at=[...k,...y,...Q],at.raw=[...k,...y.raw,...Q],V.unshift(at)}const gt=[...V,...dt,...ht],ct=P(...gt);return g.muiName&&(ct.muiName=g.muiName),ct};return P.withConfig&&(U.withConfig=P.withConfig),U}}function Z1(l,i){return void 0}function k1(l){for(const i in l)return!1;return!0}function K1(l){return typeof l=="string"&&l.charCodeAt(0)>96}function J1(l){return l&&l.charAt(0).toLowerCase()+l.slice(1)}function jr(l,i,c=!1){const o={...i};for(const s in l)if(Object.prototype.hasOwnProperty.call(l,s)){const d=s;if(d==="components"||d==="slots")o[d]={...l[d],...o[d]};else if(d==="componentsProps"||d==="slotProps"){const m=l[d],g=i[d];if(!g)o[d]=m||{};else if(!m)o[d]=g;else{o[d]={...g};for(const v in m)if(Object.prototype.hasOwnProperty.call(m,v)){const p=v;o[d][p]=jr(m[p],g[p],c)}}}else d==="className"&&c&&i.className?o.className=me(l?.className,i?.className):d==="style"&&c&&i.style?o.style={...l?.style,...i?.style}:o[d]===void 0&&(o[d]=l[d])}return o}const W1=typeof window<"u"?Z.useLayoutEffect:Z.useEffect;function F1(l,i=Number.MIN_SAFE_INTEGER,c=Number.MAX_SAFE_INTEGER){return Math.max(i,Math.min(l,c))}function cf(l,i=0,c=1){return F1(l,i,c)}function P1(l){l=l.slice(1);const i=new RegExp(`.{1,${l.length>=6?2:1}}`,"g");let c=l.match(i);return c&&c[0].length===1&&(c=c.map(o=>o+o)),c?`rgb${c.length===4?"a":""}(${c.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function ha(l){if(l.type)return l;if(l.charAt(0)==="#")return ha(P1(l));const i=l.indexOf("("),c=l.substring(0,i);if(!["rgb","rgba","hsl","hsla","color"].includes(c))throw new Error(qa(9,l));let o=l.substring(i+1,l.length-1),s;if(c==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(s))throw new Error(qa(10,s))}else o=o.split(",");return o=o.map(d=>parseFloat(d)),{type:c,values:o,colorSpace:s}}const I1=l=>{const i=ha(l);return i.values.slice(0,3).map((c,o)=>i.type.includes("hsl")&&o!==0?`${c}%`:c).join(" ")},$i=(l,i)=>{try{return I1(l)}catch{return l}};function Fr(l){const{type:i,colorSpace:c}=l;let{values:o}=l;return i.includes("rgb")?o=o.map((s,d)=>d<3?parseInt(s,10):s):i.includes("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),i.includes("color")?o=`${c} ${o.join(" ")}`:o=`${o.join(", ")}`,`${i}(${o})`}function jy(l){l=ha(l);const{values:i}=l,c=i[0],o=i[1]/100,s=i[2]/100,d=o*Math.min(s,1-s),m=(p,A=(p+c/30)%12)=>s-d*Math.max(Math.min(A-3,9-A,1),-1);let g="rgb";const v=[Math.round(m(0)*255),Math.round(m(8)*255),Math.round(m(4)*255)];return l.type==="hsla"&&(g+="a",v.push(i[3])),Fr({type:g,values:v})}function Ns(l){l=ha(l);let i=l.type==="hsl"||l.type==="hsla"?ha(jy(l)).values:l.values;return i=i.map(c=>(l.type!=="color"&&(c/=255),c<=.03928?c/12.92:((c+.055)/1.055)**2.4)),Number((.2126*i[0]+.7152*i[1]+.0722*i[2]).toFixed(3))}function tS(l,i){const c=Ns(l),o=Ns(i);return(Math.max(c,o)+.05)/(Math.min(c,o)+.05)}function Ly(l,i){return l=ha(l),i=cf(i),(l.type==="rgb"||l.type==="hsl")&&(l.type+="a"),l.type==="color"?l.values[3]=`/${i}`:l.values[3]=i,Fr(l)}function Ua(l,i,c){try{return Ly(l,i)}catch{return l}}function Pr(l,i){if(l=ha(l),i=cf(i),l.type.includes("hsl"))l.values[2]*=1-i;else if(l.type.includes("rgb")||l.type.includes("color"))for(let c=0;c<3;c+=1)l.values[c]*=1-i;return Fr(l)}function Nt(l,i,c){try{return Pr(l,i)}catch{return l}}function Ir(l,i){if(l=ha(l),i=cf(i),l.type.includes("hsl"))l.values[2]+=(100-l.values[2])*i;else if(l.type.includes("rgb"))for(let c=0;c<3;c+=1)l.values[c]+=(255-l.values[c])*i;else if(l.type.includes("color"))for(let c=0;c<3;c+=1)l.values[c]+=(1-l.values[c])*i;return Fr(l)}function Ut(l,i,c){try{return Ir(l,i)}catch{return l}}function eS(l,i=.15){return Ns(l)>.5?Pr(l,i):Ir(l,i)}function _r(l,i,c){try{return eS(l,i)}catch{return l}}const nS=Z.createContext(),aS=()=>Z.useContext(nS)??!1,lS=Z.createContext(void 0);function iS(l){const{theme:i,name:c,props:o}=l;if(!i||!i.components||!i.components[c])return o;const s=i.components[c];return s.defaultProps?jr(s.defaultProps,o,i.components.mergeClassNameAndStyle):!s.styleOverrides&&!s.variants?jr(s,o,i.components.mergeClassNameAndStyle):o}function uS({props:l,name:i}){const c=Z.useContext(lS);return iS({props:l,name:i,theme:{components:c}})}let Q0=0;function rS(l){const[i,c]=Z.useState(l),o=l||i;return Z.useEffect(()=>{i==null&&(Q0+=1,c(`mui-${Q0}`))},[i]),o}const cS={...Ms},Z0=cS.useId;function oS(l){if(Z0!==void 0){const i=Z0();return l??i}return rS(l)}const k0={theme:void 0};function sS(l){let i,c;return function(s){let d=i;return(d===void 0||s.theme!==c)&&(k0.theme=s.theme,d=Uy(l(k0)),i=d,c=s.theme),d}}function fS(l=""){function i(...o){if(!o.length)return"";const s=o[0];return typeof s=="string"&&!s.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${l?`${l}-`:""}${s}${i(...o.slice(1))})`:`, ${s}`}return(o,...s)=>`var(--${l?`${l}-`:""}${o}${i(...s)})`}const K0=(l,i,c,o=[])=>{let s=l;i.forEach((d,m)=>{m===i.length-1?Array.isArray(s)?s[Number(d)]=c:s&&typeof s=="object"&&(s[d]=c):s&&typeof s=="object"&&(s[d]||(s[d]=o.includes(d)?[]:{}),s=s[d])})},dS=(l,i,c)=>{function o(s,d=[],m=[]){Object.entries(s).forEach(([g,v])=>{(!c||c&&!c([...d,g]))&&v!=null&&(typeof v=="object"&&Object.keys(v).length>0?o(v,[...d,g],Array.isArray(v)?[...m,g]:m):i([...d,g],v,m))})}o(l)},hS=(l,i)=>typeof i=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(o=>l.includes(o))||l[l.length-1].toLowerCase().includes("opacity")?i:`${i}px`:i;function As(l,i){const{prefix:c,shouldSkipGeneratingVar:o}=i||{},s={},d={},m={};return dS(l,(g,v,p)=>{if((typeof v=="string"||typeof v=="number")&&(!o||!o(g,v))){const A=`--${c?`${c}-`:""}${g.join("-")}`,E=hS(g,v);Object.assign(s,{[A]:E}),K0(d,g,`var(${A})`,p),K0(m,g,`var(${A}, ${E})`,p)}},g=>g[0]==="vars"),{css:s,vars:d,varsWithDefaults:m}}function mS(l,i={}){const{getSelector:c=J,disableCssColorScheme:o,colorSchemeSelector:s,enableContrastVars:d}=i,{colorSchemes:m={},components:g,defaultColorScheme:v="light",...p}=l,{vars:A,css:E,varsWithDefaults:D}=As(p,i);let q=D;const R={},{[v]:_,...Y}=m;if(Object.entries(Y||{}).forEach(([X,U])=>{const{vars:G,css:V,varsWithDefaults:dt}=As(U,i);q=Ge(q,dt),R[X]={css:V,vars:G}}),_){const{css:X,vars:U,varsWithDefaults:G}=As(_,i);q=Ge(q,G),R[v]={css:X,vars:U}}function J(X,U){let G=s;if(s==="class"&&(G=".%s"),s==="data"&&(G="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(G=`[${s}="%s"]`),X){if(G==="media")return l.defaultColorScheme===X?":root":{[`@media (prefers-color-scheme: ${m[X]?.palette?.mode||X})`]:{":root":U}};if(G)return l.defaultColorScheme===X?`:root, ${G.replace("%s",String(X))}`:G.replace("%s",String(X))}return":root"}return{vars:q,generateThemeVars:()=>{let X={...A};return Object.entries(R).forEach(([,{vars:U}])=>{X=Ge(X,U)}),X},generateStyleSheets:()=>{const X=[],U=l.defaultColorScheme||"light";function G(ht,gt){Object.keys(gt).length&&X.push(typeof ht=="string"?{[ht]:{...gt}}:ht)}G(c(void 0,{...E}),E);const{[U]:V,...dt}=R;if(V){const{css:ht}=V,gt=m[U]?.palette?.mode,ct=!o&>?{colorScheme:gt,...ht}:{...ht};G(c(U,{...ct}),ct)}return Object.entries(dt).forEach(([ht,{css:gt}])=>{const ct=m[ht]?.palette?.mode,y=!o&&ct?{colorScheme:ct,...gt}:{...gt};G(c(ht,{...y}),y)}),d&&X.push({":root":{"--__l-threshold":"0.7","--__l":"clamp(0, (l / var(--__l-threshold) - 1) * -infinity, 1)","--__a":"clamp(0.87, (l / var(--__l-threshold) - 1) * -infinity, 1)"}}),X}}}function yS(l){return function(c){return l==="media"?`@media (prefers-color-scheme: ${c})`:l?l.startsWith("data-")&&!l.includes("%s")?`[${l}="${c}"] &`:l==="class"?`.${c} &`:l==="data"?`[data-${c}] &`:`${l.replace("%s",c)} &`:"&"}}function lu(l,i,c=void 0){const o={};for(const s in l){const d=l[s];let m="",g=!0;for(let v=0;v=c?Us.text.primary:Gy.text.primary}const q=({color:Y,name:J,mainShade:F=500,lightShade:P=300,darkShade:X=700})=>{if(Y={...Y},!Y.main&&Y[F]&&(Y.main=Y[F]),!Y.hasOwnProperty("main"))throw new Error(qa(11,J?` (${J})`:"",F));if(typeof Y.main!="string")throw new Error(qa(12,J?` (${J})`:"",JSON.stringify(Y.main)));return s?(W0(s,Y,"light",P,o),W0(s,Y,"dark",X,o)):(J0(Y,"light",P,o),J0(Y,"dark",X,o)),Y.contrastText||(Y.contrastText=D(Y.main)),Y};let R;return i==="light"?R=qy():i==="dark"&&(R=Yy()),Ge({common:{...Ji},mode:i,primary:q({color:m,name:"primary"}),secondary:q({color:g,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:q({color:v,name:"error"}),warning:q({color:E,name:"warning"}),info:q({color:p,name:"info"}),success:q({color:A,name:"success"}),grey:jv,contrastThreshold:c,getContrastText:D,augmentColor:q,tonalOffset:o,...R},d)}function ES(l){const i={};return Object.entries(l).forEach(o=>{const[s,d]=o;typeof d=="object"&&(i[s]=`${d.fontStyle?`${d.fontStyle} `:""}${d.fontVariant?`${d.fontVariant} `:""}${d.fontWeight?`${d.fontWeight} `:""}${d.fontStretch?`${d.fontStretch} `:""}${d.fontSize||""}${d.lineHeight?`/${d.lineHeight} `:""}${d.fontFamily||""}`)}),i}function _S(l,i){return{toolbar:{minHeight:56,[l.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[l.up("sm")]:{minHeight:64}},...i}}function AS(l){return Math.round(l*1e5)/1e5}const F0={textTransform:"uppercase"},P0='"Roboto", "Helvetica", "Arial", sans-serif';function xS(l,i){const{fontFamily:c=P0,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:d=400,fontWeightMedium:m=500,fontWeightBold:g=700,htmlFontSize:v=16,allVariants:p,pxToRem:A,...E}=typeof i=="function"?i(l):i,D=o/14,q=A||(Y=>`${Y/v*D}rem`),R=(Y,J,F,P,X)=>({fontFamily:c,fontWeight:Y,fontSize:q(J),lineHeight:F,...c===P0?{letterSpacing:`${AS(P/J)}em`}:{},...X,...p}),_={h1:R(s,96,1.167,-1.5),h2:R(s,60,1.2,-.5),h3:R(d,48,1.167,0),h4:R(d,34,1.235,.25),h5:R(d,24,1.334,0),h6:R(m,20,1.6,.15),subtitle1:R(d,16,1.75,.15),subtitle2:R(m,14,1.57,.1),body1:R(d,16,1.5,.15),body2:R(d,14,1.43,.15),button:R(m,14,1.75,.4,F0),caption:R(d,12,1.66,.4),overline:R(d,12,2.66,1,F0),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ge({htmlFontSize:v,pxToRem:q,fontFamily:c,fontSize:o,fontWeightLight:s,fontWeightRegular:d,fontWeightMedium:m,fontWeightBold:g,..._},E,{clone:!1})}const zS=.2,OS=.14,MS=.12;function $t(...l){return[`${l[0]}px ${l[1]}px ${l[2]}px ${l[3]}px rgba(0,0,0,${zS})`,`${l[4]}px ${l[5]}px ${l[6]}px ${l[7]}px rgba(0,0,0,${OS})`,`${l[8]}px ${l[9]}px ${l[10]}px ${l[11]}px rgba(0,0,0,${MS})`].join(",")}const RS=["none",$t(0,2,1,-1,0,1,1,0,0,1,3,0),$t(0,3,1,-2,0,2,2,0,0,1,5,0),$t(0,3,3,-2,0,3,4,0,0,1,8,0),$t(0,2,4,-1,0,4,5,0,0,1,10,0),$t(0,3,5,-1,0,5,8,0,0,1,14,0),$t(0,3,5,-1,0,6,10,0,0,1,18,0),$t(0,4,5,-2,0,7,10,1,0,2,16,1),$t(0,5,5,-3,0,8,10,1,0,3,14,2),$t(0,5,6,-3,0,9,12,1,0,3,16,2),$t(0,6,6,-3,0,10,14,1,0,4,18,3),$t(0,6,7,-4,0,11,15,1,0,4,20,3),$t(0,7,8,-4,0,12,17,2,0,5,22,4),$t(0,7,8,-4,0,13,19,2,0,5,24,4),$t(0,7,9,-4,0,14,21,2,0,5,26,4),$t(0,8,9,-5,0,15,22,2,0,6,28,5),$t(0,8,10,-5,0,16,24,2,0,6,30,5),$t(0,8,11,-5,0,17,26,2,0,6,32,5),$t(0,9,11,-5,0,18,28,2,0,7,34,6),$t(0,9,12,-6,0,19,29,2,0,7,36,6),$t(0,10,13,-6,0,20,31,3,0,8,38,7),$t(0,10,13,-6,0,21,33,3,0,8,40,7),$t(0,10,14,-6,0,22,35,3,0,8,42,7),$t(0,11,14,-7,0,23,36,3,0,9,44,8),$t(0,11,15,-7,0,24,38,3,0,9,46,8)],wS={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},DS={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function I0(l){return`${Math.round(l)}ms`}function BS(l){if(!l)return 0;const i=l/36;return Math.min(Math.round((4+15*i**.25+i/5)*10),3e3)}function NS(l){const i={...wS,...l.easing},c={...DS,...l.duration};return{getAutoHeightDuration:BS,create:(s=["all"],d={})=>{const{duration:m=c.standard,easing:g=i.easeInOut,delay:v=0,...p}=d;return(Array.isArray(s)?s:[s]).map(A=>`${A} ${typeof m=="string"?m:I0(m)} ${g} ${typeof v=="string"?v:I0(v)}`).join(",")},...l,easing:i,duration:c}}const US={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function HS(l){return mn(l)||typeof l>"u"||typeof l=="string"||typeof l=="boolean"||typeof l=="number"||Array.isArray(l)}function Vy(l={}){const i={...l};function c(o){const s=Object.entries(o);for(let d=0;d{if(!Number.isNaN(+l))return+l;const i=l.match(/\d*\.?\d+/g);if(!i)return 0;let c=0;for(let o=0;oGe(R,_),q),q.unstable_sxConfig={...au,...A?.unstable_sxConfig},q.unstable_sx=function(_){return Ga({sx:_,theme:this})},q.toRuntimeSource=Vy,LS(q),q}function qS(l){let i;return l<1?i=5.11916*l**2:i=4.5*Math.log(l+1)+2,Math.round(i*10)/1e3}const GS=[...Array(25)].map((l,i)=>{if(i===0)return"none";const c=qS(i);return`linear-gradient(rgba(255 255 255 / ${c}), rgba(255 255 255 / ${c}))`});function Xy(l){return{inputPlaceholder:l==="dark"?.5:.42,inputUnderline:l==="dark"?.7:.42,switchTrackDisabled:l==="dark"?.2:.12,switchTrack:l==="dark"?.3:.38}}function $y(l){return l==="dark"?GS:[]}function YS(l){const{palette:i={mode:"light"},opacity:c,overlays:o,colorSpace:s,...d}=l,m=of({...i,colorSpace:s});return{palette:m,opacity:{...Xy(m.mode),...c},overlays:o||$y(m.mode),...d}}function VS(l){return!!l[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!l[0].match(/sxConfig$/)||l[0]==="palette"&&!!l[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const XS=l=>[...[...Array(25)].map((i,c)=>`--${l?`${l}-`:""}overlays-${c}`),`--${l?`${l}-`:""}palette-AppBar-darkBg`,`--${l?`${l}-`:""}palette-AppBar-darkColor`],$S=l=>(i,c)=>{const o=l.rootSelector||":root",s=l.colorSchemeSelector;let d=s;if(s==="class"&&(d=".%s"),s==="data"&&(d="[data-%s]"),s?.startsWith("data-")&&!s.includes("%s")&&(d=`[${s}="%s"]`),l.defaultColorScheme===i){if(i==="dark"){const m={};return XS(l.cssVarPrefix).forEach(g=>{m[g]=c[g],delete c[g]}),d==="media"?{[o]:c,"@media (prefers-color-scheme: dark)":{[o]:m}}:d?{[d.replace("%s",i)]:m,[`${o}, ${d.replace("%s",i)}`]:c}:{[o]:{...c,...m}}}if(d&&d!=="media")return`${o}, ${d.replace("%s",String(i))}`}else if(i){if(d==="media")return{[`@media (prefers-color-scheme: ${String(i)})`]:{[o]:c}};if(d)return d.replace("%s",String(i))}return o};function QS(l,i){i.forEach(c=>{l[c]||(l[c]={})})}function N(l,i,c){!l[i]&&c&&(l[i]=c)}function Qi(l){return typeof l!="string"||!l.startsWith("hsl")?l:jy(l)}function Nn(l,i){`${i}Channel`in l||(l[`${i}Channel`]=$i(Qi(l[i])))}function ZS(l){return typeof l=="number"?`${l}px`:typeof l=="string"||typeof l=="function"||Array.isArray(l)?l:"8px"}const fn=l=>{try{return l()}catch{}},kS=(l="mui")=>fS(l);function xs(l,i,c,o,s){if(!c)return;c=c===!0?{}:c;const d=s==="dark"?"dark":"light";if(!o){i[s]=YS({...c,palette:{mode:d,...c?.palette},colorSpace:l});return}const{palette:m,...g}=Hs({...o,palette:{mode:d,...c?.palette},colorSpace:l});return i[s]={...c,palette:m,opacity:{...Xy(d),...c?.opacity},overlays:c?.overlays||$y(d)},g}function KS(l={},...i){const{colorSchemes:c={light:!0},defaultColorScheme:o,disableCssColorScheme:s=!1,cssVarPrefix:d="mui",nativeColor:m=!1,shouldSkipGeneratingVar:g=VS,colorSchemeSelector:v=c.light&&c.dark?"media":void 0,rootSelector:p=":root",...A}=l,E=Object.keys(c)[0],D=o||(c.light&&E!=="light"?"light":E),q=kS(d),{[D]:R,light:_,dark:Y,...J}=c,F={...J};let P=R;if((D==="dark"&&!("dark"in c)||D==="light"&&!("light"in c))&&(P=!0),!P)throw new Error(qa(21,D));let X;m&&(X="oklch");const U=xs(X,F,P,A,D);_&&!F.light&&xs(X,F,_,void 0,"light"),Y&&!F.dark&&xs(X,F,Y,void 0,"dark");let G={defaultColorScheme:D,...U,cssVarPrefix:d,colorSchemeSelector:v,rootSelector:p,getCssVar:q,colorSchemes:F,font:{...ES(U.typography),...U.font},spacing:ZS(A.spacing)};Object.keys(G.colorSchemes).forEach(ct=>{const y=G.colorSchemes[ct].palette,k=at=>{const O=at.split("-"),$=O[1],et=O[2];return q(at,y[$][et])};y.mode==="light"&&(N(y.common,"background","#fff"),N(y.common,"onBackground","#000")),y.mode==="dark"&&(N(y.common,"background","#000"),N(y.common,"onBackground","#fff"));function Q(at,O,$){if(X){let et;return at===Ua&&(et=`transparent ${((1-$)*100).toFixed(0)}%`),at===Nt&&(et=`#000 ${($*100).toFixed(0)}%`),at===Ut&&(et=`#fff ${($*100).toFixed(0)}%`),`color-mix(in ${X}, ${O}, ${et})`}return at(O,$)}if(QS(y,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),y.mode==="light"){N(y.Alert,"errorColor",Q(Nt,y.error.light,.6)),N(y.Alert,"infoColor",Q(Nt,y.info.light,.6)),N(y.Alert,"successColor",Q(Nt,y.success.light,.6)),N(y.Alert,"warningColor",Q(Nt,y.warning.light,.6)),N(y.Alert,"errorFilledBg",k("palette-error-main")),N(y.Alert,"infoFilledBg",k("palette-info-main")),N(y.Alert,"successFilledBg",k("palette-success-main")),N(y.Alert,"warningFilledBg",k("palette-warning-main")),N(y.Alert,"errorFilledColor",fn(()=>y.getContrastText(y.error.main))),N(y.Alert,"infoFilledColor",fn(()=>y.getContrastText(y.info.main))),N(y.Alert,"successFilledColor",fn(()=>y.getContrastText(y.success.main))),N(y.Alert,"warningFilledColor",fn(()=>y.getContrastText(y.warning.main))),N(y.Alert,"errorStandardBg",Q(Ut,y.error.light,.9)),N(y.Alert,"infoStandardBg",Q(Ut,y.info.light,.9)),N(y.Alert,"successStandardBg",Q(Ut,y.success.light,.9)),N(y.Alert,"warningStandardBg",Q(Ut,y.warning.light,.9)),N(y.Alert,"errorIconColor",k("palette-error-main")),N(y.Alert,"infoIconColor",k("palette-info-main")),N(y.Alert,"successIconColor",k("palette-success-main")),N(y.Alert,"warningIconColor",k("palette-warning-main")),N(y.AppBar,"defaultBg",k("palette-grey-100")),N(y.Avatar,"defaultBg",k("palette-grey-400")),N(y.Button,"inheritContainedBg",k("palette-grey-300")),N(y.Button,"inheritContainedHoverBg",k("palette-grey-A100")),N(y.Chip,"defaultBorder",k("palette-grey-400")),N(y.Chip,"defaultAvatarColor",k("palette-grey-700")),N(y.Chip,"defaultIconColor",k("palette-grey-700")),N(y.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),N(y.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),N(y.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),N(y.LinearProgress,"primaryBg",Q(Ut,y.primary.main,.62)),N(y.LinearProgress,"secondaryBg",Q(Ut,y.secondary.main,.62)),N(y.LinearProgress,"errorBg",Q(Ut,y.error.main,.62)),N(y.LinearProgress,"infoBg",Q(Ut,y.info.main,.62)),N(y.LinearProgress,"successBg",Q(Ut,y.success.main,.62)),N(y.LinearProgress,"warningBg",Q(Ut,y.warning.main,.62)),N(y.Skeleton,"bg",X?Q(Ua,y.text.primary,.11):`rgba(${k("palette-text-primaryChannel")} / 0.11)`),N(y.Slider,"primaryTrack",Q(Ut,y.primary.main,.62)),N(y.Slider,"secondaryTrack",Q(Ut,y.secondary.main,.62)),N(y.Slider,"errorTrack",Q(Ut,y.error.main,.62)),N(y.Slider,"infoTrack",Q(Ut,y.info.main,.62)),N(y.Slider,"successTrack",Q(Ut,y.success.main,.62)),N(y.Slider,"warningTrack",Q(Ut,y.warning.main,.62));const at=X?Q(Nt,y.background.default,.6825):_r(y.background.default,.8);N(y.SnackbarContent,"bg",at),N(y.SnackbarContent,"color",fn(()=>X?Us.text.primary:y.getContrastText(at))),N(y.SpeedDialAction,"fabHoverBg",_r(y.background.paper,.15)),N(y.StepConnector,"border",k("palette-grey-400")),N(y.StepContent,"border",k("palette-grey-400")),N(y.Switch,"defaultColor",k("palette-common-white")),N(y.Switch,"defaultDisabledColor",k("palette-grey-100")),N(y.Switch,"primaryDisabledColor",Q(Ut,y.primary.main,.62)),N(y.Switch,"secondaryDisabledColor",Q(Ut,y.secondary.main,.62)),N(y.Switch,"errorDisabledColor",Q(Ut,y.error.main,.62)),N(y.Switch,"infoDisabledColor",Q(Ut,y.info.main,.62)),N(y.Switch,"successDisabledColor",Q(Ut,y.success.main,.62)),N(y.Switch,"warningDisabledColor",Q(Ut,y.warning.main,.62)),N(y.TableCell,"border",Q(Ut,Q(Ua,y.divider,1),.88)),N(y.Tooltip,"bg",Q(Ua,y.grey[700],.92))}if(y.mode==="dark"){N(y.Alert,"errorColor",Q(Ut,y.error.light,.6)),N(y.Alert,"infoColor",Q(Ut,y.info.light,.6)),N(y.Alert,"successColor",Q(Ut,y.success.light,.6)),N(y.Alert,"warningColor",Q(Ut,y.warning.light,.6)),N(y.Alert,"errorFilledBg",k("palette-error-dark")),N(y.Alert,"infoFilledBg",k("palette-info-dark")),N(y.Alert,"successFilledBg",k("palette-success-dark")),N(y.Alert,"warningFilledBg",k("palette-warning-dark")),N(y.Alert,"errorFilledColor",fn(()=>y.getContrastText(y.error.dark))),N(y.Alert,"infoFilledColor",fn(()=>y.getContrastText(y.info.dark))),N(y.Alert,"successFilledColor",fn(()=>y.getContrastText(y.success.dark))),N(y.Alert,"warningFilledColor",fn(()=>y.getContrastText(y.warning.dark))),N(y.Alert,"errorStandardBg",Q(Nt,y.error.light,.9)),N(y.Alert,"infoStandardBg",Q(Nt,y.info.light,.9)),N(y.Alert,"successStandardBg",Q(Nt,y.success.light,.9)),N(y.Alert,"warningStandardBg",Q(Nt,y.warning.light,.9)),N(y.Alert,"errorIconColor",k("palette-error-main")),N(y.Alert,"infoIconColor",k("palette-info-main")),N(y.Alert,"successIconColor",k("palette-success-main")),N(y.Alert,"warningIconColor",k("palette-warning-main")),N(y.AppBar,"defaultBg",k("palette-grey-900")),N(y.AppBar,"darkBg",k("palette-background-paper")),N(y.AppBar,"darkColor",k("palette-text-primary")),N(y.Avatar,"defaultBg",k("palette-grey-600")),N(y.Button,"inheritContainedBg",k("palette-grey-800")),N(y.Button,"inheritContainedHoverBg",k("palette-grey-700")),N(y.Chip,"defaultBorder",k("palette-grey-700")),N(y.Chip,"defaultAvatarColor",k("palette-grey-300")),N(y.Chip,"defaultIconColor",k("palette-grey-300")),N(y.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),N(y.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),N(y.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),N(y.LinearProgress,"primaryBg",Q(Nt,y.primary.main,.5)),N(y.LinearProgress,"secondaryBg",Q(Nt,y.secondary.main,.5)),N(y.LinearProgress,"errorBg",Q(Nt,y.error.main,.5)),N(y.LinearProgress,"infoBg",Q(Nt,y.info.main,.5)),N(y.LinearProgress,"successBg",Q(Nt,y.success.main,.5)),N(y.LinearProgress,"warningBg",Q(Nt,y.warning.main,.5)),N(y.Skeleton,"bg",X?Q(Ua,y.text.primary,.13):`rgba(${k("palette-text-primaryChannel")} / 0.13)`),N(y.Slider,"primaryTrack",Q(Nt,y.primary.main,.5)),N(y.Slider,"secondaryTrack",Q(Nt,y.secondary.main,.5)),N(y.Slider,"errorTrack",Q(Nt,y.error.main,.5)),N(y.Slider,"infoTrack",Q(Nt,y.info.main,.5)),N(y.Slider,"successTrack",Q(Nt,y.success.main,.5)),N(y.Slider,"warningTrack",Q(Nt,y.warning.main,.5));const at=X?Q(Ut,y.background.default,.985):_r(y.background.default,.98);N(y.SnackbarContent,"bg",at),N(y.SnackbarContent,"color",fn(()=>X?Gy.text.primary:y.getContrastText(at))),N(y.SpeedDialAction,"fabHoverBg",_r(y.background.paper,.15)),N(y.StepConnector,"border",k("palette-grey-600")),N(y.StepContent,"border",k("palette-grey-600")),N(y.Switch,"defaultColor",k("palette-grey-300")),N(y.Switch,"defaultDisabledColor",k("palette-grey-600")),N(y.Switch,"primaryDisabledColor",Q(Nt,y.primary.main,.55)),N(y.Switch,"secondaryDisabledColor",Q(Nt,y.secondary.main,.55)),N(y.Switch,"errorDisabledColor",Q(Nt,y.error.main,.55)),N(y.Switch,"infoDisabledColor",Q(Nt,y.info.main,.55)),N(y.Switch,"successDisabledColor",Q(Nt,y.success.main,.55)),N(y.Switch,"warningDisabledColor",Q(Nt,y.warning.main,.55)),N(y.TableCell,"border",Q(Nt,Q(Ua,y.divider,1),.68)),N(y.Tooltip,"bg",Q(Ua,y.grey[700],.92))}Nn(y.background,"default"),Nn(y.background,"paper"),Nn(y.common,"background"),Nn(y.common,"onBackground"),Nn(y,"divider"),Object.keys(y).forEach(at=>{const O=y[at];at!=="tonalOffset"&&O&&typeof O=="object"&&(O.main&&N(y[at],"mainChannel",$i(Qi(O.main))),O.light&&N(y[at],"lightChannel",$i(Qi(O.light))),O.dark&&N(y[at],"darkChannel",$i(Qi(O.dark))),O.contrastText&&N(y[at],"contrastTextChannel",$i(Qi(O.contrastText))),at==="text"&&(Nn(y[at],"primary"),Nn(y[at],"secondary")),at==="action"&&(O.active&&Nn(y[at],"active"),O.selected&&Nn(y[at],"selected")))})}),G=i.reduce((ct,y)=>Ge(ct,y),G);const V={prefix:d,disableCssColorScheme:s,shouldSkipGeneratingVar:g,getSelector:$S(G),enableContrastVars:m},{vars:dt,generateThemeVars:ht,generateStyleSheets:gt}=mS(G,V);return G.vars=dt,Object.entries(G.colorSchemes[G.defaultColorScheme]).forEach(([ct,y])=>{G[ct]=y}),G.generateThemeVars=ht,G.generateStyleSheets=gt,G.generateSpacing=function(){return Ry(A.spacing,lf(this))},G.getColorSchemeSelector=yS(v),G.spacing=G.generateSpacing(),G.shouldSkipGeneratingVar=g,G.unstable_sxConfig={...au,...A?.unstable_sxConfig},G.unstable_sx=function(y){return Ga({sx:y,theme:this})},G.toRuntimeSource=Vy,G}function ey(l,i,c){l.colorSchemes&&c&&(l.colorSchemes[i]={...c!==!0&&c,palette:of({...c===!0?{}:c.palette,mode:i})})}function Qy(l={},...i){const{palette:c,cssVariables:o=!1,colorSchemes:s=c?void 0:{light:!0},defaultColorScheme:d=c?.mode,...m}=l,g=d||"light",v=s?.[g],p={...s,...c?{[g]:{...typeof v!="boolean"&&v,palette:c}}:void 0};if(o===!1){if(!("colorSchemes"in l))return Hs(l,...i);let A=c;"palette"in l||p[g]&&(p[g]!==!0?A=p[g].palette:g==="dark"&&(A={mode:"dark"}));const E=Hs({...l,palette:A},...i);return E.defaultColorScheme=g,E.colorSchemes=p,E.palette.mode==="light"&&(E.colorSchemes.light={...p.light!==!0&&p.light,palette:E.palette},ey(E,"dark",p.dark)),E.palette.mode==="dark"&&(E.colorSchemes.dark={...p.dark!==!0&&p.dark,palette:E.palette},ey(E,"light",p.light)),E}return!c&&!("light"in p)&&g==="light"&&(p.light=!0),KS({...m,colorSchemes:p,defaultColorScheme:g,...typeof o!="boolean"&&o},...i)}const Zy=Qy();function JS(l){return l!=="ownerState"&&l!=="theme"&&l!=="sx"&&l!=="as"}const ky=l=>JS(l)&&l!=="classes",ye=Q1({themeId:Ks,defaultTheme:Zy,rootShouldForwardProp:ky});function WS(l){return lt.jsx(j1,{...l,defaultTheme:Zy,themeId:Ks})}function Ky(l){return function(c){return lt.jsx(WS,{styles:typeof l=="function"?o=>l({theme:o,...c}):l})}}function FS(){return Dy}const Ln=sS;function Va(l){return uS(l)}function Rr(l){const i=Z.useRef(l);return W1(()=>{i.current=l}),Z.useRef((...c)=>(0,i.current)(...c)).current}function ny(...l){const i=Z.useRef(void 0),c=Z.useCallback(o=>{const s=l.map(d=>{if(d==null)return null;if(typeof d=="function"){const m=d,g=m(o);return typeof g=="function"?g:()=>{m(null)}}return d.current=o,()=>{d.current=null}});return()=>{s.forEach(d=>d?.())}},l);return Z.useMemo(()=>l.every(o=>o==null)?null:o=>{i.current&&(i.current(),i.current=void 0),o!=null&&(i.current=c(o))},l)}function PS(l,i){if(l==null)return{};var c={};for(var o in l)if({}.hasOwnProperty.call(l,o)){if(i.indexOf(o)!==-1)continue;c[o]=l[o]}return c}function js(l,i){return js=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,o){return c.__proto__=o,c},js(l,i)}function IS(l,i){l.prototype=Object.create(i.prototype),l.prototype.constructor=l,js(l,i)}const ay=Hl.createContext(null);function t2(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function sf(l,i){var c=function(d){return i&&Z.isValidElement(d)?i(d):d},o=Object.create(null);return l&&Z.Children.map(l,function(s){return s}).forEach(function(s){o[s.key]=c(s)}),o}function e2(l,i){l=l||{},i=i||{};function c(A){return A in i?i[A]:l[A]}var o=Object.create(null),s=[];for(var d in l)d in i?s.length&&(o[d]=s,s=[]):s.push(d);var m,g={};for(var v in i){if(o[v])for(m=0;m{this.currentId=null,c()},i)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function c2(){const l=Jy(df.create).current;return r2(l.disposeEffect),l}function iy(l){try{return l.matches(":focus-visible")}catch{}return!1}class Lr{static create(){return new Lr}static use(){const i=Jy(Lr.create).current,[c,o]=Z.useState(!1);return i.shouldMount=c,i.setShouldMount=o,Z.useEffect(i.mountEffect,[c]),i}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=s2(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...i){this.mount().then(()=>this.ref.current?.start(...i))}stop(...i){this.mount().then(()=>this.ref.current?.stop(...i))}pulsate(...i){this.mount().then(()=>this.ref.current?.pulsate(...i))}}function o2(){return Lr.use()}function s2(){let l,i;const c=new Promise((o,s)=>{l=o,i=s});return c.resolve=l,c.reject=i,c}function f2(l){const{className:i,classes:c,pulsate:o=!1,rippleX:s,rippleY:d,rippleSize:m,in:g,onExited:v,timeout:p}=l,[A,E]=Z.useState(!1),D=me(i,c.ripple,c.rippleVisible,o&&c.ripplePulsate),q={width:m,height:m,top:-(m/2)+d,left:-(m/2)+s},R=me(c.child,A&&c.childLeaving,o&&c.childPulsate);return!g&&!A&&E(!0),Z.useEffect(()=>{if(!g&&v!=null){const _=setTimeout(v,p);return()=>{clearTimeout(_)}}},[v,g,p]),lt.jsx("span",{className:D,style:q,children:lt.jsx("span",{className:R})})}const Fe=Ya("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ls=550,d2=80,h2=ya` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`,m2=ya` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`,y2=ya` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`,p2=ye("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),g2=ye(f2,{name:"MuiTouchRipple",slot:"Ripple"})` + opacity: 0; + position: absolute; + + &.${Fe.rippleVisible} { + opacity: 0.3; + transform: scale(1); + animation-name: ${h2}; + animation-duration: ${Ls}ms; + animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; + } + + &.${Fe.ripplePulsate} { + animation-duration: ${({theme:l})=>l.transitions.duration.shorter}ms; + } + + & .${Fe.child} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${Fe.childLeaving} { + opacity: 0; + animation-name: ${m2}; + animation-duration: ${Ls}ms; + animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; + } + + & .${Fe.childPulsate} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${y2}; + animation-duration: 2500ms; + animation-timing-function: ${({theme:l})=>l.transitions.easing.easeInOut}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`,v2=Z.forwardRef(function(i,c){const o=Va({props:i,name:"MuiTouchRipple"}),{center:s=!1,classes:d={},className:m,...g}=o,[v,p]=Z.useState([]),A=Z.useRef(0),E=Z.useRef(null);Z.useEffect(()=>{E.current&&(E.current(),E.current=null)},[v]);const D=Z.useRef(!1),q=c2(),R=Z.useRef(null),_=Z.useRef(null),Y=Z.useCallback(X=>{const{pulsate:U,rippleX:G,rippleY:V,rippleSize:dt,cb:ht}=X;p(gt=>[...gt,lt.jsx(g2,{classes:{ripple:me(d.ripple,Fe.ripple),rippleVisible:me(d.rippleVisible,Fe.rippleVisible),ripplePulsate:me(d.ripplePulsate,Fe.ripplePulsate),child:me(d.child,Fe.child),childLeaving:me(d.childLeaving,Fe.childLeaving),childPulsate:me(d.childPulsate,Fe.childPulsate)},timeout:Ls,pulsate:U,rippleX:G,rippleY:V,rippleSize:dt},A.current)]),A.current+=1,E.current=ht},[d]),J=Z.useCallback((X={},U={},G=()=>{})=>{const{pulsate:V=!1,center:dt=s||U.pulsate,fakeElement:ht=!1}=U;if(X?.type==="mousedown"&&D.current){D.current=!1;return}X?.type==="touchstart"&&(D.current=!0);const gt=ht?null:_.current,ct=gt?gt.getBoundingClientRect():{width:0,height:0,left:0,top:0};let y,k,Q;if(dt||X===void 0||X.clientX===0&&X.clientY===0||!X.clientX&&!X.touches)y=Math.round(ct.width/2),k=Math.round(ct.height/2);else{const{clientX:at,clientY:O}=X.touches&&X.touches.length>0?X.touches[0]:X;y=Math.round(at-ct.left),k=Math.round(O-ct.top)}if(dt)Q=Math.sqrt((2*ct.width**2+ct.height**2)/3),Q%2===0&&(Q+=1);else{const at=Math.max(Math.abs((gt?gt.clientWidth:0)-y),y)*2+2,O=Math.max(Math.abs((gt?gt.clientHeight:0)-k),k)*2+2;Q=Math.sqrt(at**2+O**2)}X?.touches?R.current===null&&(R.current=()=>{Y({pulsate:V,rippleX:y,rippleY:k,rippleSize:Q,cb:G})},q.start(d2,()=>{R.current&&(R.current(),R.current=null)})):Y({pulsate:V,rippleX:y,rippleY:k,rippleSize:Q,cb:G})},[s,Y,q]),F=Z.useCallback(()=>{J({},{pulsate:!0})},[J]),P=Z.useCallback((X,U)=>{if(q.clear(),X?.type==="touchend"&&R.current){R.current(),R.current=null,q.start(0,()=>{P(X,U)});return}R.current=null,p(G=>G.length>0?G.slice(1):G),E.current=U},[q]);return Z.useImperativeHandle(c,()=>({pulsate:F,start:J,stop:P}),[F,J,P]),lt.jsx(p2,{className:me(Fe.root,d.root,m),ref:_,...g,children:lt.jsx(ff,{component:null,exit:!0,children:v})})});function b2(l){return Vl("MuiButtonBase",l)}const S2=Ya("MuiButtonBase",["root","disabled","focusVisible"]),T2=l=>{const{disabled:i,focusVisible:c,focusVisibleClassName:o,classes:s}=l,m=lu({root:["root",i&&"disabled",c&&"focusVisible"]},b2,s);return c&&o&&(m.root+=` ${o}`),m},C2=ye("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${S2.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),E2=Z.forwardRef(function(i,c){const o=Va({props:i,name:"MuiButtonBase"}),{action:s,centerRipple:d=!1,children:m,className:g,component:v="button",disabled:p=!1,disableRipple:A=!1,disableTouchRipple:E=!1,focusRipple:D=!1,focusVisibleClassName:q,LinkComponent:R="a",onBlur:_,onClick:Y,onContextMenu:J,onDragLeave:F,onFocus:P,onFocusVisible:X,onKeyDown:U,onKeyUp:G,onMouseDown:V,onMouseLeave:dt,onMouseUp:ht,onTouchEnd:gt,onTouchMove:ct,onTouchStart:y,tabIndex:k=0,TouchRippleProps:Q,touchRippleRef:at,type:O,...$}=o,et=Z.useRef(null),rt=o2(),wt=ny(rt.ref,at),[S,j]=Z.useState(!1);p&&S&&j(!1),Z.useImperativeHandle(s,()=>({focusVisible:()=>{j(!0),et.current.focus()}}),[]);const W=rt.shouldMount&&!A&&!p;Z.useEffect(()=>{S&&D&&!A&&rt.pulsate()},[A,D,S,rt]);const tt=Un(rt,"start",V,E),ot=Un(rt,"stop",J,E),pt=Un(rt,"stop",F,E),Et=Un(rt,"stop",ht,E),re=Un(rt,"stop",ft=>{S&&ft.preventDefault(),dt&&dt(ft)},E),Qt=Un(rt,"start",y,E),pa=Un(rt,"stop",gt,E),Xa=Un(rt,"stop",ct,E),Xl=Un(rt,"stop",ft=>{iy(ft.target)||j(!1),_&&_(ft)},!1),iu=Rr(ft=>{et.current||(et.current=ft.currentTarget),iy(ft.target)&&(j(!0),X&&X(ft)),P&&P(ft)}),en=()=>{const ft=et.current;return v&&v!=="button"&&!(ft.tagName==="A"&&ft.href)},$l=Rr(ft=>{D&&!ft.repeat&&S&&ft.key===" "&&rt.stop(ft,()=>{rt.start(ft)}),ft.target===ft.currentTarget&&en()&&ft.key===" "&&ft.preventDefault(),U&&U(ft),ft.target===ft.currentTarget&&en()&&ft.key==="Enter"&&!p&&(ft.preventDefault(),Y&&Y(ft))}),Ql=Rr(ft=>{D&&ft.key===" "&&S&&!ft.defaultPrevented&&rt.stop(ft,()=>{rt.pulsate(ft)}),G&&G(ft),Y&&ft.target===ft.currentTarget&&en()&&ft.key===" "&&!ft.defaultPrevented&&Y(ft)});let $a=v;$a==="button"&&($.href||$.to)&&($a=R);const qn={};if($a==="button"){const ft=!!$.formAction;qn.type=O===void 0&&!ft?"button":O,qn.disabled=p}else!$.href&&!$.to&&(qn.role="button"),p&&(qn["aria-disabled"]=p);const Zl=ny(c,et),Qa={...o,centerRipple:d,component:v,disabled:p,disableRipple:A,disableTouchRipple:E,focusRipple:D,tabIndex:k,focusVisible:S},kl=T2(Qa);return lt.jsxs(C2,{as:$a,className:me(kl.root,g),ownerState:Qa,onBlur:Xl,onClick:Y,onContextMenu:ot,onFocus:iu,onKeyDown:$l,onKeyUp:Ql,onMouseDown:tt,onMouseLeave:re,onMouseUp:Et,onDragLeave:pt,onTouchEnd:pa,onTouchMove:Xa,onTouchStart:Qt,ref:Zl,tabIndex:p?-1:k,type:O,...qn,...$,children:[m,W?lt.jsx(v2,{ref:wt,center:d,...Q}):null]})});function Un(l,i,c,o=!1){return Rr(s=>(c&&c(s),o||l[i](s),!0))}function _2(l){return typeof l.main=="string"}function A2(l,i=[]){if(!_2(l))return!1;for(const c of i)if(!l.hasOwnProperty(c)||typeof l[c]!="string")return!1;return!0}function ma(l=[]){return([,i])=>i&&A2(i,l)}function x2(l){return Vl("MuiCircularProgress",l)}Ya("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","track","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const un=44,qs=ya` + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } +`,Gs=ya` + 0% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: 0; + } + + 50% { + stroke-dasharray: 100px, 200px; + stroke-dashoffset: -15px; + } + + 100% { + stroke-dasharray: 1px, 200px; + stroke-dashoffset: -126px; + } +`,z2=typeof qs!="string"?Yl` + animation: ${qs} 1.4s linear infinite; + `:null,O2=typeof Gs!="string"?Yl` + animation: ${Gs} 1.4s ease-in-out infinite; + `:null,M2=l=>{const{classes:i,variant:c,color:o,disableShrink:s}=l,d={root:["root",c,`color${Rt(o)}`],svg:["svg"],track:["track"],circle:["circle",`circle${Rt(c)}`,s&&"circleDisableShrink"]};return lu(d,x2,i)},R2=ye("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,i[c.variant],i[`color${Rt(c.color)}`]]}})(Ln(({theme:l})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:l.transitions.create("transform")}},{props:{variant:"indeterminate"},style:z2||{animation:`${qs} 1.4s linear infinite`}},...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i},style:{color:(l.vars||l).palette[i].main}}))]}))),w2=ye("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),D2=ye("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.circle,i[`circle${Rt(c.variant)}`],c.disableShrink&&i.circleDisableShrink]}})(Ln(({theme:l})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:l.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:i})=>i.variant==="indeterminate"&&!i.disableShrink,style:O2||{animation:`${Gs} 1.4s ease-in-out infinite`}}]}))),B2=ye("circle",{name:"MuiCircularProgress",slot:"Track"})(Ln(({theme:l})=>({stroke:"currentColor",opacity:(l.vars||l).palette.action.activatedOpacity}))),N2=Z.forwardRef(function(i,c){const o=Va({props:i,name:"MuiCircularProgress"}),{className:s,color:d="primary",disableShrink:m=!1,enableTrackSlot:g=!1,size:v=40,style:p,thickness:A=3.6,value:E=0,variant:D="indeterminate",...q}=o,R={...o,color:d,disableShrink:m,size:v,thickness:A,value:E,variant:D,enableTrackSlot:g},_=M2(R),Y={},J={},F={};if(D==="determinate"){const P=2*Math.PI*((un-A)/2);Y.strokeDasharray=P.toFixed(3),F["aria-valuenow"]=Math.round(E),Y.strokeDashoffset=`${((100-E)/100*P).toFixed(3)}px`,J.transform="rotate(-90deg)"}return lt.jsx(R2,{className:me(_.root,s),style:{width:v,height:v,...J,...p},ownerState:R,ref:c,role:"progressbar",...F,...q,children:lt.jsxs(w2,{className:_.svg,ownerState:R,viewBox:`${un/2} ${un/2} ${un} ${un}`,children:[g?lt.jsx(B2,{className:_.track,ownerState:R,cx:un,cy:un,r:(un-A)/2,fill:"none",strokeWidth:A,"aria-hidden":"true"}):null,lt.jsx(D2,{className:_.circle,style:Y,ownerState:R,cx:un,cy:un,r:(un-A)/2,fill:"none",strokeWidth:A})]})})});function U2(l){return Vl("MuiTypography",l)}Ya("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const H2={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},j2=FS(),L2=l=>{const{align:i,gutterBottom:c,noWrap:o,paragraph:s,variant:d,classes:m}=l,g={root:["root",d,l.align!=="inherit"&&`align${Rt(i)}`,c&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return lu(g,U2,m)},q2=ye("span",{name:"MuiTypography",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,c.variant&&i[c.variant],c.align!=="inherit"&&i[`align${Rt(c.align)}`],c.noWrap&&i.noWrap,c.gutterBottom&&i.gutterBottom,c.paragraph&&i.paragraph]}})(Ln(({theme:l})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(l.typography).filter(([i,c])=>i!=="inherit"&&c&&typeof c=="object").map(([i,c])=>({props:{variant:i},style:c})),...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i},style:{color:(l.vars||l).palette[i].main}})),...Object.entries(l.palette?.text||{}).filter(([,i])=>typeof i=="string").map(([i])=>({props:{color:`text${Rt(i)}`},style:{color:(l.vars||l).palette.text[i]}})),{props:({ownerState:i})=>i.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:i})=>i.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:i})=>i.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:i})=>i.paragraph,style:{marginBottom:16}}]}))),uy={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},hf=Z.forwardRef(function(i,c){const{color:o,...s}=Va({props:i,name:"MuiTypography"}),d=!H2[o],m=j2({...s,...d&&{color:o}}),{align:g="inherit",className:v,component:p,gutterBottom:A=!1,noWrap:E=!1,paragraph:D=!1,variant:q="body1",variantMapping:R=uy,..._}=m,Y={...m,align:g,color:o,className:v,component:p,gutterBottom:A,noWrap:E,paragraph:D,variant:q,variantMapping:R},J=p||(D?"p":R[q]||uy[q])||"span",F=L2(Y);return lt.jsx(q2,{as:J,ref:c,className:me(F.root,v),..._,ownerState:Y,style:{...g!=="inherit"&&{"--Typography-textAlign":g},..._.style}})}),G2=Ya("MuiBox",["root"]),Y2=Qy(),Hn=G1({themeId:Ks,defaultTheme:Y2,defaultClassName:G2.root,generateClassName:By.generate});function V2(l){return Vl("MuiButton",l)}const Ha=Ya("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),X2=Z.createContext({}),$2=Z.createContext(void 0),Q2=l=>{const{color:i,disableElevation:c,fullWidth:o,size:s,variant:d,loading:m,loadingPosition:g,classes:v}=l,p={root:["root",m&&"loading",d,`${d}${Rt(i)}`,`size${Rt(s)}`,`${d}Size${Rt(s)}`,`color${Rt(i)}`,c&&"disableElevation",o&&"fullWidth",m&&`loadingPosition${Rt(g)}`],startIcon:["icon","startIcon",`iconSize${Rt(s)}`],endIcon:["icon","endIcon",`iconSize${Rt(s)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},A=lu(p,V2,v);return{...v,...A}},Wy=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Z2=ye(E2,{shouldForwardProp:l=>ky(l)||l==="classes",name:"MuiButton",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,i[c.variant],i[`${c.variant}${Rt(c.color)}`],i[`size${Rt(c.size)}`],i[`${c.variant}Size${Rt(c.size)}`],c.color==="inherit"&&i.colorInherit,c.disableElevation&&i.disableElevation,c.fullWidth&&i.fullWidth,c.loading&&i.loading]}})(Ln(({theme:l})=>{const i=l.palette.mode==="light"?l.palette.grey[300]:l.palette.grey[800],c=l.palette.mode==="light"?l.palette.grey.A100:l.palette.grey[700];return{...l.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(l.vars||l).shape.borderRadius,transition:l.transitions.create(["background-color","box-shadow","border-color","color"],{duration:l.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${Ha.disabled}`]:{color:(l.vars||l).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(l.vars||l).shadows[2],"&:hover":{boxShadow:(l.vars||l).shadows[4],"@media (hover: none)":{boxShadow:(l.vars||l).shadows[2]}},"&:active":{boxShadow:(l.vars||l).shadows[8]},[`&.${Ha.focusVisible}`]:{boxShadow:(l.vars||l).shadows[6]},[`&.${Ha.disabled}`]:{color:(l.vars||l).palette.action.disabled,boxShadow:(l.vars||l).shadows[0],backgroundColor:(l.vars||l).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${Ha.disabled}`]:{border:`1px solid ${(l.vars||l).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(l.palette).filter(ma()).map(([o])=>({props:{color:o},style:{"--variant-textColor":(l.vars||l).palette[o].main,"--variant-outlinedColor":(l.vars||l).palette[o].main,"--variant-outlinedBorder":l.alpha((l.vars||l).palette[o].main,.5),"--variant-containedColor":(l.vars||l).palette[o].contrastText,"--variant-containedBg":(l.vars||l).palette[o].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(l.vars||l).palette[o].dark,"--variant-textBg":l.alpha((l.vars||l).palette[o].main,(l.vars||l).palette.action.hoverOpacity),"--variant-outlinedBorder":(l.vars||l).palette[o].main,"--variant-outlinedBg":l.alpha((l.vars||l).palette[o].main,(l.vars||l).palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedBg:i,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":l.vars?l.vars.palette.Button.inheritContainedHoverBg:c,"--variant-textBg":l.alpha((l.vars||l).palette.text.primary,(l.vars||l).palette.action.hoverOpacity),"--variant-outlinedBg":l.alpha((l.vars||l).palette.text.primary,(l.vars||l).palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:l.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:l.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:l.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Ha.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Ha.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:l.transitions.create(["background-color","box-shadow","border-color"],{duration:l.transitions.duration.short}),[`&.${Ha.loading}`]:{color:"transparent"}}}]}})),k2=ye("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.startIcon,c.loading&&i.startIconLoadingStart,i[`iconSize${Rt(c.size)}`]]}})(({theme:l})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:l.transitions.create(["opacity"],{duration:l.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...Wy]})),K2=ye("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.endIcon,c.loading&&i.endIconLoadingEnd,i[`iconSize${Rt(c.size)}`]]}})(({theme:l})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:l.transitions.create(["opacity"],{duration:l.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...Wy]})),J2=ye("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:l})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(l.vars||l).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),ry=ye("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),W2=Z.forwardRef(function(i,c){const o=Z.useContext(X2),s=Z.useContext($2),d=jr(o,i),m=Va({props:d,name:"MuiButton"}),{children:g,color:v="primary",component:p="button",className:A,disabled:E=!1,disableElevation:D=!1,disableFocusRipple:q=!1,endIcon:R,focusVisibleClassName:_,fullWidth:Y=!1,id:J,loading:F=null,loadingIndicator:P,loadingPosition:X="center",size:U="medium",startIcon:G,type:V,variant:dt="text",...ht}=m,gt=oS(J),ct=P??lt.jsx(N2,{"aria-labelledby":gt,color:"inherit",size:16}),y={...m,color:v,component:p,disabled:E,disableElevation:D,disableFocusRipple:q,fullWidth:Y,loading:F,loadingIndicator:ct,loadingPosition:X,size:U,type:V,variant:dt},k=Q2(y),Q=(G||F&&X==="start")&<.jsx(k2,{className:k.startIcon,ownerState:y,children:G||lt.jsx(ry,{className:k.loadingIconPlaceholder,ownerState:y})}),at=(R||F&&X==="end")&<.jsx(K2,{className:k.endIcon,ownerState:y,children:R||lt.jsx(ry,{className:k.loadingIconPlaceholder,ownerState:y})}),O=s||"",$=typeof F=="boolean"?lt.jsx("span",{className:k.loadingWrapper,style:{display:"contents"},children:F&<.jsx(J2,{className:k.loadingIndicator,ownerState:y,children:ct})}):null;return lt.jsxs(Z2,{ownerState:y,className:me(o.className,k.root,A,O),component:p,disabled:E||F,focusRipple:!q,focusVisibleClassName:me(k.focusVisible,_),ref:c,type:V,id:F?gt:J,...ht,classes:k,children:[Q,X!=="end"&&$,g,X==="end"&&$,at]})}),Ys=typeof Ky({})=="function",F2=(l,i)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...i&&!l.vars&&{colorScheme:l.palette.mode}}),P2=l=>({color:(l.vars||l).palette.text.primary,...l.typography.body1,backgroundColor:(l.vars||l).palette.background.default,"@media print":{backgroundColor:(l.vars||l).palette.common.white}}),Fy=(l,i=!1)=>{const c={};i&&l.colorSchemes&&typeof l.getColorSchemeSelector=="function"&&Object.entries(l.colorSchemes).forEach(([d,m])=>{const g=l.getColorSchemeSelector(d);g.startsWith("@")?c[g]={":root":{colorScheme:m.palette?.mode}}:c[g.replace(/\s*&/,"")]={colorScheme:m.palette?.mode}});let o={html:F2(l,i),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:l.typography.fontWeightBold},body:{margin:0,...P2(l),"&::backdrop":{backgroundColor:(l.vars||l).palette.background.default}},...c};const s=l.components?.MuiCssBaseline?.styleOverrides;return s&&(o=[o,s]),o},wr="mui-ecs",I2=l=>{const i=Fy(l,!1),c=Array.isArray(i)?i[0]:i;return!l.vars&&c&&(c.html[`:root:has(${wr})`]={colorScheme:l.palette.mode}),l.colorSchemes&&Object.entries(l.colorSchemes).forEach(([o,s])=>{const d=l.getColorSchemeSelector(o);d.startsWith("@")?c[d]={[`:root:not(:has(.${wr}))`]:{colorScheme:s.palette?.mode}}:c[d.replace(/\s*&/,"")]={[`&:not(:has(.${wr}))`]:{colorScheme:s.palette?.mode}}}),i},t5=Ky(Ys?({theme:l,enableColorScheme:i})=>Fy(l,i):({theme:l})=>I2(l));function e5(l){const i=Va({props:l,name:"MuiCssBaseline"}),{children:c,enableColorScheme:o=!1}=i;return lt.jsxs(Z.Fragment,{children:[Ys&<.jsx(t5,{enableColorScheme:o}),!Ys&&!o&<.jsx("span",{className:wr,style:{display:"none"}}),c]})}function n5(l){return Vl("MuiLinearProgress",l)}Ya("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Vs=4,Xs=ya` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`,a5=typeof Xs!="string"?Yl` + animation: ${Xs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `:null,$s=ya` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`,l5=typeof $s!="string"?Yl` + animation: ${$s} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `:null,Qs=ya` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`,i5=typeof Qs!="string"?Yl` + animation: ${Qs} 3s infinite linear; + `:null,u5=l=>{const{classes:i,variant:c,color:o}=l,s={root:["root",`color${Rt(o)}`,c],dashed:["dashed",`dashedColor${Rt(o)}`],bar1:["bar","bar1",`barColor${Rt(o)}`,(c==="indeterminate"||c==="query")&&"bar1Indeterminate",c==="determinate"&&"bar1Determinate",c==="buffer"&&"bar1Buffer"],bar2:["bar","bar2",c!=="buffer"&&`barColor${Rt(o)}`,c==="buffer"&&`color${Rt(o)}`,(c==="indeterminate"||c==="query")&&"bar2Indeterminate",c==="buffer"&&"bar2Buffer"]};return lu(s,n5,i)},mf=(l,i)=>l.vars?l.vars.palette.LinearProgress[`${i}Bg`]:l.palette.mode==="light"?l.lighten(l.palette[i].main,.62):l.darken(l.palette[i].main,.5),r5=ye("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.root,i[`color${Rt(c.color)}`],i[c.variant]]}})(Ln(({theme:l})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i},style:{backgroundColor:mf(l,i)}})),{props:({ownerState:i})=>i.color==="inherit"&&i.variant!=="buffer",style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),c5=ye("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.dashed,i[`dashedColor${Rt(c.color)}`]]}})(Ln(({theme:l})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(l.palette).filter(ma()).map(([i])=>{const c=mf(l,i);return{props:{color:i},style:{backgroundImage:`radial-gradient(${c} 0%, ${c} 16%, transparent 42%)`}}})]})),i5||{animation:`${Qs} 3s infinite linear`}),o5=ye("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.bar,i.bar1,i[`barColor${Rt(c.color)}`],(c.variant==="indeterminate"||c.variant==="query")&&i.bar1Indeterminate,c.variant==="determinate"&&i.bar1Determinate,c.variant==="buffer"&&i.bar1Buffer]}})(Ln(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i},style:{backgroundColor:(l.vars||l).palette[i].main}})),{props:{variant:"determinate"},style:{transition:`transform .${Vs}s linear`}},{props:{variant:"buffer"},style:{zIndex:1,transition:`transform .${Vs}s linear`}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:a5||{animation:`${Xs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),s5=ye("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(l,i)=>{const{ownerState:c}=l;return[i.bar,i.bar2,i[`barColor${Rt(c.color)}`],(c.variant==="indeterminate"||c.variant==="query")&&i.bar2Indeterminate,c.variant==="buffer"&&i.bar2Buffer]}})(Ln(({theme:l})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i},style:{"--LinearProgressBar2-barColor":(l.vars||l).palette[i].main}})),{props:({ownerState:i})=>i.variant!=="buffer"&&i.color!=="inherit",style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:i})=>i.variant!=="buffer"&&i.color==="inherit",style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(l.palette).filter(ma()).map(([i])=>({props:{color:i,variant:"buffer"},style:{backgroundColor:mf(l,i),transition:`transform .${Vs}s linear`}})),{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:{width:"auto"}},{props:({ownerState:i})=>i.variant==="indeterminate"||i.variant==="query",style:l5||{animation:`${$s} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),f5=Z.forwardRef(function(i,c){const o=Va({props:i,name:"MuiLinearProgress"}),{className:s,color:d="primary",value:m,valueBuffer:g,variant:v="indeterminate",...p}=o,A={...o,color:d,variant:v},E=u5(A),D=aS(),q={},R={bar1:{},bar2:{}};if((v==="determinate"||v==="buffer")&&m!==void 0){q["aria-valuenow"]=Math.round(m),q["aria-valuemin"]=0,q["aria-valuemax"]=100;let _=m-100;D&&(_=-_),R.bar1.transform=`translateX(${_}%)`}if(v==="buffer"&&g!==void 0){let _=(g||0)-100;D&&(_=-_),R.bar2.transform=`translateX(${_}%)`}return lt.jsxs(r5,{className:me(E.root,s),ownerState:A,role:"progressbar",...q,ref:c,...p,children:[v==="buffer"?lt.jsx(c5,{className:E.dashed,ownerState:A}):null,lt.jsx(o5,{className:E.bar1,ownerState:A,style:R.bar1}),v==="determinate"?null:lt.jsx(s5,{className:E.bar2,ownerState:A,style:R.bar2})]})});function d5(l,i,c,o){if(typeof i=="function"?l!==i||!o:!i.has(l))throw new TypeError("Cannot read private member from an object whose class did not declare it");return c==="m"?o:c==="a"?o.call(l):o?o.value:i.get(l)}function h5(l,i,c,o,s){if(typeof i=="function"?l!==i||!0:!i.has(l))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i.set(l,c),c}var Dr;const Ie="__TAURI_TO_IPC_KEY__";function m5(l,i=!1){return window.__TAURI_INTERNALS__.transformCallback(l,i)}async function K(l,i={},c){return window.__TAURI_INTERNALS__.invoke(l,i,c)}class y5{get rid(){return d5(this,Dr,"f")}constructor(i){Dr.set(this,void 0),h5(this,Dr,i)}async close(){return K("plugin:resources|close",{rid:this.rid})}}Dr=new WeakMap;class Py{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.width=i[0].Logical.width,this.height=i[0].Logical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toPhysical(i){return new ki(this.width*i,this.height*i)}[Ie](){return{width:this.width,height:this.height}}toJSON(){return this[Ie]()}}class ki{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.width=i[0].Physical.width,this.height=i[0].Physical.height):(this.width=i[0].width,this.height=i[0].height):(this.width=i[0],this.height=i[1])}toLogical(i){return new Py(this.width/i,this.height/i)}[Ie](){return{width:this.width,height:this.height}}toJSON(){return this[Ie]()}}class Ul{constructor(i){this.size=i}toLogical(i){return this.size instanceof Py?this.size:this.size.toLogical(i)}toPhysical(i){return this.size instanceof ki?this.size:this.size.toPhysical(i)}[Ie](){return{[`${this.size.type}`]:{width:this.size.width,height:this.size.height}}}toJSON(){return this[Ie]()}}class Iy{constructor(...i){this.type="Logical",i.length===1?"Logical"in i[0]?(this.x=i[0].Logical.x,this.y=i[0].Logical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toPhysical(i){return new fa(this.x*i,this.y*i)}[Ie](){return{x:this.x,y:this.y}}toJSON(){return this[Ie]()}}class fa{constructor(...i){this.type="Physical",i.length===1?"Physical"in i[0]?(this.x=i[0].Physical.x,this.y=i[0].Physical.y):(this.x=i[0].x,this.y=i[0].y):(this.x=i[0],this.y=i[1])}toLogical(i){return new Iy(this.x/i,this.y/i)}[Ie](){return{x:this.x,y:this.y}}toJSON(){return this[Ie]()}}class Ar{constructor(i){this.position=i}toLogical(i){return this.position instanceof Iy?this.position:this.position.toLogical(i)}toPhysical(i){return this.position instanceof fa?this.position:this.position.toPhysical(i)}[Ie](){return{[`${this.position.type}`]:{x:this.position.x,y:this.position.y}}}toJSON(){return this[Ie]()}}var je;(function(l){l.WINDOW_RESIZED="tauri://resize",l.WINDOW_MOVED="tauri://move",l.WINDOW_CLOSE_REQUESTED="tauri://close-requested",l.WINDOW_DESTROYED="tauri://destroyed",l.WINDOW_FOCUS="tauri://focus",l.WINDOW_BLUR="tauri://blur",l.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",l.WINDOW_THEME_CHANGED="tauri://theme-changed",l.WINDOW_CREATED="tauri://window-created",l.WEBVIEW_CREATED="tauri://webview-created",l.DRAG_ENTER="tauri://drag-enter",l.DRAG_OVER="tauri://drag-over",l.DRAG_DROP="tauri://drag-drop",l.DRAG_LEAVE="tauri://drag-leave"})(je||(je={}));async function tp(l,i){window.__TAURI_EVENT_PLUGIN_INTERNALS__.unregisterListener(l,i),await K("plugin:event|unlisten",{event:l,eventId:i})}async function ep(l,i,c){var o;const s=typeof c?.target=="string"?{kind:"AnyLabel",label:c.target}:(o=c?.target)!==null&&o!==void 0?o:{kind:"Any"};return K("plugin:event|listen",{event:l,target:s,handler:m5(i)}).then(d=>async()=>tp(l,d))}async function p5(l,i,c){return ep(l,o=>{tp(l,o.id),i(o)},c)}async function g5(l,i){await K("plugin:event|emit",{event:l,payload:i})}async function v5(l,i,c){await K("plugin:event|emit_to",{target:typeof l=="string"?{kind:"AnyLabel",label:l}:l,event:i,payload:c})}class Ki extends y5{constructor(i){super(i)}static async new(i,c,o){return K("plugin:image|new",{rgba:qr(i),width:c,height:o}).then(s=>new Ki(s))}static async fromBytes(i){return K("plugin:image|from_bytes",{bytes:qr(i)}).then(c=>new Ki(c))}static async fromPath(i){return K("plugin:image|from_path",{path:i}).then(c=>new Ki(c))}async rgba(){return K("plugin:image|rgba",{rid:this.rid}).then(i=>new Uint8Array(i))}async size(){return K("plugin:image|size",{rid:this.rid})}}function qr(l){return l==null?null:typeof l=="string"?l:l instanceof Ki?l.rid:l}var Zs;(function(l){l[l.Critical=1]="Critical",l[l.Informational=2]="Informational"})(Zs||(Zs={}));class b5{constructor(i){this._preventDefault=!1,this.event=i.event,this.id=i.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}var cy;(function(l){l.None="none",l.Normal="normal",l.Indeterminate="indeterminate",l.Paused="paused",l.Error="error"})(cy||(cy={}));function np(){return new ap(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function zs(){return K("plugin:window|get_all_windows").then(l=>l.map(i=>new ap(i,{skip:!0})))}const Os=["tauri://created","tauri://error"];class ap{constructor(i,c={}){var o;this.label=i,this.listeners=Object.create(null),c?.skip||K("plugin:window|create",{options:{...c,parent:typeof c.parent=="string"?c.parent:(o=c.parent)===null||o===void 0?void 0:o.label,label:i}}).then(async()=>this.emit("tauri://created")).catch(async s=>this.emit("tauri://error",s))}static async getByLabel(i){var c;return(c=(await zs()).find(o=>o.label===i))!==null&&c!==void 0?c:null}static getCurrent(){return np()}static async getAll(){return zs()}static async getFocusedWindow(){for(const i of await zs())if(await i.isFocused())return i;return null}async listen(i,c){return this._handleTauriEvent(i,c)?()=>{const o=this.listeners[i];o.splice(o.indexOf(c),1)}:ep(i,c,{target:{kind:"Window",label:this.label}})}async once(i,c){return this._handleTauriEvent(i,c)?()=>{const o=this.listeners[i];o.splice(o.indexOf(c),1)}:p5(i,c,{target:{kind:"Window",label:this.label}})}async emit(i,c){if(Os.includes(i)){for(const o of this.listeners[i]||[])o({event:i,id:-1,payload:c});return}return g5(i,c)}async emitTo(i,c,o){if(Os.includes(c)){for(const s of this.listeners[c]||[])s({event:c,id:-1,payload:o});return}return v5(i,c,o)}_handleTauriEvent(i,c){return Os.includes(i)?(i in this.listeners?this.listeners[i].push(c):this.listeners[i]=[c],!0):!1}async scaleFactor(){return K("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return K("plugin:window|inner_position",{label:this.label}).then(i=>new fa(i))}async outerPosition(){return K("plugin:window|outer_position",{label:this.label}).then(i=>new fa(i))}async innerSize(){return K("plugin:window|inner_size",{label:this.label}).then(i=>new ki(i))}async outerSize(){return K("plugin:window|outer_size",{label:this.label}).then(i=>new ki(i))}async isFullscreen(){return K("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return K("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return K("plugin:window|is_maximized",{label:this.label})}async isFocused(){return K("plugin:window|is_focused",{label:this.label})}async isDecorated(){return K("plugin:window|is_decorated",{label:this.label})}async isResizable(){return K("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return K("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return K("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return K("plugin:window|is_closable",{label:this.label})}async isVisible(){return K("plugin:window|is_visible",{label:this.label})}async title(){return K("plugin:window|title",{label:this.label})}async theme(){return K("plugin:window|theme",{label:this.label})}async isAlwaysOnTop(){return K("plugin:window|is_always_on_top",{label:this.label})}async center(){return K("plugin:window|center",{label:this.label})}async requestUserAttention(i){let c=null;return i&&(i===Zs.Critical?c={type:"Critical"}:c={type:"Informational"}),K("plugin:window|request_user_attention",{label:this.label,value:c})}async setResizable(i){return K("plugin:window|set_resizable",{label:this.label,value:i})}async setEnabled(i){return K("plugin:window|set_enabled",{label:this.label,value:i})}async isEnabled(){return K("plugin:window|is_enabled",{label:this.label})}async setMaximizable(i){return K("plugin:window|set_maximizable",{label:this.label,value:i})}async setMinimizable(i){return K("plugin:window|set_minimizable",{label:this.label,value:i})}async setClosable(i){return K("plugin:window|set_closable",{label:this.label,value:i})}async setTitle(i){return K("plugin:window|set_title",{label:this.label,value:i})}async maximize(){return K("plugin:window|maximize",{label:this.label})}async unmaximize(){return K("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return K("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return K("plugin:window|minimize",{label:this.label})}async unminimize(){return K("plugin:window|unminimize",{label:this.label})}async show(){return K("plugin:window|show",{label:this.label})}async hide(){return K("plugin:window|hide",{label:this.label})}async close(){return K("plugin:window|close",{label:this.label})}async destroy(){return K("plugin:window|destroy",{label:this.label})}async setDecorations(i){return K("plugin:window|set_decorations",{label:this.label,value:i})}async setShadow(i){return K("plugin:window|set_shadow",{label:this.label,value:i})}async setEffects(i){return K("plugin:window|set_effects",{label:this.label,value:i})}async clearEffects(){return K("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(i){return K("plugin:window|set_always_on_top",{label:this.label,value:i})}async setAlwaysOnBottom(i){return K("plugin:window|set_always_on_bottom",{label:this.label,value:i})}async setContentProtected(i){return K("plugin:window|set_content_protected",{label:this.label,value:i})}async setSize(i){return K("plugin:window|set_size",{label:this.label,value:i instanceof Ul?i:new Ul(i)})}async setMinSize(i){return K("plugin:window|set_min_size",{label:this.label,value:i instanceof Ul?i:i?new Ul(i):null})}async setMaxSize(i){return K("plugin:window|set_max_size",{label:this.label,value:i instanceof Ul?i:i?new Ul(i):null})}async setSizeConstraints(i){function c(o){return o?{Logical:o}:null}return K("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:c(i?.minWidth),minHeight:c(i?.minHeight),maxWidth:c(i?.maxWidth),maxHeight:c(i?.maxHeight)}})}async setPosition(i){return K("plugin:window|set_position",{label:this.label,value:i instanceof Ar?i:new Ar(i)})}async setFullscreen(i){return K("plugin:window|set_fullscreen",{label:this.label,value:i})}async setSimpleFullscreen(i){return K("plugin:window|set_simple_fullscreen",{label:this.label,value:i})}async setFocus(){return K("plugin:window|set_focus",{label:this.label})}async setFocusable(i){return K("plugin:window|set_focusable",{label:this.label,value:i})}async setIcon(i){return K("plugin:window|set_icon",{label:this.label,value:qr(i)})}async setSkipTaskbar(i){return K("plugin:window|set_skip_taskbar",{label:this.label,value:i})}async setCursorGrab(i){return K("plugin:window|set_cursor_grab",{label:this.label,value:i})}async setCursorVisible(i){return K("plugin:window|set_cursor_visible",{label:this.label,value:i})}async setCursorIcon(i){return K("plugin:window|set_cursor_icon",{label:this.label,value:i})}async setBackgroundColor(i){return K("plugin:window|set_background_color",{color:i})}async setCursorPosition(i){return K("plugin:window|set_cursor_position",{label:this.label,value:i instanceof Ar?i:new Ar(i)})}async setIgnoreCursorEvents(i){return K("plugin:window|set_ignore_cursor_events",{label:this.label,value:i})}async startDragging(){return K("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(i){return K("plugin:window|start_resize_dragging",{label:this.label,value:i})}async setBadgeCount(i){return K("plugin:window|set_badge_count",{label:this.label,value:i})}async setBadgeLabel(i){return K("plugin:window|set_badge_label",{label:this.label,value:i})}async setOverlayIcon(i){return K("plugin:window|set_overlay_icon",{label:this.label,value:i?qr(i):void 0})}async setProgressBar(i){return K("plugin:window|set_progress_bar",{label:this.label,value:i})}async setVisibleOnAllWorkspaces(i){return K("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:i})}async setTitleBarStyle(i){return K("plugin:window|set_title_bar_style",{label:this.label,value:i})}async setTheme(i){return K("plugin:window|set_theme",{label:this.label,value:i})}async onResized(i){return this.listen(je.WINDOW_RESIZED,c=>{c.payload=new ki(c.payload),i(c)})}async onMoved(i){return this.listen(je.WINDOW_MOVED,c=>{c.payload=new fa(c.payload),i(c)})}async onCloseRequested(i){return this.listen(je.WINDOW_CLOSE_REQUESTED,async c=>{const o=new b5(c);await i(o),o.isPreventDefault()||await this.destroy()})}async onDragDropEvent(i){const c=await this.listen(je.DRAG_ENTER,m=>{i({...m,payload:{type:"enter",paths:m.payload.paths,position:new fa(m.payload.position)}})}),o=await this.listen(je.DRAG_OVER,m=>{i({...m,payload:{type:"over",position:new fa(m.payload.position)}})}),s=await this.listen(je.DRAG_DROP,m=>{i({...m,payload:{type:"drop",paths:m.payload.paths,position:new fa(m.payload.position)}})}),d=await this.listen(je.DRAG_LEAVE,m=>{i({...m,payload:{type:"leave"}})});return()=>{c(),s(),o(),d()}}async onFocusChanged(i){const c=await this.listen(je.WINDOW_FOCUS,s=>{i({...s,payload:!0})}),o=await this.listen(je.WINDOW_BLUR,s=>{i({...s,payload:!1})});return()=>{c(),o()}}async onScaleChanged(i){return this.listen(je.WINDOW_SCALE_FACTOR_CHANGED,i)}async onThemeChanged(i){return this.listen(je.WINDOW_THEME_CHANGED,i)}}var oy;(function(l){l.Disabled="disabled",l.Throttle="throttle",l.Suspend="suspend"})(oy||(oy={}));var sy;(function(l){l.Default="default",l.FluentOverlay="fluentOverlay"})(sy||(sy={}));var fy;(function(l){l.AppearanceBased="appearanceBased",l.Light="light",l.Dark="dark",l.MediumLight="mediumLight",l.UltraDark="ultraDark",l.Titlebar="titlebar",l.Selection="selection",l.Menu="menu",l.Popover="popover",l.Sidebar="sidebar",l.HeaderView="headerView",l.Sheet="sheet",l.WindowBackground="windowBackground",l.HudWindow="hudWindow",l.FullScreenUI="fullScreenUI",l.Tooltip="tooltip",l.ContentBackground="contentBackground",l.UnderWindowBackground="underWindowBackground",l.UnderPageBackground="underPageBackground",l.Mica="mica",l.Blur="blur",l.Acrylic="acrylic",l.Tabbed="tabbed",l.TabbedDark="tabbedDark",l.TabbedLight="tabbedLight"})(fy||(fy={}));var dy;(function(l){l.FollowsWindowActiveState="followsWindowActiveState",l.Active="active",l.Inactive="inactive"})(dy||(dy={}));const S5="/assets/icon-BlfaAlWe.svg",Br=np();function T5(){const[l,i]=Z.useState(null);return Z.useEffect(()=>{const c=Br.listen("app://update-progress",o=>{i(o.payload)});return()=>{c.then(o=>o())}},[]),l}function C5(){const[l,i]=Z.useState(!1);Z.useEffect(()=>{Br.emit("app://update");const o=Br.listen("app://update-error",()=>{i(!0)});return()=>{o.then(s=>s())}},[]);const c=()=>{i(!1),Br.emit("app://update")};return lt.jsxs(lt.Fragment,{children:[lt.jsx(e5,{}),lt.jsx(Hn,{sx:{position:"absolute",inset:0},display:"flex",alignItems:"center",px:2,"data-tauri-drag-region":!0,children:lt.jsxs(Hn,{display:"flex",alignItems:"center",flex:"1","data-tauri-drag-region":!0,children:[lt.jsx(Hn,{component:"img",src:S5,alt:"logo",sx:{width:"4rem",height:"4rem"},"data-tauri-drag-region":!0}),lt.jsx(Hn,{flex:1,ml:2,children:l?lt.jsx(_5,{onRetry:c}):lt.jsx(E5,{})})]})})]})}function E5(){const l=T5();return lt.jsxs(lt.Fragment,{children:[lt.jsx(hf,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Updating the GUI components..."}),lt.jsx(Hn,{mt:1,children:lt.jsx(A5,{value:l})})]})}function _5({onRetry:l}){return lt.jsxs(lt.Fragment,{children:[lt.jsx(hf,{variant:"h1",fontSize:"1rem","data-tauri-drag-region":!0,children:"Failed to update the GUI components."}),lt.jsx(Hn,{mt:1,"data-tauri-drag-region":!0,children:lt.jsx(W2,{variant:"contained",color:"primary",size:"small",onClick:l,sx:{textTransform:"none"},children:"Retry"})})]})}function A5(l){const{value:i}=l;return lt.jsxs(Hn,{sx:{display:"flex",alignItems:"center"},children:[lt.jsx(Hn,{flex:"1",children:lt.jsx(f5,{variant:i===null?"indeterminate":"determinate",value:i??0,sx:{py:1.2,".MuiLinearProgress-bar":{transition:"none"}}})}),i!==null&<.jsx(Hn,{sx:{minWidth:35,textAlign:"right",ml:1},children:lt.jsx(hf,{variant:"body2",color:"text.secondary",children:`${Math.round(i)}%`})})]})}const x5=Hv.createRoot(document.getElementById("root"));x5.render(lt.jsx(C5,{})); diff --git a/apps/gpgui-helper/dist/index.html b/apps/gpgui-helper/dist/index.html index 32b7160..c56cfe5 100644 --- a/apps/gpgui-helper/dist/index.html +++ b/apps/gpgui-helper/dist/index.html @@ -4,8 +4,8 @@ - GlobalProtect - + GP Connect Helper + diff --git a/apps/gpgui-helper/index.html b/apps/gpgui-helper/index.html index b72415c..22fe573 100644 --- a/apps/gpgui-helper/index.html +++ b/apps/gpgui-helper/index.html @@ -4,7 +4,7 @@ - GlobalProtect + GP Connect Helper